[*] Binary protection state of sar
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function printf tear down of sar
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/sar @ 0xc7f0 */
| #include <stdint.h>
|
; (fcn) sym.print_hdr_line () | void print_hdr_line () {
| label_16:
0x0000c7f0 lui gp, 3 |
0x0000c7f4 addiu gp, gp, 0x1360 |
0x0000c7f8 addu gp, gp, t9 | gp += t9;
0x0000c7fc addiu sp, sp, -0x248 |
0x0000c800 lw t9, -0x7c7c(gp) | t9 = sym.imp.memset;
0x0000c804 sw s5, 0x238(sp) | *(var_238h) = s5;
0x0000c808 lw s5, -0x7bf8(gp) | s5 = *((gp - 7934));
0x0000c80c sw ra, 0x244(sp) | *(var_244h) = ra;
0x0000c810 sw gp, 0x10(sp) | *(var_10h) = gp;
0x0000c814 lw v0, (s5) | v0 = *(s5);
0x0000c818 sw s7, 0x240(sp) | *(var_240h) = s7;
0x0000c81c sw s6, 0x23c(sp) | *(var_23ch) = s6;
0x0000c820 sw s4, 0x234(sp) | *(var_234h) = s4;
0x0000c824 sw s3, 0x230(sp) | *(var_230h) = s3;
0x0000c828 sw s2, 0x22c(sp) | *(var_22ch) = s2;
0x0000c82c move s6, a1 | s6 = a1;
0x0000c830 sw s1, 0x228(sp) | *(var_228h) = s1;
0x0000c834 move a1, zero | a1 = 0;
0x0000c838 sw s0, 0x224(sp) | *(var_224h) = s0;
0x0000c83c move s7, a0 | s7 = a0;
0x0000c840 move s4, a2 | s4 = a2;
0x0000c844 addiu a0, sp, 0x20 | a0 = sp + 0x20;
0x0000c848 addiu a2, zero, 0x1fc | a2 = 0x1fc;
0x0000c84c sw v0, 0x21c(sp) | *(var_21ch) = v0;
0x0000c850 sw zero, 0x1c(sp) | *(var_1ch) = 0;
0x0000c854 move s2, a3 | s2 = a3;
0x0000c858 jalr t9 | t9 ();
0x0000c85c lw gp, 0x10(sp) | gp = *(var_10h);
0x0000c860 addiu v1, sp, 0x1c | v1 = sp + 0x1c;
0x0000c864 lw a1, 0x48(s6) | a1 = *((s6 + 18));
0x0000c868 lw t9, -0x7c88(gp) | t9 = sym.imp.strncpy;
0x0000c86c move a0, v1 | a0 = v1;
0x0000c870 lw s3, -0x7fd8(gp) | s3 = *(gp);
0x0000c874 addiu a2, zero, 0x1ff | a2 = 0x1ff;
0x0000c878 jalr t9 | t9 ();
0x0000c87c lw gp, 0x10(sp) | gp = *(var_10h);
0x0000c880 addiu a1, s3, 0x3150 | a1 = s3 + 0x3150;
0x0000c884 lw t9, -0x7cb0(gp) | t9 = sym.imp.strtok;
0x0000c888 move a0, v0 | a0 = v0;
0x0000c88c jalr t9 | t9 ();
0x0000c890 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 == 0) {
0x0000c894 beqz v0, 0xc8d4 | goto label_1;
| }
0x0000c898 move s1, v0 | s1 = v0;
| if (s4 <= 0) {
0x0000c89c blez s4, 0xc90c | goto label_19;
| }
0x0000c8a0 move s0, s4 | s0 = s4;
0x0000c8a4 addiu s3, s3, 0x3150 | s3 += 0x3150;
0x0000c8a8 b 0xc8b4 |
| while (v0 != 0) {
0x0000c8ac lw a1, -0x7fd8(gp) | a1 = *(gp);
| if (s0 == 0) {
0x0000c8b0 beqz s0, 0xc910 | goto label_20;
| }
0x0000c8b4 lw t9, -0x7cb0(gp) | t9 = sym.imp.strtok;
0x0000c8b8 move a1, s3 | a1 = s3;
0x0000c8bc move a0, zero | a0 = 0;
0x0000c8c0 jalr t9 | t9 ();
0x0000c8c4 move s1, v0 | s1 = v0;
0x0000c8c8 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000c8cc addiu s0, s0, -1 | s0 += -1;
0x0000c8d0 bnez v0, 0xc8ac |
| }
| label_1:
0x0000c8d4 lw v1, 0x21c(sp) | v1 = *(var_21ch);
0x0000c8d8 lw v0, (s5) | v0 = *(s5);
0x0000c8dc lw ra, 0x244(sp) | ra = *(var_244h);
| if (v1 != v0) {
0x0000c8e0 bne v1, v0, 0xca7c | goto label_21;
| }
0x0000c8e4 lw s7, 0x240(sp) | s7 = *(var_240h);
0x0000c8e8 lw s6, 0x23c(sp) | s6 = *(var_23ch);
0x0000c8ec lw s5, 0x238(sp) | s5 = *(var_238h);
0x0000c8f0 lw s4, 0x234(sp) | s4 = *(var_234h);
0x0000c8f4 lw s3, 0x230(sp) | s3 = *(var_230h);
0x0000c8f8 lw s2, 0x22c(sp) | s2 = *(var_22ch);
0x0000c8fc lw s1, 0x228(sp) | s1 = *(var_228h);
0x0000c900 lw s0, 0x224(sp) | s0 = *(var_224h);
0x0000c904 addiu sp, sp, 0x248 |
0x0000c908 jr ra | return v1;
| label_19:
0x0000c90c lw a1, -0x7fd8(gp) | a1 = *(gp);
| label_20:
0x0000c910 lw t9, -0x7ca8(gp) | t9 = sym.imp.__printf_chk
0x0000c914 move a2, s7 | a2 = s7;
| /* str._n__11s */
0x0000c918 addiu a1, a1, 0x2024 | a1 += 0x2024;
0x0000c91c addiu a0, zero, 1 | a0 = 1;
0x0000c920 jalr t9 | t9 ();
0x0000c924 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000c928 addiu a1, zero, 0x26 | a1 = 0x26;
0x0000c92c lw t9, -0x7c64(gp) | t9 = sym.imp.strchr;
0x0000c930 move a0, s1 | a0 = s1;
0x0000c934 jalr t9 | t9 ();
0x0000c938 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 != 0) {
0x0000c93c beqz v0, 0xc980 |
0x0000c940 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x0000c944 lw t9, -0x7be0(gp) | t9 = sym.imp.strcspn;
0x0000c948 move a0, s1 | a0 = s1;
0x0000c94c addiu a1, a1, 0x3154 | a1 += 0x3154;
0x0000c950 jalr t9 | t9 ();
0x0000c954 addiu s4, s4, 8 | s4 += 8;
0x0000c958 lw a0, 0x94(s6) | a0 = *((s6 + 37));
0x0000c95c addiu v1, zero, 1 | v1 = 1;
0x0000c960 sllv v1, v1, s4 | v1 <<= s4;
0x0000c964 and v1, v1, a0 | v1 &= a0;
0x0000c968 andi v1, v1, 0xff00 | v1 &= 0xff00;
0x0000c96c lw gp, 0x10(sp) | gp = *(var_10h);
0x0000c970 addu v0, s1, v0 | v0 = s1 + v0;
| if (v1 == 0) {
0x0000c974 beqz v1, 0xca74 | goto label_22;
| }
0x0000c978 addiu v1, zero, 0x3b | v1 = 0x3b;
0x0000c97c sb v1, (v0) | *(v0) = v1;
| }
| label_3:
0x0000c980 lw s6, -0x7fd8(gp) | s6 = *(gp);
0x0000c984 lw t9, -0x7cb0(gp) | t9 = sym.imp.strtok;
0x0000c988 addiu a1, s6, 0x3158 | a1 = s6 + 0x3158;
0x0000c98c move a0, s1 | a0 = s1;
0x0000c990 jalr t9 | t9 ();
0x0000c994 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 == 0) {
0x0000c998 beqz v0, 0xca58 | goto label_23;
| }
0x0000c99c lw s3, -0x7fd8(gp) | s3 = *(gp);
0x0000c9a0 addiu s0, zero, -1 | s0 = -1;
0x0000c9a4 move s4, zero | s4 = 0;
| /* esilref: ' &*s' */
0x0000c9a8 addiu s3, s3, 0x315c | s3 += 0x315c;
0x0000c9ac addiu s6, s6, 0x3158 | s6 += 0x3158;
0x0000c9b0 b 0xc9f8 |
| while (s2 <= 0) {
0x0000c9b4 lw a2, 0x258(sp) | a2 = *(arg_258h);
| if (s2 != 0) {
0x0000c9b8 beqz s2, 0xc9c8 |
| if (s2 == s0) {
0x0000c9bc beql s2, s0, 0xca6c | goto label_24;
| }
0x0000c9c0 move s4, v0 | s4 = v0;
0x0000c9c4 lw a2, 0x258(sp) | a2 = *(arg_258h);
| }
0x0000c9c8 move a3, v0 | a3 = v0;
0x0000c9cc move a1, s3 | a1 = s3;
0x0000c9d0 addiu a0, zero, 1 | a0 = 1;
0x0000c9d4 jalr t9 | t9 ();
0x0000c9d8 lw gp, 0x10(sp) | gp = *(var_10h);
| label_2:
0x0000c9dc lw t9, -0x7cb0(gp) | t9 = sym.imp.strtok;
0x0000c9e0 move a1, s6 | a1 = s6;
0x0000c9e4 move a0, zero | a0 = 0;
0x0000c9e8 jalr t9 | t9 ();
0x0000c9ec addiu s0, s0, -1 | s0 += -1;
0x0000c9f0 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 == 0) {
0x0000c9f4 beqz v0, 0xca38 | goto label_25;
| }
| label_0:
0x0000c9f8 lw t9, -0x7ca8(gp) | t9 = sym.imp.__printf_chk
0x0000c9fc blez s2, 0xc9b4 |
| }
0x0000ca00 move a2, s2 | a2 = s2;
0x0000ca04 move a3, v0 | a3 = v0;
0x0000ca08 move a1, s3 | a1 = s3;
0x0000ca0c addiu a0, zero, 1 | a0 = 1;
0x0000ca10 jalr t9 | t9 ();
0x0000ca14 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000ca18 move a1, s6 | a1 = s6;
0x0000ca1c move a0, zero | a0 = 0;
0x0000ca20 lw t9, -0x7cb0(gp) | t9 = sym.imp.strtok;
0x0000ca24 move s2, zero | s2 = 0;
0x0000ca28 jalr t9 | t9 ();
0x0000ca2c addiu s0, s0, -1 | s0 += -1;
0x0000ca30 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 != 0) {
0x0000ca34 bnez v0, 0xc9f8 | goto label_0;
| }
| label_25:
0x0000ca38 lw a1, -0x7fd8(gp) | a1 = *(gp);
| if (s4 != 0) {
0x0000ca3c beqz s4, 0xca58 |
0x0000ca40 lw t9, -0x7ca8(gp) | t9 = sym.imp.__printf_chk
0x0000ca44 move a2, s4 | a2 = s4;
| /* esilref: ' &s' */
0x0000ca48 addiu a1, a1, 0x3164 | a1 += 0x3164;
0x0000ca4c addiu a0, zero, 1 | a0 = 1;
0x0000ca50 jalr t9 | t9 ();
0x0000ca54 lw gp, 0x10(sp) | gp = *(var_10h);
| }
| label_23:
0x0000ca58 lw t9, -0x7c80(gp) | t9 = sym.imp.putchar;
0x0000ca5c addiu a0, zero, 0xa | a0 = 0xa;
0x0000ca60 jalr t9 | t9 ();
0x0000ca64 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000ca68 b 0xc8d4 | goto label_1;
| label_24:
0x0000ca6c move s2, zero | s2 = 0;
0x0000ca70 b 0xc9dc | goto label_2;
| label_22:
0x0000ca74 sb zero, (v0) | *(v0) = 0;
0x0000ca78 b 0xc980 | goto label_3;
| label_21:
0x0000ca7c lw t9, -0x7c10(gp) | t9 = sym.imp.__stack_chk_fail;
0x0000ca80 jalr t9 | t9 ();
0x0000ca84 nop |
0x0000ca88 lui gp, 3 |
0x0000ca8c addiu gp, gp, 0x10c8 |
0x0000ca90 addu gp, gp, t9 | gp += t9;
0x0000ca94 lw v0, -0x7bf8(gp) | v0 = *((gp - 7934));
0x0000ca98 addiu sp, sp, -0x500 |
0x0000ca9c lw t9, -0x7c7c(gp) | t9 = sym.imp.memset;
0x0000caa0 sw v0, 0xb8(sp) | *(var_b8h) = v0;
0x0000caa4 lw v0, (v0) | v0 = *(v0);
0x0000caa8 sw s2, 0x4e0(sp) | *(var_4e0h) = s2;
0x0000caac addiu s2, sp, 0xd0 | s2 = sp + 0xd0;
0x0000cab0 sw gp, 0x60(sp) | *(var_60h) = gp;
0x0000cab4 sw s3, 0x4e4(sp) | *(var_4e4h) = s3;
0x0000cab8 sw s1, 0x4dc(sp) | *(var_4dch) = s1;
0x0000cabc sw s0, 0x4d8(sp) | *(var_4d8h) = s0;
0x0000cac0 sw ra, 0x4fc(sp) | *(var_4fch) = ra;
0x0000cac4 sw fp, 0x4f8(sp) | *(var_4f8h) = fp;
0x0000cac8 sw s7, 0x4f4(sp) | *(var_4f4h) = s7;
0x0000cacc sw s6, 0x4f0(sp) | *(var_4f0h) = s6;
0x0000cad0 sw s5, 0x4ec(sp) | *(var_4ech) = s5;
0x0000cad4 sw s4, 0x4e8(sp) | *(var_4e8h) = s4;
0x0000cad8 move s3, a0 | s3 = a0;
0x0000cadc move s0, a1 | s0 = a1;
0x0000cae0 move s1, a2 | s1 = a2;
0x0000cae4 move a1, zero | a1 = 0;
0x0000cae8 addiu a2, zero, 0x401 | a2 = 0x401;
0x0000caec move a0, s2 | a0 = s2;
0x0000caf0 sw v0, 0x4d4(sp) | *(var_4d4h) = v0;
0x0000caf4 jalr t9 | t9 ();
0x0000caf8 nop |
0x0000cafc lw gp, 0x60(sp) | gp = *(var_60h);
0x0000cb00 lw v0, -0x7f84(gp) | v0 = *(gp);
0x0000cb04 lw v0, (v0) | v0 = *(v0);
0x0000cb08 lw a2, 0x94(s3) | a2 = *((s3 + 37));
| if (v0 == 0) {
0x0000cb0c bnel v0, zero, 0xd37c | goto label_26;
| }
| label_17:
0x0000cb10 sll v0, s1, 2 | v0 = s1 << 2;
0x0000cb14 addu s4, s3, v0 | s4 = s3 + v0;
0x0000cb18 lw v0, 0x70(s3) | v0 = *((s3 + 28));
0x0000cb1c lw v1, 0x7c(s4) | v1 = *((s4 + 31));
0x0000cb20 slt a0, v0, v1 | a0 = (v0 < v1) ? 1 : 0;
| if (a0 != 0) {
0x0000cb24 beql a0, zero, 0xcb38 |
0x0000cb28 slti v1, v0, 2 | v1 = (v0 < 2) ? 1 : 0;
0x0000cb2c sw v1, 0x70(s3) | *((s3 + 28)) = v1;
0x0000cb30 move v0, v1 | v0 = v1;
0x0000cb34 slti v1, v0, 2 | v1 = (v0 < 2) ? 1 : 0;
| }
| if (v1 == 0) {
0x0000cb38 beql v1, zero, 0xd34c | goto label_27;
| }
0x0000cb3c lw v0, -0x7fac(gp) | v0 = *(gp);
0x0000cb40 addiu s5, zero, 1 | s5 = 1;
0x0000cb44 move s6, zero | s6 = 0;
| label_15:
0x0000cb48 lw v0, 0xb8(sp) | v0 = *(var_b8h);
| if (v0 <= 0) {
0x0000cb4c blez v0, 0xcf64 | goto label_28;
| }
0x0000cb50 lw v1, 0xa4(s3) | v1 = *((s3 + 41));
0x0000cb54 lw v0, 4(v1) | v0 = *((v1 + 1));
0x0000cb58 lw v0, -0x7fd8(gp) | v0 = *(gp);
| if (v0 < 0) {
0x0000cb5c bltz v0, 0xcf60 | goto label_29;
| }
0x0000cb60 sll s1, s1, 6 | s1 <<= 6;
0x0000cb64 sw v0, 0xbc(sp) | *(var_bch) = v0;
0x0000cb68 lw a2, 0x3130(v0) | a2 = *((v0 + 3148));
0x0000cb6c lw a3, 0x3134(v0) | a3 = *((v0 + 3149));
0x0000cb70 lw v0, -0x7fb8(gp) | v0 = *(gp);
0x0000cb74 addiu s0, s0, 0x26 | s0 += 0x26;
0x0000cb78 addu v0, v0, s1 | v0 += s1;
0x0000cb7c sll a0, s0, 2 | a0 = s0 << 2;
0x0000cb80 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x0000cb84 sw v0, 0x6c(sp) | *(var_6ch) = v0;
0x0000cb88 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0000cb8c move s2, zero | s2 = 0;
0x0000cb90 addu s1, s3, a0 | s1 = s3 + a0;
0x0000cb94 move fp, s2 | fp = s2;
0x0000cb98 sw a1, 0x74(sp) | *(var_74h) = a1;
0x0000cb9c sw a2, 0xc0(sp) | *(var_c0h) = a2;
0x0000cba0 sw a3, 0xc4(sp) | *(var_c4h) = a3;
| /* str.__11s */
0x0000cba4 addiu s7, v0, 0x2048 | s7 = v0 + 0x2048;
0x0000cba8 move s2, s3 | s2 = s3;
0x0000cbac sw s1, 0x70(sp) | *(var_70h) = s1;
0x0000cbb0 lw v0, (v1) | v0 = *(v1);
| do {
0x0000cbb4 sra v1, fp, 3 | v1 = fp >> 3;
0x0000cbb8 andi a0, fp, 7 | a0 = fp & 7;
0x0000cbbc lbux v0, v1(v0) | __asm ("lbux v0, v1(v0)");
0x0000cbc0 srav v0, v0, a0 | __asm ("srav v0, v0, a0");
0x0000cbc4 andi v0, v0, 1 | v0 &= 1;
0x0000cbc8 addiu v0, sp, 0x4d8 | v0 = sp + 0x4d8;
| if (v0 != 0) {
0x0000cbcc beqz v0, 0xcf38 |
0x0000cbd0 addu v1, v0, v1 | v1 = v0 + v1;
0x0000cbd4 lbu v0, -0x408(v1) | v0 = *(var_d0h);
0x0000cbd8 srav v0, v0, a0 | __asm ("srav v0, v0, a0");
0x0000cbdc andi v0, v0, 1 | v0 &= 1;
0x0000cbe0 lw v0, 0x70(s2) | v0 = *((s2 + 28));
| if (v0 == 0) {
0x0000cbe4 bnel v0, zero, 0xcf3c | goto label_5;
| }
0x0000cbe8 lw t1, 0x90(s2) | t1 = *((s2 + 36));
0x0000cbec lw v1, 0x70(sp) | v1 = *(var_70h);
0x0000cbf0 mul v0, fp, t1 | __asm ("mul v0, fp, t1");
0x0000cbf4 lw t9, -0x7ca8(gp) | t9 = sym.imp.__printf_chk
0x0000cbf8 lw t2, 0x98(s4) | t2 = *((s4 + 38));
0x0000cbfc lw t1, (v1) | t1 = *(v1);
0x0000cc00 lw a2, 0x6c(sp) | a2 = *(var_6ch);
0x0000cc04 move a1, s7 | a1 = s7;
0x0000cc08 addiu a0, zero, 1 | a0 = 1;
0x0000cc0c addu s1, t2, v0 | s1 = t2 + v0;
0x0000cc10 addu s3, t1, v0 | s3 = t1 + v0;
0x0000cc14 jalr t9 | t9 ();
0x0000cc18 lw gp, 0x60(sp) | gp = *(var_60h);
0x0000cc1c lw t9, -0x7df8(gp) | t9 = sym.cprintf_in
| if (fp != 0) {
0x0000cc20 bnez fp, 0xcfa0 | goto label_30;
| }
0x0000cc24 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x0000cc28 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x0000cc2c move a3, zero | a3 = 0;
| /* str.____all */
0x0000cc30 addiu a2, a2, 0x3168 | a2 += 0x3168;
| /* esilref: ' &s' */
0x0000cc34 addiu a1, a1, 0x3164 | a1 += 0x3164;
0x0000cc38 addiu a0, zero, 1 | a0 = 1;
0x0000cc3c bal 0x1d180 | sym_cprintf_in ()
0x0000cc40 lw v1, 0x70(s2) | v1 = *((s2 + 28));
0x0000cc44 addiu v0, zero, 1 | v0 = 1;
0x0000cc48 lw gp, 0x60(sp) | gp = *(var_60h);
| if (v1 == v0) {
0x0000cc4c beq v1, v0, 0xd3b0 | goto label_31;
| }
| label_18:
0x0000cc50 or v0, s5, s6 | v0 = s5 | s6;
0x0000cc54 addiu v1, zero, 1 | v1 = 1;
| if (v0 != 0) {
0x0000cc58 movz s5, v1, v0 | s5 = v1;
| }
| if (v0 != 0) {
0x0000cc5c movz s6, zero, v0 | s6 = 0;
| }
| label_4:
0x0000cc60 lw v0, 0x94(s2) | v0 = *((s2 + 37));
0x0000cc64 andi v1, v0, 1 | v1 = v0 & 1;
0x0000cc68 andi v0, v0, 2 | v0 &= 2;
| if (v1 != 0) {
0x0000cc6c bnez v1, 0xd09c | goto label_32;
| }
| if (v0 == 0) {
0x0000cc70 beql v0, zero, 0xcf3c | goto label_5;
| }
0x0000cc74 lw v0, 0x70(s2) | v0 = *((s2 + 28));
0x0000cc78 lw t4, 0x44(s3) | t4 = *((s3 + 17));
0x0000cc7c lw a1, 4(s3) | a1 = *((s3 + 1));
0x0000cc80 lw v1, (s1) | v1 = *(s1);
0x0000cc84 lw v0, (s3) | v0 = *(s3);
0x0000cc88 lw a2, 0x40(s1) | a2 = *((s1 + 16));
0x0000cc8c lw a0, 0x40(s3) | a0 = *((s3 + 16));
0x0000cc90 subu a1, a1, t4 | __asm ("subu a1, a1, t4");
0x0000cc94 lw a3, 4(s1) | a3 = *((s1 + 1));
0x0000cc98 lw t5, 0x44(s1) | t5 = *((s1 + 17));
0x0000cc9c lw t4, -0x7fac(gp) | t4 = *(gp);
0x0000cca0 subu a2, v1, a2 | __asm ("subu a2, v1, a2");
0x0000cca4 subu a0, v0, a0 | __asm ("subu a0, v0, a0");
0x0000cca8 sltu v0, v0, a0 | v0 = (v0 < a0) ? 1 : 0;
0x0000ccac sltu v1, v1, a2 | v1 = (v1 < a2) ? 1 : 0;
0x0000ccb0 subu a3, a3, t5 | __asm ("subu a3, a3, t5");
0x0000ccb4 lw s0, (t4) | s0 = *(t4);
0x0000ccb8 subu a3, a3, v1 | __asm ("subu a3, a3, v1");
0x0000ccbc subu a1, a1, v0 | __asm ("subu a1, a1, v0");
0x0000ccc0 sltu v0, a3, a1 | v0 = (a3 < a1) ? 1 : 0;
0x0000ccc4 ext s0, s0, 0x14, 1 | __asm ("ext s0, s0, 0x14, 1");
| if (v0 == 0) {
0x0000ccc8 beqz v0, 0xd2e0 | goto label_33;
| }
0x0000cccc sw zero, 0xa8(sp) | *(var_a8h) = 0;
| label_11:
0x0000ccd0 sw zero, 0xac(sp) | *(var_ach) = 0;
| label_12:
0x0000ccd4 lw v1, 8(s1) | v1 = *((s1 + 2));
0x0000ccd8 lw v0, 8(s3) | v0 = *((s3 + 2));
0x0000ccdc lw a2, 0x48(s1) | a2 = *((s1 + 18));
0x0000cce0 lw a0, 0x48(s3) | a0 = *((s3 + 18));
0x0000cce4 lw a3, 0xc(s1) | a3 = *((s1 + 3));
0x0000cce8 lw t5, 0x4c(s1) | t5 = *((s1 + 19));
0x0000ccec lw a1, 0xc(s3) | a1 = *((s3 + 3));
0x0000ccf0 lw t4, 0x4c(s3) | t4 = *((s3 + 19));
0x0000ccf4 subu a2, v1, a2 | __asm ("subu a2, v1, a2");
0x0000ccf8 subu a0, v0, a0 | __asm ("subu a0, v0, a0");
0x0000ccfc sltu v0, v0, a0 | v0 = (v0 < a0) ? 1 : 0;
0x0000cd00 sltu v1, v1, a2 | v1 = (v1 < a2) ? 1 : 0;
0x0000cd04 subu a3, a3, t5 | __asm ("subu a3, a3, t5");
0x0000cd08 subu a1, a1, t4 | __asm ("subu a1, a1, t4");
0x0000cd0c subu a3, a3, v1 | __asm ("subu a3, a3, v1");
0x0000cd10 subu a1, a1, v0 | __asm ("subu a1, a1, v0");
0x0000cd14 sltu v0, a3, a1 | v0 = (a3 < a1) ? 1 : 0;
| if (v0 == 0) {
0x0000cd18 beqz v0, 0xd2b0 | goto label_34;
| }
0x0000cd1c nop |
0x0000cd20 sw zero, 0xb0(sp) | *(var_b0h) = 0;
| label_9:
0x0000cd24 sw zero, 0xb4(sp) | *(var_b4h) = 0;
| label_10:
0x0000cd28 lw t9, -0x7df4(gp) | t9 = sym.ll_sp_value;
0x0000cd2c lw a2, 0x10(s1) | a2 = *((s1 + 4));
0x0000cd30 lw a3, 0x14(s1) | a3 = *((s1 + 5));
0x0000cd34 lw a0, 0x10(s3) | a0 = *((s3 + 4));
0x0000cd38 lw a1, 0x14(s3) | a1 = *((s3 + 5));
0x0000cd3c sw s5, 0x10(sp) | *(var_10h_2) = s5;
0x0000cd40 sw s6, 0x14(sp) | *(var_5ch) = s6;
0x0000cd44 bal 0x1bdb0 | sym_ll_sp_value ();
0x0000cd48 lw gp, 0x60(sp) | gp = *(var_60h);
0x0000cd4c lw a2, 0x20(s1) | a2 = *((s1 + 8));
0x0000cd50 lw a3, 0x24(s1) | a3 = *((s1 + 9));
0x0000cd54 lw a0, 0x20(s3) | a0 = *((s3 + 8));
0x0000cd58 lw a1, 0x24(s3) | a1 = *((s3 + 9));
0x0000cd5c lw t9, -0x7df4(gp) | t9 = sym.ll_sp_value;
0x0000cd60 sw s5, 0x10(sp) | *(var_10h_2) = s5;
0x0000cd64 sw s6, 0x14(sp) | *(var_5ch) = s6;
0x0000cd68 sw v0, 0x78(sp) | *(var_78h) = v0;
0x0000cd6c sw v1, 0x7c(sp) | *(var_7ch) = v1;
0x0000cd70 bal 0x1bdb0 | sym_ll_sp_value ();
0x0000cd74 lw gp, 0x60(sp) | gp = *(var_60h);
0x0000cd78 lw a2, 0x28(s1) | a2 = *((s1 + 10));
0x0000cd7c lw a3, 0x2c(s1) | a3 = *((s1 + 11));
0x0000cd80 lw a0, 0x28(s3) | a0 = *((s3 + 10));
0x0000cd84 lw a1, 0x2c(s3) | a1 = *((s3 + 11));
0x0000cd88 lw t9, -0x7df4(gp) | t9 = sym.ll_sp_value;
0x0000cd8c sw s5, 0x10(sp) | *(var_10h_2) = s5;
0x0000cd90 sw s6, 0x14(sp) | *(var_5ch) = s6;
0x0000cd94 sw v0, 0x80(sp) | *(var_80h) = v0;
0x0000cd98 sw v1, 0x84(sp) | *(var_84h) = v1;
0x0000cd9c bal 0x1bdb0 | sym_ll_sp_value ();
0x0000cda0 lw gp, 0x60(sp) | gp = *(var_60h);
0x0000cda4 lw a2, 0x30(s1) | a2 = *((s1 + 12));
0x0000cda8 lw a3, 0x34(s1) | a3 = *((s1 + 13));
0x0000cdac lw a0, 0x30(s3) | a0 = *((s3 + 12));
0x0000cdb0 lw a1, 0x34(s3) | a1 = *((s3 + 13));
0x0000cdb4 lw t9, -0x7df4(gp) | t9 = sym.ll_sp_value;
0x0000cdb8 sw s5, 0x10(sp) | *(var_10h_2) = s5;
0x0000cdbc sw s6, 0x14(sp) | *(var_5ch) = s6;
0x0000cdc0 sw v0, 0x88(sp) | *(var_88h) = v0;
0x0000cdc4 sw v1, 0x8c(sp) | *(var_8ch) = v1;
0x0000cdc8 bal 0x1bdb0 | sym_ll_sp_value ();
0x0000cdcc lw gp, 0x60(sp) | gp = *(var_60h);
0x0000cdd0 lw a2, 0x38(s1) | a2 = *((s1 + 14));
0x0000cdd4 lw a3, 0x3c(s1) | a3 = *((s1 + 15));
0x0000cdd8 lw a0, 0x38(s3) | a0 = *((s3 + 14));
0x0000cddc lw a1, 0x3c(s3) | a1 = *((s3 + 15));
0x0000cde0 lw t9, -0x7df4(gp) | t9 = sym.ll_sp_value;
0x0000cde4 sw s5, 0x10(sp) | *(var_10h_2) = s5;
0x0000cde8 sw s6, 0x14(sp) | *(var_5ch) = s6;
0x0000cdec sw v0, 0x90(sp) | *(var_90h) = v0;
0x0000cdf0 sw v1, 0x94(sp) | *(var_94h) = v1;
0x0000cdf4 bal 0x1bdb0 | sym_ll_sp_value ();
0x0000cdf8 lw gp, 0x60(sp) | gp = *(var_60h);
0x0000cdfc lw a2, 0x40(s1) | a2 = *((s1 + 16));
0x0000ce00 lw a3, 0x44(s1) | a3 = *((s1 + 17));
0x0000ce04 lw a0, 0x40(s3) | a0 = *((s3 + 16));
0x0000ce08 lw a1, 0x44(s3) | a1 = *((s3 + 17));
0x0000ce0c lw t9, -0x7df4(gp) | t9 = sym.ll_sp_value;
0x0000ce10 sw s5, 0x10(sp) | *(var_10h_2) = s5;
0x0000ce14 sw s6, 0x14(sp) | *(var_5ch) = s6;
0x0000ce18 sw v0, 0x98(sp) | *(var_98h) = v0;
0x0000ce1c sw v1, 0x9c(sp) | *(var_9ch) = v1;
0x0000ce20 bal 0x1bdb0 | sym_ll_sp_value ();
0x0000ce24 lw gp, 0x60(sp) | gp = *(var_60h);
0x0000ce28 lw a2, 0x48(s1) | a2 = *((s1 + 18));
0x0000ce2c lw a3, 0x4c(s1) | a3 = *((s1 + 19));
0x0000ce30 lw a0, 0x48(s3) | a0 = *((s3 + 18));
0x0000ce34 lw a1, 0x4c(s3) | a1 = *((s3 + 19));
0x0000ce38 lw t9, -0x7df4(gp) | t9 = sym.ll_sp_value;
0x0000ce3c sw s5, 0x10(sp) | *(var_10h_2) = s5;
0x0000ce40 sw s6, 0x14(sp) | *(var_5ch) = s6;
0x0000ce44 sw v0, 0xa0(sp) | *(var_a0h) = v0;
0x0000ce48 sw v1, 0xa4(sp) | *(var_a4h) = v1;
0x0000ce4c bal 0x1bdb0 | sym_ll_sp_value ();
0x0000ce50 lw a3, 0x1c(s1) | a3 = *((s1 + 7));
0x0000ce54 lw a1, 0x1c(s3) | a1 = *((s3 + 7));
0x0000ce58 move t4, v0 | t4 = v0;
0x0000ce5c sltu v0, a3, a1 | v0 = (a3 < a1) ? 1 : 0;
0x0000ce60 lw gp, 0x60(sp) | gp = *(var_60h);
0x0000ce64 move t5, v1 | t5 = v1;
0x0000ce68 lw a2, 0x18(s1) | a2 = *((s1 + 6));
0x0000ce6c lw a0, 0x18(s3) | a0 = *((s3 + 6));
| if (v0 == 0) {
0x0000ce70 beqz v0, 0xd274 | goto label_35;
| }
0x0000ce74 move v0, zero | v0 = 0;
| label_7:
0x0000ce78 move v1, zero | v1 = 0;
| label_8:
0x0000ce7c sw v0, 0x58(sp) | *(var_58h) = v0;
0x0000ce80 sw v1, 0x5c(sp) | *(var_5ch_2) = v1;
0x0000ce84 lw v0, 0xa0(sp) | v0 = *(var_a0h);
0x0000ce88 lw v1, 0xa4(sp) | v1 = *(var_a4h);
0x0000ce8c sw v0, 0x48(sp) | *(var_48h) = v0;
0x0000ce90 sw v1, 0x4c(sp) | *(var_4ch) = v1;
0x0000ce94 lw v0, 0x98(sp) | v0 = *(var_98h);
0x0000ce98 lw v1, 0x9c(sp) | v1 = *(var_9ch);
0x0000ce9c sw v0, 0x40(sp) | *(var_40h_2) = v0;
0x0000cea0 sw v1, 0x44(sp) | *(var_44h_2) = v1;
0x0000cea4 lw v0, 0x90(sp) | v0 = *(var_90h);
0x0000cea8 lw v1, 0x94(sp) | v1 = *(var_94h);
0x0000ceac sw v0, 0x38(sp) | *(var_38h_2) = v0;
0x0000ceb0 sw v1, 0x3c(sp) | *(var_3ch_2) = v1;
0x0000ceb4 lw v0, 0x88(sp) | v0 = *(var_88h);
0x0000ceb8 lw v1, 0x8c(sp) | v1 = *(var_8ch);
0x0000cebc sw v0, 0x30(sp) | *(var_30h_2) = v0;
0x0000cec0 sw v1, 0x34(sp) | *(var_34h_2) = v1;
0x0000cec4 lw v0, 0x80(sp) | v0 = *(var_80h);
0x0000cec8 lw v1, 0x84(sp) | v1 = *(var_84h);
0x0000cecc sw v0, 0x28(sp) | *(var_28h) = v0;
0x0000ced0 sw v1, 0x2c(sp) | *(var_2ch_2) = v1;
0x0000ced4 lw v0, 0x78(sp) | v0 = *(var_78h);
0x0000ced8 lw v1, 0x7c(sp) | v1 = *(var_7ch);
0x0000cedc sw v0, 0x20(sp) | *(var_20h_3) = v0;
0x0000cee0 sw v1, 0x24(sp) | *(var_24h) = v1;
0x0000cee4 lw v0, 0xb0(sp) | v0 = *(var_b0h);
0x0000cee8 lw v1, 0xb4(sp) | v1 = *(var_b4h);
0x0000ceec sw t4, 0x50(sp) | *(var_50h) = t4;
0x0000cef0 sw t5, 0x54(sp) | *(var_54h) = t5;
0x0000cef4 sw v1, 0x1c(sp) | *(var_1ch_3) = v1;
0x0000cef8 sw v0, 0x18(sp) | *(var_18h_2) = v0;
0x0000cefc lw v0, 0xa8(sp) | v0 = *(var_a8h);
0x0000cf00 lw v1, 0xac(sp) | v1 = *(var_ach);
0x0000cf04 lw t9, -0x7df0(gp) | t9 = sym.cprintf_pc
0x0000cf08 addiu a3, zero, 2 | a3 = 2;
0x0000cf0c addiu a2, zero, 9 | a2 = 9;
0x0000cf10 addiu a1, zero, 0xa | a1 = 0xa;
0x0000cf14 move a0, s0 | a0 = s0;
0x0000cf18 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x0000cf1c sw v1, 0x14(sp) | *(var_5ch) = v1;
0x0000cf20 bal 0x1cea4 | sym_cprintf_pc ()
0x0000cf24 lw gp, 0x60(sp) | gp = *(var_60h);
| label_6:
0x0000cf28 lw t9, -0x7c80(gp) | t9 = sym.imp.putchar;
0x0000cf2c addiu a0, zero, 0xa | a0 = 0xa;
0x0000cf30 jalr t9 | t9 ();
0x0000cf34 lw gp, 0x60(sp) | gp = *(var_60h);
| }
0x0000cf38 lw v0, 0x70(s2) | v0 = *((s2 + 28));
| label_5:
0x0000cf3c addiu fp, fp, 1 | fp++;
0x0000cf40 slt v0, fp, v0 | v0 = (fp < v0) ? 1 : 0;
0x0000cf44 lw v0, 0xb8(sp) | v0 = *(var_b8h);
| if (v0 == 0) {
0x0000cf48 beqz v0, 0xcf64 | goto label_28;
| }
0x0000cf4c lw v1, 0xa4(s2) | v1 = *((s2 + 41));
0x0000cf50 lw v0, 4(v1) | v0 = *((v1 + 1));
0x0000cf54 slt v0, v0, fp | v0 = (v0 < fp) ? 1 : 0;
0x0000cf58 beql v0, zero, 0xcbb4 |
| } while (v0 == 0);
0x0000cf5c lw v0, (v1) | v0 = *(v1);
| label_29:
0x0000cf60 lw v0, 0xb8(sp) | v0 = *(var_b8h);
| label_28:
0x0000cf64 lw v1, 0x4d4(sp) | v1 = *(var_4d4h);
0x0000cf68 lw v0, (v0) | v0 = *(v0);
0x0000cf6c lw ra, 0x4fc(sp) | ra = *(var_4fch);
| if (v1 != v0) {
0x0000cf70 bne v1, v0, 0xd408 | goto label_36;
| }
0x0000cf74 lw fp, 0x4f8(sp) | fp = *(var_4f8h);
0x0000cf78 lw s7, 0x4f4(sp) | s7 = *(var_4f4h);
0x0000cf7c lw s6, 0x4f0(sp) | s6 = *(var_4f0h);
0x0000cf80 lw s5, 0x4ec(sp) | s5 = *(var_4ech);
0x0000cf84 lw s4, 0x4e8(sp) | s4 = *(var_4e8h);
0x0000cf88 lw s3, 0x4e4(sp) | s3 = *(var_4e4h);
0x0000cf8c lw s2, 0x4e0(sp) | s2 = *(var_4e0h);
0x0000cf90 lw s1, 0x4dc(sp) | s1 = *(var_4dch);
0x0000cf94 lw s0, 0x4d8(sp) | s0 = *(var_4d8h);
0x0000cf98 addiu sp, sp, 0x500 |
0x0000cf9c jr ra | return v1;
| label_30:
0x0000cfa0 lw v0, 0x74(sp) | v0 = *(var_74h);
0x0000cfa4 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x0000cfa8 addiu a3, fp, -1 | a3 = fp + -1;
0x0000cfac addiu a2, v0, 0x21a4 | a2 = v0 + 0x21a4;
| /* str.__7d */
0x0000cfb0 addiu a1, a1, 0x3170 | a1 += 0x3170;
0x0000cfb4 move a0, zero | a0 = 0;
0x0000cfb8 bal 0x1d180 | sym_cprintf_in ()
0x0000cfbc lw gp, 0x60(sp) | gp = *(var_60h);
0x0000cfc0 move a1, s3 | a1 = s3;
0x0000cfc4 lw t9, -0x7e08(gp) | t9 = sym.get_per_cpu_interval;
0x0000cfc8 move a0, s1 | a0 = s1;
0x0000cfcc bal 0x1aa5c | sym_get_per_cpu_interval ();
0x0000cfd0 move s5, v0 | s5 = v0;
0x0000cfd4 or v0, v0, v1 | v0 |= v1;
0x0000cfd8 lw gp, 0x60(sp) | gp = *(var_60h);
0x0000cfdc move s6, v1 | s6 = v1;
| if (v0 != 0) {
0x0000cfe0 bnez v0, 0xcc60 | goto label_4;
| }
0x0000cfe4 lw s0, -0x7fac(gp) | s0 = *(gp);
0x0000cfe8 sw zero, 0x30(sp) | *(var_30h_2) = 0;
0x0000cfec sw zero, 0x34(sp) | *(var_34h_2) = 0;
0x0000cff0 lw a0, (s0) | a0 = *(s0);
0x0000cff4 lw t9, -0x7df0(gp) | t9 = sym.cprintf_pc
0x0000cff8 sw zero, 0x28(sp) | *(var_28h) = 0;
0x0000cffc sw zero, 0x2c(sp) | *(var_2ch_2) = 0;
0x0000d000 sw zero, 0x20(sp) | *(var_20h_3) = 0;
0x0000d004 sw zero, 0x24(sp) | *(var_24h) = 0;
0x0000d008 sw zero, 0x18(sp) | *(var_18h_2) = 0;
0x0000d00c sw zero, 0x1c(sp) | *(var_1ch_3) = 0;
0x0000d010 sw zero, 0x10(sp) | *(var_10h_2) = 0;
0x0000d014 sw zero, 0x14(sp) | *(var_5ch) = 0;
0x0000d018 addiu a3, zero, 2 | a3 = 2;
0x0000d01c addiu a2, zero, 9 | a2 = 9;
0x0000d020 addiu a1, zero, 5 | a1 = 5;
0x0000d024 ext a0, a0, 0x14, 1 | __asm ("ext a0, a0, 0x14, 1");
0x0000d028 bal 0x1cea4 | sym_cprintf_pc ()
0x0000d02c lw v0, 0x94(s2) | v0 = *((s2 + 37));
0x0000d030 andi v1, v0, 1 | v1 = v0 & 1;
0x0000d034 lw gp, 0x60(sp) | gp = *(var_60h);
| if (v1 != 0) {
0x0000d038 bnez v1, 0xd3d0 | goto label_37;
| }
0x0000d03c andi v0, v0, 2 | v0 &= 2;
| if (v0 == 0) {
0x0000d040 beql v0, zero, 0xcf3c | goto label_5;
| }
0x0000d044 lw v0, 0x70(s2) | v0 = *((s2 + 28));
0x0000d048 lw a0, (s0) | a0 = *(s0);
0x0000d04c lw v0, 0xc0(sp) | v0 = *(var_c0h);
0x0000d050 lw v1, 0xc4(sp) | v1 = *(var_c4h);
0x0000d054 lw t9, -0x7df0(gp) | t9 = sym.cprintf_pc
0x0000d058 addiu a3, zero, 2 | a3 = 2;
0x0000d05c addiu a2, zero, 9 | a2 = 9;
0x0000d060 addiu a1, zero, 5 | a1 = 5;
0x0000d064 ext a0, a0, 0x14, 1 | __asm ("ext a0, a0, 0x14, 1");
0x0000d068 sw v0, 0x30(sp) | *(var_30h_2) = v0;
0x0000d06c sw v1, 0x34(sp) | *(var_34h_2) = v1;
0x0000d070 sw zero, 0x28(sp) | *(var_28h) = 0;
0x0000d074 sw zero, 0x2c(sp) | *(var_2ch_2) = 0;
0x0000d078 sw zero, 0x20(sp) | *(var_20h_3) = 0;
0x0000d07c sw zero, 0x24(sp) | *(var_24h) = 0;
0x0000d080 sw zero, 0x18(sp) | *(var_18h_2) = 0;
0x0000d084 sw zero, 0x1c(sp) | *(var_1ch_3) = 0;
0x0000d088 sw zero, 0x10(sp) | *(var_10h_2) = 0;
0x0000d08c sw zero, 0x14(sp) | *(var_5ch) = 0;
0x0000d090 bal 0x1cea4 | sym_cprintf_pc ()
0x0000d094 lw gp, 0x60(sp) | gp = *(var_60h);
0x0000d098 b 0xcf28 | goto label_6;
| label_32:
0x0000d09c lw v0, -0x7fac(gp) | v0 = *(gp);
0x0000d0a0 lw t9, -0x7df4(gp) | t9 = sym.ll_sp_value;
0x0000d0a4 lw a2, (s1) | a2 = *(s1);
0x0000d0a8 lw a3, 4(s1) | a3 = *((s1 + 1));
0x0000d0ac lw a0, (s3) | a0 = *(s3);
0x0000d0b0 lw a1, 4(s3) | a1 = *((s3 + 1));
0x0000d0b4 lw s0, (v0) | s0 = *(v0);
0x0000d0b8 sw s5, 0x10(sp) | *(var_10h_2) = s5;
0x0000d0bc sw s6, 0x14(sp) | *(var_5ch) = s6;
0x0000d0c0 bal 0x1bdb0 | sym_ll_sp_value ();
0x0000d0c4 lw gp, 0x60(sp) | gp = *(var_60h);
0x0000d0c8 lw a2, 8(s1) | a2 = *((s1 + 2));
0x0000d0cc lw a3, 0xc(s1) | a3 = *((s1 + 3));
0x0000d0d0 lw a0, 8(s3) | a0 = *((s3 + 2));
0x0000d0d4 lw a1, 0xc(s3) | a1 = *((s3 + 3));
0x0000d0d8 lw t9, -0x7df4(gp) | t9 = sym.ll_sp_value;
0x0000d0dc sw s5, 0x10(sp) | *(var_10h_2) = s5;
0x0000d0e0 sw s6, 0x14(sp) | *(var_5ch) = s6;
0x0000d0e4 sw v0, 0x78(sp) | *(var_78h) = v0;
0x0000d0e8 sw v1, 0x7c(sp) | *(var_7ch) = v1;
0x0000d0ec bal 0x1bdb0 | sym_ll_sp_value ();
0x0000d0f0 lw t5, 0x10(s1) | t5 = *((s1 + 4));
0x0000d0f4 lw t4, 0x10(s3) | t4 = *((s3 + 4));
0x0000d0f8 lw a3, 0x30(s1) | a3 = *((s1 + 12));
0x0000d0fc lw a1, 0x30(s3) | a1 = *((s3 + 12));
0x0000d100 lw t1, 0x14(s1) | t1 = *((s1 + 5));
0x0000d104 lw t9, 0x14(s3) | t9 = *((s3 + 5));
0x0000d108 lw t7, 0x34(s1) | t7 = *((s1 + 13));
0x0000d10c lw t6, 0x34(s3) | t6 = *((s3 + 13));
0x0000d110 lw a2, 0x38(s1) | a2 = *((s1 + 14));
0x0000d114 lw a0, 0x38(s3) | a0 = *((s3 + 14));
0x0000d118 lw gp, 0x60(sp) | gp = *(var_60h);
0x0000d11c addu a3, t5, a3 | a3 = t5 + a3;
0x0000d120 addu a1, t4, a1 | a1 = t4 + a1;
0x0000d124 addu t6, t9, t6 | t6 = t9 + t6;
0x0000d128 lw t8, 0x3c(s1) | t8 = *((s1 + 15));
0x0000d12c lw t0, 0x3c(s3) | t0 = *((s3 + 15));
0x0000d130 addu t7, t1, t7 | t7 = t1 + t7;
0x0000d134 sltu t5, a3, t5 | t5 = (a3 < t5) ? 1 : 0;
0x0000d138 sltu t4, a1, t4 | t4 = (a1 < t4) ? 1 : 0;
0x0000d13c addu t5, t5, t7 | t5 += t7;
0x0000d140 addu t4, t4, t6 | t4 += t6;
0x0000d144 addu a2, a3, a2 | a2 = a3 + a2;
0x0000d148 addu a0, a1, a0 | a0 = a1 + a0;
0x0000d14c addu t8, t5, t8 | t8 = t5 + t8;
0x0000d150 addu t0, t4, t0 | t0 = t4 + t0;
0x0000d154 sltu a3, a2, a3 | a3 = (a2 < a3) ? 1 : 0;
0x0000d158 lw t9, -0x7df4(gp) | t9 = sym.ll_sp_value;
0x0000d15c sltu a1, a0, a1 | a1 = (a0 < a1) ? 1 : 0;
0x0000d160 addu a3, a3, t8 | a3 += t8;
0x0000d164 addu a1, a1, t0 | a1 += t0;
0x0000d168 sw s5, 0x10(sp) | *(var_10h_2) = s5;
0x0000d16c sw s6, 0x14(sp) | *(var_5ch) = s6;
0x0000d170 sw v0, 0x80(sp) | *(var_80h) = v0;
0x0000d174 sw v1, 0x84(sp) | *(var_84h) = v1;
0x0000d178 bal 0x1bdb0 | sym_ll_sp_value ();
0x0000d17c lw gp, 0x60(sp) | gp = *(var_60h);
0x0000d180 lw a2, 0x20(s1) | a2 = *((s1 + 8));
0x0000d184 lw a3, 0x24(s1) | a3 = *((s1 + 9));
0x0000d188 lw a0, 0x20(s3) | a0 = *((s3 + 8));
0x0000d18c lw a1, 0x24(s3) | a1 = *((s3 + 9));
0x0000d190 lw t9, -0x7df4(gp) | t9 = sym.ll_sp_value;
0x0000d194 sw s5, 0x10(sp) | *(var_10h_2) = s5;
0x0000d198 sw s6, 0x14(sp) | *(var_5ch) = s6;
0x0000d19c sw v0, 0x88(sp) | *(var_88h) = v0;
0x0000d1a0 sw v1, 0x8c(sp) | *(var_8ch) = v1;
0x0000d1a4 bal 0x1bdb0 | sym_ll_sp_value ();
0x0000d1a8 lw gp, 0x60(sp) | gp = *(var_60h);
0x0000d1ac lw a2, 0x28(s1) | a2 = *((s1 + 10));
0x0000d1b0 lw a3, 0x2c(s1) | a3 = *((s1 + 11));
0x0000d1b4 lw a0, 0x28(s3) | a0 = *((s3 + 10));
0x0000d1b8 lw a1, 0x2c(s3) | a1 = *((s3 + 11));
0x0000d1bc lw t9, -0x7df4(gp) | t9 = sym.ll_sp_value;
0x0000d1c0 sw s5, 0x10(sp) | *(var_10h_2) = s5;
0x0000d1c4 sw s6, 0x14(sp) | *(var_5ch) = s6;
0x0000d1c8 sw v0, 0x90(sp) | *(var_90h) = v0;
0x0000d1cc sw v1, 0x94(sp) | *(var_94h) = v1;
0x0000d1d0 bal 0x1bdb0 | sym_ll_sp_value ();
0x0000d1d4 lw a3, 0x1c(s1) | a3 = *((s1 + 7));
0x0000d1d8 lw a1, 0x1c(s3) | a1 = *((s3 + 7));
0x0000d1dc move t4, v0 | t4 = v0;
0x0000d1e0 sltu v0, a3, a1 | v0 = (a3 < a1) ? 1 : 0;
0x0000d1e4 ext s0, s0, 0x14, 1 | __asm ("ext s0, s0, 0x14, 1");
0x0000d1e8 lw gp, 0x60(sp) | gp = *(var_60h);
0x0000d1ec move t5, v1 | t5 = v1;
0x0000d1f0 lw a2, 0x18(s1) | a2 = *((s1 + 6));
0x0000d1f4 lw a0, 0x18(s3) | a0 = *((s3 + 6));
| if (v0 == 0) {
0x0000d1f8 beqz v0, 0xd310 | goto label_38;
| }
0x0000d1fc move v0, zero | v0 = 0;
| label_13:
0x0000d200 move v1, zero | v1 = 0;
| label_14:
0x0000d204 sw v0, 0x38(sp) | *(var_38h_2) = v0;
0x0000d208 sw v1, 0x3c(sp) | *(var_3ch_2) = v1;
0x0000d20c lw v0, 0x90(sp) | v0 = *(var_90h);
0x0000d210 lw v1, 0x94(sp) | v1 = *(var_94h);
0x0000d214 sw v0, 0x28(sp) | *(var_28h) = v0;
0x0000d218 sw v1, 0x2c(sp) | *(var_2ch_2) = v1;
0x0000d21c lw v0, 0x88(sp) | v0 = *(var_88h);
0x0000d220 lw v1, 0x8c(sp) | v1 = *(var_8ch);
0x0000d224 sw v0, 0x20(sp) | *(var_20h_3) = v0;
0x0000d228 sw v1, 0x24(sp) | *(var_24h) = v1;
0x0000d22c lw v0, 0x80(sp) | v0 = *(var_80h);
0x0000d230 lw v1, 0x84(sp) | v1 = *(var_84h);
0x0000d234 sw v0, 0x18(sp) | *(var_18h_2) = v0;
0x0000d238 sw v1, 0x1c(sp) | *(var_1ch_3) = v1;
0x0000d23c lw v0, 0x78(sp) | v0 = *(var_78h);
0x0000d240 lw v1, 0x7c(sp) | v1 = *(var_7ch);
0x0000d244 lw t9, -0x7df0(gp) | t9 = sym.cprintf_pc
0x0000d248 addiu a3, zero, 2 | a3 = 2;
0x0000d24c addiu a2, zero, 9 | a2 = 9;
0x0000d250 addiu a1, zero, 6 | a1 = 6;
0x0000d254 move a0, s0 | a0 = s0;
0x0000d258 sw t4, 0x30(sp) | *(var_30h_2) = t4;
0x0000d25c sw t5, 0x34(sp) | *(var_34h_2) = t5;
0x0000d260 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x0000d264 sw v1, 0x14(sp) | *(var_5ch) = v1;
0x0000d268 bal 0x1cea4 | sym_cprintf_pc ()
0x0000d26c lw gp, 0x60(sp) | gp = *(var_60h);
0x0000d270 b 0xcf28 | goto label_6;
| label_35:
0x0000d274 lw t9, -0x7df4(gp) | t9 = sym.ll_sp_value;
| if (a1 != a3) {
0x0000d278 bne a1, a3, 0xd28c | goto label_39;
| }
0x0000d27c sltu v0, a2, a0 | v0 = (a2 < a0) ? 1 : 0;
0x0000d280 move v0, zero | v0 = 0;
| if (v0 == 0) {
0x0000d284 bnel v0, zero, 0xce78 | goto label_7;
| }
0x0000d288 lw t9, -0x7df4(gp) | t9 = sym.ll_sp_value;
| label_39:
0x0000d28c sw t4, 0xc8(sp) | *(var_c8h) = t4;
0x0000d290 sw t5, 0xcc(sp) | *(var_cch) = t5;
0x0000d294 sw s5, 0x10(sp) | *(var_10h_2) = s5;
0x0000d298 sw s6, 0x14(sp) | *(var_5ch) = s6;
0x0000d29c bal 0x1bdb0 | sym_ll_sp_value ();
0x0000d2a0 lw gp, 0x60(sp) | gp = *(var_60h);
0x0000d2a4 lw t4, 0xc8(sp) | t4 = *(var_c8h);
0x0000d2a8 lw t5, 0xcc(sp) | t5 = *(var_cch);
0x0000d2ac b 0xce7c | goto label_8;
| label_34:
0x0000d2b0 sltu v0, a2, a0 | v0 = (a2 < a0) ? 1 : 0;
| if (a1 != a3) {
0x0000d2b4 bne a1, a3, 0xd2c0 | goto label_40;
| }
0x0000d2b8 sw zero, 0xb0(sp) | *(var_b0h) = 0;
| if (v0 == 0) {
0x0000d2bc bnel v0, zero, 0xcd24 | goto label_9;
| }
| label_40:
0x0000d2c0 lw t9, -0x7df4(gp) | t9 = sym.ll_sp_value;
0x0000d2c4 sw s5, 0x10(sp) | *(var_10h_2) = s5;
0x0000d2c8 sw s6, 0x14(sp) | *(var_5ch) = s6;
0x0000d2cc bal 0x1bdb0 | sym_ll_sp_value ();
0x0000d2d0 sw v0, 0xb0(sp) | *(var_b0h) = v0;
0x0000d2d4 lw gp, 0x60(sp) | gp = *(var_60h);
0x0000d2d8 sw v1, 0xb4(sp) | *(var_b4h) = v1;
0x0000d2dc b 0xcd28 | goto label_10;
| label_33:
0x0000d2e0 sltu v0, a2, a0 | v0 = (a2 < a0) ? 1 : 0;
| if (a1 != a3) {
0x0000d2e4 bne a1, a3, 0xd2f0 | goto label_41;
| }
0x0000d2e8 sw zero, 0xa8(sp) | *(var_a8h) = 0;
| if (v0 == 0) {
0x0000d2ec bnel v0, zero, 0xccd0 | goto label_11;
| }
| label_41:
0x0000d2f0 lw t9, -0x7df4(gp) | t9 = sym.ll_sp_value;
0x0000d2f4 sw s5, 0x10(sp) | *(var_10h_2) = s5;
0x0000d2f8 sw s6, 0x14(sp) | *(var_5ch) = s6;
0x0000d2fc bal 0x1bdb0 | sym_ll_sp_value ();
0x0000d300 sw v0, 0xa8(sp) | *(var_a8h) = v0;
0x0000d304 lw gp, 0x60(sp) | gp = *(var_60h);
0x0000d308 sw v1, 0xac(sp) | *(var_ach) = v1;
0x0000d30c b 0xccd4 | goto label_12;
| label_38:
0x0000d310 lw t9, -0x7df4(gp) | t9 = sym.ll_sp_value;
| if (a1 != a3) {
0x0000d314 bne a1, a3, 0xd328 | goto label_42;
| }
0x0000d318 sltu v0, a2, a0 | v0 = (a2 < a0) ? 1 : 0;
0x0000d31c move v0, zero | v0 = 0;
| if (v0 == 0) {
0x0000d320 bnel v0, zero, 0xd200 | goto label_13;
| }
0x0000d324 lw t9, -0x7df4(gp) | t9 = sym.ll_sp_value;
| label_42:
0x0000d328 sw t4, 0x98(sp) | *(var_98h) = t4;
0x0000d32c sw t5, 0x9c(sp) | *(var_9ch) = t5;
0x0000d330 sw s5, 0x10(sp) | *(var_10h_2) = s5;
0x0000d334 sw s6, 0x14(sp) | *(var_5ch) = s6;
0x0000d338 bal 0x1bdb0 | sym_ll_sp_value ();
0x0000d33c lw gp, 0x60(sp) | gp = *(var_60h);
0x0000d340 lw t4, 0x98(sp) | t4 = *(var_98h);
0x0000d344 lw t5, 0x9c(sp) | t5 = *(var_9ch);
0x0000d348 b 0xd204 | goto label_14;
| label_27:
0x0000d34c sw s2, 0x10(sp) | *(var_10h_2) = s2;
0x0000d350 lw t9, -0x7dec(gp) | t9 = sym.get_global_cpu_statistics;
0x0000d354 lw a3, (v0) | a3 = *(v0);
0x0000d358 move a2, s1 | a2 = s1;
0x0000d35c move a1, s0 | a1 = s0;
0x0000d360 move a0, s3 | a0 = s3;
0x0000d364 bal 0xbdc0 | sym_get_global_cpu_statistics ();
0x0000d368 move s5, v0 | s5 = v0;
0x0000d36c lw gp, 0x60(sp) | gp = *(var_60h);
0x0000d370 move s6, v1 | s6 = v1;
0x0000d374 lw v0, 0x70(s3) | v0 = *((s3 + 28));
0x0000d378 b 0xcb48 | goto label_15;
| label_26:
0x0000d37c lw a0, -0x7fb8(gp) | a0 = *(gp);
0x0000d380 sltiu v0, s1, 1 | v0 = (s1 < 1) ? 1 : 0;
0x0000d384 sll v0, v0, 6 | v0 <<= 6;
0x0000d388 addiu v1, zero, 9 | v1 = 9;
0x0000d38c lw t9, -0x7de8(gp) | t9 = sym.print_hdr_line;
0x0000d390 sw v1, 0x10(sp) | *(var_10h_2) = v1;
0x0000d394 addiu a3, zero, 7 | a3 = 7;
0x0000d398 ext a2, a2, 1, 1 | __asm ("ext a2, a2, 1, 1");
0x0000d39c move a1, s3 | a1 = s3;
0x0000d3a0 addu a0, a0, v0 | a0 += v0;
0x0000d3a4 bal 0xc7f0 | sym_print_hdr_line ();
| goto label_16;
0x0000d3a8 lw gp, 0x60(sp) | gp = *(var_60h);
0x0000d3ac b 0xcb10 | goto label_17;
| label_31:
0x0000d3b0 lw t9, -0x7e08(gp) | t9 = sym.get_per_cpu_interval;
0x0000d3b4 move a1, s3 | a1 = s3;
0x0000d3b8 move a0, s1 | a0 = s1;
0x0000d3bc bal 0x1aa5c | sym_get_per_cpu_interval ();
0x0000d3c0 move s5, v0 | s5 = v0;
0x0000d3c4 lw gp, 0x60(sp) | gp = *(var_60h);
0x0000d3c8 move s6, v1 | s6 = v1;
0x0000d3cc b 0xcc50 | goto label_18;
| label_37:
0x0000d3d0 lw v0, 0xbc(sp) | v0 = *(var_bch);
0x0000d3d4 lw a0, (s0) | a0 = *(s0);
0x0000d3d8 lw t9, -0x7df0(gp) | t9 = sym.cprintf_pc
0x0000d3dc lw v1, 0x3134(v0) | v1 = *((v0 + 3149));
0x0000d3e0 lw v0, 0x3130(v0) | v0 = *((v0 + 3148));
0x0000d3e4 addiu a3, zero, 2 | a3 = 2;
0x0000d3e8 addiu a2, zero, 9 | a2 = 9;
0x0000d3ec addiu a1, zero, 1 | a1 = 1;
0x0000d3f0 ext a0, a0, 0x14, 1 | __asm ("ext a0, a0, 0x14, 1");
0x0000d3f4 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x0000d3f8 sw v1, 0x14(sp) | *(var_5ch) = v1;
0x0000d3fc bal 0x1cea4 | sym_cprintf_pc ()
0x0000d400 lw gp, 0x60(sp) | gp = *(var_60h);
0x0000d404 b 0xcf28 | goto label_6;
| label_36:
0x0000d408 lw t9, -0x7c10(gp) | t9 = sym.imp.__stack_chk_fail;
0x0000d40c jalr t9 | t9 ();
0x0000d410 nop |
0x0000d414 lui gp, 3 |
0x0000d418 addiu gp, gp, 0x73c |
0x0000d41c addu gp, gp, t9 | gp += t9;
0x0000d420 addiu sp, sp, -0x48 |
0x0000d424 lw v0, -0x7f84(gp) | v0 = *(gp);
0x0000d428 sw s4, 0x3c(sp) | *(var_3ch) = s4;
0x0000d42c sw s0, 0x2c(sp) | *(var_2ch) = s0;
0x0000d430 addiu s4, a2, 0x26 | s4 = a2 + 0x26;
0x0000d434 addiu s0, a1, 0x26 | s0 = a1 + 0x26;
0x0000d438 sll s4, s4, 2 | s4 <<= 2;
0x0000d43c sll s0, s0, 2 | s0 <<= 2;
0x0000d440 lw v0, (v0) | v0 = *(v0);
0x0000d444 sw gp, 0x20(sp) | *(var_20h_2) = gp;
0x0000d448 sw s3, 0x38(sp) | *(var_38h) = s3;
0x0000d44c sw s2, 0x34(sp) | *(var_34h) = s2;
0x0000d450 sw s1, 0x30(sp) | *(var_30h) = s1;
0x0000d454 sw ra, 0x44(sp) | *(var_44h) = ra;
0x0000d458 sw s5, 0x40(sp) | *(var_40h) = s5;
0x0000d45c move s1, a2 | s1 = a2;
0x0000d460 lw s2, 0x58(sp) | s2 = *(var_10h_2);
0x0000d464 lw s3, 0x5c(sp) | s3 = *(var_5ch);
0x0000d468 lwx s4, s4(a0) | __asm ("lwx s4, s4(a0)");
0x0000d46c lwx s0, s0(a0) | __asm ("lwx s0, s0(a0)");
| if (v0 != 0) {
0x0000d470 bnez v0, 0xd5c4 | goto label_43;
| }
0x0000d474 lw s5, -0x7fb8(gp) | s5 = *(gp);
| do {
0x0000d478 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x0000d47c lw t9, -0x7ca8(gp) | t9 = sym.imp.__printf_chk
0x0000d480 sll a2, s1, 6 | a2 = s1 << 6;
0x0000d484 addu a2, s5, a2 | a2 = s5 + a2;
| /* str.__11s */
0x0000d488 addiu a1, a1, 0x2048 | a1 += 0x2048;
0x0000d48c addiu a0, zero, 1 | a0 = 1;
0x0000d490 jalr t9 | t9 ();
0x0000d494 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x0000d498 move a0, s2 | a0 = s2;
0x0000d49c lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000d4a0 move a1, s3 | a1 = s3;
0x0000d4a4 bal 0x20f20 | fcn_00020f20 ();
0x0000d4a8 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x0000d4ac lw a1, (s4) | a1 = *(s4);
0x0000d4b0 lw a0, (s0) | a0 = *(s0);
0x0000d4b4 lw a3, 4(s0) | a3 = *((s0 + 1));
0x0000d4b8 lw a2, 4(s4) | a2 = *((s4 + 1));
0x0000d4bc subu a0, a1, a0 | __asm ("subu a0, a1, a0");
0x0000d4c0 subu a2, a2, a3 | __asm ("subu a2, a2, a3");
0x0000d4c4 sltu a1, a1, a0 | a1 = (a1 < a0) ? 1 : 0;
0x0000d4c8 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000d4cc subu a1, a2, a1 | __asm ("subu a1, a2, a1");
0x0000d4d0 lw s1, -0x7fd8(gp) | s1 = *(gp);
0x0000d4d4 move s2, v0 | s2 = v0;
0x0000d4d8 move s3, v1 | s3 = v1;
0x0000d4dc bal 0x20f20 | fcn_00020f20 ();
0x0000d4e0 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x0000d4e4 move a2, s2 | a2 = s2;
0x0000d4e8 move a3, s3 | a3 = s3;
0x0000d4ec lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000d4f0 move a0, v0 | a0 = v0;
0x0000d4f4 move a1, v1 | a1 = v1;
0x0000d4f8 bal 0x1f460 | fcn_0001f460 ();
0x0000d4fc lw gp, 0x20(sp) | gp = *(var_20h_2);
0x0000d500 lw a2, 0x3130(s1) | a2 = *((s1 + 3148));
0x0000d504 lw a3, 0x3134(s1) | a3 = *((s1 + 3149));
0x0000d508 lw t9, -0x7e70(gp) | t9 = *(gp);
0x0000d50c move a1, v1 | a1 = v1;
0x0000d510 move a0, v0 | a0 = v0;
0x0000d514 bal 0x1ff60 | fcn_0001ff60 ();
0x0000d518 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x0000d51c sw v0, 0x18(sp) | *(var_18h) = v0;
0x0000d520 sw v1, 0x1c(sp) | *(var_1ch_2) = v1;
0x0000d524 lw a0, 8(s4) | a0 = *((s4 + 2));
0x0000d528 lw v0, 8(s0) | v0 = *((s0 + 2));
0x0000d52c lw t9, -0x7e6c(gp) | t9 = *(gp);
0x0000d530 subu a0, a0, v0 | __asm ("subu a0, a0, v0");
0x0000d534 bal 0x20e80 | fcn_00020e80 ();
0x0000d538 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x0000d53c move a2, s2 | a2 = s2;
0x0000d540 move a3, s3 | a3 = s3;
0x0000d544 lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000d548 move a0, v0 | a0 = v0;
0x0000d54c move a1, v1 | a1 = v1;
0x0000d550 bal 0x1f460 | fcn_0001f460 ();
0x0000d554 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x0000d558 lw a2, 0x3130(s1) | a2 = *((s1 + 3148));
0x0000d55c lw a3, 0x3134(s1) | a3 = *((s1 + 3149));
0x0000d560 lw t9, -0x7e70(gp) | t9 = *(gp);
0x0000d564 move a0, v0 | a0 = v0;
0x0000d568 move a1, v1 | a1 = v1;
0x0000d56c bal 0x1ff60 | fcn_0001ff60 ();
0x0000d570 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x0000d574 addiu a0, zero, -1 | a0 = -1;
0x0000d578 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x0000d57c lw t9, -0x7de4(gp) | t9 = sym.cprintf_f
0x0000d580 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000d584 addiu a3, zero, 2 | a3 = 2;
0x0000d588 addiu a2, zero, 9 | a2 = 9;
0x0000d58c addiu a1, zero, 2 | a1 = 2;
0x0000d590 bal 0x1cc08 | sym_cprintf_f ()
0x0000d594 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x0000d598 lw ra, 0x44(sp) | ra = *(var_44h);
0x0000d59c lw s5, 0x40(sp) | s5 = *(var_40h);
0x0000d5a0 lw s4, 0x3c(sp) | s4 = *(var_3ch);
0x0000d5a4 lw s3, 0x38(sp) | s3 = *(var_38h);
0x0000d5a8 lw s2, 0x34(sp) | s2 = *(var_34h);
0x0000d5ac lw s1, 0x30(sp) | s1 = *(var_30h);
0x0000d5b0 lw s0, 0x2c(sp) | s0 = *(var_2ch);
0x0000d5b4 lw t9, -0x7c80(gp) | t9 = sym.imp.putchar;
0x0000d5b8 addiu a0, zero, 0xa | a0 = 0xa;
0x0000d5bc addiu sp, sp, 0x48 |
0x0000d5c0 jr t9 | t9 ();
| label_43:
0x0000d5c4 lw s5, -0x7fb8(gp) | s5 = *(gp);
0x0000d5c8 sltiu v0, a2, 1 | v0 = (a2 < 1) ? 1 : 0;
0x0000d5cc sll v0, v0, 6 | v0 <<= 6;
0x0000d5d0 addiu v1, zero, 9 | v1 = 9;
0x0000d5d4 lw t9, -0x7de8(gp) | t9 = sym.print_hdr_line;
0x0000d5d8 move a1, a0 | a1 = a0;
0x0000d5dc sw v1, 0x10(sp) | *(var_10h_3) = v1;
0x0000d5e0 move a3, zero | a3 = 0;
0x0000d5e4 move a2, zero | a2 = 0;
0x0000d5e8 addu a0, s5, v0 | a0 = s5 + v0;
0x0000d5ec bal 0xc7f0 | sym_print_hdr_line ();
| goto label_16;
0x0000d5f0 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x0000d5f4 b 0xd478 |
| } while (1);
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/sar @ 0x18c0c */
| #include <stdint.h>
|
; (fcn) sym.stub_print_filesystem_stats () | void stub_print_filesystem_stats () {
0x00018c0c lui gp, 2 |
0x00018c10 addiu gp, gp, 0x4f44 |
0x00018c14 addu gp, gp, t9 | gp += t9;
0x00018c18 addiu sp, sp, -0x90 |
0x00018c1c lw v0, -0x7f84(gp) | v0 = *(gp);
0x00018c20 sw s3, 0x74(sp) | *(var_74h) = s3;
0x00018c24 lw s3, -0x7fac(gp) | s3 = *(gp);
0x00018c28 lw t0, (v0) | t0 = *(v0);
0x00018c2c lui v0, 0x200 | v0 = imp._ITM_registerTMCloneTable;
0x00018c30 lw v1, (s3) | v1 = *(s3);
0x00018c34 sw s1, 0x6c(sp) | *(var_6ch) = s1;
0x00018c38 and v0, v1, v0 | v0 = v1 & v0;
0x00018c3c move s1, a0 | s1 = a0;
0x00018c40 ext v1, v1, 0x14, 1 | __asm ("ext v1, v1, 0x14, 1");
0x00018c44 sw a1, 0x94(sp) | *(arg_94h) = a1;
0x00018c48 addiu a0, zero, 1 | a0 = 1;
0x00018c4c addiu a1, zero, -1 | a1 = -1;
0x00018c50 sw gp, 0x20(sp) | *(var_20h) = gp;
| if (v1 != 0) {
0x00018c54 movz a0, a1, v1 | a0 = a1;
| }
0x00018c58 or v0, v0, t0 | v0 |= t0;
0x00018c5c sw s0, 0x68(sp) | *(var_68h) = s0;
0x00018c60 sw ra, 0x8c(sp) | *(var_8ch) = ra;
0x00018c64 sw fp, 0x88(sp) | *(var_88h) = fp;
0x00018c68 sw s7, 0x84(sp) | *(var_84h) = s7;
0x00018c6c sw s6, 0x80(sp) | *(var_80h) = s6;
0x00018c70 sw s5, 0x7c(sp) | *(var_7ch) = s5;
0x00018c74 sw s4, 0x78(sp) | *(var_78h) = s4;
0x00018c78 sw s2, 0x70(sp) | *(var_70h) = s2;
0x00018c7c move s0, a2 | s0 = a2;
0x00018c80 sw a3, 0x9c(sp) | *(arg_9ch) = a3;
0x00018c84 sw a0, 0x30(sp) | *(var_30h) = a0;
| if (v0 != 0) {
0x00018c88 beqz v0, 0x18cc0 |
0x00018c8c sltiu a0, a2, 1 | a0 = (a2 < 1) ? 1 : 0;
| if (a3 == 0) {
0x00018c90 beqz a3, 0x193c0 | goto label_10;
| }
0x00018c94 lw a0, -0x7fd8(gp) | a0 = *(gp);
| /* str.Summary: */
0x00018c98 addiu a0, a0, 0x31c4 | a0 += 0x31c4;
| label_8:
0x00018c9c lw a2, 0x94(s1) | a2 = *((s1 + 37));
0x00018ca0 addiu v0, zero, 9 | v0 = 9;
0x00018ca4 lw t9, -0x7de8(gp) | t9 = sym.print_hdr_line;
0x00018ca8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00018cac addiu a3, zero, -1 | a3 = -1;
0x00018cb0 ext a2, a2, 1, 1 | __asm ("ext a2, a2, 1, 1");
0x00018cb4 move a1, s1 | a1 = s1;
0x00018cb8 bal 0xc7f0 | sym_print_hdr_line ();
0x00018cbc lw gp, 0x20(sp) | gp = *(var_20h);
| }
0x00018cc0 sll s6, s0, 2 | s6 = s0 << 2;
0x00018cc4 addu s6, s1, s6 | s6 = s1 + s6;
0x00018cc8 lw v0, 0x7c(s6) | v0 = *((s6 + 31));
0x00018ccc lw v1, -0x7fd8(gp) | v1 = *(gp);
| if (v0 <= 0) {
0x00018cd0 blez v0, 0x190b4 | goto label_11;
| }
0x00018cd4 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x00018cd8 sw v1, 0x48(sp) | *(var_48h) = v1;
0x00018cdc lw v1, -0x7fd8(gp) | v1 = *(gp);
0x00018ce0 lw a0, -0x7fd8(gp) | a0 = *(gp);
0x00018ce4 sw v0, 0x4c(sp) | *(var_4ch) = v0;
0x00018ce8 sw v1, 0x40(sp) | *(var_40h) = v1;
0x00018cec lw v1, 0x3134(v0) | v1 = *((v0 + 3149));
0x00018cf0 lw v0, 0x3130(v0) | v0 = *((v0 + 3148));
0x00018cf4 sll s0, s0, 6 | s0 <<= 6;
0x00018cf8 sw v0, 0x50(sp) | *(var_50h) = v0;
0x00018cfc lw v0, 0x3240(a0) | v0 = *((arg_94h + 201));
0x00018d00 sw v1, 0x54(sp) | *(var_54h) = v1;
0x00018d04 sw v0, 0x58(sp) | *(var_58h) = v0;
0x00018d08 lw v0, -0x7fb8(gp) | v0 = *(gp);
0x00018d0c lw v1, 0x3244(a0) | v1 = *((a0 + 3217));
0x00018d10 addu v0, v0, s0 | v0 += s0;
0x00018d14 sw v0, 0x44(sp) | *(var_44h) = v0;
0x00018d18 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x00018d1c sw a0, 0x60(sp) | *(var_60h) = a0;
| /* str.__11s */
0x00018d20 addiu v0, v0, 0x2048 | v0 += 0x2048;
0x00018d24 sw v1, 0x5c(sp) | *(var_5ch) = v1;
0x00018d28 move s2, zero | s2 = 0;
0x00018d2c sw v0, 0x34(sp) | *(var_34h) = v0;
0x00018d30 lw s0, 0x90(s1) | s0 = *((s1 + 36));
| do {
0x00018d34 lw v0, 0x98(s6) | v0 = *((s6 + 38));
0x00018d38 mul v1, s2, s0 | __asm ("mul v1, s2, s0");
0x00018d3c lw a0, 0x40(s1) | a0 = *((s1 + 16));
0x00018d40 addu s0, v1, v0 | s0 = v1 + v0;
| if (a0 != 0) {
0x00018d44 beqz a0, 0x18d70 |
0x00018d48 lw v0, 0x94(s1) | v0 = *((s1 + 37));
0x00018d4c andi v0, v0, 2 | v0 &= 2;
0x00018d50 addiu a1, s0, 0x28 | a1 = s0 + 0x28;
| if (v0 != 0) {
0x00018d54 beqz v0, 0x18d5c |
0x00018d58 addiu a1, s0, 0xa8 | a1 = s0 + 0xa8;
| }
0x00018d5c lw t9, -0x7dc8(gp) | t9 = sym.search_list_item;
0x00018d60 bal 0xb3b4 | sym_search_list_item ();
0x00018d64 nop |
0x00018d68 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00018d6c beqz v0, 0x190a0 | goto label_7;
| }
| }
0x00018d70 lw s5, (s3) | s5 = *(s3);
0x00018d74 ext v0, s5, 0x19, 1 | __asm ("ext v0, s5, 0x19, 1");
0x00018d78 lw v0, 0x9c(sp) | v0 = *(arg_9ch);
| if (v0 == 0) {
0x00018d7c beqz v0, 0x19260 | goto label_12;
| }
0x00018d80 lw v0, 0x48(sp) | v0 = *(var_48h);
| if (v0 != 0) {
0x00018d84 bnez v0, 0x1926c | goto label_13;
| }
0x00018d88 lw v0, 0x94(sp) | v0 = *(arg_94h);
0x00018d8c sll v0, v0, 2 | v0 <<= 2;
0x00018d90 addu v0, s1, v0 | v0 = s1 + v0;
0x00018d94 lw s4, 0x7c(v0) | s4 = *((v0 + 31));
0x00018d98 slt v1, s2, s4 | v1 = (s2 < s4) ? 1 : 0;
| if (s4 > 0) {
0x00018d9c bgtz s4, 0x190e4 | goto label_14;
| }
| label_0:
0x00018da0 lw a2, 0x44(sp) | a2 = *(var_44h);
| label_2:
0x00018da4 lw t9, -0x7ca8(gp) | t9 = sym.imp.__printf_chk
0x00018da8 lw a1, 0x34(sp) | a1 = *(var_34h);
0x00018dac addiu a0, zero, 1 | a0 = 1;
0x00018db0 jalr t9 | t9 ();
0x00018db4 lw gp, 0x20(sp) | gp = *(var_20h);
0x00018db8 lw s4, 8(s0) | s4 = *((s0 + 2));
0x00018dbc lw s5, 0xc(s0) | s5 = *((s0 + 3));
0x00018dc0 lw v1, 0x30(sp) | v1 = *(var_30h);
0x00018dc4 addiu v0, zero, -1 | v0 = -1;
0x00018dc8 move a0, s4 | a0 = s4;
0x00018dcc lw t9, -0x7e7c(gp) | t9 = *(gp);
0x00018dd0 move a1, s5 | a1 = s5;
| if (v1 == v0) {
0x00018dd4 beq v1, v0, 0x1929c | goto label_15;
| }
0x00018dd8 bal 0x20f20 | fcn_00020f20 ();
0x00018ddc nop |
0x00018de0 lw gp, 0x20(sp) | gp = *(var_20h);
0x00018de4 lw a1, (s0) | a1 = *(s0);
0x00018de8 lw a2, 4(s0) | a2 = *((s0 + 1));
0x00018dec subu a0, a1, s4 | __asm ("subu a0, a1, s4");
0x00018df0 subu a2, a2, s5 | __asm ("subu a2, a2, s5");
0x00018df4 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x00018df8 sltu a1, a1, a0 | a1 = (a1 < a0) ? 1 : 0;
0x00018dfc subu a1, a2, a1 | __asm ("subu a1, a2, a1");
0x00018e00 move s4, v0 | s4 = v0;
0x00018e04 move s5, v1 | s5 = v1;
0x00018e08 bal 0x20f20 | fcn_00020f20 ();
0x00018e0c lw gp, 0x20(sp) | gp = *(var_20h);
| label_6:
0x00018e10 lw t9, -0x7de4(gp) | t9 = sym.cprintf_f
0x00018e14 lw a0, 0x30(sp) | a0 = *(var_30h);
0x00018e18 sw v0, 0x18(sp) | *(var_18h) = v0;
0x00018e1c sw s4, 0x10(sp) | *(var_10h) = s4;
0x00018e20 sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x00018e24 sw s5, 0x14(sp) | *(var_14h) = s5;
0x00018e28 move a3, zero | a3 = 0;
0x00018e2c addiu a2, zero, 9 | a2 = 9;
0x00018e30 addiu a1, zero, 2 | a1 = 2;
0x00018e34 bal 0x1cc08 | sym_cprintf_f ()
0x00018e38 lw s7, (s0) | s7 = *(s0);
0x00018e3c lw s4, 4(s0) | s4 = *((s0 + 1));
0x00018e40 lw t1, (s3) | t1 = *(s3);
0x00018e44 or v0, s7, s4 | v0 = s7 | s4;
0x00018e48 lw gp, 0x20(sp) | gp = *(var_20h);
0x00018e4c ext fp, t1, 0x14, 1 | __asm ("ext fp, t1, 0x14, 1");
| if (v0 == 0) {
0x00018e50 beqz v0, 0x19288 | goto label_16;
| }
0x00018e54 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x00018e58 move a0, s7 | a0 = s7;
0x00018e5c move a1, s4 | a1 = s4;
0x00018e60 bal 0x20f20 | fcn_00020f20 ();
0x00018e64 lw gp, 0x20(sp) | gp = *(var_20h);
0x00018e68 lw a0, 8(s0) | a0 = *((s0 + 2));
0x00018e6c lw a1, 0xc(s0) | a1 = *((s0 + 3));
0x00018e70 subu a0, s7, a0 | __asm ("subu a0, s7, a0");
0x00018e74 sltu a2, s7, a0 | a2 = (s7 < a0) ? 1 : 0;
0x00018e78 subu a1, s4, a1 | __asm ("subu a1, s4, a1");
0x00018e7c lw t9, -0x7e7c(gp) | t9 = *(gp);
0x00018e80 subu a1, a1, a2 | __asm ("subu a1, a1, a2");
0x00018e84 sw v0, 0x28(sp) | *(var_28h) = v0;
0x00018e88 sw v1, 0x2c(sp) | *(var_2ch) = v1;
0x00018e8c bal 0x20f20 | fcn_00020f20 ();
0x00018e90 lw gp, 0x20(sp) | gp = *(var_20h);
0x00018e94 lw a2, 0x28(sp) | a2 = *(var_28h);
0x00018e98 lw a3, 0x2c(sp) | a3 = *(var_2ch);
0x00018e9c lw t9, -0x7e78(gp) | t9 = *(gp);
0x00018ea0 move a0, v0 | a0 = v0;
0x00018ea4 move a1, v1 | a1 = v1;
0x00018ea8 bal 0x1f460 | fcn_0001f460 ();
0x00018eac lw s5, 0x4c(sp) | s5 = *(var_4ch);
0x00018eb0 lw gp, 0x20(sp) | gp = *(var_20h);
0x00018eb4 move a0, v0 | a0 = v0;
0x00018eb8 lw a2, 0x3130(s5) | a2 = *((s5 + 3148));
0x00018ebc lw t9, -0x7e70(gp) | t9 = *(gp);
0x00018ec0 lw a3, 0x3134(s5) | a3 = *((s5 + 3149));
0x00018ec4 move a1, v1 | a1 = v1;
0x00018ec8 bal 0x1ff60 | fcn_0001ff60 ();
0x00018ecc lw gp, 0x20(sp) | gp = *(var_20h);
0x00018ed0 lw a0, 0x10(s0) | a0 = *((s0 + 4));
0x00018ed4 lw a1, 0x14(s0) | a1 = *((s0 + 5));
0x00018ed8 subu a0, s7, a0 | __asm ("subu a0, s7, a0");
0x00018edc sltu s7, s7, a0 | s7 = (s7 < a0) ? 1 : 0;
0x00018ee0 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x00018ee4 subu a1, s4, a1 | __asm ("subu a1, s4, a1");
0x00018ee8 subu a1, a1, s7 | __asm ("subu a1, a1, s7");
0x00018eec sw v0, 0x38(sp) | *(var_38h) = v0;
0x00018ef0 sw v1, 0x3c(sp) | *(var_3ch) = v1;
0x00018ef4 bal 0x20f20 | fcn_00020f20 ();
0x00018ef8 lw gp, 0x20(sp) | gp = *(var_20h);
0x00018efc lw a2, 0x28(sp) | a2 = *(var_28h);
0x00018f00 lw a3, 0x2c(sp) | a3 = *(var_2ch);
0x00018f04 lw t9, -0x7e78(gp) | t9 = *(gp);
0x00018f08 move a0, v0 | a0 = v0;
0x00018f0c move a1, v1 | a1 = v1;
0x00018f10 bal 0x1f460 | fcn_0001f460 ();
0x00018f14 lw gp, 0x20(sp) | gp = *(var_20h);
0x00018f18 lw a2, 0x3130(s5) | a2 = *((s5 + 3148));
0x00018f1c lw a3, 0x3134(s5) | a3 = *((s5 + 3149));
0x00018f20 lw t9, -0x7e70(gp) | t9 = *(gp);
0x00018f24 move a0, v0 | a0 = v0;
0x00018f28 move a1, v1 | a1 = v1;
0x00018f2c bal 0x1ff60 | fcn_0001ff60 ();
0x00018f30 lw gp, 0x20(sp) | gp = *(var_20h);
0x00018f34 lw t2, 0x38(sp) | t2 = *(var_38h);
0x00018f38 lw t3, 0x3c(sp) | t3 = *(var_3ch);
| label_5:
0x00018f3c lw t9, -0x7df0(gp) | t9 = sym.cprintf_pc
0x00018f40 addiu a3, zero, 2 | a3 = 2;
0x00018f44 addiu a2, zero, 9 | a2 = 9;
0x00018f48 addiu a1, zero, 2 | a1 = 2;
0x00018f4c move a0, fp | a0 = fp;
0x00018f50 sw v0, 0x18(sp) | *(var_18h) = v0;
0x00018f54 sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x00018f58 sw t2, 0x10(sp) | *(var_10h) = t2;
0x00018f5c sw t3, 0x14(sp) | *(var_14h) = t3;
0x00018f60 bal 0x1cea4 | sym_cprintf_pc ()
0x00018f64 lw v1, 0x18(s0) | v1 = *((s0 + 6));
0x00018f68 lw a1, 0x20(s0) | a1 = *((s0 + 8));
0x00018f6c lw a0, 0x24(s0) | a0 = *((s0 + 9));
0x00018f70 lw v0, 0x1c(s0) | v0 = *((s0 + 7));
0x00018f74 lw gp, 0x20(sp) | gp = *(var_20h);
0x00018f78 subu a2, v1, a1 | __asm ("subu a2, v1, a1");
0x00018f7c sltu v1, v1, a2 | v1 = (v1 < a2) ? 1 : 0;
0x00018f80 subu v0, v0, a0 | __asm ("subu v0, v0, a0");
0x00018f84 subu v0, v0, v1 | __asm ("subu v0, v0, v1");
0x00018f88 lw t9, -0x7de0(gp) | t9 = sym.cprintf_u64
0x00018f8c sw a2, 0x18(sp) | *(var_18h) = a2;
0x00018f90 sw v0, 0x1c(sp) | *(var_1ch) = v0;
0x00018f94 sw a1, 0x10(sp) | *(var_10h) = a1;
0x00018f98 sw a0, 0x14(sp) | *(var_14h) = a0;
0x00018f9c addiu a2, zero, 9 | a2 = 9;
0x00018fa0 addiu a1, zero, 2 | a1 = 2;
0x00018fa4 addiu a0, zero, -1 | a0 = -1;
0x00018fa8 bal 0x1c930 | sym_cprintf_u64 ()
0x00018fac lw s5, 0x18(s0) | s5 = *((s0 + 6));
0x00018fb0 lw s7, 0x1c(s0) | s7 = *((s0 + 7));
0x00018fb4 lw s4, (s3) | s4 = *(s3);
0x00018fb8 or v0, s5, s7 | v0 = s5 | s7;
0x00018fbc lw gp, 0x20(sp) | gp = *(var_20h);
0x00018fc0 ext s4, s4, 0x14, 1 | __asm ("ext s4, s4, 0x14, 1");
| if (v0 == 0) {
0x00018fc4 beqz v0, 0x1927c | goto label_17;
| }
0x00018fc8 lw a0, 0x20(s0) | a0 = *((s0 + 8));
0x00018fcc lw v0, 0x24(s0) | v0 = *((s0 + 9));
0x00018fd0 subu a0, s5, a0 | __asm ("subu a0, s5, a0");
0x00018fd4 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x00018fd8 sltu a1, s5, a0 | a1 = (s5 < a0) ? 1 : 0;
0x00018fdc subu v0, s7, v0 | __asm ("subu v0, s7, v0");
0x00018fe0 subu a1, v0, a1 | __asm ("subu a1, v0, a1");
0x00018fe4 bal 0x20f20 | fcn_00020f20 ();
0x00018fe8 lw gp, 0x20(sp) | gp = *(var_20h);
0x00018fec move a0, s5 | a0 = s5;
0x00018ff0 move a1, s7 | a1 = s7;
0x00018ff4 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x00018ff8 sw v0, 0x28(sp) | *(var_28h) = v0;
0x00018ffc sw v1, 0x2c(sp) | *(var_2ch) = v1;
0x00019000 bal 0x20f20 | fcn_00020f20 ();
0x00019004 lw gp, 0x20(sp) | gp = *(var_20h);
0x00019008 lw t0, 0x28(sp) | t0 = *(var_28h);
0x0001900c lw t1, 0x2c(sp) | t1 = *(var_2ch);
0x00019010 lw t9, -0x7e78(gp) | t9 = *(gp);
0x00019014 move a0, t0 | a0 = t0;
0x00019018 move a1, t1 | a1 = t1;
0x0001901c move a2, v0 | a2 = v0;
0x00019020 move a3, v1 | a3 = v1;
0x00019024 bal 0x1f460 | fcn_0001f460 ();
0x00019028 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001902c lw a2, 0x50(sp) | a2 = *(var_50h);
0x00019030 lw a3, 0x54(sp) | a3 = *(var_54h);
0x00019034 lw t9, -0x7e70(gp) | t9 = *(gp);
0x00019038 move a0, v0 | a0 = v0;
0x0001903c move a1, v1 | a1 = v1;
0x00019040 bal 0x1ff60 | fcn_0001ff60 ();
0x00019044 lw gp, 0x20(sp) | gp = *(var_20h);
| label_4:
0x00019048 lw t9, -0x7df0(gp) | t9 = sym.cprintf_pc
0x0001904c sw v0, 0x10(sp) | *(var_10h) = v0;
0x00019050 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00019054 addiu a3, zero, 2 | a3 = 2;
0x00019058 addiu a2, zero, 9 | a2 = 9;
0x0001905c addiu a1, zero, 1 | a1 = 1;
0x00019060 move a0, s4 | a0 = s4;
0x00019064 bal 0x1cea4 | sym_cprintf_pc ()
0x00019068 lw v0, 0x94(s1) | v0 = *((s1 + 37));
0x0001906c andi v0, v0, 2 | v0 &= 2;
0x00019070 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00019074 beqz v0, 0x19274 | goto label_18;
| }
0x00019078 addiu a2, s0, 0xa8 | a2 = s0 + 0xa8;
| label_3:
0x0001907c lw v0, 0x40(sp) | v0 = *(var_40h);
0x00019080 lw t9, -0x7df8(gp) | t9 = sym.cprintf_in
0x00019084 addiu a1, v0, 0x3894 | a1 = v0 + 0x3894;
0x00019088 move a3, zero | a3 = 0;
0x0001908c addiu a0, zero, 1 | a0 = 1;
0x00019090 bal 0x1d180 | sym_cprintf_in ()
0x00019094 lw v0, 0x9c(sp) | v0 = *(arg_9ch);
0x00019098 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x0001909c beqz v0, 0x1918c | goto label_19;
| }
| label_7:
0x000190a0 lw v0, 0x7c(s6) | v0 = *((s6 + 31));
| label_1:
0x000190a4 addiu s2, s2, 1 | s2++;
0x000190a8 slt v0, s2, v0 | v0 = (s2 < v0) ? 1 : 0;
0x000190ac lw s0, 0x90(s1) | s0 = *((s1 + 36));
0x000190b0 bnel v0, zero, 0x18d34 |
| } while (v0 == 0);
| label_11:
0x000190b4 lw ra, 0x8c(sp) | ra = *(var_8ch);
0x000190b8 lw fp, 0x88(sp) | fp = *(var_88h);
0x000190bc lw s7, 0x84(sp) | s7 = *(var_84h);
0x000190c0 lw s6, 0x80(sp) | s6 = *(var_80h);
0x000190c4 lw s5, 0x7c(sp) | s5 = *(var_7ch);
0x000190c8 lw s4, 0x78(sp) | s4 = *(var_78h);
0x000190cc lw s3, 0x74(sp) | s3 = *(var_74h);
0x000190d0 lw s2, 0x70(sp) | s2 = *(var_70h);
0x000190d4 lw s1, 0x6c(sp) | s1 = *(var_6ch);
0x000190d8 lw s0, 0x68(sp) | s0 = *(var_68h);
0x000190dc addiu sp, sp, 0x90 |
0x000190e0 jr ra | return v0;
| label_14:
0x000190e4 addiu v1, s4, -1 | v1 = s4 + -1;
| if (v1 == 0) {
0x000190e8 beqz v1, 0x193d0 | goto label_20;
| }
0x000190ec move a1, s2 | a1 = s2;
| label_9:
0x000190f0 lw a0, 0x90(s1) | a0 = *((s1 + 36));
0x000190f4 lw v1, 0x98(v0) | v1 = *((v0 + 38));
0x000190f8 addiu s7, s0, 0x28 | s7 = s0 + 0x28;
0x000190fc sw s5, 0x64(sp) | *(var_64h) = s5;
0x00019100 sw s0, 0x28(sp) | *(var_28h) = s0;
0x00019104 sw s1, 0x90(sp) | *(arg_90h) = s1;
0x00019108 move fp, a1 | fp = a1;
0x0001910c move s5, a0 | s5 = a0;
0x00019110 move s0, v1 | s0 = v1;
0x00019114 sw s2, 0x38(sp) | *(var_38h) = s2;
0x00019118 move s1, a1 | s1 = a1;
0x0001911c b 0x19128 |
| if (fp == s1) {
| while (v0 != 0) {
0x00019120 beql fp, s1, 0x193d8 | goto label_21;
| }
0x00019124 lw s0, 0x28(sp) | s0 = *(var_28h);
0x00019128 mul v0, s5, s1 | __asm ("mul v0, s5, s1");
0x0001912c lw t9, -0x7bd0(gp) | t9 = sym.imp.strcmp;
0x00019130 addiu s1, s1, 1 | s1++;
0x00019134 move a1, s7 | a1 = s7;
0x00019138 addu s2, v0, s0 | s2 = v0 + s0;
0x0001913c addiu a0, s2, 0x28 | a0 = s2 + 0x28;
0x00019140 jalr t9 | t9 ();
0x00019144 slt a0, s1, s4 | a0 = (s1 < s4) ? 1 : 0;
0x00019148 lw gp, 0x20(sp) | gp = *(var_20h);
| if (a0 != 0) {
0x0001914c movz s1, zero, a0 | s1 = 0;
| }
0x00019150 bnez v0, 0x19120 |
| }
0x00019154 lw s5, 0x64(sp) | s5 = *(var_64h);
0x00019158 move s7, s2 | s7 = s2;
0x0001915c andi a2, s5, 1 | a2 = s5 & 1;
0x00019160 lw s0, 0x28(sp) | s0 = *(var_28h);
0x00019164 lw s2, 0x38(sp) | s2 = *(var_38h);
0x00019168 lw s1, 0x90(sp) | s1 = *(arg_90h);
| if (a2 != 0) {
0x0001916c bnez a2, 0x18da0 | goto label_0;
| }
0x00019170 lw t9, -0x7c08(gp) | t9 = sym.imp.memcmp;
0x00019174 addiu a2, zero, 0x28 | a2 = 0x28;
0x00019178 move a1, s0 | a1 = s0;
0x0001917c move a0, s7 | a0 = s7;
0x00019180 jalr t9 | t9 ();
0x00019184 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00019188 bnez v0, 0x18da0 | goto label_0;
| }
| label_19:
0x0001918c lw s4, 0x88(s1) | s4 = *((s1 + 34));
0x00019190 move fp, zero | fp = 0;
| if (s4 <= 0) {
0x00019194 blez s4, 0x19250 | goto label_22;
| }
0x00019198 lw v0, 0x90(s1) | v0 = *((s1 + 36));
0x0001919c addiu s5, s0, 0x28 | s5 = s0 + 0x28;
0x000191a0 sw s0, 0x28(sp) | *(var_28h) = s0;
0x000191a4 lw s7, 0xa0(s1) | s7 = *((s1 + 40));
0x000191a8 move s0, fp | s0 = fp;
0x000191ac move fp, v0 | fp = v0;
0x000191b0 b 0x191d4 |
| while (v0 != 0) {
0x000191b4 lw v0, (s7) | v0 = *(s7);
0x000191b8 lw a0, 4(s7) | a0 = *((s7 + 1));
0x000191bc or v0, v0, a0 | v0 |= a0;
| if (v0 == 0) {
0x000191c0 beql v0, zero, 0x191f0 | goto label_23;
| }
0x000191c4 move fp, s0 | fp = s0;
0x000191c8 addiu s0, s0, 1 | s0++;
0x000191cc addu s7, s7, fp | s7 += fp;
| if (s4 == s0) {
0x000191d0 beq s4, s0, 0x1934c | goto label_24;
| }
0x000191d4 lw t9, -0x7bd0(gp) | t9 = sym.imp.strcmp;
0x000191d8 addiu a0, s7, 0x28 | a0 = s7 + 0x28;
0x000191dc move a1, s5 | a1 = s5;
0x000191e0 jalr t9 | t9 ();
0x000191e4 lw gp, 0x20(sp) | gp = *(var_20h);
0x000191e8 bnez v0, 0x191b4 |
| }
0x000191ec move fp, s0 | fp = s0;
| label_23:
0x000191f0 lw s0, 0x28(sp) | s0 = *(var_28h);
0x000191f4 move v1, s7 | v1 = s7;
0x000191f8 move v0, s0 | v0 = s0;
0x000191fc addiu t1, s0, 0x120 | t1 = s0 + aav.0x00000120;
| do {
0x00019200 lw a3, (v0) | a3 = *(v0);
0x00019204 lw a2, 4(v0) | a2 = *((v0 + 1));
0x00019208 lw a1, 8(v0) | a1 = *((v0 + 2));
0x0001920c lw a0, 0xc(v0) | a0 = *((v0 + 3));
0x00019210 addiu v0, v0, 0x10 | v0 += 0x10;
0x00019214 sw a3, (v1) | *(v1) = a3;
0x00019218 sw a2, 4(v1) | *((v1 + 1)) = a2;
0x0001921c sw a1, 8(v1) | *((v1 + 2)) = a1;
0x00019220 sw a0, 0xc(v1) | *((v1 + 3)) = a0;
0x00019224 addiu v1, v1, 0x10 | v1 += 0x10;
0x00019228 bne v0, t1, 0x19200 |
| } while (v0 != t1);
0x0001922c lw a0, 0x84(s1) | a0 = *((s1 + 33));
0x00019230 lw a3, (v0) | a3 = *(v0);
0x00019234 lw a1, 4(v0) | a1 = *((v0 + 1));
0x00019238 slt v0, fp, a0 | v0 = (fp < a0) ? 1 : 0;
0x0001923c sw a3, (v1) | *(v1) = a3;
0x00019240 sw a1, 4(v1) | *((v1 + 1)) = a1;
| if (v0 == 0) {
0x00019244 bnez v0, 0x19250 |
0x00019248 addiu v0, fp, 1 | v0 = fp + 1;
0x0001924c sw v0, 0x84(s1) | *((s1 + 33)) = v0;
| }
| label_22:
0x00019250 lw v0, 0x7c(s6) | v0 = *((s6 + 31));
| if (s4 == fp) {
0x00019254 bnel s4, fp, 0x190a4 | goto label_1;
| }
0x00019258 lw t9, -0x7f6c(gp) | t9 = sym.reallocate_all_buffers;
0x0001925c b 0x19354 | goto label_25;
| if (v0 == 0) {
| label_12:
0x00019260 beql v0, zero, 0x18da4 | goto label_2;
| }
0x00019264 lw a2, 0x44(sp) | a2 = *(var_44h);
0x00019268 lw v0, 0x48(sp) | v0 = *(var_48h);
| label_13:
0x0001926c addiu a2, v0, 0x31c4 | a2 = v0 + 0x31c4;
0x00019270 b 0x18da4 | goto label_2;
| label_18:
0x00019274 addiu a2, s0, 0x28 | a2 = s0 + 0x28;
0x00019278 b 0x1907c | goto label_3;
| label_17:
0x0001927c move v0, zero | v0 = 0;
0x00019280 move v1, zero | v1 = 0;
0x00019284 b 0x19048 | goto label_4;
| label_16:
0x00019288 move t2, zero | t2 = 0;
0x0001928c move t3, zero | t3 = 0;
0x00019290 move v0, t2 | v0 = t2;
0x00019294 move v1, t3 | v1 = t3;
0x00019298 b 0x18f3c | goto label_5;
| label_15:
0x0001929c bal 0x20f20 | fcn_00020f20 ();
0x000192a0 nop |
0x000192a4 lw gp, 0x20(sp) | gp = *(var_20h);
0x000192a8 lw a2, 0x58(sp) | a2 = *(var_58h);
0x000192ac lw a3, 0x5c(sp) | a3 = *(var_5ch);
0x000192b0 lw t9, -0x7e70(gp) | t9 = *(gp);
0x000192b4 move a0, v0 | a0 = v0;
0x000192b8 move a1, v1 | a1 = v1;
0x000192bc bal 0x1ff60 | fcn_0001ff60 ();
0x000192c0 lw s7, 0x60(sp) | s7 = *(var_60h);
0x000192c4 lw gp, 0x20(sp) | gp = *(var_20h);
0x000192c8 move a0, v0 | a0 = v0;
0x000192cc lw a3, 0x3244(s7) | a3 = *((s7 + 3217));
0x000192d0 lw t9, -0x7e70(gp) | t9 = *(gp);
0x000192d4 lw a2, 0x3240(s7) | a2 = *((s7 + 3216));
0x000192d8 move a1, v1 | a1 = v1;
0x000192dc bal 0x1ff60 | fcn_0001ff60 ();
0x000192e0 lw gp, 0x20(sp) | gp = *(var_20h);
0x000192e4 lw a1, (s0) | a1 = *(s0);
0x000192e8 lw a2, 4(s0) | a2 = *((s0 + 1));
0x000192ec subu a0, a1, s4 | __asm ("subu a0, a1, s4");
0x000192f0 subu a2, a2, s5 | __asm ("subu a2, a2, s5");
0x000192f4 sltu a1, a1, a0 | a1 = (a1 < a0) ? 1 : 0;
0x000192f8 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x000192fc subu a1, a2, a1 | __asm ("subu a1, a2, a1");
0x00019300 move s4, v0 | s4 = v0;
0x00019304 move s5, v1 | s5 = v1;
0x00019308 bal 0x20f20 | fcn_00020f20 ();
0x0001930c lw gp, 0x20(sp) | gp = *(var_20h);
0x00019310 lw a2, 0x3240(s7) | a2 = *((s7 + 3216));
0x00019314 lw a3, 0x3244(s7) | a3 = *((s7 + 3217));
0x00019318 lw t9, -0x7e70(gp) | t9 = *(gp);
0x0001931c move a0, v0 | a0 = v0;
0x00019320 move a1, v1 | a1 = v1;
0x00019324 bal 0x1ff60 | fcn_0001ff60 ();
0x00019328 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001932c lw a2, 0x3240(s7) | a2 = *((s7 + 3216));
0x00019330 lw a3, 0x3244(s7) | a3 = *((s7 + 3217));
0x00019334 lw t9, -0x7e70(gp) | t9 = *(gp);
0x00019338 move a0, v0 | a0 = v0;
0x0001933c move a1, v1 | a1 = v1;
0x00019340 bal 0x1ff60 | fcn_0001ff60 ();
0x00019344 lw gp, 0x20(sp) | gp = *(var_20h);
0x00019348 b 0x18e10 | goto label_6;
| label_24:
0x0001934c lw s0, 0x28(sp) | s0 = *(var_28h);
0x00019350 lw t9, -0x7f6c(gp) | t9 = sym.reallocate_all_buffers;
| label_25:
0x00019354 move a0, s1 | a0 = s1;
0x00019358 move a1, s4 | a1 = s4;
0x0001935c bal 0x7334 | sym_reallocate_all_buffers ();
0x00019360 lw v0, 0x90(s1) | v0 = *((s1 + 36));
0x00019364 lw v1, 0xa0(s1) | v1 = *((s1 + 40));
0x00019368 mul a0, s4, v0 | __asm ("mul a0, s4, v0");
0x0001936c lw gp, 0x20(sp) | gp = *(var_20h);
0x00019370 addiu a3, s0, 0x120 | a3 = s0 + aav.0x00000120;
0x00019374 addu v0, a0, v1 | v0 = a0 + v1;
| do {
0x00019378 lw a2, (s0) | a2 = *(s0);
0x0001937c lw a1, 4(s0) | a1 = *((s0 + 1));
0x00019380 lw a0, 8(s0) | a0 = *((s0 + 2));
0x00019384 lw v1, 0xc(s0) | v1 = *((s0 + 3));
0x00019388 addiu s0, s0, 0x10 | s0 += 0x10;
0x0001938c sw a2, (v0) | *(v0) = a2;
0x00019390 sw a1, 4(v0) | *((v0 + 1)) = a1;
0x00019394 sw a0, 8(v0) | *((v0 + 2)) = a0;
0x00019398 sw v1, 0xc(v0) | *((v0 + 3)) = v1;
0x0001939c addiu v0, v0, 0x10 | v0 += 0x10;
0x000193a0 bne s0, a3, 0x19378 |
| } while (s0 != a3);
0x000193a4 lw a0, (s0) | a0 = *(s0);
0x000193a8 lw v1, 4(s0) | v1 = *((s0 + 1));
0x000193ac addiu s4, s4, 1 | s4++;
0x000193b0 sw a0, (v0) | *(v0) = a0;
0x000193b4 sw v1, 4(v0) | *((v0 + 1)) = v1;
0x000193b8 sw s4, 0x84(s1) | *((s1 + 33)) = s4;
0x000193bc b 0x190a0 | goto label_7;
| label_10:
0x000193c0 sll v0, a0, 6 | v0 = a0 << 6;
0x000193c4 lw a0, -0x7fb8(gp) | a0 = *(gp);
0x000193c8 addu a0, a0, v0 | a0 += v0;
0x000193cc b 0x18c9c | goto label_8;
| label_20:
0x000193d0 move a1, v1 | a1 = v1;
0x000193d4 b 0x190f0 | goto label_9;
| label_21:
0x000193d8 lw s2, 0x38(sp) | s2 = *(var_38h);
0x000193dc lw s1, 0x90(sp) | s1 = *(arg_90h);
0x000193e0 lw a2, 0x44(sp) | a2 = *(var_44h);
0x000193e4 b 0x18da4 | goto label_2;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/sar @ 0x17e84 */
| #include <stdint.h>
|
; (fcn) sym.stub_print_huge_stats () | void stub_print_huge_stats () {
0x00017e84 lui gp, 2 |
0x00017e88 addiu gp, gp, 0x5ccc |
0x00017e8c addu gp, gp, t9 | gp += t9;
0x00017e90 addiu sp, sp, -0x50 |
0x00017e94 lw v0, -0x7f84(gp) | v0 = *(gp);
0x00017e98 sw fp, 0x48(sp) | *(var_48h) = fp;
0x00017e9c lw fp, -0x7fac(gp) | fp = *(gp);
0x00017ea0 sw s0, 0x28(sp) | *(var_28h) = s0;
0x00017ea4 sw s1, 0x2c(sp) | *(var_2ch) = s1;
0x00017ea8 lw s0, (fp) | s0 = *(fp);
0x00017eac addiu s1, a1, 0x26 | s1 = a1 + 0x26;
0x00017eb0 ext s0, s0, 0x14, 1 | __asm ("ext s0, s0, 0x14, 1");
0x00017eb4 sw s2, 0x30(sp) | *(var_30h) = s2;
0x00017eb8 sll s1, s1, 2 | s1 <<= 2;
0x00017ebc move s2, a1 | s2 = a1;
0x00017ec0 addiu v1, zero, 2 | v1 = 2;
0x00017ec4 addiu a1, zero, -1 | a1 = -1;
0x00017ec8 lw v0, (v0) | v0 = *(v0);
0x00017ecc sw gp, 0x20(sp) | *(var_20h) = gp;
| if (s0 != 0) {
0x00017ed0 movz v1, a1, s0 | v1 = a1;
| }
0x00017ed4 sw s4, 0x38(sp) | *(var_38h) = s4;
0x00017ed8 sw ra, 0x4c(sp) | *(var_4ch) = ra;
0x00017edc sw s7, 0x44(sp) | *(var_44h) = s7;
0x00017ee0 sw s6, 0x40(sp) | *(var_40h) = s6;
0x00017ee4 sw s5, 0x3c(sp) | *(var_3ch) = s5;
0x00017ee8 sw s3, 0x34(sp) | *(var_34h) = s3;
0x00017eec move s4, a2 | s4 = a2;
0x00017ef0 lwx s1, s1(a0) | __asm ("lwx s1, s1(a0)");
0x00017ef4 move s0, v1 | s0 = v1;
| if (v0 != 0) {
0x00017ef8 bnez v0, 0x1845c | goto label_2;
| }
0x00017efc lw s3, -0x7fb8(gp) | s3 = *(gp);
| do {
0x00017f00 sll s2, s2, 6 | s2 <<= 6;
0x00017f04 addu a2, s3, s2 | a2 = s3 + s2;
| if (s4 != 0) {
0x00017f08 beqz s4, 0x1821c |
0x00017f0c lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00017f10 lw t9, -0x7ca8(gp) | t9 = sym.imp.__printf_chk
| /* str.__11s */
0x00017f14 addiu a1, a1, 0x2048 | a1 += 0x2048;
0x00017f18 lw s6, -0x7fb0(gp) | s6 = *((gp - 8172));
0x00017f1c lw s7, -0x7fb4(gp) | s7 = *(gp);
0x00017f20 addiu a0, zero, 1 | a0 = 1;
0x00017f24 jalr t9 | t9 ();
0x00017f28 lw gp, 0x20(sp) | gp = *(var_20h);
0x00017f2c lw t9, -0x7e6c(gp) | t9 = *(gp);
0x00017f30 lw s1, -0x7fb0(gp) | s1 = *((gp - 8172));
0x00017f34 lw a0, (s7) | a0 = *(s7);
0x00017f38 bal 0x20e80 | fcn_00020e80 ();
0x00017f3c lw gp, 0x20(sp) | gp = *(var_20h);
0x00017f40 lw a0, 0x7128(s6) | a0 = *((s6 + 7242));
0x00017f44 lw a1, 0x712c(s6) | a1 = *((s6 + 7243));
0x00017f48 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x00017f4c move s4, v0 | s4 = v0;
0x00017f50 move s5, v1 | s5 = v1;
0x00017f54 bal 0x20f20 | fcn_00020f20 ();
0x00017f58 lw gp, 0x20(sp) | gp = *(var_20h);
0x00017f5c move a2, s4 | a2 = s4;
0x00017f60 move a3, s5 | a3 = s5;
0x00017f64 lw t9, -0x7e78(gp) | t9 = *(gp);
0x00017f68 move a0, v0 | a0 = v0;
0x00017f6c move a1, v1 | a1 = v1;
0x00017f70 bal 0x1f460 | fcn_0001f460 ();
0x00017f74 lw gp, 0x20(sp) | gp = *(var_20h);
0x00017f78 lw a0, 0x7120(s1) | a0 = *((s1 + 7240));
0x00017f7c lw a1, 0x7124(s1) | a1 = *((s1 + 7241));
0x00017f80 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x00017f84 move s2, v0 | s2 = v0;
0x00017f88 move s3, v1 | s3 = v1;
0x00017f8c bal 0x20f20 | fcn_00020f20 ();
0x00017f90 lw gp, 0x20(sp) | gp = *(var_20h);
0x00017f94 move a2, s4 | a2 = s4;
0x00017f98 move a3, s5 | a3 = s5;
0x00017f9c lw t9, -0x7e78(gp) | t9 = *(gp);
0x00017fa0 move a0, v0 | a0 = v0;
0x00017fa4 move a1, v1 | a1 = v1;
0x00017fa8 bal 0x1f460 | fcn_0001f460 ();
0x00017fac lw gp, 0x20(sp) | gp = *(var_20h);
0x00017fb0 move a2, s2 | a2 = s2;
0x00017fb4 move a3, s3 | a3 = s3;
0x00017fb8 lw t9, -0x7e68(gp) | t9 = *(gp);
0x00017fbc move a0, v0 | a0 = v0;
0x00017fc0 move a1, v1 | a1 = v1;
0x00017fc4 bal 0x20500 | fcn_00020500 ();
0x00017fc8 lw gp, 0x20(sp) | gp = *(var_20h);
0x00017fcc sw v0, 0x18(sp) | *(var_18h) = v0;
0x00017fd0 sw s2, 0x10(sp) | *(var_10h) = s2;
0x00017fd4 lw t9, -0x7de4(gp) | t9 = sym.cprintf_f
0x00017fd8 sw s3, 0x14(sp) | *(var_14h) = s3;
0x00017fdc sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x00017fe0 move a3, zero | a3 = 0;
0x00017fe4 addiu a2, zero, 9 | a2 = 9;
0x00017fe8 addiu a1, zero, 2 | a1 = 2;
0x00017fec move a0, s0 | a0 = s0;
0x00017ff0 bal 0x1cc08 | sym_cprintf_f ()
0x00017ff4 lw s3, 0x7120(s1) | s3 = *((s1 + 7240));
0x00017ff8 lw s2, 0x7124(s1) | s2 = *((s1 + 7241));
0x00017ffc lw fp, (fp) | fp = *(fp);
0x00018000 or v0, s3, s2 | v0 = s3 | s2;
0x00018004 lw gp, 0x20(sp) | gp = *(var_20h);
0x00018008 ext fp, fp, 0x14, 1 | __asm ("ext fp, fp, 0x14, 1");
| if (v0 == 0) {
0x0001800c beqz v0, 0x18490 | goto label_3;
| }
0x00018010 lw t9, -0x7e6c(gp) | t9 = *(gp);
0x00018014 lw a0, (s7) | a0 = *(s7);
0x00018018 bal 0x20e80 | fcn_00020e80 ();
0x0001801c lw gp, 0x20(sp) | gp = *(var_20h);
0x00018020 move a0, s3 | a0 = s3;
0x00018024 move a1, s2 | a1 = s2;
0x00018028 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0001802c move s2, v0 | s2 = v0;
0x00018030 move s3, v1 | s3 = v1;
0x00018034 bal 0x20f20 | fcn_00020f20 ();
0x00018038 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001803c move a2, s2 | a2 = s2;
0x00018040 move a3, s3 | a3 = s3;
0x00018044 lw t9, -0x7e78(gp) | t9 = *(gp);
0x00018048 move a0, v0 | a0 = v0;
0x0001804c move a1, v1 | a1 = v1;
0x00018050 bal 0x1f460 | fcn_0001f460 ();
0x00018054 lw gp, 0x20(sp) | gp = *(var_20h);
0x00018058 lw a0, 0x7128(s6) | a0 = *((s6 + 7242));
0x0001805c lw a1, 0x712c(s6) | a1 = *((s6 + 7243));
0x00018060 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x00018064 move s4, v0 | s4 = v0;
0x00018068 move s5, v1 | s5 = v1;
0x0001806c bal 0x20f20 | fcn_00020f20 ();
0x00018070 lw gp, 0x20(sp) | gp = *(var_20h);
0x00018074 move a2, s2 | a2 = s2;
0x00018078 move a3, s3 | a3 = s3;
0x0001807c lw t9, -0x7e78(gp) | t9 = *(gp);
0x00018080 move a0, v0 | a0 = v0;
0x00018084 move a1, v1 | a1 = v1;
0x00018088 bal 0x1f460 | fcn_0001f460 ();
0x0001808c lw gp, 0x20(sp) | gp = *(var_20h);
0x00018090 move a2, v0 | a2 = v0;
0x00018094 move a3, v1 | a3 = v1;
0x00018098 lw t9, -0x7e68(gp) | t9 = *(gp);
0x0001809c move a0, s4 | a0 = s4;
0x000180a0 move a1, s5 | a1 = s5;
0x000180a4 bal 0x20500 | fcn_00020500 ();
0x000180a8 lw gp, 0x20(sp) | gp = *(var_20h);
0x000180ac move a2, s4 | a2 = s4;
0x000180b0 move a3, s5 | a3 = s5;
0x000180b4 lw t9, -0x7e78(gp) | t9 = *(gp);
0x000180b8 move a0, v0 | a0 = v0;
0x000180bc move a1, v1 | a1 = v1;
0x000180c0 bal 0x1f460 | fcn_0001f460 ();
0x000180c4 lw gp, 0x20(sp) | gp = *(var_20h);
0x000180c8 move a0, v0 | a0 = v0;
0x000180cc move a1, v1 | a1 = v1;
0x000180d0 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x000180d4 lw t9, -0x7e70(gp) | t9 = *(gp);
0x000180d8 lw a2, 0x3130(v0) | a2 = *((v0 + 3148));
0x000180dc lw a3, 0x3134(v0) | a3 = *((v0 + 3149));
0x000180e0 bal 0x1ff60 | fcn_0001ff60 ();
0x000180e4 lw gp, 0x20(sp) | gp = *(var_20h);
| label_0:
0x000180e8 lw t9, -0x7df0(gp) | t9 = sym.cprintf_pc
0x000180ec addiu a3, zero, 2 | a3 = 2;
0x000180f0 addiu a2, zero, 9 | a2 = 9;
0x000180f4 addiu a1, zero, 1 | a1 = 1;
0x000180f8 move a0, fp | a0 = fp;
0x000180fc sw v0, 0x10(sp) | *(var_10h) = v0;
0x00018100 lw s5, -0x7fb0(gp) | s5 = *((gp - 8172));
0x00018104 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00018108 bal 0x1cea4 | sym_cprintf_pc ()
0x0001810c lw gp, 0x20(sp) | gp = *(var_20h);
0x00018110 lw t9, -0x7e6c(gp) | t9 = *(gp);
0x00018114 lw s4, -0x7fb0(gp) | s4 = *((gp - 8172));
0x00018118 lw a0, (s7) | a0 = *(s7);
0x0001811c bal 0x20e80 | fcn_00020e80 ();
0x00018120 lw gp, 0x20(sp) | gp = *(var_20h);
0x00018124 lw a0, 0x7110(s5) | a0 = *((s5 + 7236));
0x00018128 lw a1, 0x7114(s5) | a1 = *((s5 + 7237));
0x0001812c lw t9, -0x7e7c(gp) | t9 = *(gp);
0x00018130 move s2, v0 | s2 = v0;
0x00018134 move s3, v1 | s3 = v1;
0x00018138 bal 0x20f20 | fcn_00020f20 ();
0x0001813c lw gp, 0x20(sp) | gp = *(var_20h);
0x00018140 move a2, s2 | a2 = s2;
0x00018144 move a3, s3 | a3 = s3;
0x00018148 lw t9, -0x7e78(gp) | t9 = *(gp);
0x0001814c move a0, v0 | a0 = v0;
0x00018150 move a1, v1 | a1 = v1;
0x00018154 bal 0x1f460 | fcn_0001f460 ();
0x00018158 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001815c lw a0, 0x7118(s4) | a0 = *((s4 + 7238));
0x00018160 lw a1, 0x711c(s4) | a1 = *((s4 + 7239));
0x00018164 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x00018168 sw v0, 0x18(sp) | *(var_18h) = v0;
0x0001816c sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x00018170 bal 0x20f20 | fcn_00020f20 ();
0x00018174 lw gp, 0x20(sp) | gp = *(var_20h);
0x00018178 move a2, s2 | a2 = s2;
0x0001817c move a3, s3 | a3 = s3;
0x00018180 lw t9, -0x7e78(gp) | t9 = *(gp);
0x00018184 move a0, v0 | a0 = v0;
0x00018188 move a1, v1 | a1 = v1;
0x0001818c bal 0x1f460 | fcn_0001f460 ();
0x00018190 lw gp, 0x20(sp) | gp = *(var_20h);
0x00018194 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00018198 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0001819c lw t9, -0x7de4(gp) | t9 = sym.cprintf_f
0x000181a0 move a3, zero | a3 = 0;
0x000181a4 addiu a2, zero, 9 | a2 = 9;
0x000181a8 addiu a1, zero, 2 | a1 = 2;
0x000181ac move a0, s0 | a0 = s0;
0x000181b0 bal 0x1cc08 | sym_cprintf_f ()
0x000181b4 lw gp, 0x20(sp) | gp = *(var_20h);
0x000181b8 lw t9, -0x7c80(gp) | t9 = sym.imp.putchar;
0x000181bc addiu a0, zero, 0xa | a0 = 0xa;
0x000181c0 jalr t9 | t9 ();
0x000181c4 lw ra, 0x4c(sp) | ra = *(var_4ch);
0x000181c8 move v0, zero | v0 = 0;
0x000181cc move v1, zero | v1 = 0;
0x000181d0 lw fp, 0x48(sp) | fp = *(var_48h);
0x000181d4 lw s7, 0x44(sp) | s7 = *(var_44h);
0x000181d8 lw s3, 0x34(sp) | s3 = *(var_34h);
0x000181dc lw s2, 0x30(sp) | s2 = *(var_30h);
0x000181e0 lw s0, 0x28(sp) | s0 = *(var_28h);
0x000181e4 sw v0, 0x7110(s5) | *((s5 + 7236)) = v0;
0x000181e8 sw v1, 0x7114(s5) | *((s5 + 7237)) = v1;
0x000181ec sw v0, 0x7118(s4) | *((s4 + 7238)) = v0;
0x000181f0 lw s5, 0x3c(sp) | s5 = *(var_3ch);
0x000181f4 sw v1, 0x711c(s4) | *((s4 + 7239)) = v1;
0x000181f8 sw v0, 0x7120(s1) | *((s1 + 7240)) = v0;
0x000181fc lw s4, 0x38(sp) | s4 = *(var_38h);
0x00018200 sw v1, 0x7124(s1) | *((s1 + 7241)) = v1;
0x00018204 sw v0, 0x7128(s6) | *((s6 + 7242)) = v0;
0x00018208 lw s1, 0x2c(sp) | s1 = *(var_2ch);
0x0001820c sw v1, 0x712c(s6) | *((s6 + 7243)) = v1;
0x00018210 lw s6, 0x40(sp) | s6 = *(var_40h);
0x00018214 addiu sp, sp, 0x50 |
0x00018218 jr ra | return v1;
| }
0x0001821c lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00018220 lw t9, -0x7ca8(gp) | t9 = sym.imp.__printf_chk
| /* str.__11s */
0x00018224 addiu a1, a1, 0x2048 | a1 += 0x2048;
0x00018228 addiu a0, zero, 1 | a0 = 1;
0x0001822c jalr t9 | t9 ();
0x00018230 lw v1, 8(s1) | v1 = *((s1 + 2));
0x00018234 lw a1, (s1) | a1 = *(s1);
0x00018238 lw a0, 4(s1) | a0 = *((s1 + 1));
0x0001823c lw v0, 0xc(s1) | v0 = *((s1 + 3));
0x00018240 lw gp, 0x20(sp) | gp = *(var_20h);
0x00018244 subu a2, v1, a1 | __asm ("subu a2, v1, a1");
0x00018248 sltu v1, v1, a2 | v1 = (v1 < a2) ? 1 : 0;
0x0001824c subu v0, v0, a0 | __asm ("subu v0, v0, a0");
0x00018250 subu v0, v0, v1 | __asm ("subu v0, v0, v1");
0x00018254 lw t9, -0x7de0(gp) | t9 = sym.cprintf_u64
0x00018258 sw a2, 0x18(sp) | *(var_18h) = a2;
0x0001825c sw v0, 0x1c(sp) | *(var_1ch) = v0;
0x00018260 sw a1, 0x10(sp) | *(var_10h) = a1;
0x00018264 sw a0, 0x14(sp) | *(var_14h) = a0;
0x00018268 addiu a2, zero, 9 | a2 = 9;
0x0001826c addiu a1, zero, 2 | a1 = 2;
0x00018270 move a0, s0 | a0 = s0;
0x00018274 bal 0x1c930 | sym_cprintf_u64 ()
0x00018278 lw s3, 8(s1) | s3 = *((s1 + 2));
0x0001827c lw s4, 0xc(s1) | s4 = *((s1 + 3));
0x00018280 lw s2, (fp) | s2 = *(fp);
0x00018284 or v0, s3, s4 | v0 = s3 | s4;
0x00018288 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001828c ext s2, s2, 0x14, 1 | __asm ("ext s2, s2, 0x14, 1");
| if (v0 == 0) {
0x00018290 beqz v0, 0x1849c | goto label_4;
| }
0x00018294 lw a0, (s1) | a0 = *(s1);
0x00018298 lw v0, 4(s1) | v0 = *((s1 + 1));
0x0001829c subu a0, s3, a0 | __asm ("subu a0, s3, a0");
0x000182a0 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x000182a4 sltu a1, s3, a0 | a1 = (s3 < a0) ? 1 : 0;
0x000182a8 subu v0, s4, v0 | __asm ("subu v0, s4, v0");
0x000182ac subu a1, v0, a1 | __asm ("subu a1, v0, a1");
0x000182b0 bal 0x20f20 | fcn_00020f20 ();
0x000182b4 lw gp, 0x20(sp) | gp = *(var_20h);
0x000182b8 move a1, s4 | a1 = s4;
0x000182bc move a0, s3 | a0 = s3;
0x000182c0 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x000182c4 move s4, v0 | s4 = v0;
0x000182c8 move s5, v1 | s5 = v1;
0x000182cc bal 0x20f20 | fcn_00020f20 ();
0x000182d0 lw gp, 0x20(sp) | gp = *(var_20h);
0x000182d4 move a2, v0 | a2 = v0;
0x000182d8 move a3, v1 | a3 = v1;
0x000182dc lw t9, -0x7e78(gp) | t9 = *(gp);
0x000182e0 move a0, s4 | a0 = s4;
0x000182e4 move a1, s5 | a1 = s5;
0x000182e8 bal 0x1f460 | fcn_0001f460 ();
0x000182ec lw gp, 0x20(sp) | gp = *(var_20h);
0x000182f0 move a0, v0 | a0 = v0;
0x000182f4 move a1, v1 | a1 = v1;
0x000182f8 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x000182fc lw t9, -0x7e70(gp) | t9 = *(gp);
0x00018300 lw a2, 0x3130(v0) | a2 = *((v0 + 3148));
0x00018304 lw a3, 0x3134(v0) | a3 = *((v0 + 3149));
0x00018308 bal 0x1ff60 | fcn_0001ff60 ();
0x0001830c lw gp, 0x20(sp) | gp = *(var_20h);
| label_1:
0x00018310 lw t9, -0x7df0(gp) | t9 = sym.cprintf_pc
0x00018314 addiu a3, zero, 2 | a3 = 2;
0x00018318 move a0, s2 | a0 = s2;
0x0001831c sw v0, 0x10(sp) | *(var_10h) = v0;
0x00018320 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00018324 addiu a2, zero, 9 | a2 = 9;
0x00018328 addiu a1, zero, 1 | a1 = 1;
0x0001832c bal 0x1cea4 | sym_cprintf_pc ()
0x00018330 lw v0, 0x18(s1) | v0 = *((s1 + 6));
0x00018334 lw v1, 0x1c(s1) | v1 = *((s1 + 7));
0x00018338 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001833c sw v0, 0x18(sp) | *(var_18h) = v0;
0x00018340 sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x00018344 lw v1, 0x14(s1) | v1 = *((s1 + 5));
0x00018348 lw v0, 0x10(s1) | v0 = *((s1 + 4));
0x0001834c lw t9, -0x7de0(gp) | t9 = sym.cprintf_u64
0x00018350 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00018354 addiu a2, zero, 9 | a2 = 9;
0x00018358 addiu a1, zero, 2 | a1 = 2;
0x0001835c move a0, s0 | a0 = s0;
0x00018360 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00018364 bal 0x1c930 | sym_cprintf_u64 ()
0x00018368 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001836c lw t9, -0x7c80(gp) | t9 = sym.imp.putchar;
0x00018370 addiu a0, zero, 0xa | a0 = 0xa;
0x00018374 jalr t9 | t9 ();
0x00018378 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001837c lw t1, (s1) | t1 = *(s1);
0x00018380 lw a0, 8(s1) | a0 = *((s1 + 2));
0x00018384 lw t8, -0x7fb0(gp) | t8 = *((gp - 8172));
0x00018388 lw t6, -0x7fb0(gp) | t6 = *((gp - 8172));
0x0001838c lw t4, -0x7fb0(gp) | t4 = *((gp - 8172));
0x00018390 lw t2, -0x7fb0(gp) | t2 = *((gp - 8172));
0x00018394 lw t9, 0x7128(t8) | t9 = *((t8 + 7242));
0x00018398 lw t7, 0x7120(t6) | t7 = *((t6 + 7240));
0x0001839c lw v1, 0x10(s1) | v1 = *((s1 + 4));
0x000183a0 lw t5, 0x7118(t4) | t5 = *((t4 + 7238));
0x000183a4 lw v0, 0x18(s1) | v0 = *((s1 + 6));
0x000183a8 lw t3, 0x7110(t2) | t3 = *((t2 + 7236));
0x000183ac lw s4, 0x712c(t8) | s4 = *((t8 + 7243));
0x000183b0 lw s3, 0x7124(t6) | s3 = *((t6 + 7241));
0x000183b4 lw s0, 0x7114(t2) | s0 = *((t2 + 7237));
0x000183b8 lw s2, 0x711c(t4) | s2 = *((t4 + 7239));
0x000183bc lw a1, 4(s1) | a1 = *((s1 + 1));
0x000183c0 lw t0, 0xc(s1) | t0 = *((s1 + 3));
0x000183c4 lw a3, 0x14(s1) | a3 = *((s1 + 5));
0x000183c8 lw a2, 0x1c(s1) | a2 = *((s1 + 7));
0x000183cc addu t9, t1, t9 | t9 = t1 + t9;
0x000183d0 addu t7, a0, t7 | t7 = a0 + t7;
0x000183d4 addu t5, v1, t5 | t5 = v1 + t5;
0x000183d8 addu t3, v0, t3 | t3 = v0 + t3;
0x000183dc addu t0, t0, s3 | t0 += s3;
0x000183e0 addu a3, a3, s2 | a3 += s2;
0x000183e4 addu a2, a2, s0 | a2 += s0;
0x000183e8 lw ra, 0x4c(sp) | ra = *(var_4ch);
0x000183ec sltu t1, t9, t1 | t1 = (t9 < t1) ? 1 : 0;
0x000183f0 addu a1, a1, s4 | a1 += s4;
0x000183f4 sltu a0, t7, a0 | a0 = (t7 < a0) ? 1 : 0;
0x000183f8 sltu v1, t5, v1 | v1 = (t5 < v1) ? 1 : 0;
0x000183fc sltu v0, t3, v0 | v0 = (t3 < v0) ? 1 : 0;
0x00018400 addu a1, t1, a1 | a1 = t1 + a1;
0x00018404 addu a0, a0, t0 | a0 += t0;
0x00018408 addu v1, v1, a3 | v1 += a3;
0x0001840c addu v0, v0, a2 | v0 += a2;
0x00018410 lw fp, 0x48(sp) | fp = *(var_48h);
0x00018414 lw s7, 0x44(sp) | s7 = *(var_44h);
0x00018418 lw s6, 0x40(sp) | s6 = *(var_40h);
0x0001841c lw s5, 0x3c(sp) | s5 = *(var_3ch);
0x00018420 lw s4, 0x38(sp) | s4 = *(var_38h);
0x00018424 lw s3, 0x34(sp) | s3 = *(var_34h);
0x00018428 sw t9, 0x7128(t8) | *((t8 + 28968)) = t9;
0x0001842c sw a1, 0x712c(t8) | *((t8 + 28972)) = a1;
0x00018430 sw t7, 0x7120(t6) | *((t6 + 7240)) = t7;
0x00018434 sw a0, 0x7124(t6) | *((t6 + 7241)) = a0;
0x00018438 sw t5, 0x7118(t4) | *((t4 + 7238)) = t5;
0x0001843c sw v1, 0x711c(t4) | *((t4 + 7239)) = v1;
0x00018440 sw t3, 0x7110(t2) | *((t2 + 7236)) = t3;
0x00018444 sw v0, 0x7114(t2) | *((t2 + 7237)) = v0;
0x00018448 lw s2, 0x30(sp) | s2 = *(var_30h);
0x0001844c lw s1, 0x2c(sp) | s1 = *(var_2ch);
0x00018450 lw s0, 0x28(sp) | s0 = *(var_28h);
0x00018454 addiu sp, sp, 0x50 |
0x00018458 jr ra | return v1;
| label_2:
0x0001845c lw s3, -0x7fb8(gp) | s3 = *(gp);
0x00018460 sltiu v0, s2, 1 | v0 = (s2 < 1) ? 1 : 0;
0x00018464 sll v0, v0, 6 | v0 <<= 6;
0x00018468 addiu v1, zero, 9 | v1 = 9;
0x0001846c lw t9, -0x7de8(gp) | t9 = sym.print_hdr_line;
0x00018470 move a1, a0 | a1 = a0;
0x00018474 sw v1, 0x10(sp) | *(var_10h) = v1;
0x00018478 move a3, zero | a3 = 0;
0x0001847c move a2, zero | a2 = 0;
0x00018480 addu a0, s3, v0 | a0 = s3 + v0;
0x00018484 bal 0xc7f0 | sym_print_hdr_line ();
0x00018488 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001848c b 0x17f00 |
| } while (1);
| label_3:
0x00018490 move v0, zero | v0 = 0;
0x00018494 move v1, zero | v1 = 0;
0x00018498 b 0x180e8 | goto label_0;
| label_4:
0x0001849c move v0, zero | v0 = 0;
0x000184a0 move v1, zero | v1 = 0;
0x000184a4 b 0x18310 | goto label_1;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/sar @ 0xe640 */
| #include <stdint.h>
|
; (fcn) sym.stub_print_memory_stats () | void stub_print_memory_stats () {
0x0000e640 lui gp, 3 |
0x0000e644 addiu gp, gp, -0xaf0 |
0x0000e648 addu gp, gp, t9 | gp += t9;
0x0000e64c addiu sp, sp, -0x90 |
0x0000e650 addiu t2, a2, 0x26 | t2 = a2 + 0x26;
0x0000e654 sw fp, 0x88(sp) | *(var_88h) = fp;
0x0000e658 lw fp, -0x7fac(gp) | fp = *(gp);
0x0000e65c lw v0, 0x94(a0) | v0 = *((a0 + 37));
0x0000e660 sw s7, 0x84(sp) | *(var_84h) = s7;
0x0000e664 lw v1, (fp) | v1 = *(fp);
0x0000e668 move s7, a0 | s7 = a0;
0x0000e66c sw a2, 0x98(sp) | *(arg_98h) = a2;
0x0000e670 sll t2, t2, 2 | t2 <<= 2;
0x0000e674 ext v1, v1, 0x14, 1 | __asm ("ext v1, v1, 0x14, 1");
0x0000e678 addiu a2, zero, -1 | a2 = -1;
0x0000e67c addiu a1, zero, 2 | a1 = 2;
0x0000e680 sw gp, 0x38(sp) | *(var_38h) = gp;
| if (v1 != 0) {
0x0000e684 movz a1, a2, v1 | a1 = a2;
| }
0x0000e688 andi a0, v0, 1 | a0 = v0 & 1;
0x0000e68c sw s6, 0x80(sp) | *(var_80h) = s6;
0x0000e690 sw ra, 0x8c(sp) | *(var_8ch) = ra;
0x0000e694 sw s5, 0x7c(sp) | *(var_7ch) = s5;
0x0000e698 sw s4, 0x78(sp) | *(var_78h) = s4;
0x0000e69c sw s3, 0x74(sp) | *(var_74h) = s3;
0x0000e6a0 sw s2, 0x70(sp) | *(var_70h) = s2;
0x0000e6a4 sw s1, 0x6c(sp) | *(var_6ch) = s1;
0x0000e6a8 sw s0, 0x68(sp) | *(var_68h) = s0;
0x0000e6ac sw a3, 0x9c(sp) | *(arg_9ch) = a3;
0x0000e6b0 lwx s6, t2(s7) | __asm ("lwx s6, t2(s7)");
0x0000e6b4 sw a1, 0x40(sp) | *(var_40h) = a1;
| if (a0 == 0) {
0x0000e6b8 beqz a0, 0xec34 | goto label_3;
| }
0x0000e6bc lw v0, -0x7f84(gp) | v0 = *(gp);
0x0000e6c0 lw v0, (v0) | v0 = *(v0);
0x0000e6c4 lw v0, 0x98(sp) | v0 = *(arg_98h);
| if (v0 != 0) {
0x0000e6c8 bnez v0, 0xf2a8 | goto label_17;
| }
0x0000e6cc lw s0, -0x7fb8(gp) | s0 = *(gp);
0x0000e6d0 sll a2, v0, 6 | a2 = v0 << 6;
0x0000e6d4 lw v0, 0x9c(sp) | v0 = *(arg_9ch);
0x0000e6d8 addu a2, s0, a2 | a2 = s0 + a2;
| if (v0 != 0) {
0x0000e6dc bnez v0, 0xf2ec | goto label_18;
| }
| label_2:
0x0000e6e0 lw a0, (s6) | a0 = *(s6);
0x0000e6e4 lw v0, 8(s6) | v0 = *((s6 + 2));
0x0000e6e8 lw a3, 0xc(s6) | a3 = *((s6 + 3));
0x0000e6ec lw a1, 4(s6) | a1 = *((s6 + 1));
0x0000e6f0 addu v0, a0, v0 | v0 = a0 + v0;
0x0000e6f4 lw v1, 0x10(s6) | v1 = *((s6 + 4));
0x0000e6f8 addu a1, a1, a3 | a1 += a3;
0x0000e6fc sltu a0, v0, a0 | a0 = (v0 < a0) ? 1 : 0;
0x0000e700 lw a3, 0x14(s6) | a3 = *((s6 + 5));
0x0000e704 addu v1, v0, v1 | v1 = v0 + v1;
0x0000e708 addu a0, a0, a1 | a0 += a1;
0x0000e70c lw a1, 0x60(s6) | a1 = *((s6 + 24));
0x0000e710 addu a0, a0, a3 | a0 += a3;
0x0000e714 sltu v0, v1, v0 | v0 = (v1 < v0) ? 1 : 0;
0x0000e718 lw a3, 0x64(s6) | a3 = *((s6 + 25));
0x0000e71c addu v0, v0, a0 | v0 += a0;
0x0000e720 addu a0, v1, a1 | a0 = v1 + a1;
0x0000e724 sltu v1, a0, v1 | v1 = (a0 < v1) ? 1 : 0;
0x0000e728 addu v0, v0, a3 | v0 += a3;
0x0000e72c lw s1, 0x1c(s6) | s1 = *((s6 + 7));
0x0000e730 addu v0, v1, v0 | v0 = v1 + v0;
0x0000e734 sltu v1, v0, s1 | v1 = (v0 < s1) ? 1 : 0;
0x0000e738 lw s0, 0x18(s6) | s0 = *((s6 + 6));
| if (v1 == 0) {
0x0000e73c beqz v1, 0xf28c | goto label_19;
| }
0x0000e740 move s0, a0 | s0 = a0;
| label_1:
0x0000e744 move s1, v0 | s1 = v0;
0x0000e748 lw a1, -0x7fd8(gp) | a1 = *(gp);
| do {
0x0000e74c lw t9, -0x7ca8(gp) | t9 = sym.imp.__printf_chk
| /* str.__11s */
| label_0:
0x0000e750 addiu a1, a1, 0x2048 | a1 += 0x2048;
0x0000e754 addiu a0, zero, 1 | a0 = 1;
0x0000e758 jalr t9 | t9 ();
0x0000e75c lw v1, 0x18(s6) | v1 = *((s6 + 6));
0x0000e760 lw v0, 0x1c(s6) | v0 = *((s6 + 7));
0x0000e764 subu a0, v1, s0 | __asm ("subu a0, v1, s0");
0x0000e768 sltu v1, v1, a0 | v1 = (v1 < a0) ? 1 : 0;
0x0000e76c subu v0, v0, s1 | __asm ("subu v0, v0, s1");
0x0000e770 subu v0, v0, v1 | __asm ("subu v0, v0, v1");
0x0000e774 sw a0, 0x20(sp) | *(var_20h) = a0;
0x0000e778 sw v0, 0x24(sp) | *(var_24h) = v0;
0x0000e77c lw v0, 0x80(s6) | v0 = *((s6 + 32));
0x0000e780 lw v1, 0x84(s6) | v1 = *((s6 + 33));
0x0000e784 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000e788 sw v0, 0x18(sp) | *(var_18h) = v0;
0x0000e78c sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x0000e790 lw v0, (s6) | v0 = *(s6);
0x0000e794 lw v1, 4(s6) | v1 = *((s6 + 1));
0x0000e798 lw a0, 0x40(sp) | a0 = *(var_40h);
0x0000e79c lw t9, -0x7de0(gp) | t9 = sym.cprintf_u64
0x0000e7a0 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000e7a4 addiu a2, zero, 9 | a2 = 9;
0x0000e7a8 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000e7ac addiu a1, zero, 3 | a1 = 3;
0x0000e7b0 bal 0x1c930 | sym_cprintf_u64 ()
0x0000e7b4 lw s2, 0x18(s6) | s2 = *((s6 + 6));
0x0000e7b8 lw s3, 0x1c(s6) | s3 = *((s6 + 7));
0x0000e7bc lw s4, (fp) | s4 = *(fp);
0x0000e7c0 or v0, s2, s3 | v0 = s2 | s3;
0x0000e7c4 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000e7c8 ext s4, s4, 0x14, 1 | __asm ("ext s4, s4, 0x14, 1");
| if (v0 == 0) {
0x0000e7cc beqz v0, 0xfa30 | goto label_20;
| }
0x0000e7d0 subu a0, s2, s0 | __asm ("subu a0, s2, s0");
0x0000e7d4 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000e7d8 sltu a1, s2, a0 | a1 = (s2 < a0) ? 1 : 0;
0x0000e7dc subu s1, s3, s1 | __asm ("subu s1, s3, s1");
0x0000e7e0 subu a1, s1, a1 | __asm ("subu a1, s1, a1");
0x0000e7e4 bal 0x20f20 | fcn_00020f20 ();
0x0000e7e8 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000e7ec move a0, s2 | a0 = s2;
0x0000e7f0 move a1, s3 | a1 = s3;
0x0000e7f4 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000e7f8 move s0, v0 | s0 = v0;
0x0000e7fc move s1, v1 | s1 = v1;
0x0000e800 bal 0x20f20 | fcn_00020f20 ();
0x0000e804 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000e808 move a2, v0 | a2 = v0;
0x0000e80c move a3, v1 | a3 = v1;
0x0000e810 lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000e814 move a0, s0 | a0 = s0;
0x0000e818 move a1, s1 | a1 = s1;
0x0000e81c bal 0x1f460 | fcn_0001f460 ();
0x0000e820 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000e824 move a0, v0 | a0 = v0;
0x0000e828 move a1, v1 | a1 = v1;
0x0000e82c lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0000e830 lw t9, -0x7e70(gp) | t9 = *(gp);
0x0000e834 lw a2, 0x3130(v0) | a2 = *((v0 + 3148));
0x0000e838 lw a3, 0x3134(v0) | a3 = *((v0 + 3149));
0x0000e83c bal 0x1ff60 | fcn_0001ff60 ();
0x0000e840 lw gp, 0x38(sp) | gp = *(var_38h);
| label_8:
0x0000e844 lw t9, -0x7df0(gp) | t9 = sym.cprintf_pc
0x0000e848 addiu a3, zero, 2 | a3 = 2;
0x0000e84c addiu a2, zero, 9 | a2 = 9;
0x0000e850 addiu a1, zero, 1 | a1 = 1;
0x0000e854 move a0, s4 | a0 = s4;
0x0000e858 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000e85c sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000e860 bal 0x1cea4 | sym_cprintf_pc ()
0x0000e864 lw v0, 0x38(s6) | v0 = *((s6 + 14));
0x0000e868 lw v1, 0x3c(s6) | v1 = *((s6 + 15));
0x0000e86c sw v0, 0x20(sp) | *(var_20h) = v0;
0x0000e870 sw v1, 0x24(sp) | *(var_24h) = v1;
0x0000e874 lw v0, 0x10(s6) | v0 = *((s6 + 4));
0x0000e878 lw v1, 0x14(s6) | v1 = *((s6 + 5));
0x0000e87c lw gp, 0x38(sp) | gp = *(var_38h);
0x0000e880 sw v0, 0x18(sp) | *(var_18h) = v0;
0x0000e884 sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x0000e888 lw v0, 8(s6) | v0 = *((s6 + 2));
0x0000e88c lw v1, 0xc(s6) | v1 = *((s6 + 3));
0x0000e890 lw a0, 0x40(sp) | a0 = *(var_40h);
0x0000e894 lw t9, -0x7de0(gp) | t9 = sym.cprintf_u64
0x0000e898 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000e89c sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000e8a0 addiu a2, zero, 9 | a2 = 9;
0x0000e8a4 addiu a1, zero, 3 | a1 = 3;
0x0000e8a8 bal 0x1c930 | sym_cprintf_u64 ()
0x0000e8ac lw v0, 0x18(s6) | v0 = *((s6 + 6));
0x0000e8b0 lw s1, 0x28(s6) | s1 = *((s6 + 10));
0x0000e8b4 lw s0, 0x1c(s6) | s0 = *((s6 + 7));
0x0000e8b8 lw v1, 0x2c(s6) | v1 = *((s6 + 11));
0x0000e8bc addu s1, v0, s1 | s1 = v0 + s1;
0x0000e8c0 sltu v0, s1, v0 | v0 = (s1 < v0) ? 1 : 0;
0x0000e8c4 addu s0, s0, v1 | s0 += v1;
0x0000e8c8 lw s2, (fp) | s2 = *(fp);
0x0000e8cc addu s0, v0, s0 | s0 = v0 + s0;
0x0000e8d0 or v0, s1, s0 | v0 = s1 | s0;
0x0000e8d4 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000e8d8 ext s2, s2, 0x14, 1 | __asm ("ext s2, s2, 0x14, 1");
| if (v0 == 0) {
0x0000e8dc beqz v0, 0xfa24 | goto label_21;
| }
0x0000e8e0 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000e8e4 lw a0, 0x38(s6) | a0 = *((s6 + 14));
0x0000e8e8 lw a1, 0x3c(s6) | a1 = *((s6 + 15));
0x0000e8ec bal 0x20f20 | fcn_00020f20 ();
0x0000e8f0 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000e8f4 move a0, s1 | a0 = s1;
0x0000e8f8 move a1, s0 | a1 = s0;
0x0000e8fc lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000e900 move s0, v0 | s0 = v0;
0x0000e904 move s1, v1 | s1 = v1;
0x0000e908 bal 0x20f20 | fcn_00020f20 ();
0x0000e90c lw gp, 0x38(sp) | gp = *(var_38h);
0x0000e910 move a2, v0 | a2 = v0;
0x0000e914 move a3, v1 | a3 = v1;
0x0000e918 lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000e91c move a0, s0 | a0 = s0;
0x0000e920 move a1, s1 | a1 = s1;
0x0000e924 bal 0x1f460 | fcn_0001f460 ();
0x0000e928 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000e92c move a0, v0 | a0 = v0;
0x0000e930 move a1, v1 | a1 = v1;
0x0000e934 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0000e938 lw t9, -0x7e70(gp) | t9 = *(gp);
0x0000e93c lw a2, 0x3130(v0) | a2 = *((v0 + 3148));
0x0000e940 lw a3, 0x3134(v0) | a3 = *((v0 + 3149));
0x0000e944 bal 0x1ff60 | fcn_0001ff60 ();
0x0000e948 lw gp, 0x38(sp) | gp = *(var_38h);
| label_7:
0x0000e94c lw t9, -0x7df0(gp) | t9 = sym.cprintf_pc
0x0000e950 addiu a3, zero, 2 | a3 = 2;
0x0000e954 addiu a2, zero, 9 | a2 = 9;
0x0000e958 addiu a1, zero, 1 | a1 = 1;
0x0000e95c move a0, s2 | a0 = s2;
0x0000e960 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000e964 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000e968 bal 0x1cea4 | sym_cprintf_pc ()
0x0000e96c lw v0, 0x50(s6) | v0 = *((s6 + 20));
0x0000e970 lw v1, 0x54(s6) | v1 = *((s6 + 21));
0x0000e974 sw v0, 0x20(sp) | *(var_20h) = v0;
0x0000e978 sw v1, 0x24(sp) | *(var_24h) = v1;
0x0000e97c lw v0, 0x48(s6) | v0 = *((s6 + 18));
0x0000e980 lw v1, 0x4c(s6) | v1 = *((s6 + 19));
0x0000e984 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000e988 sw v0, 0x18(sp) | *(var_18h) = v0;
0x0000e98c sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x0000e990 lw v0, 0x40(s6) | v0 = *((s6 + 16));
0x0000e994 lw v1, 0x44(s6) | v1 = *((s6 + 17));
0x0000e998 lw a0, 0x40(sp) | a0 = *(var_40h);
0x0000e99c lw t9, -0x7de0(gp) | t9 = sym.cprintf_u64
0x0000e9a0 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000e9a4 addiu a2, zero, 9 | a2 = 9;
0x0000e9a8 addiu a1, zero, 3 | a1 = 3;
0x0000e9ac sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000e9b0 bal 0x1c930 | sym_cprintf_u64 ()
0x0000e9b4 lw v0, 0x94(s7) | v0 = *((s7 + 37));
0x0000e9b8 andi v0, v0, 0x100 | v0 &= aav.0x00000100;
0x0000e9bc lw gp, 0x38(sp) | gp = *(var_38h);
| if (v0 != 0) {
0x0000e9c0 bnez v0, 0xfa3c | goto label_22;
| }
| label_9:
0x0000e9c4 lw t9, -0x7c80(gp) | t9 = sym.imp.putchar;
0x0000e9c8 addiu a0, zero, 0xa | a0 = 0xa;
0x0000e9cc jalr t9 | t9 ();
0x0000e9d0 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000e9d4 lw a3, 4(s6) | a3 = *((s6 + 1));
0x0000e9d8 lw v0, 0x40(s6) | v0 = *((s6 + 16));
0x0000e9dc lw t8, -0x7fb0(gp) | t8 = *((gp - 8172));
0x0000e9e0 lw t7, -0x7fb0(gp) | t7 = *((gp - 8172));
0x0000e9e4 lw t5, -0x7fb0(gp) | t5 = *((gp - 8172));
0x0000e9e8 lw s3, 0x7284(t8) | s3 = *((t8 + 7329));
0x0000e9ec lw s2, 0x727c(t7) | s2 = *((t7 + 7327));
0x0000e9f0 addu s3, a3, s3 | s3 = a3 + s3;
0x0000e9f4 lw a3, 0xc(s6) | a3 = *((s6 + 3));
0x0000e9f8 lw t3, -0x7fb0(gp) | t3 = *((gp - 8172));
0x0000e9fc lw t0, -0x7fb0(gp) | t0 = *((gp - 8172));
0x0000ea00 lw s1, 0x7274(t5) | s1 = *((t5 + 7325));
0x0000ea04 addu s2, a3, s2 | s2 = a3 + s2;
0x0000ea08 lw a3, 0x14(s6) | a3 = *((s6 + 5));
0x0000ea0c lw s0, 0x726c(t3) | s0 = *((t3 + 7323));
0x0000ea10 addu s1, a3, s1 | s1 = a3 + s1;
0x0000ea14 lw a3, 0x3c(s6) | a3 = *((s6 + 15));
0x0000ea18 lw t1, 0x7260(t0) | t1 = *((t0 + 7320));
0x0000ea1c lw t9, 0x7264(t0) | t9 = *((t0 + 7321));
0x0000ea20 addu s0, a3, s0 | s0 = a3 + s0;
0x0000ea24 lw a3, 0x44(s6) | a3 = *((s6 + 17));
0x0000ea28 addu t1, v0, t1 | t1 = v0 + t1;
0x0000ea2c lw s4, 0x7280(t8) | s4 = *((t8 + 7328));
0x0000ea30 lw s5, 0x7278(t7) | s5 = *((t7 + 7326));
0x0000ea34 lw t6, 0x7270(t5) | t6 = *(t5);
0x0000ea38 lw t4, 0x7268(t3) | t4 = *((t3 + 7322));
0x0000ea3c lw a2, (s6) | a2 = *(s6);
0x0000ea40 lw a1, 8(s6) | a1 = *((s6 + 2));
0x0000ea44 lw a0, 0x10(s6) | a0 = *((s6 + 4));
0x0000ea48 lw v1, 0x38(s6) | v1 = *((s6 + 14));
0x0000ea4c addu t9, a3, t9 | t9 = a3 + t9;
0x0000ea50 sltu v0, t1, v0 | v0 = (t1 < v0) ? 1 : 0;
0x0000ea54 addu v0, v0, t9 | v0 += t9;
0x0000ea58 addu s4, a2, s4 | s4 = a2 + s4;
0x0000ea5c addu s5, a1, s5 | s5 = a1 + s5;
0x0000ea60 addu t6, a0, t6 | t6 = a0 + t6;
0x0000ea64 addu t4, v1, t4 | t4 = v1 + t4;
0x0000ea68 sw v0, 0x7264(t0) | *((t0 + 7321)) = v0;
0x0000ea6c lw v0, -0x7fb0(gp) | v0 = *((gp - 8172));
0x0000ea70 sltu a2, s4, a2 | a2 = (s4 < a2) ? 1 : 0;
0x0000ea74 sltu a1, s5, a1 | a1 = (s5 < a1) ? 1 : 0;
0x0000ea78 sltu a0, t6, a0 | a0 = (t6 < a0) ? 1 : 0;
0x0000ea7c sltu v1, t4, v1 | v1 = (t4 < v1) ? 1 : 0;
0x0000ea80 addu a2, a2, s3 | a2 += s3;
0x0000ea84 addu a1, a1, s2 | a1 += s2;
0x0000ea88 addu a0, a0, s1 | a0 += s1;
0x0000ea8c addu v1, v1, s0 | v1 += s0;
0x0000ea90 lw s3, 0x48(s6) | s3 = *((s6 + 18));
0x0000ea94 sw s4, 0x7280(t8) | *((t8 + 29312)) = s4;
0x0000ea98 sw a2, 0x7284(t8) | *((t8 + 29316)) = a2;
0x0000ea9c sw s5, 0x7278(t7) | *((t7 + 7326)) = s5;
0x0000eaa0 sw a1, 0x727c(t7) | *((t7 + 7327)) = a1;
0x0000eaa4 sw t6, 0x7270(t5) | *(t5) = t6;
0x0000eaa8 sw a0, 0x7274(t5) | *((t5 + 7325)) = a0;
0x0000eaac sw v1, 0x726c(t3) | *((t3 + 7323)) = v1;
0x0000eab0 sw t1, 0x7260(t0) | *((t0 + 7320)) = t1;
0x0000eab4 sw t4, 0x7268(t3) | *((t3 + 7322)) = t4;
0x0000eab8 lw t4, 0x7258(v0) | t4 = *((v0 + 7318));
0x0000eabc lw v1, -0x7fb0(gp) | v1 = *((gp - 8172));
0x0000eac0 addu t4, s3, t4 | t4 = s3 + t4;
0x0000eac4 lw s1, 0x725c(v0) | s1 = *((v0 + 7319));
0x0000eac8 sltu t8, t4, s3 | t8 = (t4 < s3) ? 1 : 0;
0x0000eacc lw s3, 0x4c(s6) | s3 = *((s6 + 19));
0x0000ead0 lw a1, -0x7fb0(gp) | a1 = *((gp - 8172));
0x0000ead4 lw a0, -0x7fb0(gp) | a0 = *((gp - 8172));
0x0000ead8 sw v0, 0x48(sp) | *(var_48h) = v0;
0x0000eadc addu s1, s3, s1 | s1 = s3 + s1;
0x0000eae0 lw t2, -0x7fb0(gp) | t2 = *((gp - 8172));
0x0000eae4 lw s0, 0x7254(v1) | s0 = *((v1 + 7317));
0x0000eae8 lw s3, 0x54(s6) | s3 = *((s6 + 21));
0x0000eaec addu t8, t8, s1 | t8 += s1;
0x0000eaf0 lw s1, 0x48(sp) | s1 = *(var_48h);
0x0000eaf4 lw t3, 0x7250(v1) | t3 = *((v1 + 7316));
0x0000eaf8 lw t5, 0x60(s6) | t5 = *((s6 + 24));
0x0000eafc lw t7, 0x50(s6) | t7 = *((s6 + 20));
0x0000eb00 lw t0, 0x7240(a1) | t0 = *((a1 + 7312));
0x0000eb04 lw t6, 0x58(s6) | t6 = *((s6 + 22));
0x0000eb08 lw t1, 0x7248(a0) | t1 = *((a0 + 7314));
0x0000eb0c sw v1, 0x50(sp) | *(var_50h) = v1;
0x0000eb10 lw t9, 0x724c(a0) | t9 = *((a0 + 7315));
0x0000eb14 addu s0, s3, s0 | s0 = s3 + s0;
0x0000eb18 lw s3, 0x5c(s6) | s3 = *((s6 + 23));
0x0000eb1c lw a3, -0x7fb0(gp) | a3 = *((gp - 8172));
0x0000eb20 lw s4, 0x68(s6) | s4 = *((s6 + 26));
0x0000eb24 addu t0, t5, t0 | t0 = t5 + t0;
0x0000eb28 addu t3, t7, t3 | t3 = t7 + t3;
0x0000eb2c lw a2, 0x7238(t2) | a2 = *((t2 + 7310));
0x0000eb30 sw t4, 0x7258(s1) | *((s1 + 7318)) = t4;
0x0000eb34 lw t4, 0x50(sp) | t4 = *(var_50h);
0x0000eb38 lw v1, 0x7244(a1) | v1 = *((a1 + 7313));
0x0000eb3c addu t1, t6, t1 | t1 = t6 + t1;
0x0000eb40 addu t9, s3, t9 | t9 = s3 + t9;
0x0000eb44 sltu t7, t3, t7 | t7 = (t3 < t7) ? 1 : 0;
0x0000eb48 sltu s3, t0, t5 | s3 = (t0 < t5) ? 1 : 0;
0x0000eb4c lw t5, 0x64(s6) | t5 = *((s6 + 25));
0x0000eb50 addu a2, s4, a2 | a2 = s4 + a2;
0x0000eb54 sltu t6, t1, t6 | t6 = (t1 < t6) ? 1 : 0;
0x0000eb58 addu t7, t7, s0 | t7 += s0;
0x0000eb5c lw s5, 0x70(s6) | s5 = *((s6 + 28));
0x0000eb60 addu t6, t6, t9 | t6 += t9;
0x0000eb64 sw t3, 0x7250(t4) | *((t4 + 7316)) = t3;
0x0000eb68 sw a0, 0x54(sp) | *(var_54h) = a0;
0x0000eb6c sw a1, 0x58(sp) | *(var_58h) = a1;
0x0000eb70 lw s2, 0x723c(t2) | s2 = *((t2 + 7311));
0x0000eb74 lw v0, 0x7230(a3) | v0 = *((a3 + 7308));
0x0000eb78 addu v1, t5, v1 | v1 = t5 + v1;
0x0000eb7c lw s0, 0x74(s6) | s0 = *((s6 + 29));
0x0000eb80 sltu t5, a2, s4 | t5 = (a2 < s4) ? 1 : 0;
0x0000eb84 lw t9, 0x7234(a3) | t9 = *((a3 + 7309));
0x0000eb88 lw s4, 0x6c(s6) | s4 = *((s6 + 27));
0x0000eb8c sw t8, 0x725c(s1) | *((s1 + 7319)) = t8;
0x0000eb90 sw t7, 0x7254(t4) | *((t4 + 7317)) = t7;
0x0000eb94 lw t3, 0x54(sp) | t3 = *(var_54h);
0x0000eb98 lw a1, -0x7fb0(gp) | a1 = *((gp - 8172));
0x0000eb9c lw a0, -0x7fb0(gp) | a0 = *((gp - 8172));
0x0000eba0 sw t1, 0x7248(t3) | *((t3 + 7314)) = t1;
0x0000eba4 lw t1, 0x58(sp) | t1 = *(var_58h);
0x0000eba8 addu v1, s3, v1 | v1 = s3 + v1;
0x0000ebac addu s2, s4, s2 | s2 = s4 + s2;
0x0000ebb0 addu t5, t5, s2 | t5 += s2;
0x0000ebb4 sw t0, 0x7240(t1) | *((t1 + 7312)) = t0;
0x0000ebb8 sw v1, 0x7244(t1) | *((t1 + 7313)) = v1;
0x0000ebbc lw t0, 0x7220(a0) | t0 = *((a0 + 7304));
0x0000ebc0 lw t1, 0x7228(a1) | t1 = *((a1 + 7306));
0x0000ebc4 lw v1, 0x80(s6) | v1 = *((s6 + 32));
0x0000ebc8 sw a2, 0x7238(t2) | *((t2 + 7310)) = a2;
0x0000ebcc lw a2, 0x78(s6) | a2 = *((s6 + 30));
0x0000ebd0 addu v0, s5, v0 | v0 = s5 + v0;
0x0000ebd4 sw t6, 0x724c(t3) | *((t3 + 7315)) = t6;
0x0000ebd8 sw t5, 0x723c(t2) | *((t2 + 7311)) = t5;
0x0000ebdc lw t6, 0x722c(a1) | t6 = *((a1 + 7307));
0x0000ebe0 lw t5, 0x7224(a0) | t5 = *((a0 + 7305));
0x0000ebe4 lw t4, 0x7c(s6) | t4 = *((s6 + 31));
0x0000ebe8 lw t3, 0x84(s6) | t3 = *((s6 + 33));
0x0000ebec addu t1, a2, t1 | t1 = a2 + t1;
0x0000ebf0 addu t0, v1, t0 | t0 = v1 + t0;
0x0000ebf4 sw v0, 0x7230(a3) | *((a3 + 7308)) = v0;
0x0000ebf8 addu t9, s0, t9 | t9 = s0 + t9;
0x0000ebfc sltu v0, v0, s5 | v0 = (v0 < s5) ? 1 : 0;
0x0000ec00 addu v0, v0, t9 | v0 += t9;
0x0000ec04 sltu a2, t1, a2 | a2 = (t1 < a2) ? 1 : 0;
0x0000ec08 addu t4, t4, t6 | t4 += t6;
0x0000ec0c sltu v1, t0, v1 | v1 = (t0 < v1) ? 1 : 0;
0x0000ec10 addu t3, t3, t5 | t3 += t5;
0x0000ec14 addu a2, a2, t4 | a2 += t4;
0x0000ec18 addu v1, v1, t3 | v1 += t3;
0x0000ec1c sw v0, 0x7234(a3) | *((a3 + 7309)) = v0;
0x0000ec20 lw v0, 0x94(s7) | v0 = *((s7 + 37));
0x0000ec24 sw t1, 0x7228(a1) | *((a1 + 7306)) = t1;
0x0000ec28 sw a2, 0x722c(a1) | *((a1 + 7307)) = a2;
0x0000ec2c sw t0, 0x7220(a0) | *((a0 + 7304)) = t0;
0x0000ec30 sw v1, 0x7224(a0) | *((a0 + 7305)) = v1;
| label_3:
0x0000ec34 andi v0, v0, 2 | v0 &= 2;
| if (v0 != 0) {
0x0000ec38 beql v0, zero, 0xeef4 |
0x0000ec3c lw ra, 0x8c(sp) | ra = *(var_8ch);
0x0000ec40 lw v0, -0x7f84(gp) | v0 = *(gp);
0x0000ec44 lw v0, (v0) | v0 = *(v0);
0x0000ec48 lw v0, 0x98(sp) | v0 = *(arg_98h);
| if (v0 != 0) {
0x0000ec4c bnez v0, 0xf908 | goto label_23;
| }
0x0000ec50 lw s0, -0x7fb8(gp) | s0 = *(gp);
| label_4:
0x0000ec54 lw v0, 0x98(sp) | v0 = *(arg_98h);
0x0000ec58 sll a2, v0, 6 | a2 = v0 << 6;
0x0000ec5c lw v0, 0x9c(sp) | v0 = *(arg_9ch);
0x0000ec60 addu a2, s0, a2 | a2 = s0 + a2;
| if (v0 != 0) {
0x0000ec64 bnez v0, 0xef20 | goto label_24;
| }
0x0000ec68 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x0000ec6c lw t9, -0x7ca8(gp) | t9 = sym.imp.__printf_chk
| /* str.__11s */
0x0000ec70 addiu a1, a1, 0x2048 | a1 += 0x2048;
0x0000ec74 addiu a0, zero, 1 | a0 = 1;
0x0000ec78 jalr t9 | t9 ();
0x0000ec7c lw v1, 0x28(s6) | v1 = *((s6 + 10));
0x0000ec80 lw a1, 0x20(s6) | a1 = *((s6 + 8));
0x0000ec84 lw a0, 0x24(s6) | a0 = *((s6 + 9));
0x0000ec88 lw v0, 0x2c(s6) | v0 = *((s6 + 11));
0x0000ec8c lw gp, 0x38(sp) | gp = *(var_38h);
0x0000ec90 subu a2, v1, a1 | __asm ("subu a2, v1, a1");
0x0000ec94 sltu v1, v1, a2 | v1 = (v1 < a2) ? 1 : 0;
0x0000ec98 subu v0, v0, a0 | __asm ("subu v0, v0, a0");
0x0000ec9c subu v0, v0, v1 | __asm ("subu v0, v0, v1");
0x0000eca0 lw t9, -0x7de0(gp) | t9 = sym.cprintf_u64
0x0000eca4 sw a0, 0x14(sp) | *(var_14h) = a0;
0x0000eca8 lw a0, 0x40(sp) | a0 = *(var_40h);
0x0000ecac sw a2, 0x18(sp) | *(var_18h) = a2;
0x0000ecb0 sw v0, 0x1c(sp) | *(var_1ch) = v0;
0x0000ecb4 sw a1, 0x10(sp) | *(var_10h) = a1;
0x0000ecb8 addiu a2, zero, 9 | a2 = 9;
0x0000ecbc addiu a1, zero, 2 | a1 = 2;
0x0000ecc0 bal 0x1c930 | sym_cprintf_u64 ()
0x0000ecc4 lw s1, 0x28(s6) | s1 = *((s6 + 10));
0x0000ecc8 lw s2, 0x2c(s6) | s2 = *((s6 + 11));
0x0000eccc lw s0, (fp) | s0 = *(fp);
0x0000ecd0 or v0, s1, s2 | v0 = s1 | s2;
0x0000ecd4 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000ecd8 ext s0, s0, 0x14, 1 | __asm ("ext s0, s0, 0x14, 1");
| if (v0 == 0) {
0x0000ecdc beqz v0, 0xf93c | goto label_25;
| }
0x0000ece0 lw a0, 0x20(s6) | a0 = *((s6 + 8));
0x0000ece4 lw v0, 0x24(s6) | v0 = *((s6 + 9));
0x0000ece8 subu a0, s1, a0 | __asm ("subu a0, s1, a0");
0x0000ecec lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000ecf0 sltu a1, s1, a0 | a1 = (s1 < a0) ? 1 : 0;
0x0000ecf4 subu v0, s2, v0 | __asm ("subu v0, s2, v0");
0x0000ecf8 subu a1, v0, a1 | __asm ("subu a1, v0, a1");
0x0000ecfc bal 0x20f20 | fcn_00020f20 ();
0x0000ed00 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000ed04 move a1, s2 | a1 = s2;
0x0000ed08 move a0, s1 | a0 = s1;
0x0000ed0c lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000ed10 move s2, v0 | s2 = v0;
0x0000ed14 move s3, v1 | s3 = v1;
0x0000ed18 bal 0x20f20 | fcn_00020f20 ();
0x0000ed1c lw gp, 0x38(sp) | gp = *(var_38h);
0x0000ed20 move a2, v0 | a2 = v0;
0x0000ed24 move a3, v1 | a3 = v1;
0x0000ed28 lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000ed2c move a0, s2 | a0 = s2;
0x0000ed30 move a1, s3 | a1 = s3;
0x0000ed34 bal 0x1f460 | fcn_0001f460 ();
0x0000ed38 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000ed3c move a0, v0 | a0 = v0;
0x0000ed40 move a1, v1 | a1 = v1;
0x0000ed44 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0000ed48 lw t9, -0x7e70(gp) | t9 = *(gp);
0x0000ed4c lw a2, 0x3130(v0) | a2 = *((v0 + 3148));
0x0000ed50 lw a3, 0x3134(v0) | a3 = *((v0 + 3149));
0x0000ed54 bal 0x1ff60 | fcn_0001ff60 ();
0x0000ed58 lw gp, 0x38(sp) | gp = *(var_38h);
| label_5:
0x0000ed5c lw t9, -0x7df0(gp) | t9 = sym.cprintf_pc
0x0000ed60 move a0, s0 | a0 = s0;
0x0000ed64 addiu a3, zero, 2 | a3 = 2;
0x0000ed68 addiu a2, zero, 9 | a2 = 9;
0x0000ed6c addiu a1, zero, 1 | a1 = 1;
0x0000ed70 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000ed74 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000ed78 bal 0x1cea4 | sym_cprintf_pc ()
0x0000ed7c lw gp, 0x38(sp) | gp = *(var_38h);
0x0000ed80 lw v0, 0x30(s6) | v0 = *((s6 + 12));
0x0000ed84 lw v1, 0x34(s6) | v1 = *((s6 + 13));
0x0000ed88 lw a0, 0x40(sp) | a0 = *(var_40h);
0x0000ed8c lw t9, -0x7de0(gp) | t9 = sym.cprintf_u64
0x0000ed90 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000ed94 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000ed98 addiu a2, zero, 9 | a2 = 9;
0x0000ed9c addiu a1, zero, 1 | a1 = 1;
0x0000eda0 bal 0x1c930 | sym_cprintf_u64 ()
0x0000eda4 lw s3, (fp) | s3 = *(fp);
0x0000eda8 lw s0, 0x28(s6) | s0 = *((s6 + 10));
0x0000edac lw s1, 0x20(s6) | s1 = *((s6 + 8));
0x0000edb0 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000edb4 ext s3, s3, 0x14, 1 | __asm ("ext s3, s3, 0x14, 1");
0x0000edb8 lw s2, 0x2c(s6) | s2 = *((s6 + 11));
0x0000edbc lw s4, 0x24(s6) | s4 = *((s6 + 9));
| if (s0 == s1) {
0x0000edc0 beq s0, s1, 0xfabc | goto label_26;
| }
0x0000edc4 lw t9, -0x7e7c(gp) | t9 = *(gp);
| label_12:
0x0000edc8 lw a0, 0x30(s6) | a0 = *((s6 + 12));
0x0000edcc lw a1, 0x34(s6) | a1 = *((s6 + 13));
0x0000edd0 bal 0x20f20 | fcn_00020f20 ();
0x0000edd4 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000edd8 subu a0, s0, s1 | __asm ("subu a0, s0, s1");
0x0000eddc sltu s0, s0, a0 | s0 = (s0 < a0) ? 1 : 0;
0x0000ede0 subu a1, s2, s4 | __asm ("subu a1, s2, s4");
0x0000ede4 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000ede8 subu a1, a1, s0 | __asm ("subu a1, a1, s0");
0x0000edec move s1, v1 | s1 = v1;
0x0000edf0 move s0, v0 | s0 = v0;
0x0000edf4 bal 0x20f20 | fcn_00020f20 ();
0x0000edf8 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000edfc move a2, v0 | a2 = v0;
0x0000ee00 move a3, v1 | a3 = v1;
0x0000ee04 lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000ee08 move a0, s0 | a0 = s0;
0x0000ee0c move a1, s1 | a1 = s1;
0x0000ee10 bal 0x1f460 | fcn_0001f460 ();
0x0000ee14 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000ee18 move a0, v0 | a0 = v0;
0x0000ee1c move a1, v1 | a1 = v1;
0x0000ee20 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0000ee24 lw t9, -0x7e70(gp) | t9 = *(gp);
0x0000ee28 lw a2, 0x3130(v0) | a2 = *((v0 + 3148));
0x0000ee2c lw a3, 0x3134(v0) | a3 = *((v0 + 3149));
0x0000ee30 bal 0x1ff60 | fcn_0001ff60 ();
0x0000ee34 lw gp, 0x38(sp) | gp = *(var_38h);
| label_13:
0x0000ee38 lw t9, -0x7df0(gp) | t9 = sym.cprintf_pc
0x0000ee3c addiu a3, zero, 2 | a3 = 2;
0x0000ee40 addiu a2, zero, 9 | a2 = 9;
0x0000ee44 addiu a1, zero, 1 | a1 = 1;
0x0000ee48 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000ee4c move a0, s3 | a0 = s3;
0x0000ee50 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000ee54 bal 0x1cea4 | sym_cprintf_pc ()
0x0000ee58 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000ee5c lw t9, -0x7c80(gp) | t9 = sym.imp.putchar;
0x0000ee60 addiu a0, zero, 0xa | a0 = 0xa;
0x0000ee64 jalr t9 | t9 ();
0x0000ee68 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000ee6c lw a0, 0x20(s6) | a0 = *((s6 + 8));
0x0000ee70 lw v1, 0x28(s6) | v1 = *((s6 + 10));
0x0000ee74 lw t5, -0x7fb0(gp) | t5 = *((gp - 8172));
0x0000ee78 lw t4, -0x7fb0(gp) | t4 = *((gp - 8172));
0x0000ee7c lw t3, -0x7fb0(gp) | t3 = *((gp - 8172));
0x0000ee80 lw t9, 0x7218(t5) | t9 = *((t5 + 7302));
0x0000ee84 lw a2, 0x7210(t4) | a2 = *((t4 + 7300));
0x0000ee88 lw v0, 0x30(s6) | v0 = *((s6 + 12));
0x0000ee8c lw a1, 0x7208(t3) | a1 = *((t3 + 7298));
0x0000ee90 lw t8, 0x721c(t5) | t8 = *((t5 + 7303));
0x0000ee94 lw t7, 0x7214(t4) | t7 = *((t4 + 7301));
0x0000ee98 lw t6, 0x720c(t3) | t6 = *((t3 + 7299));
0x0000ee9c lw t1, 0x24(s6) | t1 = *((s6 + 9));
0x0000eea0 lw t0, 0x2c(s6) | t0 = *((s6 + 11));
0x0000eea4 lw a3, 0x34(s6) | a3 = *((s6 + 13));
0x0000eea8 addu t2, a0, t9 | t2 = a0 + t9;
0x0000eeac addu a2, v1, a2 | a2 = v1 + a2;
0x0000eeb0 addu a1, v0, a1 | a1 = v0 + a1;
0x0000eeb4 sltu a0, t2, a0 | a0 = (t2 < a0) ? 1 : 0;
0x0000eeb8 addu t1, t1, t8 | t1 += t8;
0x0000eebc sltu v1, a2, v1 | v1 = (a2 < v1) ? 1 : 0;
0x0000eec0 addu t0, t0, t7 | t0 += t7;
0x0000eec4 sltu v0, a1, v0 | v0 = (a1 < v0) ? 1 : 0;
0x0000eec8 addu a3, a3, t6 | a3 += t6;
0x0000eecc addu a0, a0, t1 | a0 += t1;
0x0000eed0 addu v1, v1, t0 | v1 += t0;
0x0000eed4 addu v0, v0, a3 | v0 += a3;
0x0000eed8 sw t2, 0x7218(t5) | *((t5 + 7302)) = t2;
0x0000eedc sw a0, 0x721c(t5) | *((t5 + 7303)) = a0;
0x0000eee0 sw a2, 0x7210(t4) | *((t4 + 7300)) = a2;
0x0000eee4 sw v1, 0x7214(t4) | *((t4 + 7301)) = v1;
0x0000eee8 sw a1, 0x7208(t3) | *((t3 + 7298)) = a1;
0x0000eeec sw v0, 0x720c(t3) | *((t3 + 7299)) = v0;
0x0000eef0 lw ra, 0x8c(sp) | ra = *(var_8ch);
| }
0x0000eef4 lw fp, 0x88(sp) | fp = *(var_88h);
0x0000eef8 lw s7, 0x84(sp) | s7 = *(var_84h);
0x0000eefc lw s6, 0x80(sp) | s6 = *(var_80h);
0x0000ef00 lw s5, 0x7c(sp) | s5 = *(var_7ch);
0x0000ef04 lw s4, 0x78(sp) | s4 = *(var_78h);
0x0000ef08 lw s3, 0x74(sp) | s3 = *(var_74h);
0x0000ef0c lw s2, 0x70(sp) | s2 = *(var_70h);
0x0000ef10 lw s1, 0x6c(sp) | s1 = *(var_6ch);
0x0000ef14 lw s0, 0x68(sp) | s0 = *(var_68h);
0x0000ef18 addiu sp, sp, 0x90 |
0x0000ef1c jr ra | return v1;
| label_24:
0x0000ef20 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x0000ef24 lw t9, -0x7ca8(gp) | t9 = sym.imp.__printf_chk
| /* str.__11s */
0x0000ef28 addiu a1, a1, 0x2048 | a1 += 0x2048;
0x0000ef2c lw s6, -0x7fb0(gp) | s6 = *((gp - 8172));
0x0000ef30 lw s0, -0x7fb4(gp) | s0 = *(gp);
0x0000ef34 addiu a0, zero, 1 | a0 = 1;
0x0000ef38 jalr t9 | t9 ();
0x0000ef3c lw gp, 0x38(sp) | gp = *(var_38h);
0x0000ef40 lw t9, -0x7e6c(gp) | t9 = *(gp);
0x0000ef44 lw s1, -0x7fb0(gp) | s1 = *((gp - 8172));
0x0000ef48 lw a0, (s0) | a0 = *(s0);
0x0000ef4c bal 0x20e80 | fcn_00020e80 ();
0x0000ef50 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000ef54 lw a0, 0x7218(s6) | a0 = *((s6 + 7302));
0x0000ef58 lw a1, 0x721c(s6) | a1 = *((s6 + 7303));
0x0000ef5c lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000ef60 move s4, v0 | s4 = v0;
0x0000ef64 move s5, v1 | s5 = v1;
0x0000ef68 bal 0x20f20 | fcn_00020f20 ();
0x0000ef6c lw gp, 0x38(sp) | gp = *(var_38h);
0x0000ef70 move a2, s4 | a2 = s4;
0x0000ef74 move a3, s5 | a3 = s5;
0x0000ef78 lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000ef7c move a0, v0 | a0 = v0;
0x0000ef80 move a1, v1 | a1 = v1;
0x0000ef84 bal 0x1f460 | fcn_0001f460 ();
0x0000ef88 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000ef8c lw a0, 0x7210(s1) | a0 = *((s1 + 7300));
0x0000ef90 lw a1, 0x7214(s1) | a1 = *((s1 + 7301));
0x0000ef94 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000ef98 move s2, v0 | s2 = v0;
0x0000ef9c move s3, v1 | s3 = v1;
0x0000efa0 bal 0x20f20 | fcn_00020f20 ();
0x0000efa4 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000efa8 move a2, s4 | a2 = s4;
0x0000efac move a3, s5 | a3 = s5;
0x0000efb0 lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000efb4 move a0, v0 | a0 = v0;
0x0000efb8 move a1, v1 | a1 = v1;
0x0000efbc bal 0x1f460 | fcn_0001f460 ();
0x0000efc0 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000efc4 move a2, s2 | a2 = s2;
0x0000efc8 move a3, s3 | a3 = s3;
0x0000efcc lw t9, -0x7e68(gp) | t9 = *(gp);
0x0000efd0 move a0, v0 | a0 = v0;
0x0000efd4 move a1, v1 | a1 = v1;
0x0000efd8 bal 0x20500 | fcn_00020500 ();
0x0000efdc lw gp, 0x38(sp) | gp = *(var_38h);
0x0000efe0 lw a0, 0x40(sp) | a0 = *(var_40h);
0x0000efe4 sw v0, 0x18(sp) | *(var_18h) = v0;
0x0000efe8 lw t9, -0x7de4(gp) | t9 = sym.cprintf_f
0x0000efec sw s2, 0x10(sp) | *(var_10h) = s2;
0x0000eff0 sw s3, 0x14(sp) | *(var_14h) = s3;
0x0000eff4 sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x0000eff8 move a3, zero | a3 = 0;
0x0000effc addiu a2, zero, 9 | a2 = 9;
0x0000f000 addiu a1, zero, 2 | a1 = 2;
0x0000f004 bal 0x1cc08 | sym_cprintf_f ()
0x0000f008 lw s3, 0x7210(s1) | s3 = *((s1 + 7300));
0x0000f00c lw s2, 0x7214(s1) | s2 = *((s1 + 7301));
0x0000f010 lw s7, (fp) | s7 = *(fp);
0x0000f014 or v0, s3, s2 | v0 = s3 | s2;
0x0000f018 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f01c ext s7, s7, 0x14, 1 | __asm ("ext s7, s7, 0x14, 1");
| if (v0 != 0) {
0x0000f020 bnez v0, 0xf948 | goto label_27;
| }
0x0000f024 move v0, zero | v0 = 0;
0x0000f028 move v1, zero | v1 = 0;
| label_6:
0x0000f02c lw t9, -0x7df0(gp) | t9 = sym.cprintf_pc
0x0000f030 addiu a3, zero, 2 | a3 = 2;
0x0000f034 addiu a2, zero, 9 | a2 = 9;
0x0000f038 move a0, s7 | a0 = s7;
0x0000f03c addiu a1, zero, 1 | a1 = 1;
0x0000f040 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000f044 lw s2, -0x7fb0(gp) | s2 = *((gp - 8172));
0x0000f048 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000f04c bal 0x1cea4 | sym_cprintf_pc ()
0x0000f050 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f054 lw a1, 0x720c(s2) | a1 = *((s2 + 7299));
0x0000f058 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000f05c lw a0, 0x7208(s2) | a0 = *((s2 + 7298));
0x0000f060 bal 0x20f20 | fcn_00020f20 ();
0x0000f064 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f068 lw a0, (s0) | a0 = *(s0);
0x0000f06c move s4, v0 | s4 = v0;
0x0000f070 lw t9, -0x7e6c(gp) | t9 = *(gp);
0x0000f074 move s5, v1 | s5 = v1;
0x0000f078 bal 0x20e80 | fcn_00020e80 ();
0x0000f07c lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f080 move a2, v0 | a2 = v0;
0x0000f084 move a3, v1 | a3 = v1;
0x0000f088 lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000f08c move a0, s4 | a0 = s4;
0x0000f090 move a1, s5 | a1 = s5;
0x0000f094 bal 0x1f460 | fcn_0001f460 ();
0x0000f098 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f09c lw a0, 0x40(sp) | a0 = *(var_40h);
0x0000f0a0 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000f0a4 lw t9, -0x7de4(gp) | t9 = sym.cprintf_f
0x0000f0a8 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000f0ac move a3, zero | a3 = 0;
0x0000f0b0 addiu a2, zero, 9 | a2 = 9;
0x0000f0b4 addiu a1, zero, 1 | a1 = 1;
0x0000f0b8 bal 0x1cc08 | sym_cprintf_f ()
0x0000f0bc lw s3, (fp) | s3 = *(fp);
0x0000f0c0 lw s7, 0x7210(s1) | s7 = *((s1 + 7300));
0x0000f0c4 lw t0, 0x7218(s6) | t0 = *((s6 + 7302));
0x0000f0c8 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f0cc ext s3, s3, 0x14, 1 | __asm ("ext s3, s3, 0x14, 1");
0x0000f0d0 lw fp, 0x7214(s1) | fp = *((s1 + 7301));
0x0000f0d4 lw t1, 0x721c(s6) | t1 = *((s6 + 7303));
| if (s7 == t0) {
0x0000f0d8 beq s7, t0, 0xfaa8 | goto label_28;
| }
0x0000f0dc lw t9, -0x7e6c(gp) | t9 = *(gp);
| label_10:
0x0000f0e0 lw a0, (s0) | a0 = *(s0);
0x0000f0e4 sw t1, 0x50(sp) | *(var_50h) = t1;
0x0000f0e8 sw t0, 0x40(sp) | *(var_40h) = t0;
0x0000f0ec bal 0x20e80 | fcn_00020e80 ();
0x0000f0f0 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f0f4 lw a0, 0x7208(s2) | a0 = *((s2 + 7298));
0x0000f0f8 lw a1, 0x720c(s2) | a1 = *((s2 + 7299));
0x0000f0fc lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000f100 move s4, v0 | s4 = v0;
0x0000f104 move s5, v1 | s5 = v1;
0x0000f108 bal 0x20f20 | fcn_00020f20 ();
0x0000f10c lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f110 move a2, s4 | a2 = s4;
0x0000f114 move a3, s5 | a3 = s5;
0x0000f118 lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000f11c move a0, v0 | a0 = v0;
0x0000f120 move a1, v1 | a1 = v1;
0x0000f124 bal 0x1f460 | fcn_0001f460 ();
0x0000f128 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f12c move a0, s7 | a0 = s7;
0x0000f130 move a1, fp | a1 = fp;
0x0000f134 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000f138 sw v0, 0x48(sp) | *(var_48h) = v0;
0x0000f13c sw v1, 0x4c(sp) | *(var_4ch) = v1;
0x0000f140 bal 0x20f20 | fcn_00020f20 ();
0x0000f144 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f148 move a2, s4 | a2 = s4;
0x0000f14c move a3, s5 | a3 = s5;
0x0000f150 lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000f154 move a0, v0 | a0 = v0;
0x0000f158 move a1, v1 | a1 = v1;
0x0000f15c bal 0x1f460 | fcn_0001f460 ();
0x0000f160 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f164 lw t0, 0x40(sp) | t0 = *(var_40h);
0x0000f168 lw t1, 0x50(sp) | t1 = *(var_50h);
0x0000f16c lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000f170 move a0, t0 | a0 = t0;
0x0000f174 move a1, t1 | a1 = t1;
0x0000f178 sw v0, 0x40(sp) | *(var_40h) = v0;
0x0000f17c sw v1, 0x44(sp) | *(var_44h) = v1;
0x0000f180 bal 0x20f20 | fcn_00020f20 ();
0x0000f184 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f188 move a2, s4 | a2 = s4;
0x0000f18c move a3, s5 | a3 = s5;
0x0000f190 lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000f194 move a0, v0 | a0 = v0;
0x0000f198 move a1, v1 | a1 = v1;
0x0000f19c bal 0x1f460 | fcn_0001f460 ();
0x0000f1a0 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f1a4 lw t0, 0x40(sp) | t0 = *(var_40h);
0x0000f1a8 lw t1, 0x44(sp) | t1 = *(var_44h);
0x0000f1ac lw t9, -0x7e68(gp) | t9 = *(gp);
0x0000f1b0 move a0, t0 | a0 = t0;
0x0000f1b4 move a1, t1 | a1 = t1;
0x0000f1b8 move a2, v0 | a2 = v0;
0x0000f1bc move a3, v1 | a3 = v1;
0x0000f1c0 bal 0x20500 | fcn_00020500 ();
0x0000f1c4 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f1c8 lw t2, 0x48(sp) | t2 = *(var_48h);
0x0000f1cc lw t3, 0x4c(sp) | t3 = *(var_4ch);
0x0000f1d0 lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000f1d4 move a0, t2 | a0 = t2;
0x0000f1d8 move a1, t3 | a1 = t3;
0x0000f1dc move a2, v0 | a2 = v0;
0x0000f1e0 move a3, v1 | a3 = v1;
0x0000f1e4 bal 0x1f460 | fcn_0001f460 ();
0x0000f1e8 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f1ec move a0, v0 | a0 = v0;
0x0000f1f0 move a1, v1 | a1 = v1;
0x0000f1f4 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0000f1f8 lw t9, -0x7e70(gp) | t9 = *(gp);
0x0000f1fc lw a2, 0x3130(v0) | a2 = *((v0 + 3148));
0x0000f200 lw a3, 0x3134(v0) | a3 = *((v0 + 3149));
0x0000f204 bal 0x1ff60 | fcn_0001ff60 ();
0x0000f208 lw gp, 0x38(sp) | gp = *(var_38h);
| label_11:
0x0000f20c lw t9, -0x7df0(gp) | t9 = sym.cprintf_pc
0x0000f210 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000f214 addiu a3, zero, 2 | a3 = 2;
0x0000f218 addiu a2, zero, 9 | a2 = 9;
0x0000f21c addiu a1, zero, 1 | a1 = 1;
0x0000f220 move a0, s3 | a0 = s3;
0x0000f224 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000f228 bal 0x1cea4 | sym_cprintf_pc ()
0x0000f22c lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f230 lw t9, -0x7c80(gp) | t9 = sym.imp.putchar;
0x0000f234 addiu a0, zero, 0xa | a0 = 0xa;
0x0000f238 jalr t9 | t9 ();
0x0000f23c lw ra, 0x8c(sp) | ra = *(var_8ch);
0x0000f240 move v0, zero | v0 = 0;
0x0000f244 move v1, zero | v1 = 0;
0x0000f248 lw fp, 0x88(sp) | fp = *(var_88h);
0x0000f24c lw s7, 0x84(sp) | s7 = *(var_84h);
0x0000f250 lw s5, 0x7c(sp) | s5 = *(var_7ch);
0x0000f254 lw s4, 0x78(sp) | s4 = *(var_78h);
0x0000f258 lw s3, 0x74(sp) | s3 = *(var_74h);
0x0000f25c lw s0, 0x68(sp) | s0 = *(var_68h);
0x0000f260 sw v0, 0x7208(s2) | *((s2 + 7298)) = v0;
0x0000f264 sw v1, 0x720c(s2) | *((s2 + 7299)) = v1;
0x0000f268 sw v0, 0x7210(s1) | *((s1 + 7300)) = v0;
0x0000f26c lw s2, 0x70(sp) | s2 = *(var_70h);
0x0000f270 sw v1, 0x7214(s1) | *((s1 + 7301)) = v1;
0x0000f274 sw v0, 0x7218(s6) | *((s6 + 7302)) = v0;
0x0000f278 lw s1, 0x6c(sp) | s1 = *(var_6ch);
0x0000f27c sw v1, 0x721c(s6) | *((s6 + 7303)) = v1;
0x0000f280 lw s6, 0x80(sp) | s6 = *(var_80h);
0x0000f284 addiu sp, sp, 0x90 |
0x0000f288 jr ra | return v1;
| label_19:
0x0000f28c lw a1, -0x7fd8(gp) | a1 = *(gp);
0x0000f290 bne s1, v0, 0xe74c |
| } while (s1 != v0);
0x0000f294 sltu v1, a0, s0 | v1 = (a0 < s0) ? 1 : 0;
0x0000f298 lw t9, -0x7ca8(gp) | t9 = sym.imp.__printf_chk
| if (v1 == 0) {
0x0000f29c beqz v1, 0xe750 | goto label_0;
| }
0x0000f2a0 move s0, a0 | s0 = a0;
0x0000f2a4 b 0xe744 | goto label_1;
| label_17:
0x0000f2a8 lw s0, -0x7fb8(gp) | s0 = *(gp);
0x0000f2ac sltiu a0, v0, 1 | a0 = (v0 < 1) ? 1 : 0;
0x0000f2b0 lw t9, -0x7de8(gp) | t9 = sym.print_hdr_line;
0x0000f2b4 addiu v0, zero, 9 | v0 = 9;
0x0000f2b8 sll a0, a0, 6 | a0 <<= 6;
0x0000f2bc sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000f2c0 move a2, zero | a2 = 0;
0x0000f2c4 move a3, zero | a3 = 0;
0x0000f2c8 move a1, s7 | a1 = s7;
0x0000f2cc addu a0, s0, a0 | a0 = s0 + a0;
0x0000f2d0 bal 0xc7f0 | sym_print_hdr_line ();
0x0000f2d4 lw v0, 0x98(sp) | v0 = *(arg_98h);
0x0000f2d8 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f2dc sll a2, v0, 6 | a2 = v0 << 6;
0x0000f2e0 lw v0, 0x9c(sp) | v0 = *(arg_9ch);
0x0000f2e4 addu a2, s0, a2 | a2 = s0 + a2;
| if (v0 == 0) {
0x0000f2e8 beqz v0, 0xe6e0 | goto label_2;
| }
| label_18:
0x0000f2ec lw s3, -0x7fb0(gp) | s3 = *((gp - 8172));
0x0000f2f0 lw s1, -0x7fb0(gp) | s1 = *((gp - 8172));
0x0000f2f4 lw s2, -0x7fb0(gp) | s2 = *((gp - 8172));
0x0000f2f8 lw v1, 0x7280(s3) | v1 = *((s3 + 7328));
0x0000f2fc lw v0, 0x7278(s1) | v0 = *((s1 + 7326));
0x0000f300 lw t0, -0x7fb0(gp) | t0 = *((gp - 8172));
0x0000f304 lw a3, 0x727c(s1) | a3 = *((s1 + 7327));
0x0000f308 lw a1, 0x7284(s3) | a1 = *((s3 + 7329));
0x0000f30c addu v0, v1, v0 | v0 = v1 + v0;
0x0000f310 lw a0, 0x7270(s2) | a0 = *(s2);
0x0000f314 addu a1, a1, a3 | a1 += a3;
0x0000f318 sltu v1, v0, v1 | v1 = (v0 < v1) ? 1 : 0;
0x0000f31c lw a3, 0x7274(s2) | a3 = *((s2 + 7325));
0x0000f320 addu a0, v0, a0 | a0 = v0 + a0;
0x0000f324 addu v1, v1, a1 | v1 += a1;
0x0000f328 lw a1, 0x7240(t0) | a1 = *((t0 + 7312));
0x0000f32c addu v1, v1, a3 | v1 += a3;
0x0000f330 sltu v0, a0, v0 | v0 = (a0 < v0) ? 1 : 0;
0x0000f334 lw a3, 0x7244(t0) | a3 = *((t0 + 7313));
0x0000f338 sw t0, 0x54(sp) | *(var_54h) = t0;
0x0000f33c addu v0, v0, v1 | v0 += v1;
0x0000f340 addu t0, a0, a1 | t0 = a0 + a1;
0x0000f344 sltu v1, t0, a0 | v1 = (t0 < a0) ? 1 : 0;
0x0000f348 addu v0, v0, a3 | v0 += a3;
0x0000f34c lw a1, -0x7fd8(gp) | a1 = *(gp);
0x0000f350 lw t9, -0x7ca8(gp) | t9 = sym.imp.__printf_chk
0x0000f354 addu v0, v1, v0 | v0 = v1 + v0;
0x0000f358 sw t0, 0x50(sp) | *(var_50h) = t0;
| /* str.__11s */
0x0000f35c addiu a1, a1, 0x2048 | a1 += 0x2048;
0x0000f360 addiu a0, zero, 1 | a0 = 1;
0x0000f364 lw s0, -0x7fb4(gp) | s0 = *(gp);
0x0000f368 sw v0, 0x48(sp) | *(var_48h) = v0;
0x0000f36c jalr t9 | t9 ();
0x0000f370 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f374 lw a0, (s0) | a0 = *(s0);
0x0000f378 lw v0, -0x7fb0(gp) | v0 = *((gp - 8172));
0x0000f37c lw t9, -0x7e6c(gp) | t9 = *(gp);
0x0000f380 sw v0, 0x58(sp) | *(var_58h) = v0;
0x0000f384 bal 0x20e80 | fcn_00020e80 ();
0x0000f388 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f38c lw a0, 0x18(s6) | a0 = *((s6 + 6));
0x0000f390 lw a1, 0x1c(s6) | a1 = *((s6 + 7));
0x0000f394 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000f398 move s4, v0 | s4 = v0;
0x0000f39c move s5, v1 | s5 = v1;
0x0000f3a0 bal 0x20f20 | fcn_00020f20 ();
0x0000f3a4 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f3a8 lw a0, 0x50(sp) | a0 = *(var_50h);
0x0000f3ac lw a1, 0x48(sp) | a1 = *(var_48h);
0x0000f3b0 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000f3b4 sw v0, 0x58(sp) | *(var_58h) = v0;
0x0000f3b8 sw v1, 0x5c(sp) | *(var_5ch) = v1;
0x0000f3bc bal 0x20f20 | fcn_00020f20 ();
0x0000f3c0 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f3c4 move a2, s4 | a2 = s4;
0x0000f3c8 move a3, s5 | a3 = s5;
0x0000f3cc lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000f3d0 move a0, v0 | a0 = v0;
0x0000f3d4 move a1, v1 | a1 = v1;
0x0000f3d8 bal 0x1f460 | fcn_0001f460 ();
0x0000f3dc lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f3e0 lw t0, 0x58(sp) | t0 = *(var_58h);
0x0000f3e4 lw t1, 0x5c(sp) | t1 = *(var_5ch);
0x0000f3e8 lw t9, -0x7e68(gp) | t9 = *(gp);
0x0000f3ec move a0, t0 | a0 = t0;
0x0000f3f0 move a1, t1 | a1 = t1;
0x0000f3f4 move a3, v1 | a3 = v1;
0x0000f3f8 move a2, v0 | a2 = v0;
0x0000f3fc bal 0x20500 | fcn_00020500 ();
0x0000f400 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f404 sw v0, 0x20(sp) | *(var_20h) = v0;
0x0000f408 sw v1, 0x24(sp) | *(var_24h) = v1;
0x0000f40c lw a2, -0x7fb0(gp) | a2 = *((gp - 8172));
0x0000f410 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000f414 lw a0, 0x7220(a2) | a0 = *((a2 + 7304));
0x0000f418 lw a1, 0x7224(a2) | a1 = *((a2 + 7305));
0x0000f41c bal 0x20f20 | fcn_00020f20 ();
0x0000f420 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f424 move a2, s4 | a2 = s4;
0x0000f428 move a3, s5 | a3 = s5;
0x0000f42c lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000f430 move a0, v0 | a0 = v0;
0x0000f434 move a1, v1 | a1 = v1;
0x0000f438 bal 0x1f460 | fcn_0001f460 ();
0x0000f43c lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f440 lw a0, 0x7280(s3) | a0 = *((s3 + 7328));
0x0000f444 lw a1, 0x7284(s3) | a1 = *((s3 + 7329));
0x0000f448 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000f44c sw v0, 0x18(sp) | *(var_18h) = v0;
0x0000f450 sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x0000f454 bal 0x20f20 | fcn_00020f20 ();
0x0000f458 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f45c move a2, s4 | a2 = s4;
0x0000f460 move a3, s5 | a3 = s5;
0x0000f464 lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000f468 move a0, v0 | a0 = v0;
0x0000f46c move a1, v1 | a1 = v1;
0x0000f470 bal 0x1f460 | fcn_0001f460 ();
0x0000f474 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f478 lw a0, 0x40(sp) | a0 = *(var_40h);
0x0000f47c sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000f480 lw t9, -0x7de4(gp) | t9 = sym.cprintf_f
0x0000f484 addiu a1, zero, 3 | a1 = 3;
0x0000f488 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000f48c move a3, zero | a3 = 0;
0x0000f490 addiu a2, zero, 9 | a2 = 9;
0x0000f494 bal 0x1cc08 | sym_cprintf_f ()
0x0000f498 lw a0, 0x18(s6) | a0 = *((s6 + 6));
0x0000f49c lw a1, 0x1c(s6) | a1 = *((s6 + 7));
0x0000f4a0 lw t0, (fp) | t0 = *(fp);
0x0000f4a4 or v0, a0, a1 | v0 = a0 | a1;
0x0000f4a8 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f4ac ext t0, t0, 0x14, 1 | __asm ("ext t0, t0, 0x14, 1");
| if (v0 == 0) {
0x0000f4b0 beqz v0, 0xfadc | goto label_29;
| }
0x0000f4b4 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000f4b8 sw t0, 0x58(sp) | *(var_58h) = t0;
0x0000f4bc bal 0x20f20 | fcn_00020f20 ();
0x0000f4c0 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f4c4 lw a2, (s0) | a2 = *(s0);
0x0000f4c8 lw a0, 0x50(sp) | a0 = *(var_50h);
0x0000f4cc lw t9, -0x7ddc(gp) | t9 = *(gp);
0x0000f4d0 lw a1, 0x48(sp) | a1 = *(var_48h);
0x0000f4d4 move a3, zero | a3 = 0;
0x0000f4d8 move s4, v0 | s4 = v0;
0x0000f4dc move s5, v1 | s5 = v1;
0x0000f4e0 bal 0x1e690 | fcn_0001e690 ();
0x0000f4e4 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f4e8 move a0, v0 | a0 = v0;
0x0000f4ec lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000f4f0 move a1, v1 | a1 = v1;
0x0000f4f4 bal 0x20f20 | fcn_00020f20 ();
0x0000f4f8 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f4fc move a2, v0 | a2 = v0;
0x0000f500 move a3, v1 | a3 = v1;
0x0000f504 lw t9, -0x7e68(gp) | t9 = *(gp);
0x0000f508 move a0, s4 | a0 = s4;
0x0000f50c move a1, s5 | a1 = s5;
0x0000f510 bal 0x20500 | fcn_00020500 ();
0x0000f514 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f518 move a2, s4 | a2 = s4;
0x0000f51c move a3, s5 | a3 = s5;
0x0000f520 lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000f524 move a0, v0 | a0 = v0;
0x0000f528 move a1, v1 | a1 = v1;
0x0000f52c bal 0x1f460 | fcn_0001f460 ();
0x0000f530 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f534 move a0, v0 | a0 = v0;
0x0000f538 move a1, v1 | a1 = v1;
0x0000f53c lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0000f540 lw t9, -0x7e70(gp) | t9 = *(gp);
0x0000f544 lw a2, 0x3130(v0) | a2 = *((v0 + 3148));
0x0000f548 lw a3, 0x3134(v0) | a3 = *((v0 + 3149));
0x0000f54c bal 0x1ff60 | fcn_0001ff60 ();
0x0000f550 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f554 lw t0, 0x58(sp) | t0 = *(var_58h);
| label_15:
0x0000f558 lw t9, -0x7df0(gp) | t9 = sym.cprintf_pc
0x0000f55c move a0, t0 | a0 = t0;
0x0000f560 addiu a3, zero, 2 | a3 = 2;
0x0000f564 addiu a2, zero, 9 | a2 = 9;
0x0000f568 addiu a1, zero, 1 | a1 = 1;
0x0000f56c sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000f570 lw s4, -0x7fb0(gp) | s4 = *((gp - 8172));
0x0000f574 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000f578 bal 0x1cea4 | sym_cprintf_pc ()
0x0000f57c lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f580 lw t9, -0x7e6c(gp) | t9 = *(gp);
0x0000f584 lw a0, (s0) | a0 = *(s0);
0x0000f588 bal 0x20e80 | fcn_00020e80 ();
0x0000f58c lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f590 lw a0, 0x7268(s4) | a0 = *((s4 + 7322));
0x0000f594 lw a1, 0x726c(s4) | a1 = *((s4 + 7323));
0x0000f598 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000f59c sw s4, 0x48(sp) | *(var_48h) = s4;
0x0000f5a0 move s5, v1 | s5 = v1;
0x0000f5a4 move s4, v0 | s4 = v0;
0x0000f5a8 bal 0x20f20 | fcn_00020f20 ();
0x0000f5ac lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f5b0 move a2, s4 | a2 = s4;
0x0000f5b4 move a3, s5 | a3 = s5;
0x0000f5b8 lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000f5bc move a0, v0 | a0 = v0;
0x0000f5c0 move a1, v1 | a1 = v1;
0x0000f5c4 bal 0x1f460 | fcn_0001f460 ();
0x0000f5c8 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f5cc lw a0, 0x7270(s2) | a0 = *(s2);
0x0000f5d0 lw a1, 0x7274(s2) | a1 = *((s2 + 7325));
0x0000f5d4 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000f5d8 sw v0, 0x20(sp) | *(var_20h) = v0;
0x0000f5dc sw v1, 0x24(sp) | *(var_24h) = v1;
0x0000f5e0 bal 0x20f20 | fcn_00020f20 ();
0x0000f5e4 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f5e8 move a2, s4 | a2 = s4;
0x0000f5ec move a3, s5 | a3 = s5;
0x0000f5f0 lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000f5f4 move a0, v0 | a0 = v0;
0x0000f5f8 move a1, v1 | a1 = v1;
0x0000f5fc bal 0x1f460 | fcn_0001f460 ();
0x0000f600 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f604 lw a0, 0x7278(s1) | a0 = *((s1 + 7326));
0x0000f608 lw a1, 0x727c(s1) | a1 = *((s1 + 7327));
0x0000f60c lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000f610 sw v0, 0x18(sp) | *(var_18h) = v0;
0x0000f614 sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x0000f618 bal 0x20f20 | fcn_00020f20 ();
0x0000f61c lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f620 move a2, s4 | a2 = s4;
0x0000f624 move a3, s5 | a3 = s5;
0x0000f628 lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000f62c move a0, v0 | a0 = v0;
0x0000f630 move a1, v1 | a1 = v1;
0x0000f634 bal 0x1f460 | fcn_0001f460 ();
0x0000f638 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f63c lw a0, 0x40(sp) | a0 = *(var_40h);
0x0000f640 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000f644 lw t9, -0x7de4(gp) | t9 = sym.cprintf_f
0x0000f648 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000f64c move a3, zero | a3 = 0;
0x0000f650 addiu a2, zero, 9 | a2 = 9;
0x0000f654 addiu a1, zero, 3 | a1 = 3;
0x0000f658 bal 0x1cc08 | sym_cprintf_f ()
0x0000f65c lw v0, 0x18(s6) | v0 = *((s6 + 6));
0x0000f660 lw s5, 0x28(s6) | s5 = *((s6 + 10));
0x0000f664 lw v1, 0x2c(s6) | v1 = *((s6 + 11));
0x0000f668 lw s4, 0x1c(s6) | s4 = *((s6 + 7));
0x0000f66c addu s5, v0, s5 | s5 = v0 + s5;
0x0000f670 sltu v0, s5, v0 | v0 = (s5 < v0) ? 1 : 0;
0x0000f674 addu s4, s4, v1 | s4 += v1;
0x0000f678 addu s4, v0, s4 | s4 = v0 + s4;
0x0000f67c lw v1, (fp) | v1 = *(fp);
0x0000f680 or v0, s5, s4 | v0 = s5 | s4;
0x0000f684 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f688 ext t0, v1, 0x14, 1 | __asm ("ext t0, v1, 0x14, 1");
| if (v0 == 0) {
0x0000f68c beqz v0, 0xfad0 | goto label_30;
| }
0x0000f690 lw v0, 0x48(sp) | v0 = *(var_48h);
0x0000f694 lw a2, (s0) | a2 = *(s0);
0x0000f698 lw t9, -0x7ddc(gp) | t9 = *(gp);
0x0000f69c lw a0, 0x7268(v0) | a0 = *((v0 + 7322));
0x0000f6a0 lw a1, 0x726c(v0) | a1 = *((v0 + 7323));
0x0000f6a4 sw t0, 0x50(sp) | *(var_50h) = t0;
0x0000f6a8 move a3, zero | a3 = 0;
0x0000f6ac bal 0x1e690 | fcn_0001e690 ();
0x0000f6b0 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f6b4 move a0, v0 | a0 = v0;
0x0000f6b8 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000f6bc move a1, v1 | a1 = v1;
0x0000f6c0 bal 0x20f20 | fcn_00020f20 ();
0x0000f6c4 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f6c8 move a0, s5 | a0 = s5;
0x0000f6cc move a1, s4 | a1 = s4;
0x0000f6d0 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000f6d4 move s4, v0 | s4 = v0;
0x0000f6d8 move s5, v1 | s5 = v1;
0x0000f6dc bal 0x20f20 | fcn_00020f20 ();
0x0000f6e0 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f6e4 move a2, v0 | a2 = v0;
0x0000f6e8 move a3, v1 | a3 = v1;
0x0000f6ec lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000f6f0 move a0, s4 | a0 = s4;
0x0000f6f4 move a1, s5 | a1 = s5;
0x0000f6f8 bal 0x1f460 | fcn_0001f460 ();
0x0000f6fc lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f700 move a0, v0 | a0 = v0;
0x0000f704 move a1, v1 | a1 = v1;
0x0000f708 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0000f70c lw t9, -0x7e70(gp) | t9 = *(gp);
0x0000f710 lw a2, 0x3130(v0) | a2 = *((v0 + 3148));
0x0000f714 lw a3, 0x3134(v0) | a3 = *((v0 + 3149));
0x0000f718 bal 0x1ff60 | fcn_0001ff60 ();
0x0000f71c lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f720 lw t0, 0x50(sp) | t0 = *(var_50h);
| label_14:
0x0000f724 lw s4, -0x7fb0(gp) | s4 = *((gp - 8172));
0x0000f728 lw t9, -0x7df0(gp) | t9 = sym.cprintf_pc
0x0000f72c move a0, t0 | a0 = t0;
0x0000f730 addiu a3, zero, 2 | a3 = 2;
0x0000f734 addiu a2, zero, 9 | a2 = 9;
0x0000f738 addiu a1, zero, 1 | a1 = 1;
0x0000f73c sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000f740 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000f744 sw s4, 0x58(sp) | *(var_58h) = s4;
0x0000f748 bal 0x1cea4 | sym_cprintf_pc ()
0x0000f74c lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f750 lw a0, (s0) | a0 = *(s0);
0x0000f754 lw v0, -0x7fb0(gp) | v0 = *((gp - 8172));
0x0000f758 lw t9, -0x7e6c(gp) | t9 = *(gp);
0x0000f75c sw v0, 0x50(sp) | *(var_50h) = v0;
0x0000f760 bal 0x20e80 | fcn_00020e80 ();
0x0000f764 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f768 lw a0, 0x7250(s4) | a0 = *((s4 + 7316));
0x0000f76c lw a1, 0x7254(s4) | a1 = *((s4 + 7317));
0x0000f770 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000f774 move s4, v0 | s4 = v0;
0x0000f778 move s5, v1 | s5 = v1;
0x0000f77c bal 0x20f20 | fcn_00020f20 ();
0x0000f780 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f784 move a2, s4 | a2 = s4;
0x0000f788 move a3, s5 | a3 = s5;
0x0000f78c lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000f790 move a0, v0 | a0 = v0;
0x0000f794 move a1, v1 | a1 = v1;
0x0000f798 bal 0x1f460 | fcn_0001f460 ();
0x0000f79c lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f7a0 sw v0, 0x20(sp) | *(var_20h) = v0;
0x0000f7a4 sw v1, 0x24(sp) | *(var_24h) = v1;
0x0000f7a8 lw a0, -0x7fb0(gp) | a0 = *((gp - 8172));
0x0000f7ac lw v0, -0x7fb0(gp) | v0 = *((gp - 8172));
0x0000f7b0 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000f7b4 lw a1, 0x725c(a0) | a1 = *((a0 + 7319));
0x0000f7b8 lw a0, 0x7258(a0) | a0 = *((a0 + 7318));
0x0000f7bc sw v0, 0x50(sp) | *(var_50h) = v0;
0x0000f7c0 bal 0x20f20 | fcn_00020f20 ();
0x0000f7c4 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f7c8 move a2, s4 | a2 = s4;
0x0000f7cc move a3, s5 | a3 = s5;
0x0000f7d0 lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000f7d4 move a0, v0 | a0 = v0;
0x0000f7d8 move a1, v1 | a1 = v1;
0x0000f7dc bal 0x1f460 | fcn_0001f460 ();
0x0000f7e0 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f7e4 sw v0, 0x18(sp) | *(var_18h) = v0;
0x0000f7e8 sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x0000f7ec lw a0, -0x7fb0(gp) | a0 = *((gp - 8172));
0x0000f7f0 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000f7f4 lw a1, 0x7264(a0) | a1 = *((a0 + 7321));
0x0000f7f8 lw a0, 0x7260(a0) | a0 = *((a0 + 7320));
0x0000f7fc bal 0x20f20 | fcn_00020f20 ();
0x0000f800 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f804 move a2, s4 | a2 = s4;
0x0000f808 move a3, s5 | a3 = s5;
0x0000f80c lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000f810 move a0, v0 | a0 = v0;
0x0000f814 move a1, v1 | a1 = v1;
0x0000f818 bal 0x1f460 | fcn_0001f460 ();
0x0000f81c lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f820 lw a0, 0x40(sp) | a0 = *(var_40h);
0x0000f824 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000f828 lw t9, -0x7de4(gp) | t9 = sym.cprintf_f
0x0000f82c sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000f830 move a3, zero | a3 = 0;
0x0000f834 addiu a2, zero, 9 | a2 = 9;
0x0000f838 addiu a1, zero, 3 | a1 = 3;
0x0000f83c bal 0x1cc08 | sym_cprintf_f ()
0x0000f840 lw v0, 0x94(s7) | v0 = *((s7 + 37));
0x0000f844 andi v0, v0, 0x100 | v0 &= aav.0x00000100;
0x0000f848 lw gp, 0x38(sp) | gp = *(var_38h);
| if (v0 != 0) {
0x0000f84c bnez v0, 0xfae8 | goto label_31;
| }
0x0000f850 lw v0, -0x7fb0(gp) | v0 = *((gp - 8172));
0x0000f854 lw s0, -0x7fb0(gp) | s0 = *((gp - 8172));
0x0000f858 lw s4, -0x7fb0(gp) | s4 = *((gp - 8172));
0x0000f85c lw s5, -0x7fb0(gp) | s5 = *((gp - 8172));
0x0000f860 sw v0, 0x50(sp) | *(var_50h) = v0;
| label_16:
0x0000f864 lw t9, -0x7c80(gp) | t9 = sym.imp.putchar;
0x0000f868 addiu a0, zero, 0xa | a0 = 0xa;
0x0000f86c jalr t9 | t9 ();
0x0000f870 lw v1, 0x48(sp) | v1 = *(var_48h);
0x0000f874 move a0, zero | a0 = 0;
0x0000f878 move a1, zero | a1 = 0;
0x0000f87c lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f880 sw a0, 0x7268(v1) | *((v1 + 7322)) = a0;
0x0000f884 sw a1, 0x726c(v1) | *((v1 + 7323)) = a1;
0x0000f888 lw v1, 0x58(sp) | v1 = *(var_58h);
0x0000f88c lw v0, 0x94(s7) | v0 = *((s7 + 37));
0x0000f890 sw a0, 0x7270(s2) | *(s2) = a0;
0x0000f894 sw a0, 0x7250(v1) | *((v1 + 7316)) = a0;
0x0000f898 sw a1, 0x7254(v1) | *((v1 + 7317)) = a1;
0x0000f89c lw v1, -0x7fb0(gp) | v1 = *((gp - 8172));
0x0000f8a0 sw a1, 0x7274(s2) | *((s2 + 7325)) = a1;
0x0000f8a4 sw a0, 0x7278(s1) | *((s1 + 7326)) = a0;
0x0000f8a8 sw a0, 0x7258(v1) | *((v1 + 7318)) = a0;
0x0000f8ac sw a1, 0x725c(v1) | *((v1 + 7319)) = a1;
0x0000f8b0 lw v1, -0x7fb0(gp) | v1 = *((gp - 8172));
0x0000f8b4 sw a1, 0x727c(s1) | *((s1 + 7327)) = a1;
0x0000f8b8 sw a0, 0x7280(s3) | *((s3 + 7328)) = a0;
0x0000f8bc sw a0, 0x7260(v1) | *((v1 + 7320)) = a0;
0x0000f8c0 sw a1, 0x7264(v1) | *((v1 + 7321)) = a1;
0x0000f8c4 lw v1, 0x54(sp) | v1 = *(var_54h);
0x0000f8c8 sw a1, 0x7284(s3) | *((s3 + 7329)) = a1;
0x0000f8cc sw a0, 0x7238(s0) | *((s0 + 7310)) = a0;
0x0000f8d0 sw a0, 0x7240(v1) | *((v1 + 7312)) = a0;
0x0000f8d4 sw a1, 0x7244(v1) | *((v1 + 7313)) = a1;
0x0000f8d8 lw v1, 0x50(sp) | v1 = *(var_50h);
0x0000f8dc sw a1, 0x723c(s0) | *((s0 + 7311)) = a1;
0x0000f8e0 sw a0, 0x7228(s5) | *((s5 + 7306)) = a0;
0x0000f8e4 sw a0, 0x7248(v1) | *((v1 + 7314)) = a0;
0x0000f8e8 sw a1, 0x724c(v1) | *((v1 + 7315)) = a1;
0x0000f8ec lw v1, -0x7fb0(gp) | v1 = *((gp - 8172));
0x0000f8f0 sw a1, 0x722c(s5) | *((s5 + 7307)) = a1;
0x0000f8f4 sw a0, 0x7230(s4) | *((s4 + 7308)) = a0;
0x0000f8f8 sw a0, 0x7220(v1) | *((v1 + 7304)) = a0;
0x0000f8fc sw a1, 0x7224(v1) | *((v1 + 7305)) = a1;
0x0000f900 sw a1, 0x7234(s4) | *((s4 + 7309)) = a1;
0x0000f904 b 0xec34 | goto label_3;
| label_23:
0x0000f908 lw s0, -0x7fb8(gp) | s0 = *(gp);
0x0000f90c sltiu a0, v0, 1 | a0 = (v0 < 1) ? 1 : 0;
0x0000f910 lw t9, -0x7de8(gp) | t9 = sym.print_hdr_line;
0x0000f914 addiu v0, zero, 9 | v0 = 9;
0x0000f918 sll a0, a0, 6 | a0 <<= 6;
0x0000f91c sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000f920 move a3, zero | a3 = 0;
0x0000f924 addiu a2, zero, 1 | a2 = 1;
0x0000f928 move a1, s7 | a1 = s7;
0x0000f92c addu a0, s0, a0 | a0 = s0 + a0;
0x0000f930 bal 0xc7f0 | sym_print_hdr_line ();
0x0000f934 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f938 b 0xec54 | goto label_4;
| label_25:
0x0000f93c move v0, zero | v0 = 0;
0x0000f940 move v1, zero | v1 = 0;
0x0000f944 b 0xed5c | goto label_5;
| label_27:
0x0000f948 lw t9, -0x7e6c(gp) | t9 = *(gp);
0x0000f94c lw a0, (s0) | a0 = *(s0);
0x0000f950 bal 0x20e80 | fcn_00020e80 ();
0x0000f954 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f958 move a0, s3 | a0 = s3;
0x0000f95c move a1, s2 | a1 = s2;
0x0000f960 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000f964 move s2, v0 | s2 = v0;
0x0000f968 move s3, v1 | s3 = v1;
0x0000f96c bal 0x20f20 | fcn_00020f20 ();
0x0000f970 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f974 move a2, s2 | a2 = s2;
0x0000f978 move a3, s3 | a3 = s3;
0x0000f97c lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000f980 move a0, v0 | a0 = v0;
0x0000f984 move a1, v1 | a1 = v1;
0x0000f988 bal 0x1f460 | fcn_0001f460 ();
0x0000f98c lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f990 lw a0, 0x7218(s6) | a0 = *((s6 + 7302));
0x0000f994 lw a1, 0x721c(s6) | a1 = *((s6 + 7303));
0x0000f998 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000f99c move s4, v0 | s4 = v0;
0x0000f9a0 move s5, v1 | s5 = v1;
0x0000f9a4 bal 0x20f20 | fcn_00020f20 ();
0x0000f9a8 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f9ac move a2, s2 | a2 = s2;
0x0000f9b0 move a3, s3 | a3 = s3;
0x0000f9b4 lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000f9b8 move a0, v0 | a0 = v0;
0x0000f9bc move a1, v1 | a1 = v1;
0x0000f9c0 bal 0x1f460 | fcn_0001f460 ();
0x0000f9c4 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f9c8 move a2, v0 | a2 = v0;
0x0000f9cc move a3, v1 | a3 = v1;
0x0000f9d0 lw t9, -0x7e68(gp) | t9 = *(gp);
0x0000f9d4 move a0, s4 | a0 = s4;
0x0000f9d8 move a1, s5 | a1 = s5;
0x0000f9dc bal 0x20500 | fcn_00020500 ();
0x0000f9e0 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000f9e4 move a2, s4 | a2 = s4;
0x0000f9e8 move a3, s5 | a3 = s5;
0x0000f9ec lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000f9f0 move a0, v0 | a0 = v0;
0x0000f9f4 move a1, v1 | a1 = v1;
0x0000f9f8 bal 0x1f460 | fcn_0001f460 ();
0x0000f9fc lw gp, 0x38(sp) | gp = *(var_38h);
0x0000fa00 move a0, v0 | a0 = v0;
0x0000fa04 move a1, v1 | a1 = v1;
0x0000fa08 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0000fa0c lw t9, -0x7e70(gp) | t9 = *(gp);
0x0000fa10 lw a2, 0x3130(v0) | a2 = *((v0 + 3148));
0x0000fa14 lw a3, 0x3134(v0) | a3 = *((v0 + 3149));
0x0000fa18 bal 0x1ff60 | fcn_0001ff60 ();
0x0000fa1c lw gp, 0x38(sp) | gp = *(var_38h);
0x0000fa20 b 0xf02c | goto label_6;
| label_21:
0x0000fa24 move v0, zero | v0 = 0;
0x0000fa28 move v1, zero | v1 = 0;
0x0000fa2c b 0xe94c | goto label_7;
| label_20:
0x0000fa30 move v0, zero | v0 = 0;
0x0000fa34 move v1, zero | v1 = 0;
0x0000fa38 b 0xe844 | goto label_8;
| label_22:
0x0000fa3c lw v0, 0x78(s6) | v0 = *((s6 + 30));
0x0000fa40 lw v1, 0x7c(s6) | v1 = *((s6 + 31));
0x0000fa44 sw v0, 0x30(sp) | *(var_30h) = v0;
0x0000fa48 sw v1, 0x34(sp) | *(var_34h) = v1;
0x0000fa4c lw v0, 0x70(s6) | v0 = *((s6 + 28));
0x0000fa50 lw v1, 0x74(s6) | v1 = *((s6 + 29));
0x0000fa54 sw v0, 0x28(sp) | *(var_28h) = v0;
0x0000fa58 sw v1, 0x2c(sp) | *(var_2ch) = v1;
0x0000fa5c lw v0, 0x68(s6) | v0 = *((s6 + 26));
0x0000fa60 lw v1, 0x6c(s6) | v1 = *((s6 + 27));
0x0000fa64 sw v0, 0x20(sp) | *(var_20h) = v0;
0x0000fa68 sw v1, 0x24(sp) | *(var_24h) = v1;
0x0000fa6c lw v0, 0x60(s6) | v0 = *((s6 + 24));
0x0000fa70 lw v1, 0x64(s6) | v1 = *((s6 + 25));
0x0000fa74 sw v0, 0x18(sp) | *(var_18h) = v0;
0x0000fa78 sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x0000fa7c lw v0, 0x58(s6) | v0 = *((s6 + 22));
0x0000fa80 lw v1, 0x5c(s6) | v1 = *((s6 + 23));
0x0000fa84 lw t9, -0x7de0(gp) | t9 = sym.cprintf_u64
0x0000fa88 lw a0, 0x40(sp) | a0 = *(var_40h);
0x0000fa8c addiu a2, zero, 9 | a2 = 9;
0x0000fa90 addiu a1, zero, 5 | a1 = 5;
0x0000fa94 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000fa98 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000fa9c bal 0x1c930 | sym_cprintf_u64 ()
0x0000faa0 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000faa4 b 0xe9c4 | goto label_9;
| label_28:
0x0000faa8 lw t9, -0x7e6c(gp) | t9 = *(gp);
| if (fp != t1) {
0x0000faac bne fp, t1, 0xf0e0 | goto label_10;
| }
0x0000fab0 move v0, zero | v0 = 0;
0x0000fab4 move v1, zero | v1 = 0;
0x0000fab8 b 0xf20c | goto label_11;
| label_26:
0x0000fabc lw t9, -0x7e7c(gp) | t9 = *(gp);
| if (s2 != s4) {
0x0000fac0 bne s2, s4, 0xedc8 | goto label_12;
| }
0x0000fac4 move v0, zero | v0 = 0;
0x0000fac8 move v1, zero | v1 = 0;
0x0000facc b 0xee38 | goto label_13;
| label_30:
0x0000fad0 move v0, zero | v0 = 0;
0x0000fad4 move v1, zero | v1 = 0;
0x0000fad8 b 0xf724 | goto label_14;
| label_29:
0x0000fadc move v0, zero | v0 = 0;
0x0000fae0 move v1, zero | v1 = 0;
0x0000fae4 b 0xf558 | goto label_15;
| label_31:
0x0000fae8 lw t9, -0x7e6c(gp) | t9 = *(gp);
0x0000faec lw s5, -0x7fb0(gp) | s5 = *((gp - 8172));
0x0000faf0 lw s4, -0x7fb0(gp) | s4 = *((gp - 8172));
0x0000faf4 lw a0, (s0) | a0 = *(s0);
0x0000faf8 bal 0x20e80 | fcn_00020e80 ();
0x0000fafc lw gp, 0x38(sp) | gp = *(var_38h);
0x0000fb00 lw a0, 0x7228(s5) | a0 = *((s5 + 7306));
0x0000fb04 lw a1, 0x722c(s5) | a1 = *((s5 + 7307));
0x0000fb08 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000fb0c sw v0, 0x60(sp) | *(var_60h) = v0;
0x0000fb10 sw v1, 0x64(sp) | *(var_64h) = v1;
0x0000fb14 bal 0x20f20 | fcn_00020f20 ();
0x0000fb18 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000fb1c lw a2, 0x60(sp) | a2 = *(var_60h);
0x0000fb20 lw a3, 0x64(sp) | a3 = *(var_64h);
0x0000fb24 lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000fb28 move a0, v0 | a0 = v0;
0x0000fb2c move a1, v1 | a1 = v1;
0x0000fb30 bal 0x1f460 | fcn_0001f460 ();
0x0000fb34 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000fb38 lw a0, 0x7230(s4) | a0 = *((s4 + 7308));
0x0000fb3c lw a1, 0x7234(s4) | a1 = *((s4 + 7309));
0x0000fb40 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000fb44 sw v0, 0x30(sp) | *(var_30h) = v0;
0x0000fb48 lw s0, -0x7fb0(gp) | s0 = *((gp - 8172));
0x0000fb4c sw v1, 0x34(sp) | *(var_34h) = v1;
0x0000fb50 bal 0x20f20 | fcn_00020f20 ();
0x0000fb54 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000fb58 lw a2, 0x60(sp) | a2 = *(var_60h);
0x0000fb5c lw a3, 0x64(sp) | a3 = *(var_64h);
0x0000fb60 lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000fb64 move a0, v0 | a0 = v0;
0x0000fb68 move a1, v1 | a1 = v1;
0x0000fb6c bal 0x1f460 | fcn_0001f460 ();
0x0000fb70 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000fb74 lw a0, 0x7238(s0) | a0 = *((s0 + 7310));
0x0000fb78 lw a1, 0x723c(s0) | a1 = *((s0 + 7311));
0x0000fb7c lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000fb80 sw v0, 0x28(sp) | *(var_28h) = v0;
0x0000fb84 sw v1, 0x2c(sp) | *(var_2ch) = v1;
0x0000fb88 bal 0x20f20 | fcn_00020f20 ();
0x0000fb8c lw gp, 0x38(sp) | gp = *(var_38h);
0x0000fb90 lw a2, 0x60(sp) | a2 = *(var_60h);
0x0000fb94 lw a3, 0x64(sp) | a3 = *(var_64h);
0x0000fb98 lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000fb9c move a0, v0 | a0 = v0;
0x0000fba0 move a1, v1 | a1 = v1;
0x0000fba4 bal 0x1f460 | fcn_0001f460 ();
0x0000fba8 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000fbac lw a0, 0x54(sp) | a0 = *(var_54h);
0x0000fbb0 sw v0, 0x20(sp) | *(var_20h) = v0;
0x0000fbb4 lw v0, -0x7fb0(gp) | v0 = *((gp - 8172));
0x0000fbb8 lw a1, 0x7244(a0) | a1 = *((a0 + 7313));
0x0000fbbc lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000fbc0 lw a0, 0x7240(a0) | a0 = *((a0 + 7312));
0x0000fbc4 sw v1, 0x24(sp) | *(var_24h) = v1;
0x0000fbc8 sw v0, 0x50(sp) | *(var_50h) = v0;
0x0000fbcc bal 0x20f20 | fcn_00020f20 ();
0x0000fbd0 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000fbd4 lw a2, 0x60(sp) | a2 = *(var_60h);
0x0000fbd8 lw a3, 0x64(sp) | a3 = *(var_64h);
0x0000fbdc lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000fbe0 move a0, v0 | a0 = v0;
0x0000fbe4 move a1, v1 | a1 = v1;
0x0000fbe8 bal 0x1f460 | fcn_0001f460 ();
0x0000fbec lw gp, 0x38(sp) | gp = *(var_38h);
0x0000fbf0 lw a0, 0x50(sp) | a0 = *(var_50h);
0x0000fbf4 sw v0, 0x18(sp) | *(var_18h) = v0;
0x0000fbf8 lw t9, -0x7e7c(gp) | t9 = *(gp);
0x0000fbfc lw a1, 0x724c(a0) | a1 = *((a0 + 7315));
0x0000fc00 lw a0, 0x7248(a0) | a0 = *((a0 + 7314));
0x0000fc04 sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x0000fc08 bal 0x20f20 | fcn_00020f20 ();
0x0000fc0c lw gp, 0x38(sp) | gp = *(var_38h);
0x0000fc10 lw a2, 0x60(sp) | a2 = *(var_60h);
0x0000fc14 lw a3, 0x64(sp) | a3 = *(var_64h);
0x0000fc18 lw t9, -0x7e78(gp) | t9 = *(gp);
0x0000fc1c move a0, v0 | a0 = v0;
0x0000fc20 move a1, v1 | a1 = v1;
0x0000fc24 bal 0x1f460 | fcn_0001f460 ();
0x0000fc28 lw gp, 0x38(sp) | gp = *(var_38h);
0x0000fc2c lw a0, 0x40(sp) | a0 = *(var_40h);
0x0000fc30 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000fc34 lw t9, -0x7de4(gp) | t9 = sym.cprintf_f
0x0000fc38 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000fc3c move a3, zero | a3 = 0;
0x0000fc40 addiu a2, zero, 9 | a2 = 9;
0x0000fc44 addiu a1, zero, 5 | a1 = 5;
0x0000fc48 bal 0x1cc08 | sym_cprintf_f ()
0x0000fc4c lw gp, 0x38(sp) | gp = *(var_38h);
0x0000fc50 b 0xf864 | goto label_16;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/sar @ 0x176d4 */
| #include <stdint.h>
|
; (fcn) sym.stub_print_pwr_in_stats () | void stub_print_pwr_in_stats () {
0x000176d4 lui gp, 2 |
0x000176d8 addiu gp, gp, 0x647c |
0x000176dc addu gp, gp, t9 | gp += t9;
0x000176e0 addiu sp, sp, -0x88 |
0x000176e4 sw fp, 0x80(sp) | *(var_80h) = fp;
0x000176e8 lw fp, -0x7fb0(gp) | fp = *((gp - 8172));
0x000176ec sw s7, 0x7c(sp) | *(var_7ch) = s7;
0x000176f0 sll s7, a1, 2 | s7 = a1 << 2;
0x000176f4 sw s1, 0x64(sp) | *(var_64h) = s1;
0x000176f8 addu s7, a0, s7 | s7 = a0 + s7;
0x000176fc lw s1, 0x713c(fp) | s1 = *(arg_713ch);
0x00017700 sw gp, 0x18(sp) | *(var_18h) = gp;
0x00017704 sw s5, 0x74(sp) | *(var_74h) = s5;
0x00017708 sw s0, 0x60(sp) | *(var_60h) = s0;
0x0001770c sw a2, 0x90(sp) | *(arg_90h) = a2;
0x00017710 sw ra, 0x84(sp) | *(var_84h) = ra;
0x00017714 sw s6, 0x78(sp) | *(var_78h) = s6;
0x00017718 sw s4, 0x70(sp) | *(var_70h) = s4;
0x0001771c sw s3, 0x6c(sp) | *(var_6ch) = s3;
0x00017720 sw s2, 0x68(sp) | *(var_68h) = s2;
0x00017724 move s0, a1 | s0 = a1;
0x00017728 move s5, a0 | s5 = a0;
0x0001772c lw a2, 0x7c(s7) | a2 = *((s7 + 31));
| if (s1 == 0) {
0x00017730 beqz s1, 0x17cd4 | goto label_10;
| }
0x00017734 lw v0, -0x7fb0(gp) | v0 = *((gp - 8172));
0x00017738 sw v0, 0x5c(sp) | *(var_5ch) = v0;
0x0001773c lw v1, 0x7138(v0) | v1 = *((v0 + 7246));
0x00017740 slt v1, v1, a2 | v1 = (v1 < a2) ? 1 : 0;
0x00017744 sll a1, a2, 3 | a1 = a2 << 3;
| if (v1 == 0) {
0x00017748 bnel v1, zero, 0x17bdc | goto label_11;
| }
0x0001774c lw v1, -0x7f84(gp) | v1 = *(gp);
0x00017750 lw v1, (v1) | v1 = *(v1);
0x00017754 lw a0, -0x7fb8(gp) | a0 = *(gp);
| if (v1 != 0) {
0x00017758 bnez v1, 0x17c30 | goto label_12;
| }
| label_2:
0x0001775c lw v0, -0x7fd8(gp) | v0 = *(gp);
| if (a2 <= 0) {
0x00017760 blez a2, 0x17b50 | goto label_13;
| }
0x00017764 sll s0, s0, 6 | s0 <<= 6;
0x00017768 lw s4, -0x7fac(gp) | s4 = *(gp);
0x0001776c lw v1, 0x3130(v0) | v1 = *((v0 + 3148));
0x00017770 lw a0, 0x3134(v0) | a0 = *((v0 + 3149));
0x00017774 lw v0, -0x7fb0(gp) | v0 = *((gp - 8172));
0x00017778 sw v1, 0x4c(sp) | *(var_4ch) = v1;
0x0001777c sw v0, 0x20(sp) | *(var_20h) = v0;
0x00017780 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x00017784 sw a0, 0x50(sp) | *(var_50h) = a0;
0x00017788 sw v0, 0x30(sp) | *(var_30h) = v0;
0x0001778c lw v0, -0x7fd8(gp) | v0 = *(gp);
0x00017790 lw s6, -0x7fb0(gp) | s6 = *((gp - 8172));
0x00017794 sw v0, 0x28(sp) | *(var_28h) = v0;
0x00017798 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0001779c move s1, zero | s1 = 0;
0x000177a0 sw v0, 0x2c(sp) | *(var_2ch) = v0;
0x000177a4 lw v0, -0x7fb4(gp) | v0 = *(gp);
0x000177a8 sw v1, 0x54(sp) | *(var_54h) = v1;
0x000177ac sw v0, 0x48(sp) | *(var_48h) = v0;
0x000177b0 lw v0, -0x7fb8(gp) | v0 = *(gp);
0x000177b4 sw a0, 0x58(sp) | *(var_58h) = a0;
0x000177b8 addu v0, v0, s0 | v0 += s0;
0x000177bc sw v0, 0x24(sp) | *(var_24h) = v0;
0x000177c0 lw v0, -0x7fd8(gp) | v0 = *(gp);
| /* str.__11s */
0x000177c4 addiu v0, v0, 0x2048 | v0 += 0x2048;
0x000177c8 sw v0, 0x34(sp) | *(var_34h) = v0;
0x000177cc b 0x17974 |
| while (v0 != 0) {
0x000177d0 lw v0, 0x48(sp) | v0 = *(var_48h);
0x000177d4 lw t9, -0x7e6c(gp) | t9 = *(gp);
0x000177d8 lw s3, 0x713c(fp) | s3 = *(arg_713ch);
0x000177dc lw a0, (v0) | a0 = *(v0);
0x000177e0 addu s3, s3, s2 | s3 += s2;
0x000177e4 bal 0x20e80 | fcn_00020e80 ();
0x000177e8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000177ec lw a0, (s3) | a0 = *(s3);
0x000177f0 lw a1, 4(s3) | a1 = *((s3 + 1));
0x000177f4 lw t9, -0x7e78(gp) | t9 = *(gp);
0x000177f8 move a2, v0 | a2 = v0;
0x000177fc move a3, v1 | a3 = v1;
0x00017800 bal 0x1f460 | fcn_0001f460 ();
0x00017804 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017808 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0001780c sw v1, 0x14(sp) | *(var_14h) = v1;
0x00017810 lw t9, -0x7de4(gp) | t9 = sym.cprintf_f
0x00017814 addiu a3, zero, 2 | a3 = 2;
0x00017818 addiu a2, zero, 9 | a2 = 9;
0x0001781c addiu a1, zero, 1 | a1 = 1;
0x00017820 addiu a0, zero, -1 | a0 = -1;
0x00017824 bal 0x1cc08 | sym_cprintf_f ()
0x00017828 lw a0, 0x20(sp) | a0 = *(var_20h);
0x0001782c lw v1, 0x7134(s6) | v1 = *((s6 + 7245));
0x00017830 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017834 lw v0, 0x7130(a0) | v0 = *((a0 + 7244));
0x00017838 addu v1, v1, s2 | v1 += s2;
0x0001783c addu v0, v0, s2 | v0 += s2;
0x00017840 lw a2, (v1) | a2 = *(v1);
0x00017844 lw a3, 4(v1) | a3 = *((v1 + 1));
0x00017848 lw a0, (v0) | a0 = *(v0);
0x0001784c lw t9, -0x7e68(gp) | t9 = *(gp);
0x00017850 lw a1, 4(v0) | a1 = *((v0 + 1));
0x00017854 sw a2, 0x38(sp) | *(var_38h) = a2;
0x00017858 sw a3, 0x3c(sp) | *(var_3ch) = a3;
0x0001785c lw s3, (s4) | s3 = *(s4);
0x00017860 bal 0x20500 | fcn_00020500 ();
0x00017864 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017868 move a2, zero | a2 = 0;
0x0001786c move a3, zero | a3 = 0;
0x00017870 lw t9, -0x7da0(gp) | t9 = *(gp);
0x00017874 sw v0, 0x40(sp) | *(var_40h) = v0;
0x00017878 sw v1, 0x44(sp) | *(var_44h) = v1;
0x0001787c move a0, v0 | a0 = v0;
0x00017880 move a1, v1 | a1 = v1;
0x00017884 bal 0x1fc20 | fcn_0001fc20 ();
0x00017888 ext s3, s3, 0x14, 1 | __asm ("ext s3, s3, 0x14, 1");
0x0001788c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00017890 beqz v0, 0x17b38 | goto label_14;
| }
0x00017894 lw v1, 0x48(sp) | v1 = *(var_48h);
0x00017898 lw t9, -0x7e6c(gp) | t9 = *(gp);
0x0001789c lw v0, 0x713c(fp) | v0 = *(arg_713ch);
0x000178a0 lw a0, (v1) | a0 = *(v1);
0x000178a4 addu s2, v0, s2 | s2 = v0 + s2;
0x000178a8 bal 0x20e80 | fcn_00020e80 ();
0x000178ac lw gp, 0x18(sp) | gp = *(var_18h);
0x000178b0 lw a0, (s2) | a0 = *(s2);
0x000178b4 lw a1, 4(s2) | a1 = *((s2 + 1));
0x000178b8 lw t9, -0x7e78(gp) | t9 = *(gp);
0x000178bc move a2, v0 | a2 = v0;
0x000178c0 move a3, v1 | a3 = v1;
0x000178c4 bal 0x1f460 | fcn_0001f460 ();
0x000178c8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000178cc lw a2, 0x38(sp) | a2 = *(var_38h);
0x000178d0 lw a3, 0x3c(sp) | a3 = *(var_3ch);
0x000178d4 lw t9, -0x7e68(gp) | t9 = *(gp);
0x000178d8 move a0, v0 | a0 = v0;
0x000178dc move a1, v1 | a1 = v1;
0x000178e0 bal 0x20500 | fcn_00020500 ();
0x000178e4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000178e8 lw a2, 0x40(sp) | a2 = *(var_40h);
0x000178ec lw a3, 0x44(sp) | a3 = *(var_44h);
0x000178f0 lw t9, -0x7e78(gp) | t9 = *(gp);
0x000178f4 move a0, v0 | a0 = v0;
0x000178f8 move a1, v1 | a1 = v1;
0x000178fc bal 0x1f460 | fcn_0001f460 ();
0x00017900 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017904 lw a2, 0x54(sp) | a2 = *(var_54h);
0x00017908 lw a3, 0x58(sp) | a3 = *(var_58h);
0x0001790c lw t9, -0x7e70(gp) | t9 = *(gp);
0x00017910 move a0, v0 | a0 = v0;
0x00017914 move a1, v1 | a1 = v1;
0x00017918 bal 0x1ff60 | fcn_0001ff60 ();
0x0001791c lw gp, 0x18(sp) | gp = *(var_18h);
| label_1:
0x00017920 lw t9, -0x7df0(gp) | t9 = sym.cprintf_pc
0x00017924 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00017928 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0001792c addiu a3, zero, 2 | a3 = 2;
0x00017930 addiu a2, zero, 9 | a2 = 9;
0x00017934 addiu a1, zero, 1 | a1 = 1;
0x00017938 move a0, s3 | a0 = s3;
0x0001793c bal 0x1cea4 | sym_cprintf_pc ()
0x00017940 lw gp, 0x18(sp) | gp = *(var_18h);
| label_0:
0x00017944 lw v0, 0x2c(sp) | v0 = *(var_2ch);
0x00017948 lw t9, -0x7df8(gp) | t9 = sym.cprintf_in
0x0001794c addiu a1, v0, 0x3894 | a1 = v0 + 0x3894;
0x00017950 move a3, zero | a3 = 0;
0x00017954 addiu a2, s0, 0x18 | a2 = s0 + 0x18;
0x00017958 addiu a0, zero, 1 | a0 = 1;
0x0001795c bal 0x1d180 | sym_cprintf_in ()
0x00017960 lw v0, 0x7c(s7) | v0 = *((s7 + 31));
0x00017964 addiu s1, s1, 1 | s1++;
0x00017968 slt v0, s1, v0 | v0 = (s1 < v0) ? 1 : 0;
0x0001796c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00017970 beqz v0, 0x17b50 | goto label_13;
| }
0x00017974 lw s0, 0x90(s5) | s0 = *((s5 + 36));
0x00017978 lw t9, -0x7ca8(gp) | t9 = sym.imp.__printf_chk
0x0001797c mul v1, s1, s0 | __asm ("mul v1, s1, s0");
0x00017980 lw v0, 0x98(s7) | v0 = *((s7 + 38));
0x00017984 lw a2, 0x24(sp) | a2 = *(var_24h);
0x00017988 lw a1, 0x34(sp) | a1 = *(var_34h);
0x0001798c addiu a0, zero, 1 | a0 = 1;
0x00017990 addu s0, v1, v0 | s0 = v1 + v0;
0x00017994 jalr t9 | t9 ();
0x00017998 lw gp, 0x18(sp) | gp = *(var_18h);
0x0001799c lw v0, 0x30(sp) | v0 = *(var_30h);
0x000179a0 move a3, s1 | a3 = s1;
0x000179a4 addiu a2, v0, 0x21a4 | a2 = v0 + 0x21a4;
0x000179a8 lw v0, 0x28(sp) | v0 = *(var_28h);
0x000179ac lw t9, -0x7df8(gp) | t9 = sym.cprintf_in
0x000179b0 addiu a1, v0, 0x31b8 | a1 = v0 + 0x31b8;
0x000179b4 move a0, zero | a0 = 0;
0x000179b8 bal 0x1d180 | sym_cprintf_in ()
0x000179bc lw v0, 0x90(sp) | v0 = *(arg_90h);
0x000179c0 lw gp, 0x18(sp) | gp = *(var_18h);
0x000179c4 sll s2, s1, 3 | s2 = s1 << 3;
0x000179c8 bnez v0, 0x177d0 |
| }
0x000179cc lw v0, (s0) | v0 = *(s0);
0x000179d0 lw v1, 4(s0) | v1 = *((s0 + 1));
0x000179d4 lw t9, -0x7de4(gp) | t9 = sym.cprintf_f
0x000179d8 addiu a3, zero, 2 | a3 = 2;
0x000179dc addiu a2, zero, 9 | a2 = 9;
0x000179e0 addiu a1, zero, 1 | a1 = 1;
0x000179e4 addiu a0, zero, -1 | a0 = -1;
0x000179e8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000179ec sw v1, 0x14(sp) | *(var_14h) = v1;
0x000179f0 bal 0x1cc08 | sym_cprintf_f ()
0x000179f4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000179f8 lw t0, 8(s0) | t0 = *((s0 + 2));
0x000179fc lw t1, 0xc(s0) | t1 = *((s0 + 3));
0x00017a00 lw a0, 0x10(s0) | a0 = *((s0 + 4));
0x00017a04 lw t9, -0x7e68(gp) | t9 = *(gp);
0x00017a08 lw a1, 0x14(s0) | a1 = *((s0 + 5));
0x00017a0c move a2, t0 | a2 = t0;
0x00017a10 move a3, t1 | a3 = t1;
0x00017a14 sw t0, 0x40(sp) | *(var_40h) = t0;
0x00017a18 sw t1, 0x44(sp) | *(var_44h) = t1;
0x00017a1c lw s3, (s4) | s3 = *(s4);
0x00017a20 bal 0x20500 | fcn_00020500 ();
0x00017a24 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017a28 move a2, zero | a2 = 0;
0x00017a2c move a3, zero | a3 = 0;
0x00017a30 lw t9, -0x7da0(gp) | t9 = *(gp);
0x00017a34 sw v0, 0x38(sp) | *(var_38h) = v0;
0x00017a38 sw v1, 0x3c(sp) | *(var_3ch) = v1;
0x00017a3c move a0, v0 | a0 = v0;
0x00017a40 move a1, v1 | a1 = v1;
0x00017a44 bal 0x1fc20 | fcn_0001fc20 ();
0x00017a48 ext s3, s3, 0x14, 1 | __asm ("ext s3, s3, 0x14, 1");
0x00017a4c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00017a50 beqz v0, 0x17b44 | goto label_15;
| }
0x00017a54 lw t0, 0x40(sp) | t0 = *(var_40h);
0x00017a58 lw t1, 0x44(sp) | t1 = *(var_44h);
0x00017a5c lw t9, -0x7e68(gp) | t9 = *(gp);
0x00017a60 lw a0, (s0) | a0 = *(s0);
0x00017a64 lw a1, 4(s0) | a1 = *((s0 + 1));
0x00017a68 move a2, t0 | a2 = t0;
0x00017a6c move a3, t1 | a3 = t1;
0x00017a70 bal 0x20500 | fcn_00020500 ();
0x00017a74 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017a78 lw a2, 0x38(sp) | a2 = *(var_38h);
0x00017a7c lw a3, 0x3c(sp) | a3 = *(var_3ch);
0x00017a80 lw t9, -0x7e78(gp) | t9 = *(gp);
0x00017a84 move a0, v0 | a0 = v0;
0x00017a88 move a1, v1 | a1 = v1;
0x00017a8c bal 0x1f460 | fcn_0001f460 ();
0x00017a90 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017a94 lw a2, 0x4c(sp) | a2 = *(var_4ch);
0x00017a98 lw a3, 0x50(sp) | a3 = *(var_50h);
0x00017a9c lw t9, -0x7e70(gp) | t9 = *(gp);
0x00017aa0 move a0, v0 | a0 = v0;
0x00017aa4 move a1, v1 | a1 = v1;
0x00017aa8 bal 0x1ff60 | fcn_0001ff60 ();
0x00017aac lw gp, 0x18(sp) | gp = *(var_18h);
| do {
0x00017ab0 lw t9, -0x7df0(gp) | t9 = sym.cprintf_pc
0x00017ab4 move a0, s3 | a0 = s3;
0x00017ab8 addiu a3, zero, 2 | a3 = 2;
0x00017abc addiu a2, zero, 9 | a2 = 9;
0x00017ac0 addiu a1, zero, 1 | a1 = 1;
0x00017ac4 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00017ac8 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00017acc bal 0x1cea4 | sym_cprintf_pc ()
0x00017ad0 lw s3, 0x713c(fp) | s3 = *(arg_713ch);
0x00017ad4 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017ad8 addu s3, s3, s2 | s3 += s2;
0x00017adc lw a2, (s0) | a2 = *(s0);
0x00017ae0 lw t9, -0x7e10(gp) | t9 = *(gp);
0x00017ae4 lw a3, 4(s0) | a3 = *((s0 + 1));
0x00017ae8 lw a0, (s3) | a0 = *(s3);
0x00017aec lw a1, 4(s3) | a1 = *((s3 + 1));
0x00017af0 bal 0x1eaf0 | fcn_0001eaf0 ();
0x00017af4 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017af8 lw a0, 0x7134(s6) | a0 = *((s6 + 7245));
0x00017afc sw v0, (s3) | *(s3) = v0;
0x00017b00 lw v0, 0x20(sp) | v0 = *(var_20h);
0x00017b04 sw v1, 4(s3) | *((s3 + 1)) = v1;
0x00017b08 lw a2, 8(s0) | a2 = *((s0 + 2));
0x00017b0c lw a3, 0xc(s0) | a3 = *((s0 + 3));
0x00017b10 addu a0, a0, s2 | a0 += s2;
0x00017b14 lw v0, 0x7130(v0) | v0 = *((v0 + 7244));
0x00017b18 sw a2, (a0) | *(a0) = a2;
0x00017b1c sw a3, 4(a0) | *((a0 + 1)) = a3;
0x00017b20 lw a0, 0x10(s0) | a0 = *((s0 + 4));
0x00017b24 lw a1, 0x14(s0) | a1 = *((s0 + 5));
0x00017b28 addu s2, v0, s2 | s2 = v0 + s2;
0x00017b2c sw a0, (s2) | *(s2) = a0;
0x00017b30 sw a1, 4(s2) | *((s2 + 1)) = a1;
0x00017b34 b 0x17944 | goto label_0;
| label_14:
0x00017b38 move v0, zero | v0 = 0;
0x00017b3c move v1, zero | v1 = 0;
0x00017b40 b 0x17920 | goto label_1;
| label_15:
0x00017b44 move v0, zero | v0 = 0;
0x00017b48 move v1, zero | v1 = 0;
0x00017b4c b 0x17ab0 |
| } while (1);
| label_13:
0x00017b50 lw v0, 0x90(sp) | v0 = *(arg_90h);
0x00017b54 lw ra, 0x84(sp) | ra = *(var_84h);
| if (v0 != 0) {
0x00017b58 beqz v0, 0x17bb0 |
0x00017b5c lw a0, 0x713c(fp) | a0 = *(arg_713ch);
0x00017b60 lw t9, -0x7bf0(gp) | t9 = sym.imp.free;
| if (a0 == 0) {
0x00017b64 beqz a0, 0x17bb0 | goto label_16;
| }
0x00017b68 lw s1, -0x7fb0(gp) | s1 = *((gp - 8172));
0x00017b6c lw s0, -0x7fb0(gp) | s0 = *((gp - 8172));
0x00017b70 jalr t9 | t9 ();
0x00017b74 nop |
0x00017b78 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017b7c lw t9, -0x7bf0(gp) | t9 = sym.imp.free;
0x00017b80 lw a0, 0x7134(s1) | a0 = *((s1 + 7245));
0x00017b84 jalr t9 | t9 ();
0x00017b88 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017b8c lw t9, -0x7bf0(gp) | t9 = sym.imp.free;
0x00017b90 lw a0, 0x7130(s0) | a0 = *((s0 + 7244));
0x00017b94 jalr t9 | t9 ();
0x00017b98 lw v0, 0x5c(sp) | v0 = *(var_5ch);
0x00017b9c sw zero, 0x713c(fp) | *(arg_713ch) = 0;
0x00017ba0 sw zero, 0x7134(s1) | *((s1 + 7245)) = 0;
0x00017ba4 sw zero, 0x7130(s0) | *((s0 + 7244)) = 0;
0x00017ba8 sw zero, 0x7138(v0) | *((v0 + 7246)) = 0;
0x00017bac lw ra, 0x84(sp) | ra = *(var_84h);
| }
| label_16:
0x00017bb0 lw fp, 0x80(sp) | fp = *(var_80h);
0x00017bb4 lw s7, 0x7c(sp) | s7 = *(var_7ch);
0x00017bb8 lw s6, 0x78(sp) | s6 = *(var_78h);
0x00017bbc lw s5, 0x74(sp) | s5 = *(var_74h);
0x00017bc0 lw s4, 0x70(sp) | s4 = *(var_70h);
0x00017bc4 lw s3, 0x6c(sp) | s3 = *(var_6ch);
0x00017bc8 lw s2, 0x68(sp) | s2 = *(var_68h);
0x00017bcc lw s1, 0x64(sp) | s1 = *(var_64h);
0x00017bd0 lw s0, 0x60(sp) | s0 = *(var_60h);
0x00017bd4 addiu sp, sp, 0x88 |
0x00017bd8 jr ra | return v0;
| label_11:
0x00017bdc lw v0, -0x7fb0(gp) | v0 = *((gp - 8172));
| if (a1 != 0) {
0x00017be0 bnez a1, 0x17e24 | goto label_17;
| }
0x00017be4 lw s3, 0x7134(v0) | s3 = *((v0 + 7245));
| label_4:
0x00017be8 lw v0, -0x7fb0(gp) | v0 = *((gp - 8172));
| if (s3 == 0) {
0x00017bec beqz s3, 0x17df4 | goto label_18;
| }
0x00017bf0 sw v0, 0x20(sp) | *(var_20h) = v0;
| label_6:
0x00017bf4 lw v0, 0x20(sp) | v0 = *(var_20h);
0x00017bf8 lw s4, 0x7130(v0) | s4 = *((v0 + 7244));
0x00017bfc lw v0, -0x7be8(gp) | v0 = *((gp - 7930));
| if (s4 == 0) {
0x00017c00 beqz s4, 0x17df8 | goto label_19;
| }
| label_7:
0x00017c04 lw v0, -0x7fb0(gp) | v0 = *((gp - 8172));
0x00017c08 sw v0, 0x5c(sp) | *(var_5ch) = v0;
0x00017c0c lw s2, 0x7138(v0) | s2 = *((v0 + 7246));
0x00017c10 slt v1, s2, a2 | v1 = (s2 < a2) ? 1 : 0;
0x00017c14 lw v0, 0x5c(sp) | v0 = *(var_5ch);
| if (v1 != 0) {
0x00017c18 bnez v1, 0x17c64 | goto label_20;
| }
0x00017c1c sw a2, 0x7138(v0) | *((v0 + 7246)) = a2;
| label_3:
0x00017c20 lw v1, -0x7f84(gp) | v1 = *(gp);
0x00017c24 lw v1, (v1) | v1 = *(v1);
0x00017c28 lw a0, -0x7fb8(gp) | a0 = *(gp);
| if (v1 == 0) {
0x00017c2c beqz v1, 0x1775c | goto label_2;
| }
| label_12:
0x00017c30 sltiu v0, s0, 1 | v0 = (s0 < 1) ? 1 : 0;
0x00017c34 sll v0, v0, 6 | v0 <<= 6;
0x00017c38 addiu v1, zero, 9 | v1 = 9;
0x00017c3c lw t9, -0x7de8(gp) | t9 = sym.print_hdr_line;
0x00017c40 move a2, zero | a2 = 0;
0x00017c44 sw v1, 0x10(sp) | *(var_10h) = v1;
0x00017c48 addiu a3, zero, -2 | a3 = -2;
0x00017c4c move a1, s5 | a1 = s5;
0x00017c50 addu a0, a0, v0 | a0 += v0;
0x00017c54 bal 0xc7f0 | sym_print_hdr_line ();
0x00017c58 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017c5c lw a2, 0x7c(s7) | a2 = *((s7 + 31));
0x00017c60 b 0x1775c | goto label_2;
| label_20:
0x00017c64 lw t9, -0x7c7c(gp) | t9 = sym.imp.memset;
0x00017c68 sll s6, s2, 3 | s6 = s2 << 3;
0x00017c6c subu a2, a2, s2 | __asm ("subu a2, a2, s2");
0x00017c70 sll a2, a2, 3 | a2 <<= 3;
0x00017c74 move a1, zero | a1 = 0;
0x00017c78 addu a0, s1, s6 | a0 = s1 + s6;
0x00017c7c jalr t9 | t9 ();
0x00017c80 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017c84 lw a2, 0x7c(s7) | a2 = *((s7 + 31));
0x00017c88 move a1, zero | a1 = 0;
0x00017c8c lw t9, -0x7c7c(gp) | t9 = sym.imp.memset;
0x00017c90 subu a2, a2, s2 | __asm ("subu a2, a2, s2");
0x00017c94 sll a2, a2, 3 | a2 <<= 3;
0x00017c98 addu a0, s3, s6 | a0 = s3 + s6;
0x00017c9c jalr t9 | t9 ();
0x00017ca0 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017ca4 lw a2, 0x7c(s7) | a2 = *((s7 + 31));
0x00017ca8 move a1, zero | a1 = 0;
0x00017cac lw t9, -0x7c7c(gp) | t9 = sym.imp.memset;
0x00017cb0 subu a2, a2, s2 | __asm ("subu a2, a2, s2");
0x00017cb4 sll a2, a2, 3 | a2 <<= 3;
0x00017cb8 addu a0, s4, s6 | a0 = s4 + s6;
0x00017cbc jalr t9 | t9 ();
0x00017cc0 lw v0, 0x5c(sp) | v0 = *(var_5ch);
0x00017cc4 lw a2, 0x7c(s7) | a2 = *((s7 + 31));
0x00017cc8 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017ccc sw a2, 0x7138(v0) | *((v0 + 7246)) = a2;
0x00017cd0 b 0x17c20 | goto label_3;
| label_10:
0x00017cd4 sll a1, a2, 3 | a1 = a2 << 3;
0x00017cd8 lw t9, -0x7c40(gp) | t9 = sym.imp.realloc;
| if (a1 == 0) {
0x00017cdc beqz a1, 0x17df4 | goto label_18;
| }
0x00017ce0 move a0, zero | a0 = 0;
0x00017ce4 jalr t9 | t9 ();
0x00017ce8 move s1, v0 | s1 = v0;
0x00017cec lw gp, 0x18(sp) | gp = *(var_18h);
0x00017cf0 sw v0, 0x713c(fp) | *(arg_713ch) = v0;
| if (v0 == 0) {
0x00017cf4 bnez v0, 0x17d18 |
| label_5:
0x00017cf8 lw a0, -0x7fd8(gp) | a0 = *(gp);
0x00017cfc lw t9, -0x7c30(gp) | t9 = sym.imp.perror;
| /* str.realloc */
0x00017d00 addiu a0, a0, 0x2e2c | a0 += 0x2e2c;
0x00017d04 jalr t9 | t9 ();
0x00017d08 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017d0c lw t9, -0x7c54(gp) | t9 = sym.imp.exit;
0x00017d10 addiu a0, zero, 4 | a0 = 4;
0x00017d14 jalr t9 | t9 ();
| }
0x00017d18 lw a2, 0x7c(s7) | a2 = *((s7 + 31));
0x00017d1c lw t9, -0x7c7c(gp) | t9 = sym.imp.memset;
0x00017d20 sll a2, a2, 3 | a2 <<= 3;
0x00017d24 move a1, zero | a1 = 0;
0x00017d28 move a0, s1 | a0 = s1;
0x00017d2c jalr t9 | t9 ();
0x00017d30 lw a2, 0x7c(s7) | a2 = *((s7 + 31));
0x00017d34 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017d38 sll a1, a2, 3 | a1 = a2 << 3;
| label_9:
0x00017d3c lw v0, -0x7fb0(gp) | v0 = *((gp - 8172));
0x00017d40 move s4, v0 | s4 = v0;
0x00017d44 lw s2, 0x7134(v0) | s2 = *((v0 + 7245));
0x00017d48 move s3, s2 | s3 = s2;
| if (a1 == 0) {
0x00017d4c beqz a1, 0x17be8 | goto label_4;
| }
0x00017d50 lw t9, -0x7c40(gp) | t9 = sym.imp.realloc;
0x00017d54 move a0, s2 | a0 = s2;
0x00017d58 jalr t9 | t9 ();
0x00017d5c move s3, v0 | s3 = v0;
0x00017d60 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017d64 sw s3, 0x7134(s4) | *((s4 + 7245)) = s3;
| if (s3 == 0) {
0x00017d68 beqz s3, 0x17cf8 | goto label_5;
| }
0x00017d6c lw a2, 0x7c(s7) | a2 = *((s7 + 31));
0x00017d70 sll a1, a2, 3 | a1 = a2 << 3;
| if (s2 == 0) {
0x00017d74 beqz s2, 0x17dd0 | goto label_21;
| }
| label_8:
0x00017d78 lw v0, -0x7fb0(gp) | v0 = *((gp - 8172));
0x00017d7c sw v0, 0x20(sp) | *(var_20h) = v0;
0x00017d80 lw s2, 0x7130(v0) | s2 = *((v0 + 7244));
| if (a1 == 0) {
0x00017d84 beqz a1, 0x17bf4 | goto label_6;
| }
0x00017d88 lw t9, -0x7c40(gp) | t9 = sym.imp.realloc;
0x00017d8c move a0, s2 | a0 = s2;
0x00017d90 jalr t9 | t9 ();
0x00017d94 move s4, v0 | s4 = v0;
0x00017d98 lw v0, 0x20(sp) | v0 = *(var_20h);
0x00017d9c lw gp, 0x18(sp) | gp = *(var_18h);
0x00017da0 sw s4, 0x7130(v0) | *((v0 + 7244)) = s4;
| if (s4 == 0) {
0x00017da4 beqz s4, 0x17cf8 | goto label_5;
| }
0x00017da8 lw a2, 0x7c(s7) | a2 = *((s7 + 31));
| if (s2 != 0) {
0x00017dac bnez s2, 0x17c04 | goto label_7;
| }
0x00017db0 lw t9, -0x7c7c(gp) | t9 = sym.imp.memset;
0x00017db4 sll a2, a2, 3 | a2 <<= 3;
0x00017db8 move a1, zero | a1 = 0;
0x00017dbc move a0, s4 | a0 = s4;
0x00017dc0 jalr t9 | t9 ();
0x00017dc4 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017dc8 lw a2, 0x7c(s7) | a2 = *((s7 + 31));
0x00017dcc b 0x17c04 | goto label_7;
| label_21:
0x00017dd0 lw t9, -0x7c7c(gp) | t9 = sym.imp.memset;
0x00017dd4 move a2, a1 | a2 = a1;
0x00017dd8 move a0, s3 | a0 = s3;
0x00017ddc move a1, zero | a1 = 0;
0x00017de0 jalr t9 | t9 ();
0x00017de4 lw a2, 0x7c(s7) | a2 = *((s7 + 31));
0x00017de8 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017dec sll a1, a2, 3 | a1 = a2 << 3;
0x00017df0 b 0x17d78 | goto label_8;
| label_18:
0x00017df4 lw v0, -0x7be8(gp) | v0 = *((gp - 7930));
| label_19:
0x00017df8 lw a0, -0x7fd8(gp) | a0 = *(gp);
0x00017dfc lw t9, -0x7c34(gp) | t9 = sym.imp.fwrite;
0x00017e00 lw a3, (v0) | a3 = *(v0);
| /* str.srealloc_n */
0x00017e04 addiu a0, a0, 0x2e34 | a0 += 0x2e34;
0x00017e08 addiu a2, zero, 9 | a2 = 9;
0x00017e0c addiu a1, zero, 1 | a1 = 1;
0x00017e10 jalr t9 | t9 ();
0x00017e14 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017e18 lw t9, -0x7c54(gp) | t9 = sym.imp.exit;
0x00017e1c addiu a0, zero, 4 | a0 = 4;
0x00017e20 jalr t9 | t9 ();
| label_17:
0x00017e24 lw t9, -0x7c40(gp) | t9 = sym.imp.realloc;
0x00017e28 move a0, s1 | a0 = s1;
0x00017e2c jalr t9 | t9 ();
0x00017e30 move s1, v0 | s1 = v0;
0x00017e34 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017e38 sw v0, 0x713c(fp) | *(arg_713ch) = v0;
| if (v0 == 0) {
0x00017e3c beqz v0, 0x17cf8 | goto label_5;
| }
0x00017e40 lw a2, 0x7c(s7) | a2 = *((s7 + 31));
0x00017e44 sll a1, a2, 3 | a1 = a2 << 3;
0x00017e48 b 0x17d3c | goto label_9;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/sar @ 0x16f1c */
| #include <stdint.h>
|
; (fcn) sym.stub_print_pwr_temp_stats () | void stub_print_pwr_temp_stats () {
0x00016f1c lui gp, 2 |
0x00016f20 addiu gp, gp, 0x6c34 |
0x00016f24 addu gp, gp, t9 | gp += t9;
0x00016f28 addiu sp, sp, -0x90 |
0x00016f2c sw fp, 0x88(sp) | *(var_88h) = fp;
0x00016f30 lw fp, -0x7fb0(gp) | fp = *((gp - 8172));
0x00016f34 sw s7, 0x84(sp) | *(var_84h) = s7;
0x00016f38 sll s7, a1, 2 | s7 = a1 << 2;
0x00016f3c sw s1, 0x6c(sp) | *(var_6ch) = s1;
0x00016f40 addu s7, a0, s7 | s7 = a0 + s7;
0x00016f44 lw s1, 0x714c(fp) | s1 = *(arg_714ch);
0x00016f48 sw gp, 0x18(sp) | *(var_18h) = gp;
0x00016f4c sw s5, 0x7c(sp) | *(var_7ch) = s5;
0x00016f50 sw s0, 0x68(sp) | *(var_68h) = s0;
0x00016f54 sw a2, 0x98(sp) | *(arg_98h) = a2;
0x00016f58 sw ra, 0x8c(sp) | *(var_8ch) = ra;
0x00016f5c sw s6, 0x80(sp) | *(var_80h) = s6;
0x00016f60 sw s4, 0x78(sp) | *(var_78h) = s4;
0x00016f64 sw s3, 0x74(sp) | *(var_74h) = s3;
0x00016f68 sw s2, 0x70(sp) | *(var_70h) = s2;
0x00016f6c move s0, a1 | s0 = a1;
0x00016f70 move s5, a0 | s5 = a0;
0x00016f74 lw a2, 0x7c(s7) | a2 = *((s7 + 31));
| if (s1 == 0) {
0x00016f78 beqz s1, 0x17524 | goto label_10;
| }
0x00016f7c lw v0, -0x7fb0(gp) | v0 = *((gp - 8172));
0x00016f80 sw v0, 0x64(sp) | *(var_64h) = v0;
0x00016f84 lw v1, 0x7148(v0) | v1 = *((v0 + 7250));
0x00016f88 slt v1, v1, a2 | v1 = (v1 < a2) ? 1 : 0;
0x00016f8c sll a1, a2, 3 | a1 = a2 << 3;
| if (v1 == 0) {
0x00016f90 bnel v1, zero, 0x17430 | goto label_11;
| }
0x00016f94 lw v1, -0x7f84(gp) | v1 = *(gp);
0x00016f98 lw v1, (v1) | v1 = *(v1);
0x00016f9c lw a0, -0x7fb8(gp) | a0 = *(gp);
| if (v1 != 0) {
0x00016fa0 bnez v1, 0x17480 | goto label_12;
| }
| label_2:
0x00016fa4 lw v0, -0x7fd8(gp) | v0 = *(gp);
| if (a2 <= 0) {
0x00016fa8 blez a2, 0x173a4 | goto label_13;
| }
0x00016fac sll s0, s0, 6 | s0 <<= 6;
0x00016fb0 lw s3, -0x7fb0(gp) | s3 = *((gp - 8172));
0x00016fb4 lw v1, 0x3130(v0) | v1 = *((v0 + 3148));
0x00016fb8 lw a0, 0x3134(v0) | a0 = *((v0 + 3149));
0x00016fbc lw v0, -0x7fd8(gp) | v0 = *(gp);
0x00016fc0 sw v1, 0x54(sp) | *(var_54h) = v1;
0x00016fc4 sw v0, 0x34(sp) | *(var_34h) = v0;
0x00016fc8 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x00016fcc sw a0, 0x58(sp) | *(var_58h) = a0;
0x00016fd0 sw v0, 0x2c(sp) | *(var_2ch) = v0;
0x00016fd4 lw v0, -0x7fb0(gp) | v0 = *((gp - 8172));
0x00016fd8 lw s4, -0x7fac(gp) | s4 = *(gp);
0x00016fdc sw v0, 0x24(sp) | *(var_24h) = v0;
0x00016fe0 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x00016fe4 move s1, zero | s1 = 0;
0x00016fe8 sw v0, 0x30(sp) | *(var_30h) = v0;
0x00016fec lw v0, -0x7fb4(gp) | v0 = *(gp);
0x00016ff0 move s6, zero | s6 = 0;
0x00016ff4 sw v0, 0x3c(sp) | *(var_3ch) = v0;
0x00016ff8 lw v0, -0x7fb8(gp) | v0 = *(gp);
0x00016ffc sw v1, 0x5c(sp) | *(var_5ch) = v1;
0x00017000 addu v0, v0, s0 | v0 += s0;
0x00017004 sw v0, 0x28(sp) | *(var_28h) = v0;
0x00017008 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0001700c sw a0, 0x60(sp) | *(var_60h) = a0;
| /* str.__11s */
0x00017010 addiu v0, v0, 0x2048 | v0 += 0x2048;
0x00017014 sw v0, 0x38(sp) | *(var_38h) = v0;
0x00017018 b 0x171c8 |
| while (v0 != 0) {
0x0001701c lw v0, 0x3c(sp) | v0 = *(var_3ch);
0x00017020 lw t9, -0x7e6c(gp) | t9 = *(gp);
0x00017024 lw s2, 0x714c(fp) | s2 = *(arg_714ch);
0x00017028 lw a0, (v0) | a0 = *(v0);
0x0001702c addu s2, s2, s1 | s2 += s1;
0x00017030 bal 0x20e80 | fcn_00020e80 ();
0x00017034 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017038 lw a0, (s2) | a0 = *(s2);
0x0001703c lw a1, 4(s2) | a1 = *((s2 + 1));
0x00017040 lw t9, -0x7e78(gp) | t9 = *(gp);
0x00017044 move a2, v0 | a2 = v0;
0x00017048 move a3, v1 | a3 = v1;
0x0001704c bal 0x1f460 | fcn_0001f460 ();
0x00017050 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017054 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00017058 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0001705c lw t9, -0x7de4(gp) | t9 = sym.cprintf_f
0x00017060 addiu a3, zero, 2 | a3 = 2;
0x00017064 addiu a2, zero, 9 | a2 = 9;
0x00017068 addiu a1, zero, 1 | a1 = 1;
0x0001706c addiu a0, zero, -1 | a0 = -1;
0x00017070 bal 0x1cc08 | sym_cprintf_f ()
0x00017074 lw a0, 0x24(sp) | a0 = *(var_24h);
0x00017078 lw v0, 0x7140(s3) | v0 = *((s3 + 7248));
0x0001707c lw gp, 0x18(sp) | gp = *(var_18h);
0x00017080 lw v1, 0x7144(a0) | v1 = *((a0 + 7249));
0x00017084 addu v0, v0, s1 | v0 += s1;
0x00017088 addu v1, v1, s1 | v1 += s1;
0x0001708c lw a0, (v0) | a0 = *(v0);
0x00017090 lw a2, (v1) | a2 = *(v1);
0x00017094 lw a3, 4(v1) | a3 = *((v1 + 1));
0x00017098 lw t9, -0x7e68(gp) | t9 = *(gp);
0x0001709c lw a1, 4(v0) | a1 = *((v0 + 1));
0x000170a0 sw a2, 0x40(sp) | *(var_40h) = a2;
0x000170a4 sw a3, 0x44(sp) | *(var_44h) = a3;
0x000170a8 lw s2, (s4) | s2 = *(s4);
0x000170ac bal 0x20500 | fcn_00020500 ();
0x000170b0 lw gp, 0x18(sp) | gp = *(var_18h);
0x000170b4 move a2, zero | a2 = 0;
0x000170b8 move a3, zero | a3 = 0;
0x000170bc lw t9, -0x7da0(gp) | t9 = *(gp);
0x000170c0 sw v0, 0x48(sp) | *(var_48h) = v0;
0x000170c4 sw v1, 0x4c(sp) | *(var_4ch) = v1;
0x000170c8 move a0, v0 | a0 = v0;
0x000170cc move a1, v1 | a1 = v1;
0x000170d0 bal 0x1fc20 | fcn_0001fc20 ();
0x000170d4 ext s2, s2, 0x14, 1 | __asm ("ext s2, s2, 0x14, 1");
0x000170d8 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x000170dc beqz v0, 0x1738c | goto label_14;
| }
0x000170e0 lw v1, 0x3c(sp) | v1 = *(var_3ch);
0x000170e4 lw a1, 0x714c(fp) | a1 = *(arg_714ch);
0x000170e8 lw t9, -0x7e6c(gp) | t9 = *(gp);
0x000170ec addu a1, a1, s1 | a1 += s1;
0x000170f0 lw a0, (v1) | a0 = *(v1);
0x000170f4 sw a1, 0x50(sp) | *(var_50h) = a1;
0x000170f8 bal 0x20e80 | fcn_00020e80 ();
0x000170fc lw gp, 0x18(sp) | gp = *(var_18h);
0x00017100 lw a1, 0x50(sp) | a1 = *(var_50h);
0x00017104 move a2, v0 | a2 = v0;
0x00017108 lw t9, -0x7e78(gp) | t9 = *(gp);
0x0001710c lw a0, (a1) | a0 = *(a1);
0x00017110 lw a1, 4(a1) | a1 = *((a1 + 1));
0x00017114 move a3, v1 | a3 = v1;
0x00017118 bal 0x1f460 | fcn_0001f460 ();
0x0001711c lw gp, 0x18(sp) | gp = *(var_18h);
0x00017120 lw a2, 0x40(sp) | a2 = *(var_40h);
0x00017124 lw a3, 0x44(sp) | a3 = *(var_44h);
0x00017128 lw t9, -0x7e68(gp) | t9 = *(gp);
0x0001712c move a0, v0 | a0 = v0;
0x00017130 move a1, v1 | a1 = v1;
0x00017134 bal 0x20500 | fcn_00020500 ();
0x00017138 lw gp, 0x18(sp) | gp = *(var_18h);
0x0001713c lw a2, 0x48(sp) | a2 = *(var_48h);
0x00017140 lw a3, 0x4c(sp) | a3 = *(var_4ch);
0x00017144 lw t9, -0x7e78(gp) | t9 = *(gp);
0x00017148 move a0, v0 | a0 = v0;
0x0001714c move a1, v1 | a1 = v1;
0x00017150 bal 0x1f460 | fcn_0001f460 ();
0x00017154 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017158 lw a2, 0x5c(sp) | a2 = *(var_5ch);
0x0001715c lw a3, 0x60(sp) | a3 = *(var_60h);
0x00017160 lw t9, -0x7e70(gp) | t9 = *(gp);
0x00017164 move a0, v0 | a0 = v0;
0x00017168 move a1, v1 | a1 = v1;
0x0001716c bal 0x1ff60 | fcn_0001ff60 ();
0x00017170 lw gp, 0x18(sp) | gp = *(var_18h);
| label_1:
0x00017174 lw t9, -0x7df0(gp) | t9 = sym.cprintf_pc
0x00017178 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0001717c sw v1, 0x14(sp) | *(var_14h) = v1;
0x00017180 addiu a3, zero, 2 | a3 = 2;
0x00017184 addiu a2, zero, 9 | a2 = 9;
0x00017188 addiu a1, zero, 1 | a1 = 1;
0x0001718c move a0, s2 | a0 = s2;
0x00017190 bal 0x1cea4 | sym_cprintf_pc ()
0x00017194 lw gp, 0x18(sp) | gp = *(var_18h);
| label_0:
0x00017198 lw v0, 0x30(sp) | v0 = *(var_30h);
0x0001719c lw t9, -0x7df8(gp) | t9 = sym.cprintf_in
0x000171a0 addiu a1, v0, 0x3894 | a1 = v0 + 0x3894;
0x000171a4 move a3, zero | a3 = 0;
0x000171a8 addiu a2, s0, 0x18 | a2 = s0 + 0x18;
0x000171ac addiu a0, zero, 1 | a0 = 1;
0x000171b0 bal 0x1d180 | sym_cprintf_in ()
0x000171b4 lw v0, 0x7c(s7) | v0 = *((s7 + 31));
0x000171b8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000171bc slt v0, s6, v0 | v0 = (s6 < v0) ? 1 : 0;
0x000171c0 addiu s1, s1, 8 | s1 += 8;
| if (v0 == 0) {
0x000171c4 beqz v0, 0x173a4 | goto label_13;
| }
0x000171c8 lw s0, 0x90(s5) | s0 = *((s5 + 36));
0x000171cc lw t9, -0x7ca8(gp) | t9 = sym.imp.__printf_chk
0x000171d0 mul v1, s6, s0 | __asm ("mul v1, s6, s0");
0x000171d4 lw v0, 0x98(s7) | v0 = *((s7 + 38));
0x000171d8 lw a2, 0x28(sp) | a2 = *(var_28h);
0x000171dc lw a1, 0x38(sp) | a1 = *(var_38h);
0x000171e0 addiu a0, zero, 1 | a0 = 1;
0x000171e4 addu s0, v1, v0 | s0 = v1 + v0;
0x000171e8 jalr t9 | t9 ();
0x000171ec lw gp, 0x18(sp) | gp = *(var_18h);
0x000171f0 lw v0, 0x34(sp) | v0 = *(var_34h);
0x000171f4 addiu s6, s6, 1 | s6++;
0x000171f8 addiu a2, v0, 0x21a4 | a2 = v0 + 0x21a4;
0x000171fc lw v0, 0x2c(sp) | v0 = *(var_2ch);
0x00017200 lw t9, -0x7df8(gp) | t9 = sym.cprintf_in
0x00017204 addiu a1, v0, 0x31b8 | a1 = v0 + 0x31b8;
0x00017208 move a3, s6 | a3 = s6;
0x0001720c move a0, zero | a0 = 0;
0x00017210 bal 0x1d180 | sym_cprintf_in ()
0x00017214 lw v0, 0x98(sp) | v0 = *(arg_98h);
0x00017218 lw gp, 0x18(sp) | gp = *(var_18h);
0x0001721c bnez v0, 0x1701c |
| }
0x00017220 lw v0, (s0) | v0 = *(s0);
0x00017224 lw v1, 4(s0) | v1 = *((s0 + 1));
0x00017228 lw t9, -0x7de4(gp) | t9 = sym.cprintf_f
0x0001722c addiu a3, zero, 2 | a3 = 2;
0x00017230 addiu a2, zero, 9 | a2 = 9;
0x00017234 addiu a1, zero, 1 | a1 = 1;
0x00017238 addiu a0, zero, -1 | a0 = -1;
0x0001723c sw v0, 0x10(sp) | *(var_10h) = v0;
0x00017240 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00017244 bal 0x1cc08 | sym_cprintf_f ()
0x00017248 lw gp, 0x18(sp) | gp = *(var_18h);
0x0001724c lw t0, 8(s0) | t0 = *((s0 + 2));
0x00017250 lw t1, 0xc(s0) | t1 = *((s0 + 3));
0x00017254 lw a0, 0x10(s0) | a0 = *((s0 + 4));
0x00017258 lw t9, -0x7e68(gp) | t9 = *(gp);
0x0001725c lw a1, 0x14(s0) | a1 = *((s0 + 5));
0x00017260 move a2, t0 | a2 = t0;
0x00017264 move a3, t1 | a3 = t1;
0x00017268 sw t0, 0x48(sp) | *(var_48h) = t0;
0x0001726c sw t1, 0x4c(sp) | *(var_4ch) = t1;
0x00017270 lw s2, (s4) | s2 = *(s4);
0x00017274 bal 0x20500 | fcn_00020500 ();
0x00017278 lw gp, 0x18(sp) | gp = *(var_18h);
0x0001727c move a2, zero | a2 = 0;
0x00017280 move a3, zero | a3 = 0;
0x00017284 lw t9, -0x7da0(gp) | t9 = *(gp);
0x00017288 sw v0, 0x40(sp) | *(var_40h) = v0;
0x0001728c sw v1, 0x44(sp) | *(var_44h) = v1;
0x00017290 move a0, v0 | a0 = v0;
0x00017294 move a1, v1 | a1 = v1;
0x00017298 bal 0x1fc20 | fcn_0001fc20 ();
0x0001729c ext s2, s2, 0x14, 1 | __asm ("ext s2, s2, 0x14, 1");
0x000172a0 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x000172a4 beqz v0, 0x17398 | goto label_15;
| }
0x000172a8 lw t0, 0x48(sp) | t0 = *(var_48h);
0x000172ac lw t1, 0x4c(sp) | t1 = *(var_4ch);
0x000172b0 lw t9, -0x7e68(gp) | t9 = *(gp);
0x000172b4 lw a0, (s0) | a0 = *(s0);
0x000172b8 lw a1, 4(s0) | a1 = *((s0 + 1));
0x000172bc move a2, t0 | a2 = t0;
0x000172c0 move a3, t1 | a3 = t1;
0x000172c4 bal 0x20500 | fcn_00020500 ();
0x000172c8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000172cc lw a2, 0x40(sp) | a2 = *(var_40h);
0x000172d0 lw a3, 0x44(sp) | a3 = *(var_44h);
0x000172d4 lw t9, -0x7e78(gp) | t9 = *(gp);
0x000172d8 move a0, v0 | a0 = v0;
0x000172dc move a1, v1 | a1 = v1;
0x000172e0 bal 0x1f460 | fcn_0001f460 ();
0x000172e4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000172e8 lw a2, 0x54(sp) | a2 = *(var_54h);
0x000172ec lw a3, 0x58(sp) | a3 = *(var_58h);
0x000172f0 lw t9, -0x7e70(gp) | t9 = *(gp);
0x000172f4 move a0, v0 | a0 = v0;
0x000172f8 move a1, v1 | a1 = v1;
0x000172fc bal 0x1ff60 | fcn_0001ff60 ();
0x00017300 lw gp, 0x18(sp) | gp = *(var_18h);
| do {
0x00017304 lw t9, -0x7df0(gp) | t9 = sym.cprintf_pc
0x00017308 move a0, s2 | a0 = s2;
0x0001730c addiu a3, zero, 2 | a3 = 2;
0x00017310 addiu a2, zero, 9 | a2 = 9;
0x00017314 addiu a1, zero, 1 | a1 = 1;
0x00017318 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0001731c sw v1, 0x14(sp) | *(var_14h) = v1;
0x00017320 bal 0x1cea4 | sym_cprintf_pc ()
0x00017324 lw s2, 0x714c(fp) | s2 = *(arg_714ch);
0x00017328 lw gp, 0x18(sp) | gp = *(var_18h);
0x0001732c addu s2, s2, s1 | s2 += s1;
0x00017330 lw a2, (s0) | a2 = *(s0);
0x00017334 lw t9, -0x7e10(gp) | t9 = *(gp);
0x00017338 lw a3, 4(s0) | a3 = *((s0 + 1));
0x0001733c lw a0, (s2) | a0 = *(s2);
0x00017340 lw a1, 4(s2) | a1 = *((s2 + 1));
0x00017344 bal 0x1eaf0 | fcn_0001eaf0 ();
0x00017348 lw a0, 0x24(sp) | a0 = *(var_24h);
0x0001734c lw gp, 0x18(sp) | gp = *(var_18h);
0x00017350 sw v0, (s2) | *(s2) = v0;
0x00017354 lw a0, 0x7144(a0) | a0 = *((a0 + 7249));
0x00017358 sw v1, 4(s2) | *((s2 + 1)) = v1;
0x0001735c lw a2, 8(s0) | a2 = *((s0 + 2));
0x00017360 lw a3, 0xc(s0) | a3 = *((s0 + 3));
0x00017364 addu a0, a0, s1 | a0 += s1;
0x00017368 lw v0, 0x7140(s3) | v0 = *((s3 + 7248));
0x0001736c sw a2, (a0) | *(a0) = a2;
0x00017370 sw a3, 4(a0) | *((a0 + 1)) = a3;
0x00017374 lw a0, 0x10(s0) | a0 = *((s0 + 4));
0x00017378 lw a1, 0x14(s0) | a1 = *((s0 + 5));
0x0001737c addu v0, v0, s1 | v0 += s1;
0x00017380 sw a0, (v0) | *(v0) = a0;
0x00017384 sw a1, 4(v0) | *((v0 + 1)) = a1;
0x00017388 b 0x17198 | goto label_0;
| label_14:
0x0001738c move v0, zero | v0 = 0;
0x00017390 move v1, zero | v1 = 0;
0x00017394 b 0x17174 | goto label_1;
| label_15:
0x00017398 move v0, zero | v0 = 0;
0x0001739c move v1, zero | v1 = 0;
0x000173a0 b 0x17304 |
| } while (1);
| label_13:
0x000173a4 lw v0, 0x98(sp) | v0 = *(arg_98h);
0x000173a8 lw ra, 0x8c(sp) | ra = *(var_8ch);
| if (v0 != 0) {
0x000173ac beqz v0, 0x17404 |
0x000173b0 lw a0, 0x714c(fp) | a0 = *(arg_714ch);
0x000173b4 lw t9, -0x7bf0(gp) | t9 = sym.imp.free;
| if (a0 == 0) {
0x000173b8 beqz a0, 0x17404 | goto label_16;
| }
0x000173bc lw s1, -0x7fb0(gp) | s1 = *((gp - 8172));
0x000173c0 lw s0, -0x7fb0(gp) | s0 = *((gp - 8172));
0x000173c4 jalr t9 | t9 ();
0x000173c8 nop |
0x000173cc lw gp, 0x18(sp) | gp = *(var_18h);
0x000173d0 lw t9, -0x7bf0(gp) | t9 = sym.imp.free;
0x000173d4 lw a0, 0x7144(s1) | a0 = *((s1 + 7249));
0x000173d8 jalr t9 | t9 ();
0x000173dc lw gp, 0x18(sp) | gp = *(var_18h);
0x000173e0 lw t9, -0x7bf0(gp) | t9 = sym.imp.free;
0x000173e4 lw a0, 0x7140(s0) | a0 = *((s0 + 7248));
0x000173e8 jalr t9 | t9 ();
0x000173ec lw v0, 0x64(sp) | v0 = *(var_64h);
0x000173f0 sw zero, 0x714c(fp) | *(arg_714ch) = 0;
0x000173f4 sw zero, 0x7144(s1) | *((s1 + 7249)) = 0;
0x000173f8 sw zero, 0x7140(s0) | *((s0 + 7248)) = 0;
0x000173fc sw zero, 0x7148(v0) | *((v0 + 7250)) = 0;
0x00017400 lw ra, 0x8c(sp) | ra = *(var_8ch);
| }
| label_16:
0x00017404 lw fp, 0x88(sp) | fp = *(var_88h);
0x00017408 lw s7, 0x84(sp) | s7 = *(var_84h);
0x0001740c lw s6, 0x80(sp) | s6 = *(var_80h);
0x00017410 lw s5, 0x7c(sp) | s5 = *(var_7ch);
0x00017414 lw s4, 0x78(sp) | s4 = *(var_78h);
0x00017418 lw s3, 0x74(sp) | s3 = *(var_74h);
0x0001741c lw s2, 0x70(sp) | s2 = *(var_70h);
0x00017420 lw s1, 0x6c(sp) | s1 = *(var_6ch);
0x00017424 lw s0, 0x68(sp) | s0 = *(var_68h);
0x00017428 addiu sp, sp, 0x90 |
0x0001742c jr ra | return v0;
| label_11:
0x00017430 lw v0, -0x7fb0(gp) | v0 = *((gp - 8172));
| if (a1 != 0) {
0x00017434 bnez a1, 0x17674 | goto label_17;
| }
0x00017438 lw s3, 0x7144(v0) | s3 = *((v0 + 7249));
| label_4:
0x0001743c lw v0, -0x7fb0(gp) | v0 = *((gp - 8172));
| if (s3 == 0) {
0x00017440 beqz s3, 0x17644 | goto label_18;
| }
0x00017444 move s6, v0 | s6 = v0;
| label_6:
0x00017448 lw s4, 0x7140(s6) | s4 = *((s6 + 7248));
0x0001744c lw v0, -0x7be8(gp) | v0 = *((gp - 7930));
| if (s4 == 0) {
0x00017450 beqz s4, 0x17648 | goto label_19;
| }
| label_7:
0x00017454 lw v0, -0x7fb0(gp) | v0 = *((gp - 8172));
0x00017458 sw v0, 0x64(sp) | *(var_64h) = v0;
0x0001745c lw s2, 0x7148(v0) | s2 = *((v0 + 7250));
0x00017460 slt v1, s2, a2 | v1 = (s2 < a2) ? 1 : 0;
0x00017464 lw v0, 0x64(sp) | v0 = *(var_64h);
| if (v1 != 0) {
0x00017468 bnez v1, 0x174b4 | goto label_20;
| }
0x0001746c sw a2, 0x7148(v0) | *((v0 + 7250)) = a2;
| label_3:
0x00017470 lw v1, -0x7f84(gp) | v1 = *(gp);
0x00017474 lw v1, (v1) | v1 = *(v1);
0x00017478 lw a0, -0x7fb8(gp) | a0 = *(gp);
| if (v1 == 0) {
0x0001747c beqz v1, 0x16fa4 | goto label_2;
| }
| label_12:
0x00017480 sltiu v0, s0, 1 | v0 = (s0 < 1) ? 1 : 0;
0x00017484 sll v0, v0, 6 | v0 <<= 6;
0x00017488 addiu v1, zero, 9 | v1 = 9;
0x0001748c lw t9, -0x7de8(gp) | t9 = sym.print_hdr_line;
0x00017490 move a2, zero | a2 = 0;
0x00017494 sw v1, 0x10(sp) | *(var_10h) = v1;
0x00017498 addiu a3, zero, -2 | a3 = -2;
0x0001749c move a1, s5 | a1 = s5;
0x000174a0 addu a0, a0, v0 | a0 += v0;
0x000174a4 bal 0xc7f0 | sym_print_hdr_line ();
0x000174a8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000174ac lw a2, 0x7c(s7) | a2 = *((s7 + 31));
0x000174b0 b 0x16fa4 | goto label_2;
| label_20:
0x000174b4 lw t9, -0x7c7c(gp) | t9 = sym.imp.memset;
0x000174b8 sll s6, s2, 3 | s6 = s2 << 3;
0x000174bc subu a2, a2, s2 | __asm ("subu a2, a2, s2");
0x000174c0 sll a2, a2, 3 | a2 <<= 3;
0x000174c4 move a1, zero | a1 = 0;
0x000174c8 addu a0, s1, s6 | a0 = s1 + s6;
0x000174cc jalr t9 | t9 ();
0x000174d0 lw gp, 0x18(sp) | gp = *(var_18h);
0x000174d4 lw a2, 0x7c(s7) | a2 = *((s7 + 31));
0x000174d8 move a1, zero | a1 = 0;
0x000174dc lw t9, -0x7c7c(gp) | t9 = sym.imp.memset;
0x000174e0 subu a2, a2, s2 | __asm ("subu a2, a2, s2");
0x000174e4 sll a2, a2, 3 | a2 <<= 3;
0x000174e8 addu a0, s3, s6 | a0 = s3 + s6;
0x000174ec jalr t9 | t9 ();
0x000174f0 lw gp, 0x18(sp) | gp = *(var_18h);
0x000174f4 lw a2, 0x7c(s7) | a2 = *((s7 + 31));
0x000174f8 move a1, zero | a1 = 0;
0x000174fc lw t9, -0x7c7c(gp) | t9 = sym.imp.memset;
0x00017500 subu a2, a2, s2 | __asm ("subu a2, a2, s2");
0x00017504 sll a2, a2, 3 | a2 <<= 3;
0x00017508 addu a0, s4, s6 | a0 = s4 + s6;
0x0001750c jalr t9 | t9 ();
0x00017510 lw v0, 0x64(sp) | v0 = *(var_64h);
0x00017514 lw a2, 0x7c(s7) | a2 = *((s7 + 31));
0x00017518 lw gp, 0x18(sp) | gp = *(var_18h);
0x0001751c sw a2, 0x7148(v0) | *((v0 + 7250)) = a2;
0x00017520 b 0x17470 | goto label_3;
| label_10:
0x00017524 sll a1, a2, 3 | a1 = a2 << 3;
0x00017528 lw t9, -0x7c40(gp) | t9 = sym.imp.realloc;
| if (a1 == 0) {
0x0001752c beqz a1, 0x17644 | goto label_18;
| }
0x00017530 move a0, zero | a0 = 0;
0x00017534 jalr t9 | t9 ();
0x00017538 move s1, v0 | s1 = v0;
0x0001753c lw gp, 0x18(sp) | gp = *(var_18h);
0x00017540 sw v0, 0x714c(fp) | *(arg_714ch) = v0;
| if (v0 == 0) {
0x00017544 bnez v0, 0x17568 |
| label_5:
0x00017548 lw a0, -0x7fd8(gp) | a0 = *(gp);
0x0001754c lw t9, -0x7c30(gp) | t9 = sym.imp.perror;
| /* str.realloc */
0x00017550 addiu a0, a0, 0x2e2c | a0 += 0x2e2c;
0x00017554 jalr t9 | t9 ();
0x00017558 lw gp, 0x18(sp) | gp = *(var_18h);
0x0001755c lw t9, -0x7c54(gp) | t9 = sym.imp.exit;
0x00017560 addiu a0, zero, 4 | a0 = 4;
0x00017564 jalr t9 | t9 ();
| }
0x00017568 lw a2, 0x7c(s7) | a2 = *((s7 + 31));
0x0001756c lw t9, -0x7c7c(gp) | t9 = sym.imp.memset;
0x00017570 sll a2, a2, 3 | a2 <<= 3;
0x00017574 move a1, zero | a1 = 0;
0x00017578 move a0, s1 | a0 = s1;
0x0001757c jalr t9 | t9 ();
0x00017580 lw a2, 0x7c(s7) | a2 = *((s7 + 31));
0x00017584 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017588 sll a1, a2, 3 | a1 = a2 << 3;
| label_9:
0x0001758c lw v0, -0x7fb0(gp) | v0 = *((gp - 8172));
0x00017590 sw v0, 0x24(sp) | *(var_24h) = v0;
0x00017594 lw s2, 0x7144(v0) | s2 = *((v0 + 7249));
0x00017598 move s3, s2 | s3 = s2;
| if (a1 == 0) {
0x0001759c beqz a1, 0x1743c | goto label_4;
| }
0x000175a0 lw t9, -0x7c40(gp) | t9 = sym.imp.realloc;
0x000175a4 move a0, s2 | a0 = s2;
0x000175a8 jalr t9 | t9 ();
0x000175ac move s3, v0 | s3 = v0;
0x000175b0 lw v0, 0x24(sp) | v0 = *(var_24h);
0x000175b4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000175b8 sw s3, 0x7144(v0) | *((v0 + 7249)) = s3;
| if (s3 == 0) {
0x000175bc beqz s3, 0x17548 | goto label_5;
| }
0x000175c0 lw a2, 0x7c(s7) | a2 = *((s7 + 31));
0x000175c4 sll a1, a2, 3 | a1 = a2 << 3;
| if (s2 == 0) {
0x000175c8 beqz s2, 0x17620 | goto label_21;
| }
| label_8:
0x000175cc lw v0, -0x7fb0(gp) | v0 = *((gp - 8172));
0x000175d0 move s6, v0 | s6 = v0;
0x000175d4 lw s2, 0x7140(v0) | s2 = *((v0 + 7248));
| if (a1 == 0) {
0x000175d8 beqz a1, 0x17448 | goto label_6;
| }
0x000175dc lw t9, -0x7c40(gp) | t9 = sym.imp.realloc;
0x000175e0 move a0, s2 | a0 = s2;
0x000175e4 jalr t9 | t9 ();
0x000175e8 move s4, v0 | s4 = v0;
0x000175ec lw gp, 0x18(sp) | gp = *(var_18h);
0x000175f0 sw s4, 0x7140(s6) | *((s6 + 7248)) = s4;
| if (s4 == 0) {
0x000175f4 beqz s4, 0x17548 | goto label_5;
| }
0x000175f8 lw a2, 0x7c(s7) | a2 = *((s7 + 31));
| if (s2 != 0) {
0x000175fc bnez s2, 0x17454 | goto label_7;
| }
0x00017600 lw t9, -0x7c7c(gp) | t9 = sym.imp.memset;
0x00017604 sll a2, a2, 3 | a2 <<= 3;
0x00017608 move a1, zero | a1 = 0;
0x0001760c move a0, s4 | a0 = s4;
0x00017610 jalr t9 | t9 ();
0x00017614 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017618 lw a2, 0x7c(s7) | a2 = *((s7 + 31));
0x0001761c b 0x17454 | goto label_7;
| label_21:
0x00017620 lw t9, -0x7c7c(gp) | t9 = sym.imp.memset;
0x00017624 move a2, a1 | a2 = a1;
0x00017628 move a0, s3 | a0 = s3;
0x0001762c move a1, zero | a1 = 0;
0x00017630 jalr t9 | t9 ();
0x00017634 lw a2, 0x7c(s7) | a2 = *((s7 + 31));
0x00017638 lw gp, 0x18(sp) | gp = *(var_18h);
0x0001763c sll a1, a2, 3 | a1 = a2 << 3;
0x00017640 b 0x175cc | goto label_8;
| label_18:
0x00017644 lw v0, -0x7be8(gp) | v0 = *((gp - 7930));
| label_19:
0x00017648 lw a0, -0x7fd8(gp) | a0 = *(gp);
0x0001764c lw t9, -0x7c34(gp) | t9 = sym.imp.fwrite;
0x00017650 lw a3, (v0) | a3 = *(v0);
| /* str.srealloc_n */
0x00017654 addiu a0, a0, 0x2e34 | a0 += 0x2e34;
0x00017658 addiu a2, zero, 9 | a2 = 9;
0x0001765c addiu a1, zero, 1 | a1 = 1;
0x00017660 jalr t9 | t9 ();
0x00017664 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017668 lw t9, -0x7c54(gp) | t9 = sym.imp.exit;
0x0001766c addiu a0, zero, 4 | a0 = 4;
0x00017670 jalr t9 | t9 ();
| label_17:
0x00017674 lw t9, -0x7c40(gp) | t9 = sym.imp.realloc;
0x00017678 move a0, s1 | a0 = s1;
0x0001767c jalr t9 | t9 ();
0x00017680 move s1, v0 | s1 = v0;
0x00017684 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017688 sw v0, 0x714c(fp) | *(arg_714ch) = v0;
| if (v0 == 0) {
0x0001768c beqz v0, 0x17548 | goto label_5;
| }
0x00017690 lw a2, 0x7c(s7) | a2 = *((s7 + 31));
0x00017694 sll a1, a2, 3 | a1 = a2 << 3;
0x00017698 b 0x1758c | goto label_9;
| }
[*] Function printf used 117 times sar