[*] Binary protection state of loggen
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function fprintf tear down of loggen
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/loggen @ 0x30f0 */
| #include <stdint.h>
|
; (fcn) fcn.000030f0 () | void fcn_000030f0 () {
0x000030f0 lui gp, 2 |
0x000030f4 addiu gp, gp, -0x2e70 |
0x000030f8 addu gp, gp, t9 | gp += t9;
0x000030fc addiu sp, sp, -0x80 |
0x00003100 lw t9, -0x7eb0(gp) | t9 = sym.imp.gettimeofday;
0x00003104 sw s6, 0x78(sp) | *(var_78h) = s6;
0x00003108 lw s6, -0x7ef4(gp) | s6 = *((gp - 8125));
0x0000310c sw s1, 0x64(sp) | *(var_64h) = s1;
0x00003110 addiu s1, sp, 0x4c | s1 = sp + 0x4c;
0x00003114 lw v0, (s6) | v0 = *(s6);
0x00003118 sw gp, 0x38(sp) | *(var_38h) = gp;
0x0000311c sw s5, 0x74(sp) | *(var_74h) = s5;
0x00003120 sw s3, 0x6c(sp) | *(var_6ch) = s3;
0x00003124 move s5, a0 | s5 = a0;
0x00003128 sw ra, 0x7c(sp) | *(var_7ch) = ra;
0x0000312c sw s4, 0x70(sp) | *(var_70h) = s4;
0x00003130 sw s2, 0x68(sp) | *(var_68h) = s2;
0x00003134 sw s0, 0x60(sp) | *(var_60h) = s0;
0x00003138 move a1, zero | a1 = 0;
0x0000313c move a0, s1 | a0 = s1;
0x00003140 sw v0, 0x5c(sp) | *(var_5ch) = v0;
0x00003144 jalr t9 | t9 ();
0x00003148 nop |
0x0000314c lw gp, 0x38(sp) | gp = *(var_38h);
0x00003150 lw v1, 4(s5) | v1 = *((s5 + 1));
0x00003154 lw s3, -0x7fbc(gp) | s3 = sym.print_statistic;
| if (v1 == 0) {
0x00003158 beqz v1, 0x31c4 | goto label_2;
| }
0x0000315c lui s2, 7 | s2 = 0x70000;
0x00003160 move s4, zero | s4 = 0;
0x00003164 ori s2, s2, 0xa120 | s2 |= 0xa120;
0x00003168 lw s0, (s5) | s0 = *(s5);
| label_0:
0x0000316c sll v0, s4, 2 | v0 = s4 << 2;
0x00003170 lwx s0, v0(s0) | __asm ("lwx s0, v0(s0)");
0x00003174 lw t9, 8(s0) | t9 = *((s0 + 2));
| if (s0 == 0) {
0x00003178 bnel s0, zero, 0x31a0 | goto label_3;
| }
0x0000317c addiu s4, s4, 1 | s4++;
0x00003180 b 0x31b8 | goto label_4;
| do {
0x00003184 lw t9, -0x7f3c(gp) | t9 = sym.imp.g_usleep;
0x00003188 move a0, s2 | a0 = s2;
0x0000318c jalr t9 | t9 ();
0x00003190 move t9, s3 | t9 = s3;
0x00003194 move a0, s1 | a0 = s1;
0x00003198 bal 0x2ce8 | sym_print_statistic ();
0x0000319c lw t9, 8(s0) | t9 = *((s0 + 2));
| label_3:
0x000031a0 jalr t9 | t9 ();
0x000031a4 nop |
0x000031a8 lw gp, 0x38(sp) | gp = *(var_38h);
0x000031ac bgtz v0, 0x3184 |
| } while (v0 > 0);
0x000031b0 lw v1, 4(s5) | v1 = *((s5 + 1));
0x000031b4 addiu s4, s4, 1 | s4++;
| label_4:
0x000031b8 sltu v0, s4, v1 | v0 = (s4 < v1) ? 1 : 0;
0x000031bc lw s0, (s5) | s0 = *(s5);
| if (v0 == 0) {
0x000031c0 bnel v0, zero, 0x316c | goto label_0;
| }
| label_2:
0x000031c4 move t9, s3 | t9 = s3;
0x000031c8 move a0, s1 | a0 = s1;
0x000031cc bal 0x2ce8 | sym_print_statistic ();
0x000031d0 lw gp, 0x38(sp) | gp = *(var_38h);
0x000031d4 addiu s0, sp, 0x54 | s0 = sp + 0x54;
0x000031d8 move a0, s0 | a0 = s0;
0x000031dc lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000031e0 lw t9, -0x7eb0(gp) | t9 = sym.imp.gettimeofday;
0x000031e4 move a1, zero | a1 = 0;
0x000031e8 lw s2, -0x7b84(v0) | s2 = *((v0 - 7905));
0x000031ec jalr t9 | t9 ();
0x000031f0 lw gp, 0x38(sp) | gp = *(var_38h);
0x000031f4 move a1, s1 | a1 = s1;
0x000031f8 lw t9, -0x7e8c(gp) | t9 = sym.imp.time_val_diff_in_sec;
0x000031fc move a0, s0 | a0 = s0;
0x00003200 jalr t9 | t9 ();
0x00003204 lw gp, 0x38(sp) | gp = *(var_38h);
0x00003208 move a2, zero | a2 = 0;
0x0000320c move a3, zero | a3 = 0;
0x00003210 lw t9, -0x7fb8(gp) | t9 = *(gp);
0x00003214 move a0, v0 | a0 = v0;
0x00003218 move a1, v1 | a1 = v1;
0x0000321c move s0, v0 | s0 = v0;
0x00003220 move s1, v1 | s1 = v1;
0x00003224 bal 0x5940 | fcn_00005940 ();
0x00003228 lw gp, 0x38(sp) | gp = *(var_38h);
| if (v0 <= 0) {
0x0000322c blez v0, 0x3398 | goto label_5;
| }
0x00003230 lw v0, -0x7ed4(gp) | v0 = *((gp - 8117));
0x00003234 lw s3, (v0) | s3 = *(v0);
| if (s2 != 0) {
0x00003238 bnez s2, 0x3298 | goto label_6;
| }
| label_1:
0x0000323c lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00003240 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00003244 sw s2, 0x18(sp) | *(var_18h) = s2;
0x00003248 sw s0, 0x10(sp) | *(var_10h) = s0;
0x0000324c sw s1, 0x14(sp) | *(var_14h) = s1;
0x00003250 addiu a2, a2, 0x68fc | a2 += str.Total_runtime___g__count___ld_n;
0x00003254 addiu a1, zero, 1 | a1 = 1;
0x00003258 move a0, s3 | a0 = s3;
0x0000325c jalr t9 | t9 ();
0x00003260 lw gp, 0x38(sp) | gp = *(var_38h);
| do {
0x00003264 lw v1, 0x5c(sp) | v1 = *(var_5ch);
0x00003268 lw v0, (s6) | v0 = *(s6);
0x0000326c lw ra, 0x7c(sp) | ra = *(var_7ch);
| if (v1 != v0) {
0x00003270 bne v1, v0, 0x33a4 | goto label_7;
| }
0x00003274 lw s6, 0x78(sp) | s6 = *(var_78h);
0x00003278 lw s5, 0x74(sp) | s5 = *(var_74h);
0x0000327c lw s4, 0x70(sp) | s4 = *(var_70h);
0x00003280 lw s3, 0x6c(sp) | s3 = *(var_6ch);
0x00003284 lw s2, 0x68(sp) | s2 = *(var_68h);
0x00003288 lw s1, 0x64(sp) | s1 = *(var_64h);
0x0000328c lw s0, 0x60(sp) | s0 = *(var_60h);
0x00003290 addiu sp, sp, 0x80 |
0x00003294 jr ra | return v0;
| label_6:
0x00003298 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x0000329c lw t9, -0x7fcc(gp) | t9 = *(gp);
0x000032a0 lw t0, -0x7b90(v0) | t0 = *((v0 - 7908));
0x000032a4 lw t1, -0x7b8c(v0) | t1 = *((v0 - 7907));
0x000032a8 move a0, t0 | a0 = t0;
0x000032ac move a1, t1 | a1 = t1;
0x000032b0 sw t0, 0x40(sp) | *(var_40h) = t0;
0x000032b4 sw t1, 0x44(sp) | *(var_44h) = t1;
0x000032b8 bal 0x60d0 | fcn_000060d0 ();
0x000032bc lw gp, 0x38(sp) | gp = *(var_38h);
0x000032c0 move a0, s0 | a0 = s0;
0x000032c4 move a1, s1 | a1 = s1;
0x000032c8 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x000032cc lw t9, -0x7fc8(gp) | t9 = *(gp);
0x000032d0 move s4, v0 | s4 = v0;
0x000032d4 lw a3, 0x70dc(a2) | a3 = *((a2 + 7223));
0x000032d8 lw a2, 0x70d8(a2) | a2 = *((a2 + 7222));
0x000032dc move s5, v1 | s5 = v1;
0x000032e0 bal 0x5a90 | fcn_00005a90 ();
0x000032e4 lw gp, 0x38(sp) | gp = *(var_38h);
0x000032e8 move a2, v0 | a2 = v0;
0x000032ec move a3, v1 | a3 = v1;
0x000032f0 lw t9, -0x7fc0(gp) | t9 = *(gp);
0x000032f4 move a0, s4 | a0 = s4;
0x000032f8 move a1, s5 | a1 = s5;
0x000032fc bal 0x5180 | fcn_00005180 ();
0x00003300 lw gp, 0x38(sp) | gp = *(var_38h);
0x00003304 lw t0, 0x40(sp) | t0 = *(var_40h);
0x00003308 lw t1, 0x44(sp) | t1 = *(var_44h);
0x0000330c lw t9, -0x7fb4(gp) | t9 = *(gp);
0x00003310 move a0, t0 | a0 = t0;
0x00003314 move a1, t1 | a1 = t1;
0x00003318 move a2, s2 | a2 = s2;
0x0000331c move a3, zero | a3 = 0;
0x00003320 sw v0, 0x30(sp) | *(var_30h) = v0;
0x00003324 sw v1, 0x34(sp) | *(var_34h) = v1;
0x00003328 bal 0x4ce0 | fcn_00004ce0 ();
0x0000332c lw gp, 0x38(sp) | gp = *(var_38h);
0x00003330 move a0, s2 | a0 = s2;
0x00003334 sw v0, 0x28(sp) | *(var_28h) = v0;
0x00003338 lw t9, -0x7fc4(gp) | t9 = *(gp);
0x0000333c sw v1, 0x2c(sp) | *(var_2ch) = v1;
0x00003340 sw s0, 0x20(sp) | *(var_20h) = s0;
0x00003344 sw s1, 0x24(sp) | *(var_24h) = s1;
0x00003348 sw s2, 0x18(sp) | *(var_18h) = s2;
0x0000334c bal 0x6030 | fcn_00006030 ();
0x00003350 lw gp, 0x38(sp) | gp = *(var_38h);
0x00003354 move a2, s0 | a2 = s0;
0x00003358 move a3, s1 | a3 = s1;
0x0000335c lw t9, -0x7fc0(gp) | t9 = *(gp);
0x00003360 move a0, v0 | a0 = v0;
0x00003364 move a1, v1 | a1 = v1;
0x00003368 bal 0x5180 | fcn_00005180 ();
0x0000336c lw gp, 0x38(sp) | gp = *(var_38h);
0x00003370 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00003374 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00003378 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x0000337c lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00003380 addiu a2, a2, 0x6898 | a2 += str.average_rate___.2lf_msg_sec__count_ld__time_g___average__msg_size_lli__bandwidth_.2f_kB_sec_n;
0x00003384 addiu a1, zero, 1 | a1 = 1;
0x00003388 move a0, s3 | a0 = s3;
0x0000338c jalr t9 | t9 ();
0x00003390 lw gp, 0x38(sp) | gp = *(var_38h);
0x00003394 b 0x3264 |
| } while (1);
| label_5:
0x00003398 lw v0, -0x7ed4(gp) | v0 = *((gp - 8117));
0x0000339c lw s3, (v0) | s3 = *(v0);
0x000033a0 b 0x323c | goto label_1;
| label_7:
0x000033a4 lw t9, -0x7f0c(gp) | t9 = sym.imp.__stack_chk_fail;
0x000033a8 jalr t9 | t9 ();
0x000033ac nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/loggen @ 0x33e0 */
| #include <stdint.h>
|
; (fcn) fcn.000033e0 () | void fcn_000033e0 () {
0x000033e0 lui gp, 2 |
0x000033e4 addiu gp, gp, -0x3160 |
0x000033e8 addu gp, gp, t9 | gp += t9;
0x000033ec addiu sp, sp, -0x38 |
0x000033f0 sw gp, 0x18(sp) | *(var_18h) = gp;
0x000033f4 sw s3, 0x2c(sp) | *(var_2ch) = s3;
0x000033f8 sw s2, 0x28(sp) | *(var_28h) = s2;
0x000033fc sw ra, 0x34(sp) | *(var_34h) = ra;
0x00003400 sw s4, 0x30(sp) | *(var_30h) = s4;
0x00003404 sw s1, 0x24(sp) | *(var_24h) = s1;
0x00003408 sw s0, 0x20(sp) | *(var_20h) = s0;
0x0000340c move s2, a0 | s2 = a0;
0x00003410 move s3, a1 | s3 = a1;
| if (a0 == 0) {
0x00003414 beqz a0, 0x34e4 | goto label_0;
| }
0x00003418 slt v0, a2, a3 | v0 = (a2 < a3) ? 1 : 0;
| if (a1 == 0) {
0x0000341c beqz a1, 0x34e4 | goto label_0;
| }
0x00003420 move s0, a2 | s0 = a2;
0x00003424 move s1, a3 | s1 = a3;
| if (v0 == 0) {
0x00003428 beqz v0, 0x3468 | goto label_1;
| }
0x0000342c addiu s1, a2, 1 | s1 = a2 + 1;
| do {
0x00003430 lw t9, -0x7f78(gp) | t9 = sym.imp.g_strlcpy;
0x00003434 move a2, s1 | a2 = s1;
0x00003438 move a1, s3 | a1 = s3;
0x0000343c move a0, s2 | a0 = s2;
0x00003440 jalr t9 | t9 ();
0x00003444 lw ra, 0x34(sp) | ra = *(var_34h);
0x00003448 move v0, s0 | v0 = s0;
0x0000344c lw s4, 0x30(sp) | s4 = *(var_30h);
0x00003450 lw s3, 0x2c(sp) | s3 = *(var_2ch);
0x00003454 lw s2, 0x28(sp) | s2 = *(var_28h);
0x00003458 lw s1, 0x24(sp) | s1 = *(var_24h);
0x0000345c lw s0, 0x20(sp) | s0 = *(var_20h);
0x00003460 addiu sp, sp, 0x38 |
0x00003464 jr ra | return v0;
| label_1:
0x00003468 lw s4, -0x7ed4(gp) | s4 = *((gp - 8117));
0x0000346c lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x00003470 lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x00003474 addiu a0, a0, 0x70e0 | a0 += 0x70e0;
0x00003478 lw s0, (s4) | s0 = *(s4);
0x0000347c jalr t9 | t9 ();
0x00003480 lw gp, 0x18(sp) | gp = *(var_18h);
0x00003484 move a3, v0 | a3 = v0;
0x00003488 addiu v0, zero, 0x90 | v0 = 0x90;
0x0000348c sw v0, 0x14(sp) | *(var_14h) = v0;
0x00003490 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00003494 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00003498 addiu v0, v0, 0x759c | v0 += str.safe_copy_n_string;
0x0000349c lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x000034a0 move a0, s0 | a0 = s0;
0x000034a4 addiu a2, a2, 0x6810 | a2 += str.error___s:_s:_d__;
0x000034a8 addiu a1, zero, 1 | a1 = 1;
0x000034ac sw v0, 0x10(sp) | *(var_10h) = v0;
0x000034b0 jalr t9 | t9 ();
0x000034b4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000034b8 lw a0, (s4) | a0 = *(s4);
0x000034bc addiu s0, s1, -1 | s0 = s1 + -1;
0x000034c0 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x000034c4 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x000034c8 lw a3, 0x48(sp) | a3 = *(arg_48h);
0x000034cc sw s0, 0x10(sp) | *(var_10h) = s0;
0x000034d0 addiu a2, a2, 0x7140 | a2 += str.__s__string_is_too_long_to_fit_into_buffer._Truncate_it_to__d_chars_n;
0x000034d4 addiu a1, zero, 1 | a1 = 1;
0x000034d8 jalr t9 | t9 ();
0x000034dc lw gp, 0x18(sp) | gp = *(var_18h);
0x000034e0 b 0x3430 |
| } while (1);
| label_0:
0x000034e4 lw s0, -0x7ed4(gp) | s0 = *((gp - 8117));
0x000034e8 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x000034ec lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x000034f0 addiu a0, a0, 0x70e0 | a0 += 0x70e0;
0x000034f4 lw s1, (s0) | s1 = *(s0);
0x000034f8 jalr t9 | t9 ();
0x000034fc lw gp, 0x18(sp) | gp = *(var_18h);
0x00003500 move a3, v0 | a3 = v0;
0x00003504 addiu v0, zero, 0x89 | v0 = 0x89;
0x00003508 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0000350c lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00003510 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00003514 addiu v0, v0, 0x759c | v0 += str.safe_copy_n_string;
0x00003518 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x0000351c move a0, s1 | a0 = s1;
0x00003520 addiu a2, a2, 0x6810 | a2 += str.error___s:_s:_d__;
0x00003524 addiu a1, zero, 1 | a1 = 1;
0x00003528 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000352c jalr t9 | t9 ();
0x00003530 lw gp, 0x18(sp) | gp = *(var_18h);
0x00003534 lw a0, (s0) | a0 = *(s0);
0x00003538 sw s2, 0x10(sp) | *(var_10h) = s2;
0x0000353c lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00003540 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00003544 move a3, s3 | a3 = s3;
0x00003548 addiu a2, a2, 0x7110 | a2 += str.Invalid_src_or_dest_buffer__src_p__dest_p__n;
0x0000354c addiu a1, zero, 1 | a1 = 1;
0x00003550 jalr t9 | t9 ();
0x00003554 lw ra, 0x34(sp) | ra = *(var_34h);
0x00003558 lw s4, 0x30(sp) | s4 = *(var_30h);
0x0000355c lw s3, 0x2c(sp) | s3 = *(var_2ch);
0x00003560 lw s2, 0x28(sp) | s2 = *(var_28h);
0x00003564 lw s1, 0x24(sp) | s1 = *(var_24h);
0x00003568 lw s0, 0x20(sp) | s0 = *(var_20h);
0x0000356c move v0, zero | v0 = 0;
0x00003570 addiu sp, sp, 0x38 |
0x00003574 jr ra | return v0;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/loggen @ 0x1850 */
| #include <stdint.h>
|
; (fcn) main () | int32_t main () {
| /* [13] -r-x section size 19232 named .text */
0x00001850 lui gp, 2 |
0x00001854 addiu gp, gp, -0x15d0 |
0x00001858 addu gp, gp, t9 | gp += t9;
0x0000185c addiu sp, sp, -0x88 |
0x00001860 lw t9, -0x7f5c(gp) | t9 = sym.imp.g_ptr_array_new;
0x00001864 sw s4, 0x70(sp) | *(var_70h) = s4;
0x00001868 lw s4, -0x7ef4(gp) | s4 = *((gp - 8125));
0x0000186c sw ra, 0x84(sp) | *(var_84h) = ra;
0x00001870 sw gp, 0x28(sp) | *(var_28h) = gp;
0x00001874 lw v0, (s4) | v0 = *(s4);
0x00001878 sw a1, 0x54(sp) | *(var_54h) = a1;
0x0000187c sw s3, 0x6c(sp) | *(var_6ch) = s3;
0x00001880 sw s2, 0x68(sp) | *(var_68h) = s2;
0x00001884 sw s0, 0x60(sp) | *(var_60h) = s0;
0x00001888 sw a0, 0x88(sp) | *(arg_88h) = a0;
0x0000188c sw fp, 0x80(sp) | *(var_80h) = fp;
0x00001890 sw s7, 0x7c(sp) | *(var_7ch) = s7;
0x00001894 sw s6, 0x78(sp) | *(var_78h) = s6;
0x00001898 sw s5, 0x74(sp) | *(var_74h) = s5;
0x0000189c sw s1, 0x64(sp) | *(var_64h) = s1;
0x000018a0 sw v0, 0x5c(sp) | *(var_5ch) = v0;
0x000018a4 jalr t9 | t9 ();
0x000018a8 nop |
0x000018ac lw gp, 0x28(sp) | gp = *(var_28h);
0x000018b0 move s0, v0 | s0 = v0;
0x000018b4 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x000018b8 lw t9, -0x7f44(gp) | t9 = sym.imp.g_option_context_new;
0x000018bc addiu a0, a0, 0x6920 | a0 += str._target_port;
0x000018c0 jalr t9 | t9 ();
0x000018c4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000018c8 addiu a0, zero, 0xd | a0 = 0xd;
0x000018cc move s2, v0 | s2 = v0;
0x000018d0 lw a1, -0x7fd0(gp) | a1 = *((gp - 8180));
0x000018d4 lw t9, -0x7e6c(gp) | t9 = sym.imp.signal;
0x000018d8 lw s3, -0x7fd0(gp) | s3 = *((gp - 8180));
0x000018dc addiu a1, a1, 0x2c40 | a1 += 0x2c40;
0x000018e0 jalr t9 | t9 ();
0x000018e4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000018e8 move a2, zero | a2 = 0;
0x000018ec move a1, zero | a1 = 0;
0x000018f0 lw t9, -0x7f70(gp) | t9 = sym.imp.g_dir_open;
0x000018f4 addiu a0, s3, 0x6930 | a0 = s3 + str._usr_lib_syslog_ng_loggen;
0x000018f8 jalr t9 | t9 ();
0x000018fc lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == 0) {
0x00001900 beqz v0, 0x2464 | goto label_20;
| }
0x00001904 lw t9, -0x7ee4(gp) | t9 = sym.imp.get_debug_level;
0x00001908 move s5, v0 | s5 = v0;
0x0000190c jalr t9 | t9 ();
0x00001910 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x00001914 bnez v0, 0x2358 | goto label_21;
| }
| label_6:
0x00001918 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x0000191c lw t9, -0x7e9c(gp) | t9 = sym.imp.g_option_context_add_main_entries;
0x00001920 move a2, zero | a2 = 0;
| /* esilref: 'rate' */
0x00001924 addiu a1, a1, -0x7fc0 | a1 += -0x7fc0;
0x00001928 move a0, s2 | a0 = s2;
0x0000192c jalr t9 | t9 ();
0x00001930 lw gp, 0x28(sp) | gp = *(var_28h);
0x00001934 addiu v0, sp, 0x58 | v0 = sp + 0x58;
0x00001938 sw v0, 0x30(sp) | *(var_30h) = v0;
0x0000193c lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00001940 lw fp, -0x7fd0(gp) | fp = *((gp - 8180));
0x00001944 addiu v0, v0, 0x69b4 | v0 += 0x69b4;
0x00001948 sw v0, 0x48(sp) | *(var_48h) = v0;
0x0000194c lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00001950 sw v0, 0x4c(sp) | *(var_4ch) = v0;
0x00001954 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00001958 addiu v0, v0, 0x67e4 | v0 += str..._syslog_ng_3.19.1_tests_loggen_loggen.c;
0x0000195c sw v0, 0x34(sp) | *(var_34h) = v0;
0x00001960 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00001964 addiu s7, v0, 0x7090 | s7 = v0 + str.enumerate_plugins;
0x00001968 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x0000196c sw v0, 0x50(sp) | *(var_50h) = v0;
| do {
| label_0:
0x00001970 lw t9, -0x7e64(gp) | t9 = sym.imp.g_dir_read_name;
0x00001974 move a0, s5 | a0 = s5;
0x00001978 jalr t9 | t9 ();
0x0000197c move s1, v0 | s1 = v0;
0x00001980 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == 0) {
0x00001984 beqz v0, 0x1b74 | goto label_22;
| }
0x00001988 lw t9, -0x7f58(gp) | t9 = sym.imp.g_str_has_suffix;
0x0000198c lw a1, 0x48(sp) | a1 = *(var_48h);
0x00001990 move a0, s1 | a0 = s1;
0x00001994 jalr t9 | t9 ();
0x00001998 lw gp, 0x28(sp) | gp = *(var_28h);
0x0000199c beqz v0, 0x1970 |
| } while (v0 == 0);
0x000019a0 lw t9, -0x7f28(gp) | t9 = sym.imp.g_build_filename;
0x000019a4 move a2, zero | a2 = 0;
0x000019a8 move a1, s1 | a1 = s1;
0x000019ac addiu a0, s3, 0x6930 | a0 = s3 + str._usr_lib_syslog_ng_loggen;
0x000019b0 jalr t9 | t9 ();
0x000019b4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000019b8 addiu a1, zero, 1 | a1 = 1;
0x000019bc lw t9, -0x7f38(gp) | t9 = sym.imp.g_module_open;
0x000019c0 move a0, v0 | a0 = v0;
0x000019c4 jalr t9 | t9 ();
0x000019c8 move s6, v0 | s6 = v0;
0x000019cc lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == 0) {
0x000019d0 beqz v0, 0x1f68 | goto label_23;
| }
0x000019d4 lw v0, 0x4c(sp) | v0 = *(var_4ch);
0x000019d8 lw t9, -0x7ef8(gp) | t9 = sym.imp.g_module_symbol;
0x000019dc lw a2, 0x30(sp) | a2 = *(var_30h);
0x000019e0 addiu a1, v0, 0x69e0 | a1 = v0 + str.loggen_plugin_info;
0x000019e4 move a0, s6 | a0 = s6;
0x000019e8 jalr t9 | t9 ();
0x000019ec lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == 0) {
0x000019f0 beqz v0, 0x1fec | goto label_24;
| }
0x000019f4 lw a2, 0x58(sp) | a2 = *(var_58h);
0x000019f8 lw a3, 4(s0) | a3 = *((s0 + 1));
0x000019fc lw s6, (s0) | s6 = *(s0);
0x00001a00 lw t0, (a2) | t0 = *(a2);
| if (a3 == 0) {
0x00001a04 beqz a3, 0x1a58 | goto label_25;
| }
0x00001a08 move v1, zero | v1 = 0;
| do {
0x00001a0c lw v0, (s6) | v0 = *(s6);
0x00001a10 lw t9, -0x7f68(gp) | t9 = sym.imp.strcmp;
| if (v0 != 0) {
0x00001a14 beqz v0, 0x1a4c |
0x00001a18 lw a1, (v0) | a1 = *(v0);
0x00001a1c sw v1, 0x44(sp) | *(var_44h) = v1;
0x00001a20 sw a3, 0x40(sp) | *(var_40h) = a3;
0x00001a24 sw a2, 0x3c(sp) | *(var_3ch) = a2;
0x00001a28 move a0, t0 | a0 = t0;
0x00001a2c sw t0, 0x38(sp) | *(var_38h) = t0;
0x00001a30 jalr t9 | t9 ();
0x00001a34 lw gp, 0x28(sp) | gp = *(var_28h);
0x00001a38 lw t0, 0x38(sp) | t0 = *(var_38h);
0x00001a3c lw a2, 0x3c(sp) | a2 = *(var_3ch);
0x00001a40 lw a3, 0x40(sp) | a3 = *(var_40h);
0x00001a44 lw v1, 0x44(sp) | v1 = *(var_44h);
| if (v0 == 0) {
0x00001a48 beqz v0, 0x214c | goto label_26;
| }
| }
0x00001a4c addiu v1, v1, 1 | v1++;
0x00001a50 addiu s6, s6, 4 | s6 += 4;
0x00001a54 bne v1, a3, 0x1a0c |
| } while (v1 != a3);
| label_25:
0x00001a58 lw t9, 0x14(a2) | t9 = *((a2 + 5));
0x00001a5c lw s6, -0x7ed4(gp) | s6 = *((gp - 8117));
| if (t9 == 0) {
0x00001a60 beqz t9, 0x22e8 | goto label_27;
| }
0x00001a64 lw a0, -0x7fb0(gp) | a0 = sym.generate_message;
0x00001a68 jalr t9 | t9 ();
0x00001a6c nop |
0x00001a70 lw gp, 0x28(sp) | gp = *(var_28h);
| label_5:
0x00001a74 lw t9, -0x7eac(gp) | t9 = sym.imp.g_ptr_array_add;
0x00001a78 lw a1, 0x58(sp) | a1 = *(var_58h);
0x00001a7c move a0, s0 | a0 = s0;
0x00001a80 jalr t9 | t9 ();
0x00001a84 lw v0, 0x58(sp) | v0 = *(var_58h);
0x00001a88 lw gp, 0x28(sp) | gp = *(var_28h);
0x00001a8c move a3, zero | a3 = 0;
0x00001a90 lw a1, (v0) | a1 = *(v0);
0x00001a94 lw t9, -0x7f20(gp) | t9 = sym.imp.g_option_group_new;
0x00001a98 addiu a2, fp, 0x6a84 | a2 = fp + str.Show_options;
0x00001a9c move a0, a1 | a0 = a1;
0x00001aa0 sw zero, 0x10(sp) | *(var_10h) = 0;
0x00001aa4 jalr t9 | t9 ();
0x00001aa8 move s6, v0 | s6 = v0;
0x00001aac lw v0, 0x58(sp) | v0 = *(var_58h);
0x00001ab0 lw t9, 4(v0) | t9 = *((v0 + 1));
0x00001ab4 jalr t9 | t9 ();
0x00001ab8 nop |
0x00001abc lw gp, 0x28(sp) | gp = *(var_28h);
0x00001ac0 move a1, v0 | a1 = v0;
0x00001ac4 lw t9, -0x7f64(gp) | t9 = sym.imp.g_option_group_add_entries;
0x00001ac8 move a0, s6 | a0 = s6;
0x00001acc jalr t9 | t9 ();
0x00001ad0 lw gp, 0x28(sp) | gp = *(var_28h);
0x00001ad4 move a1, s6 | a1 = s6;
0x00001ad8 lw t9, -0x7ef0(gp) | t9 = sym.imp.g_option_context_add_group;
0x00001adc move a0, s2 | a0 = s2;
0x00001ae0 jalr t9 | t9 ();
0x00001ae4 lw gp, 0x28(sp) | gp = *(var_28h);
0x00001ae8 lw t9, -0x7ee4(gp) | t9 = sym.imp.get_debug_level;
0x00001aec jalr t9 | t9 ();
0x00001af0 nop |
0x00001af4 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == 0) {
0x00001af8 beqz v0, 0x1970 | goto label_0;
| }
0x00001afc lw s6, -0x7f2c(gp) | s6 = *((gp - 8139));
0x00001b00 lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x00001b04 lw a0, 0x34(sp) | a0 = *(var_34h);
0x00001b08 lw v1, (s6) | v1 = *(s6);
0x00001b0c sw v1, 0x38(sp) | *(var_38h) = v1;
0x00001b10 jalr t9 | t9 ();
0x00001b14 lw gp, 0x28(sp) | gp = *(var_28h);
0x00001b18 move a3, v0 | a3 = v0;
0x00001b1c lw v0, 0x50(sp) | v0 = *(var_50h);
0x00001b20 lw v1, 0x38(sp) | v1 = *(var_38h);
0x00001b24 addiu a2, v0, 0x697c | a2 = v0 + str.debug___s:_s:_d__;
0x00001b28 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00001b2c addiu v0, zero, 0xc3 | v0 = 0xc3;
0x00001b30 move a0, v1 | a0 = v1;
0x00001b34 addiu a1, zero, 1 | a1 = 1;
0x00001b38 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00001b3c sw s7, 0x10(sp) | *(var_10h) = s7;
0x00001b40 jalr t9 | t9 ();
0x00001b44 lw gp, 0x28(sp) | gp = *(var_28h);
0x00001b48 lw v0, 0x58(sp) | v0 = *(var_58h);
0x00001b4c lw a0, (s6) | a0 = *(s6);
0x00001b50 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00001b54 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00001b58 lw a3, (v0) | a3 = *(v0);
0x00001b5c addiu a2, a2, 0x6a94 | a2 += str._s_in__s_is_a_loggen_plugin_n;
0x00001b60 sw s1, 0x10(sp) | *(var_10h) = s1;
0x00001b64 addiu a1, zero, 1 | a1 = 1;
0x00001b68 jalr t9 | t9 ();
0x00001b6c lw gp, 0x28(sp) | gp = *(var_28h);
0x00001b70 b 0x1970 | goto label_0;
| label_22:
0x00001b74 lw a3, 4(s0) | a3 = *((s0 + 1));
0x00001b78 lw s6, -0x7ed4(gp) | s6 = *((gp - 8117));
| if (a3 == 0) {
0x00001b7c beqz a3, 0x2014 | goto label_28;
| }
| label_2:
0x00001b80 move s1, a3 | s1 = a3;
| label_8:
0x00001b84 lw t9, -0x7ee4(gp) | t9 = sym.imp.get_debug_level;
0x00001b88 jalr t9 | t9 ();
0x00001b8c nop |
0x00001b90 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x00001b94 bnez v0, 0x2274 | goto label_29;
| }
| label_4:
0x00001b98 lw a1, -0x7fd0(gp) | a1 = *((gp - 8180));
0x00001b9c lw t9, -0x7f20(gp) | t9 = sym.imp.g_option_group_new;
0x00001ba0 addiu a1, a1, 0x6af4 | a1 += str.file_reader;
0x00001ba4 move a3, zero | a3 = 0;
0x00001ba8 addiu a2, fp, 0x6a84 | a2 = fp + str.Show_options;
0x00001bac move a0, a1 | a0 = a1;
0x00001bb0 sw zero, 0x10(sp) | *(var_10h) = 0;
0x00001bb4 jalr t9 | t9 ();
0x00001bb8 lw gp, 0x28(sp) | gp = *(var_28h);
0x00001bbc lw t9, -0x7fac(gp) | t9 = sym.get_file_reader_options;
0x00001bc0 move s1, v0 | s1 = v0;
0x00001bc4 bal 0x35f4 | sym_get_file_reader_options ();
0x00001bc8 lw gp, 0x28(sp) | gp = *(var_28h);
0x00001bcc move a1, v0 | a1 = v0;
0x00001bd0 lw t9, -0x7f64(gp) | t9 = sym.imp.g_option_group_add_entries;
0x00001bd4 move a0, s1 | a0 = s1;
0x00001bd8 jalr t9 | t9 ();
0x00001bdc lw gp, 0x28(sp) | gp = *(var_28h);
0x00001be0 move a1, s1 | a1 = s1;
0x00001be4 lw t9, -0x7ef0(gp) | t9 = sym.imp.g_option_context_add_group;
0x00001be8 move a0, s2 | a0 = s2;
0x00001bec jalr t9 | t9 ();
0x00001bf0 lw gp, 0x28(sp) | gp = *(var_28h);
0x00001bf4 lw a3, 0x30(sp) | a3 = *(var_30h);
0x00001bf8 addiu a2, sp, 0x54 | a2 = sp + 0x54;
0x00001bfc lw t9, -0x7ee0(gp) | t9 = sym.imp.g_option_context_parse;
0x00001c00 addiu a1, sp, 0x88 | a1 = sp + 0x88;
0x00001c04 move a0, s2 | a0 = s2;
0x00001c08 sw zero, 0x58(sp) | *(var_58h) = 0;
0x00001c0c jalr t9 | t9 ();
0x00001c10 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == 0) {
0x00001c14 beqz v0, 0x21cc | goto label_30;
| }
0x00001c18 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001c1c lw t9, -0x7f30(gp) | t9 = sym.imp.set_debug_level;
0x00001c20 lw a0, -0x7b80(v0) | a0 = *((v0 - 7904));
0x00001c24 jalr t9 | t9 ();
0x00001c28 lw v0, 0x88(sp) | v0 = *(arg_88h);
0x00001c2c slti v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x00001c30 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x00001c34 bnez v0, 0x2088 | goto label_31;
| }
0x00001c38 lw v0, 0x54(sp) | v0 = *(var_54h);
0x00001c3c lw s2, -0x7fdc(gp) | s2 = *((gp - 8183));
0x00001c40 lw t9, -0x7e7c(gp) | t9 = sym.imp.g_strdup;
0x00001c44 lw a0, 4(v0) | a0 = *((v0 + 1));
0x00001c48 addiu s1, s2, -0x7ff0 | s1 = s2 + -0x7ff0;
0x00001c4c jalr t9 | t9 ();
0x00001c50 lw gp, 0x28(sp) | gp = *(var_28h);
0x00001c54 sw v0, 0x1c(s1) | *((s1 + 7)) = v0;
0x00001c58 lw v0, 0x54(sp) | v0 = *(var_54h);
0x00001c5c lw t9, -0x7e7c(gp) | t9 = sym.imp.g_strdup;
0x00001c60 lw a0, 8(v0) | a0 = *((v0 + 2));
0x00001c64 jalr t9 | t9 ();
0x00001c68 lw gp, 0x28(sp) | gp = *(var_28h);
0x00001c6c lw t9, -0x7ee4(gp) | t9 = sym.imp.get_debug_level;
0x00001c70 sw v0, 0x20(s1) | *((s1 + 8)) = v0;
0x00001c74 jalr t9 | t9 ();
0x00001c78 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x00001c7c bnez v0, 0x2624 | goto label_32;
| }
| label_10:
0x00001c80 lw v0, -0x7ff0(s2) | v0 = *((s2 - 8188));
0x00001c84 slti v0, v0, 0x2001 | v0 = (v0 < 0x2001) ? 1 : 0;
0x00001c88 lw s6, -0x7ed4(gp) | s6 = *((gp - 8117));
| if (v0 == 0) {
0x00001c8c beqz v0, 0x25a8 | goto label_33;
| }
| label_9:
0x00001c90 lw t9, -0x7fa8(gp) | t9 = sym.init_file_reader;
0x00001c94 lw a0, 0x10(s1) | a0 = *((s1 + 4));
0x00001c98 bal 0x360c | sym_init_file_reader ();
0x00001c9c lw gp, 0x28(sp) | gp = *(var_28h);
0x00001ca0 lw v1, -0x7fdc(gp) | v1 = *((gp - 8183));
0x00001ca4 sw v0, -0x7b88(v1) | *((v1 - 7906)) = v0;
| if (v0 < 0) {
0x00001ca8 bltz v0, 0x26a8 | goto label_34;
| }
0x00001cac lw t9, -0x7eb8(gp) | t9 = sym.imp.g_mutex_new;
0x00001cb0 lw s3, -0x7fdc(gp) | s3 = *((gp - 8183));
0x00001cb4 jalr t9 | t9 ();
0x00001cb8 nop |
0x00001cbc lw gp, 0x28(sp) | gp = *(var_28h);
0x00001cc0 sw v0, -0x7ba0(s3) | *((s3 - 7912)) = v0;
| if (s0 == 0) {
0x00001cc4 beqz s0, 0x2848 | goto label_35;
| }
0x00001cc8 lw a3, 4(s0) | a3 = *((s0 + 1));
0x00001ccc lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
| if (a3 == 0) {
0x00001cd0 beqz a3, 0x1d24 | goto label_36;
| }
0x00001cd4 move s5, zero | s5 = 0;
0x00001cd8 lw v0, (s0) | v0 = *(s0);
| do {
0x00001cdc sll v1, s5, 2 | v1 = s5 << 2;
0x00001ce0 lwx v0, v1(v0) | __asm ("lwx v0, v1(v0)");
| if (v0 != 0) {
0x00001ce4 beql v0, zero, 0x1d14 |
0x00001ce8 addiu s5, s5, 1 | s5++;
0x00001cec lw v1, 0x18(v0) | v1 = *((v0 + 6));
| if (v1 == 0) {
0x00001cf0 beql v1, zero, 0x1d14 | goto label_37;
| }
0x00001cf4 addiu s5, s5, 1 | s5++;
0x00001cf8 lw t9, 0x1c(v0) | t9 = *((v0 + 7));
0x00001cfc jalr t9 | t9 ();
0x00001d00 nop |
0x00001d04 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x00001d08 bnez v0, 0x2810 | goto label_38;
| }
0x00001d0c lw a3, 4(s0) | a3 = *((s0 + 1));
0x00001d10 addiu s5, s5, 1 | s5++;
| }
| label_37:
0x00001d14 sltu v0, s5, a3 | v0 = (s5 < a3) ? 1 : 0;
0x00001d18 lw v0, (s0) | v0 = *(s0);
0x00001d1c bnel v0, zero, 0x1cdc |
| } while (v0 == 0);
0x00001d20 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
| label_36:
0x00001d24 lw a1, -0x7b74(v0) | a1 = *((v0 - 7901));
0x00001d28 move a0, zero | a0 = 0;
| if (a1 != 0) {
0x00001d2c beqz a1, 0x1d44 |
| label_14:
0x00001d30 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001d34 lw v0, -0x7b70(v0) | v0 = *((v0 - 7900));
0x00001d38 move a0, a1 | a0 = a1;
| if (v0 != 0) {
0x00001d3c bnez v0, 0x26a0 | goto label_15;
| }
0x00001d40 addiu a1, zero, 1 | a1 = 1;
| }
| label_11:
0x00001d44 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001d48 lw t9, -0x7fa4(gp) | t9 = sym.prepare_log_line_template;
0x00001d4c lw a2, -0x7ff0(s2) | a2 = *((s2 - 8188));
0x00001d50 lw a3, -0x7b6c(v0) | a3 = *((v0 - 7899));
0x00001d54 bal 0x4720 | sym_prepare_log_line_template ();
0x00001d58 lw gp, 0x28(sp) | gp = *(var_28h);
0x00001d5c lw a0, 0x10(s1) | a0 = *((s1 + 4));
0x00001d60 lw t9, -0x7f1c(gp) | t9 = sym.imp.g_malloc0;
0x00001d64 sll a0, a0, 3 | a0 <<= 3;
0x00001d68 jalr t9 | t9 ();
0x00001d6c lw gp, 0x28(sp) | gp = *(var_28h);
0x00001d70 lw a0, 0x10(s1) | a0 = *((s1 + 4));
0x00001d74 lw s5, -0x7fdc(gp) | s5 = *((gp - 8183));
0x00001d78 lw t9, -0x7f1c(gp) | t9 = sym.imp.g_malloc0;
0x00001d7c sll a0, a0, 3 | a0 <<= 3;
0x00001d80 sw v0, -0x7b98(s5) | *((s5 - 7910)) = v0;
0x00001d84 jalr t9 | t9 ();
0x00001d88 lw gp, 0x28(sp) | gp = *(var_28h);
0x00001d8c lw v1, -0x7fdc(gp) | v1 = *((gp - 8183));
0x00001d90 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00001d94 lw v1, -0x7b7c(v1) | v1 = *((v1 - 7903));
0x00001d98 sw a0, 0x30(sp) | *(var_30h) = a0;
0x00001d9c sw v0, -0x7b9c(a0) | *((a0 - 7911)) = v0;
| if (v1 != 0) {
0x00001da0 bnez v1, 0x2794 | goto label_39;
| }
| label_12:
0x00001da4 lw a3, 4(s0) | a3 = *((s0 + 1));
| label_13:
0x00001da8 move fp, zero | fp = 0;
| if (a3 == 0) {
0x00001dac beqz a3, 0x2720 | goto label_40;
| }
0x00001db0 move s7, zero | s7 = 0;
0x00001db4 move fp, zero | fp = 0;
0x00001db8 lw v0, (s0) | v0 = *(s0);
| do {
0x00001dbc sll v1, s7, 2 | v1 = s7 << 2;
0x00001dc0 lwx v0, v1(v0) | __asm ("lwx v0, v1(v0)");
| if (v0 != 0) {
0x00001dc4 beql v0, zero, 0x1dec |
0x00001dc8 addiu s7, s7, 1 | s7++;
0x00001dcc lw t9, 0x1c(v0) | t9 = *((v0 + 7));
0x00001dd0 jalr t9 | t9 ();
0x00001dd4 nop |
0x00001dd8 lw gp, 0x28(sp) | gp = *(var_28h);
0x00001ddc lw a3, 4(s0) | a3 = *((s0 + 1));
| if (v0 != 0) {
0x00001de0 beqz v0, 0x1de8 |
0x00001de4 addiu fp, fp, 1 | fp++;
| }
0x00001de8 addiu s7, s7, 1 | s7++;
| }
0x00001dec sltu v0, s7, a3 | v0 = (s7 < a3) ? 1 : 0;
0x00001df0 lw v0, (s0) | v0 = *(s0);
0x00001df4 bnel v0, zero, 0x1dbc |
| } while (v0 == 0);
0x00001df8 addiu v0, zero, 1 | v0 = 1;
0x00001dfc lw s2, -0x7ed4(gp) | s2 = *((gp - 8117));
| if (fp == v0) {
0x00001e00 bnel fp, v0, 0x2724 | goto label_41;
| }
0x00001e04 move fp, zero | fp = 0;
| if (a3 == 0) {
0x00001e08 beqz a3, 0x1e54 | goto label_16;
| }
0x00001e0c lw s7, (s0) | s7 = *(s0);
| do {
0x00001e10 sll v0, fp, 2 | v0 = fp << 2;
0x00001e14 lwx s7, v0(s7) | __asm ("lwx s7, v0(s7)");
| if (s7 != 0) {
0x00001e18 beql s7, zero, 0x1e48 |
0x00001e1c addiu fp, fp, 1 | fp++;
0x00001e20 lw v0, 0x10(s7) | v0 = *((s7 + 4));
| if (v0 == 0) {
0x00001e24 beql v0, zero, 0x1e48 | goto label_42;
| }
0x00001e28 addiu fp, fp, 1 | fp++;
0x00001e2c lw t9, 0x1c(s7) | t9 = *((s7 + 7));
0x00001e30 jalr t9 | t9 ();
0x00001e34 nop |
0x00001e38 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x00001e3c bnez v0, 0x2834 | goto label_43;
| }
0x00001e40 lw a3, 4(s0) | a3 = *((s0 + 1));
0x00001e44 addiu fp, fp, 1 | fp++;
| }
| label_42:
0x00001e48 sltu v0, fp, a3 | v0 = (fp < a3) ? 1 : 0;
0x00001e4c lw s7, (s0) | s7 = *(s0);
0x00001e50 bnel v0, zero, 0x1e10 |
| } while (v0 == 0);
| label_16:
0x00001e54 lw t9, -0x7fd0(gp) | t9 = *((gp - 8180));
0x00001e58 addiu t9, t9, 0x30f0 | t9 += fcn.000030f0;
0x00001e5c move a0, s0 | a0 = s0;
0x00001e60 bal 0x30f0 | fcn_000030f0 ();
0x00001e64 lw a3, 4(s0) | a3 = *((s0 + 1));
0x00001e68 lw gp, 0x28(sp) | gp = *(var_28h);
0x00001e6c move s6, zero | s6 = 0;
| if (a3 == 0) {
0x00001e70 beqz a3, 0x250c | goto label_44;
| }
0x00001e74 lw fp, -0x7fd0(gp) | fp = *((gp - 8180));
0x00001e78 lw s7, -0x7f2c(gp) | s7 = *((gp - 8139));
0x00001e7c addiu v0, fp, 0x67e4 | v0 = fp + str..._syslog_ng_3.19.1_tests_loggen_loggen.c;
0x00001e80 sw v0, 0x38(sp) | *(var_38h) = v0;
0x00001e84 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00001e88 addiu v0, v0, 0x7070 | v0 += str.stop_plugins;
0x00001e8c sw v0, 0x3c(sp) | *(var_3ch) = v0;
0x00001e90 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00001e94 sw v0, 0x40(sp) | *(var_40h) = v0;
0x00001e98 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00001e9c addiu v0, v0, 0x6cbc | v0 += str.stop_plugin___s:_d__n;
0x00001ea0 sw v0, 0x44(sp) | *(var_44h) = v0;
0x00001ea4 b 0x1ed4 | goto label_45;
| label_1:
0x00001ea8 lw t9, 0xc(fp) | t9 = *(arg_ch);
| if (t9 == 0) {
0x00001eac beql t9, zero, 0x1ec4 | goto label_46;
| }
0x00001eb0 lw a3, 4(s0) | a3 = *((s0 + 1));
0x00001eb4 addiu a0, s2, -0x7ff0 | a0 = s2 + -0x7ff0;
0x00001eb8 jalr t9 | t9 ();
0x00001ebc lw gp, 0x28(sp) | gp = *(var_28h);
0x00001ec0 lw a3, 4(s0) | a3 = *((s0 + 1));
| do {
| label_46:
0x00001ec4 addiu s6, s6, 1 | s6++;
0x00001ec8 sltu v0, s6, a3 | v0 = (s6 < a3) ? 1 : 0;
0x00001ecc lw t9, -0x7ee4(gp) | t9 = sym.imp.get_debug_level;
| if (v0 == 0) {
0x00001ed0 beqz v0, 0x2510 | goto label_47;
| }
| label_45:
0x00001ed4 lw v1, (s0) | v1 = *(s0);
0x00001ed8 sll v0, s6, 2 | v0 = s6 << 2;
0x00001edc lwx fp, v0(v1) | __asm ("lwx fp, v0(v1)");
0x00001ee0 lw t9, -0x7ee4(gp) | t9 = sym.imp.get_debug_level;
0x00001ee4 beqz fp, 0x1ec4 |
| } while (fp == 0);
0x00001ee8 jalr t9 | t9 ();
0x00001eec nop |
0x00001ef0 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == 0) {
0x00001ef4 beqz v0, 0x1ea8 | goto label_1;
| }
0x00001ef8 lw t1, (s7) | t1 = *(s7);
0x00001efc lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x00001f00 lw a0, 0x38(sp) | a0 = *(var_38h);
0x00001f04 sw t1, 0x34(sp) | *(var_34h) = t1;
0x00001f08 jalr t9 | t9 ();
0x00001f0c move a3, v0 | a3 = v0;
0x00001f10 lw v0, 0x40(sp) | v0 = *(var_40h);
0x00001f14 lw gp, 0x28(sp) | gp = *(var_28h);
0x00001f18 addiu a2, v0, 0x697c | a2 = v0 + str.debug___s:_s:_d__;
0x00001f1c addiu v0, zero, 0xda | v0 = 0xda;
0x00001f20 lw t1, 0x34(sp) | t1 = *(var_34h);
0x00001f24 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00001f28 lw v0, 0x3c(sp) | v0 = *(var_3ch);
0x00001f2c lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00001f30 move a0, t1 | a0 = t1;
0x00001f34 addiu a1, zero, 1 | a1 = 1;
0x00001f38 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00001f3c jalr t9 | t9 ();
0x00001f40 lw gp, 0x28(sp) | gp = *(var_28h);
0x00001f44 lw a3, (fp) | a3 = *(fp);
0x00001f48 lw a0, (s7) | a0 = *(s7);
0x00001f4c lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00001f50 lw a2, 0x44(sp) | a2 = *(var_44h);
0x00001f54 sw s6, 0x10(sp) | *(var_10h) = s6;
0x00001f58 addiu a1, zero, 1 | a1 = 1;
0x00001f5c jalr t9 | t9 ();
0x00001f60 lw gp, 0x28(sp) | gp = *(var_28h);
0x00001f64 b 0x1ea8 | goto label_1;
| label_23:
0x00001f68 lw s6, -0x7ed4(gp) | s6 = *((gp - 8117));
0x00001f6c lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x00001f70 lw a0, 0x34(sp) | a0 = *(var_34h);
0x00001f74 lw v1, (s6) | v1 = *(s6);
0x00001f78 sw v1, 0x38(sp) | *(var_38h) = v1;
0x00001f7c jalr t9 | t9 ();
0x00001f80 lw gp, 0x28(sp) | gp = *(var_28h);
0x00001f84 lw v1, 0x38(sp) | v1 = *(var_38h);
0x00001f88 move a3, v0 | a3 = v0;
0x00001f8c lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00001f90 addiu v0, zero, 0xa4 | v0 = 0xa4;
0x00001f94 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00001f98 move a0, v1 | a0 = v1;
0x00001f9c addiu a2, a2, 0x6810 | a2 += str.error___s:_s:_d__;
0x00001fa0 addiu a1, zero, 1 | a1 = 1;
0x00001fa4 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00001fa8 sw s7, 0x10(sp) | *(var_10h) = s7;
0x00001fac jalr t9 | t9 ();
0x00001fb0 lw gp, 0x28(sp) | gp = *(var_28h);
0x00001fb4 lw t9, -0x7f48(gp) | t9 = sym.imp.g_module_error;
0x00001fb8 lw s6, (s6) | s6 = *(s6);
0x00001fbc jalr t9 | t9 ();
0x00001fc0 lw gp, 0x28(sp) | gp = *(var_28h);
0x00001fc4 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00001fc8 move a3, s1 | a3 = s1;
0x00001fcc lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00001fd0 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00001fd4 addiu a2, a2, 0x69b8 | a2 += str.error_opening_plugin_module__s___s__n;
0x00001fd8 addiu a1, zero, 1 | a1 = 1;
0x00001fdc move a0, s6 | a0 = s6;
0x00001fe0 jalr t9 | t9 ();
0x00001fe4 lw gp, 0x28(sp) | gp = *(var_28h);
0x00001fe8 b 0x1970 | goto label_0;
| label_24:
0x00001fec lw t9, -0x7ee4(gp) | t9 = sym.imp.get_debug_level;
0x00001ff0 jalr t9 | t9 ();
0x00001ff4 nop |
0x00001ff8 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x00001ffc bnez v0, 0x23cc | goto label_48;
| }
| label_7:
0x00002000 lw t9, -0x7e84(gp) | t9 = sym.imp.g_module_close;
0x00002004 move a0, s6 | a0 = s6;
0x00002008 jalr t9 | t9 ();
0x0000200c lw gp, 0x28(sp) | gp = *(var_28h);
0x00002010 b 0x1970 | goto label_0;
| label_28:
0x00002014 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x00002018 lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x0000201c addiu a0, a0, 0x67e4 | a0 += str..._syslog_ng_3.19.1_tests_loggen_loggen.c;
0x00002020 lw s1, (s6) | s1 = *(s6);
0x00002024 jalr t9 | t9 ();
0x00002028 lw gp, 0x28(sp) | gp = *(var_28h);
0x0000202c move a3, v0 | a3 = v0;
0x00002030 addiu v0, zero, 0xc8 | v0 = 0xc8;
0x00002034 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00002038 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x0000203c lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00002040 addiu v0, v0, 0x7090 | v0 += str.enumerate_plugins;
0x00002044 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00002048 addiu a2, a2, 0x6810 | a2 += str.error___s:_s:_d__;
0x0000204c addiu a1, zero, 1 | a1 = 1;
0x00002050 move a0, s1 | a0 = s1;
0x00002054 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00002058 jalr t9 | t9 ();
0x0000205c lw gp, 0x28(sp) | gp = *(var_28h);
0x00002060 lw a0, (s6) | a0 = *(s6);
0x00002064 addiu a3, s3, 0x6930 | a3 = s3 + str._usr_lib_syslog_ng_loggen;
0x00002068 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x0000206c lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00002070 addiu a2, a2, 0x6ab4 | a2 += str.no_loggen_plugin_found_in__s_n;
0x00002074 addiu a1, zero, 1 | a1 = 1;
0x00002078 jalr t9 | t9 ();
0x0000207c lw gp, 0x28(sp) | gp = *(var_28h);
0x00002080 lw a3, 4(s0) | a3 = *((s0 + 1));
0x00002084 b 0x1b80 | goto label_2;
| label_31:
0x00002088 lw s1, -0x7ed4(gp) | s1 = *((gp - 8117));
0x0000208c lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x00002090 lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x00002094 addiu a0, a0, 0x67e4 | a0 += str..._syslog_ng_3.19.1_tests_loggen_loggen.c;
0x00002098 lw s2, (s1) | s2 = *(s1);
0x0000209c jalr t9 | t9 ();
0x000020a0 lw gp, 0x28(sp) | gp = *(var_28h);
0x000020a4 move a3, v0 | a3 = v0;
0x000020a8 addiu v0, zero, 0x1c6 | v0 = 0x1c6;
0x000020ac sw v0, 0x14(sp) | *(var_14h) = v0;
0x000020b0 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x000020b4 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x000020b8 addiu v0, v0, 0x70bc | v0 += str.main;
0x000020bc lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x000020c0 addiu a2, a2, 0x6810 | a2 += str.error___s:_s:_d__;
0x000020c4 addiu a1, zero, 1 | a1 = 1;
0x000020c8 move a0, s2 | a0 = s2;
0x000020cc sw v0, 0x10(sp) | *(var_10h) = v0;
0x000020d0 jalr t9 | t9 ();
0x000020d4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000020d8 lw a3, (s1) | a3 = *(s1);
0x000020dc addiu a2, zero, 0x28 | a2 = 0x28;
0x000020e0 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x000020e4 lw t9, -0x7f00(gp) | t9 = sym.imp.fwrite;
0x000020e8 addiu a1, zero, 1 | a1 = 1;
0x000020ec addiu a0, a0, 0x6b1c | a0 += str.please_specify_target_and_port_at_least_n;
0x000020f0 jalr t9 | t9 ();
0x000020f4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000020f8 addiu a1, zero, 1 | a1 = 1;
0x000020fc lw t9, -0x7ec4(gp) | t9 = sym.imp.g_ptr_array_free;
0x00002100 move a0, s0 | a0 = s0;
0x00002104 jalr t9 | t9 ();
0x00002108 lw gp, 0x28(sp) | gp = *(var_28h);
0x0000210c addiu v0, zero, 1 | v0 = 1;
| label_3:
0x00002110 lw a0, 0x5c(sp) | a0 = *(var_5ch);
0x00002114 lw v1, (s4) | v1 = *(s4);
0x00002118 lw ra, 0x84(sp) | ra = *(var_84h);
| if (a0 != v1) {
0x0000211c bne a0, v1, 0x299c | goto label_49;
| }
0x00002120 lw fp, 0x80(sp) | fp = *(var_80h);
0x00002124 lw s7, 0x7c(sp) | s7 = *(var_7ch);
0x00002128 lw s6, 0x78(sp) | s6 = *(var_78h);
0x0000212c lw s5, 0x74(sp) | s5 = *(var_74h);
0x00002130 lw s4, 0x70(sp) | s4 = *(var_70h);
0x00002134 lw s3, 0x6c(sp) | s3 = *(var_6ch);
0x00002138 lw s2, 0x68(sp) | s2 = *(var_68h);
0x0000213c lw s1, 0x64(sp) | s1 = *(var_64h);
0x00002140 lw s0, 0x60(sp) | s0 = *(var_60h);
0x00002144 addiu sp, sp, 0x88 |
0x00002148 jr ra | return v0;
| label_26:
0x0000214c lw t9, -0x7ee4(gp) | t9 = sym.imp.get_debug_level;
0x00002150 jalr t9 | t9 ();
0x00002154 nop |
0x00002158 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == 0) {
0x0000215c beqz v0, 0x1970 | goto label_0;
| }
0x00002160 lw s1, -0x7f2c(gp) | s1 = *((gp - 8139));
0x00002164 lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x00002168 lw a0, 0x34(sp) | a0 = *(var_34h);
0x0000216c lw s6, (s1) | s6 = *(s1);
0x00002170 jalr t9 | t9 ();
0x00002174 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002178 move a3, v0 | a3 = v0;
0x0000217c lw v0, 0x50(sp) | v0 = *(var_50h);
0x00002180 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00002184 addiu a2, v0, 0x697c | a2 = v0 + str.debug___s:_s:_d__;
0x00002188 addiu v0, zero, 0xb3 | v0 = 0xb3;
0x0000218c addiu a1, zero, 1 | a1 = 1;
0x00002190 move a0, s6 | a0 = s6;
0x00002194 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00002198 sw s7, 0x10(sp) | *(var_10h) = s7;
0x0000219c jalr t9 | t9 ();
0x000021a0 lw gp, 0x28(sp) | gp = *(var_28h);
0x000021a4 lw v0, 0x58(sp) | v0 = *(var_58h);
0x000021a8 lw a0, (s1) | a0 = *(s1);
0x000021ac lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x000021b0 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x000021b4 lw a3, (v0) | a3 = *(v0);
0x000021b8 addiu a2, a2, 0x6a24 | a2 += str.plugin__s_was_already_loaded._skip_it_n;
0x000021bc addiu a1, zero, 1 | a1 = 1;
0x000021c0 jalr t9 | t9 ();
0x000021c4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000021c8 b 0x1970 | goto label_0;
| label_30:
0x000021cc lw s1, -0x7ed4(gp) | s1 = *((gp - 8117));
0x000021d0 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x000021d4 lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x000021d8 addiu a0, a0, 0x67e4 | a0 += str..._syslog_ng_3.19.1_tests_loggen_loggen.c;
0x000021dc lw s2, (s1) | s2 = *(s1);
0x000021e0 jalr t9 | t9 ();
0x000021e4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000021e8 move a3, v0 | a3 = v0;
0x000021ec addiu v0, zero, 0x1ba | v0 = 0x1ba;
0x000021f0 sw v0, 0x14(sp) | *(var_14h) = v0;
0x000021f4 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x000021f8 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x000021fc addiu v0, v0, 0x70bc | v0 += str.main;
0x00002200 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00002204 addiu a2, a2, 0x6810 | a2 += str.error___s:_s:_d__;
0x00002208 addiu a1, zero, 1 | a1 = 1;
0x0000220c move a0, s2 | a0 = s2;
0x00002210 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00002214 jalr t9 | t9 ();
0x00002218 lw gp, 0x28(sp) | gp = *(var_28h);
0x0000221c lw v0, 0x58(sp) | v0 = *(var_58h);
0x00002220 lw a0, (s1) | a0 = *(s1);
0x00002224 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00002228 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x0000222c lw a3, 8(v0) | a3 = *((v0 + 2));
0x00002230 addiu a2, a2, 0x6b00 | a2 += str.option_parsing_failed:__s_n;
0x00002234 addiu a1, zero, 1 | a1 = 1;
0x00002238 jalr t9 | t9 ();
0x0000223c lw gp, 0x28(sp) | gp = *(var_28h);
0x00002240 move a0, s0 | a0 = s0;
0x00002244 lw t9, -0x7ec4(gp) | t9 = sym.imp.g_ptr_array_free;
0x00002248 addiu a1, zero, 1 | a1 = 1;
0x0000224c jalr t9 | t9 ();
0x00002250 lw a0, 0x58(sp) | a0 = *(var_58h);
0x00002254 lw gp, 0x28(sp) | gp = *(var_28h);
| if (a0 != 0) {
0x00002258 beqz a0, 0x245c |
0x0000225c lw t9, -0x7f50(gp) | t9 = sym.imp.g_error_free;
0x00002260 jalr t9 | t9 ();
0x00002264 nop |
0x00002268 lw gp, 0x28(sp) | gp = *(var_28h);
0x0000226c addiu v0, zero, 1 | v0 = 1;
0x00002270 b 0x2110 | goto label_3;
| label_29:
0x00002274 lw s3, -0x7f2c(gp) | s3 = *((gp - 8139));
0x00002278 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x0000227c lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x00002280 addiu a0, a0, 0x67e4 | a0 += str..._syslog_ng_3.19.1_tests_loggen_loggen.c;
0x00002284 lw s5, (s3) | s5 = *(s3);
0x00002288 jalr t9 | t9 ();
0x0000228c lw gp, 0x28(sp) | gp = *(var_28h);
0x00002290 move a3, v0 | a3 = v0;
0x00002294 addiu v0, zero, 0x1b0 | v0 = 0x1b0;
0x00002298 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0000229c lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x000022a0 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x000022a4 addiu v0, v0, 0x70bc | v0 += str.main;
0x000022a8 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x000022ac addiu a2, a2, 0x697c | a2 += str.debug___s:_s:_d__;
0x000022b0 addiu a1, zero, 1 | a1 = 1;
0x000022b4 move a0, s5 | a0 = s5;
0x000022b8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000022bc jalr t9 | t9 ();
0x000022c0 lw gp, 0x28(sp) | gp = *(var_28h);
0x000022c4 lw a0, (s3) | a0 = *(s3);
0x000022c8 move a3, s1 | a3 = s1;
0x000022cc lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x000022d0 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x000022d4 addiu a2, a2, 0x6ad4 | a2 += str._d_plugin_successfuly_loaded_n;
0x000022d8 addiu a1, zero, 1 | a1 = 1;
0x000022dc jalr t9 | t9 ();
0x000022e0 lw gp, 0x28(sp) | gp = *(var_28h);
0x000022e4 b 0x1b98 | goto label_4;
| label_27:
0x000022e8 lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x000022ec lw a0, 0x34(sp) | a0 = *(var_34h);
0x000022f0 lw v1, (s6) | v1 = *(s6);
0x000022f4 sw v1, 0x38(sp) | *(var_38h) = v1;
0x000022f8 jalr t9 | t9 ();
0x000022fc lw gp, 0x28(sp) | gp = *(var_28h);
0x00002300 lw v1, 0x38(sp) | v1 = *(var_38h);
0x00002304 move a3, v0 | a3 = v0;
0x00002308 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x0000230c lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00002310 addiu v0, zero, 0xba | v0 = 0xba;
0x00002314 move a0, v1 | a0 = v1;
0x00002318 addiu a2, a2, 0x6810 | a2 += str.error___s:_s:_d__;
0x0000231c addiu a1, zero, 1 | a1 = 1;
0x00002320 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00002324 sw s7, 0x10(sp) | *(var_10h) = s7;
0x00002328 jalr t9 | t9 ();
0x0000232c lw gp, 0x28(sp) | gp = *(var_28h);
0x00002330 lw v0, 0x58(sp) | v0 = *(var_58h);
0x00002334 lw a0, (s6) | a0 = *(s6);
0x00002338 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x0000233c lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00002340 lw a3, (v0) | a3 = *(v0);
0x00002344 addiu a2, a2, 0x6a4c | a2 += str.plugin___s__doesnt_have_set_generate_message_function_n;
0x00002348 addiu a1, zero, 1 | a1 = 1;
0x0000234c jalr t9 | t9 ();
0x00002350 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002354 b 0x1a74 | goto label_5;
| label_21:
0x00002358 lw s1, -0x7f2c(gp) | s1 = *((gp - 8139));
0x0000235c lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x00002360 lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x00002364 addiu a0, a0, 0x67e4 | a0 += str..._syslog_ng_3.19.1_tests_loggen_loggen.c;
0x00002368 lw s6, (s1) | s6 = *(s1);
0x0000236c jalr t9 | t9 ();
0x00002370 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002374 move a3, v0 | a3 = v0;
0x00002378 addiu v0, zero, 0x95 | v0 = 0x95;
0x0000237c sw v0, 0x14(sp) | *(var_14h) = v0;
0x00002380 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00002384 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00002388 addiu v0, v0, 0x7090 | v0 += str.enumerate_plugins;
0x0000238c lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00002390 addiu a2, a2, 0x697c | a2 += str.debug___s:_s:_d__;
0x00002394 addiu a1, zero, 1 | a1 = 1;
0x00002398 move a0, s6 | a0 = s6;
0x0000239c sw v0, 0x10(sp) | *(var_10h) = v0;
0x000023a0 jalr t9 | t9 ();
0x000023a4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000023a8 lw a0, (s1) | a0 = *(s1);
0x000023ac addiu a3, s3, 0x6930 | a3 = s3 + str._usr_lib_syslog_ng_loggen;
0x000023b0 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x000023b4 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x000023b8 addiu a2, a2, 0x6990 | a2 += str.search_for_plugins_in_directory__s_n;
0x000023bc addiu a1, zero, 1 | a1 = 1;
0x000023c0 jalr t9 | t9 ();
0x000023c4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000023c8 b 0x1918 | goto label_6;
| label_48:
0x000023cc lw v1, -0x7f2c(gp) | v1 = *((gp - 8139));
0x000023d0 lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x000023d4 lw a0, 0x34(sp) | a0 = *(var_34h);
0x000023d8 lw t0, (v1) | t0 = *(v1);
0x000023dc sw v1, 0x3c(sp) | *(var_3ch) = v1;
0x000023e0 sw t0, 0x38(sp) | *(var_38h) = t0;
0x000023e4 jalr t9 | t9 ();
0x000023e8 lw gp, 0x28(sp) | gp = *(var_28h);
0x000023ec move a3, v0 | a3 = v0;
0x000023f0 lw v0, 0x50(sp) | v0 = *(var_50h);
0x000023f4 lw t0, 0x38(sp) | t0 = *(var_38h);
0x000023f8 addiu a2, v0, 0x697c | a2 = v0 + str.debug___s:_s:_d__;
0x000023fc addiu v0, zero, 0xac | v0 = 0xac;
0x00002400 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00002404 move a0, t0 | a0 = t0;
0x00002408 addiu a1, zero, 1 | a1 = 1;
0x0000240c sw v0, 0x14(sp) | *(var_14h) = v0;
0x00002410 sw s7, 0x10(sp) | *(var_10h) = s7;
0x00002414 jalr t9 | t9 ();
0x00002418 lw v1, 0x3c(sp) | v1 = *(var_3ch);
0x0000241c lw gp, 0x28(sp) | gp = *(var_28h);
0x00002420 lw a0, (v1) | a0 = *(v1);
0x00002424 lw t9, -0x7f48(gp) | t9 = sym.imp.g_module_error;
0x00002428 sw a0, 0x38(sp) | *(var_38h) = a0;
0x0000242c jalr t9 | t9 ();
0x00002430 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002434 lw a0, 0x38(sp) | a0 = *(var_38h);
0x00002438 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000243c lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00002440 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00002444 move a3, s1 | a3 = s1;
0x00002448 addiu a2, a2, 0x69f4 | a2 += str._s_isnt_a_plugin_for_loggen._skip_it.___s__n;
0x0000244c addiu a1, zero, 1 | a1 = 1;
0x00002450 jalr t9 | t9 ();
0x00002454 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002458 b 0x2000 | goto label_7;
| }
0x0000245c addiu v0, zero, 1 | v0 = 1;
0x00002460 b 0x2110 | goto label_3;
| label_20:
0x00002464 lw s6, -0x7ed4(gp) | s6 = *((gp - 8117));
0x00002468 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x0000246c lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x00002470 addiu a0, a0, 0x67e4 | a0 += str..._syslog_ng_3.19.1_tests_loggen_loggen.c;
0x00002474 lw s1, (s6) | s1 = *(s6);
0x00002478 jalr t9 | t9 ();
0x0000247c lw gp, 0x28(sp) | gp = *(var_28h);
0x00002480 move a3, v0 | a3 = v0;
0x00002484 addiu v0, zero, 0x91 | v0 = 0x91;
0x00002488 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0000248c lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00002490 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00002494 addiu v0, v0, 0x7090 | v0 += str.enumerate_plugins;
0x00002498 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x0000249c addiu a2, a2, 0x6810 | a2 += str.error___s:_s:_d__;
0x000024a0 addiu a1, zero, 1 | a1 = 1;
0x000024a4 move a0, s1 | a0 = s1;
0x000024a8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000024ac jalr t9 | t9 ();
0x000024b0 lw gp, 0x28(sp) | gp = *(var_28h);
0x000024b4 lw s5, (s6) | s5 = *(s6);
0x000024b8 lw t9, -0x7e50(gp) | t9 = sym.imp.__errno_location;
0x000024bc move s1, zero | s1 = 0;
0x000024c0 jalr t9 | t9 ();
0x000024c4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000024c8 lw t9, -0x7e5c(gp) | t9 = sym.imp.strerror;
0x000024cc lw a0, (v0) | a0 = *(v0);
0x000024d0 jalr t9 | t9 ();
0x000024d4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000024d8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000024dc addiu a3, s3, 0x6930 | a3 = s3 + str._usr_lib_syslog_ng_loggen;
0x000024e0 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x000024e4 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x000024e8 addiu a2, a2, 0x694c | a2 += str.unable_to_open_plugin_directory__s__err_s__n;
0x000024ec addiu a1, zero, 1 | a1 = 1;
0x000024f0 move a0, s5 | a0 = s5;
0x000024f4 jalr t9 | t9 ();
0x000024f8 lw gp, 0x28(sp) | gp = *(var_28h);
0x000024fc addiu v0, sp, 0x58 | v0 = sp + 0x58;
0x00002500 sw v0, 0x30(sp) | *(var_30h) = v0;
0x00002504 lw fp, -0x7fd0(gp) | fp = *((gp - 8180));
0x00002508 b 0x1b84 | goto label_8;
| label_44:
0x0000250c lw t9, -0x7ee4(gp) | t9 = sym.imp.get_debug_level;
| label_47:
0x00002510 jalr t9 | t9 ();
0x00002514 nop |
0x00002518 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x0000251c bnez v0, 0x2904 | goto label_50;
| }
| do {
| label_17:
0x00002520 lw t9, -0x7fa0(gp) | t9 = sym.close_file_reader;
0x00002524 lw a0, 0x10(s1) | a0 = *((s1 + 4));
0x00002528 bal 0x3964 | sym_close_file_reader ();
0x0000252c lw a0, -0x7ba0(s3) | a0 = *((s3 - 7912));
0x00002530 lw gp, 0x28(sp) | gp = *(var_28h);
| if (a0 != 0) {
0x00002534 beqz a0, 0x2548 |
0x00002538 lw t9, -0x7f40(gp) | t9 = sym.imp.g_mutex_free;
0x0000253c jalr t9 | t9 ();
0x00002540 nop |
0x00002544 lw gp, 0x28(sp) | gp = *(var_28h);
| }
0x00002548 lw t9, -0x7e54(gp) | t9 = sym.imp.g_free;
0x0000254c lw a0, 0x1c(s1) | a0 = *((s1 + 7));
0x00002550 jalr t9 | t9 ();
0x00002554 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002558 lw t9, -0x7e54(gp) | t9 = sym.imp.g_free;
0x0000255c lw a0, 0x20(s1) | a0 = *((s1 + 8));
0x00002560 jalr t9 | t9 ();
0x00002564 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002568 addiu a1, zero, 1 | a1 = 1;
0x0000256c lw t9, -0x7ec4(gp) | t9 = sym.imp.g_ptr_array_free;
0x00002570 move a0, s0 | a0 = s0;
0x00002574 jalr t9 | t9 ();
0x00002578 lw v0, 0x30(sp) | v0 = *(var_30h);
0x0000257c lw gp, 0x28(sp) | gp = *(var_28h);
0x00002580 lw t9, -0x7e54(gp) | t9 = sym.imp.g_free;
0x00002584 lw a0, -0x7b9c(v0) | a0 = *((v0 - 7911));
0x00002588 jalr t9 | t9 ();
0x0000258c lw gp, 0x28(sp) | gp = *(var_28h);
0x00002590 lw t9, -0x7e54(gp) | t9 = sym.imp.g_free;
0x00002594 lw a0, -0x7b98(s5) | a0 = *((s5 - 7910));
0x00002598 jalr t9 | t9 ();
0x0000259c lw gp, 0x28(sp) | gp = *(var_28h);
0x000025a0 move v0, zero | v0 = 0;
0x000025a4 b 0x2110 | goto label_3;
| label_33:
0x000025a8 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x000025ac lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x000025b0 addiu a0, a0, 0x67e4 | a0 += str..._syslog_ng_3.19.1_tests_loggen_loggen.c;
0x000025b4 lw s3, (s6) | s3 = *(s6);
0x000025b8 jalr t9 | t9 ();
0x000025bc lw gp, 0x28(sp) | gp = *(var_28h);
0x000025c0 move a3, v0 | a3 = v0;
0x000025c4 addiu v0, zero, 0x1d2 | v0 = 0x1d2;
0x000025c8 sw v0, 0x14(sp) | *(var_14h) = v0;
0x000025cc lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x000025d0 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x000025d4 addiu v0, v0, 0x70bc | v0 += str.main;
0x000025d8 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x000025dc move a0, s3 | a0 = s3;
0x000025e0 addiu a2, a2, 0x6810 | a2 += str.error___s:_s:_d__;
0x000025e4 addiu a1, zero, 1 | a1 = 1;
0x000025e8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000025ec jalr t9 | t9 ();
0x000025f0 lw gp, 0x28(sp) | gp = *(var_28h);
0x000025f4 addiu s3, zero, 0x2000 | s3 = 0x2000;
0x000025f8 lw a0, (s6) | a0 = *(s6);
0x000025fc lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00002600 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00002604 lw a3, -0x7ff0(s2) | a3 = *((s2 - 8188));
0x00002608 sw s3, 0x10(sp) | *(var_10h) = s3;
0x0000260c addiu a2, a2, 0x6b5c | a2 += str.warning:_defined_message_length___d__is_too_big._truncated_to___d__n;
0x00002610 addiu a1, zero, 1 | a1 = 1;
0x00002614 jalr t9 | t9 ();
0x00002618 lw gp, 0x28(sp) | gp = *(var_28h);
0x0000261c sw s3, -0x7ff0(s2) | *((s2 - 8188)) = s3;
0x00002620 b 0x1c90 | goto label_9;
| label_32:
0x00002624 lw s3, -0x7f2c(gp) | s3 = *((gp - 8139));
0x00002628 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x0000262c lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x00002630 addiu a0, a0, 0x67e4 | a0 += str..._syslog_ng_3.19.1_tests_loggen_loggen.c;
0x00002634 lw s5, (s3) | s5 = *(s3);
0x00002638 jalr t9 | t9 ();
0x0000263c lw gp, 0x28(sp) | gp = *(var_28h);
0x00002640 move a3, v0 | a3 = v0;
0x00002644 addiu v0, zero, 0x1cd | v0 = 0x1cd;
0x00002648 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0000264c lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00002650 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00002654 addiu v0, v0, 0x70bc | v0 += str.main;
0x00002658 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x0000265c addiu a2, a2, 0x697c | a2 += str.debug___s:_s:_d__;
0x00002660 addiu a1, zero, 1 | a1 = 1;
0x00002664 move a0, s5 | a0 = s5;
0x00002668 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000266c jalr t9 | t9 ();
0x00002670 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002674 lw v0, 0x20(s1) | v0 = *((s1 + 8));
0x00002678 lw a3, 0x1c(s1) | a3 = *((s1 + 7));
0x0000267c lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00002680 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00002684 lw a0, (s3) | a0 = *(s3);
0x00002688 addiu a2, a2, 0x6b48 | a2 += str.target_s_port_s_n;
0x0000268c sw v0, 0x10(sp) | *(var_10h) = v0;
0x00002690 addiu a1, zero, 1 | a1 = 1;
0x00002694 jalr t9 | t9 ();
0x00002698 lw gp, 0x28(sp) | gp = *(var_28h);
0x0000269c b 0x1c80 | goto label_10;
| label_15:
0x000026a0 move a1, zero | a1 = 0;
0x000026a4 b 0x1d44 | goto label_11;
| label_34:
0x000026a8 lw s0, -0x7ed4(gp) | s0 = *((gp - 8117));
0x000026ac lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x000026b0 lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x000026b4 addiu a0, a0, 0x67e4 | a0 += str..._syslog_ng_3.19.1_tests_loggen_loggen.c;
0x000026b8 lw s1, (s0) | s1 = *(s0);
0x000026bc jalr t9 | t9 ();
0x000026c0 lw gp, 0x28(sp) | gp = *(var_28h);
0x000026c4 move a3, v0 | a3 = v0;
0x000026c8 addiu v0, zero, 0x1d9 | v0 = 0x1d9;
0x000026cc sw v0, 0x14(sp) | *(var_14h) = v0;
0x000026d0 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x000026d4 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x000026d8 addiu v0, v0, 0x70bc | v0 += str.main;
0x000026dc lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x000026e0 addiu a2, a2, 0x6810 | a2 += str.error___s:_s:_d__;
0x000026e4 addiu a1, zero, 1 | a1 = 1;
0x000026e8 move a0, s1 | a0 = s1;
0x000026ec sw v0, 0x10(sp) | *(var_10h) = v0;
0x000026f0 jalr t9 | t9 ();
0x000026f4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000026f8 lw a3, (s0) | a3 = *(s0);
0x000026fc addiu a2, zero, 0x26 | a2 = 0x26;
0x00002700 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x00002704 lw t9, -0x7f00(gp) | t9 = sym.imp.fwrite;
0x00002708 addiu a1, zero, 1 | a1 = 1;
0x0000270c addiu a0, a0, 0x6ba0 | a0 += str.error_while_opening_input_file._exit._n;
0x00002710 jalr t9 | t9 ();
0x00002714 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002718 addiu v0, zero, 1 | v0 = 1;
0x0000271c b 0x2110 | goto label_3;
| label_40:
0x00002720 lw s2, -0x7ed4(gp) | s2 = *((gp - 8117));
| label_41:
0x00002724 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x00002728 lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x0000272c addiu a0, a0, 0x67e4 | a0 += str..._syslog_ng_3.19.1_tests_loggen_loggen.c;
0x00002730 lw s7, (s2) | s7 = *(s2);
0x00002734 jalr t9 | t9 ();
0x00002738 lw gp, 0x28(sp) | gp = *(var_28h);
0x0000273c move a3, v0 | a3 = v0;
0x00002740 addiu v0, zero, 0x12f | v0 = 0x12f;
0x00002744 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00002748 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x0000274c lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00002750 addiu v0, v0, 0x7080 | v0 += str.start_plugins;
0x00002754 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00002758 addiu a2, a2, 0x6810 | a2 += str.error___s:_s:_d__;
0x0000275c addiu a1, zero, 1 | a1 = 1;
0x00002760 move a0, s7 | a0 = s7;
0x00002764 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00002768 jalr t9 | t9 ();
0x0000276c lw gp, 0x28(sp) | gp = *(var_28h);
0x00002770 lw a0, (s2) | a0 = *(s2);
0x00002774 move a3, fp | a3 = fp;
0x00002778 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x0000277c lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00002780 addiu a2, a2, 0x6c20 | a2 += str._d_plugins_activated._You_should_activate_exactly_one_plugin_at_a_time._nDid_you_forget_to_add__S___nSee__loggen___help_all__for_available_plugin_options_n;
0x00002784 addiu a1, zero, 1 | a1 = 1;
0x00002788 jalr t9 | t9 ();
0x0000278c lw gp, 0x28(sp) | gp = *(var_28h);
0x00002790 b 0x2520 |
| } while (1);
| label_39:
0x00002794 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x00002798 lw t9, -0x7f34(gp) | t9 = sym.imp.puts;
0x0000279c addiu a0, a0, 0x6bc8 | a0 += str.ThreadId_Time_Rate_Count;
0x000027a0 jalr t9 | t9 ();
0x000027a4 lw v0, 0x10(s1) | v0 = *((s1 + 4));
0x000027a8 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 <= 0) {
0x000027ac blez v0, 0x1da4 | goto label_12;
| }
| label_18:
0x000027b0 lw s7, -0x7fd0(gp) | s7 = *((gp - 8180));
0x000027b4 lw s6, -0x7ed4(gp) | s6 = *((gp - 8117));
0x000027b8 move fp, zero | fp = 0;
0x000027bc addiu s7, s7, 0x6be4 | s7 += str._d__lu._06lu__.2lf__lu_n;
| do {
0x000027c0 lw a0, (s6) | a0 = *(s6);
0x000027c4 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x000027c8 move a3, fp | a3 = fp;
0x000027cc sw zero, 0x20(sp) | *(var_20h) = 0;
0x000027d0 sw zero, 0x18(sp) | *(var_18h_2) = 0;
0x000027d4 sw zero, 0x1c(sp) | *(var_1ch) = 0;
0x000027d8 sw zero, 0x14(sp) | *(var_14h) = 0;
0x000027dc sw zero, 0x10(sp) | *(var_10h) = 0;
0x000027e0 move a2, s7 | a2 = s7;
0x000027e4 addiu a1, zero, 1 | a1 = 1;
0x000027e8 jalr t9 | t9 ();
0x000027ec lw v0, 0x10(s1) | v0 = *((s1 + 4));
0x000027f0 addiu fp, fp, 1 | fp++;
0x000027f4 slt v0, fp, v0 | v0 = (fp < v0) ? 1 : 0;
0x000027f8 lw gp, 0x28(sp) | gp = *(var_28h);
0x000027fc bnez v0, 0x27c0 |
| } while (v0 != 0);
0x00002800 lw a3, 4(s0) | a3 = *((s0 + 1));
| if (s0 == 0) {
0x00002804 bnel s0, zero, 0x1da8 | goto label_13;
| }
0x00002808 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x0000280c b 0x2898 | goto label_51;
| label_38:
0x00002810 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00002814 lw a1, -0x7b74(v0) | a1 = *((v0 - 7901));
0x00002818 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
| if (a1 != 0) {
0x0000281c bnez a1, 0x1d30 | goto label_14;
| }
0x00002820 lw a0, -0x7b70(v0) | a0 = *((v0 - 7900));
0x00002824 move a0, a1 | a0 = a1;
| if (a0 == 0) {
0x00002828 bnel a0, zero, 0x26a0 | goto label_15;
| }
0x0000282c addiu a1, zero, 1 | a1 = 1;
0x00002830 b 0x1d44 | goto label_11;
| label_43:
0x00002834 lw t9, 0x10(s7) | t9 = *((s7 + 4));
0x00002838 addiu a0, s2, -0x7ff0 | a0 = s2 + -0x7ff0;
0x0000283c jalr t9 | t9 ();
0x00002840 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002844 b 0x1e54 | goto label_16;
| label_35:
0x00002848 lw a0, 0x10(s1) | a0 = *((s1 + 4));
0x0000284c lw t9, -0x7f1c(gp) | t9 = sym.imp.g_malloc0;
0x00002850 sll a0, a0, 3 | a0 <<= 3;
0x00002854 jalr t9 | t9 ();
0x00002858 lw gp, 0x28(sp) | gp = *(var_28h);
0x0000285c lw a0, 0x10(s1) | a0 = *((s1 + 4));
0x00002860 lw s5, -0x7fdc(gp) | s5 = *((gp - 8183));
0x00002864 lw t9, -0x7f1c(gp) | t9 = sym.imp.g_malloc0;
0x00002868 sll a0, a0, 3 | a0 <<= 3;
0x0000286c sw v0, -0x7b98(s5) | *((s5 - 7910)) = v0;
0x00002870 jalr t9 | t9 ();
0x00002874 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002878 lw v1, -0x7fdc(gp) | v1 = *((gp - 8183));
0x0000287c lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00002880 lw v1, -0x7b7c(v1) | v1 = *((v1 - 7903));
0x00002884 sw a0, 0x30(sp) | *(var_30h) = a0;
0x00002888 sw v0, -0x7b9c(a0) | *((a0 - 7911)) = v0;
| if (v1 == 0) {
0x0000288c bnez v1, 0x2978 |
0x00002890 lw s6, -0x7ed4(gp) | s6 = *((gp - 8117));
| label_19:
0x00002894 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
| label_51:
0x00002898 lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x0000289c addiu a0, a0, 0x67e4 | a0 += str..._syslog_ng_3.19.1_tests_loggen_loggen.c;
0x000028a0 lw s2, (s6) | s2 = *(s6);
0x000028a4 jalr t9 | t9 ();
0x000028a8 lw gp, 0x28(sp) | gp = *(var_28h);
0x000028ac move a3, v0 | a3 = v0;
0x000028b0 addiu v0, zero, 0x11c | v0 = 0x11c;
0x000028b4 sw v0, 0x14(sp) | *(var_14h) = v0;
0x000028b8 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x000028bc lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x000028c0 addiu v0, v0, 0x7080 | v0 += str.start_plugins;
0x000028c4 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x000028c8 addiu a2, a2, 0x6810 | a2 += str.error___s:_s:_d__;
0x000028cc addiu a1, zero, 1 | a1 = 1;
0x000028d0 move a0, s2 | a0 = s2;
0x000028d4 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000028d8 jalr t9 | t9 ();
0x000028dc lw gp, 0x28(sp) | gp = *(var_28h);
0x000028e0 lw a3, (s6) | a3 = *(s6);
0x000028e4 addiu a2, zero, 0x23 | a2 = 0x23;
0x000028e8 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x000028ec lw t9, -0x7f00(gp) | t9 = sym.imp.fwrite;
0x000028f0 addiu a1, zero, 1 | a1 = 1;
0x000028f4 addiu a0, a0, 0x6bfc | a0 += str.invalid_reference_for_plugin_array_n;
0x000028f8 jalr t9 | t9 ();
0x000028fc lw gp, 0x28(sp) | gp = *(var_28h);
0x00002900 b 0x2520 | goto label_17;
| label_50:
0x00002904 lw s2, -0x7f2c(gp) | s2 = *((gp - 8139));
0x00002908 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x0000290c lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x00002910 addiu a0, a0, 0x67e4 | a0 += str..._syslog_ng_3.19.1_tests_loggen_loggen.c;
0x00002914 lw s7, (s2) | s7 = *(s2);
0x00002918 jalr t9 | t9 ();
0x0000291c lw gp, 0x28(sp) | gp = *(var_28h);
0x00002920 move a3, v0 | a3 = v0;
0x00002924 addiu v0, zero, 0xdf | v0 = 0xdf;
0x00002928 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0000292c lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00002930 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00002934 addiu v0, v0, 0x7070 | v0 += str.stop_plugins;
0x00002938 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x0000293c addiu a2, a2, 0x697c | a2 += str.debug___s:_s:_d__;
0x00002940 addiu a1, zero, 1 | a1 = 1;
0x00002944 move a0, s7 | a0 = s7;
0x00002948 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000294c jalr t9 | t9 ();
0x00002950 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002954 lw a3, (s2) | a3 = *(s2);
0x00002958 addiu a2, zero, 0x1d | a2 = 0x1d;
0x0000295c lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x00002960 lw t9, -0x7f00(gp) | t9 = sym.imp.fwrite;
0x00002964 addiu a1, zero, 1 | a1 = 1;
0x00002968 addiu a0, a0, 0x6cd4 | a0 += str.all_plugins_have_been_stoped_n;
0x0000296c jalr t9 | t9 ();
0x00002970 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002974 b 0x2520 | goto label_17;
| }
0x00002978 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x0000297c lw t9, -0x7f34(gp) | t9 = sym.imp.puts;
0x00002980 addiu a0, a0, 0x6bc8 | a0 += str.ThreadId_Time_Rate_Count;
0x00002984 jalr t9 | t9 ();
0x00002988 lw v0, 0x10(s1) | v0 = *((s1 + 4));
0x0000298c lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 > 0) {
0x00002990 bgtz v0, 0x27b0 | goto label_18;
| }
0x00002994 lw s6, -0x7ed4(gp) | s6 = *((gp - 8117));
0x00002998 b 0x2894 | goto label_19;
| label_49:
0x0000299c lw t9, -0x7f0c(gp) | t9 = sym.imp.__stack_chk_fail;
0x000029a0 jalr t9 | t9 ();
0x000029a4 nop |
0x000029a8 nop |
0x000029ac nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/loggen @ 0x4a38 */
| #include <stdint.h>
|
; (fcn) sym.generate_log_line () | void generate_log_line () {
0x00004a38 lui gp, 2 |
0x00004a3c addiu gp, gp, -0x47b8 |
0x00004a40 addu gp, gp, t9 | gp += t9;
0x00004a44 addiu sp, sp, -0xb0 |
0x00004a48 sw s2, 0x9c(sp) | *(var_9ch) = s2;
0x00004a4c lw s2, -0x7ef4(gp) | s2 = *((gp - 8125));
0x00004a50 sw gp, 0x18(sp) | *(var_18h_2) = gp;
0x00004a54 sw ra, 0xac(sp) | *(var_ach) = ra;
0x00004a58 lw v0, (s2) | v0 = *(s2);
0x00004a5c sw s5, 0xa8(sp) | *(var_a8h) = s5;
0x00004a60 sw s4, 0xa4(sp) | *(var_a4h) = s4;
0x00004a64 sw s3, 0xa0(sp) | *(var_a0h) = s3;
0x00004a68 sw s1, 0x98(sp) | *(var_98h) = s1;
0x00004a6c sw s0, 0x94(sp) | *(var_94h) = s0;
0x00004a70 sw v0, 0x8c(sp) | *(var_8ch) = v0;
0x00004a74 move s5, a2 | s5 = a2;
| if (a0 == 0) {
0x00004a78 beqz a0, 0x4c58 | goto label_1;
| }
0x00004a7c addiu v0, zero, 0x2000 | v0 = 0x2000;
0x00004a80 slti a2, a1, 0x2001 | a2 = (a1 < 0x2001) ? 1 : 0;
| if (a2 == 0) {
0x00004a84 movn v0, a1, a2 | v0 = a1;
| }
0x00004a88 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00004a8c lw t9, -0x7ed8(gp) | t9 = sym.imp.memcpy;
0x00004a90 move a2, v0 | a2 = v0;
0x00004a94 addiu a1, a1, -0x7b30 | a1 += -0x7b30;
0x00004a98 move s3, a3 | s3 = a3;
0x00004a9c move s0, a0 | s0 = a0;
0x00004aa0 jalr t9 | t9 ();
0x00004aa4 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00004aa8 addiu s1, sp, 0x20 | s1 = sp + 0x20;
0x00004aac move a0, s1 | a0 = s1;
0x00004ab0 lw t9, -0x7eb0(gp) | t9 = sym.imp.gettimeofday;
0x00004ab4 move a1, zero | a1 = 0;
0x00004ab8 jalr t9 | t9 ();
0x00004abc lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00004ac0 addiu s4, sp, 0x28 | s4 = sp + 0x28;
0x00004ac4 move a0, s1 | a0 = s1;
0x00004ac8 lw t9, -0x7e58(gp) | t9 = sym.imp.localtime_r;
0x00004acc move a1, s4 | a1 = s4;
0x00004ad0 jalr t9 | t9 ();
0x00004ad4 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00004ad8 addiu s1, sp, 0x6c | s1 = sp + 0x6c;
0x00004adc move a3, s4 | a3 = s4;
0x00004ae0 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00004ae4 lw t9, -0x7f60(gp) | t9 = sym.imp.strftime;
0x00004ae8 addiu a2, a2, 0x775c | a2 += str._Y__m__dT_H:_M:_S;
0x00004aec addiu a1, zero, 0x20 | a1 = 0x20;
0x00004af0 move a0, s1 | a0 = s1;
0x00004af4 jalr t9 | t9 ();
0x00004af8 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00004afc move a2, v0 | a2 = v0;
0x00004b00 move a1, s1 | a1 = s1;
0x00004b04 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00004b08 lw t9, -0x7ed8(gp) | t9 = sym.imp.memcpy;
0x00004b0c lw a0, -0x7b38(v0) | a0 = *((v0 - 7886));
0x00004b10 addu a0, s0, a0 | a0 = s0 + a0;
0x00004b14 jalr t9 | t9 ();
0x00004b18 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00004b1c bnez s5, 0x4c3c |
| while (1) {
0x00004b20 lw t9, -0x7edc(gp) | t9 = sym.imp.strlen;
0x00004b24 move a0, s1 | a0 = s1;
0x00004b28 jalr t9 | t9 ();
0x00004b2c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00004b30 move a2, v0 | a2 = v0;
0x00004b34 move a1, s1 | a1 = s1;
0x00004b38 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00004b3c lw t9, -0x7ed8(gp) | t9 = sym.imp.memcpy;
0x00004b40 addiu s1, sp, 0x5c | s1 = sp + 0x5c;
0x00004b44 lw a0, -0x7b34(v0) | a0 = *((v0 - 7885));
0x00004b48 addu a0, s0, a0 | a0 = s0 + a0;
0x00004b4c jalr t9 | t9 ();
0x00004b50 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00004b54 lw v0, 0xc0(sp) | v0 = *(var_10h);
0x00004b58 addiu a3, zero, 0x10 | a3 = 0x10;
0x00004b5c sw v0, 0x14(sp) | *(var_14h_2) = v0;
0x00004b60 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00004b64 lw t9, -0x7f4c(gp) | t9 = sym.imp.__snprintf_chk;
0x00004b68 addiu v0, v0, 0x7770 | v0 += str._010ld;
0x00004b6c addiu a2, zero, 1 | a2 = 1;
0x00004b70 addiu a1, zero, 0x10 | a1 = 0x10;
0x00004b74 move a0, s1 | a0 = s1;
0x00004b78 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00004b7c jalr t9 | t9 ();
0x00004b80 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00004b84 lw a0, 0x5c(sp) | a0 = *(var_5ch_2);
0x00004b88 lw v1, 4(s1) | v1 = *((s1 + 1));
0x00004b8c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00004b90 lbu a1, 8(s1) | a1 = *((s1 + 8));
0x00004b94 lw t9, -0x7f4c(gp) | t9 = sym.imp.__snprintf_chk;
0x00004b98 lw v0, -0x7b3c(v0) | v0 = *((v0 - 7887));
0x00004b9c addiu a3, zero, 5 | a3 = 5;
0x00004ba0 addu v0, s0, v0 | v0 = s0 + v0;
0x00004ba4 addiu a2, zero, 1 | a2 = 1;
0x00004ba8 swl a0, 3(v0) | __asm ("swl a0, 3(v0)");
0x00004bac swr a0, (v0) | __asm ("swr a0, (v0)");
0x00004bb0 lbu a0, 9(s1) | a0 = *((s1 + 9));
0x00004bb4 swl v1, 7(v0) | __asm ("swl v1, 7(v0)");
0x00004bb8 swr v1, 4(v0) | __asm ("swr v1, 4(v0)");
0x00004bbc sb a1, 8(v0) | *((v0 + 8)) = a1;
0x00004bc0 sb a0, 9(v0) | *((v0 + 9)) = a0;
0x00004bc4 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00004bc8 addiu a1, zero, 5 | a1 = 5;
0x00004bcc addiu v0, v0, 0x7778 | v0 += str._04d;
0x00004bd0 addiu a0, sp, 0x54 | a0 = sp + 0x54;
0x00004bd4 sw s3, 0x14(sp) | *(var_14h_2) = s3;
0x00004bd8 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00004bdc jalr t9 | t9 ();
0x00004be0 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00004be4 lw v0, 0x54(sp) | v0 = *(var_54h_2);
0x00004be8 move a0, s0 | a0 = s0;
0x00004bec lw v1, -0x7fdc(gp) | v1 = *((gp - 8183));
0x00004bf0 lw t9, -0x7edc(gp) | t9 = sym.imp.strlen;
0x00004bf4 lw v1, -0x7b40(v1) | v1 = *((v1 - 7888));
0x00004bf8 addu s0, s0, v1 | s0 += v1;
0x00004bfc swl v0, 3(s0) | __asm ("swl v0, 3(s0)");
0x00004c00 swr v0, (s0) | __asm ("swr v0, (s0)");
0x00004c04 jalr t9 | t9 ();
0x00004c08 lw gp, 0x18(sp) | gp = *(var_18h_2);
| label_0:
0x00004c0c lw a0, 0x8c(sp) | a0 = *(var_8ch);
0x00004c10 lw v1, (s2) | v1 = *(s2);
0x00004c14 lw ra, 0xac(sp) | ra = *(var_ach);
| if (a0 != v1) {
0x00004c18 bne a0, v1, 0x4cd0 | goto label_2;
| }
0x00004c1c lw s5, 0xa8(sp) | s5 = *(var_a8h);
0x00004c20 lw s4, 0xa4(sp) | s4 = *(var_a4h);
0x00004c24 lw s3, 0xa0(sp) | s3 = *(var_a0h);
0x00004c28 lw s2, 0x9c(sp) | s2 = *(var_9ch);
0x00004c2c lw s1, 0x98(sp) | s1 = *(var_98h);
0x00004c30 lw s0, 0x94(sp) | s0 = *(var_94h);
0x00004c34 addiu sp, sp, 0xb0 |
0x00004c38 jr ra | return v0;
0x00004c3c lw t9, -0x7e88(gp) | t9 = sym.imp.format_timezone_offset_with_colon;
0x00004c40 move a2, s4 | a2 = s4;
0x00004c44 addiu a1, zero, 0x20 | a1 = 0x20;
0x00004c48 move a0, s1 | a0 = s1;
0x00004c4c jalr t9 | t9 ();
0x00004c50 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00004c54 b 0x4b20 |
| }
| label_1:
0x00004c58 lw s0, -0x7ed4(gp) | s0 = *((gp - 8117));
0x00004c5c lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x00004c60 lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x00004c64 addiu a0, a0, 0x76d4 | a0 += str..._syslog_ng_3.19.1_tests_loggen_logline_generator.c;
0x00004c68 lw s1, (s0) | s1 = *(s0);
0x00004c6c jalr t9 | t9 ();
0x00004c70 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00004c74 move a3, v0 | a3 = v0;
0x00004c78 addiu v0, zero, 0x68 | v0 = 0x68;
0x00004c7c sw v0, 0x14(sp) | *(var_14h_2) = v0;
0x00004c80 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00004c84 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00004c88 addiu v0, v0, 0x7780 | v0 += str.generate_log_line;
0x00004c8c lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00004c90 addiu a2, a2, 0x6810 | a2 += str.error___s:_s:_d__;
0x00004c94 addiu a1, zero, 1 | a1 = 1;
0x00004c98 move a0, s1 | a0 = s1;
0x00004c9c sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00004ca0 jalr t9 | t9 ();
0x00004ca4 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00004ca8 lw a3, (s0) | a3 = *(s0);
0x00004cac addiu a2, zero, 0xf | a2 = 0xf;
0x00004cb0 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x00004cb4 lw t9, -0x7f00(gp) | t9 = sym.imp.fwrite;
0x00004cb8 addiu a1, zero, 1 | a1 = 1;
0x00004cbc addiu a0, a0, 0x774c | a0 += str.invalid_buffer_n;
0x00004cc0 jalr t9 | t9 ();
0x00004cc4 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00004cc8 addiu v0, zero, -1 | v0 = -1;
0x00004ccc b 0x4c0c | goto label_0;
| label_2:
0x00004cd0 lw t9, -0x7f0c(gp) | t9 = sym.imp.__stack_chk_fail;
0x00004cd4 jalr t9 | t9 ();
0x00004cd8 nop |
0x00004cdc nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/loggen @ 0x360c */
| #include <stdint.h>
|
; (fcn) sym.init_file_reader () | void init_file_reader () {
0x0000360c lui gp, 2 |
0x00003610 addiu gp, gp, -0x338c |
0x00003614 addu gp, gp, t9 | gp += t9;
0x00003618 addiu sp, sp, -0x40 |
0x0000361c sw s2, 0x28(sp) | *(var_28h) = s2;
0x00003620 lw s2, -0x7fdc(gp) | s2 = *((gp - 8183));
0x00003624 sw gp, 0x18(sp) | *(var_18h) = gp;
0x00003628 sw ra, 0x3c(sp) | *(var_3ch) = ra;
0x0000362c lw v0, -0x7b5c(s2) | v0 = *((s2 - 7895));
0x00003630 sw s6, 0x38(sp) | *(var_38h) = s6;
0x00003634 sw s5, 0x34(sp) | *(var_34h) = s5;
0x00003638 sw s4, 0x30(sp) | *(var_30h) = s4;
0x0000363c sw s3, 0x2c(sp) | *(var_2ch) = s3;
0x00003640 sw s1, 0x24(sp) | *(var_24h) = s1;
0x00003644 sw s0, 0x20(sp) | *(var_20h) = s0;
0x00003648 lw t9, -0x7eb4(gp) | t9 = sym.imp.g_malloc0_n;
| if (v0 == 0) {
0x0000364c beqz v0, 0x386c | goto label_3;
| }
0x00003650 lw s4, -0x7f94(gp) | s4 = *(gp);
0x00003654 addiu a1, zero, 4 | a1 = 4;
0x00003658 move s5, a0 | s5 = a0;
0x0000365c jalr t9 | t9 ();
0x00003660 lw a0, -0x7b5c(s2) | a0 = *((s2 - 7895));
0x00003664 lw gp, 0x18(sp) | gp = *(var_18h);
0x00003668 sw v0, (s4) | *(s4) = v0;
0x0000366c lb a2, (a0) | a2 = *(a0);
0x00003670 move a1, v0 | a1 = v0;
0x00003674 addiu v0, zero, 0x2d | v0 = 0x2d;
0x00003678 move v1, a1 | v1 = a1;
| if (a2 == v0) {
0x0000367c beq a2, v0, 0x37a0 | goto label_4;
| }
| label_0:
0x00003680 lw s3, -0x7fd0(gp) | s3 = *((gp - 8180));
| if (s5 <= 0) {
0x00003684 blez s5, 0x3760 | goto label_5;
| }
0x00003688 move s1, zero | s1 = 0;
0x0000368c addiu s3, s3, 0x6dac | s3 += 0x6dac;
0x00003690 b 0x369c |
| while (s0 != 0) {
0x00003694 lw a0, -0x7b5c(s2) | a0 = *((s2 - 7895));
| if (s5 == s1) {
0x00003698 beq s5, s1, 0x3760 | goto label_5;
| }
0x0000369c lw t9, -0x7f74(gp) | t9 = sym.imp.fopen64;
0x000036a0 sll s0, s1, 2 | s0 = s1 << 2;
0x000036a4 move a1, s3 | a1 = s3;
0x000036a8 addu s6, v1, s0 | s6 = v1 + s0;
0x000036ac jalr t9 | t9 ();
0x000036b0 lw v1, (s4) | v1 = *(s4);
0x000036b4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000036b8 sw v0, (s6) | *(s6) = v0;
0x000036bc lwx s0, s0(v1) | __asm ("lwx s0, s0(v1)");
0x000036c0 addiu s1, s1, 1 | s1++;
0x000036c4 bnez s0, 0x3694 |
| }
0x000036c8 lw s0, -0x7ed4(gp) | s0 = *((gp - 8117));
0x000036cc lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x000036d0 lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x000036d4 addiu a0, a0, 0x70e0 | a0 += 0x70e0;
0x000036d8 lw s1, (s0) | s1 = *(s0);
0x000036dc jalr t9 | t9 ();
0x000036e0 lw gp, 0x18(sp) | gp = *(var_18h);
0x000036e4 move a3, v0 | a3 = v0;
0x000036e8 addiu v0, zero, 0x53 | v0 = 0x53;
0x000036ec sw v0, 0x14(sp) | *(var_14h) = v0;
0x000036f0 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x000036f4 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x000036f8 addiu v0, v0, 0x75d0 | v0 += str.init_file_reader;
0x000036fc lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00003700 addiu a2, a2, 0x6810 | a2 += str.error___s:_s:_d__;
0x00003704 addiu a1, zero, 1 | a1 = 1;
0x00003708 move a0, s1 | a0 = s1;
0x0000370c sw v0, 0x10(sp) | *(var_10h) = v0;
0x00003710 jalr t9 | t9 ();
0x00003714 lw gp, 0x18(sp) | gp = *(var_18h);
0x00003718 lw a3, -0x7b5c(s2) | a3 = *((s2 - 7895));
0x0000371c lw a0, (s0) | a0 = *(s0);
0x00003720 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00003724 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00003728 addiu a2, a2, 0x71fc | a2 += str.unable_to_open_file___s__n;
0x0000372c addiu a1, zero, 1 | a1 = 1;
0x00003730 jalr t9 | t9 ();
0x00003734 addiu v0, zero, -1 | v0 = -1;
| label_2:
0x00003738 lw ra, 0x3c(sp) | ra = *(var_3ch);
0x0000373c lw s6, 0x38(sp) | s6 = *(var_38h);
0x00003740 lw s5, 0x34(sp) | s5 = *(var_34h);
0x00003744 lw s4, 0x30(sp) | s4 = *(var_30h);
0x00003748 lw s3, 0x2c(sp) | s3 = *(var_2ch);
0x0000374c lw s2, 0x28(sp) | s2 = *(var_28h);
0x00003750 lw s1, 0x24(sp) | s1 = *(var_24h);
0x00003754 lw s0, 0x20(sp) | s0 = *(var_20h);
0x00003758 addiu sp, sp, 0x40 |
0x0000375c jr ra | return v0;
| label_5:
0x00003760 lw t9, -0x7ee4(gp) | t9 = sym.imp.get_debug_level;
0x00003764 jalr t9 | t9 ();
0x00003768 nop |
0x0000376c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00003770 bnez v0, 0x37d4 | goto label_6;
| }
0x00003774 lw ra, 0x3c(sp) | ra = *(var_3ch);
| label_1:
0x00003778 lw s6, 0x38(sp) | s6 = *(var_38h);
0x0000377c lw s5, 0x34(sp) | s5 = *(var_34h);
0x00003780 lw s4, 0x30(sp) | s4 = *(var_30h);
0x00003784 lw s3, 0x2c(sp) | s3 = *(var_2ch);
0x00003788 lw s2, 0x28(sp) | s2 = *(var_28h);
0x0000378c lw s1, 0x24(sp) | s1 = *(var_24h);
0x00003790 lw s0, 0x20(sp) | s0 = *(var_20h);
0x00003794 addiu v0, zero, 1 | v0 = 1;
0x00003798 addiu sp, sp, 0x40 |
0x0000379c jr ra | return v0;
| label_4:
0x000037a0 lb v0, 1(a0) | v0 = *((a0 + 1));
0x000037a4 slti v0, s5, 2 | v0 = (s5 < 2) ? 1 : 0;
| if (v0 != 0) {
0x000037a8 bnez v0, 0x3680 | goto label_0;
| }
0x000037ac lw s0, -0x7ed4(gp) | s0 = *((gp - 8117));
| if (v0 == 0) {
0x000037b0 beqz v0, 0x38f4 | goto label_7;
| }
0x000037b4 addiu v0, zero, 1 | v0 = 1;
0x000037b8 lw ra, 0x3c(sp) | ra = *(var_3ch);
| if (s5 != v0) {
0x000037bc bne s5, v0, 0x3778 | goto label_1;
| }
0x000037c0 lw v1, -0x7f18(gp) | v1 = *((gp - 8134));
0x000037c4 addiu v0, zero, 1 | v0 = 1;
0x000037c8 lw v1, (v1) | v1 = *(v1);
0x000037cc sw v1, (a1) | *(a1) = v1;
0x000037d0 b 0x3738 | goto label_2;
| label_6:
0x000037d4 lw s0, -0x7f2c(gp) | s0 = *((gp - 8139));
0x000037d8 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x000037dc lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x000037e0 addiu a0, a0, 0x70e0 | a0 += 0x70e0;
0x000037e4 lw s1, (s0) | s1 = *(s0);
0x000037e8 jalr t9 | t9 ();
0x000037ec lw gp, 0x18(sp) | gp = *(var_18h);
0x000037f0 move a3, v0 | a3 = v0;
0x000037f4 addiu v0, zero, 0x58 | v0 = 0x58;
0x000037f8 sw v0, 0x14(sp) | *(var_14h) = v0;
0x000037fc lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00003800 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00003804 addiu v0, v0, 0x75d0 | v0 += str.init_file_reader;
0x00003808 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x0000380c move a0, s1 | a0 = s1;
0x00003810 addiu a2, a2, 0x697c | a2 += str.debug___s:_s:_d__;
0x00003814 addiu a1, zero, 1 | a1 = 1;
0x00003818 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000381c jalr t9 | t9 ();
0x00003820 lw gp, 0x18(sp) | gp = *(var_18h);
0x00003824 lw a3, -0x7b5c(s2) | a3 = *((s2 - 7895));
0x00003828 lw a0, (s0) | a0 = *(s0);
0x0000382c lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00003830 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00003834 addiu a2, a2, 0x7218 | a2 += str.file___s__opened_for_reading_n;
0x00003838 addiu a1, zero, 1 | a1 = 1;
0x0000383c jalr t9 | t9 ();
0x00003840 lw ra, 0x3c(sp) | ra = *(var_3ch);
0x00003844 lw s6, 0x38(sp) | s6 = *(var_38h);
0x00003848 lw s5, 0x34(sp) | s5 = *(var_34h);
0x0000384c lw s4, 0x30(sp) | s4 = *(var_30h);
0x00003850 lw s3, 0x2c(sp) | s3 = *(var_2ch);
0x00003854 lw s2, 0x28(sp) | s2 = *(var_28h);
0x00003858 lw s1, 0x24(sp) | s1 = *(var_24h);
0x0000385c lw s0, 0x20(sp) | s0 = *(var_20h);
0x00003860 addiu v0, zero, 1 | v0 = 1;
0x00003864 addiu sp, sp, 0x40 |
0x00003868 jr ra | return v0;
| label_3:
0x0000386c lw t9, -0x7ee4(gp) | t9 = sym.imp.get_debug_level;
0x00003870 jalr t9 | t9 ();
0x00003874 nop |
0x00003878 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x0000387c beqz v0, 0x3738 | goto label_2;
| }
0x00003880 lw s0, -0x7f2c(gp) | s0 = *((gp - 8139));
0x00003884 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x00003888 lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x0000388c addiu a0, a0, 0x70e0 | a0 += 0x70e0;
0x00003890 lw s1, (s0) | s1 = *(s0);
0x00003894 jalr t9 | t9 ();
0x00003898 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000389c move a3, v0 | a3 = v0;
0x000038a0 addiu v0, zero, 0x3b | v0 = 0x3b;
0x000038a4 sw v0, 0x14(sp) | *(var_14h) = v0;
0x000038a8 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x000038ac lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x000038b0 addiu v0, v0, 0x75d0 | v0 += str.init_file_reader;
0x000038b4 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x000038b8 addiu a2, a2, 0x697c | a2 += str.debug___s:_s:_d__;
0x000038bc addiu a1, zero, 1 | a1 = 1;
0x000038c0 move a0, s1 | a0 = s1;
0x000038c4 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000038c8 jalr t9 | t9 ();
0x000038cc lw gp, 0x18(sp) | gp = *(var_18h);
0x000038d0 lw a3, (s0) | a3 = *(s0);
0x000038d4 addiu a2, zero, 0x1a | a2 = 0x1a;
0x000038d8 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x000038dc lw t9, -0x7f00(gp) | t9 = sym.imp.fwrite;
0x000038e0 addiu a1, zero, 1 | a1 = 1;
0x000038e4 addiu a0, a0, 0x7188 | a0 += str.file_reader_not_activated_n;
0x000038e8 jalr t9 | t9 ();
0x000038ec move v0, zero | v0 = 0;
0x000038f0 b 0x3738 | goto label_2;
| label_7:
0x000038f4 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x000038f8 lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x000038fc addiu a0, a0, 0x70e0 | a0 += 0x70e0;
0x00003900 lw s1, (s0) | s1 = *(s0);
0x00003904 jalr t9 | t9 ();
0x00003908 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000390c move a3, v0 | a3 = v0;
0x00003910 addiu v0, zero, 0x45 | v0 = 0x45;
0x00003914 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00003918 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x0000391c lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00003920 addiu v0, v0, 0x75d0 | v0 += str.init_file_reader;
0x00003924 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00003928 addiu a2, a2, 0x6810 | a2 += str.error___s:_s:_d__;
0x0000392c addiu a1, zero, 1 | a1 = 1;
0x00003930 move a0, s1 | a0 = s1;
0x00003934 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00003938 jalr t9 | t9 ();
0x0000393c lw gp, 0x18(sp) | gp = *(var_18h);
0x00003940 lw a3, (s0) | a3 = *(s0);
0x00003944 addiu a2, zero, 0x55 | a2 = 0x55;
0x00003948 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x0000394c lw t9, -0x7f00(gp) | t9 = sym.imp.fwrite;
0x00003950 addiu a1, zero, 1 | a1 = 1;
0x00003954 addiu a0, a0, 0x71a4 | a0 += str.Only_one_thread_can_read_from_stdin._Please_start_loggen_with___active_connections1_n;
0x00003958 jalr t9 | t9 ();
0x0000395c addiu v0, zero, -1 | v0 = -1;
0x00003960 b 0x3738 | goto label_2;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/loggen @ 0x4720 */
| #include <stdint.h>
|
; (fcn) sym.prepare_log_line_template () | void prepare_log_line_template () {
0x00004720 lui gp, 2 |
0x00004724 addiu gp, gp, -0x44a0 |
0x00004728 addu gp, gp, t9 | gp += t9;
0x0000472c addiu sp, sp, -0x78 |
0x00004730 lw t9, -0x7eb0(gp) | t9 = sym.imp.gettimeofday;
0x00004734 sw s2, 0x5c(sp) | *(var_5ch) = s2;
0x00004738 lw s2, -0x7ef4(gp) | s2 = *((gp - 8125));
0x0000473c sw gp, 0x30(sp) | *(var_30h) = gp;
0x00004740 sw s7, 0x70(sp) | *(var_70h_2) = s7;
0x00004744 lw v0, (s2) | v0 = *(s2);
0x00004748 sw s6, 0x6c(sp) | *(var_6ch_2) = s6;
0x0000474c sw v0, 0x4c(sp) | *(var_4ch) = v0;
0x00004750 lui v0, 0x4444 | v0 = 0x44444150;
0x00004754 addiu v0, v0, 0x4150 |
0x00004758 sw s4, 0x64(sp) | *(var_64h) = s4;
0x0000475c sw s3, 0x60(sp) | *(var_60h) = s3;
0x00004760 sw s1, 0x58(sp) | *(var_58h) = s1;
0x00004764 sw s0, 0x54(sp) | *(var_54h) = s0;
0x00004768 sw ra, 0x74(sp) | *(var_74h) = ra;
0x0000476c sw s5, 0x68(sp) | *(var_68h) = s5;
0x00004770 move s6, a0 | s6 = a0;
0x00004774 move s3, a1 | s3 = a1;
0x00004778 addiu a0, sp, 0x3c | a0 = sp + 0x3c;
0x0000477c move a1, zero | a1 = 0;
0x00004780 sw v0, 0x44(sp) | *(var_44h) = v0;
0x00004784 sb zero, 0x48(sp) | *(var_48h) = 0;
0x00004788 move s1, a2 | s1 = a2;
0x0000478c move s4, a3 | s4 = a3;
0x00004790 jalr t9 | t9 ();
0x00004794 lw gp, 0x30(sp) | gp = *(var_30h);
0x00004798 lw s7, 0x3c(sp) | s7 = *(var_3ch);
0x0000479c lw s0, -0x7fdc(gp) | s0 = *((gp - 8183));
| if (s3 != 0) {
0x000047a0 bnez s3, 0x49e4 | goto label_4;
| }
0x000047a4 addiu s0, s0, -0x7b30 | s0 += -0x7b30;
0x000047a8 addiu a1, zero, 0x2001 | a1 = 0x2001;
0x000047ac move a0, s0 | a0 = s0;
0x000047b0 move s5, zero | s5 = 0;
| label_3:
0x000047b4 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
| if (s6 == 0) {
0x000047b8 beqz s6, 0x48f4 | goto label_5;
| }
| if (s4 == 0) {
0x000047bc beql s4, zero, 0x48ec | goto label_6;
| }
0x000047c0 lw s4, -0x7fd0(gp) | s4 = *((gp - 8180));
| label_0:
0x000047c4 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x000047c8 lw t9, -0x7f4c(gp) | t9 = sym.imp.__snprintf_chk;
0x000047cc addiu v0, v0, 0x6cd0 | v0 += 0x6cd0;
0x000047d0 sw v0, 0x28(sp) | *(var_28h_2) = v0;
0x000047d4 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x000047d8 addiu a3, zero, -1 | a3 = -1;
0x000047dc addiu v0, v0, 0x75f4 | v0 += str._38_1_2007_12_24T12:28:5102:00_localhost_prg_05d_1234____s_;
0x000047e0 addiu a2, zero, 1 | a2 = 1;
0x000047e4 sw s4, 0x18(sp) | *(var_18h) = s4;
0x000047e8 sw s7, 0x24(sp) | *(var_24h) = s7;
0x000047ec sw zero, 0x20(sp) | *(var_20h) = 0;
0x000047f0 sw zero, 0x1c(sp) | *(var_1ch) = 0;
0x000047f4 sw zero, 0x14(sp) | *(var_14h) = 0;
0x000047f8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000047fc jalr t9 | t9 ();
0x00004800 lw gp, 0x30(sp) | gp = *(var_30h);
0x00004804 move a0, s4 | a0 = s4;
0x00004808 move s4, v0 | s4 = v0;
0x0000480c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00004810 addiu v1, s3, 6 | v1 = s3 + 6;
0x00004814 lw t9, -0x7edc(gp) | t9 = sym.imp.strlen;
0x00004818 sw v1, -0x7b34(v0) | *((v0 - 7885)) = v1;
0x0000481c jalr t9 | t9 ();
0x00004820 lw gp, 0x30(sp) | gp = *(var_30h);
0x00004824 addu v1, v0, s5 | v1 = v0 + s5;
0x00004828 addiu s5, s5, 0x77 | s5 += 0x77;
0x0000482c addu s5, s5, v0 | s5 += v0;
0x00004830 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00004834 addiu a0, v1, 0x43 | a0 = v1 + 0x43;
0x00004838 addiu v1, v1, 0x57 | v1 += 0x57;
0x0000483c sw a0, -0x7b3c(v0) | *((v0 - 7887)) = a0;
0x00004840 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00004844 sw v1, -0x7b40(v0) | *((v0 - 7888)) = v1;
0x00004848 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x0000484c sw s5, -0x7b38(v0) | *((v0 - 7886)) = s5;
0x00004850 slt v0, s1, s4 | v0 = (s1 < s4) ? 1 : 0;
0x00004854 lw s0, -0x7ed4(gp) | s0 = *((gp - 8117));
| if (v0 == 0) {
0x00004858 bnel v0, zero, 0x4970 | goto label_7;
| }
0x0000485c addiu a1, s1, -1 | a1 = s1 + -1;
| label_1:
0x00004860 slt v0, s4, a1 | v0 = (s4 < a1) ? 1 : 0;
| if (v0 == 0) {
0x00004864 beql v0, zero, 0x48a0 | goto label_8;
| }
0x00004868 addu s1, s3, s1 | s1 = s3 + s1;
0x0000486c subu a1, a1, s4 | __asm ("subu a1, a1, s4");
0x00004870 move v0, zero | v0 = 0;
0x00004874 addu a2, s3, s4 | a2 = s3 + s4;
| do {
0x00004878 andi a0, v0, 3 | a0 = v0 & 3;
0x0000487c addiu v1, sp, 0x50 | v1 = sp + 0x50;
0x00004880 addu a0, v1, a0 | a0 = v1 + a0;
0x00004884 addu v1, a2, v0 | v1 = a2 + v0;
0x00004888 addu v1, s0, v1 | v1 = s0 + v1;
0x0000488c lbu a0, -0xc(a0) | a0 = *((a0 - 12));
0x00004890 addiu v0, v0, 1 | v0++;
0x00004894 sb a0, (v1) | *(v1) = a0;
0x00004898 bne a1, v0, 0x4878 |
| } while (a1 != v0);
0x0000489c addu s1, s3, s1 | s1 = s3 + s1;
| label_8:
0x000048a0 addu s0, s0, s1 | s0 += s1;
0x000048a4 addiu v0, zero, 0xa | v0 = 0xa;
0x000048a8 sb v0, -1(s0) | *((s0 - 1)) = v0;
0x000048ac sb zero, (s0) | *(s0) = 0;
| label_2:
0x000048b0 lw a0, 0x4c(sp) | a0 = *(var_4ch);
0x000048b4 lw v1, (s2) | v1 = *(s2);
0x000048b8 move v0, s4 | v0 = s4;
| if (a0 != v1) {
0x000048bc bne a0, v1, 0x4a2c | goto label_9;
| }
0x000048c0 lw ra, 0x74(sp) | ra = *(var_74h);
0x000048c4 lw s7, 0x70(sp) | s7 = *(var_70h_2);
0x000048c8 lw s6, 0x6c(sp) | s6 = *(var_6ch_2);
0x000048cc lw s5, 0x68(sp) | s5 = *(var_68h);
0x000048d0 lw s4, 0x64(sp) | s4 = *(var_64h);
0x000048d4 lw s3, 0x60(sp) | s3 = *(var_60h);
0x000048d8 lw s2, 0x5c(sp) | s2 = *(var_5ch);
0x000048dc lw s1, 0x58(sp) | s1 = *(var_58h);
0x000048e0 lw s0, 0x54(sp) | s0 = *(var_54h);
0x000048e4 addiu sp, sp, 0x78 |
0x000048e8 jr ra | return v0;
| label_6:
0x000048ec addiu s4, s4, 0x7238 | s4 += 0x7238;
0x000048f0 b 0x47c4 | goto label_0;
| label_5:
0x000048f4 lw t9, -0x7f4c(gp) | t9 = sym.imp.__snprintf_chk;
0x000048f8 addiu v0, v0, 0x6cd0 | v0 += 0x6cd0;
0x000048fc sw v0, 0x24(sp) | *(var_24h) = v0;
0x00004900 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00004904 addiu a2, zero, 1 | a2 = 1;
0x00004908 addiu v0, v0, 0x766c | v0 += str._38_2007_12_24T12:28:51_localhost_prg_05d_1234_:_seq:__010d__thread:__04d__runid:___10d__stamp:___19s_;
0x0000490c sw s7, 0x20(sp) | *(var_20h) = s7;
0x00004910 sw zero, 0x1c(sp) | *(var_1ch) = 0;
0x00004914 sw zero, 0x18(sp) | *(var_18h) = 0;
0x00004918 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000491c sw v0, 0x10(sp) | *(var_10h) = v0;
0x00004920 addiu a3, zero, -1 | a3 = -1;
0x00004924 jalr t9 | t9 ();
0x00004928 lw gp, 0x30(sp) | gp = *(var_30h);
0x0000492c move s4, v0 | s4 = v0;
0x00004930 addiu a2, s3, 4 | a2 = s3 + 4;
0x00004934 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00004938 addiu a1, s3, 0x37 | a1 = s3 + 0x37;
0x0000493c addiu a0, s3, 0x4b | a0 = s3 + 0x4b;
0x00004940 sw a2, -0x7b34(v0) | *((v0 - 7885)) = a2;
0x00004944 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00004948 addiu v1, s3, 0x6b | v1 = s3 + 0x6b;
0x0000494c sw a1, -0x7b3c(v0) | *((v0 - 7887)) = a1;
0x00004950 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00004954 sw a0, -0x7b40(v0) | *((v0 - 7888)) = a0;
0x00004958 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x0000495c sw v1, -0x7b38(v0) | *((v0 - 7886)) = v1;
0x00004960 slt v0, s1, s4 | v0 = (s1 < s4) ? 1 : 0;
| if (v0 == 0) {
0x00004964 beql v0, zero, 0x4860 | goto label_1;
| }
0x00004968 addiu a1, s1, -1 | a1 = s1 + -1;
0x0000496c lw s0, -0x7ed4(gp) | s0 = *((gp - 8117));
| label_7:
0x00004970 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x00004974 lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x00004978 addiu a0, a0, 0x76d4 | a0 += str..._syslog_ng_3.19.1_tests_loggen_logline_generator.c;
0x0000497c lw s1, (s0) | s1 = *(s0);
0x00004980 jalr t9 | t9 ();
0x00004984 lw gp, 0x30(sp) | gp = *(var_30h);
0x00004988 move a3, v0 | a3 = v0;
0x0000498c addiu v0, zero, 0x54 | v0 = 0x54;
0x00004990 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00004994 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00004998 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x0000499c addiu v0, v0, 0x7794 | v0 += str.prepare_log_line_template;
0x000049a0 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x000049a4 addiu a2, a2, 0x6810 | a2 += str.error___s:_s:_d__;
0x000049a8 addiu a1, zero, 1 | a1 = 1;
0x000049ac move a0, s1 | a0 = s1;
0x000049b0 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000049b4 jalr t9 | t9 ();
0x000049b8 lw gp, 0x30(sp) | gp = *(var_30h);
0x000049bc lw a0, (s0) | a0 = *(s0);
0x000049c0 move a3, s4 | a3 = s4;
0x000049c4 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x000049c8 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x000049cc addiu a2, a2, 0x770c | a2 += str.warning:_message_length_is_too_small__the_minimum_is__d_bytes_n;
0x000049d0 addiu a1, zero, 1 | a1 = 1;
0x000049d4 jalr t9 | t9 ();
0x000049d8 move s4, zero | s4 = 0;
0x000049dc lw gp, 0x30(sp) | gp = *(var_30h);
0x000049e0 b 0x48b0 | goto label_2;
| label_4:
0x000049e4 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x000049e8 lw t9, -0x7f4c(gp) | t9 = sym.imp.__snprintf_chk;
0x000049ec addiu v0, v0, 0x75f0 | v0 += 0x75f0;
0x000049f0 addiu a0, s0, -0x7b30 | a0 = s0 + -0x7b30;
0x000049f4 addiu a1, zero, 0x2001 | a1 = 0x2001;
0x000049f8 sw s1, 0x14(sp) | *(var_14h) = s1;
0x000049fc sw v0, 0x10(sp) | *(var_10h) = v0;
0x00004a00 addiu a3, zero, 0x2001 | a3 = 0x2001;
0x00004a04 addiu a2, zero, 1 | a2 = 1;
0x00004a08 jalr t9 | t9 ();
0x00004a0c addiu s0, s0, -0x7b30 | s0 += -0x7b30;
0x00004a10 addiu a1, zero, 0x2001 | a1 = 0x2001;
0x00004a14 lw gp, 0x30(sp) | gp = *(var_30h);
0x00004a18 move s3, v0 | s3 = v0;
0x00004a1c move s5, v0 | s5 = v0;
0x00004a20 addu a0, s0, v0 | a0 = s0 + v0;
0x00004a24 subu a1, a1, v0 | __asm ("subu a1, a1, v0");
0x00004a28 b 0x47b4 | goto label_3;
| label_9:
0x00004a2c lw t9, -0x7f0c(gp) | t9 = sym.imp.__stack_chk_fail;
0x00004a30 jalr t9 | t9 ();
0x00004a34 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/loggen @ 0x2ce8 */
| #include <stdint.h>
|
; (fcn) sym.print_statistic () | void print_statistic () {
0x00002ce8 lui gp, 2 |
0x00002cec addiu gp, gp, -0x2a68 |
0x00002cf0 addu gp, gp, t9 | gp += t9;
0x00002cf4 addiu sp, sp, -0x98 |
0x00002cf8 lw t9, -0x7eb0(gp) | t9 = sym.imp.gettimeofday;
0x00002cfc sw s2, 0x78(sp) | *(var_78h) = s2;
0x00002d00 lw s2, -0x7ef4(gp) | s2 = *((gp - 8125));
0x00002d04 sw s4, 0x80(sp) | *(var_80h) = s4;
0x00002d08 addiu s4, sp, 0x5c | s4 = sp + 0x5c;
0x00002d0c lw v0, (s2) | v0 = *(s2);
0x00002d10 sw gp, 0x28(sp) | *(var_28h) = gp;
0x00002d14 sw fp, 0x90(sp) | *(var_90h) = fp;
0x00002d18 sw s5, 0x84(sp) | *(var_84h) = s5;
0x00002d1c sw s1, 0x74(sp) | *(var_74h) = s1;
0x00002d20 sw ra, 0x94(sp) | *(var_94h) = ra;
0x00002d24 sw s7, 0x8c(sp) | *(var_8ch) = s7;
0x00002d28 sw s6, 0x88(sp) | *(var_88h) = s6;
0x00002d2c sw s3, 0x7c(sp) | *(var_7ch) = s3;
0x00002d30 sw s0, 0x70(sp) | *(var_70h) = s0;
0x00002d34 move s5, a0 | s5 = a0;
0x00002d38 move a1, zero | a1 = 0;
0x00002d3c move a0, s4 | a0 = s4;
0x00002d40 sw v0, 0x6c(sp) | *(var_6ch) = v0;
0x00002d44 lw fp, -0x7fdc(gp) | fp = *((gp - 8183));
0x00002d48 jalr t9 | t9 ();
0x00002d4c nop |
0x00002d50 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002d54 lw v1, -0x7b7c(fp) | v1 = *(var_7b7ch);
0x00002d58 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00002d5c lw v0, -0x7b78(v0) | v0 = *((v0 - 7902));
0x00002d60 or v0, v0, v1 | v0 |= v1;
0x00002d64 lw s1, -0x7fdc(gp) | s1 = *((gp - 8183));
| if (v0 == 0) {
0x00002d68 beqz v0, 0x2f98 | goto label_2;
| }
| label_1:
0x00002d6c lw s0, -0x7fdc(gp) | s0 = *((gp - 8183));
0x00002d70 lw v0, -0x7b98(s0) | v0 = *((s0 - 7910));
0x00002d74 lw a1, 0x5c(sp) | a1 = *(var_5ch);
| if (v0 == 0) {
0x00002d78 beqz v0, 0x2d98 | goto label_0;
| }
0x00002d7c lw s6, -0x7fdc(gp) | s6 = *((gp - 8183));
0x00002d80 lw v0, -0x7b9c(s6) | v0 = *((s6 - 7911));
0x00002d84 lw v0, -0x7b7c(fp) | v0 = *(var_7b7ch);
| if (v0 == 0) {
0x00002d88 beqz v0, 0x2d98 | goto label_0;
| }
0x00002d8c lw t9, -0x7e74(gp) | t9 = sym.imp.time_val_diff_in_timeval;
0x00002d90 bnez v0, 0x2de4 |
| while (v0 <= 0) {
0x00002d94 lw a1, 0x5c(sp) | a1 = *(var_5ch);
| label_0:
0x00002d98 addiu a0, s1, -0x7ba8 | a0 = s1 + -0x7ba8;
0x00002d9c lw v1, 0x6c(sp) | v1 = *(var_6ch);
0x00002da0 sw a1, -0x7ba8(s1) | *((s1 - 7914)) = a1;
0x00002da4 lw v0, (s2) | v0 = *(s2);
0x00002da8 lw a1, 0x60(sp) | a1 = *(var_60h);
0x00002dac sw a1, 4(a0) | *((a0 + 1)) = a1;
| if (v1 != v0) {
0x00002db0 bne v1, v0, 0x30e4 | goto label_3;
| }
0x00002db4 lw ra, 0x94(sp) | ra = *(var_94h);
0x00002db8 lw fp, 0x90(sp) | fp = *(var_90h);
0x00002dbc lw s7, 0x8c(sp) | s7 = *(var_8ch);
0x00002dc0 lw s6, 0x88(sp) | s6 = *(var_88h);
0x00002dc4 lw s5, 0x84(sp) | s5 = *(var_84h);
0x00002dc8 lw s4, 0x80(sp) | s4 = *(var_80h);
0x00002dcc lw s3, 0x7c(sp) | s3 = *(var_7ch);
0x00002dd0 lw s2, 0x78(sp) | s2 = *(var_78h);
0x00002dd4 lw s1, 0x74(sp) | s1 = *(var_74h);
0x00002dd8 lw s0, 0x70(sp) | s0 = *(var_70h);
0x00002ddc addiu sp, sp, 0x98 |
0x00002de0 jr ra | return v1;
0x00002de4 move a2, s5 | a2 = s5;
0x00002de8 move a1, s4 | a1 = s4;
0x00002dec addiu a0, sp, 0x64 | a0 = sp + 0x64;
0x00002df0 jalr t9 | t9 ();
0x00002df4 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002df8 addiu a1, s1, -0x7ba8 | a1 = s1 + -0x7ba8;
0x00002dfc lw t9, -0x7ea0(gp) | t9 = sym.imp.time_val_diff_in_usec;
0x00002e00 move a0, s4 | a0 = s4;
0x00002e04 jalr t9 | t9 ();
0x00002e08 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002e0c sw v0, 0x44(sp) | *(var_44h) = v0;
0x00002e10 lw t3, -0x7fdc(gp) | t3 = *((gp - 8183));
0x00002e14 addiu s5, t3, -0x7ff0 | s5 = t3 + -0x7ff0;
0x00002e18 lw v0, 0x10(s5) | v0 = *((s5 + 4));
0x00002e1c lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00002e20 blez v0, 0x2d94 |
| }
0x00002e24 lw v0, -0x7ed4(gp) | v0 = *((gp - 8117));
0x00002e28 lw s3, -0x7fdc(gp) | s3 = *((gp - 8183));
0x00002e2c sw v0, 0x50(sp) | *(var_50h) = v0;
0x00002e30 lw v0, 0x70d0(a2) | v0 = *((a2 + 7220));
0x00002e34 lw v1, 0x70d4(a2) | v1 = *((a2 + 7221));
0x00002e38 sw v0, 0x48(sp) | *(var_48h) = v0;
0x00002e3c lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00002e40 sw v1, 0x4c(sp) | *(var_4ch_2) = v1;
0x00002e44 addiu v0, v0, 0x687c | v0 += str._d__lu._06lu__.2lf__lli_n;
0x00002e48 move s4, zero | s4 = 0;
0x00002e4c sw v0, 0x54(sp) | *(var_54h) = v0;
| do {
0x00002e50 lw t9, -0x7f24(gp) | t9 = sym.imp.g_mutex_lock;
0x00002e54 lw a0, -0x7ba0(s3) | a0 = *((s3 - 7912));
0x00002e58 sll fp, s4, 3 | fp = s4 << 3;
0x00002e5c jalr t9 | t9 ();
0x00002e60 lw t4, -0x7b9c(s6) | t4 = *((s6 - 7911));
0x00002e64 lw v0, -0x7b98(s0) | v0 = *((s0 - 7910));
0x00002e68 addu s7, t4, fp | s7 = t4 + fp;
0x00002e6c addu v0, v0, fp | v0 += fp;
0x00002e70 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002e74 lw t6, (v0) | t6 = *(v0);
0x00002e78 lw a0, (s7) | a0 = *(s7);
0x00002e7c lw t7, 4(v0) | t7 = *((v0 + 1));
0x00002e80 lw v0, 4(s7) | v0 = *((s7 + 1));
0x00002e84 subu a0, t6, a0 | __asm ("subu a0, t6, a0");
0x00002e88 sltu a1, t6, a0 | a1 = (t6 < a0) ? 1 : 0;
0x00002e8c subu v0, t7, v0 | __asm ("subu v0, t7, v0");
0x00002e90 lw t9, -0x7fcc(gp) | t9 = *(gp);
0x00002e94 sw t6, 0x40(sp) | *(var_40h) = t6;
0x00002e98 sw t7, 0x3c(sp) | *(var_3ch) = t7;
0x00002e9c subu a1, v0, a1 | __asm ("subu a1, v0, a1");
0x00002ea0 bal 0x60d0 | fcn_000060d0 ();
0x00002ea4 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002ea8 lw a2, 0x48(sp) | a2 = *(var_48h);
0x00002eac lw a3, 0x4c(sp) | a3 = *(var_4ch_2);
0x00002eb0 lw t9, -0x7fc8(gp) | t9 = *(gp);
0x00002eb4 move a1, v1 | a1 = v1;
0x00002eb8 move a0, v0 | a0 = v0;
0x00002ebc bal 0x5a90 | fcn_00005a90 ();
0x00002ec0 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002ec4 lw a0, 0x44(sp) | a0 = *(var_44h);
0x00002ec8 sw v0, 0x30(sp) | *(var_30h) = v0;
0x00002ecc lw t9, -0x7fc4(gp) | t9 = *(gp);
0x00002ed0 sw v1, 0x34(sp) | *(var_34h) = v1;
0x00002ed4 bal 0x6030 | fcn_00006030 ();
0x00002ed8 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002edc lw t0, 0x30(sp) | t0 = *(var_30h);
0x00002ee0 lw t1, 0x34(sp) | t1 = *(var_34h);
0x00002ee4 lw t9, -0x7fc0(gp) | t9 = *(gp);
0x00002ee8 move a0, t0 | a0 = t0;
0x00002eec move a1, t1 | a1 = t1;
0x00002ef0 move a2, v0 | a2 = v0;
0x00002ef4 move a3, v1 | a3 = v1;
0x00002ef8 bal 0x5180 | fcn_00005180 ();
0x00002efc lw gp, 0x28(sp) | gp = *(var_28h);
0x00002f00 lw t6, 0x40(sp) | t6 = *(var_40h);
0x00002f04 lw t7, 0x3c(sp) | t7 = *(var_3ch);
0x00002f08 lw a0, -0x7ba0(s3) | a0 = *((s3 - 7912));
0x00002f0c lw t9, -0x7ec8(gp) | t9 = sym.imp.g_mutex_unlock;
0x00002f10 sw t6, (s7) | *(s7) = t6;
0x00002f14 sw t7, 4(s7) | *((s7 + 1)) = t7;
0x00002f18 sw v0, 0x30(sp) | *(var_30h) = v0;
0x00002f1c sw v1, 0x34(sp) | *(var_34h) = v1;
0x00002f20 jalr t9 | t9 ();
0x00002f24 lw v0, 0x50(sp) | v0 = *(var_50h);
0x00002f28 lw a0, -0x7b98(s0) | a0 = *((s0 - 7910));
0x00002f2c lw gp, 0x28(sp) | gp = *(var_28h);
0x00002f30 addu t5, a0, fp | t5 = a0 + fp;
0x00002f34 lw a0, (v0) | a0 = *(v0);
0x00002f38 lw v0, 0x30(sp) | v0 = *(var_30h);
0x00002f3c lw t0, (t5) | t0 = *(t5);
0x00002f40 lw t1, 4(t5) | t1 = *((t5 + 1));
0x00002f44 sw v0, 0x18(sp) | *(var_18h) = v0;
0x00002f48 lw v0, 0x68(sp) | v0 = *(var_68h_2);
0x00002f4c lw v1, 0x34(sp) | v1 = *(var_34h);
0x00002f50 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00002f54 lw v0, 0x64(sp) | v0 = *(var_64h_2);
0x00002f58 lw a2, 0x54(sp) | a2 = *(var_54h);
0x00002f5c lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00002f60 move a3, s4 | a3 = s4;
0x00002f64 sw t0, 0x20(sp) | *(var_20h) = t0;
0x00002f68 sw t1, 0x24(sp) | *(var_24h) = t1;
0x00002f6c sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x00002f70 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00002f74 addiu a1, zero, 1 | a1 = 1;
0x00002f78 jalr t9 | t9 ();
0x00002f7c lw v0, 0x10(s5) | v0 = *((s5 + 4));
0x00002f80 addiu s4, s4, 1 | s4++;
0x00002f84 slt v0, s4, v0 | v0 = (s4 < v0) ? 1 : 0;
0x00002f88 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002f8c bnez v0, 0x2e50 |
| } while (v0 != 0);
0x00002f90 lw a1, 0x5c(sp) | a1 = *(var_5ch);
0x00002f94 b 0x2d98 | goto label_0;
| label_2:
0x00002f98 lw t9, -0x7ea0(gp) | t9 = sym.imp.time_val_diff_in_usec;
0x00002f9c addiu a1, s1, -0x7ba8 | a1 = s1 + -0x7ba8;
0x00002fa0 move a0, s4 | a0 = s4;
0x00002fa4 jalr t9 | t9 ();
0x00002fa8 move s0, v0 | s0 = v0;
0x00002fac lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 == 0) {
0x00002fb0 beqz v0, 0x2d6c | goto label_1;
| }
0x00002fb4 lw s3, -0x7fdc(gp) | s3 = *((gp - 8183));
0x00002fb8 lw t9, -0x7f24(gp) | t9 = sym.imp.g_mutex_lock;
0x00002fbc lw s6, -0x7fdc(gp) | s6 = *((gp - 8183));
0x00002fc0 lw a0, -0x7ba0(s3) | a0 = *((s3 - 7912));
0x00002fc4 jalr t9 | t9 ();
0x00002fc8 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002fcc lw a0, -0x7ba0(s3) | a0 = *((s3 - 7912));
0x00002fd0 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00002fd4 lw t9, -0x7ec8(gp) | t9 = sym.imp.g_mutex_unlock;
0x00002fd8 lw s3, -0x7b84(v0) | s3 = *((v0 - 7905));
0x00002fdc jalr t9 | t9 ();
0x00002fe0 lw v0, -0x7bac(s6) | v0 = *((s6 - 7915));
0x00002fe4 lw gp, 0x28(sp) | gp = *(var_28h);
0x00002fe8 lw v1, -0x7bb0(s6) | v1 = *((s6 - 7916));
| if (v0 < 0) {
0x00002fec bltz v0, 0x3018 | goto label_4;
| }
0x00002ff0 sw s3, -0x7bb0(s6) | *((s6 - 7916)) = s3;
| if (v0 == 0) {
0x00002ff4 bnel v0, zero, 0x3010 | goto label_5;
| }
0x00002ff8 sltu a0, v1, s3 | a0 = (v1 < s3) ? 1 : 0;
| if (a0 == 0) {
0x00002ffc beql a0, zero, 0x3010 | goto label_5;
| }
0x00003000 sw s3, -0x7bb0(s6) | *((s6 - 7916)) = s3;
| do {
0x00003004 subu a0, s3, v1 | __asm ("subu a0, s3, v1");
| if (v1 != 0) {
0x00003008 bnez v1, 0x3034 | goto label_6;
| }
0x0000300c sw s3, -0x7bb0(s6) | *((s6 - 7916)) = s3;
| label_5:
0x00003010 sw zero, -0x7bac(s6) | *((s6 - 7915)) = 0;
0x00003014 b 0x2d6c | goto label_1;
| label_4:
0x00003018 subu a0, s3, v1 | __asm ("subu a0, s3, v1");
| if (v0 > 0) {
0x0000301c bgtz v0, 0x3034 | goto label_6;
| }
0x00003020 beqz v0, 0x3004 |
| } while (v0 == 0);
0x00003024 nop |
0x00003028 sw s3, -0x7bb0(s6) | *((s6 - 7916)) = s3;
0x0000302c sw zero, -0x7bac(s6) | *((s6 - 7915)) = 0;
0x00003030 b 0x2d6c | goto label_1;
| label_6:
0x00003034 lw t9, -0x7fcc(gp) | t9 = *(gp);
0x00003038 sltu a1, s3, a0 | a1 = (s3 < a0) ? 1 : 0;
0x0000303c negu v0, v0 | __asm ("negu v0, v0");
0x00003040 subu a1, v0, a1 | __asm ("subu a1, v0, a1");
0x00003044 bal 0x60d0 | fcn_000060d0 ();
0x00003048 lw gp, 0x28(sp) | gp = *(var_28h);
0x0000304c move a1, v1 | a1 = v1;
0x00003050 move a0, v0 | a0 = v0;
0x00003054 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00003058 lw t9, -0x7fc8(gp) | t9 = *(gp);
0x0000305c lw s7, -0x7ed4(gp) | s7 = *((gp - 8117));
0x00003060 lw a3, 0x70d4(a2) | a3 = *((a2 + 7221));
0x00003064 lw a2, 0x70d0(a2) | a2 = *((a2 + 7220));
0x00003068 bal 0x5a90 | fcn_00005a90 ();
0x0000306c lw gp, 0x28(sp) | gp = *(var_28h);
0x00003070 move a0, s0 | a0 = s0;
0x00003074 sw v0, 0x30(sp) | *(var_30h) = v0;
0x00003078 lw t9, -0x7fc4(gp) | t9 = *(gp);
0x0000307c sw v1, 0x34(sp) | *(var_34h) = v1;
0x00003080 bal 0x6030 | fcn_00006030 ();
0x00003084 lw gp, 0x28(sp) | gp = *(var_28h);
0x00003088 lw t0, 0x30(sp) | t0 = *(var_30h);
0x0000308c lw t1, 0x34(sp) | t1 = *(var_34h);
0x00003090 lw t9, -0x7fc0(gp) | t9 = *(gp);
0x00003094 move a0, t0 | a0 = t0;
0x00003098 move a1, t1 | a1 = t1;
0x0000309c move a2, v0 | a2 = v0;
0x000030a0 move a3, v1 | a3 = v1;
0x000030a4 bal 0x5180 | fcn_00005180 ();
0x000030a8 lw gp, 0x28(sp) | gp = *(var_28h);
0x000030ac lw a0, (s7) | a0 = *(s7);
0x000030b0 sw v0, 0x18(sp) | *(var_18h) = v0;
0x000030b4 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x000030b8 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x000030bc sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x000030c0 sw s3, 0x10(sp) | *(var_10h) = s3;
0x000030c4 sw zero, 0x14(sp) | *(var_14h) = 0;
0x000030c8 addiu a2, a2, 0x6858 | a2 += str.count_lli__rate___.2lf_msg_sec_n;
0x000030cc addiu a1, zero, 1 | a1 = 1;
0x000030d0 jalr t9 | t9 ();
0x000030d4 lw gp, 0x28(sp) | gp = *(var_28h);
0x000030d8 sw s3, -0x7bb0(s6) | *((s6 - 7916)) = s3;
0x000030dc sw zero, -0x7bac(s6) | *((s6 - 7915)) = 0;
0x000030e0 b 0x2d6c | goto label_1;
| label_3:
0x000030e4 lw t9, -0x7f0c(gp) | t9 = sym.imp.__stack_chk_fail;
0x000030e8 jalr t9 | t9 ();
0x000030ec nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/loggen @ 0x3a1c */
| #include <stdint.h>
|
; (fcn) sym.read_next_message_from_file () | void read_next_message_from_file () {
0x00003a1c lui gp, 2 |
0x00003a20 addiu gp, gp, -0x379c |
0x00003a24 addu gp, gp, t9 | gp += t9;
0x00003a28 lw v0, -0x7ef4(gp) | v0 = *((gp - 8125));
0x00003a2c addiu sp, sp, -0x1728 |
0x00003a30 lw t9, -0x7e94(gp) | t9 = sym.imp.memset;
0x00003a34 sw s1, 0x1704(sp) | *(var_1704h) = s1;
0x00003a38 sw v0, 0x6c(sp) | *(var_6ch) = v0;
0x00003a3c lw s1, -0x7f94(gp) | s1 = *(gp);
0x00003a40 lw v0, (v0) | v0 = *(v0);
0x00003a44 addiu v1, sp, 0x70 | v1 = sp + 0x70;
0x00003a48 sw gp, 0x40(sp) | *(var_40h) = gp;
0x00003a4c sw s4, 0x1710(sp) | *(var_1710h) = s4;
0x00003a50 sw s2, 0x1708(sp) | *(var_1708h) = s2;
0x00003a54 sw s0, 0x1700(sp) | *(var_1700h) = s0;
0x00003a58 sw a2, 0x1730(sp) | *(arg_1730h) = a2;
0x00003a5c sw ra, 0x1724(sp) | *(var_1724h) = ra;
0x00003a60 sw fp, 0x1720(sp) | *(var_1720h) = fp;
0x00003a64 sw s7, 0x171c(sp) | *(var_171ch) = s7;
0x00003a68 sw s6, 0x1718(sp) | *(var_1718h) = s6;
0x00003a6c sw s5, 0x1714(sp) | *(var_1714h) = s5;
0x00003a70 sw s3, 0x170c(sp) | *(var_170ch) = s3;
0x00003a74 sw v1, 0x50(sp) | *(var_50h) = v1;
0x00003a78 move s2, a0 | s2 = a0;
0x00003a7c move s4, a1 | s4 = a1;
0x00003a80 move a0, v1 | a0 = v1;
0x00003a84 move a1, zero | a1 = 0;
0x00003a88 addiu a2, zero, 0x165d | a2 = 0x165d;
0x00003a8c sw v0, 0x16fc(sp) | *(var_16fch) = v0;
0x00003a90 move s0, a3 | s0 = a3;
0x00003a94 jalr t9 | t9 ();
0x00003a98 lw a0, (s1) | a0 = *(s1);
0x00003a9c sll s0, s0, 2 | s0 <<= 2;
0x00003aa0 lwx a0, s0(a0) | __asm ("lwx a0, s0(a0)");
0x00003aa4 lw gp, 0x40(sp) | gp = *(var_40h);
| if (a0 == 0) {
0x00003aa8 beqz a0, 0x46b4 | goto label_10;
| }
0x00003aac lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00003ab0 lw s5, -0x7fd0(gp) | s5 = *((gp - 8180));
0x00003ab4 addiu v0, v0, 0x75c4 | v0 += str.parse_line;
0x00003ab8 sw v0, 0x60(sp) | *(var_60h_2) = v0;
0x00003abc addiu v0, s5, 0x3578 | v0 = s5 + fcn.00003578;
0x00003ac0 sw v0, 0x4c(sp) | *(var_4ch_2) = v0;
0x00003ac4 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00003ac8 lw fp, -0x7fdc(gp) | fp = *((gp - 8183));
0x00003acc addiu v0, v0, 0x7570 | v0 += str.parse_line_rfc3164;
0x00003ad0 lw s6, -0x7fdc(gp) | s6 = *((gp - 8183));
0x00003ad4 sw v0, 0x64(sp) | *(var_64h_2) = v0;
| label_0:
0x00003ad8 lw t9, -0x7eec(gp) | t9 = sym.imp.feof;
0x00003adc jalr t9 | t9 ();
0x00003ae0 nop |
0x00003ae4 lw gp, 0x40(sp) | gp = *(var_40h);
| if (v0 != 0) {
0x00003ae8 beqz v0, 0x3b08 |
0x00003aec lw v0, -0x7b50(fp) | v0 = *(var_7b50h);
0x00003af0 lw t9, -0x7e78(gp) | t9 = sym.imp.rewind;
| if (v0 == 0) {
0x00003af4 beqz v0, 0x4640 | goto label_11;
| }
0x00003af8 lw a0, (s1) | a0 = *(s1);
0x00003afc lwx a0, s0(a0) | __asm ("lwx a0, s0(a0)");
0x00003b00 jalr t9 | t9 ();
0x00003b04 lw gp, 0x40(sp) | gp = *(var_40h);
| }
0x00003b08 lw a2, (s1) | a2 = *(s1);
0x00003b0c lw t9, -0x7e90(gp) | t9 = sym.imp.fgets;
0x00003b10 move a1, s4 | a1 = s4;
0x00003b14 lwx a2, s0(a2) | __asm ("lwx a2, s0(a2)");
0x00003b18 move a0, s2 | a0 = s2;
0x00003b1c jalr t9 | t9 ();
0x00003b20 lw gp, 0x40(sp) | gp = *(var_40h);
| if (v0 == 0) {
0x00003b24 beqz v0, 0x4004 | goto label_12;
| }
0x00003b28 lw v0, -0x7b54(s6) | v0 = *((s6 - 7893));
0x00003b2c lw t9, -0x7f14(gp) | t9 = sym.imp.strnlen;
| if (v0 != 0) {
0x00003b30 bnez v0, 0x4048 | goto label_13;
| }
| label_3:
0x00003b34 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00003b38 lw s3, -0x7b58(v0) | s3 = *((v0 - 7894));
0x00003b3c move s5, s2 | s5 = s2;
| if (s3 != 0) {
0x00003b40 bnez s3, 0x3b58 | goto label_14;
| }
0x00003b44 b 0x3bb0 | goto label_15;
0x00003b48 nop |
| do {
0x00003b4c addiu s3, s3, -1 | s3 += -1;
0x00003b50 addiu s5, v0, 1 | s5 = v0 + 1;
| if (s3 == 0) {
0x00003b54 beqz s3, 0x3bb0 | goto label_15;
| }
| label_14:
0x00003b58 lw t9, -0x7e80(gp) | t9 = sym.imp.strchr;
0x00003b5c addiu a1, zero, 0x20 | a1 = 0x20;
0x00003b60 move a0, s5 | a0 = s5;
0x00003b64 jalr t9 | t9 ();
0x00003b68 lw gp, 0x40(sp) | gp = *(var_40h);
0x00003b6c bnez v0, 0x3b4c |
| } while (v0 != 0);
| do {
| label_1:
0x00003b70 lw s7, -0x7ed4(gp) | s7 = *((gp - 8117));
| label_2:
0x00003b74 lw v1, -0x7fdc(gp) | v1 = *((gp - 8183));
0x00003b78 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00003b7c lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00003b80 lw v0, -0x7b60(v1) | v0 = *((v1 - 7896));
0x00003b84 lw a0, (s7) | a0 = *(s7);
0x00003b88 addiu v0, v0, 1 | v0++;
0x00003b8c move a3, v0 | a3 = v0;
0x00003b90 addiu a2, a2, 0x7350 | a2 += str.Invalid_line__d_n;
0x00003b94 addiu a1, zero, 1 | a1 = 1;
0x00003b98 sw v0, -0x7b60(v1) | *((v1 - 7896)) = v0;
0x00003b9c jalr t9 | t9 ();
0x00003ba0 lw a0, (s1) | a0 = *(s1);
0x00003ba4 lw gp, 0x40(sp) | gp = *(var_40h);
0x00003ba8 lwx a0, s0(a0) | __asm ("lwx a0, s0(a0)");
0x00003bac b 0x3ad8 | goto label_0;
| label_15:
0x00003bb0 lw t9, -0x7ec0(gp) | t9 = sym.imp.g_strstr_len;
0x00003bb4 beqz s5, 0x3b70 |
| } while (s5 == 0);
0x00003bb8 lw s3, -0x7fd0(gp) | s3 = *((gp - 8180));
0x00003bbc addiu a2, s3, 0x6db4 | a2 = s3 + 0x6db4;
0x00003bc0 addiu a1, zero, 5 | a1 = 5;
0x00003bc4 move a0, s5 | a0 = s5;
0x00003bc8 jalr t9 | t9 ();
0x00003bcc lw gp, 0x40(sp) | gp = *(var_40h);
| if (v0 != 0) {
0x00003bd0 beqz v0, 0x3f7c |
0x00003bd4 lbu v0, 1(v0) | v0 = *((v0 + 1));
0x00003bd8 addiu a0, v0, -0x41 | a0 = v0 + -0x41;
0x00003bdc sltiu a0, a0, 0x1a | a0 = (a0 < 0x1a) ? 1 : 0;
0x00003be0 addiu v0, v0, -0x30 | v0 += -0x30;
| if (a0 != 0) {
0x00003be4 bnez a0, 0x4098 | goto label_16;
| }
0x00003be8 sltiu v0, v0, 0xa | v0 = (v0 < 0xa) ? 1 : 0;
0x00003bec lw t9, -0x7ee4(gp) | t9 = sym.imp.get_debug_level;
| if (v0 == 0) {
0x00003bf0 beqz v0, 0x3f80 | goto label_17;
| }
0x00003bf4 lw a1, -0x7fd0(gp) | a1 = *((gp - 8180));
0x00003bf8 lw t9, -0x7f04(gp) | t9 = sym.imp.g_str_has_prefix;
0x00003bfc addiu a1, a1, 0x723c | a1 += 0x723c;
0x00003c00 move a0, s5 | a0 = s5;
0x00003c04 jalr t9 | t9 ();
0x00003c08 lw gp, 0x40(sp) | gp = *(var_40h);
| if (v0 != 0) {
0x00003c0c beqz v0, 0x3c14 |
0x00003c10 addiu s5, s5, 1 | s5++;
| }
0x00003c14 lw a1, -0x7fd0(gp) | a1 = *((gp - 8180));
0x00003c18 lw t9, -0x7e60(gp) | t9 = sym.imp.g_strsplit_set;
0x00003c1c addiu a2, zero, 8 | a2 = 8;
0x00003c20 addiu a1, a1, 0x7250 | a1 += 0x7250;
0x00003c24 move a0, s5 | a0 = s5;
0x00003c28 jalr t9 | t9 ();
0x00003c2c lw gp, 0x40(sp) | gp = *(var_40h);
0x00003c30 move a0, v0 | a0 = v0;
0x00003c34 lw t9, -0x7ea8(gp) | t9 = sym.imp.g_strv_length;
0x00003c38 move s3, v0 | s3 = v0;
0x00003c3c jalr t9 | t9 ();
0x00003c40 sltiu v0, v0, 8 | v0 = (v0 < 8) ? 1 : 0;
0x00003c44 lw gp, 0x40(sp) | gp = *(var_40h);
| if (v0 != 0) {
0x00003c48 bnez v0, 0x4310 | goto label_18;
| }
0x00003c4c lw s1, -0x7fd0(gp) | s1 = *((gp - 8180));
0x00003c50 lw a3, -0x7fd0(gp) | a3 = *((gp - 8180));
0x00003c54 addiu s1, s1, 0x3578 | s1 += fcn.00003578;
0x00003c58 lw a1, (s3) | a1 = *(s3);
0x00003c5c lw a0, 0x50(sp) | a0 = *(var_50h);
0x00003c60 addiu a3, a3, 0x7288 | a3 += str.priority;
0x00003c64 move t9, s1 | t9 = s1;
0x00003c68 addiu a2, zero, 4 | a2 = 4;
0x00003c6c bal 0x3578 | fcn_00003578 ();
0x00003c70 lw gp, 0x40(sp) | gp = *(var_40h);
0x00003c74 addiu v0, sp, 0x74 | v0 = sp + 0x74;
0x00003c78 lw a1, 4(s3) | a1 = *((s3 + 1));
0x00003c7c lw a3, -0x7fd0(gp) | a3 = *((gp - 8180));
0x00003c80 addiu a2, zero, 3 | a2 = 3;
0x00003c84 addiu a3, a3, 0x7240 | a3 += 0x7240;
0x00003c88 move a0, v0 | a0 = v0;
0x00003c8c move t9, s1 | t9 = s1;
0x00003c90 sw v0, 0x54(sp) | *(var_54h_3) = v0;
0x00003c94 bal 0x3578 | fcn_00003578 ();
0x00003c98 lw gp, 0x40(sp) | gp = *(var_40h);
0x00003c9c lw a1, 8(s3) | a1 = *((s3 + 2));
0x00003ca0 addiu a2, zero, 0x81 | a2 = 0x81;
0x00003ca4 lw a3, -0x7fd0(gp) | a3 = *((gp - 8180));
0x00003ca8 addiu a0, sp, 0x77 | a0 = sp + 0x77;
0x00003cac move t9, s1 | t9 = s1;
0x00003cb0 addiu a3, a3, 0x7294 | a3 += str.time_stamp;
0x00003cb4 bal 0x3578 | fcn_00003578 ();
0x00003cb8 lw gp, 0x40(sp) | gp = *(var_40h);
0x00003cbc addiu v0, sp, 0xf8 | v0 = sp + 0xf8;
0x00003cc0 lw a1, 0xc(s3) | a1 = *((s3 + 3));
0x00003cc4 lw a3, -0x7fd0(gp) | a3 = *((gp - 8180));
0x00003cc8 addiu a2, zero, 0x100 | a2 = 0x100;
0x00003ccc addiu a3, a3, 0x72a0 | a3 += str.host;
0x00003cd0 move a0, v0 | a0 = v0;
0x00003cd4 move t9, s1 | t9 = s1;
0x00003cd8 sw v0, 0x60(sp) | *(var_60h_2) = v0;
0x00003cdc bal 0x3578 | fcn_00003578 ();
0x00003ce0 lw gp, 0x40(sp) | gp = *(var_40h);
0x00003ce4 addiu v0, sp, 0x1f8 | v0 = sp + segment.DYNAMIC;
0x00003ce8 lw a1, 0x10(s3) | a1 = *((s3 + 4));
0x00003cec lw a3, -0x7fd0(gp) | a3 = *((gp - 8180));
0x00003cf0 addiu a2, zero, 0x31 | a2 = 0x31;
0x00003cf4 addiu a3, a3, 0x72a8 | a3 += 0x72a8;
0x00003cf8 move a0, v0 | a0 = v0;
0x00003cfc move t9, s1 | t9 = s1;
0x00003d00 sw v0, 0x64(sp) | *(var_64h_2) = v0;
0x00003d04 bal 0x3578 | fcn_00003578 ();
0x00003d08 lw gp, 0x40(sp) | gp = *(var_40h);
0x00003d0c addiu v0, sp, 0x229 | v0 = sp + 0x229;
0x00003d10 lw a1, 0x14(s3) | a1 = *((s3 + 5));
0x00003d14 lw a3, -0x7fd0(gp) | a3 = *((gp - 8180));
0x00003d18 addiu a2, zero, 0x81 | a2 = 0x81;
0x00003d1c addiu a3, a3, 0x72ac | a3 += 0x72ac;
0x00003d20 move a0, v0 | a0 = v0;
0x00003d24 move t9, s1 | t9 = s1;
0x00003d28 sw v0, 0x68(sp) | *(var_68h_2) = v0;
0x00003d2c bal 0x3578 | fcn_00003578 ();
0x00003d30 lw gp, 0x40(sp) | gp = *(var_40h);
0x00003d34 addiu v0, sp, 0x2aa | v0 = sp + 0x2aa;
0x00003d38 lw a1, 0x18(s3) | a1 = *((s3 + 6));
0x00003d3c lw a3, -0x7fd0(gp) | a3 = *((gp - 8180));
0x00003d40 addiu a2, zero, 0x21 | a2 = 0x21;
0x00003d44 addiu a3, a3, 0x72b0 | a3 += str.msgid;
0x00003d48 move a0, v0 | a0 = v0;
0x00003d4c move t9, s1 | t9 = s1;
0x00003d50 sw v0, 0x58(sp) | *(var_58h_2) = v0;
0x00003d54 bal 0x3578 | fcn_00003578 ();
0x00003d58 lw gp, 0x40(sp) | gp = *(var_40h);
0x00003d5c lw s0, 0x1c(s3) | s0 = *((s3 + 7));
0x00003d60 addiu a1, zero, 0x401 | a1 = 0x401;
0x00003d64 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00003d68 lw t9, -0x7ec0(gp) | t9 = sym.imp.g_strstr_len;
0x00003d6c addiu a2, a2, 0x72b8 | a2 += 0x72b8;
0x00003d70 move a0, s0 | a0 = s0;
0x00003d74 jalr t9 | t9 ();
0x00003d78 lw gp, 0x40(sp) | gp = *(var_40h);
0x00003d7c addiu a1, zero, 0x401 | a1 = 0x401;
0x00003d80 move a0, s0 | a0 = s0;
0x00003d84 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00003d88 lw t9, -0x7ec0(gp) | t9 = sym.imp.g_strstr_len;
0x00003d8c addiu a2, a2, 0x72bc | a2 += 0x72bc;
0x00003d90 move s7, v0 | s7 = v0;
0x00003d94 jalr t9 | t9 ();
0x00003d98 move s5, v0 | s5 = v0;
0x00003d9c lw gp, 0x40(sp) | gp = *(var_40h);
| if (s7 != 0) {
0x00003da0 beqz s7, 0x3db4 |
0x00003da4 addiu v0, v0, -1 | v0 += -1;
| if (v0 == 0) {
0x00003da8 beqz v0, 0x3db4 | goto label_19;
| }
0x00003dac lw a3, -0x7fd0(gp) | a3 = *((gp - 8180));
| if (v0 != s7) {
0x00003db0 bne v0, s7, 0x43e0 | goto label_20;
| }
| }
| label_19:
0x00003db4 lw t9, -0x7ee4(gp) | t9 = sym.imp.get_debug_level;
0x00003db8 jalr t9 | t9 ();
0x00003dbc nop |
0x00003dc0 lw gp, 0x40(sp) | gp = *(var_40h);
| if (v0 != 0) {
0x00003dc4 bnez v0, 0x44b0 | goto label_21;
| }
| label_6:
0x00003dc8 lw s5, -0x7fd0(gp) | s5 = *((gp - 8180));
0x00003dcc lw a3, -0x7fd0(gp) | a3 = *((gp - 8180));
0x00003dd0 addiu v0, sp, 0x2cb | v0 = sp + 0x2cb;
0x00003dd4 addiu a3, a3, 0x6e34 | a3 += str.sdata;
0x00003dd8 addiu a2, zero, 0x401 | a2 = 0x401;
0x00003ddc addiu a1, s5, 0x7238 | a1 = s5 + 0x7238;
0x00003de0 move a0, v0 | a0 = v0;
0x00003de4 move t9, s1 | t9 = s1;
0x00003de8 sw v0, 0x5c(sp) | *(var_5ch_3) = v0;
0x00003dec bal 0x3578 | fcn_00003578 ();
0x00003df0 lw gp, 0x40(sp) | gp = *(var_40h);
0x00003df4 addiu a2, s5, 0x7238 | a2 = s5 + 0x7238;
0x00003df8 move a0, s0 | a0 = s0;
0x00003dfc lw t9, -0x7ec0(gp) | t9 = sym.imp.g_strstr_len;
0x00003e00 addiu a1, zero, 0x401 | a1 = 0x401;
0x00003e04 jalr t9 | t9 ();
0x00003e08 lw gp, 0x40(sp) | gp = *(var_40h);
0x00003e0c addiu s0, sp, 0x6cc | s0 = sp + 0x6cc;
0x00003e10 addiu a2, zero, 0x1001 | a2 = 0x1001;
0x00003e14 lw a3, -0x7fd0(gp) | a3 = *((gp - 8180));
0x00003e18 addiu a3, a3, 0x72e8 | a3 += 0x72e8;
| if (v0 == 0) {
0x00003e1c beqz v0, 0x45bc | goto label_22;
| }
0x00003e20 addiu a1, v0, 1 | a1 = v0 + 1;
0x00003e24 move t9, s1 | t9 = s1;
0x00003e28 move a0, s0 | a0 = s0;
0x00003e2c bal 0x3578 | fcn_00003578 ();
0x00003e30 lw gp, 0x40(sp) | gp = *(var_40h);
| label_7:
0x00003e34 lw t9, -0x7f08(gp) | t9 = sym.imp.g_strchug;
0x00003e38 move a0, s0 | a0 = s0;
0x00003e3c jalr t9 | t9 ();
0x00003e40 lw gp, 0x40(sp) | gp = *(var_40h);
| label_5:
0x00003e44 lw t9, -0x7f54(gp) | t9 = sym.imp.g_strfreev;
0x00003e48 move a0, s3 | a0 = s3;
0x00003e4c jalr t9 | t9 ();
0x00003e50 lw gp, 0x40(sp) | gp = *(var_40h);
| label_4:
0x00003e54 lw v0, -0x7b54(s6) | v0 = *((s6 - 7893));
0x00003e58 lw v0, 0x1730(sp) | v0 = *(arg_1730h);
| if (v0 != 0) {
0x00003e5c bnez v0, 0x4044 | goto label_23;
| }
0x00003e60 lw t9, -0x7f6c(gp) | t9 = sym.imp.get_now_timestamp_bsd;
| if (v0 == 0) {
0x00003e64 beqz v0, 0x4648 | goto label_24;
| }
0x00003e68 lw t9, -0x7f10(gp) | t9 = sym.imp.get_now_timestamp;
0x00003e6c addiu s1, sp, 0x16dc | s1 = sp + 0x16dc;
0x00003e70 addiu a1, zero, 0x20 | a1 = 0x20;
0x00003e74 move a0, s1 | a0 = s1;
0x00003e78 jalr t9 | t9 ();
0x00003e7c lb v1, 0x229(sp) | v1 = *(var_229h);
0x00003e80 lw gp, 0x40(sp) | gp = *(var_40h);
0x00003e84 addiu a0, s2, 0xa | a0 = s2 + 0xa;
0x00003e88 addiu a1, s4, -0xa | a1 = s4 + -0xa;
| if (v1 != 0) {
0x00003e8c bnez v1, 0x4700 | goto label_25;
| }
0x00003e90 lw t1, -0x7fd0(gp) | t1 = *((gp - 8180));
0x00003e94 addiu t1, t1, 0x7238 | t1 += 0x7238;
| label_9:
0x00003e98 lb v1, 0x2aa(sp) | v1 = *(var_2aah);
0x00003e9c lw t0, 0x58(sp) | t0 = *(var_58h_2);
| if (v1 == 0) {
0x00003ea0 bnez v1, 0x3eac |
0x00003ea4 lw t0, -0x7fd0(gp) | t0 = *((gp - 8180));
0x00003ea8 addiu t0, t0, 0x7238 | t0 += 0x7238;
| }
0x00003eac lb v1, 0x2cb(sp) | v1 = *(var_2cbh);
0x00003eb0 lw v1, 0x5c(sp) | v1 = *(var_5ch_3);
| if (v1 == 0) {
0x00003eb4 bnez v1, 0x3ec0 |
0x00003eb8 lw v1, -0x7fd0(gp) | v1 = *((gp - 8180));
0x00003ebc addiu v1, v1, 0x7238 | v1 += 0x7238;
| }
0x00003ec0 sw v0, 0x1c(sp) | *(var_1ch_2) = v0;
0x00003ec4 lw v0, 0x54(sp) | v0 = *(var_54h_3);
0x00003ec8 sw v1, 0x34(sp) | *(var_34h) = v1;
0x00003ecc sw v0, 0x18(sp) | *(var_18h_3) = v0;
0x00003ed0 lw v0, 0x50(sp) | v0 = *(var_50h);
0x00003ed4 lw v1, 0x64(sp) | v1 = *(var_64h_2);
0x00003ed8 sw v0, 0x14(sp) | *(var_14h_3) = v0;
0x00003edc lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00003ee0 sw v1, 0x28(sp) | *(var_28h_3) = v1;
0x00003ee4 lw v1, 0x60(sp) | v1 = *(var_60h_2);
0x00003ee8 lw t9, -0x7f4c(gp) | t9 = sym.imp.__snprintf_chk;
0x00003eec addiu v0, v0, 0x7364 | v0 += str.__s__s__.s__s__s__s__s__s_;
0x00003ef0 sw s1, 0x20(sp) | *(var_20h_3) = s1;
0x00003ef4 sw v1, 0x24(sp) | *(var_24h_2) = v1;
0x00003ef8 addiu a3, zero, -1 | a3 = -1;
0x00003efc addiu a2, zero, 1 | a2 = 1;
0x00003f00 sw s0, 0x38(sp) | *(var_38h) = s0;
0x00003f04 sw t0, 0x30(sp) | *(var_30h_2) = t0;
0x00003f08 sw t1, 0x2c(sp) | *(var_2ch) = t1;
0x00003f0c sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x00003f10 jalr t9 | t9 ();
0x00003f14 lw gp, 0x40(sp) | gp = *(var_40h);
0x00003f18 move s0, v0 | s0 = v0;
0x00003f1c sw v0, 0x14(sp) | *(var_14h_3) = v0;
0x00003f20 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00003f24 addiu s1, sp, 0x16d0 | s1 = sp + 0x16d0;
0x00003f28 addiu v0, v0, 0x7388 | v0 += str._09d_;
0x00003f2c lw t9, -0x7f4c(gp) | t9 = sym.imp.__snprintf_chk;
0x00003f30 move a0, s1 | a0 = s1;
0x00003f34 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x00003f38 addiu a3, zero, 0xb | a3 = 0xb;
0x00003f3c addiu a2, zero, 1 | a2 = 1;
0x00003f40 addiu a1, zero, 0xb | a1 = 0xb;
0x00003f44 jalr t9 | t9 ();
0x00003f48 lw v1, 0x16d0(sp) | v1 = *(var_16d0h);
0x00003f4c lw gp, 0x40(sp) | gp = *(var_40h);
0x00003f50 lw v0, 4(s1) | v0 = *((s1 + 1));
0x00003f54 swl v1, 3(s2) | __asm ("swl v1, 3(s2)");
0x00003f58 swr v1, (s2) | __asm ("swr v1, (s2)");
0x00003f5c lbu a0, 8(s1) | a0 = *((s1 + 8));
0x00003f60 lbu v1, 9(s1) | v1 = *((s1 + 9));
0x00003f64 swl v0, 7(s2) | __asm ("swl v0, 7(s2)");
0x00003f68 swr v0, 4(s2) | __asm ("swr v0, 4(s2)");
0x00003f6c sb a0, 8(s2) | *((s2 + 8)) = a0;
0x00003f70 sb v1, 9(s2) | *((s2 + 9)) = v1;
0x00003f74 addiu v0, s0, 0xa | v0 = s0 + 0xa;
0x00003f78 b 0x4058 | goto label_8;
| }
0x00003f7c lw t9, -0x7ee4(gp) | t9 = sym.imp.get_debug_level;
| label_17:
0x00003f80 jalr t9 | t9 ();
0x00003f84 nop |
0x00003f88 lw gp, 0x40(sp) | gp = *(var_40h);
| if (v0 == 0) {
0x00003f8c beqz v0, 0x3b70 | goto label_1;
| }
0x00003f90 lw s3, -0x7f2c(gp) | s3 = *((gp - 8139));
0x00003f94 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x00003f98 lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x00003f9c addiu a0, a0, 0x70e0 | a0 += 0x70e0;
0x00003fa0 lw s7, (s3) | s7 = *(s3);
0x00003fa4 jalr t9 | t9 ();
0x00003fa8 lw gp, 0x40(sp) | gp = *(var_40h);
0x00003fac move a3, v0 | a3 = v0;
0x00003fb0 addiu v0, zero, 0x149 | v0 = 0x149;
0x00003fb4 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00003fb8 sw v0, 0x14(sp) | *(var_14h_3) = v0;
0x00003fbc lw v0, 0x60(sp) | v0 = *(var_60h_2);
0x00003fc0 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00003fc4 move a0, s7 | a0 = s7;
0x00003fc8 addiu a2, a2, 0x697c | a2 += str.debug___s:_s:_d__;
0x00003fcc addiu a1, zero, 1 | a1 = 1;
0x00003fd0 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x00003fd4 jalr t9 | t9 ();
0x00003fd8 lw gp, 0x40(sp) | gp = *(var_40h);
0x00003fdc lw a0, (s3) | a0 = *(s3);
0x00003fe0 move a3, s5 | a3 = s5;
0x00003fe4 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00003fe8 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00003fec addiu a2, a2, 0x7330 | a2 += 0x7330;
0x00003ff0 lw s7, -0x7ed4(gp) | s7 = *((gp - 8117));
0x00003ff4 addiu a1, zero, 1 | a1 = 1;
0x00003ff8 jalr t9 | t9 ();
0x00003ffc lw gp, 0x40(sp) | gp = *(var_40h);
0x00004000 b 0x3b74 | goto label_2;
| label_12:
0x00004004 lw v0, -0x7b50(fp) | v0 = *(var_7b50h);
0x00004008 lw t9, -0x7e78(gp) | t9 = sym.imp.rewind;
| if (v0 == 0) {
0x0000400c beqz v0, 0x4640 | goto label_11;
| }
0x00004010 lw a0, (s1) | a0 = *(s1);
0x00004014 lwx a0, s0(a0) | __asm ("lwx a0, s0(a0)");
0x00004018 jalr t9 | t9 ();
0x0000401c lw gp, 0x40(sp) | gp = *(var_40h);
0x00004020 lw a2, (s1) | a2 = *(s1);
0x00004024 move a1, s4 | a1 = s4;
0x00004028 lw t9, -0x7e90(gp) | t9 = sym.imp.fgets;
0x0000402c lwx a2, s0(a2) | __asm ("lwx a2, s0(a2)");
0x00004030 move a0, s2 | a0 = s2;
0x00004034 jalr t9 | t9 ();
0x00004038 lw v0, -0x7b54(s6) | v0 = *((s6 - 7893));
0x0000403c lw gp, 0x40(sp) | gp = *(var_40h);
| if (v0 == 0) {
0x00004040 beqz v0, 0x3b34 | goto label_3;
| }
| label_23:
0x00004044 lw t9, -0x7f14(gp) | t9 = sym.imp.strnlen;
| label_13:
0x00004048 move a1, s4 | a1 = s4;
0x0000404c move a0, s2 | a0 = s2;
0x00004050 jalr t9 | t9 ();
0x00004054 lw gp, 0x40(sp) | gp = *(var_40h);
| label_8:
0x00004058 lw v1, 0x6c(sp) | v1 = *(var_6ch);
0x0000405c lw a0, 0x16fc(sp) | a0 = *(var_16fch);
0x00004060 lw v1, (v1) | v1 = *(v1);
0x00004064 lw ra, 0x1724(sp) | ra = *(var_1724h);
| if (a0 != v1) {
0x00004068 bne a0, v1, 0x4708 | goto label_26;
| }
0x0000406c lw fp, 0x1720(sp) | fp = *(var_1720h);
0x00004070 lw s7, 0x171c(sp) | s7 = *(var_171ch);
0x00004074 lw s6, 0x1718(sp) | s6 = *(var_1718h);
0x00004078 lw s5, 0x1714(sp) | s5 = *(var_1714h);
0x0000407c lw s4, 0x1710(sp) | s4 = *(var_1710h);
0x00004080 lw s3, 0x170c(sp) | s3 = *(var_170ch);
0x00004084 lw s2, 0x1708(sp) | s2 = *(var_1708h);
0x00004088 lw s1, 0x1704(sp) | s1 = *(var_1704h);
0x0000408c lw s0, 0x1700(sp) | s0 = *(var_1700h);
0x00004090 addiu sp, sp, 0x1728 |
0x00004094 jr ra | return v0;
| label_16:
0x00004098 lw s7, -0x7fd0(gp) | s7 = *((gp - 8180));
0x0000409c lw a3, -0x7fd0(gp) | a3 = *((gp - 8180));
0x000040a0 addiu v0, sp, 0x74 | v0 = sp + 0x74;
0x000040a4 lw t9, 0x4c(sp) | t9 = *(var_4ch_2);
0x000040a8 addiu a3, a3, 0x7240 | a3 += 0x7240;
0x000040ac addiu a2, zero, 3 | a2 = 3;
0x000040b0 addiu a1, s7, 0x6cd0 | a1 = s7 + 0x6cd0;
0x000040b4 move a0, v0 | a0 = v0;
0x000040b8 sw v0, 0x54(sp) | *(var_54h_3) = v0;
0x000040bc jalr t9 | t9 ();
0x000040c0 lw gp, 0x40(sp) | gp = *(var_40h);
0x000040c4 addiu v0, sp, 0x2aa | v0 = sp + 0x2aa;
0x000040c8 lw t9, 0x4c(sp) | t9 = *(var_4ch_2);
0x000040cc lw a3, -0x7fd0(gp) | a3 = *((gp - 8180));
0x000040d0 addiu a2, zero, 0x21 | a2 = 0x21;
0x000040d4 addiu a3, a3, 0x7248 | a3 += str.msg_id;
0x000040d8 addiu a1, s7, 0x6cd0 | a1 = s7 + 0x6cd0;
0x000040dc move a0, v0 | a0 = v0;
0x000040e0 sw v0, 0x58(sp) | *(var_58h_2) = v0;
0x000040e4 jalr t9 | t9 ();
0x000040e8 lw gp, 0x40(sp) | gp = *(var_40h);
0x000040ec addiu v0, sp, 0x2cb | v0 = sp + 0x2cb;
0x000040f0 lw t9, 0x4c(sp) | t9 = *(var_4ch_2);
0x000040f4 lw a3, -0x7fd0(gp) | a3 = *((gp - 8180));
0x000040f8 addiu a2, zero, 0x401 | a2 = 0x401;
0x000040fc addiu a3, a3, 0x6e34 | a3 += str.sdata;
0x00004100 addiu a1, s7, 0x6cd0 | a1 = s7 + 0x6cd0;
0x00004104 move a0, v0 | a0 = v0;
0x00004108 sw v0, 0x5c(sp) | *(var_5ch_3) = v0;
0x0000410c jalr t9 | t9 ();
0x00004110 lw gp, 0x40(sp) | gp = *(var_40h);
0x00004114 move a0, s5 | a0 = s5;
0x00004118 lw a1, -0x7fd0(gp) | a1 = *((gp - 8180));
0x0000411c lw t9, -0x7f04(gp) | t9 = sym.imp.g_str_has_prefix;
0x00004120 addiu a1, a1, 0x723c | a1 += 0x723c;
0x00004124 jalr t9 | t9 ();
0x00004128 lw gp, 0x40(sp) | gp = *(var_40h);
| if (v0 != 0) {
0x0000412c beqz v0, 0x4134 |
0x00004130 addiu s5, s5, 1 | s5++;
| }
0x00004134 lw t9, -0x7ec0(gp) | t9 = sym.imp.g_strstr_len;
0x00004138 addiu a2, s3, 0x6db4 | a2 = s3 + 0x6db4;
0x0000413c addiu a1, zero, 0x1001 | a1 = 0x1001;
0x00004140 move a0, s5 | a0 = s5;
0x00004144 jalr t9 | t9 ();
0x00004148 move s3, v0 | s3 = v0;
0x0000414c lw gp, 0x40(sp) | gp = *(var_40h);
| if (v0 == 0) {
0x00004150 beqz v0, 0x4440 | goto label_27;
| }
0x00004154 subu a2, v0, s5 | __asm ("subu a2, v0, s5");
0x00004158 lw fp, -0x7fd0(gp) | fp = *((gp - 8180));
0x0000415c lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00004160 lw a0, 0x50(sp) | a0 = *(var_50h);
0x00004164 addiu fp, fp, 0x33e0 | fp += fcn.000033e0;
0x00004168 addiu v0, v0, 0x7318 | v0 += 0x7318;
0x0000416c addiu a3, zero, 4 | a3 = 4;
0x00004170 move a1, s5 | a1 = s5;
0x00004174 move t9, fp | t9 = fp;
0x00004178 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x0000417c bal 0x33e0 | fcn_000033e0 ();
0x00004180 lw gp, 0x40(sp) | gp = *(var_40h);
0x00004184 addiu a1, s3, 1 | a1 = s3 + 1;
0x00004188 addiu a3, zero, 0x81 | a3 = 0x81;
0x0000418c lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00004190 addiu a2, zero, 0xf | a2 = 0xf;
0x00004194 addiu v0, v0, 0x731c | v0 += str.timestamp;
0x00004198 addiu a0, sp, 0x77 | a0 = sp + 0x77;
0x0000419c move t9, fp | t9 = fp;
0x000041a0 lw s0, -0x7fd0(gp) | s0 = *((gp - 8180));
0x000041a4 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x000041a8 bal 0x33e0 | fcn_000033e0 ();
0x000041ac lw gp, 0x40(sp) | gp = *(var_40h);
0x000041b0 addiu s3, s3, 0x11 | s3 += 0x11;
0x000041b4 addiu a2, s0, 0x698c | a2 = s0 + 0x698c;
0x000041b8 lw t9, -0x7ec0(gp) | t9 = sym.imp.g_strstr_len;
0x000041bc addiu a1, zero, 0x1001 | a1 = 0x1001;
0x000041c0 move a0, s3 | a0 = s3;
0x000041c4 jalr t9 | t9 ();
0x000041c8 move s1, v0 | s1 = v0;
0x000041cc addiu v0, sp, 0xf8 | v0 = sp + 0xf8;
0x000041d0 lw gp, 0x40(sp) | gp = *(var_40h);
0x000041d4 sw v0, 0x60(sp) | *(var_60h_2) = v0;
| if (s1 == 0) {
0x000041d8 beqz s1, 0x4524 | goto label_28;
| }
0x000041dc move a0, v0 | a0 = v0;
0x000041e0 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x000041e4 subu a2, s1, s3 | __asm ("subu a2, s1, s3");
0x000041e8 addiu v0, v0, 0x72a0 | v0 += str.host;
0x000041ec addiu a3, zero, 0x100 | a3 = 0x100;
0x000041f0 move a1, s3 | a1 = s3;
0x000041f4 move t9, fp | t9 = fp;
0x000041f8 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x000041fc bal 0x33e0 | fcn_000033e0 ();
0x00004200 lw gp, 0x40(sp) | gp = *(var_40h);
0x00004204 addiu s1, s1, 1 | s1++;
0x00004208 addiu a2, s0, 0x698c | a2 = s0 + 0x698c;
0x0000420c lw t9, -0x7ec0(gp) | t9 = sym.imp.g_strstr_len;
0x00004210 addiu a1, zero, 0x1001 | a1 = 0x1001;
0x00004214 move a0, s1 | a0 = s1;
0x00004218 jalr t9 | t9 ();
0x0000421c lw gp, 0x40(sp) | gp = *(var_40h);
0x00004220 addiu a1, zero, 0x31 | a1 = 0x31;
0x00004224 move a0, s1 | a0 = s1;
0x00004228 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x0000422c lw t9, -0x7ec0(gp) | t9 = sym.imp.g_strstr_len;
0x00004230 addiu a2, a2, 0x7328 | a2 += 0x7328;
0x00004234 move s3, v0 | s3 = v0;
0x00004238 jalr t9 | t9 ();
0x0000423c lw gp, 0x40(sp) | gp = *(var_40h);
| if (v0 == 0) {
0x00004240 beqz v0, 0x45d8 | goto label_29;
| }
0x00004244 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00004248 lw t9, -0x7ec0(gp) | t9 = sym.imp.g_strstr_len;
0x0000424c addiu a2, a2, 0x72b8 | a2 += 0x72b8;
0x00004250 addiu a1, zero, 0x31 | a1 = 0x31;
0x00004254 move a0, s1 | a0 = s1;
0x00004258 jalr t9 | t9 ();
0x0000425c lw gp, 0x40(sp) | gp = *(var_40h);
0x00004260 addiu a1, zero, 0x31 | a1 = 0x31;
0x00004264 move a0, s1 | a0 = s1;
0x00004268 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x0000426c lw t9, -0x7ec0(gp) | t9 = sym.imp.g_strstr_len;
0x00004270 addiu a2, a2, 0x732c | a2 += 0x732c;
0x00004274 move s0, v0 | s0 = v0;
0x00004278 jalr t9 | t9 ();
0x0000427c lw gp, 0x40(sp) | gp = *(var_40h);
| if (s0 == 0) {
0x00004280 beqz s0, 0x4394 | goto label_30;
| }
0x00004284 subu v0, v0, s0 | __asm ("subu v0, v0, s0");
| if (v0 == 0) {
0x00004288 beqz v0, 0x4394 | goto label_30;
| }
0x0000428c addiu a2, v0, -1 | a2 = v0 + -1;
0x00004290 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x00004294 addiu v1, sp, 0x229 | v1 = sp + 0x229;
0x00004298 addiu v0, v0, 0x72ac | v0 += 0x72ac;
0x0000429c addiu a3, zero, 0x81 | a3 = 0x81;
0x000042a0 move a0, v1 | a0 = v1;
0x000042a4 sw v1, 0x68(sp) | *(var_68h_2) = v1;
0x000042a8 addiu a1, s0, 1 | a1 = s0 + 1;
0x000042ac move t9, fp | t9 = fp;
0x000042b0 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x000042b4 bal 0x33e0 | fcn_000033e0 ();
0x000042b8 lw gp, 0x40(sp) | gp = *(var_40h);
0x000042bc addiu a0, sp, 0x1f8 | a0 = sp + segment.DYNAMIC;
0x000042c0 sw a0, 0x64(sp) | *(var_64h_2) = a0;
0x000042c4 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x000042c8 addiu a3, zero, 0x31 | a3 = 0x31;
0x000042cc addiu v0, v0, 0x72a8 | v0 += 0x72a8;
0x000042d0 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x000042d4 subu a2, s0, s1 | __asm ("subu a2, s0, s1");
| do {
0x000042d8 move t9, fp | t9 = fp;
0x000042dc move a1, s1 | a1 = s1;
0x000042e0 bal 0x33e0 | fcn_000033e0 ();
0x000042e4 lw gp, 0x40(sp) | gp = *(var_40h);
0x000042e8 addiu s0, sp, 0x6cc | s0 = sp + 0x6cc;
0x000042ec lw t9, 0x4c(sp) | t9 = *(var_4ch_2);
0x000042f0 lw a3, -0x7fd0(gp) | a3 = *((gp - 8180));
0x000042f4 addiu a2, zero, 0x1001 | a2 = 0x1001;
0x000042f8 addiu a3, a3, 0x72e8 | a3 += 0x72e8;
0x000042fc addiu a1, s3, 1 | a1 = s3 + 1;
0x00004300 move a0, s0 | a0 = s0;
0x00004304 jalr t9 | t9 ();
0x00004308 lw gp, 0x40(sp) | gp = *(var_40h);
0x0000430c b 0x3e54 | goto label_4;
| label_18:
0x00004310 lw s7, -0x7ed4(gp) | s7 = *((gp - 8117));
0x00004314 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x00004318 lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x0000431c addiu a0, a0, 0x70e0 | a0 += 0x70e0;
0x00004320 lw s5, (s7) | s5 = *(s7);
0x00004324 jalr t9 | t9 ();
0x00004328 lw gp, 0x40(sp) | gp = *(var_40h);
0x0000432c move a3, v0 | a3 = v0;
0x00004330 addiu v0, zero, 0xcc | v0 = 0xcc;
0x00004334 sw v0, 0x14(sp) | *(var_14h_3) = v0;
0x00004338 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x0000433c lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00004340 addiu v0, v0, 0x75b0 | v0 += str.parse_line_rfc5424;
0x00004344 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00004348 addiu a2, a2, 0x6810 | a2 += str.error___s:_s:_d__;
0x0000434c addiu a1, zero, 1 | a1 = 1;
0x00004350 move a0, s5 | a0 = s5;
0x00004354 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x00004358 jalr t9 | t9 ();
0x0000435c lw gp, 0x40(sp) | gp = *(var_40h);
0x00004360 lw a3, (s7) | a3 = *(s7);
0x00004364 addiu a2, zero, 0x31 | a2 = 0x31;
0x00004368 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x0000436c lw t9, -0x7f00(gp) | t9 = sym.imp.fwrite;
0x00004370 addiu a1, zero, 1 | a1 = 1;
0x00004374 addiu a0, a0, 0x7254 | a0 += str.Invalid_rfc5424_log_format._Header_is_too_short._n;
0x00004378 jalr t9 | t9 ();
0x0000437c lw gp, 0x40(sp) | gp = *(var_40h);
0x00004380 lw t9, -0x7f54(gp) | t9 = sym.imp.g_strfreev;
0x00004384 move a0, s3 | a0 = s3;
0x00004388 jalr t9 | t9 ();
0x0000438c lw gp, 0x40(sp) | gp = *(var_40h);
0x00004390 b 0x3b74 | goto label_2;
| label_30:
0x00004394 lw a3, -0x7fd0(gp) | a3 = *((gp - 8180));
0x00004398 addiu v0, sp, 0x229 | v0 = sp + 0x229;
0x0000439c lw t9, 0x4c(sp) | t9 = *(var_4ch_2);
0x000043a0 addiu a3, a3, 0x72ac | a3 += 0x72ac;
0x000043a4 addiu a2, zero, 0x81 | a2 = 0x81;
0x000043a8 move a0, v0 | a0 = v0;
0x000043ac sw v0, 0x68(sp) | *(var_68h_2) = v0;
0x000043b0 addiu a1, s7, 0x6cd0 | a1 = s7 + 0x6cd0;
0x000043b4 jalr t9 | t9 ();
0x000043b8 lw gp, 0x40(sp) | gp = *(var_40h);
0x000043bc subu a2, s3, s1 | __asm ("subu a2, s3, s1");
0x000043c0 addiu a0, sp, 0x1f8 | a0 = sp + segment.DYNAMIC;
0x000043c4 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x000043c8 sw a0, 0x64(sp) | *(var_64h_2) = a0;
0x000043cc addiu v0, v0, 0x72a8 | v0 += 0x72a8;
0x000043d0 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x000043d4 addiu a3, zero, 0x31 | a3 = 0x31;
0x000043d8 addiu a2, a2, -1 | a2 += -1;
0x000043dc b 0x42d8 |
| } while (1);
| label_20:
0x000043e0 addiu s0, sp, 0x2cb | s0 = sp + 0x2cb;
0x000043e4 addiu a3, a3, 0x6e34 | a3 += str.sdata;
0x000043e8 addiu a2, zero, 0x401 | a2 = 0x401;
0x000043ec move a1, s7 | a1 = s7;
0x000043f0 move a0, s0 | a0 = s0;
0x000043f4 sw s0, 0x5c(sp) | *(var_5ch_3) = s0;
0x000043f8 move t9, s1 | t9 = s1;
0x000043fc sb zero, (s5) | *(s5) = 0;
0x00004400 bal 0x3578 | fcn_00003578 ();
0x00004404 lw gp, 0x40(sp) | gp = *(var_40h);
0x00004408 move a0, s0 | a0 = s0;
0x0000440c lw t9, -0x7efc(gp) | t9 = sym.imp.g_strchomp;
0x00004410 addiu s0, sp, 0x6cc | s0 = sp + 0x6cc;
0x00004414 jalr t9 | t9 ();
0x00004418 lw gp, 0x40(sp) | gp = *(var_40h);
0x0000441c addiu a2, zero, 0x1001 | a2 = 0x1001;
0x00004420 addiu a1, s5, 3 | a1 = s5 + 3;
0x00004424 lw a3, -0x7fd0(gp) | a3 = *((gp - 8180));
0x00004428 move a0, s0 | a0 = s0;
0x0000442c move t9, s1 | t9 = s1;
0x00004430 addiu a3, a3, 0x72e8 | a3 += 0x72e8;
0x00004434 bal 0x3578 | fcn_00003578 ();
0x00004438 lw gp, 0x40(sp) | gp = *(var_40h);
0x0000443c b 0x3e44 | goto label_5;
| label_27:
0x00004440 lw s7, -0x7ed4(gp) | s7 = *((gp - 8117));
0x00004444 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x00004448 lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x0000444c addiu a0, a0, 0x70e0 | a0 += 0x70e0;
0x00004450 lw s3, (s7) | s3 = *(s7);
0x00004454 jalr t9 | t9 ();
0x00004458 lw gp, 0x40(sp) | gp = *(var_40h);
0x0000445c move a3, v0 | a3 = v0;
0x00004460 addiu v0, zero, 0xf0 | v0 = 0xf0;
0x00004464 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x00004468 sw v0, 0x14(sp) | *(var_14h_3) = v0;
0x0000446c lw v0, 0x64(sp) | v0 = *(var_64h_2);
0x00004470 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x00004474 addiu a2, a2, 0x6810 | a2 += str.error___s:_s:_d__;
0x00004478 addiu a1, zero, 1 | a1 = 1;
0x0000447c move a0, s3 | a0 = s3;
0x00004480 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x00004484 jalr t9 | t9 ();
0x00004488 lw gp, 0x40(sp) | gp = *(var_40h);
0x0000448c lw a3, (s7) | a3 = *(s7);
0x00004490 addiu a2, zero, 0x2a | a2 = 0x2a;
0x00004494 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x00004498 lw t9, -0x7f00(gp) | t9 = sym.imp.fwrite;
0x0000449c addiu a1, zero, 1 | a1 = 1;
0x000044a0 addiu a0, a0, 0x72ec | a0 += str.Invalid_rfc3164_log_format._No___found._n;
0x000044a4 jalr t9 | t9 ();
0x000044a8 lw gp, 0x40(sp) | gp = *(var_40h);
0x000044ac b 0x3b74 | goto label_2;
| label_21:
0x000044b0 lw s5, -0x7f2c(gp) | s5 = *((gp - 8139));
0x000044b4 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x000044b8 lw t9, -0x7ee8(gp) | t9 = sym.imp.__xpg_basename;
0x000044bc addiu a0, a0, 0x70e0 | a0 += 0x70e0;
0x000044c0 lw s7, (s5) | s7 = *(s5);
0x000044c4 jalr t9 | t9 ();
0x000044c8 lw gp, 0x40(sp) | gp = *(var_40h);
0x000044cc move a3, v0 | a3 = v0;
0x000044d0 addiu v0, zero, 0xa9 | v0 = 0xa9;
0x000044d4 sw v0, 0x14(sp) | *(var_14h_3) = v0;
0x000044d8 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x000044dc lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x000044e0 addiu v0, v0, 0x7584 | v0 += str.parse_sdata_and_message;
0x000044e4 lw t9, -0x7e68(gp) | t9 = sym.imp.__fprintf_chk
0x000044e8 addiu a2, a2, 0x697c | a2 += str.debug___s:_s:_d__;
0x000044ec addiu a1, zero, 1 | a1 = 1;
0x000044f0 move a0, s7 | a0 = s7;
0x000044f4 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x000044f8 jalr t9 | t9 ();
0x000044fc lw gp, 0x40(sp) | gp = *(var_40h);
0x00004500 lw a3, (s5) | a3 = *(s5);
0x00004504 addiu a2, zero, 0x27 | a2 = 0x27;
0x00004508 lw a0, -0x7fd0(gp) | a0 = *((gp - 8180));
0x0000450c lw t9, -0x7f00(gp) | t9 = sym.imp.fwrite;
0x00004510 addiu a1, zero, 1 | a1 = 1;
0x00004514 addiu a0, a0, 0x72c0 | a0 += str.no_valid_sdata_found._use_____as_sdata_n;
0x00004518 jalr t9 | t9 ();
0x0000451c lw gp, 0x40(sp) | gp = *(var_40h);
0x00004520 b 0x3dc8 | goto label_6;
| label_28:
0x00004524 lw a3, -0x7fd0(gp) | a3 = *((gp - 8180));
0x00004528 lw t9, 0x4c(sp) | t9 = *(var_4ch_2);
0x0000452c addiu a3, a3, 0x72a0 | a3 += str.host;
0x00004530 addiu a2, zero, 0x100 | a2 = 0x100;
0x00004534 move a1, s3 | a1 = s3;
0x00004538 move a0, v0 | a0 = v0;
0x0000453c jalr t9 | t9 ();
0x00004540 lw gp, 0x40(sp) | gp = *(var_40h);
0x00004544 addiu v0, sp, 0x229 | v0 = sp + 0x229;
0x00004548 lw t9, 0x4c(sp) | t9 = *(var_4ch_2);
0x0000454c lw a3, -0x7fd0(gp) | a3 = *((gp - 8180));
0x00004550 addiu a2, zero, 0x81 | a2 = 0x81;
0x00004554 addiu a3, a3, 0x72ac | a3 += 0x72ac;
0x00004558 addiu a1, s7, 0x6cd0 | a1 = s7 + 0x6cd0;
0x0000455c move a0, v0 | a0 = v0;
0x00004560 sw v0, 0x68(sp) | *(var_68h_2) = v0;
0x00004564 jalr t9 | t9 ();
0x00004568 lw gp, 0x40(sp) | gp = *(var_40h);
0x0000456c addiu v0, sp, 0x1f8 | v0 = sp + segment.DYNAMIC;
0x00004570 lw t9, 0x4c(sp) | t9 = *(var_4ch_2);
0x00004574 lw a3, -0x7fd0(gp) | a3 = *((gp - 8180));
0x00004578 addiu a2, zero, 0x31 | a2 = 0x31;
0x0000457c addiu a3, a3, 0x72a8 | a3 += 0x72a8;
0x00004580 addiu a1, s7, 0x6cd0 | a1 = s7 + 0x6cd0;
0x00004584 sw v0, 0x64(sp) | *(var_64h_2) = v0;
0x00004588 move a0, v0 | a0 = v0;
0x0000458c jalr t9 | t9 ();
0x00004590 lw gp, 0x40(sp) | gp = *(var_40h);
0x00004594 addiu s0, sp, 0x6cc | s0 = sp + 0x6cc;
0x00004598 addiu a2, zero, 0x1001 | a2 = 0x1001;
0x0000459c lw a3, -0x7fd0(gp) | a3 = *((gp - 8180));
0x000045a0 addiu a1, s7, 0x6cd0 | a1 = s7 + 0x6cd0;
0x000045a4 addiu a3, a3, 0x72e8 | a3 += 0x72e8;
| do {
0x000045a8 lw t9, 0x4c(sp) | t9 = *(var_4ch_2);
0x000045ac move a0, s0 | a0 = s0;
0x000045b0 jalr t9 | t9 ();
0x000045b4 lw gp, 0x40(sp) | gp = *(var_40h);
0x000045b8 b 0x3e54 | goto label_4;
| label_22:
0x000045bc lw a1, -0x7fd0(gp) | a1 = *((gp - 8180));
0x000045c0 move a0, s0 | a0 = s0;
0x000045c4 move t9, s1 | t9 = s1;
0x000045c8 addiu a1, a1, 0x6cd0 | a1 += 0x6cd0;
0x000045cc bal 0x3578 | fcn_00003578 ();
0x000045d0 lw gp, 0x40(sp) | gp = *(var_40h);
0x000045d4 b 0x3e34 | goto label_7;
| label_29:
0x000045d8 lw a3, -0x7fd0(gp) | a3 = *((gp - 8180));
0x000045dc addiu v0, sp, 0x229 | v0 = sp + 0x229;
0x000045e0 lw t9, 0x4c(sp) | t9 = *(var_4ch_2);
0x000045e4 addiu a3, a3, 0x72ac | a3 += 0x72ac;
0x000045e8 addiu a2, zero, 0x81 | a2 = 0x81;
0x000045ec addiu a1, s7, 0x6cd0 | a1 = s7 + 0x6cd0;
0x000045f0 move a0, v0 | a0 = v0;
0x000045f4 sw v0, 0x68(sp) | *(var_68h_2) = v0;
0x000045f8 jalr t9 | t9 ();
0x000045fc lw gp, 0x40(sp) | gp = *(var_40h);
0x00004600 addiu v0, sp, 0x1f8 | v0 = sp + segment.DYNAMIC;
0x00004604 lw t9, 0x4c(sp) | t9 = *(var_4ch_2);
0x00004608 lw a3, -0x7fd0(gp) | a3 = *((gp - 8180));
0x0000460c addiu a2, zero, 0x31 | a2 = 0x31;
0x00004610 addiu a3, a3, 0x72a8 | a3 += 0x72a8;
0x00004614 addiu a1, s7, 0x6cd0 | a1 = s7 + 0x6cd0;
0x00004618 sw v0, 0x64(sp) | *(var_64h_2) = v0;
0x0000461c move a0, v0 | a0 = v0;
0x00004620 jalr t9 | t9 ();
0x00004624 lw gp, 0x40(sp) | gp = *(var_40h);
0x00004628 addiu s0, sp, 0x6cc | s0 = sp + 0x6cc;
0x0000462c addiu a2, zero, 0x1001 | a2 = 0x1001;
0x00004630 lw a3, -0x7fd0(gp) | a3 = *((gp - 8180));
0x00004634 move a1, s1 | a1 = s1;
0x00004638 addiu a3, a3, 0x72e8 | a3 += 0x72e8;
0x0000463c b 0x45a8 |
| } while (1);
| label_11:
0x00004640 addiu v0, zero, -1 | v0 = -1;
0x00004644 b 0x4058 | goto label_8;
| label_24:
0x00004648 addiu s1, sp, 0x16dc | s1 = sp + 0x16dc;
0x0000464c addiu a1, zero, 0x20 | a1 = 0x20;
0x00004650 move a0, s1 | a0 = s1;
0x00004654 jalr t9 | t9 ();
0x00004658 lw gp, 0x40(sp) | gp = *(var_40h);
0x0000465c lb v1, 0x229(sp) | v1 = *(var_229h);
0x00004660 lw t9, -0x7f4c(gp) | t9 = sym.imp.__snprintf_chk;
| if (v1 != 0) {
0x00004664 beqz v1, 0x46bc |
0x00004668 lw v1, 0x68(sp) | v1 = *(var_68h_2);
0x0000466c sw v0, 0x14(sp) | *(var_14h_3) = v0;
0x00004670 sw v1, 0x24(sp) | *(var_24h_2) = v1;
0x00004674 lw v1, 0x64(sp) | v1 = *(var_64h_2);
0x00004678 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x0000467c sw v1, 0x20(sp) | *(var_20h_3) = v1;
0x00004680 lw v1, 0x60(sp) | v1 = *(var_60h_2);
0x00004684 addiu v0, v0, 0x7390 | v0 += str._38__.s__s__s__s_:__s;
0x00004688 sw s0, 0x28(sp) | *(var_28h_3) = s0;
0x0000468c sw v1, 0x1c(sp) | *(var_1ch_2) = v1;
0x00004690 sw s1, 0x18(sp) | *(var_18h_3) = s1;
0x00004694 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x00004698 addiu a3, zero, -1 | a3 = -1;
0x0000469c addiu a2, zero, 1 | a2 = 1;
0x000046a0 move a1, s4 | a1 = s4;
0x000046a4 move a0, s2 | a0 = s2;
0x000046a8 jalr t9 | t9 ();
0x000046ac lw gp, 0x40(sp) | gp = *(var_40h);
0x000046b0 b 0x4058 | goto label_8;
| label_10:
0x000046b4 move v0, zero | v0 = 0;
0x000046b8 b 0x4058 | goto label_8;
| }
0x000046bc lw v1, 0x64(sp) | v1 = *(var_64h_2);
0x000046c0 sw v0, 0x14(sp) | *(var_14h_3) = v0;
0x000046c4 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x000046c8 sw v1, 0x20(sp) | *(var_20h_3) = v1;
0x000046cc lw v1, 0x60(sp) | v1 = *(var_60h_2);
0x000046d0 addiu v0, v0, 0x73a8 | v0 += str._38__.s__s__s:__s;
0x000046d4 sw s0, 0x24(sp) | *(var_24h_2) = s0;
0x000046d8 sw v1, 0x1c(sp) | *(var_1ch_2) = v1;
0x000046dc sw s1, 0x18(sp) | *(var_18h_3) = s1;
0x000046e0 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x000046e4 addiu a3, zero, -1 | a3 = -1;
0x000046e8 addiu a2, zero, 1 | a2 = 1;
0x000046ec move a1, s4 | a1 = s4;
0x000046f0 move a0, s2 | a0 = s2;
0x000046f4 jalr t9 | t9 ();
0x000046f8 lw gp, 0x40(sp) | gp = *(var_40h);
0x000046fc b 0x4058 | goto label_8;
| label_25:
0x00004700 lw t1, 0x68(sp) | t1 = *(var_68h_2);
0x00004704 b 0x3e98 | goto label_9;
| label_26:
0x00004708 lw t9, -0x7f0c(gp) | t9 = sym.imp.__stack_chk_fail;
0x0000470c jalr t9 | t9 ();
0x00004710 nop |
0x00004714 nop |
0x00004718 nop |
0x0000471c nop |
| }
[*] Function fprintf used 57 times loggen