[*] Binary protection state of bmp2overlay
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function printf tear down of bmp2overlay
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/bmp2overlay @ 0x2c70 */
| #include <stdint.h>
|
; (fcn) fcn.00002c70 () | void fcn_00002c70 () {
0x00002c70 lui gp, 2 |
0x00002c74 addiu gp, gp, -0x4c50 |
0x00002c78 addu gp, gp, t9 | gp += t9;
0x00002c7c addiu sp, sp, -0x20 |
0x00002c80 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002c84 lw t9, -0x7f84(gp) | t9 = sym.imp.__printf_chk
0x00002c88 move a2, a0 | a2 = a0;
0x00002c8c addiu a1, a1, 0x4bb4 | a1 += str.USAGE:__s__dump_palette__inputfile.bmp____palctrl___inputfile.bmp___outputfile_._n_n;
0x00002c90 sw ra, 0x1c(sp) | *(var_1ch) = ra;
0x00002c94 sw gp, 0x10(sp) | *(var_10h) = gp;
0x00002c98 addiu a0, zero, 1 | a0 = 1;
0x00002c9c jalr t9 | t9 ();
0x00002ca0 lw gp, 0x10(sp) | gp = *(var_10h);
0x00002ca4 addiu a0, zero, 1 | a0 = 1;
0x00002ca8 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002cac lw t9, -0x7f84(gp) | t9 = sym.imp.__printf_chk
0x00002cb0 addiu a1, a1, 0x4c0c | a1 += str.For_4_bit_BMP_images_the_palctrl_file_sould_contain_16_rows__one_for_each_palette_index__defining_control_bits_for_each_color._Two_different_4_bit_BMP_formats_are_supported__4_bit_Windows_BMP_and_4_bit_OS_2_BMP._n_nFor_24_bit_Windows_BMP_images_the_palctrl_should_contain_one_row_only__on_the_form:_f__colorcode__where_colorcode_is_a_color_in_the_image_that_is_to_be_made_transparent._It_is_optional_to_use_a_color_for_transparency.Some_examples_of_palctrl_entries_are_shown_below:_n_n;
0x00002cb4 jalr t9 | t9 ();
0x00002cb8 lw gp, 0x10(sp) | gp = *(var_10h);
0x00002cbc addiu a0, zero, 1 | a0 = 1;
0x00002cc0 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002cc4 lw t9, -0x7f84(gp) | t9 = sym.imp.__printf_chk
0x00002cc8 addiu a1, a1, 0x4df0 | a1 += str.__f_FF0A21_n;
0x00002ccc jalr t9 | t9 ();
0x00002cd0 lw gp, 0x10(sp) | gp = *(var_10h);
0x00002cd4 addiu a0, zero, 1 | a0 = 1;
0x00002cd8 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002cdc lw t9, -0x7f84(gp) | t9 = sym.imp.__printf_chk
0x00002ce0 addiu a1, a1, 0x4dfc | a1 += str.__p_0xff_0xff_0xff_fullcolor_solid_normal_n;
0x00002ce4 jalr t9 | t9 ();
0x00002ce8 lw gp, 0x10(sp) | gp = *(var_10h);
0x00002cec addiu a0, zero, 1 | a0 = 1;
0x00002cf0 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002cf4 lw t9, -0x7f84(gp) | t9 = sym.imp.__printf_chk
0x00002cf8 addiu a1, a1, 0x4e28 | a1 += str.__i_0_fullcolor_solid_normal_n_n;
0x00002cfc jalr t9 | t9 ();
0x00002d00 lw gp, 0x10(sp) | gp = *(var_10h);
0x00002d04 addiu a0, zero, 1 | a0 = 1;
0x00002d08 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002d0c lw t9, -0x7f84(gp) | t9 = sym.imp.__printf_chk
0x00002d10 addiu a1, a1, 0x4e48 | a1 += str.color_proc_options:_fullcolor__halfcolor__nocolor_n;
0x00002d14 jalr t9 | t9 ();
0x00002d18 lw gp, 0x10(sp) | gp = *(var_10h);
0x00002d1c addiu a0, zero, 1 | a0 = 1;
0x00002d20 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002d24 lw t9, -0x7f84(gp) | t9 = sym.imp.__printf_chk
0x00002d28 addiu a1, a1, 0x4e80 | a1 += str.op_type_options:____solid__halftransparent__transparent_lptransparent_n;
0x00002d2c jalr t9 | t9 ();
0x00002d30 lw gp, 0x10(sp) | gp = *(var_10h);
0x00002d34 lw ra, 0x1c(sp) | ra = *(var_1ch);
0x00002d38 addiu a0, zero, 1 | a0 = 1;
0x00002d3c lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002d40 lw t9, -0x7f84(gp) | t9 = sym.imp.__printf_chk
0x00002d44 addiu a1, a1, 0x4ecc | a1 += str.lum_proc_options:___normal__dark_n_n;
0x00002d48 addiu sp, sp, 0x20 |
0x00002d4c jr t9 | return t9 ();
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/bmp2overlay @ 0xbb0 */
| #include <stdint.h>
|
; (fcn) main () | int32_t main () {
| /* [13] -r-x section size 15792 named .text */
0x00000bb0 lui gp, 2 |
0x00000bb4 addiu gp, gp, -0x2b90 |
0x00000bb8 addu gp, gp, t9 | gp += t9;
0x00000bbc addiu sp, sp, -0x678 |
0x00000bc0 lw v0, -0x7f28(gp) | v0 = *((gp - 8138));
0x00000bc4 sw fp, 0x670(sp) | *(var_670h) = fp;
0x00000bc8 move fp, sp | fp = sp;
0x00000bcc sw s6, 0x668(sp) | *(var_668h) = s6;
0x00000bd0 sw s5, 0x664(sp) | *(var_664h) = s5;
0x00000bd4 sw s4, 0x660(sp) | *(var_660h) = s4;
0x00000bd8 sw s3, 0x65c(sp) | *(var_65ch) = s3;
0x00000bdc sw s2, 0x658(sp) | *(var_658h) = s2;
0x00000be0 sw s1, 0x654(sp) | *(var_654h) = s1;
0x00000be4 sw s0, 0x650(sp) | *(var_650h) = s0;
0x00000be8 sw gp, 0x28(sp) | *(var_28h) = gp;
0x00000bec sw ra, 0x674(sp) | *(var_674h) = ra;
0x00000bf0 sw s7, 0x66c(sp) | *(var_66ch) = s7;
0x00000bf4 sw v0, 0x64(fp) | *(arg_64h) = v0;
0x00000bf8 lw v0, (v0) | v0 = *(v0);
0x00000bfc lw t9, -0x7f90(gp) | t9 = sym.imp.openlog;
0x00000c00 move s4, a0 | s4 = a0;
0x00000c04 lw a0, (a1) | a0 = *(a1);
0x00000c08 move s1, a1 | s1 = a1;
0x00000c0c addiu a2, zero, 8 | a2 = 8;
0x00000c10 addiu a1, zero, 1 | a1 = 1;
0x00000c14 sw v0, 0x64c(fp) | *(arg_64ch) = v0;
0x00000c18 addiu s6, zero, -1 | s6 = -1;
0x00000c1c jalr t9 | t9 ();
0x00000c20 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00000c24 sw zero, 0xc8(fp) | *(arg_c8h) = 0;
0x00000c28 sw zero, 0xcc(fp) | *(arg_cch) = 0;
0x00000c2c lw s3, -0x7fd8(gp) | s3 = *((gp - 8182));
0x00000c30 lw s2, -0x7fdc(gp) | s2 = *((gp - 8183));
0x00000c34 lw s0, -0x7f9c(gp) | s0 = *((gp - 8167));
0x00000c38 sw zero, 0xd0(fp) | *(arg_d0h) = 0;
0x00000c3c sw zero, 0xd4(fp) | *(arg_d4h) = 0;
0x00000c40 sw zero, 0xd8(fp) | *(arg_d8h) = 0;
0x00000c44 sw zero, 0xdc(fp) | *(arg_dch) = 0;
| /* section..data.rel.ro */
0x00000c48 addiu s3, s3, 0x5fb0 | s3 += 0x5fb0;
0x00000c4c addiu s2, s2, 0x4fa8 | s2 += str.hd:W:H:;
0x00000c50 addiu s5, zero, 0x57 | s5 = 0x57;
| do {
| label_0:
0x00000c54 lw t9, -0x7f58(gp) | t9 = sym.imp.getopt_long;
0x00000c58 sw zero, 0x10(sp) | *(var_10h) = 0;
0x00000c5c move a3, s3 | a3 = s3;
0x00000c60 move a2, s2 | a2 = s2;
0x00000c64 move a1, s1 | a1 = s1;
0x00000c68 move a0, s4 | a0 = s4;
0x00000c6c jalr t9 | t9 ();
0x00000c70 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 == s6) {
0x00000c74 beq v0, s6, 0xd10 | goto label_43;
| }
0x00000c78 slti v1, v0, 0x58 | v1 = (v0 < 0x58) ? 1 : 0;
| if (v0 == s5) {
0x00000c7c beq v0, s5, 0xcb0 | goto label_44;
| }
0x00000c80 addiu v1, zero, 0x64 | v1 = 0x64;
| if (v1 == 0) {
0x00000c84 beqz v1, 0xcd0 | goto label_45;
| }
0x00000c88 addiu v1, zero, 0x48 | v1 = 0x48;
0x00000c8c lw t9, -0x7f60(gp) | t9 = sym.imp.strtoul;
| if (v0 != v1) {
0x00000c90 bne v0, v1, 0x2804 | goto label_46;
| }
0x00000c94 lw a0, (s0) | a0 = *(s0);
0x00000c98 addiu a2, zero, 0xa | a2 = 0xa;
0x00000c9c move a1, zero | a1 = 0;
0x00000ca0 jalr t9 | t9 ();
0x00000ca4 sw v0, 0xdc(fp) | *(arg_dch) = v0;
0x00000ca8 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00000cac b 0xc54 |
| } while (1);
| label_44:
0x00000cb0 lw t9, -0x7f60(gp) | t9 = sym.imp.strtoul;
0x00000cb4 lw a0, (s0) | a0 = *(s0);
0x00000cb8 addiu a2, zero, 0xa | a2 = 0xa;
0x00000cbc move a1, zero | a1 = 0;
0x00000cc0 jalr t9 | t9 ();
0x00000cc4 sw v0, 0xd8(fp) | *(arg_d8h) = v0;
0x00000cc8 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00000ccc b 0xc54 | goto label_0;
| label_45:
0x00000cd0 addiu v1, zero, 0x68 | v1 = 0x68;
| if (v0 == v1) {
0x00000cd4 bne v0, v1, 0xcec |
0x00000cd8 lw v0, (s0) | v0 = *(s0);
0x00000cdc sw v0, 0xcc(fp) | *(arg_cch) = v0;
0x00000ce0 addiu v0, zero, 1 | v0 = 1;
0x00000ce4 sw v0, 0xd4(fp) | *(arg_d4h) = v0;
0x00000ce8 b 0xc54 | goto label_0;
| }
0x00000cec lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
| if (v0 != v1) {
0x00000cf0 bne v0, v1, 0x2804 | goto label_46;
| }
0x00000cf4 addiu t9, t9, 0x2c70 | t9 += fcn.00002c70;
0x00000cf8 lw a0, (s1) | a0 = *(s1);
0x00000cfc bal 0x2c70 | fcn_00002c70 ();
0x00000d00 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00000d04 lw t9, -0x7f50(gp) | t9 = sym.imp.exit;
0x00000d08 addiu a0, zero, 4 | a0 = 4;
0x00000d0c jalr t9 | t9 ();
| label_43:
0x00000d10 lw v0, 0xd4(fp) | v0 = *(arg_d4h);
0x00000d14 lw v0, -0x7f2c(gp) | v0 = *((gp - 8139));
| if (v0 == 0) {
0x00000d18 beqz v0, 0x14ec | goto label_47;
| }
| label_5:
0x00000d1c lw s1, -0x7fdc(gp) | s1 = *((gp - 8183));
0x00000d20 lw s2, 0xcc(fp) | s2 = *(arg_cch);
0x00000d24 lw t9, -0x7f1c(gp) | t9 = sym.imp.fopen;
0x00000d28 addiu a1, s1, 0x4fd0 | a1 = s1 + 0x4fd0;
0x00000d2c move a0, s2 | a0 = s2;
0x00000d30 jalr t9 | t9 ();
0x00000d34 move s0, v0 | s0 = v0;
0x00000d38 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 == 0) {
0x00000d3c beqz v0, 0x2a08 | goto label_48;
| }
0x00000d40 lw t9, -0x7f40(gp) | t9 = sym.imp.fread;
0x00000d44 addiu v0, fp, 0x44c | v0 = fp + 0x44c;
0x00000d48 sw v0, 0x78(fp) | *(arg_78h) = v0;
0x00000d4c move a3, s0 | a3 = s0;
0x00000d50 addiu a2, zero, 0x20 | a2 = 0x20;
0x00000d54 addiu a1, zero, 1 | a1 = 1;
0x00000d58 move a0, v0 | a0 = v0;
0x00000d5c jalr t9 | t9 ();
0x00000d60 addiu v1, zero, 0x20 | v1 = 0x20;
0x00000d64 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 != v1) {
0x00000d68 bne v0, v1, 0x2988 | goto label_49;
| }
0x00000d6c lbu v1, 0x44c(fp) | v1 = *(arg_44ch);
0x00000d70 addiu v0, zero, 0x42 | v0 = 0x42;
0x00000d74 lbu v1, 0x44d(fp) | v1 = *(arg_44dh);
| if (v1 != v0) {
0x00000d78 bne v1, v0, 0x2988 | goto label_49;
| }
0x00000d7c addiu v0, zero, 0x4d | v0 = 0x4d;
0x00000d80 lbu v1, 0x466(fp) | v1 = *(arg_466h);
| if (v1 != v0) {
0x00000d84 bne v1, v0, 0x2988 | goto label_49;
| }
0x00000d88 addiu v0, zero, 1 | v0 = 1;
0x00000d8c lbu v0, 0x45a(fp) | v0 = *(arg_45ah);
| if (v1 == v0) {
0x00000d90 beq v1, v0, 0x1710 | goto label_50;
| }
0x00000d94 lbu v1, 0x462(fp) | v1 = *(arg_462h);
| label_9:
0x00000d98 addiu v0, zero, 1 | v0 = 1;
0x00000d9c lbu v1, 0x464(fp) | v1 = *(arg_464h);
| if (v1 != v0) {
0x00000da0 bne v1, v0, 0x2988 | goto label_49;
| }
0x00000da4 addiu v0, zero, 4 | v0 = 4;
0x00000da8 lw t9, -0x7f94(gp) | t9 = sym.imp.fclose;
| if (v1 != v0) {
0x00000dac bne v1, v0, 0x298c | goto label_51;
| }
0x00000db0 move a0, s0 | a0 = s0;
0x00000db4 jalr t9 | t9 ();
0x00000db8 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00000dbc addiu v0, zero, 1 | v0 = 1;
| label_10:
0x00000dc0 lw v1, -0x7fd8(gp) | v1 = *((gp - 8182));
0x00000dc4 lw t9, -0x7f1c(gp) | t9 = sym.imp.fopen;
0x00000dc8 lw a0, 0xcc(fp) | a0 = *(arg_cch);
0x00000dcc sw v1, 0xac(fp) | *(arg_ach) = v1;
0x00000dd0 addiu a1, s1, 0x4fd0 | a1 = s1 + 0x4fd0;
0x00000dd4 sw v0, 0x6144(v1) | *((v1 + 6225)) = v0;
0x00000dd8 jalr t9 | t9 ();
0x00000ddc move s7, v0 | s7 = v0;
0x00000de0 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 == 0) {
0x00000de4 beqz v0, 0x29f0 | goto label_52;
| }
0x00000de8 lw t9, -0x7f40(gp) | t9 = sym.imp.fread;
0x00000dec lw a0, 0x78(fp) | a0 = *(arg_78h);
0x00000df0 move a3, v0 | a3 = v0;
0x00000df4 addiu a2, zero, 0xe | a2 = 0xe;
0x00000df8 addiu a1, zero, 1 | a1 = 1;
0x00000dfc jalr t9 | t9 ();
0x00000e00 addiu v1, zero, 0xe | v1 = 0xe;
0x00000e04 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 != v1) {
0x00000e08 bne v0, v1, 0x1768 | goto label_53;
| }
0x00000e0c lw v0, 0xac(fp) | v0 = *(arg_ach);
0x00000e10 lw v1, 0x6144(v0) | v1 = *((v0 + 6225));
0x00000e14 addiu v0, v1, -2 | v0 = v1 + -2;
0x00000e18 sltiu v0, v0, 2 | v0 = (v0 < 2) ? 1 : 0;
0x00000e1c lw s0, -0x7fd8(gp) | s0 = *((gp - 8182));
| if (v0 == 0) {
0x00000e20 bnel v0, zero, 0x15ac | goto label_54;
| }
0x00000e24 lw t9, -0x7f40(gp) | t9 = sym.imp.fread;
| if (v1 == 0) {
0x00000e28 beqz v1, 0x1680 | goto label_55;
| }
0x00000e2c move a3, s7 | a3 = s7;
0x00000e30 addiu a2, zero, 0xc | a2 = 0xc;
0x00000e34 addiu a1, zero, 1 | a1 = 1;
0x00000e38 addiu a0, fp, 0xbc | a0 = fp + 0xbc;
0x00000e3c jalr t9 | t9 ();
0x00000e40 addiu v1, zero, 0xc | v1 = 0xc;
0x00000e44 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 != v1) {
0x00000e48 bne v0, v1, 0x15f4 | goto label_56;
| }
0x00000e4c lhu v0, 0xc0(fp) | v0 = *(arg_c0h);
0x00000e50 addiu s0, fp, 0x128 | s0 = fp + aav.0x00000128;
0x00000e54 sw v0, 0xb4(fp) | *(arg_b4h) = v0;
0x00000e58 lhu v0, 0xc2(fp) | v0 = *(arg_c2h);
0x00000e5c addiu s1, fp, 0x158 | s1 = fp + 0x158;
0x00000e60 sw v0, 0xb0(fp) | *(arg_b0h) = v0;
0x00000e64 addiu s2, fp, 0x198 | s2 = fp + 0x198;
| do {
0x00000e68 lw t9, -0x7f40(gp) | t9 = sym.imp.fread;
0x00000e6c move a3, s7 | a3 = s7;
0x00000e70 addiu a2, zero, 3 | a2 = 3;
0x00000e74 addiu a1, zero, 1 | a1 = 1;
0x00000e78 move a0, s2 | a0 = s2;
0x00000e7c jalr t9 | t9 ();
0x00000e80 addiu v1, zero, 3 | v1 = 3;
0x00000e84 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 != v1) {
0x00000e88 bne v0, v1, 0x16fc | goto label_57;
| }
0x00000e8c lbu v0, 0x198(fp) | v0 = *(arg_198h);
0x00000e90 addiu s0, s0, 3 | s0 += 3;
0x00000e94 sb v0, -3(s0) | *((s0 - 3)) = v0;
0x00000e98 lbu v0, 0x199(fp) | v0 = *(arg_199h);
0x00000e9c sb v0, -2(s0) | *((s0 - 2)) = v0;
0x00000ea0 lbu v0, 0x19a(fp) | v0 = *(arg_19ah);
0x00000ea4 sb v0, -1(s0) | *((s0 - 1)) = v0;
0x00000ea8 bne s1, s0, 0xe68 |
| } while (s1 != s0);
| label_11:
0x00000eac lw a3, 0xd8(fp) | a3 = *(arg_d8h);
0x00000eb0 lw v0, 0xd4(fp) | v0 = *(arg_d4h);
| if (a3 != 0) {
0x00000eb4 beqz a3, 0xee4 |
0x00000eb8 lw v0, 0xdc(fp) | v0 = *(arg_dch);
| if (v0 == 0) {
0x00000ebc beql v0, zero, 0xee4 | goto label_58;
| }
0x00000ec0 lw v0, 0xd4(fp) | v0 = *(arg_d4h);
0x00000ec4 mul a3, a3, v0 | __asm ("mul a3, a3, v0");
0x00000ec8 lw v1, 0xb0(fp) | v1 = *(arg_b0h);
0x00000ecc lw v0, 0xb4(fp) | v0 = *(arg_b4h);
0x00000ed0 mul v0, v0, v1 | __asm ("mul v0, v0, v1");
0x00000ed4 sltu v1, a3, v0 | v1 = (a3 < v0) ? 1 : 0;
0x00000ed8 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
| if (v1 != 0) {
0x00000edc bnez v1, 0x2a70 | goto label_59;
| }
0x00000ee0 lw v0, 0xd4(fp) | v0 = *(arg_d4h);
| }
| label_58:
0x00000ee4 sw v0, 0x44(fp) | *(arg_44h) = v0;
| if (v0 != 0) {
0x00000ee8 bnez v0, 0x151c | goto label_60;
| }
0x00000eec lw t9, -0x7f74(gp) | t9 = sym.imp.memset;
0x00000ef0 addiu v0, fp, 0x158 | v0 = fp + 0x158;
0x00000ef4 addiu a2, zero, 0x40 | a2 = 0x40;
0x00000ef8 move a1, zero | a1 = 0;
0x00000efc move a0, v0 | a0 = v0;
0x00000f00 sw v0, 0x7c(fp) | *(arg_7ch) = v0;
0x00000f04 jalr t9 | t9 ();
0x00000f08 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00000f0c lw v0, 0xc8(fp) | v0 = *(arg_c8h);
0x00000f10 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00000f14 lw t9, -0x7f1c(gp) | t9 = sym.imp.fopen;
0x00000f18 sw v0, 0x90(fp) | *(arg_90h) = v0;
0x00000f1c addiu a1, a1, 0x4f04 | a1 += 0x4f04;
0x00000f20 move a0, v0 | a0 = v0;
0x00000f24 jalr t9 | t9 ();
0x00000f28 move s1, v0 | s1 = v0;
0x00000f2c lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 == 0) {
0x00000f30 beqz v0, 0x2a98 | goto label_61;
| }
0x00000f34 lw v0, 0xac(fp) | v0 = *(arg_ach);
0x00000f38 lw v0, 0x6144(v0) | v0 = *((v0 + 6225));
0x00000f3c addiu v0, v0, -2 | v0 += -2;
0x00000f40 sltiu v0, v0, 2 | v0 = (v0 < 2) ? 1 : 0;
0x00000f44 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
| if (v0 != 0) {
0x00000f48 bnez v0, 0x1e28 | goto label_62;
| }
0x00000f4c lw s4, -0x7fdc(gp) | s4 = *((gp - 8183));
0x00000f50 addiu v0, v0, 0x2d50 | v0 += 0x2d50;
0x00000f54 lw s6, -0x7fdc(gp) | s6 = *((gp - 8183));
0x00000f58 lw s2, 0x78(fp) | s2 = *(arg_78h);
0x00000f5c move s0, zero | s0 = 0;
0x00000f60 addiu s5, fp, 0x228 | s5 = fp + 0x228;
0x00000f64 addiu s4, s4, 0x5314 | s4 += str._x__x__x__s__s__s_n;
0x00000f68 sw v0, 0xa0(fp) | *(arg_a0h) = v0;
0x00000f6c sw s7, 0xa8(fp) | *(arg_a8h) = s7;
0x00000f70 lw t9, -0x7f40(gp) | t9 = sym.imp.fread;
| label_2:
0x00000f74 move a3, s1 | a3 = s1;
0x00000f78 addiu a2, zero, 1 | a2 = 1;
0x00000f7c addiu a1, zero, 1 | a1 = 1;
0x00000f80 move a0, s5 | a0 = s5;
0x00000f84 jalr t9 | t9 ();
0x00000f88 addiu v1, zero, 1 | v1 = 1;
0x00000f8c lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 != v1) {
0x00000f90 bne v0, v1, 0x295c | goto label_63;
| }
0x00000f94 lbu v0, 0x228(fp) | v0 = *(arg_228h);
0x00000f98 addiu v1, zero, 0x69 | v1 = 0x69;
0x00000f9c addiu v1, zero, 0x70 | v1 = 0x70;
| if (v0 == v1) {
0x00000fa0 beq v0, v1, 0x168c | goto label_64;
| }
0x00000fa4 addiu v0, fp, 0xe0 | v0 = fp + 0xe0;
| if (v0 != v1) {
0x00000fa8 bne v0, v1, 0x29c4 | goto label_65;
| }
0x00000fac lw t9, -0x7f14(gp) | t9 = sym.imp.__isoc99_fscanf;
0x00000fb0 addiu s7, fp, 0x24c | s7 = fp + 0x24c;
0x00000fb4 addiu s3, fp, 0x22c | s3 = fp + 0x22c;
0x00000fb8 sw s2, 0x1c(sp) | *(var_1ch) = s2;
0x00000fbc sw s7, 0x18(sp) | *(var_18h) = s7;
0x00000fc0 sw s3, 0x14(sp) | *(var_14h) = s3;
0x00000fc4 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00000fc8 addiu a3, fp, 0xbc | a3 = fp + 0xbc;
0x00000fcc addiu a2, fp, 0xb8 | a2 = fp + 0xb8;
0x00000fd0 move a1, s4 | a1 = s4;
0x00000fd4 move a0, s1 | a0 = s1;
0x00000fd8 jalr t9 | t9 ();
0x00000fdc addiu v1, zero, 6 | v1 = 6;
0x00000fe0 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 != v1) {
0x00000fe4 bne v0, v1, 0x29ac | goto label_66;
| }
0x00000fe8 lw t0, 0xb8(fp) | t0 = *(arg_b8h);
0x00000fec lw a3, 0xbc(fp) | a3 = *(arg_bch);
0x00000ff0 lw a2, 0xe0(fp) | a2 = *(arg_e0h);
0x00000ff4 addiu v0, fp, 0x128 | v0 = fp + aav.0x00000128;
0x00000ff8 move v1, zero | v1 = 0;
0x00000ffc addiu a1, zero, 0x10 | a1 = 0x10;
0x00001000 b 0x100c |
| while (a0 == t0) {
| label_1:
0x00001004 addiu v0, v0, 3 | v0 += 3;
| if (v1 == a1) {
0x00001008 beq v1, a1, 0x1060 | goto label_7;
| }
0x0000100c lbu a0, 2(v0) | a0 = *((v0 + 2));
0x00001010 addiu v1, v1, 1 | v1++;
0x00001014 bnel a0, t0, 0x1004 |
| }
0x00001018 lbu a0, 1(v0) | a0 = *((v0 + 1));
0x0000101c addiu v1, v1, 1 | v1++;
| if (a0 == a3) {
0x00001020 bnel a0, a3, 0x1004 | goto label_1;
| }
0x00001024 lbu a0, (v0) | a0 = *(v0);
0x00001028 addiu v1, v1, 1 | v1++;
| if (a0 == a2) {
0x0000102c bnel a0, a2, 0x1004 | goto label_1;
| }
0x00001030 lw t9, 0xa0(fp) | t9 = *(arg_a0h);
0x00001034 sw v1, 0x98(fp) | *(arg_98h) = v1;
0x00001038 move a0, s3 | a0 = s3;
0x0000103c move a2, s2 | a2 = s2;
0x00001040 move a1, s7 | a1 = s7;
0x00001044 jalr t9 | t9 ();
0x00001048 lw v1, 0x98(fp) | v1 = *(arg_98h);
0x0000104c addiu a0, fp, 0x650 | a0 = fp + 0x650;
0x00001050 sll v1, v1, 2 | v1 <<= 2;
0x00001054 addu v1, a0, v1 | v1 = a0 + v1;
0x00001058 lw gp, 0x28(fp) | gp = *(arg_28h);
0x0000105c sw v0, -0x4f8(v1) | *((v1 - 318)) = v0;
| label_7:
0x00001060 addiu s0, s0, 1 | s0++;
0x00001064 addiu v0, zero, 0x10 | v0 = 0x10;
0x00001068 lw t9, -0x7f40(gp) | t9 = sym.imp.fread;
| if (s0 == v0) {
0x0000106c bnel s0, v0, 0xf74 | goto label_2;
| }
0x00001070 lw s7, 0xa8(fp) | s7 = *(arg_a8h);
| label_25:
0x00001074 lw t9, -0x7f94(gp) | t9 = sym.imp.fclose;
0x00001078 move a0, s1 | a0 = s1;
0x0000107c jalr t9 | t9 ();
0x00001080 lw v0, 0xac(fp) | v0 = *(arg_ach);
0x00001084 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00001088 lw v1, 0xb4(fp) | v1 = *(arg_b4h);
0x0000108c lw v0, 0x6144(v0) | v0 = *((v0 + 6225));
0x00001090 lw a0, 0xb0(fp) | a0 = *(arg_b0h);
0x00001094 addiu v0, v0, -2 | v0 += -2;
0x00001098 sltiu v0, v0, 2 | v0 = (v0 < 2) ? 1 : 0;
0x0000109c mul a0, v1, a0 | __asm ("mul a0, v1, a0");
0x000010a0 lw t9, -0x7f44(gp) | t9 = sym.imp.malloc;
| if (v0 != 0) {
0x000010a4 bnez v0, 0x1828 | goto label_67;
| }
0x000010a8 jalr t9 | t9 ();
0x000010ac nop |
0x000010b0 move s0, v0 | s0 = v0;
0x000010b4 lw gp, 0x28(fp) | gp = *(arg_28h);
0x000010b8 sw v0, 0x48(fp) | *(arg_48h) = v0;
| if (v0 == 0) {
0x000010bc beqz v0, 0x2aac | goto label_68;
| }
0x000010c0 lw v0, 0xb0(fp) | v0 = *(arg_b0h);
0x000010c4 lw v0, 0xb4(fp) | v0 = *(arg_b4h);
| if (v0 <= 0) {
0x000010c8 blez v0, 0x28c8 | goto label_69;
| }
0x000010cc lw s5, 0x78(fp) | s5 = *(arg_78h);
0x000010d0 srl s2, v0, 0x1f | s2 = v0 >> 0x1f;
0x000010d4 addu s2, s2, v0 | s2 += v0;
0x000010d8 sra s2, s2, 1 | s2 >>= 1;
0x000010dc andi s4, s2, 3 | s4 = s2 & 3;
0x000010e0 move s1, zero | s1 = 0;
0x000010e4 slti s3, v0, 2 | s3 = (v0 < 2) ? 1 : 0;
| label_3:
0x000010e8 move s6, zero | s6 = 0;
| if (s3 != 0) {
0x000010ec bnez s3, 0x1138 | goto label_70;
| }
| do {
0x000010f0 lw t9, -0x7f40(gp) | t9 = sym.imp.fread;
0x000010f4 move a0, s5 | a0 = s5;
0x000010f8 move a3, s7 | a3 = s7;
0x000010fc addiu a2, zero, 1 | a2 = 1;
0x00001100 addiu a1, zero, 1 | a1 = 1;
0x00001104 jalr t9 | t9 ();
0x00001108 addiu a0, zero, 1 | a0 = 1;
0x0000110c lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 != a0) {
0x00001110 bne v0, a0, 0x1eec | goto label_71;
| }
0x00001114 lbu v0, 0x44c(fp) | v0 = *(arg_44ch);
0x00001118 addiu s0, s0, 2 | s0 += 2;
0x0000111c srl a0, v0, 4 | a0 = v0 >> 4;
0x00001120 addiu s6, s6, 1 | s6++;
0x00001124 sb a0, -2(s0) | *((s0 - 2)) = a0;
0x00001128 andi v0, v0, 0xf | v0 &= 0xf;
0x0000112c slt a0, s6, s2 | a0 = (s6 < s2) ? 1 : 0;
0x00001130 sb v0, -1(s0) | *((s0 - 1)) = v0;
0x00001134 bnez a0, 0x10f0 |
| } while (a0 != 0);
| label_70:
0x00001138 lw t9, -0x7f40(gp) | t9 = sym.imp.fread;
| if (s4 != 0) {
0x0000113c bnez s4, 0x161c | goto label_72;
| }
| label_6:
0x00001140 lw v0, 0xb0(fp) | v0 = *(arg_b0h);
0x00001144 addiu s1, s1, 1 | s1++;
0x00001148 lw t9, -0x7f44(gp) | t9 = sym.imp.malloc;
| if (v0 != s1) {
0x0000114c bne v0, s1, 0x10e8 | goto label_3;
| }
0x00001150 lw a0, 0xb4(fp) | a0 = *(arg_b4h);
0x00001154 jalr t9 | t9 ();
0x00001158 lw v1, 0xb0(fp) | v1 = *(arg_b0h);
0x0000115c lw gp, 0x28(fp) | gp = *(arg_28h);
0x00001160 srl s3, v1, 0x1f | s3 = v1 >> 0x1f;
0x00001164 addu s3, s3, v1 | s3 += v1;
0x00001168 slti v1, v1, 2 | v1 = (v1 < 2) ? 1 : 0;
0x0000116c move s2, v0 | s2 = v0;
0x00001170 sra s3, s3, 1 | s3 >>= 1;
| if (v1 != 0) {
0x00001174 bnez v1, 0x11f4 | goto label_39;
| }
0x00001178 lw v0, 0xb0(fp) | v0 = *(arg_b0h);
0x0000117c lw s5, 0xb4(fp) | s5 = *(arg_b4h);
0x00001180 addiu s0, v0, -1 | s0 = v0 + -1;
0x00001184 mul v1, s0, s5 | __asm ("mul v1, s0, s5");
0x00001188 lw v0, 0x48(fp) | v0 = *(arg_48h);
0x0000118c move s1, zero | s1 = 0;
0x00001190 move s4, v0 | s4 = v0;
0x00001194 addu s0, v1, v0 | s0 = v1 + v0;
| do {
0x00001198 lw t9, -0x7f24(gp) | t9 = sym.imp.memcpy;
0x0000119c move a1, s4 | a1 = s4;
0x000011a0 move a2, s5 | a2 = s5;
0x000011a4 move a0, s2 | a0 = s2;
0x000011a8 jalr t9 | t9 ();
0x000011ac lw gp, 0x28(fp) | gp = *(arg_28h);
0x000011b0 move a1, s0 | a1 = s0;
0x000011b4 move a0, s4 | a0 = s4;
0x000011b8 lw t9, -0x7f24(gp) | t9 = sym.imp.memcpy;
0x000011bc move a2, s5 | a2 = s5;
0x000011c0 jalr t9 | t9 ();
0x000011c4 lw gp, 0x28(fp) | gp = *(arg_28h);
0x000011c8 move a0, s0 | a0 = s0;
0x000011cc move a2, s5 | a2 = s5;
0x000011d0 lw t9, -0x7f24(gp) | t9 = sym.imp.memcpy;
0x000011d4 move a1, s2 | a1 = s2;
0x000011d8 addiu s1, s1, 1 | s1++;
0x000011dc jalr t9 | t9 ();
0x000011e0 slt v0, s1, s3 | v0 = (s1 < s3) ? 1 : 0;
0x000011e4 lw gp, 0x28(fp) | gp = *(arg_28h);
0x000011e8 addu s4, s4, s5 | s4 += s5;
0x000011ec subu s0, s0, s5 | __asm ("subu s0, s0, s5");
0x000011f0 bnez v0, 0x1198 |
| } while (v0 != 0);
| label_39:
0x000011f4 lw t9, -0x7f20(gp) | t9 = sym.imp.free;
0x000011f8 move a0, s2 | a0 = s2;
0x000011fc jalr t9 | t9 ();
0x00001200 lw gp, 0x28(fp) | gp = *(arg_28h);
| label_15:
0x00001204 lw t9, -0x7f94(gp) | t9 = sym.imp.fclose;
0x00001208 move a0, s7 | a0 = s7;
0x0000120c jalr t9 | t9 ();
0x00001210 lw v0, 0xb0(fp) | v0 = *(arg_b0h);
0x00001214 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00001218 sw v0, 0x1c(sp) | *(var_1ch) = v0;
0x0000121c lw v0, 0xb4(fp) | v0 = *(arg_b4h);
0x00001220 addiu s2, fp, 0x24c | s2 = fp + 0x24c;
0x00001224 sw v0, 0x18(sp) | *(var_18h) = v0;
0x00001228 lw v0, 0xd0(fp) | v0 = *(arg_d0h);
0x0000122c sw s2, 0x40(fp) | *(arg_40h) = s2;
0x00001230 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00001234 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001238 lw t9, -0x7f04(gp) | t9 = sym.imp.__snprintf_chk
0x0000123c addiu v0, v0, 0x53d0 | v0 += str._s__dx_d_.tmp;
0x00001240 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00001244 addiu a3, zero, 0x200 | a3 = 0x200;
0x00001248 addiu a2, zero, 1 | a2 = 1;
0x0000124c addiu a1, zero, 0x200 | a1 = 0x200;
0x00001250 move a0, s2 | a0 = s2;
0x00001254 jalr t9 | t9 ();
0x00001258 slti v0, v0, 0x200 | v0 = (v0 < 0x200) ? 1 : 0;
0x0000125c lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 == 0) {
0x00001260 beqz v0, 0x2358 | goto label_73;
| }
0x00001264 lw s0, -0x7fdc(gp) | s0 = *((gp - 8183));
0x00001268 addiu s1, zero, 0x11 | s1 = 0x11;
0x0000126c addiu s0, s0, 0x5484 | s0 += 0x5484;
0x00001270 b 0x12a0 |
| while (v0 == 0) {
0x00001274 lw t9, -0x7f78(gp) | t9 = sym.imp.__errno_location;
0x00001278 jalr t9 | t9 ();
0x0000127c nop |
0x00001280 lw v0, (v0) | v0 = *(v0);
0x00001284 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 != s1) {
0x00001288 bne v0, s1, 0x1e5c | goto label_74;
| }
0x0000128c lw t9, -0x7f34(gp) | t9 = sym.imp.unlink;
0x00001290 move a0, s2 | a0 = s2;
0x00001294 jalr t9 | t9 ();
0x00001298 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 < 0) {
0x0000129c bltz v0, 0x1ec8 | goto label_75;
| }
0x000012a0 lw t9, -0x7f1c(gp) | t9 = sym.imp.fopen;
0x000012a4 move a1, s0 | a1 = s0;
0x000012a8 move a0, s2 | a0 = s2;
0x000012ac jalr t9 | t9 ();
0x000012b0 lw gp, 0x28(fp) | gp = *(arg_28h);
0x000012b4 beqz v0, 0x1274 |
| }
0x000012b8 lw s0, 0x40(fp) | s0 = *(arg_40h);
0x000012bc lw t9, -0x7f38(gp) | t9 = sym.imp.__xstat;
0x000012c0 addiu a2, fp, 0x198 | a2 = fp + 0x198;
0x000012c4 move a1, s0 | a1 = s0;
0x000012c8 addiu a0, zero, 3 | a0 = 3;
0x000012cc move s5, v0 | s5 = v0;
0x000012d0 jalr t9 | t9 ();
0x000012d4 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 < 0) {
0x000012d8 bltz v0, 0x2334 | goto label_76;
| }
0x000012dc lw t9, -0x7f70(gp) | t9 = sym.imp.setvbuf;
0x000012e0 lw a3, 0x1e8(fp) | a3 = *(arg_1e8h);
0x000012e4 move a2, zero | a2 = 0;
0x000012e8 move a1, zero | a1 = 0;
0x000012ec move a0, s5 | a0 = s5;
0x000012f0 jalr t9 | t9 ();
0x000012f4 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 != 0) {
0x000012f8 bnez v0, 0x1f14 | goto label_77;
| }
| label_27:
0x000012fc sw sp, 0x38(fp) |
0x00001300 addiu sp, sp, -0x50 |
0x00001304 addiu a0, zero, 0x6f | a0 = 0x6f;
0x00001308 lw v0, 0xac(fp) | v0 = *(arg_ach);
0x0000130c sb a0, 0x28(sp) | *(var_28h_2) = a0;
0x00001310 lw a0, 0xb4(fp) | a0 = *(arg_b4h);
0x00001314 lw v0, 0x6144(v0) | v0 = *((v0 + 6225));
0x00001318 sw a0, 0x34(fp) | *(arg_34h) = a0;
0x0000131c addiu a0, zero, 0x67 | a0 = 0x67;
0x00001320 sb a0, 0x29(sp) | *(var_29h) = a0;
0x00001324 addiu a0, zero, 0x32 | a0 = 0x32;
0x00001328 addiu a1, sp, 0x28 | a1 = sp + 0x28;
0x0000132c sb a0, 0x2a(sp) | *(var_2ah) = a0;
0x00001330 addiu v1, zero, 3 | v1 = 3;
0x00001334 addiu a0, zero, 0x30 | a0 = 0x30;
0x00001338 sw a1, 0x3c(fp) | *(arg_3ch) = a1;
0x0000133c sb a0, 0x2b(sp) | *(var_2bh) = a0;
| if (v0 == v1) {
0x00001340 beq v0, v1, 0x2510 | goto label_78;
| }
0x00001344 addiu v1, zero, 2 | v1 = 2;
0x00001348 addiu v1, v0, -4 | v1 = v0 + -4;
| if (v0 == v1) {
0x0000134c beq v0, v1, 0x2740 | goto label_79;
| }
0x00001350 sltiu v1, v1, 2 | v1 = (v1 < 2) ? 1 : 0;
0x00001354 lw v1, 0x3c(fp) | v1 = *(arg_3ch);
| if (v1 != 0) {
0x00001358 bnez v1, 0x1f38 | goto label_80;
| }
0x0000135c sb zero, 4(v1) | *((v1 + 4)) = 0;
| label_28:
0x00001360 lw a3, 0x3c(fp) | a3 = *(arg_3ch);
0x00001364 lw t0, 0xb4(fp) | t0 = *(arg_b4h);
0x00001368 lw t1, 0xb0(fp) | t1 = *(arg_b0h);
0x0000136c addiu v1, zero, -6 | v1 = -6;
0x00001370 ext a1, t0, 8, 8 | __asm ("ext a1, t0, 8, 8");
0x00001374 ext a0, t1, 8, 8 | __asm ("ext a0, t1, 8, 8");
0x00001378 addiu a2, zero, 0x10 | a2 = 0x10;
0x0000137c and v1, v0, v1 | v1 = v0 & v1;
0x00001380 sb a2, 5(a3) | *((a3 + 5)) = a2;
0x00001384 sb t0, 6(a3) | *((a3 + 6)) = t0;
0x00001388 sb a1, 7(a3) | *((a3 + 7)) = a1;
0x0000138c sb t1, 8(a3) | *((a3 + 8)) = t1;
0x00001390 sb a0, 9(a3) | *((a3 + 9)) = a0;
| if (v1 == 0) {
0x00001394 beqz v1, 0x1f88 | goto label_81;
| }
0x00001398 addiu v0, v0, -2 | v0 += -2;
0x0000139c sltiu v0, v0, 2 | v0 = (v0 < 2) ? 1 : 0;
0x000013a0 lw v1, 0x3c(fp) | v1 = *(arg_3ch);
| if (v0 == 0) {
0x000013a4 beqz v0, 0x27d8 | goto label_82;
| }
0x000013a8 addiu v0, zero, -1 | v0 = -1;
0x000013ac sb v0, 0xa(v1) | *((v1 + 10)) = v0;
0x000013b0 sb v0, 0xb(v1) | *((v1 + 11)) = v0;
0x000013b4 addiu v0, zero, 1 | v0 = 1;
0x000013b8 sb v0, 0xc(v1) | *((v1 + 12)) = v0;
0x000013bc sb zero, 0xd(v1) | *((v1 + 13)) = 0;
| label_36:
0x000013c0 lw v0, 0x3c(fp) | v0 = *(arg_3ch);
0x000013c4 lw t9, -0x7f74(gp) | t9 = sym.imp.memset;
0x000013c8 addiu a2, zero, 0x40 | a2 = 0x40;
0x000013cc move a1, zero | a1 = 0;
0x000013d0 addiu a0, v0, 0xe | a0 = v0 + 0xe;
0x000013d4 jalr t9 | t9 ();
0x000013d8 lw gp, 0x28(fp) | gp = *(arg_28h);
| label_30:
0x000013dc lw t9, -0x7f3c(gp) | t9 = sym.imp.fwrite;
0x000013e0 lw a0, 0x3c(fp) | a0 = *(arg_3ch);
0x000013e4 move a3, s5 | a3 = s5;
0x000013e8 addiu a2, zero, 0x4e | a2 = 0x4e;
0x000013ec addiu a1, zero, 1 | a1 = 1;
0x000013f0 jalr t9 | t9 ();
0x000013f4 addiu v1, zero, 0x4e | v1 = 0x4e;
0x000013f8 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 != v1) {
0x000013fc bne v0, v1, 0x251c | goto label_83;
| }
0x00001400 lw v0, 0xac(fp) | v0 = *(arg_ach);
0x00001404 lw v0, 0x6144(v0) | v0 = *((v0 + 6225));
0x00001408 addiu v1, v0, -2 | v1 = v0 + -2;
0x0000140c sltiu v1, v1, 2 | v1 = (v1 < 2) ? 1 : 0;
0x00001410 lw sp, 0x38(fp) |
| if (v1 != 0) {
0x00001414 bnez v1, 0x236c | goto label_84;
| }
0x00001418 addiu v0, v0, -4 | v0 += -4;
0x0000141c sltiu v0, v0, 2 | v0 = (v0 < 2) ? 1 : 0;
0x00001420 lw v1, 0xb4(fp) | v1 = *(arg_b4h);
| if (v0 == 0) {
0x00001424 bnez v0, 0x1438 |
0x00001428 srl v0, v1, 0x1f | v0 = v1 >> 0x1f;
0x0000142c addu v0, v0, v1 | v0 += v1;
0x00001430 sra v0, v0, 1 | v0 >>= 1;
0x00001434 sw v0, 0x34(fp) | *(arg_34h) = v0;
| }
0x00001438 lw s7, 0x34(fp) | s7 = *(arg_34h);
0x0000143c lw t9, -0x7f44(gp) | t9 = sym.imp.malloc;
0x00001440 move a0, s7 | a0 = s7;
0x00001444 jalr t9 | t9 ();
0x00001448 move s3, v0 | s3 = v0;
0x0000144c lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 == 0) {
0x00001450 beqz v0, 0x2904 | goto label_85;
| }
0x00001454 lw s2, 0x48(fp) | s2 = *(arg_48h);
0x00001458 lw s6, 0x44(fp) | s6 = *(arg_44h);
0x0000145c lw s4, 0xb0(fp) | s4 = *(arg_b0h);
0x00001460 sll s0, s7, 1 | s0 = s7 << 1;
0x00001464 addu s1, v0, s7 | s1 = v0 + s7;
| label_4:
0x00001468 slt v0, s6, s4 | v0 = (s6 < s4) ? 1 : 0;
0x0000146c lw v0, 0xac(fp) | v0 = *(arg_ach);
| if (v0 == 0) {
0x00001470 beqz v0, 0x25cc | goto label_86;
| }
0x00001474 lw v0, 0x6144(v0) | v0 = *((v0 + 6225));
0x00001478 addiu v0, v0, -4 | v0 += -4;
0x0000147c sltiu v0, v0, 2 | v0 = (v0 < 2) ? 1 : 0;
| if (v0 != 0) {
0x00001480 bnez v0, 0x1f60 | goto label_87;
| }
0x00001484 nop |
0x00001488 move v1, s3 | v1 = s3;
| if (s7 <= 0) {
0x0000148c blez s7, 0x14c0 | goto label_29;
| }
0x00001490 move a1, s2 | a1 = s2;
| do {
0x00001494 lbu v0, (a1) | v0 = *(a1);
0x00001498 addiu a1, a1, 2 | a1 += 2;
0x0000149c andi a0, v0, 0xf | a0 = v0 & 0xf;
0x000014a0 sb a0, (v1) | *(v1) = a0;
0x000014a4 lbu v0, -1(a1) | v0 = *((a1 - 1));
0x000014a8 addiu v1, v1, 1 | v1++;
0x000014ac sll v0, v0, 4 | v0 <<= 4;
0x000014b0 or v0, v0, a0 | v0 |= a0;
0x000014b4 sb v0, -1(v1) | *((v1 - 1)) = v0;
0x000014b8 bne v1, s1, 0x1494 |
| } while (v1 != s1);
0x000014bc addu s2, s2, s0 | s2 += s0;
| label_29:
0x000014c0 lw t9, -0x7f3c(gp) | t9 = sym.imp.fwrite;
0x000014c4 move a3, s5 | a3 = s5;
0x000014c8 addiu a2, zero, 1 | a2 = 1;
0x000014cc move a1, s7 | a1 = s7;
0x000014d0 move a0, s3 | a0 = s3;
0x000014d4 jalr t9 | t9 ();
0x000014d8 addiu v1, zero, 1 | v1 = 1;
0x000014dc lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 != v1) {
0x000014e0 bne v0, v1, 0x2560 | goto label_88;
| }
0x000014e4 addiu s6, s6, 1 | s6++;
0x000014e8 b 0x1468 | goto label_4;
| label_47:
0x000014ec addiu s4, s4, -3 | s4 += -3;
0x000014f0 lw v0, (v0) | v0 = *(v0);
0x000014f4 sll v0, v0, 2 | v0 <<= 2;
| if (s4 != v0) {
0x000014f8 bne s4, v0, 0x2ad4 | goto label_89;
| }
0x000014fc addu s1, s1, v0 | s1 += v0;
0x00001500 lw a0, (s1) | a0 = *(s1);
0x00001504 lw v1, 4(s1) | v1 = *((s1 + 1));
0x00001508 lw v0, 8(s1) | v0 = *((s1 + 2));
0x0000150c sw a0, 0xc8(fp) | *(arg_c8h) = a0;
0x00001510 sw v1, 0xcc(fp) | *(arg_cch) = v1;
0x00001514 sw v0, 0xd0(fp) | *(arg_d0h) = v0;
0x00001518 b 0xd1c | goto label_5;
| label_60:
0x0000151c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001520 lw t9, -0x7f74(gp) | t9 = sym.imp.memset;
0x00001524 addiu a0, v0, 0x56e0 | a0 = v0 + str.type;
0x00001528 lw v1, 0x56e0(v0) | v1 = *(v0);
0x0000152c lhu v0, 4(a0) | v0 = *((a0 + 2));
0x00001530 addiu a2, zero, 0x1fa | a2 = 0x1fa;
0x00001534 move a1, zero | a1 = 0;
0x00001538 addiu a0, fp, 0x452 | a0 = fp + 0x452;
0x0000153c sw v1, 0x44c(fp) | *(arg_44ch) = v1;
0x00001540 sh v0, 0x450(fp) | *(arg_450h) = v0;
0x00001544 jalr t9 | t9 ();
0x00001548 lw v0, 0xac(fp) | v0 = *(arg_ach);
0x0000154c lw v0, 0x6144(v0) | v0 = *((v0 + 6225));
0x00001550 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 == 0) {
0x00001554 beqz v0, 0x1d58 | goto label_90;
| }
0x00001558 addiu v1, zero, 1 | v1 = 1;
0x0000155c addiu v0, v0, -2 | v0 += -2;
| if (v0 == v1) {
0x00001560 beq v0, v1, 0x1edc | goto label_91;
| }
0x00001564 sltiu v0, v0, 2 | v0 = (v0 < 2) ? 1 : 0;
0x00001568 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
| if (v0 != 0) {
0x0000156c bnez v0, 0x17ec | goto label_92;
| }
| label_12:
0x00001570 lw s0, -0x7fd8(gp) | s0 = *((gp - 8182));
0x00001574 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001578 lw t9, -0x7f84(gp) | t9 = sym.imp.__printf_chk
0x0000157c lw a3, 0x6010(s0) | a3 = *((s0 + 6148));
0x00001580 lw a2, 0x78(fp) | a2 = *(arg_78h);
0x00001584 addiu a0, zero, 1 | a0 = 1;
0x00001588 addiu a1, a1, 0x5230 | a1 += str._s_nscalable_s_n;
0x0000158c jalr t9 | t9 ();
0x00001590 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00001594 move a0, zero | a0 = 0;
0x00001598 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x0000159c lw t9, -0x7f50(gp) | t9 = sym.imp.exit;
0x000015a0 addiu v0, v0, 0x5244 | v0 += str.true;
0x000015a4 sw v0, 0x6010(s0) | *((s0 + 6148)) = v0;
0x000015a8 jalr t9 | t9 ();
| label_54:
0x000015ac lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000015b0 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x000015b4 lw a3, 0x6140(s0) | a3 = *((s0 + 6224));
0x000015b8 addiu a2, a2, 0x50b0 | a2 += str.bmp_header_size_is_:_d;
0x000015bc addiu a1, zero, 1 | a1 = 1;
0x000015c0 addiu a0, zero, 7 | a0 = 7;
0x000015c4 jalr t9 | t9 ();
0x000015c8 lw gp, 0x28(fp) | gp = *(arg_28h);
0x000015cc lw s0, 0x6140(s0) | s0 = *((s0 + 6224));
0x000015d0 sw s7, 0x10(sp) | *(var_10h) = s7;
0x000015d4 lw t9, -0x7f88(gp) | t9 = sym.imp.__fread_chk;
0x000015d8 move a3, s0 | a3 = s0;
0x000015dc addiu a2, zero, 1 | a2 = 1;
0x000015e0 addiu a1, zero, 0x28 | a1 = 0x28;
0x000015e4 addiu a0, fp, 0xe0 | a0 = fp + 0xe0;
0x000015e8 jalr t9 | t9 ();
0x000015ec lw gp, 0x28(fp) | gp = *(arg_28h);
| if (s0 == v0) {
0x000015f0 beq s0, v0, 0x177c | goto label_93;
| }
| label_56:
0x000015f4 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000015f8 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x000015fc addiu a0, zero, 5 | a0 = 5;
0x00001600 addiu a2, a2, 0x50c8 | a2 += str.read_bitmapcoreheader_failed__expected_Windows_24_bits_BMP__Windows_4_bits_BMP_or_OS_2_4_bits_BMP.;
| label_8:
0x00001604 addiu a1, zero, 1 | a1 = 1;
0x00001608 jalr t9 | t9 ();
0x0000160c lw gp, 0x28(fp) | gp = *(arg_28h);
0x00001610 lw t9, -0x7f50(gp) | t9 = sym.imp.exit;
0x00001614 addiu a0, zero, 1 | a0 = 1;
0x00001618 jalr t9 | t9 ();
| label_72:
0x0000161c move a3, s7 | a3 = s7;
0x00001620 addiu a2, zero, 1 | a2 = 1;
0x00001624 addiu a1, zero, 1 | a1 = 1;
0x00001628 move a0, s5 | a0 = s5;
0x0000162c jalr t9 | t9 ();
0x00001630 move s6, v0 | s6 = v0;
0x00001634 addiu v0, zero, 1 | v0 = 1;
0x00001638 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (s6 != v0) {
0x0000163c bne s6, v0, 0x1660 | goto label_94;
| }
0x00001640 lw t9, -0x7f40(gp) | t9 = sym.imp.fread;
0x00001644 move a3, s7 | a3 = s7;
0x00001648 addiu a2, zero, 1 | a2 = 1;
0x0000164c addiu a1, zero, 1 | a1 = 1;
0x00001650 move a0, s5 | a0 = s5;
0x00001654 jalr t9 | t9 ();
0x00001658 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 == s6) {
0x0000165c beq v0, s6, 0x1140 | goto label_6;
| }
| label_94:
0x00001660 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001664 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00001668 addiu a0, zero, 5 | a0 = 5;
0x0000166c move a3, s1 | a3 = s1;
0x00001670 addiu a2, a2, 0x53a4 | a2 += str.Premature_end_of_image__read_error:__y_d.;
0x00001674 addiu a1, zero, 1 | a1 = 1;
0x00001678 jalr t9 | t9 ();
0x0000167c lw gp, 0x28(fp) | gp = *(arg_28h);
| label_55:
0x00001680 lw t9, -0x7f50(gp) | t9 = sym.imp.exit;
0x00001684 addiu a0, zero, 1 | a0 = 1;
0x00001688 jalr t9 | t9 ();
| label_64:
0x0000168c lw t9, -0x7f14(gp) | t9 = sym.imp.__isoc99_fscanf;
0x00001690 addiu s3, fp, 0x22c | s3 = fp + 0x22c;
0x00001694 addiu s7, fp, 0x24c | s7 = fp + 0x24c;
0x00001698 sw s2, 0x14(sp) | *(var_14h) = s2;
0x0000169c sw s7, 0x10(sp) | *(var_10h) = s7;
0x000016a0 move a3, s3 | a3 = s3;
0x000016a4 addiu a2, fp, 0xe0 | a2 = fp + 0xe0;
0x000016a8 addiu a1, s6, 0x52c4 | a1 = s6 + str._d__s__s__s_n;
0x000016ac move a0, s1 | a0 = s1;
0x000016b0 jalr t9 | t9 ();
0x000016b4 addiu v1, zero, 4 | v1 = 4;
0x000016b8 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 != v1) {
0x000016bc bne v0, v1, 0x29ac | goto label_66;
| }
0x000016c0 lw v0, 0xe0(fp) | v0 = *(arg_e0h);
0x000016c4 sltiu v0, v0, 0x10 | v0 = (v0 < 0x10) ? 1 : 0;
0x000016c8 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
| if (v0 == 0) {
0x000016cc beqz v0, 0x29dc | goto label_95;
| }
0x000016d0 lw t9, 0xa0(fp) | t9 = *(arg_a0h);
0x000016d4 move a0, s3 | a0 = s3;
0x000016d8 move a2, s2 | a2 = s2;
0x000016dc move a1, s7 | a1 = s7;
0x000016e0 jalr t9 | t9 ();
0x000016e4 lw a0, 0x7c(fp) | a0 = *(arg_7ch);
0x000016e8 sll v1, s0, 2 | v1 = s0 << 2;
0x000016ec addu v1, a0, v1 | v1 = a0 + v1;
0x000016f0 lw gp, 0x28(fp) | gp = *(arg_28h);
0x000016f4 sw v0, (v1) | *(v1) = v0;
0x000016f8 b 0x1060 | goto label_7;
| label_57:
0x000016fc lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001700 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00001704 addiu a0, zero, 5 | a0 = 5;
0x00001708 addiu a2, a2, 0x5194 | a2 += str.read_palette_failed__expecting_16_colors.;
0x0000170c b 0x1604 | goto label_8;
| label_50:
0x00001710 addiu v1, zero, 0x28 | v1 = 0x28;
0x00001714 lbu v1, 0x462(fp) | v1 = *(arg_462h);
| if (v0 != v1) {
0x00001718 bne v0, v1, 0xd98 | goto label_9;
| }
0x0000171c lbu v1, 0x46a(fp) | v1 = *(arg_46ah);
0x00001720 lbu a0, 0x46b(fp) | a0 = *(arg_46bh);
0x00001724 or v1, v1, a0 | v1 |= a0;
0x00001728 lbu v1, 0x462(fp) | v1 = *(arg_462h);
| if (v1 != 0) {
0x0000172c bnez v1, 0xd98 | goto label_9;
| }
0x00001730 lw a1, -0x7fd8(gp) | a1 = *((gp - 8182));
0x00001734 lbu v1, 0x468(fp) | v1 = *(arg_468h);
0x00001738 addiu a0, zero, 4 | a0 = 4;
0x0000173c sw v0, 0x6140(a1) | *((a1 + 6224)) = v0;
| if (v1 == a0) {
0x00001740 beq v1, a0, 0x1f48 | goto label_96;
| }
0x00001744 addiu v0, zero, 0x18 | v0 = 0x18;
0x00001748 lbu v1, 0x462(fp) | v1 = *(arg_462h);
| if (v1 != v0) {
0x0000174c bne v1, v0, 0xd98 | goto label_9;
| }
0x00001750 lw t9, -0x7f94(gp) | t9 = sym.imp.fclose;
0x00001754 move a0, s0 | a0 = s0;
0x00001758 jalr t9 | t9 ();
0x0000175c lw gp, 0x28(fp) | gp = *(arg_28h);
0x00001760 addiu v0, zero, 2 | v0 = 2;
0x00001764 b 0xdc0 | goto label_10;
| label_53:
0x00001768 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0000176c lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00001770 addiu a0, zero, 5 | a0 = 5;
0x00001774 addiu a2, a2, 0x504c | a2 += str.read_bitmapfileheader_failed__expected_Windows_24_bits_BMP__Windows_4_bits_BMP_or_OS_2_4_bits_BMP.;
0x00001778 b 0x1604 | goto label_8;
| label_93:
0x0000177c lw v0, 0xe4(fp) | v0 = *(arg_e4h);
0x00001780 lw v1, 0xe8(fp) | v1 = *(arg_e8h);
0x00001784 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001788 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x0000178c sw v0, 0xb4(fp) | *(arg_b4h) = v0;
0x00001790 move s0, v0 | s0 = v0;
0x00001794 sw v1, 0xb0(fp) | *(arg_b0h) = v1;
0x00001798 move a3, v0 | a3 = v0;
0x0000179c sw v1, 0x10(sp) | *(var_10h) = v1;
0x000017a0 addiu a2, a2, 0x512c | a2 += str.width_is_:_d_height_is_:_d;
0x000017a4 addiu a1, zero, 1 | a1 = 1;
0x000017a8 addiu a0, zero, 7 | a0 = 7;
0x000017ac jalr t9 | t9 ();
0x000017b0 andi v0, s0, 3 | v0 = s0 & 3;
0x000017b4 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 == 0) {
0x000017b8 beqz v0, 0xeac | goto label_11;
| }
0x000017bc lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000017c0 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x000017c4 addiu a2, a2, 0x5148 | a2 += str.Image_width_is_not_a_multiple_of_4__cannot_scale_with_resolution;
0x000017c8 addiu a1, zero, 1 | a1 = 1;
0x000017cc addiu a0, zero, 4 | a0 = 4;
0x000017d0 jalr t9 | t9 ();
0x000017d4 lw gp, 0x28(fp) | gp = *(arg_28h);
0x000017d8 lw v1, -0x7fd8(gp) | v1 = *((gp - 8182));
0x000017dc lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000017e0 addiu v0, v0, 0x518c | v0 += str.false;
0x000017e4 sw v0, 0x6010(v1) | *((v1 + 6148)) = v0;
0x000017e8 b 0xeac | goto label_11;
| label_92:
0x000017ec addiu v1, v0, 0x5210 | v1 = v0 + str.fullcolor;
0x000017f0 lw a1, 0x5210(v0) | a1 = *(v0);
0x000017f4 addiu v0, fp, 0x451 | v0 = fp + 0x451;
0x000017f8 swl a1, 0x454(fp) | __asm ("swl a1, (arg_454h)");
0x000017fc lw a0, 4(v1) | a0 = *((v1 + 1));
0x00001800 swr a1, (v0) | __asm ("swr a1, (v0)");
0x00001804 lbu a2, 8(v1) | a2 = *((v1 + 8));
0x00001808 lbu a1, 9(v1) | a1 = *((v1 + 9));
0x0000180c lbu v1, 0xa(v1) | v1 = *((v1 + 10));
0x00001810 swl a0, 7(v0) | __asm ("swl a0, 7(v0)");
0x00001814 swr a0, 4(v0) | __asm ("swr a0, 4(v0)");
0x00001818 sb a2, 8(v0) | *((v0 + 8)) = a2;
0x0000181c sb a1, 9(v0) | *((v0 + 9)) = a1;
0x00001820 sb v1, 0xa(v0) | *((v0 + 10)) = v1;
0x00001824 b 0x1570 | goto label_12;
| label_67:
0x00001828 sll a0, a0, 1 | a0 <<= 1;
0x0000182c jalr t9 | t9 ();
0x00001830 sw v0, 0x48(fp) | *(arg_48h) = v0;
0x00001834 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 == 0) {
0x00001838 beqz v0, 0x2aac | goto label_68;
| }
0x0000183c lw v1, 0xb4(fp) | v1 = *(arg_b4h);
0x00001840 addiu v0, zero, 4 | v0 = 4;
0x00001844 div zero, v1, v0 | __asm ("div zero, v1, v0");
0x00001848 teq v0, zero, 7 | __asm ("teq v0, zero, 7");
0x0000184c lw v0, 0xb0(fp) | v0 = *(arg_b0h);
0x00001850 mfhi s2 | __asm ("mfhi s2");
| if (v0 <= 0) {
0x00001854 blez v0, 0x2898 | goto label_97;
| }
0x00001858 lw a3, 0xb4(fp) | a3 = *(arg_b4h);
0x0000185c sll v1, s2, 1 | v1 = s2 << 1;
0x00001860 addiu a1, a3, 1 | a1 = a3 + 1;
0x00001864 addiu a2, s2, -1 | a2 = s2 + -1;
0x00001868 sll a0, a1, 1 | a0 = a1 << 1;
0x0000186c addiu s5, fp, 0x22c | s5 = fp + 0x22c;
0x00001870 addu v1, v1, s2 | v1 += s2;
0x00001874 addu a0, a0, a1 | a0 += a1;
0x00001878 addu v1, s5, v1 | v1 = s5 + v1;
0x0000187c sll v0, a2, 1 | v0 = a2 << 1;
0x00001880 addiu a1, zero, -4 | a1 = -4;
0x00001884 addu v0, v0, a2 | v0 += a2;
0x00001888 and a0, a0, a1 | a0 &= a1;
0x0000188c sw v1, 0x90(fp) | *(arg_90h) = v1;
0x00001890 subu v1, a3, s2 | __asm ("subu v1, a3, s2");
0x00001894 sw a0, 0x70(fp) | *(arg_70h) = a0;
0x00001898 sw v1, 0x88(fp) | *(arg_88h) = v1;
0x0000189c addiu a0, v0, 1 | a0 = v0 + 1;
0x000018a0 addiu v1, fp, 0x650 | v1 = fp + 0x650;
0x000018a4 sw a0, 0x68(fp) | *(arg_68h) = a0;
0x000018a8 lw s0, 0x48(fp) | s0 = *(arg_48h);
0x000018ac addiu a0, v0, 2 | a0 = v0 + 2;
0x000018b0 addu v0, v1, v0 | v0 = v1 + v0;
0x000018b4 sw a0, 0x98(fp) | *(arg_98h) = a0;
0x000018b8 move s1, zero | s1 = 0;
0x000018bc addiu s6, fp, 0x238 | s6 = fp + 0x238;
0x000018c0 sw v0, 0x80(fp) | *(arg_80h) = v0;
0x000018c4 sw s7, 0xa8(fp) | *(arg_a8h) = s7;
0x000018c8 lw v0, 0xb4(fp) | v0 = *(arg_b4h);
| label_14:
0x000018cc lw v1, 0x68(fp) | v1 = *(arg_68h);
| if (v0 <= 0) {
0x000018d0 blez v0, 0x1aa0 | goto label_98;
| }
0x000018d4 addiu v0, fp, 0x650 | v0 = fp + 0x650;
0x000018d8 addu v0, v0, v1 | v0 += v1;
0x000018dc lw s4, 0x70(fp) | s4 = *(arg_70h);
0x000018e0 move s3, zero | s3 = 0;
0x000018e4 sw v0, 0xa0(fp) | *(arg_a0h) = v0;
0x000018e8 slti v1, s4, 0xd | v1 = (s4 < 0xd) ? 1 : 0;
| label_13:
0x000018ec lw v0, 0xa8(fp) | v0 = *(arg_a8h);
0x000018f0 addiu s7, zero, 0xc | s7 = 0xc;
| if (v1 == 0) {
0x000018f4 movn s7, s4, v1 | s7 = s4;
| }
0x000018f8 lw t9, -0x7f88(gp) | t9 = sym.imp.__fread_chk;
0x000018fc sw v0, 0x10(sp) | *(var_10h) = v0;
0x00001900 move a3, s7 | a3 = s7;
0x00001904 addiu a2, zero, 1 | a2 = 1;
0x00001908 addiu a1, zero, 0xc | a1 = 0xc;
0x0000190c move a0, s5 | a0 = s5;
0x00001910 jalr t9 | t9 ();
0x00001914 subu s4, s4, s7 | __asm ("subu s4, s4, s7");
0x00001918 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (s7 != v0) {
0x0000191c bne s7, v0, 0x2750 | goto label_99;
| }
0x00001920 lw v0, 0x88(fp) | v0 = *(arg_88h);
0x00001924 slt t1, s3, v0 | t1 = (s3 < v0) ? 1 : 0;
0x00001928 move a1, s5 | a1 = s5;
| if (t1 == 0) {
0x0000192c beqz t1, 0x1b80 | goto label_100;
| }
| label_16:
0x00001930 addiu t0, fp, 0x108 | t0 = fp + 0x108;
0x00001934 addiu a3, fp, 0x118 | a3 = fp + 0x118;
0x00001938 addiu a2, fp, 0x198 | a2 = fp + 0x198;
0x0000193c addiu t8, zero, 0x132 | t8 = 0x132;
0x00001940 addiu t7, zero, 0x259 | t7 = 0x259;
0x00001944 addiu t6, zero, 0x75 | t6 = 0x75;
0x00001948 addiu t5, zero, -0xad | t5 = -0xad;
0x0000194c addiu t4, zero, -0x153 | t4 = -0x153;
0x00001950 addiu t3, zero, -0x1ad | t3 = -0x1ad;
| do {
0x00001954 lbu t9, 1(a1) | t9 = *((a1 + 1));
0x00001958 lbu v0, 2(a1) | v0 = *((a1 + 2));
0x0000195c lbu v1, (a1) | v1 = *(a1);
0x00001960 mult t9, t7 | __asm ("mult t9, t7");
0x00001964 madd v0, t8 | __asm ("madd v0, t8");
0x00001968 madd v1, t6 | __asm ("madd v1, t6");
0x0000196c mflo a0 | __asm ("mflo a0");
0x00001970 mult t9, t4 | __asm ("mult t9, t4");
0x00001974 madd v0, t5 | __asm ("madd v0, t5");
0x00001978 sll ra, v0, 9 | ra = v0 << 9;
0x0000197c mflo v0 | __asm ("mflo v0");
0x00001980 mul t2, t9, t3 | __asm ("mul t2, t9, t3");
0x00001984 sll s7, v1, 9 | s7 = v1 << 9;
0x00001988 sra a0, a0, 0xa | a0 >>= 0xa;
0x0000198c addiu a1, a1, 3 | a1 += 3;
0x00001990 addu v0, v0, s7 | v0 += s7;
0x00001994 addu t9, t2, ra | t9 = t2 + ra;
0x00001998 addiu ra, zero, -0x52 | ra = -0x52;
0x0000199c mul t2, v1, ra | __asm ("mul t2, v1, ra");
0x000019a0 sra v0, v0, 0xa | v0 >>= 0xa;
0x000019a4 sw a0, (t0) | *(t0) = a0;
0x000019a8 sw v0, (a3) | *(a3) = v0;
0x000019ac addiu t0, t0, 4 | t0 += 4;
0x000019b0 addu v1, t2, t9 | v1 = t2 + t9;
0x000019b4 sra v1, v1, 0xa | v1 >>= 0xa;
0x000019b8 sw v1, (a2) | *(a2) = v1;
0x000019bc addiu a3, a3, 4 | a3 += 4;
0x000019c0 addiu a2, a2, 4 | a2 += 4;
0x000019c4 bne s6, a1, 0x1954 |
| } while (s6 != a1);
0x000019c8 lw v0, 0xac(fp) | v0 = *(arg_ach);
0x000019cc lw a1, 0x198(fp) | a1 = *(arg_198h);
0x000019d0 lw v1, 0x118(fp) | v1 = *(arg_118h);
0x000019d4 lw t0, 0x6144(v0) | t0 = *((v0 + 6225));
0x000019d8 lw v0, 0x19c(fp) | v0 = *(arg_19ch);
0x000019dc lw a0, 0x124(fp) | a0 = *(arg_124h);
0x000019e0 addu a1, a1, v0 | a1 += v0;
0x000019e4 lw v0, 0x11c(fp) | v0 = *(arg_11ch);
0x000019e8 srl t2, a1, 0x1f | t2 = a1 >> 0x1f;
0x000019ec addu v1, v1, v0 | v1 += v0;
0x000019f0 lw v0, 0x120(fp) | v0 = *(arg_120h);
0x000019f4 srl a3, v1, 0x1f | a3 = v1 >> 0x1f;
0x000019f8 addu v0, v0, a0 | v0 += a0;
0x000019fc srl a0, v0, 0x1f | a0 = v0 >> 0x1f;
0x00001a00 addiu a2, t0, -2 | a2 = t0 + -2;
0x00001a04 addu a1, t2, a1 | a1 = t2 + a1;
0x00001a08 addu v1, a3, v1 | v1 = a3 + v1;
0x00001a0c addu a0, a0, v0 | a0 += v0;
0x00001a10 sltiu a2, a2, 2 | a2 = (a2 < 2) ? 1 : 0;
0x00001a14 sra a1, a1, 1 | a1 >>= 1;
0x00001a18 lw v0, 0x1a0(fp) | v0 = *(arg_1a0h);
0x00001a1c lw t2, 0x1a4(fp) | t2 = *(arg_1a4h);
0x00001a20 sra v1, v1, 1 | v1 >>= 1;
0x00001a24 sra a0, a0, 1 | a0 >>= 1;
0x00001a28 lw a3, 0x108(fp) | a3 = *(arg_108h);
| if (a2 != 0) {
0x00001a2c bnez a2, 0x1bf8 | goto label_101;
| }
0x00001a30 andi a3, a3, 0xff | a3 &= 0xff;
| label_19:
0x00001a34 addiu v1, v1, 0x80 | v1 += 0x80;
| label_18:
0x00001a38 addiu a1, a1, 0x80 | a1 += 0x80;
0x00001a3c addiu a0, a0, 0x80 | a0 += 0x80;
0x00001a40 andi v1, v1, 0xff | v1 &= 0xff;
| if (t1 == 0) {
0x00001a44 beqz t1, 0x1bc0 | goto label_102;
| }
0x00001a48 sb v1, (s0) | *(s0) = v1;
0x00001a4c sb a3, 1(s0) | *((s0 + 1)) = a3;
0x00001a50 sb a1, 2(s0) | *((s0 + 2)) = a1;
0x00001a54 lw a1, 0x10c(fp) | a1 = *(arg_10ch);
0x00001a58 addu v1, v0, t2 | v1 = v0 + t2;
0x00001a5c srl v0, v1, 0x1f | v0 = v1 >> 0x1f;
0x00001a60 sb a1, 3(s0) | *((s0 + 3)) = a1;
0x00001a64 sb a0, 4(s0) | *((s0 + 4)) = a0;
0x00001a68 addu v0, v0, v1 | v0 += v1;
0x00001a6c sra v0, v0, 1 | v0 >>= 1;
0x00001a70 lw v1, 0x110(fp) | v1 = *(arg_110h);
0x00001a74 addiu v0, v0, 0x80 | v0 += 0x80;
0x00001a78 sb v1, 5(s0) | *((s0 + 5)) = v1;
0x00001a7c sb v0, 6(s0) | *((s0 + 6)) = v0;
0x00001a80 lw v0, 0x114(fp) | v0 = *(arg_114h);
0x00001a84 addiu s0, s0, 8 | s0 += 8;
0x00001a88 sb v0, -1(s0) | *((s0 - 1)) = v0;
| label_17:
0x00001a8c lw v0, 0xb4(fp) | v0 = *(arg_b4h);
0x00001a90 addiu s3, s3, 4 | s3 += 4;
0x00001a94 slt v0, s3, v0 | v0 = (s3 < v0) ? 1 : 0;
0x00001a98 slti v1, s4, 0xd | v1 = (s4 < 0xd) ? 1 : 0;
| if (v0 != 0) {
0x00001a9c bnez v0, 0x18ec | goto label_13;
| }
| label_98:
0x00001aa0 lw v0, 0xb0(fp) | v0 = *(arg_b0h);
0x00001aa4 addiu s1, s1, 1 | s1++;
0x00001aa8 lw v0, 0xb4(fp) | v0 = *(arg_b4h);
| if (v0 != s1) {
0x00001aac bne v0, s1, 0x18cc | goto label_14;
| }
0x00001ab0 lw t9, -0x7f44(gp) | t9 = sym.imp.malloc;
0x00001ab4 sll s1, v0, 1 | s1 = v0 << 1;
0x00001ab8 move a0, s1 | a0 = s1;
0x00001abc lw s7, 0xa8(fp) | s7 = *(arg_a8h);
0x00001ac0 jalr t9 | t9 ();
0x00001ac4 lw v1, 0xb0(fp) | v1 = *(arg_b0h);
0x00001ac8 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00001acc srl s4, v1, 0x1f | s4 = v1 >> 0x1f;
0x00001ad0 addu s4, s4, v1 | s4 += v1;
0x00001ad4 slti v1, v1, 2 | v1 = (v1 < 2) ? 1 : 0;
0x00001ad8 move s3, v0 | s3 = v0;
0x00001adc sra s4, s4, 1 | s4 >>= 1;
| if (v1 != 0) {
0x00001ae0 bnez v1, 0x1b6c | goto label_38;
| }
0x00001ae4 lw v0, 0xb0(fp) | v0 = *(arg_b0h);
0x00001ae8 move s2, zero | s2 = 0;
0x00001aec addiu s0, v0, -1 | s0 = v0 + -1;
0x00001af0 lw v0, 0xb4(fp) | v0 = *(arg_b4h);
0x00001af4 mul s0, s0, v0 | __asm ("mul s0, s0, v0");
0x00001af8 negu s5, v0 | __asm ("negu s5, v0");
0x00001afc lw v0, 0x48(fp) | v0 = *(arg_48h);
0x00001b00 sll s5, s5, 1 | s5 <<= 1;
0x00001b04 move s6, v0 | s6 = v0;
0x00001b08 sll s0, s0, 1 | s0 <<= 1;
0x00001b0c addu s0, v0, s0 | s0 = v0 + s0;
| do {
0x00001b10 lw t9, -0x7f24(gp) | t9 = sym.imp.memcpy;
0x00001b14 move a1, s6 | a1 = s6;
0x00001b18 move a2, s1 | a2 = s1;
0x00001b1c move a0, s3 | a0 = s3;
0x00001b20 jalr t9 | t9 ();
0x00001b24 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00001b28 move a1, s0 | a1 = s0;
0x00001b2c move a0, s6 | a0 = s6;
0x00001b30 lw t9, -0x7f24(gp) | t9 = sym.imp.memcpy;
0x00001b34 move a2, s1 | a2 = s1;
0x00001b38 jalr t9 | t9 ();
0x00001b3c lw gp, 0x28(fp) | gp = *(arg_28h);
0x00001b40 move a0, s0 | a0 = s0;
0x00001b44 move a2, s1 | a2 = s1;
0x00001b48 lw t9, -0x7f24(gp) | t9 = sym.imp.memcpy;
0x00001b4c move a1, s3 | a1 = s3;
0x00001b50 addiu s2, s2, 1 | s2++;
0x00001b54 jalr t9 | t9 ();
0x00001b58 slt v0, s2, s4 | v0 = (s2 < s4) ? 1 : 0;
0x00001b5c lw gp, 0x28(fp) | gp = *(arg_28h);
0x00001b60 addu s6, s6, s1 | s6 += s1;
0x00001b64 addu s0, s0, s5 | s0 += s5;
0x00001b68 bnez v0, 0x1b10 |
| } while (v0 != 0);
| label_38:
0x00001b6c lw t9, -0x7f20(gp) | t9 = sym.imp.free;
0x00001b70 move a0, s3 | a0 = s3;
0x00001b74 jalr t9 | t9 ();
0x00001b78 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00001b7c b 0x1204 | goto label_15;
| label_100:
0x00001b80 lw a0, 0x98(fp) | a0 = *(arg_98h);
0x00001b84 addiu v1, fp, 0x650 | v1 = fp + 0x650;
0x00001b88 lw v0, 0x90(fp) | v0 = *(arg_90h);
0x00001b8c addu v1, v1, a0 | v1 += a0;
| do {
0x00001b90 lw a0, 0x80(fp) | a0 = *(arg_80h);
0x00001b94 addiu v0, v0, 3 | v0 += 3;
0x00001b98 lbu a0, -0x424(a0) | a0 = *((a0 - 1060));
0x00001b9c sb a0, -3(v0) | *((v0 - 3)) = a0;
0x00001ba0 lw a0, 0xa0(fp) | a0 = *(arg_a0h);
0x00001ba4 lbu a0, -0x424(a0) | a0 = *((a0 - 1060));
0x00001ba8 sb a0, -2(v0) | *((v0 - 2)) = a0;
0x00001bac lbu a0, -0x424(v1) | a0 = *((v1 - 1060));
0x00001bb0 sb a0, -1(v0) | *((v0 - 1)) = a0;
0x00001bb4 bne s6, v0, 0x1b90 |
| } while (s6 != v0);
0x00001bb8 move a1, s5 | a1 = s5;
0x00001bbc b 0x1930 | goto label_16;
| label_102:
0x00001bc0 slti v0, s2, 2 | v0 = (s2 < 2) ? 1 : 0;
0x00001bc4 sb v1, (s0) | *(s0) = v1;
0x00001bc8 sb a3, 1(s0) | *((s0 + 1)) = a3;
| if (v0 != 0) {
0x00001bcc bnez v0, 0x1d40 | goto label_103;
| }
0x00001bd0 sb a1, 2(s0) | *((s0 + 2)) = a1;
0x00001bd4 lw v1, 0x10c(fp) | v1 = *(arg_10ch);
0x00001bd8 addiu v0, zero, 3 | v0 = 3;
0x00001bdc sb v1, 3(s0) | *((s0 + 3)) = v1;
| if (s2 != v0) {
0x00001be0 bne s2, v0, 0x1d50 | goto label_104;
| }
0x00001be4 sb a0, 4(s0) | *((s0 + 4)) = a0;
0x00001be8 lw v0, 0x110(fp) | v0 = *(arg_110h);
0x00001bec addiu s0, s0, 6 | s0 += 6;
0x00001bf0 sb v0, -1(s0) | *((s0 - 1)) = v0;
0x00001bf4 b 0x1a8c | goto label_17;
| label_101:
0x00001bf8 addiu a2, zero, 0xff | a2 = 0xff;
0x00001bfc lw a3, 0x10c(fp) | a3 = *(arg_10ch);
| if (a3 == a2) {
0x00001c00 bne a3, a2, 0x1c14 |
0x00001c04 addiu a2, zero, 0xfe | a2 = 0xfe;
0x00001c08 sw a2, 0x108(fp) | *(arg_108h) = a2;
0x00001c0c lw a3, 0x10c(fp) | a3 = *(arg_10ch);
0x00001c10 addiu a2, zero, 0xff | a2 = 0xff;
| }
0x00001c14 lw a3, 0x110(fp) | a3 = *(arg_110h);
| if (a3 == a2) {
0x00001c18 bne a3, a2, 0x1c28 |
0x00001c1c addiu a2, zero, 0xfe | a2 = 0xfe;
0x00001c20 sw a2, 0x10c(fp) | *(arg_10ch) = a2;
0x00001c24 lw a3, 0x110(fp) | a3 = *(arg_110h);
| }
0x00001c28 addiu a2, zero, 0xff | a2 = 0xff;
0x00001c2c lw a3, 0x114(fp) | a3 = *(arg_114h);
| if (a3 == a2) {
0x00001c30 bne a3, a2, 0x1c44 |
0x00001c34 addiu a2, zero, 0xfe | a2 = 0xfe;
0x00001c38 sw a2, 0x110(fp) | *(arg_110h) = a2;
0x00001c3c lw a3, 0x114(fp) | a3 = *(arg_114h);
0x00001c40 addiu a2, zero, 0xff | a2 = 0xff;
| }
0x00001c44 addiu a2, zero, 3 | a2 = 3;
| if (a3 == a2) {
0x00001c48 bne a3, a2, 0x1c58 |
0x00001c4c addiu a2, zero, 0xfe | a2 = 0xfe;
0x00001c50 sw a2, 0x114(fp) | *(arg_114h) = a2;
0x00001c54 addiu a2, zero, 3 | a2 = 3;
| }
0x00001c58 lbu a2, 0x12a(fp) | a2 = *(arg_12ah);
| if (t0 != a2) {
0x00001c5c bne t0, a2, 0x1d48 | goto label_105;
| }
0x00001c60 lbu a3, 0x22e(fp) | a3 = *(arg_22eh);
0x00001c64 lbu t0, 0x22d(fp) | t0 = *(arg_22dh);
| if (a3 == a2) {
0x00001c68 beq a3, a2, 0x1cbc | goto label_106;
| }
0x00001c6c lbu t0, 0x231(fp) | t0 = *(arg_231h);
| label_20:
0x00001c70 lbu a3, 0x108(fp) | a3 = *(arg_108h);
| if (t0 == a2) {
0x00001c74 beq t0, a2, 0x1ce0 | goto label_107;
| }
| label_21:
0x00001c78 lbu t0, 0x234(fp) | t0 = *(arg_234h);
| label_22:
0x00001c7c lbu t3, 0x233(fp) | t3 = *(arg_233h);
| if (t0 == a2) {
0x00001c80 beq t0, a2, 0x1d18 | goto label_108;
| }
| label_24:
0x00001c84 lbu t0, 0x237(fp) | t0 = *(arg_237h);
| label_23:
0x00001c88 addiu v1, v1, 0x80 | v1 += 0x80;
| if (t0 == a2) {
0x00001c8c bnel t0, a2, 0x1a38 | goto label_18;
| }
0x00001c90 lbu t0, 0x236(fp) | t0 = *(arg_236h);
0x00001c94 lbu a2, 0x129(fp) | a2 = *(arg_129h);
0x00001c98 addiu v1, v1, 0x80 | v1 += 0x80;
| if (t0 == a2) {
0x00001c9c bnel t0, a2, 0x1a38 | goto label_18;
| }
0x00001ca0 lbu t0, 0x235(fp) | t0 = *(arg_235h);
0x00001ca4 lbu a2, 0x128(fp) | a2 = *(arg_128h);
0x00001ca8 addiu v1, v1, 0x80 | v1 += 0x80;
| if (t0 == a2) {
0x00001cac bnel t0, a2, 0x1a38 | goto label_18;
| }
0x00001cb0 addiu a2, zero, 0xff | a2 = 0xff;
0x00001cb4 sw a2, 0x114(fp) | *(arg_114h) = a2;
0x00001cb8 b 0x1a34 | goto label_19;
| label_106:
0x00001cbc lbu a3, 0x129(fp) | a3 = *(arg_129h);
0x00001cc0 lbu t0, 0x231(fp) | t0 = *(arg_231h);
| if (t0 != a3) {
0x00001cc4 bne t0, a3, 0x1c70 | goto label_20;
| }
0x00001cc8 lbu t0, 0x22c(fp) | t0 = *(arg_22ch);
0x00001ccc lbu a3, 0x128(fp) | a3 = *(arg_128h);
0x00001cd0 lbu t0, 0x231(fp) | t0 = *(arg_231h);
| if (t0 != a3) {
0x00001cd4 bne t0, a3, 0x1c70 | goto label_20;
| }
0x00001cd8 addiu a3, zero, 0xff | a3 = 0xff;
| if (t0 != a2) {
0x00001cdc bne t0, a2, 0x1c78 | goto label_21;
| }
| label_107:
0x00001ce0 lbu t3, 0x230(fp) | t3 = *(arg_230h);
0x00001ce4 lbu t0, 0x129(fp) | t0 = *(arg_129h);
0x00001ce8 lbu t0, 0x234(fp) | t0 = *(arg_234h);
| if (t3 != t0) {
0x00001cec bne t3, t0, 0x1c7c | goto label_22;
| }
0x00001cf0 lbu t3, 0x22f(fp) | t3 = *(arg_22fh);
0x00001cf4 lbu t0, 0x128(fp) | t0 = *(arg_128h);
0x00001cf8 lbu t0, 0x234(fp) | t0 = *(arg_234h);
| if (t3 != t0) {
0x00001cfc bne t3, t0, 0x1c7c | goto label_22;
| }
0x00001d00 addiu t0, zero, 0xff | t0 = 0xff;
0x00001d04 sw t0, 0x10c(fp) | *(arg_10ch) = t0;
0x00001d08 lbu t0, 0x234(fp) | t0 = *(arg_234h);
0x00001d0c lbu t0, 0x237(fp) | t0 = *(arg_237h);
| if (t0 != a2) {
0x00001d10 bne t0, a2, 0x1c88 | goto label_23;
| }
0x00001d14 lbu t3, 0x233(fp) | t3 = *(arg_233h);
| label_108:
0x00001d18 lbu t0, 0x129(fp) | t0 = *(arg_129h);
0x00001d1c lbu t0, 0x237(fp) | t0 = *(arg_237h);
| if (t3 != t0) {
0x00001d20 bne t3, t0, 0x1c88 | goto label_23;
| }
0x00001d24 lbu t3, 0x232(fp) | t3 = *(arg_232h);
0x00001d28 lbu t0, 0x128(fp) | t0 = *(arg_128h);
0x00001d2c lbu t0, 0x237(fp) | t0 = *(arg_237h);
| if (t3 != t0) {
0x00001d30 bne t3, t0, 0x1c88 | goto label_23;
| }
0x00001d34 addiu t0, zero, 0xff | t0 = 0xff;
0x00001d38 sw t0, 0x110(fp) | *(arg_110h) = t0;
0x00001d3c b 0x1c84 | goto label_24;
| label_103:
0x00001d40 addiu s0, s0, 2 | s0 += 2;
0x00001d44 b 0x1a8c | goto label_17;
| label_105:
0x00001d48 lbu a3, 0x108(fp) | a3 = *(arg_108h);
0x00001d4c b 0x1a34 | goto label_19;
| label_104:
0x00001d50 addiu s0, s0, 4 | s0 += 4;
0x00001d54 b 0x1a8c | goto label_17;
| label_90:
0x00001d58 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001d5c addiu v1, v0, 0x51f0 | v1 = v0 + str.win_four_bits;
0x00001d60 lw a0, 0x51f0(v0) | a0 = *(v0);
| label_26:
0x00001d64 addiu v0, fp, 0x451 | v0 = fp + 0x451;
0x00001d68 swl a0, 3(v0) | __asm ("swl a0, 3(v0)");
0x00001d6c lw a1, 4(v1) | a1 = *((v1 + 1));
0x00001d70 swr a0, (v0) | __asm ("swr a0, (v0)");
0x00001d74 swl a1, 7(v0) | __asm ("swl a1, 7(v0)");
0x00001d78 lw a0, 8(v1) | a0 = *((v1 + 2));
0x00001d7c swr a1, 4(v0) | __asm ("swr a1, 4(v0)");
0x00001d80 lbu a2, 0xc(v1) | a2 = *((v1 + 12));
0x00001d84 lbu a1, 0xd(v1) | a1 = *((v1 + 13));
0x00001d88 lw s5, 0x78(fp) | s5 = *(arg_78h);
0x00001d8c lbu v1, 0xe(v1) | v1 = *((v1 + 14));
0x00001d90 swl a0, 0xb(v0) | __asm ("swl a0, 0xb(v0)");
0x00001d94 lw t9, -0x7f64(gp) | t9 = sym.imp.strlen;
0x00001d98 swr a0, 8(v0) | __asm ("swr a0, 8(v0)");
0x00001d9c sb a2, 0xc(v0) | *((v0 + 12)) = a2;
0x00001da0 sb a1, 0xd(v0) | *((v0 + 13)) = a1;
0x00001da4 sb v1, 0xe(v0) | *((v0 + 14)) = v1;
0x00001da8 move a0, s5 | a0 = s5;
0x00001dac jalr t9 | t9 ();
0x00001db0 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00001db4 move s2, v0 | s2 = v0;
0x00001db8 addiu s0, fp, 0x128 | s0 = fp + aav.0x00000128;
0x00001dbc lw s3, -0x7fdc(gp) | s3 = *((gp - 8183));
0x00001dc0 move s1, zero | s1 = 0;
0x00001dc4 addiu s3, s3, 0x521c | s3 += str.col_d_02x_02x_02x;
0x00001dc8 addiu s4, zero, 0x10 | s4 = 0x10;
| do {
0x00001dcc lbu v0, (s0) | v0 = *(s0);
0x00001dd0 lw t9, -0x7f04(gp) | t9 = sym.imp.__snprintf_chk
0x00001dd4 sw v0, 0x20(sp) | *(var_20h) = v0;
0x00001dd8 lbu v0, 1(s0) | v0 = *((s0 + 1));
0x00001ddc addiu s1, s1, 1 | s1++;
0x00001de0 sw v0, 0x1c(sp) | *(var_1ch) = v0;
0x00001de4 lbu v0, 2(s0) | v0 = *((s0 + 2));
0x00001de8 addu a0, s5, s2 | a0 = s5 + s2;
0x00001dec sw v0, 0x18(sp) | *(var_18h) = v0;
0x00001df0 sw s1, 0x14(sp) | *(var_14h) = s1;
0x00001df4 sw s3, 0x10(sp) | *(var_10h) = s3;
0x00001df8 addiu a3, zero, -1 | a3 = -1;
0x00001dfc addiu a2, zero, 1 | a2 = 1;
0x00001e00 addiu a1, zero, 0x200 | a1 = 0x200;
0x00001e04 jalr t9 | t9 ();
0x00001e08 addu s2, s2, v0 | s2 += v0;
0x00001e0c lw gp, 0x28(fp) | gp = *(arg_28h);
0x00001e10 addiu s0, s0, 3 | s0 += 3;
0x00001e14 bne s1, s4, 0x1dcc |
| } while (s1 != s4);
0x00001e18 addiu v0, fp, 0x650 | v0 = fp + 0x650;
0x00001e1c addu s2, v0, s2 | s2 = v0 + s2;
0x00001e20 sb zero, -0x205(s2) | *((s2 - 517)) = 0;
0x00001e24 b 0x1570 | goto label_12;
| label_62:
0x00001e28 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001e2c lw t9, -0x7f14(gp) | t9 = sym.imp.__isoc99_fscanf;
0x00001e30 lw a2, 0x78(fp) | a2 = *(arg_78h);
0x00001e34 addiu a1, a1, 0x5274 | a1 += str.f__s_n;
0x00001e38 move a0, s1 | a0 = s1;
0x00001e3c jalr t9 | t9 ();
0x00001e40 addiu v1, zero, 1 | v1 = 1;
0x00001e44 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 == v1) {
0x00001e48 beq v0, v1, 0x23f0 | goto label_109;
| }
0x00001e4c lw v1, 0xac(fp) | v1 = *(arg_ach);
0x00001e50 addiu v0, zero, 2 | v0 = 2;
0x00001e54 sw v0, 0x6144(v1) | *((v1 + 6225)) = v0;
0x00001e58 b 0x1074 | goto label_25;
| label_74:
0x00001e5c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001e60 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00001e64 lw a3, 0x40(fp) | a3 = *(arg_40h);
0x00001e68 addiu a2, a2, 0x544c | a2 += str.Unable_to_open_temporary_overlay_output_file__s:__m;
| do {
| label_31:
0x00001e6c addiu a1, zero, 1 | a1 = 1;
0x00001e70 addiu a0, zero, 5 | a0 = 5;
0x00001e74 jalr t9 | t9 ();
0x00001e78 lw gp, 0x28(fp) | gp = *(arg_28h);
| label_37:
0x00001e7c addiu v0, zero, 4 | v0 = 4;
| label_33:
0x00001e80 lw v1, 0x64(fp) | v1 = *(arg_64h);
0x00001e84 lw a0, 0x64c(fp) | a0 = *(arg_64ch);
0x00001e88 lw v1, (v1) | v1 = *(v1);
0x00001e8c lw t9, -0x7f30(gp) | t9 = sym.imp.__stack_chk_fail;
| if (a0 != v1) {
0x00001e90 bne a0, v1, 0x2a20 | goto label_110;
| }
0x00001e94 move sp, fp |
0x00001e98 lw ra, 0x674(sp) | ra = *(var_674h);
0x00001e9c lw fp, 0x670(sp) | fp = *(var_670h);
0x00001ea0 lw s7, 0x66c(sp) | s7 = *(var_66ch);
0x00001ea4 lw s6, 0x668(sp) | s6 = *(var_668h);
0x00001ea8 lw s5, 0x664(sp) | s5 = *(var_664h);
0x00001eac lw s4, 0x660(sp) | s4 = *(var_660h);
0x00001eb0 lw s3, 0x65c(sp) | s3 = *(var_65ch);
0x00001eb4 lw s2, 0x658(sp) | s2 = *(var_658h);
0x00001eb8 lw s1, 0x654(sp) | s1 = *(var_654h);
0x00001ebc lw s0, 0x650(sp) | s0 = *(var_650h);
0x00001ec0 addiu sp, sp, 0x678 |
0x00001ec4 jr ra | return v0;
| label_75:
0x00001ec8 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001ecc lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00001ed0 lw a3, 0x40(fp) | a3 = *(arg_40h);
0x00001ed4 addiu a2, a2, 0x5404 | a2 += str.A_file_with_filename___s__already_exists__and_was_unable_to_unlink:__m;
0x00001ed8 b 0x1e6c |
| } while (1);
| label_91:
0x00001edc lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001ee0 addiu v1, v0, 0x5200 | v1 = v0 + str.os2_four_bits;
0x00001ee4 lw a0, 0x5200(v0) | a0 = *(v0);
0x00001ee8 b 0x1d64 | goto label_26;
| label_71:
0x00001eec lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001ef0 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00001ef4 addiu a0, zero, 5 | a0 = 5;
0x00001ef8 addiu a2, a2, 0x5384 | a2 += str.Failed_to_read_from_image_file.;
| label_42:
0x00001efc addiu a1, zero, 1 | a1 = 1;
0x00001f00 jalr t9 | t9 ();
0x00001f04 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00001f08 lw t9, -0x7f50(gp) | t9 = sym.imp.exit;
0x00001f0c addiu a0, zero, 4 | a0 = 4;
0x00001f10 jalr t9 | t9 ();
| label_77:
0x00001f14 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001f18 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00001f1c lw a3, 0x40(fp) | a3 = *(arg_40h);
0x00001f20 addiu a2, a2, 0x54a0 | a2 += str.Could_not_set_buffer_size_for__s.;
0x00001f24 addiu a1, zero, 1 | a1 = 1;
0x00001f28 addiu a0, zero, 5 | a0 = 5;
0x00001f2c jalr t9 | t9 ();
0x00001f30 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00001f34 b 0x12fc | goto label_27;
| label_80:
0x00001f38 lw a0, 0x3c(fp) | a0 = *(arg_3ch);
0x00001f3c addiu v1, zero, 4 | v1 = 4;
0x00001f40 sb v1, 4(a0) | *((a0 + 4)) = v1;
0x00001f44 b 0x1360 | goto label_28;
| label_96:
0x00001f48 lw t9, -0x7f94(gp) | t9 = sym.imp.fclose;
0x00001f4c move a0, s0 | a0 = s0;
0x00001f50 jalr t9 | t9 ();
0x00001f54 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00001f58 move v0, zero | v0 = 0;
0x00001f5c b 0xdc0 | goto label_10;
| label_87:
0x00001f60 move v0, s3 | v0 = s3;
| if (s7 <= 0) {
0x00001f64 blez s7, 0x14c0 | goto label_29;
| }
0x00001f68 move v1, s2 | v1 = s2;
| do {
0x00001f6c addiu v1, v1, 1 | v1++;
0x00001f70 addiu v0, v0, 1 | v0++;
0x00001f74 lbu a0, -1(v1) | a0 = *((v1 - 1));
0x00001f78 sb a0, -1(v0) | *((v0 - 1)) = a0;
0x00001f7c bne v0, s1, 0x1f6c |
| } while (v0 != s1);
0x00001f80 addu s2, s2, s7 | s2 += s7;
0x00001f84 b 0x14c0 | goto label_29;
| label_81:
0x00001f88 lw v1, -0x7fdc(gp) | v1 = *((gp - 8183));
0x00001f8c lw a2, 0x3c(fp) | a2 = *(arg_3ch);
0x00001f90 addiu t3, fp, 0x128 | t3 = fp + aav.0x00000128;
0x00001f94 lw a3, 0x5908(v1) | a3 = *((v1 + 5698));
0x00001f98 lw t0, 0x590c(v1) | t0 = *((v1 + 5699));
0x00001f9c lw v1, -0x7fdc(gp) | v1 = *((gp - 8183));
0x00001fa0 sw a3, 0x60(fp) | *(arg_60h) = a3;
0x00001fa4 sw t0, 0x54(fp) | *(arg_54h) = t0;
0x00001fa8 lw a0, 0x58e0(v1) | a0 = *((v1 + 5688));
0x00001fac lw a1, 0x58e4(v1) | a1 = *((v1 + 5689));
0x00001fb0 lw v1, -0x7fdc(gp) | v1 = *((gp - 8183));
0x00001fb4 sw a0, 0x98(fp) | *(arg_98h) = a0;
0x00001fb8 sw a1, 0x9c(fp) | *(arg_9ch) = a1;
0x00001fbc lw a0, 0x58e8(v1) | a0 = *((v1 + 5690));
0x00001fc0 lw a1, 0x58ec(v1) | a1 = *((v1 + 5691));
0x00001fc4 lw v1, -0x7fdc(gp) | v1 = *((gp - 8183));
0x00001fc8 sw a0, 0x90(fp) | *(arg_90h) = a0;
0x00001fcc sw a1, 0x94(fp) | *(arg_94h) = a1;
0x00001fd0 lw a0, 0x58f0(v1) | a0 = *((v1 + 5692));
0x00001fd4 lw a1, 0x58f4(v1) | a1 = *((v1 + 5693));
0x00001fd8 lw v1, -0x7fdc(gp) | v1 = *((gp - 8183));
0x00001fdc sw a0, 0x88(fp) | *(arg_88h) = a0;
0x00001fe0 sw a1, 0x8c(fp) | *(arg_8ch) = a1;
0x00001fe4 lw a0, 0x58f8(v1) | a0 = *((v1 + 5694));
0x00001fe8 lw a1, 0x58fc(v1) | a1 = *((v1 + 5695));
0x00001fec lw v1, -0x7fdc(gp) | v1 = *((gp - 8183));
0x00001ff0 sw a0, 0x80(fp) | *(arg_80h) = a0;
0x00001ff4 sw a1, 0x84(fp) | *(arg_84h) = a1;
0x00001ff8 lw a0, 0x5900(v1) | a0 = *((v1 + 5696));
0x00001ffc lw a1, 0x5904(v1) | a1 = *((v1 + 5697));
0x00002000 lw v1, -0x7fdc(gp) | v1 = *((gp - 8183));
0x00002004 sw a0, 0x70(fp) | *(arg_70h) = a0;
0x00002008 sw a1, 0x74(fp) | *(arg_74h) = a1;
0x0000200c lw a0, 0x5910(v1) | a0 = *((v1 + 5700));
0x00002010 lw a1, 0x5914(v1) | a1 = *((v1 + 5701));
0x00002014 lw v1, -0x7fdc(gp) | v1 = *((gp - 8183));
0x00002018 sw a0, 0x68(fp) | *(arg_68h) = a0;
0x0000201c sw a1, 0x6c(fp) | *(arg_6ch) = a1;
0x00002020 lw a0, 0x5918(v1) | a0 = *((v1 + 5702));
0x00002024 lw a1, 0x591c(v1) | a1 = *((v1 + 5703));
0x00002028 sw a0, 0x58(fp) | *(arg_58h) = a0;
0x0000202c addiu s4, a2, 0xf | s4 = a2 + 0xf;
0x00002030 sw a1, 0x5c(fp) | *(arg_5ch) = a1;
0x00002034 lw t2, 0x7c(fp) | t2 = *(arg_7ch);
0x00002038 sb zero, 0xa(a2) | *((a2 + 10)) = 0;
0x0000203c sb zero, 0xb(a2) | *((a2 + 11)) = 0;
0x00002040 sb zero, 0xc(a2) | *((a2 + 12)) = 0;
0x00002044 sb zero, 0xd(a2) | *((a2 + 13)) = 0;
0x00002048 sw a3, 0x50(fp) | *(arg_50h) = a3;
0x0000204c sw t0, 0x4c(fp) | *(arg_4ch) = t0;
0x00002050 sw s5, 0x30(fp) | *(arg_30h) = s5;
0x00002054 move s6, s4 | s6 = s4;
0x00002058 move s7, t3 | s7 = t3;
| do {
0x0000205c lbu a0, 2(s7) | a0 = *((s7 + 2));
0x00002060 lw t9, -0x7fd4(gp) | t9 = *(gp);
0x00002064 sw t2, 0xa8(fp) | *(arg_a8h) = t2;
0x00002068 bal 0x4810 | fcn_00004810 ();
0x0000206c lw gp, 0x28(fp) | gp = *(arg_28h);
0x00002070 addiu s7, s7, 3 | s7 += 3;
0x00002074 lbu a0, -2(s7) | a0 = *((s7 - 2));
0x00002078 lw t9, -0x7fd4(gp) | t9 = *(gp);
0x0000207c move s0, v0 | s0 = v0;
0x00002080 move s1, v1 | s1 = v1;
0x00002084 bal 0x4810 | fcn_00004810 ();
0x00002088 lw gp, 0x28(fp) | gp = *(arg_28h);
0x0000208c lbu a0, -3(s7) | a0 = *((s7 - 3));
0x00002090 move s2, v0 | s2 = v0;
0x00002094 lw t9, -0x7fd4(gp) | t9 = *(gp);
0x00002098 move s3, v1 | s3 = v1;
0x0000209c bal 0x4810 | fcn_00004810 ();
0x000020a0 lw gp, 0x28(fp) | gp = *(arg_28h);
0x000020a4 lw a2, 0x98(fp) | a2 = *(arg_98h);
0x000020a8 lw a3, 0x9c(fp) | a3 = *(arg_9ch);
0x000020ac lw t9, -0x7fd0(gp) | t9 = *(gp);
0x000020b0 move a0, s0 | a0 = s0;
0x000020b4 move a1, s1 | a1 = s1;
0x000020b8 sw s0, 0xa0(fp) | *(arg_a0h) = s0;
0x000020bc sw s1, 0xa4(fp) | *(arg_a4h) = s1;
0x000020c0 move s0, v0 | s0 = v0;
0x000020c4 move s1, v1 | s1 = v1;
0x000020c8 bal 0x38e0 | fcn_000038e0 ();
0x000020cc lw gp, 0x28(fp) | gp = *(arg_28h);
0x000020d0 lw a2, 0x90(fp) | a2 = *(arg_90h);
0x000020d4 lw a3, 0x94(fp) | a3 = *(arg_94h);
0x000020d8 lw t9, -0x7fd0(gp) | t9 = *(gp);
0x000020dc move a0, s2 | a0 = s2;
0x000020e0 move a1, s3 | a1 = s3;
0x000020e4 move s4, v0 | s4 = v0;
0x000020e8 move s5, v1 | s5 = v1;
0x000020ec bal 0x38e0 | fcn_000038e0 ();
0x000020f0 lw gp, 0x28(fp) | gp = *(arg_28h);
0x000020f4 move a0, s4 | a0 = s4;
0x000020f8 move a1, s5 | a1 = s5;
0x000020fc lw t9, -0x7fcc(gp) | t9 = *(gp);
0x00002100 move a2, v0 | a2 = v0;
0x00002104 move a3, v1 | a3 = v1;
0x00002108 bal 0x2f70 | fcn_00002f70 ();
0x0000210c lw gp, 0x28(fp) | gp = *(arg_28h);
0x00002110 lw a2, 0x88(fp) | a2 = *(arg_88h);
0x00002114 lw a3, 0x8c(fp) | a3 = *(arg_8ch);
0x00002118 lw t9, -0x7fd0(gp) | t9 = *(gp);
0x0000211c move a0, s0 | a0 = s0;
0x00002120 move a1, s1 | a1 = s1;
0x00002124 move s4, v0 | s4 = v0;
0x00002128 move s5, v1 | s5 = v1;
0x0000212c bal 0x38e0 | fcn_000038e0 ();
0x00002130 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00002134 move a2, v0 | a2 = v0;
0x00002138 move a3, v1 | a3 = v1;
0x0000213c lw t9, -0x7fcc(gp) | t9 = *(gp);
0x00002140 move a0, s4 | a0 = s4;
0x00002144 move a1, s5 | a1 = s5;
0x00002148 bal 0x2f70 | fcn_00002f70 ();
0x0000214c lw gp, 0x28(fp) | gp = *(arg_28h);
0x00002150 move a1, v1 | a1 = v1;
0x00002154 move a0, v0 | a0 = v0;
0x00002158 lw t9, -0x7fc8(gp) | t9 = *(gp);
0x0000215c addiu s6, s6, 4 | s6 += 4;
0x00002160 bal 0x4790 | fcn_00004790 ();
0x00002164 slti v1, v0, 0 | v1 = (v0 < 0) ? 1 : 0;
0x00002168 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v1 == 0) {
0x0000216c movn v0, zero, v1 | v0 = 0;
| }
0x00002170 slti v1, v0, 0x100 | v1 = (v0 < 0x100) ? 1 : 0;
0x00002174 addiu a0, zero, 0xff | a0 = 0xff;
| if (v1 != 0) {
0x00002178 movz v0, a0, v1 | v0 = a0;
| }
0x0000217c lw t9, -0x7fd0(gp) | t9 = *(gp);
0x00002180 lw a2, 0x80(fp) | a2 = *(arg_80h);
0x00002184 lw a3, 0x84(fp) | a3 = *(arg_84h);
0x00002188 lw a0, 0xa0(fp) | a0 = *(arg_a0h);
0x0000218c lw a1, 0xa4(fp) | a1 = *(arg_a4h);
0x00002190 sb v0, -5(s6) | *((s6 - 5)) = v0;
0x00002194 bal 0x38e0 | fcn_000038e0 ();
0x00002198 lw gp, 0x28(fp) | gp = *(arg_28h);
0x0000219c lw a2, 0x70(fp) | a2 = *(arg_70h);
0x000021a0 lw a3, 0x74(fp) | a3 = *(arg_74h);
0x000021a4 lw t9, -0x7fd0(gp) | t9 = *(gp);
0x000021a8 move a0, s2 | a0 = s2;
0x000021ac move a1, s3 | a1 = s3;
0x000021b0 move s4, v0 | s4 = v0;
0x000021b4 move s5, v1 | s5 = v1;
0x000021b8 bal 0x38e0 | fcn_000038e0 ();
0x000021bc lw gp, 0x28(fp) | gp = *(arg_28h);
0x000021c0 move a0, s4 | a0 = s4;
0x000021c4 move a1, s5 | a1 = s5;
0x000021c8 lw t9, -0x7fc4(gp) | t9 = *(gp);
0x000021cc move a2, v0 | a2 = v0;
0x000021d0 move a3, v1 | a3 = v1;
0x000021d4 bal 0x3e80 | fcn_00003e80 ();
0x000021d8 lw gp, 0x28(fp) | gp = *(arg_28h);
0x000021dc lw a2, 0x60(fp) | a2 = *(arg_60h);
0x000021e0 lw a3, 0x54(fp) | a3 = *(arg_54h);
0x000021e4 lw t9, -0x7fd0(gp) | t9 = *(gp);
0x000021e8 move a0, s0 | a0 = s0;
0x000021ec move a1, s1 | a1 = s1;
0x000021f0 move s4, v0 | s4 = v0;
0x000021f4 move s5, v1 | s5 = v1;
0x000021f8 bal 0x38e0 | fcn_000038e0 ();
0x000021fc lw gp, 0x28(fp) | gp = *(arg_28h);
0x00002200 move a2, v0 | a2 = v0;
0x00002204 move a3, v1 | a3 = v1;
0x00002208 lw t9, -0x7fcc(gp) | t9 = *(gp);
0x0000220c move a0, s4 | a0 = s4;
0x00002210 move a1, s5 | a1 = s5;
0x00002214 bal 0x2f70 | fcn_00002f70 ();
0x00002218 lw gp, 0x28(fp) | gp = *(arg_28h);
0x0000221c move a1, v1 | a1 = v1;
0x00002220 move a0, v0 | a0 = v0;
0x00002224 lw t9, -0x7fc8(gp) | t9 = *(gp);
0x00002228 addiu s4, zero, -0x80 | s4 = -0x80;
0x0000222c bal 0x4790 | fcn_00004790 ();
0x00002230 slti v1, v0, -0x80 | v1 = (v0 < -0x80) ? 1 : 0;
0x00002234 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v1 == 0) {
0x00002238 movn v0, s4, v1 | v0 = s4;
| }
0x0000223c slti v1, v0, 0x80 | v1 = (v0 < 0x80) ? 1 : 0;
0x00002240 addiu s5, zero, 0x7f | s5 = 0x7f;
0x00002244 lw a2, 0x50(fp) | a2 = *(arg_50h);
0x00002248 lw t9, -0x7fd0(gp) | t9 = *(gp);
| if (v1 != 0) {
0x0000224c movz v0, s5, v1 | v0 = s5;
| }
0x00002250 lw a3, 0x4c(fp) | a3 = *(arg_4ch);
0x00002254 lw a0, 0xa0(fp) | a0 = *(arg_a0h);
0x00002258 lw a1, 0xa4(fp) | a1 = *(arg_a4h);
0x0000225c sb v0, -4(s6) | *((s6 - 4)) = v0;
0x00002260 bal 0x38e0 | fcn_000038e0 ();
0x00002264 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00002268 lw a2, 0x68(fp) | a2 = *(arg_68h);
0x0000226c lw a3, 0x6c(fp) | a3 = *(arg_6ch);
0x00002270 lw t9, -0x7fd0(gp) | t9 = *(gp);
0x00002274 move a0, s2 | a0 = s2;
0x00002278 move a1, s3 | a1 = s3;
0x0000227c move s2, v0 | s2 = v0;
0x00002280 move s3, v1 | s3 = v1;
0x00002284 bal 0x38e0 | fcn_000038e0 ();
0x00002288 lw gp, 0x28(fp) | gp = *(arg_28h);
0x0000228c move a2, v0 | a2 = v0;
0x00002290 move a3, v1 | a3 = v1;
0x00002294 lw t9, -0x7fc4(gp) | t9 = *(gp);
0x00002298 move a0, s2 | a0 = s2;
0x0000229c move a1, s3 | a1 = s3;
0x000022a0 bal 0x3e80 | fcn_00003e80 ();
0x000022a4 lw gp, 0x28(fp) | gp = *(arg_28h);
0x000022a8 lw a2, 0x58(fp) | a2 = *(arg_58h);
0x000022ac lw a3, 0x5c(fp) | a3 = *(arg_5ch);
0x000022b0 lw t9, -0x7fd0(gp) | t9 = *(gp);
0x000022b4 move a0, s0 | a0 = s0;
0x000022b8 move a1, s1 | a1 = s1;
0x000022bc move s0, v0 | s0 = v0;
0x000022c0 move s1, v1 | s1 = v1;
0x000022c4 bal 0x38e0 | fcn_000038e0 ();
0x000022c8 lw gp, 0x28(fp) | gp = *(arg_28h);
0x000022cc move a2, v0 | a2 = v0;
0x000022d0 move a3, v1 | a3 = v1;
0x000022d4 lw t9, -0x7fc4(gp) | t9 = *(gp);
0x000022d8 move a0, s0 | a0 = s0;
0x000022dc move a1, s1 | a1 = s1;
0x000022e0 bal 0x3e80 | fcn_00003e80 ();
0x000022e4 lw gp, 0x28(fp) | gp = *(arg_28h);
0x000022e8 move a1, v1 | a1 = v1;
0x000022ec lw t9, -0x7fc8(gp) | t9 = *(gp);
0x000022f0 move a0, v0 | a0 = v0;
0x000022f4 bal 0x4790 | fcn_00004790 ();
0x000022f8 slti v1, v0, -0x80 | v1 = (v0 < -0x80) ? 1 : 0;
| if (v1 == 0) {
0x000022fc movn v0, s4, v1 | v0 = s4;
| }
0x00002300 lw t2, 0xa8(fp) | t2 = *(arg_a8h);
0x00002304 slti v1, v0, 0x80 | v1 = (v0 < 0x80) ? 1 : 0;
| if (v1 != 0) {
0x00002308 movz v0, s5, v1 | v0 = s5;
| }
0x0000230c lw gp, 0x28(fp) | gp = *(arg_28h);
0x00002310 sb v0, -3(s6) | *((s6 - 3)) = v0;
0x00002314 lw v0, (t2) | v0 = *(t2);
0x00002318 andi v0, v0, 0x1f | v0 &= 0x1f;
0x0000231c sb v0, -2(s6) | *((s6 - 2)) = v0;
0x00002320 lw v0, 0x7c(fp) | v0 = *(arg_7ch);
0x00002324 addiu t2, t2, 4 | t2 += 4;
0x00002328 bne v0, s7, 0x205c |
| } while (v0 != s7);
0x0000232c lw s5, 0x30(fp) | s5 = *(arg_30h);
0x00002330 b 0x13dc | goto label_30;
| label_76:
0x00002334 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002338 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x0000233c move a3, s0 | a3 = s0;
0x00002340 addiu a2, a2, 0x5488 | a2 += str.Could_not_stat__s:__m;
0x00002344 addiu a1, zero, 1 | a1 = 1;
0x00002348 addiu a0, zero, 5 | a0 = 5;
0x0000234c jalr t9 | t9 ();
0x00002350 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00002354 b 0x12fc | goto label_27;
| label_73:
0x00002358 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0000235c lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00002360 lw a3, 0x40(fp) | a3 = *(arg_40h);
0x00002364 addiu a2, a2, 0x53e0 | a2 += str.Temporary_file_name_too_long:__s.;
0x00002368 b 0x1e6c | goto label_31;
| label_84:
0x0000236c lw v0, 0xb4(fp) | v0 = *(arg_b4h);
0x00002370 lw t9, -0x7f44(gp) | t9 = sym.imp.malloc;
0x00002374 sll s1, v0, 1 | s1 = v0 << 1;
0x00002378 move a0, s1 | a0 = s1;
0x0000237c jalr t9 | t9 ();
0x00002380 move s2, v0 | s2 = v0;
0x00002384 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00002388 lw s0, 0x48(fp) | s0 = *(arg_48h);
| if (v0 == 0) {
0x0000238c beqz v0, 0x2950 | goto label_111;
| }
0x00002390 lw s3, 0x44(fp) | s3 = *(arg_44h);
0x00002394 lw s4, 0xb0(fp) | s4 = *(arg_b0h);
| label_32:
0x00002398 slt v0, s3, s4 | v0 = (s3 < s4) ? 1 : 0;
0x0000239c lw t9, -0x7f20(gp) | t9 = sym.imp.free;
| if (v0 == 0) {
0x000023a0 beqz v0, 0x2794 | goto label_112;
| }
0x000023a4 addu a0, s0, s1 | a0 = s0 + s1;
| if (s1 <= 0) {
0x000023a8 blez s1, 0x23c4 | goto label_113;
| }
0x000023ac move v0, s2 | v0 = s2;
| do {
0x000023b0 addiu s0, s0, 1 | s0++;
0x000023b4 addiu v0, v0, 1 | v0++;
0x000023b8 lbu v1, -1(s0) | v1 = *((s0 - 1));
0x000023bc sb v1, -1(v0) | *((v0 - 1)) = v1;
0x000023c0 bne s0, a0, 0x23b0 |
| } while (s0 != a0);
| label_113:
0x000023c4 lw t9, -0x7f3c(gp) | t9 = sym.imp.fwrite;
0x000023c8 move a3, s5 | a3 = s5;
0x000023cc addiu a2, zero, 1 | a2 = 1;
0x000023d0 move a1, s1 | a1 = s1;
0x000023d4 move a0, s2 | a0 = s2;
0x000023d8 jalr t9 | t9 ();
0x000023dc addiu v1, zero, 1 | v1 = 1;
0x000023e0 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 != v1) {
0x000023e4 bne v0, v1, 0x27a4 | goto label_114;
| }
0x000023e8 addiu s3, s3, 1 | s3++;
0x000023ec b 0x2398 | goto label_32;
| label_109:
0x000023f0 lw s0, 0x78(fp) | s0 = *(arg_78h);
0x000023f4 lw t9, -0x7f64(gp) | t9 = sym.imp.strlen;
0x000023f8 move a0, s0 | a0 = s0;
0x000023fc jalr t9 | t9 ();
0x00002400 addiu a0, zero, 6 | a0 = 6;
0x00002404 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00002408 move v1, zero | v1 = 0;
| if (v0 != a0) {
0x0000240c bne v0, a0, 0x2a28 | goto label_115;
| }
0x00002410 addiu a2, zero, -0x21 | a2 = -0x21;
0x00002414 addiu a1, zero, 6 | a1 = 6;
0x00002418 move a3, s0 | a3 = s0;
0x0000241c lbux v0, v1(a3) | __asm ("lbux v0, v1(a3)");
| do {
0x00002420 addiu a0, v0, -0x30 | a0 = v0 + -0x30;
0x00002424 sltiu a0, a0, 0xa | a0 = (a0 < 0xa) ? 1 : 0;
0x00002428 addiu v1, v1, 1 | v1++;
| if (a0 == 0) {
0x0000242c bnez a0, 0x2444 |
0x00002430 and v0, v0, a2 | v0 &= a2;
0x00002434 addiu v0, v0, -0x41 | v0 += -0x41;
0x00002438 sltiu v0, v0, 6 | v0 = (v0 < 6) ? 1 : 0;
| if (v0 == 0) {
0x0000243c beql v0, zero, 0x2a2c | goto label_116;
| }
0x00002440 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
| }
0x00002444 lbux v0, v1(a3) | __asm ("lbux v0, v1(a3)");
0x00002448 bnel v1, a1, 0x2420 |
| } while (v1 == a1);
0x0000244c lw v1, 0xac(fp) | v1 = *(arg_ach);
0x00002450 lw t9, -0x7f7c(gp) | t9 = sym.imp.strncpy;
0x00002454 lw a1, 0x78(fp) | a1 = *(arg_78h);
0x00002458 addiu s3, fp, 0x228 | s3 = fp + 0x228;
0x0000245c addiu v0, zero, 3 | v0 = 3;
0x00002460 sw v0, 0x6144(v1) | *((v1 + 6225)) = v0;
0x00002464 addiu a2, zero, 2 | a2 = 2;
0x00002468 move a0, s3 | a0 = s3;
0x0000246c jalr t9 | t9 ();
0x00002470 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00002474 addiu s2, fp, 0x22c | s2 = fp + 0x22c;
0x00002478 addiu a2, zero, 2 | a2 = 2;
0x0000247c lw t9, -0x7f7c(gp) | t9 = sym.imp.strncpy;
0x00002480 addiu a1, fp, 0x44e | a1 = fp + 0x44e;
0x00002484 move a0, s2 | a0 = s2;
0x00002488 jalr t9 | t9 ();
0x0000248c lw gp, 0x28(fp) | gp = *(arg_28h);
0x00002490 addiu s0, fp, 0x24c | s0 = fp + 0x24c;
0x00002494 addiu a2, zero, 2 | a2 = 2;
0x00002498 lw t9, -0x7f7c(gp) | t9 = sym.imp.strncpy;
0x0000249c addiu a1, fp, 0x450 | a1 = fp + 0x450;
0x000024a0 move a0, s0 | a0 = s0;
0x000024a4 jalr t9 | t9 ();
0x000024a8 lw gp, 0x28(fp) | gp = *(arg_28h);
0x000024ac addiu a2, zero, 0x10 | a2 = 0x10;
0x000024b0 move a1, zero | a1 = 0;
0x000024b4 lw t9, -0x7f60(gp) | t9 = sym.imp.strtoul;
0x000024b8 move a0, s3 | a0 = s3;
0x000024bc sb zero, 0x24e(fp) | *(arg_24eh) = 0;
0x000024c0 sb zero, 0x22e(fp) | *(arg_22eh) = 0;
0x000024c4 sb zero, 0x22a(fp) | *(arg_22ah) = 0;
0x000024c8 jalr t9 | t9 ();
0x000024cc lw gp, 0x28(fp) | gp = *(arg_28h);
0x000024d0 addiu a2, zero, 0x10 | a2 = 0x10;
0x000024d4 move a1, zero | a1 = 0;
0x000024d8 lw t9, -0x7f60(gp) | t9 = sym.imp.strtoul;
0x000024dc move a0, s2 | a0 = s2;
0x000024e0 sb v0, 0x12a(fp) | *(arg_12ah) = v0;
0x000024e4 jalr t9 | t9 ();
0x000024e8 lw gp, 0x28(fp) | gp = *(arg_28h);
0x000024ec sb v0, 0x129(fp) | *(arg_129h) = v0;
0x000024f0 addiu a2, zero, 0x10 | a2 = 0x10;
0x000024f4 lw t9, -0x7f60(gp) | t9 = sym.imp.strtoul;
0x000024f8 move a1, zero | a1 = 0;
0x000024fc move a0, s0 | a0 = s0;
0x00002500 jalr t9 | t9 ();
0x00002504 sb v0, 0x128(fp) | *(arg_128h) = v0;
0x00002508 lw gp, 0x28(fp) | gp = *(arg_28h);
0x0000250c b 0x1074 | goto label_25;
| label_78:
0x00002510 addiu v1, zero, 2 | v1 = 2;
0x00002514 sb v1, 4(a1) | *((a1 + 4)) = v1;
0x00002518 b 0x1360 | goto label_28;
| label_83:
0x0000251c lw s0, 0x40(fp) | s0 = *(arg_40h);
0x00002520 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002524 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00002528 move a3, s0 | a3 = s0;
0x0000252c addiu a2, a2, 0x54c4 | a2 += str.Write_error__cant_write__s.;
0x00002530 addiu a1, zero, 1 | a1 = 1;
0x00002534 addiu a0, zero, 5 | a0 = 5;
0x00002538 jalr t9 | t9 ();
0x0000253c lw gp, 0x28(fp) | gp = *(arg_28h);
0x00002540 lw sp, 0x38(fp) |
0x00002544 lw t9, -0x7f34(gp) | t9 = sym.imp.unlink;
0x00002548 move a0, s0 | a0 = s0;
0x0000254c jalr t9 | t9 ();
0x00002550 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 < 0) {
0x00002554 bltz v0, 0x25a4 | goto label_117;
| }
| do {
0x00002558 addiu v0, zero, 6 | v0 = 6;
0x0000255c b 0x1e80 | goto label_33;
| label_88:
0x00002560 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002564 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00002568 lw a3, 0x40(fp) | a3 = *(arg_40h);
0x0000256c addiu a2, a2, 0x54c4 | a2 += str.Write_error__cant_write__s.;
0x00002570 addiu a1, zero, 1 | a1 = 1;
0x00002574 addiu a0, zero, 5 | a0 = 5;
0x00002578 jalr t9 | t9 ();
0x0000257c lw gp, 0x28(fp) | gp = *(arg_28h);
0x00002580 lw t9, -0x7f20(gp) | t9 = sym.imp.free;
0x00002584 move a0, s3 | a0 = s3;
0x00002588 jalr t9 | t9 ();
0x0000258c lw gp, 0x28(fp) | gp = *(arg_28h);
| label_35:
0x00002590 lw t9, -0x7f34(gp) | t9 = sym.imp.unlink;
0x00002594 lw a0, 0x40(fp) | a0 = *(arg_40h);
0x00002598 jalr t9 | t9 ();
0x0000259c lw gp, 0x28(fp) | gp = *(arg_28h);
0x000025a0 bgez v0, 0x2558 |
| } while (v0 >= 0);
| label_117:
0x000025a4 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000025a8 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x000025ac lw a3, 0x40(fp) | a3 = *(arg_40h);
0x000025b0 addiu a2, a2, 0x54e4 | a2 += str.Could_not_unlink___s_:__m;
0x000025b4 addiu a1, zero, 1 | a1 = 1;
0x000025b8 addiu a0, zero, 5 | a0 = 5;
0x000025bc jalr t9 | t9 ();
0x000025c0 lw gp, 0x28(fp) | gp = *(arg_28h);
0x000025c4 addiu v0, zero, 6 | v0 = 6;
0x000025c8 b 0x1e80 | goto label_33;
| label_86:
0x000025cc lw t9, -0x7f20(gp) | t9 = sym.imp.free;
0x000025d0 move a0, s3 | a0 = s3;
0x000025d4 jalr t9 | t9 ();
0x000025d8 lw gp, 0x28(fp) | gp = *(arg_28h);
| label_34:
0x000025dc lw t9, -0x7f20(gp) | t9 = sym.imp.free;
0x000025e0 lw a0, 0x48(fp) | a0 = *(arg_48h);
0x000025e4 jalr t9 | t9 ();
0x000025e8 lw gp, 0x28(fp) | gp = *(arg_28h);
0x000025ec lw t9, -0x7f18(gp) | t9 = sym.imp.fflush;
0x000025f0 move a0, s5 | a0 = s5;
0x000025f4 jalr t9 | t9 ();
0x000025f8 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 != 0) {
0x000025fc bnez v0, 0x2780 | goto label_118;
| }
0x00002600 lw t9, -0x7f80(gp) | t9 = sym.imp.fileno;
0x00002604 move a0, s5 | a0 = s5;
0x00002608 jalr t9 | t9 ();
0x0000260c lw gp, 0x28(fp) | gp = *(arg_28h);
0x00002610 lw t9, -0x7f68(gp) | t9 = sym.imp.fsync;
0x00002614 move a0, v0 | a0 = v0;
0x00002618 jalr t9 | t9 ();
0x0000261c lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 != 0) {
0x00002620 bnez v0, 0x27f0 | goto label_119;
| }
0x00002624 lw t9, -0x7f94(gp) | t9 = sym.imp.fclose;
0x00002628 move a0, s5 | a0 = s5;
0x0000262c jalr t9 | t9 ();
0x00002630 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 != 0) {
0x00002634 bnez v0, 0x2854 | goto label_120;
| }
0x00002638 lw v0, 0xb0(fp) | v0 = *(arg_b0h);
0x0000263c lw t9, -0x7f04(gp) | t9 = sym.imp.__snprintf_chk
0x00002640 sw v0, 0x1c(sp) | *(var_1ch_2) = v0;
0x00002644 lw v0, 0xb4(fp) | v0 = *(arg_b4h);
0x00002648 addiu a3, zero, 0x200 | a3 = 0x200;
0x0000264c sw v0, 0x18(sp) | *(var_18h_2) = v0;
0x00002650 lw v0, 0xd0(fp) | v0 = *(arg_d0h);
0x00002654 addiu a2, zero, 1 | a2 = 1;
0x00002658 sw v0, 0x14(sp) | *(var_14h_2) = v0;
0x0000265c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00002660 addiu a1, zero, 0x200 | a1 = 0x200;
0x00002664 addiu v0, v0, 0x5590 | v0 += str._s__dx_d_.ovl;
0x00002668 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x0000266c lw a0, 0x78(fp) | a0 = *(arg_78h);
0x00002670 jalr t9 | t9 ();
0x00002674 slti v0, v0, 0x200 | v0 = (v0 < 0x200) ? 1 : 0;
0x00002678 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 == 0) {
0x0000267c beqz v0, 0x28b4 | goto label_121;
| }
0x00002680 lw t9, -0x7f5c(gp) | t9 = sym.imp.rename;
0x00002684 lw a1, 0x78(fp) | a1 = *(arg_78h);
0x00002688 lw a0, 0x40(fp) | a0 = *(arg_40h);
0x0000268c jalr t9 | t9 ();
0x00002690 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 != 0) {
0x00002694 bnez v0, 0x2a50 | goto label_122;
| }
0x00002698 lw s0, 0x78(fp) | s0 = *(arg_78h);
0x0000269c lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000026a0 lw t9, -0x7f84(gp) | t9 = sym.imp.__printf_chk
0x000026a4 move a2, s0 | a2 = s0;
0x000026a8 addiu a1, a1, 0x55f4 | a1 += 0x55f4;
0x000026ac addiu a0, zero, 1 | a0 = 1;
0x000026b0 jalr t9 | t9 ();
0x000026b4 lw gp, 0x28(fp) | gp = *(arg_28h);
0x000026b8 lw t9, -0x7f48(gp) | t9 = sym.imp.dirname;
0x000026bc move a0, s0 | a0 = s0;
0x000026c0 jalr t9 | t9 ();
0x000026c4 lw gp, 0x28(fp) | gp = *(arg_28h);
0x000026c8 move a0, v0 | a0 = v0;
0x000026cc move s0, v0 | s0 = v0;
0x000026d0 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000026d4 lw t9, -0x7f08(gp) | t9 = sym.imp.strcmp;
0x000026d8 addiu a1, a1, 0x52c0 | a1 += 0x52c0;
0x000026dc jalr t9 | t9 ();
0x000026e0 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 == 0) {
0x000026e4 beqz v0, 0x28e0 | goto label_123;
| }
0x000026e8 lw t9, -0x7f54(gp) | t9 = sym.imp.open;
0x000026ec move a1, zero | a1 = 0;
0x000026f0 move a0, s0 | a0 = s0;
0x000026f4 jalr t9 | t9 ();
0x000026f8 move s1, v0 | s1 = v0;
0x000026fc lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 < 0) {
0x00002700 bltz v0, 0x293c | goto label_124;
| }
0x00002704 lw t9, -0x7f68(gp) | t9 = sym.imp.fsync;
0x00002708 move a0, v0 | a0 = v0;
0x0000270c jalr t9 | t9 ();
0x00002710 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 != 0) {
0x00002714 bnez v0, 0x2928 | goto label_125;
| }
0x00002718 lw t9, -0x7fa0(gp) | t9 = sym.imp.close;
0x0000271c move a0, s1 | a0 = s1;
0x00002720 jalr t9 | t9 ();
0x00002724 lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 == 0) {
0x00002728 beqz v0, 0x1e80 | goto label_33;
| }
0x0000272c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002730 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00002734 move a3, s0 | a3 = s0;
0x00002738 addiu a2, a2, 0x5674 | a2 += str.Unable_to_close_directory_with_path__s:__m;
0x0000273c b 0x1e6c | goto label_31;
| label_79:
0x00002740 lw a0, 0x3c(fp) | a0 = *(arg_3ch);
0x00002744 addiu v1, zero, 1 | v1 = 1;
0x00002748 sb v1, 4(a0) | *((a0 + 4)) = v1;
0x0000274c b 0x1360 | goto label_28;
| label_99:
0x00002750 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002754 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00002758 addiu a0, zero, 5 | a0 = 5;
0x0000275c sw s1, 0x10(sp) | *(var_10h) = s1;
0x00002760 move a3, s3 | a3 = s3;
0x00002764 addiu a2, a2, 0x5354 | a2 += str.Premature_end_of_image__read_error:_i_d__j_d;
0x00002768 addiu a1, zero, 1 | a1 = 1;
0x0000276c jalr t9 | t9 ();
0x00002770 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00002774 lw t9, -0x7f50(gp) | t9 = sym.imp.exit;
0x00002778 addiu a0, zero, 1 | a0 = 1;
0x0000277c jalr t9 | t9 ();
| label_118:
0x00002780 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002784 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00002788 lw a3, 0x40(fp) | a3 = *(arg_40h);
0x0000278c addiu a2, a2, 0x5530 | a2 += str.Failed_to_fflush__s:__m;
0x00002790 b 0x1e6c | goto label_31;
| label_112:
0x00002794 move a0, s2 | a0 = s2;
0x00002798 jalr t9 | t9 ();
0x0000279c lw gp, 0x28(fp) | gp = *(arg_28h);
0x000027a0 b 0x25dc | goto label_34;
| label_114:
0x000027a4 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000027a8 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x000027ac lw a3, 0x40(fp) | a3 = *(arg_40h);
0x000027b0 addiu a2, a2, 0x5510 | a2 += str.Write_error__cant_write__s._n;
0x000027b4 addiu a1, zero, 1 | a1 = 1;
0x000027b8 addiu a0, zero, 5 | a0 = 5;
0x000027bc jalr t9 | t9 ();
0x000027c0 lw gp, 0x28(fp) | gp = *(arg_28h);
0x000027c4 lw t9, -0x7f20(gp) | t9 = sym.imp.free;
0x000027c8 move a0, s2 | a0 = s2;
0x000027cc jalr t9 | t9 ();
0x000027d0 lw gp, 0x28(fp) | gp = *(arg_28h);
0x000027d4 b 0x2590 | goto label_35;
| label_82:
0x000027d8 addiu v0, zero, 1 | v0 = 1;
0x000027dc sb zero, 0xa(v1) | *((v1 + 10)) = 0;
0x000027e0 sb zero, 0xb(v1) | *((v1 + 11)) = 0;
0x000027e4 sb zero, 0xd(v1) | *((v1 + 13)) = 0;
0x000027e8 sb v0, 0xc(v1) | *((v1 + 12)) = v0;
0x000027ec b 0x13c0 | goto label_36;
| label_119:
0x000027f0 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000027f4 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x000027f8 lw a3, 0x40(fp) | a3 = *(arg_40h);
0x000027fc addiu a2, a2, 0x554c | a2 += str.Failed_to_fsync_s:__m;
0x00002800 b 0x1e6c | goto label_31;
| label_46:
0x00002804 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x00002808 lw a0, (s1) | a0 = *(s1);
0x0000280c addiu t9, t9, 0x2c70 | t9 += fcn.00002c70;
0x00002810 sw v0, 0xb4(fp) | *(arg_b4h) = v0;
0x00002814 bal 0x2c70 | fcn_00002c70 ();
0x00002818 lw gp, 0x28(fp) | gp = *(arg_28h);
0x0000281c lw v1, (s1) | v1 = *(s1);
0x00002820 addiu a0, zero, 5 | a0 = 5;
0x00002824 sw v1, 0x10(sp) | *(var_10h) = v1;
0x00002828 lw v0, 0xb4(fp) | v0 = *(arg_b4h);
0x0000282c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002830 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00002834 move a3, v0 | a3 = v0;
0x00002838 addiu a2, a2, 0x4f88 | a2 += str.Unexpected_option__c_to__s;
| label_41:
0x0000283c addiu a1, zero, 1 | a1 = 1;
0x00002840 jalr t9 | t9 ();
0x00002844 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00002848 lw t9, -0x7f50(gp) | t9 = sym.imp.exit;
0x0000284c addiu a0, zero, 4 | a0 = 4;
0x00002850 jalr t9 | t9 ();
| label_120:
0x00002854 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002858 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x0000285c addiu a2, a2, 0x5564 | a2 += str.Failed_to_save_converted_overlay_image:__m;
0x00002860 addiu a1, zero, 1 | a1 = 1;
0x00002864 addiu a0, zero, 5 | a0 = 5;
0x00002868 jalr t9 | t9 ();
0x0000286c lw gp, 0x28(fp) | gp = *(arg_28h);
0x00002870 lw t9, -0x7f34(gp) | t9 = sym.imp.unlink;
0x00002874 lw a0, 0x40(fp) | a0 = *(arg_40h);
0x00002878 jalr t9 | t9 ();
0x0000287c lw gp, 0x28(fp) | gp = *(arg_28h);
| if (v0 >= 0) {
0x00002880 bgez v0, 0x1e7c | goto label_37;
| }
0x00002884 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002888 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x0000288c lw a3, 0x40(fp) | a3 = *(arg_40h);
0x00002890 addiu a2, a2, 0x54e4 | a2 += str.Could_not_unlink___s_:__m;
0x00002894 b 0x1e6c | goto label_31;
| label_97:
0x00002898 lw v0, 0xb4(fp) | v0 = *(arg_b4h);
0x0000289c lw t9, -0x7f44(gp) | t9 = sym.imp.malloc;
0x000028a0 sll a0, v0, 1 | a0 = v0 << 1;
0x000028a4 jalr t9 | t9 ();
0x000028a8 move s3, v0 | s3 = v0;
0x000028ac lw gp, 0x28(fp) | gp = *(arg_28h);
0x000028b0 b 0x1b6c | goto label_38;
| label_121:
0x000028b4 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000028b8 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x000028bc lw a3, 0x78(fp) | a3 = *(arg_78h);
0x000028c0 addiu a2, a2, 0x55a0 | a2 += str.Filename_too_long:__s.;
0x000028c4 b 0x1e6c | goto label_31;
| label_69:
0x000028c8 lw t9, -0x7f44(gp) | t9 = sym.imp.malloc;
0x000028cc lw a0, 0xb4(fp) | a0 = *(arg_b4h);
0x000028d0 jalr t9 | t9 ();
0x000028d4 move s2, v0 | s2 = v0;
0x000028d8 lw gp, 0x28(fp) | gp = *(arg_28h);
0x000028dc b 0x11f4 | goto label_39;
| label_123:
0x000028e0 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000028e4 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x000028e8 addiu a2, a2, 0x55f8 | a2 += str.Invalid_filepath_for_out_file:__m;
0x000028ec addiu a1, zero, 1 | a1 = 1;
0x000028f0 addiu a0, zero, 5 | a0 = 5;
0x000028f4 jalr t9 | t9 ();
0x000028f8 lw gp, 0x28(fp) | gp = *(arg_28h);
0x000028fc addiu v0, zero, 4 | v0 = 4;
0x00002900 b 0x1e80 | goto label_33;
| label_85:
0x00002904 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00002908 lw a3, 0x34(fp) | a3 = *(arg_34h);
| do {
0x0000290c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002910 addiu a1, zero, 1 | a1 = 1;
0x00002914 addiu a2, a2, 0x5500 | a2 += str.malloc__u_:__m;
0x00002918 addiu a0, zero, 3 | a0 = 3;
0x0000291c jalr t9 | t9 ();
0x00002920 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00002924 b 0x2590 | goto label_35;
| label_125:
0x00002928 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0000292c lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00002930 move a3, s0 | a3 = s0;
0x00002934 addiu a2, a2, 0x5648 | a2 += str.Unable_to_sync_directory_with_path__s:__m;
0x00002938 b 0x1e6c | goto label_31;
| label_124:
0x0000293c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002940 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00002944 move a3, s0 | a3 = s0;
0x00002948 addiu a2, a2, 0x561c | a2 += str.Unable_to_open_directory_with_path__s:__m;
0x0000294c b 0x1e6c | goto label_31;
| label_111:
0x00002950 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00002954 move a3, s1 | a3 = s1;
0x00002958 b 0x290c |
| } while (1);
| label_63:
0x0000295c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002960 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00002964 lw a3, 0x90(fp) | a3 = *(arg_90h);
0x00002968 addiu a0, zero, 5 | a0 = 5;
0x0000296c addiu a2, a2, 0x52a4 | a2 += str.Read_error_palctrl_file__s.;
| do {
| label_40:
0x00002970 addiu a1, zero, 1 | a1 = 1;
0x00002974 jalr t9 | t9 ();
0x00002978 lw gp, 0x28(fp) | gp = *(arg_28h);
0x0000297c lw t9, -0x7f50(gp) | t9 = sym.imp.exit;
0x00002980 addiu a0, zero, 4 | a0 = 4;
0x00002984 jalr t9 | t9 ();
| label_49:
0x00002988 lw t9, -0x7f94(gp) | t9 = sym.imp.fclose;
| label_51:
0x0000298c move a0, s0 | a0 = s0;
0x00002990 jalr t9 | t9 ();
0x00002994 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00002998 addiu a0, zero, 5 | a0 = 5;
0x0000299c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000029a0 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x000029a4 addiu a2, a2, 0x4ff0 | a2 += str.check_format_failed__expected_Windows_24_bits_BMP__Windows_4_bits_BMP_or_OS_2_4_bits_BMP.;
0x000029a8 b 0x1604 | goto label_8;
| label_66:
0x000029ac lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000029b0 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x000029b4 addiu a0, zero, 5 | a0 = 5;
0x000029b8 move a3, s0 | a3 = s0;
0x000029bc addiu a2, a2, 0x52d4 | a2 += str.Cant_parse_line__d_of_palctrl_file;
0x000029c0 b 0x2970 |
| } while (1);
| label_65:
0x000029c4 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000029c8 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x000029cc addiu a0, zero, 5 | a0 = 5;
0x000029d0 move a3, s0 | a3 = s0;
0x000029d4 addiu a2, a2, 0x5328 | a2 += str.Error__color__d_not_found;
0x000029d8 b 0x2970 | goto label_40;
| label_95:
0x000029dc lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x000029e0 addiu a0, zero, 5 | a0 = 5;
0x000029e4 move a3, s0 | a3 = s0;
0x000029e8 addiu a2, a2, 0x52f8 | a2 += str.Palette_index_error_line__d;
0x000029ec b 0x2970 | goto label_40;
| label_52:
0x000029f0 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000029f4 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x000029f8 lw a3, 0xcc(fp) | a3 = *(arg_cch);
0x000029fc addiu a0, zero, 5 | a0 = 5;
0x00002a00 addiu a2, a2, 0x4fd4 | a2 += str.Couldnt_open_file__s.;
0x00002a04 b 0x2970 | goto label_40;
| label_48:
0x00002a08 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002a0c lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00002a10 addiu a0, zero, 5 | a0 = 5;
0x00002a14 move a3, s2 | a3 = s2;
0x00002a18 addiu a2, a2, 0x4fd4 | a2 += str.Couldnt_open_file__s.;
0x00002a1c b 0x2970 | goto label_40;
| label_110:
0x00002a20 jalr t9 | t9 ();
0x00002a24 nop |
| label_115:
0x00002a28 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
| label_116:
0x00002a2c lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00002a30 addiu a0, zero, 5 | a0 = 5;
0x00002a34 addiu a2, a2, 0x527c | a2 += str.Invalid_transparent_color_definition;
0x00002a38 addiu a1, zero, 1 | a1 = 1;
0x00002a3c jalr t9 | t9 ();
0x00002a40 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00002a44 lw t9, -0x7f50(gp) | t9 = sym.imp.exit;
0x00002a48 addiu a0, zero, 3 | a0 = 3;
0x00002a4c jalr t9 | t9 ();
| label_122:
0x00002a50 lw v0, 0x78(fp) | v0 = *(arg_78h);
0x00002a54 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002a58 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00002a5c lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00002a60 addiu a0, zero, 3 | a0 = 3;
0x00002a64 lw a3, 0x40(fp) | a3 = *(arg_40h);
0x00002a68 addiu a2, a2, 0x55bc | a2 += str.Unable_to_rename_file__s_to_new_file_name__s:__m;
0x00002a6c b 0x283c | goto label_41;
| label_59:
0x00002a70 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00002a74 addiu a0, zero, 5 | a0 = 5;
0x00002a78 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00002a7c addiu a2, a2, 0x51c0 | a2 += str.Maximum_overlay_size_exceeded__max:_d_was:_d_;
0x00002a80 addiu a1, zero, 1 | a1 = 1;
0x00002a84 jalr t9 | t9 ();
0x00002a88 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00002a8c lw t9, -0x7f50(gp) | t9 = sym.imp.exit;
0x00002a90 addiu a0, zero, 6 | a0 = 6;
0x00002a94 jalr t9 | t9 ();
| label_61:
0x00002a98 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002a9c lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00002aa0 addiu a0, zero, 5 | a0 = 5;
0x00002aa4 addiu a2, a2, 0x524c | a2 += str.Failed_to_open_palette_definition_file.;
0x00002aa8 b 0x1efc | goto label_42;
| label_68:
0x00002aac lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002ab0 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00002ab4 addiu a0, zero, 3 | a0 = 3;
0x00002ab8 addiu a2, a2, 0x5344 | a2 += str.Out_of_memory.;
0x00002abc addiu a1, zero, 1 | a1 = 1;
0x00002ac0 jalr t9 | t9 ();
0x00002ac4 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00002ac8 lw t9, -0x7f50(gp) | t9 = sym.imp.exit;
0x00002acc addiu a0, zero, 5 | a0 = 5;
0x00002ad0 jalr t9 | t9 ();
| label_89:
0x00002ad4 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x00002ad8 addiu t9, t9, 0x2c70 | t9 += fcn.00002c70;
0x00002adc lw a0, (s1) | a0 = *(s1);
0x00002ae0 bal 0x2c70 | fcn_00002c70 ();
0x00002ae4 lw gp, 0x28(fp) | gp = *(arg_28h);
0x00002ae8 lw a3, (s1) | a3 = *(s1);
0x00002aec addiu a0, zero, 5 | a0 = 5;
0x00002af0 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002af4 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00002af8 addiu a2, a2, 0x4fb0 | a2 += str.Wrong_number_of_arguments_to__s;
0x00002afc b 0x2970 | goto label_40;
| }
[*] Function printf used 14 times bmp2overlay