[*] Binary protection state of filefrag

  
  	Full RELRO     Canary found      NX disabled  PIE enabled  No RPATH     No RUNPATH   No Symbols


[*] Function fprintf tear down of filefrag

    ; assembly                               | /* r2dec pseudo code output */
                                             | /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/filefrag @ 0x1d30 */
                                             | #include <stdint.h>
                                             |  
    ; (fcn) fcn.00001d30 ()                  | void fcn_00001d30 () {
    0x00001d30 lui gp, 2                     |     
    0x00001d34 addiu gp, gp, -0x5d00         |     
    0x00001d38 addu gp, gp, t9               |     gp += t9;
    0x00001d3c lw v0, -0x7f14(gp)            |     v0 = *((gp - 8133));
    0x00001d40 addiu sp, sp, -0x20           |     
    0x00001d44 lw a2, -0x7fdc(gp)            |     a2 = *((gp - 8183));
    0x00001d48 lw t9, -0x7f70(gp)            |     t9 = sym.imp.__fprintf_chk
    0x00001d4c move a3, a0                   |     a3 = a0;
    0x00001d50 lw a0, (v0)                   |     a0 = *(v0);
    0x00001d54 addiu a2, a2, 0x3934          |     a2 += str.Usage:__s___bblocksize____BeksvxX__file_..._n;
    0x00001d58 sw gp, 0x10(sp)               |     *(var_10h) = gp;
    0x00001d5c sw ra, 0x1c(sp)               |     *(var_1ch) = ra;
    0x00001d60 addiu a1, zero, 1             |     a1 = 1;
    0x00001d64 jalr t9                       |     t9 ();
    0x00001d68 lw gp, 0x10(sp)               |     gp = *(var_10h);
    0x00001d6c lw t9, -0x7f3c(gp)            |     t9 = sym.imp.exit;
    0x00001d70 addiu a0, zero, 1             |     a0 = 1;
    0x00001d74 jalr t9                       |     t9 ();
    0x00001d78 lui gp, 2                     |     
    0x00001d7c addiu gp, gp, -0x5d48         |     
    0x00001d80 addu gp, gp, t9               |     gp += t9;
    0x00001d84 lw v0, -0x7fd8(gp)            |     v0 = *(gp);
    0x00001d88 lw v1, -0x7fd4(gp)            |     v1 = *(gp);
    0x00001d8c addiu sp, sp, -0x30           |     
    0x00001d90 lw v0, (v0)                   |     v0 = *(v0);
    0x00001d94 lw a2, (v1)                   |     a2 = *(v1);
    0x00001d98 sll v1, v0, 1                 |     v1 = v0 << 1;
    0x00001d9c addiu v0, v0, 1               |     v0++;
    0x00001da0 lw a0, -0x7fdc(gp)            |     a0 = *((gp - 8183));
    0x00001da4 sw v0, 0x18(sp)               |     *(var_18h) = v0;
    0x00001da8 lw v0, -0x7fdc(gp)            |     v0 = *((gp - 8183));
    0x00001dac lw a3, -0x7fdc(gp)            |     a3 = *((gp - 8183));
    0x00001db0 lw a1, -0x7fdc(gp)            |     a1 = *((gp - 8183));
    0x00001db4 addiu v1, v1, 3               |     v1 += 3;
    0x00001db8 lw t9, -0x7f64(gp)            |     t9 = sym.imp.__printf_chk;
    0x00001dbc addiu a0, a0, 0x3998          |     a0 += str.expected:;
    0x00001dc0 addiu v0, v0, 0x39a4          |     v0 += str.physical_offset:;
    0x00001dc4 sll a2, a2, 1                 |     a2 <<= 1;
    0x00001dc8 sw ra, 0x2c(sp)               |     *(var_2ch) = ra;
    0x00001dcc sw gp, 0x20(sp)               |     *(var_20h) = gp;
    0x00001dd0 sw a0, 0x1c(sp)               |     *(var_1ch_2) = a0;
    0x00001dd4 sw v1, 0x10(sp)               |     *(var_10h_2) = v1;
    0x00001dd8 sw v0, 0x14(sp)               |     *(var_14h) = v0;
    0x00001ddc addiu a3, a3, 0x3964          |     a3 += str.logical_offset:;
    0x00001de0 addiu a2, a2, 3               |     a2 += 3;
    0x00001de4 addiu a1, a1, 0x3974          |     a1 += str._ext:__s__s_length:__s_flags:_n;
    0x00001de8 addiu a0, zero, 1             |     a0 = 1;
    0x00001dec jalr t9                       |     t9 ();
    0x00001df0 lw ra, 0x2c(sp)               |     ra = *(var_2ch);
    0x00001df4 addiu sp, sp, 0x30            |     
    0x00001df8 jr ra                         |     return v0;
                                             | }
    ; assembly                           | /* r2dec pseudo code output */
                                         | /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/filefrag @ 0x24f4 */
                                         | #include <stdint.h>
                                         |  
    ; (fcn) fcn.000024f4 ()              | void fcn_000024f4 () {
    0x000024f4 lui gp, 2                 |     
    0x000024f8 addiu gp, gp, -0x64c4     |     
    0x000024fc addu gp, gp, t9           |     gp += t9;
    0x00002500 lw v0, -0x7f18(gp)        |     v0 = *((gp - 8134));
    0x00002504 addiu sp, sp, -0x40a8     |     
    0x00002508 lw v1, (v0)               |     v1 = *(v0);
    0x0000250c sw v0, 0x38(sp)           |     *(arg_38h) = v0;
    0x00002510 lw v0, -0x7fc8(gp)        |     v0 = *(gp);
    0x00002514 sw s5, 0x4094(sp)         |     *(arg_4094h) = s5;
    0x00002518 sw s6, 0x4098(sp)         |     *(arg_4098h) = s6;
    0x0000251c lw t0, (v0)               |     t0 = *(v0);
    0x00002520 lw v0, -0x7fc4(gp)        |     v0 = *(gp);
    0x00002524 addiu s5, sp, 0x40        |     s5 = sp + 0x40;
    0x00002528 addiu s6, sp, 0x78        |     s6 = sp + 0x78;
    0x0000252c lw v0, (v0)               |     v0 = *(v0);
    0x00002530 sw gp, 0x18(sp)           |     *(arg_18h) = gp;
    0x00002534 sw v1, 0x407c(sp)         |     *(arg_407ch) = v1;
    0x00002538 sltu v1, zero, t0         |     v1 = (0 < t0) ? 1 : 0;
    0x0000253c sw ra, 0x40a4(sp)         |     *(arg_40a4h) = ra;
    0x00002540 sw fp, 0x40a0(sp)         |     *(arg_40a0h) = fp;
    0x00002544 sw s7, 0x409c(sp)         |     *(arg_409ch) = s7;
    0x00002548 sw s4, 0x4090(sp)         |     *(arg_4090h) = s4;
    0x0000254c sw s3, 0x408c(sp)         |     *(arg_408ch) = s3;
    0x00002550 sw s2, 0x4088(sp)         |     *(arg_4088h) = s2;
    0x00002554 sw s1, 0x4084(sp)         |     *(arg_4084h) = s1;
    0x00002558 sw s0, 0x4080(sp)         |     *(arg_4080h) = s0;
    0x0000255c sw zero, 0x40(sp)         |     *(arg_40h) = 0;
    0x00002560 sw zero, 0x78(sp)         |     *(arg_78h) = 0;
    0x00002564 sw a0, 0x40a8(sp)         |     *(arg_40a8h) = a0;
    0x00002568 sw a1, 0x40ac(sp)         |     *(arg_40ach) = a1;
    0x0000256c sw a2, 0x3c(sp)           |     *(arg_3ch) = a2;
    0x00002570 sw a3, 0x2c(sp)           |     *(arg_2ch) = a3;
    0x00002574 sw zero, 4(s6)            |     *((s6 + 1)) = 0;
    0x00002578 sw zero, 0x14(s6)         |     *((s6 + 5)) = 0;
    0x0000257c sw zero, 0x1c(s6)         |     *((s6 + 7)) = 0;
    0x00002580 sw zero, 4(s5)            |     *((s5 + 1)) = 0;
    0x00002584 sw zero, 8(s5)            |     *((s5 + 2)) = 0;
    0x00002588 sw zero, 0xc(s5)          |     *((s5 + 3)) = 0;
    0x0000258c sw zero, 0x10(s5)         |     *((s5 + 4)) = 0;
    0x00002590 sw zero, 0x14(s5)         |     *((s5 + 5)) = 0;
    0x00002594 sw zero, 0x18(s5)         |     *((s5 + 6)) = 0;
    0x00002598 sw zero, 0x1c(s5)         |     *((s5 + 7)) = 0;
    0x0000259c sw zero, 0x20(s5)         |     *((s5 + 8)) = 0;
    0x000025a0 sw zero, 0x24(s5)         |     *((s5 + 9)) = 0;
    0x000025a4 sw zero, 0x28(s5)         |     *((s5 + 10)) = 0;
    0x000025a8 sw zero, 0x2c(s5)         |     *((s5 + 11)) = 0;
    0x000025ac sw zero, 0x30(s5)         |     *((s5 + 12)) = 0;
    0x000025b0 sw zero, 0x34(s5)         |     *((s5 + 13)) = 0;
    0x000025b4 sw v1, 0x28(sp)           |     *(arg_28h) = v1;
                                         |     if (v0 != 0) {
    0x000025b8 beqz v0, 0x25c4           |         
    0x000025bc ori v0, v1, 2             |         v0 = v1 | 2;
    0x000025c0 sw v0, 0x28(sp)           |         *(arg_28h) = v0;
                                         |     }
    0x000025c4 lw s3, -0x7fdc(gp)        |     s3 = *((gp - 8183));
    0x000025c8 move s7, zero             |     s7 = 0;
    0x000025cc addiu v0, s3, 0x1e58      |     v0 = s3 + 0x1e58;
    0x000025d0 sw v0, 0x20(sp)           |     *(arg_20h) = v0;
    0x000025d4 lw v0, -0x7fdc(gp)        |     v0 = *((gp - 8183));
    0x000025d8 move fp, zero             |     fp = 0;
    0x000025dc addiu v0, v0, 0x1d78      |     v0 += 0x1d78;
    0x000025e0 sw zero, 0x30(sp)         |     *(arg_30h) = 0;
    0x000025e4 sw v0, 0x34(sp)           |     *(arg_34h) = v0;
                                         | label_6:
    0x000025e8 addiu v0, zero, -1        |     v0 = -1;
    0x000025ec sw v0, 0x80(sp)           |     *(arg_80h) = v0;
    0x000025f0 lw v0, 0x28(sp)           |     v0 = *(arg_28h);
    0x000025f4 lw t9, -0x7f24(gp)        |     t9 = sym.imp.ioctl;
    0x000025f8 addiu v1, zero, -1        |     v1 = -1;
    0x000025fc sw v0, 0x88(sp)           |     *(arg_88h) = v0;
    0x00002600 lui a1, 0xc020            |     a1 = 0xc0200000;
    0x00002604 addiu v0, zero, 0x124     |     v0 = 0x124;
    0x00002608 lw a0, 0x40a8(sp)         |     a0 = *(arg_40a8h);
    0x0000260c sw v1, 0x84(sp)           |     *(arg_84h) = v1;
    0x00002610 sw v0, 0x90(sp)           |     *(arg_90h) = v0;
    0x00002614 move a2, s6               |     a2 = s6;
    0x00002618 addiu a1, a1, 0x660b      |     a1 += 0x660b;
    0x0000261c jalr t9                   |     t9 ();
    0x00002620 lw gp, 0x18(sp)           |     gp = *(arg_18h);
                                         |     if (v0 < 0) {
    0x00002624 bltz v0, 0x2930           |         goto label_11;
                                         |     }
    0x00002628 lw v0, 0x8c(sp)           |     v0 = *(arg_8ch);
    0x0000262c lw s1, -0x7fc0(gp)        |     s1 = *(gp);
                                         |     if (v0 == 0) {
    0x00002630 beqz v0, 0x287c           |         goto label_12;
                                         |     }
    0x00002634 lw v1, (s1)               |     v1 = *(s1);
    0x00002638 addiu v0, sp, 0x98        |     v0 = sp + 0x98;
                                         |     if (v1 != 0) {
    0x0000263c beqz v1, 0x2650           |         
    0x00002640 lw v0, 0x30(sp)           |         v0 = *(arg_30h);
    0x00002644 lw t9, 0x34(sp)           |         t9 = *(arg_34h);
                                         |         if (v0 == 0) {
    0x00002648 beqz v0, 0x28d8           |             goto label_13;
                                         |         }
                                         | label_9:
    0x0000264c addiu v0, sp, 0x98        |         v0 = sp + 0x98;
                                         |     }
    0x00002650 move s0, v0               |     s0 = v0;
    0x00002654 sw v0, 0x24(sp)           |     *(arg_24h) = v0;
    0x00002658 lw v0, 0x2c(sp)           |     v0 = *(arg_2ch);
    0x0000265c lw a2, (s0)               |     a2 = *(s0);
    0x00002660 addiu s2, v0, 0x38        |     s2 = v0 + 0x38;
    0x00002664 lw t1, 4(s0)              |     t1 = *((s0 + 1));
    0x00002668 move v0, s2               |     v0 = s2;
    0x0000266c move s3, zero             |     s3 = 0;
    0x00002670 move s2, s3               |     s2 = s3;
    0x00002674 move s3, v0               |     s3 = v0;
    0x00002678 or v0, a2, t1             |     v0 = a2 | t1;
    0x0000267c move s4, zero             |     s4 = 0;
                                         |     if (v0 == 0) {
    0x00002680 beqz v0, 0x276c           |         goto label_8;
                                         |     }
    0x00002684 lw a0, 0x48(sp)           |     a0 = *(arg_48h);
                                         | label_0:
    0x00002688 lw a3, 0x40(sp)           |     a3 = *(arg_40h);
    0x0000268c lw a1, 0x4c(sp)           |     a1 = *(arg_4ch);
    0x00002690 lw v0, 0x44(sp)           |     v0 = *(arg_44h);
    0x00002694 subu a3, a0, a3           |     __asm ("subu a3, a0, a3");
    0x00002698 sltu t2, a0, a3           |     t2 = (a0 < a3) ? 1 : 0;
    0x0000269c subu v0, a1, v0           |     __asm ("subu v0, a1, v0");
    0x000026a0 subu v0, v0, t2           |     __asm ("subu v0, v0, t2");
    0x000026a4 addu a2, a3, a2           |     a2 = a3 + a2;
    0x000026a8 lw t2, 8(s0)              |     t2 = *((s0 + 2));
    0x000026ac addu v0, v0, t1           |     v0 += t1;
    0x000026b0 sltu a3, a2, a3           |     a3 = (a2 < a3) ? 1 : 0;
    0x000026b4 lw t1, 0x50(sp)           |     t1 = *(arg_50h);
    0x000026b8 lw t3, 0x54(sp)           |     t3 = *(arg_54h);
    0x000026bc addu a3, a3, v0           |     a3 += v0;
    0x000026c0 lw t4, 0xc(s0)            |     t4 = *((s0 + 3));
                                         |     if (t2 == a2) {
    0x000026c4 beq t2, a2, 0x28c8        |         goto label_14;
                                         |     }
    0x000026c8 addu t1, a0, t1           |     t1 = a0 + t1;
                                         | label_7:
    0x000026cc sltu v0, t1, a0           |     v0 = (t1 < a0) ? 1 : 0;
    0x000026d0 addu a1, a1, t3           |     a1 += t3;
    0x000026d4 addu v0, v0, a1           |     v0 += a1;
                                         |     if (t2 == t1) {
    0x000026d8 beq t2, t1, 0x281c        |         goto label_15;
                                         |     }
    0x000026dc addiu fp, fp, 1           |     fp++;
                                         | label_4:
    0x000026e0 lw v0, 0x40ac(sp)         |     v0 = *(arg_40ach);
                                         |     if (v1 != 0) {
    0x000026e4 bnez v1, 0x2788           |         goto label_16;
                                         |     }
                                         | label_1:
    0x000026e8 lw v0, 0x28(s0)           |     v0 = *((s0 + 10));
    0x000026ec lw a0, 0x8c(sp)           |     a0 = *(arg_8ch);
    0x000026f0 andi v0, v0, 1            |     v0 &= 1;
    0x000026f4 addiu s7, s7, 1           |     s7++;
    0x000026f8 addiu s4, s4, 1           |     s4++;
                                         |     if (v0 != 0) {
    0x000026fc bnez v0, 0x27bc           |         goto label_17;
                                         |     }
                                         | label_2:
    0x00002700 move v0, s0               |     v0 = s0;
    0x00002704 move v1, s5               |     v1 = s5;
    0x00002708 addiu t2, s0, 0x30        |     t2 = s0 + 0x30;
                                         |     do {
    0x0000270c lw t0, (v0)               |         t0 = *(v0);
    0x00002710 lw a3, 4(v0)              |         a3 = *((v0 + 1));
    0x00002714 lw a2, 8(v0)              |         a2 = *((v0 + 2));
    0x00002718 lw a1, 0xc(v0)            |         a1 = *((v0 + 3));
    0x0000271c addiu v0, v0, 0x10        |         v0 += 0x10;
    0x00002720 sw t0, (v1)               |         *(v1) = t0;
    0x00002724 sw a3, 4(v1)              |         *((v1 + 1)) = a3;
    0x00002728 sw a2, 8(v1)              |         *((v1 + 2)) = a2;
    0x0000272c sw a1, 0xc(v1)            |         *((v1 + 3)) = a1;
    0x00002730 addiu v1, v1, 0x10        |         v1 += 0x10;
    0x00002734 bne v0, t2, 0x270c        |         
                                         |     } while (v0 != t2);
    0x00002738 lw a1, (v0)               |     a1 = *(v0);
    0x0000273c lw v0, 4(v0)              |     v0 = *((v0 + 1));
    0x00002740 sltu a0, s4, a0           |     a0 = (s4 < a0) ? 1 : 0;
    0x00002744 sw a1, (v1)               |     *(v1) = a1;
    0x00002748 sw v0, 4(v1)              |     *((v1 + 1)) = v0;
                                         |     if (a0 == 0) {
    0x0000274c beqz a0, 0x2838           |         goto label_18;
                                         |     }
    0x00002750 lw v1, (s1)               |     v1 = *(s1);
    0x00002754 addiu s0, s0, 0x38        |     s0 += 0x38;
                                         | label_3:
    0x00002758 lw a2, (s0)               |     a2 = *(s0);
    0x0000275c lw t1, 4(s0)              |     t1 = *((s0 + 1));
    0x00002760 or v0, a2, t1             |     v0 = a2 | t1;
    0x00002764 lw a0, 0x48(sp)           |     a0 = *(arg_48h);
                                         |     if (v0 != 0) {
    0x00002768 bnez v0, 0x2688           |         goto label_0;
                                         |     }
                                         | label_8:
    0x0000276c move a2, zero             |     a2 = 0;
                                         |     if (fp != 0) {
    0x00002770 bnez fp, 0x2830           |         goto label_19;
                                         |     }
    0x00002774 addiu fp, zero, 1         |     fp = 1;
                                         | label_5:
    0x00002778 move a2, zero             |     a2 = 0;
    0x0000277c move a3, zero             |     a3 = 0;
                                         |     if (v1 == 0) {
    0x00002780 beqz v1, 0x26e8           |         goto label_1;
                                         |     }
    0x00002784 lw v0, 0x40ac(sp)         |     v0 = *(arg_40ach);
                                         | label_16:
    0x00002788 lw t9, 0x20(sp)           |     t9 = *(arg_20h);
    0x0000278c sw v0, 0x10(sp)           |     *(arg_10h) = v0;
    0x00002790 move a1, s7               |     a1 = s7;
    0x00002794 move a0, s0               |     a0 = s0;
    0x00002798 sw s3, 0x14(sp)           |     *(arg_14h) = s3;
    0x0000279c jalr t9                   |     t9 ();
    0x000027a0 lw v0, 0x28(s0)           |     v0 = *((s0 + 10));
    0x000027a4 lw gp, 0x18(sp)           |     gp = *(arg_18h);
    0x000027a8 andi v0, v0, 1            |     v0 &= 1;
    0x000027ac lw a0, 0x8c(sp)           |     a0 = *(arg_8ch);
    0x000027b0 addiu s7, s7, 1           |     s7++;
    0x000027b4 addiu s4, s4, 1           |     s4++;
                                         |     if (v0 == 0) {
    0x000027b8 beqz v0, 0x2700           |         goto label_2;
                                         |     }
                                         | label_17:
    0x000027bc move v0, s0               |     v0 = s0;
    0x000027c0 move v1, s5               |     v1 = s5;
    0x000027c4 addiu t1, s0, 0x30        |     t1 = s0 + 0x30;
                                         |     do {
    0x000027c8 lw t0, (v0)               |         t0 = *(v0);
    0x000027cc lw a3, 4(v0)              |         a3 = *((v0 + 1));
    0x000027d0 lw a2, 8(v0)              |         a2 = *((v0 + 2));
    0x000027d4 lw a1, 0xc(v0)            |         a1 = *((v0 + 3));
    0x000027d8 addiu v0, v0, 0x10        |         v0 += 0x10;
    0x000027dc sw t0, (v1)               |         *(v1) = t0;
    0x000027e0 sw a3, 4(v1)              |         *((v1 + 1)) = a3;
    0x000027e4 sw a2, 8(v1)              |         *((v1 + 2)) = a2;
    0x000027e8 sw a1, 0xc(v1)            |         *((v1 + 3)) = a1;
    0x000027ec addiu v1, v1, 0x10        |         v1 += 0x10;
    0x000027f0 bne v0, t1, 0x27c8        |         
                                         |     } while (v0 != t1);
    0x000027f4 lw a1, (v0)               |     a1 = *(v0);
    0x000027f8 lw v0, 4(v0)              |     v0 = *((v0 + 1));
    0x000027fc sltu a0, s4, a0           |     a0 = (s4 < a0) ? 1 : 0;
    0x00002800 sw a1, (v1)               |     *(v1) = a1;
    0x00002804 sw v0, 4(v1)              |     *((v1 + 1)) = v0;
                                         |     if (a0 == 0) {
    0x00002808 beqz a0, 0x287c           |         goto label_12;
                                         |     }
    0x0000280c addiu s2, zero, 1         |     s2 = 1;
    0x00002810 lw v1, (s1)               |     v1 = *(s1);
    0x00002814 addiu s0, s0, 0x38        |     s0 += 0x38;
    0x00002818 b 0x2758                  |     goto label_3;
                                         | label_15:
    0x0000281c addiu fp, fp, 1           |     fp++;
                                         |     if (t4 == v0) {
    0x00002820 bnel t4, v0, 0x26e0       |         goto label_4;
                                         |     }
                                         |     if (fp == 0) {
    0x00002824 beql fp, zero, 0x2778     |         goto label_5;
                                         |     }
    0x00002828 addiu fp, zero, 1         |     fp = 1;
    0x0000282c move a2, zero             |     a2 = 0;
                                         | label_19:
    0x00002830 move a3, zero             |     a3 = 0;
    0x00002834 b 0x26e0                  |     goto label_4;
                                         | label_18:
    0x00002838 sll v0, s4, 3             |     v0 = s4 << 3;
    0x0000283c subu s4, v0, s4           |     __asm ("subu s4, v0, s4");
    0x00002840 sll s4, s4, 3             |     s4 <<= 3;
    0x00002844 lw v0, 0x24(sp)           |     v0 = *(arg_24h);
    0x00002848 addiu s4, s4, -0x38       |     s4 += -0x38;
    0x0000284c addu s1, v0, s4           |     s1 = v0 + s4;
    0x00002850 lw v0, (s1)               |     v0 = *(s1);
    0x00002854 lw v1, 0x10(s1)           |     v1 = *((s1 + 4));
    0x00002858 lw a0, 4(s1)              |     a0 = *((s1 + 1));
    0x0000285c lw a1, 0x14(s1)           |     a1 = *((s1 + 5));
    0x00002860 addu v1, v0, v1           |     v1 = v0 + v1;
    0x00002864 sltu v0, v1, v0           |     v0 = (v1 < v0) ? 1 : 0;
    0x00002868 addu a0, a0, a1           |     a0 += a1;
    0x0000286c addu v0, v0, a0           |     v0 += a0;
    0x00002870 sw v1, 0x78(sp)           |     *(arg_78h) = v1;
    0x00002874 sw v0, 0x7c(sp)           |     *(arg_7ch) = v0;
                                         |     if (s2 == 0) {
    0x00002878 beqz s2, 0x25e8           |         goto label_6;
                                         |     }
                                         | label_12:
    0x0000287c lw v0, 0x3c(sp)           |     v0 = *(arg_3ch);
    0x00002880 sw fp, (v0)               |     *(v0) = fp;
    0x00002884 move v0, zero             |     v0 = 0;
                                         | label_10:
    0x00002888 lw v1, 0x38(sp)           |     v1 = *(arg_38h);
    0x0000288c lw a0, 0x407c(sp)         |     a0 = *(arg_407ch);
    0x00002890 lw v1, (v1)               |     v1 = *(v1);
    0x00002894 lw ra, 0x40a4(sp)         |     ra = *(arg_40a4h);
                                         |     if (a0 != v1) {
    0x00002898 bne a0, v1, 0x299c        |         goto label_20;
                                         |     }
    0x0000289c lw fp, 0x40a0(sp)         |     fp = *(arg_40a0h);
    0x000028a0 lw s7, 0x409c(sp)         |     s7 = *(arg_409ch);
    0x000028a4 lw s6, 0x4098(sp)         |     s6 = *(arg_4098h);
    0x000028a8 lw s5, 0x4094(sp)         |     s5 = *(arg_4094h);
    0x000028ac lw s4, 0x4090(sp)         |     s4 = *(arg_4090h);
    0x000028b0 lw s3, 0x408c(sp)         |     s3 = *(arg_408ch);
    0x000028b4 lw s2, 0x4088(sp)         |     s2 = *(arg_4088h);
    0x000028b8 lw s1, 0x4084(sp)         |     s1 = *(arg_4084h);
    0x000028bc lw s0, 0x4080(sp)         |     s0 = *(arg_4080h);
    0x000028c0 addiu sp, sp, 0x40a8      |     
    0x000028c4 jr ra                     |     return v0;
                                         | label_14:
    0x000028c8 addu t1, a0, t1           |     t1 = a0 + t1;
                                         |     if (t4 == a3) {
    0x000028cc bnel t4, a3, 0x26cc       |         goto label_7;
                                         |     }
    0x000028d0 b 0x276c                  |     goto label_8;
    0x000028d4 nop                       |     
                                         | label_13:
    0x000028d8 jalr t9                   |     t9 ();
    0x000028dc nop                       |     
    0x000028e0 lw v0, 0x8c(sp)           |     v0 = *(arg_8ch);
    0x000028e4 lw gp, 0x18(sp)           |     gp = *(arg_18h);
                                         |     if (v0 == 0) {
    0x000028e8 bnez v0, 0x2920           |         
    0x000028ec lw v0, 0x70(sp)           |         v0 = *(arg_70h);
    0x000028f0 lw v1, 0x60(sp)           |         v1 = *(arg_60h);
    0x000028f4 lw a0, 0x74(sp)           |         a0 = *(arg_74h);
    0x000028f8 lw a1, 0x64(sp)           |         a1 = *(arg_64h);
    0x000028fc addu v1, v0, v1           |         v1 = v0 + v1;
    0x00002900 sltu v0, v1, v0           |         v0 = (v1 < v0) ? 1 : 0;
    0x00002904 addu a0, a0, a1           |         a0 += a1;
    0x00002908 addu v0, v0, a0           |         v0 += a0;
    0x0000290c sw v0, 0x7c(sp)           |         *(arg_7ch) = v0;
    0x00002910 addiu v0, zero, 1         |         v0 = 1;
    0x00002914 sw v1, 0x78(sp)           |         *(arg_78h) = v1;
    0x00002918 sw v0, 0x30(sp)           |         *(arg_30h) = v0;
    0x0000291c b 0x25e8                  |         goto label_6;
                                         |     }
    0x00002920 addiu v0, zero, 1         |     v0 = 1;
    0x00002924 lw v1, (s1)               |     v1 = *(s1);
    0x00002928 sw v0, 0x30(sp)           |     *(arg_30h) = v0;
    0x0000292c b 0x264c                  |     goto label_9;
                                         | label_11:
    0x00002930 lw t9, -0x7f58(gp)        |     t9 = sym.imp.__errno_location;
    0x00002934 jalr t9                   |     t9 ();
    0x00002938 nop                       |     
    0x0000293c lw v0, (v0)               |     v0 = *(v0);
    0x00002940 addiu v1, zero, 0x33      |     v1 = 0x33;
    0x00002944 lw gp, 0x18(sp)           |     gp = *(arg_18h);
                                         |     if (v0 != v1) {
    0x00002948 beq v0, v1, 0x2954        |         
    0x0000294c negu v0, v0               |         __asm ("negu v0, v0");
    0x00002950 b 0x2888                  |         goto label_10;
                                         |     }
    0x00002954 lw s0, -0x7fbc(gp)        |     s0 = *((gp - 8175));
    0x00002958 lw v0, 0x415c(s0)         |     v0 = *((s0 + 4183));
                                         |     if (v0 != 0) {
    0x0000295c beql v0, zero, 0x296c     |         
    0x00002960 lw v0, -0x7f14(gp)        |         v0 = *((gp - 8133));
    0x00002964 addiu v0, zero, -0x33     |         v0 = -0x33;
    0x00002968 b 0x2888                  |         goto label_10;
                                         |     }
    0x0000296c lw a2, -0x7fdc(gp)        |     a2 = *((gp - 8183));
    0x00002970 lw t9, -0x7f70(gp)        |     t9 = sym.imp.__fprintf_chk
    0x00002974 lw a3, 0x88(sp)           |     a3 = *(arg_88h);
    0x00002978 lw a0, (v0)               |     a0 = *(v0);
    0x0000297c addiu a2, a2, 0x3a74      |     a2 += str.FIEMAP_failed_with_unknown_flags__x_n;
    0x00002980 addiu a1, zero, 1         |     a1 = 1;
    0x00002984 jalr t9                   |     t9 ();
    0x00002988 addiu v0, zero, 1         |     v0 = 1;
    0x0000298c sw v0, 0x415c(s0)         |     *((s0 + 4183)) = v0;
    0x00002990 lw gp, 0x18(sp)           |     gp = *(arg_18h);
    0x00002994 addiu v0, zero, -0x33     |     v0 = -0x33;
    0x00002998 b 0x2888                  |     goto label_10;
                                         | label_20:
    0x0000299c lw t9, -0x7f20(gp)        |     t9 = sym.imp.__stack_chk_fail;
    0x000029a0 jalr t9                   |     t9 ();
    0x000029a4 nop                       |     
    0x000029a8 nop                       |     
    0x000029ac nop                       |     
                                         | }
    ; assembly                           | /* r2dec pseudo code output */
                                         | /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/filefrag @ 0xc30 */
                                         | #include <stdint.h>
                                         |  
    ; (fcn) main ()                      | int32_t main () {
                                         |     /* [13] -r-x section size 11104 named .text */
    0x00000c30 lui gp, 2                 |     
    0x00000c34 addiu gp, gp, -0x4c00     |     
    0x00000c38 addu gp, gp, t9           |     gp += t9;
    0x00000c3c lw v0, -0x7f18(gp)        |     v0 = *((gp - 8134));
    0x00000c40 addiu sp, sp, -0x1d8      |     
    0x00000c44 sw s4, 0x1c0(sp)          |     *(var_1c0h) = s4;
    0x00000c48 sw s2, 0x1b8(sp)          |     *(var_1b8h) = s2;
    0x00000c4c sw v0, 0x8c(sp)           |     *(var_8ch) = v0;
    0x00000c50 lw s2, -0x7fdc(gp)        |     s2 = *((gp - 8183));
    0x00000c54 lw v0, (v0)               |     v0 = *(v0);
    0x00000c58 lw s4, -0x7fdc(gp)        |     s4 = *((gp - 8183));
    0x00000c5c sw s5, 0x1c4(sp)          |     *(var_1c4h) = s5;
    0x00000c60 sw s3, 0x1bc(sp)          |     *(var_1bch) = s3;
    0x00000c64 lw s5, -0x7fdc(gp)        |     s5 = *((gp - 8183));
    0x00000c68 lw s3, -0x7fdc(gp)        |     s3 = *((gp - 8183));
    0x00000c6c sw s1, 0x1b4(sp)          |     *(var_1b4h) = s1;
    0x00000c70 sw s0, 0x1b0(sp)          |     *(var_1b0h) = s0;
    0x00000c74 sw gp, 0x28(sp)           |     *(var_28h) = gp;
    0x00000c78 sw ra, 0x1d4(sp)          |     *(var_1d4h) = ra;
    0x00000c7c sw fp, 0x1d0(sp)          |     *(var_1d0h) = fp;
    0x00000c80 sw s7, 0x1cc(sp)          |     *(var_1cch) = s7;
    0x00000c84 sw s6, 0x1c8(sp)          |     *(var_1c8h) = s6;
    0x00000c88 move s1, a0               |     s1 = a0;
    0x00000c8c move s0, a1               |     s0 = a1;
    0x00000c90 sw v0, 0x1ac(sp)          |     *(var_1ach) = v0;
    0x00000c94 addiu s2, s2, 0x3cc0      |     s2 += 0x3cc0;
    0x00000c98 addiu s4, s4, 0x3d9c      |     s4 += 0x3d9c;
    0x00000c9c lw t9, -0x7f4c(gp)        |     t9 = sym.imp.getopt;
    0x00000ca0 addiu a2, s3, 0x3ae0      |     a2 = s3 + str.Bb::eksvxX;
    0x00000ca4 move a1, s0               |     a1 = s0;
    0x00000ca8 move a0, s1               |     a0 = s1;
    0x00000cac jalr t9                   |     t9 ();
    0x00000cb0 addiu v1, zero, -1        |     v1 = -1;
    0x00000cb4 lw gp, 0x28(sp)           |     gp = *(var_28h);
                                         |     if (v0 != v1) {
    0x00000cb8 beq v0, v1, 0xdf4         |         
    0x00000cbc addiu v0, v0, -0x42       |         v0 += -0x42;
    0x00000cc0 sltiu v1, v0, 0x37        |         v1 = (v0 < 0x37) ? 1 : 0;
    0x00000cc4 sll v0, v0, 2             |         v0 <<= 2;
                                         |         if (v1 == 0) {
    0x00000cc8 beqz v1, 0x1b98           |             goto label_29;
                                         |         }
    0x00000ccc lwx v0, v0(s2)            |         __asm ("lwx v0, v0(s2)");
    0x00000cd0 addu v0, v0, gp           |         v0 += gp;
    0x00000cd4 jr v0                     |         v0 ();
    0x00000cd8 nop                       |         
                                         |     }
    0x00000df4 lw v0, -0x7f1c(gp)        |     v0 = *((gp - 8135));
    0x00000df8 lw v0, (v0)               |     v0 = *(v0);
    0x00000dfc sll v0, v0, 2             |     v0 <<= 2;
                                         |     if (v0 == s1) {
    0x00000e00 beq v0, s1, 0x1b98        |         goto label_29;
                                         |     }
    0x00000e04 addu v0, s0, v0           |     v0 = s0 + v0;
    0x00000e08 sw v0, 0x48(sp)           |     *(var_48h) = v0;
    0x00000e0c lw v0, (v0)               |     v0 = *(v0);
    0x00000e10 sw zero, 0x60(sp)         |     *(var_60h) = 0;
    0x00000e14 sw v0, 0x34(sp)           |     *(var_34h) = v0;
                                         |     if (v0 == 0) {
    0x00000e18 beqz v0, 0x16a8           |         goto label_30;
                                         |     }
    0x00000e1c lw v0, -0x7fdc(gp)        |     v0 = *((gp - 8183));
    0x00000e20 addiu v0, v0, 0x3a9c      |     v0 += 0x3a9c;
    0x00000e24 sw v0, 0x88(sp)           |     *(var_88h) = v0;
    0x00000e28 lw v0, -0x7fdc(gp)        |     v0 = *((gp - 8183));
    0x00000e2c addiu v0, v0, 0x1d78      |     v0 += 0x1d78;
    0x00000e30 sw v0, 0x84(sp)           |     *(var_84h) = v0;
    0x00000e34 lw v0, -0x7fdc(gp)        |     v0 = *((gp - 8183));
    0x00000e38 addiu v0, v0, 0x1e58      |     v0 += 0x1e58;
    0x00000e3c sw v0, 0x80(sp)           |     *(var_80h) = v0;
                                         | label_7:
    0x00000e40 lw t9, -0x7f50(gp)        |     t9 = sym.imp.open64;
    0x00000e44 addiu v0, zero, 1         |     v0 = 1;
    0x00000e48 lw a0, 0x34(sp)           |     a0 = *(var_34h);
    0x00000e4c move a1, zero             |     a1 = 0;
    0x00000e50 sw v0, 0x90(sp)           |     *(var_90h) = v0;
    0x00000e54 jalr t9                   |     t9 ();
    0x00000e58 move s7, v0               |     s7 = v0;
    0x00000e5c lw gp, 0x28(sp)           |     gp = *(var_28h);
                                         |     if (v0 < 0) {
    0x00000e60 bltz v0, 0x183c           |         goto label_31;
                                         |     }
    0x00000e64 lw t9, -0x7f2c(gp)        |     t9 = sym.imp.__fxstat64;
    0x00000e68 addiu v0, sp, 0x108       |     v0 = sp + 0x108;
    0x00000e6c sw v0, 0x3c(sp)           |     *(var_3ch) = v0;
    0x00000e70 move a2, v0               |     a2 = v0;
    0x00000e74 move a1, s7               |     a1 = s7;
    0x00000e78 addiu a0, zero, 3         |     a0 = 3;
    0x00000e7c jalr t9                   |     t9 ();
    0x00000e80 lw gp, 0x28(sp)           |     gp = *(var_28h);
                                         |     if (v0 < 0) {
    0x00000e84 bltz v0, 0x1a28           |         goto label_32;
                                         |     }
    0x00000e88 lw s2, -0x7fbc(gp)        |     s2 = *((gp - 8175));
    0x00000e8c lw v0, 0x108(sp)          |     v0 = *(var_108h);
    0x00000e90 lw v1, 0x41a8(s2)         |     v1 = *((s2 + 4202));
    0x00000e94 lw s0, -0x7fbc(gp)        |     s0 = *((gp - 8175));
                                         |     if (v1 != v0) {
    0x00000e98 bne v1, v0, 0x1758        |         goto label_33;
                                         |     }
    0x00000e9c lw v0, 0x41ac(s2)         |     v0 = *((s2 + 4203));
    0x00000ea0 lw v0, -0x7fc0(gp)        |     v0 = *(gp);
                                         |     if (v0 != 0) {
    0x00000ea4 bnez v0, 0x1758           |         goto label_33;
                                         |     }
    0x00000ea8 lw s3, -0x7fbc(gp)        |     s3 = *((gp - 8175));
    0x00000eac lw a2, 0x4164(s0)         |     a2 = *((s0 + 4185));
    0x00000eb0 sw v0, 0x50(sp)           |     *(var_50h) = v0;
    0x00000eb4 addiu s4, s0, 0x4164      |     s4 = s0 + 0x4164;
                                         | label_10:
    0x00000eb8 lui v0, 0xffff            |     v0 = 0xffff10af;
                                         | label_9:
    0x00000ebc addiu v0, v0, 0x10af      |     
    0x00000ec0 lw s1, 0x4160(s3)         |     s1 = *((s3 + 4184));
    0x00000ec4 addu a2, a2, v0           |     a2 += v0;
    0x00000ec8 sltiu a2, a2, 3           |     a2 = (a2 < 3) ? 1 : 0;
    0x00000ecc sw s1, 0x160(sp)          |     *(var_160h) = s1;
                                         |     if (a2 != 0) {
    0x00000ed0 bnez a2, 0x195c           |         goto label_34;
                                         |     }
    0x00000ed4 addiu v1, zero, 1         |     v1 = 1;
    0x00000ed8 lw v0, 0x108(sp)          |     v0 = *(var_108h);
    0x00000edc sw zero, 0x30(sp)         |     *(var_30h) = 0;
    0x00000ee0 sw v1, 0x6c(sp)           |     *(var_6ch) = v1;
                                         | label_20:
    0x00000ee4 lw s0, 0xc(s4)            |     s0 = *((s4 + 3));
    0x00000ee8 lw t9, -0x7fac(gp)        |     t9 = *(gp);
    0x00000eec move a0, s0               |     a0 = s0;
    0x00000ef0 sw v0, 0x41a8(s2)         |     *((s2 + 4202)) = v0;
    0x00000ef4 sw zero, 0x41ac(s2)       |     *((s2 + 4203)) = 0;
    0x00000ef8 addiu a2, zero, 0xa       |     a2 = 0xa;
    0x00000efc move a3, zero             |     a3 = 0;
    0x00000f00 move a1, zero             |     a1 = 0;
    0x00000f04 bal 0x2e50                |     fcn_00002e50 ();
    0x00000f08 sltiu a0, s0, 0xa         |     a0 = (s0 < 0xa) ? 1 : 0;
    0x00000f0c lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x00000f10 move s3, zero             |     s3 = 0;
    0x00000f14 move s2, v0               |     s2 = v0;
    0x00000f18 move s0, v1               |     s0 = v1;
                                         |     if (a0 != 0) {
    0x00000f1c bnez a0, 0xf5c            |         goto label_35;
                                         |     }
                                         |     do {
    0x00000f20 lw t9, -0x7fac(gp)        |         t9 = *(gp);
    0x00000f24 addiu a2, zero, 0xa       |         a2 = 0xa;
    0x00000f28 move a3, zero             |         a3 = 0;
    0x00000f2c move a0, s2               |         a0 = s2;
    0x00000f30 move a1, s0               |         a1 = s0;
    0x00000f34 bal 0x2e50                |         fcn_00002e50 ();
    0x00000f38 addiu s3, s3, 1           |         s3++;
    0x00000f3c lw gp, 0x28(sp)           |         gp = *(var_28h);
                                         |         if (s0 == 0) {
    0x00000f40 beqz s0, 0xf50            |             goto label_36;
                                         |         }
    0x00000f44 move s2, v0               |         s2 = v0;
                                         | label_0:
    0x00000f48 move s0, v1               |         s0 = v1;
    0x00000f4c b 0xf20                   |         
                                         |     } while (1);
                                         | label_36:
    0x00000f50 sltiu s2, s2, 0xa         |     s2 = (s2 < 0xa) ? 1 : 0;
    0x00000f54 move s2, v0               |     s2 = v0;
                                         |     if (s2 == 0) {
    0x00000f58 beqz s2, 0xf48            |         goto label_0;
                                         |     }
                                         | label_35:
    0x00000f5c lw v1, -0x7fd8(gp)        |     v1 = *(gp);
    0x00000f60 lw v0, (v1)               |     v0 = *(v1);
    0x00000f64 slt v0, v0, s3            |     v0 = (v0 < s3) ? 1 : 0;
    0x00000f68 sw s3, (v1)               |     *(v1) = s3;
                                         |     if (v0 != 0) {
    0x00000f6c bnel v0, zero, 0xf70      |         
                                         |     }
    0x00000f70 lw s3, 0x140(sp)          |     s3 = *(var_140h);
    0x00000f74 lw v0, 0x144(sp)          |     v0 = *(var_144h);
    0x00000f78 addu a1, s3, s1           |     a1 = s3 + s1;
    0x00000f7c move v1, v0               |     v1 = v0;
    0x00000f80 sw v0, 0x40(sp)           |     *(var_40h) = v0;
    0x00000f84 sltu v0, a1, s3           |     v0 = (a1 < s3) ? 1 : 0;
    0x00000f88 addiu a0, a1, -1          |     a0 = a1 + -1;
    0x00000f8c addu v0, v0, v1           |     v0 += v1;
    0x00000f90 lw t9, -0x7fa8(gp)        |     t9 = *(gp);
    0x00000f94 sltu a1, a0, a1           |     a1 = (a0 < a1) ? 1 : 0;
    0x00000f98 addiu v0, v0, -1          |     v0 += -1;
    0x00000f9c move a2, s1               |     a2 = s1;
    0x00000fa0 move a3, zero             |     a3 = 0;
    0x00000fa4 addu a1, a1, v0           |     a1 += v0;
    0x00000fa8 bal 0x29b0                |     fcn_000029b0 ();
    0x00000fac lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x00000fb0 move s2, v0               |     s2 = v0;
    0x00000fb4 lw v0, -0x7fb8(gp)        |     v0 = *(gp);
    0x00000fb8 sw s2, 0x44(sp)           |     *(var_44h) = s2;
    0x00000fbc sw v1, 0x38(sp)           |     *(var_38h) = v1;
    0x00000fc0 lw s0, (v0)               |     s0 = *(v0);
    0x00000fc4 move s4, v1               |     s4 = v1;
                                         |     if (s0 == 0) {
    0x00000fc8 beqz s0, 0x181c           |         goto label_37;
                                         |     }
    0x00000fcc sra v0, s0, 1             |     v0 = s0 >> 1;
    0x00000fd0 move s0, zero             |     s0 = 0;
                                         |     if (v0 == 0) {
    0x00000fd4 beqz v0, 0xfe4            |         goto label_38;
                                         |     }
                                         |     do {
    0x00000fd8 sra v0, v0, 1             |         v0 >>= 1;
    0x00000fdc addiu s0, s0, 1           |         s0++;
    0x00000fe0 bnez v0, 0xfd8            |         
                                         |     } while (v0 != 0);
                                         | label_38:
    0x00000fe4 lw t9, -0x7fac(gp)        |     t9 = *(gp);
                                         | label_14:
    0x00000fe8 addiu a2, zero, 0xa       |     a2 = 0xa;
    0x00000fec move a3, zero             |     a3 = 0;
    0x00000ff0 move a0, s2               |     a0 = s2;
    0x00000ff4 move a1, s4               |     a1 = s4;
    0x00000ff8 bal 0x2e50                |     fcn_00002e50 ();
    0x00000ffc move fp, v0               |     fp = v0;
    0x00001000 lw v0, 0x38(sp)           |     v0 = *(var_38h);
    0x00001004 lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x00001008 move s6, v1               |     s6 = v1;
    0x0000100c move s5, zero             |     s5 = 0;
                                         |     if (v0 == 0) {
    0x00001010 beqz v0, 0x1b18           |         goto label_39;
                                         |     }
                                         |     do {
    0x00001014 lw t9, -0x7fac(gp)        |         t9 = *(gp);
                                         | label_27:
    0x00001018 addiu a2, zero, 0xa       |         a2 = 0xa;
    0x0000101c move a3, zero             |         a3 = 0;
    0x00001020 move a0, fp               |         a0 = fp;
    0x00001024 move a1, s6               |         a1 = s6;
    0x00001028 bal 0x2e50                |         fcn_00002e50 ();
    0x0000102c addiu s5, s5, 1           |         s5++;
    0x00001030 lw gp, 0x28(sp)           |         gp = *(var_28h);
                                         |         if (s6 == 0) {
    0x00001034 beqz s6, 0x1044           |             goto label_40;
                                         |         }
    0x00001038 move fp, v0               |         fp = v0;
                                         | label_1:
    0x0000103c move s6, v1               |         s6 = v1;
    0x00001040 b 0x1014                  |         
                                         |     } while (1);
                                         | label_40:
    0x00001044 sltiu fp, fp, 0xa         |     fp = (fp < 0xa) ? 1 : 0;
    0x00001048 move fp, v0               |     fp = v0;
                                         |     if (fp == 0) {
    0x0000104c beqz fp, 0x103c           |         goto label_1;
                                         |     }
    0x00001050 lw v1, -0x7fd4(gp)        |     v1 = *(gp);
                                         | label_28:
    0x00001054 lw v0, (v1)               |     v0 = *(v1);
    0x00001058 slt v0, v0, s5            |     v0 = (v0 < s5) ? 1 : 0;
    0x0000105c sw s5, (v1)               |     *(v1) = s5;
                                         |     if (v0 != 0) {
    0x00001060 bnel v0, zero, 0x1064     |         
                                         |     }
    0x00001064 lw v0, 0x50(sp)           |     v0 = *(var_50h);
    0x00001068 lw v0, (v0)               |     v0 = *(v0);
                                         |     if (v0 != 0) {
    0x0000106c beql v0, zero, 0x1104     |         
    0x00001070 lw s1, -0x7fb0(gp)        |         s1 = *(gp);
    0x00001074 multu s1, s2              |         __asm ("multu s1, s2");
    0x00001078 mflo a2                   |         __asm ("mflo a2");
    0x0000107c mfhi a3                   |         __asm ("mfhi a3");
    0x00001080 mul v0, s1, s4            |         __asm ("mul v0, s1, s4");
    0x00001084 nor a0, zero, s0          |         __asm ("nor a0, zero, s0");
    0x00001088 addu a3, v0, a3           |         a3 = v0 + a3;
    0x0000108c sll a1, a3, 1             |         a1 = a3 << 1;
    0x00001090 sllv a1, a1, a0           |         a1 <<= a0;
    0x00001094 srlv v0, a2, s0           |         v0 = a2 >> s0;
    0x00001098 andi a0, s0, 0x20         |         a0 = s0 & 0x20;
    0x0000109c srlv v1, a3, s0           |         v1 = a3 >> s0;
    0x000010a0 or v0, a1, v0             |         v0 = a1 | v0;
                                         |         if (a0 == 0) {
    0x000010a4 movn v0, v1, a0           |             v0 = v1;
                                         |         }
                                         |         if (a0 == 0) {
    0x000010a8 movn v1, zero, a0         |             v1 = 0;
                                         |         }
    0x000010ac lw a0, 0x44(sp)           |         a0 = *(var_44h);
    0x000010b0 addiu a1, zero, 1         |         a1 = 1;
                                         |         if (a0 == a1) {
    0x000010b4 beql a0, a1, 0x1528       |             goto label_41;
                                         |         }
    0x000010b8 lw a0, 0x38(sp)           |         a0 = *(var_38h);
    0x000010bc lw a1, 0x88(sp)           |         a1 = *(var_88h);
                                         | label_3:
    0x000010c0 sw a1, 0x20(sp)           |         *(var_20h) = a1;
    0x000010c4 sw v0, 0x18(sp)           |         *(var_18h_2) = v0;
    0x000010c8 lw a1, -0x7fdc(gp)        |         a1 = *((gp - 8183));
    0x000010cc lw v0, 0x40(sp)           |         v0 = *(var_40h);
    0x000010d0 addiu a0, zero, 1         |         a0 = 1;
    0x000010d4 lw t9, -0x7f64(gp)        |         t9 = sym.imp.__printf_chk;
    0x000010d8 sllv a0, a0, s0           |         a0 <<= s0;
    0x000010dc lw a2, 0x34(sp)           |         a2 = *(var_34h);
    0x000010e0 sw a0, 0x24(sp)           |         *(var_24h) = a0;
    0x000010e4 sw v1, 0x1c(sp)           |         *(var_1ch) = v1;
    0x000010e8 sw s3, 0x10(sp)           |         *(var_10h_2) = s3;
    0x000010ec sw v0, 0x14(sp)           |         *(var_14h_2) = v0;
    0x000010f0 addiu a1, a1, 0x3b50      |         a1 += str.File_size_of__s_is__llu___llu_block_s_of__d_bytes__n;
    0x000010f4 addiu a0, zero, 1         |         a0 = 1;
    0x000010f8 jalr t9                   |         t9 ();
    0x000010fc lw gp, 0x28(sp)           |         gp = *(var_28h);
    0x00001100 lw s1, -0x7fb0(gp)        |         s1 = *(gp);
                                         |     }
    0x00001104 lw v0, (s1)               |     v0 = *(s1);
    0x00001108 lw t9, -0x7fdc(gp)        |     t9 = *((gp - 8183));
                                         |     if (v0 == 0) {
    0x0000110c beqz v0, 0x1924           |         goto label_42;
                                         |     }
                                         | label_17:
    0x00001110 lw v0, -0x7fb4(gp)        |     v0 = *(gp);
                                         | label_18:
    0x00001114 addiu s3, sp, 0x98        |     s3 = sp + 0x98;
    0x00001118 addiu s4, sp, 0xd0        |     s4 = sp + 0xd0;
    0x0000111c sw v0, 0x3c(sp)           |     *(var_3ch) = v0;
    0x00001120 lw v0, (v0)               |     v0 = *(v0);
    0x00001124 sw zero, 0x98(sp)         |     *(var_98h) = 0;
    0x00001128 sw zero, 0xd0(sp)         |     *(var_d0h) = 0;
    0x0000112c lw s1, 0x160(sp)          |     s1 = *(var_160h);
    0x00001130 sw zero, 4(s3)            |     *((s3 + 1)) = 0;
    0x00001134 sw zero, 8(s3)            |     *((s3 + 2)) = 0;
    0x00001138 sw zero, 0xc(s3)          |     *((s3 + 3)) = 0;
    0x0000113c sw zero, 0x10(s3)         |     *((s3 + 4)) = 0;
    0x00001140 sw zero, 0x14(s3)         |     *((s3 + 5)) = 0;
    0x00001144 sw zero, 0x18(s3)         |     *((s3 + 6)) = 0;
    0x00001148 sw zero, 0x1c(s3)         |     *((s3 + 7)) = 0;
    0x0000114c sw zero, 0x20(s3)         |     *((s3 + 8)) = 0;
    0x00001150 sw zero, 0x24(s3)         |     *((s3 + 9)) = 0;
    0x00001154 sw zero, 0x28(s3)         |     *((s3 + 10)) = 0;
    0x00001158 sw zero, 0x2c(s3)         |     *((s3 + 11)) = 0;
    0x0000115c sw zero, 0x30(s3)         |     *((s3 + 12)) = 0;
    0x00001160 sw zero, 0x34(s3)         |     *((s3 + 13)) = 0;
    0x00001164 sw zero, 4(s4)            |     *((s4 + 1)) = 0;
    0x00001168 sw zero, 8(s4)            |     *((s4 + 2)) = 0;
    0x0000116c sw zero, 0xc(s4)          |     *((s4 + 3)) = 0;
    0x00001170 sw zero, 0x10(s4)         |     *((s4 + 4)) = 0;
    0x00001174 sw zero, 0x14(s4)         |     *((s4 + 5)) = 0;
    0x00001178 sw zero, 0x18(s4)         |     *((s4 + 6)) = 0;
    0x0000117c sw zero, 0x1c(s4)         |     *((s4 + 7)) = 0;
    0x00001180 sw zero, 0x20(s4)         |     *((s4 + 8)) = 0;
    0x00001184 sw zero, 0x24(s4)         |     *((s4 + 9)) = 0;
    0x00001188 sw zero, 0x28(s4)         |     *((s4 + 10)) = 0;
    0x0000118c sw zero, 0x2c(s4)         |     *((s4 + 11)) = 0;
    0x00001190 sw zero, 0x30(s4)         |     *((s4 + 12)) = 0;
    0x00001194 sw zero, 0x34(s4)         |     *((s4 + 13)) = 0;
                                         |     if (v0 != 0) {
    0x00001198 beqz v0, 0x11a4           |         
    0x0000119c addiu v0, zero, 0x1000    |         v0 = 0x1000;
    0x000011a0 sw v0, 0xc0(sp)           |         *(var_c0h) = v0;
                                         |     }
    0x000011a4 lw v0, -0x7fc8(gp)        |     v0 = *(gp);
    0x000011a8 lw v0, (v0)               |     v0 = *(v0);
    0x000011ac lw t9, -0x7f44(gp)        |     t9 = sym.imp.fsync;
                                         |     if (v0 != 0) {
    0x000011b0 bnez v0, 0x1a58           |         goto label_43;
                                         |     }
                                         | label_23:
    0x000011b4 sw s2, 0x38(sp)           |     *(var_38h) = s2;
    0x000011b8 sw zero, 0x90(sp)         |     *(var_90h) = 0;
    0x000011bc move a3, zero             |     a3 = 0;
                                         |     if (s2 == 0) {
    0x000011c0 beqz s2, 0x153c           |         goto label_44;
                                         |     }
    0x000011c4 move v0, s1               |     v0 = s1;
                                         |     if (s1 < 0) {
    0x000011c8 bgez s1, 0x11d0           |         
    0x000011cc addiu v0, s1, 3           |         v0 = s1 + 3;
                                         |     }
    0x000011d0 sra v1, v0, 2             |     v1 = v0 >> 2;
    0x000011d4 mul a2, v1, v1            |     __asm ("mul a2, v1, v1");
    0x000011d8 mult v1, v1               |     __asm ("mult v1, v1");
    0x000011dc mflo a0                   |     __asm ("mflo a0");
    0x000011e0 mfhi a1                   |     __asm ("mfhi a1");
    0x000011e4 sra v0, v0, 0x1f          |     v0 >>= 0x1f;
    0x000011e8 sw v1, 0x44(sp)           |     *(var_44h) = v1;
    0x000011ec move s5, zero             |     s5 = 0;
    0x000011f0 mult v0, a0               |     __asm ("mult v0, a0");
    0x000011f4 madd v1, a1               |     __asm ("madd v1, a1");
    0x000011f8 mflo v0                   |     __asm ("mflo v0");
    0x000011fc multu a0, v1              |     __asm ("multu a0, v1");
    0x00001200 mfhi a1                   |     __asm ("mfhi a1");
    0x00001204 mflo a0                   |     __asm ("mflo a0");
    0x00001208 lw v1, -0x7fdc(gp)        |     v1 = *((gp - 8183));
    0x0000120c sw s4, 0x4c(sp)           |     *(var_4ch) = s4;
    0x00001210 sw v1, 0x74(sp)           |     *(var_74h) = v1;
    0x00001214 addu v0, v0, a1           |     v0 += a1;
    0x00001218 addiu v1, zero, -0xc      |     v1 = -0xc;
    0x0000121c subu v1, v1, a2           |     __asm ("subu v1, v1, a2");
    0x00001220 sw v0, 0x5c(sp)           |     *(var_5ch) = v0;
    0x00001224 move s4, s5               |     s4 = s5;
    0x00001228 move v0, zero             |     v0 = 0;
    0x0000122c lw s5, 0x50(sp)           |     s5 = *(var_50h);
    0x00001230 sw s0, 0x70(sp)           |     *(var_70h) = s0;
    0x00001234 sw a2, 0x68(sp)           |     *(var_68h) = a2;
    0x00001238 sw a0, 0x58(sp)           |     *(var_58h) = a0;
    0x0000123c sw v1, 0x64(sp)           |     *(var_64h) = v1;
    0x00001240 sw zero, 0x40(sp)         |     *(var_40h) = 0;
    0x00001244 move s1, zero             |     s1 = 0;
    0x00001248 move fp, zero             |     fp = 0;
    0x0000124c move s2, zero             |     s2 = 0;
    0x00001250 addiu s6, sp, 0x94        |     s6 = sp + 0x94;
    0x00001254 move s0, v0               |     s0 = v0;
                                         | label_2:
    0x00001258 lw v0, 0x30(sp)           |     v0 = *(var_30h);
    0x0000125c lw t9, -0x7f24(gp)        |     t9 = sym.imp.ioctl;
                                         |     if (v0 != 0) {
    0x00001260 beqz v0, 0x12e4           |         
    0x00001264 lui a1, 0x2000            |         a1 = 0x20000000;
                                         |         if (s2 == 0) {
    0x00001268 beqz s2, 0x12e8           |             goto label_45;
                                         |         }
    0x0000126c lw v1, 0x44(sp)           |         v1 = *(var_44h);
    0x00001270 addiu v0, fp, -0xc        |         v0 = fp + -0xc;
    0x00001274 divu zero, v0, v1         |         __asm ("divu zero, v0, v1");
    0x00001278 teq v1, zero, 7           |         __asm ("teq v1, zero, 7");
    0x0000127c mfhi v0                   |         __asm ("mfhi v0");
                                         |         if (v0 != 0) {
    0x00001280 beql v0, zero, 0x1288     |             
    0x00001284 addiu s2, s2, 1           |             s2++;
                                         |         }
    0x00001288 lw v0, 0x44(sp)           |         v0 = *(var_44h);
    0x0000128c lw v1, 0x68(sp)           |         v1 = *(var_68h);
    0x00001290 subu v0, fp, v0           |         __asm ("subu v0, fp, v0");
    0x00001294 addiu v0, v0, -0xc        |         v0 += -0xc;
    0x00001298 divu zero, v0, v1         |         __asm ("divu zero, v0, v1");
    0x0000129c teq v1, zero, 7           |         __asm ("teq v1, zero, 7");
    0x000012a0 mfhi v0                   |         __asm ("mfhi v0");
                                         |         if (v0 != 0) {
    0x000012a4 beql v0, zero, 0x12ac     |             
    0x000012a8 addiu s2, s2, 1           |             s2++;
                                         |         }
    0x000012ac lw v0, 0x64(sp)           |         v0 = *(var_64h);
    0x000012b0 lw v1, 0x44(sp)           |         v1 = *(var_44h);
    0x000012b4 lw t9, -0x7fa4(gp)        |         t9 = *(gp);
    0x000012b8 subu a0, v0, v1           |         __asm ("subu a0, v0, v1");
    0x000012bc lw a2, 0x58(sp)           |         a2 = *(var_58h);
    0x000012c0 lw a3, 0x5c(sp)           |         a3 = *(var_5ch);
    0x000012c4 addu a0, a0, fp           |         a0 += fp;
    0x000012c8 move a1, zero             |         a1 = 0;
    0x000012cc bal 0x32b0                |         fcn_000032b0 ();
    0x000012d0 or v0, v0, v1             |         v0 |= v1;
    0x000012d4 lw gp, 0x28(sp)           |         gp = *(var_28h);
                                         |         if (v0 == 0) {
    0x000012d8 bnez v0, 0x12e0           |             
    0x000012dc addiu s2, s2, 1           |             s2++;
                                         |         }
    0x000012e0 lw t9, -0x7f24(gp)        |         t9 = sym.imp.ioctl;
                                         |     }
    0x000012e4 lui a1, 0x2000            |     a1 = 0x20000000;
                                         | label_45:
    0x000012e8 move a2, s6               |     a2 = s6;
    0x000012ec addiu a1, a1, 1           |     a1++;
    0x000012f0 move a0, s7               |     a0 = s7;
    0x000012f4 sw fp, 0x94(sp)           |     *(var_94h) = fp;
    0x000012f8 jalr t9                   |     t9 ();
    0x000012fc lw gp, 0x28(sp)           |     gp = *(var_28h);
                                         |     if (v0 < 0) {
    0x00001300 bltz v0, 0x15d0           |         goto label_46;
                                         |     }
    0x00001304 lw t5, 0x94(sp)           |     t5 = *(var_94h);
    0x00001308 lw a1, 0x90(sp)           |     a1 = *(var_90h);
                                         |     if (t5 == 0) {
    0x0000130c beqz t5, 0x15e8           |         goto label_47;
                                         |     }
    0x00001310 lw v0, 0x3c(sp)           |     v0 = *(var_3ch);
                                         |     if (a1 == 0) {
    0x00001314 beqz a1, 0x15f4           |         goto label_48;
                                         |     }
    0x00001318 addiu s2, s2, 1           |     s2++;
    0x0000131c lw v0, 0xa8(sp)           |     v0 = *(var_a8h);
                                         |     if (s2 == t5) {
    0x00001320 beq s2, t5, 0x17d8        |         goto label_49;
                                         |     }
                                         | label_11:
    0x00001324 lw v0, 0xe0(sp)           |     v0 = *(var_e0h);
                                         | label_12:
    0x00001328 lw v1, 0xe4(sp)           |     v1 = *(var_e4h);
    0x0000132c or v0, v0, v1             |     v0 |= v1;
    0x00001330 lw v0, 0x3c(sp)           |     v0 = *(var_3ch);
                                         |     if (v0 != 0) {
    0x00001334 beqz v0, 0x1398           |         
    0x00001338 lw v0, 0xd8(sp)           |         v0 = *(var_d8h);
    0x0000133c lw v1, 0x98(sp)           |         v1 = *(var_98h);
    0x00001340 lw a2, 0x9c(sp)           |         a2 = *(var_9ch);
    0x00001344 lw a0, 0xdc(sp)           |         a0 = *(var_dch);
    0x00001348 addu v1, v0, v1           |         v1 = v0 + v1;
    0x0000134c lw s0, 0xd0(sp)           |         s0 = *(var_d0h);
    0x00001350 addu a0, a0, a2           |         a0 += a2;
    0x00001354 sltu v0, v1, v0           |         v0 = (v1 < v0) ? 1 : 0;
    0x00001358 lw a2, 0xd4(sp)           |         a2 = *(var_d4h);
    0x0000135c addu v0, v0, a0           |         v0 += a0;
    0x00001360 subu s0, v1, s0           |         __asm ("subu s0, v1, s0");
    0x00001364 sltu v1, v1, s0           |         v1 = (v1 < s0) ? 1 : 0;
    0x00001368 subu v0, v0, a2           |         __asm ("subu v0, v0, a2");
    0x0000136c lw a0, 0xa0(sp)           |         a0 = *(var_a0h);
    0x00001370 subu v0, v0, v1           |         __asm ("subu v0, v0, v1");
    0x00001374 sw v0, 0x40(sp)           |         *(var_40h) = v0;
                                         |         if (a0 == s0) {
    0x00001378 bne a0, s0, 0x1394        |             
    0x0000137c lw v1, 0x40(sp)           |             v1 = *(var_40h);
    0x00001380 lw v0, 0xa4(sp)           |             v0 = *(var_a4h);
    0x00001384 xor v0, v0, v1            |             v0 ^= v1;
                                         |             if (v0 != 0) {
    0x00001388 movz v1, zero, v0         |                 v1 = 0;
                                         |             }
                                         |             if (v0 != 0) {
    0x0000138c movz s0, zero, v0         |                 s0 = 0;
                                         |             }
    0x00001390 sw v1, 0x40(sp)           |             *(var_40h) = v1;
                                         |         }
    0x00001394 lw v0, 0x3c(sp)           |         v0 = *(var_3ch);
                                         |     }
    0x00001398 lw v0, (v0)               |     v0 = *(v0);
    0x0000139c addiu v0, sp, 0x140       |     v0 = sp + 0x140;
                                         |     if (v0 != 0) {
    0x000013a0 bnez v0, 0x1630           |         goto label_50;
                                         |     }
                                         | label_6:
    0x000013a4 lw s2, 0x160(sp)          |     s2 = *(var_160h);
                                         | label_5:
    0x000013a8 lw v0, (s5)               |     v0 = *(s5);
    0x000013ac move a0, s2               |     a0 = s2;
    0x000013b0 sra t2, s2, 0x1f          |     t2 = s2 >> 0x1f;
                                         |     if (v0 != 0) {
    0x000013b4 beqz v0, 0x13c8           |         
    0x000013b8 lw v0, 0x40(sp)           |         v0 = *(var_40h);
    0x000013bc or v0, s0, v0             |         v0 = s0 | v0;
    0x000013c0 lw t9, -0x7fac(gp)        |         t9 = *(gp);
                                         |         if (v0 != 0) {
    0x000013c4 bnez v0, 0x186c           |             goto label_51;
                                         |         }
                                         |     }
                                         | label_16:
    0x000013c8 lw v1, 0x4c(sp)           |     v1 = *(var_4ch);
    0x000013cc move v0, s3               |     v0 = s3;
    0x000013d0 addiu t1, sp, 0xc8        |     t1 = sp + 0xc8;
                                         |     do {
    0x000013d4 lw t0, (v0)               |         t0 = *(v0);
    0x000013d8 lw a3, 4(v0)              |         a3 = *((v0 + 1));
    0x000013dc lw a2, 8(v0)              |         a2 = *((v0 + 2));
    0x000013e0 lw a1, 0xc(v0)            |         a1 = *((v0 + 3));
    0x000013e4 addiu v0, v0, 0x10        |         v0 += 0x10;
    0x000013e8 sw t0, (v1)               |         *(v1) = t0;
    0x000013ec sw a3, 4(v1)              |         *((v1 + 1)) = a3;
    0x000013f0 sw a2, 8(v1)              |         *((v1 + 2)) = a2;
    0x000013f4 sw a1, 0xc(v1)            |         *((v1 + 3)) = a1;
    0x000013f8 addiu v1, v1, 0x10        |         v1 += 0x10;
    0x000013fc bne v0, t1, 0x13d4        |         
                                         |     } while (v0 != t1);
    0x00001400 lw a2, (v0)               |     a2 = *(v0);
    0x00001404 lw v0, 4(v0)              |     v0 = *((v0 + 1));
    0x00001408 mul a1, s2, t5            |     __asm ("mul a1, s2, t5");
    0x0000140c sw a2, (v1)               |     *(v1) = a2;
    0x00001410 sw v0, 4(v1)              |     *((v1 + 1)) = v0;
    0x00001414 lw v0, 0x90(sp)           |     v0 = *(var_90h);
    0x00001418 sw zero, 0xa4(sp)         |     *(var_a4h) = 0;
    0x0000141c addiu v0, v0, 1           |     v0++;
    0x00001420 sw v0, 0x90(sp)           |     *(var_90h) = v0;
    0x00001424 sw a1, 0xa0(sp)           |     *(var_a0h) = a1;
    0x00001428 sw s4, 0x98(sp)           |     *(var_98h) = s4;
    0x0000142c sw s1, 0x9c(sp)           |     *(var_9ch) = s1;
    0x00001430 move v0, t2               |     v0 = t2;
                                         | label_13:
    0x00001434 sw s2, 0xa8(sp)           |     *(var_a8h) = s2;
    0x00001438 sw v0, 0xac(sp)           |     *(var_ach) = v0;
    0x0000143c move s2, t5               |     s2 = t5;
                                         | label_4:
    0x00001440 addu v0, s4, a0           |     v0 = s4 + a0;
    0x00001444 sltu v1, v0, s4           |     v1 = (v0 < s4) ? 1 : 0;
    0x00001448 move s4, v0               |     s4 = v0;
    0x0000144c lw v0, 0x38(sp)           |     v0 = *(var_38h);
    0x00001450 addu s1, s1, t2           |     s1 += t2;
    0x00001454 addiu fp, fp, 1           |     fp++;
    0x00001458 addu s1, v1, s1           |     s1 = v1 + s1;
                                         |     if (v0 != fp) {
    0x0000145c bne v0, fp, 0x1258        |         goto label_2;
                                         |     }
    0x00001460 lw v0, 0x3c(sp)           |     v0 = *(var_3ch);
    0x00001464 move a2, s0               |     a2 = s0;
    0x00001468 lw a3, 0x90(sp)           |     a3 = *(var_90h);
    0x0000146c lw v0, (v0)               |     v0 = *(v0);
    0x00001470 lw s0, 0x70(sp)           |     s0 = *(var_70h);
                                         |     if (v0 == 0) {
    0x00001474 beqz v0, 0x153c           |         goto label_44;
                                         |     }
    0x00001478 lw v0, 0xe0(sp)           |     v0 = *(var_e0h);
                                         |     if (a3 == 0) {
    0x0000147c beqz a3, 0x153c           |         goto label_44;
                                         |     }
    0x00001480 lw v1, 0xe4(sp)           |     v1 = *(var_e4h);
    0x00001484 or v0, v0, v1             |     v0 |= v1;
    0x00001488 addiu a1, a3, -1          |     a1 = a3 + -1;
                                         |     if (v0 != 0) {
    0x0000148c beqz v0, 0x14fc           |         
    0x00001490 lw v0, 0xd8(sp)           |         v0 = *(var_d8h);
    0x00001494 lw v1, 0x98(sp)           |         v1 = *(var_98h);
    0x00001498 lw a1, 0x9c(sp)           |         a1 = *(var_9ch);
    0x0000149c lw a0, 0xdc(sp)           |         a0 = *(var_dch);
    0x000014a0 addu v1, v0, v1           |         v1 = v0 + v1;
    0x000014a4 lw fp, 0xd0(sp)           |         fp = *(var_d0h);
    0x000014a8 addu a0, a0, a1           |         a0 += a1;
    0x000014ac sltu v0, v1, v0           |         v0 = (v1 < v0) ? 1 : 0;
    0x000014b0 lw a1, 0xd4(sp)           |         a1 = *(var_d4h);
    0x000014b4 subu fp, v1, fp           |         __asm ("subu fp, v1, fp");
    0x000014b8 addu v0, v0, a0           |         v0 += a0;
    0x000014bc sltu v1, v1, fp           |         v1 = (v1 < fp) ? 1 : 0;
    0x000014c0 subu v0, v0, a1           |         __asm ("subu v0, v0, a1");
    0x000014c4 lw a0, 0xa0(sp)           |         a0 = *(var_a0h);
    0x000014c8 subu v0, v0, v1           |         __asm ("subu v0, v0, v1");
    0x000014cc move a2, fp               |         a2 = fp;
    0x000014d0 sw v0, 0x40(sp)           |         *(var_40h) = v0;
                                         |         if (a0 == fp) {
    0x000014d4 bne a0, fp, 0x14f8        |             
    0x000014d8 lw v1, 0x40(sp)           |             v1 = *(var_40h);
    0x000014dc lw v0, 0xa4(sp)           |             v0 = *(var_a4h);
    0x000014e0 move a0, fp               |             a0 = fp;
    0x000014e4 xor v0, v0, v1            |             v0 ^= v1;
                                         |             if (v0 != 0) {
    0x000014e8 movz a0, zero, v0         |                 a0 = 0;
                                         |             }
                                         |             if (v0 != 0) {
    0x000014ec movz v1, zero, v0         |                 v1 = 0;
                                         |             }
    0x000014f0 move a2, a0               |             a2 = a0;
    0x000014f4 sw v1, 0x40(sp)           |             *(var_40h) = v1;
                                         |         }
    0x000014f8 addiu a1, a3, -1          |         a1 = a3 + -1;
                                         |     }
    0x000014fc addiu v0, sp, 0x140       |     v0 = sp + 0x140;
    0x00001500 lw a3, 0x40(sp)           |     a3 = *(var_40h);
    0x00001504 lw t9, 0x80(sp)           |     t9 = *(var_80h);
    0x00001508 sw v0, 0x14(sp)           |     *(var_14h_2) = v0;
    0x0000150c sw s0, 0x10(sp)           |     *(var_10h_2) = s0;
    0x00001510 move a0, s3               |     a0 = s3;
    0x00001514 jalr t9                   |     t9 ();
    0x00001518 move s1, zero             |     s1 = 0;
    0x0000151c lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x00001520 lw a3, 0x90(sp)           |     a3 = *(var_90h);
    0x00001524 b 0x1540                  |     goto label_25;
                                         | label_41:
    0x00001528 lw a1, 0x88(sp)           |     a1 = *(var_88h);
                                         |     if (a0 == 0) {
    0x0000152c bnel a0, zero, 0x10c0     |         goto label_3;
                                         |     }
    0x00001530 lw a1, -0x7fdc(gp)        |     a1 = *((gp - 8183));
    0x00001534 addiu a1, a1, 0x3bb4      |     a1 += 0x3bb4;
    0x00001538 b 0x10c0                  |     goto label_3;
                                         | label_44:
    0x0000153c move s1, zero             |     s1 = 0;
                                         | label_25:
    0x00001540 lw v0, 0x6c(sp)           |     v0 = *(var_6ch);
    0x00001544 div zero, s1, v0          |     __asm ("div zero, s1, v0");
    0x00001548 teq v0, zero, 7           |     __asm ("teq v0, zero, 7");
    0x0000154c move s1, zero             |     s1 = 0;
    0x00001550 mflo v0                   |     __asm ("mflo v0");
    0x00001554 addiu s3, v0, 1           |     s3 = v0 + 1;
                                         | label_19:
    0x00001558 addiu v0, zero, 1         |     v0 = 1;
    0x0000155c lw t9, -0x7f64(gp)        |     t9 = sym.imp.__printf_chk;
    0x00001560 lw a2, 0x34(sp)           |     a2 = *(var_34h);
                                         |     if (a3 == v0) {
    0x00001564 beq a3, v0, 0x1a10        |         goto label_52;
                                         |     }
    0x00001568 lw a1, -0x7fdc(gp)        |     a1 = *((gp - 8183));
    0x0000156c addiu a0, zero, 1         |     a0 = 1;
    0x00001570 addiu a1, a1, 0x3c24      |     a1 += str._s:__d_extents_found;
    0x00001574 jalr t9                   |     t9 ();
    0x00001578 lw gp, 0x28(sp)           |     gp = *(var_28h);
                                         | label_21:
    0x0000157c lw v0, 0x30(sp)           |     v0 = *(var_30h);
    0x00001580 lw v0, -0x7f60(gp)        |     v0 = *((gp - 8152));
                                         |     if (v0 == 0) {
    0x00001584 beqz v0, 0x1664           |         goto label_53;
                                         |     }
    0x00001588 lw t9, -0x7f6c(gp)        |     t9 = sym.imp.fputc;
                                         |     if (s3 == 0) {
    0x0000158c beqz s3, 0x1668           |         goto label_54;
                                         |     }
    0x00001590 lw v0, 0x90(sp)           |     v0 = *(var_90h);
    0x00001594 slt v0, s3, v0            |     v0 = (s3 < v0) ? 1 : 0;
    0x00001598 lw v0, -0x7f60(gp)        |     v0 = *((gp - 8152));
                                         |     if (v0 == 0) {
    0x0000159c beqz v0, 0x1664           |         goto label_53;
                                         |     }
    0x000015a0 slti v0, s3, 2            |     v0 = (s3 < 2) ? 1 : 0;
    0x000015a4 lw a3, -0x7fdc(gp)        |     a3 = *((gp - 8183));
                                         |     if (v0 != 0) {
    0x000015a8 bnez v0, 0x1aec           |         goto label_55;
                                         |     }
    0x000015ac lw a3, 0x88(sp)           |     a3 = *(var_88h);
                                         | label_26:
    0x000015b0 lw a1, -0x7fdc(gp)        |     a1 = *((gp - 8183));
    0x000015b4 lw t9, -0x7f64(gp)        |     t9 = sym.imp.__printf_chk;
    0x000015b8 move a2, s3               |     a2 = s3;
    0x000015bc addiu a1, a1, 0x3c3c      |     a1 += str.__perfection_would_be__d_extent_s_n;
    0x000015c0 addiu a0, zero, 1         |     a0 = 1;
    0x000015c4 jalr t9                   |     t9 ();
    0x000015c8 lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x000015cc b 0x1678                  |     goto label_22;
                                         | label_46:
    0x000015d0 lw t9, -0x7f58(gp)        |     t9 = sym.imp.__errno_location;
    0x000015d4 jalr t9                   |     t9 ();
    0x000015d8 nop                       |     
    0x000015dc lw v0, (v0)               |     v0 = *(v0);
    0x000015e0 lw gp, 0x28(sp)           |     gp = *(var_28h);
                                         |     if (v0 > 0) {
    0x000015e4 bgtz v0, 0x16f0           |         goto label_56;
                                         |     }
                                         | label_47:
    0x000015e8 lw a0, 0x160(sp)          |     a0 = *(var_160h);
    0x000015ec sra t2, a0, 0x1f          |     t2 = a0 >> 0x1f;
    0x000015f0 b 0x1440                  |     goto label_4;
                                         | label_48:
    0x000015f4 lw v0, (v0)               |     v0 = *(v0);
    0x000015f8 lw s2, 0x160(sp)          |     s2 = *(var_160h);
                                         |     if (v0 == 0) {
    0x000015fc beqz v0, 0x13a8           |         goto label_5;
                                         |     }
    0x00001600 lw t9, 0x84(sp)           |     t9 = *(var_84h);
    0x00001604 sw t5, 0x50(sp)           |     *(var_50h) = t5;
    0x00001608 jalr t9                   |     t9 ();
    0x0000160c lw v0, 0x3c(sp)           |     v0 = *(var_3ch);
    0x00001610 lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x00001614 lw v0, (v0)               |     v0 = *(v0);
    0x00001618 lw t5, 0x50(sp)           |     t5 = *(var_50h);
                                         |     if (v0 == 0) {
    0x0000161c beqz v0, 0x13a4           |         goto label_6;
                                         |     }
    0x00001620 lw a1, 0x90(sp)           |     a1 = *(var_90h);
    0x00001624 lw s2, 0x160(sp)          |     s2 = *(var_160h);
                                         |     if (a1 == 0) {
    0x00001628 beqz a1, 0x13a8           |         goto label_5;
                                         |     }
    0x0000162c addiu v0, sp, 0x140       |     v0 = sp + 0x140;
                                         | label_50:
    0x00001630 sw v0, 0x14(sp)           |     *(var_14h_2) = v0;
    0x00001634 lw v0, 0x70(sp)           |     v0 = *(var_70h);
    0x00001638 lw a3, 0x40(sp)           |     a3 = *(var_40h);
    0x0000163c lw t9, 0x80(sp)           |     t9 = *(var_80h);
    0x00001640 sw t5, 0x50(sp)           |     *(var_50h) = t5;
    0x00001644 sw v0, 0x10(sp)           |     *(var_10h_2) = v0;
    0x00001648 move a2, s0               |     a2 = s0;
    0x0000164c addiu a1, a1, -1          |     a1 += -1;
    0x00001650 move a0, s3               |     a0 = s3;
    0x00001654 jalr t9                   |     t9 ();
    0x00001658 lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x0000165c lw t5, 0x50(sp)           |     t5 = *(var_50h);
    0x00001660 b 0x13a4                  |     goto label_6;
                                         | label_53:
    0x00001664 lw t9, -0x7f6c(gp)        |     t9 = sym.imp.fputc;
                                         | label_54:
    0x00001668 addiu a0, zero, 0xa       |     a0 = 0xa;
    0x0000166c lw a1, (v0)               |     a1 = *(v0);
    0x00001670 jalr t9                   |     t9 ();
    0x00001674 lw gp, 0x28(sp)           |     gp = *(var_28h);
                                         | label_22:
    0x00001678 lw t9, -0x7f7c(gp)        |     t9 = sym.imp.close;
    0x0000167c move a0, s7               |     a0 = s7;
    0x00001680 jalr t9                   |     t9 ();
    0x00001684 lw gp, 0x28(sp)           |     gp = *(var_28h);
                                         | label_15:
    0x00001688 lw v1, 0x60(sp)           |     v1 = *(var_60h);
                                         |     if (s1 < 0) {
    0x0000168c bltz s1, 0x1748           |         goto label_57;
                                         |     }
                                         | label_8:
    0x00001690 lw v0, 0x48(sp)           |     v0 = *(var_48h);
    0x00001694 addiu v0, v0, 4           |     v0 += 4;
    0x00001698 sw v0, 0x48(sp)           |     *(var_48h) = v0;
    0x0000169c lw v0, (v0)               |     v0 = *(v0);
    0x000016a0 sw v0, 0x34(sp)           |     *(var_34h) = v0;
                                         |     if (v0 != 0) {
    0x000016a4 bnez v0, 0xe40            |         goto label_7;
                                         |     }
                                         | label_30:
    0x000016a8 lw v0, 0x8c(sp)           |     v0 = *(var_8ch);
    0x000016ac lw a0, 0x1ac(sp)          |     a0 = *(var_1ach);
    0x000016b0 lw v1, (v0)               |     v1 = *(v0);
    0x000016b4 lw v0, 0x60(sp)           |     v0 = *(var_60h);
    0x000016b8 negu v0, v0               |     __asm ("negu v0, v0");
                                         |     if (a0 != v1) {
    0x000016bc bne a0, v1, 0x1ba8        |         goto label_58;
                                         |     }
    0x000016c0 lw ra, 0x1d4(sp)          |     ra = *(var_1d4h);
    0x000016c4 lw fp, 0x1d0(sp)          |     fp = *(var_1d0h);
    0x000016c8 lw s7, 0x1cc(sp)          |     s7 = *(var_1cch);
    0x000016cc lw s6, 0x1c8(sp)          |     s6 = *(var_1c8h);
    0x000016d0 lw s5, 0x1c4(sp)          |     s5 = *(var_1c4h);
    0x000016d4 lw s4, 0x1c0(sp)          |     s4 = *(var_1c0h);
    0x000016d8 lw s3, 0x1bc(sp)          |     s3 = *(var_1bch);
    0x000016dc lw s2, 0x1b8(sp)          |     s2 = *(var_1b8h);
    0x000016e0 lw s1, 0x1b4(sp)          |     s1 = *(var_1b4h);
    0x000016e4 lw s0, 0x1b0(sp)          |     s0 = *(var_1b0h);
    0x000016e8 addiu sp, sp, 0x1d8       |     
    0x000016ec jr ra                     |     return v0;
                                         | label_56:
    0x000016f0 negu s1, v0               |     __asm ("negu s1, v0");
                                         | label_24:
    0x000016f4 lw v1, -0x7f14(gp)        |     v1 = *((gp - 8133));
    0x000016f8 addiu v0, zero, -0x16     |     v0 = -0x16;
    0x000016fc lw s0, (v1)               |     s0 = *(v1);
                                         |     if (s1 == v0) {
    0x00001700 beq s1, v0, 0x1af4        |         goto label_59;
                                         |     }
    0x00001704 addiu v0, zero, -0x19     |     v0 = -0x19;
    0x00001708 addiu v0, zero, -1        |     v0 = -1;
                                         |     if (s1 == v0) {
    0x0000170c beq s1, v0, 0x1af4        |         goto label_59;
                                         |     }
    0x00001710 lw a2, -0x7fdc(gp)        |     a2 = *((gp - 8183));
                                         |     if (s1 != v0) {
    0x00001714 bne s1, v0, 0x1b60        |         goto label_60;
                                         |     }
    0x00001718 lw t9, -0x7f70(gp)        |     t9 = sym.imp.__fprintf_chk
    0x0000171c lw a3, 0x34(sp)           |     a3 = *(var_34h);
    0x00001720 addiu a2, a2, 0x3bd0      |     a2 += str._s:_FIBMAP_requires_root_privileges_n;
    0x00001724 addiu a1, zero, 1         |     a1 = 1;
    0x00001728 move a0, s0               |     a0 = s0;
    0x0000172c jalr t9                   |     t9 ();
    0x00001730 lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x00001734 lw t9, -0x7f7c(gp)        |     t9 = sym.imp.close;
    0x00001738 move a0, s7               |     a0 = s7;
    0x0000173c jalr t9                   |     t9 ();
    0x00001740 lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x00001744 lw v1, 0x60(sp)           |     v1 = *(var_60h);
                                         | label_57:
    0x00001748 move v0, v1               |     v0 = v1;
                                         |     if (v1 != 0) {
    0x0000174c movz v0, s1, v1           |         v0 = s1;
                                         |     }
    0x00001750 sw v0, 0x60(sp)           |     *(var_60h) = v0;
    0x00001754 b 0x1690                  |     goto label_8;
                                         | label_33:
    0x00001758 lw t9, -0x7f5c(gp)        |     t9 = sym.imp.fstatfs;
    0x0000175c addiu a1, s0, 0x4164      |     a1 = s0 + 0x4164;
    0x00001760 move a0, s7               |     a0 = s7;
    0x00001764 jalr t9                   |     t9 ();
    0x00001768 lw gp, 0x28(sp)           |     gp = *(var_28h);
                                         |     if (v0 < 0) {
    0x0000176c bltz v0, 0x1a8c           |         goto label_61;
                                         |     }
    0x00001770 lw s3, -0x7fbc(gp)        |     s3 = *((gp - 8175));
    0x00001774 lw t9, -0x7f24(gp)        |     t9 = sym.imp.ioctl;
    0x00001778 lui a1, 0x2000            |     a1 = 0x20000000;
    0x0000177c addiu a2, s3, 0x4160      |     a2 = s3 + 0x4160;
    0x00001780 addiu a1, a1, 2           |     a1 += 2;
    0x00001784 move a0, s7               |     a0 = s7;
    0x00001788 jalr t9                   |     t9 ();
    0x0000178c addiu s4, s0, 0x4164      |     s4 = s0 + 0x4164;
    0x00001790 lw gp, 0x28(sp)           |     gp = *(var_28h);
                                         |     if (v0 < 0) {
    0x00001794 bgez v0, 0x17a0           |         
    0x00001798 lw v0, 4(s4)              |         v0 = *((s4 + 1));
    0x0000179c sw v0, 0x4160(s3)         |         *((s3 + 4184)) = v0;
                                         |     }
    0x000017a0 lw v0, -0x7fc0(gp)        |     v0 = *(gp);
    0x000017a4 lw a2, 0x4164(s0)         |     a2 = *((s0 + 4185));
    0x000017a8 sw v0, 0x50(sp)           |     *(var_50h) = v0;
    0x000017ac lw v0, (v0)               |     v0 = *(v0);
    0x000017b0 lui v0, 0xffff            |     v0 = 0xffff0000;
                                         |     if (v0 == 0) {
    0x000017b4 beqz v0, 0xebc            |         goto label_9;
                                         |     }
    0x000017b8 lw a1, -0x7fdc(gp)        |     a1 = *((gp - 8183));
    0x000017bc lw t9, -0x7f64(gp)        |     t9 = sym.imp.__printf_chk;
    0x000017c0 addiu a1, a1, 0x3b04      |     a1 += str.Filesystem_type_is:__lx_n;
    0x000017c4 addiu a0, zero, 1         |     a0 = 1;
    0x000017c8 jalr t9                   |     t9 ();
    0x000017cc lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x000017d0 lw a2, 0x4164(s0)         |     a2 = *((s0 + 4185));
    0x000017d4 b 0xeb8                   |     goto label_10;
                                         | label_49:
    0x000017d8 lw v1, 0x98(sp)           |     v1 = *(var_98h);
    0x000017dc lw a3, 0xac(sp)           |     a3 = *(var_ach);
    0x000017e0 lw a0, 0x9c(sp)           |     a0 = *(var_9ch);
    0x000017e4 addu v1, v0, v1           |     v1 = v0 + v1;
    0x000017e8 sltu a2, v1, v0           |     a2 = (v1 < v0) ? 1 : 0;
    0x000017ec addu a0, a3, a0           |     a0 = a3 + a0;
    0x000017f0 addu a0, a2, a0           |     a0 = a2 + a0;
                                         |     if (v1 != s4) {
    0x000017f4 bne v1, s4, 0x1324        |         goto label_11;
                                         |     }
    0x000017f8 lw v0, 0xe0(sp)           |     v0 = *(var_e0h);
                                         |     if (a0 == s1) {
    0x000017fc bnel a0, s1, 0x1328       |         goto label_12;
                                         |     }
    0x00001800 lw a0, 0x160(sp)          |     a0 = *(var_160h);
    0x00001804 addu s2, v0, a0           |     s2 = v0 + a0;
    0x00001808 sra t2, a0, 0x1f          |     t2 = a0 >> 0x1f;
    0x0000180c sltu v0, s2, v0           |     v0 = (s2 < v0) ? 1 : 0;
    0x00001810 addu a3, a3, t2           |     a3 += t2;
    0x00001814 addu v0, v0, a3           |     v0 += a3;
    0x00001818 b 0x1434                  |     goto label_13;
                                         | label_37:
    0x0000181c sra v0, s1, 1             |     v0 = s1 >> 1;
    0x00001820 lw t9, -0x7fac(gp)        |     t9 = *(gp);
                                         |     if (v0 == 0) {
    0x00001824 beqz v0, 0xfe8            |         goto label_14;
                                         |     }
                                         |     do {
    0x00001828 sra v0, v0, 1             |         v0 >>= 1;
    0x0000182c addiu s0, s0, 1           |         s0++;
    0x00001830 bnez v0, 0x1828           |         
                                         |     } while (v0 != 0);
    0x00001834 lw t9, -0x7fac(gp)        |     t9 = *(gp);
    0x00001838 b 0xfe8                   |     goto label_14;
                                         | label_31:
    0x0000183c lw t9, -0x7f58(gp)        |     t9 = sym.imp.__errno_location;
    0x00001840 jalr t9                   |     t9 ();
    0x00001844 nop                       |     
    0x00001848 lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x0000184c lw s1, (v0)               |     s1 = *(v0);
    0x00001850 lw a0, -0x7fdc(gp)        |     a0 = *((gp - 8183));
    0x00001854 lw t9, -0x7f28(gp)        |     t9 = sym.imp.perror;
    0x00001858 addiu a0, a0, 0x3aec      |     a0 += str.open;
    0x0000185c jalr t9                   |     t9 ();
    0x00001860 negu s1, s1               |     __asm ("negu s1, s1");
    0x00001864 lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x00001868 b 0x1688                  |     goto label_15;
                                         | label_51:
    0x0000186c lw a0, 0x98(sp)           |     a0 = *(var_98h);
    0x00001870 lw a1, 0x9c(sp)           |     a1 = *(var_9ch);
    0x00001874 sw t5, 0x7c(sp)           |     *(var_7ch) = t5;
    0x00001878 move a2, s2               |     a2 = s2;
    0x0000187c move a3, t2               |     a3 = t2;
    0x00001880 sw t2, 0x50(sp)           |     *(var_50h) = t2;
    0x00001884 bal 0x2e50                |     fcn_00002e50 ();
    0x00001888 lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x0000188c lw t2, 0x50(sp)           |     t2 = *(var_50h);
    0x00001890 lw a1, 0x40(sp)           |     a1 = *(var_40h);
    0x00001894 lw t9, -0x7fac(gp)        |     t9 = *(gp);
    0x00001898 move a2, s2               |     a2 = s2;
    0x0000189c move a3, t2               |     a3 = t2;
    0x000018a0 sw t2, 0x78(sp)           |     *(var_78h) = t2;
    0x000018a4 move a0, s0               |     a0 = s0;
    0x000018a8 sw v0, 0x50(sp)           |     *(var_50h) = v0;
    0x000018ac sw v1, 0x54(sp)           |     *(var_54h) = v1;
    0x000018b0 bal 0x2e50                |     fcn_00002e50 ();
    0x000018b4 lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x000018b8 lw t2, 0x78(sp)           |     t2 = *(var_78h);
    0x000018bc lw a0, 0xa0(sp)           |     a0 = *(var_a0h);
    0x000018c0 lw t9, -0x7fac(gp)        |     t9 = *(gp);
    0x000018c4 lw a1, 0xa4(sp)           |     a1 = *(var_a4h);
    0x000018c8 move a3, t2               |     a3 = t2;
    0x000018cc move a2, s2               |     a2 = s2;
    0x000018d0 sw v0, 0x18(sp)           |     *(var_18h_2) = v0;
    0x000018d4 sw v1, 0x1c(sp)           |     *(var_1ch) = v1;
    0x000018d8 bal 0x2e50                |     fcn_00002e50 ();
    0x000018dc lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x000018e0 sw v0, 0x10(sp)           |     *(var_10h_2) = v0;
    0x000018e4 lw t0, 0x50(sp)           |     t0 = *(var_50h);
    0x000018e8 lw t1, 0x54(sp)           |     t1 = *(var_54h);
    0x000018ec lw v0, 0x74(sp)           |     v0 = *(var_74h);
    0x000018f0 lw t9, -0x7f64(gp)        |     t9 = sym.imp.__printf_chk;
    0x000018f4 addiu a0, zero, 1         |     a0 = 1;
    0x000018f8 sw v1, 0x14(sp)           |     *(var_14h_2) = v1;
    0x000018fc move a2, t0               |     a2 = t0;
    0x00001900 move a3, t1               |     a3 = t1;
    0x00001904 addiu a1, v0, 0x3b84      |     a1 = v0 + str.Discontinuity:_Block__llu_is_at__llu__was__llu__n;
    0x00001908 jalr t9                   |     t9 ();
    0x0000190c lw s2, 0x160(sp)          |     s2 = *(var_160h);
    0x00001910 lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x00001914 move a0, s2               |     a0 = s2;
    0x00001918 sra t2, s2, 0x1f          |     t2 = s2 >> 0x1f;
    0x0000191c lw t5, 0x7c(sp)           |     t5 = *(var_7ch);
    0x00001920 b 0x13c8                  |     goto label_16;
                                         | label_42:
    0x00001924 lw a3, 0x3c(sp)           |     a3 = *(var_3ch);
    0x00001928 addiu a2, sp, 0x90        |     a2 = sp + 0x90;
    0x0000192c move a1, s0               |     a1 = s0;
    0x00001930 addiu t9, t9, 0x24f4      |     t9 += fcn.000024f4;
    0x00001934 move a0, s7               |     a0 = s7;
    0x00001938 bal 0x24f4                |     fcn_000024f4 ();
    0x0000193c lw s3, (s1)               |     s3 = *(s1);
    0x00001940 lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x00001944 move s1, v0               |     s1 = v0;
                                         |     if (s3 != 0) {
    0x00001948 bnez s3, 0x1110           |         goto label_17;
                                         |     }
    0x0000194c lw v0, -0x7fb4(gp)        |     v0 = *(gp);
                                         |     if (v0 < 0) {
    0x00001950 bltz v0, 0x1114           |         goto label_18;
                                         |     }
    0x00001954 lw a3, 0x90(sp)           |     a3 = *(var_90h);
    0x00001958 b 0x1558                  |     goto label_19;
                                         | label_34:
    0x0000195c lw t9, -0x7f24(gp)        |     t9 = sym.imp.ioctl;
    0x00001960 lui a1, 0x4004            |     a1 = 0x40040000;
    0x00001964 addiu a2, sp, 0x94        |     a2 = sp + 0x94;
    0x00001968 addiu a1, a1, 0x6601      |     a1 += 0x6601;
    0x0000196c move a0, s7               |     a0 = s7;
    0x00001970 jalr t9                   |     t9 ();
    0x00001974 sw v0, 0x30(sp)           |     *(var_30h) = v0;
    0x00001978 lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x0000197c lw s1, 0x4160(s3)         |     s1 = *((s3 + 4184));
                                         |     if (v0 == 0) {
    0x00001980 bnez v0, 0x19fc           |         
    0x00001984 lw v0, 0x94(sp)           |         v0 = *(var_94h);
    0x00001988 ext v0, v0, 0x13, 1       |         __asm ("ext v0, v0, 0x13, 1");
    0x0000198c addiu v0, zero, 1         |         v0 = 1;
                                         |         if (v0 != 0) {
    0x00001990 bnez v0, 0x1a04           |             goto label_62;
                                         |         }
    0x00001994 lw s0, 0xc(s4)            |         s0 = *((s4 + 3));
    0x00001998 sll s1, s1, 3             |         s1 <<= 3;
                                         |         if (s0 != 0) {
    0x0000199c beqz s0, 0x19b4           |             
    0x000019a0 addiu s0, s0, -1          |             s0 += -1;
    0x000019a4 divu zero, s0, s1         |             __asm ("divu zero, s0, s1");
    0x000019a8 teq s1, zero, 7           |             __asm ("teq s1, zero, 7");
    0x000019ac mflo s0                   |             __asm ("mflo s0");
    0x000019b0 addiu s0, s0, 1           |             s0++;
                                         |         }
    0x000019b4 lw v0, 0x50(sp)           |         v0 = *(var_50h);
    0x000019b8 lw v0, (v0)               |         v0 = *(v0);
    0x000019bc lw v0, 0x108(sp)          |         v0 = *(var_108h);
                                         |         if (v0 == 0) {
    0x000019c0 beqz v0, 0x1b2c           |             goto label_63;
                                         |         }
    0x000019c4 lw v1, 0x41a8(s2)         |         v1 = *((s2 + 4202));
    0x000019c8 lw v1, 0x41ac(s2)         |         v1 = *((s2 + 4203));
                                         |         if (v1 == v0) {
    0x000019cc bne v1, v0, 0x19d8        |             
                                         |             if (v1 == 0) {
    0x000019d0 beql v1, zero, 0x1b30     |                 goto label_64;
                                         |             }
    0x000019d4 lw v1, 0x14(s4)           |             v1 = *((s4 + 5));
                                         |         }
    0x000019d8 lw a1, -0x7fdc(gp)        |         a1 = *((gp - 8183));
    0x000019dc lw t9, -0x7f64(gp)        |         t9 = sym.imp.__printf_chk;
    0x000019e0 move a2, s0               |         a2 = s0;
    0x000019e4 addiu a1, a1, 0x3b20      |         a1 += str.Filesystem_cylinder_groups_approximately__ld_n;
    0x000019e8 addiu a0, zero, 1         |         a0 = 1;
    0x000019ec jalr t9                   |         t9 ();
    0x000019f0 lw gp, 0x28(sp)           |         gp = *(var_28h);
    0x000019f4 lw v0, 0x108(sp)          |         v0 = *(var_108h);
    0x000019f8 b 0x1b2c                  |         goto label_63;
                                         |     }
    0x000019fc sw zero, 0x30(sp)         |     *(var_30h) = 0;
    0x00001a00 addiu v0, zero, 1         |     v0 = 1;
                                         | label_62:
    0x00001a04 sw v0, 0x6c(sp)           |     *(var_6ch) = v0;
    0x00001a08 lw v0, 0x108(sp)          |     v0 = *(var_108h);
    0x00001a0c b 0xee4                   |     goto label_20;
                                         | label_52:
    0x00001a10 lw a1, -0x7fdc(gp)        |     a1 = *((gp - 8183));
    0x00001a14 addiu a0, zero, 1         |     a0 = 1;
    0x00001a18 addiu a1, a1, 0x3c10      |     a1 += str._s:_1_extent_found;
    0x00001a1c jalr t9                   |     t9 ();
    0x00001a20 lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x00001a24 b 0x157c                  |     goto label_21;
                                         | label_32:
    0x00001a28 lw t9, -0x7f58(gp)        |     t9 = sym.imp.__errno_location;
    0x00001a2c jalr t9                   |     t9 ();
    0x00001a30 nop                       |     
    0x00001a34 lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x00001a38 lw s1, (v0)               |     s1 = *(v0);
    0x00001a3c lw a0, -0x7fdc(gp)        |     a0 = *((gp - 8183));
    0x00001a40 lw t9, -0x7f28(gp)        |     t9 = sym.imp.perror;
    0x00001a44 addiu a0, a0, 0x3af4      |     a0 += str.stat;
    0x00001a48 jalr t9                   |     t9 ();
    0x00001a4c negu s1, s1               |     __asm ("negu s1, s1");
    0x00001a50 lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x00001a54 b 0x1678                  |     goto label_22;
                                         | label_43:
    0x00001a58 move a0, s7               |     a0 = s7;
    0x00001a5c jalr t9                   |     t9 ();
    0x00001a60 lw gp, 0x28(sp)           |     gp = *(var_28h);
                                         |     if (v0 == 0) {
    0x00001a64 beqz v0, 0x11b4           |         goto label_23;
                                         |     }
    0x00001a68 lw t9, -0x7f58(gp)        |     t9 = sym.imp.__errno_location;
    0x00001a6c jalr t9                   |     t9 ();
    0x00001a70 nop                       |     
    0x00001a74 lw v0, (v0)               |     v0 = *(v0);
    0x00001a78 lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x00001a7c negu s1, v0               |     __asm ("negu s1, v0");
                                         |     if (v0 > 0) {
    0x00001a80 bgtz v0, 0x16f4           |         goto label_24;
                                         |     }
    0x00001a84 lw a3, 0x90(sp)           |     a3 = *(var_90h);
    0x00001a88 b 0x1540                  |     goto label_25;
                                         | label_61:
    0x00001a8c lw t9, -0x7f58(gp)        |     t9 = sym.imp.__errno_location;
    0x00001a90 jalr t9                   |     t9 ();
    0x00001a94 nop                       |     
    0x00001a98 lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x00001a9c lw s1, (v0)               |     s1 = *(v0);
    0x00001aa0 lw a0, -0x7fdc(gp)        |     a0 = *((gp - 8183));
    0x00001aa4 lw t9, -0x7f28(gp)        |     t9 = sym.imp.perror;
    0x00001aa8 addiu a0, a0, 0x3afc      |     a0 += str.fstatfs;
    0x00001aac jalr t9                   |     t9 ();
    0x00001ab0 negu s1, s1               |     __asm ("negu s1, s1");
    0x00001ab4 lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x00001ab8 b 0x1678                  |     goto label_22;
                                         | label_55:
    0x00001aec addiu a3, a3, 0x3bb4      |     a3 += 0x3bb4;
    0x00001af0 b 0x15b0                  |     goto label_26;
                                         | label_59:
    0x00001af4 lw a2, -0x7fdc(gp)        |     a2 = *((gp - 8183));
    0x00001af8 lw t9, -0x7f70(gp)        |     t9 = sym.imp.__fprintf_chk
    0x00001afc lw a3, 0x34(sp)           |     a3 = *(var_34h);
    0x00001b00 addiu a2, a2, 0x3bb8      |     a2 += str._s:_FIBMAP_unsupported_n;
    0x00001b04 addiu a1, zero, 1         |     a1 = 1;
    0x00001b08 move a0, s0               |     a0 = s0;
    0x00001b0c jalr t9                   |     t9 ();
    0x00001b10 lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x00001b14 b 0x1678                  |     goto label_22;
                                         | label_39:
    0x00001b18 sltiu v0, s2, 0xa         |     v0 = (s2 < 0xa) ? 1 : 0;
    0x00001b1c lw t9, -0x7fac(gp)        |     t9 = *(gp);
                                         |     if (v0 == 0) {
    0x00001b20 beqz v0, 0x1018           |         goto label_27;
                                         |     }
    0x00001b24 lw v1, -0x7fd4(gp)        |     v1 = *(gp);
    0x00001b28 b 0x1054                  |     goto label_28;
                                         | label_63:
    0x00001b2c lw v1, 0x14(s4)           |     v1 = *((s4 + 5));
                                         | label_64:
    0x00001b30 lw s1, 0x4160(s3)         |     s1 = *((s3 + 4184));
    0x00001b34 srl v1, v1, 3             |     v1 >>= 3;
    0x00001b38 divu zero, v1, s0         |     __asm ("divu zero, v1, s0");
    0x00001b3c teq s0, zero, 7           |     __asm ("teq s0, zero, 7");
    0x00001b40 sll a0, s1, 3             |     a0 = s1 << 3;
    0x00001b44 addiu a0, a0, -3          |     a0 += -3;
    0x00001b48 addiu a1, zero, 1         |     a1 = 1;
    0x00001b4c sw a1, 0x30(sp)           |     *(var_30h) = a1;
    0x00001b50 mflo v1                   |     __asm ("mflo v1");
    0x00001b54 subu v1, a0, v1           |     __asm ("subu v1, a0, v1");
    0x00001b58 sw v1, 0x6c(sp)           |     *(var_6ch) = v1;
    0x00001b5c b 0xee4                   |     goto label_20;
                                         | label_60:
    0x00001b60 lw t9, -0x7f34(gp)        |     t9 = sym.imp.strerror;
    0x00001b64 move a0, s1               |     a0 = s1;
    0x00001b68 jalr t9                   |     t9 ();
    0x00001b6c lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x00001b70 lw a3, 0x34(sp)           |     a3 = *(var_34h);
    0x00001b74 sw v0, 0x10(sp)           |     *(var_10h_2) = v0;
    0x00001b78 lw a2, -0x7fdc(gp)        |     a2 = *((gp - 8183));
    0x00001b7c lw t9, -0x7f70(gp)        |     t9 = sym.imp.__fprintf_chk
    0x00001b80 addiu a2, a2, 0x3bf8      |     a2 += str._s:_FIBMAP_error:__s;
    0x00001b84 addiu a1, zero, 1         |     a1 = 1;
    0x00001b88 move a0, s0               |     a0 = s0;
    0x00001b8c jalr t9                   |     t9 ();
    0x00001b90 lw gp, 0x28(sp)           |     gp = *(var_28h);
    0x00001b94 b 0x1678                  |     goto label_22;
                                         | label_29:
    0x00001b98 lw t9, -0x7fdc(gp)        |     t9 = *((gp - 8183));
    0x00001b9c addiu t9, t9, 0x1d30      |     t9 += fcn.00001d30;
    0x00001ba0 lw a0, (s0)               |     a0 = *(s0);
    0x00001ba4 bal 0x1d30                |     fcn_00001d30 ();
                                         | label_58:
    0x00001ba8 lw t9, -0x7f20(gp)        |     t9 = sym.imp.__stack_chk_fail;
    0x00001bac jalr t9                   |     t9 ();
    0x00001bb0 nop                       |     
    0x00001bb4 nop                       |     
    0x00001bb8 nop                       |     
    0x00001bbc nop                       |     
                                         | }

[*] Function fprintf used 6 times filefrag