[*] Binary protection state of cifsiostat
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function printf tear down of cifsiostat
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/cifsiostat @ 0x69c8 */
| #include <stdint.h>
|
; (fcn) sym.cprintf_f () | void cprintf_f () {
0x000069c8 lui gp, 2 |
0x000069cc addiu gp, gp, -0x4918 |
0x000069d0 addu gp, gp, t9 | gp += t9;
0x000069d4 lw v0, -0x7ddc(gp) | v0 = *((gp - 8055));
0x000069d8 addiu sp, sp, -0x70 |
0x000069dc sw v0, 0x3c(sp) | *(var_3ch) = v0;
0x000069e0 lw v0, (v0) | v0 = *(v0);
0x000069e4 sw gp, 0x18(sp) | *(var_18h) = gp;
0x000069e8 sw s5, 0x5c(sp) | *(var_5ch) = s5;
0x000069ec sw s4, 0x58(sp) | *(var_58h) = s4;
0x000069f0 sw s2, 0x50(sp) | *(var_50h) = s2;
0x000069f4 sw s1, 0x4c(sp) | *(var_4ch) = s1;
0x000069f8 sw ra, 0x6c(sp) | *(var_6ch) = ra;
0x000069fc sw fp, 0x68(sp) | *(var_68h) = fp;
0x00006a00 sw s7, 0x64(sp) | *(var_64h) = s7;
0x00006a04 sw s6, 0x60(sp) | *(var_60h) = s6;
0x00006a08 sw s3, 0x54(sp) | *(var_54h) = s3;
0x00006a0c sw s0, 0x48(sp) | *(var_48h) = s0;
0x00006a10 move s1, a3 | s1 = a3;
0x00006a14 move s2, a0 | s2 = a0;
0x00006a18 move s4, a1 | s4 = a1;
0x00006a1c move s5, a2 | s5 = a2;
0x00006a20 sw v0, 0x44(sp) | *(var_44h) = v0;
0x00006a24 lw v0, -0x7f58(gp) | v0 = *(gp);
| if (a3 <= 0) {
0x00006a28 blez a3, 0x6aa0 | goto label_8;
| }
0x00006a2c addiu v1, zero, 1 | v1 = 1;
0x00006a30 lw v0, (v0) | v0 = *(v0);
0x00006a34 slti a0, v0, 0 | a0 = (v0 < 0) ? 1 : 0;
| if (a0 != 0) {
0x00006a38 movz s1, v0, a0 | s1 = v0;
| }
0x00006a3c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
| if (s1 != v1) {
0x00006a40 bne s1, v1, 0x6aa0 | goto label_8;
| }
0x00006a44 lw v1, -0x6b90(v0) | v1 = *((v0 - 6884));
0x00006a48 lw v0, -0x6b8c(v0) | v0 = *((v0 - 6883));
0x00006a4c sw v1, 0x24(sp) | *(var_24h) = v1;
0x00006a50 sw v0, 0x38(sp) | *(var_38h) = v0;
0x00006a54 addiu v0, sp, 0x80 | v0 = sp + 0x80;
0x00006a58 sw v0, 0x40(sp) | *(var_40h) = v0;
| if (s4 > 0) {
0x00006a5c bgtz s4, 0x6ac0 | goto label_9;
| }
| do {
0x00006a60 lw v0, 0x3c(sp) | v0 = *(var_3ch);
| label_0:
0x00006a64 lw v1, 0x44(sp) | v1 = *(var_44h);
0x00006a68 lw v0, (v0) | v0 = *(v0);
0x00006a6c lw ra, 0x6c(sp) | ra = *(var_6ch);
| if (v1 != v0) {
0x00006a70 bne v1, v0, 0x6c58 | goto label_10;
| }
0x00006a74 lw fp, 0x68(sp) | fp = *(var_68h);
0x00006a78 lw s7, 0x64(sp) | s7 = *(var_64h);
0x00006a7c lw s6, 0x60(sp) | s6 = *(var_60h);
0x00006a80 lw s5, 0x5c(sp) | s5 = *(var_5ch);
0x00006a84 lw s4, 0x58(sp) | s4 = *(var_58h);
0x00006a88 lw s3, 0x54(sp) | s3 = *(var_54h);
0x00006a8c lw s2, 0x50(sp) | s2 = *(var_50h);
0x00006a90 lw s1, 0x4c(sp) | s1 = *(var_4ch);
0x00006a94 lw s0, 0x48(sp) | s0 = *(var_48h);
0x00006a98 addiu sp, sp, 0x70 |
0x00006a9c jr ra | return v0;
| label_8:
0x00006aa0 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00006aa4 lw v1, -0x6b98(v0) | v1 = *((v0 - 6886));
0x00006aa8 lw v0, -0x6b94(v0) | v0 = *((v0 - 6885));
0x00006aac sw v1, 0x24(sp) | *(var_24h) = v1;
0x00006ab0 sw v0, 0x38(sp) | *(var_38h) = v0;
0x00006ab4 addiu v0, sp, 0x80 | v0 = sp + 0x80;
0x00006ab8 sw v0, 0x40(sp) | *(var_40h) = v0;
0x00006abc blez s4, 0x6a60 |
| } while (s4 <= 0);
| label_9:
0x00006ac0 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00006ac4 lw s3, -0x7fd8(gp) | s3 = *((gp - 8182));
0x00006ac8 lw fp, -0x7fd8(gp) | fp = *((gp - 8182));
0x00006acc lw v1, -0x6bac(v0) | v1 = *((v0 - 6891));
0x00006ad0 lw v0, -0x6bb0(v0) | v0 = *((v0 - 6892));
0x00006ad4 sw v1, 0x2c(sp) | *(var_2ch_3) = v1;
0x00006ad8 sw v0, 0x28(sp) | *(var_28h_3) = v0;
0x00006adc lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00006ae0 move s0, zero | s0 = 0;
0x00006ae4 lw v1, -0x6b84(v0) | v1 = *((v0 - 6881));
0x00006ae8 lw v0, -0x6b88(v0) | v0 = *((v0 - 6882));
0x00006aec sw v1, 0x34(sp) | *(var_34h_2) = v1;
0x00006af0 sw v0, 0x30(sp) | *(var_30h_2) = v0;
0x00006af4 b 0x6b94 | goto label_11;
| label_1:
0x00006af8 lw v1, 0x24(sp) | v1 = *(var_24h);
0x00006afc lw v0, 0x38(sp) | v0 = *(var_38h);
0x00006b00 lw t9, -0x7ee8(gp) | t9 = *(gp);
0x00006b04 move a0, v1 | a0 = v1;
0x00006b08 move a1, v0 | a1 = v0;
0x00006b0c move a2, s6 | a2 = s6;
0x00006b10 move a3, s7 | a3 = s7;
0x00006b14 bal 0x7c50 | fcn_00007c50 ();
0x00006b18 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 <= 0) {
0x00006b1c blez v0, 0x6bfc | goto label_12;
| }
0x00006b20 lw a0, 0x38(sp) | a0 = *(var_38h);
0x00006b24 lw v1, 0x24(sp) | v1 = *(var_24h);
0x00006b28 lui v0, 0x8000 | v0 = 0x80000000;
0x00006b2c xor v0, a0, v0 | v0 = a0 ^ v0;
0x00006b30 lw t9, -0x7edc(gp) | t9 = *(gp);
0x00006b34 move a0, v1 | a0 = v1;
0x00006b38 move a1, v0 | a1 = v0;
0x00006b3c move a2, s6 | a2 = s6;
0x00006b40 move a3, s7 | a3 = s7;
0x00006b44 bal 0x7da0 | fcn_00007da0 ();
0x00006b48 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 >= 0) {
0x00006b4c bgez v0, 0x6bfc | goto label_12;
| }
| label_2:
0x00006b50 lw t9, -0x7e70(gp) | t9 = sym.imp.__printf_chk
0x00006b54 lw a2, -0x7f00(gp) | a2 = *(gp);
0x00006b58 addiu a1, s3, -0x6d7c | a1 = s3 + -0x6d7c;
0x00006b5c addiu a0, zero, 1 | a0 = 1;
0x00006b60 jalr t9 | t9 ();
0x00006b64 lw gp, 0x18(sp) | gp = *(var_18h);
| if (s2 < 0) {
0x00006b68 bltz s2, 0x6c18 | goto label_13;
| }
| label_3:
0x00006b6c lw t9, -0x7ee0(gp) | t9 = sym.cprintf_unit
0x00006b70 move a2, s6 | a2 = s6;
0x00006b74 move a3, s7 | a3 = s7;
0x00006b78 move a1, s5 | a1 = s5;
0x00006b7c move a0, s2 | a0 = s2;
0x00006b80 bal 0x6554 | sym_cprintf_unit ()
0x00006b84 lw gp, 0x18(sp) | gp = *(var_18h);
| label_4:
0x00006b88 addiu s0, s0, 1 | s0++;
0x00006b8c lw v0, 0x3c(sp) | v0 = *(var_3ch);
| if (s4 == s0) {
0x00006b90 beq s4, s0, 0x6a64 | goto label_0;
| }
| label_11:
0x00006b94 lw v0, 0x40(sp) | v0 = *(var_40h);
0x00006b98 addiu v1, zero, -8 | v1 = -8;
0x00006b9c addiu v0, v0, 7 | v0 += 7;
0x00006ba0 and v0, v0, v1 | v0 &= v1;
0x00006ba4 addiu v1, v0, 8 | v1 = v0 + 8;
0x00006ba8 sw v1, 0x40(sp) | *(var_40h) = v1;
0x00006bac lw s6, (v0) | s6 = *(v0);
0x00006bb0 lw s7, 4(v0) | s7 = *((v0 + 1));
| if (s1 > 0) {
0x00006bb4 bgtz s1, 0x6af8 | goto label_1;
| }
0x00006bb8 lw t9, -0x7edc(gp) | t9 = *(gp);
| if (s1 != 0) {
0x00006bbc bnez s1, 0x6bfc | goto label_12;
| }
0x00006bc0 lw a2, 0x28(sp) | a2 = *(var_28h_3);
0x00006bc4 lw a3, 0x2c(sp) | a3 = *(var_2ch_3);
0x00006bc8 move a0, s6 | a0 = s6;
0x00006bcc move a1, s7 | a1 = s7;
0x00006bd0 bal 0x7da0 | fcn_00007da0 ();
0x00006bd4 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 > 0) {
0x00006bd8 bgtz v0, 0x6bfc | goto label_12;
| }
0x00006bdc lw t9, -0x7ee8(gp) | t9 = *(gp);
0x00006be0 lw a2, 0x30(sp) | a2 = *(var_30h_2);
0x00006be4 lw a3, 0x34(sp) | a3 = *(var_34h_2);
0x00006be8 move a0, s6 | a0 = s6;
0x00006bec move a1, s7 | a1 = s7;
0x00006bf0 bal 0x7c50 | fcn_00007c50 ();
0x00006bf4 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 >= 0) {
0x00006bf8 bgez v0, 0x6b50 | goto label_2;
| }
| label_12:
0x00006bfc lw t9, -0x7e70(gp) | t9 = sym.imp.__printf_chk
0x00006c00 lw a2, -0x7efc(gp) | a2 = *(gp);
0x00006c04 addiu a1, s3, -0x6d7c | a1 = s3 + -0x6d7c;
0x00006c08 addiu a0, zero, 1 | a0 = 1;
0x00006c0c jalr t9 | t9 ();
0x00006c10 lw gp, 0x18(sp) | gp = *(var_18h);
| if (s2 >= 0) {
0x00006c14 bgez s2, 0x6b6c | goto label_3;
| }
| label_13:
0x00006c18 lw t9, -0x7e70(gp) | t9 = sym.imp.__printf_chk
0x00006c1c move a3, s1 | a3 = s1;
0x00006c20 move a2, s5 | a2 = s5;
0x00006c24 addiu a1, fp, -0x6c3c | a1 = fp + -0x6c3c;
0x00006c28 addiu a0, zero, 1 | a0 = 1;
0x00006c2c sw s6, 0x10(sp) | *(var_88h) = s6;
0x00006c30 sw s7, 0x14(sp) | *(var_14h_2) = s7;
0x00006c34 jalr t9 | t9 ();
0x00006c38 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006c3c addiu a1, s3, -0x6d7c | a1 = s3 + -0x6d7c;
0x00006c40 lw t9, -0x7e70(gp) | t9 = sym.imp.__printf_chk
0x00006c44 lw a2, -0x7eec(gp) | a2 = *(gp);
0x00006c48 addiu a0, zero, 1 | a0 = 1;
0x00006c4c jalr t9 | t9 ();
0x00006c50 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006c54 b 0x6b88 | goto label_4;
| label_10:
0x00006c58 lw t9, -0x7df0(gp) | t9 = sym.imp.__stack_chk_fail;
0x00006c5c jalr t9 | t9 ();
0x00006c60 nop |
0x00006c64 lui gp, 2 |
0x00006c68 addiu gp, gp, -0x4bb4 |
0x00006c6c addu gp, gp, t9 | gp += t9;
0x00006c70 lw v0, -0x7ddc(gp) | v0 = *((gp - 8055));
0x00006c74 addiu sp, sp, -0x78 |
0x00006c78 sw v0, 0x44(sp) | *(var_44h_2) = v0;
0x00006c7c lw v0, (v0) | v0 = *(v0);
0x00006c80 sw gp, 0x18(sp) | *(var_18h_2) = gp;
0x00006c84 sw s5, 0x64(sp) | *(var_64h_2) = s5;
0x00006c88 sw s4, 0x60(sp) | *(var_60h_2) = s4;
0x00006c8c sw s2, 0x58(sp) | *(var_58h_2) = s2;
0x00006c90 sw ra, 0x74(sp) | *(var_74h) = ra;
0x00006c94 sw fp, 0x70(sp) | *(var_70h) = fp;
0x00006c98 sw s7, 0x6c(sp) | *(var_6ch_2) = s7;
0x00006c9c sw s6, 0x68(sp) | *(var_68h_2) = s6;
0x00006ca0 sw s3, 0x5c(sp) | *(var_5ch_2) = s3;
0x00006ca4 sw s1, 0x54(sp) | *(var_54h_2) = s1;
0x00006ca8 sw s0, 0x50(sp) | *(var_50h_2) = s0;
0x00006cac move s2, a3 | s2 = a3;
0x00006cb0 move s5, a0 | s5 = a0;
0x00006cb4 sw a1, 0x7c(sp) | *(var_7ch) = a1;
0x00006cb8 move s4, a2 | s4 = a2;
0x00006cbc sw v0, 0x4c(sp) | *(var_4ch_2) = v0;
0x00006cc0 lw v0, -0x7f58(gp) | v0 = *(gp);
| if (a3 > 0) {
0x00006cc4 blez a3, 0x6cd4 |
0x00006cc8 lw v0, (v0) | v0 = *(v0);
0x00006ccc slti v1, v0, 0 | v1 = (v0 < 0) ? 1 : 0;
| if (v1 == 0) {
0x00006cd0 movz s2, v0, v1 | s2 = v0;
| goto label_14;
| }
| }
| label_14:
0x00006cd4 slti v0, s4, 4 | v0 = (s4 < 4) ? 1 : 0;
| if (s5 > 0) {
0x00006cd8 blez s5, 0x6cf4 |
0x00006cdc addiu v1, zero, 4 | v1 = 4;
| if (v0 == 0) {
0x00006ce0 movn s4, v1, v0 | s4 = v1;
| }
0x00006ce4 slti v0, s2, 2 | v0 = (s2 < 2) ? 1 : 0;
0x00006ce8 addiu s4, s4, -1 | s4 += -1;
| if (v0 != 0) {
0x00006cec bnez v0, 0x6cf4 | goto label_15;
| }
0x00006cf0 addiu s2, s2, -1 | s2 += -1;
| }
| label_15:
0x00006cf4 addiu v0, zero, 1 | v0 = 1;
0x00006cf8 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
| if (s2 == v0) {
0x00006cfc beq s2, v0, 0x6f1c | goto label_16;
| }
0x00006d00 lw v1, -0x6b94(v0) | v1 = *((v0 - 6885));
0x00006d04 lw v0, -0x6b98(v0) | v0 = *((v0 - 6886));
0x00006d08 sw v1, 0x34(sp) | *(var_34h) = v1;
0x00006d0c sw v0, 0x30(sp) | *(var_30h) = v0;
| label_7:
0x00006d10 lw v0, 0x7c(sp) | v0 = *(var_7ch);
0x00006d14 addiu s0, sp, 0x88 | s0 = sp + 0x88;
0x00006d18 sw s0, 0x48(sp) | *(var_48h_2) = s0;
| if (v0 <= 0) {
0x00006d1c blez v0, 0x6edc | goto label_17;
| }
0x00006d20 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00006d24 lw fp, -0x7fd8(gp) | fp = *((gp - 8182));
0x00006d28 sw v0, 0x24(sp) | *(var_24h_3) = v0;
0x00006d2c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00006d30 lw s3, -0x7fd8(gp) | s3 = *((gp - 8182));
0x00006d34 move s1, zero | s1 = 0;
0x00006d38 lw v1, -0x6b74(v0) | v1 = *((v0 - 6877));
0x00006d3c lw v0, -0x6b78(v0) | v0 = *((v0 - 6878));
0x00006d40 sw v1, 0x2c(sp) | *(var_2ch_2) = v1;
0x00006d44 sw v0, 0x28(sp) | *(var_28h_2) = v0;
0x00006d48 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00006d4c lw v1, -0x6bac(v0) | v1 = *((v0 - 6891));
0x00006d50 lw v0, -0x6bb0(v0) | v0 = *((v0 - 6892));
0x00006d54 sw v1, 0x3c(sp) | *(var_3ch_2) = v1;
0x00006d58 sw v0, 0x38(sp) | *(var_38h_2) = v0;
0x00006d5c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00006d60 sw v0, 0x40(sp) | *(var_40h_2) = v0;
0x00006d64 b 0x6e30 |
| while (v0 < 0) {
0x00006d68 lw t9, -0x7ee8(gp) | t9 = *(gp);
0x00006d6c lw a2, 0x28(sp) | a2 = *(var_28h_2);
0x00006d70 lw a3, 0x2c(sp) | a3 = *(var_2ch_2);
0x00006d74 move a0, s6 | a0 = s6;
0x00006d78 move a1, s7 | a1 = s7;
0x00006d7c bal 0x7c50 | fcn_00007c50 ();
0x00006d80 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 >= 0) {
0x00006d84 bgez v0, 0x6ec0 | goto label_18;
| }
0x00006d88 lw t9, -0x7ee8(gp) | t9 = *(gp);
| if (s2 <= 0) {
0x00006d8c blez s2, 0x6e80 | goto label_19;
| }
0x00006d90 lw a0, 0x30(sp) | a0 = *(var_30h);
0x00006d94 lw a1, 0x34(sp) | a1 = *(var_34h);
0x00006d98 move a2, s6 | a2 = s6;
0x00006d9c move a3, s7 | a3 = s7;
0x00006da0 bal 0x7c50 | fcn_00007c50 ();
0x00006da4 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 > 0) {
0x00006da8 bgtz v0, 0x6ea4 | goto label_20;
| }
| label_6:
0x00006dac lw t9, -0x7e70(gp) | t9 = sym.imp.__printf_chk
0x00006db0 lw a2, -0x7efc(gp) | a2 = *(gp);
0x00006db4 addiu a1, s3, -0x6d7c | a1 = s3 + -0x6d7c;
0x00006db8 addiu a0, zero, 1 | a0 = 1;
0x00006dbc jalr t9 | t9 ();
0x00006dc0 lw gp, 0x18(sp) | gp = *(var_18h_2);
| label_5:
0x00006dc4 lw v0, 0x24(sp) | v0 = *(var_24h_3);
0x00006dc8 lw t9, -0x7e70(gp) | t9 = sym.imp.__printf_chk
0x00006dcc move a3, s2 | a3 = s2;
0x00006dd0 move a2, s4 | a2 = s4;
0x00006dd4 addiu a1, v0, -0x6c3c | a1 = v0 + -0x6c3c;
0x00006dd8 addiu a0, zero, 1 | a0 = 1;
0x00006ddc sw s6, 0x10(sp) | *(var_10h_2) = s6;
0x00006de0 sw s7, 0x14(sp) | *(var_14h) = s7;
0x00006de4 jalr t9 | t9 ();
0x00006de8 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00006dec addiu a1, s3, -0x6d7c | a1 = s3 + -0x6d7c;
0x00006df0 lw t9, -0x7e70(gp) | t9 = sym.imp.__printf_chk
0x00006df4 lw a2, -0x7eec(gp) | a2 = *(gp);
0x00006df8 addiu a0, zero, 1 | a0 = 1;
0x00006dfc jalr t9 | t9 ();
0x00006e00 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (s5 > 0) {
0x00006e04 blez s5, 0x6e20 |
0x00006e08 lw v0, 0x40(sp) | v0 = *(var_40h_2);
0x00006e0c lw t9, -0x7e70(gp) | t9 = sym.imp.__printf_chk
0x00006e10 addiu a1, v0, -0x6c24 | a1 = v0 + -0x6c24;
0x00006e14 addiu a0, zero, 1 | a0 = 1;
0x00006e18 jalr t9 | t9 ();
0x00006e1c lw gp, 0x18(sp) | gp = *(var_18h_2);
| }
0x00006e20 lw v0, 0x7c(sp) | v0 = *(var_7ch);
0x00006e24 addiu s1, s1, 1 | s1++;
0x00006e28 lw v0, 0x44(sp) | v0 = *(var_44h_2);
| if (v0 == s1) {
0x00006e2c beq v0, s1, 0x6ee0 | goto label_21;
| }
0x00006e30 move v0, s0 | v0 = s0;
0x00006e34 lw t9, -0x7ee8(gp) | t9 = *(gp);
0x00006e38 lw s6, (v0) | s6 = *(v0);
0x00006e3c lw s7, 4(v0) | s7 = *((v0 + 1));
0x00006e40 addiu s0, s0, 8 | s0 += 8;
0x00006e44 lw a2, -0x6b80(fp) | a2 = *(var_6b80h);
0x00006e48 lw a3, -0x6b7c(fp) | a3 = *(var_6b7ch);
0x00006e4c sw s0, 0x48(sp) | *(var_48h_2) = s0;
0x00006e50 move a0, s6 | a0 = s6;
0x00006e54 move a1, s7 | a1 = s7;
0x00006e58 bal 0x7c50 | fcn_00007c50 ();
0x00006e5c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00006e60 bltz v0, 0x6d68 |
| }
0x00006e64 lw t9, -0x7e70(gp) | t9 = sym.imp.__printf_chk
0x00006e68 lw a2, -0x7f08(gp) | a2 = *(gp);
0x00006e6c addiu a1, s3, -0x6d7c | a1 = s3 + -0x6d7c;
0x00006e70 addiu a0, zero, 1 | a0 = 1;
0x00006e74 jalr t9 | t9 ();
0x00006e78 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00006e7c b 0x6dc4 | goto label_5;
| label_19:
0x00006e80 lw t9, -0x7edc(gp) | t9 = *(gp);
| if (s2 != 0) {
0x00006e84 bnez s2, 0x6dac | goto label_6;
| }
0x00006e88 lw a2, 0x38(sp) | a2 = *(var_38h_2);
0x00006e8c lw a3, 0x3c(sp) | a3 = *(var_3ch_2);
0x00006e90 move a0, s6 | a0 = s6;
0x00006e94 move a1, s7 | a1 = s7;
0x00006e98 bal 0x7da0 | fcn_00007da0 ();
0x00006e9c lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 > 0) {
0x00006ea0 bgtz v0, 0x6dac | goto label_6;
| }
| label_20:
0x00006ea4 lw t9, -0x7e70(gp) | t9 = sym.imp.__printf_chk
0x00006ea8 lw a2, -0x7f00(gp) | a2 = *(gp);
0x00006eac addiu a1, s3, -0x6d7c | a1 = s3 + -0x6d7c;
0x00006eb0 addiu a0, zero, 1 | a0 = 1;
0x00006eb4 jalr t9 | t9 ();
0x00006eb8 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00006ebc b 0x6dc4 | goto label_5;
| label_18:
0x00006ec0 lw t9, -0x7e70(gp) | t9 = sym.imp.__printf_chk
0x00006ec4 lw a2, -0x7f04(gp) | a2 = *(gp);
0x00006ec8 addiu a1, s3, -0x6d7c | a1 = s3 + -0x6d7c;
0x00006ecc addiu a0, zero, 1 | a0 = 1;
0x00006ed0 jalr t9 | t9 ();
0x00006ed4 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00006ed8 b 0x6dc4 | goto label_5;
| label_17:
0x00006edc lw v0, 0x44(sp) | v0 = *(var_44h_2);
| label_21:
0x00006ee0 lw v1, 0x4c(sp) | v1 = *(var_4ch_2);
0x00006ee4 lw v0, (v0) | v0 = *(v0);
0x00006ee8 lw ra, 0x74(sp) | ra = *(var_74h);
| if (v1 == v0) {
0x00006eec bne v1, v0, 0x6f34 |
0x00006ef0 lw fp, 0x70(sp) | fp = *(var_70h);
0x00006ef4 lw s7, 0x6c(sp) | s7 = *(var_6ch_2);
0x00006ef8 lw s6, 0x68(sp) | s6 = *(var_68h_2);
0x00006efc lw s5, 0x64(sp) | s5 = *(var_64h_2);
0x00006f00 lw s4, 0x60(sp) | s4 = *(var_60h_2);
0x00006f04 lw s3, 0x5c(sp) | s3 = *(var_5ch_2);
0x00006f08 lw s2, 0x58(sp) | s2 = *(var_58h_2);
0x00006f0c lw s1, 0x54(sp) | s1 = *(var_54h_2);
0x00006f10 lw s0, 0x50(sp) | s0 = *(var_50h_2);
0x00006f14 addiu sp, sp, 0x78 |
0x00006f18 jr ra | return v0;
| label_16:
0x00006f1c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00006f20 lw v1, -0x6b8c(v0) | v1 = *((v0 - 6883));
0x00006f24 lw v0, -0x6b90(v0) | v0 = *((v0 - 6884));
0x00006f28 sw v1, 0x34(sp) | *(var_34h) = v1;
0x00006f2c sw v0, 0x30(sp) | *(var_30h) = v0;
0x00006f30 b 0x6d10 | goto label_7;
| }
0x00006f34 lw t9, -0x7df0(gp) | t9 = sym.imp.__stack_chk_fail;
0x00006f38 jalr t9 | t9 ();
0x00006f3c nop |
| }
[*] Function printf used 15 times cifsiostat