[*] Binary protection state of journalctl
Full RELRO Canary found NX disabled PIE enabled RPATH No RUNPATH No Symbols
[*] Function sprintf tear down of journalctl
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/journalctl @ 0x5e80 */
| #include <stdint.h>
|
; (fcn) fcn.00005e80 () | void fcn_00005e80 () {
0x00005e80 lui gp, 2 |
0x00005e84 addiu gp, gp, -0xe70 |
0x00005e88 addu gp, gp, t9 | gp += t9;
0x00005e8c addiu sp, sp, -0x1d8 |
0x00005e90 lw v0, -0x7eb8(gp) | v0 = *((gp - 8110));
0x00005e94 sw gp, 0x20(sp) | *(var_20h_2) = gp;
0x00005e98 sw ra, 0x1d4(sp) | *(var_1d4h) = ra;
0x00005e9c sw fp, 0x1d0(sp) | *(var_1d0h) = fp;
0x00005ea0 sw s7, 0x1cc(sp) | *(var_1cch) = s7;
0x00005ea4 sw s6, 0x1c8(sp) | *(var_1c8h) = s6;
0x00005ea8 sw s5, 0x1c4(sp) | *(var_1c4h) = s5;
0x00005eac sw s4, 0x1c0(sp) | *(var_1c0h) = s4;
0x00005eb0 sw s3, 0x1bc(sp) | *(var_1bch) = s3;
0x00005eb4 sw s2, 0x1b8(sp) | *(var_1b8h) = s2;
0x00005eb8 sw s1, 0x1b4(sp) | *(var_1b4h) = s1;
0x00005ebc sw s0, 0x1b0(sp) | *(var_1b0h) = s0;
0x00005ec0 sw v0, 0x40(sp) | *(var_40h_2) = v0;
0x00005ec4 lw v0, (v0) | v0 = *(v0);
0x00005ec8 sw v0, 0x1ac(sp) | *(var_1ach) = v0;
| if (a0 == 0) {
0x00005ecc beql a0, zero, 0x65d8 | goto label_20;
| }
0x00005ed0 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00005ed4 move fp, a1 | fp = a1;
| if (a1 == 0) {
0x00005ed8 beqz a1, 0x6488 | goto label_12;
| }
0x00005edc lw s0, (a1) | s0 = *(a1);
0x00005ee0 lw s7, -0x7fd8(gp) | s7 = *((gp - 8182));
| if (s0 == 0) {
0x00005ee4 beqz s0, 0x6488 | goto label_12;
| }
0x00005ee8 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00005eec sw v0, 0x38(sp) | *(var_38h_4) = v0;
0x00005ef0 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00005ef4 lw s6, -0x7fd8(gp) | s6 = *((gp - 8182));
0x00005ef8 sw v0, 0x3c(sp) | *(var_3ch_5) = v0;
0x00005efc addiu v0, s7, -0x65ac | v0 = s7 + -0x65ac;
0x00005f00 sw v0, 0x2c(sp) | *(var_2ch_3) = v0;
0x00005f04 addiu v0, s6, -0x65a8 | v0 = s6 + -0x65a8;
0x00005f08 sw v0, 0x30(sp) | *(var_30h_3) = v0;
0x00005f0c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00005f10 move s4, a0 | s4 = a0;
0x00005f14 addiu v0, v0, -0x6594 | v0 += -0x6594;
0x00005f18 lw s5, -0x7fd8(gp) | s5 = *((gp - 8182));
0x00005f1c move s1, a1 | s1 = a1;
0x00005f20 move s3, zero | s3 = 0;
0x00005f24 sw v0, 0x44(sp) | *(var_44h_5) = v0;
0x00005f28 b 0x5f68 |
| while (v0 == 0) {
0x00005f2c lw t9, -0x7d94(gp) | t9 = sym.imp.sd_journal_add_disjunction;
| if (s3 == 0) {
0x00005f30 beqz s3, 0x6688 | goto label_21;
| }
0x00005f34 move a0, s4 | a0 = s4;
0x00005f38 jalr t9 | t9 ();
0x00005f3c lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00005f40 move s0, v0 | s0 = v0;
0x00005f44 move s3, zero | s3 = 0;
| label_5:
0x00005f48 lw t9, -0x7fac(gp) | t9 = sym.imp.log_get_max_level_realm;
| if (s0 < 0) {
0x00005f4c bltz s0, 0x6080 | goto label_22;
| }
| label_0:
0x00005f50 addiu s1, s1, 4 | s1 += 4;
| if (s1 == 0) {
0x00005f54 beql s1, zero, 0x6478 | goto label_23;
| }
0x00005f58 lw v0, (fp) | v0 = *(fp);
0x00005f5c lw s0, (s1) | s0 = *(s1);
| if (s0 == 0) {
0x00005f60 beql s0, zero, 0x6478 | goto label_23;
| }
0x00005f64 lw v0, (fp) | v0 = *(fp);
0x00005f68 lw t9, -0x7f98(gp) | t9 = sym.imp.strcmp;
0x00005f6c addiu a1, s5, -0x6650 | a1 = s5 + -0x6650;
0x00005f70 move a0, s0 | a0 = s0;
0x00005f74 jalr t9 | t9 ();
0x00005f78 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00005f7c beqz v0, 0x5f2c |
| }
0x00005f80 lw t9, -0x7e18(gp) | t9 = sym.imp.path_is_absolute;
0x00005f84 move a0, s0 | a0 = s0;
0x00005f88 jalr t9 | t9 ();
0x00005f8c move s3, v0 | s3 = v0;
0x00005f90 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 != 0) {
0x00005f94 beqz v0, 0x6058 |
0x00005f98 lw t9, -0x7d8c(gp) | t9 = sym.imp.chase_symlinks;
0x00005f9c move a0, s0 | a0 = s0;
0x00005fa0 addiu a3, sp, 0x4c | a3 = sp + 0x4c;
0x00005fa4 addiu a2, zero, 0x20 | a2 = 0x20;
0x00005fa8 move a1, zero | a1 = 0;
0x00005fac sw zero, 0x4c(sp) | *(var_4ch) = 0;
0x00005fb0 sw zero, 0x50(sp) | *(var_50h) = 0;
0x00005fb4 jalr t9 | t9 ();
0x00005fb8 move s0, v0 | s0 = v0;
0x00005fbc lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 < 0) {
0x00005fc0 bltz v0, 0x68e4 | goto label_24;
| }
0x00005fc4 lw t9, -0x7e14(gp) | t9 = sym.imp.__lxstat64;
0x00005fc8 addiu s0, sp, 0x68 | s0 = sp + 0x68;
0x00005fcc lw a1, 0x4c(sp) | a1 = *(var_4ch);
0x00005fd0 move a2, s0 | a2 = s0;
0x00005fd4 addiu a0, zero, 3 | a0 = 3;
0x00005fd8 jalr t9 | t9 ();
0x00005fdc lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 < 0) {
0x00005fe0 bltz v0, 0x6910 | goto label_25;
| }
0x00005fe4 lw v0, 0x80(sp) | v0 = *(var_80h_2);
0x00005fe8 ori v1, zero, 0x8000 | v1 = 0x8000;
0x00005fec andi a0, v0, 0xf000 | a0 = v0 & 0xf000;
0x00005ff0 addiu v1, zero, 0x2000 | v1 = 0x2000;
| if (a0 == v1) {
0x00005ff4 beq a0, v1, 0x62fc | goto label_26;
| }
0x00005ff8 andi v0, v0, 0xb000 | v0 &= 0xb000;
0x00005ffc lw s0, 0x4c(sp) | s0 = *(var_4ch);
| if (v0 == v1) {
0x00006000 beq v0, v1, 0x60a4 | goto label_27;
| }
0x00006004 lw t9, -0x7fac(gp) | t9 = sym.imp.log_get_max_level_realm;
| label_4:
0x00006008 move a0, zero | a0 = 0;
0x0000600c jalr t9 | t9 ();
0x00006010 slti v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x00006014 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 == 0) {
0x00006018 beqz v0, 0x6808 | goto label_28;
| }
0x0000601c move s2, zero | s2 = 0;
| label_18:
0x00006020 addiu s0, zero, -0x16 | s0 = -0x16;
| label_11:
0x00006024 lw t9, -0x7e08(gp) | t9 = *((gp - 8066));
0x00006028 lw a0, 0x50(sp) | a0 = *(var_50h);
0x0000602c jalr t9 | t9 ();
0x00006030 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00006034 lw t9, -0x7e08(gp) | t9 = *((gp - 8066));
0x00006038 move a0, s2 | a0 = s2;
0x0000603c jalr t9 | t9 ();
0x00006040 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00006044 lw t9, -0x7e08(gp) | t9 = *((gp - 8066));
0x00006048 lw a0, 0x4c(sp) | a0 = *(var_4ch);
0x0000604c jalr t9 | t9 ();
0x00006050 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00006054 b 0x648c | goto label_13;
| }
0x00006058 lw t9, -0x7dac(gp) | t9 = sym.imp.sd_journal_add_match;
0x0000605c move a1, s0 | a1 = s0;
0x00006060 move a2, zero | a2 = 0;
0x00006064 move a0, s4 | a0 = s4;
0x00006068 jalr t9 | t9 ();
0x0000606c move s0, v0 | s0 = v0;
0x00006070 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00006074 addiu s3, zero, 1 | s3 = 1;
| if (s0 >= 0) {
0x00006078 bgez s0, 0x5f50 | goto label_0;
| }
0x0000607c lw t9, -0x7fac(gp) | t9 = sym.imp.log_get_max_level_realm;
| label_22:
0x00006080 move a0, zero | a0 = 0;
0x00006084 jalr t9 | t9 ();
0x00006088 slti v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x0000608c lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 == 0) {
0x00006090 beqz v0, 0x6858 | goto label_29;
| }
0x00006094 negu a1, s0 | __asm ("negu a1, s0");
0x00006098 andi a1, a1, 0xff | a1 &= 0xff;
0x0000609c negu s0, a1 | __asm ("negu s0, a1");
0x000060a0 b 0x648c | goto label_13;
| label_27:
0x000060a4 sw zero, 0x54(sp) | *(var_54h) = 0;
| if (s0 == 0) {
0x000060a8 beqz s0, 0x65ac | goto label_30;
| }
0x000060ac lw v0, 0x38(sp) | v0 = *(var_38h_4);
0x000060b0 lw t9, -0x7e64(gp) | t9 = sym.imp.path_startswith;
0x000060b4 addiu a1, v0, -0x65e0 | a1 = v0 + -0x65e0;
0x000060b8 move a0, s0 | a0 = s0;
0x000060bc jalr t9 | t9 ();
0x000060c0 move s2, v0 | s2 = v0;
0x000060c4 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 == 0) {
0x000060c8 beqz v0, 0x6a40 | goto label_31;
| }
0x000060cc lw t9, -0x7d9c(gp) | t9 = sym.imp.__xstat64;
0x000060d0 addiu v0, sp, 0x108 | v0 = sp + 0x108;
0x000060d4 sw v0, 0x34(sp) | *(var_34h_4) = v0;
0x000060d8 move a2, v0 | a2 = v0;
0x000060dc move a1, s0 | a1 = s0;
0x000060e0 addiu a0, zero, 3 | a0 = 3;
0x000060e4 jalr t9 | t9 ();
0x000060e8 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 < 0) {
0x000060ec bltz v0, 0x63d4 | goto label_32;
| }
0x000060f0 lw t9, -0x7ed8(gp) | t9 = sym.imp.device_new_from_stat_rdev;
0x000060f4 lw a1, 0x34(sp) | a1 = *(var_34h_4);
0x000060f8 addiu a0, sp, 0x54 | a0 = sp + 0x54;
0x000060fc jalr t9 | t9 ();
0x00006100 move s0, v0 | s0 = v0;
0x00006104 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 < 0) {
0x00006108 bltz v0, 0x6528 | goto label_33;
| }
0x0000610c lw s0, 0x54(sp) | s0 = *(var_54h);
0x00006110 addiu s6, sp, 0x58 | s6 = sp + 0x58;
| if (s0 == 0) {
0x00006114 beqz s0, 0x61d8 | goto label_2;
| }
| do {
0x00006118 lw t9, -0x7e58(gp) | t9 = sym.imp.sd_device_get_subsystem;
0x0000611c move a1, s6 | a1 = s6;
0x00006120 move a0, s0 | a0 = s0;
0x00006124 jalr t9 | t9 ();
0x00006128 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 < 0) {
0x0000612c bltz v0, 0x62f4 | goto label_34;
| }
0x00006130 lw t9, -0x7de8(gp) | t9 = sym.imp.sd_device_get_sysname;
0x00006134 addiu a1, sp, 0x5c | a1 = sp + 0x5c;
0x00006138 move a0, s0 | a0 = s0;
0x0000613c jalr t9 | t9 ();
0x00006140 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 < 0) {
0x00006144 bltz v0, 0x62f4 | goto label_34;
| }
0x00006148 lw t9, -0x7ddc(gp) | t9 = sym.imp.strjoin_real;
0x0000614c lw a3, 0x5c(sp) | a3 = *(var_5ch_4);
0x00006150 lw a1, 0x58(sp) | a1 = *(var_58h_4);
0x00006154 lw a2, 0x2c(sp) | a2 = *(var_2ch_3);
0x00006158 lw a0, 0x30(sp) | a0 = *(var_30h_3);
0x0000615c sw zero, 0x10(sp) | *(var_10h_2) = 0;
0x00006160 jalr t9 | t9 ();
0x00006164 move s2, v0 | s2 = v0;
0x00006168 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 == 0) {
0x0000616c beqz v0, 0x66b0 | goto label_35;
| }
0x00006170 lw t9, -0x7dac(gp) | t9 = sym.imp.sd_journal_add_match;
0x00006174 move a2, zero | a2 = 0;
0x00006178 move a1, v0 | a1 = v0;
0x0000617c move a0, s4 | a0 = s4;
0x00006180 jalr t9 | t9 ();
0x00006184 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 < 0) {
0x00006188 bltz v0, 0x66ec | goto label_36;
| }
0x0000618c lw t9, -0x7d88(gp) | t9 = sym.imp.sd_device_get_devname;
0x00006190 addiu a1, sp, 0x60 | a1 = sp + 0x60;
0x00006194 move a0, s0 | a0 = s0;
0x00006198 jalr t9 | t9 ();
0x0000619c lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 >= 0) {
0x000061a0 bgez v0, 0x621c | goto label_37;
| }
| label_3:
0x000061a4 lw t9, -0x7fb0(gp) | t9 = sym.imp.sd_device_get_parent;
0x000061a8 addiu s7, sp, 0x64 | s7 = sp + 0x64;
0x000061ac move a1, s7 | a1 = s7;
0x000061b0 move a0, s0 | a0 = s0;
0x000061b4 jalr t9 | t9 ();
0x000061b8 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x000061bc lw t9, -0x7e08(gp) | t9 = *((gp - 8066));
| if (v0 < 0) {
0x000061c0 bltz v0, 0x62e4 | goto label_38;
| }
| label_1:
0x000061c4 lw s0, 0x64(sp) | s0 = *(var_64h_4);
0x000061c8 move a0, s2 | a0 = s2;
0x000061cc jalr t9 | t9 ();
0x000061d0 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x000061d4 bnez s0, 0x6118 |
| } while (s0 != 0);
| label_2:
0x000061d8 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000061dc lw t9, -0x7d48(gp) | t9 = sym.imp.add_match_this_boot;
0x000061e0 move a0, s4 | a0 = s4;
0x000061e4 lw a1, -0x2ce0(v0) | a1 = *((v0 - 2872));
0x000061e8 jalr t9 | t9 ();
0x000061ec move s0, v0 | s0 = v0;
0x000061f0 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 < 0) {
0x000061f4 bltz v0, 0x65fc | goto label_39;
| }
0x000061f8 lw a0, 0x54(sp) | a0 = *(var_54h);
0x000061fc lw t9, -0x7f80(gp) | t9 = sym.imp.sd_device_unref;
| if (a0 == 0) {
0x00006200 beqz a0, 0x6518 | goto label_40;
| }
0x00006204 move s7, zero | s7 = 0;
0x00006208 jalr t9 | t9 ();
0x0000620c move s2, zero | s2 = 0;
0x00006210 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00006214 move s0, zero | s0 = 0;
0x00006218 b 0x6434 | goto label_7;
| label_37:
0x0000621c lw t9, -0x7d9c(gp) | t9 = sym.imp.__xstat64;
0x00006220 lw a1, 0x60(sp) | a1 = *(var_60h_4);
0x00006224 lw a2, 0x34(sp) | a2 = *(var_34h_4);
0x00006228 addiu a0, zero, 3 | a0 = 3;
0x0000622c sw zero, 0x64(sp) | *(var_64h_4) = 0;
0x00006230 jalr t9 | t9 ();
0x00006234 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 < 0) {
0x00006238 bltz v0, 0x6994 | goto label_41;
| }
0x0000623c lw a0, 0x130(sp) | a0 = *(var_130h);
0x00006240 lw v0, 0x120(sp) | v0 = *(var_120h);
0x00006244 andi a2, a0, 0xff | a2 = a0 & 0xff;
0x00006248 srl a1, a0, 0xc | a1 = a0 >> 0xc;
0x0000624c addiu a3, zero, -0x100 | a3 = -0x100;
0x00006250 ext a0, a0, 8, 0xc | __asm ("ext a0, a0, 8, 0xc");
0x00006254 andi v0, v0, 0xf000 | v0 &= 0xf000;
0x00006258 and a1, a1, a3 | a1 &= a3;
0x0000625c xori v0, v0, 0x6000 | v0 ^= 0x6000;
0x00006260 sw a0, 0x10(sp) | *(var_10h_2) = a0;
0x00006264 addiu a3, zero, 0x62 | a3 = 0x62;
0x00006268 addiu a0, zero, 0x63 | a0 = 0x63;
| if (v0 == 0) {
0x0000626c movn a3, a0, v0 | a3 = a0;
| }
0x00006270 lw v0, 0x3c(sp) | v0 = *(var_3ch_5);
0x00006274 or a1, a1, a2 | a1 |= a2;
0x00006278 lw t9, -0x7e24(gp) | t9 = sym.imp.__asprintf_chk
0x0000627c addiu s7, sp, 0x64 | s7 = sp + 0x64;
0x00006280 sw a1, 0x14(sp) | *(var_14h_4) = a1;
0x00006284 addiu a2, v0, -0x6554 | a2 = v0 + -0x6554;
0x00006288 addiu a1, zero, 1 | a1 = 1;
0x0000628c move a0, s7 | a0 = s7;
0x00006290 jalr t9 | t9 ();
0x00006294 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 < 0) {
0x00006298 bltz v0, 0x6958 | goto label_42;
| }
0x0000629c lw t9, -0x7dac(gp) | t9 = sym.imp.sd_journal_add_match;
0x000062a0 lw a1, 0x64(sp) | a1 = *(var_64h_4);
0x000062a4 move a2, zero | a2 = 0;
0x000062a8 move a0, s4 | a0 = s4;
0x000062ac jalr t9 | t9 ();
0x000062b0 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 < 0) {
0x000062b4 bltz v0, 0x69c4 | goto label_43;
| }
0x000062b8 lw t9, -0x7e08(gp) | t9 = *((gp - 8066));
0x000062bc lw a0, 0x64(sp) | a0 = *(var_64h_4);
0x000062c0 jalr t9 | t9 ();
0x000062c4 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x000062c8 move a1, s7 | a1 = s7;
0x000062cc lw t9, -0x7fb0(gp) | t9 = sym.imp.sd_device_get_parent;
0x000062d0 move a0, s0 | a0 = s0;
0x000062d4 jalr t9 | t9 ();
0x000062d8 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x000062dc lw t9, -0x7e08(gp) | t9 = *((gp - 8066));
| if (v0 >= 0) {
0x000062e0 bgez v0, 0x61c4 | goto label_1;
| }
| label_38:
0x000062e4 move a0, s2 | a0 = s2;
0x000062e8 jalr t9 | t9 ();
0x000062ec lw gp, 0x20(sp) | gp = *(var_20h_2);
0x000062f0 b 0x61d8 | goto label_2;
| label_34:
0x000062f4 move s2, zero | s2 = 0;
0x000062f8 b 0x61a4 | goto label_3;
| label_26:
0x000062fc andi v0, v0, 0x49 | v0 &= 0x49;
0x00006300 lw t9, -0x7fac(gp) | t9 = sym.imp.log_get_max_level_realm;
| if (v0 == 0) {
0x00006304 beqz v0, 0x6008 | goto label_4;
| }
0x00006308 lw t9, -0x7d90(gp) | t9 = sym.imp.executable_is_script;
0x0000630c lw a0, 0x4c(sp) | a0 = *(var_4ch);
0x00006310 addiu a1, sp, 0x50 | a1 = sp + 0x50;
0x00006314 jalr t9 | t9 ();
0x00006318 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 <= 0) {
0x0000631c blez v0, 0x6638 | goto label_44;
| }
0x00006320 lw t9, -0x7d34(gp) | t9 = sym.imp.basename;
0x00006324 lw a0, 0x4c(sp) | a0 = *(var_4ch);
0x00006328 jalr t9 | t9 ();
0x0000632c lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00006330 addiu a1, zero, 0xf | a1 = 0xf;
0x00006334 lw t9, -0x7f34(gp) | t9 = sym.imp.strndup;
0x00006338 move a0, v0 | a0 = v0;
0x0000633c jalr t9 | t9 ();
0x00006340 move s6, v0 | s6 = v0;
0x00006344 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 == 0) {
0x00006348 beqz v0, 0x6b2c | goto label_45;
| }
0x0000634c lw a0, -0x7fd8(gp) | a0 = *((gp - 8182));
0x00006350 lw t9, -0x7ddc(gp) | t9 = sym.imp.strjoin_real;
0x00006354 move a2, zero | a2 = 0;
0x00006358 move a1, v0 | a1 = v0;
0x0000635c addiu a0, a0, -0x6614 | a0 += -0x6614;
0x00006360 jalr t9 | t9 ();
0x00006364 move s2, v0 | s2 = v0;
0x00006368 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 == 0) {
0x0000636c beqz v0, 0x6af0 | goto label_46;
| }
0x00006370 lw t9, -0x7e14(gp) | t9 = sym.imp.__lxstat64;
0x00006374 lw a1, 0x50(sp) | a1 = *(var_50h);
0x00006378 move a2, s0 | a2 = s0;
0x0000637c addiu a0, zero, 3 | a0 = 3;
0x00006380 jalr t9 | t9 ();
0x00006384 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 == 0) {
0x00006388 bnez v0, 0x63a0 |
0x0000638c lw v0, 0x80(sp) | v0 = *(var_80h_2);
0x00006390 ori a0, zero, 0xa000 | a0 = 0xa000;
0x00006394 andi v0, v0, 0xf000 | v0 &= 0xf000;
0x00006398 lw a0, -0x7fd8(gp) | a0 = *((gp - 8182));
| if (v0 == a0) {
0x0000639c bnel v0, a0, 0x671c | goto label_47;
| }
| }
0x000063a0 lw t9, -0x7e08(gp) | t9 = *((gp - 8066));
0x000063a4 move a0, s6 | a0 = s6;
0x000063a8 jalr t9 | t9 ();
0x000063ac lw gp, 0x20(sp) | gp = *(var_20h_2);
| label_10:
0x000063b0 lw t9, -0x7dac(gp) | t9 = sym.imp.sd_journal_add_match;
0x000063b4 move a2, zero | a2 = 0;
0x000063b8 move a1, s2 | a1 = s2;
0x000063bc move a0, s4 | a0 = s4;
0x000063c0 jalr t9 | t9 ();
0x000063c4 move s0, v0 | s0 = v0;
0x000063c8 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x000063cc move s7, zero | s7 = 0;
0x000063d0 b 0x6434 | goto label_7;
| label_32:
0x000063d4 lw t9, -0x7d2c(gp) | t9 = sym.imp.__errno_location;
0x000063d8 jalr t9 | t9 ();
0x000063dc nop |
0x000063e0 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x000063e4 move a0, zero | a0 = 0;
0x000063e8 lw t9, -0x7fac(gp) | t9 = sym.imp.log_get_max_level_realm;
0x000063ec lw s0, (v0) | s0 = *(v0);
0x000063f0 jalr t9 | t9 ();
0x000063f4 slti v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x000063f8 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 == 0) {
0x000063fc beqz v0, 0x64d0 | goto label_48;
| }
0x00006400 move a1, s0 | a1 = s0;
| if (s0 < 0) {
0x00006404 bltz s0, 0x6510 | goto label_49;
| }
| label_6:
0x00006408 andi a1, a1, 0xff | a1 &= 0xff;
0x0000640c negu s0, a1 | __asm ("negu s0, a1");
| do {
| label_8:
0x00006410 lw a0, 0x54(sp) | a0 = *(var_54h);
0x00006414 lw t9, -0x7f80(gp) | t9 = sym.imp.sd_device_unref;
| if (a0 != 0) {
0x00006418 beqz a0, 0x6428 |
0x0000641c jalr t9 | t9 ();
0x00006420 nop |
0x00006424 lw gp, 0x20(sp) | gp = *(var_20h_2);
| }
0x00006428 move s7, zero | s7 = 0;
| if (s0 < 0) {
0x0000642c bltz s0, 0x68dc | goto label_50;
| }
0x00006430 move s2, zero | s2 = 0;
| label_7:
0x00006434 lw t9, -0x7e08(gp) | t9 = *((gp - 8066));
0x00006438 lw a0, 0x50(sp) | a0 = *(var_50h);
0x0000643c jalr t9 | t9 ();
0x00006440 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00006444 lw t9, -0x7e08(gp) | t9 = *((gp - 8066));
0x00006448 move a0, s7 | a0 = s7;
0x0000644c jalr t9 | t9 ();
0x00006450 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00006454 lw t9, -0x7e08(gp) | t9 = *((gp - 8066));
0x00006458 move a0, s2 | a0 = s2;
0x0000645c jalr t9 | t9 ();
0x00006460 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00006464 lw t9, -0x7e08(gp) | t9 = *((gp - 8066));
0x00006468 lw a0, 0x4c(sp) | a0 = *(var_4ch);
0x0000646c jalr t9 | t9 ();
0x00006470 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00006474 b 0x5f48 | goto label_5;
| label_23:
0x00006478 move s0, zero | s0 = 0;
| if (v0 != 0) {
0x0000647c beqz v0, 0x648c |
0x00006480 lw t9, -0x7fac(gp) | t9 = sym.imp.log_get_max_level_realm;
| if (s3 == 0) {
0x00006484 beqz s3, 0x6694 | goto label_51;
| }
| label_12:
0x00006488 move s0, zero | s0 = 0;
| }
| label_13:
0x0000648c lw v0, 0x40(sp) | v0 = *(var_40h_2);
0x00006490 lw a0, 0x1ac(sp) | a0 = *(var_1ach);
0x00006494 lw v1, (v0) | v1 = *(v0);
0x00006498 move v0, s0 | v0 = s0;
| if (a0 != v1) {
0x0000649c bne a0, v1, 0x6b70 | goto label_52;
| }
0x000064a0 lw ra, 0x1d4(sp) | ra = *(var_1d4h);
0x000064a4 lw fp, 0x1d0(sp) | fp = *(var_1d0h);
0x000064a8 lw s7, 0x1cc(sp) | s7 = *(var_1cch);
0x000064ac lw s6, 0x1c8(sp) | s6 = *(var_1c8h);
0x000064b0 lw s5, 0x1c4(sp) | s5 = *(var_1c4h);
0x000064b4 lw s4, 0x1c0(sp) | s4 = *(var_1c0h);
0x000064b8 lw s3, 0x1bc(sp) | s3 = *(var_1bch);
0x000064bc lw s2, 0x1b8(sp) | s2 = *(var_1b8h);
0x000064c0 lw s1, 0x1b4(sp) | s1 = *(var_1b4h);
0x000064c4 lw s0, 0x1b0(sp) | s0 = *(var_1b0h);
0x000064c8 addiu sp, sp, 0x1d8 |
0x000064cc jr ra | return v0;
| label_48:
0x000064d0 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x000064d4 lw t9, -0x7f00(gp) | t9 = sym.imp.log_internal_realm;
0x000064d8 addiu v0, v0, -0x662c | v0 += -0x662c;
0x000064dc sw v0, 0x14(sp) | *(var_14h_4) = v0;
0x000064e0 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x000064e4 addiu a3, zero, 0xcc | a3 = 0xcc;
0x000064e8 addiu v0, v0, -0x4068 | v0 += -0x4068;
0x000064ec sw v0, 0x10(sp) | *(var_10h_2) = v0;
| label_9:
0x000064f0 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x000064f4 move a1, s0 | a1 = s0;
0x000064f8 addiu a2, a2, -0x6755 | a2 += -0x6755;
0x000064fc addiu a0, zero, 3 | a0 = 3;
0x00006500 jalr t9 | t9 ();
0x00006504 move s0, v0 | s0 = v0;
0x00006508 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x0000650c b 0x6410 |
| } while (1);
| label_49:
0x00006510 negu a1, s0 | __asm ("negu a1, s0");
0x00006514 b 0x6408 | goto label_6;
| label_40:
0x00006518 move s7, zero | s7 = 0;
0x0000651c move s2, zero | s2 = 0;
0x00006520 move s0, zero | s0 = 0;
0x00006524 b 0x6434 | goto label_7;
| label_33:
0x00006528 lw t9, -0x7fac(gp) | t9 = sym.imp.log_get_max_level_realm;
0x0000652c move a0, zero | a0 = 0;
0x00006530 jalr t9 | t9 ();
0x00006534 slti v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x00006538 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x0000653c beqz v0, 0x6548 |
| while (v0 != 0) {
0x00006540 negu a1, s0 | __asm ("negu a1, s0");
0x00006544 b 0x6408 | goto label_6;
0x00006548 lw v0, 0x130(sp) | v0 = *(var_130h);
0x0000654c addiu v1, zero, -0x100 | v1 = -0x100;
0x00006550 srl a1, v0, 0xc | a1 = v0 >> 0xc;
0x00006554 andi a0, v0, 0xff | a0 = v0 & 0xff;
0x00006558 ext v0, v0, 8, 0xc | __asm ("ext v0, v0, 8, 0xc");
0x0000655c sw v0, 0x18(sp) | *(var_18h_3) = v0;
0x00006560 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00006564 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x00006568 addiu v0, v0, -0x65d8 | v0 += -0x65d8;
0x0000656c sw v0, 0x14(sp) | *(var_14h_4) = v0;
0x00006570 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00006574 and v1, v1, a1 | v1 &= a1;
0x00006578 or v1, v1, a0 | v1 |= a0;
0x0000657c lw t9, -0x7f00(gp) | t9 = sym.imp.log_internal_realm;
0x00006580 addiu v0, v0, -0x4068 | v0 += -0x4068;
0x00006584 move a1, s0 | a1 = s0;
0x00006588 sw v1, 0x1c(sp) | *(var_1ch_2) = v1;
0x0000658c sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00006590 addiu a3, zero, 0xd0 | a3 = 0xd0;
0x00006594 addiu a2, a2, -0x6755 | a2 += -0x6755;
0x00006598 addiu a0, zero, 3 | a0 = 3;
0x0000659c jalr t9 | t9 ();
0x000065a0 move s0, v0 | s0 = v0;
0x000065a4 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x000065a8 b 0x6410 | goto label_8;
| label_30:
0x000065ac lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x000065b0 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x000065b4 lw a1, -0x7fd8(gp) | a1 = *((gp - 8182));
0x000065b8 addiu v0, v0, -0x4050 | v0 += -0x4050;
0x000065bc lw t9, -0x7df0(gp) | t9 = sym.imp.log_assert_failed_realm;
0x000065c0 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x000065c4 addiu a3, zero, 0xc4 | a3 = 0xc4;
0x000065c8 addiu a2, a2, -0x6755 | a2 += -0x6755;
0x000065cc addiu a1, a1, -0x6604 | a1 += -0x6604;
0x000065d0 move a0, zero | a0 = 0;
0x000065d4 jalr t9 | t9 ();
| label_20:
0x000065d8 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x000065dc lw a1, -0x7fd8(gp) | a1 = *((gp - 8182));
0x000065e0 addiu v0, v0, -0x402c | v0 += -0x402c;
0x000065e4 lw t9, -0x7df0(gp) | t9 = sym.imp.log_assert_failed_realm;
0x000065e8 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x000065ec addiu a3, zero, 0x432 | a3 = 0x432;
0x000065f0 addiu a2, a2, -0x6755 | a2 += -0x6755;
0x000065f4 addiu a1, a1, -0x6654 | a1 += -0x6654;
0x000065f8 jalr t9 | t9 ();
| label_39:
0x000065fc lw t9, -0x7fac(gp) | t9 = sym.imp.log_get_max_level_realm;
0x00006600 move a0, zero | a0 = 0;
0x00006604 jalr t9 | t9 ();
0x00006608 slti v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x0000660c lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00006610 bnez v0, 0x6540 |
| }
0x00006614 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00006618 lw t9, -0x7f00(gp) | t9 = sym.imp.log_internal_realm;
0x0000661c addiu v0, v0, -0x653c | v0 += -0x653c;
0x00006620 sw v0, 0x14(sp) | *(var_14h_4) = v0;
0x00006624 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00006628 addiu a3, zero, 0x100 | a3 = 0x100;
0x0000662c addiu v0, v0, -0x4068 | v0 += -0x4068;
0x00006630 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00006634 b 0x64f0 | goto label_9;
| label_44:
0x00006638 lw a0, -0x7fd8(gp) | a0 = *((gp - 8182));
0x0000663c lw t9, -0x7ddc(gp) | t9 = sym.imp.strjoin_real;
0x00006640 lw a1, 0x4c(sp) | a1 = *(var_4ch);
0x00006644 move a2, zero | a2 = 0;
0x00006648 addiu a0, a0, -0x660c | a0 += -0x660c;
0x0000664c jalr t9 | t9 ();
0x00006650 move s2, v0 | s2 = v0;
0x00006654 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 != 0) {
0x00006658 bnez v0, 0x63b0 | goto label_10;
| }
0x0000665c lw a3, -0x7fd8(gp) | a3 = *((gp - 8182));
0x00006660 lw a1, -0x7fd8(gp) | a1 = *((gp - 8182));
0x00006664 lw t9, -0x7fa4(gp) | t9 = sym.imp.log_oom_internal;
0x00006668 addiu a3, a3, -0x4038 | a3 += -0x4038;
0x0000666c addiu a2, zero, 0x45e | a2 = 0x45e;
0x00006670 addiu a1, a1, -0x6755 | a1 += -0x6755;
0x00006674 move a0, zero | a0 = 0;
0x00006678 jalr t9 | t9 ();
0x0000667c move s0, v0 | s0 = v0;
0x00006680 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00006684 b 0x6024 | goto label_11;
| label_21:
0x00006688 lw v0, (fp) | v0 = *(fp);
0x0000668c lw t9, -0x7fac(gp) | t9 = sym.imp.log_get_max_level_realm;
| if (v0 == 0) {
0x00006690 beqz v0, 0x6488 | goto label_12;
| }
| label_51:
0x00006694 move a0, zero | a0 = 0;
0x00006698 jalr t9 | t9 ();
0x0000669c slti v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x000066a0 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 == 0) {
0x000066a4 beqz v0, 0x678c | goto label_53;
| }
0x000066a8 addiu s0, zero, -0x16 | s0 = -0x16;
0x000066ac b 0x648c | goto label_13;
| label_35:
0x000066b0 lw a3, -0x7fd8(gp) | a3 = *((gp - 8182));
0x000066b4 lw a1, -0x7fd8(gp) | a1 = *((gp - 8182));
0x000066b8 lw t9, -0x7fa4(gp) | t9 = sym.imp.log_oom_internal;
0x000066bc addiu a3, a3, -0x4068 | a3 += -0x4068;
0x000066c0 addiu a2, zero, 0xe1 | a2 = 0xe1;
0x000066c4 addiu a1, a1, -0x6755 | a1 += -0x6755;
0x000066c8 move a0, zero | a0 = 0;
0x000066cc jalr t9 | t9 ();
0x000066d0 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x000066d4 move s0, v0 | s0 = v0;
| do {
| label_14:
0x000066d8 lw t9, -0x7e08(gp) | t9 = *((gp - 8066));
0x000066dc move a0, s2 | a0 = s2;
0x000066e0 jalr t9 | t9 ();
0x000066e4 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x000066e8 b 0x6410 | goto label_8;
| label_36:
0x000066ec lw t9, -0x7fac(gp) | t9 = sym.imp.log_get_max_level_realm;
0x000066f0 sw v0, 0x34(sp) | *(var_34h_4) = v0;
0x000066f4 move a0, zero | a0 = 0;
0x000066f8 jalr t9 | t9 ();
0x000066fc slti v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x00006700 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00006704 lw a1, 0x34(sp) | a1 = *(var_34h_4);
| if (v0 == 0) {
0x00006708 beqz v0, 0x67d0 | goto label_54;
| }
0x0000670c negu a1, a1 | __asm ("negu a1, a1");
0x00006710 andi a1, a1, 0xff | a1 &= 0xff;
0x00006714 negu s0, a1 | __asm ("negu s0, a1");
0x00006718 b 0x66d8 |
| } while (1);
| label_47:
0x0000671c lw t9, -0x7ddc(gp) | t9 = sym.imp.strjoin_real;
0x00006720 lw a1, 0x50(sp) | a1 = *(var_50h);
0x00006724 move a2, zero | a2 = 0;
0x00006728 addiu a0, a0, -0x660c | a0 += -0x660c;
0x0000672c jalr t9 | t9 ();
0x00006730 move s7, v0 | s7 = v0;
0x00006734 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 == 0) {
0x00006738 beqz v0, 0x6b5c | goto label_55;
| }
0x0000673c lw t9, -0x7e08(gp) | t9 = *((gp - 8066));
0x00006740 move a0, s6 | a0 = s6;
0x00006744 jalr t9 | t9 ();
0x00006748 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x0000674c move a2, zero | a2 = 0;
0x00006750 move a1, s2 | a1 = s2;
0x00006754 lw t9, -0x7dac(gp) | t9 = sym.imp.sd_journal_add_match;
0x00006758 move a0, s4 | a0 = s4;
0x0000675c jalr t9 | t9 ();
0x00006760 move s0, v0 | s0 = v0;
0x00006764 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 < 0) {
0x00006768 bltz v0, 0x6434 | goto label_7;
| }
0x0000676c lw t9, -0x7dac(gp) | t9 = sym.imp.sd_journal_add_match;
0x00006770 move a2, zero | a2 = 0;
0x00006774 move a1, s7 | a1 = s7;
0x00006778 move a0, s4 | a0 = s4;
0x0000677c jalr t9 | t9 ();
0x00006780 move s0, v0 | s0 = v0;
0x00006784 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00006788 b 0x6434 | goto label_7;
| label_53:
0x0000678c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00006790 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x00006794 addiu v0, v0, -0x64a8 | v0 += -0x64a8;
0x00006798 sw v0, 0x14(sp) | *(var_14h_4) = v0;
0x0000679c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x000067a0 lw t9, -0x7f00(gp) | t9 = sym.imp.log_internal_realm;
0x000067a4 addiu v0, v0, -0x4038 | v0 += -0x4038;
0x000067a8 lui a1, 0x4000 | a1 = 0x40000000;
0x000067ac sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x000067b0 addiu a3, zero, 0x47b | a3 = 0x47b;
0x000067b4 addiu a2, a2, -0x6755 | a2 += -0x6755;
0x000067b8 addiu a1, a1, 0x16 | a1 += 0x16;
0x000067bc addiu a0, zero, 3 | a0 = 3;
0x000067c0 jalr t9 | t9 ();
0x000067c4 move s0, v0 | s0 = v0;
0x000067c8 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x000067cc b 0x648c | goto label_13;
| label_54:
0x000067d0 lw v0, 0x44(sp) | v0 = *(var_44h_5);
0x000067d4 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x000067d8 sw v0, 0x14(sp) | *(var_14h_4) = v0;
0x000067dc lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x000067e0 lw t9, -0x7f00(gp) | t9 = sym.imp.log_internal_realm;
0x000067e4 addiu v0, v0, -0x4068 | v0 += -0x4068;
0x000067e8 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x000067ec addiu a3, zero, 0xe5 | a3 = 0xe5;
0x000067f0 addiu a2, a2, -0x6755 | a2 += -0x6755;
0x000067f4 addiu a0, zero, 3 | a0 = 3;
0x000067f8 jalr t9 | t9 ();
0x000067fc move s0, v0 | s0 = v0;
0x00006800 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00006804 b 0x66d8 | goto label_14;
| label_28:
0x00006808 lw v0, (s1) | v0 = *(s1);
0x0000680c lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x00006810 sw v0, 0x18(sp) | *(var_18h_3) = v0;
0x00006814 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00006818 lw t9, -0x7f00(gp) | t9 = sym.imp.log_internal_realm;
0x0000681c addiu v0, v0, -0x650c | v0 += -0x650c;
0x00006820 sw v0, 0x14(sp) | *(var_14h_4) = v0;
0x00006824 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00006828 lui a1, 0x4000 | a1 = 0x40000000;
0x0000682c addiu v0, v0, -0x4038 | v0 += -0x4038;
0x00006830 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00006834 addiu a3, zero, 0x46d | a3 = 0x46d;
0x00006838 addiu a2, a2, -0x6755 | a2 += -0x6755;
0x0000683c addiu a1, a1, 0x16 | a1 += 0x16;
0x00006840 addiu a0, zero, 3 | a0 = 3;
0x00006844 jalr t9 | t9 ();
0x00006848 move s0, v0 | s0 = v0;
0x0000684c lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00006850 move s2, zero | s2 = 0;
0x00006854 b 0x6024 | goto label_11;
| label_29:
0x00006858 lw v0, (s1) | v0 = *(s1);
0x0000685c lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x00006860 sw v0, 0x18(sp) | *(var_18h_3) = v0;
0x00006864 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00006868 lw t9, -0x7f00(gp) | t9 = sym.imp.log_internal_realm;
0x0000686c addiu v0, v0, -0x64c8 | v0 += -0x64c8;
0x00006870 sw v0, 0x14(sp) | *(var_14h_4) = v0;
0x00006874 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00006878 move a1, s0 | a1 = s0;
0x0000687c addiu v0, v0, -0x4038 | v0 += -0x4038;
0x00006880 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00006884 addiu a3, zero, 0x476 | a3 = 0x476;
0x00006888 addiu a2, a2, -0x6755 | a2 += -0x6755;
0x0000688c addiu a0, zero, 3 | a0 = 3;
0x00006890 jalr t9 | t9 ();
0x00006894 move s0, v0 | s0 = v0;
0x00006898 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x0000689c b 0x648c | goto label_13;
| do {
0x000068a0 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x000068a4 lw t9, -0x7f00(gp) | t9 = sym.imp.log_internal_realm;
0x000068a8 addiu v0, v0, -0x662c | v0 += -0x662c;
0x000068ac sw v0, 0x14(sp) | *(var_14h_4) = v0;
0x000068b0 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x000068b4 addiu a3, zero, 0x446 | a3 = 0x446;
0x000068b8 addiu v0, v0, -0x4038 | v0 += -0x4038;
0x000068bc sw v0, 0x10(sp) | *(var_10h_2) = v0;
| label_17:
0x000068c0 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x000068c4 move a1, s0 | a1 = s0;
0x000068c8 addiu a2, a2, -0x6755 | a2 += -0x6755;
0x000068cc addiu a0, zero, 3 | a0 = 3;
0x000068d0 jalr t9 | t9 ();
0x000068d4 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x000068d8 move s0, v0 | s0 = v0;
| label_50:
0x000068dc move s2, zero | s2 = 0;
0x000068e0 b 0x6024 | goto label_11;
| label_24:
0x000068e4 lw t9, -0x7fac(gp) | t9 = sym.imp.log_get_max_level_realm;
0x000068e8 move a0, zero | a0 = 0;
0x000068ec jalr t9 | t9 ();
0x000068f0 slti v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x000068f4 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 == 0) {
0x000068f8 beqz v0, 0x6a1c | goto label_56;
| }
0x000068fc negu a1, s0 | __asm ("negu a1, s0");
0x00006900 andi a1, a1, 0xff | a1 &= 0xff;
0x00006904 negu s0, a1 | __asm ("negu s0, a1");
0x00006908 move s2, zero | s2 = 0;
0x0000690c b 0x6024 | goto label_11;
| label_25:
0x00006910 lw t9, -0x7d2c(gp) | t9 = sym.imp.__errno_location;
0x00006914 jalr t9 | t9 ();
0x00006918 nop |
0x0000691c lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00006920 move a0, zero | a0 = 0;
0x00006924 lw t9, -0x7fac(gp) | t9 = sym.imp.log_get_max_level_realm;
0x00006928 lw s0, (v0) | s0 = *(v0);
0x0000692c jalr t9 | t9 ();
0x00006930 slti v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x00006934 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00006938 beqz v0, 0x68a0 |
| } while (v0 == 0);
0x0000693c move a1, s0 | a1 = s0;
| if (s0 < 0) {
0x00006940 bgez s0, 0x6948 |
0x00006944 negu a1, s0 | __asm ("negu a1, s0");
| }
0x00006948 andi a1, a1, 0xff | a1 &= 0xff;
0x0000694c negu s0, a1 | __asm ("negu s0, a1");
0x00006950 move s2, zero | s2 = 0;
0x00006954 b 0x6024 | goto label_11;
| label_42:
0x00006958 lw a3, -0x7fd8(gp) | a3 = *((gp - 8182));
0x0000695c lw a1, -0x7fd8(gp) | a1 = *((gp - 8182));
0x00006960 lw t9, -0x7fa4(gp) | t9 = sym.imp.log_oom_internal;
0x00006964 addiu a3, a3, -0x4068 | a3 += -0x4068;
0x00006968 addiu a2, zero, 0xf0 | a2 = 0xf0;
0x0000696c addiu a1, a1, -0x6755 | a1 += -0x6755;
0x00006970 move a0, zero | a0 = 0;
0x00006974 jalr t9 | t9 ();
0x00006978 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x0000697c move s0, v0 | s0 = v0;
| do {
| label_16:
0x00006980 lw t9, -0x7e08(gp) | t9 = *((gp - 8066));
0x00006984 lw a0, 0x64(sp) | a0 = *(var_64h_4);
0x00006988 jalr t9 | t9 ();
0x0000698c lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00006990 b 0x66d8 | goto label_14;
| label_41:
0x00006994 lw t9, -0x7fac(gp) | t9 = sym.imp.log_get_max_level_realm;
0x00006998 sw v0, 0x34(sp) | *(var_34h_4) = v0;
0x0000699c move a0, zero | a0 = 0;
0x000069a0 jalr t9 | t9 ();
0x000069a4 slti v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x000069a8 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x000069ac lw a1, 0x34(sp) | a1 = *(var_34h_4);
| if (v0 == 0) {
0x000069b0 beqz v0, 0x6aac | goto label_57;
| }
| label_15:
0x000069b4 negu a1, a1 | __asm ("negu a1, a1");
0x000069b8 andi a1, a1, 0xff | a1 &= 0xff;
0x000069bc negu s0, a1 | __asm ("negu s0, a1");
0x000069c0 b 0x6980 |
| } while (1);
| label_43:
0x000069c4 lw t9, -0x7fac(gp) | t9 = sym.imp.log_get_max_level_realm;
0x000069c8 sw v0, 0x34(sp) | *(var_34h_4) = v0;
0x000069cc move a0, zero | a0 = 0;
0x000069d0 jalr t9 | t9 ();
0x000069d4 slti v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x000069d8 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x000069dc lw a1, 0x34(sp) | a1 = *(var_34h_4);
| if (v0 != 0) {
0x000069e0 bnez v0, 0x69b4 | goto label_15;
| }
0x000069e4 lw v0, 0x44(sp) | v0 = *(var_44h_5);
0x000069e8 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x000069ec sw v0, 0x14(sp) | *(var_14h_4) = v0;
0x000069f0 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x000069f4 lw t9, -0x7f00(gp) | t9 = sym.imp.log_internal_realm;
0x000069f8 addiu v0, v0, -0x4068 | v0 += -0x4068;
0x000069fc sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00006a00 addiu a3, zero, 0xf4 | a3 = 0xf4;
0x00006a04 addiu a2, a2, -0x6755 | a2 += -0x6755;
0x00006a08 addiu a0, zero, 3 | a0 = 3;
0x00006a0c jalr t9 | t9 ();
0x00006a10 move s0, v0 | s0 = v0;
0x00006a14 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00006a18 b 0x6980 | goto label_16;
| label_56:
0x00006a1c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00006a20 lw t9, -0x7f00(gp) | t9 = sym.imp.log_internal_realm;
0x00006a24 addiu v0, v0, -0x664c | v0 += -0x664c;
0x00006a28 sw v0, 0x14(sp) | *(var_14h_4) = v0;
0x00006a2c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00006a30 addiu a3, zero, 0x443 | a3 = 0x443;
0x00006a34 addiu v0, v0, -0x4038 | v0 += -0x4038;
0x00006a38 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00006a3c b 0x68c0 | goto label_17;
| label_31:
0x00006a40 lw t9, -0x7fac(gp) | t9 = sym.imp.log_get_max_level_realm;
0x00006a44 move a0, zero | a0 = 0;
0x00006a48 jalr t9 | t9 ();
0x00006a4c slti v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x00006a50 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 != 0) {
0x00006a54 bnez v0, 0x6020 | goto label_18;
| }
0x00006a58 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00006a5c lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x00006a60 addiu v0, v0, -0x65fc | v0 += -0x65fc;
0x00006a64 sw v0, 0x14(sp) | *(var_14h_4) = v0;
0x00006a68 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00006a6c lw t9, -0x7f00(gp) | t9 = sym.imp.log_internal_realm;
0x00006a70 addiu v0, v0, -0x4068 | v0 += -0x4068;
0x00006a74 addiu a0, zero, 3 | a0 = 3;
0x00006a78 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00006a7c addiu a3, zero, 0xc7 | a3 = 0xc7;
0x00006a80 addiu a2, a2, -0x6755 | a2 += -0x6755;
0x00006a84 move a1, zero | a1 = 0;
0x00006a88 jalr t9 | t9 ();
0x00006a8c lw a0, 0x54(sp) | a0 = *(var_54h);
0x00006a90 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (a0 == 0) {
0x00006a94 beqz a0, 0x6020 | goto label_18;
| }
0x00006a98 lw t9, -0x7f80(gp) | t9 = sym.imp.sd_device_unref;
0x00006a9c addiu s0, zero, -0x16 | s0 = -0x16;
0x00006aa0 jalr t9 | t9 ();
0x00006aa4 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00006aa8 b 0x6024 | goto label_11;
| label_57:
0x00006aac lw v0, 0x60(sp) | v0 = *(var_60h_4);
0x00006ab0 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x00006ab4 sw v0, 0x18(sp) | *(var_18h_3) = v0;
0x00006ab8 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00006abc lw t9, -0x7f00(gp) | t9 = sym.imp.log_internal_realm;
0x00006ac0 addiu v0, v0, -0x657c | v0 += -0x657c;
0x00006ac4 sw v0, 0x14(sp) | *(var_14h_4) = v0;
0x00006ac8 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00006acc addiu a3, zero, 0xec | a3 = 0xec;
0x00006ad0 addiu v0, v0, -0x4068 | v0 += -0x4068;
0x00006ad4 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00006ad8 addiu a2, a2, -0x6755 | a2 += -0x6755;
0x00006adc addiu a0, zero, 3 | a0 = 3;
0x00006ae0 jalr t9 | t9 ();
0x00006ae4 move s0, v0 | s0 = v0;
0x00006ae8 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00006aec b 0x6980 | goto label_16;
| label_46:
0x00006af0 lw a3, -0x7fd8(gp) | a3 = *((gp - 8182));
0x00006af4 lw t9, -0x7fa4(gp) | t9 = sym.imp.log_oom_internal;
0x00006af8 addiu a3, a3, -0x4038 | a3 += -0x4038;
0x00006afc addiu a2, zero, 0x452 | a2 = 0x452;
| label_19:
0x00006b00 lw a1, -0x7fd8(gp) | a1 = *((gp - 8182));
0x00006b04 move a0, zero | a0 = 0;
0x00006b08 addiu a1, a1, -0x6755 | a1 += -0x6755;
0x00006b0c jalr t9 | t9 ();
0x00006b10 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00006b14 move s0, v0 | s0 = v0;
| do {
0x00006b18 lw t9, -0x7e08(gp) | t9 = *((gp - 8066));
0x00006b1c move a0, s6 | a0 = s6;
0x00006b20 jalr t9 | t9 ();
0x00006b24 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00006b28 b 0x6024 | goto label_11;
| label_45:
0x00006b2c lw a3, -0x7fd8(gp) | a3 = *((gp - 8182));
0x00006b30 lw a1, -0x7fd8(gp) | a1 = *((gp - 8182));
0x00006b34 lw t9, -0x7fa4(gp) | t9 = sym.imp.log_oom_internal;
0x00006b38 addiu a3, a3, -0x4038 | a3 += -0x4038;
0x00006b3c addiu a2, zero, 0x44e | a2 = 0x44e;
0x00006b40 addiu a1, a1, -0x6755 | a1 += -0x6755;
0x00006b44 move a0, zero | a0 = 0;
0x00006b48 jalr t9 | t9 ();
0x00006b4c move s0, v0 | s0 = v0;
0x00006b50 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00006b54 move s2, zero | s2 = 0;
0x00006b58 b 0x6b18 |
| } while (1);
| label_55:
0x00006b5c lw a3, -0x7fd8(gp) | a3 = *((gp - 8182));
0x00006b60 lw t9, -0x7fa4(gp) | t9 = sym.imp.log_oom_internal;
0x00006b64 addiu a3, a3, -0x4038 | a3 += -0x4038;
0x00006b68 addiu a2, zero, 0x459 | a2 = 0x459;
0x00006b6c b 0x6b00 | goto label_19;
| label_52:
0x00006b70 lw t9, -0x7f14(gp) | t9 = sym.imp.__stack_chk_fail;
0x00006b74 jalr t9 | t9 ();
0x00006b78 nop |
| }
[*] Function sprintf used 2 times journalctl