[*] Binary protection state of agetty
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function printf tear down of agetty
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/agetty @ 0x1fc0 */
| #include <stdint.h>
|
; (fcn) main () | int32_t main () {
| /* [13] -r-x section size 45472 named .text */
0x00001fc0 lui gp, 2 |
0x00001fc4 addiu gp, gp, 0x62b0 |
0x00001fc8 addu gp, gp, t9 | gp += t9;
0x00001fcc lw v0, -0x7d9c(gp) | v0 = *((gp - 8039));
0x00001fd0 addiu sp, sp, -0x26b8 |
0x00001fd4 lw t9, -0x7e8c(gp) | t9 = sym.imp.memset;
0x00001fd8 lw v0, (v0) | v0 = *(v0);
0x00001fdc addiu a2, zero, 0x74 | a2 = 0x74;
0x00001fe0 sw ra, 0x26b4(sp) | *(arg_26b4h) = ra;
0x00001fe4 sw gp, 0x18(sp) | *(arg_18h) = gp;
0x00001fe8 sw s5, 0x26a4(sp) | *(arg_26a4h) = s5;
0x00001fec sw s2, 0x2698(sp) | *(arg_2698h) = s2;
0x00001ff0 sw s1, 0x2694(sp) | *(arg_2694h) = s1;
0x00001ff4 sw s0, 0x2690(sp) | *(arg_2690h) = s0;
0x00001ff8 sw fp, 0x26b0(sp) | *(arg_26b0h) = fp;
0x00001ffc sw s7, 0x26ac(sp) | *(arg_26ach) = s7;
0x00002000 sw s6, 0x26a8(sp) | *(arg_26a8h) = s6;
0x00002004 sw s4, 0x26a0(sp) | *(arg_26a0h) = s4;
0x00002008 sw s3, 0x269c(sp) | *(arg_269ch) = s3;
0x0000200c move s1, a0 | s1 = a0;
0x00002010 move s2, a1 | s2 = a1;
0x00002014 addiu a0, sp, 0x114 | a0 = sp + 0x114;
0x00002018 move a1, zero | a1 = 0;
0x0000201c sw v0, 0x268c(sp) | *(arg_268ch) = v0;
0x00002020 addiu s0, sp, 0x298 | s0 = sp + 0x298;
0x00002024 jalr t9 | t9 ();
0x00002028 lw gp, 0x18(sp) | gp = *(arg_18h);
0x0000202c addiu v0, zero, 2 | v0 = 2;
0x00002030 sw v0, 0x110(sp) | *(arg_110h) = v0;
0x00002034 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00002038 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x0000203c addiu v0, v0, -0x244c | v0 += -0x244c;
0x00002040 sw v0, 0x124(sp) | *(arg_124h) = v0;
0x00002044 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00002048 lw t9, -0x7ee0(gp) | t9 = *(gp);
0x0000204c addiu v0, v0, -0x2440 | v0 += -0x2440;
0x00002050 addiu a1, a1, -0x2354 | a1 += -0x2354;
0x00002054 addiu a0, zero, 6 | a0 = 6;
0x00002058 sw v0, 0x12c(sp) | *(arg_12ch) = v0;
0x0000205c sw zero, 0x84(sp) | *(arg_84h) = 0;
0x00002060 sw zero, 0x88(sp) | *(arg_88h) = 0;
0x00002064 sw zero, 0x8c(sp) | *(arg_8ch) = 0;
0x00002068 sw zero, 0x90(sp) | *(arg_90h) = 0;
0x0000206c sw zero, 0x94(sp) | *(arg_94h) = 0;
0x00002070 jalr t9 | t9 ();
0x00002074 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00002078 addiu v0, zero, 1 | v0 = 1;
0x0000207c lw t9, -0x7ec8(gp) | t9 = sym.imp.sigemptyset;
0x00002080 sw v0, 0x20c(sp) | *(arg_20ch) = v0;
0x00002084 lui v0, 0x1000 | v0 = 0x10000000;
0x00002088 addiu a0, sp, 0x210 | a0 = sp + 0x210;
0x0000208c sw s0, 0x20(sp) | *(arg_20h) = s0;
0x00002090 sw v0, 0x208(sp) | *(arg_208h) = v0;
0x00002094 jalr t9 | t9 ();
0x00002098 lw gp, 0x18(sp) | gp = *(arg_18h);
0x0000209c move a2, s0 | a2 = s0;
0x000020a0 addiu s0, sp, 0x208 | s0 = sp + 0x208;
0x000020a4 lw t9, -0x7f28(gp) | t9 = sym.imp.sigaction;
0x000020a8 move a1, s0 | a1 = s0;
0x000020ac addiu a0, zero, 1 | a0 = 1;
0x000020b0 jalr t9 | t9 ();
0x000020b4 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000020b8 addiu v0, sp, 0x328 | v0 = sp + section..hash;
0x000020bc move a2, v0 | a2 = v0;
0x000020c0 lw t9, -0x7f28(gp) | t9 = sym.imp.sigaction;
0x000020c4 move a1, s0 | a1 = s0;
0x000020c8 addiu a0, zero, 3 | a0 = 3;
0x000020cc sw v0, 0x24(sp) | *(arg_24h) = v0;
0x000020d0 jalr t9 | t9 ();
0x000020d4 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000020d8 addiu v0, sp, 0x3b8 | v0 = sp + aav.0x000003b8;
0x000020dc addiu a0, zero, 2 | a0 = 2;
0x000020e0 lw t9, -0x7f28(gp) | t9 = sym.imp.sigaction;
0x000020e4 sw v0, 0x28(sp) | *(arg_28h) = v0;
0x000020e8 move a2, v0 | a2 = v0;
0x000020ec move a1, s0 | a1 = s0;
0x000020f0 jalr t9 | t9 ();
0x000020f4 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000020f8 addiu s5, sp, 0x448 | s5 = sp + 0x448;
0x000020fc move a0, s5 | a0 = s5;
0x00002100 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
| /* esilref: '8bits' */
0x00002104 addiu v0, v0, 0x10 | v0 += 0x10;
0x00002108 addiu t1, v0, 0x240 | t1 = v0 + 0x240;
| do {
0x0000210c lw a3, (v0) | a3 = *(v0);
0x00002110 lw a2, 4(v0) | a2 = *((v0 + 1));
0x00002114 lw a1, 8(v0) | a1 = *((v0 + 2));
0x00002118 lw v1, 0xc(v0) | v1 = *((v0 + 3));
0x0000211c addiu v0, v0, 0x10 | v0 += 0x10;
0x00002120 sw a3, (a0) | *(a0) = a3;
0x00002124 sw a2, 4(a0) | *((a0 + 1)) = a2;
0x00002128 sw a1, 8(a0) | *((a0 + 2)) = a1;
0x0000212c sw v1, 0xc(a0) | *((a0 + 3)) = v1;
0x00002130 addiu a0, a0, 0x10 | a0 += 0x10;
0x00002134 bne v0, t1, 0x210c |
| } while (v0 != t1);
0x00002138 lw s0, -0x7fdc(gp) | s0 = *((gp - 8183));
0x0000213c lw s4, -0x7fdc(gp) | s4 = *((gp - 8183));
0x00002140 lw s6, -0x7fdc(gp) | s6 = *((gp - 8183));
0x00002144 lw s3, -0x7fdc(gp) | s3 = *((gp - 8183));
0x00002148 lw s7, -0x7fdc(gp) | s7 = *((gp - 8183));
0x0000214c lw fp, -0x7fdc(gp) | fp = *((gp - 8183));
0x00002150 addiu s0, s0, -0x1434 | s0 += -0x1434;
0x00002154 addiu s4, s4, -0x23cc | s4 += -0x23cc;
0x00002158 addiu s6, s6, -0x2420 | s6 += -0x2420;
0x0000215c lw t9, -0x7e30(gp) | t9 = sym.imp.getopt_long;
0x00002160 sw zero, 0x10(sp) | *(arg_10h) = 0;
0x00002164 move a3, s5 | a3 = s5;
0x00002168 addiu a2, s3, -0x1a84 | a2 = s3 + -0x1a84;
0x0000216c move a1, s2 | a1 = s2;
0x00002170 move a0, s1 | a0 = s1;
0x00002174 jalr t9 | t9 ();
0x00002178 addiu v1, zero, -1 | v1 = -1;
0x0000217c lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 != v1) {
0x00002180 beq v0, v1, 0x26a4 |
0x00002184 addiu v0, v0, -0x38 | v0 += -0x38;
0x00002188 sltiu v1, v0, 0x51 | v1 = (v0 < 0x51) ? 1 : 0;
0x0000218c sll v0, v0, 2 | v0 <<= 2;
| if (v1 == 0) {
0x00002190 beqz v1, 0x42c0 | goto label_71;
| }
0x00002194 lwx v0, v0(s0) | __asm ("lwx v0, v0(s0)");
0x00002198 addu v0, v0, gp | v0 += gp;
0x0000219c jr v0 | v0 ();
0x000021a0 nop |
| }
0x000026a4 lw s4, -0x7dc4(gp) | s4 = *((gp - 8049));
0x000026a8 lw s7, (s4) | s7 = *(s4);
0x000026ac slt v0, s7, s1 | v0 = (s7 < s1) ? 1 : 0;
0x000026b0 sll s6, s7, 2 | s6 = s7 << 2;
| if (v0 == 0) {
0x000026b4 beqz v0, 0x4b2c | goto label_72;
| }
0x000026b8 addu s6, s2, s6 | s6 = s2 + s6;
0x000026bc lw t9, -0x7e44(gp) | t9 = sym.imp.strlen;
0x000026c0 lw s3, (s6) | s3 = *(s6);
0x000026c4 lw s0, -0x7fdc(gp) | s0 = *((gp - 8183));
0x000026c8 move a0, s3 | a0 = s3;
0x000026cc jalr t9 | t9 ();
0x000026d0 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000026d4 addiu a1, s0, -0x1a44 | a1 = s0 + -0x1a44;
0x000026d8 move a0, s3 | a0 = s3;
0x000026dc lw t9, -0x7f60(gp) | t9 = sym.imp.strspn;
0x000026e0 move fp, v0 | fp = v0;
0x000026e4 jalr t9 | t9 ();
0x000026e8 addiu s7, s7, 1 | s7++;
0x000026ec lw gp, 0x18(sp) | gp = *(arg_18h);
| if (fp == v0) {
0x000026f0 beq fp, v0, 0x2b50 | goto label_73;
| }
0x000026f4 slt v0, s7, s1 | v0 = (s7 < s1) ? 1 : 0;
0x000026f8 sw s7, (s4) | *(s4) = s7;
0x000026fc sw s3, 0x12c(sp) | *(arg_12ch) = s3;
| if (v0 == 0) {
0x00002700 beqz v0, 0x3374 | goto label_74;
| }
0x00002704 lw s6, 4(s6) | s6 = *((s6 + 1));
0x00002708 lw t9, -0x7e44(gp) | t9 = sym.imp.strlen;
0x0000270c move a0, s6 | a0 = s6;
0x00002710 jalr t9 | t9 ();
0x00002714 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00002718 addiu a1, s0, -0x1a44 | a1 = s0 + -0x1a44;
0x0000271c move a0, s6 | a0 = s6;
0x00002720 lw t9, -0x7f60(gp) | t9 = sym.imp.strspn;
0x00002724 move s0, v0 | s0 = v0;
0x00002728 jalr t9 | t9 ();
0x0000272c lw gp, 0x18(sp) | gp = *(arg_18h);
| if (s0 == v0) {
0x00002730 beq s0, v0, 0x475c | goto label_75;
| }
0x00002734 lw s0, -0x7fdc(gp) | s0 = *((gp - 8183));
0x00002738 lw t9, -0x7f30(gp) | t9 = sym.imp.strncmp;
0x0000273c addiu a2, zero, 3 | a2 = 3;
0x00002740 addiu a1, s0, -0x1a38 | a1 = s0 + -0x1a38;
0x00002744 move a0, s3 | a0 = s3;
0x00002748 jalr t9 | t9 ();
0x0000274c lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 == 0) {
0x00002750 beqz v0, 0x2bb0 | goto label_76;
| }
0x00002754 sll s7, s7, 2 | s7 <<= 2;
| label_1:
0x00002758 lwx s2, s7(s2) | __asm ("lwx s2, s7(s2)");
0x0000275c sw s2, 0x134(sp) | *(arg_134h) = s2;
| if (s2 != 0) {
0x00002760 bnel s2, zero, 0x2764 |
| }
| label_5:
0x00002764 lw v0, 0x124(sp) | v0 = *(arg_124h);
| label_2:
0x00002768 lw t9, -0x7e10(gp) | t9 = sym.imp.getpid;
0x0000276c sw v0, 0xcc(sp) | *(arg_cch) = v0;
0x00002770 jalr t9 | t9 ();
0x00002774 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00002778 move a0, zero | a0 = 0;
0x0000277c lw t9, -0x7ebc(gp) | t9 = sym.imp.getsid;
0x00002780 move s1, v0 | s1 = v0;
0x00002784 jalr t9 | t9 ();
0x00002788 lw gp, 0x18(sp) | gp = *(arg_18h);
0x0000278c move s3, v0 | s3 = v0;
0x00002790 lw s6, 0x130(sp) | s6 = *(arg_130h);
0x00002794 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00002798 lw t9, -0x7d84(gp) | t9 = sym.imp.utmpxname;
0x0000279c addiu a0, a0, -0x1a28 | a0 += -0x1a28;
0x000027a0 lw s4, 0x12c(sp) | s4 = *(arg_12ch);
0x000027a4 jalr t9 | t9 ();
0x000027a8 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000027ac lw t9, -0x7de4(gp) | t9 = sym.imp.setutxent;
0x000027b0 jalr t9 | t9 ();
0x000027b4 nop |
0x000027b8 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000027bc lw t9, -0x7f58(gp) | t9 = sym.imp.getutxent;
| do {
| label_0:
0x000027c0 jalr t9 | t9 ();
0x000027c4 nop |
0x000027c8 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 == 0) {
0x000027cc beqz v0, 0x3690 | goto label_77;
| }
0x000027d0 lw v1, 4(v0) | v1 = *((v0 + 1));
0x000027d4 lw t9, -0x7f58(gp) | t9 = sym.imp.getutxent;
0x000027d8 bne s1, v1, 0x27c0 |
| } while (s1 != v1);
0x000027dc lhu v1, (v0) | v1 = *(v0);
0x000027e0 addiu v1, v1, -5 | v1 += -5;
0x000027e4 sltiu v1, v1, 4 | v1 = (v1 < 4) ? 1 : 0;
0x000027e8 move a0, s5 | a0 = s5;
| if (v1 == 0) {
0x000027ec beqz v1, 0x27c0 | goto label_0;
| }
0x000027f0 addiu t1, v0, 0x180 | t1 = v0 + 0x180;
| do {
0x000027f4 lwl a3, 3(v0) | __asm ("lwl a3, 3(v0)");
0x000027f8 lwl a2, 7(v0) | __asm ("lwl a2, 7(v0)");
0x000027fc lwl a1, 0xb(v0) | __asm ("lwl a1, 0xb(v0)");
0x00002800 lwl v1, 0xf(v0) | __asm ("lwl v1, 0xf(v0)");
0x00002804 lwr a3, (v0) | __asm ("lwr a3, (v0)");
0x00002808 lwr a2, 4(v0) | __asm ("lwr a2, 4(v0)");
0x0000280c lwr a1, 8(v0) | __asm ("lwr a1, 8(v0)");
0x00002810 lwr v1, 0xc(v0) | __asm ("lwr v1, 0xc(v0)");
0x00002814 addiu v0, v0, 0x10 | v0 += 0x10;
0x00002818 sw a3, (a0) | *(a0) = a3;
0x0000281c sw a2, 4(a0) | *((a0 + 1)) = a2;
0x00002820 sw a1, 8(a0) | *((a0 + 2)) = a1;
0x00002824 sw v1, 0xc(a0) | *((a0 + 3)) = v1;
0x00002828 addiu a0, a0, 0x10 | a0 += 0x10;
0x0000282c bne v0, t1, 0x27f4 |
| } while (v0 != t1);
0x00002830 lw s2, -0x7fd4(gp) | s2 = *((gp - 8181));
0x00002834 addiu s2, s2, 0x4db0 | s2 += fcn.00004db0;
| label_21:
0x00002838 lw s6, -0x7fd8(gp) | s6 = *((gp - 8182));
0x0000283c lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002840 addiu a2, zero, 0x20 | a2 = 0x20;
0x00002844 addiu a1, a1, -0x1a18 | a1 += -0x1a18;
0x00002848 addiu a0, sp, 0x474 | a0 = sp + 0x474;
0x0000284c move t9, s2 | t9 = s2;
0x00002850 sw s6, 0x58(sp) | *(arg_58h) = s6;
0x00002854 bal 0x4db0 | fcn_00004db0 ();
0x00002858 move a1, s4 | a1 = s4;
0x0000285c addiu a2, zero, 0x20 | a2 = 0x20;
0x00002860 move t9, s2 | t9 = s2;
0x00002864 addiu a0, sp, 0x450 | a0 = sp + 0x450;
0x00002868 bal 0x4db0 | fcn_00004db0 ();
0x0000286c lw a1, 0x2540(s6) | a1 = *((s6 + 2384));
0x00002870 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (a1 != 0) {
0x00002874 beqz a1, 0x288c |
0x00002878 addiu a2, zero, 0x100 | a2 = 0x100;
0x0000287c move t9, s2 | t9 = s2;
0x00002880 addiu a0, sp, 0x494 | a0 = sp + aav.0x00000494;
0x00002884 bal 0x4db0 | fcn_00004db0 ();
0x00002888 lw gp, 0x18(sp) | gp = *(arg_18h);
| }
0x0000288c lw t9, -0x7da8(gp) | t9 = sym.imp.time;
0x00002890 addiu v0, sp, 0x7c | v0 = sp + 0x7c;
0x00002894 move a0, v0 | a0 = v0;
0x00002898 sw v0, 0x2c(sp) | *(arg_2ch) = v0;
0x0000289c jalr t9 | t9 ();
0x000028a0 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000028a4 lw v0, 0x7c(sp) | v0 = *(arg_7ch);
0x000028a8 move a0, s5 | a0 = s5;
0x000028ac lw t9, -0x7d94(gp) | t9 = sym.imp.pututxline;
0x000028b0 sw v0, 0x59c(sp) | *(arg_59ch) = v0;
0x000028b4 addiu v0, zero, 6 | v0 = 6;
0x000028b8 sh v0, 0x448(sp) | *(arg_448h) = v0;
0x000028bc sw s1, 0x44c(sp) | *(arg_44ch) = s1;
0x000028c0 sw s3, 0x598(sp) | *(arg_598h) = s3;
0x000028c4 jalr t9 | t9 ();
0x000028c8 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000028cc lw t9, -0x7ecc(gp) | t9 = sym.imp.endutxent;
0x000028d0 jalr t9 | t9 ();
0x000028d4 nop |
0x000028d8 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000028dc move a1, s5 | a1 = s5;
0x000028e0 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000028e4 lw t9, -0x7ed8(gp) | t9 = sym.imp.updwtmpx;
0x000028e8 addiu a0, a0, -0x1a10 | a0 += -0x1a10;
0x000028ec jalr t9 | t9 ();
0x000028f0 lw a0, 0x14c(sp) | a0 = *(arg_14ch);
0x000028f4 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (a0 != 0) {
0x000028f8 bnez a0, 0x3610 | goto label_78;
| }
| label_19:
0x000028fc lw t9, -0x7e10(gp) | t9 = sym.imp.getpid;
0x00002900 lw s1, 0x12c(sp) | s1 = *(arg_12ch);
0x00002904 jalr t9 | t9 ();
0x00002908 lw gp, 0x18(sp) | gp = *(arg_18h);
0x0000290c move a0, s1 | a0 = s1;
0x00002910 move s3, v0 | s3 = v0;
0x00002914 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002918 lw t9, -0x7d5c(gp) | t9 = sym.imp.strcmp;
0x0000291c addiu a1, a1, -0x1a00 | a1 += -0x1a00;
0x00002920 jalr t9 | t9 ();
0x00002924 move s2, v0 | s2 = v0;
0x00002928 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 == 0) {
0x0000292c beqz v0, 0x2c00 | goto label_79;
| }
0x00002930 lw t9, -0x7f50(gp) | t9 = sym.imp.getgrnam;
0x00002934 addiu a0, s0, -0x1a38 | a0 = s0 + -0x1a38;
0x00002938 jalr t9 | t9 ();
0x0000293c lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 == 0) {
0x00002940 beqz v0, 0x46e0 | goto label_80;
| }
0x00002944 lw s2, 8(v0) | s2 = *((v0 + 2));
| label_55:
0x00002948 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x0000294c lw t9, -0x7d54(gp) | t9 = sym.imp.__snprintf_chk
0x00002950 addiu v0, v0, -0x19fc | v0 += -0x19fc;
0x00002954 addiu s0, sp, 0x68c | s0 = sp + 0x68c;
0x00002958 sw s1, 0x14(sp) | *(arg_14h) = s1;
0x0000295c sw v0, 0x10(sp) | *(arg_10h) = v0;
0x00002960 addiu a3, zero, 0x1001 | a3 = 0x1001;
0x00002964 addiu a2, zero, 1 | a2 = 1;
0x00002968 addiu a1, zero, 0x1001 | a1 = 0x1001;
0x0000296c move a0, s0 | a0 = s0;
0x00002970 jalr t9 | t9 ();
0x00002974 sltiu v0, v0, 0x1001 | v0 = (v0 < 0x1001) ? 1 : 0;
0x00002978 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 == 0) {
0x0000297c beqz v0, 0x4afc | goto label_81;
| }
0x00002980 lw t9, -0x7e64(gp) | t9 = sym.imp.open64;
0x00002984 move a2, zero | a2 = 0;
0x00002988 addiu a1, zero, 0x882 | a1 = 0x882;
0x0000298c move a0, s0 | a0 = s0;
0x00002990 jalr t9 | t9 ();
0x00002994 move s4, v0 | s4 = v0;
0x00002998 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 < 0) {
0x0000299c bltz v0, 0x4afc | goto label_81;
| }
0x000029a0 lw t9, -0x7e54(gp) | t9 = sym.imp.fchown;
0x000029a4 move a2, s2 | a2 = s2;
0x000029a8 move a1, zero | a1 = 0;
0x000029ac move a0, v0 | a0 = v0;
0x000029b0 jalr t9 | t9 ();
0x000029b4 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 == 0) {
0x000029b8 beqz v0, 0x3a28 | goto label_82;
| }
| label_28:
0x000029bc lw t9, -0x7e98(gp) | t9 = sym.imp.__errno_location;
0x000029c0 jalr t9 | t9 ();
0x000029c4 nop |
0x000029c8 lw a0, (v0) | a0 = *(v0);
0x000029cc addiu v0, zero, 0x1e | v0 = 0x1e;
0x000029d0 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (a0 != v0) {
0x000029d4 bne a0, v0, 0x4bc4 | goto label_83;
| }
0x000029d8 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000029dc lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x000029e0 move a1, s0 | a1 = s0;
0x000029e4 addiu t9, t9, 0x50d4 | t9 += fcn.000050d4;
0x000029e8 addiu a0, a0, -0x1768 | a0 += -0x1768;
0x000029ec bal 0x50d4 | fcn_000050d4 ();
0x000029f0 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000029f4 lw t9, -0x7e04(gp) | t9 = sym.imp.__fxstat64;
| label_29:
0x000029f8 move a2, s5 | a2 = s5;
0x000029fc move a1, s4 | a1 = s4;
0x00002a00 addiu a0, zero, 3 | a0 = 3;
0x00002a04 jalr t9 | t9 ();
0x00002a08 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 < 0) {
0x00002a0c bltz v0, 0x4bc4 | goto label_83;
| }
0x00002a10 lw v0, 0x460(sp) | v0 = *(arg_460h);
0x00002a14 addiu a0, zero, 0x2000 | a0 = 0x2000;
0x00002a18 andi v0, v0, 0xf000 | v0 &= 0xf000;
0x00002a1c lw t9, -0x7f34(gp) | t9 = sym.imp.isatty;
| if (v0 != a0) {
0x00002a20 bne v0, a0, 0x4bac | goto label_84;
| }
0x00002a24 move a0, s4 | a0 = s4;
0x00002a28 jalr t9 | t9 ();
0x00002a2c lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 == 0) {
0x00002a30 beqz v0, 0x4ad4 | goto label_85;
| }
0x00002a34 lw t9, -0x7d6c(gp) | t9 = sym.imp.tcgetsid;
0x00002a38 move a0, s4 | a0 = s4;
0x00002a3c jalr t9 | t9 ();
0x00002a40 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 >= 0) {
0x00002a44 bltz v0, 0x2a50 |
0x00002a48 lw t9, -0x7f5c(gp) | t9 = sym.imp.close;
| if (s3 == v0) {
0x00002a4c beq s3, v0, 0x2a74 | goto label_86;
| }
| }
0x00002a50 lw t9, -0x7df8(gp) | t9 = sym.imp.ioctl;
0x00002a54 move a0, s4 | a0 = s4;
0x00002a58 addiu a2, zero, 1 | a2 = 1;
0x00002a5c addiu a1, zero, 0x5480 | a1 = 0x5480;
0x00002a60 jalr t9 | t9 ();
0x00002a64 addiu a0, zero, -1 | a0 = -1;
0x00002a68 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 == a0) {
0x00002a6c beq v0, a0, 0x47a4 | goto label_87;
| }
| label_61:
0x00002a70 lw t9, -0x7f5c(gp) | t9 = sym.imp.close;
| label_86:
0x00002a74 move a0, zero | a0 = 0;
0x00002a78 jalr t9 | t9 ();
0x00002a7c lw gp, 0x18(sp) | gp = *(arg_18h);
0x00002a80 lw t9, -0x7e98(gp) | t9 = sym.imp.__errno_location;
0x00002a84 jalr t9 | t9 ();
0x00002a88 nop |
0x00002a8c lw s2, 0x110(sp) | s2 = *(arg_110h);
0x00002a90 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00002a94 andi s2, s2, 0x2000 | s2 &= 0x2000;
0x00002a98 move s6, v0 | s6 = v0;
0x00002a9c sw zero, (v0) | *(v0) = 0;
| if (s2 != 0) {
0x00002aa0 bnez s2, 0x39b4 | goto label_88;
| }
0x00002aa4 lw t9, -0x7f5c(gp) | t9 = sym.imp.close;
0x00002aa8 move a0, s4 | a0 = s4;
0x00002aac jalr t9 | t9 ();
0x00002ab0 lw gp, 0x18(sp) | gp = *(arg_18h);
| label_27:
0x00002ab4 lw t9, -0x7e64(gp) | t9 = sym.imp.open64;
0x00002ab8 move a2, zero | a2 = 0;
0x00002abc addiu a1, zero, 0x882 | a1 = 0x882;
0x00002ac0 move a0, s0 | a0 = s0;
0x00002ac4 jalr t9 | t9 ();
0x00002ac8 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 != 0) {
0x00002acc bnez v0, 0x4afc | goto label_81;
| }
0x00002ad0 lw t9, -0x7d6c(gp) | t9 = sym.imp.tcgetsid;
0x00002ad4 move a0, zero | a0 = 0;
0x00002ad8 jalr t9 | t9 ();
0x00002adc lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 >= 0) {
0x00002ae0 bltz v0, 0x2aec |
0x00002ae4 lw t9, -0x7da0(gp) | t9 = sym.imp.tcsetpgrp;
| if (s3 == v0) {
0x00002ae8 beq s3, v0, 0x2b10 | goto label_89;
| }
| }
0x00002aec lw t9, -0x7df8(gp) | t9 = sym.imp.ioctl;
0x00002af0 move a0, zero | a0 = 0;
0x00002af4 addiu a2, zero, 1 | a2 = 1;
0x00002af8 addiu a1, zero, 0x5480 | a1 = 0x5480;
0x00002afc jalr t9 | t9 ();
0x00002b00 addiu a0, zero, -1 | a0 = -1;
0x00002b04 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 == a0) {
0x00002b08 beq v0, a0, 0x4784 | goto label_90;
| }
| label_60:
0x00002b0c lw t9, -0x7da0(gp) | t9 = sym.imp.tcsetpgrp;
| label_89:
0x00002b10 move a1, s3 | a1 = s3;
0x00002b14 move a0, zero | a0 = 0;
0x00002b18 jalr t9 | t9 ();
0x00002b1c lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 != 0) {
0x00002b20 beqz v0, 0x2b40 |
| label_3:
0x00002b24 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00002b28 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00002b2c move a1, s1 | a1 = s1;
0x00002b30 addiu t9, t9, 0x50d4 | t9 += fcn.000050d4;
0x00002b34 addiu a0, a0, -0x1930 | a0 += -0x1930;
0x00002b38 bal 0x50d4 | fcn_000050d4 ();
0x00002b3c lw gp, 0x18(sp) | gp = *(arg_18h);
| }
0x00002b40 lw t9, -0x7d7c(gp) | t9 = sym.imp.dup;
| if (s2 == 0) {
0x00002b44 bnel s2, zero, 0x2c70 | goto label_91;
| }
0x00002b48 lw t9, -0x7f5c(gp) | t9 = sym.imp.close;
0x00002b4c b 0x2c3c | goto label_92;
| label_73:
0x00002b50 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00002b54 addiu a0, sp, 0x110 | a0 = sp + 0x110;
0x00002b58 move a1, s3 | a1 = s3;
0x00002b5c addiu t9, t9, 0x5c2c | t9 += fcn.00005c2c;
0x00002b60 sw s7, (s4) | *(s4) = s7;
0x00002b64 bal 0x5c2c | fcn_00005c2c ();
0x00002b68 lw v0, (s4) | v0 = *(s4);
0x00002b6c slt a0, v0, s1 | a0 = (v0 < s1) ? 1 : 0;
0x00002b70 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (a0 == 0) {
0x00002b74 beqz a0, 0x4b2c | goto label_72;
| }
0x00002b78 sll a0, v0, 2 | a0 = v0 << 2;
0x00002b7c addiu v0, v0, 1 | v0++;
0x00002b80 lwx a0, a0(s2) | __asm ("lwx a0, a0(s2)");
0x00002b84 sw v0, (s4) | *(s4) = v0;
0x00002b88 sw a0, 0x12c(sp) | *(arg_12ch) = a0;
| label_59:
0x00002b8c lw s0, -0x7fdc(gp) | s0 = *((gp - 8183));
0x00002b90 lw s3, 0x12c(sp) | s3 = *(arg_12ch);
0x00002b94 lw t9, -0x7f30(gp) | t9 = sym.imp.strncmp;
0x00002b98 addiu a2, zero, 3 | a2 = 3;
0x00002b9c addiu a1, s0, -0x1a38 | a1 = s0 + -0x1a38;
0x00002ba0 move a0, s3 | a0 = s3;
0x00002ba4 jalr t9 | t9 ();
0x00002ba8 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 == 0) {
0x00002bac bnez v0, 0x2be8 |
| label_76:
0x00002bb0 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
| label_6:
0x00002bb4 lw t9, -0x7f60(gp) | t9 = sym.imp.strspn;
0x00002bb8 addiu s3, s3, 3 | s3 += 3;
0x00002bbc addiu a1, a1, -0x1a34 | a1 += -0x1a34;
0x00002bc0 move a0, s3 | a0 = s3;
0x00002bc4 jalr t9 | t9 ();
0x00002bc8 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00002bcc move a0, s3 | a0 = s3;
0x00002bd0 lw t9, -0x7e44(gp) | t9 = sym.imp.strlen;
0x00002bd4 move s6, v0 | s6 = v0;
0x00002bd8 jalr t9 | t9 ();
0x00002bdc lw gp, 0x18(sp) | gp = *(arg_18h);
| if (s6 != v0) {
0x00002be0 bne s6, v0, 0x2be8 | goto label_93;
| }
0x00002be4 sw s3, 0x130(sp) | *(arg_130h) = s3;
| }
| label_93:
0x00002be8 lw s7, (s4) | s7 = *(s4);
0x00002bec slt s1, s7, s1 | s1 = (s7 < s1) ? 1 : 0;
0x00002bf0 sll s7, s7, 2 | s7 <<= 2;
| if (s1 == 0) {
0x00002bf4 bnel s1, zero, 0x2758 | goto label_1;
| }
0x00002bf8 lw v0, 0x124(sp) | v0 = *(arg_124h);
0x00002bfc b 0x2768 | goto label_2;
| label_79:
0x00002c00 lw t9, -0x7e70(gp) | t9 = sym.imp.fcntl;
0x00002c04 move a2, zero | a2 = 0;
0x00002c08 addiu a1, zero, 3 | a1 = 3;
0x00002c0c move a0, zero | a0 = 0;
0x00002c10 jalr t9 | t9 ();
0x00002c14 andi v0, v0, 2 | v0 &= 2;
0x00002c18 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 == 0) {
0x00002c1c beqz v0, 0x4c0c | goto label_94;
| }
0x00002c20 lw t9, -0x7da0(gp) | t9 = sym.imp.tcsetpgrp;
0x00002c24 move a1, s3 | a1 = s3;
0x00002c28 move a0, zero | a0 = 0;
0x00002c2c jalr t9 | t9 ();
0x00002c30 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 != 0) {
0x00002c34 bnez v0, 0x2b24 | goto label_3;
| }
0x00002c38 lw t9, -0x7f5c(gp) | t9 = sym.imp.close;
| label_92:
0x00002c3c addiu a0, zero, 1 | a0 = 1;
0x00002c40 jalr t9 | t9 ();
0x00002c44 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00002c48 lw t9, -0x7f5c(gp) | t9 = sym.imp.close;
0x00002c4c addiu a0, zero, 2 | a0 = 2;
0x00002c50 jalr t9 | t9 ();
0x00002c54 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00002c58 lw t9, -0x7e98(gp) | t9 = sym.imp.__errno_location;
0x00002c5c jalr t9 | t9 ();
0x00002c60 nop |
0x00002c64 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00002c68 sw zero, (v0) | *(v0) = 0;
0x00002c6c lw t9, -0x7d7c(gp) | t9 = sym.imp.dup;
| label_91:
0x00002c70 move a0, zero | a0 = 0;
0x00002c74 jalr t9 | t9 ();
0x00002c78 move s7, v0 | s7 = v0;
0x00002c7c addiu v0, zero, 1 | v0 = 1;
0x00002c80 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (s7 != v0) {
0x00002c84 bne s7, v0, 0x4bf4 | goto label_95;
| }
0x00002c88 lw t9, -0x7d7c(gp) | t9 = sym.imp.dup;
0x00002c8c move a0, zero | a0 = 0;
0x00002c90 jalr t9 | t9 ();
0x00002c94 move v1, v0 | v1 = v0;
0x00002c98 sw v0, 0x5c(sp) | *(arg_5ch) = v0;
0x00002c9c addiu v0, zero, 2 | v0 = 2;
0x00002ca0 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v1 != v0) {
0x00002ca4 bne v1, v0, 0x4bf4 | goto label_95;
| }
0x00002ca8 lw v0, -0x7eac(gp) | v0 = *((gp - 8107));
0x00002cac lw t9, -0x7e88(gp) | t9 = sym.imp.setvbuf;
0x00002cb0 move a3, zero | a3 = 0;
0x00002cb4 lw a0, (v0) | a0 = *(v0);
0x00002cb8 addiu a2, zero, 2 | a2 = 2;
0x00002cbc move a1, zero | a1 = 0;
0x00002cc0 jalr t9 | t9 ();
0x00002cc4 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00002cc8 addiu fp, sp, 0x98 | fp = sp + 0x98;
0x00002ccc addiu a2, zero, 0x34 | a2 = 0x34;
0x00002cd0 lw t9, -0x7e8c(gp) | t9 = sym.imp.memset;
0x00002cd4 move a1, zero | a1 = 0;
0x00002cd8 move a0, fp | a0 = fp;
0x00002cdc jalr t9 | t9 ();
0x00002ce0 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00002ce4 move a1, fp | a1 = fp;
0x00002ce8 lw t9, -0x7f38(gp) | t9 = sym.imp.tcgetattr;
0x00002cec move a0, zero | a0 = 0;
0x00002cf0 jalr t9 | t9 ();
0x00002cf4 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 < 0) {
0x00002cf8 bltz v0, 0x4bdc | goto label_96;
| }
0x00002cfc lw t9, -0x7df8(gp) | t9 = sym.imp.ioctl;
0x00002d00 addiu a1, zero, 0x4b44 | a1 = 0x4b44;
0x00002d04 addiu a2, sp, 0x15c | a2 = sp + 0x15c;
0x00002d08 move a0, zero | a0 = 0;
0x00002d0c jalr t9 | t9 ();
0x00002d10 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00002d14 lw a1, 0x134(sp) | a1 = *(arg_134h);
| if (v0 != 0) {
0x00002d18 bnez v0, 0x335c | goto label_97;
| }
0x00002d1c lw v0, 0x110(sp) | v0 = *(arg_110h);
0x00002d20 ori v0, v0, 0x1000 | v0 |= 0x1000;
0x00002d24 sw v0, 0x110(sp) | *(arg_110h) = v0;
| if (a1 == 0) {
0x00002d28 beqz a1, 0x46e8 | goto label_98;
| }
| label_4:
0x00002d2c lw s0, -0x7fdc(gp) | s0 = *((gp - 8183));
0x00002d30 lw t9, -0x7e4c(gp) | t9 = sym.imp.setenv;
0x00002d34 addiu a2, zero, 1 | a2 = 1;
0x00002d38 addiu a0, s0, -0x18b8 | a0 = s0 + -0x18b8;
0x00002d3c jalr t9 | t9 ();
0x00002d40 move s1, v0 | s1 = v0;
0x00002d44 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 != 0) {
0x00002d48 bnez v0, 0x4a74 | goto label_99;
| }
0x00002d4c lw t9, -0x7ec8(gp) | t9 = sym.imp.sigemptyset;
0x00002d50 addiu s0, sp, 0x188 | s0 = sp + aav.0x00000188;
0x00002d54 move a0, s0 | a0 = s0;
0x00002d58 jalr t9 | t9 ();
0x00002d5c lw gp, 0x18(sp) | gp = *(arg_18h);
0x00002d60 addiu a1, zero, 1 | a1 = 1;
0x00002d64 lw t9, -0x7e74(gp) | t9 = sym.imp.sigaddset;
0x00002d68 move a0, s0 | a0 = s0;
0x00002d6c jalr t9 | t9 ();
0x00002d70 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00002d74 move a2, zero | a2 = 0;
0x00002d78 move a1, s0 | a1 = s0;
0x00002d7c lw t9, -0x7d88(gp) | t9 = sym.imp.sigprocmask;
0x00002d80 addiu a0, zero, 2 | a0 = 2;
0x00002d84 jalr t9 | t9 ();
0x00002d88 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00002d8c lw a1, 0x20(sp) | a1 = *(arg_20h);
0x00002d90 move a2, zero | a2 = 0;
0x00002d94 lw t9, -0x7f28(gp) | t9 = sym.imp.sigaction;
0x00002d98 addiu a0, zero, 1 | a0 = 1;
0x00002d9c jalr t9 | t9 ();
0x00002da0 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00002da4 lw t9, -0x7e10(gp) | t9 = sym.imp.getpid;
0x00002da8 jalr t9 | t9 ();
0x00002dac nop |
0x00002db0 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00002db4 move a0, zero | a0 = 0;
0x00002db8 lw t9, -0x7da0(gp) | t9 = sym.imp.tcsetpgrp;
0x00002dbc move a1, v0 | a1 = v0;
0x00002dc0 jalr t9 | t9 ();
0x00002dc4 lw v0, 0x110(sp) | v0 = *(arg_110h);
0x00002dc8 lw a0, 0x154(sp) | a0 = *(arg_154h);
0x00002dcc andi v0, v0, 0x1000 | v0 &= 0x1000;
0x00002dd0 or v0, v0, a0 | v0 |= a0;
0x00002dd4 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 == 0) {
0x00002dd8 beqz v0, 0x46ac | goto label_100;
| }
| label_54:
0x00002ddc lw t9, -0x7fc4(gp) | t9 = sym.plymouth_command;
0x00002de0 addiu a0, zero, 0x50 | a0 = 0x50;
0x00002de4 bal 0xaa60 | sym_plymouth_command ();
0x00002de8 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 == 0) {
0x00002dec beqz v0, 0x3568 | goto label_101;
| }
| label_16:
0x00002df0 lw t9, -0x7e8c(gp) | t9 = sym.imp.memset;
| label_18:
0x00002df4 addiu a2, zero, 0x34 | a2 = 0x34;
0x00002df8 move a1, zero | a1 = 0;
0x00002dfc move a0, s5 | a0 = s5;
0x00002e00 jalr t9 | t9 ();
0x00002e04 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00002e08 move a2, s5 | a2 = s5;
0x00002e0c addiu a1, zero, 0x548c | a1 = 0x548c;
0x00002e10 lw t9, -0x7df8(gp) | t9 = sym.imp.ioctl;
0x00002e14 move a0, zero | a0 = 0;
0x00002e18 jalr t9 | t9 ();
0x00002e1c lw v0, 0x110(sp) | v0 = *(arg_110h);
0x00002e20 andi v1, v0, 0x1000 | v1 = v0 & 0x1000;
0x00002e24 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v1 != 0) {
0x00002e28 bnez v1, 0x34c4 | goto label_102;
| }
0x00002e2c andi v1, v0, 0x200 | v1 = v0 & 0x200;
0x00002e30 lw v1, 0x154(sp) | v1 = *(arg_154h);
| if (v1 == 0) {
0x00002e34 bnez v1, 0x2e40 |
0x00002e38 lw s0, 0x160(sp) | s0 = *(arg_160h);
| if (v1 == 0) {
0x00002e3c bnel v1, zero, 0x3a50 | goto label_103;
| }
| }
0x00002e40 lw t9, -0x7ddc(gp) | t9 = sym.imp.cfgetispeed;
0x00002e44 move a0, fp | a0 = fp;
0x00002e48 jalr t9 | t9 ();
0x00002e4c lw gp, 0x18(sp) | gp = *(arg_18h);
0x00002e50 move a0, fp | a0 = fp;
0x00002e54 lw t9, -0x7e48(gp) | t9 = sym.imp.cfgetospeed;
0x00002e58 move s0, v0 | s0 = v0;
0x00002e5c jalr t9 | t9 ();
0x00002e60 move s2, v0 | s2 = v0;
0x00002e64 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (s0 == 0) {
0x00002e68 bnez s0, 0x2e70 |
0x00002e6c addiu s0, zero, 0xd | s0 = 0xd;
| }
| if (s2 != 0) {
0x00002e70 beql s2, zero, 0x2e78 |
0x00002e74 addiu s2, zero, 0xd | s2 = 0xd;
| }
0x00002e78 lw v0, 0x110(sp) | v0 = *(arg_110h);
| label_30:
0x00002e7c lw v1, 0x118(sp) | v1 = *(arg_118h);
0x00002e80 lw v1, 0x98(sp) | v1 = *(arg_98h);
| if (v1 == 0) {
0x00002e84 beqz v1, 0x454c | goto label_104;
| }
| label_49:
0x00002e88 lw v1, 0x9c(sp) | v1 = *(arg_9ch);
0x00002e8c andi v0, v0, 0x400 | v0 &= 0x400;
0x00002e90 andi v1, v1, 5 | v1 &= 5;
0x00002e94 sw zero, 0xa4(sp) | *(arg_a4h) = 0;
0x00002e98 sw v1, 0x9c(sp) | *(arg_9ch) = v1;
| if (v0 == 0) {
0x00002e9c bnez v0, 0x2eb0 |
0x00002ea0 lw v0, 0xa0(sp) | v0 = *(arg_a0h);
0x00002ea4 andi v0, v0, 0x800 | v0 &= 0x800;
0x00002ea8 ori v0, v0, 0x4b0 | v0 |= aav.0x000004b0;
0x00002eac sw v0, 0xa0(sp) | *(arg_a0h) = v0;
| }
0x00002eb0 lw t9, -0x7e60(gp) | t9 = sym.imp.cfsetispeed;
0x00002eb4 move a1, s0 | a1 = s0;
0x00002eb8 move a0, fp | a0 = fp;
0x00002ebc jalr t9 | t9 ();
0x00002ec0 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00002ec4 move a1, s2 | a1 = s2;
0x00002ec8 lw t9, -0x7db0(gp) | t9 = sym.imp.cfsetospeed;
0x00002ecc move a0, fp | a0 = fp;
0x00002ed0 jalr t9 | t9 ();
0x00002ed4 lw v0, 0x158(sp) | v0 = *(arg_158h);
0x00002ed8 addiu v1, zero, 1 | v1 = 1;
0x00002edc lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 == v1) {
0x00002ee0 beq v0, v1, 0x4410 | goto label_105;
| }
0x00002ee4 addiu v1, zero, 2 | v1 = 2;
0x00002ee8 lw t9, -0x7df8(gp) | t9 = sym.imp.ioctl;
| if (v0 == v1) {
0x00002eec bne v0, v1, 0x2f04 |
0x00002ef0 lw v0, 0xa0(sp) | v0 = *(arg_a0h);
0x00002ef4 addiu v1, zero, -0x801 | v1 = -0x801;
0x00002ef8 and v0, v0, v1 | v0 &= v1;
0x00002efc sw v0, 0xa0(sp) | *(arg_a0h) = v0;
| label_44:
0x00002f00 lw t9, -0x7df8(gp) | t9 = sym.imp.ioctl;
| }
0x00002f04 addiu v0, zero, 1 | v0 = 1;
0x00002f08 lw a2, 0x2c(sp) | a2 = *(arg_2ch);
0x00002f0c lui a1, 0x4008 | a1 = 0x40080000;
0x00002f10 addiu a1, a1, 0x7468 |
0x00002f14 move a0, zero | a0 = 0;
0x00002f18 sb zero, 0xa8(sp) | *(arg_a8h) = 0;
0x00002f1c sb v0, 0xad(sp) | *(arg_adh) = v0;
0x00002f20 sb zero, 0xae(sp) | *(arg_aeh) = 0;
0x00002f24 jalr t9 | t9 ();
0x00002f28 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 == 0) {
0x00002f2c bnez v0, 0x2f6c |
0x00002f30 lhu v0, 0x7c(sp) | v0 = *(arg_7ch);
0x00002f34 lhu v0, 0x7e(sp) | v0 = *(arg_7eh);
| if (v0 == 0) {
0x00002f38 bnez v0, 0x2f48 |
0x00002f3c addiu v0, zero, 0x18 | v0 = 0x18;
0x00002f40 sh v0, 0x7c(sp) | *(arg_7ch) = v0;
0x00002f44 lhu v0, 0x7e(sp) | v0 = *(arg_7eh);
| }
0x00002f48 addiu v0, zero, 0x50 | v0 = 0x50;
| if (v0 == 0) {
0x00002f4c beqz v0, 0x3b04 | goto label_106;
| }
| label_32:
0x00002f50 lw t9, -0x7df8(gp) | t9 = sym.imp.ioctl;
0x00002f54 lw a2, 0x2c(sp) | a2 = *(arg_2ch);
0x00002f58 lui a1, 0x8008 | a1 = 0x80087467;
0x00002f5c addiu a1, a1, 0x7467 |
0x00002f60 move a0, zero | a0 = 0;
0x00002f64 jalr t9 | t9 ();
0x00002f68 lw gp, 0x18(sp) | gp = *(arg_18h);
| }
0x00002f6c lw v0, 0x110(sp) | v0 = *(arg_110h);
0x00002f70 andi v0, v0, 4 | v0 &= 4;
0x00002f74 lw t9, -0x7d78(gp) | t9 = sym.imp.tcflush;
| if (v0 != 0) {
0x00002f78 beqz v0, 0x2f8c |
0x00002f7c lw v0, 0xa0(sp) | v0 = *(arg_a0h);
0x00002f80 lui v1, 0x8000 | v1 = 0x80000000;
0x00002f84 or v0, v0, v1 | v0 |= v1;
0x00002f88 sw v0, 0xa0(sp) | *(arg_a0h) = v0;
| }
0x00002f8c addiu a1, zero, 2 | a1 = 2;
0x00002f90 move a0, zero | a0 = 0;
0x00002f94 jalr t9 | t9 ();
0x00002f98 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00002f9c move a2, fp | a2 = fp;
0x00002fa0 addiu a1, zero, 0x540e | a1 = 0x540e;
0x00002fa4 lw t9, -0x7e14(gp) | t9 = sym.imp.tcsetattr;
0x00002fa8 move a0, zero | a0 = 0;
0x00002fac jalr t9 | t9 ();
0x00002fb0 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 != 0) {
0x00002fb4 bnez v0, 0x4420 | goto label_107;
| }
| label_45:
0x00002fb8 lw t9, -0x7e70(gp) | t9 = sym.imp.fcntl;
0x00002fbc move a2, zero | a2 = 0;
0x00002fc0 addiu a1, zero, 3 | a1 = 3;
0x00002fc4 move a0, zero | a0 = 0;
0x00002fc8 jalr t9 | t9 ();
0x00002fcc lw gp, 0x18(sp) | gp = *(arg_18h);
0x00002fd0 addiu a2, zero, -0x81 | a2 = -0x81;
0x00002fd4 and a2, v0, a2 | a2 = v0 & a2;
0x00002fd8 lw t9, -0x7e70(gp) | t9 = sym.imp.fcntl;
0x00002fdc addiu a1, zero, 4 | a1 = 4;
0x00002fe0 move a0, zero | a0 = 0;
0x00002fe4 jalr t9 | t9 ();
0x00002fe8 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00002fec lw v0, 0x110(sp) | v0 = *(arg_110h);
| label_14:
0x00002ff0 andi v1, v0, 0x1010 | v1 = v0 & aav.0x00001010;
| label_13:
0x00002ff4 addiu a0, zero, 0x10 | a0 = 0x10;
0x00002ff8 lw s0, 0x138(sp) | s0 = *(arg_138h);
| if (v1 == a0) {
0x00002ffc beq v1, a0, 0x3480 | goto label_108;
| }
| label_12:
0x00003000 andi v1, v0, 0x1000 | v1 = v0 & 0x1000;
| label_11:
0x00003004 lw a0, 0x158(sp) | a0 = *(arg_158h);
| if (v1 == 0) {
0x00003008 bnez v1, 0x3018 |
0x0000300c addiu v1, zero, 1 | v1 = 1;
0x00003010 andi v0, v0, 0x1001 | v0 &= 0x1001;
| if (a0 == v1) {
0x00003014 beq a0, v1, 0x3058 | goto label_109;
| }
| }
0x00003018 lw t9, -0x7e70(gp) | t9 = sym.imp.fcntl;
0x0000301c move a2, zero | a2 = 0;
0x00003020 addiu a1, zero, 3 | a1 = 3;
0x00003024 addiu a0, zero, 1 | a0 = 1;
0x00003028 jalr t9 | t9 ();
0x0000302c lw gp, 0x18(sp) | gp = *(arg_18h);
0x00003030 addiu a2, zero, -0x81 | a2 = -0x81;
0x00003034 and a2, v0, a2 | a2 = v0 & a2;
0x00003038 lw t9, -0x7e70(gp) | t9 = sym.imp.fcntl;
0x0000303c addiu a1, zero, 4 | a1 = 4;
0x00003040 addiu a0, zero, 1 | a0 = 1;
0x00003044 jalr t9 | t9 ();
0x00003048 lw gp, 0x18(sp) | gp = *(arg_18h);
0x0000304c lw v0, 0x110(sp) | v0 = *(arg_110h);
0x00003050 andi v0, v0, 0x1001 | v0 &= 0x1001;
0x00003054 addiu v1, zero, 1 | v1 = 1;
| label_109:
0x00003058 lw s2, 0x98(sp) | s2 = *(arg_98h);
| if (v0 == v1) {
0x0000305c beq v0, v1, 0x4464 | goto label_110;
| }
| label_48:
0x00003060 lw a0, 0x114(sp) | a0 = *(arg_114h);
0x00003064 lw t9, -0x7dc8(gp) | t9 = sym.imp.alarm;
| if (a0 != 0) {
0x00003068 bnez a0, 0x3558 | goto label_111;
| }
| label_15:
0x0000306c lw v0, 0x110(sp) | v0 = *(arg_110h);
0x00003070 addiu v1, zero, 0x20 | v1 = 0x20;
0x00003074 andi a0, v0, 0x1020 | a0 = v0 & 0x1020;
| if (a0 == v1) {
0x00003078 beql a0, v1, 0x3434 | goto label_112;
| }
0x0000307c addiu s0, zero, 0xa | s0 = 0xa;
| label_9:
0x00003080 lw s2, 0x118(sp) | s2 = *(arg_118h);
0x00003084 andi v1, v0, 0x80 | v1 = v0 & 0x80;
| if (s2 == 0) {
0x00003088 beqz s2, 0x36f8 | goto label_113;
| }
0x0000308c lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
| if (v1 == 0) {
0x00003090 beqz v1, 0x339c | goto label_114;
| }
| label_22:
0x00003094 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00003098 addiu s0, sp, 0x84 | s0 = sp + 0x84;
0x0000309c addiu s3, sp, 0x110 | s3 = sp + 0x110;
0x000030a0 move a0, s0 | a0 = s0;
0x000030a4 move a2, fp | a2 = fp;
0x000030a8 addiu t9, t9, 0x6738 | t9 += fcn.00006738;
0x000030ac move a1, s3 | a1 = s3;
0x000030b0 bal 0x6738 | fcn_00006738 ();
0x000030b4 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000030b8 move a0, s0 | a0 = s0;
0x000030bc move a2, fp | a2 = fp;
0x000030c0 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x000030c4 move a1, s3 | a1 = s3;
0x000030c8 addiu t9, t9, 0x73a8 | t9 += fcn.000073a8;
0x000030cc sw zero, 0x30(sp) | *(arg_30h) = 0;
0x000030d0 bal 0x73a8 | fcn_000073a8 ();
0x000030d4 addiu v0, zero, 0x15 | v0 = 0x15;
0x000030d8 sw v0, 0x44(sp) | *(arg_44h) = v0;
0x000030dc lw gp, 0x18(sp) | gp = *(arg_18h);
0x000030e0 addiu v0, zero, 0x7f | v0 = 0x7f;
0x000030e4 addiu s0, zero, 0x12 | s0 = 0x12;
0x000030e8 sw v0, 0x48(sp) | *(arg_48h) = v0;
| label_7:
0x000030ec lw v0, 0x114(sp) | v0 = *(arg_114h);
0x000030f0 lw t9, -0x7dc8(gp) | t9 = sym.imp.alarm;
| if (v0 == 0) {
0x000030f4 bnel v0, zero, 0x4400 | goto label_115;
| }
| label_43:
0x000030f8 lw a0, 0x110(sp) | a0 = *(arg_110h);
0x000030fc andi v0, a0, 0x1000 | v0 = a0 & 0x1000;
0x00003100 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
| if (v0 == 0) {
0x00003104 bnel v0, zero, 0x341c | goto label_116;
| }
0x00003108 lw v0, 0x9c(sp) | v0 = *(arg_9ch);
0x0000310c lw a1, 0x98(sp) | a1 = *(arg_98h);
0x00003110 ori a3, v0, 1 | a3 = v0 | 1;
0x00003114 lw v1, 0xa4(sp) | v1 = *(arg_a4h);
0x00003118 sw a3, 0x9c(sp) | *(arg_9ch) = a3;
0x0000311c addiu a3, zero, 3 | a3 = 3;
0x00003120 sb a3, 0xa9(sp) | *(arg_a9h) = a3;
0x00003124 addiu a3, zero, 0x1c | a3 = 0x1c;
0x00003128 ori t1, a1, 0x1400 | t1 = a1 | 0x1400;
0x0000312c ori t0, v1, 0x83b | t0 = v1 | 0x83b;
0x00003130 sb a3, 0xaa(sp) | *(arg_aah) = a3;
0x00003134 addiu a2, zero, 0xd | a2 = 0xd;
0x00003138 addiu a3, zero, 4 | a3 = 4;
0x0000313c sw t1, 0x98(sp) | *(arg_98h) = t1;
0x00003140 sw t0, 0xa4(sp) | *(arg_a4h) = t0;
0x00003144 sb a3, 0xb9(sp) | *(arg_b9h) = a3;
0x00003148 sb zero, 0xba(sp) | *(arg_bah) = 0;
0x0000314c sb zero, 0xb0(sp) | *(arg_b0h) = 0;
| if (s0 == a2) {
0x00003150 beq s0, a2, 0x3b60 | goto label_117;
| }
| label_34:
0x00003154 lw a1, 0x48(sp) | a1 = *(arg_48h);
0x00003158 addiu v0, zero, 2 | v0 = 2;
0x0000315c sb a1, 0xab(sp) | *(arg_abh) = a1;
0x00003160 lw a1, 0x44(sp) | a1 = *(arg_44h);
0x00003164 sb a1, 0xac(sp) | *(arg_ach) = a1;
0x00003168 lw a1, 0x30(sp) | a1 = *(arg_30h);
| if (a1 == v0) {
0x0000316c beql a1, v0, 0x3bb0 | goto label_118;
| }
0x00003170 lw a1, 0xa0(sp) | a1 = *(arg_a0h);
0x00003174 addiu v0, zero, 3 | v0 = 3;
| if (a1 == v0) {
0x00003178 beql a1, v0, 0x3b98 | goto label_119;
| }
0x0000317c lw a1, 0xa0(sp) | a1 = *(arg_a0h);
0x00003180 addiu v0, zero, 1 | v0 = 1;
| if (a1 == v0) {
0x00003184 beql a1, v0, 0x3bac | goto label_120;
| }
0x00003188 lw a1, 0xa0(sp) | a1 = *(arg_a0h);
| label_36:
0x0000318c andi a0, a0, 4 | a0 &= 4;
| if (s1 != 0) {
0x00003190 beqz s1, 0x31b4 |
0x00003194 lw a1, 0x98(sp) | a1 = *(arg_98h);
0x00003198 lw v0, 0x9c(sp) | v0 = *(arg_9ch);
0x0000319c ori a1, a1, 0x200 | a1 |= 0x200;
0x000031a0 ori v1, v1, 0x83f | v1 |= 0x83f;
0x000031a4 ori v0, v0, 2 | v0 |= 2;
0x000031a8 sw a1, 0x98(sp) | *(arg_98h) = a1;
0x000031ac sw v1, 0xa4(sp) | *(arg_a4h) = v1;
0x000031b0 sw v0, 0x9c(sp) | *(arg_9ch) = v0;
| }
0x000031b4 lw v0, 0xa0(sp) | v0 = *(arg_a0h);
| if (a0 != 0) {
0x000031b8 bnez a0, 0x3af4 | goto label_121;
| }
| label_31:
0x000031bc lw t9, -0x7e14(gp) | t9 = sym.imp.tcsetattr;
0x000031c0 move a2, fp | a2 = fp;
0x000031c4 addiu a1, zero, 0x540e | a1 = 0x540e;
0x000031c8 move a0, zero | a0 = 0;
0x000031cc jalr t9 | t9 ();
0x000031d0 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 < 0) {
0x000031d4 bltz v0, 0x4b94 | goto label_122;
| }
| label_8:
0x000031d8 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000031dc lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x000031e0 addiu a1, zero, 2 | a1 = 2;
0x000031e4 addiu t9, t9, 0x5a58 | t9 += fcn.00005a58;
0x000031e8 addiu a0, a0, -0x24f4 | a0 += -0x24f4;
0x000031ec bal 0x5a58 | fcn_00005a58 ();
0x000031f0 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000031f4 lw a1, 0x24(sp) | a1 = *(arg_24h);
0x000031f8 move a2, zero | a2 = 0;
0x000031fc lw t9, -0x7f28(gp) | t9 = sym.imp.sigaction;
0x00003200 addiu a0, zero, 3 | a0 = 3;
0x00003204 jalr t9 | t9 ();
0x00003208 lw gp, 0x18(sp) | gp = *(arg_18h);
0x0000320c lw a1, 0x28(sp) | a1 = *(arg_28h);
0x00003210 move a2, zero | a2 = 0;
0x00003214 lw t9, -0x7f28(gp) | t9 = sym.imp.sigaction;
0x00003218 addiu a0, zero, 2 | a0 = 2;
0x0000321c jalr t9 | t9 ();
0x00003220 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (s2 == 0) {
0x00003224 beqz s2, 0x3280 | goto label_123;
| }
0x00003228 lw t9, -0x7e44(gp) | t9 = sym.imp.strlen;
0x0000322c move a0, s2 | a0 = s2;
0x00003230 jalr t9 | t9 ();
0x00003234 sltiu v0, v0, 0x2b | v0 = (v0 < 0x2b) ? 1 : 0;
0x00003238 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 == 0) {
0x0000323c beqz v0, 0x4b68 | goto label_124;
| }
0x00003240 lw t9, -0x7f68(gp) | t9 = sym.imp.__ctype_b_loc;
0x00003244 jalr t9 | t9 ();
0x00003248 nop |
0x0000324c lw a1, (v0) | a1 = *(v0);
0x00003250 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00003254 move v1, s2 | v1 = s2;
| do {
0x00003258 lb a0, (v1) | a0 = *(v1);
0x0000325c sll v0, a0, 1 | v0 = a0 << 1;
0x00003260 addu v0, a1, v0 | v0 = a1 + v0;
0x00003264 lhu v0, (v0) | v0 = *(v0);
0x00003268 andi v0, v0, 0x2000 | v0 &= 0x2000;
0x0000326c addiu v1, v1, 1 | v1++;
0x00003270 bnel v0, zero, 0x3258 |
| } while (v0 == 0);
0x00003274 addiu v0, zero, 0x2d | v0 = 0x2d;
0x00003278 lw t9, -0x7e98(gp) | t9 = sym.imp.__errno_location;
| if (a0 == v0) {
0x0000327c beq a0, v0, 0x4b6c | goto label_125;
| }
| label_123:
0x00003280 lw s0, 0x128(sp) | s0 = *(arg_128h);
0x00003284 lw t9, -0x7f68(gp) | t9 = sym.imp.__ctype_b_loc;
| if (s0 == 0) {
0x00003288 beqz s0, 0x3624 | goto label_126;
| }
0x0000328c jalr t9 | t9 ();
0x00003290 nop |
0x00003294 lw v1, (v0) | v1 = *(v0);
0x00003298 lw gp, 0x18(sp) | gp = *(arg_18h);
0x0000329c move s3, v0 | s3 = v0;
0x000032a0 lb v0, (s0) | v0 = *(s0);
| do {
0x000032a4 sll v0, v0, 1 | v0 <<= 1;
0x000032a8 addu v0, v1, v0 | v0 = v1 + v0;
0x000032ac lhu v0, (v0) | v0 = *(v0);
0x000032b0 andi v0, v0, 0x2000 | v0 &= 0x2000;
0x000032b4 lw s1, -0x7fd4(gp) | s1 = *((gp - 8181));
| if (v0 == 0) {
0x000032b8 beqz v0, 0x459c | goto label_127;
| }
0x000032bc addiu s0, s0, 1 | s0++;
0x000032c0 lb v0, (s0) | v0 = *(s0);
0x000032c4 bnel s0, zero, 0x32a4 |
| } while (s0 == 0);
| label_20:
0x000032c8 sll v0, s7, 2 | v0 = s7 << 2;
| label_50:
0x000032cc addiu v1, sp, 0x2690 | v1 = sp + 0x2690;
0x000032d0 addu v0, v1, v0 | v0 = v1 + v0;
0x000032d4 lw a0, 0x120(sp) | a0 = *(arg_120h);
0x000032d8 sw zero, -0x25c4(v0) | *((v0 - 2417)) = 0;
| if (a0 != 0) {
0x000032dc beqz a0, 0x32f4 |
0x000032e0 lw t9, -0x7e0c(gp) | t9 = sym.imp.chroot;
0x000032e4 jalr t9 | t9 ();
0x000032e8 nop |
0x000032ec lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 < 0) {
0x000032f0 bltz v0, 0x4740 | goto label_128;
| }
| }
0x000032f4 lw a0, 0x11c(sp) | a0 = *(arg_11ch);
0x000032f8 lw t9, -0x7dbc(gp) | t9 = sym.imp.chdir;
| if (a0 != 0) {
0x000032fc beqz a0, 0x3310 |
0x00003300 jalr t9 | t9 ();
0x00003304 nop |
0x00003308 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 < 0) {
0x0000330c bltz v0, 0x3cf4 | goto label_129;
| }
| }
0x00003310 lw a0, 0x150(sp) | a0 = *(arg_150h);
0x00003314 lw t9, -0x7e2c(gp) | t9 = sym.imp.nice;
| if (a0 != 0) {
0x00003318 bnez a0, 0x467c | goto label_130;
| }
| label_53:
0x0000331c lw t9, -0x7d8c(gp) | t9 = sym.imp.free;
0x00003320 lw a0, 0x148(sp) | a0 = *(arg_148h);
0x00003324 jalr t9 | t9 ();
0x00003328 lw gp, 0x18(sp) | gp = *(arg_18h);
0x0000332c lw a0, 0x124(sp) | a0 = *(arg_124h);
0x00003330 lw t9, -0x7e68(gp) | t9 = sym.imp.execv;
0x00003334 addiu a1, sp, 0xcc | a1 = sp + 0xcc;
0x00003338 jalr t9 | t9 ();
0x0000333c lw gp, 0x18(sp) | gp = *(arg_18h);
0x00003340 lw a2, 0xcc(sp) | a2 = *(arg_cch);
0x00003344 lw a1, 0x12c(sp) | a1 = *(arg_12ch);
0x00003348 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x0000334c lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00003350 addiu t9, t9, 0x5bb8 | t9 += fcn.00005bb8;
0x00003354 addiu a0, a0, -0x170c | a0 += -0x170c;
0x00003358 bal 0x5bb8 | fcn_00005bb8 ();
| label_97:
0x0000335c sw zero, 0x15c(sp) | *(arg_15ch) = 0;
| if (a1 != 0) {
0x00003360 bnez a1, 0x2d2c | goto label_4;
| }
0x00003364 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00003368 addiu a1, a1, -0x18c0 | a1 += -0x18c0;
0x0000336c sw a1, 0x134(sp) | *(arg_134h) = a1;
0x00003370 b 0x2d2c | goto label_4;
| label_74:
0x00003374 lw s0, -0x7fdc(gp) | s0 = *((gp - 8183));
0x00003378 lw t9, -0x7f30(gp) | t9 = sym.imp.strncmp;
0x0000337c addiu a2, zero, 3 | a2 = 3;
0x00003380 addiu a1, s0, -0x1a38 | a1 = s0 + -0x1a38;
0x00003384 move a0, s3 | a0 = s3;
0x00003388 jalr t9 | t9 ();
0x0000338c lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 != 0) {
0x00003390 bnez v0, 0x2764 | goto label_5;
| }
0x00003394 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00003398 b 0x2bb4 | goto label_6;
| label_114:
0x0000339c addiu s1, sp, 0x110 | s1 = sp + 0x110;
0x000033a0 addiu s0, sp, 0x84 | s0 = sp + 0x84;
0x000033a4 move a1, s1 | a1 = s1;
0x000033a8 move a0, s0 | a0 = s0;
0x000033ac addiu t9, t9, 0x6738 | t9 += fcn.00006738;
0x000033b0 move a2, fp | a2 = fp;
0x000033b4 bal 0x6738 | fcn_00006738 ();
0x000033b8 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000033bc move a1, s1 | a1 = s1;
0x000033c0 move a0, s0 | a0 = s0;
0x000033c4 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x000033c8 addiu t9, t9, 0x769c | t9 += fcn.0000769c;
0x000033cc move a2, fp | a2 = fp;
0x000033d0 bal 0x769c | fcn_0000769c ();
0x000033d4 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000033d8 lw a3, 0x118(sp) | a3 = *(arg_118h);
0x000033dc addiu a0, zero, 1 | a0 = 1;
0x000033e0 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000033e4 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000033e8 lw t9, -0x7eb0(gp) | t9 = sym.imp.__printf_chk
0x000033ec addiu a2, a2, -0x24e0 | a2 += -0x24e0;
0x000033f0 addiu a1, a1, -0x186c | a1 += -0x186c;
0x000033f4 jalr t9 | t9 ();
0x000033f8 addiu v0, zero, 0x15 | v0 = 0x15;
0x000033fc sw v0, 0x44(sp) | *(arg_44h) = v0;
0x00003400 addiu v0, zero, 0x7f | v0 = 0x7f;
0x00003404 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00003408 move s1, zero | s1 = 0;
0x0000340c sw zero, 0x30(sp) | *(arg_30h) = 0;
0x00003410 addiu s0, zero, 0x12 | s0 = 0x12;
0x00003414 sw v0, 0x48(sp) | *(arg_48h) = v0;
0x00003418 b 0x30ec | goto label_7;
| label_116:
0x0000341c addiu a2, zero, 1 | a2 = 1;
0x00003420 addiu t9, t9, 0x53e0 | t9 += fcn.000053e0;
0x00003424 move a1, fp | a1 = fp;
0x00003428 bal 0x53e0 | fcn_000053e0 ();
0x0000342c lw gp, 0x18(sp) | gp = *(arg_18h);
0x00003430 b 0x31d8 | goto label_8;
| label_112:
0x00003434 addiu s2, zero, 0xd | s2 = 0xd;
0x00003438 lw s3, 0x2c(sp) | s3 = *(arg_2ch);
0x0000343c b 0x3458 | goto label_131;
| label_10:
0x00003440 lbu v0, 0x7c(sp) | v0 = *(arg_7ch);
0x00003444 andi v0, v0, 0x7f | v0 &= 0x7f;
0x00003448 sb v0, 0x7c(sp) | *(arg_7ch) = v0;
| if (v0 == s0) {
0x0000344c beq v0, s0, 0x3478 | goto label_132;
| }
0x00003450 lw v0, 0x110(sp) | v0 = *(arg_110h);
| if (v0 == s2) {
0x00003454 beq v0, s2, 0x3080 | goto label_9;
| }
| label_131:
0x00003458 lw t9, -0x7d64(gp) | t9 = sym.imp.read;
0x0000345c addiu a2, zero, 1 | a2 = 1;
0x00003460 move a1, s3 | a1 = s3;
0x00003464 move a0, zero | a0 = 0;
0x00003468 jalr t9 | t9 ();
0x0000346c addiu v1, zero, 1 | v1 = 1;
0x00003470 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 == v1) {
0x00003474 beq v0, v1, 0x3440 | goto label_10;
| }
| label_132:
0x00003478 lw v0, 0x110(sp) | v0 = *(arg_110h);
0x0000347c b 0x3080 | goto label_9;
| label_108:
0x00003480 andi v1, v0, 0x1000 | v1 = v0 & 0x1000;
| if (s0 == 0) {
0x00003484 beqz s0, 0x3004 | goto label_11;
| }
0x00003488 lb v1, (s0) | v1 = *(s0);
0x0000348c andi v1, v0, 0x1000 | v1 = v0 & 0x1000;
| if (v1 == 0) {
0x00003490 beqz v1, 0x3004 | goto label_11;
| }
0x00003494 lw t9, -0x7e44(gp) | t9 = sym.imp.strlen;
0x00003498 move a0, s0 | a0 = s0;
0x0000349c jalr t9 | t9 ();
0x000034a0 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000034a4 move a1, v0 | a1 = v0;
0x000034a8 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x000034ac addiu t9, t9, 0x5a58 | t9 += fcn.00005a58;
0x000034b0 move a0, s0 | a0 = s0;
0x000034b4 bal 0x5a58 | fcn_00005a58 ();
0x000034b8 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000034bc lw v0, 0x110(sp) | v0 = *(arg_110h);
0x000034c0 b 0x3000 | goto label_12;
| label_102:
0x000034c4 lw v1, 0x15c(sp) | v1 = *(arg_15ch);
0x000034c8 addiu v0, zero, 3 | v0 = 3;
0x000034cc lw t9, -0x7ee0(gp) | t9 = *(gp);
| if (v1 == v0) {
0x000034d0 beq v1, v0, 0x3b74 | goto label_133;
| }
0x000034d4 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000034d8 move a0, zero | a0 = 0;
0x000034dc addiu a1, a1, -0x1874 | a1 += -0x1874;
0x000034e0 jalr t9 | t9 ();
0x000034e4 lw v0, 0x110(sp) | v0 = *(arg_110h);
0x000034e8 addiu v1, zero, -0x4001 | v1 = -0x4001;
0x000034ec and v0, v0, v1 | v0 &= v1;
0x000034f0 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000034f4 sw v0, 0x110(sp) | *(arg_110h) = v0;
| label_35:
0x000034f8 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x000034fc lw a0, 0x110(sp) | a0 = *(arg_110h);
0x00003500 move a2, zero | a2 = 0;
0x00003504 addiu t9, t9, 0x53e0 | t9 += fcn.000053e0;
0x00003508 move a1, fp | a1 = fp;
0x0000350c bal 0x53e0 | fcn_000053e0 ();
0x00003510 lw v0, 0xa0(sp) | v0 = *(arg_a0h);
0x00003514 addiu v1, zero, 0x30 | v1 = 0x30;
0x00003518 andi v0, v0, 0x330 | v0 &= aav.0x00000330;
0x0000351c lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 == v1) {
0x00003520 beq v0, v1, 0x4710 | goto label_134;
| }
0x00003524 lw v0, 0x110(sp) | v0 = *(arg_110h);
| label_57:
0x00003528 ext v1, v0, 0x10, 1 | __asm ("ext v1, v0, 0x10, 1");
0x0000352c andi v1, v0, 0x1010 | v1 = v0 & aav.0x00001010;
| if (v1 != 0) {
0x00003530 bnez v1, 0x2ff4 | goto label_13;
| }
0x00003534 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00003538 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x0000353c addiu a1, zero, 9 | a1 = 9;
0x00003540 addiu t9, t9, 0x5a58 | t9 += fcn.00005a58;
0x00003544 addiu a0, a0, -0x24f0 | a0 += -0x24f0;
0x00003548 bal 0x5a58 | fcn_00005a58 ();
0x0000354c lw gp, 0x18(sp) | gp = *(arg_18h);
0x00003550 lw v0, 0x110(sp) | v0 = *(arg_110h);
0x00003554 b 0x2ff0 | goto label_14;
| label_111:
0x00003558 jalr t9 | t9 ();
0x0000355c nop |
0x00003560 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00003564 b 0x306c | goto label_15;
| label_101:
0x00003568 lw t9, -0x7fc4(gp) | t9 = sym.plymouth_command;
0x0000356c addiu a0, zero, 0x51 | a0 = 0x51;
0x00003570 bal 0xaa60 | sym_plymouth_command ();
0x00003574 addiu s0, zero, 0x1e | s0 = 0x1e;
0x00003578 lw gp, 0x18(sp) | gp = *(arg_18h);
0x0000357c b 0x35b8 | goto label_135;
| label_17:
0x00003580 lw v1, 0x44c(sp) | v1 = *(arg_44ch);
0x00003584 lw v0, 0x448(sp) | v0 = *(arg_448h);
0x00003588 or v0, v0, v1 | v0 |= v1;
0x0000358c lw v1, 0x450(sp) | v1 = *(arg_450h);
0x00003590 or v0, v0, v1 | v0 |= v1;
0x00003594 lw v1, 0x454(sp) | v1 = *(arg_454h);
0x00003598 or v0, v0, v1 | v0 |= v1;
0x0000359c lw t9, -0x7db4(gp) | t9 = sym.imp.sleep;
| if (v0 == 0) {
0x000035a0 beqz v0, 0x2df0 | goto label_16;
| }
0x000035a4 addiu a0, zero, 1 | a0 = 1;
0x000035a8 addiu s0, s0, -1 | s0 += -1;
0x000035ac jalr t9 | t9 ();
0x000035b0 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (s0 == 0) {
0x000035b4 beqz s0, 0x2df0 | goto label_16;
| }
| label_135:
0x000035b8 lw t9, -0x7df8(gp) | t9 = sym.imp.ioctl;
0x000035bc sw zero, (s5) | *(s5) = 0;
0x000035c0 sw zero, 4(s5) | *((s5 + 1)) = 0;
0x000035c4 sw zero, 8(s5) | *((s5 + 2)) = 0;
0x000035c8 sw zero, 0xc(s5) | *((s5 + 3)) = 0;
0x000035cc sw zero, 0x10(s5) | *((s5 + 4)) = 0;
0x000035d0 sw zero, 0x14(s5) | *((s5 + 5)) = 0;
0x000035d4 sw zero, 0x18(s5) | *((s5 + 6)) = 0;
0x000035d8 sw zero, 0x1c(s5) | *((s5 + 7)) = 0;
0x000035dc sw zero, 0x20(s5) | *((s5 + 8)) = 0;
0x000035e0 sw zero, 0x24(s5) | *((s5 + 9)) = 0;
0x000035e4 sw zero, 0x28(s5) | *((s5 + 10)) = 0;
0x000035e8 sw zero, 0x2c(s5) | *((s5 + 11)) = 0;
0x000035ec sw zero, 0x30(s5) | *((s5 + 12)) = 0;
0x000035f0 move a2, s5 | a2 = s5;
0x000035f4 addiu a1, zero, 0x548b | a1 = 0x548b;
0x000035f8 move a0, zero | a0 = 0;
0x000035fc jalr t9 | t9 ();
0x00003600 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 >= 0) {
0x00003604 bgez v0, 0x3580 | goto label_17;
| }
0x00003608 lw t9, -0x7e8c(gp) | t9 = sym.imp.memset;
0x0000360c b 0x2df4 | goto label_18;
| label_78:
0x00003610 lw t9, -0x7db4(gp) | t9 = sym.imp.sleep;
0x00003614 jalr t9 | t9 ();
0x00003618 nop |
0x0000361c lw gp, 0x18(sp) | gp = *(arg_18h);
0x00003620 b 0x28fc | goto label_19;
| label_126:
0x00003624 lw v0, 0x110(sp) | v0 = *(arg_110h);
0x00003628 ext v1, v0, 0x15, 1 | __asm ("ext v1, v0, 0x15, 1");
0x0000362c lw v1, 0x58(sp) | v1 = *(arg_58h);
| if (v1 != 0) {
0x00003630 beqz v1, 0x3654 |
0x00003634 lw v1, 0x2540(v1) | v1 = *((v1 + 2384));
0x00003638 ext v0, v0, 0x12, 1 | __asm ("ext v0, v0, 0x12, 1");
| if (v1 == 0) {
0x0000363c beqz v1, 0x47f8 | goto label_136;
| }
0x00003640 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00003644 sw v1, 0xd4(sp) | *(arg_d4h) = v1;
0x00003648 addiu v0, v0, -0x1790 | v0 += -0x1790;
0x0000364c sw v0, 0xd0(sp) | *(arg_d0h) = v0;
0x00003650 addiu s7, zero, 3 | s7 = 3;
| }
| label_67:
0x00003654 lw v1, 0x118(sp) | v1 = *(arg_118h);
| if (s2 == 0) {
0x00003658 beqz s2, 0x32c8 | goto label_20;
| }
0x0000365c addiu v0, s7, 1 | v0 = s7 + 1;
| if (v1 == 0) {
0x00003660 beqz v1, 0x47d0 | goto label_137;
| }
0x00003664 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00003668 addiu a0, a0, -0x2450 | a0 += -0x2450;
| label_63:
0x0000366c sll v1, s7, 2 | v1 = s7 << 2;
0x00003670 addiu a1, sp, 0x2690 | a1 = sp + 0x2690;
0x00003674 sll v0, v0, 2 | v0 <<= 2;
0x00003678 addu v1, a1, v1 | v1 = a1 + v1;
0x0000367c addu v0, a1, v0 | v0 = a1 + v0;
0x00003680 sw a0, -0x25c4(v1) | *((v1 - 2417)) = a0;
0x00003684 addiu s7, s7, 2 | s7 += 2;
0x00003688 sw s2, -0x25c4(v0) | *((v0 - 2417)) = s2;
0x0000368c b 0x32c8 | goto label_20;
| label_77:
0x00003690 lw t9, -0x7e8c(gp) | t9 = sym.imp.memset;
0x00003694 addiu a2, zero, 0x180 | a2 = 0x180;
0x00003698 move a1, zero | a1 = 0;
0x0000369c move a0, s5 | a0 = s5;
0x000036a0 jalr t9 | t9 ();
0x000036a4 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (s6 != 0) {
0x000036a8 beqz s6, 0x36b8 |
0x000036ac lb v0, (s6) | v0 = *(s6);
0x000036b0 lw s2, -0x7fd4(gp) | s2 = *((gp - 8181));
| if (v0 != 0) {
0x000036b4 bnez v0, 0x47c4 | goto label_138;
| }
| }
0x000036b8 lw t9, -0x7e44(gp) | t9 = sym.imp.strlen;
0x000036bc move a0, s4 | a0 = s4;
0x000036c0 jalr t9 | t9 ();
0x000036c4 sltiu a0, v0, 4 | a0 = (v0 < 4) ? 1 : 0;
0x000036c8 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (a0 != 0) {
0x000036cc bnez a0, 0x4708 | goto label_139;
| }
0x000036d0 addiu v0, v0, -4 | v0 += -4;
0x000036d4 addu a1, s4, v0 | a1 = s4 + v0;
| label_56:
0x000036d8 lw s2, -0x7fd4(gp) | s2 = *((gp - 8181));
0x000036dc addiu a2, zero, 4 | a2 = 4;
| label_62:
0x000036e0 addiu s2, s2, 0x4db0 | s2 += fcn.00004db0;
0x000036e4 move t9, s2 | t9 = s2;
0x000036e8 addiu a0, sp, 0x470 | a0 = sp + 0x470;
0x000036ec bal 0x4db0 | fcn_00004db0 ();
0x000036f0 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000036f4 b 0x2838 | goto label_21;
| label_113:
0x000036f8 lw v1, -0x7fd4(gp) | v1 = *((gp - 8181));
| if (v1 != 0) {
0x000036fc bnez v1, 0x3094 | goto label_22;
| }
0x00003700 lw a0, -0x7fd8(gp) | a0 = *((gp - 8182));
0x00003704 addiu v1, v1, 0x6738 | v1 += fcn.00006738;
0x00003708 sw v1, 0x50(sp) | *(arg_50h) = v1;
0x0000370c addiu v1, a0, 0x540 | v1 = a0 + 0x540;
0x00003710 sw v1, 0x20(sp) | *(arg_20h) = v1;
0x00003714 lw v1, -0x7fd4(gp) | v1 = *((gp - 8181));
0x00003718 addiu s5, sp, 0x110 | s5 = sp + 0x110;
0x0000371c addiu v1, v1, 0x769c | v1 += fcn.0000769c;
0x00003720 sw v1, 0x64(sp) | *(arg_64h) = v1;
0x00003724 lw v1, -0x7fd8(gp) | v1 = *((gp - 8182));
0x00003728 addiu s4, sp, 0x84 | s4 = sp + 0x84;
| /* section..data.rel.ro */
0x0000372c addiu v1, v1, -0xe0 | v1 += -0xe0;
0x00003730 sw a0, 0x4c(sp) | *(arg_4ch) = a0;
0x00003734 sw v1, 0x6c(sp) | *(arg_6ch) = v1;
0x00003738 sw s7, 0x70(sp) | *(arg_70h) = s7;
0x0000373c sw s4, 0x38(sp) | *(arg_38h) = s4;
0x00003740 sw fp, 0x34(sp) | *(arg_34h) = fp;
0x00003744 sw s5, 0x3c(sp) | *(arg_3ch) = s5;
| label_69:
0x00003748 andi v0, v0, 0x1000 | v0 &= 0x1000;
0x0000374c lw t9, -0x7db4(gp) | t9 = sym.imp.sleep;
| if (v0 == 0) {
0x00003750 beqz v0, 0x3c1c | goto label_140;
| }
| label_38:
0x00003754 lw t9, -0x7d78(gp) | t9 = sym.imp.tcflush;
0x00003758 move a1, zero | a1 = 0;
0x0000375c move a0, zero | a0 = 0;
0x00003760 jalr t9 | t9 ();
0x00003764 lw v0, 0x110(sp) | v0 = *(arg_110h);
0x00003768 lw a2, 0x34(sp) | a2 = *(arg_34h);
0x0000376c andi v0, v0, 0x4800 | v0 &= 0x4800;
0x00003770 sw v0, 0x68(sp) | *(arg_68h) = v0;
0x00003774 lw v0, 0x4c(sp) | v0 = *(arg_4ch);
0x00003778 lw a1, 0x3c(sp) | a1 = *(arg_3ch);
0x0000377c lw a0, 0x38(sp) | a0 = *(arg_38h);
0x00003780 lw t9, 0x50(sp) | t9 = *(arg_50h);
0x00003784 sb zero, 0x540(v0) | *((v0 + 1344)) = 0;
0x00003788 sw zero, 0x30(sp) | *(arg_30h) = 0;
0x0000378c jalr t9 | t9 ();
0x00003790 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00003794 addiu v0, zero, 0x15 | v0 = 0x15;
0x00003798 sw v0, 0x44(sp) | *(arg_44h) = v0;
0x0000379c addiu v0, zero, 0x7f | v0 = 0x7f;
0x000037a0 sw v0, 0x48(sp) | *(arg_48h) = v0;
0x000037a4 lw v0, -0x7fd4(gp) | v0 = *((gp - 8181));
0x000037a8 lw s6, 0x20(sp) | s6 = *(arg_20h);
0x000037ac addiu s0, zero, 0x12 | s0 = 0x12;
0x000037b0 sw v0, 0x60(sp) | *(arg_60h) = v0;
| label_23:
0x000037b4 lw v0, 0x4c(sp) | v0 = *(arg_4ch);
0x000037b8 lb s3, 0x540(v0) | s3 = *((v0 + 1344));
0x000037bc lw a2, 0x34(sp) | a2 = *(arg_34h);
| if (s3 != 0) {
0x000037c0 bnez s3, 0x48d4 | goto label_141;
| }
0x000037c4 lw a1, 0x3c(sp) | a1 = *(arg_3ch);
0x000037c8 lw t9, 0x64(sp) | t9 = *(arg_64h);
0x000037cc lw a0, 0x38(sp) | a0 = *(arg_38h);
0x000037d0 jalr t9 | t9 ();
0x000037d4 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000037d8 lw v0, 0x60(sp) | v0 = *(arg_60h);
0x000037dc addiu v0, v0, 0x56c8 | v0 += 0x56c8;
0x000037e0 sw v0, 0x40(sp) | *(arg_40h) = v0;
0x000037e4 lw v0, -0x7fd4(gp) | v0 = *((gp - 8181));
0x000037e8 sw v0, 0x54(sp) | *(arg_54h) = v0;
| do {
| label_25:
0x000037ec lw t9, 0x40(sp) | t9 = *(arg_40h);
0x000037f0 jalr t9 | t9 ();
0x000037f4 nop |
0x000037f8 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 != 0) {
0x000037fc bnez v0, 0x3870 | goto label_142;
| }
0x00003800 lw v0, 0x110(sp) | v0 = *(arg_110h);
0x00003804 andi v0, v0, 0x1000 | v0 &= 0x1000;
0x00003808 lw t9, -0x7db4(gp) | t9 = sym.imp.sleep;
| if (v0 == 0) {
0x0000380c beqz v0, 0x3998 | goto label_143;
| }
0x00003810 lw a2, 0x34(sp) | a2 = *(arg_34h);
| label_26:
0x00003814 lw a1, 0x3c(sp) | a1 = *(arg_3ch);
0x00003818 lw t9, 0x50(sp) | t9 = *(arg_50h);
0x0000381c lw a0, 0x38(sp) | a0 = *(arg_38h);
0x00003820 jalr t9 | t9 ();
0x00003824 lw v0, 0x54(sp) | v0 = *(arg_54h);
0x00003828 addiu a1, sp, 0x90 | a1 = sp + 0x90;
0x0000382c addiu t9, v0, 0x5204 | t9 = v0 + fcn.00005204;
0x00003830 addiu a0, sp, 0x88 | a0 = sp + 0x88;
0x00003834 bal 0x5204 | fcn_00005204 ();
0x00003838 lw gp, 0x18(sp) | gp = *(arg_18h);
0x0000383c beqz v0, 0x37ec |
| } while (v0 == 0);
0x00003840 lw t9, -0x7d78(gp) | t9 = sym.imp.tcflush;
0x00003844 move a1, zero | a1 = 0;
0x00003848 move a0, zero | a0 = 0;
0x0000384c jalr t9 | t9 ();
0x00003850 lw v0, 0x110(sp) | v0 = *(arg_110h);
0x00003854 andi v0, v0, 0x1000 | v0 &= 0x1000;
0x00003858 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 != 0) {
0x0000385c bnez v0, 0x3c2c | goto label_144;
| }
0x00003860 lw v0, 0x4c(sp) | v0 = *(arg_4ch);
0x00003864 lw s6, 0x20(sp) | s6 = *(arg_20h);
0x00003868 sb zero, 0x540(v0) | *((v0 + 1344)) = 0;
0x0000386c b 0x37b4 | goto label_23;
| label_142:
0x00003870 lui s5, 0xee6 | s5 = 0xee60000;
0x00003874 addiu s7, sp, 0x7b | s7 = sp + 0x7b;
0x00003878 ori s5, s5, 0xb280 | s5 |= 0xb280;
| label_58:
0x0000387c lw t9, -0x7d64(gp) | t9 = sym.imp.read;
| label_24:
0x00003880 addiu a2, zero, 1 | a2 = 1;
0x00003884 move a1, s7 | a1 = s7;
0x00003888 move a0, zero | a0 = 0;
0x0000388c jalr t9 | t9 ();
0x00003890 move s1, v0 | s1 = v0;
0x00003894 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 < 0) {
0x00003898 bltz v0, 0x3938 | goto label_145;
| }
0x0000389c lw v0, 0x68(sp) | v0 = *(arg_68h);
| if (v0 == 0) {
0x000038a0 bnez v0, 0x38b4 |
0x000038a4 sb zero, 0x7b(sp) | *(arg_7bh) = 0;
| if (v0 == 0) {
0x000038a8 bnez v0, 0x38bc |
0x000038ac move s3, zero | s3 = 0;
0x000038b0 b 0x38c0 |
| } else {
0x000038b4 lb s3, 0x7b(sp) | s3 = *(arg_7bh);
| if (v0 == 0) {
0x000038b8 beqz v0, 0x3b0c | goto label_146;
| }
| }
0x000038bc lb s3, 0x7b(sp) | s3 = *(arg_7bh);
| }
| label_33:
0x000038c0 lw a0, 0x144(sp) | a0 = *(arg_144h);
0x000038c4 move s0, s3 | s0 = s3;
| if (a0 == 0) {
0x000038c8 beqz a0, 0x38e0 | goto label_147;
| }
0x000038cc lw t9, -0x7e40(gp) | t9 = sym.imp.strchr;
0x000038d0 move a1, s3 | a1 = s3;
0x000038d4 jalr t9 | t9 ();
0x000038d8 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 != 0) {
0x000038dc bnez v0, 0x3a58 | void (*0x3a58)() ();
| }
| label_147:
0x000038e0 lw a0, 0x140(sp) | a0 = *(arg_140h);
0x000038e4 lw t9, -0x7e40(gp) | t9 = sym.imp.strchr;
| if (a0 == 0) {
0x000038e8 beqz a0, 0x3bc4 | void (*0x3bc4)() ();
| }
| label_40:
0x00003920 sw s3, 0x48(sp) | *(arg_48h) = s3;
| label_37:
0x00003924 lw v0, 0x20(sp) | v0 = *(arg_20h);
0x00003928 lw t9, -0x7d64(gp) | t9 = sym.imp.read;
| if (s6 != v0) {
0x0000392c bne s6, v0, 0x3880 | goto label_24;
| }
0x00003930 move s0, zero | s0 = 0;
0x00003934 b 0x37ec | goto label_25;
| label_145:
0x00003938 lw t9, -0x7e98(gp) | t9 = sym.imp.__errno_location;
0x0000393c jalr t9 | t9 ();
0x00003940 nop |
0x00003944 lw v1, (v0) | v1 = *(v0);
0x00003948 addiu v0, zero, 4 | v0 = 4;
0x0000394c lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v1 == v0) {
0x00003950 beq v1, v0, 0x4720 | goto label_148;
| }
0x00003954 addiu v0, zero, 0xb | v0 = 0xb;
0x00003958 sltiu v0, v1, 0x17 | v0 = (v1 < 0x17) ? 1 : 0;
| if (v1 == v0) {
0x0000395c beq v1, v0, 0x4720 | goto label_148;
| }
0x00003960 addiu v0, zero, 1 | v0 = 1;
| if (v0 != 0) {
0x00003964 beqz v0, 0x3980 |
0x00003968 sllv v0, v0, v1 | v0 <<= v1;
0x0000396c lui v1, 0x40 | v1 = 0x40002d;
0x00003970 addiu v1, v1, 0x2d |
0x00003974 and v0, v0, v1 | v0 &= v1;
0x00003978 lw t9, -0x7db4(gp) | t9 = sym.imp.sleep;
| if (v0 == 0) {
0x0000397c bnel v0, zero, 0x3cdc | goto label_149;
| }
| }
0x00003980 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00003984 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00003988 lw a1, 0x12c(sp) | a1 = *(arg_12ch);
0x0000398c addiu t9, t9, 0x5bb8 | t9 += fcn.00005bb8;
0x00003990 addiu a0, a0, -0x1854 | a0 += -0x1854;
0x00003994 bal 0x5bb8 | fcn_00005bb8 ();
| label_143:
0x00003998 addiu a0, zero, 1 | a0 = 1;
0x0000399c jalr t9 | t9 ();
0x000039a0 lw a2, 0x34(sp) | a2 = *(arg_34h);
0x000039a4 b 0x3814 | goto label_26;
| label_88:
0x000039b4 lw t9, -0x7df8(gp) | t9 = sym.imp.ioctl;
0x000039b8 addiu a1, zero, 0x5471 | a1 = 0x5471;
0x000039bc move a0, s4 | a0 = s4;
0x000039c0 jalr t9 | t9 ();
0x000039c4 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000039c8 move a0, s4 | a0 = s4;
0x000039cc lw t9, -0x7f5c(gp) | t9 = sym.imp.close;
0x000039d0 addiu s2, zero, 1 | s2 = 1;
0x000039d4 jalr t9 | t9 ();
0x000039d8 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000039dc lw t9, -0x7f5c(gp) | t9 = sym.imp.close;
0x000039e0 addiu a0, zero, 1 | a0 = 1;
0x000039e4 jalr t9 | t9 ();
0x000039e8 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000039ec lw t9, -0x7f5c(gp) | t9 = sym.imp.close;
0x000039f0 addiu a0, zero, 2 | a0 = 2;
0x000039f4 jalr t9 | t9 ();
0x000039f8 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000039fc lw t9, -0x7e08(gp) | t9 = sym.imp.vhangup;
0x00003a00 sw zero, (s6) | *(s6) = 0;
0x00003a04 jalr t9 | t9 ();
0x00003a08 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 == 0) {
0x00003a0c beqz v0, 0x2ab4 | goto label_27;
| }
0x00003a10 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00003a14 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00003a18 move a1, s1 | a1 = s1;
0x00003a1c addiu t9, t9, 0x5bb8 | t9 += fcn.00005bb8;
0x00003a20 addiu a0, a0, -0x196c | a0 += -0x196c;
0x00003a24 bal 0x5bb8 | fcn_00005bb8 ();
| label_82:
0x00003a28 lw t9, -0x7f6c(gp) | t9 = sym.imp.fchmod;
0x00003a2c addiu v0, zero, 0x180 | v0 = 0x180;
0x00003a30 addiu a1, zero, 0x190 | a1 = 0x190;
| if (s2 != 0) {
0x00003a34 movz a1, v0, s2 | a1 = v0;
| }
0x00003a38 move a0, s4 | a0 = s4;
0x00003a3c jalr t9 | t9 ();
0x00003a40 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 != 0) {
0x00003a44 bnez v0, 0x29bc | goto label_28;
| }
0x00003a48 lw t9, -0x7e04(gp) | t9 = sym.imp.__fxstat64;
0x00003a4c b 0x29f8 | goto label_29;
| label_103:
0x00003a50 move s2, s0 | s2 = s0;
0x00003a54 b 0x2e7c | goto label_30;
| label_121:
0x00003af4 lui v1, 0x8000 | v1 = 0x80000000;
0x00003af8 or v0, v0, v1 | v0 |= v1;
0x00003afc sw v0, 0xa0(sp) | *(arg_a0h) = v0;
0x00003b00 b 0x31bc | goto label_31;
| label_106:
0x00003b04 sh v0, 0x7e(sp) | *(arg_7eh) = v0;
0x00003b08 b 0x2f50 | goto label_32;
| label_146:
0x00003b0c andi a2, s3, 0x7f | a2 = s3 & 0x7f;
0x00003b10 addiu v1, zero, 7 | v1 = 7;
| if (a2 == s3) {
0x00003b14 beq a2, s3, 0x38c0 | goto label_33;
| }
0x00003b18 addiu a1, zero, 1 | a1 = 1;
0x00003b1c addiu v0, zero, 1 | v0 = 1;
| do {
0x00003b20 and a0, a2, v0 | a0 = a2 & v0;
0x00003b24 addiu a1, a1, 1 | a1++;
| if (a0 != 0) {
0x00003b28 bnel a0, zero, 0x3b2c |
| }
0x00003b2c addiu v1, v1, -1 | v1 += -1;
0x00003b30 sll v0, v0, 1 | v0 <<= 1;
0x00003b34 bnez v1, 0x3b20 |
| } while (v1 != 0);
| label_117:
0x00003b60 ori a1, a1, 0x1500 | a1 |= 0x1500;
0x00003b64 ori v0, v0, 5 | v0 |= 5;
0x00003b68 sw a1, 0x98(sp) | *(arg_98h) = a1;
0x00003b6c sw v0, 0x9c(sp) | *(arg_9ch) = v0;
0x00003b70 b 0x3154 | goto label_34;
| label_133:
0x00003b74 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00003b78 move a0, zero | a0 = 0;
0x00003b7c addiu a1, a1, -0x187c | a1 += -0x187c;
0x00003b80 jalr t9 | t9 ();
0x00003b84 lw v0, 0x110(sp) | v0 = *(arg_110h);
0x00003b88 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00003b8c ori v0, v0, 0x4000 | v0 |= 0x4000;
0x00003b90 sw v0, 0x110(sp) | *(arg_110h) = v0;
0x00003b94 b 0x34f8 | goto label_35;
| do {
| label_119:
0x00003b98 addiu v0, zero, -0x31 | v0 = -0x31;
0x00003b9c and v0, v0, a1 | v0 &= a1;
0x00003ba0 ori v0, v0, 0x20 | v0 |= 0x20;
0x00003ba4 sw v0, 0xa0(sp) | *(arg_a0h) = v0;
0x00003ba8 b 0x318c | goto label_36;
| label_120:
0x00003bac ori a1, a1, 0x200 | a1 |= 0x200;
| label_118:
0x00003bb0 lw v0, 0x98(sp) | v0 = *(arg_98h);
0x00003bb4 ori a1, a1, 0x100 | a1 |= 0x100;
0x00003bb8 ori v0, v0, 0x30 | v0 |= 0x30;
0x00003bbc sw v0, 0x98(sp) | *(arg_98h) = v0;
0x00003bc0 b 0x3b98 |
| } while (1);
| label_66:
0x00003c14 addiu s6, s6, 1 | s6++;
0x00003c18 b 0x3924 | goto label_37;
| label_140:
0x00003c1c addiu a0, zero, 1 | a0 = 1;
0x00003c20 jalr t9 | t9 ();
0x00003c24 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00003c28 b 0x3754 | goto label_38;
| label_144:
0x00003c2c lw t9, -0x7e98(gp) | t9 = sym.imp.__errno_location;
0x00003c30 lui s4, 0xee6 | s4 = 0xee60000;
0x00003c34 jalr t9 | t9 ();
0x00003c38 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00003c3c addiu s6, zero, 9 | s6 = 9;
0x00003c40 move s1, v0 | s1 = v0;
0x00003c44 lw s2, -0x7fdc(gp) | s2 = *((gp - 8183));
0x00003c48 ori s4, s4, 0xb280 | s4 |= 0xb280;
0x00003c4c addiu s2, s2, -0x24f0 | s2 += -0x24f0;
0x00003c50 addiu s5, zero, 4 | s5 = 4;
0x00003c54 addiu s3, zero, 0xb | s3 = 0xb;
0x00003c58 lw t9, -0x7e5c(gp) | t9 = sym.imp.write;
| label_42:
0x00003c5c sw zero, (s1) | *(s1) = 0;
0x00003c60 move a2, s6 | a2 = s6;
0x00003c64 move a1, s2 | a1 = s2;
0x00003c68 addiu a0, zero, 1 | a0 = 1;
0x00003c6c jalr t9 | t9 ();
0x00003c70 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 <= 0) {
0x00003c74 blez v0, 0x43d4 | goto label_150;
| }
0x00003c78 subu s6, s6, v0 | __asm ("subu s6, s6, v0");
0x00003c7c lw v1, (s1) | v1 = *(s1);
| if (s6 == 0) {
0x00003c80 beqz s6, 0x43f0 | void (*0x43f0)() ();
| }
| label_149:
0x00003cdc addiu a0, zero, 0xa | a0 = 0xa;
0x00003ce0 jalr t9 | t9 ();
0x00003ce4 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00003ce8 lw t9, -0x7e28(gp) | t9 = sym.imp.exit;
0x00003cec move a0, zero | a0 = 0;
0x00003cf0 jalr t9 | t9 ();
| label_129:
0x00003cf4 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00003cf8 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00003cfc lw a2, 0x11c(sp) | a2 = *(arg_11ch);
0x00003d00 lw a1, 0x12c(sp) | a1 = *(arg_12ch);
0x00003d04 addiu t9, t9, 0x5bb8 | t9 += fcn.00005bb8;
0x00003d08 addiu a0, a0, -0x1760 | a0 += -0x1760;
0x00003d0c bal 0x5bb8 | fcn_00005bb8 ();
0x00003d10 lw t9, -0x7e98(gp) | t9 = sym.imp.__errno_location;
0x00003d14 sll s1, v0, 2 | s1 = v0 << 2;
0x00003d18 lw v0, 0x6c(sp) | v0 = *(arg_6ch);
0x00003d1c addiu fp, zero, 3 | fp = 3;
0x00003d20 addiu s4, zero, 4 | s4 = 4;
0x00003d24 lwx s1, s1(v0) | __asm ("lwx s1, s1(v0)");
0x00003d28 jalr t9 | t9 ();
0x00003d2c lw gp, 0x18(sp) | gp = *(arg_18h);
0x00003d30 move s0, v0 | s0 = v0;
0x00003d34 addiu s2, zero, 0xb | s2 = 0xb;
| do {
| label_39:
0x00003d38 lw t9, -0x7e5c(gp) | t9 = sym.imp.write;
| label_46:
0x00003d3c sw zero, (s0) | *(s0) = 0;
0x00003d40 move a2, fp | a2 = fp;
0x00003d44 move a1, s1 | a1 = s1;
0x00003d48 addiu a0, zero, 1 | a0 = 1;
0x00003d4c jalr t9 | t9 ();
0x00003d50 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 <= 0) {
0x00003d54 blez v0, 0x4448 | goto label_151;
| }
0x00003d58 subu fp, fp, v0 | __asm ("subu fp, fp, v0");
0x00003d5c lw v1, (s0) | v1 = *(s0);
| if (fp == 0) {
0x00003d60 beqz fp, 0x46f8 | goto label_152;
| }
0x00003d64 addu s1, s1, v0 | s1 += v0;
0x00003d68 bne v1, s2, 0x3d38 |
| } while (v1 != s2);
0x00003d6c lw t9, -0x7f14(gp) | t9 = sym.imp.nanosleep;
| label_47:
0x00003d70 lw a0, 0x2c(sp) | a0 = *(arg_2ch);
0x00003d74 move a1, zero | a1 = 0;
0x00003d78 sw zero, 0x7c(sp) | *(arg_7ch) = 0;
0x00003d7c sw s5, 0x80(sp) | *(arg_80h) = s5;
0x00003d80 jalr t9 | t9 ();
0x00003d84 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (fp != 0) {
0x00003d88 bnez fp, 0x3d38 | goto label_39;
| }
0x00003d8c addiu s6, s6, -1 | s6 += -1;
0x00003d90 b 0x3920 | goto label_40;
| label_71:
0x000042c0 lw v0, -0x7d80(gp) | v0 = *((gp - 8032));
0x000042c4 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000042c8 lw t9, -0x7f24(gp) | t9 = sym.imp.__fprintf_chk
0x000042cc lw a0, (v0) | a0 = *(v0);
0x000042d0 lw v0, -0x7f10(gp) | v0 = *((gp - 8132));
0x000042d4 addiu a2, a2, -0x1aac | a2 += -0x1aac;
0x000042d8 addiu a1, zero, 1 | a1 = 1;
0x000042dc lw a3, (v0) | a3 = *(v0);
0x000042e0 jalr t9 | t9 ();
0x000042e4 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000042e8 lw t9, -0x7e28(gp) | t9 = sym.imp.exit;
0x000042ec addiu a0, zero, 1 | a0 = 1;
0x000042f0 jalr t9 | t9 ();
0x000042f4 addiu fp, zero, 1 | fp = 1;
0x000042f8 jalr t9 | t9 ();
0x000042fc lw gp, 0x18(sp) | gp = *(arg_18h);
0x00004300 move s0, v0 | s0 = v0;
0x00004304 move s1, s7 | s1 = s7;
0x00004308 addiu s4, zero, 4 | s4 = 4;
0x0000430c addiu s2, zero, 0xb | s2 = 0xb;
| do {
| label_41:
0x00004310 lw t9, -0x7e5c(gp) | t9 = sym.imp.write;
| label_64:
0x00004314 sw zero, (s0) | *(s0) = 0;
0x00004318 move a2, fp | a2 = fp;
0x0000431c move a1, s1 | a1 = s1;
0x00004320 addiu a0, zero, 1 | a0 = 1;
0x00004324 jalr t9 | t9 ();
0x00004328 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 <= 0) {
0x0000432c blez v0, 0x47dc | goto label_153;
| }
0x00004330 subu fp, fp, v0 | __asm ("subu fp, fp, v0");
0x00004334 lw v1, (s0) | v1 = *(s0);
| if (fp == 0) {
0x00004338 beqz fp, 0x4810 | goto label_154;
| }
0x0000433c addu s1, s1, v0 | s1 += v0;
0x00004340 bne v1, s2, 0x4310 |
| } while (v1 != s2);
0x00004344 lw t9, -0x7f14(gp) | t9 = sym.imp.nanosleep;
| label_65:
0x00004348 lw a0, 0x2c(sp) | a0 = *(arg_2ch);
0x0000434c move a1, zero | a1 = 0;
0x00004350 sw zero, 0x7c(sp) | *(arg_7ch) = 0;
0x00004354 sw s5, 0x80(sp) | *(arg_80h) = s5;
0x00004358 jalr t9 | t9 ();
0x0000435c lw gp, 0x18(sp) | gp = *(arg_18h);
| if (fp != 0) {
0x00004360 bnez fp, 0x4310 | goto label_41;
| }
0x00004364 sb s3, (s6) | *(s6) = s3;
0x00004368 addiu s6, s6, 1 | s6++;
0x0000436c b 0x3924 | goto label_37;
| label_150:
0x000043d4 lw v0, (s1) | v0 = *(s1);
0x000043d8 lw t9, -0x7e5c(gp) | t9 = sym.imp.write;
| if (v0 == s5) {
0x000043dc beq v0, s5, 0x3c5c | goto label_42;
| }
| label_115:
0x00004400 move a0, zero | a0 = 0;
0x00004404 jalr t9 | t9 ();
0x00004408 lw gp, 0x18(sp) | gp = *(arg_18h);
0x0000440c b 0x30f8 | goto label_43;
| label_105:
0x00004410 lw v0, 0xa0(sp) | v0 = *(arg_a0h);
0x00004414 ori v0, v0, 0x800 | v0 |= 0x800;
0x00004418 sw v0, 0xa0(sp) | *(arg_a0h) = v0;
0x0000441c b 0x2f00 | goto label_44;
| label_107:
0x00004420 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00004424 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00004428 addiu t9, t9, 0x50d4 | t9 += fcn.000050d4;
0x0000442c addiu a0, a0, -0x2694 | a0 += -0x2694;
0x00004430 bal 0x50d4 | fcn_000050d4 ();
0x00004434 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00004438 b 0x2fb8 | goto label_45;
| label_151:
0x00004448 lw v0, (s0) | v0 = *(s0);
0x0000444c lw t9, -0x7e5c(gp) | t9 = sym.imp.write;
| if (v0 == s4) {
0x00004450 beq v0, s4, 0x3d3c | goto label_46;
| }
0x00004454 lw t9, -0x7f14(gp) | t9 = sym.imp.nanosleep;
| if (v0 == s2) {
0x00004458 beq v0, s2, 0x3d70 | goto label_47;
| }
0x0000445c addiu s6, s6, -1 | s6 += -1;
0x00004460 b 0x3920 | goto label_40;
| label_110:
0x00004464 lw t9, -0x7e14(gp) | t9 = sym.imp.tcsetattr;
0x00004468 ori v0, s2, 0x20 | v0 = s2 | 0x20;
0x0000446c move a2, fp | a2 = fp;
0x00004470 addiu a1, zero, 0x540e | a1 = 0x540e;
0x00004474 move a0, zero | a0 = 0;
0x00004478 lbu s3, 0xad(sp) | s3 = *(arg_adh);
0x0000447c sw v0, 0x98(sp) | *(arg_98h) = v0;
0x00004480 sb zero, 0xad(sp) | *(arg_adh) = 0;
0x00004484 jalr t9 | t9 ();
0x00004488 lw gp, 0x18(sp) | gp = *(arg_18h);
0x0000448c addiu a0, zero, 1 | a0 = 1;
0x00004490 lw t9, -0x7db4(gp) | t9 = sym.imp.sleep;
0x00004494 addiu s0, sp, 0x68c | s0 = sp + 0x68c;
0x00004498 jalr t9 | t9 ();
0x0000449c lw gp, 0x18(sp) | gp = *(arg_18h);
0x000044a0 addiu a2, zero, 0x1fff | a2 = 0x1fff;
0x000044a4 move a1, s0 | a1 = s0;
0x000044a8 lw t9, -0x7d64(gp) | t9 = sym.imp.read;
0x000044ac move a0, zero | a0 = 0;
0x000044b0 jalr t9 | t9 ();
0x000044b4 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 <= 0) {
0x000044b8 blez v0, 0x4528 | goto label_68;
| }
0x000044bc addiu v1, sp, 0x2690 | v1 = sp + 0x2690;
0x000044c0 addu v1, v1, v0 | v1 += v0;
0x000044c4 addu s4, s0, v0 | s4 = s0 + v0;
0x000044c8 sb zero, -0x2004(v1) | *((v1 - 8196)) = 0;
| do {
0x000044cc sltu v0, s0, s4 | v0 = (s0 < s4) ? 1 : 0;
0x000044d0 lw t9, -0x7e14(gp) | t9 = sym.imp.tcsetattr;
| if (v0 == 0) {
0x000044d4 beqz v0, 0x452c | goto label_155;
| }
0x000044d8 lb s5, (s0) | s5 = *(s0);
0x000044dc lw t9, -0x7f68(gp) | t9 = sym.imp.__ctype_b_loc;
| if (s5 >= 0) {
0x000044e0 bltz s5, 0x4504 |
0x000044e4 sll s5, s5, 1 | s5 <<= 1;
0x000044e8 jalr t9 | t9 ();
0x000044ec lw v0, (v0) | v0 = *(v0);
0x000044f0 addu s5, v0, s5 | s5 = v0 + s5;
0x000044f4 lhu v0, (s5) | v0 = *(s5);
0x000044f8 andi v0, v0, 0x800 | v0 &= 0x800;
0x000044fc lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 != 0) {
0x00004500 bnez v0, 0x450c | goto label_156;
| }
| }
0x00004504 addiu s0, s0, 1 | s0++;
0x00004508 b 0x44cc |
| } while (1);
| label_156:
0x0000450c lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00004510 addiu t9, t9, 0x4e20 | t9 += fcn.00004e20;
0x00004514 move a0, s0 | a0 = s0;
0x00004518 bal 0x4e20 | fcn_00004e20 ();
0x0000451c move s0, v0 | s0 = v0;
0x00004520 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 != 0) {
0x00004524 bnez v0, 0x4824 | goto label_157;
| }
| label_68:
0x00004528 lw t9, -0x7e14(gp) | t9 = sym.imp.tcsetattr;
| label_155:
0x0000452c move a2, fp | a2 = fp;
0x00004530 addiu a1, zero, 0x540e | a1 = 0x540e;
0x00004534 move a0, zero | a0 = 0;
0x00004538 sw s2, 0x98(sp) | *(arg_98h) = s2;
0x0000453c sb s3, 0xad(sp) | *(arg_adh) = s3;
0x00004540 jalr t9 | t9 ();
0x00004544 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00004548 b 0x3060 | goto label_48;
| label_104:
0x0000454c andi v1, v1, 0x4000 | v1 &= 0x4000;
0x00004550 sw v1, 0x98(sp) | *(arg_98h) = v1;
| if (v1 == 0) {
0x00004554 beqz v1, 0x2e88 | goto label_49;
| }
0x00004558 ori v0, v0, 0x4000 | v0 |= 0x4000;
0x0000455c sw v0, 0x110(sp) | *(arg_110h) = v0;
0x00004560 b 0x2e88 | goto label_49;
| label_127:
0x0000459c move a0, s0 | a0 = s0;
0x000045a0 addiu s1, s1, 0x62c0 | s1 += fcn.000062c0;
| label_52:
0x000045a4 lb v0, (s0) | v0 = *(s0);
| do {
| label_51:
0x000045a8 slti v1, s7, 0x10 | v1 = (s7 < 0x10) ? 1 : 0;
| if (v0 == 0) {
0x000045ac beqz v0, 0x45dc | goto label_158;
| }
0x000045b0 sll v0, v0, 1 | v0 <<= 1;
| if (v1 == 0) {
0x000045b4 beqz v1, 0x45dc | goto label_158;
| }
0x000045b8 lw v1, (s3) | v1 = *(s3);
0x000045bc addu v0, v1, v0 | v0 = v1 + v0;
0x000045c0 lhu v0, (v0) | v0 = *(v0);
0x000045c4 andi v0, v0, 0x2000 | v0 &= 0x2000;
0x000045c8 sb zero, (s0) | *(s0) = 0;
| if (v0 == 0) {
0x000045cc bnel v0, zero, 0x4624 | goto label_159;
| }
0x000045d0 addiu s0, s0, 1 | s0++;
0x000045d4 lb v0, (s0) | v0 = *(s0);
0x000045d8 bnel s0, zero, 0x45a8 |
| } while (s0 == 0);
| label_158:
0x000045dc lb v0, (a0) | v0 = *(a0);
0x000045e0 sll v0, s7, 2 | v0 = s7 << 2;
| if (v0 == 0) {
0x000045e4 beqz v0, 0x32cc | goto label_50;
| }
0x000045e8 slti v0, s7, 0x10 | v0 = (s7 < 0x10) ? 1 : 0;
0x000045ec sll v0, s7, 2 | v0 = s7 << 2;
| if (v0 == 0) {
0x000045f0 beqz v0, 0x32cc | goto label_50;
| }
0x000045f4 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x000045f8 addiu t9, t9, 0x62c0 | t9 += fcn.000062c0;
0x000045fc move a1, s2 | a1 = s2;
0x00004600 bal 0x62c0 | fcn_000062c0 ();
0x00004604 sll v1, s7, 2 | v1 = s7 << 2;
0x00004608 addiu a0, sp, 0x2690 | a0 = sp + 0x2690;
0x0000460c addu v1, a0, v1 | v1 = a0 + v1;
0x00004610 addiu a0, s7, 1 | a0 = s7 + 1;
0x00004614 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00004618 sw v0, -0x25c4(v1) | *((v1 - 2417)) = v0;
0x0000461c move s7, a0 | s7 = a0;
0x00004620 b 0x32c8 | goto label_20;
| label_159:
0x00004624 lw a1, (s3) | a1 = *(s3);
0x00004628 addiu s0, s0, 1 | s0++;
| do {
0x0000462c lb v1, (s0) | v1 = *(s0);
0x00004630 sll v0, v1, 1 | v0 = v1 << 1;
0x00004634 addu v0, a1, v0 | v0 = a1 + v0;
0x00004638 lhu v0, (v0) | v0 = *(v0);
0x0000463c andi v0, v0, 0x2000 | v0 &= 0x2000;
0x00004640 addiu s0, s0, 1 | s0++;
0x00004644 bnel v0, zero, 0x462c |
| } while (v0 == 0);
| if (v1 == 0) {
0x00004648 beql v1, zero, 0x45a8 | goto label_51;
| }
0x0000464c lb v0, (s0) | v0 = *(s0);
0x00004650 move t9, s1 | t9 = s1;
0x00004654 move a1, s2 | a1 = s2;
0x00004658 bal 0x62c0 | fcn_000062c0 ();
0x0000465c sll v1, s7, 2 | v1 = s7 << 2;
0x00004660 addiu a0, sp, 0x2690 | a0 = sp + 0x2690;
0x00004664 addu v1, a0, v1 | v1 = a0 + v1;
0x00004668 lw gp, 0x18(sp) | gp = *(arg_18h);
0x0000466c addiu s7, s7, 1 | s7++;
0x00004670 sw v0, -0x25c4(v1) | *((v1 - 2417)) = v0;
0x00004674 move a0, s0 | a0 = s0;
0x00004678 b 0x45a4 | goto label_52;
| label_130:
0x0000467c jalr t9 | t9 ();
0x00004680 nop |
0x00004684 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 >= 0) {
0x00004688 bgez v0, 0x331c | goto label_53;
| }
0x0000468c lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00004690 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00004694 lw a1, 0x12c(sp) | a1 = *(arg_12ch);
0x00004698 addiu t9, t9, 0x50d4 | t9 += fcn.000050d4;
0x0000469c addiu a0, a0, -0x1734 | a0 += -0x1734;
0x000046a0 bal 0x50d4 | fcn_000050d4 ();
0x000046a4 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000046a8 b 0x331c | goto label_53;
| label_100:
0x000046ac lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000046b0 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x000046b4 addiu v0, zero, 1 | v0 = 1;
0x000046b8 addiu a0, a0, -0x1884 | a0 += -0x1884;
0x000046bc addiu t9, t9, 0x4e20 | t9 += fcn.00004e20;
0x000046c0 sw v0, 0x154(sp) | *(arg_154h) = v0;
0x000046c4 bal 0x4e20 | fcn_00004e20 ();
0x000046c8 sw v0, 0x160(sp) | *(arg_160h) = v0;
0x000046cc lw v0, 0x110(sp) | v0 = *(arg_110h);
0x000046d0 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000046d4 ori v0, v0, 0x200 | v0 |= 0x200;
0x000046d8 sw v0, 0x110(sp) | *(arg_110h) = v0;
0x000046dc b 0x2ddc | goto label_54;
| label_80:
0x000046e0 move s2, zero | s2 = 0;
0x000046e4 b 0x2948 | goto label_55;
| label_98:
0x000046e8 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000046ec addiu a1, a1, -0x18c8 | a1 += -0x18c8;
0x000046f0 sw a1, 0x134(sp) | *(arg_134h) = a1;
0x000046f4 b 0x2d2c | goto label_4;
| label_152:
0x000046f8 lw t9, -0x7f14(gp) | t9 = sym.imp.nanosleep;
| if (v1 == s2) {
0x000046fc beq v1, s2, 0x3d70 | goto label_47;
| }
0x00004700 addiu s6, s6, -1 | s6 += -1;
0x00004704 b 0x3920 | goto label_40;
| label_139:
0x00004708 move a1, s4 | a1 = s4;
0x0000470c b 0x36d8 | goto label_56;
| label_134:
0x00004710 lw v0, 0x110(sp) | v0 = *(arg_110h);
0x00004714 ori v0, v0, 0x800 | v0 |= 0x800;
0x00004718 sw v0, 0x110(sp) | *(arg_110h) = v0;
0x0000471c b 0x3528 | goto label_57;
| label_148:
0x00004720 lw t9, -0x7f14(gp) | t9 = sym.imp.nanosleep;
0x00004724 lw a0, 0x2c(sp) | a0 = *(arg_2ch);
0x00004728 move a1, zero | a1 = 0;
0x0000472c sw zero, 0x7c(sp) | *(arg_7ch) = 0;
0x00004730 sw s5, 0x80(sp) | *(arg_80h) = s5;
0x00004734 jalr t9 | t9 ();
0x00004738 lw gp, 0x18(sp) | gp = *(arg_18h);
0x0000473c b 0x387c | goto label_58;
| label_128:
0x00004740 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00004744 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00004748 lw a2, 0x120(sp) | a2 = *(arg_120h);
0x0000474c lw a1, 0x12c(sp) | a1 = *(arg_12ch);
0x00004750 addiu t9, t9, 0x5bb8 | t9 += fcn.00005bb8;
0x00004754 addiu a0, a0, -0x1788 | a0 += -0x1788;
0x00004758 bal 0x5bb8 | fcn_00005bb8 ();
| label_75:
0x0000475c lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00004760 move a1, s6 | a1 = s6;
0x00004764 addiu t9, t9, 0x5c2c | t9 += fcn.00005c2c;
0x00004768 addiu a0, sp, 0x110 | a0 = sp + 0x110;
0x0000476c bal 0x5c2c | fcn_00005c2c ();
0x00004770 lw v0, (s4) | v0 = *(s4);
0x00004774 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00004778 addiu v0, v0, 1 | v0++;
0x0000477c sw v0, (s4) | *(s4) = v0;
0x00004780 b 0x2b8c | goto label_59;
| label_90:
0x00004784 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00004788 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x0000478c move a1, s1 | a1 = s1;
0x00004790 addiu t9, t9, 0x50d4 | t9 += fcn.000050d4;
0x00004794 addiu a0, a0, -0x1994 | a0 += -0x1994;
0x00004798 bal 0x50d4 | fcn_000050d4 ();
0x0000479c lw gp, 0x18(sp) | gp = *(arg_18h);
0x000047a0 b 0x2b0c | goto label_60;
| label_87:
0x000047a4 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000047a8 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x000047ac move a1, s1 | a1 = s1;
0x000047b0 addiu t9, t9, 0x50d4 | t9 += fcn.000050d4;
0x000047b4 addiu a0, a0, -0x1994 | a0 += -0x1994;
0x000047b8 bal 0x50d4 | fcn_000050d4 ();
0x000047bc lw gp, 0x18(sp) | gp = *(arg_18h);
0x000047c0 b 0x2a70 | goto label_61;
| label_138:
0x000047c4 addiu a2, zero, 4 | a2 = 4;
0x000047c8 move a1, s6 | a1 = s6;
0x000047cc b 0x36e0 | goto label_62;
| label_137:
0x000047d0 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000047d4 addiu a0, a0, -0x2454 | a0 += -0x2454;
0x000047d8 b 0x366c | goto label_63;
| label_153:
0x000047dc lw v0, (s0) | v0 = *(s0);
0x000047e0 lw t9, -0x7e5c(gp) | t9 = sym.imp.write;
| if (v0 == s4) {
0x000047e4 beq v0, s4, 0x4314 | goto label_64;
| }
0x000047e8 lw t9, -0x7f14(gp) | t9 = sym.imp.nanosleep;
| if (v0 == s2) {
0x000047ec beq v0, s2, 0x4348 | goto label_65;
| }
0x000047f0 sb s3, (s6) | *(s6) = s3;
0x000047f4 b 0x3c14 | goto label_66;
| label_136:
0x000047f8 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
| if (v0 == 0) {
0x000047fc beqz v0, 0x3654 | goto label_67;
| }
0x00004800 lw s7, 0x5c(sp) | s7 = *(arg_5ch);
0x00004804 addiu v0, v0, -0x178c | v0 += -0x178c;
0x00004808 sw v0, 0xd0(sp) | *(arg_d0h) = v0;
0x0000480c b 0x3654 | goto label_67;
| label_154:
0x00004810 lw t9, -0x7f14(gp) | t9 = sym.imp.nanosleep;
| if (v1 == s2) {
0x00004814 beq v1, s2, 0x4348 | goto label_65;
| }
0x00004818 sb s3, (s6) | *(s6) = s3;
0x0000481c addiu s6, s6, 1 | s6++;
0x00004820 b 0x3924 | goto label_37;
| label_157:
0x00004824 lw t9, -0x7e60(gp) | t9 = sym.imp.cfsetispeed;
0x00004828 move a1, v0 | a1 = v0;
0x0000482c move a0, fp | a0 = fp;
0x00004830 jalr t9 | t9 ();
0x00004834 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00004838 move a1, s0 | a1 = s0;
0x0000483c lw t9, -0x7db0(gp) | t9 = sym.imp.cfsetospeed;
0x00004840 move a0, fp | a0 = fp;
0x00004844 jalr t9 | t9 ();
0x00004848 lw gp, 0x18(sp) | gp = *(arg_18h);
0x0000484c b 0x4528 | goto label_68;
| label_70:
0x00004874 lw s0, 0x250(a1) | s0 = *((a1 + 148));
0x00004878 addiu v0, sp, 0x2690 | v0 = sp + 0x2690;
0x0000487c addiu s0, s0, 0x14 | s0 += 0x14;
0x00004880 sll s0, s0, 2 | s0 <<= 2;
0x00004884 addu s0, v0, s0 | s0 = v0 + s0;
0x00004888 lw s1, 0x34(sp) | s1 = *(arg_34h);
0x0000488c lw t9, -0x7e60(gp) | t9 = sym.imp.cfsetispeed;
0x00004890 lw a1, -0x2580(s0) | a1 = *(s0);
0x00004894 move a0, s1 | a0 = s1;
0x00004898 jalr t9 | t9 ();
0x0000489c lw gp, 0x18(sp) | gp = *(arg_18h);
0x000048a0 lw a1, -0x2580(s0) | a1 = *(s0);
0x000048a4 lw t9, -0x7db0(gp) | t9 = sym.imp.cfsetospeed;
0x000048a8 move a0, s1 | a0 = s1;
0x000048ac jalr t9 | t9 ();
0x000048b0 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000048b4 move a2, s1 | a2 = s1;
0x000048b8 addiu a1, zero, 0x540e | a1 = 0x540e;
0x000048bc lw t9, -0x7e14(gp) | t9 = sym.imp.tcsetattr;
0x000048c0 move a0, zero | a0 = 0;
0x000048c4 jalr t9 | t9 ();
0x000048c8 lw gp, 0x18(sp) | gp = *(arg_18h);
0x000048cc lw v0, 0x110(sp) | v0 = *(arg_110h);
0x000048d0 b 0x3748 | goto label_69;
| label_141:
0x000048d4 lw s1, 0x110(sp) | s1 = *(arg_110h);
0x000048d8 addiu v0, zero, 0x4800 | v0 = 0x4800;
0x000048dc andi v1, s1, 0x4800 | v1 = s1 & 0x4800;
0x000048e0 lw s7, 0x70(sp) | s7 = *(arg_70h);
0x000048e4 lw fp, 0x34(sp) | fp = *(arg_34h);
| if (v1 == v0) {
0x000048e8 beq v1, v0, 0x49b8 | goto label_160;
| }
0x000048ec andi s1, s1, 0x100 | s1 &= 0x100;
0x000048f0 lw t9, -0x7f68(gp) | t9 = sym.imp.__ctype_b_loc;
| if (s1 != 0) {
0x000048f4 bnel s1, zero, 0x4900 |
0x000048f8 lw s2, 0x20(sp) | s2 = *(arg_20h);
0x000048fc b 0x30ec | goto label_7;
| }
0x00004900 move s1, zero | s1 = 0;
0x00004904 jalr t9 | t9 ();
0x00004908 move s4, v0 | s4 = v0;
0x0000490c lw gp, 0x18(sp) | gp = *(arg_18h);
0x00004910 lw v0, (v0) | v0 = *(v0);
0x00004914 lw a0, 0x20(sp) | a0 = *(arg_20h);
0x00004918 move v1, s3 | v1 = s3;
0x0000491c sll v1, v1, 1 | v1 <<= 1;
| do {
0x00004920 addu v1, v0, v1 | v1 = v0 + v1;
0x00004924 lhu v1, (v1) | v1 = *(v1);
0x00004928 andi a1, v1, 0x200 | a1 = v1 & 0x200;
0x0000492c move s1, zero | s1 = 0;
| if (a1 == 0) {
0x00004930 bnel a1, zero, 0x49b0 | goto label_161;
| }
| if (s1 != 0) {
0x00004934 beql s1, zero, 0x493c |
0x00004938 andi s1, v1, 0x100 | s1 = v1 & 0x100;
| }
0x0000493c addiu a0, a0, 1 | a0++;
0x00004940 lb v1, (a0) | v1 = *(a0);
0x00004944 sll v1, v1, 1 | v1 <<= 1;
0x00004948 bnel v1, zero, 0x4920 |
| } while (v1 == 0);
0x0000494c lw s2, 0x20(sp) | s2 = *(arg_20h);
| if (s1 == 0) {
0x00004950 beqz s1, 0x30ec | goto label_7;
| }
| do {
0x00004954 sll v1, s3, 1 | v1 = s3 << 1;
0x00004958 addu v0, v0, v1 | v0 += v1;
0x0000495c lhu v0, (v0) | v0 = *(v0);
0x00004960 andi v0, v0, 0x100 | v0 &= 0x100;
| if (v0 != 0) {
0x00004964 beql v0, zero, 0x498c |
0x00004968 addiu s2, s2, 1 | s2++;
0x0000496c lw t9, -0x7f64(gp) | t9 = sym.imp.__ctype_tolower_loc;
0x00004970 sll s3, s3, 2 | s3 <<= 2;
0x00004974 jalr t9 | t9 ();
0x00004978 lw v0, (v0) | v0 = *(v0);
0x0000497c lw gp, 0x18(sp) | gp = *(arg_18h);
0x00004980 lwx s3, s3(v0) | __asm ("lwx s3, s3(v0)");
0x00004984 sb s3, (s2) | *(s2) = s3;
0x00004988 addiu s2, s2, 1 | s2++;
| }
0x0000498c lb s3, (s2) | s3 = *(s2);
0x00004990 lw v0, (s4) | v0 = *(s4);
0x00004994 bnel s3, zero, 0x4954 |
| } while (s3 == 0);
0x00004998 lw s2, 0x20(sp) | s2 = *(arg_20h);
0x0000499c b 0x30ec | goto label_7;
| label_161:
0x000049b0 lw s2, 0x20(sp) | s2 = *(arg_20h);
0x000049b4 b 0x30ec | goto label_7;
| label_160:
0x000049b8 lw v0, 0x4c(sp) | v0 = *(arg_4ch);
0x000049bc lw t9, -0x7ee8(gp) | t9 = sym.imp.mbstowcs;
0x000049c0 move a2, zero | a2 = 0;
0x000049c4 addiu a1, v0, 0x540 | a1 = v0 + 0x540;
0x000049c8 move a0, zero | a0 = 0;
0x000049cc jalr t9 | t9 ();
0x000049d0 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 < 0) {
0x000049d4 bltz v0, 0x4aa8 | goto label_162;
| }
0x000049d8 lw t9, -0x7e1c(gp) | t9 = sym.imp.malloc;
0x000049dc addiu s2, v0, 1 | s2 = v0 + 1;
0x000049e0 sll a0, s2, 2 | a0 = s2 << 2;
0x000049e4 jalr t9 | t9 ();
0x000049e8 move s1, v0 | s1 = v0;
0x000049ec lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 == 0) {
0x000049f0 beqz v0, 0x4ac0 | goto label_163;
| }
0x000049f4 lw v0, 0x4c(sp) | v0 = *(arg_4ch);
0x000049f8 lw t9, -0x7ee8(gp) | t9 = sym.imp.mbstowcs;
0x000049fc move a2, s2 | a2 = s2;
0x00004a00 addiu a1, v0, 0x540 | a1 = v0 + 0x540;
0x00004a04 move a0, s1 | a0 = s1;
0x00004a08 jalr t9 | t9 ();
0x00004a0c move s3, s1 | s3 = s1;
0x00004a10 lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 >= 0) {
0x00004a14 bgez v0, 0x4a34 | goto label_164;
| }
0x00004a18 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00004a1c b 0x4aac | goto label_165;
| do {
0x00004a20 move a0, s2 | a0 = s2;
0x00004a24 jalr t9 | t9 ();
0x00004a28 addiu s3, s3, 4 | s3 += 4;
0x00004a2c lw gp, 0x18(sp) | gp = *(arg_18h);
| if (v0 == 0) {
0x00004a30 beqz v0, 0x4a8c | goto label_166;
| }
| label_164:
0x00004a34 lw s2, (s3) | s2 = *(s3);
0x00004a38 lw t9, -0x7df4(gp) | t9 = sym.imp.iswprint;
0x00004a3c bnel s2, zero, 0x4a20 |
| } while (s2 == 0);
0x00004a40 lw t9, -0x7d8c(gp) | t9 = sym.imp.free;
0x00004a44 move a0, s1 | a0 = s1;
0x00004a48 jalr t9 | t9 ();
0x00004a4c move s1, zero | s1 = 0;
0x00004a50 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00004a54 lw s2, 0x20(sp) | s2 = *(arg_20h);
0x00004a58 b 0x30ec | goto label_7;
| label_99:
0x00004a74 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00004a78 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00004a7c addiu a1, s0, -0x18b8 | a1 = s0 + -0x18b8;
0x00004a80 addiu t9, t9, 0x5bb8 | t9 += fcn.00005bb8;
0x00004a84 addiu a0, a0, -0x18b0 | a0 += -0x18b0;
0x00004a88 bal 0x5bb8 | fcn_00005bb8 ();
| label_166:
0x00004a8c lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00004a90 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00004a94 lw a1, 0x12c(sp) | a1 = *(arg_12ch);
0x00004a98 move a2, s2 | a2 = s2;
0x00004a9c addiu t9, t9, 0x5bb8 | t9 += fcn.00005bb8;
0x00004aa0 addiu a0, a0, -0x1800 | a0 += -0x1800;
0x00004aa4 bal 0x5bb8 | fcn_00005bb8 ();
| label_162:
0x00004aa8 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
| label_165:
0x00004aac lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00004ab0 lw a1, 0x12c(sp) | a1 = *(arg_12ch);
0x00004ab4 addiu t9, t9, 0x5bb8 | t9 += fcn.00005bb8;
0x00004ab8 addiu a0, a0, -0x1830 | a0 += -0x1830;
0x00004abc bal 0x5bb8 | fcn_00005bb8 ();
| label_163:
0x00004ac0 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00004ac4 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00004ac8 addiu t9, t9, 0x5bb8 | t9 += fcn.00005bb8;
0x00004acc addiu a0, a0, -0x2630 | a0 += -0x2630;
0x00004ad0 bal 0x5bb8 | fcn_00005bb8 ();
| label_85:
0x00004ad4 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00004ad8 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00004adc move a1, s1 | a1 = s1;
0x00004ae0 addiu t9, t9, 0x5bb8 | t9 += fcn.00005bb8;
0x00004ae4 addiu a0, a0, -0x19a8 | a0 += -0x19a8;
0x00004ae8 bal 0x5bb8 | fcn_00005bb8 ();
0x00004aec lw v1, 0x70(sp) | v1 = *(arg_70h);
| if (v0 == 0) {
0x00004af0 movn v1, zero, v0 | v1 = 0;
| }
0x00004af4 sw v1, 0x250(a1) | *((a1 + 148)) = v1;
0x00004af8 b 0x4874 | goto label_70;
| label_81:
0x00004afc lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00004b00 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00004b04 move a1, s1 | a1 = s1;
0x00004b08 addiu t9, t9, 0x5bb8 | t9 += fcn.00005bb8;
0x00004b0c addiu a0, a0, -0x19f4 | a0 += -0x19f4;
0x00004b10 bal 0x5bb8 | fcn_00005bb8 ();
0x00004b14 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00004b18 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00004b1c lw a1, 0x12c(sp) | a1 = *(arg_12ch);
0x00004b20 addiu t9, t9, 0x5bb8 | t9 += fcn.00005bb8;
0x00004b24 addiu a0, a0, -0x1844 | a0 += -0x1844;
0x00004b28 bal 0x5bb8 | fcn_00005bb8 ();
| label_72:
0x00004b2c lw s0, -0x7fdc(gp) | s0 = *((gp - 8183));
0x00004b30 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00004b34 addiu t9, t9, 0x50d4 | t9 += fcn.000050d4;
0x00004b38 addiu a0, s0, -0x1a5c | a0 = s0 + -0x1a5c;
0x00004b3c bal 0x50d4 | fcn_000050d4 ();
0x00004b40 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00004b44 addiu a1, s0, -0x1a5c | a1 = s0 + -0x1a5c;
0x00004b48 lw t9, -0x7ed0(gp) | t9 = sym.imp.errx;
0x00004b4c addiu a0, zero, 1 | a0 = 1;
0x00004b50 jalr t9 | t9 ();
0x00004b54 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00004b58 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00004b5c addiu t9, t9, 0x5bb8 | t9 += fcn.00005bb8;
0x00004b60 addiu a0, a0, -0x2408 | a0 += -0x2408;
0x00004b64 bal 0x5bb8 | fcn_00005bb8 ();
| label_124:
0x00004b68 lw t9, -0x7e98(gp) | t9 = sym.imp.__errno_location;
| label_125:
0x00004b6c jalr t9 | t9 ();
0x00004b70 nop |
0x00004b74 lw gp, 0x18(sp) | gp = *(arg_18h);
0x00004b78 addiu v1, zero, 1 | v1 = 1;
0x00004b7c sw v1, (v0) | *(v0) = v1;
0x00004b80 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00004b84 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00004b88 addiu t9, t9, 0x5bb8 | t9 += fcn.00005bb8;
0x00004b8c addiu a0, a0, -0x17a8 | a0 += -0x17a8;
0x00004b90 bal 0x5bb8 | fcn_00005bb8 ();
| label_122:
0x00004b94 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00004b98 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00004b9c lw a1, 0x12c(sp) | a1 = *(arg_12ch);
0x00004ba0 addiu t9, t9, 0x5bb8 | t9 += fcn.00005bb8;
0x00004ba4 addiu a0, a0, -0x17d4 | a0 += -0x17d4;
0x00004ba8 bal 0x5bb8 | fcn_00005bb8 ();
| label_84:
0x00004bac lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00004bb0 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00004bb4 move a1, s1 | a1 = s1;
0x00004bb8 addiu t9, t9, 0x5bb8 | t9 += fcn.00005bb8;
0x00004bbc addiu a0, a0, -0x19c8 | a0 += -0x19c8;
0x00004bc0 bal 0x5bb8 | fcn_00005bb8 ();
| label_83:
0x00004bc4 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00004bc8 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00004bcc move a1, s0 | a1 = s0;
0x00004bd0 addiu t9, t9, 0x5bb8 | t9 += fcn.00005bb8;
0x00004bd4 addiu a0, a0, -0x1768 | a0 += -0x1768;
0x00004bd8 bal 0x5bb8 | fcn_00005bb8 ();
| label_96:
0x00004bdc lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00004be0 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00004be4 move a1, s1 | a1 = s1;
0x00004be8 addiu t9, t9, 0x5bb8 | t9 += fcn.00005bb8;
0x00004bec addiu a0, a0, -0x18f4 | a0 += -0x18f4;
0x00004bf0 bal 0x5bb8 | fcn_00005bb8 ();
| label_95:
0x00004bf4 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00004bf8 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00004bfc move a1, s1 | a1 = s1;
0x00004c00 addiu t9, t9, 0x5bb8 | t9 += fcn.00005bb8;
0x00004c04 addiu a0, a0, -0x1908 | a0 += -0x1908;
0x00004c08 bal 0x5bb8 | fcn_00005bb8 ();
| label_94:
0x00004c0c lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00004c10 lw t9, -0x7fd4(gp) | t9 = *((gp - 8181));
0x00004c14 move a1, s1 | a1 = s1;
0x00004c18 addiu t9, t9, 0x5bb8 | t9 += fcn.00005bb8;
0x00004c1c addiu a0, a0, -0x194c | a0 += -0x194c;
0x00004c20 bal 0x5bb8 | fcn_00005bb8 ();
0x00004c24 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00004c28 lw t9, -0x7de8(gp) | t9 = sym.imp.err;
0x00004c2c addiu a2, s1, -0x266c | a2 = s1 + -0x266c;
0x00004c30 addiu a1, a1, -0x23b0 | a1 += -0x23b0;
0x00004c34 addiu a0, zero, 1 | a0 = 1;
0x00004c38 jalr t9 | t9 ();
0x00004c3c nop |
| }
[*] Function printf used 4 times agetty