[*] Binary protection state of systemd-journald
Full RELRO Canary found NX disabled PIE enabled RPATH No RUNPATH No Symbols
[*] Function printf tear down of systemd-journald
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/systemd/systemd-journald @ 0x44d0 */
| #include <stdint.h>
|
; (fcn) fcn.000044d0 () | void fcn_000044d0 () {
0x000044d0 lui gp, 3 |
0x000044d4 addiu gp, gp, 0x6b30 |
0x000044d8 addu gp, gp, t9 | gp += t9;
0x000044dc addiu sp, sp, -0xa0 |
0x000044e0 sw s3, 0x88(sp) | *(var_88h) = s3;
0x000044e4 lw s3, -0x7cf4(gp) | s3 = *((gp - 7997));
0x000044e8 sw s5, 0x90(sp) | *(var_90h) = s5;
0x000044ec sw gp, 0x18(sp) | *(var_18h) = gp;
0x000044f0 sw ra, 0x9c(sp) | *(var_9ch) = ra;
0x000044f4 sw s7, 0x98(sp) | *(var_98h) = s7;
0x000044f8 sw s6, 0x94(sp) | *(var_94h) = s6;
0x000044fc sw s4, 0x8c(sp) | *(var_8ch) = s4;
0x00004500 sw s2, 0x84(sp) | *(var_84h) = s2;
0x00004504 sw s1, 0x80(sp) | *(var_80h) = s1;
0x00004508 sw s0, 0x7c(sp) | *(var_7ch) = s0;
0x0000450c lw v0, (s3) | v0 = *(s3);
0x00004510 lw s5, 0xb0(sp) | s5 = *(arg_b0h);
0x00004514 sw v0, 0x74(sp) | *(var_74h) = v0;
0x00004518 sw zero, 0x24(sp) | *(var_24h) = 0;
| if (a0 == 0) {
0x0000451c beqz a0, 0x4780 | goto label_4;
| }
0x00004520 slti v0, a1, 0x3e8 | v0 = (a1 < 0x3e8) ? 1 : 0;
| if (a1 < 0) {
0x00004524 bltz a1, 0x4808 | goto label_5;
| }
0x00004528 lw v0, -0x7fc8(gp) | v0 = *(gp);
| if (v0 == 0) {
0x0000452c beqz v0, 0x4834 | goto label_6;
| }
0x00004530 move s2, a3 | s2 = a3;
| if (a3 == 0) {
0x00004534 beqz a3, 0x485c | goto label_7;
| }
0x00004538 lw v1, 0x1b8(a0) | v1 = *((a0 + 110));
0x0000453c andi v0, a1, 7 | v0 = a1 & 7;
0x00004540 slt v0, v1, v0 | v0 = (v1 < v0) ? 1 : 0;
0x00004544 move s0, a0 | s0 = a0;
| if (v0 != 0) {
0x00004548 bnez v0, 0x46a4 | goto label_8;
| }
0x0000454c lw v0, 0xc(a0) | v0 = *((a0 + 3));
0x00004550 lw t9, -0x7fa0(gp) | t9 = *(gp);
| if (v0 < 0) {
0x00004554 bltz v0, 0x46a4 | goto label_8;
| }
0x00004558 move a0, a1 | a0 = a1;
0x0000455c move s4, a2 | s4 = a2;
0x00004560 bal 0x1308c | fcn_0001308c ();
0x00004564 lw gp, 0x18(sp) | gp = *(var_18h);
0x00004568 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0000456c addiu s1, sp, 0x50 | s1 = sp + 0x50;
0x00004570 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00004574 lw t9, -0x7e30(gp) | t9 = sym.imp.__snprintf_chk
| /* str.__i_ */
0x00004578 addiu v0, v0, -0x3598 | v0 += -0x3598;
0x0000457c addiu a3, zero, 0xf | a3 = 0xf;
0x00004580 addiu a2, zero, 1 | a2 = 1;
0x00004584 addiu a1, zero, 0xf | a1 = 0xf;
0x00004588 move a0, s1 | a0 = s1;
0x0000458c sw v0, 0x10(sp) | *(var_10h) = v0;
0x00004590 jalr t9 | t9 ();
0x00004594 lw gp, 0x18(sp) | gp = *(var_18h);
0x00004598 lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
0x0000459c move a0, s1 | a0 = s1;
0x000045a0 jalr t9 | t9 ();
0x000045a4 sw v0, 0x2c(sp) | *(var_2ch) = v0;
0x000045a8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000045ac sw s1, 0x28(sp) | *(var_28h) = s1;
| if (s5 == 0) {
0x000045b0 beqz s5, 0x46dc | goto label_9;
| }
0x000045b4 lw a0, (s5) | a0 = *(s5);
| if (s4 == 0) {
0x000045b8 beqz s4, 0x47a8 | goto label_10;
| }
0x000045bc lw v0, -0x7fc8(gp) | v0 = *(gp);
0x000045c0 lw t9, -0x7e30(gp) | t9 = sym.imp.__snprintf_chk
| /* str.__i_:_ */
0x000045c4 addiu v0, v0, -0x3590 | v0 += -0x3590;
0x000045c8 addiu s6, sp, 0x60 | s6 = sp + 0x60;
0x000045cc sw a0, 0x14(sp) | *(var_14h) = a0;
0x000045d0 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000045d4 addiu a3, zero, 0x11 | a3 = 0x11;
0x000045d8 addiu a2, zero, 1 | a2 = 1;
0x000045dc addiu a1, zero, 0x11 | a1 = 0x11;
0x000045e0 move a0, s6 | a0 = s6;
0x000045e4 jalr t9 | t9 ();
0x000045e8 lw gp, 0x18(sp) | gp = *(var_18h);
| label_1:
0x000045ec lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
0x000045f0 move a0, s4 | a0 = s4;
0x000045f4 jalr t9 | t9 ();
0x000045f8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000045fc sw s4, 0x30(sp) | *(var_30h) = s4;
0x00004600 sw v0, 0x34(sp) | *(var_34h) = v0;
0x00004604 addiu s4, zero, 5 | s4 = 5;
0x00004608 addiu s1, zero, 4 | s1 = 4;
0x0000460c addiu s5, zero, 3 | s5 = 3;
0x00004610 addiu s7, zero, 2 | s7 = 2;
| label_2:
0x00004614 lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
0x00004618 move a0, s6 | a0 = s6;
0x0000461c jalr t9 | t9 ();
0x00004620 sll v1, s7, 3 | v1 = s7 << 3;
0x00004624 addiu a0, sp, 0x78 | a0 = sp + 0x78;
0x00004628 addu v1, a0, v1 | v1 = a0 + v1;
0x0000462c lw gp, 0x18(sp) | gp = *(var_18h);
0x00004630 sw s6, -0x50(v1) | *(var_38h) = s6;
0x00004634 sw v0, -0x4c(v1) | *(var_3ch_2) = v0;
| do {
| label_3:
0x00004638 lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
0x0000463c move a0, s2 | a0 = s2;
0x00004640 jalr t9 | t9 ();
0x00004644 lw gp, 0x18(sp) | gp = *(var_18h);
0x00004648 addiu a0, sp, 0x78 | a0 = sp + 0x78;
0x0000464c sll a1, s5, 3 | a1 = s5 << 3;
0x00004650 addu a1, a0, a1 | a1 = a0 + a1;
0x00004654 sll v1, s1, 3 | v1 = s1 << 3;
0x00004658 sw v0, -0x4c(a1) | *(var_4ch_2) = v0;
0x0000465c lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00004660 addu v1, a0, v1 | v1 = a0 + v1;
0x00004664 addiu v0, v0, -0x3588 | v0 += -0x3588;
0x00004668 sw s2, -0x50(a1) | *(var_50h_3) = s2;
0x0000466c lw t9, -0x7b5c(gp) | t9 = sym.imp.writev;
0x00004670 sw v0, -0x50(v1) | *(var_50h_4) = v0;
0x00004674 lw a0, 0xc(s0) | a0 = *((s0 + 3));
0x00004678 addiu v0, zero, 1 | v0 = 1;
0x0000467c sw v0, -0x4c(v1) | *(var_4ch_3) = v0;
0x00004680 move a2, s4 | a2 = s4;
0x00004684 addiu a1, sp, 0x28 | a1 = sp + 0x28;
0x00004688 jalr t9 | t9 ();
0x0000468c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 < 0) {
0x00004690 bltz v0, 0x471c | goto label_11;
| }
| label_0:
0x00004694 lw t9, -0x7c18(gp) | t9 = sym.imp.free;
0x00004698 lw a0, 0x24(sp) | a0 = *(var_24h);
0x0000469c jalr t9 | t9 ();
0x000046a0 lw gp, 0x18(sp) | gp = *(var_18h);
| label_8:
0x000046a4 lw v1, 0x74(sp) | v1 = *(var_74h);
0x000046a8 lw v0, (s3) | v0 = *(s3);
0x000046ac lw ra, 0x9c(sp) | ra = *(var_9ch);
| if (v1 != v0) {
0x000046b0 bne v1, v0, 0x4894 | goto label_12;
| }
0x000046b4 lw s7, 0x98(sp) | s7 = *(var_98h);
0x000046b8 lw s6, 0x94(sp) | s6 = *(var_94h);
0x000046bc lw s5, 0x90(sp) | s5 = *(var_90h);
0x000046c0 lw s4, 0x8c(sp) | s4 = *(var_8ch);
0x000046c4 lw s3, 0x88(sp) | s3 = *(var_88h);
0x000046c8 lw s2, 0x84(sp) | s2 = *(var_84h);
0x000046cc lw s1, 0x80(sp) | s1 = *(var_80h);
0x000046d0 lw s0, 0x7c(sp) | s0 = *(var_7ch);
0x000046d4 addiu sp, sp, 0xa0 |
0x000046d8 jr ra | return v0;
| label_9:
0x000046dc lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
| if (s4 == 0) {
0x000046e0 beqz s4, 0x4884 | goto label_13;
| }
0x000046e4 move a0, s4 | a0 = s4;
0x000046e8 jalr t9 | t9 ();
0x000046ec lw gp, 0x18(sp) | gp = *(var_18h);
0x000046f0 sw v0, 0x34(sp) | *(var_34h) = v0;
0x000046f4 sw s4, 0x30(sp) | *(var_30h) = s4;
0x000046f8 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x000046fc addiu s4, zero, 5 | s4 = 5;
| /* esilref: ': ' */
0x00004700 addiu v0, v0, -0x358c | v0 += -0x358c;
0x00004704 sw v0, 0x38(sp) | *(var_38h) = v0;
0x00004708 addiu v0, zero, 2 | v0 = 2;
0x0000470c sw v0, 0x3c(sp) | *(var_3ch_2) = v0;
0x00004710 addiu s1, zero, 4 | s1 = 4;
0x00004714 addiu s5, zero, 3 | s5 = 3;
0x00004718 b 0x4638 |
| } while (1);
| label_11:
0x0000471c lw t9, -0x7ee8(gp) | t9 = sym.imp.log_get_max_level_realm;
0x00004720 move a0, zero | a0 = 0;
0x00004724 jalr t9 | t9 ();
0x00004728 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x0000472c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00004730 bnez v0, 0x4694 | goto label_0;
| }
0x00004734 lw t9, -0x7aa8(gp) | t9 = sym.imp.__errno_location;
0x00004738 jalr t9 | t9 ();
0x0000473c nop |
0x00004740 lw gp, 0x18(sp) | gp = *(var_18h);
0x00004744 lw a1, (v0) | a1 = *(v0);
0x00004748 addiu a3, zero, 0x51 | a3 = 0x51;
0x0000474c lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00004750 lw a2, -0x7fc8(gp) | a2 = *(gp);
| /* str.Failed_to_write_to__dev_kmsg_for_logging:__m */
0x00004754 addiu v0, v0, -0x3584 | v0 += -0x3584;
0x00004758 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0000475c lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00004760 lw t9, -0x7d58(gp) | t9 = sym.imp.log_internal_realm;
| /* esilref: 'server_forward_kmsg' */
0x00004764 addiu v0, v0, -0x30e8 | v0 += -0x30e8;
0x00004768 sw v0, 0x10(sp) | *(var_10h) = v0;
| /* esilref: 'src/journal/journald-kmsg.c' */
0x0000476c addiu a2, a2, -0x35dd | a2 += -0x35dd;
0x00004770 addiu a0, zero, 7 | a0 = 7;
0x00004774 jalr t9 | t9 ();
0x00004778 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000477c b 0x4694 | goto label_0;
| label_4:
0x00004780 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00004784 lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00004788 lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* str.server_forward_kmsg */
0x0000478c addiu v0, v0, -0x30d4 | v0 += -0x30d4;
0x00004790 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x00004794 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00004798 addiu a3, zero, 0x27 | a3 = 0x27;
| /* esilref: 'src/journal/journald-kmsg.c' */
0x0000479c addiu a2, a2, -0x35dd | a2 += -0x35dd;
0x000047a0 addiu a1, a1, -0x1ce8 | a1 += -0x1ce8;
0x000047a4 jalr t9 | t9 ();
| label_10:
0x000047a8 lw t9, -0x7c94(gp) | t9 = sym.imp.get_process_comm;
0x000047ac addiu a1, sp, 0x24 | a1 = sp + 0x24;
0x000047b0 jalr t9 | t9 ();
0x000047b4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000047b8 lw v0, (s5) | v0 = *(s5);
0x000047bc lw s4, 0x24(sp) | s4 = *(var_24h);
0x000047c0 sw v0, 0x14(sp) | *(var_14h) = v0;
0x000047c4 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x000047c8 lw t9, -0x7e30(gp) | t9 = sym.imp.__snprintf_chk
| /* str.__i_:_ */
0x000047cc addiu v0, v0, -0x3590 | v0 += -0x3590;
0x000047d0 addiu s6, sp, 0x60 | s6 = sp + 0x60;
0x000047d4 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000047d8 addiu a3, zero, 0x11 | a3 = 0x11;
0x000047dc addiu a2, zero, 1 | a2 = 1;
0x000047e0 addiu a1, zero, 0x11 | a1 = 0x11;
0x000047e4 move a0, s6 | a0 = s6;
0x000047e8 jalr t9 | t9 ();
0x000047ec lw gp, 0x18(sp) | gp = *(var_18h);
| if (s4 != 0) {
0x000047f0 bnez s4, 0x45ec | goto label_1;
| }
0x000047f4 addiu s4, zero, 4 | s4 = 4;
0x000047f8 addiu s1, zero, 3 | s1 = 3;
0x000047fc addiu s5, zero, 2 | s5 = 2;
0x00004800 addiu s7, zero, 1 | s7 = 1;
0x00004804 b 0x4614 | goto label_2;
| label_5:
0x00004808 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x0000480c lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00004810 lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* str.server_forward_kmsg */
0x00004814 addiu v0, v0, -0x30d4 | v0 += -0x30d4;
0x00004818 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x0000481c sw v0, 0x10(sp) | *(var_10h) = v0;
0x00004820 addiu a3, zero, 0x28 | a3 = 0x28;
| /* esilref: 'src/journal/journald-kmsg.c' */
0x00004824 addiu a2, a2, -0x35dd | a2 += -0x35dd;
| /* str.priority___0 */
0x00004828 addiu a1, a1, -0x35c0 | a1 += -0x35c0;
0x0000482c move a0, zero | a0 = 0;
0x00004830 jalr t9 | t9 ();
| label_6:
0x00004834 lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00004838 lw a1, -0x7fc8(gp) | a1 = *(gp);
0x0000483c addiu v0, v0, -0x30d4 | v0 += -0x30d4;
0x00004840 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x00004844 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00004848 addiu a3, zero, 0x29 | a3 = 0x29;
| /* esilref: 'src/journal/journald-kmsg.c' */
0x0000484c addiu a2, a2, -0x35dd | a2 += -0x35dd;
| /* str.priority___999 */
0x00004850 addiu a1, a1, -0x35b0 | a1 += -0x35b0;
0x00004854 move a0, zero | a0 = 0;
0x00004858 jalr t9 | t9 ();
| label_7:
0x0000485c lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00004860 lw a1, -0x7fc8(gp) | a1 = *(gp);
0x00004864 addiu v0, v0, -0x30d4 | v0 += -0x30d4;
0x00004868 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x0000486c sw v0, 0x10(sp) | *(var_10h) = v0;
0x00004870 addiu a3, zero, 0x2a | a3 = 0x2a;
| /* esilref: 'src/journal/journald-kmsg.c' */
0x00004874 addiu a2, a2, -0x35dd | a2 += -0x35dd;
| /* str.message */
0x00004878 addiu a1, a1, -0x35a0 | a1 += -0x35a0;
0x0000487c move a0, zero | a0 = 0;
0x00004880 jalr t9 | t9 ();
| label_13:
0x00004884 addiu s4, zero, 3 | s4 = 3;
0x00004888 addiu s1, zero, 2 | s1 = 2;
0x0000488c addiu s5, zero, 1 | s5 = 1;
0x00004890 b 0x4638 | goto label_3;
| label_12:
0x00004894 lw t9, -0x7d6c(gp) | t9 = sym.imp.__stack_chk_fail;
0x00004898 jalr t9 | t9 ();
0x0000489c nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/systemd/systemd-journald @ 0xb824 */
| #include <stdint.h>
|
; (fcn) fcn.0000b824 () | void fcn_0000b824 () {
0x0000b824 lui gp, 3 |
0x0000b828 addiu gp, gp, -0x824 |
0x0000b82c addu gp, gp, t9 | gp += t9;
0x0000b830 addiu sp, sp, -0x868 |
0x0000b834 sw s3, 0x84c(sp) | *(var_84ch) = s3;
0x0000b838 lw s3, -0x7cf4(gp) | s3 = *((gp - 7997));
0x0000b83c sw fp, 0x860(sp) | *(var_860h) = fp;
0x0000b840 sw ra, 0x864(sp) | *(var_864h) = ra;
0x0000b844 sw s7, 0x85c(sp) | *(var_85ch) = s7;
0x0000b848 sw s6, 0x858(sp) | *(var_858h) = s6;
0x0000b84c sw s5, 0x854(sp) | *(var_854h) = s5;
0x0000b850 sw s4, 0x850(sp) | *(var_850h) = s4;
0x0000b854 sw s2, 0x848(sp) | *(var_848h) = s2;
0x0000b858 sw s1, 0x844(sp) | *(var_844h) = s1;
0x0000b85c sw s0, 0x840(sp) | *(var_840h) = s0;
0x0000b860 sw gp, 0x20(sp) | *(var_20h_12) = gp;
0x0000b864 move fp, sp | fp = sp;
0x0000b868 lw v0, (s3) | v0 = *(s3);
0x0000b86c sw zero, 0x34(fp) | *(arg_34h) = 0;
0x0000b870 sw v0, 0x83c(fp) | *(arg_83ch) = v0;
0x0000b874 lw v0, -0x7fc8(gp) | v0 = *(gp);
| if (a0 == 0) {
0x0000b878 beqz a0, 0xbb04 | goto label_4;
| }
0x0000b87c move s2, a0 | s2 = a0;
| if (a3 == 0) {
0x0000b880 beqz a3, 0xbb28 | goto label_5;
| }
0x0000b884 lw v0, 0x260(a0) | v0 = *((a0 + 152));
0x0000b888 move s5, a1 | s5 = a1;
| if (v0 == 0) {
0x0000b88c beqz v0, 0xba3c | goto label_6;
| }
0x0000b890 lw s1, 0x78(v0) | s1 = *((v0 + 30));
0x0000b894 addiu s1, s1, 0x3d | s1 += 0x3d;
0x0000b898 move v0, zero | v0 = 0;
| if (s1 != 0) {
0x0000b89c bnez s1, 0xbb7c | goto label_7;
| }
| label_2:
0x0000b8a0 subu sp, sp, v0 |
0x0000b8a4 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x0000b8a8 addiu s0, sp, 0x20 | s0 = sp + 0x20;
| /* str.SYSLOG_FACILITY3 */
0x0000b8ac addiu v0, v0, -0x1d60 | v0 += -0x1d60;
0x0000b8b0 sw v0, (s0) | *(s0) = v0;
0x0000b8b4 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x0000b8b8 addiu v1, zero, 0x11 | v1 = 0x11;
| /* str.SYSLOG_IDENTIFIERsystemd_journald */
0x0000b8bc addiu v0, v0, -0x1d4c | v0 += -0x1d4c;
0x0000b8c0 sw v0, 8(s0) | *((s0 + 2)) = v0;
0x0000b8c4 addiu v0, zero, 0x22 | v0 = 0x22;
0x0000b8c8 sw v0, 0xc(s0) | *((s0 + 3)) = v0;
0x0000b8cc lw v0, -0x7fc8(gp) | v0 = *(gp);
0x0000b8d0 sw v1, 4(s0) | *((s0 + 1)) = v1;
| /* str._TRANSPORTdriver */
0x0000b8d4 addiu v0, v0, -0x1d28 | v0 += -0x1d28;
0x0000b8d8 sw v0, 0x10(s0) | *((s0 + 4)) = v0;
0x0000b8dc addiu v0, zero, 4 | v0 = 4;
0x0000b8e0 sw v0, 0x34(fp) | *(arg_34h) = v0;
0x0000b8e4 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x0000b8e8 sw v1, 0x14(s0) | *((s0 + 5)) = v1;
| /* str.PRIORITY6 */
0x0000b8ec addiu v0, v0, -0x1d14 | v0 += -0x1d14;
0x0000b8f0 sw v0, 0x18(s0) | *((s0 + 6)) = v0;
0x0000b8f4 addiu v0, zero, 0xa | v0 = 0xa;
0x0000b8f8 sw v0, 0x1c(s0) | *((s0 + 7)) = v0;
| if (a2 == 0) {
0x0000b8fc beqz a2, 0xba48 | goto label_8;
| }
0x0000b900 lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
0x0000b904 addiu v0, zero, 5 | v0 = 5;
0x0000b908 sw a3, 0x28(fp) | *(arg_28h) = a3;
0x0000b90c move a0, a2 | a0 = a2;
0x0000b910 sw a2, 0x2c(fp) | *(arg_2ch) = a2;
0x0000b914 sw v0, 0x34(fp) | *(arg_34h) = v0;
0x0000b918 jalr t9 | t9 ();
0x0000b91c lw a2, 0x2c(fp) | a2 = *(arg_2ch);
0x0000b920 lw gp, 0x20(fp) | gp = *(var_20h_12);
0x0000b924 lw a3, 0x28(fp) | a3 = *(arg_28h);
0x0000b928 sw v0, 0x24(s0) | *((s0 + 9)) = v0;
0x0000b92c sw a2, 0x20(s0) | *((s0 + 8)) = a2;
0x0000b930 addiu s6, zero, 5 | s6 = 5;
| label_3:
0x0000b934 addiu v0, fp, 0x878 | v0 = fp + 0x878;
0x0000b938 lw t9, -0x7dac(gp) | t9 = sym.imp.log_format_iovec;
0x0000b93c sw a3, 0x14(sp) | *(var_14h_7) = a3;
0x0000b940 sw v0, 0x38(fp) | *(arg_38h) = v0;
0x0000b944 sw v0, 0x18(sp) | *(var_18h_13) = v0;
0x0000b948 sw zero, 0x10(sp) | *(var_10h_13) = 0;
0x0000b94c move a3, zero | a3 = 0;
0x0000b950 addiu a2, fp, 0x34 | a2 = fp + 0x34;
0x0000b954 move a1, s1 | a1 = s1;
0x0000b958 move a0, s0 | a0 = s0;
0x0000b95c jalr t9 | t9 ();
0x0000b960 move s4, v0 | s4 = v0;
0x0000b964 lw gp, 0x20(fp) | gp = *(var_20h_12);
| if (v0 >= 0) {
0x0000b968 bgez v0, 0xb9f0 | goto label_9;
| }
0x0000b96c lw v0, 0x34(fp) | v0 = *(arg_34h);
0x0000b970 sltu v0, s6, v0 | v0 = (s6 < v0) ? 1 : 0;
0x0000b974 lw t9, -0x7ad4(gp) | t9 = sym.imp.strerror;
| if (v0 == 0) {
0x0000b978 beqz v0, 0xba50 | goto label_10;
| }
| label_0:
0x0000b97c sll s7, s6, 3 | s7 = s6 << 3;
0x0000b980 addu s7, s0, s7 | s7 = s0 + s7;
| do {
0x0000b984 lw t9, -0x7c18(gp) | t9 = sym.imp.free;
0x0000b988 lw a0, (s7) | a0 = *(s7);
0x0000b98c addiu s6, s6, 1 | s6++;
0x0000b990 jalr t9 | t9 ();
0x0000b994 lw v0, 0x34(fp) | v0 = *(arg_34h);
0x0000b998 lw gp, 0x20(fp) | gp = *(var_20h_12);
0x0000b99c sltu v0, s6, v0 | v0 = (s6 < v0) ? 1 : 0;
0x0000b9a0 addiu s7, s7, 8 | s7 += 8;
0x0000b9a4 bnez v0, 0xb984 |
| } while (v0 != 0);
0x0000b9a8 lw t9, -0x7ad4(gp) | t9 = sym.imp.strerror;
| if (s4 < 0) {
0x0000b9ac bltz s4, 0xba50 | goto label_10;
| }
| label_1:
0x0000b9b0 lw v1, 0x83c(fp) | v1 = *(arg_83ch);
0x0000b9b4 lw v0, (s3) | v0 = *(s3);
0x0000b9b8 lw ra, 0x864(fp) | ra = *(var_864h);
| if (v1 != v0) {
0x0000b9bc bne v1, v0, 0xbbf0 | goto label_11;
| }
0x0000b9c0 move sp, fp |
0x0000b9c4 lw fp, 0x860(sp) | fp = *(var_860h);
0x0000b9c8 lw s7, 0x85c(sp) | s7 = *(var_85ch);
0x0000b9cc lw s6, 0x858(sp) | s6 = *(var_858h);
0x0000b9d0 lw s5, 0x854(sp) | s5 = *(var_854h);
0x0000b9d4 lw s4, 0x850(sp) | s4 = *(var_850h);
0x0000b9d8 lw s3, 0x84c(sp) | s3 = *(var_84ch);
0x0000b9dc lw s2, 0x848(sp) | s2 = *(var_848h);
0x0000b9e0 lw s1, 0x844(sp) | s1 = *(var_844h);
0x0000b9e4 lw s0, 0x840(sp) | s0 = *(var_840h);
0x0000b9e8 addiu sp, sp, 0x868 |
0x0000b9ec jr ra | return v0;
| label_9:
0x0000b9f0 lw v0, 0x260(s2) | v0 = *((s2 + 152));
0x0000b9f4 lw t9, -0x7f90(gp) | t9 = *(gp);
0x0000b9f8 addiu v1, zero, 6 | v1 = 6;
0x0000b9fc lw a2, 0x34(fp) | a2 = *(arg_34h);
0x0000ba00 sw v0, 0x10(sp) | *(var_10h_13) = v0;
0x0000ba04 sw s5, 0x1c(sp) | *(var_1ch_4) = s5;
0x0000ba08 sw v1, 0x18(sp) | *(var_18h_13) = v1;
0x0000ba0c sw zero, 0x14(sp) | *(var_14h_7) = 0;
0x0000ba10 move a3, s1 | a3 = s1;
0x0000ba14 move a1, s0 | a1 = s0;
0x0000ba18 addiu t9, t9, -0x6aa4 | t9 += -0x6aa4;
0x0000ba1c move a0, s2 | a0 = s2;
0x0000ba20 bal 0x955c | fcn_0000955c ();
0x0000ba24 lw v0, 0x34(fp) | v0 = *(arg_34h);
0x0000ba28 sltu v0, s6, v0 | v0 = (s6 < v0) ? 1 : 0;
0x0000ba2c lw gp, 0x20(fp) | gp = *(var_20h_12);
| if (v0 != 0) {
0x0000ba30 bnez v0, 0xb97c | goto label_0;
| }
0x0000ba34 b 0xb9b0 | goto label_1;
0x0000ba38 nop |
| label_6:
0x0000ba3c addiu s1, zero, 0x3d | s1 = 0x3d;
0x0000ba40 addiu v0, zero, 0x1e8 | v0 = 0x1e8;
0x0000ba44 b 0xb8a0 | goto label_2;
| label_8:
0x0000ba48 addiu s6, zero, 4 | s6 = 4;
0x0000ba4c b 0xb934 | goto label_3;
| label_10:
0x0000ba50 negu a0, s4 | __asm ("negu a0, s4");
0x0000ba54 jalr t9 | t9 ();
0x0000ba58 lw gp, 0x20(fp) | gp = *(var_20h_12);
0x0000ba5c sw v0, 0x14(sp) | *(var_14h_7) = v0;
0x0000ba60 addiu s4, fp, 0x3c | s4 = fp + 0x3c;
0x0000ba64 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x0000ba68 lw t9, -0x7e30(gp) | t9 = sym.imp.__snprintf_chk
| /* str.MESSAGEEntry_printing_failed:__s */
0x0000ba6c addiu v0, v0, -0x1d08 | v0 += -0x1d08;
0x0000ba70 sw v0, 0x10(sp) | *(var_10h_13) = v0;
0x0000ba74 addiu a3, zero, 0x800 | a3 = 0x800;
0x0000ba78 addiu a2, zero, 1 | a2 = 1;
0x0000ba7c addiu a1, zero, 0x800 | a1 = 0x800;
0x0000ba80 move a0, s4 | a0 = s4;
0x0000ba84 jalr t9 | t9 ();
0x0000ba88 sltiu v0, v0, 0x800 | v0 = (v0 < 0x800) ? 1 : 0;
0x0000ba8c lw gp, 0x20(fp) | gp = *(var_20h_12);
| if (v0 != 0) {
0x0000ba90 beqz v0, 0xbb50 |
0x0000ba94 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x0000ba98 lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
| /* str.PRIORITY4 */
0x0000ba9c addiu v0, v0, -0x1cc0 | v0 += -0x1cc0;
0x0000baa0 sw v0, 0x18(s0) | *((s0 + 6)) = v0;
0x0000baa4 addiu v0, zero, 0xa | v0 = 0xa;
0x0000baa8 sw v0, 0x1c(s0) | *((s0 + 7)) = v0;
0x0000baac addiu v0, zero, 5 | v0 = 5;
0x0000bab0 move a0, s4 | a0 = s4;
0x0000bab4 sw v0, 0x34(fp) | *(arg_34h) = v0;
0x0000bab8 jalr t9 | t9 ();
0x0000babc lw gp, 0x20(fp) | gp = *(var_20h_12);
0x0000bac0 lw v1, 0x260(s2) | v1 = *((s2 + 152));
0x0000bac4 sw v0, 0x24(s0) | *((s0 + 9)) = v0;
0x0000bac8 lw t9, -0x7f90(gp) | t9 = *(gp);
0x0000bacc addiu v0, zero, 6 | v0 = 6;
0x0000bad0 sw s4, 0x20(s0) | *((s0 + 8)) = s4;
0x0000bad4 move a3, s1 | a3 = s1;
0x0000bad8 sw s5, 0x1c(sp) | *(var_1ch_4) = s5;
0x0000badc sw v0, 0x18(sp) | *(var_18h_13) = v0;
0x0000bae0 sw zero, 0x14(sp) | *(var_14h_7) = 0;
0x0000bae4 sw v1, 0x10(sp) | *(var_10h_13) = v1;
0x0000bae8 addiu a2, zero, 5 | a2 = 5;
0x0000baec move a1, s0 | a1 = s0;
0x0000baf0 addiu t9, t9, -0x6aa4 | t9 += -0x6aa4;
0x0000baf4 move a0, s2 | a0 = s2;
0x0000baf8 bal 0x955c | fcn_0000955c ();
0x0000bafc lw gp, 0x20(fp) | gp = *(var_20h_12);
0x0000bb00 b 0xb9b0 | goto label_1;
| label_4:
0x0000bb04 lw a2, -0x7fc8(gp) | a2 = *(gp);
0x0000bb08 lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* str.server_driver_message */
0x0000bb0c addiu v0, v0, -0x91c | v0 += -0x91c;
0x0000bb10 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x0000bb14 sw v0, 0x10(sp) | *(var_10h_13) = v0;
0x0000bb18 addiu a3, zero, 0x407 | a3 = 0x407;
| /* esilref: 'src/journal/journald-server.c' */
0x0000bb1c addiu a2, a2, -0x30b9 | a2 += -0x30b9;
0x0000bb20 addiu a1, a1, -0x1ce8 | a1 += -0x1ce8;
0x0000bb24 jalr t9 | t9 ();
| label_5:
0x0000bb28 lw a2, -0x7fc8(gp) | a2 = *(gp);
0x0000bb2c lw a1, -0x7fc8(gp) | a1 = *(gp);
0x0000bb30 addiu v0, v0, -0x91c | v0 += -0x91c;
0x0000bb34 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x0000bb38 sw v0, 0x10(sp) | *(var_10h_13) = v0;
0x0000bb3c addiu a3, zero, 0x408 | a3 = 0x408;
| /* esilref: 'src/journal/journald-server.c' */
0x0000bb40 addiu a2, a2, -0x30b9 | a2 += -0x30b9;
| /* str.format */
0x0000bb44 addiu a1, a1, -0x1dc4 | a1 += -0x1dc4;
0x0000bb48 move a0, zero | a0 = 0;
0x0000bb4c jalr t9 | t9 ();
| }
0x0000bb50 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x0000bb54 lw a2, -0x7fc8(gp) | a2 = *(gp);
0x0000bb58 lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* str.server_driver_message */
0x0000bb5c addiu v0, v0, -0x91c | v0 += -0x91c;
0x0000bb60 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x0000bb64 sw v0, 0x10(sp) | *(var_10h_13) = v0;
0x0000bb68 addiu a3, zero, 0x428 | a3 = 0x428;
| /* esilref: 'src/journal/journald-server.c' */
0x0000bb6c addiu a2, a2, -0x30b9 | a2 += -0x30b9;
| /* str.xsprintf:_buf___must_be_big_enough */
0x0000bb70 addiu a1, a1, -0x1ce4 | a1 += -0x1ce4;
0x0000bb74 move a0, zero | a0 = 0;
0x0000bb78 jalr t9 | t9 ();
| label_7:
0x0000bb7c srl v0, s1, 0x1d | v0 = s1 >> 0x1d;
0x0000bb80 lui v1, 0x40 | v1 = 0x400000;
| if (v0 != 0) {
0x0000bb84 bnez v0, 0xbbc4 | goto label_12;
| }
0x0000bb88 sll v0, s1, 3 | v0 = s1 << 3;
0x0000bb8c addiu v1, v1, 1 | v1++;
0x0000bb90 sltu v1, v0, v1 | v1 = (v0 < v1) ? 1 : 0;
0x0000bb94 lw a1, -0x7fc8(gp) | a1 = *(gp);
| if (v1 != 0) {
0x0000bb98 bnez v1, 0xb8a0 | goto label_2;
| }
0x0000bb9c lw v0, -0x7fc8(gp) | v0 = *(gp);
0x0000bba0 lw a2, -0x7fc8(gp) | a2 = *(gp);
| /* str.server_driver_message */
0x0000bba4 addiu v0, v0, -0x91c | v0 += -0x91c;
0x0000bba8 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x0000bbac sw v0, 0x10(sp) | *(var_10h_13) = v0;
0x0000bbb0 addiu a3, zero, 0x40b | a3 = 0x40b;
| /* esilref: 'src/journal/journald-server.c' */
0x0000bbb4 addiu a2, a2, -0x30b9 | a2 += -0x30b9;
| /* str.sizeof_struct_iovec__n____ALLOCA_MAX */
0x0000bbb8 addiu a1, a1, -0x1d88 | a1 += -0x1d88;
0x0000bbbc move a0, zero | a0 = 0;
0x0000bbc0 jalr t9 | t9 ();
| label_12:
0x0000bbc4 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x0000bbc8 lw a2, -0x7fc8(gp) | a2 = *(gp);
0x0000bbcc lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* str.server_driver_message */
0x0000bbd0 addiu v0, v0, -0x91c | v0 += -0x91c;
0x0000bbd4 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x0000bbd8 sw v0, 0x10(sp) | *(var_10h_13) = v0;
0x0000bbdc addiu a3, zero, 0x40b | a3 = 0x40b;
| /* esilref: 'src/journal/journald-server.c' */
0x0000bbe0 addiu a2, a2, -0x30b9 | a2 += -0x30b9;
| /* str._size_multiply_overflow_sizeof_struct_iovec____n__ */
0x0000bbe4 addiu a1, a1, -0x1dbc | a1 += -0x1dbc;
0x0000bbe8 move a0, zero | a0 = 0;
0x0000bbec jalr t9 | t9 ();
| label_11:
0x0000bbf0 lw t9, -0x7d6c(gp) | t9 = sym.imp.__stack_chk_fail;
0x0000bbf4 jalr t9 | t9 ();
0x0000bbf8 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/systemd/systemd-journald @ 0xfd10 */
| #include <stdint.h>
|
; (fcn) fcn.0000fd10 () | void fcn_0000fd10 () {
| label_13:
0x0000fd10 lui gp, 3 |
0x0000fd14 addiu gp, gp, -0x4d10 |
0x0000fd18 addu gp, gp, t9 | gp += t9;
0x0000fd1c addiu sp, sp, -0x90 |
0x0000fd20 lw v1, -0x7fc8(gp) | v1 = *(gp);
0x0000fd24 sw s2, 0x70(sp) | *(var_70h) = s2;
0x0000fd28 lw s2, -0x7cf4(gp) | s2 = *((gp - 7997));
| /* esilref: 'PRIORITY=' */
0x0000fd2c addiu v0, v1, -0x720 | v0 = v1 + -0x720;
0x0000fd30 sw fp, 0x88(sp) | *(var_88h) = fp;
0x0000fd34 sw ra, 0x8c(sp) | *(var_8ch) = ra;
0x0000fd38 sw s7, 0x84(sp) | *(var_84h) = s7;
0x0000fd3c sw s6, 0x80(sp) | *(var_80h) = s6;
0x0000fd40 sw s5, 0x7c(sp) | *(var_7ch) = s5;
0x0000fd44 sw s4, 0x78(sp) | *(var_78h) = s4;
0x0000fd48 sw s3, 0x74(sp) | *(var_74h) = s3;
0x0000fd4c sw s1, 0x6c(sp) | *(var_6ch) = s1;
0x0000fd50 sw s0, 0x68(sp) | *(var_68h) = s0;
0x0000fd54 sw gp, 0x20(sp) | *(var_20h) = gp;
0x0000fd58 move fp, sp | fp = sp;
0x0000fd5c lw t0, -0x720(v1) | t0 = *((v1 - 456));
0x0000fd60 lw a3, 4(v0) | a3 = *((v0 + 1));
0x0000fd64 lhu v1, 8(v0) | v1 = *((v0 + 4));
0x0000fd68 lw t1, (s2) | t1 = *(s2);
0x0000fd6c lbu v0, 0xa(v0) | v0 = *((v0 + 10));
0x0000fd70 sw a1, 0x2c(fp) | *(var_2ch) = a1;
0x0000fd74 sw t1, 0x64(fp) | *(var_64h) = t1;
0x0000fd78 sw t0, 0x38(fp) | *(var_38h) = t0;
0x0000fd7c sw a3, 0x3c(fp) | *(var_3ch) = a3;
0x0000fd80 sh v1, 0x40(fp) | *(var_40h) = v1;
0x0000fd84 sb v0, 0x42(fp) | *(var_42h) = v0;
| if (a0 == 0) {
0x0000fd88 beqz a0, 0x10270 | goto label_16;
| }
| if (a1 == 0) {
0x0000fd8c beql a1, zero, 0x102a0 | goto label_17;
| }
0x0000fd90 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x0000fd94 lw a1, 0x40(a0) | a1 = *((a0 + 16));
0x0000fd98 move s0, a0 | s0 = a0;
0x0000fd9c move s3, a2 | s3 = a2;
| if (a1 == 0) {
0x0000fda0 beqz a1, 0x10034 | goto label_18;
| }
0x0000fda4 lw a0, (a0) | a0 = *(a0);
0x0000fda8 lw t9, -0x7f34(gp) | t9 = *(gp);
0x0000fdac addiu v0, zero, -1 | v0 = -1;
0x0000fdb0 addiu v1, zero, -1 | v1 = -1;
0x0000fdb4 sw v0, 0x18(sp) | *(var_18h) = v0;
0x0000fdb8 sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x0000fdbc sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000fdc0 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000fdc4 move a3, zero | a3 = 0;
0x0000fdc8 move a2, zero | a2 = 0;
0x0000fdcc bal 0x17f0c | fcn_00017f0c ();
0x0000fdd0 lw gp, 0x20(fp) | gp = *(var_20h);
| label_0:
0x0000fdd4 lbu v0, 0x28(s0) | v0 = *((s0 + 40));
| do {
0x0000fdd8 lw a0, 0x24(s0) | a0 = *((s0 + 9));
0x0000fddc andi v0, v0, 1 | v0 &= 1;
0x0000fde0 sw a0, 0x34(fp) | *(var_34h) = a0;
| if (v0 != 0) {
0x0000fde4 bnez v0, 0x101c8 | goto label_19;
| }
| label_7:
0x0000fde8 lw v0, 0x40(s0) | v0 = *((s0 + 16));
0x0000fdec andi v1, a0, 7 | v1 = a0 & 7;
| if (v0 != 0) {
0x0000fdf0 beqz v0, 0xfe04 |
0x0000fdf4 lw v0, 0x70(v0) | v0 = *((v0 + 28));
0x0000fdf8 sltu v0, v0, v1 | v0 = (v0 < v1) ? 1 : 0;
0x0000fdfc move s4, zero | s4 = 0;
| if (v0 != 0) {
0x0000fe00 bnez v0, 0x101c0 | goto label_20;
| }
| }
0x0000fe04 lw s4, 0x2c(fp) | s4 = *(var_2ch);
| if (s4 == 0) {
0x0000fe08 beql s4, zero, 0x101c0 | goto label_20;
| }
0x0000fe0c move s4, zero | s4 = 0;
0x0000fe10 lb v0, (s4) | v0 = *(s4);
| if (v0 == 0) {
0x0000fe14 beql v0, zero, 0x101c0 | goto label_20;
| }
0x0000fe18 move s4, zero | s4 = 0;
0x0000fe1c lbu v0, 0x28(s0) | v0 = *((s0 + 40));
0x0000fe20 andi v1, v0, 2 | v1 = v0 & 2;
0x0000fe24 lw s1, (s0) | s1 = *(s0);
| if (v1 != 0) {
0x0000fe28 bnez v1, 0x1017c | goto label_21;
| }
0x0000fe2c lbu v1, 0x16b(s1) | v1 = *((s1 + 363));
0x0000fe30 lw t9, -0x7fa0(gp) | t9 = *(gp);
| if (v1 != 0) {
0x0000fe34 bnez v1, 0x10180 | goto label_22;
| }
| label_5:
0x0000fe38 andi v1, v0, 4 | v1 = v0 & 4;
0x0000fe3c lw t9, -0x7f30(gp) | t9 = *(gp);
| if (v1 != 0) {
0x0000fe40 bnez v1, 0x10150 | goto label_23;
| }
0x0000fe44 lbu v1, 0x16a(s1) | v1 = *((s1 + 362));
| /* aav.0x0002000c */
0x0000fe48 addiu v0, s0, 0xc | v0 = s0 + 0xc;
| if (v1 == 0) {
0x0000fe4c bnel v1, zero, 0x10154 | goto label_24;
| }
| label_4:
0x0000fe50 andi v0, v0, 8 | v0 &= 8;
0x0000fe54 lw t9, -0x7f2c(gp) | t9 = *(gp);
| if (v0 == 0) {
0x0000fe58 bnel v0, zero, 0x100ec | goto label_25;
| }
0x0000fe5c lbu v0, 0x16c(s1) | v0 = *((s1 + 364));
0x0000fe60 lw t9, -0x7f2c(gp) | t9 = *(gp);
| if (v0 == 0) {
0x0000fe64 bnel v0, zero, 0x100ec | goto label_25;
| }
0x0000fe68 lbu v0, 0x16d(s1) | v0 = *((s1 + 365));
0x0000fe6c lw t9, -0x7f28(gp) | t9 = *(gp);
| if (v0 == 0) {
0x0000fe70 bnel v0, zero, 0x1011c | goto label_26;
| }
| label_1:
0x0000fe74 lw v0, 0x40(s0) | v0 = *((s0 + 16));
0x0000fe78 addiu s6, zero, 0x1d | s6 = 0x1d;
| if (v0 == 0) {
0x0000fe7c beqz v0, 0x10148 | goto label_27;
| }
| label_2:
0x0000fe80 lw s6, 0x78(v0) | s6 = *((v0 + 30));
0x0000fe84 addiu s6, s6, 0x1d | s6 += 0x1d;
0x0000fe88 move v0, zero | v0 = 0;
| if (s6 != 0) {
0x0000fe8c bnez s6, 0x102ec | goto label_28;
| }
| label_3:
0x0000fe90 subu sp, sp, v0 |
0x0000fe94 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x0000fe98 addiu s1, sp, 0x20 | s1 = sp + 0x20;
| /* str._TRANSPORTstdout */
0x0000fe9c addiu v0, v0, -0x740 | v0 += -0x740;
0x0000fea0 lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
| /* esilref: ' >= 0' */
0x0000fea4 addiu s4, s0, 0x54 | s4 = s0 + 0x54;
0x0000fea8 sw v0, (s1) | *(s1) = v0;
0x0000feac addiu v0, zero, 0x11 | v0 = 0x11;
0x0000feb0 move a0, s4 | a0 = s4;
0x0000feb4 sw v0, 4(s1) | *(var_4h) = v0;
0x0000feb8 jalr t9 | t9 ();
0x0000febc lw gp, 0x20(fp) | gp = *(var_20h);
0x0000fec0 lw s5, 0x34(fp) | s5 = *(var_34h);
0x0000fec4 sw s4, 8(s1) | *(var_8h) = s4;
0x0000fec8 andi v1, s5, 7 | v1 = s5 & 7;
0x0000fecc lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
0x0000fed0 addiu v1, v1, 0x30 | v1 += 0x30;
0x0000fed4 addiu s4, fp, 0x38 | s4 = fp + 0x38;
0x0000fed8 sb v1, 0x41(fp) | *(var_41h) = v1;
0x0000fedc sw v0, 0xc(s1) | *(var_ch) = v0;
0x0000fee0 move a0, s4 | a0 = s4;
0x0000fee4 jalr t9 | t9 ();
0x0000fee8 andi v1, s5, 0x3f8 | v1 = s5 & 0x3f8;
0x0000feec lw gp, 0x20(fp) | gp = *(var_20h);
0x0000fef0 sw s4, 0x10(s1) | *(var_10h_3) = s4;
0x0000fef4 sw v0, 0x14(s1) | *(var_14h_3) = v0;
| if (v1 != 0) {
0x0000fef8 bnez v1, 0x1021c | goto label_29;
| }
0x0000fefc addiu s5, zero, 3 | s5 = 3;
| label_9:
0x0000ff00 lw s4, 0x1c(s0) | s4 = *((s0 + 7));
0x0000ff04 lw t9, -0x7bc8(gp) | t9 = sym.imp.strjoin_real;
| if (s4 != 0) {
0x0000ff08 beqz s4, 0xff50 |
0x0000ff0c lw a0, -0x7fc8(gp) | a0 = *(gp);
0x0000ff10 move a1, s4 | a1 = s4;
0x0000ff14 move a2, zero | a2 = 0;
| /* str.SYSLOG_IDENTIFIER */
0x0000ff18 addiu a0, a0, -0x3440 | a0 += -0x3440;
0x0000ff1c jalr t9 | t9 ();
0x0000ff20 move s4, v0 | s4 = v0;
0x0000ff24 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 == 0) {
0x0000ff28 beqz v0, 0xff50 | goto label_30;
| }
0x0000ff2c lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
0x0000ff30 sll s7, s5, 3 | s7 = s5 << 3;
0x0000ff34 addu s7, s1, s7 | s7 = s1 + s7;
0x0000ff38 move a0, v0 | a0 = v0;
0x0000ff3c jalr t9 | t9 ();
0x0000ff40 addiu s5, s5, 1 | s5++;
0x0000ff44 lw gp, 0x20(fp) | gp = *(var_20h);
0x0000ff48 sw s4, (s7) | *(s7) = s4;
0x0000ff4c sw v0, 4(s7) | *(var_4h_2) = v0;
| }
| label_30:
0x0000ff50 addiu v0, zero, 1 | v0 = 1;
| if (s3 != 0) {
0x0000ff54 bnez s3, 0x101e8 | goto label_31;
| }
| label_8:
0x0000ff58 lw a0, -0x7fc8(gp) | a0 = *(gp);
0x0000ff5c lw t9, -0x7bc8(gp) | t9 = sym.imp.strjoin_real;
0x0000ff60 lw a1, 0x2c(fp) | a1 = *(var_2ch);
0x0000ff64 move a2, zero | a2 = 0;
| /* str.MESSAGE */
0x0000ff68 addiu a0, a0, -0x3420 | a0 += -0x3420;
0x0000ff6c jalr t9 | t9 ();
0x0000ff70 move s3, v0 | s3 = v0;
0x0000ff74 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 == 0) {
0x0000ff78 beqz v0, 0x10298 | goto label_32;
| }
0x0000ff7c lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
0x0000ff80 sll s7, s5, 3 | s7 = s5 << 3;
0x0000ff84 addu s7, s1, s7 | s7 = s1 + s7;
0x0000ff88 move a0, v0 | a0 = v0;
0x0000ff8c jalr t9 | t9 ();
0x0000ff90 lw gp, 0x20(fp) | gp = *(var_20h);
0x0000ff94 addiu a2, s5, 1 | a2 = s5 + 1;
0x0000ff98 sw s3, (s7) | *(s7) = s3;
0x0000ff9c sw v0, 4(s7) | *((s7 + 1)) = v0;
| label_10:
0x0000ffa0 lw v0, 0x40(s0) | v0 = *((s0 + 16));
0x0000ffa4 lw v1, 0x34(fp) | v1 = *(var_34h);
0x0000ffa8 lw a0, (s0) | a0 = *(s0);
0x0000ffac lw t9, -0x7f9c(gp) | t9 = *(gp);
0x0000ffb0 sw zero, 0x1c(sp) | *(var_1ch) = 0;
0x0000ffb4 sw v1, 0x18(sp) | *(var_18h) = v1;
0x0000ffb8 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000ffbc sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000ffc0 move a3, s6 | a3 = s6;
0x0000ffc4 move a1, s1 | a1 = s1;
0x0000ffc8 bal 0xdb70 | fcn_0000db70 ();
0x0000ffcc lw gp, 0x20(fp) | gp = *(var_20h);
| label_6:
0x0000ffd0 lw t9, -0x7c18(gp) | t9 = sym.imp.free;
0x0000ffd4 move a0, s4 | a0 = s4;
0x0000ffd8 jalr t9 | t9 ();
0x0000ffdc lw gp, 0x20(fp) | gp = *(var_20h);
0x0000ffe0 lw t9, -0x7c18(gp) | t9 = sym.imp.free;
0x0000ffe4 move a0, s3 | a0 = s3;
0x0000ffe8 jalr t9 | t9 ();
0x0000ffec lw a0, 0x64(fp) | a0 = *(var_64h);
0x0000fff0 lw v1, (s2) | v1 = *(s2);
0x0000fff4 lw gp, 0x20(fp) | gp = *(var_20h);
0x0000fff8 move v0, zero | v0 = 0;
| if (a0 != v1) {
0x0000fffc bne a0, v1, 0x10360 | goto label_33;
| }
0x00010000 move sp, fp |
0x00010004 lw ra, 0x8c(sp) | ra = *(var_8ch);
0x00010008 lw fp, 0x88(sp) | fp = *(var_88h);
0x0001000c lw s7, 0x84(sp) | s7 = *(var_84h);
0x00010010 lw s6, 0x80(sp) | s6 = *(var_80h);
0x00010014 lw s5, 0x7c(sp) | s5 = *(var_7ch);
0x00010018 lw s4, 0x78(sp) | s4 = *(var_78h);
0x0001001c lw s3, 0x74(sp) | s3 = *(var_74h);
0x00010020 lw s2, 0x70(sp) | s2 = *(var_70h);
0x00010024 lw s1, 0x6c(sp) | s1 = *(var_6ch);
0x00010028 lw s0, 0x68(sp) | s0 = *(var_68h);
0x0001002c addiu sp, sp, 0x90 |
0x00010030 jr ra | return v0;
| label_18:
0x00010034 lw s1, 0xc(a0) | s1 = *((a0 + 3));
0x00010038 blezl s1, 0xfdd8 |
| } while (s1 <= 0);
0x0001003c lbu v0, 0x28(s0) | v0 = *((s0 + 40));
0x00010040 lw s4, 0x18(a0) | s4 = *((a0 + 6));
0x00010044 lw s5, (a0) | s5 = *(a0);
| /* aav.0x0002000c */
0x00010048 addiu s6, a0, 0xc | s6 = a0 + 0xc;
| if (s4 == 0) {
0x0001004c beqz s4, 0x102d8 | goto label_34;
| }
0x00010050 lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
0x00010054 move a0, s4 | a0 = s4;
0x00010058 jalr t9 | t9 ();
0x0001005c lw gp, 0x20(fp) | gp = *(var_20h);
| label_11:
0x00010060 lw v1, 0x20(s0) | v1 = *((s0 + 8));
0x00010064 lw t9, -0x7f24(gp) | t9 = *(gp);
| /* str.s__server__notify_fd___0 */
0x00010068 addiu a0, s0, 0x40 | a0 = s0 + 0x40;
0x0001006c sw a0, 0x18(sp) | *(var_18h) = a0;
0x00010070 move a1, s1 | a1 = s1;
0x00010074 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00010078 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0001007c move a3, s4 | a3 = s4;
0x00010080 move a2, s6 | a2 = s6;
0x00010084 move a0, s5 | a0 = s5;
0x00010088 bal 0x186fc | fcn_000186fc ();
0x0001008c move s1, v0 | s1 = v0;
0x00010090 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 >= 0) {
0x00010094 bgez v0, 0xfdd4 | goto label_0;
| }
0x00010098 lw t9, -0x7ee8(gp) | t9 = sym.imp.log_get_max_level_realm;
0x0001009c move a0, zero | a0 = 0;
0x000100a0 jalr t9 | t9 ();
0x000100a4 slti v0, v0, 4 | v0 = (v0 < 4) ? 1 : 0;
0x000100a8 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 != 0) {
0x000100ac bnez v0, 0xfdd4 | goto label_0;
| }
0x000100b0 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x000100b4 lw a2, -0x7fc8(gp) | a2 = *(gp);
| /* str.Failed_to_acquire_client_context__ignoring:__m */
0x000100b8 addiu v0, v0, -0x770 | v0 += -0x770;
0x000100bc sw v0, 0x14(sp) | *(var_14h) = v0;
0x000100c0 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x000100c4 lw t9, -0x7d58(gp) | t9 = sym.imp.log_internal_realm;
| /* esilref: 'stdout_stream_log' */
0x000100c8 addiu v0, v0, 0x250 | v0 += 0x250;
0x000100cc sw v0, 0x10(sp) | *(var_10h) = v0;
0x000100d0 addiu a3, zero, 0x100 | a3 = aav.0x00000100;
| /* esilref: 'src/journal/journald-stream.c' */
0x000100d4 addiu a2, a2, -0x791 | a2 += -0x791;
0x000100d8 move a1, s1 | a1 = s1;
0x000100dc addiu a0, zero, 4 | a0 = 4;
0x000100e0 jalr t9 | t9 ();
0x000100e4 lw gp, 0x20(fp) | gp = *(var_20h);
0x000100e8 b 0xfdd4 | goto label_0;
| /* aav.0x0002000c */
| label_25:
0x000100ec addiu v0, s0, 0xc | v0 = s0 + 0xc;
0x000100f0 lw a2, 0x1c(s0) | a2 = *((s0 + 7));
0x000100f4 lw a3, 0x2c(fp) | a3 = *(var_2ch);
0x000100f8 lw a1, 0x34(fp) | a1 = *(var_34h);
0x000100fc move a0, s1 | a0 = s1;
0x00010100 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00010104 bal 0x1612c | fcn_0001612c ();
0x00010108 lw s1, (s0) | s1 = *(s0);
0x0001010c lbu v0, 0x16d(s1) | v0 = *((s1 + 365));
0x00010110 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 == 0) {
0x00010114 beqz v0, 0xfe74 | goto label_1;
| }
0x00010118 lw t9, -0x7f28(gp) | t9 = *(gp);
| /* aav.0x0002000c */
| label_26:
0x0001011c addiu v0, s0, 0xc | v0 = s0 + 0xc;
0x00010120 lw a2, 0x1c(s0) | a2 = *((s0 + 7));
0x00010124 lw a3, 0x2c(fp) | a3 = *(var_2ch);
0x00010128 lw a1, 0x34(fp) | a1 = *(var_34h);
0x0001012c sw v0, 0x10(sp) | *(var_10h) = v0;
0x00010130 move a0, s1 | a0 = s1;
0x00010134 bal 0x1436c | fcn_0001436c ();
0x00010138 lw v0, 0x40(s0) | v0 = *((s0 + 16));
0x0001013c lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 != 0) {
0x00010140 bnez v0, 0xfe80 | goto label_2;
| }
0x00010144 addiu s6, zero, 0x1d | s6 = 0x1d;
| label_27:
0x00010148 addiu v0, zero, 0xe8 | v0 = 0xe8;
0x0001014c b 0xfe90 | goto label_3;
| /* aav.0x0002000c */
| label_23:
0x00010150 addiu v0, s0, 0xc | v0 = s0 + 0xc;
| label_24:
0x00010154 lw a2, 0x1c(s0) | a2 = *((s0 + 7));
0x00010158 lw a3, 0x2c(fp) | a3 = *(var_2ch);
0x0001015c lw a1, 0x34(fp) | a1 = *(var_34h);
0x00010160 move a0, s1 | a0 = s1;
0x00010164 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00010168 bal 0x44d0 | fcn_000044d0 ();
0x0001016c lw gp, 0x20(fp) | gp = *(var_20h);
0x00010170 lbu v0, 0x28(s0) | v0 = *((s0 + 40));
0x00010174 lw s1, (s0) | s1 = *(s0);
0x00010178 b 0xfe50 | goto label_4;
| label_21:
0x0001017c lw t9, -0x7fa0(gp) | t9 = *(gp);
| label_22:
0x00010180 bal 0x1308c | fcn_0001308c ();
0x00010184 nop |
0x00010188 lw gp, 0x20(fp) | gp = *(var_20h);
0x0001018c lw a2, 0x1c(s0) | a2 = *((s0 + 7));
| /* aav.0x0002000c */
0x00010190 addiu v1, s0, 0xc | v1 = s0 + 0xc;
0x00010194 lw t9, -0x7f20(gp) | t9 = *(gp);
0x00010198 move a0, s1 | a0 = s1;
0x0001019c move a1, v0 | a1 = v0;
0x000101a0 sw zero, 0x14(sp) | *(var_14h) = 0;
0x000101a4 sw v1, 0x10(sp) | *(var_10h) = v1;
0x000101a8 move a3, s4 | a3 = s4;
0x000101ac bal 0x12c98 | fcn_00012c98 ();
0x000101b0 lw gp, 0x20(fp) | gp = *(var_20h);
0x000101b4 lbu v0, 0x28(s0) | v0 = *((s0 + 40));
0x000101b8 lw s1, (s0) | s1 = *(s0);
0x000101bc b 0xfe38 | goto label_5;
| label_20:
0x000101c0 move s3, zero | s3 = 0;
0x000101c4 b 0xffd0 | goto label_6;
| label_19:
0x000101c8 lw t9, -0x7ce8(gp) | t9 = sym.imp.syslog_parse_priority;
0x000101cc addiu a0, fp, 0x2c | a0 = fp + 0x2c;
0x000101d0 move a2, zero | a2 = 0;
0x000101d4 addiu a1, fp, 0x34 | a1 = fp + 0x34;
0x000101d8 jalr t9 | t9 ();
0x000101dc lw gp, 0x20(fp) | gp = *(var_20h);
0x000101e0 lw a0, 0x34(fp) | a0 = *(var_34h);
0x000101e4 b 0xfde8 | goto label_7;
| label_31:
0x000101e8 addiu v0, zero, 2 | v0 = 2;
| if (s3 == v0) {
0x000101ec beq s3, v0, 0x102c8 | goto label_35;
| }
0x000101f0 lw v1, -0x7fc8(gp) | v1 = *(gp);
| if (s3 == v0) {
0x000101f4 beq s3, v0, 0x102e0 | goto label_36;
| }
0x000101f8 lw v1, -0x7fc8(gp) | v1 = *(gp);
0x000101fc addiu a0, zero, 0xf | a0 = 0xf;
| /* str._LINE_BREAKeof */
0x00010200 addiu v1, v1, -0x7a8 | v1 += -0x7a8;
| do {
| label_12:
0x00010204 sll v0, s5, 3 | v0 = s5 << 3;
0x00010208 addu v0, s1, v0 | v0 = s1 + v0;
0x0001020c addiu s5, s5, 1 | s5++;
0x00010210 sw v1, (v0) | *(v0) = v1;
0x00010214 sw a0, 4(v0) | *((v0 + 1)) = a0;
0x00010218 b 0xff58 | goto label_8;
| label_29:
0x0001021c lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00010220 lw t9, -0x7e30(gp) | t9 = sym.imp.__snprintf_chk
0x00010224 addiu s4, fp, 0x44 | s4 = fp + 0x44;
0x00010228 ext s5, s5, 3, 7 | __asm ("ext s5, s5, 3, 7");
| /* str.SYSLOG_FACILITY_i */
0x0001022c addiu v0, v0, -0x3470 | v0 += -0x3470;
0x00010230 addiu a3, zero, 0x1d | a3 = 0x1d;
0x00010234 addiu a2, zero, 1 | a2 = 1;
0x00010238 addiu a1, zero, 0x1d | a1 = 0x1d;
0x0001023c move a0, s4 | a0 = s4;
0x00010240 sw s5, 0x14(sp) | *(var_14h) = s5;
0x00010244 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00010248 jalr t9 | t9 ();
0x0001024c lw gp, 0x20(fp) | gp = *(var_20h);
0x00010250 move a0, s4 | a0 = s4;
0x00010254 lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
0x00010258 addiu s5, zero, 4 | s5 = 4;
0x0001025c jalr t9 | t9 ();
0x00010260 lw gp, 0x20(fp) | gp = *(var_20h);
0x00010264 sw v0, 0x1c(s1) | *(var_1ch_2) = v0;
0x00010268 sw s4, 0x18(s1) | *(var_18h_2) = s4;
0x0001026c b 0xff00 | goto label_9;
| label_16:
0x00010270 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00010274 lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00010278 lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* str.stdout_stream_log */
0x0001027c addiu v0, v0, 0x264 | v0 += 0x264;
0x00010280 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x00010284 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00010288 addiu a3, zero, 0xf8 | a3 = 0xf8;
| /* esilref: 'src/journal/journald-stream.c' */
0x0001028c addiu a2, a2, -0x791 | a2 += -0x791;
0x00010290 addiu a1, a1, -0x1ce8 | a1 += -0x1ce8;
0x00010294 jalr t9 | t9 ();
| label_32:
0x00010298 move a2, s5 | a2 = s5;
0x0001029c b 0xffa0 | goto label_10;
| label_17:
0x000102a0 lw a2, -0x7fc8(gp) | a2 = *(gp);
0x000102a4 lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* str.stdout_stream_log */
0x000102a8 addiu v0, v0, 0x264 | v0 += 0x264;
0x000102ac lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x000102b0 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000102b4 addiu a3, zero, 0xf9 | a3 = 0xf9;
| /* esilref: 'src/journal/journald-stream.c' */
0x000102b8 addiu a2, a2, -0x791 | a2 += -0x791;
0x000102bc addiu a1, a1, -0x3554 | a1 += -0x3554;
0x000102c0 move a0, zero | a0 = 0;
0x000102c4 jalr t9 | t9 ();
| label_35:
0x000102c8 lw v1, -0x7fc8(gp) | v1 = *(gp);
0x000102cc addiu a0, zero, 0xf | a0 = 0xf;
| /* str._LINE_BREAKnul */
0x000102d0 addiu v1, v1, -0x7d0 | v1 += -0x7d0;
0x000102d4 b 0x10204 |
| } while (1);
| label_34:
0x000102d8 move v0, zero | v0 = 0;
0x000102dc b 0x10060 | goto label_11;
| label_36:
0x000102e0 addiu a0, zero, 0x14 | a0 = 0x14;
| /* str._LINE_BREAKline_max */
0x000102e4 addiu v1, v1, -0x7c0 | v1 += -0x7c0;
0x000102e8 b 0x10204 | goto label_12;
| label_28:
0x000102ec srl v0, s6, 0x1d | v0 = s6 >> 0x1d;
0x000102f0 lui v1, 0x40 | v1 = 0x400000;
| if (v0 != 0) {
0x000102f4 bnez v0, 0x10334 | goto label_37;
| }
0x000102f8 sll v0, s6, 3 | v0 = s6 << 3;
0x000102fc addiu v1, v1, 1 | v1++;
0x00010300 sltu v1, v0, v1 | v1 = (v0 < v1) ? 1 : 0;
0x00010304 lw a2, -0x7fc8(gp) | a2 = *(gp);
| if (v1 != 0) {
0x00010308 bnez v1, 0xfe90 | goto label_3;
| }
0x0001030c lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00010310 lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* str.stdout_stream_log */
0x00010314 addiu v0, v0, 0x264 | v0 += 0x264;
0x00010318 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x0001031c sw v0, 0x10(sp) | *(var_10h) = v0;
0x00010320 addiu a3, zero, 0x11b | a3 = 0x11b;
| /* esilref: 'src/journal/journald-stream.c' */
0x00010324 addiu a2, a2, -0x791 | a2 += -0x791;
| /* str.sizeof_struct_iovec__n____ALLOCA_MAX */
0x00010328 addiu a1, a1, -0x1d88 | a1 += -0x1d88;
0x0001032c move a0, zero | a0 = 0;
0x00010330 jalr t9 | t9 ();
| label_37:
0x00010334 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00010338 lw a2, -0x7fc8(gp) | a2 = *(gp);
0x0001033c lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* str.stdout_stream_log */
0x00010340 addiu v0, v0, 0x264 | v0 += 0x264;
0x00010344 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x00010348 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0001034c addiu a3, zero, 0x11b | a3 = 0x11b;
| /* esilref: 'src/journal/journald-stream.c' */
0x00010350 addiu a2, a2, -0x791 | a2 += -0x791;
| /* str._size_multiply_overflow_sizeof_struct_iovec____n__ */
0x00010354 addiu a1, a1, -0x1dbc | a1 += -0x1dbc;
0x00010358 move a0, zero | a0 = 0;
0x0001035c jalr t9 | t9 ();
| label_33:
0x00010360 lw t9, -0x7d6c(gp) | t9 = sym.imp.__stack_chk_fail;
0x00010364 jalr t9 | t9 ();
0x00010368 nop |
0x0001036c lui gp, 3 |
0x00010370 addiu gp, gp, -0x536c |
0x00010374 addu gp, gp, t9 | gp += t9;
0x00010378 addiu sp, sp, -0xf8 |
0x0001037c sw s2, 0xe8(sp) | *(var_e8h) = s2;
0x00010380 lw s2, -0x7cf4(gp) | s2 = *((gp - 7997));
0x00010384 sw gp, 0x28(sp) | *(var_28h) = gp;
0x00010388 sw ra, 0xf4(sp) | *(var_f4h) = ra;
0x0001038c sw s4, 0xf0(sp) | *(var_f0h) = s4;
0x00010390 sw s3, 0xec(sp) | *(var_ech) = s3;
0x00010394 sw s1, 0xe4(sp) | *(var_e4h) = s1;
0x00010398 sw s0, 0xe0(sp) | *(var_e0h) = s0;
0x0001039c lw v0, (s2) | v0 = *(s2);
0x000103a0 sw v0, 0xdc(sp) | *(var_dch) = v0;
0x000103a4 lw v0, -0x7fc8(gp) | v0 = *(gp);
| if (a0 == 0) {
0x000103a8 beqz a0, 0x107fc | goto label_38;
| }
0x000103ac move s1, a1 | s1 = a1;
| if (a1 == 0) {
0x000103b0 beqz a1, 0x10820 | goto label_39;
| }
0x000103b4 lw t9, -0x7e3c(gp) | t9 = sym.imp.strstrip;
0x000103b8 move s0, a0 | s0 = a0;
0x000103bc move a0, a1 | a0 = a1;
0x000103c0 move s3, a2 | s3 = a2;
0x000103c4 jalr t9 | t9 ();
0x000103c8 move s4, v0 | s4 = v0;
0x000103cc lw gp, 0x28(sp) | gp = *(var_28h);
| if (s3 == 0) {
0x000103d0 beqz s3, 0x1042c | goto label_40;
| }
0x000103d4 lw v1, 4(s0) | v1 = *((s0 + 1));
0x000103d8 addiu v0, zero, 7 | v0 = 7;
0x000103dc lw t9, -0x7ee8(gp) | t9 = sym.imp.log_get_max_level_realm;
| if (v1 != v0) {
0x000103e0 bne v1, v0, 0x10980 | goto label_41;
| }
0x000103e4 lw t9, -0x7f90(gp) | t9 = *(gp);
0x000103e8 move a2, s3 | a2 = s3;
0x000103ec move a1, s1 | a1 = s1;
0x000103f0 addiu t9, t9, -0x2f0 | t9 += -0x2f0;
0x000103f4 move a0, s0 | a0 = s0;
0x000103f8 bal 0xfd10 | fcn_0000fd10 ();
| goto label_13;
0x000103fc lw gp, 0x28(sp) | gp = *(var_28h);
| do {
| label_14:
0x00010400 lw a0, 0xdc(sp) | a0 = *(var_dch);
0x00010404 lw v1, (s2) | v1 = *(s2);
0x00010408 lw ra, 0xf4(sp) | ra = *(var_f4h);
| if (a0 != v1) {
0x0001040c bne a0, v1, 0x10bf4 | goto label_42;
| }
0x00010410 lw s4, 0xf0(sp) | s4 = *(var_f0h);
0x00010414 lw s3, 0xec(sp) | s3 = *(var_ech);
0x00010418 lw s2, 0xe8(sp) | s2 = *(var_e8h);
0x0001041c lw s1, 0xe4(sp) | s1 = *(var_e4h);
0x00010420 lw s0, 0xe0(sp) | s0 = *(var_e0h);
0x00010424 addiu sp, sp, 0xf8 |
0x00010428 jr ra | return v0;
| label_40:
0x0001042c lw v0, 4(s0) | v0 = *((s0 + 1));
0x00010430 sltiu v1, v0, 8 | v1 = (v0 < 8) ? 1 : 0;
0x00010434 sll v1, v0, 2 | v1 = v0 << 2;
| if (v1 == 0) {
0x00010438 beqz v1, 0x10bc8 | goto label_43;
| }
0x0001043c lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00010440 addiu v0, v0, -0x4a4 | v0 += -0x4a4;
0x00010444 lwx v0, v1(v0) | __asm ("lwx v0, v1(v0)");
0x00010448 addu v0, v0, gp | v0 += gp;
0x0001044c jr v0 | v0 ();
0x00010450 nop |
| label_15:
0x00010738 lw a1, -0x7fc8(gp) | a1 = *(gp);
0x0001073c move a0, zero | a0 = 0;
| /* esilref: 'src/journal/journald-stream.c' */
0x00010740 addiu a1, a1, -0x791 | a1 += -0x791;
0x00010744 jalr t9 | t9 ();
0x00010748 lw gp, 0x28(sp) | gp = *(var_28h);
0x0001074c b 0x10400 |
| } while (1);
| do {
0x00010774 addiu v0, zero, 2 | v0 = 2;
0x00010778 sw v0, 4(s0) | *((s0 + 1)) = v0;
0x0001077c move v0, zero | v0 = 0;
0x00010780 b 0x10400 | goto label_14;
| label_38:
0x000107fc lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00010800 lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* str.stdout_stream_line */
0x00010804 addiu v0, v0, 0x2a0 | v0 += 0x2a0;
0x00010808 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x0001080c sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00010810 addiu a3, zero, 0x146 | a3 = 0x146;
| /* esilref: 'src/journal/journald-stream.c' */
0x00010814 addiu a2, a2, -0x791 | a2 += -0x791;
0x00010818 addiu a1, a1, -0x1ce8 | a1 += -0x1ce8;
0x0001081c jalr t9 | t9 ();
| label_39:
0x00010820 lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00010824 lw a1, -0x7fc8(gp) | a1 = *(gp);
0x00010828 addiu v0, v0, 0x2a0 | v0 += 0x2a0;
0x0001082c lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x00010830 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00010834 addiu a3, zero, 0x147 | a3 = 0x147;
| /* esilref: 'src/journal/journald-stream.c' */
0x00010838 addiu a2, a2, -0x791 | a2 += -0x791;
0x0001083c addiu a1, a1, -0x3554 | a1 += -0x3554;
0x00010840 move a0, zero | a0 = 0;
0x00010844 jalr t9 | t9 ();
0x00010848 lw t9, -0x7e90(gp) | t9 = sym.imp.strdup;
0x0001084c move a0, s4 | a0 = s4;
0x00010850 jalr t9 | t9 ();
0x00010854 lw gp, 0x28(sp) | gp = *(var_28h);
0x00010858 sw v0, 0x20(s0) | *((s0 + 8)) = v0;
0x0001085c bnez v0, 0x10774 |
| } while (v0 != 0);
0x00010860 lw a3, -0x7fc8(gp) | a3 = *(gp);
0x00010864 lw t9, -0x7ebc(gp) | t9 = sym.imp.log_oom_internal;
| /* esilref: 'stdout_stream_line' */
0x00010868 addiu a3, a3, 0x28c | a3 += 0x28c;
0x0001086c addiu a2, zero, 0x164 | a2 = 0x164;
0x00010870 b 0x10738 | goto label_15;
| label_41:
0x00010980 move a0, zero | a0 = 0;
0x00010984 jalr t9 | t9 ();
0x00010988 slti v0, v0, 4 | v0 = (v0 < 4) ? 1 : 0;
0x0001098c lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x00010990 beqz v0, 0x1099c |
0x00010994 addiu v0, zero, -0x16 | v0 = -0x16;
0x00010998 b 0x10400 | goto label_14;
| }
0x0001099c lw v0, -0x7fc8(gp) | v0 = *(gp);
0x000109a0 lw t9, -0x7d58(gp) | t9 = sym.imp.log_internal_realm;
| /* str.Control_protocol_line_not_properly_terminated. */
0x000109a4 addiu v0, v0, -0x710 | v0 += -0x710;
0x000109a8 sw v0, 0x14(sp) | *(var_14h_2) = v0;
0x000109ac lw v0, -0x7fc8(gp) | v0 = *(gp);
0x000109b0 addiu a3, zero, 0x14e | a3 = 0x14e;
| /* esilref: 'stdout_stream_line' */
0x000109b4 addiu v0, v0, 0x28c | v0 += 0x28c;
0x000109b8 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x000109bc lw a2, -0x7fc8(gp) | a2 = *(gp);
0x000109c0 move a1, zero | a1 = 0;
| /* esilref: 'src/journal/journald-stream.c' */
0x000109c4 addiu a2, a2, -0x791 | a2 += -0x791;
0x000109c8 addiu a0, zero, 4 | a0 = 4;
0x000109cc jalr t9 | t9 ();
0x000109d0 lw gp, 0x28(sp) | gp = *(var_28h);
0x000109d4 addiu v0, zero, -0x16 | v0 = -0x16;
0x000109d8 b 0x10400 | goto label_14;
| label_43:
0x00010bc8 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00010bcc lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00010bd0 lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* str.stdout_stream_line */
0x00010bd4 addiu v0, v0, 0x2a0 | v0 += 0x2a0;
0x00010bd8 lw t9, -0x7c0c(gp) | t9 = sym.imp.log_assert_failed_unreachable_realm;
0x00010bdc sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00010be0 addiu a3, zero, 0x1a7 | a3 = 0x1a7;
| /* esilref: 'src/journal/journald-stream.c' */
0x00010be4 addiu a2, a2, -0x791 | a2 += -0x791;
| /* str.Unknown_stream_state */
0x00010be8 addiu a1, a1, -0x4bc | a1 += -0x4bc;
0x00010bec move a0, zero | a0 = 0;
0x00010bf0 jalr t9 | t9 ();
| label_42:
0x00010bf4 lw t9, -0x7d6c(gp) | t9 = sym.imp.__stack_chk_fail;
0x00010bf8 jalr t9 | t9 ();
0x00010bfc nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/systemd/systemd-journald @ 0x112b8 */
| #include <stdint.h>
|
; (fcn) fcn.000112b8 () | void fcn_000112b8 () {
| label_5:
0x000112b8 lui gp, 3 |
0x000112bc addiu gp, gp, -0x62b8 |
0x000112c0 addu gp, gp, t9 | gp += t9;
0x000112c4 addiu sp, sp, -0xa0 |
0x000112c8 sw s1, 0x88(sp) | *(var_88h) = s1;
0x000112cc lw s1, -0x7cf4(gp) | s1 = *((gp - 7997));
0x000112d0 sw gp, 0x58(sp) | *(var_58h) = gp;
0x000112d4 sw ra, 0x9c(sp) | *(var_9ch) = ra;
0x000112d8 sw s5, 0x98(sp) | *(var_98h) = s5;
0x000112dc sw s4, 0x94(sp) | *(var_94h) = s4;
0x000112e0 sw s3, 0x90(sp) | *(var_90h) = s3;
0x000112e4 sw s2, 0x8c(sp) | *(var_8ch) = s2;
0x000112e8 sw s0, 0x84(sp) | *(var_84h) = s0;
0x000112ec lw v0, (s1) | v0 = *(s1);
0x000112f0 sw v0, 0x7c(sp) | *(var_7ch) = v0;
0x000112f4 lw v0, -0x7fc8(gp) | v0 = *(gp);
| if (a0 == 0) {
0x000112f8 beqz a0, 0x11668 | goto label_9;
| }
0x000112fc move s3, a1 | s3 = a1;
| if (a1 < 0) {
0x00011300 bltz a1, 0x1168c | goto label_10;
| }
0x00011304 lw t9, -0x7bcc(gp) | t9 = sym.imp.sd_id128_randomize;
0x00011308 move s4, a0 | s4 = a0;
0x0001130c addiu a0, sp, 0x68 | a0 = sp + 0x68;
0x00011310 move s5, a2 | s5 = a2;
0x00011314 jalr t9 | t9 ();
0x00011318 move s0, v0 | s0 = v0;
0x0001131c lw gp, 0x58(sp) | gp = *(var_58h);
| if (v0 >= 0) {
0x00011320 bltz v0, 0x114cc |
0x00011324 lw t9, -0x7b60(gp) | t9 = sym.imp.calloc;
0x00011328 addiu a1, zero, 0x80 | a1 = 0x80;
0x0001132c addiu a0, zero, 1 | a0 = 1;
0x00011330 jalr t9 | t9 ();
0x00011334 move s2, v0 | s2 = v0;
0x00011338 lw gp, 0x58(sp) | gp = *(var_58h);
| if (v0 == 0) {
0x0001133c beqz v0, 0x116b4 | goto label_11;
| }
0x00011340 lbu t8, 0x77(sp) | t8 = *(var_77h);
0x00011344 lbu t7, 0x76(sp) | t7 = *(var_76h);
0x00011348 lbu t6, 0x75(sp) | t6 = *(var_75h);
0x0001134c lbu t5, 0x74(sp) | t5 = *(var_74h);
0x00011350 lbu t4, 0x73(sp) | t4 = *(var_73h);
0x00011354 lbu t3, 0x72(sp) | t3 = *(var_72h);
0x00011358 lbu t2, 0x71(sp) | t2 = *(var_71h);
0x0001135c lbu t1, 0x70(sp) | t1 = *(var_70h);
0x00011360 lbu t0, 0x6f(sp) | t0 = *(var_6fh);
0x00011364 lbu v1, 0x6a(sp) | v1 = *(var_6ah);
0x00011368 lbu a3, 0x6e(sp) | a3 = *(var_6eh);
0x0001136c lbu a2, 0x6d(sp) | a2 = *(var_6dh);
0x00011370 lbu a1, 0x6c(sp) | a1 = *(var_6ch);
0x00011374 lbu a0, 0x6b(sp) | a0 = *(var_6bh);
0x00011378 lbu v0, 0x69(sp) | v0 = *(var_69h);
0x0001137c addiu t9, zero, -1 | t9 = -1;
0x00011380 sw t9, 8(s2) | *((s2 + 2)) = t9;
0x00011384 addiu t9, zero, 6 | t9 = 6;
0x00011388 sw t8, 0x50(sp) | *(var_50h) = t8;
0x0001138c sw t7, 0x4c(sp) | *(var_4ch_2) = t7;
0x00011390 sw t6, 0x48(sp) | *(var_48h_2) = t6;
0x00011394 sw t5, 0x44(sp) | *(var_44h_2) = t5;
0x00011398 sw t4, 0x40(sp) | *(var_40h_2) = t4;
0x0001139c sw t3, 0x3c(sp) | *(var_3ch_2) = t3;
0x000113a0 sw t2, 0x38(sp) | *(var_38h) = t2;
0x000113a4 sw t1, 0x34(sp) | *(var_34h_2) = t1;
0x000113a8 sw t0, 0x30(sp) | *(var_30h) = t0;
0x000113ac sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x000113b0 sw t9, 0x24(s2) | *((s2 + 9)) = t9;
0x000113b4 sw a3, 0x2c(sp) | *(var_2ch) = a3;
0x000113b8 sw a2, 0x28(sp) | *(var_28h_2) = a2;
0x000113bc sw a1, 0x24(sp) | *(var_24h) = a1;
0x000113c0 sw a0, 0x20(sp) | *(var_20h_2) = a0;
0x000113c4 sw v0, 0x18(sp) | *(var_18h_2) = v0;
0x000113c8 lbu v0, 0x68(sp) | v0 = *(var_68h);
0x000113cc lw t9, -0x7e30(gp) | t9 = sym.imp.__snprintf_chk
0x000113d0 sw v0, 0x14(sp) | *(var_14h_2) = v0;
0x000113d4 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x000113d8 addiu a3, zero, 0x2c | a3 = 0x2c;
| /* str._STREAM_ID_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x */
0x000113dc addiu v0, v0, -0x3dc | v0 += -0x3dc;
0x000113e0 addiu a2, zero, 1 | a2 = 1;
0x000113e4 addiu a1, zero, 0x2c | a1 = 0x2c;
| /* esilref: ' >= 0' */
0x000113e8 addiu a0, s2, 0x54 | a0 = s2 + 0x54;
0x000113ec sw v0, 0x10(sp) | *(var_10h) = v0;
0x000113f0 jalr t9 | t9 ();
0x000113f4 lw gp, 0x58(sp) | gp = *(var_58h);
| /* aav.0x0002000c */
0x000113f8 addiu a1, s2, 0xc | a1 = s2 + 0xc;
0x000113fc lw t9, -0x7d70(gp) | t9 = sym.imp.getpeercred;
0x00011400 move a0, s3 | a0 = s3;
0x00011404 jalr t9 | t9 ();
0x00011408 move s0, v0 | s0 = v0;
0x0001140c lw gp, 0x58(sp) | gp = *(var_58h);
| if (v0 < 0) {
0x00011410 bltz v0, 0x115d8 | goto label_12;
| }
0x00011414 lw t9, -0x7d08(gp) | t9 = sym.imp.mac_selinux_use;
0x00011418 jalr t9 | t9 ();
0x0001141c nop |
0x00011420 lw gp, 0x58(sp) | gp = *(var_58h);
| if (v0 != 0) {
0x00011424 bnez v0, 0x11560 | goto label_13;
| }
| label_0:
0x00011428 lw t9, -0x7aec(gp) | t9 = sym.imp.shutdown;
0x0001142c addiu a1, zero, 1 | a1 = 1;
0x00011430 move a0, s3 | a0 = s3;
0x00011434 jalr t9 | t9 ();
0x00011438 lw gp, 0x58(sp) | gp = *(var_58h);
0x0001143c lw a0, 0x1c(s4) | a0 = *((s4 + 7));
0x00011440 addiu a3, zero, 1 | a3 = 1;
0x00011444 lw v0, -0x7f90(gp) | v0 = *(gp);
0x00011448 lw t9, -0x7d90(gp) | t9 = sym.imp.sd_event_add_io;
0x0001144c addiu v0, v0, 0x1064 | v0 += aav.0x00001064;
0x00011450 sw s2, 0x14(sp) | *(var_14h_2) = s2;
0x00011454 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00011458 move a2, s3 | a2 = s3;
| /* esilref: 'erver' */
0x0001145c addiu a1, s2, 0x38 | a1 = s2 + 0x38;
0x00011460 jalr t9 | t9 ();
0x00011464 move s0, v0 | s0 = v0;
0x00011468 lw gp, 0x58(sp) | gp = *(var_58h);
| if (v0 < 0) {
0x0001146c bltz v0, 0x11520 | goto label_14;
| }
0x00011470 lw t9, -0x7cd4(gp) | t9 = sym.imp.sd_event_source_set_priority;
0x00011474 lw a0, 0x38(s2) | a0 = *((s2 + 14));
0x00011478 addiu a2, zero, 5 | a2 = 5;
0x0001147c move a3, zero | a3 = 0;
0x00011480 jalr t9 | t9 ();
0x00011484 move s0, v0 | s0 = v0;
0x00011488 lw gp, 0x58(sp) | gp = *(var_58h);
| if (v0 < 0) {
0x0001148c bltz v0, 0x116dc | goto label_15;
| }
0x00011490 lw v0, 0x1a0(s4) | v0 = *((s4 + 104));
0x00011494 sw s3, 8(s2) | *((s2 + 2)) = s3;
0x00011498 sw s4, (s2) | *(s2) = s4;
0x0001149c sw v0, 0x44(s2) | *((s2 + 17)) = v0;
| if (v0 != 0) {
0x000114a0 beqz v0, 0x114a8 |
0x000114a4 sw s2, 0x48(v0) | *((v0 + 18)) = s2;
| }
0x000114a8 lw v0, 0x1a8(s4) | v0 = *(s4);
0x000114ac sw zero, 0x48(s2) | *((s2 + 18)) = 0;
0x000114b0 addiu v0, v0, 1 | v0++;
0x000114b4 sw s2, 0x1a0(s4) | *((s4 + 104)) = s2;
0x000114b8 sw v0, 0x1a8(s4) | *(s4) = v0;
| if (s5 == 0) {
0x000114bc beqz s5, 0x1173c | goto label_16;
| }
0x000114c0 sw s2, (s5) | *(s5) = s2;
0x000114c4 move v0, zero | v0 = 0;
0x000114c8 b 0x114f0 |
| } else {
0x000114cc lw t9, -0x7ee8(gp) | t9 = sym.imp.log_get_max_level_realm;
0x000114d0 move a0, zero | a0 = 0;
0x000114d4 jalr t9 | t9 ();
0x000114d8 slti v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x000114dc lw gp, 0x58(sp) | gp = *(var_58h);
| if (v0 == 0) {
0x000114e0 beqz v0, 0x1162c | goto label_17;
| }
0x000114e4 negu v0, s0 | __asm ("negu v0, s0");
0x000114e8 andi v0, v0, 0xff | v0 &= 0xff;
0x000114ec negu v0, v0 | __asm ("negu v0, v0");
| }
| do {
| label_3:
0x000114f0 lw a0, 0x7c(sp) | a0 = *(var_7ch);
0x000114f4 lw v1, (s1) | v1 = *(s1);
0x000114f8 lw ra, 0x9c(sp) | ra = *(var_9ch);
| if (a0 != v1) {
0x000114fc bne a0, v1, 0x11744 | goto label_18;
| }
0x00011500 lw s5, 0x98(sp) | s5 = *(var_98h);
0x00011504 lw s4, 0x94(sp) | s4 = *(var_94h);
0x00011508 lw s3, 0x90(sp) | s3 = *(var_90h);
0x0001150c lw s2, 0x8c(sp) | s2 = *(var_8ch);
0x00011510 lw s1, 0x88(sp) | s1 = *(var_88h);
0x00011514 lw s0, 0x84(sp) | s0 = *(var_84h);
0x00011518 addiu sp, sp, 0xa0 |
0x0001151c jr ra | return v0;
| label_14:
0x00011520 lw t9, -0x7ee8(gp) | t9 = sym.imp.log_get_max_level_realm;
0x00011524 move a0, zero | a0 = 0;
0x00011528 jalr t9 | t9 ();
0x0001152c slti v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x00011530 lw gp, 0x58(sp) | gp = *(var_58h);
| if (v0 == 0) {
0x00011534 beqz v0, 0x11718 | goto label_19;
| }
| label_1:
0x00011538 negu v0, s0 | __asm ("negu v0, s0");
0x0001153c andi v0, v0, 0xff | v0 &= 0xff;
0x00011540 negu v0, v0 | __asm ("negu v0, v0");
| label_2:
0x00011544 lw t9, -0x7f40(gp) | t9 = *(gp);
0x00011548 sw v0, 0x64(sp) | *(var_64h_2) = v0;
0x0001154c move a0, s2 | a0 = s2;
0x00011550 bal 0x10ddc | fcn_00010ddc ();
0x00011554 lw gp, 0x58(sp) | gp = *(var_58h);
0x00011558 lw v0, 0x64(sp) | v0 = *(var_64h_2);
0x0001155c b 0x114f0 |
| } while (1);
| label_13:
0x00011560 lw t9, -0x7e08(gp) | t9 = sym.imp.getpeersec;
| /* esilref: 'fdstore' */
0x00011564 addiu a1, s2, 0x18 | a1 = s2 + 0x18;
0x00011568 move a0, s3 | a0 = s3;
0x0001156c jalr t9 | t9 ();
0x00011570 move s0, v0 | s0 = v0;
0x00011574 lw gp, 0x58(sp) | gp = *(var_58h);
| if (v0 >= 0) {
0x00011578 bgez v0, 0x11428 | goto label_0;
| }
0x0001157c addiu v0, zero, -0x7a | v0 = -0x7a;
0x00011580 lw t9, -0x7ee8(gp) | t9 = sym.imp.log_get_max_level_realm;
| if (s0 == v0) {
0x00011584 beq s0, v0, 0x11428 | goto label_0;
| }
0x00011588 move a0, zero | a0 = 0;
0x0001158c jalr t9 | t9 ();
0x00011590 slti v0, v0, 4 | v0 = (v0 < 4) ? 1 : 0;
0x00011594 lw gp, 0x58(sp) | gp = *(var_58h);
| if (v0 != 0) {
0x00011598 bnez v0, 0x11428 | goto label_0;
| }
0x0001159c lw v0, -0x7fc8(gp) | v0 = *(gp);
0x000115a0 lw a2, -0x7fc8(gp) | a2 = *(gp);
| /* str.Failed_to_determine_peer_security_context:__m */
0x000115a4 addiu v0, v0, -0x364 | v0 += -0x364;
0x000115a8 sw v0, 0x14(sp) | *(var_14h_2) = v0;
0x000115ac lw v0, -0x7fc8(gp) | v0 = *(gp);
0x000115b0 lw t9, -0x7d58(gp) | t9 = sym.imp.log_internal_realm;
| /* esilref: 'stdout_stream_install' */
0x000115b4 addiu v0, v0, 0x2f8 | v0 += 0x2f8;
0x000115b8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000115bc addiu a3, zero, 0x238 | a3 = 0x238;
| /* esilref: 'src/journal/journald-stream.c' */
0x000115c0 addiu a2, a2, -0x791 | a2 += -0x791;
0x000115c4 move a1, s0 | a1 = s0;
0x000115c8 addiu a0, zero, 4 | a0 = 4;
0x000115cc jalr t9 | t9 ();
0x000115d0 lw gp, 0x58(sp) | gp = *(var_58h);
0x000115d4 b 0x11428 | goto label_0;
| label_12:
0x000115d8 lw t9, -0x7ee8(gp) | t9 = sym.imp.log_get_max_level_realm;
0x000115dc move a0, zero | a0 = 0;
0x000115e0 jalr t9 | t9 ();
0x000115e4 slti v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x000115e8 lw gp, 0x58(sp) | gp = *(var_58h);
| if (v0 != 0) {
0x000115ec bnez v0, 0x11538 | goto label_1;
| }
0x000115f0 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x000115f4 lw t9, -0x7d58(gp) | t9 = sym.imp.log_internal_realm;
| /* str.Failed_to_determine_peer_credentials:__m */
0x000115f8 addiu v0, v0, -0x390 | v0 += -0x390;
0x000115fc sw v0, 0x14(sp) | *(var_14h_2) = v0;
0x00011600 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00011604 addiu a3, zero, 0x233 | a3 = 0x233;
| /* esilref: 'stdout_stream_install' */
0x00011608 addiu v0, v0, 0x2f8 | v0 += 0x2f8;
0x0001160c sw v0, 0x10(sp) | *(var_10h) = v0;
| label_4:
0x00011610 lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00011614 move a1, s0 | a1 = s0;
| /* esilref: 'src/journal/journald-stream.c' */
0x00011618 addiu a2, a2, -0x791 | a2 += -0x791;
0x0001161c addiu a0, zero, 3 | a0 = 3;
0x00011620 jalr t9 | t9 ();
0x00011624 lw gp, 0x58(sp) | gp = *(var_58h);
0x00011628 b 0x11544 | goto label_2;
| label_17:
0x0001162c lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00011630 lw a2, -0x7fc8(gp) | a2 = *(gp);
| /* str.Failed_to_generate_stream_ID:__m */
0x00011634 addiu v0, v0, -0x400 | v0 += -0x400;
0x00011638 sw v0, 0x14(sp) | *(var_14h_2) = v0;
0x0001163c lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00011640 lw t9, -0x7d58(gp) | t9 = sym.imp.log_internal_realm;
| /* esilref: 'stdout_stream_install' */
0x00011644 addiu v0, v0, 0x2f8 | v0 += 0x2f8;
0x00011648 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0001164c addiu a3, zero, 0x226 | a3 = 0x226;
| /* esilref: 'src/journal/journald-stream.c' */
0x00011650 addiu a2, a2, -0x791 | a2 += -0x791;
0x00011654 move a1, s0 | a1 = s0;
0x00011658 addiu a0, zero, 3 | a0 = 3;
0x0001165c jalr t9 | t9 ();
0x00011660 lw gp, 0x58(sp) | gp = *(var_58h);
0x00011664 b 0x114f0 | goto label_3;
| label_9:
0x00011668 lw a2, -0x7fc8(gp) | a2 = *(gp);
0x0001166c lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* str.stdout_stream_install */
0x00011670 addiu v0, v0, 0x310 | v0 += 0x310;
0x00011674 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x00011678 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0001167c addiu a3, zero, 0x221 | a3 = 0x221;
| /* esilref: 'src/journal/journald-stream.c' */
0x00011680 addiu a2, a2, -0x791 | a2 += -0x791;
0x00011684 addiu a1, a1, -0x1ce8 | a1 += -0x1ce8;
0x00011688 jalr t9 | t9 ();
| label_10:
0x0001168c lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00011690 lw a1, -0x7fc8(gp) | a1 = *(gp);
0x00011694 addiu v0, v0, 0x310 | v0 += 0x310;
0x00011698 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x0001169c sw v0, 0x10(sp) | *(var_10h) = v0;
0x000116a0 addiu a3, zero, 0x222 | a3 = 0x222;
| /* esilref: 'src/journal/journald-stream.c' */
0x000116a4 addiu a2, a2, -0x791 | a2 += -0x791;
| /* esilref: 'fd >= 0' */
0x000116a8 addiu a1, a1, -0x3408 | a1 += -0x3408;
0x000116ac move a0, zero | a0 = 0;
0x000116b0 jalr t9 | t9 ();
| label_11:
0x000116b4 lw a3, -0x7fc8(gp) | a3 = *(gp);
0x000116b8 lw a1, -0x7fc8(gp) | a1 = *(gp);
0x000116bc lw t9, -0x7ebc(gp) | t9 = sym.imp.log_oom_internal;
| /* esilref: 'stdout_stream_install' */
0x000116c0 addiu a3, a3, 0x2f8 | a3 += 0x2f8;
0x000116c4 addiu a2, zero, 0x22a | a2 = 0x22a;
| /* esilref: 'src/journal/journald-stream.c' */
0x000116c8 addiu a1, a1, -0x791 | a1 += -0x791;
0x000116cc move a0, zero | a0 = 0;
0x000116d0 jalr t9 | t9 ();
0x000116d4 lw gp, 0x58(sp) | gp = *(var_58h);
0x000116d8 b 0x114f0 | goto label_3;
| label_15:
0x000116dc lw t9, -0x7ee8(gp) | t9 = sym.imp.log_get_max_level_realm;
0x000116e0 move a0, zero | a0 = 0;
0x000116e4 jalr t9 | t9 ();
0x000116e8 slti v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x000116ec lw gp, 0x58(sp) | gp = *(var_58h);
| if (v0 != 0) {
0x000116f0 bnez v0, 0x11538 | goto label_1;
| }
0x000116f4 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x000116f8 lw t9, -0x7d58(gp) | t9 = sym.imp.log_internal_realm;
| /* str.Failed_to_adjust_stdout_event_source_priority:__m */
0x000116fc addiu v0, v0, -0x30c | v0 += -0x30c;
0x00011700 sw v0, 0x14(sp) | *(var_14h_2) = v0;
0x00011704 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00011708 addiu a3, zero, 0x243 | a3 = 0x243;
| /* esilref: 'stdout_stream_install' */
0x0001170c addiu v0, v0, 0x2f8 | v0 += 0x2f8;
0x00011710 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00011714 b 0x11610 | goto label_4;
| label_19:
0x00011718 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x0001171c lw t9, -0x7d58(gp) | t9 = sym.imp.log_internal_realm;
| /* str.Failed_to_add_stream_to_event_loop:__m */
0x00011720 addiu v0, v0, -0x334 | v0 += -0x334;
0x00011724 sw v0, 0x14(sp) | *(var_14h_2) = v0;
0x00011728 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x0001172c addiu a3, zero, 0x23f | a3 = 0x23f;
| /* esilref: 'stdout_stream_install' */
0x00011730 addiu v0, v0, 0x2f8 | v0 += 0x2f8;
0x00011734 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00011738 b 0x11610 | goto label_4;
| label_16:
0x0001173c move v0, zero | v0 = 0;
0x00011740 b 0x114f0 | goto label_3;
| label_18:
0x00011744 lw t9, -0x7d6c(gp) | t9 = sym.imp.__stack_chk_fail;
0x00011748 jalr t9 | t9 ();
0x0001174c nop |
0x00011750 lui gp, 3 |
0x00011754 addiu gp, gp, -0x6750 |
0x00011758 addu gp, gp, t9 | gp += t9;
0x0001175c addiu sp, sp, -0x50 |
0x00011760 sw s1, 0x40(sp) | *(var_40h) = s1;
0x00011764 lw s1, -0x7cf4(gp) | s1 = *((gp - 7997));
0x00011768 sw gp, 0x20(sp) | *(var_20h) = gp;
0x0001176c sw ra, 0x4c(sp) | *(var_4ch) = ra;
0x00011770 sw s3, 0x48(sp) | *(var_48h) = s3;
0x00011774 sw s2, 0x44(sp) | *(var_44h) = s2;
0x00011778 sw s0, 0x3c(sp) | *(var_3ch) = s0;
0x0001177c lw v0, (s1) | v0 = *(s1);
0x00011780 sw v0, 0x34(sp) | *(var_34h) = v0;
0x00011784 addiu v0, zero, 1 | v0 = 1;
| if (a3 == 0) {
0x00011788 beqz a3, 0x11980 | goto label_20;
| }
0x0001178c move s2, a2 | s2 = a2;
| if (a2 == v0) {
0x00011790 beq a2, v0, 0x117f0 | goto label_21;
| }
0x00011794 lw t9, -0x7ee8(gp) | t9 = sym.imp.log_get_max_level_realm;
0x00011798 move a0, zero | a0 = 0;
0x0001179c jalr t9 | t9 ();
0x000117a0 slti v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x000117a4 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x000117a8 beqz v0, 0x11854 | goto label_22;
| }
0x000117ac addiu s2, zero, -1 | s2 = -1;
0x000117b0 addiu s0, zero, -5 | s0 = -5;
| do {
| label_6:
0x000117b4 lw t9, -0x7bd4(gp) | t9 = sym.imp.safe_close;
0x000117b8 move a0, s2 | a0 = s2;
0x000117bc jalr t9 | t9 ();
0x000117c0 lw a0, 0x34(sp) | a0 = *(var_34h);
0x000117c4 lw v1, (s1) | v1 = *(s1);
0x000117c8 lw gp, 0x20(sp) | gp = *(var_20h);
0x000117cc move v0, s0 | v0 = s0;
| if (a0 != v1) {
0x000117d0 bne a0, v1, 0x11a50 | goto label_23;
| }
0x000117d4 lw ra, 0x4c(sp) | ra = *(var_4ch);
0x000117d8 lw s3, 0x48(sp) | s3 = *(var_48h);
0x000117dc lw s2, 0x44(sp) | s2 = *(var_44h);
0x000117e0 lw s1, 0x40(sp) | s1 = *(var_40h);
0x000117e4 lw s0, 0x3c(sp) | s0 = *(var_3ch);
0x000117e8 addiu sp, sp, 0x50 |
0x000117ec jr ra | return v0;
| label_21:
0x000117f0 lw t9, -0x7d48(gp) | t9 = sym.imp.accept4;
0x000117f4 lw a0, 8(a3) | a0 = *((a3 + 2));
0x000117f8 move s0, a3 | s0 = a3;
0x000117fc lui a3, 8 | a3 = 0x80080;
0x00011800 addiu a3, a3, 0x80 |
0x00011804 move a2, zero | a2 = 0;
0x00011808 move a1, zero | a1 = 0;
0x0001180c jalr t9 | t9 ();
0x00011810 move s2, v0 | s2 = v0;
0x00011814 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 < 0) {
0x00011818 bltz v0, 0x118a0 | goto label_24;
| }
0x0001181c lw v0, 0x1a8(s0) | v0 = *(s0);
0x00011820 sltiu v0, v0, 0x1000 | v0 = (v0 < 0x1000) ? 1 : 0;
0x00011824 lw t9, -0x7f14(gp) | t9 = *(gp);
| if (v0 == 0) {
0x00011828 beqz v0, 0x119ac | goto label_25;
| }
0x0001182c move a0, s0 | a0 = s0;
0x00011830 move a2, zero | a2 = 0;
0x00011834 move a1, s2 | a1 = s2;
0x00011838 bal 0x112b8 | fcn_000112b8 ();
| goto label_5;
0x0001183c move s0, v0 | s0 = v0;
0x00011840 lw gp, 0x20(sp) | gp = *(var_20h);
0x00011844 bltz v0, 0x117b4 |
| } while (v0 < 0);
0x00011848 addiu s2, zero, -1 | s2 = -1;
| do {
| label_7:
0x0001184c move s0, zero | s0 = 0;
0x00011850 b 0x117b4 | goto label_6;
| label_22:
0x00011854 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00011858 lw a2, -0x7fc8(gp) | a2 = *(gp);
| /* str.Got_invalid_event_from_epoll_for_stdout_server_fd:__x */
0x0001185c addiu v0, v0, -0x2d8 | v0 += -0x2d8;
0x00011860 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00011864 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00011868 lw t9, -0x7d58(gp) | t9 = sym.imp.log_internal_realm;
| /* esilref: 'stdout_stream_new' */
0x0001186c addiu v0, v0, 0x114 | v0 += aav.0x00000114;
0x00011870 lui a1, 0x4000 | a1 = 0x40000000;
0x00011874 sw s2, 0x18(sp) | *(var_18h) = s2;
0x00011878 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x0001187c addiu a3, zero, 0x25d | a3 = 0x25d;
| /* esilref: 'src/journal/journald-stream.c' */
0x00011880 addiu a2, a2, -0x791 | a2 += -0x791;
0x00011884 addiu a1, a1, 5 | a1 += 5;
0x00011888 addiu a0, zero, 3 | a0 = 3;
0x0001188c jalr t9 | t9 ();
0x00011890 move s0, v0 | s0 = v0;
0x00011894 lw gp, 0x20(sp) | gp = *(var_20h);
0x00011898 addiu s2, zero, -1 | s2 = -1;
0x0001189c b 0x117b4 | goto label_6;
| label_24:
0x000118a0 lw t9, -0x7aa8(gp) | t9 = sym.imp.__errno_location;
0x000118a4 jalr t9 | t9 ();
0x000118a8 nop |
0x000118ac lw s3, (v0) | s3 = *(v0);
0x000118b0 lw gp, 0x20(sp) | gp = *(var_20h);
0x000118b4 move s0, s3 | s0 = s3;
| if (s3 < 0) {
0x000118b8 bgez s3, 0x118c0 |
0x000118bc negu s0, s3 | __asm ("negu s0, s3");
| }
0x000118c0 slti v0, s0, 0x84 | v0 = (s0 < 0x84) ? 1 : 0;
0x000118c4 slti v0, s0, 0x7f | v0 = (s0 < 0x7f) ? 1 : 0;
| if (v0 == 0) {
0x000118c8 beqz v0, 0x11944 | goto label_26;
| }
0x000118cc addiu v0, zero, 0x40 | v0 = 0x40;
0x000118d0 beqz v0, 0x1184c |
| } while (v0 == 0);
0x000118d4 slti v0, s0, 0x41 | v0 = (s0 < 0x41) ? 1 : 0;
| if (s0 == v0) {
0x000118d8 beq s0, v0, 0x1184c | goto label_7;
| }
0x000118dc addiu v0, zero, 0x47 | v0 = 0x47;
| if (v0 != 0) {
0x000118e0 bnez v0, 0x11930 | goto label_27;
| }
0x000118e4 addiu v0, zero, 0x63 | v0 = 0x63;
| if (s0 == v0) {
0x000118e8 beq s0, v0, 0x1184c | goto label_7;
| }
| if (s0 == v0) {
0x000118ec beql s0, v0, 0x117b4 | goto label_6;
| }
0x000118f0 move s0, zero | s0 = 0;
0x000118f4 addiu v0, zero, 0xb | v0 = 0xb;
| label_8:
0x000118f8 addiu v0, zero, 0x7a | v0 = 0x7a;
| if (s0 == v0) {
0x000118fc beq s0, v0, 0x1184c | goto label_7;
| }
0x00011900 addiu v0, zero, 4 | v0 = 4;
| if (s0 == v0) {
0x00011904 beq s0, v0, 0x1184c | goto label_7;
| }
0x00011908 lw t9, -0x7ee8(gp) | t9 = sym.imp.log_get_max_level_realm;
| if (s0 == v0) {
0x0001190c beq s0, v0, 0x1184c | goto label_7;
| }
0x00011910 move a0, zero | a0 = 0;
0x00011914 jalr t9 | t9 ();
0x00011918 slti v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x0001191c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00011920 beqz v0, 0x11a10 | goto label_28;
| }
0x00011924 andi s0, s0, 0xff | s0 &= 0xff;
0x00011928 negu s0, s0 | __asm ("negu s0, s0");
0x0001192c b 0x117b4 | goto label_6;
| label_27:
0x00011930 addiu v0, zero, 0x20 | v0 = 0x20;
0x00011934 addiu v0, zero, 0xb | v0 = 0xb;
| if (s0 != v0) {
0x00011938 bne s0, v0, 0x118f8 | goto label_8;
| }
0x0001193c move s0, zero | s0 = 0;
0x00011940 b 0x117b4 | goto label_6;
| label_26:
0x00011944 addiu v0, zero, 0x8f | v0 = 0x8f;
0x00011948 slti v0, s0, 0x90 | v0 = (s0 < 0x90) ? 1 : 0;
| if (s0 == v0) {
0x0001194c beq s0, v0, 0x1184c | goto label_7;
| }
0x00011950 addiu v0, s0, -0x92 | v0 = s0 + -0x92;
| if (v0 == 0) {
0x00011954 beqz v0, 0x1196c | goto label_29;
| }
0x00011958 addiu v0, zero, 0x86 | v0 = 0x86;
0x0001195c addiu v0, zero, 0xb | v0 = 0xb;
| if (s0 != v0) {
0x00011960 bne s0, v0, 0x118f8 | goto label_8;
| }
0x00011964 move s0, zero | s0 = 0;
0x00011968 b 0x117b4 | goto label_6;
| label_29:
0x0001196c sltiu v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x00011970 addiu v0, zero, 0xb | v0 = 0xb;
| if (v0 == 0) {
0x00011974 beqz v0, 0x118f8 | goto label_8;
| }
0x00011978 move s0, zero | s0 = 0;
0x0001197c b 0x117b4 | goto label_6;
| label_20:
0x00011980 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00011984 lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00011988 lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* str.stdout_stream_new */
0x0001198c addiu v0, v0, 0x128 | v0 += aav.0x00000128;
0x00011990 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x00011994 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00011998 addiu a3, zero, 0x258 | a3 = 0x258;
| /* esilref: 'src/journal/journald-stream.c' */
0x0001199c addiu a2, a2, -0x791 | a2 += -0x791;
0x000119a0 addiu a1, a1, -0x1ce8 | a1 += -0x1ce8;
0x000119a4 move a0, zero | a0 = 0;
0x000119a8 jalr t9 | t9 ();
| label_25:
0x000119ac lw t9, -0x7d70(gp) | t9 = sym.imp.getpeercred;
0x000119b0 move a0, s2 | a0 = s2;
0x000119b4 addiu a1, sp, 0x28 | a1 = sp + 0x28;
0x000119b8 jalr t9 | t9 ();
0x000119bc lw gp, 0x20(sp) | gp = *(var_20h);
0x000119c0 move a0, s2 | a0 = s2;
0x000119c4 lw t9, -0x7bd4(gp) | t9 = sym.imp.safe_close;
0x000119c8 move s3, v0 | s3 = v0;
0x000119cc jalr t9 | t9 ();
0x000119d0 move s2, v0 | s2 = v0;
0x000119d4 lw gp, 0x20(sp) | gp = *(var_20h);
| if (s3 < 0) {
0x000119d8 bltz s3, 0x11a08 | goto label_30;
| }
0x000119dc lw a1, 0x28(sp) | a1 = *(var_28h);
| do {
0x000119e0 lw a3, -0x7fc8(gp) | a3 = *(gp);
0x000119e4 lw t9, -0x7fcc(gp) | t9 = *(gp);
0x000119e8 move a0, s0 | a0 = s0;
0x000119ec sw zero, 0x10(sp) | *(var_10h_2) = 0;
| /* str.MESSAGEToo_many_stdout_streams__refusing_connection. */
0x000119f0 addiu a3, a3, -0x278 | a3 += -0x278;
0x000119f4 move a2, zero | a2 = 0;
0x000119f8 bal 0xb824 | fcn_0000b824 ();
0x000119fc move s0, zero | s0 = 0;
0x00011a00 lw gp, 0x20(sp) | gp = *(var_20h);
0x00011a04 b 0x117b4 | goto label_6;
| label_30:
0x00011a08 move a1, zero | a1 = 0;
0x00011a0c b 0x119e0 |
| } while (1);
| label_28:
0x00011a10 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00011a14 lw a2, -0x7fc8(gp) | a2 = *(gp);
| /* str.Failed_to_accept_stdout_connection:__m */
0x00011a18 addiu v0, v0, -0x2a0 | v0 += -0x2a0;
0x00011a1c sw v0, 0x14(sp) | *(var_14h) = v0;
0x00011a20 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00011a24 lw t9, -0x7d58(gp) | t9 = sym.imp.log_internal_realm;
| /* esilref: 'stdout_stream_new' */
0x00011a28 addiu v0, v0, 0x114 | v0 += aav.0x00000114;
0x00011a2c sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00011a30 addiu a3, zero, 0x264 | a3 = 0x264;
| /* esilref: 'src/journal/journald-stream.c' */
0x00011a34 addiu a2, a2, -0x791 | a2 += -0x791;
0x00011a38 move a1, s3 | a1 = s3;
0x00011a3c addiu a0, zero, 3 | a0 = 3;
0x00011a40 jalr t9 | t9 ();
0x00011a44 move s0, v0 | s0 = v0;
0x00011a48 lw gp, 0x20(sp) | gp = *(var_20h);
0x00011a4c b 0x117b4 | goto label_6;
| label_23:
0x00011a50 lw t9, -0x7d6c(gp) | t9 = sym.imp.__stack_chk_fail;
0x00011a54 jalr t9 | t9 ();
0x00011a58 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/systemd/systemd-journald @ 0x12c98 */
| #include <stdint.h>
|
; (fcn) fcn.00012c98 () | void fcn_00012c98 () {
0x00012c98 lui gp, 3 |
0x00012c9c addiu gp, gp, -0x7c98 |
0x00012ca0 addu gp, gp, t9 | gp += t9;
0x00012ca4 addiu sp, sp, -0x110 |
0x00012ca8 sw s1, 0xf0(sp) | *(var_f0h) = s1;
0x00012cac lw s1, -0x7cf4(gp) | s1 = *((gp - 7997));
0x00012cb0 sw s6, 0x104(sp) | *(var_104h) = s6;
0x00012cb4 sw s3, 0xf8(sp) | *(var_f8h) = s3;
0x00012cb8 sw gp, 0x18(sp) | *(var_18h_3) = gp;
0x00012cbc sw ra, 0x10c(sp) | *(var_10ch) = ra;
0x00012cc0 sw s7, 0x108(sp) | *(var_108h) = s7;
0x00012cc4 sw s5, 0x100(sp) | *(var_100h) = s5;
0x00012cc8 sw s4, 0xfc(sp) | *(var_fch) = s4;
0x00012ccc sw s2, 0xf4(sp) | *(var_f4h) = s2;
0x00012cd0 sw s0, 0xec(sp) | *(var_ech) = s0;
0x00012cd4 lw v1, (s1) | v1 = *(s1);
0x00012cd8 lw s3, 0x120(sp) | s3 = *(var_10h_2);
0x00012cdc lw s6, 0x124(sp) | s6 = *(var_124h);
0x00012ce0 sw v1, 0xe4(sp) | *(var_e4h) = v1;
0x00012ce4 sw zero, 0x28(sp) | *(var_28h) = 0;
| if (a0 == 0) {
0x00012ce8 beqz a0, 0x12f00 | goto label_5;
| }
0x00012cec move v0, a1 | v0 = a1;
| if (a1 < 0) {
0x00012cf0 bltz a1, 0x12f28 | goto label_6;
| }
0x00012cf4 slti v1, a1, 0x3e8 | v1 = (a1 < 0x3e8) ? 1 : 0;
| if (v1 == 0) {
0x00012cf8 beql v1, zero, 0x12f54 | goto label_7;
| }
0x00012cfc lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00012d00 move s2, a3 | s2 = a3;
| if (a3 == 0) {
0x00012d04 beqz a3, 0x12f7c | goto label_8;
| }
0x00012d08 move s0, a0 | s0 = a0;
0x00012d0c lw a0, 0x1b4(a0) | a0 = *((a0 + 109));
0x00012d10 andi v1, a1, 7 | v1 = a1 & 7;
0x00012d14 slt v1, a0, v1 | v1 = (a0 < v1) ? 1 : 0;
| if (v1 == 0) {
0x00012d18 beql v1, zero, 0x12d6c | goto label_9;
| }
0x00012d1c sw v0, 0x14(sp) | *(var_fch) = v0;
0x00012d20 move a0, zero | a0 = 0;
| label_0:
0x00012d24 lw t9, -0x7c18(gp) | t9 = sym.imp.free;
0x00012d28 jalr t9 | t9 ();
0x00012d2c nop |
0x00012d30 lw gp, 0x18(sp) | gp = *(var_18h_3);
| do {
0x00012d34 lw v1, 0xe4(sp) | v1 = *(var_e4h);
0x00012d38 lw v0, (s1) | v0 = *(s1);
0x00012d3c lw ra, 0x10c(sp) | ra = *(var_10ch);
| if (v1 != v0) {
0x00012d40 bne v1, v0, 0x13080 | goto label_10;
| }
0x00012d44 lw s7, 0x108(sp) | s7 = *(var_108h);
0x00012d48 lw s6, 0x104(sp) | s6 = *(var_104h);
0x00012d4c lw s5, 0x100(sp) | s5 = *(var_100h);
0x00012d50 lw s4, 0xfc(sp) | s4 = *(var_fch);
0x00012d54 lw s3, 0xf8(sp) | s3 = *(var_f8h);
0x00012d58 lw s2, 0xf4(sp) | s2 = *(var_f4h);
0x00012d5c lw s1, 0xf0(sp) | s1 = *(var_f0h);
0x00012d60 lw s0, 0xec(sp) | s0 = *(var_ech);
0x00012d64 addiu sp, sp, 0x110 |
0x00012d68 jr ra | return v0;
| label_9:
0x00012d6c lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00012d70 lw t9, -0x7e30(gp) | t9 = sym.imp.__snprintf_chk
0x00012d74 addiu s5, sp, 0x80 | s5 = sp + 0x80;
| /* str.__i_ */
0x00012d78 addiu v0, v0, -0x3598 | v0 += -0x3598;
0x00012d7c addiu a3, zero, 0xf | a3 = 0xf;
0x00012d80 addiu a1, zero, 0xf | a1 = 0xf;
0x00012d84 move a0, s5 | a0 = s5;
0x00012d88 move s4, a2 | s4 = a2;
0x00012d8c sw v0, 0x10(sp) | *(var_f8h) = v0;
0x00012d90 addiu a2, zero, 1 | a2 = 1;
0x00012d94 jalr t9 | t9 ();
0x00012d98 lw gp, 0x18(sp) | gp = *(var_18h_3);
0x00012d9c lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
0x00012da0 move a0, s5 | a0 = s5;
0x00012da4 jalr t9 | t9 ();
0x00012da8 sw v0, 0x5c(sp) | *(var_5ch_2) = v0;
0x00012dac lw gp, 0x18(sp) | gp = *(var_18h_3);
0x00012db0 sw s5, 0x58(sp) | *(var_58h_2) = s5;
| if (s6 == 0) {
0x00012db4 beqz s6, 0x12fa8 | goto label_11;
| }
0x00012db8 lw v0, (s6) | v0 = *(s6);
| label_1:
0x00012dbc lw t9, -0x7abc(gp) | t9 = sym.imp.localtime_r;
0x00012dc0 addiu s5, sp, 0x2c | s5 = sp + 0x2c;
0x00012dc4 move a1, s5 | a1 = s5;
0x00012dc8 addiu a0, sp, 0x24 | a0 = sp + 0x24;
0x00012dcc sw v0, 0x24(sp) | *(var_10ch) = v0;
0x00012dd0 jalr t9 | t9 ();
0x00012dd4 lw gp, 0x18(sp) | gp = *(var_18h_3);
| if (v0 == 0) {
0x00012dd8 beqz v0, 0x12ef8 | goto label_12;
| }
0x00012ddc lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00012de0 lw t9, -0x7e6c(gp) | t9 = sym.imp.strftime;
0x00012de4 addiu s6, sp, 0xa4 | s6 = sp + 0xa4;
0x00012de8 move a3, s5 | a3 = s5;
| /* str._h__e__T_ */
0x00012dec addiu a2, a2, 0x38c | a2 += 0x38c;
0x00012df0 addiu a1, zero, 0x40 | a1 = 0x40;
0x00012df4 move a0, s6 | a0 = s6;
0x00012df8 jalr t9 | t9 ();
0x00012dfc lw gp, 0x18(sp) | gp = *(var_18h_3);
| if (v0 == 0) {
0x00012e00 beqz v0, 0x12ef8 | goto label_12;
| }
0x00012e04 lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
0x00012e08 move a0, s6 | a0 = s6;
0x00012e0c jalr t9 | t9 ();
0x00012e10 sw v0, 0x64(sp) | *(var_64h_2) = v0;
0x00012e14 lw gp, 0x18(sp) | gp = *(var_18h_3);
0x00012e18 sw s6, 0x60(sp) | *(var_60h) = s6;
| if (s3 == 0) {
0x00012e1c beqz s3, 0x12fdc | goto label_13;
| }
0x00012e20 lw a0, (s3) | a0 = *(s3);
| if (s4 == 0) {
0x00012e24 beqz s4, 0x13018 | goto label_14;
| }
0x00012e28 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00012e2c lw t9, -0x7e30(gp) | t9 = sym.imp.__snprintf_chk
| /* str.__i_:_ */
0x00012e30 addiu v0, v0, -0x3590 | v0 += -0x3590;
0x00012e34 addiu s6, sp, 0x90 | s6 = sp + 0x90;
0x00012e38 sw a0, 0x14(sp) | *(var_fch) = a0;
0x00012e3c sw v0, 0x10(sp) | *(var_f8h) = v0;
0x00012e40 addiu a3, zero, 0x11 | a3 = 0x11;
0x00012e44 addiu a2, zero, 1 | a2 = 1;
0x00012e48 addiu a1, zero, 0x11 | a1 = 0x11;
0x00012e4c move a0, s6 | a0 = s6;
0x00012e50 jalr t9 | t9 ();
0x00012e54 lw gp, 0x18(sp) | gp = *(var_18h_3);
| label_3:
0x00012e58 lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
0x00012e5c move a0, s4 | a0 = s4;
0x00012e60 jalr t9 | t9 ();
0x00012e64 lw gp, 0x18(sp) | gp = *(var_18h_3);
0x00012e68 sw s4, 0x68(sp) | *(var_68h) = s4;
0x00012e6c sw v0, 0x6c(sp) | *(var_6ch_2) = v0;
0x00012e70 addiu s5, zero, 5 | s5 = 5;
0x00012e74 addiu s4, zero, 4 | s4 = 4;
0x00012e78 addiu s7, zero, 3 | s7 = 3;
| label_4:
0x00012e7c lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
0x00012e80 move a0, s6 | a0 = s6;
0x00012e84 jalr t9 | t9 ();
0x00012e88 sll v1, s7, 3 | v1 = s7 << 3;
0x00012e8c addiu a0, sp, 0xe8 | a0 = sp + 0xe8;
0x00012e90 addu v1, a0, v1 | v1 = a0 + v1;
0x00012e94 lw gp, 0x18(sp) | gp = *(var_18h_3);
0x00012e98 sw s6, -0x90(v1) | *((v1 - 36)) = s6;
0x00012e9c sw v0, -0x8c(v1) | *((v1 - 35)) = v0;
| label_2:
0x00012ea0 lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
0x00012ea4 move a0, s2 | a0 = s2;
0x00012ea8 jalr t9 | t9 ();
0x00012eac lw gp, 0x18(sp) | gp = *(var_18h_3);
0x00012eb0 addiu a0, sp, 0xe8 | a0 = sp + 0xe8;
0x00012eb4 sll v1, s4, 3 | v1 = s4 << 3;
0x00012eb8 addu v1, a0, v1 | v1 = a0 + v1;
0x00012ebc lw t9, -0x7f90(gp) | t9 = *(gp);
0x00012ec0 move a3, s3 | a3 = s3;
0x00012ec4 move a2, s5 | a2 = s5;
0x00012ec8 addiu a1, sp, 0x58 | a1 = sp + 0x58;
0x00012ecc move a0, s0 | a0 = s0;
0x00012ed0 sw v0, -0x8c(v1) | *((v1 - 35)) = v0;
| /* fcn.00012a28 */
0x00012ed4 addiu t9, t9, 0x2a28 | t9 += 0x2a28;
0x00012ed8 sw s2, -0x90(v1) | *((v1 - 36)) = s2;
0x00012edc bal 0x12a28 | fcn_00012a28 ();
0x00012ee0 lw gp, 0x18(sp) | gp = *(var_18h_3);
0x00012ee4 lw t9, -0x7c18(gp) | t9 = sym.imp.free;
0x00012ee8 lw a0, 0x28(sp) | a0 = *(var_28h);
0x00012eec jalr t9 | t9 ();
0x00012ef0 lw gp, 0x18(sp) | gp = *(var_18h_3);
0x00012ef4 b 0x12d34 |
| } while (1);
| label_12:
0x00012ef8 lw a0, 0x28(sp) | a0 = *(var_28h);
0x00012efc b 0x12d24 | goto label_0;
| label_5:
0x00012f00 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00012f04 lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00012f08 lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* str.server_forward_syslog */
0x00012f0c addiu v0, v0, 0x79c | v0 += 0x79c;
0x00012f10 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x00012f14 sw v0, 0x10(sp) | *(var_f8h) = v0;
0x00012f18 addiu a3, zero, 0x7b | a3 = 0x7b;
| /* esilref: 'src/journal/journald-syslog.c' */
0x00012f1c addiu a2, a2, 0x343 | a2 += 0x343;
0x00012f20 addiu a1, a1, -0x1ce8 | a1 += -0x1ce8;
0x00012f24 jalr t9 | t9 ();
| label_6:
0x00012f28 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00012f2c lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00012f30 lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* str.server_forward_syslog */
0x00012f34 addiu v0, v0, 0x79c | v0 += 0x79c;
0x00012f38 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x00012f3c sw v0, 0x10(sp) | *(var_f8h) = v0;
0x00012f40 addiu a3, zero, 0x7c | a3 = 0x7c;
| /* esilref: 'src/journal/journald-syslog.c' */
0x00012f44 addiu a2, a2, 0x343 | a2 += 0x343;
| /* str.priority___0 */
0x00012f48 addiu a1, a1, -0x35c0 | a1 += -0x35c0;
0x00012f4c move a0, zero | a0 = 0;
0x00012f50 jalr t9 | t9 ();
| label_7:
0x00012f54 lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00012f58 lw a1, -0x7fc8(gp) | a1 = *(gp);
0x00012f5c addiu v0, v0, 0x79c | v0 += 0x79c;
0x00012f60 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x00012f64 sw v0, 0x10(sp) | *(var_f8h) = v0;
0x00012f68 addiu a3, zero, 0x7d | a3 = 0x7d;
| /* esilref: 'src/journal/journald-syslog.c' */
0x00012f6c addiu a2, a2, 0x343 | a2 += 0x343;
| /* str.priority___999 */
0x00012f70 addiu a1, a1, -0x35b0 | a1 += -0x35b0;
0x00012f74 move a0, zero | a0 = 0;
0x00012f78 jalr t9 | t9 ();
| label_8:
0x00012f7c lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00012f80 lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00012f84 lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* str.server_forward_syslog */
0x00012f88 addiu v0, v0, 0x79c | v0 += 0x79c;
0x00012f8c lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x00012f90 sw v0, 0x10(sp) | *(var_f8h) = v0;
0x00012f94 addiu a3, zero, 0x7e | a3 = 0x7e;
| /* esilref: 'src/journal/journald-syslog.c' */
0x00012f98 addiu a2, a2, 0x343 | a2 += 0x343;
| /* str.message */
0x00012f9c addiu a1, a1, -0x35a0 | a1 += -0x35a0;
0x00012fa0 move a0, zero | a0 = 0;
0x00012fa4 jalr t9 | t9 ();
| label_11:
0x00012fa8 lw t9, -0x7d84(gp) | t9 = sym.imp.now;
0x00012fac move a0, zero | a0 = 0;
0x00012fb0 jalr t9 | t9 ();
0x00012fb4 lw gp, 0x18(sp) | gp = *(var_18h_3);
0x00012fb8 lui a2, 0xf | a2 = 0xf4240;
0x00012fbc ori a2, a2, 0x4240 |
0x00012fc0 lw t9, -0x7f10(gp) | t9 = *(gp);
0x00012fc4 move a3, zero | a3 = 0;
0x00012fc8 move a0, v0 | a0 = v0;
0x00012fcc move a1, v1 | a1 = v1;
0x00012fd0 bal 0x1ae70 | fcn_0001ae70 ();
0x00012fd4 lw gp, 0x18(sp) | gp = *(var_18h_3);
0x00012fd8 b 0x12dbc | goto label_1;
| label_13:
0x00012fdc lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
| if (s4 == 0) {
0x00012fe0 beqz s4, 0x13074 | goto label_15;
| }
0x00012fe4 move a0, s4 | a0 = s4;
0x00012fe8 jalr t9 | t9 ();
0x00012fec lw gp, 0x18(sp) | gp = *(var_18h_3);
0x00012ff0 sw v0, 0x6c(sp) | *(var_6ch_2) = v0;
0x00012ff4 sw s4, 0x68(sp) | *(var_68h) = s4;
0x00012ff8 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00012ffc addiu s5, zero, 5 | s5 = 5;
| /* esilref: ': ' */
0x00013000 addiu v0, v0, -0x358c | v0 += -0x358c;
0x00013004 sw v0, 0x70(sp) | *(var_70h_2) = v0;
0x00013008 addiu v0, zero, 2 | v0 = 2;
0x0001300c sw v0, 0x74(sp) | *(var_74h_2) = v0;
0x00013010 addiu s4, zero, 4 | s4 = 4;
0x00013014 b 0x12ea0 | goto label_2;
| label_14:
0x00013018 lw t9, -0x7c94(gp) | t9 = sym.imp.get_process_comm;
0x0001301c addiu a1, sp, 0x28 | a1 = sp + 0x28;
0x00013020 jalr t9 | t9 ();
0x00013024 lw gp, 0x18(sp) | gp = *(var_18h_3);
0x00013028 lw v0, (s3) | v0 = *(s3);
0x0001302c lw s4, 0x28(sp) | s4 = *(var_28h);
0x00013030 sw v0, 0x14(sp) | *(var_fch) = v0;
0x00013034 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00013038 lw t9, -0x7e30(gp) | t9 = sym.imp.__snprintf_chk
| /* str.__i_:_ */
0x0001303c addiu v0, v0, -0x3590 | v0 += -0x3590;
0x00013040 addiu s6, sp, 0x90 | s6 = sp + 0x90;
0x00013044 sw v0, 0x10(sp) | *(var_f8h) = v0;
0x00013048 addiu a3, zero, 0x11 | a3 = 0x11;
0x0001304c addiu a2, zero, 1 | a2 = 1;
0x00013050 addiu a1, zero, 0x11 | a1 = 0x11;
0x00013054 move a0, s6 | a0 = s6;
0x00013058 jalr t9 | t9 ();
0x0001305c lw gp, 0x18(sp) | gp = *(var_18h_3);
| if (s4 != 0) {
0x00013060 bnez s4, 0x12e58 | goto label_3;
| }
0x00013064 addiu s5, zero, 4 | s5 = 4;
0x00013068 addiu s4, zero, 3 | s4 = 3;
0x0001306c addiu s7, zero, 2 | s7 = 2;
0x00013070 b 0x12e7c | goto label_4;
| label_15:
0x00013074 addiu s5, zero, 3 | s5 = 3;
0x00013078 addiu s4, zero, 2 | s4 = 2;
0x0001307c b 0x12ea0 | goto label_2;
| label_10:
0x00013080 lw t9, -0x7d6c(gp) | t9 = sym.imp.__stack_chk_fail;
0x00013084 jalr t9 | t9 ();
0x00013088 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/systemd/systemd-journald @ 0x132e4 */
| #include <stdint.h>
|
; (fcn) fcn.000132e4 () | void fcn_000132e4 () {
0x000132e4 lui gp, 2 |
0x000132e8 addiu gp, gp, 0x7d1c |
0x000132ec addu gp, gp, t9 | gp += t9;
0x000132f0 addiu sp, sp, -0x100 |
0x000132f4 lw v0, -0x7cf4(gp) | v0 = *((gp - 7997));
0x000132f8 sw fp, 0xf8(sp) | *(var_f8h) = fp;
0x000132fc move fp, sp | fp = sp;
0x00013300 sw s3, 0xe4(sp) | *(var_e4h) = s3;
0x00013304 sw ra, 0xfc(sp) | *(var_fch) = ra;
0x00013308 sw s7, 0xf4(sp) | *(var_f4h) = s7;
0x0001330c sw s6, 0xf0(sp) | *(var_f0h) = s6;
0x00013310 sw s5, 0xec(sp) | *(var_ech) = s5;
0x00013314 sw s4, 0xe8(sp) | *(var_e8h) = s4;
0x00013318 sw s2, 0xe0(sp) | *(var_e0h) = s2;
0x0001331c sw s1, 0xdc(sp) | *(var_dch) = s1;
0x00013320 sw s0, 0xd8(sp) | *(var_d8h) = s0;
0x00013324 sw gp, 0x20(sp) | *(var_20h) = gp;
0x00013328 sw v0, 0x3c(fp) | *(var_3ch_2) = v0;
0x0001332c lw v0, (v0) | v0 = *(v0);
0x00013330 lw v1, 0x110(fp) | v1 = *(arg_110h);
0x00013334 sw v0, 0xd4(fp) | *(var_d4h) = v0;
0x00013338 addiu v0, zero, 0xe | v0 = 0xe;
0x0001333c move s3, a3 | s3 = a3;
0x00013340 sw a2, 0x108(fp) | *(arg_108h) = a2;
0x00013344 sw v1, 0x38(fp) | *(var_38h_2) = v1;
0x00013348 lw a3, 0x114(fp) | a3 = *(arg_114h);
0x0001334c sw zero, 0x44(fp) | *(var_44h_2) = 0;
0x00013350 sw zero, 0x48(fp) | *(var_48h_2) = 0;
0x00013354 sw v0, 0x4c(fp) | *(var_4ch_2) = v0;
0x00013358 sw zero, 0x50(fp) | *(var_50h) = 0;
| if (a0 == 0) {
0x0001335c beqz a0, 0x13bb4 | goto label_14;
| }
0x00013360 move s0, a1 | s0 = a1;
| if (a1 == 0) {
0x00013364 beqz a1, 0x13c38 | goto label_15;
| }
0x00013368 lw v0, 0x108(fp) | v0 = *(arg_108h);
| if (v0 == 0) {
0x0001336c beql v0, zero, 0x13c64 | goto label_16;
| }
0x00013370 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00013374 addu s5, a1, v0 | s5 = a1 + v0;
0x00013378 lb v0, (s5) | v0 = *(s5);
0x0001337c lw v0, -0x7fc8(gp) | v0 = *(gp);
| if (v0 == 0) {
0x00013380 bnel v0, zero, 0x13c8c | goto label_17;
| }
0x00013384 move s1, a0 | s1 = a0;
| if (s3 != 0) {
0x00013388 beqz s3, 0x13398 |
0x0001338c lw a1, (s3) | a1 = *(s3);
0x00013390 addiu v0, fp, 0x50 | v0 = fp + 0x50;
| if (a1 > 0) {
0x00013394 bgtz a1, 0x13a14 | goto label_18;
| }
| }
| label_2:
0x00013398 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x0001339c lw s4, 0x108(fp) | s4 = *(arg_108h);
0x000133a0 sw v0, 0x34(fp) | *(var_34h_2) = v0;
| /* str.__t_n_r */
0x000133a4 addiu s6, v0, 0x3ac | s6 = v0 + 0x3ac;
| do {
0x000133a8 addiu s7, s4, -1 | s7 = s4 + -1;
0x000133ac addu v0, s0, s7 | v0 = s0 + s7;
0x000133b0 lw t9, -0x7b50(gp) | t9 = sym.imp.strchr;
0x000133b4 lb a1, (v0) | a1 = *(v0);
0x000133b8 move a0, s6 | a0 = s6;
0x000133bc jalr t9 | t9 ();
0x000133c0 move s2, v0 | s2 = v0;
0x000133c4 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 == 0) {
0x000133c8 beqz v0, 0x139c4 | goto label_19;
| }
0x000133cc move s4, s7 | s4 = s7;
0x000133d0 bnez s7, 0x133a8 |
| } while (s7 != 0);
0x000133d4 sw s5, 0x40(fp) | *(var_40h_2) = s5;
0x000133d8 move s2, zero | s2 = 0;
| label_3:
0x000133dc lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
| if (s5 == s0) {
0x000133e0 beq s5, s0, 0x139f8 | goto label_20;
| }
| label_0:
0x000133e4 addiu s6, zero, 1 | s6 = 1;
| label_1:
0x000133e8 lw t9, -0x7ce8(gp) | t9 = sym.imp.syslog_parse_priority;
0x000133ec addiu s7, fp, 0x40 | s7 = fp + 0x40;
0x000133f0 addiu a2, zero, 1 | a2 = 1;
0x000133f4 addiu a1, fp, 0x4c | a1 = fp + 0x4c;
0x000133f8 move a0, s7 | a0 = s7;
0x000133fc jalr t9 | t9 ();
0x00013400 lw v0, 0x50(fp) | v0 = *(var_50h);
0x00013404 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 != 0) {
0x00013408 beqz v0, 0x13424 |
0x0001340c lw v1, 0x70(v0) | v1 = *((v0 + 28));
0x00013410 lw v0, 0x4c(fp) | v0 = *(var_4ch_2);
0x00013414 andi v0, v0, 7 | v0 &= 7;
0x00013418 sltu v0, v1, v0 | v0 = (v1 < v0) ? 1 : 0;
0x0001341c move s5, zero | s5 = 0;
| if (v0 != 0) {
0x00013420 bnez v0, 0x138f4 | goto label_12;
| }
| }
0x00013424 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00013428 addiu a0, fp, 0x5c | a0 = fp + 0x5c;
0x0001342c addiu v0, v0, 0x450 | v0 += 0x450;
0x00013430 lw s5, 0x40(fp) | s5 = *(var_40h_2);
0x00013434 move v1, a0 | v1 = a0;
0x00013438 addiu t2, v0, 0x40 | t2 = v0 + 0x40;
| do {
0x0001343c lw t1, (v0) | t1 = *(v0);
0x00013440 lw a3, 4(v0) | a3 = *((v0 + 1));
0x00013444 lw a2, 8(v0) | a2 = *((v0 + 2));
0x00013448 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x0001344c addiu v0, v0, 0x10 | v0 += 0x10;
0x00013450 sw t1, (v1) | *(v1) = t1;
0x00013454 sw a3, 4(v1) | *(var_4h) = a3;
0x00013458 sw a2, 8(v1) | *(var_8h) = a2;
0x0001345c sw a1, 0xc(v1) | *(var_ch) = a1;
0x00013460 addiu v1, v1, 0x10 | v1 += 0x10;
0x00013464 bne v0, t2, 0x1343c |
| } while (v0 != t2);
0x00013468 lw a2, -0x7fc8(gp) | a2 = *(gp);
| if (s5 == 0) {
0x0001346c beqz s5, 0x13cdc | goto label_21;
| }
0x00013470 addiu s4, fp, 0x9c | s4 = fp + 0x9c;
0x00013474 move a1, s5 | a1 = s5;
0x00013478 addiu a2, a2, 0x490 | a2 += 0x490;
0x0001347c addiu t3, zero, 0x3a | t3 = 0x3a;
0x00013480 addiu t2, zero, -0x21 | t2 = -0x21;
0x00013484 addiu a3, zero, 0x20 | a3 = 0x20;
| do {
0x00013488 lb v1, (a1) | v1 = *(a1);
| if (v1 == 0) {
0x0001348c beql v1, zero, 0x13984 | goto label_22;
| }
0x00013490 sw zero, 0x34(fp) | *(var_34h_2) = 0;
0x00013494 lw v0, (a0) | v0 = *(a0);
0x00013498 sltiu t4, v0, 5 | t4 = (v0 < 5) ? 1 : 0;
0x0001349c sll v0, v0, 2 | v0 <<= 2;
| if (t4 != 0) {
0x000134a0 beqz t4, 0x134d0 |
0x000134a4 lwx v0, v0(a2) | __asm ("lwx v0, v0(a2)");
0x000134a8 addu v0, v0, gp | v0 += gp;
0x000134ac jr v0 | v0 ();
0x000134b0 nop |
| }
0x000134d0 addiu a0, a0, 4 | a0 += 4;
0x000134d4 addiu a1, a1, 1 | a1++;
0x000134d8 bne s4, a0, 0x13488 |
| } while (s4 != a0);
0x000134dc subu v1, a1, s5 | __asm ("subu v1, a1, s5");
0x000134e0 addiu v0, zero, 1 | v0 = 1;
0x000134e4 sw v1, 0x34(fp) | *(var_34h_2) = v1;
0x000134e8 sw a1, 0x40(fp) | *(var_40h_2) = a1;
0x000134ec movz s6, v0, v1 | s6 = v0;
| while (1) {
0x000134f0 lw t9, -0x7f98(gp) | t9 = *(gp);
0x000134f4 addiu a2, fp, 0x48 | a2 = fp + 0x48;
0x000134f8 addiu a1, fp, 0x44 | a1 = fp + 0x44;
0x000134fc move a0, s7 | a0 = s7;
0x00013500 bal 0x130ac | fcn_000130ac ();
0x00013504 lbu v0, 0x16b(s1) | v0 = *((s1 + 363));
0x00013508 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 != 0) {
0x0001350c bnez v0, 0x13aec | goto label_23;
| }
| label_5:
0x00013510 lbu v0, 0x16a(s1) | v0 = *((s1 + 362));
| label_4:
0x00013514 lw t9, -0x7f30(gp) | t9 = *(gp);
| if (v0 != 0) {
0x00013518 bnez v0, 0x13b34 | goto label_24;
| }
0x0001351c lbu v0, 0x16c(s1) | v0 = *((s1 + 364));
0x00013520 lw t9, -0x7f2c(gp) | t9 = *(gp);
| if (v0 != 0) {
0x00013524 bnez v0, 0x13b5c | goto label_25;
| }
| label_6:
0x00013528 lbu v0, 0x16d(s1) | v0 = *((s1 + 365));
0x0001352c lw t9, -0x7f28(gp) | t9 = *(gp);
| if (v0 != 0) {
0x00013530 bnez v0, 0x13b84 | goto label_26;
| }
| label_7:
0x00013534 lw v0, 0x50(fp) | v0 = *(var_50h);
0x00013538 addiu s7, zero, 0x1e | s7 = 0x1e;
| if (v0 == 0) {
0x0001353c beqz v0, 0x13bac | goto label_27;
| }
| label_8:
0x00013540 lw s7, 0x78(v0) | s7 = *((v0 + 30));
0x00013544 addiu s7, s7, 0x1e | s7 += 0x1e;
0x00013548 move v0, zero | v0 = 0;
| if (s7 != 0) {
0x0001354c bnez s7, 0x13da0 | goto label_28;
| }
| label_9:
0x00013550 subu sp, sp, v0 |
0x00013554 lw v1, -0x7fc8(gp) | v1 = *(gp);
0x00013558 addiu s3, sp, 0x20 | s3 = sp + 0x20;
0x0001355c lw v0, 0x4c(fp) | v0 = *(var_4ch_2);
| /* str._TRANSPORTsyslog */
0x00013560 addiu v1, v1, 0x418 | v1 += 0x418;
0x00013564 sw v1, (s3) | *(s3) = v1;
0x00013568 andi v0, v0, 7 | v0 &= 7;
0x0001356c addiu v1, zero, 0x11 | v1 = 0x11;
0x00013570 sw v1, 4(s3) | *((s3 + 1)) = v1;
0x00013574 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00013578 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x0001357c lw t9, -0x7e30(gp) | t9 = sym.imp.__snprintf_chk
| /* str.PRIORITY_i */
0x00013580 addiu v0, v0, -0x347c | v0 += -0x347c;
0x00013584 addiu a3, zero, 0x16 | a3 = 0x16;
0x00013588 addiu a2, zero, 1 | a2 = 1;
0x0001358c addiu a1, zero, 0x16 | a1 = 0x16;
0x00013590 move a0, s4 | a0 = s4;
0x00013594 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00013598 jalr t9 | t9 ();
0x0001359c lw gp, 0x20(fp) | gp = *(var_20h);
0x000135a0 lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
0x000135a4 move a0, s4 | a0 = s4;
0x000135a8 jalr t9 | t9 ();
0x000135ac lw v1, 0x4c(fp) | v1 = *(var_4ch_2);
0x000135b0 lw gp, 0x20(fp) | gp = *(var_20h);
0x000135b4 andi a0, v1, 0x3f8 | a0 = v1 & 0x3f8;
0x000135b8 sw s4, 8(s3) | *((s3 + 2)) = s4;
0x000135bc sw v0, 0xc(s3) | *((s3 + 3)) = v0;
| if (a0 != 0) {
0x000135c0 bnez a0, 0x13be4 | goto label_29;
| }
0x000135c4 addiu s4, zero, 2 | s4 = 2;
| label_11:
0x000135c8 lw a1, 0x44(fp) | a1 = *(var_44h_2);
0x000135cc lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
| if (a1 != 0) {
0x000135d0 beqz a1, 0x13680 |
0x000135d4 move a0, a1 | a0 = a1;
0x000135d8 sw a1, 0x30(fp) | *(var_30h) = a1;
0x000135dc jalr t9 | t9 ();
0x000135e0 lui a0, 0x40 | a0 = 0x400000;
0x000135e4 addiu v1, v0, 0x13 | v1 = v0 + 0x13;
0x000135e8 addiu a0, a0, 1 | a0++;
0x000135ec sltu v1, v1, a0 | v1 = (v1 < a0) ? 1 : 0;
0x000135f0 lw gp, 0x20(fp) | gp = *(var_20h);
0x000135f4 lw a1, 0x30(fp) | a1 = *(var_30h);
| if (v1 == 0) {
0x000135f8 beqz v1, 0x13d34 | goto label_30;
| }
0x000135fc lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00013600 addiu v0, v0, 0x1a | v0 += 0x1a;
| /* str.SYSLOG_IDENTIFIER */
0x00013604 addiu a0, a2, -0x3440 | a0 = a2 + -0x3440;
0x00013608 srl v0, v0, 3 | v0 >>= 3;
0x0001360c sll v0, v0, 3 | v0 <<= 3;
0x00013610 subu sp, sp, v0 |
0x00013614 lw t4, -0x3440(a2) | t4 = *((a2 - 3344));
0x00013618 lw t3, 4(a0) | t3 = *((a0 + 1));
0x0001361c lw t2, 8(a0) | t2 = *((a0 + 2));
0x00013620 lw t1, 0xc(a0) | t1 = *((a0 + 3));
0x00013624 lhu v0, 0x10(a0) | v0 = *((a0 + 8));
0x00013628 addiu a2, sp, 0x32 | a2 = sp + 0x32;
0x0001362c addiu v1, sp, 0x20 | v1 = sp + 0x20;
0x00013630 lw t9, -0x7bc4(gp) | t9 = sym.imp.stpcpy;
0x00013634 move a0, a2 | a0 = a2;
0x00013638 sw v1, 0x2c(fp) | *(var_2ch) = v1;
0x0001363c sw a2, 0x30(fp) | *(var_30h) = a2;
0x00013640 sw t4, 0x20(sp) | *(var_20h) = t4;
0x00013644 sw t3, 0x24(sp) | *(var_24h) = t3;
0x00013648 sw t2, 0x28(sp) | *(var_28h) = t2;
0x0001364c sw t1, 0x2c(sp) | *(var_2ch) = t1;
0x00013650 sh v0, 0x30(sp) | *(var_30h) = v0;
0x00013654 jalr t9 | t9 ();
0x00013658 lw a2, 0x30(fp) | a2 = *(var_30h);
0x0001365c sll a0, s4, 3 | a0 = s4 << 3;
0x00013660 addu a0, s3, a0 | a0 = s3 + a0;
0x00013664 subu v0, v0, a2 | __asm ("subu v0, v0, a2");
0x00013668 lw v1, 0x2c(fp) | v1 = *(var_2ch);
0x0001366c addiu v0, v0, 0x12 | v0 += 0x12;
0x00013670 lw gp, 0x20(fp) | gp = *(var_20h);
0x00013674 addiu s4, s4, 1 | s4++;
0x00013678 sw v1, (a0) | *(a0) = v1;
0x0001367c sw v0, 4(a0) | *((a0 + 1)) = v0;
| }
0x00013680 lw a1, 0x48(fp) | a1 = *(var_48h_2);
0x00013684 lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
| if (a1 != 0) {
0x00013688 beqz a1, 0x13728 |
0x0001368c move a0, a1 | a0 = a1;
0x00013690 sw a1, 0x30(fp) | *(var_30h) = a1;
0x00013694 jalr t9 | t9 ();
0x00013698 lui a0, 0x40 | a0 = 0x400000;
0x0001369c addiu v1, v0, 0xc | v1 = v0 + 0xc;
0x000136a0 addiu a0, a0, 1 | a0++;
0x000136a4 sltu v1, v1, a0 | v1 = (v1 < a0) ? 1 : 0;
0x000136a8 lw gp, 0x20(fp) | gp = *(var_20h);
0x000136ac lw a1, 0x30(fp) | a1 = *(var_30h);
| if (v1 == 0) {
0x000136b0 beqz v1, 0x13d74 | goto label_31;
| }
0x000136b4 lw a0, -0x7fc8(gp) | a0 = *(gp);
0x000136b8 addiu v0, v0, 0x13 | v0 += 0x13;
| /* str.SYSLOG_PID */
0x000136bc addiu v1, a0, -0x342c | v1 = a0 + -0x342c;
0x000136c0 srl v0, v0, 3 | v0 >>= 3;
0x000136c4 sll v0, v0, 3 | v0 <<= 3;
0x000136c8 subu sp, sp, v0 |
0x000136cc lw a3, -0x342c(a0) | a3 = *((a0 - 3339));
0x000136d0 lw v0, 8(v1) | v0 = *((v1 + 2));
0x000136d4 lw a0, 4(v1) | a0 = *((v1 + 1));
0x000136d8 addiu a2, sp, 0x20 | a2 = sp + 0x20;
0x000136dc addiu v1, sp, 0x2b | v1 = sp + 0x2b;
0x000136e0 lw t9, -0x7bc4(gp) | t9 = sym.imp.stpcpy;
0x000136e4 sw a0, 0x24(sp) | *(var_24h) = a0;
0x000136e8 sw a2, 0x2c(fp) | *(var_2ch) = a2;
0x000136ec move a0, v1 | a0 = v1;
0x000136f0 sw v1, 0x30(fp) | *(var_30h) = v1;
0x000136f4 sw a3, 0x20(sp) | *(var_20h) = a3;
0x000136f8 sw v0, 0x28(sp) | *(var_28h) = v0;
0x000136fc jalr t9 | t9 ();
0x00013700 lw v1, 0x30(fp) | v1 = *(var_30h);
0x00013704 sll a0, s4, 3 | a0 = s4 << 3;
0x00013708 addu a0, s3, a0 | a0 = s3 + a0;
0x0001370c subu v0, v0, v1 | __asm ("subu v0, v0, v1");
0x00013710 lw a2, 0x2c(fp) | a2 = *(var_2ch);
0x00013714 addiu v0, v0, 0xb | v0 += 0xb;
0x00013718 lw gp, 0x20(fp) | gp = *(var_20h);
0x0001371c addiu s4, s4, 1 | s4++;
0x00013720 sw a2, (a0) | *(a0) = a2;
0x00013724 sw v0, 4(a0) | *((a0 + 1)) = v0;
| }
0x00013728 lw v0, 0x34(fp) | v0 = *(var_34h_2);
0x0001372c addiu a3, v0, 0x11 | a3 = v0 + 0x11;
| if (v0 != 0) {
0x00013730 beqz v0, 0x137cc |
0x00013734 lui v0, 0x40 | v0 = 0x400001;
0x00013738 addiu v0, v0, 1 |
0x0001373c sltu v0, a3, v0 | v0 = (a3 < v0) ? 1 : 0;
0x00013740 lw v0, -0x7fc8(gp) | v0 = *(gp);
| if (v0 == 0) {
0x00013744 beqz v0, 0x13d8c | goto label_32;
| }
0x00013748 sw a3, 0x30(fp) | *(var_30h) = a3;
0x0001374c lw a3, 0x34(fp) | a3 = *(var_34h_2);
0x00013750 lw a1, -0x7fc8(gp) | a1 = *(gp);
0x00013754 addiu v0, a3, 0x18 | v0 = a3 + 0x18;
| /* str.SYSLOG_TIMESTAMP */
0x00013758 addiu a0, a1, 0x42c | a0 = a1 + 0x42c;
0x0001375c srl v0, v0, 3 | v0 >>= 3;
0x00013760 sll v0, v0, 3 | v0 <<= 3;
0x00013764 subu sp, sp, v0 |
0x00013768 lw a2, 8(a0) | a2 = *((a0 + 2));
0x0001376c lw t2, 0x42c(a1) | t2 = *((a1 + 267));
0x00013770 lw t1, 4(a0) | t1 = *((a0 + 1));
0x00013774 lw a1, 0xc(a0) | a1 = *((a0 + 3));
0x00013778 lbu v0, 0x10(a0) | v0 = *((a0 + 16));
0x0001377c addiu v1, sp, 0x20 | v1 = sp + 0x20;
0x00013780 lw t9, -0x7c98(gp) | t9 = sym.imp.memcpy;
0x00013784 sw a2, 0x28(sp) | *(var_28h) = a2;
0x00013788 sw a1, 0x2c(sp) | *(var_2ch) = a1;
0x0001378c move a2, a3 | a2 = a3;
0x00013790 sw v1, 0x34(fp) | *(var_34h_2) = v1;
0x00013794 sw t2, 0x20(sp) | *(var_20h) = t2;
0x00013798 sw t1, 0x24(sp) | *(var_24h) = t1;
0x0001379c sb v0, 0x30(sp) | *(var_30h) = v0;
0x000137a0 move a1, s5 | a1 = s5;
0x000137a4 addiu a0, sp, 0x31 | a0 = sp + 0x31;
0x000137a8 jalr t9 | t9 ();
0x000137ac sll v0, s4, 3 | v0 = s4 << 3;
0x000137b0 addu v0, s3, v0 | v0 = s3 + v0;
0x000137b4 lw v1, 0x34(fp) | v1 = *(var_34h_2);
0x000137b8 lw a3, 0x30(fp) | a3 = *(var_30h);
0x000137bc lw gp, 0x20(fp) | gp = *(var_20h);
0x000137c0 addiu s4, s4, 1 | s4++;
0x000137c4 sw v1, (v0) | *(v0) = v1;
0x000137c8 sw a3, 4(v0) | *((v0 + 1)) = a3;
| }
0x000137cc lw a0, -0x7fc8(gp) | a0 = *(gp);
0x000137d0 lw t9, -0x7bc8(gp) | t9 = sym.imp.strjoin_real;
0x000137d4 lw a1, 0x40(fp) | a1 = *(var_40h_2);
0x000137d8 move a2, zero | a2 = 0;
| /* str.MESSAGE */
0x000137dc addiu a0, a0, -0x3420 | a0 += -0x3420;
0x000137e0 jalr t9 | t9 ();
0x000137e4 move s5, v0 | s5 = v0;
0x000137e8 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 == 0) {
0x000137ec beqz v0, 0x13cb4 | goto label_33;
| }
0x000137f0 sll v0, s4, 3 | v0 = s4 << 3;
0x000137f4 lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
0x000137f8 addu v1, s3, v0 | v1 = s3 + v0;
0x000137fc sw v1, 0x34(fp) | *(var_34h_2) = v1;
0x00013800 sw v0, 0x30(fp) | *(var_30h) = v0;
0x00013804 move a0, s5 | a0 = s5;
0x00013808 jalr t9 | t9 ();
0x0001380c lw v1, 0x34(fp) | v1 = *(var_34h_2);
0x00013810 lw gp, 0x20(fp) | gp = *(var_20h);
0x00013814 addiu a2, s4, 1 | a2 = s4 + 1;
0x00013818 sw s5, (v1) | *(v1) = s5;
0x0001381c sw v0, 4(v1) | *((v1 + 1)) = v0;
| if (s6 == 0) {
0x00013820 beqz s6, 0x13bdc | goto label_34;
| }
0x00013824 lw v0, 0x108(fp) | v0 = *(arg_108h);
0x00013828 lw t9, -0x7d50(gp) | t9 = sym.imp.malloc;
0x0001382c addiu v1, v0, 0xb | v1 = v0 + 0xb;
0x00013830 addiu a0, zero, 1 | a0 = 1;
| if (v1 == 0) {
0x00013834 movn a0, v1, v1 | a0 = v1;
| }
0x00013838 sw v1, 0x34(fp) | *(var_34h_2) = v1;
0x0001383c jalr t9 | t9 ();
0x00013840 move s6, v0 | s6 = v0;
0x00013844 lw gp, 0x20(fp) | gp = *(var_20h);
0x00013848 lw v1, 0x34(fp) | v1 = *(var_34h_2);
| if (v0 == 0) {
0x0001384c beqz v0, 0x13d60 | goto label_35;
| }
0x00013850 lw a0, -0x7fc8(gp) | a0 = *(gp);
0x00013854 lw t9, -0x7c98(gp) | t9 = sym.imp.memcpy;
| /* str.SYSLOG_RAW */
0x00013858 addiu v0, a0, 0x440 | v0 = a0 + 0x440;
0x0001385c lw a2, 0x440(a0) | a2 = *((a0 + 272));
0x00013860 lw a1, 4(v0) | a1 = *((v0 + 1));
0x00013864 lhu a0, 8(v0) | a0 = *((v0 + 4));
0x00013868 lbu v0, 0xa(v0) | v0 = *((v0 + 10));
0x0001386c sw a2, (s6) | *(s6) = a2;
0x00013870 lw a2, 0x108(fp) | a2 = *(arg_108h);
0x00013874 sw v1, 0x34(fp) | *(var_34h_2) = v1;
0x00013878 sw a1, 4(s6) | *((s6 + 1)) = a1;
0x0001387c sh a0, 8(s6) | *((s6 + 4)) = a0;
0x00013880 sb v0, 0xa(s6) | *((s6 + 10)) = v0;
0x00013884 move a1, s0 | a1 = s0;
0x00013888 addiu a0, s6, 0xb | a0 = s6 + 0xb;
0x0001388c jalr t9 | t9 ();
0x00013890 lw v0, 0x30(fp) | v0 = *(var_30h);
0x00013894 lw v1, 0x34(fp) | v1 = *(var_34h_2);
0x00013898 addiu v0, v0, 8 | v0 += 8;
0x0001389c addu v0, s3, v0 | v0 = s3 + v0;
0x000138a0 lw gp, 0x20(fp) | gp = *(var_20h);
0x000138a4 addiu a2, s4, 2 | a2 = s4 + 2;
0x000138a8 sw s6, (v0) | *(v0) = s6;
0x000138ac sw v1, 4(v0) | *((v0 + 1)) = v1;
| label_10:
0x000138b0 lw v0, 0x4c(fp) | v0 = *(var_4ch_2);
0x000138b4 lw t9, -0x7f9c(gp) | t9 = *(gp);
0x000138b8 sw v0, 0x18(sp) | *(var_18h) = v0;
0x000138bc lw v0, 0x38(fp) | v0 = *(var_38h_2);
0x000138c0 move a3, s7 | a3 = s7;
0x000138c4 sw v0, 0x14(sp) | *(var_14h) = v0;
0x000138c8 lw v0, 0x50(fp) | v0 = *(var_50h);
0x000138cc move a1, s3 | a1 = s3;
0x000138d0 move a0, s1 | a0 = s1;
0x000138d4 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000138d8 sw zero, 0x1c(sp) | *(var_1ch) = 0;
0x000138dc bal 0xdb70 | fcn_0000db70 ();
0x000138e0 lw gp, 0x20(fp) | gp = *(var_20h);
0x000138e4 lw t9, -0x7c18(gp) | t9 = sym.imp.free;
0x000138e8 move a0, s6 | a0 = s6;
0x000138ec jalr t9 | t9 ();
0x000138f0 lw gp, 0x20(fp) | gp = *(var_20h);
| label_12:
0x000138f4 lw t9, -0x7c18(gp) | t9 = sym.imp.free;
0x000138f8 move a0, s5 | a0 = s5;
0x000138fc jalr t9 | t9 ();
0x00013900 lw gp, 0x20(fp) | gp = *(var_20h);
0x00013904 lw t9, -0x7c18(gp) | t9 = sym.imp.free;
0x00013908 move a0, s2 | a0 = s2;
0x0001390c jalr t9 | t9 ();
0x00013910 lw gp, 0x20(fp) | gp = *(var_20h);
0x00013914 lw t9, -0x7c18(gp) | t9 = sym.imp.free;
0x00013918 lw a0, 0x48(fp) | a0 = *(var_48h_2);
0x0001391c jalr t9 | t9 ();
0x00013920 lw gp, 0x20(fp) | gp = *(var_20h);
0x00013924 lw t9, -0x7c18(gp) | t9 = sym.imp.free;
0x00013928 lw a0, 0x44(fp) | a0 = *(var_44h_2);
0x0001392c jalr t9 | t9 ();
0x00013930 lw v0, 0x3c(fp) | v0 = *(var_3ch_2);
0x00013934 lw v1, 0xd4(fp) | v1 = *(var_d4h);
0x00013938 lw gp, 0x20(fp) | gp = *(var_20h);
0x0001393c lw v0, (v0) | v0 = *(v0);
0x00013940 lw ra, 0xfc(fp) | ra = *(var_fch);
| if (v1 != v0) {
0x00013944 bne v1, v0, 0x13e14 | goto label_36;
| }
0x00013948 move sp, fp |
0x0001394c lw fp, 0xf8(sp) | fp = *(var_f8h);
0x00013950 lw s7, 0xf4(sp) | s7 = *(var_f4h);
0x00013954 lw s6, 0xf0(sp) | s6 = *(var_f0h);
0x00013958 lw s5, 0xec(sp) | s5 = *(var_ech);
0x0001395c lw s4, 0xe8(sp) | s4 = *(var_e8h);
0x00013960 lw s3, 0xe4(sp) | s3 = *(var_e4h);
0x00013964 lw s2, 0xe0(sp) | s2 = *(var_e0h);
0x00013968 lw s1, 0xdc(sp) | s1 = *(var_dch);
0x0001396c lw s0, 0xd8(sp) | s0 = *(var_d8h);
0x00013970 addiu sp, sp, 0x100 |
0x00013974 jr ra | return v0;
| label_22:
0x00013984 addiu s6, zero, 1 | s6 = 1;
0x00013988 b 0x134f0 |
| }
| label_19:
0x000139c4 lw v0, 0x34(fp) | v0 = *(var_34h_2);
0x000139c8 lw t9, -0x7e0c(gp) | t9 = sym.imp.strspn;
0x000139cc addiu a1, v0, 0x3ac | a1 = v0 + 0x3ac;
0x000139d0 move a0, s0 | a0 = s0;
0x000139d4 jalr t9 | t9 ();
0x000139d8 move s7, v0 | s7 = v0;
0x000139dc lw v0, 0x108(fp) | v0 = *(arg_108h);
0x000139e0 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 != s4) {
0x000139e4 bne v0, s4, 0x13a98 | goto label_37;
| }
0x000139e8 addu s5, s0, s7 | s5 = s0 + s7;
0x000139ec sw s5, 0x40(fp) | *(var_40h_2) = s5;
| if (s5 != s0) {
0x000139f0 bne s5, s0, 0x133e4 | goto label_0;
| }
0x000139f4 lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
| label_20:
0x000139f8 move a0, s0 | a0 = s0;
0x000139fc jalr t9 | t9 ();
0x00013a00 lw v1, 0x108(fp) | v1 = *(arg_108h);
0x00013a04 lw gp, 0x20(fp) | gp = *(var_20h);
0x00013a08 xor v0, v0, v1 | v0 ^= v1;
0x00013a0c sltu s6, zero, v0 | s6 = (0 < v0) ? 1 : 0;
0x00013a10 b 0x133e8 | goto label_1;
| label_18:
0x00013a14 sw v0, 0x18(sp) | *(var_18h) = v0;
0x00013a18 lw v0, 0x118(fp) | v0 = *(arg_118h);
0x00013a1c lw t9, -0x7f74(gp) | t9 = *(gp);
0x00013a20 sw zero, 0x14(sp) | *(var_14h) = 0;
0x00013a24 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00013a28 move a2, s3 | a2 = s3;
0x00013a2c bal 0x186ac | fcn_000186ac ();
0x00013a30 move s6, v0 | s6 = v0;
0x00013a34 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 >= 0) {
0x00013a38 bgez v0, 0x13398 | goto label_2;
| }
0x00013a3c lw t9, -0x7ee8(gp) | t9 = sym.imp.log_get_max_level_realm;
0x00013a40 move a0, zero | a0 = 0;
0x00013a44 jalr t9 | t9 ();
0x00013a48 slti v0, v0, 4 | v0 = (v0 < 4) ? 1 : 0;
0x00013a4c lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 != 0) {
0x00013a50 bnez v0, 0x13398 | goto label_2;
| }
0x00013a54 lw v0, (s3) | v0 = *(s3);
0x00013a58 lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00013a5c sw v0, 0x18(sp) | *(var_18h) = v0;
0x00013a60 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00013a64 lw t9, -0x7d58(gp) | t9 = sym.imp.log_internal_realm;
| /* str.Failed_to_retrieve_credentials_for_PID__i__ignoring:__m */
0x00013a68 addiu v0, v0, 0x3d8 | v0 += 0x3d8;
0x00013a6c sw v0, 0x14(sp) | *(var_14h) = v0;
0x00013a70 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00013a74 addiu a3, zero, 0x149 | a3 = 0x149;
| /* esilref: 'server_process_syslog_message' */
0x00013a78 addiu v0, v0, 0x694 | v0 += 0x694;
0x00013a7c sw v0, 0x10(sp) | *(var_10h) = v0;
| /* esilref: 'src/journal/journald-syslog.c' */
0x00013a80 addiu a2, a2, 0x343 | a2 += 0x343;
0x00013a84 move a1, s6 | a1 = s6;
0x00013a88 addiu a0, zero, 4 | a0 = 4;
0x00013a8c jalr t9 | t9 ();
0x00013a90 lw gp, 0x20(fp) | gp = *(var_20h);
0x00013a94 b 0x13398 | goto label_2;
| label_37:
0x00013a98 subu s4, s4, s7 | __asm ("subu s4, s4, s7");
0x00013a9c addiu a0, s4, 1 | a0 = s4 + 1;
| if (a0 != 0) {
0x00013aa0 beql a0, zero, 0x13aa8 |
0x00013aa4 addiu a0, zero, 1 | a0 = 1;
| }
0x00013aa8 lw t9, -0x7d50(gp) | t9 = sym.imp.malloc;
0x00013aac jalr t9 | t9 ();
0x00013ab0 nop |
0x00013ab4 move s5, v0 | s5 = v0;
0x00013ab8 lw gp, 0x20(fp) | gp = *(var_20h);
0x00013abc sw v0, 0x40(fp) | *(var_40h_2) = v0;
| if (v0 == 0) {
0x00013ac0 beqz v0, 0x13d08 | goto label_38;
| }
0x00013ac4 lw t9, -0x7c98(gp) | t9 = sym.imp.memcpy;
0x00013ac8 move a2, s4 | a2 = s4;
0x00013acc addu a1, s0, s7 | a1 = s0 + s7;
0x00013ad0 move a0, v0 | a0 = v0;
0x00013ad4 jalr t9 | t9 ();
0x00013ad8 addu v1, s5, s4 | v1 = s5 + s4;
0x00013adc lw gp, 0x20(fp) | gp = *(var_20h);
0x00013ae0 move s2, s5 | s2 = s5;
0x00013ae4 sb zero, (v1) | *(v1) = 0;
0x00013ae8 b 0x133dc | goto label_3;
| label_23:
0x00013aec lw v0, 0x4c(fp) | v0 = *(var_4ch_2);
0x00013af0 lw v1, 0x1b4(s1) | v1 = *((s1 + 109));
0x00013af4 andi v0, v0, 7 | v0 &= 7;
0x00013af8 slt v0, v1, v0 | v0 = (v1 < v0) ? 1 : 0;
0x00013afc lbu v0, 0x16a(s1) | v0 = *((s1 + 362));
| if (v0 == 0) {
0x00013b00 bnel v0, zero, 0x13514 | goto label_4;
| }
0x00013b04 lw t9, -0x7f90(gp) | t9 = *(gp);
0x00013b08 lw v0, 0x108(fp) | v0 = *(arg_108h);
0x00013b0c move a3, s3 | a3 = s3;
0x00013b10 addiu a2, zero, 1 | a2 = 1;
0x00013b14 addiu a1, fp, 0x54 | a1 = fp + 0x54;
0x00013b18 move a0, s1 | a0 = s1;
0x00013b1c sw s0, 0x54(fp) | *(var_54h) = s0;
| /* fcn.00012a28 */
0x00013b20 addiu t9, t9, 0x2a28 | t9 += 0x2a28;
0x00013b24 sw v0, 0x58(fp) | *(var_58h) = v0;
0x00013b28 bal 0x12a28 | fcn_00012a28 ();
0x00013b2c lw gp, 0x20(fp) | gp = *(var_20h);
0x00013b30 b 0x13510 | goto label_5;
| label_24:
0x00013b34 lw a3, 0x40(fp) | a3 = *(var_40h_2);
0x00013b38 lw a2, 0x44(fp) | a2 = *(var_44h_2);
0x00013b3c lw a1, 0x4c(fp) | a1 = *(var_4ch_2);
0x00013b40 sw s3, 0x10(sp) | *(var_10h) = s3;
0x00013b44 move a0, s1 | a0 = s1;
0x00013b48 bal 0x44d0 | fcn_000044d0 ();
0x00013b4c lbu v0, 0x16c(s1) | v0 = *((s1 + 364));
0x00013b50 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 == 0) {
0x00013b54 beqz v0, 0x13528 | goto label_6;
| }
0x00013b58 lw t9, -0x7f2c(gp) | t9 = *(gp);
| label_25:
0x00013b5c lw a3, 0x40(fp) | a3 = *(var_40h_2);
0x00013b60 lw a2, 0x44(fp) | a2 = *(var_44h_2);
0x00013b64 lw a1, 0x4c(fp) | a1 = *(var_4ch_2);
0x00013b68 sw s3, 0x10(sp) | *(var_10h) = s3;
0x00013b6c move a0, s1 | a0 = s1;
0x00013b70 bal 0x1612c | fcn_0001612c ();
0x00013b74 lbu v0, 0x16d(s1) | v0 = *((s1 + 365));
0x00013b78 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 == 0) {
0x00013b7c beqz v0, 0x13534 | goto label_7;
| }
0x00013b80 lw t9, -0x7f28(gp) | t9 = *(gp);
| label_26:
0x00013b84 lw a3, 0x40(fp) | a3 = *(var_40h_2);
0x00013b88 lw a2, 0x44(fp) | a2 = *(var_44h_2);
0x00013b8c lw a1, 0x4c(fp) | a1 = *(var_4ch_2);
0x00013b90 sw s3, 0x10(sp) | *(var_10h) = s3;
0x00013b94 move a0, s1 | a0 = s1;
0x00013b98 bal 0x1436c | fcn_0001436c ();
0x00013b9c lw v0, 0x50(fp) | v0 = *(var_50h);
0x00013ba0 lw gp, 0x20(fp) | gp = *(var_20h);
| if (v0 != 0) {
0x00013ba4 bnez v0, 0x13540 | goto label_8;
| }
0x00013ba8 addiu s7, zero, 0x1e | s7 = 0x1e;
| label_27:
0x00013bac addiu v0, zero, 0xf0 | v0 = 0xf0;
0x00013bb0 b 0x13550 | goto label_9;
| label_14:
0x00013bb4 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00013bb8 lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00013bbc lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* str.server_process_syslog_message */
0x00013bc0 addiu v0, v0, 0x6b4 | v0 += 0x6b4;
0x00013bc4 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x00013bc8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00013bcc addiu a3, zero, 0x13e | a3 = 0x13e;
| /* esilref: 'src/journal/journald-syslog.c' */
0x00013bd0 addiu a2, a2, 0x343 | a2 += 0x343;
0x00013bd4 addiu a1, a1, -0x1ce8 | a1 += -0x1ce8;
0x00013bd8 jalr t9 | t9 ();
| label_34:
0x00013bdc move s6, zero | s6 = 0;
0x00013be0 b 0x138b0 | goto label_10;
| label_29:
0x00013be4 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00013be8 lw t9, -0x7e30(gp) | t9 = sym.imp.__snprintf_chk
0x00013bec addiu s4, fp, 0xb4 | s4 = fp + 0xb4;
0x00013bf0 ext v1, v1, 3, 7 | __asm ("ext v1, v1, 3, 7");
| /* str.SYSLOG_FACILITY_i */
0x00013bf4 addiu v0, v0, -0x3470 | v0 += -0x3470;
0x00013bf8 move a0, s4 | a0 = s4;
0x00013bfc addiu a3, zero, 0x1d | a3 = 0x1d;
0x00013c00 addiu a2, zero, 1 | a2 = 1;
0x00013c04 addiu a1, zero, 0x1d | a1 = 0x1d;
0x00013c08 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00013c0c sw v0, 0x10(sp) | *(var_10h) = v0;
0x00013c10 jalr t9 | t9 ();
0x00013c14 lw gp, 0x20(fp) | gp = *(var_20h);
0x00013c18 lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
0x00013c1c move a0, s4 | a0 = s4;
0x00013c20 jalr t9 | t9 ();
0x00013c24 lw gp, 0x20(fp) | gp = *(var_20h);
0x00013c28 sw s4, 0x10(s3) | *((s3 + 4)) = s4;
0x00013c2c sw v0, 0x14(s3) | *((s3 + 5)) = v0;
0x00013c30 addiu s4, zero, 3 | s4 = 3;
0x00013c34 b 0x135c8 | goto label_11;
| label_15:
0x00013c38 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00013c3c lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00013c40 lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* str.server_process_syslog_message */
0x00013c44 addiu v0, v0, 0x6b4 | v0 += 0x6b4;
0x00013c48 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x00013c4c sw v0, 0x10(sp) | *(var_10h) = v0;
0x00013c50 addiu a3, zero, 0x13f | a3 = 0x13f;
| /* esilref: 'src/journal/journald-syslog.c' */
0x00013c54 addiu a2, a2, 0x343 | a2 += 0x343;
| /* esilref: 'buf' */
0x00013c58 addiu a1, a1, 0x398 | a1 += 0x398;
0x00013c5c move a0, zero | a0 = 0;
0x00013c60 jalr t9 | t9 ();
| label_16:
0x00013c64 lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00013c68 lw a1, -0x7fc8(gp) | a1 = *(gp);
0x00013c6c addiu v0, v0, 0x6b4 | v0 += 0x6b4;
0x00013c70 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x00013c74 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00013c78 addiu a3, zero, 0x141 | a3 = 0x141;
| /* esilref: 'src/journal/journald-syslog.c' */
0x00013c7c addiu a2, a2, 0x343 | a2 += 0x343;
| /* str.raw_len___0 */
0x00013c80 addiu a1, a1, 0x3b4 | a1 += 0x3b4;
0x00013c84 move a0, zero | a0 = 0;
0x00013c88 jalr t9 | t9 ();
| label_17:
0x00013c8c lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00013c90 lw a1, -0x7fc8(gp) | a1 = *(gp);
0x00013c94 addiu v0, v0, 0x6b4 | v0 += 0x6b4;
0x00013c98 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x00013c9c sw v0, 0x10(sp) | *(var_10h) = v0;
0x00013ca0 addiu a3, zero, 0x144 | a3 = 0x144;
| /* esilref: 'src/journal/journald-syslog.c' */
0x00013ca4 addiu a2, a2, 0x343 | a2 += 0x343;
| /* str.buf_raw_len___0 */
0x00013ca8 addiu a1, a1, 0x3c0 | a1 += 0x3c0;
0x00013cac move a0, zero | a0 = 0;
0x00013cb0 jalr t9 | t9 ();
| label_33:
0x00013cb4 lw a3, -0x7fc8(gp) | a3 = *(gp);
0x00013cb8 lw t9, -0x7ebc(gp) | t9 = sym.imp.log_oom_internal;
| /* esilref: 'server_process_syslog_message' */
0x00013cbc addiu a3, a3, 0x694 | a3 += 0x694;
0x00013cc0 addiu a2, zero, 0x1a5 | a2 = 0x1a5;
| do {
0x00013cc4 lw a1, -0x7fc8(gp) | a1 = *(gp);
0x00013cc8 move a0, zero | a0 = 0;
| /* esilref: 'src/journal/journald-syslog.c' */
0x00013ccc addiu a1, a1, 0x343 | a1 += 0x343;
0x00013cd0 jalr t9 | t9 ();
0x00013cd4 lw gp, 0x20(fp) | gp = *(var_20h);
0x00013cd8 b 0x138f4 | goto label_12;
| label_21:
0x00013cdc lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00013ce0 lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00013ce4 lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* str.syslog_skip_timestamp */
0x00013ce8 addiu v0, v0, 0x67c | v0 += 0x67c;
0x00013cec lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x00013cf0 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00013cf4 addiu a3, zero, 0xfe | a3 = 0xfe;
| /* esilref: 'src/journal/journald-syslog.c' */
0x00013cf8 addiu a2, a2, 0x343 | a2 += 0x343;
| /* str.buf */
0x00013cfc addiu a1, a1, 0x410 | a1 += 0x410;
0x00013d00 move a0, zero | a0 = 0;
0x00013d04 jalr t9 | t9 ();
| label_38:
0x00013d08 lw a3, -0x7fc8(gp) | a3 = *(gp);
0x00013d0c lw a1, -0x7fc8(gp) | a1 = *(gp);
0x00013d10 lw t9, -0x7ebc(gp) | t9 = sym.imp.log_oom_internal;
| /* esilref: 'server_process_syslog_message' */
0x00013d14 addiu a3, a3, 0x694 | a3 += 0x694;
0x00013d18 addiu a2, zero, 0x15d | a2 = 0x15d;
| /* esilref: 'src/journal/journald-syslog.c' */
0x00013d1c addiu a1, a1, 0x343 | a1 += 0x343;
0x00013d20 move a0, zero | a0 = 0;
0x00013d24 jalr t9 | t9 ();
0x00013d28 move s2, zero | s2 = 0;
0x00013d2c lw gp, 0x20(fp) | gp = *(var_20h);
0x00013d30 b 0x138f4 | goto label_12;
| label_30:
0x00013d34 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00013d38 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
| /* str.server_process_syslog_message */
0x00013d3c addiu v0, v0, 0x6b4 | v0 += 0x6b4;
0x00013d40 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00013d44 addiu a3, zero, 0x190 | a3 = 0x190;
| label_13:
0x00013d48 lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00013d4c lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* esilref: 'src/journal/journald-syslog.c' */
0x00013d50 addiu a2, a2, 0x343 | a2 += 0x343;
| /* str.sizeof_char__n____ALLOCA_MAX */
0x00013d54 addiu a1, a1, -0x2218 | a1 += -0x2218;
0x00013d58 move a0, zero | a0 = 0;
0x00013d5c jalr t9 | t9 ();
| label_35:
0x00013d60 lw a3, -0x7fc8(gp) | a3 = *(gp);
0x00013d64 lw t9, -0x7ebc(gp) | t9 = sym.imp.log_oom_internal;
| /* esilref: 'server_process_syslog_message' */
0x00013d68 addiu a3, a3, 0x694 | a3 += 0x694;
0x00013d6c addiu a2, zero, 0x1af | a2 = 0x1af;
0x00013d70 b 0x13cc4 |
| } while (1);
| label_31:
0x00013d74 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00013d78 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
| /* str.server_process_syslog_message */
0x00013d7c addiu v0, v0, 0x6b4 | v0 += 0x6b4;
0x00013d80 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00013d84 addiu a3, zero, 0x195 | a3 = 0x195;
0x00013d88 b 0x13d48 | goto label_13;
| label_32:
0x00013d8c lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
| /* str.server_process_syslog_message */
0x00013d90 addiu v0, v0, 0x6b4 | v0 += 0x6b4;
0x00013d94 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00013d98 addiu a3, zero, 0x19c | a3 = 0x19c;
0x00013d9c b 0x13d48 | goto label_13;
| label_28:
0x00013da0 srl v0, s7, 0x1d | v0 = s7 >> 0x1d;
0x00013da4 lui v1, 0x40 | v1 = 0x400000;
| if (v0 != 0) {
0x00013da8 bnez v0, 0x13de8 | goto label_39;
| }
0x00013dac sll v0, s7, 3 | v0 = s7 << 3;
0x00013db0 addiu v1, v1, 1 | v1++;
0x00013db4 sltu v1, v0, v1 | v1 = (v0 < v1) ? 1 : 0;
0x00013db8 lw a2, -0x7fc8(gp) | a2 = *(gp);
| if (v1 != 0) {
0x00013dbc bnez v1, 0x13550 | goto label_9;
| }
0x00013dc0 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00013dc4 lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* str.server_process_syslog_message */
0x00013dc8 addiu v0, v0, 0x6b4 | v0 += 0x6b4;
0x00013dcc lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x00013dd0 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00013dd4 addiu a3, zero, 0x183 | a3 = 0x183;
| /* esilref: 'src/journal/journald-syslog.c' */
0x00013dd8 addiu a2, a2, 0x343 | a2 += 0x343;
| /* str.sizeof_struct_iovec__n____ALLOCA_MAX */
0x00013ddc addiu a1, a1, -0x1d88 | a1 += -0x1d88;
0x00013de0 move a0, zero | a0 = 0;
0x00013de4 jalr t9 | t9 ();
| label_39:
0x00013de8 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00013dec lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00013df0 lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* str.server_process_syslog_message */
0x00013df4 addiu v0, v0, 0x6b4 | v0 += 0x6b4;
0x00013df8 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x00013dfc sw v0, 0x10(sp) | *(var_10h) = v0;
0x00013e00 addiu a3, zero, 0x183 | a3 = 0x183;
| /* esilref: 'src/journal/journald-syslog.c' */
0x00013e04 addiu a2, a2, 0x343 | a2 += 0x343;
| /* str._size_multiply_overflow_sizeof_struct_iovec____n__ */
0x00013e08 addiu a1, a1, -0x1dbc | a1 += -0x1dbc;
0x00013e0c move a0, zero | a0 = 0;
0x00013e10 jalr t9 | t9 ();
| label_36:
0x00013e14 lw t9, -0x7d6c(gp) | t9 = sym.imp.__stack_chk_fail;
0x00013e18 jalr t9 | t9 ();
0x00013e1c nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/systemd/systemd-journald @ 0x1612c */
| #include <stdint.h>
|
; (fcn) fcn.0001612c () | void fcn_0001612c () {
0x0001612c lui gp, 2 |
0x00016130 addiu gp, gp, 0x4ed4 |
0x00016134 addu gp, gp, t9 | gp += t9;
0x00016138 addiu sp, sp, -0xb8 |
0x0001613c sw s2, 0x9c(sp) | *(var_9ch) = s2;
0x00016140 lw s2, -0x7cf4(gp) | s2 = *((gp - 7997));
0x00016144 sw s1, 0x98(sp) | *(var_98h) = s1;
0x00016148 sw gp, 0x20(sp) | *(var_20h) = gp;
0x0001614c sw ra, 0xb4(sp) | *(var_b4h) = ra;
0x00016150 sw s7, 0xb0(sp) | *(var_b0h) = s7;
0x00016154 sw s6, 0xac(sp) | *(var_ach) = s6;
0x00016158 sw s5, 0xa8(sp) | *(var_a8h) = s5;
0x0001615c sw s4, 0xa4(sp) | *(var_a4h) = s4;
0x00016160 sw s3, 0xa0(sp) | *(var_a0h) = s3;
0x00016164 sw s0, 0x94(sp) | *(var_94h) = s0;
0x00016168 lw v0, (s2) | v0 = *(s2);
0x0001616c lw s1, 0xc8(sp) | s1 = *(var_c8h);
0x00016170 sw v0, 0x8c(sp) | *(var_8ch) = v0;
0x00016174 sw zero, 0x2c(sp) | *(var_2ch) = 0;
| if (a0 == 0) {
0x00016178 beqz a0, 0x164e4 | goto label_8;
| }
0x0001617c move s3, a3 | s3 = a3;
| if (a3 == 0) {
0x00016180 beqz a3, 0x1650c | goto label_9;
| }
0x00016184 lw v0, 0x1bc(a0) | v0 = *((a0 + 111));
0x00016188 andi a1, a1, 7 | a1 &= 7;
0x0001618c slt a1, v0, a1 | a1 = (v0 < a1) ? 1 : 0;
0x00016190 move s0, a0 | s0 = a0;
| if (a1 == 0) {
0x00016194 beqz a1, 0x161f4 | goto label_10;
| }
0x00016198 addiu s0, zero, -1 | s0 = -1;
| do {
| label_0:
0x0001619c lw t9, -0x7bd4(gp) | t9 = sym.imp.safe_close;
0x000161a0 move a0, s0 | a0 = s0;
0x000161a4 jalr t9 | t9 ();
0x000161a8 lw gp, 0x20(sp) | gp = *(var_20h);
0x000161ac lw t9, -0x7c18(gp) | t9 = sym.imp.free;
0x000161b0 lw a0, 0x2c(sp) | a0 = *(var_2ch);
0x000161b4 jalr t9 | t9 ();
0x000161b8 lw v1, 0x8c(sp) | v1 = *(var_8ch);
0x000161bc lw v0, (s2) | v0 = *(s2);
0x000161c0 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v1 != v0) {
0x000161c4 bne v1, v0, 0x16668 | goto label_11;
| }
0x000161c8 lw ra, 0xb4(sp) | ra = *(var_b4h);
0x000161cc lw s7, 0xb0(sp) | s7 = *(var_b0h);
0x000161d0 lw s6, 0xac(sp) | s6 = *(var_ach);
0x000161d4 lw s5, 0xa8(sp) | s5 = *(var_a8h);
0x000161d8 lw s4, 0xa4(sp) | s4 = *(var_a4h);
0x000161dc lw s3, 0xa0(sp) | s3 = *(var_a0h);
0x000161e0 lw s2, 0x9c(sp) | s2 = *(var_9ch);
0x000161e4 lw s1, 0x98(sp) | s1 = *(var_98h);
0x000161e8 lw s0, 0x94(sp) | s0 = *(var_94h);
0x000161ec addiu sp, sp, 0xb8 |
0x000161f0 jr ra | return v0;
| label_10:
0x000161f4 lw s4, -0x7fac(gp) | s4 = *((gp - 8171));
0x000161f8 lw s6, 0x3000(s4) | s6 = *((s4 + 3072));
0x000161fc move s7, a2 | s7 = a2;
| if (s6 < 0) {
0x00016200 bltz s6, 0x16590 | goto label_12;
| }
0x00016204 addiu s5, sp, 0x30 | s5 = sp + 0x30;
| if (s6 != 0) {
0x00016208 bnez s6, 0x163e8 | goto label_6;
| }
| if (s1 == 0) {
| label_7:
0x0001620c beql s1, zero, 0x16484 | goto label_13;
| }
0x00016210 addiu s1, s6, 1 | s1 = s6 + 1;
| label_1:
0x00016214 lw a0, (s1) | a0 = *(s1);
| if (s7 == 0) {
0x00016218 beqz s7, 0x16538 | goto label_14;
| }
0x0001621c lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00016220 lw t9, -0x7e30(gp) | t9 = sym.imp.__snprintf_chk
| /* str.__i_:_ */
0x00016224 addiu v0, v0, -0x3590 | v0 += -0x3590;
0x00016228 addiu s1, sp, 0x60 | s1 = sp + 0x60;
0x0001622c sw a0, 0x14(sp) | *(var_14h) = a0;
0x00016230 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00016234 addiu a3, zero, 0x10 | a3 = 0x10;
0x00016238 addiu a2, zero, 1 | a2 = 1;
0x0001623c addiu a1, zero, 0x10 | a1 = 0x10;
0x00016240 move a0, s1 | a0 = s1;
0x00016244 jalr t9 | t9 ();
0x00016248 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001624c lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
| label_5:
0x00016250 move a0, s7 | a0 = s7;
0x00016254 jalr t9 | t9 ();
0x00016258 sll v1, s6, 3 | v1 = s6 << 3;
0x0001625c addiu a0, sp, 0x90 | a0 = sp + 0x90;
0x00016260 addu v1, a0, v1 | v1 = a0 + v1;
0x00016264 lw gp, 0x20(sp) | gp = *(var_20h);
0x00016268 addiu s5, s6, 1 | s5 = s6 + 1;
0x0001626c sw s7, -0x58(v1) | *((v1 - 22)) = s7;
0x00016270 sw v0, -0x54(v1) | *((v1 - 21)) = v0;
| label_4:
0x00016274 lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
0x00016278 move a0, s1 | a0 = s1;
0x0001627c jalr t9 | t9 ();
0x00016280 sll v1, s5, 3 | v1 = s5 << 3;
0x00016284 addiu a0, sp, 0x90 | a0 = sp + 0x90;
0x00016288 addu v1, a0, v1 | v1 = a0 + v1;
0x0001628c lw gp, 0x20(sp) | gp = *(var_20h);
0x00016290 addiu s4, s5, 1 | s4 = s5 + 1;
0x00016294 sw s1, -0x58(v1) | *((v1 - 22)) = s1;
0x00016298 sw v0, -0x54(v1) | *((v1 - 21)) = v0;
0x0001629c addiu s1, s5, 2 | s1 = s5 + 2;
0x000162a0 addiu s5, s5, 3 | s5 += 3;
| label_2:
0x000162a4 lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
0x000162a8 move a0, s3 | a0 = s3;
0x000162ac jalr t9 | t9 ();
0x000162b0 lw gp, 0x20(sp) | gp = *(var_20h);
0x000162b4 addiu a1, sp, 0x90 | a1 = sp + 0x90;
0x000162b8 sll a0, s4, 3 | a0 = s4 << 3;
0x000162bc addu a0, a1, a0 | a0 = a1 + a0;
0x000162c0 sll v1, s1, 3 | v1 = s1 << 3;
0x000162c4 sw v0, -0x54(a0) | *((a0 - 21)) = v0;
0x000162c8 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x000162cc addu v1, a1, v1 | v1 = a1 + v1;
0x000162d0 addiu v0, v0, -0x3588 | v0 += -0x3588;
0x000162d4 lw s1, 0x1ac(s0) | s1 = *((s0 + 107));
0x000162d8 sw s3, -0x58(a0) | *((a0 - 22)) = s3;
0x000162dc sw v0, -0x58(v1) | *((v1 - 22)) = v0;
0x000162e0 addiu v0, zero, 1 | v0 = 1;
0x000162e4 sw v0, -0x54(v1) | *((v1 - 21)) = v0;
| if (s1 == 0) {
0x000162e8 beqz s1, 0x164d8 | goto label_15;
| }
| label_3:
0x000162ec lw t9, -0x7d4c(gp) | t9 = sym.imp.open_terminal;
0x000162f0 lui a1, 8 | a1 = 0x80801;
0x000162f4 addiu a1, a1, 0x801 |
0x000162f8 move a0, s1 | a0 = s1;
0x000162fc jalr t9 | t9 ();
0x00016300 move s0, v0 | s0 = v0;
0x00016304 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 < 0) {
0x00016308 bltz v0, 0x16390 | goto label_16;
| }
0x0001630c lw t9, -0x7b5c(gp) | t9 = sym.imp.writev;
0x00016310 move a2, s5 | a2 = s5;
0x00016314 addiu a1, sp, 0x38 | a1 = sp + 0x38;
0x00016318 move a0, v0 | a0 = v0;
0x0001631c jalr t9 | t9 ();
0x00016320 lw gp, 0x20(sp) | gp = *(var_20h);
0x00016324 bgez v0, 0x1619c |
| } while (v0 >= 0);
0x00016328 lw t9, -0x7ee8(gp) | t9 = sym.imp.log_get_max_level_realm;
0x0001632c move a0, zero | a0 = 0;
0x00016330 jalr t9 | t9 ();
0x00016334 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x00016338 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x0001633c bnez v0, 0x1619c | goto label_0;
| }
0x00016340 lw t9, -0x7aa8(gp) | t9 = sym.imp.__errno_location;
0x00016344 jalr t9 | t9 ();
0x00016348 nop |
0x0001634c lw gp, 0x20(sp) | gp = *(var_20h);
0x00016350 lw a1, (v0) | a1 = *(v0);
0x00016354 sw s1, 0x18(sp) | *(var_18h_6) = s1;
0x00016358 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x0001635c lw a2, -0x7fc8(gp) | a2 = *(gp);
| /* str.Failed_to_write_to__s_for_logging:__m */
0x00016360 addiu v0, v0, 0x12c8 | v0 += 0x12c8;
0x00016364 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00016368 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x0001636c lw t9, -0x7d58(gp) | t9 = sym.imp.log_internal_realm;
| /* esilref: 'server_forward_console' */
0x00016370 addiu v0, v0, 0x12f0 | v0 += 0x12f0;
0x00016374 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00016378 addiu a3, zero, 0x66 | a3 = 0x66;
| /* esilref: 'src/journal/journald-console.c' */
0x0001637c addiu a2, a2, 0x11ff | a2 += 0x11ff;
0x00016380 addiu a0, zero, 7 | a0 = 7;
0x00016384 jalr t9 | t9 ();
0x00016388 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001638c b 0x1619c | goto label_0;
| label_16:
0x00016390 lw t9, -0x7ee8(gp) | t9 = sym.imp.log_get_max_level_realm;
0x00016394 move a0, zero | a0 = 0;
0x00016398 jalr t9 | t9 ();
0x0001639c slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x000163a0 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x000163a4 bnez v0, 0x1619c | goto label_0;
| }
0x000163a8 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x000163ac lw a2, -0x7fc8(gp) | a2 = *(gp);
| /* str.Failed_to_open__s_for_logging:__m */
0x000163b0 addiu v0, v0, 0x12a4 | v0 += 0x12a4;
0x000163b4 sw v0, 0x14(sp) | *(var_14h) = v0;
0x000163b8 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x000163bc lw t9, -0x7d58(gp) | t9 = sym.imp.log_internal_realm;
| /* esilref: 'server_forward_console' */
0x000163c0 addiu v0, v0, 0x12f0 | v0 += 0x12f0;
0x000163c4 sw s1, 0x18(sp) | *(var_18h_6) = s1;
0x000163c8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000163cc addiu a3, zero, 0x61 | a3 = 0x61;
| /* esilref: 'src/journal/journald-console.c' */
0x000163d0 addiu a2, a2, 0x11ff | a2 += 0x11ff;
0x000163d4 move a1, s0 | a1 = s0;
0x000163d8 addiu a0, zero, 7 | a0 = 7;
0x000163dc jalr t9 | t9 ();
0x000163e0 lw gp, 0x20(sp) | gp = *(var_20h);
0x000163e4 b 0x1619c | goto label_0;
| label_6:
0x000163e8 lw t9, -0x7b00(gp) | t9 = sym.imp.clock_gettime;
0x000163ec move a1, s5 | a1 = s5;
0x000163f0 addiu a0, zero, 1 | a0 = 1;
0x000163f4 jalr t9 | t9 ();
0x000163f8 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x000163fc bnez v0, 0x16610 | goto label_17;
| }
0x00016400 lw a0, 0x34(sp) | a0 = *(var_34h_5);
0x00016404 lw t9, -0x7f10(gp) | t9 = *(gp);
0x00016408 sra a1, a0, 0x1f | a1 = a0 >> 0x1f;
0x0001640c addiu a2, zero, 0x3e8 | a2 = 0x3e8;
0x00016410 move a3, zero | a3 = 0;
0x00016414 bal 0x1ae70 | fcn_0001ae70 ();
0x00016418 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001641c sw v0, 0x18(sp) | *(var_18h_6) = v0;
0x00016420 lw v0, 0x30(sp) | v0 = *(var_30h_5);
0x00016424 addiu s4, sp, 0x70 | s4 = sp + 0x70;
0x00016428 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0001642c lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00016430 lw t9, -0x7e30(gp) | t9 = sym.imp.__snprintf_chk
| /* str.__5li._06llu__ */
0x00016434 addiu v0, v0, 0x1270 | v0 += 0x1270;
0x00016438 sw v1, 0x1c(sp) | *(var_1ch_2) = v1;
0x0001643c sw v0, 0x10(sp) | *(var_10h) = v0;
0x00016440 addiu a3, zero, 0x19 | a3 = 0x19;
0x00016444 addiu a2, zero, 1 | a2 = 1;
0x00016448 addiu a1, zero, 0x19 | a1 = 0x19;
0x0001644c move a0, s4 | a0 = s4;
0x00016450 jalr t9 | t9 ();
0x00016454 slti v0, v0, 0x19 | v0 = (v0 < 0x19) ? 1 : 0;
0x00016458 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x0001645c beqz v0, 0x1663c | goto label_18;
| }
0x00016460 lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
0x00016464 move a0, s4 | a0 = s4;
0x00016468 jalr t9 | t9 ();
0x0001646c sw v0, 0x3c(sp) | *(var_3ch_4) = v0;
0x00016470 lw gp, 0x20(sp) | gp = *(var_20h);
0x00016474 sw s4, 0x38(sp) | *(var_38h_4) = s4;
0x00016478 addiu s6, zero, 1 | s6 = 1;
| if (s1 != 0) {
0x0001647c bnez s1, 0x16214 | goto label_1;
| }
0x00016480 addiu s1, s6, 1 | s1 = s6 + 1;
| label_13:
0x00016484 addiu s4, s6, 2 | s4 = s6 + 2;
| if (s7 == 0) {
0x00016488 beqz s7, 0x165e8 | goto label_19;
| }
0x0001648c lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
0x00016490 move a0, s7 | a0 = s7;
0x00016494 jalr t9 | t9 ();
0x00016498 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001649c addiu a0, sp, 0x90 | a0 = sp + 0x90;
0x000164a0 sll v1, s6, 3 | v1 = s6 << 3;
0x000164a4 addu v1, a0, v1 | v1 = a0 + v1;
0x000164a8 sll s1, s1, 3 | s1 <<= 3;
0x000164ac sw v0, -0x54(v1) | *((v1 - 21)) = v0;
0x000164b0 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x000164b4 addu s1, a0, s1 | s1 = a0 + s1;
| /* esilref: ': ' */
0x000164b8 addiu v0, v0, -0x358c | v0 += -0x358c;
0x000164bc sw s7, -0x58(v1) | *((v1 - 22)) = s7;
0x000164c0 sw v0, -0x58(s1) | *((s1 - 22)) = v0;
0x000164c4 addiu v0, zero, 2 | v0 = 2;
0x000164c8 sw v0, -0x54(s1) | *((s1 - 21)) = v0;
0x000164cc addiu s1, s6, 3 | s1 = s6 + 3;
0x000164d0 addiu s5, s6, 4 | s5 = s6 + 4;
0x000164d4 b 0x162a4 | goto label_2;
| label_15:
0x000164d8 lw s1, -0x7fc8(gp) | s1 = *(gp);
| /* str._dev_console */
0x000164dc addiu s1, s1, 0x11e8 | s1 += 0x11e8;
0x000164e0 b 0x162ec | goto label_3;
| label_8:
0x000164e4 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x000164e8 lw a2, -0x7fc8(gp) | a2 = *(gp);
0x000164ec lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* str.server_forward_console */
0x000164f0 addiu v0, v0, 0x1308 | v0 += 0x1308;
0x000164f4 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x000164f8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000164fc addiu a3, zero, 0x32 | a3 = 0x32;
| /* esilref: 'src/journal/journald-console.c' */
0x00016500 addiu a2, a2, 0x11ff | a2 += 0x11ff;
0x00016504 addiu a1, a1, -0x1ce8 | a1 += -0x1ce8;
0x00016508 jalr t9 | t9 ();
| label_9:
0x0001650c lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00016510 lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00016514 lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* str.server_forward_console */
0x00016518 addiu v0, v0, 0x1308 | v0 += 0x1308;
0x0001651c lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x00016520 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00016524 addiu a3, zero, 0x33 | a3 = 0x33;
| /* esilref: 'src/journal/journald-console.c' */
0x00016528 addiu a2, a2, 0x11ff | a2 += 0x11ff;
| /* str.message */
0x0001652c addiu a1, a1, -0x35a0 | a1 += -0x35a0;
0x00016530 move a0, zero | a0 = 0;
0x00016534 jalr t9 | t9 ();
| label_14:
0x00016538 lw t9, -0x7c94(gp) | t9 = sym.imp.get_process_comm;
0x0001653c addiu a1, sp, 0x2c | a1 = sp + 0x2c;
0x00016540 jalr t9 | t9 ();
0x00016544 lw gp, 0x20(sp) | gp = *(var_20h);
0x00016548 lw v0, (s1) | v0 = *(s1);
0x0001654c lw s7, 0x2c(sp) | s7 = *(var_2ch);
0x00016550 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00016554 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00016558 lw t9, -0x7e30(gp) | t9 = sym.imp.__snprintf_chk
| /* str.__i_:_ */
0x0001655c addiu v0, v0, -0x3590 | v0 += -0x3590;
0x00016560 addiu s1, sp, 0x60 | s1 = sp + 0x60;
0x00016564 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00016568 addiu a3, zero, 0x10 | a3 = 0x10;
0x0001656c addiu a2, zero, 1 | a2 = 1;
0x00016570 addiu a1, zero, 0x10 | a1 = 0x10;
0x00016574 move a0, s1 | a0 = s1;
0x00016578 jalr t9 | t9 ();
0x0001657c move s5, s6 | s5 = s6;
0x00016580 lw gp, 0x20(sp) | gp = *(var_20h);
| if (s7 == 0) {
0x00016584 beqz s7, 0x16274 | goto label_4;
| }
0x00016588 lw t9, -0x7ca4(gp) | t9 = sym.imp.strlen;
0x0001658c b 0x16250 | goto label_5;
| label_12:
0x00016590 lw a0, -0x7fc8(gp) | a0 = *(gp);
0x00016594 lw t9, -0x7cd8(gp) | t9 = sym.imp.read_one_line_file;
0x00016598 addiu s5, sp, 0x30 | s5 = sp + 0x30;
0x0001659c move a1, s5 | a1 = s5;
| /* str._sys_module_printk_parameters_time */
0x000165a0 addiu a0, a0, 0x1220 | a0 += 0x1220;
0x000165a4 sw zero, 0x30(sp) | *(var_30h_5) = 0;
0x000165a8 jalr t9 | t9 ();
0x000165ac lw gp, 0x20(sp) | gp = *(var_20h);
0x000165b0 lw s6, 0x30(sp) | s6 = *(var_30h_5);
| if (v0 >= 0) {
0x000165b4 bltz v0, 0x165f4 |
0x000165b8 lw t9, -0x7b04(gp) | t9 = sym.imp.parse_boolean;
0x000165bc move a0, s6 | a0 = s6;
0x000165c0 jalr t9 | t9 ();
0x000165c4 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 <= 0) {
0x000165c8 blez v0, 0x165f4 | goto label_20;
| }
0x000165cc lw t9, -0x7c18(gp) | t9 = sym.imp.free;
0x000165d0 addiu v0, zero, 1 | v0 = 1;
0x000165d4 move a0, s6 | a0 = s6;
0x000165d8 sw v0, 0x3000(s4) | *((s4 + 3072)) = v0;
0x000165dc jalr t9 | t9 ();
0x000165e0 lw gp, 0x20(sp) | gp = *(var_20h);
0x000165e4 b 0x163e8 | goto label_6;
| label_19:
0x000165e8 move s5, s4 | s5 = s4;
0x000165ec move s4, s6 | s4 = s6;
0x000165f0 b 0x162a4 | goto label_2;
| }
| label_20:
0x000165f4 lw t9, -0x7c18(gp) | t9 = sym.imp.free;
0x000165f8 move a0, s6 | a0 = s6;
0x000165fc sw zero, 0x3000(s4) | *((s4 + 3072)) = 0;
0x00016600 jalr t9 | t9 ();
0x00016604 move s6, zero | s6 = 0;
0x00016608 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001660c b 0x1620c | goto label_7;
| label_17:
0x00016610 lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00016614 lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00016618 lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* str.server_forward_console */
0x0001661c addiu v0, v0, 0x1308 | v0 += 0x1308;
0x00016620 lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x00016624 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00016628 addiu a3, zero, 0x3a | a3 = 0x3a;
| /* esilref: 'src/journal/journald-console.c' */
0x0001662c addiu a2, a2, 0x11ff | a2 += 0x11ff;
| /* str.clock_gettime_CLOCK_MONOTONIC__ts___0 */
0x00016630 addiu a1, a1, 0x1244 | a1 += 0x1244;
0x00016634 move a0, zero | a0 = 0;
0x00016638 jalr t9 | t9 ();
| label_18:
0x0001663c lw v0, -0x7fc8(gp) | v0 = *(gp);
0x00016640 lw a2, -0x7fc8(gp) | a2 = *(gp);
0x00016644 lw a1, -0x7fc8(gp) | a1 = *(gp);
| /* str.server_forward_console */
0x00016648 addiu v0, v0, 0x1308 | v0 += 0x1308;
0x0001664c lw t9, -0x7be8(gp) | t9 = sym.imp.log_assert_failed_realm;
0x00016650 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00016654 addiu a3, zero, 0x3d | a3 = 0x3d;
| /* esilref: 'src/journal/journald-console.c' */
0x00016658 addiu a2, a2, 0x11ff | a2 += 0x11ff;
| /* str.xsprintf:_tbuf___must_be_big_enough */
0x0001665c addiu a1, a1, 0x1280 | a1 += aav.0x00001280;
0x00016660 move a0, zero | a0 = 0;
0x00016664 jalr t9 | t9 ();
| label_11:
0x00016668 lw t9, -0x7d6c(gp) | t9 = sym.imp.__stack_chk_fail;
0x0001666c jalr t9 | t9 ();
0x00016670 nop |
| }
[*] Function printf used 17 times systemd-journald