[*] Binary protection state of systemd-tmpfiles

  
  	Full RELRO     Canary found      NX disabled  PIE enabled  RPATH        No RUNPATH   No Symbols


[*] Function printf tear down of systemd-tmpfiles

    ; assembly                           | /* r2dec pseudo code output */
                                         | /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/systemd-tmpfiles @ 0x4080 */
                                         | #include <stdint.h>
                                         |  
    ; (fcn) fcn.00004080 ()              | void fcn_00004080 () {
    0x00004080 lui gp, 2                 |     
    0x00004084 addiu gp, gp, 0x5fb0      |     
    0x00004088 addu gp, gp, t9           |     gp += t9;
    0x0000408c addiu sp, sp, -0x80       |     
    0x00004090 sw s7, 0x74(sp)           |     *(var_74h) = s7;
    0x00004094 lw s7, -0x7ea8(gp)        |     s7 = *((gp - 8106));
    0x00004098 sw gp, 0x28(sp)           |     *(var_28h_3) = gp;
    0x0000409c sw ra, 0x7c(sp)           |     *(var_7ch) = ra;
    0x000040a0 sw fp, 0x78(sp)           |     *(var_78h) = fp;
    0x000040a4 sw s6, 0x70(sp)           |     *(var_70h) = s6;
    0x000040a8 sw s5, 0x6c(sp)           |     *(var_6ch) = s5;
    0x000040ac sw s4, 0x68(sp)           |     *(var_68h) = s4;
    0x000040b0 sw s3, 0x64(sp)           |     *(var_64h) = s3;
    0x000040b4 sw s2, 0x60(sp)           |     *(var_60h) = s2;
    0x000040b8 sw s1, 0x5c(sp)           |     *(var_5ch) = s1;
    0x000040bc sw s0, 0x58(sp)           |     *(var_58h) = s0;
    0x000040c0 lw v0, (s7)               |     v0 = *(s7);
    0x000040c4 sw v0, 0x54(sp)           |     *(var_54h) = v0;
    0x000040c8 lw v0, -0x7fdc(gp)        |     v0 = *(gp);
                                         |     if (a0 == 0) {
    0x000040cc beqz a0, 0x427c           |         goto label_2;
                                         |     }
                                         |     if (a1 == 0) {
    0x000040d0 beql a1, zero, 0x42a0     |         goto label_3;
                                         |     }
    0x000040d4 lw a2, -0x7fdc(gp)        |     a2 = *(gp);
    0x000040d8 move s4, a2               |     s4 = a2;
                                         |     if (a2 == 0) {
    0x000040dc beqz a2, 0x42c4           |         goto label_4;
                                         |     }
    0x000040e0 lw v0, -0x7fdc(gp)        |     v0 = *(gp);
    0x000040e4 lw t9, -0x7f5c(gp)        |     t9 = sym.imp.__snprintf_chk
    0x000040e8 move s0, a0               |     s0 = a0;
    0x000040ec addiu v0, v0, -0x19e4     |     v0 += -0x19e4;
    0x000040f0 addiu s2, sp, 0x38        |     s2 = sp + 0x38;
    0x000040f4 sw a1, 0x14(sp)           |     *(var_14h_2) = a1;
    0x000040f8 sw v0, 0x10(sp)           |     *(var_10h_3) = v0;
    0x000040fc addiu a3, zero, 0x1a      |     a3 = 0x1a;
    0x00004100 addiu a2, zero, 1         |     a2 = 1;
    0x00004104 addiu a1, zero, 0x1a      |     a1 = 0x1a;
    0x00004108 move a0, s2               |     a0 = s2;
    0x0000410c jalr t9                   |     t9 ();
    0x00004110 lw s0, 0xc(s0)            |     s0 = *((s0 + 3));
    0x00004114 lw gp, 0x28(sp)           |     gp = *(var_28h_3);
                                         |     if (s0 == 0) {
    0x00004118 beqz s0, 0x41fc           |         goto label_5;
                                         |     }
    0x0000411c lw s1, (s0)               |     s1 = *(s0);
    0x00004120 move v0, zero             |     v0 = 0;
                                         |     if (s1 == 0) {
    0x00004124 beqz s1, 0x4200           |         goto label_1;
                                         |     }
    0x00004128 lw fp, 4(s0)              |     fp = *((s0 + 1));
    0x0000412c lw v0, -0x7fdc(gp)        |     v0 = *(gp);
                                         |     if (fp == 0) {
    0x00004130 beqz fp, 0x41fc           |         goto label_5;
                                         |     }
    0x00004134 lw s6, -0x7fdc(gp)        |     s6 = *(gp);
    0x00004138 lw s5, -0x7fdc(gp)        |     s5 = *(gp);
    0x0000413c sw v0, 0x34(sp)           |     *(var_34h_4) = v0;
    0x00004140 addiu s6, s6, -0x19d0     |     s6 += -0x19d0;
                                         |     /* esilref: 'fd_set_xattrs' */
    0x00004144 addiu s5, s5, 0xec0       |     s5 += 0xec0;
    0x00004148 b 0x41a8                  |     
                                         |     while (v0 != 0) {
                                         | label_0:
    0x0000414c lw s1, 4(s0)              |         s1 = *((s0 + 1));
    0x00004150 lw t9, -0x7e78(gp)        |         t9 = sym.imp.strlen;
    0x00004154 move a0, s1               |         a0 = s1;
    0x00004158 jalr t9                   |         t9 ();
    0x0000415c lw gp, 0x28(sp)           |         gp = *(var_28h_3);
    0x00004160 lw a1, (s0)               |         a1 = *(s0);
    0x00004164 move a3, v0               |         a3 = v0;
    0x00004168 lw t9, -0x7e60(gp)        |         t9 = sym.imp.setxattr;
    0x0000416c sw zero, 0x10(sp)         |         *(var_10h_3) = 0;
    0x00004170 move a2, s1               |         a2 = s1;
    0x00004174 move a0, s2               |         a0 = s2;
    0x00004178 jalr t9                   |         t9 ();
    0x0000417c lw gp, 0x28(sp)           |         gp = *(var_28h_3);
                                         |         if (v0 < 0) {
    0x00004180 bltz v0, 0x423c           |             goto label_6;
                                         |         }
    0x00004184 addiu s0, s0, 8           |         s0 += 8;
    0x00004188 move v0, zero             |         v0 = 0;
                                         |         if (s0 == 0) {
    0x0000418c beqz s0, 0x4200           |             goto label_1;
                                         |         }
    0x00004190 lw s1, (s0)               |         s1 = *(s0);
                                         |         if (s1 == 0) {
    0x00004194 beqz s1, 0x4200           |             goto label_1;
                                         |         }
    0x00004198 nop                       |         
    0x0000419c lw fp, 4(s0)              |         fp = *((s0 + 1));
                                         |         if (fp == 0) {
    0x000041a0 beqz fp, 0x4200           |             goto label_1;
                                         |         }
    0x000041a4 nop                       |         
    0x000041a8 lw t9, -0x7fa4(gp)        |         t9 = sym.imp.log_get_max_level_realm;
    0x000041ac move a0, zero             |         a0 = 0;
    0x000041b0 jalr t9                   |         t9 ();
    0x000041b4 slti v0, v0, 7            |         v0 = (v0 < 7) ? 1 : 0;
    0x000041b8 lw gp, 0x28(sp)           |         gp = *(var_28h_3);
    0x000041bc addiu s3, s0, 4           |         s3 = s0 + 4;
    0x000041c0 bnez v0, 0x414c           |         
                                         |     }
    0x000041c4 lw v0, 0x34(sp)           |     v0 = *(var_34h_4);
    0x000041c8 lw t9, -0x7ee0(gp)        |     t9 = sym.imp.log_internal_realm;
    0x000041cc sw s4, 0x20(sp)           |     *(var_20h) = s4;
    0x000041d0 sw fp, 0x1c(sp)           |     *(var_1ch) = fp;
    0x000041d4 sw s1, 0x18(sp)           |     *(var_18h_3) = s1;
    0x000041d8 sw s6, 0x14(sp)           |     *(var_14h_2) = s6;
    0x000041dc sw s5, 0x10(sp)           |     *(var_10h_3) = s5;
    0x000041e0 addiu a3, zero, 0x3c3     |     a3 = 0x3c3;
    0x000041e4 addiu a2, v0, -0x1b89     |     a2 = v0 + -0x1b89;
    0x000041e8 move a1, zero             |     a1 = 0;
    0x000041ec addiu a0, zero, 7         |     a0 = 7;
    0x000041f0 jalr t9                   |     t9 ();
    0x000041f4 lw gp, 0x28(sp)           |     gp = *(var_28h_3);
    0x000041f8 b 0x414c                  |     goto label_0;
                                         | label_5:
    0x000041fc move v0, zero             |     v0 = 0;
                                         |     do {
                                         | label_1:
    0x00004200 lw a0, 0x54(sp)           |         a0 = *(var_54h);
    0x00004204 lw v1, (s7)               |         v1 = *(s7);
    0x00004208 lw ra, 0x7c(sp)           |         ra = *(var_7ch);
                                         |         if (a0 != v1) {
    0x0000420c bne a0, v1, 0x434c        |             goto label_7;
                                         |         }
    0x00004210 lw fp, 0x78(sp)           |         fp = *(var_78h);
    0x00004214 lw s7, 0x74(sp)           |         s7 = *(var_74h);
    0x00004218 lw s6, 0x70(sp)           |         s6 = *(var_70h);
    0x0000421c lw s5, 0x6c(sp)           |         s5 = *(var_6ch);
    0x00004220 lw s4, 0x68(sp)           |         s4 = *(var_68h);
    0x00004224 lw s3, 0x64(sp)           |         s3 = *(var_64h);
    0x00004228 lw s2, 0x60(sp)           |         s2 = *(var_60h);
    0x0000422c lw s1, 0x5c(sp)           |         s1 = *(var_5ch);
    0x00004230 lw s0, 0x58(sp)           |         s0 = *(var_58h);
    0x00004234 addiu sp, sp, 0x80        |         
    0x00004238 jr ra                     |         return v0;
                                         | label_6:
    0x0000423c lw t9, -0x7d3c(gp)        |         t9 = sym.imp.__errno_location;
    0x00004240 jalr t9                   |         t9 ();
    0x00004244 nop                       |         
    0x00004248 lw gp, 0x28(sp)           |         gp = *(var_28h_3);
    0x0000424c move a0, zero             |         a0 = 0;
    0x00004250 lw t9, -0x7fa4(gp)        |         t9 = sym.imp.log_get_max_level_realm;
    0x00004254 lw s1, (v0)               |         s1 = *(v0);
    0x00004258 jalr t9                   |         t9 ();
    0x0000425c slti v0, v0, 3            |         v0 = (v0 < 3) ? 1 : 0;
    0x00004260 lw gp, 0x28(sp)           |         gp = *(var_28h_3);
                                         |         if (v0 == 0) {
    0x00004264 beqz v0, 0x42ec           |             goto label_8;
                                         |         }
    0x00004268 move a1, s1               |         a1 = s1;
                                         |         if (s1 < 0) {
    0x0000426c bltz s1, 0x433c           |             goto label_9;
                                         |         }
    0x00004270 andi v0, a1, 0xff         |         v0 = a1 & 0xff;
    0x00004274 negu v0, v0               |         __asm ("negu v0, v0");
    0x00004278 b 0x4200                  |         
                                         |     } while (1);
                                         | label_2:
    0x0000427c lw a2, -0x7fdc(gp)        |     a2 = *(gp);
    0x00004280 lw a1, -0x7fdc(gp)        |     a1 = *(gp);
                                         |     /* str.fd_set_xattrs */
    0x00004284 addiu v0, v0, 0xed0       |     v0 += 0xed0;
    0x00004288 lw t9, -0x7dd8(gp)        |     t9 = sym.imp.log_assert_failed_realm;
    0x0000428c sw v0, 0x10(sp)           |     *(var_10h_3) = v0;
    0x00004290 addiu a3, zero, 0x3bc     |     a3 = 0x3bc;
    0x00004294 addiu a2, a2, -0x1b89     |     a2 += -0x1b89;
    0x00004298 addiu a1, a1, -0x19e8     |     a1 += -0x19e8;
    0x0000429c jalr t9                   |     t9 ();
                                         | label_3:
    0x000042a0 lw a1, -0x7fdc(gp)        |     a1 = *(gp);
    0x000042a4 addiu v0, v0, 0xed0       |     v0 += 0xed0;
    0x000042a8 lw t9, -0x7dd8(gp)        |     t9 = sym.imp.log_assert_failed_realm;
    0x000042ac sw v0, 0x10(sp)           |     *(var_10h_3) = v0;
    0x000042b0 addiu a3, zero, 0x3bd     |     a3 = 0x3bd;
    0x000042b4 addiu a2, a2, -0x1b89     |     a2 += -0x1b89;
    0x000042b8 addiu a1, a1, -0x1ad0     |     a1 += -0x1ad0;
    0x000042bc move a0, zero             |     a0 = 0;
    0x000042c0 jalr t9                   |     t9 ();
                                         | label_4:
    0x000042c4 lw a2, -0x7fdc(gp)        |     a2 = *(gp);
    0x000042c8 lw a1, -0x7fdc(gp)        |     a1 = *(gp);
    0x000042cc addiu v0, v0, 0xed0       |     v0 += 0xed0;
    0x000042d0 lw t9, -0x7dd8(gp)        |     t9 = sym.imp.log_assert_failed_realm;
    0x000042d4 sw v0, 0x10(sp)           |     *(var_10h_3) = v0;
    0x000042d8 addiu a3, zero, 0x3be     |     a3 = 0x3be;
    0x000042dc addiu a2, a2, -0x1b89     |     a2 += -0x1b89;
    0x000042e0 addiu a1, a1, -0x1acc     |     a1 += -0x1acc;
    0x000042e4 move a0, zero             |     a0 = 0;
    0x000042e8 jalr t9                   |     t9 ();
                                         | label_8:
    0x000042ec sw s4, 0x20(sp)           |     *(var_20h) = s4;
    0x000042f0 lw v0, (s3)               |     v0 = *(s3);
    0x000042f4 lw a2, -0x7fdc(gp)        |     a2 = *(gp);
    0x000042f8 sw v0, 0x1c(sp)           |     *(var_1ch) = v0;
    0x000042fc lw v0, (s0)               |     v0 = *(s0);
    0x00004300 lw t9, -0x7ee0(gp)        |     t9 = sym.imp.log_internal_realm;
    0x00004304 sw v0, 0x18(sp)           |     *(var_18h_3) = v0;
    0x00004308 lw v0, -0x7fdc(gp)        |     v0 = *(gp);
    0x0000430c addiu a3, zero, 0x3c6     |     a3 = 0x3c6;
    0x00004310 addiu v0, v0, -0x19a4     |     v0 += -0x19a4;
    0x00004314 sw v0, 0x14(sp)           |     *(var_14h_2) = v0;
    0x00004318 lw v0, -0x7fdc(gp)        |     v0 = *(gp);
    0x0000431c addiu a2, a2, -0x1b89     |     a2 += -0x1b89;
                                         |     /* esilref: 'fd_set_xattrs' */
    0x00004320 addiu v0, v0, 0xec0       |     v0 += 0xec0;
    0x00004324 sw v0, 0x10(sp)           |     *(var_10h_3) = v0;
    0x00004328 move a1, s1               |     a1 = s1;
    0x0000432c addiu a0, zero, 3         |     a0 = 3;
    0x00004330 jalr t9                   |     t9 ();
    0x00004334 lw gp, 0x28(sp)           |     gp = *(var_28h_3);
    0x00004338 b 0x4200                  |     goto label_1;
                                         | label_9:
    0x0000433c negu a1, s1               |     __asm ("negu a1, s1");
    0x00004340 andi v0, a1, 0xff         |     v0 = a1 & 0xff;
    0x00004344 negu v0, v0               |     __asm ("negu v0, v0");
    0x00004348 b 0x4200                  |     goto label_1;
                                         | label_7:
    0x0000434c lw t9, -0x7ee8(gp)        |     t9 = sym.imp.__stack_chk_fail;
    0x00004350 jalr t9                   |     t9 ();
    0x00004354 nop                       |     
                                         | }
    ; assembly                           | /* r2dec pseudo code output */
                                         | /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/systemd-tmpfiles @ 0x5dec */
                                         | #include <stdint.h>
                                         |  
    ; (fcn) fcn.00005dec ()              | void fcn_00005dec () {
                                         | label_5:
    0x00005dec lui gp, 2                 |     
    0x00005df0 addiu gp, gp, 0x4244      |     
    0x00005df4 addu gp, gp, t9           |     gp += t9;
    0x00005df8 addiu sp, sp, -0x128      |     
    0x00005dfc sw s2, 0x108(sp)          |     *(var_108h) = s2;
    0x00005e00 lw s2, -0x7ea8(gp)        |     s2 = *((gp - 8106));
    0x00005e04 sw gp, 0x20(sp)           |     *(var_20h) = gp;
    0x00005e08 sw ra, 0x124(sp)          |     *(var_124h) = ra;
    0x00005e0c sw fp, 0x120(sp)          |     *(var_120h) = fp;
    0x00005e10 sw s7, 0x11c(sp)          |     *(var_11ch) = s7;
    0x00005e14 sw s6, 0x118(sp)          |     *(var_118h) = s6;
    0x00005e18 sw s5, 0x114(sp)          |     *(var_114h) = s5;
    0x00005e1c sw s4, 0x110(sp)          |     *(var_110h) = s4;
    0x00005e20 sw s3, 0x10c(sp)          |     *(var_10ch) = s3;
    0x00005e24 sw s1, 0x104(sp)          |     *(var_104h) = s1;
    0x00005e28 sw s0, 0x100(sp)          |     *(var_100h) = s0;
    0x00005e2c lw v0, (s2)               |     v0 = *(s2);
    0x00005e30 sw v0, 0xfc(sp)           |     *(var_fch) = v0;
                                         |     if (a0 == 0) {
    0x00005e34 beql a0, zero, 0x6074     |         goto label_14;
                                         |     }
    0x00005e38 lw v0, -0x7fdc(gp)        |     v0 = *(gp);
    0x00005e3c move s4, a2               |     s4 = a2;
                                         |     if (a2 == 0) {
    0x00005e40 beqz a2, 0x6098           |         goto label_15;
                                         |     }
    0x00005e44 move s0, a1               |     s0 = a1;
                                         |     if (a1 < 0) {
    0x00005e48 bltz a1, 0x60c4           |         goto label_16;
                                         |     }
    0x00005e4c lw t9, -0x7f30(gp)        |     t9 = sym.imp.__fxstat64;
    0x00005e50 addiu s1, sp, 0x40        |     s1 = sp + 0x40;
    0x00005e54 move s3, a0               |     s3 = a0;
    0x00005e58 move a2, s1               |     a2 = s1;
    0x00005e5c addiu a0, zero, 3         |     a0 = 3;
    0x00005e60 move s5, a3               |     s5 = a3;
    0x00005e64 jalr t9                   |     t9 ();
    0x00005e68 lw gp, 0x20(sp)           |     gp = *(var_20h);
                                         |     if (v0 < 0) {
    0x00005e6c bltz v0, 0x6024           |         goto label_17;
                                         |     }
    0x00005e70 move a3, s1               |     a3 = s1;
    0x00005e74 move a0, s3               |     a0 = s3;
    0x00005e78 move a2, s4               |     a2 = s4;
    0x00005e7c move t9, s5               |     t9 = s5;
    0x00005e80 move a1, s0               |     a1 = s0;
    0x00005e84 jalr t9                   |     t9 ();
    0x00005e88 lw v1, 0x58(sp)           |     v1 = *(var_58h_2);
    0x00005e8c addiu a0, zero, 0x4000    |     a0 = aav.0x00004000;
    0x00005e90 andi v1, v1, 0xf000       |     v1 &= 0xf000;
    0x00005e94 lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00005e98 move s1, v0               |     s1 = v0;
                                         |     if (v1 != a0) {
    0x00005e9c beq v1, a0, 0x5ef0        |         
                                         | label_0:
    0x00005ea0 lw t9, -0x7dcc(gp)        |         t9 = sym.imp.safe_close;
                                         | label_2:
    0x00005ea4 move a0, s0               |         a0 = s0;
    0x00005ea8 jalr t9                   |         t9 ();
    0x00005eac lw a0, 0xfc(sp)           |         a0 = *(var_fch);
    0x00005eb0 lw v1, (s2)               |         v1 = *(s2);
    0x00005eb4 lw gp, 0x20(sp)           |         gp = *(var_20h);
    0x00005eb8 move v0, s1               |         v0 = s1;
                                         |         if (a0 != v1) {
    0x00005ebc bne a0, v1, 0x625c        |             goto label_18;
                                         |         }
    0x00005ec0 lw ra, 0x124(sp)          |         ra = *(var_124h);
    0x00005ec4 lw fp, 0x120(sp)          |         fp = *(var_120h);
    0x00005ec8 lw s7, 0x11c(sp)          |         s7 = *(var_11ch);
    0x00005ecc lw s6, 0x118(sp)          |         s6 = *(var_118h);
    0x00005ed0 lw s5, 0x114(sp)          |         s5 = *(var_114h);
    0x00005ed4 lw s4, 0x110(sp)          |         s4 = *(var_110h);
    0x00005ed8 lw s3, 0x10c(sp)          |         s3 = *(var_10ch);
    0x00005edc lw s2, 0x108(sp)          |         s2 = *(var_108h);
    0x00005ee0 lw s1, 0x104(sp)          |         s1 = *(var_104h);
    0x00005ee4 lw s0, 0x100(sp)          |         s0 = *(var_100h);
    0x00005ee8 addiu sp, sp, 0x128       |         
    0x00005eec jr ra                     |         return v0;
                                         |     }
    0x00005ef0 lw v0, -0x7fdc(gp)        |     v0 = *(gp);
    0x00005ef4 lw t9, -0x7f5c(gp)        |     t9 = sym.imp.__snprintf_chk
    0x00005ef8 addiu s6, sp, 0xe0        |     s6 = sp + 0xe0;
    0x00005efc addiu v0, v0, -0x19e4     |     v0 += -0x19e4;
    0x00005f00 addiu a3, zero, 0x1a      |     a3 = 0x1a;
    0x00005f04 addiu a2, zero, 1         |     a2 = 1;
    0x00005f08 addiu a1, zero, 0x1a      |     a1 = 0x1a;
    0x00005f0c move a0, s6               |     a0 = s6;
    0x00005f10 sw s0, 0x14(sp)           |     *(var_14h) = s0;
    0x00005f14 sw v0, 0x10(sp)           |     *(var_10h) = v0;
    0x00005f18 jalr t9                   |     t9 ();
    0x00005f1c lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00005f20 lw t9, -0x7e48(gp)        |     t9 = sym.imp.opendir;
    0x00005f24 move a0, s6               |     a0 = s6;
    0x00005f28 jalr t9                   |     t9 ();
    0x00005f2c lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00005f30 lw t9, -0x7d3c(gp)        |     t9 = sym.imp.__errno_location;
    0x00005f34 move s7, v0               |     s7 = v0;
    0x00005f38 jalr t9                   |     t9 ();
    0x00005f3c move fp, v0               |     fp = v0;
    0x00005f40 lw gp, 0x20(sp)           |     gp = *(var_20h);
                                         |     if (s7 == 0) {
    0x00005f44 beqz s7, 0x61c4           |         goto label_19;
                                         |     }
    0x00005f48 lw t9, -0x7e64(gp)        |     t9 = sym.imp.readdir64;
    0x00005f4c sw zero, (v0)             |     *(v0) = 0;
    0x00005f50 move a0, s7               |     a0 = s7;
    0x00005f54 jalr t9                   |     t9 ();
    0x00005f58 lw gp, 0x20(sp)           |     gp = *(var_20h);
                                         |     if (v0 == 0) {
    0x00005f5c beqz v0, 0x6010           |         goto label_20;
                                         |     }
    0x00005f60 lw v1, -0x7fd8(gp)        |     v1 = *((gp - 8182));
    0x00005f64 addiu v1, v1, 0x5dec      |     v1 += fcn.00005dec;
    0x00005f68 sw v1, 0x38(sp)           |     *(var_38h_2) = v1;
    0x00005f6c lw v1, -0x7fdc(gp)        |     v1 = *(gp);
                                         |     /* esilref: 'item_do' */
    0x00005f70 addiu v1, v1, 0xcf0       |     v1 += 0xcf0;
    0x00005f74 sw v1, 0x30(sp)           |     *(var_30h_3) = v1;
    0x00005f78 lw v1, -0x7fdc(gp)        |     v1 = *(gp);
    0x00005f7c addiu v1, v1, -0x1b89     |     v1 += -0x1b89;
    0x00005f80 sw v1, 0x34(sp)           |     *(var_34h_3) = v1;
    0x00005f84 lw v1, -0x7fdc(gp)        |     v1 = *(gp);
    0x00005f88 addiu v1, v1, -0x144c     |     v1 += -0x144c;
    0x00005f8c sw v1, 0x3c(sp)           |     *(var_3ch_2) = v1;
                                         |     do {
    0x00005f90 lw t9, -0x7d4c(gp)        |         t9 = sym.imp.dot_or_dot_dot;
    0x00005f94 addiu s6, v0, 0x13        |         s6 = v0 + 0x13;
    0x00005f98 move a0, s6               |         a0 = s6;
    0x00005f9c jalr t9                   |         t9 ();
    0x00005fa0 lw gp, 0x20(sp)           |         gp = *(var_20h);
                                         |         if (v0 == 0) {
    0x00005fa4 bnez v0, 0x5ff8           |             
    0x00005fa8 lw t9, -0x7e38(gp)        |             t9 = sym.imp.openat64;
    0x00005fac lui a2, 0x2a              |             a2 = 0x2a0000;
    0x00005fb0 move a1, s6               |             a1 = s6;
    0x00005fb4 move a0, s0               |             a0 = s0;
    0x00005fb8 jalr t9                   |             t9 ();
    0x00005fbc lw gp, 0x20(sp)           |             gp = *(var_20h);
                                         |             if (v0 >= 0) {
    0x00005fc0 bgez v0, 0x6164           |                 goto label_21;
                                         |             }
    0x00005fc4 lw t9, -0x7fa4(gp)        |             t9 = sym.imp.log_get_max_level_realm;
    0x00005fc8 move a0, zero             |             a0 = 0;
    0x00005fcc jalr t9                   |             t9 ();
    0x00005fd0 slti v0, v0, 3            |             v0 = (v0 < 3) ? 1 : 0;
    0x00005fd4 lw gp, 0x20(sp)           |             gp = *(var_20h);
    0x00005fd8 lw a1, (fp)               |             a1 = *(fp);
                                         |             if (v0 == 0) {
    0x00005fdc beqz v0, 0x6130           |                 goto label_22;
                                         |             }
                                         |             if (a1 >= 0) {
    0x00005fe0 bltzl a1, 0x5fe8          |                 
    0x00005fe4 negu a1, a1               |                 __asm ("negu a1, a1");
                                         |             }
    0x00005fe8 andi a1, a1, 0xff         |             a1 &= 0xff;
    0x00005fec negu s6, a1               |             __asm ("negu s6, a1");
                                         |             if (s6 < 0) {
                                         | label_1:
    0x00005ff0 bltzl s6, 0x5ff8          |                 goto label_23;
                                         |             }
                                         |             if (s1 == 0) {
    0x00005ff4 movz s1, s6, s1           |                 s1 = s6;
                                         |                 goto label_23;
                                         |             }
                                         |         }
                                         | label_23:
    0x00005ff8 lw t9, -0x7e64(gp)        |         t9 = sym.imp.readdir64;
    0x00005ffc sw zero, (fp)             |         *(fp) = 0;
    0x00006000 move a0, s7               |         a0 = s7;
    0x00006004 jalr t9                   |         t9 ();
    0x00006008 lw gp, 0x20(sp)           |         gp = *(var_20h);
    0x0000600c bnez v0, 0x5f90           |         
                                         |     } while (v0 != 0);
                                         | label_20:
    0x00006010 lw t9, -0x7ecc(gp)        |     t9 = sym.imp.closedir;
    0x00006014 move a0, s7               |     a0 = s7;
    0x00006018 jalr t9                   |     t9 ();
    0x0000601c lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00006020 b 0x5ea0                  |     goto label_0;
                                         | label_17:
    0x00006024 lw t9, -0x7d3c(gp)        |     t9 = sym.imp.__errno_location;
    0x00006028 jalr t9                   |     t9 ();
    0x0000602c nop                       |     
    0x00006030 lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00006034 move a0, zero             |     a0 = 0;
    0x00006038 lw t9, -0x7fa4(gp)        |     t9 = sym.imp.log_get_max_level_realm;
    0x0000603c lw s1, (v0)               |     s1 = *(v0);
    0x00006040 jalr t9                   |     t9 ();
    0x00006044 slti v0, v0, 3            |     v0 = (v0 < 3) ? 1 : 0;
    0x00006048 lw gp, 0x20(sp)           |     gp = *(var_20h);
                                         |     if (v0 != 0) {
    0x0000604c beqz v0, 0x60f0           |         
    0x00006050 move a1, s1               |         a1 = s1;
                                         |         if (s1 >= 0) {
    0x00006054 bltz s1, 0x6064           |             
    0x00006058 andi a1, a1, 0xff         |             a1 &= 0xff;
    0x0000605c negu s1, a1               |             __asm ("negu s1, a1");
    0x00006060 b 0x5ea0                  |             goto label_0;
                                         |         }
    0x00006064 negu a1, s1               |         __asm ("negu a1, s1");
    0x00006068 andi a1, a1, 0xff         |         a1 &= 0xff;
    0x0000606c negu s1, a1               |         __asm ("negu s1, a1");
    0x00006070 b 0x5ea0                  |         goto label_0;
                                         | label_14:
    0x00006074 lw a2, -0x7fdc(gp)        |         a2 = *(gp);
    0x00006078 lw a1, -0x7fdc(gp)        |         a1 = *(gp);
                                         |         /* str.item_do */
    0x0000607c addiu v0, v0, 0xcf8       |         v0 += 0xcf8;
    0x00006080 lw t9, -0x7dd8(gp)        |         t9 = sym.imp.log_assert_failed_realm;
    0x00006084 sw v0, 0x10(sp)           |         *(var_10h) = v0;
    0x00006088 addiu a3, zero, 0x703     |         a3 = 0x703;
    0x0000608c addiu a2, a2, -0x1b89     |         a2 += -0x1b89;
    0x00006090 addiu a1, a1, -0x19e8     |         a1 += -0x19e8;
    0x00006094 jalr t9                   |         t9 ();
                                         | label_15:
    0x00006098 lw v0, -0x7fdc(gp)        |         v0 = *(gp);
    0x0000609c lw a2, -0x7fdc(gp)        |         a2 = *(gp);
    0x000060a0 lw a1, -0x7fdc(gp)        |         a1 = *(gp);
                                         |         /* str.item_do */
    0x000060a4 addiu v0, v0, 0xcf8       |         v0 += 0xcf8;
    0x000060a8 lw t9, -0x7dd8(gp)        |         t9 = sym.imp.log_assert_failed_realm;
    0x000060ac sw v0, 0x10(sp)           |         *(var_10h) = v0;
    0x000060b0 addiu a3, zero, 0x704     |         a3 = 0x704;
    0x000060b4 addiu a2, a2, -0x1b89     |         a2 += -0x1b89;
    0x000060b8 addiu a1, a1, -0x1acc     |         a1 += -0x1acc;
    0x000060bc move a0, zero             |         a0 = 0;
    0x000060c0 jalr t9                   |         t9 ();
                                         | label_16:
    0x000060c4 lw v0, -0x7fdc(gp)        |         v0 = *(gp);
    0x000060c8 lw a2, -0x7fdc(gp)        |         a2 = *(gp);
    0x000060cc lw a1, -0x7fdc(gp)        |         a1 = *(gp);
                                         |         /* str.item_do */
    0x000060d0 addiu v0, v0, 0xcf8       |         v0 += 0xcf8;
    0x000060d4 lw t9, -0x7dd8(gp)        |         t9 = sym.imp.log_assert_failed_realm;
    0x000060d8 sw v0, 0x10(sp)           |         *(var_10h) = v0;
    0x000060dc addiu a3, zero, 0x705     |         a3 = 0x705;
    0x000060e0 addiu a2, a2, -0x1b89     |         a2 += -0x1b89;
    0x000060e4 addiu a1, a1, -0x1490     |         a1 += -0x1490;
    0x000060e8 move a0, zero             |         a0 = 0;
    0x000060ec jalr t9                   |         t9 ();
                                         |     }
    0x000060f0 lw v0, -0x7fdc(gp)        |     v0 = *(gp);
    0x000060f4 lw a2, -0x7fdc(gp)        |     a2 = *(gp);
    0x000060f8 addiu v0, v0, -0x1488     |     v0 += -0x1488;
    0x000060fc sw v0, 0x14(sp)           |     *(var_14h) = v0;
    0x00006100 lw v0, -0x7fdc(gp)        |     v0 = *(gp);
    0x00006104 lw t9, -0x7ee0(gp)        |     t9 = sym.imp.log_internal_realm;
                                         |     /* esilref: 'item_do' */
    0x00006108 addiu v0, v0, 0xcf0       |     v0 += 0xcf0;
    0x0000610c move a1, s1               |     a1 = s1;
    0x00006110 sw v0, 0x10(sp)           |     *(var_10h) = v0;
    0x00006114 addiu a3, zero, 0x708     |     a3 = 0x708;
    0x00006118 addiu a2, a2, -0x1b89     |     a2 += -0x1b89;
    0x0000611c addiu a0, zero, 3         |     a0 = 3;
    0x00006120 jalr t9                   |     t9 ();
    0x00006124 move s1, v0               |     s1 = v0;
    0x00006128 lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x0000612c b 0x5ea0                  |     goto label_0;
                                         | label_22:
    0x00006130 lw v0, 0x3c(sp)           |     v0 = *(var_3ch_2);
    0x00006134 lw t9, -0x7ee0(gp)        |     t9 = sym.imp.log_internal_realm;
    0x00006138 sw v0, 0x14(sp)           |     *(var_14h) = v0;
    0x0000613c lw v0, 0x30(sp)           |     v0 = *(var_30h_3);
    0x00006140 lw a2, 0x34(sp)           |     a2 = *(var_34h_3);
    0x00006144 sw s6, 0x18(sp)           |     *(var_18h_5) = s6;
    0x00006148 sw v0, 0x10(sp)           |     *(var_10h) = v0;
    0x0000614c addiu a3, zero, 0x729     |     a3 = 0x729;
    0x00006150 addiu a0, zero, 3         |     a0 = 3;
    0x00006154 jalr t9                   |     t9 ();
    0x00006158 move s6, v0               |     s6 = v0;
    0x0000615c lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00006160 b 0x5ff0                  |     goto label_1;
                                         | label_21:
    0x00006164 lw t9, -0x7eb8(gp)        |     t9 = sym.imp.path_join_internal;
    0x00006168 sw v0, 0x2c(sp)           |     *(var_2ch_3) = v0;
    0x0000616c addiu a2, zero, -1        |     a2 = -1;
    0x00006170 move a1, s6               |     a1 = s6;
    0x00006174 move a0, s4               |     a0 = s4;
    0x00006178 jalr t9                   |     t9 ();
    0x0000617c lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00006180 lw v1, 0x2c(sp)           |     v1 = *(var_2ch_3);
                                         |     if (v0 == 0) {
    0x00006184 beqz v0, 0x61f0           |         goto label_24;
                                         |     }
    0x00006188 lw t9, 0x38(sp)           |     t9 = *(var_38h_2);
    0x0000618c move a3, s5               |     a3 = s5;
    0x00006190 move a2, v0               |     a2 = v0;
    0x00006194 sw v0, 0x2c(sp)           |     *(var_2ch_3) = v0;
    0x00006198 move a1, v1               |     a1 = v1;
    0x0000619c move a0, s3               |     a0 = s3;
    0x000061a0 jalr t9                   |     t9 ();
    0x000061a4 lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x000061a8 lw t0, 0x2c(sp)           |     t0 = *(var_2ch_3);
    0x000061ac move s6, v0               |     s6 = v0;
                                         | label_3:
    0x000061b0 lw t9, -0x7e20(gp)        |     t9 = *((gp - 8072));
    0x000061b4 move a0, t0               |     a0 = t0;
    0x000061b8 jalr t9                   |     t9 ();
    0x000061bc lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x000061c0 b 0x5ff0                  |     goto label_1;
                                         | label_19:
    0x000061c4 lw t9, -0x7fa4(gp)        |     t9 = sym.imp.log_get_max_level_realm;
    0x000061c8 move a0, zero             |     a0 = 0;
    0x000061cc jalr t9                   |     t9 ();
    0x000061d0 slti v0, v0, 3            |     v0 = (v0 < 3) ? 1 : 0;
    0x000061d4 lw gp, 0x20(sp)           |     gp = *(var_20h);
                                         |     if (v0 == 0) {
    0x000061d8 beqz v0, 0x621c           |         goto label_25;
                                         |     }
                                         | label_4:
    0x000061dc lw t9, -0x7dcc(gp)        |     t9 = sym.imp.safe_close;
                                         |     if (s1 != 0) {
    0x000061e0 bnez s1, 0x5ea4           |         goto label_2;
                                         |     }
    0x000061e4 lw s1, (fp)               |     s1 = *(fp);
    0x000061e8 negu s1, s1               |     __asm ("negu s1, s1");
    0x000061ec b 0x5ea4                  |     goto label_2;
                                         | label_24:
    0x000061f0 lw t9, -0x7f9c(gp)        |     t9 = sym.imp.log_oom_internal;
    0x000061f4 lw a3, 0x30(sp)           |     a3 = *(var_30h_3);
    0x000061f8 lw a1, 0x34(sp)           |     a1 = *(var_34h_3);
    0x000061fc sw v0, 0x2c(sp)           |     *(var_2ch_3) = v0;
    0x00006200 addiu a2, zero, 0x72f     |     a2 = 0x72f;
    0x00006204 move a0, zero             |     a0 = 0;
    0x00006208 jalr t9                   |     t9 ();
    0x0000620c move s6, v0               |     s6 = v0;
    0x00006210 lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00006214 lw t0, 0x2c(sp)           |     t0 = *(var_2ch_3);
    0x00006218 b 0x61b0                  |     goto label_3;
                                         | label_25:
    0x0000621c lw v0, -0x7fdc(gp)        |     v0 = *(gp);
    0x00006220 lw a1, (fp)               |     a1 = *(fp);
    0x00006224 addiu v0, v0, -0x146c     |     v0 += -0x146c;
    0x00006228 sw v0, 0x14(sp)           |     *(var_14h) = v0;
    0x0000622c lw v0, -0x7fdc(gp)        |     v0 = *(gp);
    0x00006230 lw a2, -0x7fdc(gp)        |     a2 = *(gp);
    0x00006234 lw t9, -0x7ee0(gp)        |     t9 = sym.imp.log_internal_realm;
                                         |     /* esilref: 'item_do' */
    0x00006238 addiu v0, v0, 0xcf0       |     v0 += 0xcf0;
    0x0000623c sw s6, 0x18(sp)           |     *(var_18h_5) = s6;
    0x00006240 sw v0, 0x10(sp)           |     *(var_10h) = v0;
    0x00006244 addiu a3, zero, 0x71b     |     a3 = 0x71b;
    0x00006248 addiu a2, a2, -0x1b89     |     a2 += -0x1b89;
    0x0000624c addiu a0, zero, 3         |     a0 = 3;
    0x00006250 jalr t9                   |     t9 ();
    0x00006254 lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00006258 b 0x61dc                  |     goto label_4;
                                         | label_18:
    0x0000625c lw t9, -0x7ee8(gp)        |     t9 = sym.imp.__stack_chk_fail;
    0x00006260 jalr t9                   |     t9 ();
    0x00006264 nop                       |     
    0x00006268 lui gp, 2                 |     
    0x0000626c addiu gp, gp, 0x3dc8      |     
    0x00006270 addu gp, gp, t9           |     gp += t9;
    0x00006274 addiu sp, sp, -0x88       |     
    0x00006278 lw t9, -0x7d44(gp)        |     t9 = sym.imp.safe_glob;
    0x0000627c sw s7, 0x7c(sp)           |     *(var_7ch) = s7;
    0x00006280 lw s7, -0x7ea8(gp)        |     s7 = *((gp - 8106));
    0x00006284 sw gp, 0x20(sp)           |     *(var_20h_2) = gp;
    0x00006288 sw fp, 0x80(sp)           |     *(var_80h) = fp;
    0x0000628c sw s5, 0x74(sp)           |     *(var_74h) = s5;
    0x00006290 sw s3, 0x6c(sp)           |     *(var_6ch) = s3;
    0x00006294 sw ra, 0x84(sp)           |     *(var_84h) = ra;
    0x00006298 sw s6, 0x78(sp)           |     *(var_78h) = s6;
    0x0000629c sw s4, 0x70(sp)           |     *(var_70h) = s4;
    0x000062a0 sw s2, 0x68(sp)           |     *(var_68h) = s2;
    0x000062a4 sw s1, 0x64(sp)           |     *(var_64h) = s1;
    0x000062a8 sw s0, 0x60(sp)           |     *(var_60h) = s0;
    0x000062ac lw v0, (s7)               |     v0 = *(s7);
    0x000062b0 move s3, a0               |     s3 = a0;
    0x000062b4 sw v0, 0x5c(sp)           |     *(var_5ch) = v0;
    0x000062b8 lw v0, -0x7fd8(gp)        |     v0 = *((gp - 8182));
    0x000062bc addiu fp, sp, 0x38        |     fp = sp + 0x38;
    0x000062c0 addiu v0, v0, 0x7124      |     v0 += 0x7124;
    0x000062c4 lw a0, 4(a0)              |     a0 = *((a0 + 1));
    0x000062c8 move s5, a1               |     s5 = a1;
    0x000062cc move a2, fp               |     a2 = fp;
    0x000062d0 sw zero, 0x38(sp)         |     *(var_38h) = 0;
    0x000062d4 sw zero, 0x3c(sp)         |     *(var_3ch) = 0;
    0x000062d8 sw zero, 0x40(sp)         |     *(var_40h) = 0;
    0x000062dc sw zero, 0x44(sp)         |     *(var_44h) = 0;
    0x000062e0 sw zero, 0x48(sp)         |     *(var_48h) = 0;
    0x000062e4 sw zero, 0x4c(sp)         |     *(var_4ch) = 0;
    0x000062e8 sw zero, 0x54(sp)         |     *(var_54h) = 0;
    0x000062ec sw zero, 0x58(sp)         |     *(var_58h) = 0;
    0x000062f0 sw v0, 0x50(sp)           |     *(var_50h) = v0;
    0x000062f4 addiu a1, zero, 0x404     |     a1 = 0x404;
    0x000062f8 jalr t9                   |     t9 ();
    0x000062fc lw gp, 0x20(sp)           |     gp = *(var_20h_2);
                                         |     if (v0 < 0) {
    0x00006300 bltz v0, 0x6480           |         goto label_26;
                                         |     }
    0x00006304 lw s0, 0x3c(sp)           |     s0 = *(var_3ch);
                                         | label_8:
    0x00006308 move s1, zero             |     s1 = 0;
                                         |     if (s0 == 0) {
    0x0000630c beqz s0, 0x63f8           |         goto label_9;
                                         |     }
    0x00006310 lw a0, (s0)               |     a0 = *(s0);
    0x00006314 lw s6, -0x7fdc(gp)        |     s6 = *(gp);
                                         |     if (a0 == 0) {
    0x00006318 beqz a0, 0x63f8           |         goto label_9;
                                         |     }
    0x0000631c lw s2, -0x7fd8(gp)        |     s2 = *((gp - 8182));
    0x00006320 addiu v0, s6, -0x142c     |     v0 = s6 + -0x142c;
    0x00006324 sw v0, 0x2c(sp)           |     *(var_2ch_2) = v0;
    0x00006328 lw v0, -0x7fdc(gp)        |     v0 = *(gp);
    0x0000632c addiu s2, s2, 0x5dec      |     s2 += fcn.00005dec;
                                         |     /* str.glob_item_recursively */
    0x00006330 addiu v0, v0, 0xd00       |     v0 += 0xd00;
    0x00006334 sw v0, 0x30(sp)           |     *(var_30h_2) = v0;
    0x00006338 lw v0, -0x7fdc(gp)        |     v0 = *(gp);
    0x0000633c addiu v0, v0, -0x1b89     |     v0 += -0x1b89;
    0x00006340 sw v0, 0x34(sp)           |     *(var_34h_2) = v0;
    0x00006344 b 0x6390                  |     
                                         |     while (v0 >= 0) {
    0x00006348 lw a2, (s0)               |         a2 = *(s0);
    0x0000634c move a3, s5               |         a3 = s5;
    0x00006350 move a1, v0               |         a1 = v0;
    0x00006354 move t9, s2               |         t9 = s2;
    0x00006358 move a0, s3               |         a0 = s3;
    0x0000635c bal 0x5dec                |         fcn_00005dec ();
                                         |         goto label_5;
    0x00006360 lw gp, 0x20(sp)           |         gp = *(var_20h_2);
                                         |         if (v0 < 0) {
    0x00006364 bgez v0, 0x636c           |             
                                         |             if (s1 == 0) {
    0x00006368 movz s1, v0, s1           |                 s1 = v0;
                                         |                 goto label_27;
                                         |             }
                                         |         }
                                         | label_27:
    0x0000636c lw t9, -0x7dcc(gp)        |         t9 = sym.imp.safe_close;
    0x00006370 addiu a0, zero, -1        |         a0 = -1;
    0x00006374 addiu s0, s0, 4           |         s0 += 4;
    0x00006378 jalr t9                   |         t9 ();
    0x0000637c lw gp, 0x20(sp)           |         gp = *(var_20h_2);
                                         |         if (s0 == 0) {
    0x00006380 beqz s0, 0x63f8           |             goto label_9;
                                         |         }
                                         | label_6:
    0x00006384 lw a0, (s0)               |         a0 = *(s0);
    0x00006388 lw t9, -0x7f70(gp)        |         t9 = sym.imp.globfree64;
                                         |         if (a0 == 0) {
    0x0000638c beqz a0, 0x63fc           |             goto label_28;
                                         |         }
    0x00006390 lw t9, -0x7f54(gp)        |         t9 = sym.imp.open64;
    0x00006394 lui a1, 0x2a              |         a1 = 0x2a0000;
    0x00006398 jalr t9                   |         t9 ();
    0x0000639c move s6, v0               |         s6 = v0;
    0x000063a0 lw gp, 0x20(sp)           |         gp = *(var_20h_2);
    0x000063a4 bgez v0, 0x6348           |         
                                         |     }
    0x000063a8 lw t9, -0x7d3c(gp)        |     t9 = sym.imp.__errno_location;
    0x000063ac jalr t9                   |     t9 ();
    0x000063b0 nop                       |     
    0x000063b4 lw gp, 0x20(sp)           |     gp = *(var_20h_2);
    0x000063b8 move a0, zero             |     a0 = 0;
    0x000063bc lw t9, -0x7fa4(gp)        |     t9 = sym.imp.log_get_max_level_realm;
    0x000063c0 move s4, v0               |     s4 = v0;
    0x000063c4 jalr t9                   |     t9 ();
    0x000063c8 slti v0, v0, 3            |     v0 = (v0 < 3) ? 1 : 0;
    0x000063cc lw gp, 0x20(sp)           |     gp = *(var_20h_2);
                                         |     if (v0 == 0) {
    0x000063d0 beqz v0, 0x6448           |         goto label_29;
                                         |     }
                                         | label_7:
    0x000063d4 lw t9, -0x7dcc(gp)        |     t9 = sym.imp.safe_close;
                                         |     if (s1 == 0) {
    0x000063d8 bnez s1, 0x63e4           |         
    0x000063dc lw s1, (s4)               |         s1 = *(s4);
    0x000063e0 negu s1, s1               |         __asm ("negu s1, s1");
                                         |     }
    0x000063e4 move a0, s6               |     a0 = s6;
    0x000063e8 addiu s0, s0, 4           |     s0 += 4;
    0x000063ec jalr t9                   |     t9 ();
    0x000063f0 lw gp, 0x20(sp)           |     gp = *(var_20h_2);
                                         |     if (s0 != 0) {
    0x000063f4 bnez s0, 0x6384           |         goto label_6;
                                         |     }
                                         | label_9:
    0x000063f8 lw t9, -0x7f70(gp)        |     t9 = sym.imp.globfree64;
                                         | label_28:
    0x000063fc move a0, fp               |     a0 = fp;
    0x00006400 jalr t9                   |     t9 ();
    0x00006404 lw a0, 0x5c(sp)           |     a0 = *(var_5ch);
    0x00006408 lw v1, (s7)               |     v1 = *(s7);
    0x0000640c lw gp, 0x20(sp)           |     gp = *(var_20h_2);
    0x00006410 move v0, s1               |     v0 = s1;
                                         |     if (a0 != v1) {
    0x00006414 bne a0, v1, 0x6500        |         goto label_30;
                                         |     }
    0x00006418 lw ra, 0x84(sp)           |     ra = *(var_84h);
    0x0000641c lw fp, 0x80(sp)           |     fp = *(var_80h);
    0x00006420 lw s7, 0x7c(sp)           |     s7 = *(var_7ch);
    0x00006424 lw s6, 0x78(sp)           |     s6 = *(var_78h);
    0x00006428 lw s5, 0x74(sp)           |     s5 = *(var_74h);
    0x0000642c lw s4, 0x70(sp)           |     s4 = *(var_70h);
    0x00006430 lw s3, 0x6c(sp)           |     s3 = *(var_6ch);
    0x00006434 lw s2, 0x68(sp)           |     s2 = *(var_68h);
    0x00006438 lw s1, 0x64(sp)           |     s1 = *(var_64h);
    0x0000643c lw s0, 0x60(sp)           |     s0 = *(var_60h);
    0x00006440 addiu sp, sp, 0x88        |     
    0x00006444 jr ra                     |     return v0;
                                         | label_29:
    0x00006448 lw v0, (s0)               |     v0 = *(s0);
    0x0000644c lw a1, (s4)               |     a1 = *(s4);
    0x00006450 sw v0, 0x18(sp)           |     *(var_18h_4) = v0;
    0x00006454 lw v0, 0x2c(sp)           |     v0 = *(var_2ch_2);
    0x00006458 lw t9, -0x7ee0(gp)        |     t9 = sym.imp.log_internal_realm;
    0x0000645c sw v0, 0x14(sp)           |     *(var_14h_3) = v0;
    0x00006460 lw v0, 0x30(sp)           |     v0 = *(var_30h_2);
    0x00006464 lw a2, 0x34(sp)           |     a2 = *(var_34h_2);
    0x00006468 sw v0, 0x10(sp)           |     *(var_10h_5) = v0;
    0x0000646c addiu a3, zero, 0x767     |     a3 = 0x767;
    0x00006470 addiu a0, zero, 3         |     a0 = 3;
    0x00006474 jalr t9                   |     t9 ();
    0x00006478 lw gp, 0x20(sp)           |     gp = *(var_20h_2);
    0x0000647c b 0x63d4                  |     goto label_7;
                                         | label_26:
    0x00006480 move s1, v0               |     s1 = v0;
    0x00006484 addiu v0, zero, -2        |     v0 = -2;
    0x00006488 lw s0, 0x3c(sp)           |     s0 = *(var_3ch);
                                         |     if (s1 == v0) {
    0x0000648c beq s1, v0, 0x6308        |         goto label_8;
                                         |     }
    0x00006490 lw t9, -0x7fa4(gp)        |     t9 = sym.imp.log_get_max_level_realm;
    0x00006494 move a0, zero             |     a0 = 0;
    0x00006498 jalr t9                   |     t9 ();
    0x0000649c slti v0, v0, 3            |     v0 = (v0 < 3) ? 1 : 0;
    0x000064a0 lw gp, 0x20(sp)           |     gp = *(var_20h_2);
                                         |     if (v0 != 0) {
    0x000064a4 beqz v0, 0x64b8           |         
    0x000064a8 negu s1, s1               |         __asm ("negu s1, s1");
    0x000064ac andi s1, s1, 0xff         |         s1 &= 0xff;
    0x000064b0 negu s1, s1               |         __asm ("negu s1, s1");
    0x000064b4 b 0x63f8                  |         goto label_9;
                                         |     }
    0x000064b8 lw v0, 4(s3)              |     v0 = *((s3 + 1));
    0x000064bc lw a2, -0x7fdc(gp)        |     a2 = *(gp);
    0x000064c0 sw v0, 0x18(sp)           |     *(var_18h_4) = v0;
    0x000064c4 lw v0, -0x7fdc(gp)        |     v0 = *(gp);
    0x000064c8 lw t9, -0x7ee0(gp)        |     t9 = sym.imp.log_internal_realm;
    0x000064cc addiu v0, v0, -0x14a4     |     v0 += -0x14a4;
    0x000064d0 sw v0, 0x14(sp)           |     *(var_14h_3) = v0;
    0x000064d4 lw v0, -0x7fdc(gp)        |     v0 = *(gp);
    0x000064d8 move a1, s1               |     a1 = s1;
                                         |     /* str.glob_item_recursively */
    0x000064dc addiu v0, v0, 0xd00       |     v0 += 0xd00;
    0x000064e0 sw v0, 0x10(sp)           |     *(var_10h_5) = v0;
    0x000064e4 addiu a3, zero, 0x75b     |     a3 = 0x75b;
    0x000064e8 addiu a2, a2, -0x1b89     |     a2 += -0x1b89;
    0x000064ec addiu a0, zero, 3         |     a0 = 3;
    0x000064f0 jalr t9                   |     t9 ();
    0x000064f4 move s1, v0               |     s1 = v0;
    0x000064f8 lw gp, 0x20(sp)           |     gp = *(var_20h_2);
    0x000064fc b 0x63f8                  |     goto label_9;
                                         | label_30:
    0x00006500 lw t9, -0x7ee8(gp)        |     t9 = sym.imp.__stack_chk_fail;
    0x00006504 jalr t9                   |     t9 ();
    0x00006508 nop                       |     
    0x0000650c lui gp, 2                 |     
    0x00006510 addiu gp, gp, 0x3b24      |     
    0x00006514 addu gp, gp, t9           |     gp += t9;
    0x00006518 addiu sp, sp, -0x38       |     
    0x0000651c sw gp, 0x20(sp)           |     *(var_20h_3) = gp;
    0x00006520 sw ra, 0x34(sp)           |     *(var_34h) = ra;
    0x00006524 sw s1, 0x30(sp)           |     *(var_30h) = s1;
    0x00006528 sw s0, 0x2c(sp)           |     *(var_2ch) = s0;
    0x0000652c addiu v1, zero, 0x52      |     v1 = 0x52;
                                         |     if (a0 == 0) {
    0x00006530 beqz a0, 0x6664           |         goto label_31;
                                         |     }
    0x00006534 lw v0, (a0)               |     v0 = *(a0);
    0x00006538 move s1, a1               |     s1 = a1;
                                         |     if (v0 == v1) {
    0x0000653c beq v0, v1, 0x6574        |         goto label_32;
                                         |     }
    0x00006540 addiu v1, zero, 0x72      |     v1 = 0x72;
    0x00006544 lw t9, -0x7ed8(gp)        |     t9 = sym.imp.remove;
                                         |     if (v0 != v1) {
    0x00006548 bne v0, v1, 0x6700        |         goto label_33;
                                         |     }
    0x0000654c move a0, a1               |     a0 = a1;
    0x00006550 jalr t9                   |     t9 ();
    0x00006554 lw gp, 0x20(sp)           |     gp = *(var_20h_3);
                                         |     if (v0 < 0) {
    0x00006558 bltz v0, 0x65dc           |         goto label_34;
                                         |     }
                                         |     do {
                                         | label_11:
    0x0000655c move v0, zero             |         v0 = 0;
                                         | label_10:
    0x00006560 lw ra, 0x34(sp)           |         ra = *(var_34h);
                                         | label_13:
    0x00006564 lw s1, 0x30(sp)           |         s1 = *(var_30h);
    0x00006568 lw s0, 0x2c(sp)           |         s0 = *(var_2ch);
    0x0000656c addiu sp, sp, 0x38        |         
    0x00006570 jr ra                     |         return v0;
                                         | label_32:
    0x00006574 lw t9, -0x7fa4(gp)        |         t9 = sym.imp.log_get_max_level_realm;
    0x00006578 move a0, zero             |         a0 = 0;
    0x0000657c jalr t9                   |         t9 ();
    0x00006580 slti v0, v0, 7            |         v0 = (v0 < 7) ? 1 : 0;
    0x00006584 lw gp, 0x20(sp)           |         gp = *(var_20h_3);
                                         |         if (v0 == 0) {
    0x00006588 beqz v0, 0x6624           |             goto label_35;
                                         |         }
                                         | label_12:
    0x0000658c lw t9, -0x7f4c(gp)        |         t9 = sym.imp.rm_rf;
    0x00006590 addiu a1, zero, 0xe       |         a1 = 0xe;
    0x00006594 move a0, s1               |         a0 = s1;
    0x00006598 jalr t9                   |         t9 ();
    0x0000659c move s0, v0               |         s0 = v0;
    0x000065a0 lw gp, 0x20(sp)           |         gp = *(var_20h_3);
    0x000065a4 bgez v0, 0x655c           |         
                                         |     } while (v0 >= 0);
    0x000065a8 addiu v0, zero, -2        |     v0 = -2;
    0x000065ac move v0, zero             |     v0 = 0;
                                         |     if (s0 == v0) {
    0x000065b0 beq s0, v0, 0x6560        |         goto label_10;
                                         |     }
    0x000065b4 lw t9, -0x7fa4(gp)        |     t9 = sym.imp.log_get_max_level_realm;
    0x000065b8 move a0, zero             |     a0 = 0;
    0x000065bc jalr t9                   |     t9 ();
    0x000065c0 slti v0, v0, 3            |     v0 = (v0 < 3) ? 1 : 0;
    0x000065c4 lw gp, 0x20(sp)           |     gp = *(var_20h_3);
                                         |     if (v0 == 0) {
    0x000065c8 beqz v0, 0x66d8           |         goto label_36;
                                         |     }
    0x000065cc negu v0, s0               |     __asm ("negu v0, s0");
    0x000065d0 andi v0, v0, 0xff         |     v0 &= 0xff;
    0x000065d4 negu v0, v0               |     __asm ("negu v0, v0");
    0x000065d8 b 0x6560                  |     goto label_10;
                                         | label_34:
    0x000065dc lw t9, -0x7d3c(gp)        |     t9 = sym.imp.__errno_location;
    0x000065e0 jalr t9                   |     t9 ();
    0x000065e4 nop                       |     
    0x000065e8 lw s0, (v0)               |     s0 = *(v0);
    0x000065ec addiu v0, zero, 2         |     v0 = 2;
    0x000065f0 lw gp, 0x20(sp)           |     gp = *(var_20h_3);
                                         |     if (s0 == v0) {
    0x000065f4 beq s0, v0, 0x655c        |         goto label_11;
                                         |     }
    0x000065f8 lw t9, -0x7fa4(gp)        |     t9 = sym.imp.log_get_max_level_realm;
    0x000065fc move a0, zero             |     a0 = 0;
    0x00006600 jalr t9                   |     t9 ();
    0x00006604 slti v0, v0, 3            |     v0 = (v0 < 3) ? 1 : 0;
    0x00006608 lw gp, 0x20(sp)           |     gp = *(var_20h_3);
                                         |     if (v0 != 0) {
    0x0000660c beqz v0, 0x6698           |         
                                         |         if (s0 >= 0) {
    0x00006610 bltzl s0, 0x668c          |             
    0x00006614 negu s0, s0               |             __asm ("negu s0, s0");
    0x00006618 andi s0, s0, 0xff         |             s0 &= 0xff;
    0x0000661c negu v0, s0               |             __asm ("negu v0, s0");
    0x00006620 b 0x6560                  |             goto label_10;
                                         | label_35:
    0x00006624 lw v0, -0x7fdc(gp)        |             v0 = *(gp);
    0x00006628 lw a2, -0x7fdc(gp)        |             a2 = *(gp);
    0x0000662c addiu v0, v0, -0x1408     |             v0 += -0x1408;
    0x00006630 sw v0, 0x14(sp)           |             *(var_14h_2) = v0;
    0x00006634 lw v0, -0x7fdc(gp)        |             v0 = *(gp);
    0x00006638 lw t9, -0x7ee0(gp)        |             t9 = sym.imp.log_internal_realm;
                                         |             /* esilref: 'remove_item_instance' */
    0x0000663c addiu v0, v0, 0xcb4       |             v0 += 0xcb4;
    0x00006640 sw s1, 0x18(sp)           |             *(var_18h) = s1;
    0x00006644 sw v0, 0x10(sp)           |             *(var_10h_2) = v0;
    0x00006648 addiu a3, zero, 0x855     |             a3 = 0x855;
    0x0000664c addiu a2, a2, -0x1b89     |             a2 += -0x1b89;
    0x00006650 move a1, zero             |             a1 = 0;
    0x00006654 addiu a0, zero, 7         |             a0 = 7;
    0x00006658 jalr t9                   |             t9 ();
    0x0000665c lw gp, 0x20(sp)           |             gp = *(var_20h_3);
    0x00006660 b 0x658c                  |             goto label_12;
                                         | label_31:
    0x00006664 lw v0, -0x7fdc(gp)        |             v0 = *(gp);
    0x00006668 lw a2, -0x7fdc(gp)        |             a2 = *(gp);
    0x0000666c lw a1, -0x7fdc(gp)        |             a1 = *(gp);
                                         |             /* str.remove_item_instance */
    0x00006670 addiu v0, v0, 0xccc       |             v0 += 0xccc;
    0x00006674 lw t9, -0x7dd8(gp)        |             t9 = sym.imp.log_assert_failed_realm;
    0x00006678 sw v0, 0x10(sp)           |             *(var_10h_2) = v0;
    0x0000667c addiu a3, zero, 0x849     |             a3 = 0x849;
    0x00006680 addiu a2, a2, -0x1b89     |             a2 += -0x1b89;
    0x00006684 addiu a1, a1, -0x19e8     |             a1 += -0x19e8;
    0x00006688 jalr t9                   |             t9 ();
                                         |         }
    0x0000668c andi s0, s0, 0xff         |         s0 &= 0xff;
    0x00006690 negu v0, s0               |         __asm ("negu v0, s0");
    0x00006694 b 0x6560                  |         goto label_10;
                                         |     }
    0x00006698 lw v0, -0x7fdc(gp)        |     v0 = *(gp);
    0x0000669c lw t9, -0x7ee0(gp)        |     t9 = sym.imp.log_internal_realm;
    0x000066a0 addiu v0, v0, -0x1414     |     v0 += -0x1414;
    0x000066a4 sw v0, 0x14(sp)           |     *(var_14h_2) = v0;
    0x000066a8 lw v0, -0x7fdc(gp)        |     v0 = *(gp);
    0x000066ac sw s1, 0x18(sp)           |     *(var_18h) = s1;
                                         |     /* esilref: 'remove_item_instance' */
    0x000066b0 addiu v0, v0, 0xcb4       |     v0 += 0xcb4;
    0x000066b4 sw v0, 0x10(sp)           |     *(var_10h_2) = v0;
    0x000066b8 addiu a3, zero, 0x84f     |     a3 = 0x84f;
                                         |     do {
    0x000066bc lw a2, -0x7fdc(gp)        |         a2 = *(gp);
    0x000066c0 move a1, s0               |         a1 = s0;
    0x000066c4 addiu a2, a2, -0x1b89     |         a2 += -0x1b89;
    0x000066c8 addiu a0, zero, 3         |         a0 = 3;
    0x000066cc jalr t9                   |         t9 ();
    0x000066d0 lw ra, 0x34(sp)           |         ra = *(var_34h);
    0x000066d4 b 0x6564                  |         goto label_13;
                                         | label_36:
    0x000066d8 lw v0, -0x7fdc(gp)        |         v0 = *(gp);
    0x000066dc lw t9, -0x7ee0(gp)        |         t9 = sym.imp.log_internal_realm;
    0x000066e0 addiu v0, v0, -0x13fc     |         v0 += -0x13fc;
    0x000066e4 sw v0, 0x14(sp)           |         *(var_14h_2) = v0;
    0x000066e8 lw v0, -0x7fdc(gp)        |         v0 = *(gp);
    0x000066ec sw s1, 0x18(sp)           |         *(var_18h) = s1;
                                         |         /* esilref: 'remove_item_instance' */
    0x000066f0 addiu v0, v0, 0xcb4       |         v0 += 0xcb4;
    0x000066f4 sw v0, 0x10(sp)           |         *(var_10h_2) = v0;
    0x000066f8 addiu a3, zero, 0x858     |         a3 = 0x858;
    0x000066fc b 0x66bc                  |         
                                         |     } while (1);
                                         | label_33:
    0x00006700 lw v0, -0x7fdc(gp)        |     v0 = *(gp);
    0x00006704 lw a2, -0x7fdc(gp)        |     a2 = *(gp);
    0x00006708 lw a1, -0x7fdc(gp)        |     a1 = *(gp);
                                         |     /* str.remove_item_instance */
    0x0000670c addiu v0, v0, 0xccc       |     v0 += 0xccc;
    0x00006710 lw t9, -0x7e18(gp)        |     t9 = sym.imp.log_assert_failed_unreachable_realm;
    0x00006714 sw v0, 0x10(sp)           |     *(var_10h_2) = v0;
    0x00006718 addiu a3, zero, 0x85d     |     a3 = 0x85d;
    0x0000671c addiu a2, a2, -0x1b89     |     a2 += -0x1b89;
    0x00006720 addiu a1, a1, -0x13ec     |     a1 += -0x13ec;
    0x00006724 move a0, zero             |     a0 = 0;
    0x00006728 jalr t9                   |     return t9 ();
                                         | }

[*] Function printf used 3 times systemd-tmpfiles