[*] Binary protection state of udevadm
Full RELRO Canary found NX disabled PIE enabled RPATH No RUNPATH No Symbols
[*] Function printf tear down of udevadm
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/udevadm @ 0x30008 */
| #include <stdint.h>
|
; (fcn) fcn.00030008 () | void fcn_00030008 () {
| label_1:
0x00030008 lui gp, 0xd |
0x0003000c addiu gp, gp, -0xd88 |
0x00030010 addu gp, gp, t9 | gp += t9;
0x00030014 addiu sp, sp, -0x30 |
0x00030018 lw t9, -0x7d2c(gp) | t9 = sym.sd_device_get_sysnum;
0x0003001c sw s0, 0x24(sp) | *(var_24h) = s0;
0x00030020 lw s0, -0x6de8(gp) | s0 = *((gp - 7034));
0x00030024 sw gp, 0x10(sp) | *(var_10h) = gp;
0x00030028 sw s1, 0x28(sp) | *(var_28h) = s1;
0x0003002c sw ra, 0x2c(sp) | *(var_2ch) = ra;
0x00030030 lw v0, (s0) | v0 = *(s0);
0x00030034 move s1, a1 | s1 = a1;
0x00030038 sw v0, 0x1c(sp) | *(var_1ch) = v0;
0x0003003c addiu a1, sp, 0x18 | a1 = sp + 0x18;
0x00030040 jalr t9 | t9 ();
0x00030044 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 < 0) {
0x00030048 bltz v0, 0x30094 | goto label_0;
| }
0x0003004c lw a0, 0x18(sp) | a0 = *(var_18h);
0x00030050 lw t9, -0x6f2c(gp) | t9 = sym.imp.strtoul;
| if (a0 == 0) {
0x00030054 beqz a0, 0x300e0 | goto label_71;
| }
0x00030058 addiu a2, zero, 0xa | a2 = 0xa;
0x0003005c move a1, zero | a1 = 0;
0x00030060 jalr t9 | t9 ();
0x00030064 sltiu v1, v0, 0x100 | v1 = (v0 < aav.0x00000100) ? 1 : 0;
0x00030068 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v1 == 0) {
0x0003006c beqz v1, 0x300b4 | goto label_72;
| }
0x00030070 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00030074 lw t9, -0x7b98(gp) | t9 = *(gp);
0x00030078 move a2, v0 | a2 = v0;
| /* str.lun__lu */
0x0003007c addiu a1, a1, -0x1724 | a1 += -0x1724;
| /* fcn.0002fec8 */
0x00030080 addiu t9, t9, -0x138 | t9 += -aav.0x00000138;
0x00030084 move a0, s1 | a0 = s1;
0x00030088 bal 0x2fec8 | fcn_0002fec8 ();
0x0003008c lw gp, 0x10(sp) | gp = *(var_10h);
0x00030090 move v0, zero | v0 = 0;
| do {
| label_0:
0x00030094 lw a0, 0x1c(sp) | a0 = *(var_1ch);
0x00030098 lw v1, (s0) | v1 = *(s0);
0x0003009c lw ra, 0x2c(sp) | ra = *(var_2ch);
| if (a0 != v1) {
0x000300a0 bne a0, v1, 0x300e8 | goto label_73;
| }
0x000300a4 lw s1, 0x28(sp) | s1 = *(var_28h);
0x000300a8 lw s0, 0x24(sp) | s0 = *(var_24h);
0x000300ac addiu sp, sp, 0x30 |
0x000300b0 jr ra | return v0;
| label_72:
0x000300b4 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x000300b8 lw t9, -0x7b98(gp) | t9 = *(gp);
0x000300bc srl a3, v0, 0x10 | a3 = v0 >> 0x10;
0x000300c0 andi a2, v0, 0xffff | a2 = v0 & 0xffff;
| /* str.lun_0x_04lx_04lx00000000 */
0x000300c4 addiu a1, a1, -0x171c | a1 += -0x171c;
| /* fcn.0002fec8 */
0x000300c8 addiu t9, t9, -0x138 | t9 += -aav.0x00000138;
0x000300cc move a0, s1 | a0 = s1;
0x000300d0 bal 0x2fec8 | fcn_0002fec8 ();
0x000300d4 lw gp, 0x10(sp) | gp = *(var_10h);
0x000300d8 move v0, zero | v0 = 0;
0x000300dc b 0x30094 |
| } while (1);
| label_71:
0x000300e0 addiu v0, zero, -2 | v0 = -2;
0x000300e4 b 0x30094 | goto label_0;
| label_73:
0x000300e8 lw t9, -0x6e2c(gp) | t9 = sym.imp.__stack_chk_fail;
0x000300ec jalr t9 | t9 ();
0x000300f0 nop |
| label_16:
0x000300f4 lui gp, 0xd |
0x000300f8 addiu gp, gp, -0xe74 |
0x000300fc addu gp, gp, t9 | gp += t9;
0x00030100 addiu sp, sp, -0x78 |
0x00030104 sw s2, 0x68(sp) | *(var_68h) = s2;
0x00030108 lw s2, -0x6de8(gp) | s2 = *((gp - 7034));
0x0003010c sw gp, 0x18(sp) | *(var_18h_2) = gp;
0x00030110 sw ra, 0x74(sp) | *(var_74h) = ra;
0x00030114 sw s4, 0x70(sp) | *(var_70h) = s4;
0x00030118 sw s3, 0x6c(sp) | *(var_6ch) = s3;
0x0003011c sw s1, 0x64(sp) | *(var_64h) = s1;
0x00030120 sw s0, 0x60(sp) | *(var_60h) = s0;
0x00030124 lw v0, (s2) | v0 = *(s2);
0x00030128 sw zero, 0x30(sp) | *(var_30h) = 0;
0x0003012c sw v0, 0x5c(sp) | *(var_5ch) = v0;
0x00030130 move s3, a1 | s3 = a1;
| if (a0 == 0) {
0x00030134 beqz a0, 0x3029c | goto label_74;
| }
0x00030138 move s4, a2 | s4 = a2;
0x0003013c lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00030140 lw a2, -0x7fcc(gp) | a2 = *(gp);
0x00030144 lw t9, -0x7b9c(gp) | t9 = sym.sd_device_get_parent_with_subsystem_devtype;
0x00030148 addiu a3, sp, 0x24 | a3 = sp + 0x24;
| /* str.scsi_host */
0x0003014c addiu a2, a2, -0x1700 | a2 += -0x1700;
| /* str.scsi */
0x00030150 addiu a1, a1, -0x16f4 | a1 += -0x16f4;
0x00030154 move s1, a0 | s1 = a0;
0x00030158 jalr t9 | t9 ();
0x0003015c lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 < 0) {
0x00030160 bltz v0, 0x30258 | goto label_75;
| }
0x00030164 lw t9, -0x7ed4(gp) | t9 = sym.sd_device_get_parent;
0x00030168 lw a0, 0x24(sp) | a0 = *(var_24h_6);
0x0003016c addiu a1, sp, 0x28 | a1 = sp + 0x28;
0x00030170 jalr t9 | t9 ();
0x00030174 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 < 0) {
0x00030178 bltz v0, 0x30258 | goto label_75;
| }
0x0003017c lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00030180 lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
0x00030184 lw a0, 0x28(sp) | a0 = *(var_28h_4);
0x00030188 addiu a2, sp, 0x2c | a2 = sp + 0x2c;
| /* str.device_id */
0x0003018c addiu a1, a1, -0x16ec | a1 += -0x16ec;
0x00030190 jalr t9 | t9 ();
0x00030194 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 < 0) {
0x00030198 bltz v0, 0x30258 | goto label_75;
| }
0x0003019c lw s0, 0x2c(sp) | s0 = *(var_2ch_5);
0x000301a0 lw t9, -0x6f38(gp) | t9 = sym.imp.strlen;
0x000301a4 move a0, s0 | a0 = s0;
0x000301a8 jalr t9 | t9 ();
0x000301ac sltu v0, v0, s4 | v0 = (v0 < s4) ? 1 : 0;
0x000301b0 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x000301b4 bnez v0, 0x30258 | goto label_75;
| }
0x000301b8 lb v1, (s0) | v1 = *(s0);
0x000301bc addiu v0, zero, 0x7b | v0 = 0x7b;
0x000301c0 addu v1, s0, s4 | v1 = s0 + s4;
| if (v1 != v0) {
0x000301c4 bne v1, v0, 0x30258 | goto label_75;
| }
0x000301c8 addiu v0, zero, 0x7d | v0 = 0x7d;
0x000301cc lb v1, -1(v1) | v1 = *((v1 - 1));
0x000301d0 addiu v0, s0, -1 | v0 = s0 + -1;
| if (v1 != v0) {
0x000301d4 bne v1, v0, 0x30258 | goto label_75;
| }
0x000301d8 addu s4, v0, s4 | s4 = v0 + s4;
0x000301dc addiu a0, s0, 1 | a0 = s0 + 1;
0x000301e0 move v0, zero | v0 = 0;
0x000301e4 addiu a2, zero, 0x2d | a2 = 0x2d;
0x000301e8 lb a1, (a0) | a1 = *(a0);
| do {
0x000301ec addiu v1, sp, 0x60 | v1 = sp + 0x60;
| if (a1 != a2) {
0x000301f0 beq a1, a2, 0x30200 |
0x000301f4 addu v1, v1, v0 | v1 += v0;
0x000301f8 addiu v0, v0, 1 | v0++;
0x000301fc sb a1, -0x2c(v1) | *(var_34h_3) = a1;
| }
0x00030200 addiu a0, a0, 1 | a0++;
0x00030204 lb a1, (a0) | a1 = *(a0);
0x00030208 bnel a0, s4, 0x301ec |
| } while (a0 == s4);
0x0003020c addiu v1, sp, 0x60 | v1 = sp + 0x60;
0x00030210 addu v0, v1, v0 | v0 = v1 + v0;
0x00030214 lw t9, -0x7b98(gp) | t9 = *(gp);
0x00030218 addiu a1, sp, 0x30 | a1 = sp + 0x30;
0x0003021c move a0, s1 | a0 = s1;
| /* fcn.00030008 */
0x00030220 addiu t9, t9, 8 | t9 += 8;
0x00030224 sb zero, -0x2c(v0) | *(var_34h_3) = 0;
0x00030228 bal 0x30008 | fcn_00030008 ();
| goto label_1;
0x0003022c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00030230 lw a3, 0x30(sp) | a3 = *(var_30h);
0x00030234 addiu a2, sp, 0x34 | a2 = sp + 0x34;
0x00030238 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x0003023c lw t9, -0x7b98(gp) | t9 = *(gp);
| /* str.vmbus__s__s */
0x00030240 addiu a1, a1, -0x16e0 | a1 += -0x16e0;
| /* fcn.0002fec8 */
0x00030244 addiu t9, t9, -0x138 | t9 += -aav.0x00000138;
0x00030248 move a0, s3 | a0 = s3;
0x0003024c bal 0x2fec8 | fcn_0002fec8 ();
0x00030250 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00030254 b 0x3025c | goto label_76;
| label_75:
0x00030258 move s1, zero | s1 = 0;
| label_76:
0x0003025c lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x00030260 lw a0, 0x30(sp) | a0 = *(var_30h);
0x00030264 jalr t9 | t9 ();
0x00030268 lw a0, 0x5c(sp) | a0 = *(var_5ch);
0x0003026c lw v1, (s2) | v1 = *(s2);
0x00030270 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00030274 move v0, s1 | v0 = s1;
| if (a0 == v1) {
0x00030278 bne a0, v1, 0x302c8 |
0x0003027c lw ra, 0x74(sp) | ra = *(var_74h);
0x00030280 lw s4, 0x70(sp) | s4 = *(var_70h);
0x00030284 lw s3, 0x6c(sp) | s3 = *(var_6ch);
0x00030288 lw s2, 0x68(sp) | s2 = *(var_68h);
0x0003028c lw s1, 0x64(sp) | s1 = *(var_64h);
0x00030290 lw s0, 0x60(sp) | s0 = *(var_60h);
0x00030294 addiu sp, sp, 0x78 |
0x00030298 jr ra | return v0;
| label_74:
0x0003029c lw v0, -0x7fcc(gp) | v0 = *(gp);
0x000302a0 lw a2, -0x7fcc(gp) | a2 = *(gp);
0x000302a4 lw a1, -0x7fcc(gp) | a1 = *(gp);
| /* str.handle_scsi_hyperv */
0x000302a8 addiu v0, v0, -0x13ac | v0 += -0x13ac;
0x000302ac lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x000302b0 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x000302b4 addiu a3, zero, 0x170 | a3 = aav.0x00000170;
| /* esilref: 'src/udev/udev-builtin-path_id.c' */
0x000302b8 addiu a2, a2, -0x1745 | a2 += -0x1745;
| /* str.parent */
0x000302bc addiu a1, a1, -0x66cc | a1 += -0x66cc;
0x000302c0 addiu a0, zero, 1 | a0 = 1;
0x000302c4 jalr t9 | t9 ();
| }
0x000302c8 lw t9, -0x6e2c(gp) | t9 = sym.imp.__stack_chk_fail;
0x000302cc jalr t9 | t9 ();
0x000302d0 nop |
0x000302d4 lui gp, 0xd |
0x000302d8 addiu gp, gp, -0x1054 |
0x000302dc addu gp, gp, t9 | gp += t9;
0x000302e0 addiu sp, sp, -0x48 |
0x000302e4 sw s4, 0x40(sp) | *(var_40h) = s4;
0x000302e8 lw s4, -0x6de8(gp) | s4 = *((gp - 7034));
0x000302ec sw gp, 0x18(sp) | *(var_18h_3) = gp;
0x000302f0 sw ra, 0x44(sp) | *(var_44h) = ra;
0x000302f4 sw s3, 0x3c(sp) | *(var_3ch) = s3;
0x000302f8 sw s2, 0x38(sp) | *(var_38h) = s2;
0x000302fc sw s1, 0x34(sp) | *(var_34h) = s1;
0x00030300 sw s0, 0x30(sp) | *(var_30h_2) = s0;
0x00030304 lw v0, (s4) | v0 = *(s4);
0x00030308 sw v0, 0x2c(sp) | *(var_2ch_2) = v0;
0x0003030c move s2, a1 | s2 = a1;
| if (a0 == 0) {
0x00030310 beqz a0, 0x303a4 | goto label_77;
| }
0x00030314 sw a0, 0x24(sp) | *(var_24h_5) = a0;
0x00030318 move s0, a0 | s0 = a0;
0x0003031c addiu s1, sp, 0x28 | s1 = sp + 0x28;
0x00030320 addiu s3, sp, 0x24 | s3 = sp + 0x24;
0x00030324 b 0x30360 |
| while (v0 >= 0) {
0x00030328 lw t9, -0x6d64(gp) | t9 = *((gp - 7001));
0x0003032c lw a0, 0x28(sp) | a0 = *(var_28h_3);
0x00030330 move a1, s2 | a1 = s2;
0x00030334 jalr t9 | t9 ();
0x00030338 lw gp, 0x18(sp) | gp = *(var_18h_3);
| if (v0 != 0) {
0x0003033c bnez v0, 0x30374 | goto label_78;
| }
0x00030340 lw s0, 0x24(sp) | s0 = *(var_24h_5);
0x00030344 lw t9, -0x7ed4(gp) | t9 = sym.sd_device_get_parent;
0x00030348 move a1, s3 | a1 = s3;
0x0003034c move a0, s0 | a0 = s0;
0x00030350 jalr t9 | t9 ();
0x00030354 lw gp, 0x18(sp) | gp = *(var_18h_3);
| if (v0 < 0) {
0x00030358 bltz v0, 0x30374 | goto label_78;
| }
0x0003035c lw a0, 0x24(sp) | a0 = *(var_24h_5);
0x00030360 lw t9, -0x7edc(gp) | t9 = sym.sd_device_get_subsystem;
0x00030364 move a1, s1 | a1 = s1;
0x00030368 jalr t9 | t9 ();
0x0003036c lw gp, 0x18(sp) | gp = *(var_18h_3);
0x00030370 bgez v0, 0x30328 |
| }
| label_78:
0x00030374 lw a0, 0x2c(sp) | a0 = *(var_2ch_2);
0x00030378 lw v1, (s4) | v1 = *(s4);
0x0003037c move v0, s0 | v0 = s0;
| if (a0 == v1) {
0x00030380 bne a0, v1, 0x303d0 |
0x00030384 lw ra, 0x44(sp) | ra = *(var_44h);
0x00030388 lw s4, 0x40(sp) | s4 = *(var_40h);
0x0003038c lw s3, 0x3c(sp) | s3 = *(var_3ch);
0x00030390 lw s2, 0x38(sp) | s2 = *(var_38h);
0x00030394 lw s1, 0x34(sp) | s1 = *(var_34h);
0x00030398 lw s0, 0x30(sp) | s0 = *(var_30h_2);
0x0003039c addiu sp, sp, 0x48 |
0x000303a0 jr ra | return v0;
| label_77:
0x000303a4 lw v0, -0x7fcc(gp) | v0 = *(gp);
0x000303a8 lw a2, -0x7fcc(gp) | a2 = *(gp);
0x000303ac lw a1, -0x7fd4(gp) | a1 = *(gp);
| /* str.skip_subsystem */
0x000303b0 addiu v0, v0, -0x13ec | v0 += -0x13ec;
0x000303b4 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x000303b8 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x000303bc addiu a3, zero, 0x54 | a3 = 0x54;
| /* esilref: 'src/udev/udev-builtin-path_id.c' */
0x000303c0 addiu a2, a2, -0x1745 | a2 += -0x1745;
| /* esilref: 'dev' */
0x000303c4 addiu a1, a1, 0x727c | a1 += 0x727c;
0x000303c8 addiu a0, zero, 1 | a0 = 1;
0x000303cc jalr t9 | t9 ();
| }
0x000303d0 lw t9, -0x6e2c(gp) | t9 = sym.imp.__stack_chk_fail;
0x000303d4 jalr t9 | t9 ();
0x000303d8 nop |
0x000303dc lui gp, 0xd |
0x000303e0 addiu gp, gp, -0x115c |
0x000303e4 addu gp, gp, t9 | gp += t9;
0x000303e8 addiu sp, sp, -0x80 |
0x000303ec sw s3, 0x68(sp) | *(var_68h_2) = s3;
0x000303f0 lw s3, -0x6de8(gp) | s3 = *((gp - 7034));
0x000303f4 sw fp, 0x78(sp) | *(var_78h) = fp;
0x000303f8 sw ra, 0x7c(sp) | *(var_7ch) = ra;
0x000303fc sw s6, 0x74(sp) | *(var_74h_2) = s6;
0x00030400 sw s5, 0x70(sp) | *(var_70h_2) = s5;
0x00030404 sw s4, 0x6c(sp) | *(var_6ch_2) = s4;
0x00030408 sw s2, 0x64(sp) | *(var_64h_2) = s2;
0x0003040c sw s1, 0x60(sp) | *(var_60h_2) = s1;
0x00030410 sw s0, 0x5c(sp) | *(var_5ch_2) = s0;
0x00030414 sw gp, 0x18(sp) | *(var_18h_4) = gp;
0x00030418 move fp, sp | fp = sp;
0x0003041c lw v0, (s3) | v0 = *(s3);
0x00030420 sw zero, 0x28(fp) | *(var_28h_5) = 0;
0x00030424 sw v0, 0x54(fp) | *(var_54h_4) = v0;
0x00030428 sw zero, 0x2c(fp) | *(var_2ch_6) = 0;
0x0003042c sw zero, 0x3c(fp) | *(var_3ch_4) = 0;
| if (a0 == 0) {
0x00030430 beqz a0, 0x306d8 | goto label_79;
| }
0x00030434 lw t9, -0x7ed4(gp) | t9 = sym.sd_device_get_parent;
0x00030438 addiu s5, fp, 0x24 | s5 = fp + 0x24;
0x0003043c lw s1, -0x7fcc(gp) | s1 = *(gp);
0x00030440 move s4, a1 | s4 = a1;
0x00030444 sw a0, 0x24(fp) | *(var_24h_8) = a0;
0x00030448 move a1, s5 | a1 = s5;
0x0003044c move s2, a0 | s2 = a0;
0x00030450 jalr t9 | t9 ();
0x00030454 addiu s6, fp, 0x40 | s6 = fp + 0x40;
| /* str.session */
0x00030458 addiu s1, s1, -0x16c8 | s1 += -0x16c8;
0x0003045c lw gp, 0x18(fp) | gp = *(var_18h_4);
| if (v0 < 0) {
0x00030460 bltz v0, 0x304c0 | goto label_2;
| }
| do {
0x00030464 lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x00030468 lw a0, 0x24(fp) | a0 = *(var_24h_8);
0x0003046c move a1, s6 | a1 = s6;
0x00030470 jalr t9 | t9 ();
0x00030474 lw gp, 0x18(fp) | gp = *(var_18h_4);
| if (v0 < 0) {
0x00030478 bltz v0, 0x304c0 | goto label_2;
| }
0x0003047c lw s0, 0x40(fp) | s0 = *(var_40h_5);
0x00030480 lw t9, -0x70f4(gp) | t9 = sym.imp.strncmp;
0x00030484 addiu a2, zero, 7 | a2 = 7;
0x00030488 move a1, s1 | a1 = s1;
0x0003048c move a0, s0 | a0 = s0;
0x00030490 jalr t9 | t9 ();
0x00030494 lw gp, 0x18(fp) | gp = *(var_18h_4);
| if (v0 == 0) {
0x00030498 bnez v0, 0x304a8 |
0x0003049c addiu v0, s0, 7 | v0 = s0 + 7;
0x000304a0 lw a1, -0x7fcc(gp) | a1 = *(gp);
| if (v0 != 0) {
0x000304a4 bnez v0, 0x30544 | goto label_80;
| }
| }
0x000304a8 lw t9, -0x7ed4(gp) | t9 = sym.sd_device_get_parent;
0x000304ac lw a0, 0x24(fp) | a0 = *(var_24h_8);
0x000304b0 move a1, s5 | a1 = s5;
0x000304b4 jalr t9 | t9 ();
0x000304b8 lw gp, 0x18(fp) | gp = *(var_18h_4);
0x000304bc bgez v0, 0x30464 |
| } while (v0 >= 0);
| do {
| label_2:
0x000304c0 move s2, zero | s2 = 0;
| label_3:
0x000304c4 lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x000304c8 lw a0, 0x3c(fp) | a0 = *(var_3ch_4);
0x000304cc jalr t9 | t9 ();
0x000304d0 lw a0, 0x2c(fp) | a0 = *(var_2ch_6);
0x000304d4 lw gp, 0x18(fp) | gp = *(var_18h_4);
| if (a0 != 0) {
0x000304d8 beqz a0, 0x304ec |
0x000304dc lw t9, -0x7ef0(gp) | t9 = sym.sd_device_unref;
0x000304e0 jalr t9 | t9 ();
0x000304e4 nop |
0x000304e8 lw gp, 0x18(fp) | gp = *(var_18h_4);
| }
0x000304ec lw a0, 0x28(fp) | a0 = *(var_28h_5);
0x000304f0 lw t9, -0x7ef0(gp) | t9 = sym.sd_device_unref;
| if (a0 != 0) {
0x000304f4 beqz a0, 0x30504 |
0x000304f8 jalr t9 | t9 ();
0x000304fc nop |
0x00030500 lw gp, 0x18(fp) | gp = *(var_18h_4);
| }
0x00030504 lw a0, 0x54(fp) | a0 = *(var_54h_4);
0x00030508 lw v1, (s3) | v1 = *(s3);
0x0003050c move v0, s2 | v0 = s2;
| if (a0 != v1) {
0x00030510 bne a0, v1, 0x30730 | goto label_81;
| }
0x00030514 move sp, fp |
0x00030518 lw ra, 0x7c(sp) | ra = *(var_7ch);
0x0003051c lw fp, 0x78(sp) | fp = *(var_78h);
0x00030520 lw s6, 0x74(sp) | s6 = *(var_74h_2);
0x00030524 lw s5, 0x70(sp) | s5 = *(var_70h_2);
0x00030528 lw s4, 0x6c(sp) | s4 = *(var_6ch_2);
0x0003052c lw s3, 0x68(sp) | s3 = *(var_68h_2);
0x00030530 lw s2, 0x64(sp) | s2 = *(var_64h_2);
0x00030534 lw s1, 0x60(sp) | s1 = *(var_60h_2);
0x00030538 lw s0, 0x5c(sp) | s0 = *(var_5ch_2);
0x0003053c addiu sp, sp, 0x80 |
0x00030540 jr ra | return v0;
| label_80:
0x00030544 lw t9, -0x7b8c(gp) | t9 = sym.sd_device_new_from_subsystem_sysname;
0x00030548 move a2, s0 | a2 = s0;
| /* str.iscsi_session */
0x0003054c addiu a1, a1, -0x16c0 | a1 += -aav.0x000016c0;
0x00030550 addiu a0, fp, 0x28 | a0 = fp + 0x28;
0x00030554 jalr t9 | t9 ();
0x00030558 lw gp, 0x18(fp) | gp = *(var_18h_4);
0x0003055c bltz v0, 0x304c0 |
| } while (v0 < 0);
0x00030560 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00030564 lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
0x00030568 lw a0, 0x28(fp) | a0 = *(var_28h_5);
0x0003056c addiu a2, fp, 0x30 | a2 = fp + 0x30;
| /* str.targetname */
0x00030570 addiu a1, a1, -0x16b0 | a1 += -0x16b0;
0x00030574 jalr t9 | t9 ();
0x00030578 lw gp, 0x18(fp) | gp = *(var_18h_4);
| if (v0 < 0) {
0x0003057c bltz v0, 0x304c0 | goto label_2;
| }
0x00030580 lw t9, -0x7d2c(gp) | t9 = sym.sd_device_get_sysnum;
0x00030584 lw a0, 0x24(fp) | a0 = *(var_24h_8);
0x00030588 addiu a1, fp, 0x44 | a1 = fp + 0x44;
0x0003058c jalr t9 | t9 ();
0x00030590 lw gp, 0x18(fp) | gp = *(var_18h_4);
| if (v0 < 0) {
0x00030594 bltz v0, 0x304c0 | goto label_2;
| }
0x00030598 lw v0, 0x44(fp) | v0 = *(var_44h_5);
0x0003059c lw a1, -0x7fcc(gp) | a1 = *(gp);
| if (v0 == 0) {
0x000305a0 beqz v0, 0x304c0 | goto label_2;
| }
0x000305a4 move a0, v0 | a0 = v0;
0x000305a8 sw v0, 0x4c(fp) | *(var_4ch_4) = v0;
0x000305ac lw v0, -0x7fcc(gp) | v0 = *(gp);
0x000305b0 lw t9, -0x6f38(gp) | t9 = sym.imp.strlen;
| /* str.connection */
0x000305b4 addiu s0, a1, -0x16d4 | s0 = a1 + -0x16d4;
| /* esilref: ':0' */
0x000305b8 addiu v0, v0, -0x16a4 | v0 += -0x16a4;
0x000305bc sw s0, 0x48(fp) | *(var_48h_4) = s0;
0x000305c0 sw v0, 0x50(fp) | *(var_50h_4) = v0;
0x000305c4 jalr t9 | t9 ();
0x000305c8 lui a0, 0x40 | a0 = 0x400000;
0x000305cc addiu v1, v0, 0xd | v1 = v0 + 0xd;
0x000305d0 addiu a0, a0, 1 | a0++;
0x000305d4 sltu v1, v1, a0 | v1 = (v1 < a0) ? 1 : 0;
0x000305d8 lw gp, 0x18(fp) | gp = *(var_18h_4);
| if (v1 == 0) {
0x000305dc beqz v1, 0x30704 | goto label_82;
| }
0x000305e0 addiu v0, v0, 0x14 | v0 += 0x14;
0x000305e4 srl v0, v0, 3 | v0 >>= 3;
0x000305e8 sll v0, v0, 3 | v0 <<= 3;
0x000305ec subu sp, sp, v0 |
0x000305f0 addiu s6, sp, 0x18 | s6 = sp + 0x18;
0x000305f4 addiu s1, fp, 0x48 | s1 = fp + 0x48;
0x000305f8 addiu s5, fp, 0x50 | s5 = fp + 0x50;
0x000305fc move v0, s6 | v0 = s6;
0x00030600 move a1, s0 | a1 = s0;
0x00030604 lw t9, -0x6e28(gp) | t9 = sym.imp.stpcpy;
| do {
0x00030608 move a0, v0 | a0 = v0;
0x0003060c jalr t9 | t9 ();
0x00030610 lw gp, 0x18(fp) | gp = *(var_18h_4);
| if (s1 == s5) {
0x00030614 beq s1, s5, 0x30628 | goto label_83;
| }
0x00030618 addiu s1, s1, 4 | s1 += 4;
0x0003061c lw a1, (s1) | a1 = *(s1);
0x00030620 lw t9, -0x6e28(gp) | t9 = sym.imp.stpcpy;
0x00030624 bnez a1, 0x30608 |
| } while (a1 != 0);
| label_83:
0x00030628 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x0003062c lw t9, -0x7b8c(gp) | t9 = sym.sd_device_new_from_subsystem_sysname;
0x00030630 move a2, s6 | a2 = s6;
| /* str.iscsi_connection */
0x00030634 addiu a1, a1, -0x16a0 | a1 += -0x16a0;
0x00030638 addiu a0, fp, 0x2c | a0 = fp + 0x2c;
0x0003063c jalr t9 | t9 ();
0x00030640 lw gp, 0x18(fp) | gp = *(var_18h_4);
| if (v0 < 0) {
0x00030644 bltz v0, 0x304c0 | goto label_2;
| }
0x00030648 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x0003064c lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
0x00030650 lw a0, 0x2c(fp) | a0 = *(var_2ch_6);
0x00030654 addiu a2, fp, 0x34 | a2 = fp + 0x34;
| /* str.persistent_address */
0x00030658 addiu a1, a1, -0x168c | a1 += -0x168c;
0x0003065c jalr t9 | t9 ();
0x00030660 lw gp, 0x18(fp) | gp = *(var_18h_4);
| if (v0 < 0) {
0x00030664 bltz v0, 0x304c0 | goto label_2;
| }
0x00030668 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x0003066c lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
0x00030670 lw a0, 0x2c(fp) | a0 = *(var_2ch_6);
0x00030674 addiu a2, fp, 0x38 | a2 = fp + 0x38;
| /* str.persistent_port */
0x00030678 addiu a1, a1, -0x1678 | a1 += -0x1678;
0x0003067c jalr t9 | t9 ();
0x00030680 lw gp, 0x18(fp) | gp = *(var_18h_4);
| if (v0 < 0) {
0x00030684 bltz v0, 0x304c0 | goto label_2;
| }
0x00030688 lw t9, -0x7b98(gp) | t9 = *(gp);
0x0003068c addiu a1, fp, 0x3c | a1 = fp + 0x3c;
| /* fcn.00030008 */
0x00030690 addiu t9, t9, 8 | t9 += 8;
0x00030694 move a0, s2 | a0 = s2;
0x00030698 bal 0x30008 | fcn_00030008 ();
| goto label_1;
0x0003069c lw gp, 0x18(fp) | gp = *(var_18h_4);
0x000306a0 lw v0, 0x3c(fp) | v0 = *(var_3ch_4);
0x000306a4 lw a3, 0x38(fp) | a3 = *(var_38h_4);
0x000306a8 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x000306ac lw t9, -0x7b98(gp) | t9 = *(gp);
0x000306b0 sw v0, 0x14(sp) | *(var_14h_4) = v0;
0x000306b4 lw v0, 0x30(fp) | v0 = *(var_30h_7);
0x000306b8 lw a2, 0x34(fp) | a2 = *(var_34h_5);
0x000306bc sw v0, 0x10(sp) | *(var_10h_4) = v0;
| /* str.ip__s:_s_iscsi__s__s */
0x000306c0 addiu a1, a1, -0x1668 | a1 += -0x1668;
| /* fcn.0002fec8 */
0x000306c4 addiu t9, t9, -0x138 | t9 += -aav.0x00000138;
0x000306c8 move a0, s4 | a0 = s4;
0x000306cc bal 0x2fec8 | fcn_0002fec8 ();
0x000306d0 lw gp, 0x18(fp) | gp = *(var_18h_4);
0x000306d4 b 0x304c4 | goto label_3;
| label_79:
0x000306d8 lw v0, -0x7fcc(gp) | v0 = *(gp);
0x000306dc lw a2, -0x7fcc(gp) | a2 = *(gp);
0x000306e0 lw a1, -0x7fcc(gp) | a1 = *(gp);
| /* str.handle_scsi_iscsi */
0x000306e4 addiu v0, v0, -0x1388 | v0 += -0x1388;
0x000306e8 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x000306ec sw v0, 0x10(sp) | *(var_10h_4) = v0;
0x000306f0 addiu a3, zero, 0xdc | a3 = 0xdc;
| /* esilref: 'src/udev/udev-builtin-path_id.c' */
0x000306f4 addiu a2, a2, -0x1745 | a2 += -0x1745;
| /* str.parent */
0x000306f8 addiu a1, a1, -0x66cc | a1 += -0x66cc;
0x000306fc addiu a0, zero, 1 | a0 = 1;
0x00030700 jalr t9 | t9 ();
| label_82:
0x00030704 lw v0, -0x7fcc(gp) | v0 = *(gp);
0x00030708 lw a2, -0x7fcc(gp) | a2 = *(gp);
0x0003070c lw a1, -0x7fcc(gp) | a1 = *(gp);
| /* str.handle_scsi_iscsi */
0x00030710 addiu v0, v0, -0x1388 | v0 += -0x1388;
0x00030714 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x00030718 sw v0, 0x10(sp) | *(var_10h_4) = v0;
0x0003071c addiu a3, zero, 0xf3 | a3 = 0xf3;
| /* esilref: 'src/udev/udev-builtin-path_id.c' */
0x00030720 addiu a2, a2, -0x1745 | a2 += -0x1745;
| /* str.sizeof_char__n____ALLOCA_MAX */
0x00030724 addiu a1, a1, -0x6544 | a1 += -0x6544;
0x00030728 addiu a0, zero, 1 | a0 = 1;
0x0003072c jalr t9 | t9 ();
| label_81:
0x00030730 lw t9, -0x6e2c(gp) | t9 = sym.imp.__stack_chk_fail;
0x00030734 jalr t9 | t9 ();
0x00030738 nop |
0x0003073c lui gp, 0xd |
0x00030740 addiu gp, gp, -0x14bc |
0x00030744 addu gp, gp, t9 | gp += t9;
0x00030748 addiu sp, sp, -0x78 |
0x0003074c sw s0, 0x50(sp) | *(var_50h) = s0;
0x00030750 lw s0, -0x6de8(gp) | s0 = *((gp - 7034));
0x00030754 sw fp, 0x70(sp) | *(var_70h_3) = fp;
0x00030758 sw ra, 0x74(sp) | *(var_74h_3) = ra;
0x0003075c sw s7, 0x6c(sp) | *(var_6ch_3) = s7;
0x00030760 sw s6, 0x68(sp) | *(var_68h_3) = s6;
0x00030764 sw s5, 0x64(sp) | *(var_64h_3) = s5;
0x00030768 sw s4, 0x60(sp) | *(var_60h_3) = s4;
0x0003076c sw s3, 0x5c(sp) | *(var_5ch_3) = s3;
0x00030770 sw s2, 0x58(sp) | *(var_58h) = s2;
0x00030774 sw s1, 0x54(sp) | *(var_54h) = s1;
0x00030778 sw gp, 0x18(sp) | *(var_18h_5) = gp;
0x0003077c move fp, sp | fp = sp;
0x00030780 lw v0, (s0) | v0 = *(s0);
0x00030784 sw v0, 0x4c(fp) | *(var_4ch_3) = v0;
0x00030788 lw a2, -0x7fcc(gp) | a2 = *(gp);
| if (a0 == 0) {
0x0003078c beqz a0, 0x30a18 | goto label_84;
| }
0x00030790 move s5, a1 | s5 = a1;
0x00030794 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00030798 lw t9, -0x7b9c(gp) | t9 = sym.sd_device_get_parent_with_subsystem_devtype;
0x0003079c addiu a3, fp, 0x2c | a3 = fp + 0x2c;
| /* str.scsi_host */
0x000307a0 addiu a2, a2, -0x1700 | a2 += -0x1700;
| /* str.scsi */
0x000307a4 addiu a1, a1, -0x16f4 | a1 += -0x16f4;
0x000307a8 move s1, a0 | s1 = a0;
0x000307ac jalr t9 | t9 ();
0x000307b0 lw gp, 0x18(fp) | gp = *(var_18h_5);
| if (v0 < 0) {
0x000307b4 bltz v0, 0x309d0 | goto label_85;
| }
0x000307b8 lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x000307bc addiu a1, fp, 0x40 | a1 = fp + 0x40;
0x000307c0 move a0, s1 | a0 = s1;
0x000307c4 jalr t9 | t9 ();
0x000307c8 lw gp, 0x18(fp) | gp = *(var_18h_5);
| if (v0 < 0) {
0x000307cc bltz v0, 0x309d0 | goto label_85;
| }
0x000307d0 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x000307d4 addiu v0, fp, 0x3c | v0 = fp + 0x3c;
0x000307d8 lw t9, -0x7074(gp) | t9 = *(gp);
0x000307dc sw v0, 0x14(sp) | *(var_14h_3) = v0;
0x000307e0 lw a0, 0x40(fp) | a0 = *(var_40h_4);
0x000307e4 addiu v0, fp, 0x38 | v0 = fp + 0x38;
0x000307e8 sw v0, 0x10(sp) | *(var_10h_5) = v0;
0x000307ec addiu a3, fp, 0x34 | a3 = fp + 0x34;
0x000307f0 addiu a2, fp, 0x30 | a2 = fp + 0x30;
| /* str._d:_d:_d:_d */
0x000307f4 addiu a1, a1, -0x1650 | a1 += -0x1650;
0x000307f8 jalr t9 | t9 ();
0x000307fc addiu v1, zero, 4 | v1 = 4;
0x00030800 lw gp, 0x18(fp) | gp = *(var_18h_5);
| if (v0 != v1) {
0x00030804 bne v0, v1, 0x309d0 | goto label_85;
| }
0x00030808 lw t9, -0x7df0(gp) | t9 = sym.sd_device_get_syspath;
0x0003080c lw a0, 0x2c(fp) | a0 = *(var_2ch_7);
0x00030810 addiu a1, fp, 0x44 | a1 = fp + 0x44;
0x00030814 jalr t9 | t9 ();
0x00030818 lw gp, 0x18(fp) | gp = *(var_18h_5);
| if (v0 < 0) {
0x0003081c bltz v0, 0x309d0 | goto label_85;
| }
0x00030820 lw s1, 0x44(fp) | s1 = *(var_44h_4);
0x00030824 lw t9, -0x7060(gp) | t9 = sym.imp.strrchr;
0x00030828 addiu a1, zero, 0x2f | a1 = 0x2f;
0x0003082c move a0, s1 | a0 = s1;
0x00030830 jalr t9 | t9 ();
0x00030834 lw gp, 0x18(fp) | gp = *(var_18h_5);
| if (v0 == 0) {
0x00030838 beqz v0, 0x309d0 | goto label_85;
| }
0x0003083c lw t9, -0x701c(gp) | t9 = sym.imp.strnlen;
0x00030840 subu a1, v0, s1 | __asm ("subu a1, v0, s1");
0x00030844 move a0, s1 | a0 = s1;
0x00030848 jalr t9 | t9 ();
0x0003084c addiu v1, v0, 8 | v1 = v0 + 8;
0x00030850 srl v1, v1, 3 | v1 >>= 3;
0x00030854 sll v1, v1, 3 | v1 <<= 3;
0x00030858 lw gp, 0x18(fp) | gp = *(var_18h_5);
0x0003085c subu sp, sp, v1 |
0x00030860 addiu a0, sp, 0x18 | a0 = sp + 0x18;
0x00030864 addu v1, a0, v0 | v1 = a0 + v0;
0x00030868 lw t9, -0x6de0(gp) | t9 = sym.imp.memcpy;
0x0003086c move a1, s1 | a1 = s1;
0x00030870 move a2, v0 | a2 = v0;
0x00030874 sb zero, (v1) | *(v1) = 0;
0x00030878 jalr t9 | t9 ();
0x0003087c lw gp, 0x18(fp) | gp = *(arg_18h);
0x00030880 move a0, v0 | a0 = v0;
0x00030884 lw t9, -0x7150(gp) | t9 = *((gp - 7252));
0x00030888 sw v0, 0x44(fp) | *(arg_44h) = v0;
0x0003088c jalr t9 | t9 ();
0x00030890 move s1, v0 | s1 = v0;
0x00030894 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == 0) {
0x00030898 beqz v0, 0x309d0 | goto label_85;
| }
0x0003089c lw t9, -0x6fc8(gp) | t9 = sym.imp.__errno_location;
0x000308a0 jalr t9 | t9 ();
0x000308a4 nop |
0x000308a8 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000308ac sw zero, (v0) | *(v0) = 0;
0x000308b0 move a0, s1 | a0 = s1;
0x000308b4 lw t9, -0x70bc(gp) | t9 = sym.imp.readdir64;
0x000308b8 move s2, v0 | s2 = v0;
0x000308bc jalr t9 | t9 ();
0x000308c0 move s6, v0 | s6 = v0;
0x000308c4 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == 0) {
0x000308c8 beqz v0, 0x309b8 | goto label_86;
| }
0x000308cc lw s7, -0x7fcc(gp) | s7 = *(gp);
0x000308d0 addiu s3, zero, -1 | s3 = -1;
| /* str.host */
0x000308d4 addiu v0, s7, -0x1644 | v0 = s7 + -0x1644;
0x000308d8 addiu s4, zero, 0x2e | s4 = 0x2e;
0x000308dc sw v0, 0x24(fp) | *(arg_24h) = v0;
0x000308e0 addiu s7, fp, 0x48 | s7 = fp + 0x48;
| do {
0x000308e4 lb v0, 0x13(s6) | v0 = *((s6 + 19));
0x000308e8 addiu v1, zero, 4 | v1 = 4;
| if (v0 != s4) {
0x000308ec beq v0, s4, 0x30954 |
0x000308f0 lbu v0, 0x12(s6) | v0 = *((s6 + 18));
0x000308f4 addiu a0, zero, 0xa | a0 = 0xa;
| if (v0 != v1) {
0x000308f8 beq v0, v1, 0x30904 |
0x000308fc lw t9, -0x70bc(gp) | t9 = sym.imp.readdir64;
| if (v0 != a0) {
0x00030900 bne v0, a0, 0x30958 | goto label_87;
| }
| }
0x00030904 lw t9, -0x70f4(gp) | t9 = sym.imp.strncmp;
0x00030908 lw a1, 0x24(fp) | a1 = *(var_24h_7);
0x0003090c addiu a2, zero, 4 | a2 = 4;
0x00030910 addiu a0, s6, 0x13 | a0 = s6 + 0x13;
0x00030914 jalr t9 | t9 ();
0x00030918 lw gp, 0x18(fp) | gp = *(var_18h_5);
| if (v0 != 0) {
0x0003091c bnez v0, 0x30954 | goto label_4;
| }
0x00030920 lw t9, -0x6f2c(gp) | t9 = sym.imp.strtoul;
0x00030924 addiu a2, zero, 0xa | a2 = 0xa;
0x00030928 move a1, s7 | a1 = s7;
0x0003092c addiu a0, s6, 0x17 | a0 = s6 + 0x17;
0x00030930 jalr t9 | t9 ();
0x00030934 lw v1, 0x48(fp) | v1 = *(var_48h_3);
0x00030938 lb v1, (v1) | v1 = *(v1);
0x0003093c lw gp, 0x18(fp) | gp = *(var_18h_5);
| if (v1 != 0) {
0x00030940 bnez v1, 0x30954 | goto label_4;
| }
0x00030944 addiu v1, zero, -1 | v1 = -1;
0x00030948 slt v1, v0, s3 | v1 = (v0 < s3) ? 1 : 0;
| if (s3 == v1) {
0x0003094c beq s3, v1, 0x30a44 | goto label_88;
| }
| if (v1 != 0) {
0x00030950 movn s3, v0, v1 | s3 = v0;
| goto label_4;
| }
| }
| label_4:
0x00030954 lw t9, -0x70bc(gp) | t9 = sym.imp.readdir64;
| label_87:
0x00030958 sw zero, (s2) | *(s2) = 0;
0x0003095c move a0, s1 | a0 = s1;
0x00030960 jalr t9 | t9 ();
0x00030964 move s6, v0 | s6 = v0;
0x00030968 lw gp, 0x18(fp) | gp = *(var_18h_5);
0x0003096c bnez v0, 0x308e4 |
| } while (v0 != 0);
0x00030970 addiu v0, zero, -1 | v0 = -1;
0x00030974 lw a1, -0x7fcc(gp) | a1 = *(gp);
| if (s3 != v0) {
0x00030978 beq s3, v0, 0x309b8 |
0x0003097c lw v0, 0x30(fp) | v0 = *(var_30h_6);
0x00030980 subu s3, v0, s3 | __asm ("subu s3, v0, s3");
0x00030984 lw v0, 0x3c(fp) | v0 = *(var_3ch_5);
0x00030988 lw t9, -0x7b98(gp) | t9 = *(gp);
0x0003098c sw v0, 0x14(sp) | *(var_14h_3) = v0;
0x00030990 lw v0, 0x38(fp) | v0 = *(var_38h_3);
0x00030994 lw a3, 0x34(fp) | a3 = *(var_34h_4);
0x00030998 sw v0, 0x10(sp) | *(var_10h_5) = v0;
0x0003099c move a2, s3 | a2 = s3;
| /* str.scsi__u:_u:_u:_u */
0x000309a0 addiu a1, a1, -0x163c | a1 += -0x163c;
0x000309a4 move a0, s5 | a0 = s5;
| /* fcn.0002fec8 */
0x000309a8 addiu t9, t9, -0x138 | t9 += -aav.0x00000138;
0x000309ac sw s3, 0x30(fp) | *(var_30h_6) = s3;
0x000309b0 bal 0x2fec8 | fcn_0002fec8 ();
0x000309b4 lw gp, 0x18(fp) | gp = *(var_18h_5);
| }
| label_86:
0x000309b8 lw t9, -0x7148(gp) | t9 = sym.imp.closedir;
0x000309bc move a0, s1 | a0 = s1;
0x000309c0 lw s2, 0x2c(fp) | s2 = *(var_2ch_7);
0x000309c4 jalr t9 | t9 ();
0x000309c8 lw gp, 0x18(fp) | gp = *(var_18h_5);
0x000309cc b 0x309d4 | goto label_89;
| label_85:
0x000309d0 move s2, zero | s2 = 0;
| label_89:
0x000309d4 lw a0, 0x4c(fp) | a0 = *(var_4ch_3);
0x000309d8 lw v1, (s0) | v1 = *(s0);
0x000309dc move v0, s2 | v0 = s2;
| if (a0 == v1) {
0x000309e0 bne a0, v1, 0x30a4c |
0x000309e4 move sp, fp |
0x000309e8 lw ra, 0x74(sp) | ra = *(var_74h_3);
0x000309ec lw fp, 0x70(sp) | fp = *(var_70h_3);
0x000309f0 lw s7, 0x6c(sp) | s7 = *(var_6ch_3);
0x000309f4 lw s6, 0x68(sp) | s6 = *(var_68h_3);
0x000309f8 lw s5, 0x64(sp) | s5 = *(var_64h_3);
0x000309fc lw s4, 0x60(sp) | s4 = *(var_60h_3);
0x00030a00 lw s3, 0x5c(sp) | s3 = *(var_5ch_3);
0x00030a04 lw s2, 0x58(sp) | s2 = *(var_58h);
0x00030a08 lw s1, 0x54(sp) | s1 = *(var_54h);
0x00030a0c lw s0, 0x50(sp) | s0 = *(var_50h);
0x00030a10 addiu sp, sp, 0x78 |
0x00030a14 jr ra | return v0;
| label_84:
0x00030a18 lw v0, -0x7fcc(gp) | v0 = *(gp);
0x00030a1c lw a2, -0x7fcc(gp) | a2 = *(gp);
0x00030a20 lw a1, -0x7fcc(gp) | a1 = *(gp);
| /* str.handle_scsi_default */
0x00030a24 addiu v0, v0, -0x13c0 | v0 += -0x13c0;
0x00030a28 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x00030a2c sw v0, 0x10(sp) | *(var_10h_5) = v0;
0x00030a30 addiu a3, zero, 0x123 | a3 = 0x123;
| /* esilref: 'src/udev/udev-builtin-path_id.c' */
0x00030a34 addiu a2, a2, -0x1745 | a2 += -0x1745;
| /* str.parent */
0x00030a38 addiu a1, a1, -0x66cc | a1 += -0x66cc;
0x00030a3c addiu a0, zero, 1 | a0 = 1;
0x00030a40 jalr t9 | t9 ();
| label_88:
0x00030a44 move s3, v0 | s3 = v0;
0x00030a48 b 0x30954 | goto label_4;
| }
0x00030a4c lw t9, -0x6e2c(gp) | t9 = sym.imp.__stack_chk_fail;
0x00030a50 jalr t9 | t9 ();
0x00030a54 nop |
0x00030a58 lui gp, 0xd |
0x00030a5c addiu gp, gp, -0x17d8 |
0x00030a60 addu gp, gp, t9 | gp += t9;
0x00030a64 addiu sp, sp, -0x2c8 |
0x00030a68 sw s2, 0x2a8(sp) | *(var_2a8h) = s2;
0x00030a6c lw s2, -0x6de8(gp) | s2 = *((gp - 7034));
0x00030a70 sw gp, 0x18(sp) | *(var_18h_6) = gp;
0x00030a74 sw ra, 0x2c4(sp) | *(var_2c4h) = ra;
0x00030a78 sw fp, 0x2c0(sp) | *(var_2c0h) = fp;
0x00030a7c sw s7, 0x2bc(sp) | *(var_2bch) = s7;
0x00030a80 sw s6, 0x2b8(sp) | *(var_2b8h) = s6;
0x00030a84 sw s5, 0x2b4(sp) | *(var_2b4h) = s5;
0x00030a88 sw s4, 0x2b0(sp) | *(var_2b0h) = s4;
0x00030a8c sw s3, 0x2ac(sp) | *(var_2ach) = s3;
0x00030a90 sw s1, 0x2a4(sp) | *(var_2a4h) = s1;
0x00030a94 sw s0, 0x2a0(sp) | *(var_2a0h) = s0;
0x00030a98 lw v0, (s2) | v0 = *(s2);
0x00030a9c sw zero, 0x38(sp) | *(var_38h_2) = 0;
0x00030aa0 sw v0, 0x29c(sp) | *(var_29ch) = v0;
0x00030aa4 lw v0, -0x7b98(gp) | v0 = *(gp);
| if (a0 == 0) {
0x00030aa8 beqz a0, 0x31338 | goto label_90;
| }
0x00030aac lw s3, -0x7fcc(gp) | s3 = *(gp);
| /* fcn.0002fec8 */
0x00030ab0 addiu v0, v0, -0x138 | v0 += -aav.0x00000138;
0x00030ab4 sw v0, 0x24(sp) | *(var_24h_4) = v0;
0x00030ab8 lw v0, -0x7b98(gp) | v0 = *(gp);
0x00030abc lw s5, -0x7fcc(gp) | s5 = *(gp);
0x00030ac0 addiu v0, v0, 0x2d4 | v0 += aav.0x000002d4;
0x00030ac4 sw v0, 0x28(sp) | *(var_30h_5) = v0;
0x00030ac8 lw v0, -0x7fcc(gp) | v0 = *(gp);
0x00030acc move s1, a0 | s1 = a0;
| /* str.usb_interface */
0x00030ad0 addiu v0, v0, -0x1a00 | v0 += -0x1a00;
0x00030ad4 move s4, a3 | s4 = a3;
0x00030ad8 sw a0, 0x34(sp) | *(var_34h_2) = a0;
0x00030adc sw zero, 0x20(sp) | *(var_20h) = 0;
0x00030ae0 move s6, zero | s6 = 0;
0x00030ae4 addiu s7, sp, 0x3c | s7 = sp + 0x3c;
0x00030ae8 sw v0, 0x2c(sp) | *(var_2ch_4) = v0;
0x00030aec lw t9, -0x7edc(gp) | t9 = sym.sd_device_get_subsystem;
| do {
0x00030af0 move a1, s7 | a1 = s7;
0x00030af4 jalr t9 | t9 ();
0x00030af8 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 >= 0) {
0x00030afc bgez v0, 0x30cf0 | goto label_91;
| }
| label_6:
0x00030b00 lw s0, 0x34(sp) | s0 = *(var_34h_2);
| label_7:
0x00030b04 lw t9, -0x7ed4(gp) | t9 = sym.sd_device_get_parent;
| if (s0 == 0) {
0x00030b08 beqz s0, 0x30b2c | goto label_12;
| }
0x00030b0c addiu a1, sp, 0x34 | a1 = sp + 0x34;
0x00030b10 move a0, s0 | a0 = s0;
0x00030b14 jalr t9 | t9 ();
0x00030b18 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x00030b1c bltz v0, 0x30b2c | goto label_12;
| }
0x00030b20 lw a0, 0x34(sp) | a0 = *(var_34h_2);
0x00030b24 lw t9, -0x7edc(gp) | t9 = sym.sd_device_get_subsystem;
0x00030b28 bnez a0, 0x30af0 |
| } while (a0 != 0);
| label_12:
0x00030b2c lw a0, 0x38(sp) | a0 = *(var_38h_2);
0x00030b30 lw v0, 0x20(sp) | v0 = *(var_20h);
| if (a0 == 0) {
0x00030b34 beqz a0, 0x30fd8 | goto label_92;
| }
0x00030b38 lw t9, -0x7edc(gp) | t9 = sym.sd_device_get_subsystem;
| if (v0 == 0) {
0x00030b3c beqz v0, 0x30fd8 | goto label_92;
| }
0x00030b40 addiu a1, sp, 0x8c | a1 = sp + 0x8c;
0x00030b44 move a0, s1 | a0 = s1;
0x00030b48 jalr t9 | t9 ();
0x00030b4c lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x00030b50 bltz v0, 0x3102c | goto label_93;
| }
0x00030b54 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00030b58 lw t9, -0x6d64(gp) | t9 = *((gp - 7001));
0x00030b5c lw a0, 0x8c(sp) | a0 = *(var_8ch_2);
| /* str.block */
0x00030b60 addiu a1, a1, -0x6440 | a1 += -0x6440;
0x00030b64 jalr t9 | t9 ();
0x00030b68 lw gp, 0x18(sp) | gp = *(var_18h_6);
0x00030b6c lw a0, 0x38(sp) | a0 = *(var_38h_2);
| if (v0 == 0) {
0x00030b70 beqz v0, 0x30fd0 | goto label_94;
| }
| label_11:
0x00030b74 lb a1, (a0) | a1 = *(a0);
| label_8:
0x00030b78 move t0, a0 | t0 = a0;
| if (a1 == 0) {
0x00030b7c beqz a1, 0x31330 | goto label_95;
| }
0x00030b80 move v1, zero | v1 = 0;
0x00030b84 addiu a3, zero, -0x21 | a3 = -0x21;
0x00030b88 addiu t1, zero, 0x2d | t1 = 0x2d;
0x00030b8c addiu t2, zero, 0x5f | t2 = 0x5f;
0x00030b90 b 0x30bd8 |
| while (a2 == 0) {
0x00030b94 addiu v0, v0, -0x41 | v0 += -0x41;
0x00030b98 sltiu v0, v0, 0x1a | v0 = (v0 < 0x1a) ? 1 : 0;
0x00030b9c addiu v0, sp, 0x2a0 | v0 = sp + aav.0x000002a0;
| if (v0 != 0) {
0x00030ba0 bnez v0, 0x30bf0 | goto label_96;
| }
0x00030ba4 addu v0, v0, v1 | v0 += v1;
| if (a1 == t1) {
0x00030ba8 beq a1, t1, 0x30bf4 | goto label_97;
| }
| if (v1 != 0) {
0x00030bac beqz v1, 0x30bc8 |
0x00030bb0 nop |
0x00030bb4 lb a1, -0x205(v0) | a1 = *(var_1h);
| if (a1 == t2) {
0x00030bb8 beql a1, t2, 0x30bcc | goto label_98;
| }
0x00030bbc addiu t0, t0, 1 | t0++;
0x00030bc0 sb t2, -0x204(v0) | *(var_9ch_2) = t2;
0x00030bc4 addiu v1, v1, 1 | v1++;
| }
0x00030bc8 addiu t0, t0, 1 | t0++;
| label_98:
0x00030bcc lb a1, (t0) | a1 = *(t0);
| if (a1 == 0) {
0x00030bd0 beqz a1, 0x30c08 | goto label_99;
| }
0x00030bd4 nop |
| label_5:
0x00030bd8 andi v0, a1, 0xff | v0 = a1 & 0xff;
0x00030bdc addiu a2, v0, -0x30 | a2 = v0 + -0x30;
0x00030be0 sltiu a2, a2, 0xa | a2 = (a2 < 0xa) ? 1 : 0;
0x00030be4 and v0, v0, a3 | v0 &= a3;
0x00030be8 beqz a2, 0x30b94 |
| }
0x00030bec addiu v0, sp, 0x2a0 | v0 = sp + aav.0x000002a0;
| label_96:
0x00030bf0 addu v0, v0, v1 | v0 += v1;
| label_97:
0x00030bf4 addiu t0, t0, 1 | t0++;
0x00030bf8 sb a1, -0x204(v0) | *(var_9ch_2) = a1;
0x00030bfc lb a1, (t0) | a1 = *(t0);
0x00030c00 addiu v1, v1, 1 | v1++;
| if (a1 != 0) {
0x00030c04 bnez a1, 0x30bd8 | goto label_5;
| }
| label_99:
0x00030c08 addiu s0, sp, 0x9c | s0 = sp + 0x9c;
| if (v1 == 0) {
0x00030c0c beqz v1, 0x30c50 | goto label_17;
| }
0x00030c10 addiu v0, sp, 0x2a0 | v0 = sp + aav.0x000002a0;
0x00030c14 addu v0, v0, v1 | v0 += v1;
0x00030c18 addiu a1, zero, 0x5f | a1 = 0x5f;
0x00030c1c lb a2, -0x205(v0) | a2 = *(var_9ch_2);
0x00030c20 addiu t0, sp, 0x9d | t0 = sp + 0x9d;
| if (a2 != a1) {
0x00030c24 bne a2, a1, 0x30c54 | goto label_10;
| }
0x00030c28 addu v0, s0, v1 | v0 = s0 + v1;
0x00030c2c nor a2, zero, s0 | __asm ("nor a2, zero, s0");
0x00030c30 addiu t1, zero, 0x5f | t1 = 0x5f;
0x00030c34 b 0x30c48 |
| while (v0 != t0) {
0x00030c38 addiu v0, v0, -1 | v0 += -1;
0x00030c3c lb a1, -1(v0) | a1 = *(var_1h);
0x00030c40 addiu v0, sp, 0x2a0 | v0 = sp + aav.0x000002a0;
| if (a1 == t1) {
0x00030c44 bnel a1, t1, 0x31024 | goto label_100;
| }
0x00030c48 addu v1, a2, v0 | v1 = a2 + v0;
0x00030c4c bne v0, t0, 0x30c38 |
| }
| label_17:
0x00030c50 addiu v0, sp, 0x2a0 | v0 = sp + aav.0x000002a0;
| label_10:
0x00030c54 lw a2, -0x7fcc(gp) | a2 = *(gp);
0x00030c58 lw t9, -0x7bc4(gp) | t9 = *(gp);
0x00030c5c move a3, a0 | a3 = a0;
| /* str.ID_PATH */
0x00030c60 addiu a2, a2, -0x1400 | a2 += -0x1400;
0x00030c64 move a1, s4 | a1 = s4;
0x00030c68 move a0, s1 | a0 = s1;
0x00030c6c sb zero, -0x204(v0) | *(var_9ch_2) = 0;
0x00030c70 bal 0x29b0c | fcn_00029b0c ();
0x00030c74 lw gp, 0x18(sp) | gp = *(var_18h_6);
0x00030c78 move a3, s0 | a3 = s0;
0x00030c7c move a0, s1 | a0 = s1;
0x00030c80 lw a2, -0x7fcc(gp) | a2 = *(gp);
0x00030c84 lw t9, -0x7bc4(gp) | t9 = *(gp);
| /* str.ID_PATH_TAG */
0x00030c88 addiu a2, a2, -0x13f8 | a2 += -aav.0x000013f8;
0x00030c8c move a1, s4 | a1 = s4;
0x00030c90 bal 0x29b0c | fcn_00029b0c ();
0x00030c94 lw gp, 0x18(sp) | gp = *(var_18h_6);
0x00030c98 lw a0, 0x38(sp) | a0 = *(var_38h_2);
0x00030c9c move s0, zero | s0 = 0;
| label_9:
0x00030ca0 lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x00030ca4 jalr t9 | t9 ();
0x00030ca8 nop |
0x00030cac lw a0, 0x29c(sp) | a0 = *(var_29ch);
0x00030cb0 lw v1, (s2) | v1 = *(s2);
0x00030cb4 lw gp, 0x18(sp) | gp = *(var_18h_6);
0x00030cb8 move v0, s0 | v0 = s0;
| if (a0 != v1) {
0x00030cbc bne a0, v1, 0x31c64 | goto label_101;
| }
0x00030cc0 lw ra, 0x2c4(sp) | ra = *(var_2c4h);
0x00030cc4 lw fp, 0x2c0(sp) | fp = *(var_2c0h);
0x00030cc8 lw s7, 0x2bc(sp) | s7 = *(var_2bch);
0x00030ccc lw s6, 0x2b8(sp) | s6 = *(var_2b8h);
0x00030cd0 lw s5, 0x2b4(sp) | s5 = *(var_2b4h);
0x00030cd4 lw s4, 0x2b0(sp) | s4 = *(var_2b0h);
0x00030cd8 lw s3, 0x2ac(sp) | s3 = *(var_2ach);
0x00030cdc lw s2, 0x2a8(sp) | s2 = *(var_2a8h);
0x00030ce0 lw s1, 0x2a4(sp) | s1 = *(var_2a4h);
0x00030ce4 lw s0, 0x2a0(sp) | s0 = *(var_2a0h);
0x00030ce8 addiu sp, sp, 0x2c8 |
0x00030cec jr ra | return v0;
| label_91:
0x00030cf0 lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x00030cf4 lw a0, 0x34(sp) | a0 = *(var_34h_2);
0x00030cf8 addiu a1, sp, 0x40 | a1 = sp + 0x40;
0x00030cfc jalr t9 | t9 ();
0x00030d00 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x00030d04 bltz v0, 0x30b00 | goto label_6;
| }
0x00030d08 lw s0, 0x3c(sp) | s0 = *(var_3ch_3);
0x00030d0c lw t9, -0x6d64(gp) | t9 = *((gp - 7001));
0x00030d10 addiu a1, s3, -0x1628 | a1 = s3 + -0x1628;
0x00030d14 move a0, s0 | a0 = s0;
0x00030d18 jalr t9 | t9 ();
0x00030d1c lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 == 0) {
0x00030d20 beqz v0, 0x30f40 | goto label_102;
| }
0x00030d24 lw t9, -0x6d64(gp) | t9 = *((gp - 7001));
0x00030d28 addiu a1, s5, -0x16f4 | a1 = s5 + -0x16f4;
0x00030d2c move a0, s0 | a0 = s0;
0x00030d30 jalr t9 | t9 ();
0x00030d34 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 == 0) {
0x00030d38 beqz v0, 0x30fe0 | goto label_103;
| }
0x00030d3c lw fp, -0x7fcc(gp) | fp = *(gp);
0x00030d40 lw t9, -0x6d64(gp) | t9 = *((gp - 7001));
| /* str.cciss */
0x00030d44 addiu a1, fp, -0x14e0 | a1 = fp + -0x14e0;
0x00030d48 move a0, s0 | a0 = s0;
0x00030d4c jalr t9 | t9 ();
0x00030d50 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 == 0) {
0x00030d54 beqz v0, 0x31034 | goto label_104;
| }
0x00030d58 lw fp, -0x7fcc(gp) | fp = *(gp);
0x00030d5c lw t9, -0x6d64(gp) | t9 = *((gp - 7001));
| /* esilref: 'usb' */
0x00030d60 addiu a1, fp, -0x44b4 | a1 = fp + -0x44b4;
0x00030d64 move a0, s0 | a0 = s0;
0x00030d68 jalr t9 | t9 ();
0x00030d6c lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 == 0) {
0x00030d70 beqz v0, 0x310c0 | goto label_105;
| }
0x00030d74 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00030d78 lw t9, -0x6d64(gp) | t9 = *((gp - 7001));
| /* str.bcma */
0x00030d7c addiu a1, a1, -0x19f0 | a1 += -0x19f0;
0x00030d80 move a0, s0 | a0 = s0;
0x00030d84 jalr t9 | t9 ();
0x00030d88 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 == 0) {
0x00030d8c beqz v0, 0x312c8 | goto label_106;
| }
0x00030d90 lw fp, -0x7fcc(gp) | fp = *(gp);
0x00030d94 lw t9, -0x6d64(gp) | t9 = *((gp - 7001));
| /* str.serio */
0x00030d98 addiu a1, fp, -0x3f0c | a1 = fp + -aav.0x00003f0c;
0x00030d9c move a0, s0 | a0 = s0;
0x00030da0 jalr t9 | t9 ();
0x00030da4 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 == 0) {
0x00030da8 beqz v0, 0x31274 | goto label_107;
| }
0x00030dac lw fp, -0x7fcc(gp) | fp = *(gp);
0x00030db0 lw t9, -0x6d64(gp) | t9 = *((gp - 7001));
| /* esilref: 'pci' */
0x00030db4 addiu a1, fp, -0x1c8c | a1 = fp + -0x1c8c;
0x00030db8 move a0, s0 | a0 = s0;
0x00030dbc jalr t9 | t9 ();
0x00030dc0 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 == 0) {
0x00030dc4 beqz v0, 0x31414 | goto label_108;
| }
0x00030dc8 lw fp, -0x7fcc(gp) | fp = *(gp);
0x00030dcc lw t9, -0x6d64(gp) | t9 = *((gp - 7001));
| /* str.platform */
0x00030dd0 addiu a1, fp, -0x1a98 | a1 = fp + -0x1a98;
0x00030dd4 move a0, s0 | a0 = s0;
0x00030dd8 jalr t9 | t9 ();
0x00030ddc lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 == 0) {
0x00030de0 beqz v0, 0x31578 | goto label_109;
| }
0x00030de4 lw fp, -0x7fcc(gp) | fp = *(gp);
0x00030de8 lw t9, -0x6d64(gp) | t9 = *((gp - 7001));
| /* str.acpi */
0x00030dec addiu a1, fp, -0x1488 | a1 = fp + -aav.0x00001488;
0x00030df0 move a0, s0 | a0 = s0;
0x00030df4 jalr t9 | t9 ();
0x00030df8 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 == 0) {
0x00030dfc beqz v0, 0x315bc | goto label_110;
| }
0x00030e00 lw fp, -0x7fcc(gp) | fp = *(gp);
0x00030e04 lw t9, -0x6d64(gp) | t9 = *((gp - 7001));
| /* esilref: 'xen' */
0x00030e08 addiu a1, fp, -0x1478 | a1 = fp + -0x1478;
0x00030e0c move a0, s0 | a0 = s0;
0x00030e10 jalr t9 | t9 ();
0x00030e14 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 == 0) {
0x00030e18 beqz v0, 0x31554 | goto label_111;
| }
0x00030e1c lw fp, -0x7fcc(gp) | fp = *(gp);
0x00030e20 lw t9, -0x6d64(gp) | t9 = *((gp - 7001));
| /* str.virtio */
0x00030e24 addiu a1, fp, -0x1d30 | a1 = fp + -0x1d30;
0x00030e28 move a0, s0 | a0 = s0;
0x00030e2c jalr t9 | t9 ();
0x00030e30 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 == 0) {
0x00030e34 beqz v0, 0x31838 | goto label_112;
| }
0x00030e38 lw fp, -0x7fcc(gp) | fp = *(gp);
0x00030e3c lw t9, -0x6d64(gp) | t9 = *((gp - 7001));
| /* esilref: 'scm' */
0x00030e40 addiu a1, fp, -0x146c | a1 = fp + -0x146c;
0x00030e44 move a0, s0 | a0 = s0;
0x00030e48 jalr t9 | t9 ();
0x00030e4c lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 == 0) {
0x00030e50 beqz v0, 0x3185c | goto label_113;
| }
0x00030e54 lw fp, -0x7fcc(gp) | fp = *(gp);
0x00030e58 lw t9, -0x6d64(gp) | t9 = *((gp - 7001));
| /* esilref: 'ccw' */
0x00030e5c addiu a1, fp, -0x1af8 | a1 = fp + -0x1af8;
0x00030e60 move a0, s0 | a0 = s0;
0x00030e64 jalr t9 | t9 ();
0x00030e68 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 == 0) {
0x00030e6c beqz v0, 0x31980 | goto label_114;
| }
0x00030e70 lw fp, -0x7fcc(gp) | fp = *(gp);
0x00030e74 lw t9, -0x6d64(gp) | t9 = *((gp - 7001));
| /* str.ccwgroup */
0x00030e78 addiu a1, fp, -0x1b04 | a1 = fp + -0x1b04;
0x00030e7c move a0, s0 | a0 = s0;
0x00030e80 jalr t9 | t9 ();
0x00030e84 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 == 0) {
0x00030e88 beqz v0, 0x319b8 | goto label_115;
| }
0x00030e8c lw fp, -0x7fd8(gp) | fp = *(gp);
0x00030e90 lw t9, -0x6d64(gp) | t9 = *((gp - 7001));
| /* esilref: 'ap' */
0x00030e94 addiu a1, fp, 0x4324 | a1 = fp + 0x4324;
0x00030e98 move a0, s0 | a0 = s0;
0x00030e9c jalr t9 | t9 ();
0x00030ea0 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 == 0) {
0x00030ea4 beqz v0, 0x319ec | goto label_116;
| }
0x00030ea8 lw fp, -0x7fcc(gp) | fp = *(gp);
0x00030eac lw t9, -0x6d64(gp) | t9 = *((gp - 7001));
| /* str.iucv */
0x00030eb0 addiu a1, fp, -0x1428 | a1 = fp + -0x1428;
0x00030eb4 move a0, s0 | a0 = s0;
0x00030eb8 jalr t9 | t9 ();
0x00030ebc lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 == 0) {
0x00030ec0 beqz v0, 0x31ac0 | goto label_117;
| }
0x00030ec4 lw fp, -0x7fcc(gp) | fp = *(gp);
0x00030ec8 lw t9, -0x6d64(gp) | t9 = *((gp - 7001));
| /* str.nvme */
0x00030ecc addiu a1, fp, -0x1418 | a1 = fp + -0x1418;
0x00030ed0 move a0, s0 | a0 = s0;
0x00030ed4 jalr t9 | t9 ();
0x00030ed8 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 != 0) {
0x00030edc bnez v0, 0x30b00 | goto label_6;
| }
0x00030ee0 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00030ee4 lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
0x00030ee8 addiu a2, sp, 0x8c | a2 = sp + 0x8c;
| /* str.nsid */
0x00030eec addiu a1, a1, -0x1410 | a1 += -0x1410;
0x00030ef0 move a0, s1 | a0 = s1;
0x00030ef4 jalr t9 | t9 ();
0x00030ef8 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x00030efc bltz v0, 0x30b00 | goto label_6;
| }
0x00030f00 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00030f04 lw a2, 0x8c(sp) | a2 = *(var_8ch_2);
0x00030f08 lw t9, 0x24(sp) | t9 = *(var_24h_4);
| /* str.nvme__s */
0x00030f0c addiu a1, a1, -0x1408 | a1 += -0x1408;
0x00030f10 addiu a0, sp, 0x38 | a0 = sp + 0x38;
0x00030f14 jalr t9 | t9 ();
0x00030f18 lw a0, 0x34(sp) | a0 = *(var_34h_2);
0x00030f1c lw t9, 0x28(sp) | t9 = *(var_30h_5);
| /* str.nvme */
0x00030f20 addiu a1, fp, -0x1418 | a1 = fp + -0x1418;
0x00030f24 jalr t9 | t9 ();
0x00030f28 sw v0, 0x34(sp) | *(var_34h_2) = v0;
0x00030f2c addiu v0, zero, 1 | v0 = 1;
0x00030f30 lw gp, 0x18(sp) | gp = *(var_18h_6);
0x00030f34 sw v0, 0x20(sp) | *(var_20h) = v0;
0x00030f38 addiu s6, zero, 1 | s6 = 1;
0x00030f3c b 0x30b00 | goto label_6;
| label_102:
0x00030f40 lw v0, 0x38(sp) | v0 = *(var_38h_2);
0x00030f44 lw s0, 0x34(sp) | s0 = *(var_34h_2);
| if (v0 != 0) {
0x00030f48 bnez v0, 0x30b04 | goto label_7;
| }
0x00030f4c lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x00030f50 addiu a1, sp, 0x8c | a1 = sp + 0x8c;
0x00030f54 move a0, s0 | a0 = s0;
0x00030f58 jalr t9 | t9 ();
0x00030f5c lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x00030f60 bltz v0, 0x30b00 | goto label_6;
| }
0x00030f64 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00030f68 lw s0, 0x8c(sp) | s0 = *(var_8ch_2);
0x00030f6c lw t9, -0x70f4(gp) | t9 = sym.imp.strncmp;
0x00030f70 addiu a2, zero, 3 | a2 = 3;
| /* esilref: 'nst' */
0x00030f74 addiu a1, a1, -0x161c | a1 += -0x161c;
0x00030f78 move a0, s0 | a0 = s0;
0x00030f7c jalr t9 | t9 ();
0x00030f80 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 != 0) {
0x00030f84 bnez v0, 0x31364 | goto label_118;
| }
0x00030f88 addiu v0, s0, 3 | v0 = s0 + 3;
0x00030f8c lw a0, -0x7fcc(gp) | a0 = *(gp);
| if (v0 == 0) {
0x00030f90 beqz v0, 0x31880 | goto label_119;
| }
0x00030f94 lb fp, 3(s0) | fp = *((s0 + 3));
0x00030f98 lw t9, -0x6f30(gp) | t9 = sym.imp.strchr;
0x00030f9c move a1, fp | a1 = fp;
| /* esilref: 'lma' */
0x00030fa0 addiu a0, a0, -0x1618 | a0 += -0x1618;
0x00030fa4 jalr t9 | t9 ();
0x00030fa8 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 == 0) {
0x00030fac beqz v0, 0x31364 | goto label_118;
| }
0x00030fb0 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00030fb4 lw t9, 0x24(sp) | t9 = *(var_24h_4);
0x00030fb8 move a2, fp | a2 = fp;
| /* str.nst_c */
0x00030fbc addiu a1, a1, -0x1614 | a1 += -0x1614;
0x00030fc0 addiu a0, sp, 0x38 | a0 = sp + 0x38;
0x00030fc4 jalr t9 | t9 ();
0x00030fc8 lw gp, 0x18(sp) | gp = *(var_18h_6);
0x00030fcc b 0x30b00 | goto label_6;
| label_94:
0x00030fd0 lb a1, (a0) | a1 = *(a0);
| if (s6 == 0) {
0x00030fd4 bnel s6, zero, 0x30b78 | goto label_8;
| }
| label_92:
0x00030fd8 addiu s0, zero, -2 | s0 = -2;
0x00030fdc b 0x30ca0 | goto label_9;
| label_103:
0x00030fe0 lw s0, 0x34(sp) | s0 = *(var_34h_2);
0x00030fe4 lw t9, -0x7ba4(gp) | t9 = sym.sd_device_get_devtype;
0x00030fe8 addiu a1, sp, 0x44 | a1 = sp + 0x44;
0x00030fec move a0, s0 | a0 = s0;
0x00030ff0 jalr t9 | t9 ();
0x00030ff4 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x00030ff8 bltz v0, 0x31018 | goto label_13;
| }
0x00030ffc lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00031000 lw t9, -0x6d64(gp) | t9 = *((gp - 7001));
0x00031004 lw a0, 0x44(sp) | a0 = *(var_44h_3);
| /* str.scsi_device */
0x00031008 addiu a1, a1, -0x1604 | a1 += -0x1604;
0x0003100c jalr t9 | t9 ();
0x00031010 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 == 0) {
0x00031014 beqz v0, 0x31164 | goto label_120;
| }
| do {
| label_13:
0x00031018 sw s0, 0x34(sp) | *(var_34h_2) = s0;
0x0003101c addiu s6, zero, 1 | s6 = 1;
0x00031020 b 0x30b04 | goto label_7;
| label_100:
0x00031024 addu v0, v0, v1 | v0 += v1;
0x00031028 b 0x30c54 | goto label_10;
| label_93:
0x0003102c lw a0, 0x38(sp) | a0 = *(var_38h_2);
0x00031030 b 0x30b74 | goto label_11;
| label_104:
0x00031034 lw s0, 0x34(sp) | s0 = *(var_34h_2);
0x00031038 lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x0003103c addiu a1, sp, 0x84 | a1 = sp + 0x84;
0x00031040 move a0, s0 | a0 = s0;
0x00031044 jalr t9 | t9 ();
0x00031048 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 >= 0) {
0x0003104c bltz v0, 0x310b4 |
0x00031050 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00031054 lw t9, -0x7074(gp) | t9 = *(gp);
0x00031058 lw a0, 0x84(sp) | a0 = *(var_84h_2);
0x0003105c addiu a3, sp, 0x8c | a3 = sp + 0x8c;
0x00031060 addiu a2, sp, 0x88 | a2 = sp + 0x88;
| /* str.c_ud_u_s */
0x00031064 addiu a1, a1, -0x14d8 | a1 += -0x14d8;
0x00031068 jalr t9 | t9 ();
0x0003106c addiu v1, zero, 2 | v1 = 2;
0x00031070 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 != v1) {
0x00031074 bne v0, v1, 0x310b4 | goto label_15;
| }
0x00031078 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x0003107c lw t9, 0x24(sp) | t9 = *(var_24h_4);
0x00031080 lw a2, 0x8c(sp) | a2 = *(var_8ch_2);
| /* str.cciss_disk_u */
0x00031084 addiu a1, a1, -0x14cc | a1 += -aav.0x000014cc;
0x00031088 addiu a0, sp, 0x38 | a0 = sp + 0x38;
0x0003108c jalr t9 | t9 ();
0x00031090 lw t9, 0x28(sp) | t9 = *(var_30h_5);
| /* str.cciss */
0x00031094 addiu a1, fp, -0x14e0 | a1 = fp + -0x14e0;
0x00031098 move a0, s0 | a0 = s0;
| label_14:
0x0003109c addiu s6, zero, 1 | s6 = 1;
0x000310a0 jalr t9 | t9 ();
0x000310a4 move s0, v0 | s0 = v0;
0x000310a8 lw gp, 0x18(sp) | gp = *(var_18h_6);
0x000310ac sw s0, 0x34(sp) | *(var_34h_2) = s0;
0x000310b0 b 0x30b04 | goto label_7;
| }
| label_15:
0x000310b4 sw zero, 0x34(sp) | *(var_34h_2) = 0;
0x000310b8 addiu s6, zero, 1 | s6 = 1;
0x000310bc b 0x30b2c | goto label_12;
| label_105:
0x000310c0 lw s0, 0x34(sp) | s0 = *(var_34h_2);
0x000310c4 lw t9, -0x7ba4(gp) | t9 = sym.sd_device_get_devtype;
0x000310c8 addiu a1, sp, 0x88 | a1 = sp + 0x88;
0x000310cc move a0, s0 | a0 = s0;
0x000310d0 jalr t9 | t9 ();
0x000310d4 lw gp, 0x18(sp) | gp = *(var_18h_6);
0x000310d8 bltz v0, 0x31018 |
| } while (v0 < 0);
0x000310dc lw v0, 0x2c(sp) | v0 = *(var_2ch_4);
0x000310e0 lw t9, -0x7c54(gp) | t9 = sym.strv_find;
0x000310e4 sw v0, 0x90(sp) | *(var_90h_2) = v0;
0x000310e8 lw v0, -0x7fcc(gp) | v0 = *(gp);
0x000310ec lw a1, 0x88(sp) | a1 = *(var_88h_2);
| /* str.usb_device */
0x000310f0 addiu v0, v0, -0x44b0 | v0 += -0x44b0;
0x000310f4 addiu a0, sp, 0x90 | a0 = sp + 0x90;
0x000310f8 sw v0, 0x94(sp) | *(var_94h_2) = v0;
0x000310fc sw zero, 0x98(sp) | *(var_98h_2) = 0;
0x00031100 jalr t9 | t9 ();
0x00031104 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 == 0) {
0x00031108 beqz v0, 0x31018 | goto label_13;
| }
0x0003110c lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x00031110 addiu a1, sp, 0x8c | a1 = sp + 0x8c;
0x00031114 move a0, s0 | a0 = s0;
0x00031118 jalr t9 | t9 ();
0x0003111c lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x00031120 bltz v0, 0x31018 | goto label_13;
| }
0x00031124 lw t9, -0x6f30(gp) | t9 = sym.imp.strchr;
0x00031128 lw a0, 0x8c(sp) | a0 = *(var_8ch_2);
0x0003112c addiu a1, zero, 0x2d | a1 = 0x2d;
0x00031130 jalr t9 | t9 ();
0x00031134 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 == 0) {
0x00031138 beqz v0, 0x31018 | goto label_13;
| }
0x0003113c lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00031140 lw t9, 0x24(sp) | t9 = *(var_24h_4);
| /* str.usb_0:_s */
0x00031144 addiu a1, a1, -0x14bc | a1 += -0x14bc;
0x00031148 addiu a0, sp, 0x38 | a0 = sp + 0x38;
0x0003114c addiu a2, v0, 1 | a2 = v0 + 1;
0x00031150 jalr t9 | t9 ();
0x00031154 move a0, s0 | a0 = s0;
| /* esilref: 'usb' */
0x00031158 addiu a1, fp, -0x44b4 | a1 = fp + -0x44b4;
0x0003115c lw t9, 0x28(sp) | t9 = *(var_30h_5);
0x00031160 b 0x3109c | goto label_14;
| label_120:
0x00031164 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00031168 lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
0x0003116c addiu a2, sp, 0x48 | a2 = sp + 0x48;
| /* str.ieee1394_id */
0x00031170 addiu a1, a1, -0x15f8 | a1 += -aav.0x000015f8;
0x00031174 move a0, s0 | a0 = s0;
0x00031178 jalr t9 | t9 ();
0x0003117c lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 >= 0) {
0x00031180 bgez v0, 0x313d0 | goto label_121;
| }
0x00031184 lw t9, -0x7df0(gp) | t9 = sym.sd_device_get_syspath;
0x00031188 addiu a1, sp, 0x4c | a1 = sp + 0x4c;
0x0003118c move a0, s0 | a0 = s0;
0x00031190 jalr t9 | t9 ();
0x00031194 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x00031198 bltz v0, 0x310b4 | goto label_15;
| }
0x0003119c lw a1, -0x7fcc(gp) | a1 = *(gp);
0x000311a0 lw s6, 0x4c(sp) | s6 = *(var_4ch_2);
0x000311a4 lw t9, -0x6d58(gp) | t9 = sym.imp.strstr;
| /* str._rport_ */
0x000311a8 addiu a1, a1, -0x15dc | a1 += -0x15dc;
0x000311ac move a0, s6 | a0 = s6;
0x000311b0 jalr t9 | t9 ();
0x000311b4 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 != 0) {
0x000311b8 bnez v0, 0x31458 | goto label_122;
| }
0x000311bc lw a1, -0x7fcc(gp) | a1 = *(gp);
0x000311c0 lw t9, -0x6d58(gp) | t9 = sym.imp.strstr;
| /* str._end_device_ */
0x000311c4 addiu a1, a1, -0x15a0 | a1 += -0x15a0;
0x000311c8 move a0, s6 | a0 = s6;
0x000311cc jalr t9 | t9 ();
0x000311d0 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 != 0) {
0x000311d4 bnez v0, 0x315e0 | goto label_123;
| }
0x000311d8 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x000311dc lw t9, -0x6d58(gp) | t9 = sym.imp.strstr;
| /* str._session */
0x000311e0 addiu a1, a1, -0x1520 | a1 += -0x1520;
0x000311e4 move a0, s6 | a0 = s6;
0x000311e8 jalr t9 | t9 ();
0x000311ec lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 != 0) {
0x000311f0 bnez v0, 0x31848 | goto label_124;
| }
0x000311f4 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x000311f8 lw t9, -0x6d58(gp) | t9 = sym.imp.strstr;
| /* str._ata */
0x000311fc addiu a1, a1, -0x1514 | a1 += -0x1514;
0x00031200 move a0, s6 | a0 = s6;
0x00031204 jalr t9 | t9 ();
0x00031208 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 != 0) {
0x0003120c bnez v0, 0x318a8 | goto label_125;
| }
0x00031210 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00031214 lw t9, -0x6d58(gp) | t9 = sym.imp.strstr;
| /* str._vmbus_ */
0x00031218 addiu a1, a1, -0x14f0 | a1 += -aav.0x000014f0;
0x0003121c move a0, s6 | a0 = s6;
0x00031220 jalr t9 | t9 ();
0x00031224 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 != 0) {
0x00031228 bnez v0, 0x319a4 | goto label_126;
| }
0x0003122c lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00031230 lw t9, -0x6d58(gp) | t9 = sym.imp.strstr;
0x00031234 move a0, s6 | a0 = s6;
| /* str._VMBUS */
0x00031238 addiu a1, a1, -0x14e8 | a1 += -aav.0x000014e8;
0x0003123c jalr t9 | t9 ();
0x00031240 lw gp, 0x18(sp) | gp = *(var_18h_6);
0x00031244 move a0, s0 | a0 = s0;
| if (v0 == 0) {
0x00031248 beqz v0, 0x319dc | goto label_127;
| }
0x0003124c addiu a2, zero, 0x26 | a2 = 0x26;
| label_26:
0x00031250 lw t9, -0x7b98(gp) | t9 = *(gp);
0x00031254 addiu t9, t9, 0xf4 | t9 += 0xf4;
0x00031258 addiu a1, sp, 0x38 | a1 = sp + 0x38;
0x0003125c bal 0x300f4 | fcn_300f4 ();
| goto label_16;
0x00031260 move s0, v0 | s0 = v0;
0x00031264 lw gp, 0x18(sp) | gp = *(var_18h_6);
0x00031268 sw s0, 0x34(sp) | *(var_34h_2) = s0;
0x0003126c addiu s6, zero, 1 | s6 = 1;
0x00031270 b 0x30b04 | goto label_7;
| label_107:
0x00031274 lw t9, -0x7d2c(gp) | t9 = sym.sd_device_get_sysnum;
0x00031278 lw a0, 0x34(sp) | a0 = *(var_34h_2);
0x0003127c addiu a1, sp, 0x8c | a1 = sp + 0x8c;
0x00031280 jalr t9 | t9 ();
0x00031284 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x00031288 bltz v0, 0x30b00 | goto label_6;
| }
0x0003128c lw a2, 0x8c(sp) | a2 = *(var_8ch_2);
0x00031290 lw t9, 0x24(sp) | t9 = *(var_24h_4);
| if (a2 == 0) {
0x00031294 beqz a2, 0x30b00 | goto label_6;
| }
0x00031298 lw a1, -0x7fcc(gp) | a1 = *(gp);
| /* str.serio__s */
0x0003129c addiu a1, a1, -0x14a8 | a1 += -0x14a8;
0x000312a0 addiu a0, sp, 0x38 | a0 = sp + 0x38;
0x000312a4 jalr t9 | t9 ();
0x000312a8 lw a0, 0x34(sp) | a0 = *(var_34h_2);
0x000312ac lw t9, 0x28(sp) | t9 = *(var_30h_5);
| /* str.serio */
0x000312b0 addiu a1, fp, -0x3f0c | a1 = fp + -aav.0x00003f0c;
0x000312b4 jalr t9 | t9 ();
0x000312b8 move s0, v0 | s0 = v0;
0x000312bc lw gp, 0x18(sp) | gp = *(var_18h_6);
0x000312c0 sw v0, 0x34(sp) | *(var_34h_2) = v0;
0x000312c4 b 0x30b04 | goto label_7;
| label_106:
0x000312c8 lw s0, 0x34(sp) | s0 = *(var_34h_2);
0x000312cc lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x000312d0 addiu a1, sp, 0x88 | a1 = sp + 0x88;
0x000312d4 move a0, s0 | a0 = s0;
0x000312d8 jalr t9 | t9 ();
0x000312dc lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x000312e0 bltz v0, 0x310b4 | goto label_15;
| }
0x000312e4 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x000312e8 lw t9, -0x7074(gp) | t9 = *(gp);
0x000312ec lw a0, 0x88(sp) | a0 = *(var_88h_2);
0x000312f0 addiu a2, sp, 0x8c | a2 = sp + 0x8c;
| /* str.bcma_u:_u */
0x000312f4 addiu a1, a1, -0x19e0 | a1 += -0x19e0;
0x000312f8 jalr t9 | t9 ();
0x000312fc addiu a0, zero, 1 | a0 = 1;
0x00031300 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 != a0) {
0x00031304 bne v0, a0, 0x310b4 | goto label_15;
| }
0x00031308 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x0003130c lw a2, 0x8c(sp) | a2 = *(var_8ch_2);
0x00031310 lw t9, 0x24(sp) | t9 = *(var_24h_4);
| /* str.bcma__u */
0x00031314 addiu a1, a1, -0x14b0 | a1 += -0x14b0;
0x00031318 addiu a0, sp, 0x38 | a0 = sp + 0x38;
0x0003131c jalr t9 | t9 ();
0x00031320 addiu s6, zero, 1 | s6 = 1;
0x00031324 lw gp, 0x18(sp) | gp = *(var_18h_6);
0x00031328 sw s0, 0x34(sp) | *(var_34h_2) = s0;
0x0003132c b 0x30b04 | goto label_7;
| label_95:
0x00031330 addiu s0, sp, 0x9c | s0 = sp + 0x9c;
0x00031334 b 0x30c50 | goto label_17;
| label_90:
0x00031338 lw v0, -0x7fcc(gp) | v0 = *(gp);
0x0003133c lw a2, -0x7fcc(gp) | a2 = *(gp);
0x00031340 lw a1, -0x7fd4(gp) | a1 = *(gp);
| /* str.builtin_path_id */
0x00031344 addiu v0, v0, -0x1348 | v0 += -0x1348;
0x00031348 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x0003134c sw v0, 0x10(sp) | *(var_10h_6) = v0;
0x00031350 addiu a3, zero, 0x210 | a3 = aav.0x00000210;
| /* esilref: 'src/udev/udev-builtin-path_id.c' */
0x00031354 addiu a2, a2, -0x1745 | a2 += -0x1745;
| /* esilref: 'dev' */
0x00031358 addiu a1, a1, 0x727c | a1 += 0x727c;
0x0003135c addiu a0, zero, 1 | a0 = 1;
0x00031360 jalr t9 | t9 ();
| label_118:
0x00031364 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00031368 lw t9, -0x70f4(gp) | t9 = sym.imp.strncmp;
0x0003136c addiu a2, zero, 2 | a2 = 2;
| /* esilref: 'st' */
0x00031370 addiu a1, a1, 0x70f4 | a1 += 0x70f4;
0x00031374 move a0, s0 | a0 = s0;
0x00031378 jalr t9 | t9 ();
0x0003137c lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 != 0) {
0x00031380 bnez v0, 0x30b00 | goto label_6;
| }
0x00031384 addiu v0, s0, 2 | v0 = s0 + 2;
| if (v0 == 0) {
0x00031388 beql v0, zero, 0x30b04 | goto label_7;
| }
0x0003138c lw s0, 0x34(sp) | s0 = *(var_34h_2);
| label_25:
0x00031390 lw a0, -0x7fcc(gp) | a0 = *(gp);
0x00031394 lb s0, 2(s0) | s0 = *((s0 + 2));
0x00031398 lw t9, -0x6f30(gp) | t9 = sym.imp.strchr;
0x0003139c move a1, s0 | a1 = s0;
| /* esilref: 'lma' */
0x000313a0 addiu a0, a0, -0x1618 | a0 += -0x1618;
0x000313a4 jalr t9 | t9 ();
0x000313a8 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 == 0) {
0x000313ac beqz v0, 0x30b00 | goto label_6;
| }
0x000313b0 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x000313b4 lw t9, 0x24(sp) | t9 = *(var_24h_4);
0x000313b8 move a2, s0 | a2 = s0;
| /* str.st_c */
0x000313bc addiu a1, a1, -0x160c | a1 += -0x160c;
0x000313c0 addiu a0, sp, 0x38 | a0 = sp + 0x38;
0x000313c4 jalr t9 | t9 ();
0x000313c8 lw gp, 0x18(sp) | gp = *(var_18h_6);
0x000313cc b 0x30b00 | goto label_6;
| label_121:
0x000313d0 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x000313d4 lw t9, 0x24(sp) | t9 = *(var_24h_4);
0x000313d8 lw a2, 0x48(sp) | a2 = *(var_48h_2);
| /* str.ieee1394_0x_s */
0x000313dc addiu a1, a1, -0x15ec | a1 += -0x15ec;
0x000313e0 addiu a0, sp, 0x38 | a0 = sp + 0x38;
0x000313e4 jalr t9 | t9 ();
0x000313e8 lw t9, 0x28(sp) | t9 = *(var_30h_5);
0x000313ec move a0, s0 | a0 = s0;
0x000313f0 addiu a1, s5, -0x16f4 | a1 = s5 + -0x16f4;
| label_23:
0x000313f4 addiu s6, zero, 1 | s6 = 1;
0x000313f8 jalr t9 | t9 ();
0x000313fc move s0, v0 | s0 = v0;
0x00031400 addiu v0, zero, 1 | v0 = 1;
0x00031404 lw gp, 0x18(sp) | gp = *(var_18h_6);
0x00031408 sw v0, 0x20(sp) | *(var_20h) = v0;
0x0003140c sw s0, 0x34(sp) | *(var_34h_2) = s0;
0x00031410 b 0x30b04 | goto label_7;
| label_108:
0x00031414 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00031418 lw a2, 0x40(sp) | a2 = *(var_40h_3);
0x0003141c lw t9, 0x24(sp) | t9 = *(var_24h_4);
| /* str.pci__s */
0x00031420 addiu a1, a1, -0x149c | a1 += -0x149c;
0x00031424 addiu a0, sp, 0x38 | a0 = sp + 0x38;
0x00031428 jalr t9 | t9 ();
0x0003142c lw a0, 0x34(sp) | a0 = *(var_34h_2);
| /* esilref: 'pci' */
0x00031430 addiu a1, fp, -0x1c8c | a1 = fp + -0x1c8c;
| do {
| label_18:
0x00031434 lw t9, 0x28(sp) | t9 = *(var_30h_5);
0x00031438 jalr t9 | t9 ();
0x0003143c nop |
0x00031440 move s0, v0 | s0 = v0;
0x00031444 sw v0, 0x34(sp) | *(var_34h_2) = v0;
0x00031448 addiu v0, zero, 1 | v0 = 1;
0x0003144c lw gp, 0x18(sp) | gp = *(var_18h_6);
0x00031450 sw v0, 0x20(sp) | *(var_20h) = v0;
0x00031454 b 0x30b04 | goto label_7;
| label_122:
0x00031458 sw zero, 0x80(sp) | *(var_80h_2) = 0;
0x0003145c sw zero, 0x8c(sp) | *(var_8ch_2) = 0;
| if (s0 == 0) {
0x00031460 beqz s0, 0x31a7c | goto label_128;
| }
0x00031464 lw a2, -0x7fcc(gp) | a2 = *(gp);
0x00031468 lw t9, -0x7b9c(gp) | t9 = sym.sd_device_get_parent_with_subsystem_devtype;
0x0003146c addiu a3, sp, 0x7c | a3 = sp + 0x7c;
| /* str.scsi_target */
0x00031470 addiu a2, a2, -0x15d4 | a2 += -0x15d4;
0x00031474 addiu a1, s5, -0x16f4 | a1 = s5 + -0x16f4;
0x00031478 move a0, s0 | a0 = s0;
0x0003147c jalr t9 | t9 ();
0x00031480 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x00031484 bltz v0, 0x31828 | goto label_129;
| }
0x00031488 lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x0003148c lw a0, 0x7c(sp) | a0 = *(var_7ch_3);
0x00031490 addiu a1, sp, 0x88 | a1 = sp + 0x88;
0x00031494 jalr t9 | t9 ();
0x00031498 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x0003149c bltz v0, 0x31828 | goto label_129;
| }
0x000314a0 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x000314a4 lw t9, -0x7b8c(gp) | t9 = sym.sd_device_new_from_subsystem_sysname;
0x000314a8 lw a2, 0x88(sp) | a2 = *(var_88h_2);
| /* str.fc_transport */
0x000314ac addiu a1, a1, -0x15c8 | a1 += -0x15c8;
0x000314b0 addiu a0, sp, 0x80 | a0 = sp + 0x80;
0x000314b4 jalr t9 | t9 ();
0x000314b8 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x000314bc bltz v0, 0x31828 | goto label_129;
| }
0x000314c0 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x000314c4 lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
0x000314c8 lw a0, 0x80(sp) | a0 = *(var_80h_2);
0x000314cc addiu a2, sp, 0x84 | a2 = sp + 0x84;
| /* str.port_name */
0x000314d0 addiu a1, a1, -0x15b8 | a1 += -0x15b8;
0x000314d4 jalr t9 | t9 ();
0x000314d8 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x000314dc bltz v0, 0x31828 | goto label_129;
| }
0x000314e0 lw t9, -0x7b98(gp) | t9 = *(gp);
0x000314e4 addiu a1, sp, 0x8c | a1 = sp + 0x8c;
| /* fcn.00030008 */
0x000314e8 addiu t9, t9, 8 | t9 += 8;
0x000314ec move a0, s0 | a0 = s0;
0x000314f0 bal 0x30008 | fcn_00030008 ();
| goto label_1;
0x000314f4 lw gp, 0x18(sp) | gp = *(var_18h_6);
0x000314f8 lw a3, 0x8c(sp) | a3 = *(var_8ch_2);
0x000314fc lw a2, 0x84(sp) | a2 = *(var_84h_2);
0x00031500 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00031504 lw t9, 0x24(sp) | t9 = *(var_24h_4);
| /* str.fc__s__s */
0x00031508 addiu a1, a1, -0x15ac | a1 += -0x15ac;
0x0003150c addiu a0, sp, 0x38 | a0 = sp + 0x38;
0x00031510 jalr t9 | t9 ();
0x00031514 lw gp, 0x18(sp) | gp = *(var_18h_6);
| label_21:
0x00031518 lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x0003151c lw a0, 0x8c(sp) | a0 = *(var_8ch_2);
0x00031520 jalr t9 | t9 ();
0x00031524 lw a0, 0x80(sp) | a0 = *(var_80h_2);
0x00031528 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (a0 != 0) {
0x0003152c beqz a0, 0x31540 |
0x00031530 lw t9, -0x7ef0(gp) | t9 = sym.sd_device_unref;
| label_19:
0x00031534 jalr t9 | t9 ();
0x00031538 nop |
0x0003153c lw gp, 0x18(sp) | gp = *(var_18h_6);
| }
0x00031540 addiu v0, zero, 1 | v0 = 1;
0x00031544 sw v0, 0x20(sp) | *(var_20h) = v0;
| label_20:
0x00031548 sw s0, 0x34(sp) | *(var_34h_2) = s0;
0x0003154c addiu s6, zero, 1 | s6 = 1;
0x00031550 b 0x30b04 | goto label_7;
| label_111:
0x00031554 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00031558 lw a2, 0x40(sp) | a2 = *(var_40h_3);
0x0003155c lw t9, 0x24(sp) | t9 = *(var_24h_4);
| /* str.xen__s */
0x00031560 addiu a1, a1, -0x1474 | a1 += -0x1474;
0x00031564 addiu a0, sp, 0x38 | a0 = sp + 0x38;
0x00031568 jalr t9 | t9 ();
0x0003156c lw a0, 0x34(sp) | a0 = *(var_34h_2);
| /* esilref: 'xen' */
0x00031570 addiu a1, fp, -0x1478 | a1 = fp + -0x1478;
0x00031574 b 0x31434 |
| } while (1);
| label_109:
0x00031578 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x0003157c lw a2, 0x40(sp) | a2 = *(var_40h_3);
0x00031580 lw t9, 0x24(sp) | t9 = *(var_24h_4);
| /* str.platform__s */
0x00031584 addiu a1, a1, -0x1494 | a1 += -0x1494;
0x00031588 addiu a0, sp, 0x38 | a0 = sp + 0x38;
0x0003158c jalr t9 | t9 ();
0x00031590 lw a0, 0x34(sp) | a0 = *(var_34h_2);
| /* str.platform */
0x00031594 addiu a1, fp, -0x1a98 | a1 = fp + -0x1a98;
| label_24:
0x00031598 lw t9, 0x28(sp) | t9 = *(var_30h_5);
0x0003159c addiu s6, zero, 1 | s6 = 1;
0x000315a0 jalr t9 | t9 ();
0x000315a4 move s0, v0 | s0 = v0;
0x000315a8 sw v0, 0x34(sp) | *(var_34h_2) = v0;
0x000315ac addiu v0, zero, 1 | v0 = 1;
0x000315b0 lw gp, 0x18(sp) | gp = *(var_18h_6);
0x000315b4 sw v0, 0x20(sp) | *(var_20h) = v0;
0x000315b8 b 0x30b04 | goto label_7;
| label_110:
0x000315bc lw a1, -0x7fcc(gp) | a1 = *(gp);
0x000315c0 lw a2, 0x40(sp) | a2 = *(var_40h_3);
0x000315c4 lw t9, 0x24(sp) | t9 = *(var_24h_4);
| /* str.acpi__s */
0x000315c8 addiu a1, a1, -0x1480 | a1 += -0x1480;
0x000315cc addiu a0, sp, 0x38 | a0 = sp + 0x38;
0x000315d0 jalr t9 | t9 ();
0x000315d4 lw a0, 0x34(sp) | a0 = *(var_34h_2);
| /* str.acpi */
0x000315d8 addiu a1, fp, -0x1488 | a1 = fp + -aav.0x00001488;
0x000315dc b 0x31434 | goto label_18;
| label_123:
0x000315e0 sw zero, 0x5c(sp) | *(var_5ch_5) = 0;
0x000315e4 sw zero, 0x60(sp) | *(var_60h_5) = 0;
0x000315e8 sw zero, 0x64(sp) | *(var_64h_5) = 0;
0x000315ec sw zero, 0x68(sp) | *(var_68h_5) = 0;
0x000315f0 sw zero, 0x74(sp) | *(var_74h_5) = 0;
| if (s0 == 0) {
0x000315f4 beqz s0, 0x31aa8 | goto label_130;
| }
0x000315f8 lw v0, -0x7fcc(gp) | v0 = *(gp);
0x000315fc lw t9, -0x7b9c(gp) | t9 = sym.sd_device_get_parent_with_subsystem_devtype;
0x00031600 sw v0, 0x20(sp) | *(var_20h) = v0;
0x00031604 addiu a3, sp, 0x50 | a3 = sp + 0x50;
| /* str.scsi_target */
0x00031608 addiu a2, v0, -0x15d4 | a2 = v0 + -0x15d4;
0x0003160c addiu a1, s5, -0x16f4 | a1 = s5 + -0x16f4;
0x00031610 move a0, s0 | a0 = s0;
0x00031614 jalr t9 | t9 ();
0x00031618 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x0003161c bltz v0, 0x31830 | goto label_131;
| }
0x00031620 lw t9, -0x7ed4(gp) | t9 = sym.sd_device_get_parent;
0x00031624 lw a0, 0x50(sp) | a0 = *(var_50h_3);
0x00031628 addiu a1, sp, 0x54 | a1 = sp + 0x54;
0x0003162c jalr t9 | t9 ();
0x00031630 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x00031634 bltz v0, 0x31830 | goto label_131;
| }
0x00031638 lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x0003163c addiu fp, sp, 0x70 | fp = sp + 0x70;
0x00031640 lw a0, 0x54(sp) | a0 = *(var_54h_3);
0x00031644 move a1, fp | a1 = fp;
0x00031648 jalr t9 | t9 ();
0x0003164c lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x00031650 bltz v0, 0x31830 | goto label_131;
| }
0x00031654 lw s6, -0x7fcc(gp) | s6 = *(gp);
0x00031658 lw t9, -0x7b8c(gp) | t9 = sym.sd_device_new_from_subsystem_sysname;
0x0003165c lw a2, 0x70(sp) | a2 = *(var_70h_5);
| /* str.sas_device */
0x00031660 addiu a1, s6, -0x1590 | a1 = s6 + -0x1590;
0x00031664 addiu a0, sp, 0x5c | a0 = sp + 0x5c;
0x00031668 jalr t9 | t9 ();
0x0003166c lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x00031670 bltz v0, 0x31830 | goto label_131;
| }
0x00031674 lw t9, -0x7ed4(gp) | t9 = sym.sd_device_get_parent;
0x00031678 lw a0, 0x54(sp) | a0 = *(var_54h_3);
0x0003167c addiu a1, sp, 0x58 | a1 = sp + 0x58;
0x00031680 jalr t9 | t9 ();
0x00031684 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x00031688 bltz v0, 0x31830 | goto label_131;
| }
0x0003168c lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x00031690 lw a0, 0x58(sp) | a0 = *(var_58h_3);
0x00031694 move a1, fp | a1 = fp;
0x00031698 jalr t9 | t9 ();
0x0003169c lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x000316a0 bltz v0, 0x31830 | goto label_131;
| }
0x000316a4 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x000316a8 lw t9, -0x7b8c(gp) | t9 = sym.sd_device_new_from_subsystem_sysname;
0x000316ac lw a2, 0x70(sp) | a2 = *(var_70h_5);
| /* str.sas_port */
0x000316b0 addiu a1, a1, -0x1584 | a1 += -0x1584;
0x000316b4 addiu a0, sp, 0x64 | a0 = sp + 0x64;
0x000316b8 jalr t9 | t9 ();
0x000316bc lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x000316c0 bltz v0, 0x31830 | goto label_131;
| }
0x000316c4 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x000316c8 lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
0x000316cc lw a0, 0x64(sp) | a0 = *(var_64h_5);
0x000316d0 addiu a2, sp, 0x6c | a2 = sp + 0x6c;
| /* str.num_phys */
0x000316d4 addiu a1, a1, -0x1578 | a1 += -0x1578;
0x000316d8 jalr t9 | t9 ();
0x000316dc lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x000316e0 bltz v0, 0x31830 | goto label_131;
| }
0x000316e4 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x000316e8 lw t9, -0x6d64(gp) | t9 = *((gp - 7001));
0x000316ec lw a0, 0x6c(sp) | a0 = *(var_6ch_5);
0x000316f0 addiu a1, a1, -0x6e34 | a1 += -0x6e34;
0x000316f4 jalr t9 | t9 ();
0x000316f8 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 != 0) {
0x000316fc bnez v0, 0x31ae4 | goto label_132;
| }
0x00031700 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00031704 lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
0x00031708 lw a0, 0x5c(sp) | a0 = *(var_5ch_5);
0x0003170c addiu a2, sp, 0x8c | a2 = sp + 0x8c;
| /* str.phy_identifier */
0x00031710 addiu a1, a1, -0x1554 | a1 += -0x1554;
0x00031714 jalr t9 | t9 ();
0x00031718 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x0003171c bltz v0, 0x31830 | goto label_131;
| }
0x00031720 lw t9, -0x7ed4(gp) | t9 = sym.sd_device_get_parent;
0x00031724 lw a0, 0x58(sp) | a0 = *(var_58h_3);
0x00031728 addiu a1, sp, 0x88 | a1 = sp + 0x88;
0x0003172c jalr t9 | t9 ();
0x00031730 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x00031734 bltz v0, 0x31830 | goto label_131;
| }
0x00031738 lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x0003173c lw a0, 0x88(sp) | a0 = *(var_88h_2);
0x00031740 move a1, fp | a1 = fp;
0x00031744 jalr t9 | t9 ();
0x00031748 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x0003174c bltz v0, 0x31830 | goto label_131;
| }
0x00031750 lw t9, -0x7b8c(gp) | t9 = sym.sd_device_new_from_subsystem_sysname;
0x00031754 lw a2, 0x70(sp) | a2 = *(var_70h_5);
| /* str.sas_device */
0x00031758 addiu a1, s6, -0x1590 | a1 = s6 + -0x1590;
0x0003175c addiu a0, sp, 0x60 | a0 = sp + 0x60;
0x00031760 jalr t9 | t9 ();
0x00031764 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 >= 0) {
0x00031768 bltz v0, 0x3178c |
0x0003176c lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00031770 lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
0x00031774 lw a0, 0x60(sp) | a0 = *(var_60h_5);
0x00031778 addiu a2, sp, 0x68 | a2 = sp + 0x68;
| /* str.sas_address */
0x0003177c addiu a1, a1, -0x156c | a1 += -0x156c;
0x00031780 jalr t9 | t9 ();
0x00031784 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x00031788 bltz v0, 0x31830 | goto label_131;
| }
| }
0x0003178c lw t9, -0x7b98(gp) | t9 = *(gp);
0x00031790 addiu a1, sp, 0x74 | a1 = sp + 0x74;
| /* fcn.00030008 */
0x00031794 addiu t9, t9, 8 | t9 += 8;
0x00031798 move a0, s0 | a0 = s0;
0x0003179c bal 0x30008 | fcn_00030008 ();
| goto label_1;
0x000317a0 lw a2, 0x68(sp) | a2 = *(var_68h_5);
0x000317a4 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (a2 == 0) {
0x000317a8 beqz a2, 0x31c40 | goto label_133;
| }
0x000317ac lw a1, -0x7fcc(gp) | a1 = *(gp);
0x000317b0 lw v0, 0x74(sp) | v0 = *(var_74h_5);
0x000317b4 lw a3, 0x8c(sp) | a3 = *(var_8ch_2);
0x000317b8 lw t9, 0x24(sp) | t9 = *(var_24h_4);
0x000317bc sw v0, 0x10(sp) | *(var_10h_6) = v0;
| /* str.sas_exp_s_phy_s__s */
0x000317c0 addiu a1, a1, -0x1544 | a1 += -0x1544;
0x000317c4 addiu a0, sp, 0x38 | a0 = sp + 0x38;
0x000317c8 jalr t9 | t9 ();
0x000317cc lw gp, 0x18(sp) | gp = *(var_18h_6);
| label_22:
0x000317d0 lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x000317d4 lw a0, 0x74(sp) | a0 = *(var_74h_5);
0x000317d8 jalr t9 | t9 ();
0x000317dc lw a0, 0x64(sp) | a0 = *(var_64h_5);
0x000317e0 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (a0 != 0) {
0x000317e4 beqz a0, 0x317f8 |
0x000317e8 lw t9, -0x7ef0(gp) | t9 = sym.sd_device_unref;
0x000317ec jalr t9 | t9 ();
0x000317f0 nop |
0x000317f4 lw gp, 0x18(sp) | gp = *(var_18h_6);
| }
0x000317f8 lw a0, 0x60(sp) | a0 = *(var_60h_5);
0x000317fc lw t9, -0x7ef0(gp) | t9 = sym.sd_device_unref;
| if (a0 != 0) {
0x00031800 beqz a0, 0x31810 |
0x00031804 jalr t9 | t9 ();
0x00031808 nop |
0x0003180c lw gp, 0x18(sp) | gp = *(var_18h_6);
| }
0x00031810 lw a0, 0x5c(sp) | a0 = *(var_5ch_5);
0x00031814 lw t9, -0x7ef0(gp) | t9 = sym.sd_device_unref;
| if (a0 != 0) {
0x00031818 bnez a0, 0x31534 | goto label_19;
| }
0x0003181c addiu v0, zero, 1 | v0 = 1;
0x00031820 sw v0, 0x20(sp) | *(var_20h) = v0;
0x00031824 b 0x31548 | goto label_20;
| label_129:
0x00031828 move s0, zero | s0 = 0;
0x0003182c b 0x31518 | goto label_21;
| label_131:
0x00031830 move s0, zero | s0 = 0;
0x00031834 b 0x317d0 | goto label_22;
| label_112:
0x00031838 lw a0, 0x34(sp) | a0 = *(var_34h_2);
| /* str.virtio */
0x0003183c addiu a1, fp, -0x1d30 | a1 = fp + -0x1d30;
0x00031840 lw t9, 0x28(sp) | t9 = *(var_30h_5);
0x00031844 b 0x3109c | goto label_14;
| label_124:
0x00031848 lw t9, -0x7b98(gp) | t9 = *(gp);
0x0003184c move a0, s0 | a0 = s0;
0x00031850 addiu a1, sp, 0x38 | a1 = sp + 0x38;
0x00031854 addiu t9, t9, 0x3dc | t9 += aav.0x000003dc;
0x00031858 b 0x313f4 | goto label_23;
| label_113:
0x0003185c lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00031860 lw a2, 0x40(sp) | a2 = *(var_40h_3);
0x00031864 lw t9, 0x24(sp) | t9 = *(var_24h_4);
| /* str.scm__s */
0x00031868 addiu a1, a1, -0x1468 | a1 += -0x1468;
0x0003186c addiu a0, sp, 0x38 | a0 = sp + 0x38;
0x00031870 jalr t9 | t9 ();
0x00031874 lw a0, 0x34(sp) | a0 = *(var_34h_2);
| /* esilref: 'scm' */
0x00031878 addiu a1, fp, -0x146c | a1 = fp + -0x146c;
0x0003187c b 0x31598 | goto label_24;
| label_119:
0x00031880 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00031884 lw t9, -0x70f4(gp) | t9 = sym.imp.strncmp;
0x00031888 addiu a2, zero, 2 | a2 = 2;
| /* esilref: 'st' */
0x0003188c addiu a1, a1, 0x70f4 | a1 += 0x70f4;
0x00031890 addiu a0, zero, -3 | a0 = -3;
0x00031894 jalr t9 | t9 ();
0x00031898 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 == 0) {
0x0003189c beqz v0, 0x31390 | goto label_25;
| }
0x000318a0 lw s0, 0x34(sp) | s0 = *(var_34h_2);
0x000318a4 b 0x30b04 | goto label_7;
| label_125:
0x000318a8 sw zero, 0x84(sp) | *(var_84h_2) = 0;
| if (s0 == 0) {
0x000318ac beqz s0, 0x31c08 | goto label_134;
| }
0x000318b0 lw a2, -0x7fcc(gp) | a2 = *(gp);
0x000318b4 lw t9, -0x7b9c(gp) | t9 = sym.sd_device_get_parent_with_subsystem_devtype;
0x000318b8 addiu a3, sp, 0x7c | a3 = sp + 0x7c;
| /* str.scsi_host */
0x000318bc addiu a2, a2, -0x1700 | a2 += -0x1700;
0x000318c0 addiu a1, s5, -0x16f4 | a1 = s5 + -0x16f4;
0x000318c4 move a0, s0 | a0 = s0;
0x000318c8 jalr t9 | t9 ();
0x000318cc lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x000318d0 bltz v0, 0x319b0 | goto label_135;
| }
0x000318d4 lw t9, -0x7ed4(gp) | t9 = sym.sd_device_get_parent;
0x000318d8 lw a0, 0x7c(sp) | a0 = *(var_7ch_3);
0x000318dc addiu a1, sp, 0x80 | a1 = sp + 0x80;
0x000318e0 jalr t9 | t9 ();
0x000318e4 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x000318e8 bltz v0, 0x319b0 | goto label_135;
| }
0x000318ec lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x000318f0 lw a0, 0x80(sp) | a0 = *(var_80h_2);
0x000318f4 addiu a1, sp, 0x8c | a1 = sp + 0x8c;
0x000318f8 jalr t9 | t9 ();
0x000318fc lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x00031900 bltz v0, 0x319b0 | goto label_135;
| }
0x00031904 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00031908 lw t9, -0x7b8c(gp) | t9 = sym.sd_device_new_from_subsystem_sysname;
0x0003190c lw a2, 0x8c(sp) | a2 = *(var_8ch_2);
| /* str.ata_port */
0x00031910 addiu a1, a1, -0x150c | a1 += -0x150c;
0x00031914 addiu a0, sp, 0x84 | a0 = sp + 0x84;
0x00031918 jalr t9 | t9 ();
0x0003191c lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x00031920 bltz v0, 0x319b0 | goto label_135;
| }
0x00031924 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00031928 lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
0x0003192c lw a0, 0x84(sp) | a0 = *(var_84h_2);
0x00031930 addiu a2, sp, 0x88 | a2 = sp + 0x88;
| /* str.port_no */
0x00031934 addiu a1, a1, -0x1500 | a1 += -0x1500;
0x00031938 jalr t9 | t9 ();
0x0003193c lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x00031940 bltz v0, 0x319b0 | goto label_135;
| }
0x00031944 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00031948 lw a2, 0x88(sp) | a2 = *(var_88h_2);
0x0003194c lw t9, 0x24(sp) | t9 = *(var_24h_4);
| /* str.ata__s */
0x00031950 addiu a1, a1, -0x14f8 | a1 += -0x14f8;
0x00031954 addiu a0, sp, 0x38 | a0 = sp + 0x38;
0x00031958 jalr t9 | t9 ();
0x0003195c lw gp, 0x18(sp) | gp = *(var_18h_6);
| label_27:
0x00031960 lw a0, 0x84(sp) | a0 = *(var_84h_2);
0x00031964 lw t9, -0x7ef0(gp) | t9 = sym.sd_device_unref;
| if (a0 == 0) {
0x00031968 beqz a0, 0x31018 | goto label_13;
| }
0x0003196c addiu s6, zero, 1 | s6 = 1;
0x00031970 jalr t9 | t9 ();
0x00031974 lw gp, 0x18(sp) | gp = *(var_18h_6);
0x00031978 sw s0, 0x34(sp) | *(var_34h_2) = s0;
0x0003197c b 0x30b04 | goto label_7;
| label_114:
0x00031980 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00031984 lw a2, 0x40(sp) | a2 = *(var_40h_3);
0x00031988 lw t9, 0x24(sp) | t9 = *(var_24h_4);
| /* str.ccw__s */
0x0003198c addiu a1, a1, -0x1460 | a1 += -0x1460;
0x00031990 addiu a0, sp, 0x38 | a0 = sp + 0x38;
0x00031994 jalr t9 | t9 ();
0x00031998 lw a0, 0x34(sp) | a0 = *(var_34h_2);
| /* esilref: 'ccw' */
0x0003199c addiu a1, fp, -0x1af8 | a1 = fp + -0x1af8;
0x000319a0 b 0x31598 | goto label_24;
| label_126:
0x000319a4 move a0, s0 | a0 = s0;
0x000319a8 addiu a2, zero, 0x25 | a2 = 0x25;
0x000319ac b 0x31250 | goto label_26;
| label_135:
0x000319b0 move s0, zero | s0 = 0;
0x000319b4 b 0x31960 | goto label_27;
| label_115:
0x000319b8 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x000319bc lw a2, 0x40(sp) | a2 = *(var_40h_3);
0x000319c0 lw t9, 0x24(sp) | t9 = *(var_24h_4);
| /* str.ccwgroup__s */
0x000319c4 addiu a1, a1, -0x1458 | a1 += -0x1458;
0x000319c8 addiu a0, sp, 0x38 | a0 = sp + 0x38;
0x000319cc jalr t9 | t9 ();
0x000319d0 lw a0, 0x34(sp) | a0 = *(var_34h_2);
| /* str.ccwgroup */
0x000319d4 addiu a1, fp, -0x1b04 | a1 = fp + -0x1b04;
0x000319d8 b 0x31598 | goto label_24;
| label_127:
0x000319dc lw t9, -0x7b98(gp) | t9 = *(gp);
0x000319e0 addiu a1, sp, 0x38 | a1 = sp + 0x38;
0x000319e4 addiu t9, t9, 0x73c | t9 += 0x73c;
0x000319e8 b 0x3109c | goto label_14;
| label_116:
0x000319ec lw s0, 0x34(sp) | s0 = *(var_34h_2);
0x000319f0 lw a1, -0x7fcc(gp) | a1 = *(gp);
| if (s0 == 0) {
0x000319f4 beqz s0, 0x31c28 | goto label_136;
| }
0x000319f8 lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
0x000319fc addiu a2, sp, 0x84 | a2 = sp + 0x84;
| /* esilref: 'type' */
0x00031a00 addiu a1, a1, -0x6e90 | a1 += -0x6e90;
0x00031a04 move a0, s0 | a0 = s0;
0x00031a08 jalr t9 | t9 ();
0x00031a0c lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 >= 0) {
0x00031a10 bltz v0, 0x31a34 |
0x00031a14 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00031a18 lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
0x00031a1c addiu a2, sp, 0x88 | a2 = sp + 0x88;
| /* str.ap_functions */
0x00031a20 addiu a1, a1, -0x144c | a1 += -0x144c;
0x00031a24 move a0, s0 | a0 = s0;
0x00031a28 jalr t9 | t9 ();
0x00031a2c lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 >= 0) {
0x00031a30 bgez v0, 0x31be0 | goto label_137;
| }
| }
0x00031a34 lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x00031a38 addiu a1, sp, 0x8c | a1 = sp + 0x8c;
0x00031a3c move a0, s0 | a0 = s0;
0x00031a40 jalr t9 | t9 ();
0x00031a44 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x00031a48 bgez v0, 0x31a58 |
| /* esilref: 'ap' */
0x00031a4c addiu a1, fp, 0x4324 | a1 = fp + 0x4324;
0x00031a50 move a0, s0 | a0 = s0;
0x00031a54 b 0x31598 | goto label_24;
| }
0x00031a58 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00031a5c lw a2, 0x8c(sp) | a2 = *(var_8ch_2);
0x00031a60 lw t9, 0x24(sp) | t9 = *(var_24h_4);
| /* str.ap__s */
0x00031a64 addiu a1, a1, -0x1430 | a1 += -0x1430;
0x00031a68 addiu a0, sp, 0x38 | a0 = sp + 0x38;
0x00031a6c jalr t9 | t9 ();
| /* esilref: 'ap' */
0x00031a70 addiu a1, fp, 0x4324 | a1 = fp + 0x4324;
0x00031a74 move a0, s0 | a0 = s0;
0x00031a78 b 0x31598 | goto label_24;
| label_128:
0x00031a7c lw v0, -0x7fcc(gp) | v0 = *(gp);
0x00031a80 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
| /* str.handle_scsi_fibre_channel */
0x00031a84 addiu v0, v0, -0x1364 | v0 += -0x1364;
0x00031a88 sw v0, 0x10(sp) | *(var_10h_6) = v0;
0x00031a8c addiu a3, zero, 0x6e | a3 = 0x6e;
| do {
| label_28:
0x00031a90 lw a2, -0x7fcc(gp) | a2 = *(gp);
0x00031a94 lw a1, -0x7fcc(gp) | a1 = *(gp);
| /* esilref: 'src/udev/udev-builtin-path_id.c' */
0x00031a98 addiu a2, a2, -0x1745 | a2 += -0x1745;
| /* str.parent */
0x00031a9c addiu a1, a1, -0x66cc | a1 += -0x66cc;
0x00031aa0 addiu a0, zero, 1 | a0 = 1;
0x00031aa4 jalr t9 | t9 ();
| label_130:
0x00031aa8 lw v0, -0x7fcc(gp) | v0 = *(gp);
0x00031aac lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
| /* str.handle_scsi_sas */
0x00031ab0 addiu v0, v0, -0x1374 | v0 += -0x1374;
0x00031ab4 sw v0, 0x10(sp) | *(var_10h_6) = v0;
0x00031ab8 addiu a3, zero, 0xa0 | a3 = 0xa0;
0x00031abc b 0x31a90 |
| } while (1);
| label_117:
0x00031ac0 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00031ac4 lw a2, 0x40(sp) | a2 = *(var_40h_3);
0x00031ac8 lw t9, 0x24(sp) | t9 = *(var_24h_4);
| /* str.iucv__s */
0x00031acc addiu a1, a1, -0x1420 | a1 += -0x1420;
0x00031ad0 addiu a0, sp, 0x38 | a0 = sp + 0x38;
0x00031ad4 jalr t9 | t9 ();
0x00031ad8 lw a0, 0x34(sp) | a0 = *(var_34h_2);
| /* str.iucv */
0x00031adc addiu a1, fp, -0x1428 | a1 = fp + -0x1428;
0x00031ae0 b 0x31598 | goto label_24;
| label_132:
0x00031ae4 lw v0, 0x20(sp) | v0 = *(var_20h);
0x00031ae8 lw t9, -0x7b9c(gp) | t9 = sym.sd_device_get_parent_with_subsystem_devtype;
0x00031aec addiu a3, sp, 0x78 | a3 = sp + 0x78;
0x00031af0 addiu a2, v0, -0x15d4 | a2 = v0 + -0x15d4;
0x00031af4 addiu a1, s5, -0x16f4 | a1 = s5 + -0x16f4;
0x00031af8 move a0, s0 | a0 = s0;
0x00031afc sw zero, 0x80(sp) | *(var_80h_2) = 0;
0x00031b00 sw zero, 0x8c(sp) | *(var_8ch_2) = 0;
0x00031b04 jalr t9 | t9 ();
0x00031b08 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x00031b0c bltz v0, 0x31c20 | goto label_138;
| }
0x00031b10 lw t9, -0x7ed4(gp) | t9 = sym.sd_device_get_parent;
0x00031b14 lw a0, 0x78(sp) | a0 = *(var_78h_3);
0x00031b18 addiu a1, sp, 0x7c | a1 = sp + 0x7c;
0x00031b1c jalr t9 | t9 ();
0x00031b20 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x00031b24 bltz v0, 0x31c20 | goto label_138;
| }
0x00031b28 lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x00031b2c lw a0, 0x7c(sp) | a0 = *(var_7ch_3);
0x00031b30 addiu a1, sp, 0x88 | a1 = sp + 0x88;
0x00031b34 jalr t9 | t9 ();
0x00031b38 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x00031b3c bltz v0, 0x31c20 | goto label_138;
| }
0x00031b40 lw t9, -0x7b8c(gp) | t9 = sym.sd_device_new_from_subsystem_sysname;
0x00031b44 lw a2, 0x88(sp) | a2 = *(var_88h_2);
| /* str.sas_device */
0x00031b48 addiu a1, s6, -0x1590 | a1 = s6 + -0x1590;
0x00031b4c addiu a0, sp, 0x80 | a0 = sp + 0x80;
0x00031b50 jalr t9 | t9 ();
0x00031b54 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x00031b58 bltz v0, 0x31c20 | goto label_138;
| }
0x00031b5c lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00031b60 lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
0x00031b64 lw a0, 0x80(sp) | a0 = *(var_80h_2);
0x00031b68 addiu a2, sp, 0x84 | a2 = sp + 0x84;
| /* str.sas_address */
0x00031b6c addiu a1, a1, -0x156c | a1 += -0x156c;
0x00031b70 jalr t9 | t9 ();
0x00031b74 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (v0 < 0) {
0x00031b78 bltz v0, 0x31c20 | goto label_138;
| }
0x00031b7c lw t9, -0x7b98(gp) | t9 = *(gp);
0x00031b80 addiu a1, sp, 0x8c | a1 = sp + 0x8c;
| /* fcn.00030008 */
0x00031b84 addiu t9, t9, 8 | t9 += 8;
0x00031b88 move a0, s0 | a0 = s0;
0x00031b8c bal 0x30008 | fcn_00030008 ();
| goto label_1;
0x00031b90 lw gp, 0x18(sp) | gp = *(var_18h_6);
0x00031b94 lw a3, 0x8c(sp) | a3 = *(var_8ch_2);
0x00031b98 lw a2, 0x84(sp) | a2 = *(var_84h_2);
0x00031b9c lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00031ba0 lw t9, 0x24(sp) | t9 = *(var_24h_4);
| /* str.sas__s__s */
0x00031ba4 addiu a1, a1, -0x1560 | a1 += -0x1560;
0x00031ba8 addiu a0, sp, 0x38 | a0 = sp + 0x38;
0x00031bac jalr t9 | t9 ();
0x00031bb0 lw gp, 0x18(sp) | gp = *(var_18h_6);
| label_29:
0x00031bb4 lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x00031bb8 lw a0, 0x8c(sp) | a0 = *(var_8ch_2);
0x00031bbc jalr t9 | t9 ();
0x00031bc0 lw a0, 0x80(sp) | a0 = *(var_80h_2);
0x00031bc4 lw gp, 0x18(sp) | gp = *(var_18h_6);
| if (a0 == 0) {
0x00031bc8 beqz a0, 0x317d0 | goto label_22;
| }
0x00031bcc lw t9, -0x7ef0(gp) | t9 = sym.sd_device_unref;
0x00031bd0 jalr t9 | t9 ();
0x00031bd4 nop |
0x00031bd8 lw gp, 0x18(sp) | gp = *(var_18h_6);
0x00031bdc b 0x317d0 | goto label_22;
| label_137:
0x00031be0 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00031be4 lw a3, 0x88(sp) | a3 = *(var_88h_2);
0x00031be8 lw a2, 0x84(sp) | a2 = *(var_84h_2);
0x00031bec lw t9, 0x24(sp) | t9 = *(var_24h_4);
| /* str.ap__s__s */
0x00031bf0 addiu a1, a1, -0x143c | a1 += -0x143c;
0x00031bf4 addiu a0, sp, 0x38 | a0 = sp + 0x38;
0x00031bf8 jalr t9 | t9 ();
| /* esilref: 'ap' */
0x00031bfc addiu a1, fp, 0x4324 | a1 = fp + 0x4324;
0x00031c00 move a0, s0 | a0 = s0;
0x00031c04 b 0x31598 | goto label_24;
| label_134:
0x00031c08 lw v0, -0x7fcc(gp) | v0 = *(gp);
0x00031c0c lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
| /* str.handle_scsi_ata */
0x00031c10 addiu v0, v0, -0x1398 | v0 += -0x1398;
0x00031c14 sw v0, 0x10(sp) | *(var_10h_6) = v0;
0x00031c18 addiu a3, zero, 0x106 | a3 = 0x106;
0x00031c1c b 0x31a90 | goto label_28;
| label_138:
0x00031c20 move s0, zero | s0 = 0;
0x00031c24 b 0x31bb4 | goto label_29;
| label_136:
0x00031c28 lw v0, -0x7fcc(gp) | v0 = *(gp);
0x00031c2c lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
| /* str.handle_ap */
0x00031c30 addiu v0, v0, -0x13cc | v0 += -0x13cc;
0x00031c34 sw v0, 0x10(sp) | *(var_10h_6) = v0;
0x00031c38 addiu a3, zero, 0x1f9 | a3 = 0x1f9;
0x00031c3c b 0x31a90 | goto label_28;
| label_133:
0x00031c40 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00031c44 lw a3, 0x74(sp) | a3 = *(var_74h_5);
0x00031c48 lw a2, 0x8c(sp) | a2 = *(var_8ch_2);
0x00031c4c lw t9, 0x24(sp) | t9 = *(var_24h_4);
| /* str.sas_phy_s__s */
0x00031c50 addiu a1, a1, -0x1530 | a1 += -0x1530;
0x00031c54 addiu a0, sp, 0x38 | a0 = sp + 0x38;
0x00031c58 jalr t9 | t9 ();
0x00031c5c lw gp, 0x18(sp) | gp = *(var_18h_6);
0x00031c60 b 0x317d0 | goto label_22;
| label_101:
0x00031c64 lw t9, -0x6e2c(gp) | t9 = sym.imp.__stack_chk_fail;
0x00031c68 jalr t9 | t9 ();
0x00031c6c nop |
| label_36:
0x00031c70 lui gp, 0xd |
0x00031c74 addiu gp, gp, -0x29f0 |
0x00031c78 addu gp, gp, t9 | gp += t9;
0x00031c7c addiu sp, sp, -0x7ff0 |
0x00031c80 ori v1, zero, 0x80a8 | v1 = 0x80a8;
0x00031c84 sw fp, 0x7fe8(sp) | *(arg_7fe8h) = fp;
0x00031c88 sw s4, 0x7fd8(sp) | *(arg_7fd8h) = s4;
0x00031c8c sw s3, 0x7fd4(sp) | *(arg_7fd4h) = s3;
0x00031c90 sw s2, 0x7fd0(sp) | *(arg_7fd0h) = s2;
0x00031c94 sw s1, 0x7fcc(sp) | *(arg_7fcch) = s1;
0x00031c98 sw ra, 0x7fec(sp) | *(arg_7fech) = ra;
0x00031c9c sw s7, 0x7fe4(sp) | *(arg_7fe4h) = s7;
0x00031ca0 sw s6, 0x7fe0(sp) | *(arg_7fe0h) = s6;
0x00031ca4 sw s5, 0x7fdc(sp) | *(arg_7fdch) = s5;
0x00031ca8 sw s0, 0x7fc8(sp) | *(arg_7fc8h) = s0;
0x00031cac subu sp, sp, v1 |
0x00031cb0 move fp, sp | fp = sp;
0x00031cb4 lui s2, 1 | s2 = 0x10000;
0x00031cb8 lw s1, -0x6de8(gp) | s1 = *((gp - 7034));
0x00031cbc addiu a2, fp, 0x10 | a2 = fp + 0x10;
0x00031cc0 move s3, a1 | s3 = a1;
0x00031cc4 ori v1, s2, 0x60 | v1 = s2 | 0x60;
0x00031cc8 lui a1, 0xfffe | a1 = 0xfffe0000;
0x00031ccc addu v1, v1, a2 | v1 += a2;
0x00031cd0 ori a1, a1, 0xffd8 | a1 |= 0xffd8;
0x00031cd4 addu a1, v1, a1 | a1 = v1 + a1;
0x00031cd8 sw gp, 0x30(sp) | *(var_30h_3) = gp;
0x00031cdc ori v1, s2, 0x5c | v1 = s2 | 0x5c;
0x00031ce0 lw v0, (s1) | v0 = *(s1);
0x00031ce4 addu v1, v1, a2 | v1 += a2;
0x00031ce8 lw t9, -0x7df0(gp) | t9 = sym.sd_device_get_syspath;
0x00031cec sw v0, (v1) | *(v1) = v0;
0x00031cf0 move s4, a0 | s4 = a0;
0x00031cf4 jalr t9 | t9 ();
0x00031cf8 lw gp, 0x30(fp) | gp = *(arg_30h);
| if (v0 < 0) {
0x00031cfc bltz v0, 0x3204c | goto label_139;
| }
0x00031d00 ori v1, s2, 0x60 | v1 = s2 | 0x60;
0x00031d04 addiu a0, fp, 0x10 | a0 = fp + 0x10;
0x00031d08 lui v0, 0xffff | v0 = 0xffff0000;
0x00031d0c addu v1, v1, a0 | v1 += a0;
0x00031d10 addu v0, v1, v0 | v0 = v1 + v0;
0x00031d14 lw s0, -0x28(v0) | s0 = *((v0 - 10));
0x00031d18 lw t9, -0x6f38(gp) | t9 = sym.imp.strlen;
| if (s0 == 0) {
0x00031d1c beqz s0, 0x3228c | goto label_140;
| }
0x00031d20 move a0, s0 | a0 = s0;
0x00031d24 jalr t9 | t9 ();
0x00031d28 lui a0, 0x40 | a0 = 0x400000;
0x00031d2c addiu v1, v0, 0xd | v1 = v0 + 0xd;
0x00031d30 addiu a0, a0, 1 | a0++;
0x00031d34 sltu v1, v1, a0 | v1 = (v1 < a0) ? 1 : 0;
0x00031d38 lw gp, 0x30(fp) | gp = *(arg_30h);
| if (v1 == 0) {
0x00031d3c beqz v1, 0x3218c | goto label_141;
| }
0x00031d40 addiu v0, v0, 0x14 | v0 += 0x14;
0x00031d44 srl v0, v0, 3 | v0 >>= 3;
0x00031d48 sll v0, v0, 3 | v0 <<= 3;
0x00031d4c subu sp, sp, v0 |
0x00031d50 lw t9, -0x6e28(gp) | t9 = sym.imp.stpcpy;
0x00031d54 addiu s2, sp, 0x30 | s2 = sp + 0x30;
0x00031d58 move a1, s0 | a1 = s0;
0x00031d5c move a0, s2 | a0 = s2;
0x00031d60 jalr t9 | t9 ();
0x00031d64 lw gp, 0x30(fp) | gp = *(arg_30h);
0x00031d68 lw a0, -0x7fcc(gp) | a0 = *(gp);
| /* str._descriptors */
0x00031d6c addiu v1, a0, -0x1270 | v1 = a0 + -0x1270;
0x00031d70 lw a0, -0x1270(a0) | a0 = *((a0 - 1180));
0x00031d74 lw a1, 4(v1) | a1 = *((v1 + 1));
0x00031d78 swl a0, 3(v0) | __asm ("swl a0, 3(v0)");
0x00031d7c swr a0, (v0) | __asm ("swr a0, (v0)");
0x00031d80 swl a1, 7(v0) | __asm ("swl a1, 7(v0)");
0x00031d84 lw a0, 8(v1) | a0 = *((v1 + 2));
0x00031d88 swr a1, 4(v0) | __asm ("swr a1, 4(v0)");
0x00031d8c lbu v1, 0xc(v1) | v1 = *((v1 + 12));
0x00031d90 swl a0, 0xb(v0) | __asm ("swl a0, 0xb(v0)");
0x00031d94 swr a0, 8(v0) | __asm ("swr a0, 8(v0)");
0x00031d98 sb v1, 0xc(v0) | *((v0 + 12)) = v1;
0x00031d9c addiu v0, v0, 0xc | v0 += 0xc;
| label_35:
0x00031da0 lw t9, -0x6f60(gp) | t9 = sym.imp.open64;
0x00031da4 sb zero, (v0) | *(v0) = 0;
0x00031da8 lui a1, 8 | a1 = 0x80000;
0x00031dac move a0, s2 | a0 = s2;
0x00031db0 jalr t9 | t9 ();
0x00031db4 move s5, v0 | s5 = v0;
0x00031db8 lw gp, 0x30(fp) | gp = *(arg_30h);
| if (v0 < 0) {
0x00031dbc bltz v0, 0x31f44 | goto label_142;
| }
0x00031dc0 lui v0, 1 | v0 = 0x10000;
0x00031dc4 addiu v1, fp, 0x10 | v1 = fp + 0x10;
0x00031dc8 lui s0, 0xfffe | s0 = 0xfffe0000;
0x00031dcc ori v0, v0, 0x60 | v0 |= 0x60;
0x00031dd0 lw t9, -0x6d74(gp) | t9 = sym.imp.read;
0x00031dd4 addu v0, v0, v1 | v0 += v1;
0x00031dd8 ori s0, s0, 0xffe8 | s0 |= 0xffe8;
0x00031ddc lui s6, 1 | s6 = 10000;
0x00031de0 addiu a2, s6, 0x11 | a2 = 0x10011;
0x00031de4 addu a1, v0, s0 | a1 = v0 + s0;
0x00031de8 move a0, s5 | a0 = s5;
0x00031dec jalr t9 | t9 ();
0x00031df0 move t0, v0 | t0 = v0;
0x00031df4 slti v0, v0, 0x12 | v0 = (v0 < 0x12) ? 1 : 0;
0x00031df8 lw gp, 0x30(fp) | gp = *(arg_30h);
| if (v0 != 0) {
0x00031dfc bnez v0, 0x32094 | goto label_143;
| }
0x00031e00 addiu s6, s6, 0x12 | s6 += 0x12;
0x00031e04 slt s6, t0, s6 | s6 = (t0 < s6) ? 1 : 0;
0x00031e08 lui v0, 1 | v0 = 0x10000;
| if (s6 == 0) {
0x00031e0c beqz s6, 0x3229c | goto label_144;
| }
0x00031e10 ori v0, v0, 0x60 | v0 |= 0x60;
0x00031e14 addiu v1, fp, 0x10 | v1 = fp + 0x10;
0x00031e18 addiu t2, s0, -8 | t2 = s0 + -8;
0x00031e1c addu v0, v0, v1 | v0 += v1;
0x00031e20 addu s6, v0, t2 | s6 = v0 + t2;
0x00031e24 lw v0, -0x7fcc(gp) | v0 = *(gp);
0x00031e28 sw s0, 0x44(fp) | *(arg_44h) = s0;
0x00031e2c sb zero, (s3) | *(s3) = 0;
0x00031e30 move s0, zero | s0 = 0;
0x00031e34 move s7, zero | s7 = 0;
0x00031e38 sw v0, 0x38(fp) | *(arg_38h) = v0;
0x00031e3c b 0x31e50 |
| while (a1 != a0) {
| label_30:
0x00031e40 addiu v0, s7, 9 | v0 = s7 + 9;
0x00031e44 sltu v0, v0, t0 | v0 = (v0 < t0) ? 1 : 0;
| if (v0 == 0) {
0x00031e48 beqz v0, 0x32164 | goto label_145;
| }
0x00031e4c nop |
0x00031e50 addiu t3, s0, 7 | t3 = s0 + 7;
0x00031e54 sltiu v0, t3, 0x1fe | v0 = (t3 < 0x1fe) ? 1 : 0;
0x00031e58 addiu v1, fp, 0x10 | v1 = fp + 0x10;
| if (v0 == 0) {
0x00031e5c beqz v0, 0x32174 | goto label_146;
| }
0x00031e60 lui v0, 1 | v0 = 0x10060;
0x00031e64 ori v0, v0, 0x60 |
0x00031e68 addu v0, v0, v1 | v0 += v1;
0x00031e6c lw v1, 0x44(fp) | v1 = *(arg_44h);
0x00031e70 addu v0, v0, v1 | v0 += v1;
0x00031e74 addu v0, v0, s7 | v0 += s7;
0x00031e78 lbu v1, (v0) | v1 = *(v0);
0x00031e7c sltiu a0, v1, 3 | a0 = (v1 < 3) ? 1 : 0;
0x00031e80 addiu a0, t0, -9 | a0 = t0 + -9;
| if (a0 != 0) {
0x00031e84 bnez a0, 0x32164 | goto label_145;
| }
0x00031e88 sltu a0, a0, v1 | a0 = (a0 < v1) ? 1 : 0;
0x00031e8c addiu a0, zero, 4 | a0 = 4;
| if (a0 != 0) {
0x00031e90 bnez a0, 0x321b8 | goto label_147;
| }
0x00031e94 lbu a1, 1(v0) | a1 = *(var_8e0h);
0x00031e98 addu s7, s7, v1 | s7 += v1;
0x00031e9c bne a1, a0, 0x31e40 |
| }
0x00031ea0 lbu t5, 7(v0) | t5 = *(var_7h);
0x00031ea4 lbu t4, 6(v0) | t4 = *(var_6h);
0x00031ea8 lbu v1, 5(v0) | v1 = *(var_8e4h);
0x00031eac lw v0, 0x38(fp) | v0 = *(arg_38h);
0x00031eb0 lw t9, -0x6d50(gp) | t9 = sym.imp.__snprintf_chk
0x00031eb4 addiu v0, v0, -0x1280 | v0 += -0x1280;
0x00031eb8 sw t3, 0x3c(fp) | *(arg_3ch) = t3;
0x00031ebc sw t0, 0x40(fp) | *(arg_40h) = t0;
0x00031ec0 addiu a3, zero, 8 | a3 = 8;
0x00031ec4 addiu a2, zero, 1 | a2 = 1;
0x00031ec8 addiu a1, zero, 8 | a1 = 8;
0x00031ecc move a0, s6 | a0 = s6;
0x00031ed0 sw t5, 0x1c(sp) | *(var_1ch_3) = t5;
0x00031ed4 sw t4, 0x18(sp) | *(var_10h_6) = t4;
0x00031ed8 sw v1, 0x14(sp) | *(var_14h_2) = v1;
0x00031edc sw v0, 0x10(sp) | *(var_10h_8) = v0;
0x00031ee0 jalr t9 | t9 ();
0x00031ee4 lw gp, 0x30(fp) | gp = *(arg_30h);
0x00031ee8 move a1, s6 | a1 = s6;
0x00031eec lw t9, -0x6d58(gp) | t9 = sym.imp.strstr;
0x00031ef0 move a0, s3 | a0 = s3;
0x00031ef4 jalr t9 | t9 ();
0x00031ef8 lw gp, 0x30(fp) | gp = *(arg_30h);
0x00031efc lw t0, 0x40(fp) | t0 = *(arg_40h);
0x00031f00 lw t3, 0x3c(fp) | t3 = *(arg_3ch);
| if (v0 != 0) {
0x00031f04 bnez v0, 0x31e40 | goto label_30;
| }
0x00031f08 lui v1, 1 | v1 = 0x10060;
0x00031f0c ori v1, v1, 0x60 |
0x00031f10 addiu a0, fp, 0x10 | a0 = fp + 0x10;
0x00031f14 addu v1, v1, a0 | v1 += a0;
0x00031f18 lui v0, 0xffff | v0 = 0xffff0000;
0x00031f1c addu v0, v1, v0 | v0 = v1 + v0;
0x00031f20 addu t1, s3, s0 | t1 = s3 + s0;
0x00031f24 lw v1, -0x20(v0) | v1 = *((v0 - 8));
0x00031f28 lw v0, -0x1c(v0) | v0 = *((v0 - 7));
0x00031f2c swl v1, 3(t1) | __asm ("swl v1, 3(t1)");
0x00031f30 swr v1, (t1) | __asm ("swr v1, (t1)");
0x00031f34 swl v0, 7(t1) | __asm ("swl v0, 7(t1)");
0x00031f38 swr v0, 4(t1) | __asm ("swr v0, 4(t1)");
0x00031f3c move s0, t3 | s0 = t3;
0x00031f40 b 0x31e40 | goto label_30;
| label_142:
0x00031f44 lui v0, 1 | v0 = 0x10000;
0x00031f48 addiu v1, fp, 0x10 | v1 = fp + 0x10;
0x00031f4c ori v0, v0, 0x60 | v0 |= 0x60;
0x00031f50 addu v0, v0, v1 | v0 += v1;
0x00031f54 lui s0, 0xffff | s0 = 0xffff0000;
0x00031f58 addu s6, v0, s0 | s6 = v0 + s0;
0x00031f5c lw t9, -0x6fc8(gp) | t9 = sym.imp.__errno_location;
0x00031f60 sw zero, -0x24(s6) | *((s6 - 9)) = 0;
0x00031f64 jalr t9 | t9 ();
0x00031f68 lw s3, (v0) | s3 = *(v0);
0x00031f6c lw gp, 0x30(fp) | gp = *(arg_30h);
| if (s4 != 0) {
0x00031f70 beqz s4, 0x31f8c |
0x00031f74 lw t9, -0x7f98(gp) | t9 = sym.log_get_max_level_realm;
0x00031f78 addiu a0, zero, 1 | a0 = 1;
0x00031f7c jalr t9 | t9 ();
0x00031f80 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x00031f84 lw gp, 0x30(fp) | gp = *(arg_30h);
| if (v0 == 0) {
0x00031f88 beqz v0, 0x32058 | goto label_148;
| }
| }
0x00031f8c move a0, zero | a0 = 0;
| label_31:
0x00031f90 move v0, zero | v0 = 0;
| label_32:
0x00031f94 lw v1, -0x7fcc(gp) | v1 = *(gp);
0x00031f98 sw v0, 0x14(sp) | *(var_14h_2) = v0;
0x00031f9c lw v0, -0x7fcc(gp) | v0 = *(gp);
0x00031fa0 lw a2, -0x7fcc(gp) | a2 = *(gp);
0x00031fa4 lw t9, -0x7d6c(gp) | t9 = sym.log_object_internal;
| /* str.Failed_to_open___s_:__m */
0x00031fa8 addiu v1, v1, -0x12e8 | v1 += -0x12e8;
| /* esilref: 'dev_if_packed_info' */
0x00031fac addiu v0, v0, -0xe68 | v0 += -0xe68;
0x00031fb0 sw a0, 0x18(sp) | *(var_10h_6) = a0;
0x00031fb4 sw s2, 0x28(sp) | *(var_20h) = s2;
0x00031fb8 sw v1, 0x24(sp) | *(var_24h_3) = v1;
0x00031fbc sw zero, 0x20(sp) | *(var_18h_6) = 0;
0x00031fc0 sw zero, 0x1c(sp) | *(var_1ch_3) = 0;
0x00031fc4 sw v0, 0x10(sp) | *(var_10h_8) = v0;
0x00031fc8 addiu a3, zero, 0xa7 | a3 = 0xa7;
| /* esilref: 'src/udev/udev-builtin-usb_id.c' */
0x00031fcc addiu a2, a2, -0x1309 | a2 += -0x1309;
0x00031fd0 move a1, s3 | a1 = s3;
0x00031fd4 addiu a0, zero, 7 | a0 = 7;
0x00031fd8 jalr t9 | t9 ();
0x00031fdc lw gp, 0x30(fp) | gp = *(arg_30h);
0x00031fe0 move s0, v0 | s0 = v0;
| do {
| label_33:
0x00031fe4 lw t9, -0x7d98(gp) | t9 = sym.safe_close;
0x00031fe8 move a0, s5 | a0 = s5;
0x00031fec jalr t9 | t9 ();
0x00031ff0 lui v0, 1 | v0 = 0x10000;
0x00031ff4 addiu v1, fp, 0x10 | v1 = fp + 0x10;
0x00031ff8 ori v0, v0, 0x5c | v0 |= 0x5c;
0x00031ffc addu v0, v0, v1 | v0 += v1;
0x00032000 lw gp, 0x30(fp) | gp = *(arg_30h);
0x00032004 lw a0, (v0) | a0 = *(v0);
0x00032008 lw v1, (s1) | v1 = *(s1);
0x0003200c move v0, s0 | v0 = s0;
| if (a0 != v1) {
0x00032010 bne a0, v1, 0x322c8 | goto label_149;
| }
0x00032014 ori t0, zero, 0x80a8 | t0 = 0x80a8;
0x00032018 addu sp, fp, t0 |
0x0003201c lw ra, 0x7fec(sp) | ra = *(var_904h);
0x00032020 lw fp, 0x7fe8(sp) | fp = *(var_900h);
0x00032024 lw s7, 0x7fe4(sp) | s7 = *(var_8fch);
0x00032028 lw s6, 0x7fe0(sp) | s6 = *(var_8f8h);
0x0003202c lw s5, 0x7fdc(sp) | s5 = *(var_8f4h);
0x00032030 lw s4, 0x7fd8(sp) | s4 = *(var_8f0h);
0x00032034 lw s3, 0x7fd4(sp) | s3 = *(var_8ech);
0x00032038 lw s2, 0x7fd0(sp) | s2 = *(var_8e8h);
0x0003203c lw s1, 0x7fcc(sp) | s1 = *(var_8e4h);
0x00032040 lw s0, 0x7fc8(sp) | s0 = *(var_8e0h);
0x00032044 addiu sp, sp, 0x7ff0 |
0x00032048 jr ra | return v0;
| label_139:
0x0003204c move s0, v0 | s0 = v0;
0x00032050 addiu s5, zero, -1 | s5 = -1;
0x00032054 b 0x31fe4 |
| } while (1);
| label_148:
0x00032058 lui v0, 1 | v0 = 0x10000;
0x0003205c addiu v1, fp, 0x10 | v1 = fp + 0x10;
0x00032060 ori v0, v0, 0x60 | v0 |= 0x60;
0x00032064 lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x00032068 addu v0, v0, v1 | v0 += v1;
0x0003206c addiu a1, s0, -0x24 | a1 = s0 + -0x24;
0x00032070 move a0, s4 | a0 = s4;
0x00032074 addu a1, v0, a1 | a1 = v0 + a1;
0x00032078 jalr t9 | t9 ();
0x0003207c lw a0, -0x24(s6) | a0 = *((s6 - 9));
0x00032080 lw gp, 0x30(fp) | gp = *(arg_30h);
| if (a0 == 0) {
0x00032084 beqz a0, 0x31f90 | goto label_31;
| }
0x00032088 lw v0, -0x7fcc(gp) | v0 = *(gp);
| /* str.DEVICE */
0x0003208c addiu v0, v0, -0x7118 | v0 += -0x7118;
0x00032090 b 0x31f94 | goto label_32;
| label_143:
0x00032094 lui v0, 1 | v0 = 0x10060;
0x00032098 ori v0, v0, 0x60 |
0x0003209c addiu v1, fp, 0x10 | v1 = fp + 0x10;
0x000320a0 addu v0, v0, v1 | v0 += v1;
0x000320a4 subu s6, v0, s6 | __asm ("subu s6, v0, s6");
0x000320a8 sw zero, -0x24(s6) | *((s6 - 9)) = 0;
| if (s4 != 0) {
0x000320ac beqz s4, 0x320c8 |
0x000320b0 lw t9, -0x7f98(gp) | t9 = sym.log_get_max_level_realm;
0x000320b4 addiu a0, zero, 1 | a0 = 1;
0x000320b8 jalr t9 | t9 ();
0x000320bc slti v0, v0, 4 | v0 = (v0 < 4) ? 1 : 0;
0x000320c0 lw gp, 0x30(fp) | gp = *(arg_30h);
| if (v0 == 0) {
0x000320c4 beqz v0, 0x32128 | goto label_150;
| }
| }
0x000320c8 move a0, zero | a0 = 0;
| do {
0x000320cc move v0, zero | v0 = 0;
| label_34:
0x000320d0 lw v1, -0x7fcc(gp) | v1 = *(gp);
0x000320d4 sw v0, 0x14(sp) | *(var_14h_2) = v0;
0x000320d8 lw v0, -0x7fcc(gp) | v0 = *(gp);
0x000320dc lw a2, -0x7fcc(gp) | a2 = *(gp);
0x000320e0 lw t9, -0x7d6c(gp) | t9 = sym.log_object_internal;
| /* str.Short_read_from___s_ */
0x000320e4 addiu v1, v1, -0x12d0 | v1 += -aav.0x000012d0;
| /* esilref: 'dev_if_packed_info' */
0x000320e8 addiu v0, v0, -0xe68 | v0 += -0xe68;
0x000320ec lui a1, 0x4000 | a1 = 0x40000000;
0x000320f0 sw a0, 0x18(sp) | *(var_10h_6) = a0;
0x000320f4 sw s2, 0x28(sp) | *(var_20h) = s2;
0x000320f8 sw v1, 0x24(sp) | *(var_24h_3) = v1;
0x000320fc sw zero, 0x20(sp) | *(var_18h_6) = 0;
0x00032100 sw zero, 0x1c(sp) | *(var_1ch_3) = 0;
0x00032104 sw v0, 0x10(sp) | *(var_10h_8) = v0;
0x00032108 addiu a3, zero, 0xac | a3 = 0xac;
| /* esilref: 'src/udev/udev-builtin-usb_id.c' */
0x0003210c addiu a2, a2, -0x1309 | a2 += -0x1309;
0x00032110 addiu a1, a1, 5 | a1 += 5;
0x00032114 addiu a0, zero, 4 | a0 = 4;
0x00032118 jalr t9 | t9 ();
0x0003211c move s0, v0 | s0 = v0;
0x00032120 lw gp, 0x30(fp) | gp = *(arg_30h);
0x00032124 b 0x31fe4 | goto label_33;
| label_150:
0x00032128 lui v0, 1 | v0 = 0x10000;
0x0003212c addiu v1, fp, 0x10 | v1 = fp + 0x10;
0x00032130 ori v0, v0, 0x60 | v0 |= 0x60;
0x00032134 lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x00032138 addu v0, v0, v1 | v0 += v1;
0x0003213c addiu s0, s0, -0xc | s0 += -0xc;
0x00032140 move a0, s4 | a0 = s4;
0x00032144 addu a1, v0, s0 | a1 = v0 + s0;
0x00032148 jalr t9 | t9 ();
0x0003214c lw a0, -0x24(s6) | a0 = *((s6 - 9));
0x00032150 lw gp, 0x30(fp) | gp = *(arg_30h);
0x00032154 beqz a0, 0x320cc |
| } while (a0 == 0);
0x00032158 lw v0, -0x7fcc(gp) | v0 = *(gp);
| /* str.DEVICE */
0x0003215c addiu v0, v0, -0x7118 | v0 += -0x7118;
0x00032160 b 0x320d0 | goto label_34;
| label_145:
0x00032164 addu s3, s3, s0 | s3 += s0;
| if (s0 != 0) {
0x00032168 bnel s0, zero, 0x32178 |
0x0003216c move s0, zero | s0 = 0;
0x00032170 b 0x31fe4 | goto label_33;
| label_146:
0x00032174 addu s3, s3, s0 | s3 += s0;
| }
0x00032178 addiu v0, zero, 0x3a | v0 = 0x3a;
0x0003217c sb v0, (s3) | *(s3) = v0;
0x00032180 sb zero, 1(s3) | *((s3 + 1)) = 0;
0x00032184 move s0, zero | s0 = 0;
0x00032188 b 0x31fe4 | goto label_33;
| label_141:
0x0003218c lw v0, -0x7fcc(gp) | v0 = *(gp);
0x00032190 lw a2, -0x7fcc(gp) | a2 = *(gp);
0x00032194 lw a1, -0x7fcc(gp) | a1 = *(gp);
| /* str.dev_if_packed_info */
0x00032198 addiu v0, v0, -0xe54 | v0 += -0xe54;
0x0003219c lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x000321a0 sw v0, 0x10(sp) | *(var_10h_6) = v0;
0x000321a4 addiu a3, zero, 0xa4 | a3 = 0xa4;
| /* esilref: 'src/udev/udev-builtin-usb_id.c' */
0x000321a8 addiu a2, a2, -0x1309 | a2 += -0x1309;
| /* str.sizeof_char__n____ALLOCA_MAX */
0x000321ac addiu a1, a1, -0x6544 | a1 += -0x6544;
0x000321b0 addiu a0, zero, 1 | a0 = 1;
0x000321b4 jalr t9 | t9 ();
| label_147:
0x000321b8 lui v0, 1 | v0 = 0x10060;
0x000321bc ori v0, v0, 0x60 |
0x000321c0 addiu v1, fp, 0x10 | v1 = fp + 0x10;
0x000321c4 lui s0, 0xffff | s0 = 0xffff0000;
0x000321c8 addu v0, v0, v1 | v0 += v1;
0x000321cc addu s3, v0, s0 | s3 = v0 + s0;
0x000321d0 sw zero, -0x24(s3) | *((s3 - 9)) = 0;
| if (s4 != 0) {
0x000321d4 beqz s4, 0x3222c |
0x000321d8 lw t9, -0x7f98(gp) | t9 = sym.log_get_max_level_realm;
0x000321dc addiu a0, zero, 1 | a0 = 1;
0x000321e0 jalr t9 | t9 ();
0x000321e4 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x000321e8 lw gp, 0x30(fp) | gp = *(arg_30h);
| if (v0 == 0) {
0x000321ec bnez v0, 0x3222c |
0x000321f0 lui v0, 1 | v0 = 0x10000;
0x000321f4 addiu v1, fp, 0x10 | v1 = fp + 0x10;
0x000321f8 ori v0, v0, 0x60 | v0 |= 0x60;
0x000321fc lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x00032200 addu v0, v0, v1 | v0 += v1;
0x00032204 addiu a1, s0, -0x24 | a1 = s0 + -0x24;
0x00032208 move a0, s4 | a0 = s4;
0x0003220c addu a1, v0, a1 | a1 = v0 + a1;
0x00032210 jalr t9 | t9 ();
0x00032214 lw a0, -0x24(s3) | a0 = *((s3 - 9));
0x00032218 lw gp, 0x30(fp) | gp = *(arg_30h);
| if (a0 == 0) {
0x0003221c beqz a0, 0x32230 | goto label_151;
| }
0x00032220 lw v1, -0x7fcc(gp) | v1 = *(gp);
| /* str.DEVICE */
0x00032224 addiu v1, v1, -0x7118 | v1 += -0x7118;
0x00032228 b 0x32234 |
| }
| } else {
0x0003222c move a0, zero | a0 = 0;
| label_151:
0x00032230 move v1, zero | v1 = 0;
| }
0x00032234 lw v0, -0x7fcc(gp) | v0 = *(gp);
0x00032238 lw a2, -0x7fcc(gp) | a2 = *(gp);
| /* str.Corrupt_data_read_from___s_ */
0x0003223c addiu v0, v0, -0x129c | v0 += -0x129c;
0x00032240 sw v0, 0x24(sp) | *(var_24h_3) = v0;
0x00032244 lw v0, -0x7fcc(gp) | v0 = *(gp);
0x00032248 lw t9, -0x7d6c(gp) | t9 = sym.log_object_internal;
| /* esilref: 'dev_if_packed_info' */
0x0003224c addiu v0, v0, -0xe68 | v0 += -0xe68;
0x00032250 lui a1, 0x4000 | a1 = 0x40000000;
0x00032254 sw a0, 0x18(sp) | *(var_10h_6) = a0;
0x00032258 sw s2, 0x28(sp) | *(var_20h) = s2;
0x0003225c sw zero, 0x20(sp) | *(var_18h_6) = 0;
0x00032260 sw zero, 0x1c(sp) | *(var_1ch_3) = 0;
0x00032264 sw v1, 0x14(sp) | *(var_14h_2) = v1;
0x00032268 sw v0, 0x10(sp) | *(var_10h_8) = v0;
0x0003226c addiu a3, zero, 0xbb | a3 = 0xbb;
| /* esilref: 'src/udev/udev-builtin-usb_id.c' */
0x00032270 addiu a2, a2, -0x1309 | a2 += -0x1309;
0x00032274 addiu a1, a1, 5 | a1 += 5;
0x00032278 addiu a0, zero, 7 | a0 = 7;
0x0003227c jalr t9 | t9 ();
0x00032280 move s0, v0 | s0 = v0;
0x00032284 lw gp, 0x30(fp) | gp = *(arg_30h);
0x00032288 b 0x31fe4 | goto label_33;
| label_140:
0x0003228c addiu sp, sp, -8 |
0x00032290 addiu v0, sp, 0x30 | v0 = sp + 0x30;
0x00032294 move s2, v0 | s2 = v0;
0x00032298 b 0x31da0 | goto label_35;
| label_144:
0x0003229c lw v0, -0x7fcc(gp) | v0 = *(gp);
0x000322a0 lw a2, -0x7fcc(gp) | a2 = *(gp);
0x000322a4 lw a1, -0x7fcc(gp) | a1 = *(gp);
| /* str.dev_if_packed_info */
0x000322a8 addiu v0, v0, -0xe54 | v0 += -0xe54;
0x000322ac lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x000322b0 sw v0, 0x10(sp) | *(var_10h_8) = v0;
0x000322b4 addiu a3, zero, 0xad | a3 = 0xad;
| /* esilref: 'src/udev/udev-builtin-usb_id.c' */
0x000322b8 addiu a2, a2, -0x1309 | a2 += -0x1309;
| /* str._size_t__size___sizeof_buf */
0x000322bc addiu a1, a1, -0x12b8 | a1 += -0x12b8;
0x000322c0 addiu a0, zero, 1 | a0 = 1;
0x000322c4 jalr t9 | t9 ();
| label_149:
0x000322c8 lw t9, -0x6e2c(gp) | t9 = sym.imp.__stack_chk_fail;
0x000322cc jalr t9 | t9 ();
0x000322d0 nop |
0x000322d4 lui gp, 0xd |
0x000322d8 addiu gp, gp, -0x3054 |
0x000322dc addu gp, gp, t9 | gp += t9;
0x000322e0 addiu sp, sp, -0x908 |
0x000322e4 lw t9, -0x6fa4(gp) | t9 = sym.imp.memset;
0x000322e8 sw s1, 0x8e4(sp) | *(var_8e4h) = s1;
0x000322ec lw s1, -0x6de8(gp) | s1 = *((gp - 7034));
0x000322f0 sw ra, 0x904(sp) | *(var_904h) = ra;
0x000322f4 sw gp, 0x30(sp) | *(var_30h_4) = gp;
0x000322f8 sw s2, 0x8e8(sp) | *(var_8e8h) = s2;
0x000322fc sw s0, 0x8e0(sp) | *(var_8e0h) = s0;
0x00032300 sw fp, 0x900(sp) | *(var_900h) = fp;
0x00032304 sw s7, 0x8fc(sp) | *(var_8fch) = s7;
0x00032308 sw s6, 0x8f8(sp) | *(var_8f8h) = s6;
0x0003230c sw s5, 0x8f4(sp) | *(var_8f4h) = s5;
0x00032310 sw s4, 0x8f0(sp) | *(var_8e8h) = s4;
0x00032314 sw s3, 0x8ec(sp) | *(var_8e4h) = s3;
0x00032318 lw v0, (s1) | v0 = *(s1);
0x0003231c addiu a2, zero, 0x3c | a2 = 0x3c;
0x00032320 move a1, zero | a1 = 0;
0x00032324 move s0, a0 | s0 = a0;
0x00032328 sw v0, 0x8dc(sp) | *(var_8dch) = v0;
0x0003232c addiu a0, sp, 0xa0 | a0 = sp + 0xa0;
0x00032330 sw zero, 0x9c(sp) | *(var_9ch) = 0;
0x00032334 move s2, a3 | s2 = a3;
0x00032338 jalr t9 | t9 ();
0x0003233c lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032340 addiu a2, zero, 0x3c | a2 = 0x3c;
0x00032344 move a1, zero | a1 = 0;
0x00032348 lw t9, -0x6fa4(gp) | t9 = sym.imp.memset;
0x0003234c addiu a0, sp, 0xe0 | a0 = sp + 0xe0;
0x00032350 sw zero, 0xdc(sp) | *(var_dch) = 0;
0x00032354 jalr t9 | t9 ();
0x00032358 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x0003235c addiu a2, zero, 0x1fc | a2 = aav.0x000001fc;
0x00032360 move a1, zero | a1 = 0;
0x00032364 lw t9, -0x6fa4(gp) | t9 = sym.imp.memset;
0x00032368 addiu a0, sp, 0x4e0 | a0 = sp + 0x4e0;
0x0003236c sw zero, 0x4dc(sp) | *(var_4dch) = 0;
0x00032370 jalr t9 | t9 ();
0x00032374 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032378 addiu a2, zero, 0x1fc | a2 = aav.0x000001fc;
0x0003237c move a1, zero | a1 = 0;
0x00032380 lw t9, -0x6fa4(gp) | t9 = sym.imp.memset;
0x00032384 addiu a0, sp, 0x6e0 | a0 = sp + 0x6e0;
0x00032388 sw zero, 0x6dc(sp) | *(var_6dch) = 0;
0x0003238c jalr t9 | t9 ();
0x00032390 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032394 addiu a2, zero, 0x3c | a2 = 0x3c;
0x00032398 move a1, zero | a1 = 0;
0x0003239c lw t9, -0x6fa4(gp) | t9 = sym.imp.memset;
0x000323a0 addiu a0, sp, 0x120 | a0 = sp + aav.0x00000120;
0x000323a4 sw zero, 0x11c(sp) | *(var_11ch) = 0;
0x000323a8 jalr t9 | t9 ();
0x000323ac lw gp, 0x30(sp) | gp = *(var_30h_4);
0x000323b0 addiu a2, zero, 0x3c | a2 = 0x3c;
0x000323b4 move a1, zero | a1 = 0;
0x000323b8 lw t9, -0x6fa4(gp) | t9 = sym.imp.memset;
0x000323bc addiu a0, sp, 0x160 | a0 = sp + aav.0x00000160;
0x000323c0 sw zero, 0x15c(sp) | *(var_15ch) = 0;
0x000323c4 jalr t9 | t9 ();
0x000323c8 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x000323cc addiu a2, zero, 0x3c | a2 = 0x3c;
0x000323d0 move a1, zero | a1 = 0;
0x000323d4 lw t9, -0x6fa4(gp) | t9 = sym.imp.memset;
0x000323d8 addiu a0, sp, 0x1a0 | a0 = sp + aav.0x000001a0;
0x000323dc sw zero, 0x19c(sp) | *(var_19ch) = 0;
0x000323e0 jalr t9 | t9 ();
0x000323e4 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x000323e8 sw zero, 0x48(sp) | *(var_48h) = 0;
0x000323ec sw zero, 0x4c(sp) | *(var_4ch) = 0;
| if (s0 == 0) {
0x000323f0 beqz s0, 0x32970 | goto label_152;
| }
0x000323f4 lw t9, -0x7df0(gp) | t9 = sym.sd_device_get_syspath;
0x000323f8 addiu a1, sp, 0x60 | a1 = sp + 0x60;
0x000323fc move a0, s0 | a0 = s0;
0x00032400 jalr t9 | t9 ();
0x00032404 lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (v0 < 0) {
0x00032408 bltz v0, 0x3289c | goto label_47;
| }
0x0003240c lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x00032410 addiu a1, sp, 0x64 | a1 = sp + 0x64;
0x00032414 move a0, s0 | a0 = s0;
0x00032418 jalr t9 | t9 ();
0x0003241c lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (v0 < 0) {
0x00032420 bltz v0, 0x3289c | goto label_47;
| }
0x00032424 lw t9, -0x7ba4(gp) | t9 = sym.sd_device_get_devtype;
0x00032428 addiu a1, sp, 0x68 | a1 = sp + 0x68;
0x0003242c move a0, s0 | a0 = s0;
0x00032430 jalr t9 | t9 ();
0x00032434 lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (v0 >= 0) {
0x00032438 bltz v0, 0x32458 |
0x0003243c lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00032440 lw t9, -0x6d64(gp) | t9 = *((gp - 7001));
0x00032444 lw a0, 0x68(sp) | a0 = *(var_68h_4);
| /* str.usb_device */
0x00032448 addiu a1, a1, -0x44b0 | a1 += -0x44b0;
0x0003244c jalr t9 | t9 ();
0x00032450 lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (v0 == 0) {
0x00032454 beqz v0, 0x32544 | goto label_153;
| }
| }
0x00032458 lw s4, -0x7fcc(gp) | s4 = *(gp);
0x0003245c lw a2, -0x7fcc(gp) | a2 = *(gp);
0x00032460 lw t9, -0x7b9c(gp) | t9 = sym.sd_device_get_parent_with_subsystem_devtype;
0x00032464 addiu a3, sp, 0x50 | a3 = sp + 0x50;
| /* str.usb_interface */
0x00032468 addiu a2, a2, -0x1a00 | a2 += -0x1a00;
| /* esilref: 'usb' */
0x0003246c addiu a1, s4, -0x44b4 | a1 = s4 + -0x44b4;
0x00032470 move a0, s0 | a0 = s0;
0x00032474 jalr t9 | t9 ();
0x00032478 move s3, v0 | s3 = v0;
0x0003247c lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (v0 < 0) {
0x00032480 bltz v0, 0x328d8 | goto label_154;
| }
0x00032484 lw t9, -0x7df0(gp) | t9 = sym.sd_device_get_syspath;
0x00032488 lw a0, 0x50(sp) | a0 = *(var_50h_2);
0x0003248c addiu a1, sp, 0x6c | a1 = sp + 0x6c;
0x00032490 jalr t9 | t9 ();
0x00032494 move s3, v0 | s3 = v0;
0x00032498 lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (v0 < 0) {
0x0003249c bltz v0, 0x3299c | goto label_155;
| }
0x000324a0 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x000324a4 lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
0x000324a8 lw a0, 0x50(sp) | a0 = *(var_50h_2);
0x000324ac addiu a2, sp, 0x48 | a2 = sp + 0x48;
| /* str.bInterfaceNumber */
0x000324b0 addiu a1, a1, -0x11dc | a1 += -0x11dc;
0x000324b4 jalr t9 | t9 ();
0x000324b8 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x000324bc lw a0, 0x50(sp) | a0 = *(var_50h_2);
0x000324c0 addiu a2, sp, 0x4c | a2 = sp + 0x4c;
0x000324c4 lw a1, -0x7fd4(gp) | a1 = *(gp);
0x000324c8 lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
| /* str.driver */
0x000324cc addiu a1, a1, 0x70e0 | a1 += 0x70e0;
0x000324d0 jalr t9 | t9 ();
0x000324d4 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x000324d8 lw a0, 0x50(sp) | a0 = *(var_50h_2);
0x000324dc addiu a2, sp, 0x58 | a2 = sp + 0x58;
0x000324e0 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x000324e4 lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
| /* str.bInterfaceClass */
0x000324e8 addiu a1, a1, -0x11c8 | a1 += -aav.0x000011c8;
0x000324ec jalr t9 | t9 ();
0x000324f0 move s3, v0 | s3 = v0;
0x000324f4 lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (v0 < 0) {
0x000324f8 bltz v0, 0x32a24 | goto label_156;
| }
0x000324fc lw t9, -0x6f2c(gp) | t9 = sym.imp.strtoul;
0x00032500 lw a0, 0x58(sp) | a0 = *(var_58h_2);
0x00032504 addiu a2, zero, 0x10 | a2 = 0x10;
0x00032508 move a1, zero | a1 = 0;
0x0003250c jalr t9 | t9 ();
0x00032510 move s3, v0 | s3 = v0;
0x00032514 addiu v0, zero, 8 | v0 = 8;
0x00032518 lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (s3 == v0) {
0x0003251c beq s3, v0, 0x32db0 | goto label_157;
| }
0x00032520 sltiu v0, s3, 0xf | v0 = (s3 < 0xf) ? 1 : 0;
0x00032524 lw v1, -0x7fcc(gp) | v1 = *(gp);
| if (v0 == 0) {
0x00032528 beqz v0, 0x32c70 | goto label_158;
| }
0x0003252c sll v0, s3, 2 | v0 = s3 << 2;
0x00032530 addiu v1, v1, -0xf00 | v1 += -0xf00;
0x00032534 lwx v0, v0(v1) | __asm ("lwx v0, v0(v1)");
0x00032538 addu v0, v0, gp | v0 += gp;
0x0003253c jr v0 | v0 ();
0x00032540 nop |
| label_153:
0x00032544 lw t9, -0x7b98(gp) | t9 = *(gp);
0x00032548 addiu s3, sp, 0x6dc | s3 = sp + 0x6dc;
0x0003254c move a0, s0 | a0 = s0;
0x00032550 addiu t9, t9, 0x1c70 | t9 += 0x1c70;
0x00032554 move a1, s3 | a1 = s3;
0x00032558 bal 0x31c70 | fcn_31c70 ();
| goto label_36;
0x0003255c lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032560 addiu v1, sp, 0x90 | v1 = sp + 0x90;
0x00032564 sw s0, 0x54(sp) | *(var_54h_2) = s0;
0x00032568 move a0, s0 | a0 = s0;
| label_42:
0x0003256c lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00032570 lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
0x00032574 move a2, v1 | a2 = v1;
| /* str.idVendor */
0x00032578 addiu a1, a1, -0x44a4 | a1 += -0x44a4;
0x0003257c jalr t9 | t9 ();
0x00032580 move s4, v0 | s4 = v0;
0x00032584 lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (v0 < 0) {
0x00032588 bltz v0, 0x32c7c | goto label_159;
| }
0x0003258c lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00032590 lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
0x00032594 lw a0, 0x54(sp) | a0 = *(var_54h_2);
0x00032598 addiu a2, sp, 0x94 | a2 = sp + 0x94;
| /* str.idProduct */
0x0003259c addiu a1, a1, -0x4498 | a1 += -0x4498;
0x000325a0 jalr t9 | t9 ();
0x000325a4 move s4, v0 | s4 = v0;
0x000325a8 lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (v0 < 0) {
0x000325ac bltz v0, 0x32de0 | goto label_160;
| }
0x000325b0 lb v0, 0x9c(sp) | v0 = *(var_9ch);
0x000325b4 addiu v0, sp, 0x1dc | v0 = sp + aav.0x000001dc;
| if (v0 == 0) {
0x000325b8 beqz v0, 0x32f78 | goto label_161;
| }
0x000325bc addiu s4, sp, 0x98 | s4 = sp + 0x98;
0x000325c0 sw v0, 0x3c(sp) | *(var_3ch_2) = v0;
0x000325c4 addiu s5, sp, 0x9c | s5 = sp + 0x9c;
| label_58:
0x000325c8 lb v0, 0xdc(sp) | v0 = *(var_dch);
0x000325cc addiu v0, sp, 0x2dc | v0 = sp + aav.0x000002dc;
| if (v0 == 0) {
0x000325d0 beqz v0, 0x32f04 | goto label_162;
| }
0x000325d4 sw v0, 0x40(sp) | *(var_40h_2) = v0;
0x000325d8 addiu s6, sp, 0xdc | s6 = sp + 0xdc;
| label_57:
0x000325dc lb v0, 0x11c(sp) | v0 = *(var_11ch);
| if (v0 == 0) {
0x000325e0 beql v0, zero, 0x32a84 | goto label_163;
| }
0x000325e4 lw a1, -0x7fcc(gp) | a1 = *(gp);
| label_40:
0x000325e8 addiu v0, sp, 0x11c | v0 = sp + aav.0x0000011c;
0x000325ec sw v0, 0x44(sp) | *(var_44h_2) = v0;
| label_41:
0x000325f0 lb v0, 0x4dc(sp) | v0 = *(var_4dch);
0x000325f4 lw a1, -0x7fcc(gp) | a1 = *(gp);
| if (v0 == 0) {
0x000325f8 beqz v0, 0x32e68 | goto label_164;
| }
| label_53:
0x000325fc lw fp, -0x7fd4(gp) | fp = *(gp);
| label_54:
0x00032600 lw t9, -0x7d28(gp) | t9 = sym.strpcpyl;
| label_55:
0x00032604 addiu s7, sp, 0x3dc | s7 = sp + aav.0x000003dc;
0x00032608 move a0, s4 | a0 = s4;
0x0003260c sw zero, 0x14(sp) | *(var_14h) = 0;
0x00032610 sw s6, 0x10(sp) | *(var_10h_7) = s6;
0x00032614 addiu a3, fp, 0x6620 | a3 = fp + 0x6620;
0x00032618 move a2, s5 | a2 = s5;
0x0003261c addiu a1, zero, 0x100 | a1 = aav.0x00000100;
0x00032620 sw s7, 0x98(sp) | *(var_98h) = s7;
0x00032624 jalr t9 | t9 ();
0x00032628 lb a0, 0x4dc(sp) | a0 = *(var_4dch);
0x0003262c lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (a0 != 0) {
0x00032630 beqz a0, 0x32654 |
0x00032634 lw t9, -0x7d28(gp) | t9 = sym.strpcpyl;
0x00032638 move a1, v0 | a1 = v0;
0x0003263c sw zero, 0x10(sp) | *(var_10h_7) = 0;
0x00032640 addiu a3, sp, 0x4dc | a3 = sp + aav.0x000004dc;
0x00032644 addiu a2, fp, 0x6620 | a2 = fp + 0x6620;
0x00032648 move a0, s4 | a0 = s4;
0x0003264c jalr t9 | t9 ();
0x00032650 lw gp, 0x30(sp) | gp = *(var_30h_4);
| }
0x00032654 lb v1, 0x19c(sp) | v1 = *(var_19ch);
0x00032658 lw a2, -0x7fcc(gp) | a2 = *(gp);
| if (v1 != 0) {
0x0003265c beqz v1, 0x32688 |
0x00032660 lw a2, -0x7fcc(gp) | a2 = *(gp);
0x00032664 lw t9, -0x7d28(gp) | t9 = sym.strpcpyl;
0x00032668 sw zero, 0x10(sp) | *(var_10h_7) = 0;
0x0003266c addiu a3, sp, 0x19c | a3 = sp + aav.0x0000019c;
0x00032670 addiu a2, a2, -0x6548 | a2 += -0x6548;
0x00032674 move a1, v0 | a1 = v0;
0x00032678 move a0, s4 | a0 = s4;
0x0003267c jalr t9 | t9 ();
0x00032680 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032684 lw a2, -0x7fcc(gp) | a2 = *(gp);
| }
0x00032688 lw t9, -0x7bc4(gp) | t9 = *(gp);
0x0003268c move a3, s5 | a3 = s5;
| /* str.ID_VENDOR */
0x00032690 addiu a2, a2, -0xfd4 | a2 += -0xfd4;
0x00032694 move a1, s2 | a1 = s2;
0x00032698 move a0, s0 | a0 = s0;
0x0003269c bal 0x29b0c | fcn_00029b0c ();
0x000326a0 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x000326a4 lw a3, 0x3c(sp) | a3 = *(var_3ch_2);
0x000326a8 move a1, s2 | a1 = s2;
0x000326ac lw a2, -0x7fcc(gp) | a2 = *(gp);
0x000326b0 lw t9, -0x7bc4(gp) | t9 = *(gp);
| /* str.ID_VENDOR_ENC */
0x000326b4 addiu a2, a2, -0xfc8 | a2 += -0xfc8;
0x000326b8 move a0, s0 | a0 = s0;
0x000326bc bal 0x29b0c | fcn_00029b0c ();
0x000326c0 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x000326c4 lw a3, 0x90(sp) | a3 = *(var_90h);
0x000326c8 move a1, s2 | a1 = s2;
0x000326cc lw a2, -0x7fcc(gp) | a2 = *(gp);
0x000326d0 lw t9, -0x7bc4(gp) | t9 = *(gp);
| /* str.ID_VENDOR_ID */
0x000326d4 addiu a2, a2, -0xfb8 | a2 += -0xfb8;
0x000326d8 move a0, s0 | a0 = s0;
0x000326dc bal 0x29b0c | fcn_00029b0c ();
0x000326e0 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x000326e4 move a3, s6 | a3 = s6;
0x000326e8 move a1, s2 | a1 = s2;
0x000326ec lw a2, -0x7fcc(gp) | a2 = *(gp);
0x000326f0 lw t9, -0x7bc4(gp) | t9 = *(gp);
| /* str.ID_MODEL */
0x000326f4 addiu a2, a2, -0xfa8 | a2 += -0xfa8;
0x000326f8 move a0, s0 | a0 = s0;
0x000326fc bal 0x29b0c | fcn_00029b0c ();
0x00032700 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032704 lw a3, 0x40(sp) | a3 = *(var_40h_2);
0x00032708 move a1, s2 | a1 = s2;
0x0003270c lw a2, -0x7fcc(gp) | a2 = *(gp);
0x00032710 lw t9, -0x7bc4(gp) | t9 = *(gp);
| /* str.ID_MODEL_ENC */
0x00032714 addiu a2, a2, -0xf9c | a2 += -0xf9c;
0x00032718 move a0, s0 | a0 = s0;
0x0003271c bal 0x29b0c | fcn_00029b0c ();
0x00032720 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032724 lw a3, 0x94(sp) | a3 = *(var_94h);
0x00032728 move a1, s2 | a1 = s2;
0x0003272c lw a2, -0x7fcc(gp) | a2 = *(gp);
0x00032730 lw t9, -0x7bc4(gp) | t9 = *(gp);
| /* str.ID_MODEL_ID */
0x00032734 addiu a2, a2, -0xf8c | a2 += -0xf8c;
0x00032738 move a0, s0 | a0 = s0;
0x0003273c bal 0x29b0c | fcn_00029b0c ();
0x00032740 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032744 lw a3, 0x44(sp) | a3 = *(var_44h_2);
0x00032748 move a1, s2 | a1 = s2;
0x0003274c lw a2, -0x7fcc(gp) | a2 = *(gp);
0x00032750 lw t9, -0x7bc4(gp) | t9 = *(gp);
| /* str.ID_REVISION */
0x00032754 addiu a2, a2, -0xf80 | a2 += -0xf80;
0x00032758 move a0, s0 | a0 = s0;
0x0003275c bal 0x29b0c | fcn_00029b0c ();
0x00032760 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032764 move a3, s7 | a3 = s7;
0x00032768 move a1, s2 | a1 = s2;
0x0003276c lw a2, -0x7fcc(gp) | a2 = *(gp);
0x00032770 lw t9, -0x7bc4(gp) | t9 = *(gp);
| /* str.ID_SERIAL */
0x00032774 addiu a2, a2, -0xf74 | a2 += -0xf74;
0x00032778 move a0, s0 | a0 = s0;
0x0003277c bal 0x29b0c | fcn_00029b0c ();
0x00032780 lb v0, 0x4dc(sp) | v0 = *(var_4dch);
0x00032784 lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (v0 != 0) {
0x00032788 beqz v0, 0x327ac |
0x0003278c lw a2, -0x7fcc(gp) | a2 = *(gp);
0x00032790 lw t9, -0x7bc4(gp) | t9 = *(gp);
0x00032794 addiu a3, sp, 0x4dc | a3 = sp + aav.0x000004dc;
| /* str.ID_SERIAL_SHORT */
0x00032798 addiu a2, a2, -0xf10 | a2 += -0xf10;
0x0003279c move a1, s2 | a1 = s2;
0x000327a0 move a0, s0 | a0 = s0;
0x000327a4 bal 0x29b0c | fcn_00029b0c ();
0x000327a8 lw gp, 0x30(sp) | gp = *(var_30h_4);
| }
0x000327ac lb v0, 0x15c(sp) | v0 = *(var_15ch);
0x000327b0 lb v0, 0x19c(sp) | v0 = *(var_19ch);
| if (v0 != 0) {
0x000327b4 beqz v0, 0x327dc |
0x000327b8 lw a2, -0x7fcc(gp) | a2 = *(gp);
0x000327bc lw t9, -0x7bc4(gp) | t9 = *(gp);
0x000327c0 addiu a3, sp, 0x15c | a3 = sp + aav.0x0000015c;
| /* str.ID_TYPE */
0x000327c4 addiu a2, a2, -0xf18 | a2 += -0xf18;
0x000327c8 move a1, s2 | a1 = s2;
0x000327cc move a0, s0 | a0 = s0;
0x000327d0 bal 0x29b0c | fcn_00029b0c ();
0x000327d4 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x000327d8 lb v0, 0x19c(sp) | v0 = *(var_19ch);
| }
0x000327dc lw a3, -0x7fcc(gp) | a3 = *(gp);
| if (v0 != 0) {
0x000327e0 beqz v0, 0x32808 |
0x000327e4 lw a2, -0x7fcc(gp) | a2 = *(gp);
0x000327e8 lw t9, -0x7bc4(gp) | t9 = *(gp);
0x000327ec addiu a3, sp, 0x19c | a3 = sp + aav.0x0000019c;
| /* str.ID_INSTANCE */
0x000327f0 addiu a2, a2, -0xf24 | a2 += -0xf24;
0x000327f4 move a1, s2 | a1 = s2;
0x000327f8 move a0, s0 | a0 = s0;
0x000327fc bal 0x29b0c | fcn_00029b0c ();
0x00032800 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032804 lw a3, -0x7fcc(gp) | a3 = *(gp);
| }
0x00032808 lw a2, -0x7fcc(gp) | a2 = *(gp);
0x0003280c lw t9, -0x7bc4(gp) | t9 = *(gp);
| /* esilref: 'usb' */
0x00032810 addiu a3, a3, -0x44b4 | a3 += -0x44b4;
| /* str.ID_BUS */
0x00032814 addiu a2, a2, -0xf68 | a2 += -0xf68;
0x00032818 move a1, s2 | a1 = s2;
0x0003281c move a0, s0 | a0 = s0;
0x00032820 bal 0x29b0c | fcn_00029b0c ();
0x00032824 lb v0, 0x6dc(sp) | v0 = *(var_6dch);
0x00032828 lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (v0 != 0) {
0x0003282c beqz v0, 0x32850 |
0x00032830 lw a2, -0x7fcc(gp) | a2 = *(gp);
0x00032834 lw t9, -0x7bc4(gp) | t9 = *(gp);
0x00032838 move a3, s3 | a3 = s3;
| /* str.ID_USB_INTERFACES */
0x0003283c addiu a2, a2, -0xf38 | a2 += -0xf38;
0x00032840 move a1, s2 | a1 = s2;
0x00032844 move a0, s0 | a0 = s0;
0x00032848 bal 0x29b0c | fcn_00029b0c ();
0x0003284c lw gp, 0x30(sp) | gp = *(var_30h_4);
| }
0x00032850 lw a3, 0x48(sp) | a3 = *(var_48h);
0x00032854 lw a2, -0x7fcc(gp) | a2 = *(gp);
| if (a3 != 0) {
0x00032858 beqz a3, 0x32874 |
0x0003285c lw t9, -0x7bc4(gp) | t9 = *(gp);
| /* str.ID_USB_INTERFACE_NUM */
0x00032860 addiu a2, a2, -0xf60 | a2 += -0xf60;
0x00032864 move a1, s2 | a1 = s2;
0x00032868 move a0, s0 | a0 = s0;
0x0003286c bal 0x29b0c | fcn_00029b0c ();
0x00032870 lw gp, 0x30(sp) | gp = *(var_30h_4);
| }
0x00032874 lw a3, 0x4c(sp) | a3 = *(var_4ch);
0x00032878 lw a2, -0x7fcc(gp) | a2 = *(gp);
| if (a3 == 0) {
0x0003287c beqz a3, 0x32dd8 | goto label_165;
| }
0x00032880 lw t9, -0x7bc4(gp) | t9 = *(gp);
| /* str.ID_USB_DRIVER */
0x00032884 addiu a2, a2, -0xf48 | a2 += -0xf48;
0x00032888 move a1, s2 | a1 = s2;
0x0003288c move a0, s0 | a0 = s0;
0x00032890 bal 0x29b0c | fcn_00029b0c ();
0x00032894 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032898 move v0, zero | v0 = 0;
| do {
| label_47:
0x0003289c lw a0, 0x8dc(sp) | a0 = *(var_8dch);
0x000328a0 lw v1, (s1) | v1 = *(s1);
0x000328a4 lw ra, 0x904(sp) | ra = *(var_904h);
| if (a0 != v1) {
0x000328a8 bne a0, v1, 0x333e4 | goto label_166;
| }
0x000328ac lw fp, 0x900(sp) | fp = *(var_900h);
0x000328b0 lw s7, 0x8fc(sp) | s7 = *(var_8fch);
0x000328b4 lw s6, 0x8f8(sp) | s6 = *(var_8f8h);
0x000328b8 lw s5, 0x8f4(sp) | s5 = *(var_8f4h);
0x000328bc lw s4, 0x8f0(sp) | s4 = *(var_8f0h);
0x000328c0 lw s3, 0x8ec(sp) | s3 = *(var_8ech);
0x000328c4 lw s2, 0x8e8(sp) | s2 = *(var_8e8h);
0x000328c8 lw s1, 0x8e4(sp) | s1 = *(var_8e4h);
0x000328cc lw s0, 0x8e0(sp) | s0 = *(var_8e0h);
0x000328d0 addiu sp, sp, 0x908 |
0x000328d4 jr ra | return v0;
| label_154:
0x000328d8 lw t9, -0x7f98(gp) | t9 = sym.log_get_max_level_realm;
0x000328dc addiu a0, zero, 1 | a0 = 1;
0x000328e0 sw zero, 0x98(sp) | *(var_98h) = 0;
0x000328e4 jalr t9 | t9 ();
0x000328e8 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x000328ec lw gp, 0x30(sp) | gp = *(var_30h_4);
0x000328f0 move a0, zero | a0 = 0;
| if (v0 == 0) {
0x000328f4 beqz v0, 0x32948 | goto label_167;
| }
| label_37:
0x000328f8 move v0, zero | v0 = 0;
| label_38:
0x000328fc lw v1, -0x7fcc(gp) | v1 = *(gp);
0x00032900 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00032904 lw v0, -0x7fcc(gp) | v0 = *(gp);
| /* str.Failed_to_access_usb_interface:__m */
0x00032908 addiu v1, v1, -0x121c | v1 += -0x121c;
| /* esilref: 'builtin_usb_id' */
0x0003290c addiu v0, v0, -0xe40 | v0 += -0xe40;
0x00032910 lw t9, -0x7d6c(gp) | t9 = sym.log_object_internal;
0x00032914 sw v1, 0x24(sp) | *(var_24h_2) = v1;
0x00032918 sw zero, 0x20(sp) | *(var_20h_2) = 0;
0x0003291c sw zero, 0x1c(sp) | *(var_1ch_2) = 0;
0x00032920 sw a0, 0x18(sp) | *(var_18h_7) = a0;
0x00032924 sw v0, 0x10(sp) | *(var_10h_7) = v0;
0x00032928 addiu a3, zero, 0x115 | a3 = 0x115;
| label_39:
0x0003292c lw a2, -0x7fcc(gp) | a2 = *(gp);
0x00032930 move a1, s3 | a1 = s3;
| /* esilref: 'src/udev/udev-builtin-usb_id.c' */
0x00032934 addiu a2, a2, -0x1309 | a2 += -0x1309;
0x00032938 addiu a0, zero, 7 | a0 = 7;
0x0003293c jalr t9 | t9 ();
0x00032940 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032944 b 0x3289c |
| } while (1);
| label_167:
0x00032948 lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x0003294c move a0, s0 | a0 = s0;
0x00032950 addiu a1, sp, 0x98 | a1 = sp + 0x98;
0x00032954 jalr t9 | t9 ();
0x00032958 lw a0, 0x98(sp) | a0 = *(var_98h);
0x0003295c lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (a0 == 0) {
0x00032960 beqz a0, 0x328f8 | goto label_37;
| }
0x00032964 lw v0, -0x7fcc(gp) | v0 = *(gp);
| /* str.DEVICE */
0x00032968 addiu v0, v0, -0x7118 | v0 += -0x7118;
0x0003296c b 0x328fc | goto label_38;
| label_152:
0x00032970 lw v0, -0x7fcc(gp) | v0 = *(gp);
0x00032974 lw a2, -0x7fcc(gp) | a2 = *(gp);
0x00032978 lw a1, -0x7fd4(gp) | a1 = *(gp);
| /* str.builtin_usb_id */
0x0003297c addiu v0, v0, -0xe30 | v0 += -0xe30;
0x00032980 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x00032984 sw v0, 0x10(sp) | *(var_10h_7) = v0;
0x00032988 addiu a3, zero, 0x101 | a3 = 0x101;
| /* esilref: 'src/udev/udev-builtin-usb_id.c' */
0x0003298c addiu a2, a2, -0x1309 | a2 += -0x1309;
| /* esilref: 'dev' */
0x00032990 addiu a1, a1, 0x727c | a1 += 0x727c;
0x00032994 addiu a0, zero, 1 | a0 = 1;
0x00032998 jalr t9 | t9 ();
| label_155:
0x0003299c lw s0, 0x50(sp) | s0 = *(var_50h_2);
0x000329a0 sw zero, 0x98(sp) | *(var_98h) = 0;
| if (s0 != 0) {
0x000329a4 beqz s0, 0x329e8 |
0x000329a8 lw t9, -0x7f98(gp) | t9 = sym.log_get_max_level_realm;
0x000329ac addiu a0, zero, 1 | a0 = 1;
0x000329b0 jalr t9 | t9 ();
0x000329b4 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x000329b8 lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (v0 == 0) {
0x000329bc bnez v0, 0x329e8 |
0x000329c0 lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x000329c4 move a0, s0 | a0 = s0;
0x000329c8 addiu a1, sp, 0x98 | a1 = sp + 0x98;
0x000329cc jalr t9 | t9 ();
0x000329d0 lw a0, 0x98(sp) | a0 = *(var_98h);
0x000329d4 lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (a0 == 0) {
0x000329d8 beqz a0, 0x329ec | goto label_168;
| }
0x000329dc lw v0, -0x7fcc(gp) | v0 = *(gp);
| /* str.DEVICE */
0x000329e0 addiu v0, v0, -0x7118 | v0 += -0x7118;
0x000329e4 b 0x329f0 |
| }
| } else {
0x000329e8 move a0, zero | a0 = 0;
| label_168:
0x000329ec move v0, zero | v0 = 0;
| }
0x000329f0 lw v1, -0x7fcc(gp) | v1 = *(gp);
0x000329f4 sw v0, 0x14(sp) | *(var_14h) = v0;
0x000329f8 lw v0, -0x7fcc(gp) | v0 = *(gp);
| /* str.Failed_to_get_syspath:__m */
0x000329fc addiu v1, v1, -0x11f8 | v1 += -0x11f8;
| /* esilref: 'builtin_usb_id' */
0x00032a00 addiu v0, v0, -0xe40 | v0 += -0xe40;
0x00032a04 lw t9, -0x7d6c(gp) | t9 = sym.log_object_internal;
0x00032a08 sw v1, 0x24(sp) | *(var_24h_2) = v1;
0x00032a0c sw zero, 0x20(sp) | *(var_20h_2) = 0;
0x00032a10 sw zero, 0x1c(sp) | *(var_1ch_2) = 0;
0x00032a14 sw a0, 0x18(sp) | *(var_18h_7) = a0;
0x00032a18 sw v0, 0x10(sp) | *(var_10h_7) = v0;
0x00032a1c addiu a3, zero, 0x119 | a3 = 0x119;
0x00032a20 b 0x3292c | goto label_39;
| label_156:
0x00032a24 lw s0, 0x50(sp) | s0 = *(var_50h_2);
0x00032a28 sw zero, 0x98(sp) | *(var_98h) = 0;
| if (s0 != 0) {
0x00032a2c beqz s0, 0x32a48 |
0x00032a30 lw t9, -0x7f98(gp) | t9 = sym.log_get_max_level_realm;
0x00032a34 addiu a0, zero, 1 | a0 = 1;
0x00032a38 jalr t9 | t9 ();
0x00032a3c slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x00032a40 lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (v0 == 0) {
0x00032a44 beqz v0, 0x32c48 | goto label_169;
| }
| }
0x00032a48 move a0, zero | a0 = 0;
| label_44:
0x00032a4c move v0, zero | v0 = 0;
| label_45:
0x00032a50 lw v1, -0x7fcc(gp) | v1 = *(gp);
0x00032a54 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00032a58 lw v0, -0x7fcc(gp) | v0 = *(gp);
| /* str.Failed_to_get_bInterfaceClass_attribute:__m */
0x00032a5c addiu v1, v1, -0x11b8 | v1 += -0x11b8;
| /* esilref: 'builtin_usb_id' */
0x00032a60 addiu v0, v0, -0xe40 | v0 += -0xe40;
0x00032a64 lw t9, -0x7d6c(gp) | t9 = sym.log_object_internal;
0x00032a68 sw v1, 0x24(sp) | *(var_24h_2) = v1;
0x00032a6c sw zero, 0x20(sp) | *(var_20h_2) = 0;
0x00032a70 sw zero, 0x1c(sp) | *(var_1ch_2) = 0;
0x00032a74 sw a0, 0x18(sp) | *(var_18h_7) = a0;
0x00032a78 sw v0, 0x10(sp) | *(var_10h_7) = v0;
0x00032a7c addiu a3, zero, 0x11f | a3 = 0x11f;
0x00032a80 b 0x3292c | goto label_39;
| label_163:
0x00032a84 lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
0x00032a88 lw a0, 0x54(sp) | a0 = *(var_54h_2);
0x00032a8c move a2, s4 | a2 = s4;
| /* str.bcdDevice */
0x00032a90 addiu a1, a1, -0xfe8 | a1 += -0xfe8;
0x00032a94 jalr t9 | t9 ();
0x00032a98 lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (v0 < 0) {
0x00032a9c bltz v0, 0x325e8 | goto label_40;
| }
0x00032aa0 lw t9, -0x7d4c(gp) | t9 = sym.util_replace_whitespace;
0x00032aa4 addiu s7, sp, 0x11c | s7 = sp + aav.0x0000011c;
0x00032aa8 lw a0, 0x98(sp) | a0 = *(var_98h);
0x00032aac addiu a2, zero, 0x3f | a2 = 0x3f;
0x00032ab0 move a1, s7 | a1 = s7;
0x00032ab4 sw s7, 0x44(sp) | *(var_44h_2) = s7;
0x00032ab8 jalr t9 | t9 ();
0x00032abc lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032ac0 move a1, zero | a1 = 0;
0x00032ac4 lw t9, -0x7d40(gp) | t9 = sym.util_replace_chars;
0x00032ac8 move a0, s7 | a0 = s7;
0x00032acc jalr t9 | t9 ();
0x00032ad0 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032ad4 b 0x325f0 | goto label_41;
| label_46:
0x00032ae0 lw t9, -0x6fdc(gp) | t9 = sym.imp.strncpy;
0x00032ae4 addiu a2, zero, 0x3f | a2 = 0x3f;
0x00032ae8 addiu a0, sp, 0x15c | a0 = sp + aav.0x0000015c;
0x00032aec jalr t9 | t9 ();
0x00032af0 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032af4 move s5, zero | s5 = 0;
0x00032af8 sb zero, 0x19a(sp) | *(var_19ah) = 0;
| label_50:
0x00032afc lw s6, 0x50(sp) | s6 = *(var_50h_2);
0x00032b00 sw zero, 0x98(sp) | *(var_98h) = 0;
| if (s6 != 0) {
0x00032b04 beqz s6, 0x32b20 |
0x00032b08 lw t9, -0x7f98(gp) | t9 = sym.log_get_max_level_realm;
0x00032b0c addiu a0, zero, 1 | a0 = 1;
0x00032b10 jalr t9 | t9 ();
0x00032b14 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x00032b18 lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (v0 == 0) {
0x00032b1c beqz v0, 0x32c20 | goto label_170;
| }
| }
0x00032b20 move t0, zero | t0 = 0;
| do {
0x00032b24 move v0, zero | v0 = 0;
| label_43:
0x00032b28 lw s7, -0x7fcc(gp) | s7 = *(gp);
0x00032b2c lw v1, -0x7fcc(gp) | v1 = *(gp);
0x00032b30 lw fp, -0x7fcc(gp) | fp = *(gp);
0x00032b34 lw t9, -0x7d6c(gp) | t9 = sym.log_object_internal;
| /* str.if_class:_d_protocol:_d */
0x00032b38 addiu v1, v1, -0x1178 | v1 += -0x1178;
| /* esilref: 'builtin_usb_id' */
0x00032b3c addiu s7, s7, -0xe40 | s7 += -0xe40;
0x00032b40 addiu a3, zero, 0x129 | a3 = 0x129;
| /* esilref: 'src/udev/udev-builtin-usb_id.c' */
0x00032b44 addiu a2, fp, -0x1309 | a2 = fp + -0x1309;
0x00032b48 move a1, zero | a1 = 0;
0x00032b4c addiu a0, zero, 7 | a0 = 7;
0x00032b50 sw s3, 0x28(sp) | *(var_28h_2) = s3;
0x00032b54 sw v1, 0x24(sp) | *(var_24h_2) = v1;
0x00032b58 sw t0, 0x18(sp) | *(var_18h_7) = t0;
0x00032b5c sw s5, 0x2c(sp) | *(var_2ch_3) = s5;
0x00032b60 sw zero, 0x20(sp) | *(var_20h_2) = 0;
0x00032b64 sw zero, 0x1c(sp) | *(var_1ch_2) = 0;
0x00032b68 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00032b6c sw s7, 0x10(sp) | *(var_10h_7) = s7;
0x00032b70 jalr t9 | t9 ();
0x00032b74 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032b78 lw a0, 0x50(sp) | a0 = *(var_50h_2);
0x00032b7c addiu a3, sp, 0x54 | a3 = sp + 0x54;
0x00032b80 lw a2, -0x7fcc(gp) | a2 = *(gp);
0x00032b84 lw t9, -0x7b9c(gp) | t9 = sym.sd_device_get_parent_with_subsystem_devtype;
| /* str.usb_device */
0x00032b88 addiu a2, a2, -0x44b0 | a2 += -0x44b0;
| /* esilref: 'usb' */
0x00032b8c addiu a1, s4, -0x44b4 | a1 = s4 + -0x44b4;
0x00032b90 jalr t9 | t9 ();
0x00032b94 move s3, v0 | s3 = v0;
0x00032b98 lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (v0 < 0) {
0x00032b9c bltz v0, 0x32d1c | goto label_171;
| }
0x00032ba0 lw t9, -0x7b98(gp) | t9 = *(gp);
0x00032ba4 addiu s3, sp, 0x6dc | s3 = sp + 0x6dc;
0x00032ba8 lw a0, 0x54(sp) | a0 = *(var_54h_2);
0x00032bac addiu t9, t9, 0x1c70 | t9 += 0x1c70;
0x00032bb0 move a1, s3 | a1 = s3;
0x00032bb4 bal 0x31c70 | fcn_31c70 ();
| goto label_36;
0x00032bb8 addiu v0, zero, 2 | v0 = 2;
0x00032bbc lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (s5 == v0) {
0x00032bc0 beq s5, v0, 0x32ff0 | goto label_172;
| }
0x00032bc4 addiu v0, zero, 6 | v0 = 6;
0x00032bc8 lw a0, 0x54(sp) | a0 = *(var_54h_2);
| if (s5 == v0) {
0x00032bcc beq s5, v0, 0x32ff0 | goto label_172;
| }
0x00032bd0 addiu v1, sp, 0x90 | v1 = sp + 0x90;
0x00032bd4 b 0x3256c | goto label_42;
| label_170:
0x00032c20 lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x00032c24 addiu a1, sp, 0x98 | a1 = sp + 0x98;
0x00032c28 move a0, s6 | a0 = s6;
0x00032c2c jalr t9 | t9 ();
0x00032c30 lw t0, 0x98(sp) | t0 = *(var_98h);
0x00032c34 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032c38 beqz t0, 0x32b24 |
| } while (t0 == 0);
0x00032c3c lw v0, -0x7fcc(gp) | v0 = *(gp);
| /* str.DEVICE */
0x00032c40 addiu v0, v0, -0x7118 | v0 += -0x7118;
0x00032c44 b 0x32b28 | goto label_43;
| label_169:
0x00032c48 lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x00032c4c move a0, s0 | a0 = s0;
0x00032c50 addiu a1, sp, 0x98 | a1 = sp + 0x98;
0x00032c54 jalr t9 | t9 ();
0x00032c58 lw a0, 0x98(sp) | a0 = *(var_98h);
0x00032c5c lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (a0 == 0) {
0x00032c60 beqz a0, 0x32a4c | goto label_44;
| }
0x00032c64 lw v0, -0x7fcc(gp) | v0 = *(gp);
| /* str.DEVICE */
0x00032c68 addiu v0, v0, -0x7118 | v0 += -0x7118;
0x00032c6c b 0x32a50 | goto label_45;
| label_158:
0x00032c70 lw a1, -0x7fcc(gp) | a1 = *(gp);
| /* str.generic */
0x00032c74 addiu a1, a1, -0x125c | a1 += -0x125c;
0x00032c78 b 0x32ae0 | goto label_46;
| label_159:
0x00032c7c lw s0, 0x54(sp) | s0 = *(var_54h_2);
0x00032c80 sw zero, 0x98(sp) | *(var_98h) = 0;
| if (s0 != 0) {
0x00032c84 beqz s0, 0x32ca0 |
0x00032c88 lw t9, -0x7f98(gp) | t9 = sym.log_get_max_level_realm;
0x00032c8c addiu a0, zero, 1 | a0 = 1;
0x00032c90 jalr t9 | t9 ();
0x00032c94 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x00032c98 lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (v0 == 0) {
0x00032c9c beqz v0, 0x32cf4 | goto label_173;
| }
| }
0x00032ca0 move a0, zero | a0 = 0;
| do {
0x00032ca4 move v1, zero | v1 = 0;
| label_48:
0x00032ca8 lw v0, -0x7fcc(gp) | v0 = *(gp);
0x00032cac lw t9, -0x7d6c(gp) | t9 = sym.log_object_internal;
| /* str.Failed_to_get_idVendor_attribute:__m */
0x00032cb0 addiu v0, v0, -0x1050 | v0 += -0x1050;
0x00032cb4 sw v0, 0x24(sp) | *(var_24h_2) = v0;
0x00032cb8 lw v0, -0x7fcc(gp) | v0 = *(gp);
0x00032cbc sw zero, 0x20(sp) | *(var_20h_2) = 0;
| /* esilref: 'builtin_usb_id' */
0x00032cc0 addiu v0, v0, -0xe40 | v0 += -0xe40;
0x00032cc4 sw zero, 0x1c(sp) | *(var_1ch_2) = 0;
0x00032cc8 sw a0, 0x18(sp) | *(var_18h_7) = a0;
0x00032ccc sw v1, 0x14(sp) | *(var_14h) = v1;
0x00032cd0 sw v0, 0x10(sp) | *(var_10h_7) = v0;
0x00032cd4 addiu a3, zero, 0x172 | a3 = 0x172;
| label_51:
0x00032cd8 lw a2, -0x7fcc(gp) | a2 = *(gp);
0x00032cdc move a1, s4 | a1 = s4;
| /* esilref: 'src/udev/udev-builtin-usb_id.c' */
0x00032ce0 addiu a2, a2, -0x1309 | a2 += -0x1309;
0x00032ce4 addiu a0, zero, 7 | a0 = 7;
0x00032ce8 jalr t9 | t9 ();
0x00032cec lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032cf0 b 0x3289c | goto label_47;
| label_173:
0x00032cf4 lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x00032cf8 move a0, s0 | a0 = s0;
0x00032cfc addiu a1, sp, 0x98 | a1 = sp + 0x98;
0x00032d00 jalr t9 | t9 ();
0x00032d04 lw a0, 0x98(sp) | a0 = *(var_98h);
0x00032d08 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032d0c beqz a0, 0x32ca4 |
| } while (a0 == 0);
0x00032d10 lw v1, -0x7fcc(gp) | v1 = *(gp);
| /* str.DEVICE */
0x00032d14 addiu v1, v1, -0x7118 | v1 += -0x7118;
0x00032d18 b 0x32ca8 | goto label_48;
| label_171:
0x00032d1c lw s0, 0x50(sp) | s0 = *(var_50h_2);
0x00032d20 sw zero, 0x98(sp) | *(var_98h) = 0;
| if (s0 != 0) {
0x00032d24 beqz s0, 0x32d40 |
0x00032d28 lw t9, -0x7f98(gp) | t9 = sym.log_get_max_level_realm;
0x00032d2c addiu a0, zero, 1 | a0 = 1;
0x00032d30 jalr t9 | t9 ();
0x00032d34 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x00032d38 lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (v0 == 0) {
0x00032d3c beqz v0, 0x32d88 | goto label_174;
| }
| }
0x00032d40 move a0, zero | a0 = 0;
| do {
0x00032d44 move v1, zero | v1 = 0;
| label_49:
0x00032d48 lw v0, -0x7fcc(gp) | v0 = *(gp);
0x00032d4c lw t9, -0x7d6c(gp) | t9 = sym.log_object_internal;
| /* str.Failed_to_find_parent_usb_device */
0x00032d50 addiu v0, v0, -0x1160 | v0 += -0x1160;
0x00032d54 sw a0, 0x18(sp) | *(var_18h_7) = a0;
0x00032d58 sw v0, 0x24(sp) | *(var_24h_2) = v0;
0x00032d5c sw zero, 0x20(sp) | *(var_20h_2) = 0;
0x00032d60 sw zero, 0x1c(sp) | *(var_1ch_2) = 0;
0x00032d64 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00032d68 sw s7, 0x10(sp) | *(var_10h_7) = s7;
0x00032d6c addiu a3, zero, 0x12e | a3 = 0x12e;
| /* esilref: 'src/udev/udev-builtin-usb_id.c' */
0x00032d70 addiu a2, fp, -0x1309 | a2 = fp + -0x1309;
0x00032d74 move a1, s3 | a1 = s3;
0x00032d78 addiu a0, zero, 7 | a0 = 7;
0x00032d7c jalr t9 | t9 ();
0x00032d80 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032d84 b 0x3289c | goto label_47;
| label_174:
0x00032d88 lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x00032d8c move a0, s0 | a0 = s0;
0x00032d90 addiu a1, sp, 0x98 | a1 = sp + 0x98;
0x00032d94 jalr t9 | t9 ();
0x00032d98 lw a0, 0x98(sp) | a0 = *(var_98h);
0x00032d9c lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032da0 beqz a0, 0x32d44 |
| } while (a0 == 0);
0x00032da4 lw v1, -0x7fcc(gp) | v1 = *(gp);
| /* str.DEVICE */
0x00032da8 addiu v1, v1, -0x7118 | v1 += -0x7118;
0x00032dac b 0x32d48 | goto label_49;
| label_157:
0x00032db0 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00032db4 lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
0x00032db8 lw a0, 0x50(sp) | a0 = *(var_50h_2);
0x00032dbc addiu a2, sp, 0x5c | a2 = sp + 0x5c;
| /* str.bInterfaceSubClass */
0x00032dc0 addiu a1, a1, -0x118c | a1 += -0x118c;
0x00032dc4 jalr t9 | t9 ();
0x00032dc8 lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (v0 >= 0) {
0x00032dcc bgez v0, 0x3311c | goto label_175;
| }
0x00032dd0 move s5, zero | s5 = 0;
0x00032dd4 b 0x32afc | goto label_50;
| label_165:
0x00032dd8 move v0, zero | v0 = 0;
0x00032ddc b 0x3289c | goto label_47;
| label_160:
0x00032de0 lw s0, 0x54(sp) | s0 = *(var_54h_2);
0x00032de4 sw zero, 0x98(sp) | *(var_98h) = 0;
| if (s0 != 0) {
0x00032de8 beqz s0, 0x32e04 |
0x00032dec lw t9, -0x7f98(gp) | t9 = sym.log_get_max_level_realm;
0x00032df0 addiu a0, zero, 1 | a0 = 1;
0x00032df4 jalr t9 | t9 ();
0x00032df8 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x00032dfc lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (v0 == 0) {
0x00032e00 beqz v0, 0x32e40 | goto label_176;
| }
| }
0x00032e04 move a0, zero | a0 = 0;
| do {
0x00032e08 move v1, zero | v1 = 0;
| label_52:
0x00032e0c lw v0, -0x7fcc(gp) | v0 = *(gp);
0x00032e10 lw t9, -0x7d6c(gp) | t9 = sym.log_object_internal;
| /* str.Failed_to_get_idProduct_attribute:__m */
0x00032e14 addiu v0, v0, -0x1028 | v0 += -0x1028;
0x00032e18 sw v0, 0x24(sp) | *(var_24h_2) = v0;
0x00032e1c lw v0, -0x7fcc(gp) | v0 = *(gp);
0x00032e20 sw zero, 0x20(sp) | *(var_20h_2) = 0;
| /* esilref: 'builtin_usb_id' */
0x00032e24 addiu v0, v0, -0xe40 | v0 += -0xe40;
0x00032e28 sw zero, 0x1c(sp) | *(var_1ch_2) = 0;
0x00032e2c sw a0, 0x18(sp) | *(var_18h_7) = a0;
0x00032e30 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00032e34 sw v0, 0x10(sp) | *(var_10h_7) = v0;
0x00032e38 addiu a3, zero, 0x176 | a3 = 0x176;
0x00032e3c b 0x32cd8 | goto label_51;
| label_176:
0x00032e40 lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x00032e44 move a0, s0 | a0 = s0;
0x00032e48 addiu a1, sp, 0x98 | a1 = sp + 0x98;
0x00032e4c jalr t9 | t9 ();
0x00032e50 lw a0, 0x98(sp) | a0 = *(var_98h);
0x00032e54 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032e58 beqz a0, 0x32e08 |
| } while (a0 == 0);
0x00032e5c lw v1, -0x7fcc(gp) | v1 = *(gp);
| /* str.DEVICE */
0x00032e60 addiu v1, v1, -0x7118 | v1 += -0x7118;
0x00032e64 b 0x32e0c | goto label_52;
| label_164:
0x00032e68 lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
0x00032e6c lw a0, 0x54(sp) | a0 = *(var_54h_2);
0x00032e70 move a2, s4 | a2 = s4;
| /* str.serial */
0x00032e74 addiu a1, a1, -0xfdc | a1 += -0xfdc;
0x00032e78 jalr t9 | t9 ();
0x00032e7c lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (v0 < 0) {
0x00032e80 bltz v0, 0x325fc | goto label_53;
| }
0x00032e84 lw a0, 0x98(sp) | a0 = *(var_98h);
0x00032e88 lbu v0, (a0) | v0 = *(a0);
0x00032e8c addiu v1, v0, -0x20 | v1 = v0 + -0x20;
| if (v0 == 0) {
0x00032e90 beqz v0, 0x32ed4 | goto label_177;
| }
0x00032e94 sltiu v1, v1, 0x60 | v1 = (v1 < 0x60) ? 1 : 0;
0x00032e98 addiu v1, zero, 0x2c | v1 = 0x2c;
| if (v1 == 0) {
0x00032e9c beqz v1, 0x325fc | goto label_53;
| }
0x00032ea0 move a1, a0 | a1 = a0;
| if (v0 == v1) {
0x00032ea4 beq v0, v1, 0x325fc | goto label_53;
| }
0x00032ea8 addiu a2, zero, 0x2c | a2 = 0x2c;
0x00032eac b 0x32ec4 | goto label_178;
| label_56:
0x00032eb0 sltiu v1, v1, 0x60 | v1 = (v1 < 0x60) ? 1 : 0;
0x00032eb4 lw fp, -0x7fd4(gp) | fp = *(gp);
| if (v1 == 0) {
0x00032eb8 beqz v1, 0x32600 | goto label_54;
| }
0x00032ebc lw t9, -0x7d28(gp) | t9 = sym.strpcpyl;
| if (v0 == a2) {
0x00032ec0 beq v0, a2, 0x32604 | goto label_55;
| }
| label_178:
0x00032ec4 addiu a1, a1, 1 | a1++;
0x00032ec8 lbu v0, (a1) | v0 = *(a1);
0x00032ecc addiu v1, v0, -0x20 | v1 = v0 + -0x20;
| if (v0 != 0) {
0x00032ed0 bnez v0, 0x32eb0 | goto label_56;
| }
| label_177:
0x00032ed4 lw t9, -0x7d4c(gp) | t9 = sym.util_replace_whitespace;
0x00032ed8 addiu s7, sp, 0x4dc | s7 = sp + aav.0x000004dc;
0x00032edc addiu a2, zero, 0x1ff | a2 = 0x1ff;
0x00032ee0 move a1, s7 | a1 = s7;
0x00032ee4 jalr t9 | t9 ();
0x00032ee8 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032eec move a1, zero | a1 = 0;
0x00032ef0 lw t9, -0x7d40(gp) | t9 = sym.util_replace_chars;
0x00032ef4 move a0, s7 | a0 = s7;
0x00032ef8 jalr t9 | t9 ();
0x00032efc lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032f00 b 0x325fc | goto label_53;
| label_162:
0x00032f04 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00032f08 lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
0x00032f0c lw a0, 0x54(sp) | a0 = *(var_54h_2);
0x00032f10 move a2, s4 | a2 = s4;
| /* str.product */
0x00032f14 addiu a1, a1, -0xff0 | a1 += -0xff0;
0x00032f18 jalr t9 | t9 ();
0x00032f1c lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (v0 < 0) {
0x00032f20 bltz v0, 0x331d0 | goto label_179;
| }
0x00032f24 lw a0, 0x98(sp) | a0 = *(var_98h);
| label_61:
0x00032f28 lw t9, -0x7b60(gp) | t9 = sym.udev_util_encode_string;
0x00032f2c addiu v0, sp, 0x2dc | v0 = sp + aav.0x000002dc;
0x00032f30 addiu a2, zero, 0x100 | a2 = aav.0x00000100;
0x00032f34 move a1, v0 | a1 = v0;
0x00032f38 sw v0, 0x40(sp) | *(var_40h_2) = v0;
0x00032f3c jalr t9 | t9 ();
0x00032f40 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032f44 addiu s6, sp, 0xdc | s6 = sp + 0xdc;
0x00032f48 lw a0, 0x98(sp) | a0 = *(var_98h);
0x00032f4c lw t9, -0x7d4c(gp) | t9 = sym.util_replace_whitespace;
0x00032f50 addiu a2, zero, 0x3f | a2 = 0x3f;
0x00032f54 move a1, s6 | a1 = s6;
0x00032f58 jalr t9 | t9 ();
0x00032f5c lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032f60 move a1, zero | a1 = 0;
0x00032f64 lw t9, -0x7d40(gp) | t9 = sym.util_replace_chars;
0x00032f68 move a0, s6 | a0 = s6;
0x00032f6c jalr t9 | t9 ();
0x00032f70 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032f74 b 0x325dc | goto label_57;
| label_161:
0x00032f78 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00032f7c lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
0x00032f80 addiu s4, sp, 0x98 | s4 = sp + 0x98;
0x00032f84 lw a0, 0x54(sp) | a0 = *(var_54h_2);
0x00032f88 move a2, s4 | a2 = s4;
| /* str.manufacturer */
0x00032f8c addiu a1, a1, -0x1000 | a1 += -0x1000;
0x00032f90 jalr t9 | t9 ();
0x00032f94 lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (v0 < 0) {
0x00032f98 bltz v0, 0x331c4 | goto label_180;
| }
0x00032f9c lw a0, 0x98(sp) | a0 = *(var_98h);
| label_60:
0x00032fa0 lw t9, -0x7b60(gp) | t9 = sym.udev_util_encode_string;
0x00032fa4 addiu v0, sp, 0x1dc | v0 = sp + aav.0x000001dc;
0x00032fa8 addiu a2, zero, 0x100 | a2 = aav.0x00000100;
0x00032fac move a1, v0 | a1 = v0;
0x00032fb0 sw v0, 0x3c(sp) | *(var_3ch_2) = v0;
0x00032fb4 jalr t9 | t9 ();
0x00032fb8 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032fbc addiu s5, sp, 0x9c | s5 = sp + 0x9c;
0x00032fc0 lw a0, 0x98(sp) | a0 = *(var_98h);
0x00032fc4 lw t9, -0x7d4c(gp) | t9 = sym.util_replace_whitespace;
0x00032fc8 addiu a2, zero, 0x3f | a2 = 0x3f;
0x00032fcc move a1, s5 | a1 = s5;
0x00032fd0 jalr t9 | t9 ();
0x00032fd4 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032fd8 move a1, zero | a1 = 0;
0x00032fdc lw t9, -0x7d40(gp) | t9 = sym.util_replace_chars;
0x00032fe0 move a0, s5 | a0 = s5;
0x00032fe4 jalr t9 | t9 ();
0x00032fe8 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00032fec b 0x325c8 | goto label_58;
| label_172:
0x00032ff0 lw a2, -0x7fcc(gp) | a2 = *(gp);
0x00032ff4 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00032ff8 lw t9, -0x7b9c(gp) | t9 = sym.sd_device_get_parent_with_subsystem_devtype;
0x00032ffc addiu a3, sp, 0x70 | a3 = sp + 0x70;
| /* str.scsi_device */
0x00033000 addiu a2, a2, -0x1604 | a2 += -0x1604;
| /* str.scsi */
0x00033004 addiu a1, a1, -0x16f4 | a1 += -0x16f4;
0x00033008 move a0, s0 | a0 = s0;
0x0003300c jalr t9 | t9 ();
0x00033010 move s4, v0 | s4 = v0;
0x00033014 lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (v0 < 0) {
0x00033018 bltz v0, 0x331dc | goto label_181;
| }
0x0003301c lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x00033020 lw a0, 0x70(sp) | a0 = *(var_70h_4);
0x00033024 addiu a1, sp, 0x74 | a1 = sp + 0x74;
0x00033028 jalr t9 | t9 ();
0x0003302c lw gp, 0x30(sp) | gp = *(var_30h_4);
| if (v0 < 0) {
0x00033030 bltz v0, 0x33270 | goto label_182;
| }
0x00033034 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00033038 addiu v1, sp, 0x90 | v1 = sp + 0x90;
0x0003303c lw t9, -0x7074(gp) | t9 = *(gp);
0x00033040 lw a0, 0x74(sp) | a0 = *(var_74h_4);
0x00033044 addiu v0, sp, 0x94 | v0 = sp + 0x94;
0x00033048 sw v1, 0x10(sp) | *(var_10h_7) = v1;
0x0003304c sw v1, 0x3c(sp) | *(var_3ch_2) = v1;
0x00033050 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00033054 addiu a3, sp, 0x8c | a3 = sp + 0x8c;
0x00033058 addiu a2, sp, 0x88 | a2 = sp + 0x88;
| /* str._d:_d:_d:_d */
0x0003305c addiu a1, a1, -0x1650 | a1 += -0x1650;
0x00033060 jalr t9 | t9 ();
0x00033064 addiu a0, zero, 4 | a0 = 4;
0x00033068 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x0003306c lw v1, 0x3c(sp) | v1 = *(var_3ch_2);
| if (v0 == a0) {
0x00033070 beq v0, a0, 0x3327c | goto label_183;
| }
0x00033074 lw s4, 0x70(sp) | s4 = *(var_70h_4);
0x00033078 sw zero, 0x98(sp) | *(var_98h) = 0;
| if (s4 != 0) {
0x0003307c beqz s4, 0x3309c |
0x00033080 lw t9, -0x7f98(gp) | t9 = sym.log_get_max_level_realm;
0x00033084 addiu a0, zero, 1 | a0 = 1;
0x00033088 jalr t9 | t9 ();
0x0003308c slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x00033090 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00033094 lw v1, 0x3c(sp) | v1 = *(var_3ch_2);
| if (v0 == 0) {
0x00033098 beqz v0, 0x330f0 | goto label_184;
| }
| }
0x0003309c move a1, zero | a1 = 0;
| do {
0x000330a0 move v0, zero | v0 = 0;
| label_59:
0x000330a4 lw a0, -0x7fcc(gp) | a0 = *(gp);
0x000330a8 lw t9, -0x7d6c(gp) | t9 = sym.log_object_internal;
| /* str.Invalid_SCSI_device */
0x000330ac addiu a0, a0, -0x1118 | a0 += -0x1118;
0x000330b0 sw v1, 0x3c(sp) | *(var_3ch_2) = v1;
0x000330b4 sw a0, 0x24(sp) | *(var_24h_2) = a0;
0x000330b8 sw a1, 0x18(sp) | *(var_18h_7) = a1;
0x000330bc addiu a0, zero, 7 | a0 = 7;
0x000330c0 sw zero, 0x20(sp) | *(var_20h_2) = 0;
0x000330c4 sw zero, 0x1c(sp) | *(var_1ch_2) = 0;
0x000330c8 sw v0, 0x14(sp) | *(var_14h) = v0;
0x000330cc sw s7, 0x10(sp) | *(var_10h_7) = s7;
0x000330d0 addiu a3, zero, 0x142 | a3 = 0x142;
| /* esilref: 'src/udev/udev-builtin-usb_id.c' */
0x000330d4 addiu a2, fp, -0x1309 | a2 = fp + -0x1309;
0x000330d8 move a1, zero | a1 = 0;
0x000330dc jalr t9 | t9 ();
0x000330e0 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x000330e4 lw v1, 0x3c(sp) | v1 = *(var_3ch_2);
0x000330e8 lw a0, 0x54(sp) | a0 = *(var_54h_2);
0x000330ec b 0x3256c | goto label_42;
| label_184:
0x000330f0 lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x000330f4 addiu a1, sp, 0x98 | a1 = sp + 0x98;
0x000330f8 move a0, s4 | a0 = s4;
0x000330fc jalr t9 | t9 ();
0x00033100 lw a1, 0x98(sp) | a1 = *(var_98h);
0x00033104 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00033108 lw v1, 0x3c(sp) | v1 = *(var_3ch_2);
0x0003310c beqz a1, 0x330a0 |
| } while (a1 == 0);
0x00033110 lw v0, -0x7fcc(gp) | v0 = *(gp);
| /* str.DEVICE */
0x00033114 addiu v0, v0, -0x7118 | v0 += -0x7118;
0x00033118 b 0x330a4 | goto label_59;
| label_175:
0x0003311c lw s6, 0x5c(sp) | s6 = *(var_5ch_4);
0x00033120 lw t9, -0x6f2c(gp) | t9 = sym.imp.strtoul;
0x00033124 move a2, zero | a2 = 0;
0x00033128 addiu a1, sp, 0x98 | a1 = sp + 0x98;
0x0003312c move a0, s6 | a0 = s6;
0x00033130 jalr t9 | t9 ();
0x00033134 lw v1, 0x98(sp) | v1 = *(var_98h);
0x00033138 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x0003313c move s5, v0 | s5 = v0;
| if (s6 == v1) {
0x00033140 beq s6, v1, 0x331b8 | goto label_185;
| }
0x00033144 sltiu v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x00033148 lw v0, -0x7fcc(gp) | v0 = *(gp);
| if (v0 == 0) {
0x0003314c beqz v0, 0x331b8 | goto label_185;
| }
0x00033150 sll v1, s5, 2 | v1 = s5 << 2;
0x00033154 addiu v0, v0, -0xec4 | v0 += -0xec4;
0x00033158 lwx v0, v1(v0) | __asm ("lwx v0, v1(v0)");
0x0003315c addu v0, v0, gp | v0 += gp;
0x00033160 jr v0 | v0 ();
0x00033164 nop |
| do {
0x00033170 lw t9, -0x7e08(gp) | t9 = sym.strscpy;
0x00033174 addiu a1, zero, 0x3f | a1 = 0x3f;
0x00033178 addiu a0, sp, 0x15c | a0 = sp + aav.0x0000015c;
0x0003317c jalr t9 | t9 ();
0x00033180 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00033184 b 0x32afc | goto label_50;
| label_185:
0x000331b8 lw a2, -0x7fcc(gp) | a2 = *(gp);
| /* str.generic */
0x000331bc addiu a2, a2, -0x125c | a2 += -0x125c;
0x000331c0 b 0x33170 |
| } while (1);
| label_180:
0x000331c4 lw a0, 0x90(sp) | a0 = *(var_90h);
0x000331c8 sw a0, 0x98(sp) | *(var_98h) = a0;
0x000331cc b 0x32fa0 | goto label_60;
| label_179:
0x000331d0 lw a0, 0x94(sp) | a0 = *(var_94h);
0x000331d4 sw a0, 0x98(sp) | *(var_98h) = a0;
0x000331d8 b 0x32f28 | goto label_61;
| label_181:
0x000331dc lw t9, -0x7f98(gp) | t9 = sym.log_get_max_level_realm;
0x000331e0 addiu a0, zero, 1 | a0 = 1;
0x000331e4 sw zero, 0x98(sp) | *(var_98h) = 0;
0x000331e8 jalr t9 | t9 ();
0x000331ec slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x000331f0 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x000331f4 move a0, zero | a0 = 0;
0x000331f8 beqz v0, 0x33248 |
| while (a0 == 0) {
0x000331fc move v1, zero | v1 = 0;
| label_62:
0x00033200 lw v0, -0x7fcc(gp) | v0 = *(gp);
0x00033204 lw t9, -0x7d6c(gp) | t9 = sym.log_object_internal;
| /* str.Unable_to_find_parent_SCSI_device */
0x00033208 addiu v0, v0, -0x113c | v0 += -0x113c;
0x0003320c sw a0, 0x18(sp) | *(var_18h_7) = a0;
0x00033210 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00033214 addiu a0, zero, 7 | a0 = 7;
0x00033218 sw v0, 0x24(sp) | *(var_24h_2) = v0;
0x0003321c sw zero, 0x20(sp) | *(var_20h_2) = 0;
0x00033220 sw zero, 0x1c(sp) | *(var_1ch_2) = 0;
0x00033224 sw s7, 0x10(sp) | *(var_10h_7) = s7;
0x00033228 addiu a3, zero, 0x13c | a3 = aav.0x0000013c;
| /* esilref: 'src/udev/udev-builtin-usb_id.c' */
0x0003322c addiu a2, fp, -0x1309 | a2 = fp + -0x1309;
0x00033230 move a1, s4 | a1 = s4;
0x00033234 jalr t9 | t9 ();
0x00033238 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x0003323c addiu v1, sp, 0x90 | v1 = sp + 0x90;
0x00033240 lw a0, 0x54(sp) | a0 = *(var_54h_2);
0x00033244 b 0x3256c | goto label_42;
0x00033248 lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x0003324c move a0, s0 | a0 = s0;
0x00033250 addiu a1, sp, 0x98 | a1 = sp + 0x98;
0x00033254 jalr t9 | t9 ();
0x00033258 lw a0, 0x98(sp) | a0 = *(var_98h);
0x0003325c lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00033260 beqz a0, 0x331fc |
| }
0x00033264 lw v1, -0x7fcc(gp) | v1 = *(gp);
| /* str.DEVICE */
0x00033268 addiu v1, v1, -0x7118 | v1 += -0x7118;
0x0003326c b 0x33200 | goto label_62;
| label_182:
0x00033270 addiu v1, sp, 0x90 | v1 = sp + 0x90;
0x00033274 lw a0, 0x54(sp) | a0 = *(var_54h_2);
0x00033278 b 0x3256c | goto label_42;
| label_183:
0x0003327c lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00033280 lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
0x00033284 lw a0, 0x70(sp) | a0 = *(var_70h_4);
0x00033288 sw v1, 0x3c(sp) | *(var_3ch_2) = v1;
0x0003328c addiu a2, sp, 0x7c | a2 = sp + 0x7c;
| /* esilref: 'vendor' */
0x00033290 addiu a1, a1, -0x21b0 | a1 += -0x21b0;
0x00033294 jalr t9 | t9 ();
0x00033298 move s4, v0 | s4 = v0;
0x0003329c lw gp, 0x30(sp) | gp = *(var_30h_4);
0x000332a0 lw v1, 0x3c(sp) | v1 = *(var_3ch_2);
| if (v0 >= 0) {
0x000332a4 bltz v0, 0x333f0 |
0x000332a8 lw t9, -0x7b60(gp) | t9 = sym.udev_util_encode_string;
0x000332ac lw a0, 0x7c(sp) | a0 = *(var_7ch_2);
0x000332b0 sw v1, 0x3c(sp) | *(var_3ch_2) = v1;
0x000332b4 addiu a2, zero, 0x100 | a2 = aav.0x00000100;
0x000332b8 addiu a1, sp, 0x1dc | a1 = sp + aav.0x000001dc;
0x000332bc jalr t9 | t9 ();
0x000332c0 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x000332c4 addiu s5, sp, 0x9c | s5 = sp + 0x9c;
0x000332c8 lw a0, 0x7c(sp) | a0 = *(var_7ch_2);
0x000332cc lw t9, -0x7d4c(gp) | t9 = sym.util_replace_whitespace;
0x000332d0 addiu a2, zero, 0x3f | a2 = 0x3f;
0x000332d4 move a1, s5 | a1 = s5;
0x000332d8 jalr t9 | t9 ();
0x000332dc lw gp, 0x30(sp) | gp = *(var_30h_4);
0x000332e0 move a1, zero | a1 = 0;
0x000332e4 lw t9, -0x7d40(gp) | t9 = sym.util_replace_chars;
0x000332e8 move a0, s5 | a0 = s5;
0x000332ec jalr t9 | t9 ();
0x000332f0 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x000332f4 lw a0, 0x70(sp) | a0 = *(var_70h_4);
0x000332f8 addiu a2, sp, 0x78 | a2 = sp + 0x78;
0x000332fc lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00033300 lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
| /* str.model */
0x00033304 addiu a1, a1, -0x10dc | a1 += -0x10dc;
0x00033308 jalr t9 | t9 ();
0x0003330c move s4, v0 | s4 = v0;
0x00033310 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00033314 lw v1, 0x3c(sp) | v1 = *(var_3ch_2);
| if (v0 < 0) {
0x00033318 bltz v0, 0x3346c | goto label_186;
| }
0x0003331c lw t9, -0x7b60(gp) | t9 = sym.udev_util_encode_string;
0x00033320 lw a0, 0x78(sp) | a0 = *(var_78h_2);
0x00033324 sw v1, 0x3c(sp) | *(var_3ch_2) = v1;
0x00033328 addiu a2, zero, 0x100 | a2 = aav.0x00000100;
0x0003332c addiu a1, sp, 0x2dc | a1 = sp + aav.0x000002dc;
0x00033330 jalr t9 | t9 ();
0x00033334 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00033338 addiu s6, sp, 0xdc | s6 = sp + 0xdc;
0x0003333c lw a0, 0x78(sp) | a0 = *(var_78h_2);
0x00033340 lw t9, -0x7d4c(gp) | t9 = sym.util_replace_whitespace;
0x00033344 addiu a2, zero, 0x3f | a2 = 0x3f;
0x00033348 move a1, s6 | a1 = s6;
0x0003334c jalr t9 | t9 ();
0x00033350 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00033354 move a1, zero | a1 = 0;
0x00033358 lw t9, -0x7d40(gp) | t9 = sym.util_replace_chars;
0x0003335c move a0, s6 | a0 = s6;
0x00033360 jalr t9 | t9 ();
0x00033364 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00033368 lw a0, 0x70(sp) | a0 = *(var_70h_4);
0x0003336c addiu a2, sp, 0x80 | a2 = sp + 0x80;
0x00033370 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00033374 lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
| /* esilref: 'type' */
0x00033378 addiu a1, a1, -0x6e90 | a1 += -0x6e90;
0x0003337c jalr t9 | t9 ();
0x00033380 move s4, v0 | s4 = v0;
0x00033384 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00033388 lw v1, 0x3c(sp) | v1 = *(var_3ch_2);
| if (v0 < 0) {
0x0003338c bltz v0, 0x335dc | goto label_187;
| }
0x00033390 lw s5, 0x80(sp) | s5 = *(var_80h);
0x00033394 lw t9, -0x6f2c(gp) | t9 = sym.imp.strtoul;
0x00033398 addiu s4, sp, 0x98 | s4 = sp + 0x98;
0x0003339c sw v1, 0x3c(sp) | *(var_3ch_2) = v1;
0x000333a0 move a0, s5 | a0 = s5;
0x000333a4 move a2, zero | a2 = 0;
0x000333a8 move a1, s4 | a1 = s4;
0x000333ac jalr t9 | t9 ();
0x000333b0 lw a0, 0x98(sp) | a0 = *(var_98h);
0x000333b4 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x000333b8 lw v1, 0x3c(sp) | v1 = *(var_3ch_2);
| if (s5 == a0) {
0x000333bc beq s5, a0, 0x33524 | goto label_188;
| }
0x000333c0 sltiu a0, v0, 0x10 | a0 = (v0 < 0x10) ? 1 : 0;
0x000333c4 sll a0, v0, 2 | a0 = v0 << 2;
| if (a0 == 0) {
0x000333c8 beqz a0, 0x33524 | goto label_188;
| }
0x000333cc lw v0, -0x7fcc(gp) | v0 = *(gp);
0x000333d0 addiu v0, v0, -0xea8 | v0 += -0xea8;
0x000333d4 lwx v0, a0(v0) | __asm ("lwx v0, a0(v0)");
0x000333d8 addu v0, v0, gp | v0 += gp;
0x000333dc jr v0 | v0 ();
0x000333e0 nop |
| label_166:
0x000333e4 lw t9, -0x6e2c(gp) | t9 = sym.imp.__stack_chk_fail;
0x000333e8 jalr t9 | t9 ();
0x000333ec nop |
| }
0x000333f0 lw s5, 0x70(sp) | s5 = *(var_70h_4);
0x000333f4 sw zero, 0x98(sp) | *(var_98h) = 0;
| if (s5 != 0) {
0x000333f8 beqz s5, 0x33418 |
0x000333fc lw t9, -0x7f98(gp) | t9 = sym.log_get_max_level_realm;
0x00033400 addiu a0, zero, 1 | a0 = 1;
0x00033404 jalr t9 | t9 ();
0x00033408 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x0003340c lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00033410 lw v1, 0x3c(sp) | v1 = *(var_3ch_2);
| if (v0 == 0) {
0x00033414 beqz v0, 0x334cc | goto label_189;
| }
| }
0x00033418 move a0, zero | a0 = 0;
| label_63:
0x0003341c move v0, zero | v0 = 0;
| label_64:
0x00033420 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00033424 lw t9, -0x7d6c(gp) | t9 = sym.log_object_internal;
| /* str.Failed_to_get_SCSI_vendor_attribute:__m */
0x00033428 addiu a1, a1, -0x1104 | a1 += -0x1104;
0x0003342c sw v1, 0x3c(sp) | *(var_3ch_2) = v1;
0x00033430 sw a1, 0x24(sp) | *(var_24h_2) = a1;
0x00033434 sw zero, 0x20(sp) | *(var_20h_2) = 0;
0x00033438 sw zero, 0x1c(sp) | *(var_1ch_2) = 0;
0x0003343c sw a0, 0x18(sp) | *(var_18h_7) = a0;
0x00033440 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00033444 sw s7, 0x10(sp) | *(var_10h_7) = s7;
0x00033448 addiu a3, zero, 0x149 | a3 = 0x149;
| do {
| label_67:
0x0003344c addiu a0, zero, 7 | a0 = 7;
0x00033450 addiu a2, fp, -0x1309 | a2 = fp + -0x1309;
0x00033454 move a1, s4 | a1 = s4;
0x00033458 jalr t9 | t9 ();
0x0003345c lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00033460 lw v1, 0x3c(sp) | v1 = *(var_3ch_2);
0x00033464 lw a0, 0x54(sp) | a0 = *(var_54h_2);
0x00033468 b 0x3256c | goto label_42;
| label_186:
0x0003346c lw s5, 0x70(sp) | s5 = *(var_70h_4);
0x00033470 sw zero, 0x98(sp) | *(var_98h) = 0;
| if (s5 != 0) {
0x00033474 beqz s5, 0x33494 |
0x00033478 lw t9, -0x7f98(gp) | t9 = sym.log_get_max_level_realm;
0x0003347c addiu a0, zero, 1 | a0 = 1;
0x00033480 jalr t9 | t9 ();
0x00033484 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x00033488 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x0003348c lw v1, 0x3c(sp) | v1 = *(var_3ch_2);
| if (v0 == 0) {
0x00033490 beqz v0, 0x334f8 | goto label_190;
| }
| }
0x00033494 move a0, zero | a0 = 0;
| label_65:
0x00033498 move v0, zero | v0 = 0;
| label_66:
0x0003349c lw a1, -0x7fcc(gp) | a1 = *(gp);
0x000334a0 sw v1, 0x3c(sp) | *(var_3ch_2) = v1;
| /* str.Failed_to_get_SCSI_model_attribute:__m */
0x000334a4 addiu a1, a1, -0x10d4 | a1 += -0x10d4;
0x000334a8 lw t9, -0x7d6c(gp) | t9 = sym.log_object_internal;
0x000334ac sw a1, 0x24(sp) | *(var_24h_2) = a1;
0x000334b0 sw zero, 0x20(sp) | *(var_20h_2) = 0;
0x000334b4 sw zero, 0x1c(sp) | *(var_1ch_2) = 0;
0x000334b8 sw a0, 0x18(sp) | *(var_18h_7) = a0;
0x000334bc sw v0, 0x14(sp) | *(var_14h) = v0;
0x000334c0 sw s7, 0x10(sp) | *(var_10h_7) = s7;
0x000334c4 addiu a3, zero, 0x152 | a3 = 0x152;
0x000334c8 b 0x3344c |
| } while (1);
| label_189:
0x000334cc lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x000334d0 move a0, s5 | a0 = s5;
0x000334d4 addiu a1, sp, 0x98 | a1 = sp + 0x98;
0x000334d8 jalr t9 | t9 ();
0x000334dc lw a0, 0x98(sp) | a0 = *(var_98h);
0x000334e0 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x000334e4 lw v1, 0x3c(sp) | v1 = *(var_3ch_2);
| if (a0 == 0) {
0x000334e8 beqz a0, 0x3341c | goto label_63;
| }
0x000334ec lw v0, -0x7fcc(gp) | v0 = *(gp);
| /* str.DEVICE */
0x000334f0 addiu v0, v0, -0x7118 | v0 += -0x7118;
0x000334f4 b 0x33420 | goto label_64;
| label_190:
0x000334f8 lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x000334fc move a0, s5 | a0 = s5;
0x00033500 addiu a1, sp, 0x98 | a1 = sp + 0x98;
0x00033504 jalr t9 | t9 ();
0x00033508 lw a0, 0x98(sp) | a0 = *(var_98h);
0x0003350c lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00033510 lw v1, 0x3c(sp) | v1 = *(var_3ch_2);
| if (a0 == 0) {
0x00033514 beqz a0, 0x33498 | goto label_65;
| }
0x00033518 lw v0, -0x7fcc(gp) | v0 = *(gp);
| /* str.DEVICE */
0x0003351c addiu v0, v0, -0x7118 | v0 += -0x7118;
0x00033520 b 0x3349c | goto label_66;
| label_188:
0x00033524 lw a2, -0x7fcc(gp) | a2 = *(gp);
| /* str.generic */
0x00033528 addiu a2, a2, -0x125c | a2 += -0x125c;
0x0003352c lw t9, -0x7e08(gp) | t9 = sym.strscpy;
0x00033530 sw v1, 0x3c(sp) | *(var_3ch_2) = v1;
0x00033534 addiu a1, zero, 0x3f | a1 = 0x3f;
0x00033538 addiu a0, sp, 0x15c | a0 = sp + aav.0x0000015c;
0x0003353c jalr t9 | t9 ();
0x00033540 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00033544 lw a0, 0x70(sp) | a0 = *(var_70h_4);
0x00033548 addiu a2, sp, 0x84 | a2 = sp + 0x84;
0x0003354c lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00033550 lw t9, -0x7f1c(gp) | t9 = sym.sd_device_get_sysattr_value;
| /* esilref: 'rev' */
0x00033554 addiu a1, a1, -0x2664 | a1 += -0x2664;
0x00033558 jalr t9 | t9 ();
0x0003355c move s5, v0 | s5 = v0;
0x00033560 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x00033564 lw v1, 0x3c(sp) | v1 = *(var_3ch_2);
| if (v0 < 0) {
0x00033568 bltz v0, 0x3363c | goto label_191;
| }
0x0003356c lw t9, -0x7d4c(gp) | t9 = sym.util_replace_whitespace;
0x00033570 addiu s4, sp, 0x11c | s4 = sp + aav.0x0000011c;
0x00033574 lw a0, 0x84(sp) | a0 = *(var_84h);
0x00033578 sw v1, 0x3c(sp) | *(var_3ch_2) = v1;
0x0003357c addiu a2, zero, 0x3f | a2 = 0x3f;
0x00033580 move a1, s4 | a1 = s4;
0x00033584 jalr t9 | t9 ();
0x00033588 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x0003358c move a1, zero | a1 = 0;
0x00033590 lw t9, -0x7d40(gp) | t9 = sym.util_replace_chars;
0x00033594 move a0, s4 | a0 = s4;
0x00033598 jalr t9 | t9 ();
0x0003359c lw gp, 0x30(sp) | gp = *(var_30h_4);
0x000335a0 lw v0, 0x94(sp) | v0 = *(var_94h);
0x000335a4 addiu a0, sp, 0x19c | a0 = sp + aav.0x0000019c;
0x000335a8 lw a3, -0x7fcc(gp) | a3 = *(gp);
0x000335ac sw v0, 0x14(sp) | *(var_14h) = v0;
0x000335b0 lw v0, 0x90(sp) | v0 = *(var_90h);
0x000335b4 lw t9, -0x7164(gp) | t9 = sym.imp.__sprintf_chk
0x000335b8 sw v0, 0x10(sp) | *(var_10h_7) = v0;
| /* str._d:_d */
0x000335bc addiu a3, a3, -0x1058 | a3 += -0x1058;
0x000335c0 addiu a2, zero, 0x40 | a2 = 0x40;
0x000335c4 addiu a1, zero, 1 | a1 = 1;
0x000335c8 jalr t9 | t9 ();
0x000335cc lw gp, 0x30(sp) | gp = *(var_30h_4);
0x000335d0 lw a0, 0x54(sp) | a0 = *(var_54h_2);
0x000335d4 lw v1, 0x3c(sp) | v1 = *(var_3ch_2);
0x000335d8 b 0x3256c | goto label_42;
| label_187:
0x000335dc lw s5, 0x70(sp) | s5 = *(var_70h_4);
0x000335e0 sw zero, 0x98(sp) | *(var_98h) = 0;
| if (s5 != 0) {
0x000335e4 beqz s5, 0x33604 |
0x000335e8 lw t9, -0x7f98(gp) | t9 = sym.log_get_max_level_realm;
0x000335ec addiu a0, zero, 1 | a0 = 1;
0x000335f0 jalr t9 | t9 ();
0x000335f4 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x000335f8 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x000335fc lw v1, 0x3c(sp) | v1 = *(var_3ch_2);
| if (v0 == 0) {
0x00033600 beqz v0, 0x336b8 | goto label_192;
| }
| }
0x00033604 move a0, zero | a0 = 0;
| do {
0x00033608 move v0, zero | v0 = 0;
| label_68:
0x0003360c lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00033610 sw v1, 0x3c(sp) | *(var_3ch_2) = v1;
| /* str.Failed_to_get_SCSI_type_attribute:__m */
0x00033614 addiu a1, a1, -0x10ac | a1 += -0x10ac;
0x00033618 lw t9, -0x7d6c(gp) | t9 = sym.log_object_internal;
0x0003361c sw a1, 0x24(sp) | *(var_24h_2) = a1;
0x00033620 sw zero, 0x20(sp) | *(var_20h_2) = 0;
0x00033624 sw zero, 0x1c(sp) | *(var_1ch_2) = 0;
0x00033628 sw a0, 0x18(sp) | *(var_18h_7) = a0;
0x0003362c sw v0, 0x14(sp) | *(var_14h) = v0;
0x00033630 sw s7, 0x10(sp) | *(var_10h_7) = s7;
0x00033634 addiu a3, zero, 0x15b | a3 = 0x15b;
0x00033638 b 0x3344c | goto label_67;
| label_191:
0x0003363c lw s6, 0x70(sp) | s6 = *(var_70h_4);
0x00033640 sw zero, 0x98(sp) | *(var_98h) = 0;
| if (s6 != 0) {
0x00033644 beqz s6, 0x33664 |
0x00033648 lw t9, -0x7f98(gp) | t9 = sym.log_get_max_level_realm;
0x0003364c addiu a0, zero, 1 | a0 = 1;
0x00033650 jalr t9 | t9 ();
0x00033654 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x00033658 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x0003365c lw v1, 0x3c(sp) | v1 = *(var_3ch_2);
| if (v0 == 0) {
0x00033660 beqz v0, 0x336e4 | goto label_193;
| }
| }
0x00033664 move a0, zero | a0 = 0;
| label_69:
0x00033668 move v0, zero | v0 = 0;
| label_70:
0x0003366c lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00033670 lw t9, -0x7d6c(gp) | t9 = sym.log_object_internal;
| /* str.Failed_to_get_SCSI_revision_attribute:__m */
0x00033674 addiu a1, a1, -0x1084 | a1 += -0x1084;
0x00033678 sw v1, 0x3c(sp) | *(var_3ch_2) = v1;
0x0003367c sw a1, 0x24(sp) | *(var_24h_2) = a1;
0x00033680 sw a0, 0x18(sp) | *(var_18h_7) = a0;
0x00033684 sw zero, 0x20(sp) | *(var_20h_2) = 0;
0x00033688 addiu a0, zero, 7 | a0 = 7;
0x0003368c sw zero, 0x1c(sp) | *(var_1ch_2) = 0;
0x00033690 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00033694 sw s7, 0x10(sp) | *(var_10h_7) = s7;
0x00033698 addiu a3, zero, 0x162 | a3 = 0x162;
| /* esilref: 'src/udev/udev-builtin-usb_id.c' */
0x0003369c addiu a2, fp, -0x1309 | a2 = fp + -0x1309;
0x000336a0 move a1, s5 | a1 = s5;
0x000336a4 jalr t9 | t9 ();
0x000336a8 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x000336ac lw v1, 0x3c(sp) | v1 = *(var_3ch_2);
0x000336b0 lw a0, 0x54(sp) | a0 = *(var_54h_2);
0x000336b4 b 0x3256c | goto label_42;
| label_192:
0x000336b8 lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x000336bc move a0, s5 | a0 = s5;
0x000336c0 addiu a1, sp, 0x98 | a1 = sp + 0x98;
0x000336c4 jalr t9 | t9 ();
0x000336c8 lw a0, 0x98(sp) | a0 = *(var_98h);
0x000336cc lw gp, 0x30(sp) | gp = *(var_30h_4);
0x000336d0 lw v1, 0x3c(sp) | v1 = *(var_3ch_2);
0x000336d4 beqz a0, 0x33608 |
| } while (a0 == 0);
0x000336d8 lw v0, -0x7fcc(gp) | v0 = *(gp);
| /* str.DEVICE */
0x000336dc addiu v0, v0, -0x7118 | v0 += -0x7118;
0x000336e0 b 0x3360c | goto label_68;
| label_193:
0x000336e4 lw t9, -0x7ee0(gp) | t9 = sym.sd_device_get_sysname;
0x000336e8 move a0, s6 | a0 = s6;
0x000336ec move a1, s4 | a1 = s4;
0x000336f0 jalr t9 | t9 ();
0x000336f4 lw a0, 0x98(sp) | a0 = *(var_98h);
0x000336f8 lw gp, 0x30(sp) | gp = *(var_30h_4);
0x000336fc lw v1, 0x3c(sp) | v1 = *(var_3ch_2);
| if (a0 == 0) {
0x00033700 beqz a0, 0x33668 | goto label_69;
| }
0x00033704 lw v0, -0x7fcc(gp) | v0 = *(gp);
| /* str.DEVICE */
0x00033708 addiu v0, v0, -0x7118 | v0 += -0x7118;
0x0003370c b 0x3366c | goto label_70;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/udevadm @ 0x5d410 */
| #include <stdint.h>
|
; (fcn) fcn.0005d410 () | void fcn_0005d410 () {
0x0005d410 lui gp, 0xa |
0x0005d414 addiu gp, gp, 0x1e70 |
0x0005d418 addu gp, gp, t9 | gp += t9;
0x0005d41c addiu sp, sp, -0x88 |
0x0005d420 lw v0, -0x6de8(gp) | v0 = *((gp - 7034));
0x0005d424 sw fp, 0x80(sp) | *(var_80h) = fp;
0x0005d428 move fp, sp | fp = sp;
0x0005d42c sw ra, 0x84(sp) | *(var_84h) = ra;
0x0005d430 sw s7, 0x7c(sp) | *(var_7ch) = s7;
0x0005d434 sw s6, 0x78(sp) | *(var_78h) = s6;
0x0005d438 sw s5, 0x74(sp) | *(var_74h) = s5;
0x0005d43c sw s4, 0x70(sp) | *(var_70h) = s4;
0x0005d440 sw s3, 0x6c(sp) | *(var_6ch) = s3;
0x0005d444 sw s2, 0x68(sp) | *(var_68h) = s2;
0x0005d448 sw s1, 0x64(sp) | *(var_64h) = s1;
0x0005d44c sw s0, 0x60(sp) | *(var_60h) = s0;
0x0005d450 sw gp, 0x18(sp) | *(var_18h) = gp;
0x0005d454 sw v0, 0x38(fp) | *(var_38h) = v0;
0x0005d458 lw v0, (v0) | v0 = *(v0);
0x0005d45c sw a3, 0x3c(fp) | *(var_3ch) = a3;
0x0005d460 sw v0, 0x5c(fp) | *(var_5ch_2) = v0;
0x0005d464 lw v0, -0x7fcc(gp) | v0 = *(gp);
| if (a0 == 0) {
0x0005d468 beqz a0, 0x5d94c | goto label_9;
| }
0x0005d46c lw s7, -0x7fd4(gp) | s7 = *(gp);
0x0005d470 lw s4, -0x7fcc(gp) | s4 = *(gp);
0x0005d474 lw t9, -0x6f38(gp) | t9 = sym.imp.strlen;
| /* str._sys_ */
0x0005d478 addiu s7, s7, 0x6614 | s7 += 0x6614;
0x0005d47c addiu s4, s4, 0x2474 | s4 += 0x2474;
0x0005d480 move s1, a0 | s1 = a0;
0x0005d484 sw s7, 0x50(fp) | *(var_50h_2) = s7;
0x0005d488 move a0, a1 | a0 = a1;
0x0005d48c sw a1, 0x54(fp) | *(var_54h_2) = a1;
0x0005d490 sw s4, 0x58(fp) | *(var_58h_2) = s4;
0x0005d494 move s6, a2 | s6 = a2;
0x0005d498 jalr t9 | t9 ();
0x0005d49c lui a0, 0x40 | a0 = 0x400000;
| /* esilref: 'YPE' */
0x0005d4a0 addiu v1, v0, 7 | v1 = v0 + 7;
0x0005d4a4 addiu a0, a0, 1 | a0++;
0x0005d4a8 sltu v1, v1, a0 | v1 = (v1 < a0) ? 1 : 0;
0x0005d4ac lw gp, 0x18(fp) | gp = *(var_18h);
| if (v1 == 0) {
0x0005d4b0 beqz v1, 0x5d970 | goto label_10;
| }
| /* esilref: 'RT_ENTRY_' */
0x0005d4b4 addiu v0, v0, 0xe | v0 += 0xe;
0x0005d4b8 srl v0, v0, 3 | v0 >>= 3;
0x0005d4bc sll v0, v0, 3 | v0 <<= 3;
0x0005d4c0 subu sp, sp, v0 |
0x0005d4c4 addiu s3, sp, 0x18 | s3 = sp + 0x18;
0x0005d4c8 addiu s0, fp, 0x50 | s0 = fp + 0x50;
0x0005d4cc move s5, s0 | s5 = s0;
0x0005d4d0 addiu s2, fp, 0x58 | s2 = fp + 0x58;
0x0005d4d4 move v0, s3 | v0 = s3;
0x0005d4d8 move a1, s7 | a1 = s7;
0x0005d4dc lw t9, -0x6e28(gp) | t9 = sym.imp.stpcpy;
| do {
0x0005d4e0 move a0, v0 | a0 = v0;
0x0005d4e4 jalr t9 | t9 ();
0x0005d4e8 lw gp, 0x18(fp) | gp = *(var_18h);
| if (s2 == s5) {
0x0005d4ec beq s2, s5, 0x5d500 | goto label_11;
| }
0x0005d4f0 addiu s5, s5, 4 | s5 += 4;
0x0005d4f4 lw a1, (s5) | a1 = *(s5);
0x0005d4f8 lw t9, -0x6e28(gp) | t9 = sym.imp.stpcpy;
0x0005d4fc bnez a1, 0x5d4e0 |
| } while (a1 != 0);
| label_11:
0x0005d500 move s5, s0 | s5 = s0;
| if (s6 == 0) {
0x0005d504 beqz s6, 0x5d8cc | goto label_12;
| }
0x0005d508 sw s6, 0x54(fp) | *(var_54h_2) = s6;
0x0005d50c sw s3, 0x50(fp) | *(var_50h_2) = s3;
0x0005d510 sw s4, 0x58(fp) | *(var_58h_2) = s4;
0x0005d514 move s6, s0 | s6 = s0;
0x0005d518 move a0, s3 | a0 = s3;
0x0005d51c move s7, zero | s7 = 0;
0x0005d520 lw t9, -0x6f38(gp) | t9 = sym.imp.strlen;
| do {
0x0005d524 jalr t9 | t9 ();
0x0005d528 nop |
0x0005d52c addu s7, s7, v0 | s7 += v0;
0x0005d530 lw gp, 0x18(fp) | gp = *(var_18h);
| if (s5 == s2) {
0x0005d534 beq s5, s2, 0x5d548 | goto label_13;
| }
0x0005d538 addiu s5, s5, 4 | s5 += 4;
0x0005d53c lw a0, (s5) | a0 = *(s5);
0x0005d540 lw t9, -0x6f38(gp) | t9 = sym.imp.strlen;
0x0005d544 bnez a0, 0x5d524 |
| } while (a0 != 0);
| label_13:
0x0005d548 lui v1, 0x40 | v1 = 0x400000;
0x0005d54c addiu v0, s7, 1 | v0 = s7 + 1;
0x0005d550 addiu v1, v1, 1 | v1++;
0x0005d554 sltu v0, v0, v1 | v0 = (v0 < v1) ? 1 : 0;
0x0005d558 lw v0, -0x7fcc(gp) | v0 = *(gp);
| if (v0 == 0) {
0x0005d55c beqz v0, 0x5d8e0 | goto label_14;
| }
0x0005d560 addiu s7, s7, 8 | s7 += 8;
0x0005d564 srl s7, s7, 3 | s7 >>= 3;
0x0005d568 sll s7, s7, 3 | s7 <<= 3;
0x0005d56c subu sp, sp, s7 |
0x0005d570 addiu s7, sp, 0x18 | s7 = sp + 0x18;
0x0005d574 move v0, s7 | v0 = s7;
0x0005d578 lw t9, -0x6e28(gp) | t9 = sym.imp.stpcpy;
| do {
0x0005d57c move a0, v0 | a0 = v0;
0x0005d580 move a1, s3 | a1 = s3;
0x0005d584 jalr t9 | t9 ();
0x0005d588 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (s6 == s2) {
0x0005d58c beq s6, s2, 0x5d5a0 | goto label_15;
| }
0x0005d590 addiu s6, s6, 4 | s6 += 4;
0x0005d594 lw s3, (s6) | s3 = *(s6);
0x0005d598 lw t9, -0x6e28(gp) | t9 = sym.imp.stpcpy;
0x0005d59c bnez s3, 0x5d57c |
| } while (s3 != 0);
| label_15:
0x0005d5a0 lw v0, 0x3c(fp) | v0 = *(arg_3ch);
0x0005d5a4 move s3, s7 | s3 = s7;
| if (v0 == 0) {
0x0005d5a8 beqz v0, 0x5d644 | goto label_3;
| }
| label_2:
0x0005d5ac sw s4, 0x58(fp) | *(var_58h_2) = s4;
0x0005d5b0 sw s7, 0x50(fp) | *(var_50h_2) = s7;
0x0005d5b4 sw v0, 0x54(fp) | *(var_54h_2) = v0;
0x0005d5b8 move s4, s0 | s4 = s0;
0x0005d5bc move a0, s7 | a0 = s7;
0x0005d5c0 move s3, zero | s3 = 0;
0x0005d5c4 lw t9, -0x6f38(gp) | t9 = sym.imp.strlen;
| do {
0x0005d5c8 jalr t9 | t9 ();
0x0005d5cc nop |
0x0005d5d0 addu s3, s3, v0 | s3 += v0;
0x0005d5d4 lw gp, 0x18(fp) | gp = *(var_18h);
| if (s4 == s2) {
0x0005d5d8 beq s4, s2, 0x5d5ec | goto label_16;
| }
0x0005d5dc addiu s4, s4, 4 | s4 += 4;
0x0005d5e0 lw a0, (s4) | a0 = *(s4);
0x0005d5e4 lw t9, -0x6f38(gp) | t9 = sym.imp.strlen;
0x0005d5e8 bnez a0, 0x5d5c8 |
| } while (a0 != 0);
| label_16:
0x0005d5ec lui v1, 0x40 | v1 = 0x400000;
0x0005d5f0 addiu v0, s3, 1 | v0 = s3 + 1;
0x0005d5f4 addiu v1, v1, 1 | v1++;
0x0005d5f8 sltu v0, v0, v1 | v0 = (v0 < v1) ? 1 : 0;
0x0005d5fc lw v0, -0x7fcc(gp) | v0 = *(gp);
| if (v0 == 0) {
0x0005d600 beqz v0, 0x5d988 | goto label_17;
| }
0x0005d604 addiu s3, s3, 8 | s3 += 8;
0x0005d608 srl s3, s3, 3 | s3 >>= 3;
0x0005d60c sll s3, s3, 3 | s3 <<= 3;
0x0005d610 subu sp, sp, s3 |
0x0005d614 addiu s3, sp, 0x18 | s3 = sp + 0x18;
0x0005d618 move v0, s3 | v0 = s3;
0x0005d61c lw t9, -0x6e28(gp) | t9 = sym.imp.stpcpy;
| do {
0x0005d620 move a0, v0 | a0 = v0;
0x0005d624 move a1, s7 | a1 = s7;
0x0005d628 jalr t9 | t9 ();
0x0005d62c lw gp, 0x18(fp) | gp = *(var_18h);
| if (s2 == s0) {
0x0005d630 beq s2, s0, 0x5d644 | goto label_3;
| }
0x0005d634 addiu s0, s0, 4 | s0 += 4;
0x0005d638 lw s7, (s0) | s7 = *(s0);
0x0005d63c lw t9, -0x6e28(gp) | t9 = sym.imp.stpcpy;
0x0005d640 bnez s7, 0x5d620 |
| } while (s7 != 0);
| label_3:
0x0005d644 lw t9, -0x7150(gp) | t9 = *((gp - 7252));
0x0005d648 move a0, s3 | a0 = s3;
0x0005d64c jalr t9 | t9 ();
0x0005d650 lw gp, 0x18(fp) | gp = *(var_18h);
0x0005d654 lw t9, -0x6fc8(gp) | t9 = sym.imp.__errno_location;
0x0005d658 move s5, v0 | s5 = v0;
0x0005d65c jalr t9 | t9 ();
0x0005d660 move s6, v0 | s6 = v0;
0x0005d664 lw gp, 0x18(fp) | gp = *(var_18h);
| if (s5 == 0) {
0x0005d668 beqz s5, 0x5d908 | goto label_18;
| }
0x0005d66c lw t9, -0x70bc(gp) | t9 = sym.imp.readdir64;
0x0005d670 sw zero, (v0) | *(v0) = 0;
0x0005d674 move a0, s5 | a0 = s5;
0x0005d678 jalr t9 | t9 ();
0x0005d67c move s4, v0 | s4 = v0;
0x0005d680 lw gp, 0x18(fp) | gp = *(var_18h);
0x0005d684 move s7, zero | s7 = 0;
| if (v0 == 0) {
0x0005d688 beqz v0, 0x5d858 | goto label_19;
| }
0x0005d68c lw v0, -0x77b8(gp) | v0 = *(gp);
| /* fcn.0005b6fc */
0x0005d690 addiu v0, v0, -0x4904 | v0 += -0x4904;
0x0005d694 sw v0, 0x3c(fp) | *(var_3ch) = v0;
0x0005d698 lw v0, -0x7fd4(gp) | v0 = *(gp);
0x0005d69c sw v0, 0x30(fp) | *(var_30h) = v0;
0x0005d6a0 lw v0, -0x77b8(gp) | v0 = *(gp);
| /* fcn.0005b848 */
0x0005d6a4 addiu v0, v0, -0x47b8 | v0 += -0x47b8;
0x0005d6a8 sw v0, 0x2c(fp) | *(var_2ch) = v0;
0x0005d6ac lw v0, -0x77b8(gp) | v0 = *(gp);
| /* fcn.0005b9d0 */
0x0005d6b0 addiu v0, v0, -0x4630 | v0 += -0x4630;
0x0005d6b4 sw v0, 0x28(fp) | *(var_28h) = v0;
0x0005d6b8 lw v0, -0x77b8(gp) | v0 = *(gp);
0x0005d6bc sw v0, 0x24(fp) | *(var_24h) = v0;
| label_0:
0x0005d6c0 lw t9, -0x6f38(gp) | t9 = sym.imp.strlen;
0x0005d6c4 move a0, s3 | a0 = s3;
0x0005d6c8 sw zero, 0x40(fp) | *(var_40h_2) = 0;
0x0005d6cc jalr t9 | t9 ();
0x0005d6d0 lw gp, 0x18(fp) | gp = *(var_18h);
0x0005d6d4 addiu s0, s4, 0x13 | s0 = s4 + 0x13;
0x0005d6d8 move a0, s0 | a0 = s0;
0x0005d6dc lw t9, -0x6f38(gp) | t9 = sym.imp.strlen;
0x0005d6e0 move s2, v0 | s2 = v0;
0x0005d6e4 jalr t9 | t9 ();
| /* aav.0x000c0000 */
0x0005d6e8 addu v0, s2, v0 | v0 = s2 + v0;
0x0005d6ec addiu v0, v0, 9 | v0 += 9;
0x0005d6f0 srl v0, v0, 3 | v0 >>= 3;
0x0005d6f4 sll v0, v0, 3 | v0 <<= 3;
0x0005d6f8 lb a0, 0x13(s4) | a0 = *((s4 + 19));
0x0005d6fc move s2, sp | s2 = sp;
0x0005d700 addiu v1, zero, 0x2e | v1 = 0x2e;
0x0005d704 subu sp, sp, v0 |
0x0005d708 lw gp, 0x18(fp) | gp = *(var_18h);
0x0005d70c addiu s4, sp, 0x18 | s4 = sp + 0x18;
| if (a0 == v1) {
0x0005d710 beq a0, v1, 0x5d838 | goto label_20;
| }
0x0005d714 lw t9, 0x3c(fp) | t9 = *(var_3ch);
0x0005d718 move a1, s0 | a1 = s0;
0x0005d71c move a0, s1 | a0 = s1;
0x0005d720 jalr t9 | t9 ();
0x0005d724 lw gp, 0x18(fp) | gp = *(var_18h);
| if (v0 == 0) {
0x0005d728 beqz v0, 0x5d81c | goto label_1;
| }
0x0005d72c lw v0, 0x30(fp) | v0 = *(var_30h);
0x0005d730 lw t9, -0x7164(gp) | t9 = sym.imp.__sprintf_chk
0x0005d734 addiu a3, v0, 0x6da4 | a3 = v0 + 0x6da4;
0x0005d738 addiu a2, zero, -1 | a2 = -1;
0x0005d73c addiu a1, zero, 1 | a1 = 1;
0x0005d740 move a0, s4 | a0 = s4;
0x0005d744 sw s0, 0x14(sp) | *(var_14h) = s0;
0x0005d748 sw s3, 0x10(sp) | *(var_10h) = s3;
0x0005d74c jalr t9 | t9 ();
0x0005d750 lw gp, 0x18(fp) | gp = *(var_18h);
0x0005d754 move a1, s4 | a1 = s4;
0x0005d758 lw t9, -0x7db0(gp) | t9 = sym.sd_device_new_from_syspath;
0x0005d75c addiu a0, fp, 0x40 | a0 = fp + 0x40;
0x0005d760 bal 0x65044 | sym_sd_device_new_from_syspath ();
0x0005d764 lw gp, 0x18(fp) | gp = *(var_18h);
| if (v0 < 0) {
0x0005d768 bltz v0, 0x5d8bc | goto label_21;
| }
0x0005d76c lw t9, -0x7a00(gp) | t9 = sym.sd_device_get_is_initialized;
0x0005d770 lw a0, 0x40(fp) | a0 = *(var_40h_2);
0x0005d774 bal 0x69708 | sym_sd_device_get_is_initialized ();
0x0005d778 lw gp, 0x18(fp) | gp = *(var_18h);
| if (v0 < 0) {
0x0005d77c bltz v0, 0x5d914 | goto label_22;
| }
0x0005d780 lbu v1, 0x3c(s1) | v1 = *((s1 + 60));
0x0005d784 lw a0, 0x40(fp) | a0 = *(var_40h_2);
| if (v1 == 0) {
0x0005d788 bnez v1, 0x5d794 |
0x0005d78c lw t9, -0x7d38(gp) | t9 = sym.sd_device_get_devnum;
| if (v0 == 0) {
0x0005d790 beqz v0, 0x5d91c | goto label_23;
| }
| }
| label_5:
0x0005d794 lw t9, 0x2c(fp) | t9 = *(var_2ch);
0x0005d798 move a1, a0 | a1 = a0;
0x0005d79c move a0, s1 | a0 = s1;
0x0005d7a0 jalr t9 | t9 ();
0x0005d7a4 lw gp, 0x18(fp) | gp = *(var_18h);
| if (v0 == 0) {
0x0005d7a8 beqz v0, 0x5d81c | goto label_1;
| }
0x0005d7ac lw v0, 0x40(fp) | v0 = *(var_40h_2);
0x0005d7b0 sw v0, 0x34(fp) | *(var_34h) = v0;
| if (v0 == 0) {
0x0005d7b4 beqz v0, 0x5d9e4 | goto label_24;
| }
0x0005d7b8 addiu v0, zero, -2 | v0 = -2;
0x0005d7bc sw v0, 0x48(fp) | *(var_48h_2) = v0;
0x0005d7c0 sw zero, 0x4c(fp) | *(var_4ch_2) = 0;
0x0005d7c4 addiu s0, fp, 0x44 | s0 = fp + 0x44;
0x0005d7c8 addiu s4, fp, 0x48 | s4 = fp + 0x48;
0x0005d7cc b 0x5d7e8 |
| while (v0 != 0) {
0x0005d7d0 lw t9, -0x76c0(gp) | t9 = sym.sd_device_has_tag;
0x0005d7d4 lw a1, 0x44(fp) | a1 = *(var_44h_2);
0x0005d7d8 lw a0, 0x34(fp) | a0 = *(var_34h);
0x0005d7dc bal 0x6a3b4 | sym_sd_device_has_tag ();
0x0005d7e0 lw gp, 0x18(fp) | gp = *(var_18h);
| if (v0 == 0) {
0x0005d7e4 beqz v0, 0x5d81c | goto label_1;
| }
0x0005d7e8 lw t9, -0x7ea8(gp) | t9 = sym.set_iterate;
0x0005d7ec lw a0, 0x34(s1) | a0 = *((s1 + 13));
0x0005d7f0 move a2, s0 | a2 = s0;
0x0005d7f4 move a1, s4 | a1 = s4;
0x0005d7f8 jalr t9 | t9 ();
0x0005d7fc lw gp, 0x18(fp) | gp = *(var_18h);
0x0005d800 bnez v0, 0x5d7d0 |
| }
0x0005d804 lw a1, 0x40(fp) | a1 = *(var_40h_2);
0x0005d808 lw t9, 0x28(fp) | t9 = *(var_28h);
0x0005d80c move a0, s1 | a0 = s1;
0x0005d810 jalr t9 | t9 ();
0x0005d814 lw gp, 0x18(fp) | gp = *(var_18h);
| if (v0 != 0) {
0x0005d818 bnez v0, 0x5d99c | goto label_25;
| }
| label_1:
0x0005d81c lw a0, 0x40(fp) | a0 = *(var_40h_2);
0x0005d820 lw t9, -0x70bc(gp) | t9 = sym.imp.readdir64;
| if (a0 != 0) {
0x0005d824 beqz a0, 0x5d83c |
| label_7:
0x0005d828 lw t9, -0x7ef0(gp) | t9 = sym.sd_device_unref;
0x0005d82c bal 0x645e0 | sym_sd_device_unref ();
0x0005d830 nop |
0x0005d834 lw gp, 0x18(fp) | gp = *(var_18h);
| label_20:
0x0005d838 lw t9, -0x70bc(gp) | t9 = sym.imp.readdir64;
| }
| label_8:
0x0005d83c move a0, s5 | a0 = s5;
0x0005d840 move sp, s2 |
0x0005d844 sw zero, (s6) | *(s6) = 0;
0x0005d848 jalr t9 | t9 ();
0x0005d84c move s4, v0 | s4 = v0;
0x0005d850 lw gp, 0x18(fp) | gp = *(var_18h);
| if (v0 != 0) {
0x0005d854 bnez v0, 0x5d6c0 | goto label_0;
| }
| label_19:
0x0005d858 lw v0, (s6) | v0 = *(s6);
| if (v0 <= 0) {
0x0005d85c bgtzl v0, 0x5d864 |
0x0005d860 negu s7, v0 | __asm ("negu s7, v0");
| }
0x0005d864 lw t9, -0x7148(gp) | t9 = sym.imp.closedir;
0x0005d868 move a0, s5 | a0 = s5;
0x0005d86c jalr t9 | t9 ();
0x0005d870 lw gp, 0x18(fp) | gp = *(var_18h);
| label_4:
0x0005d874 lw v0, 0x38(fp) | v0 = *(var_38h);
0x0005d878 lw a0, 0x5c(fp) | a0 = *(var_5ch_2);
0x0005d87c lw v1, (v0) | v1 = *(v0);
0x0005d880 move v0, s7 | v0 = s7;
| if (a0 != v1) {
0x0005d884 bne a0, v1, 0x5da10 | goto label_26;
| }
0x0005d888 move sp, fp |
0x0005d88c lw ra, 0x84(sp) | ra = *(var_84h);
0x0005d890 lw fp, 0x80(sp) | fp = *(var_80h);
0x0005d894 lw s7, 0x7c(sp) | s7 = *(var_7ch);
0x0005d898 lw s6, 0x78(sp) | s6 = *(var_78h);
0x0005d89c lw s5, 0x74(sp) | s5 = *(var_74h);
0x0005d8a0 lw s4, 0x70(sp) | s4 = *(var_70h);
0x0005d8a4 lw s3, 0x6c(sp) | s3 = *(var_6ch);
0x0005d8a8 lw s2, 0x68(sp) | s2 = *(var_68h);
0x0005d8ac lw s1, 0x64(sp) | s1 = *(var_64h);
0x0005d8b0 lw s0, 0x60(sp) | s0 = *(var_60h);
0x0005d8b4 addiu sp, sp, 0x88 |
0x0005d8b8 jr ra | return v0;
| label_21:
0x0005d8bc addiu v1, zero, -0x13 | v1 = -0x13;
0x0005d8c0 xor v1, v0, v1 | v1 = v0 ^ v1;
| if (v1 == 0) {
0x0005d8c4 movn s7, v0, v1 | s7 = v0;
| }
0x0005d8c8 b 0x5d81c | goto label_1;
| label_12:
0x0005d8cc lw v0, 0x3c(fp) | v0 = *(var_3ch);
0x0005d8d0 move s7, s3 | s7 = s3;
| if (v0 != 0) {
0x0005d8d4 bnez v0, 0x5d5ac | goto label_2;
| }
0x0005d8d8 move s3, s7 | s3 = s7;
0x0005d8dc b 0x5d644 | goto label_3;
| label_14:
0x0005d8e0 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
| /* str.enumerator_scan_dir_and_add_devices */
0x0005d8e4 addiu v0, v0, 0x6598 | v0 += 0x6598;
0x0005d8e8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0005d8ec addiu a3, zero, 0x1dc | a3 = aav.0x000001dc;
| label_6:
0x0005d8f0 lw a2, -0x7fcc(gp) | a2 = *(gp);
0x0005d8f4 lw a1, -0x7fcc(gp) | a1 = *(gp);
| /* esilref: 'src/libsystemd/sd-device/device-enumerator.c' */
0x0005d8f8 addiu a2, a2, 0x60df | a2 += 0x60df;
| /* str.sizeof_char__n____ALLOCA_MAX */
0x0005d8fc addiu a1, a1, -0x6544 | a1 += -0x6544;
0x0005d900 move a0, zero | a0 = 0;
0x0005d904 jalr t9 | t9 ();
| label_18:
0x0005d908 lw s7, (v0) | s7 = *(v0);
0x0005d90c negu s7, s7 | __asm ("negu s7, s7");
0x0005d910 b 0x5d874 | goto label_4;
| label_22:
0x0005d914 move s7, v0 | s7 = v0;
0x0005d918 b 0x5d81c | goto label_1;
| label_23:
0x0005d91c move a1, zero | a1 = 0;
0x0005d920 bal 0x67894 | sym_sd_device_get_devnum ();
0x0005d924 lw gp, 0x18(fp) | gp = *(var_18h);
| if (v0 >= 0) {
0x0005d928 bgez v0, 0x5d81c | goto label_1;
| }
0x0005d92c lw t9, -0x7cac(gp) | t9 = sym.sd_device_get_ifindex;
0x0005d930 lw a0, 0x40(fp) | a0 = *(var_40h_2);
0x0005d934 move a1, zero | a1 = 0;
0x0005d938 bal 0x67450 | sym_sd_device_get_ifindex ();
0x0005d93c lw gp, 0x18(fp) | gp = *(var_18h);
| if (v0 >= 0) {
0x0005d940 bgez v0, 0x5d81c | goto label_1;
| }
0x0005d944 lw a0, 0x40(fp) | a0 = *(var_40h_2);
0x0005d948 b 0x5d794 | goto label_5;
| label_9:
0x0005d94c lw a2, -0x7fcc(gp) | a2 = *(gp);
0x0005d950 lw a1, -0x7fcc(gp) | a1 = *(gp);
| /* str.enumerator_scan_dir_and_add_devices */
0x0005d954 addiu v0, v0, 0x6598 | v0 += 0x6598;
0x0005d958 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x0005d95c sw v0, 0x10(sp) | *(var_10h) = v0;
0x0005d960 addiu a3, zero, 0x1d6 | a3 = 0x1d6;
| /* esilref: 'src/libsystemd/sd-device/device-enumerator.c' */
0x0005d964 addiu a2, a2, 0x60df | a2 += 0x60df;
| /* str.enumerator */
0x0005d968 addiu a1, a1, 0x610c | a1 += 0x610c;
0x0005d96c jalr t9 | t9 ();
| label_10:
0x0005d970 lw v0, -0x7fcc(gp) | v0 = *(gp);
0x0005d974 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
| /* str.enumerator_scan_dir_and_add_devices */
0x0005d978 addiu v0, v0, 0x6598 | v0 += 0x6598;
0x0005d97c sw v0, 0x10(sp) | *(var_10h) = v0;
0x0005d980 addiu a3, zero, 0x1d9 | a3 = 0x1d9;
0x0005d984 b 0x5d8f0 | goto label_6;
| label_17:
0x0005d988 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
| /* str.enumerator_scan_dir_and_add_devices */
0x0005d98c addiu v0, v0, 0x6598 | v0 += 0x6598;
0x0005d990 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0005d994 addiu a3, zero, 0x1df | a3 = 0x1df;
0x0005d998 b 0x5d8f0 | goto label_6;
| label_25:
0x0005d99c lw v0, 0x24(fp) | v0 = *(var_24h);
0x0005d9a0 lw a1, 0x40(fp) | a1 = *(var_40h_2);
0x0005d9a4 addiu t9, v0, -0x4368 | t9 = v0 + -0x4368;
0x0005d9a8 move a0, s1 | a0 = s1;
0x0005d9ac bal 0x5bc98 | fcn_0005bc98 ();
0x0005d9b0 lw gp, 0x18(fp) | gp = *(var_18h);
| if (v0 == 0) {
0x0005d9b4 beqz v0, 0x5d81c | goto label_1;
| }
0x0005d9b8 lw t9, -0x76c4(gp) | t9 = sym.device_enumerator_add_device;
0x0005d9bc lw a1, 0x40(fp) | a1 = *(var_40h_2);
0x0005d9c0 move a0, s1 | a0 = s1;
0x0005d9c4 bal 0x5ca84 | sym_device_enumerator_add_device ();
0x0005d9c8 lw a0, 0x40(fp) | a0 = *(var_40h_2);
0x0005d9cc slti v1, v0, 0 | v1 = (v0 < 0) ? 1 : 0;
0x0005d9d0 lw gp, 0x18(fp) | gp = *(var_18h);
| if (v1 != 0) {
0x0005d9d4 movn s7, v0, v1 | s7 = v0;
| goto label_27;
| }
| if (a0 != 0) {
| label_27:
0x0005d9d8 bnez a0, 0x5d828 | goto label_7;
| }
0x0005d9dc lw t9, -0x70bc(gp) | t9 = sym.imp.readdir64;
0x0005d9e0 b 0x5d83c | goto label_8;
| label_24:
0x0005d9e4 lw v0, -0x7fcc(gp) | v0 = *(gp);
0x0005d9e8 lw a2, -0x7fcc(gp) | a2 = *(gp);
0x0005d9ec lw a1, -0x7fcc(gp) | a1 = *(gp);
| /* str.match_tag */
0x0005d9f0 addiu v0, v0, 0x658c | v0 += 0x658c;
0x0005d9f4 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x0005d9f8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0005d9fc addiu a3, zero, 0x1a3 | a3 = 0x1a3;
| /* esilref: 'src/libsystemd/sd-device/device-enumerator.c' */
0x0005da00 addiu a2, a2, 0x60df | a2 += 0x60df;
| /* esilref: 'device' */
0x0005da04 addiu a1, a1, -0x1144 | a1 += -0x1144;
0x0005da08 move a0, zero | a0 = 0;
0x0005da0c jalr t9 | t9 ();
| label_26:
0x0005da10 lw t9, -0x6e2c(gp) | t9 = sym.imp.__stack_chk_fail;
0x0005da14 jalr t9 | t9 ();
0x0005da18 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/udevadm @ 0xa1b20 */
| #include <stdint.h>
|
; (fcn) fcn.000a1b20 () | void fcn_000a1b20 () {
0x000a1b20 lui gp, 6 |
0x000a1b24 addiu gp, gp, -0x28a0 |
0x000a1b28 addu gp, gp, t9 | gp += t9;
0x000a1b2c addiu sp, sp, -0x48 |
0x000a1b30 sw s1, 0x3c(sp) | *(var_3ch) = s1;
0x000a1b34 lw s1, -0x6de8(gp) | s1 = *((gp - 7034));
0x000a1b38 sw fp, 0x40(sp) | *(var_40h) = fp;
0x000a1b3c sw ra, 0x44(sp) | *(var_44h) = ra;
0x000a1b40 sw s0, 0x38(sp) | *(var_38h) = s0;
0x000a1b44 sw gp, 0x18(sp) | *(var_18h) = gp;
0x000a1b48 move fp, sp | fp = sp;
0x000a1b4c lw v0, (s1) | v0 = *(s1);
0x000a1b50 sw zero, 0x30(fp) | *(arg_30h) = 0;
0x000a1b54 sw v0, 0x34(fp) | *(arg_34h) = v0;
0x000a1b58 lw v0, -0x7fd8(gp) | v0 = *(gp);
| if (a0 < 0) {
0x000a1b5c bltz a0, 0xa1c44 | goto label_1;
| }
0x000a1b60 addiu sp, sp, -0x18 |
| if (a0 == 0) {
0x000a1b64 bnel a0, zero, 0xa1c18 | goto label_2;
| }
0x000a1b68 lw s0, -0x7fd8(gp) | s0 = *(gp);
| /* str._proc_self_stat */
0x000a1b6c addiu s0, s0, 0x2510 | s0 += 0x2510;
| do {
0x000a1b70 lw t9, -0x7b88(gp) | t9 = sym.read_one_line_file;
0x000a1b74 move a0, s0 | a0 = s0;
0x000a1b78 addiu a1, fp, 0x30 | a1 = fp + 0x30;
0x000a1b7c bal 0x90924 | sym_read_one_line_file ();
0x000a1b80 addiu v1, zero, -2 | v1 = -2;
0x000a1b84 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000a1b88 lw s0, 0x30(fp) | s0 = *(arg_30h);
| if (v0 == v1) {
0x000a1b8c beq v0, v1, 0xa1c80 | goto label_3;
| }
0x000a1b90 lw t9, -0x7060(gp) | t9 = sym.imp.strrchr;
| if (v0 >= 0) {
0x000a1b94 bltz v0, 0xa1bd8 |
0x000a1b98 addiu a1, zero, 0x29 | a1 = 0x29;
0x000a1b9c move a0, s0 | a0 = s0;
0x000a1ba0 jalr t9 | t9 ();
0x000a1ba4 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == 0) {
0x000a1ba8 beqz v0, 0xa1c78 | goto label_4;
| }
0x000a1bac lw a1, -0x7fd8(gp) | a1 = *(gp);
0x000a1bb0 lw t9, -0x7074(gp) | t9 = *(gp);
0x000a1bb4 addiu a2, fp, 0x2f | a2 = fp + 0x2f;
| /* esilref: ' &c' */
0x000a1bb8 addiu a1, a1, 0x2530 | a1 += 0x2530;
0x000a1bbc addiu a0, v0, 1 | a0 = v0 + 1;
0x000a1bc0 jalr t9 | t9 ();
0x000a1bc4 addiu v1, zero, 1 | v1 = 1;
0x000a1bc8 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 != v1) {
0x000a1bcc bne v0, v1, 0xa1c6c | goto label_5;
| }
0x000a1bd0 lbu v0, 0x2f(fp) | v0 = *(arg_2fh);
0x000a1bd4 lw s0, 0x30(fp) | s0 = *(arg_30h);
| }
| label_0:
0x000a1bd8 lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x000a1bdc sw v0, 0x24(fp) | *(arg_24h) = v0;
0x000a1be0 move a0, s0 | a0 = s0;
0x000a1be4 jalr t9 | t9 ();
0x000a1be8 lw a0, 0x34(fp) | a0 = *(arg_34h);
0x000a1bec lw v1, (s1) | v1 = *(s1);
0x000a1bf0 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000a1bf4 lw v0, 0x24(fp) | v0 = *(arg_24h);
| if (a0 != v1) {
0x000a1bf8 bne a0, v1, 0xa1c88 | goto label_6;
| }
0x000a1bfc move sp, fp |
0x000a1c00 lw ra, 0x44(sp) | ra = *(var_44h);
0x000a1c04 lw fp, 0x40(sp) | fp = *(var_40h);
0x000a1c08 lw s1, 0x3c(sp) | s1 = *(var_3ch);
0x000a1c0c lw s0, 0x38(sp) | s0 = *(var_38h);
0x000a1c10 addiu sp, sp, 0x48 |
0x000a1c14 jr ra | return v0;
| label_2:
0x000a1c18 lw a3, -0x7fd8(gp) | a3 = *(gp);
0x000a1c1c lw t9, -0x7164(gp) | t9 = sym.imp.__sprintf_chk
0x000a1c20 addiu s0, sp, 0x18 | s0 = sp + 0x18;
0x000a1c24 sw a0, 0x10(sp) | *(var_10h_3) = a0;
| /* str._proc__i_stat */
0x000a1c28 addiu a3, a3, 0x2520 | a3 += 0x2520;
0x000a1c2c addiu a2, zero, 0x18 | a2 = 0x18;
0x000a1c30 addiu a1, zero, 1 | a1 = 1;
0x000a1c34 move a0, s0 | a0 = s0;
0x000a1c38 jalr t9 | t9 ();
0x000a1c3c lw gp, 0x18(fp) | gp = *(arg_18h);
0x000a1c40 b 0xa1b70 |
| } while (1);
| label_1:
0x000a1c44 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x000a1c48 lw a1, -0x7fd8(gp) | a1 = *(gp);
| /* str.get_process_state */
0x000a1c4c addiu v0, v0, 0x2a5c | v0 += 0x2a5c;
0x000a1c50 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x000a1c54 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000a1c58 addiu a3, zero, 0x3c | a3 = 0x3c;
| /* esilref: 'src/basic/process-util.c' */
0x000a1c5c addiu a2, a2, 0x24f7 | a2 += 0x24f7;
| /* str.pid___0 */
0x000a1c60 addiu a1, a1, -0x5e68 | a1 += -0x5e68;
0x000a1c64 move a0, zero | a0 = 0;
0x000a1c68 bal 0x991c4 | sym_log_assert_failed_realm ();
| label_5:
0x000a1c6c lw s0, 0x30(fp) | s0 = *(arg_30h);
0x000a1c70 addiu v0, zero, -5 | v0 = -5;
0x000a1c74 b 0xa1bd8 | goto label_0;
| label_4:
0x000a1c78 addiu v0, zero, -5 | v0 = -5;
0x000a1c7c b 0xa1bd8 | goto label_0;
| label_3:
0x000a1c80 addiu v0, zero, -3 | v0 = -3;
0x000a1c84 b 0xa1bd8 | goto label_0;
| label_6:
0x000a1c88 lw t9, -0x6e2c(gp) | t9 = sym.imp.__stack_chk_fail;
0x000a1c8c jalr t9 | t9 ();
0x000a1c90 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/udevadm @ 0x88fdc */
| #include <stdint.h>
|
; (fcn) sym.audit_loginuid_from_pid () | void audit_loginuid_from_pid () {
0x00088fdc lui gp, 7 |
0x00088fe0 addiu gp, gp, 0x62a4 |
0x00088fe4 addu gp, gp, t9 | gp += t9;
0x00088fe8 addiu sp, sp, -0x50 |
0x00088fec sw s1, 0x40(sp) | *(var_40h) = s1;
0x00088ff0 lw s1, -0x6de8(gp) | s1 = *((gp - 7034));
0x00088ff4 sw fp, 0x48(sp) | *(var_48h) = fp;
0x00088ff8 sw ra, 0x4c(sp) | *(var_4ch) = ra;
0x00088ffc sw s2, 0x44(sp) | *(var_44h) = s2;
0x00089000 sw s0, 0x3c(sp) | *(var_3ch) = s0;
0x00089004 sw gp, 0x18(sp) | *(var_18h) = gp;
0x00089008 move fp, sp | fp = sp;
0x0008900c lw v0, (s1) | v0 = *(s1);
0x00089010 sw zero, 0x2c(fp) | *(arg_2ch) = 0;
0x00089014 sw v0, 0x34(fp) | *(arg_34h) = v0;
0x00089018 lw v0, -0x7fd8(gp) | v0 = *(gp);
| if (a1 == 0) {
0x0008901c beqz a1, 0x890e8 | goto label_1;
| }
0x00089020 move s2, a1 | s2 = a1;
| if (a0 != 0) {
0x00089024 bnez a0, 0x890b8 | goto label_2;
| }
0x00089028 lw s0, -0x7fd8(gp) | s0 = *(gp);
| /* str._proc_self_loginuid */
0x0008902c addiu s0, s0, -0x1a88 | s0 += -0x1a88;
| do {
0x00089030 lw t9, -0x7b88(gp) | t9 = sym.read_one_line_file;
0x00089034 addiu a1, fp, 0x2c | a1 = fp + 0x2c;
0x00089038 move a0, s0 | a0 = s0;
0x0008903c bal 0x90924 | sym_read_one_line_file ();
0x00089040 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 >= 0) {
0x00089044 bltz v0, 0x89074 |
0x00089048 lw t9, -0x7bd4(gp) | t9 = sym.parse_uid;
0x0008904c lw a0, 0x2c(fp) | a0 = *(arg_2ch);
0x00089050 addiu a1, fp, 0x30 | a1 = fp + 0x30;
0x00089054 jalr t9 | t9 ();
0x00089058 addiu v1, zero, -6 | v1 = -6;
0x0008905c lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == v1) {
0x00089060 beq v0, v1, 0x89110 | goto label_3;
| }
0x00089064 lw v1, 0x30(fp) | v1 = *(arg_30h);
| if (v0 < 0) {
0x00089068 bltz v0, 0x89074 | goto label_0;
| }
0x0008906c move v0, zero | v0 = 0;
0x00089070 sw v1, (s2) | *(s2) = v1;
| }
| label_0:
0x00089074 lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x00089078 lw a0, 0x2c(fp) | a0 = *(arg_2ch);
0x0008907c sw v0, 0x24(fp) | *(arg_24h) = v0;
0x00089080 jalr t9 | t9 ();
0x00089084 lw a0, 0x34(fp) | a0 = *(arg_34h);
0x00089088 lw v1, (s1) | v1 = *(s1);
0x0008908c lw gp, 0x18(fp) | gp = *(arg_18h);
0x00089090 lw v0, 0x24(fp) | v0 = *(arg_24h);
| if (a0 != v1) {
0x00089094 bne a0, v1, 0x89118 | goto label_4;
| }
0x00089098 move sp, fp |
0x0008909c lw ra, 0x4c(sp) | ra = *(var_4ch);
0x000890a0 lw fp, 0x48(sp) | fp = *(var_48h);
0x000890a4 lw s2, 0x44(sp) | s2 = *(var_44h);
0x000890a8 lw s1, 0x40(sp) | s1 = *(var_40h);
0x000890ac lw s0, 0x3c(sp) | s0 = *(var_3ch);
0x000890b0 addiu sp, sp, 0x50 |
0x000890b4 jr ra | return v0;
| label_2:
0x000890b8 addiu sp, sp, -0x20 |
0x000890bc lw a3, -0x7fd8(gp) | a3 = *(gp);
0x000890c0 lw t9, -0x7164(gp) | t9 = sym.imp.__sprintf_chk
0x000890c4 addiu s0, sp, 0x18 | s0 = sp + 0x18;
0x000890c8 sw a0, 0x10(sp) | *(var_10h_3) = a0;
| /* str._proc__i_loginuid */
0x000890cc addiu a3, a3, -0x1a74 | a3 += -0x1a74;
0x000890d0 addiu a2, zero, 0x1c | a2 = 0x1c;
0x000890d4 addiu a1, zero, 1 | a1 = 1;
0x000890d8 move a0, s0 | a0 = s0;
0x000890dc jalr t9 | t9 ();
0x000890e0 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000890e4 b 0x89030 |
| } while (1);
| label_1:
0x000890e8 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x000890ec lw a1, -0x7fd8(gp) | a1 = *(gp);
| /* str.audit_loginuid_from_pid */
0x000890f0 addiu v0, v0, -0x1a3c | v0 += -0x1a3c;
0x000890f4 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x000890f8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000890fc addiu a3, zero, 0x35 | a3 = 0x35;
| /* esilref: 'src/basic/audit-util.c' */
0x00089100 addiu a2, a2, -0x1ab5 | a2 += -0x1ab5;
| /* esilref: 'uid' */
0x00089104 addiu a1, a1, -0x1a78 | a1 += -0x1a78;
0x00089108 move a0, zero | a0 = 0;
0x0008910c bal 0x991c4 | sym_log_assert_failed_realm ();
| label_3:
0x00089110 addiu v0, zero, -0x3d | v0 = -0x3d;
0x00089114 b 0x89074 | goto label_0;
| label_4:
0x00089118 lw t9, -0x6e2c(gp) | t9 = sym.imp.__stack_chk_fail;
0x0008911c jalr t9 | t9 ();
0x00089120 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/udevadm @ 0x88e90 */
| #include <stdint.h>
|
; (fcn) sym.audit_session_from_pid () | void audit_session_from_pid () {
0x00088e90 lui gp, 7 |
0x00088e94 addiu gp, gp, 0x63f0 |
0x00088e98 addu gp, gp, t9 | gp += t9;
0x00088e9c addiu sp, sp, -0x50 |
0x00088ea0 sw s1, 0x40(sp) | *(var_40h) = s1;
0x00088ea4 lw s1, -0x6de8(gp) | s1 = *((gp - 7034));
0x00088ea8 sw fp, 0x48(sp) | *(var_48h) = fp;
0x00088eac sw ra, 0x4c(sp) | *(var_4ch) = ra;
0x00088eb0 sw s2, 0x44(sp) | *(var_44h) = s2;
0x00088eb4 sw s0, 0x3c(sp) | *(var_3ch) = s0;
0x00088eb8 sw gp, 0x18(sp) | *(var_18h) = gp;
0x00088ebc move fp, sp | fp = sp;
0x00088ec0 lw v0, (s1) | v0 = *(s1);
0x00088ec4 sw zero, 0x2c(fp) | *(arg_2ch) = 0;
0x00088ec8 sw v0, 0x34(fp) | *(arg_34h) = v0;
0x00088ecc lw v0, -0x7fd8(gp) | v0 = *(gp);
| if (a1 == 0) {
0x00088ed0 beqz a1, 0x88fa8 | goto label_0;
| }
0x00088ed4 move s2, a1 | s2 = a1;
| if (a0 != 0) {
0x00088ed8 bnez a0, 0x88f78 | goto label_1;
| }
0x00088edc lw s0, -0x7fd8(gp) | s0 = *(gp);
| /* str._proc_self_sessionid */
0x00088ee0 addiu s0, s0, -0x1ad4 | s0 += -0x1ad4;
| do {
0x00088ee4 lw t9, -0x7b88(gp) | t9 = sym.read_one_line_file;
0x00088ee8 addiu a1, fp, 0x2c | a1 = fp + 0x2c;
0x00088eec move a0, s0 | a0 = s0;
0x00088ef0 bal 0x90924 | sym_read_one_line_file ();
0x00088ef4 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 >= 0) {
0x00088ef8 bltz v0, 0x88f34 |
0x00088efc lw t9, -0x7f5c(gp) | t9 = sym.safe_atou_full;
0x00088f00 lw a0, 0x2c(fp) | a0 = *(arg_2ch);
0x00088f04 addiu a2, fp, 0x30 | a2 = fp + 0x30;
0x00088f08 move a1, zero | a1 = 0;
0x00088f0c bal 0x9e074 | sym_safe_atou_full ();
0x00088f10 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 < 0) {
0x00088f14 bltz v0, 0x88f34 | goto label_2;
| }
0x00088f18 lw v1, 0x30(fp) | v1 = *(arg_30h);
0x00088f1c addiu v0, v1, -1 | v0 = v1 + -1;
0x00088f20 sltiu v0, v0, -2 | v0 = (v0 < -2) ? 1 : 0;
| if (v0 == 0) {
0x00088f24 beql v0, zero, 0x88f34 | goto label_2;
| }
0x00088f28 addiu v0, zero, -0x3d | v0 = -0x3d;
0x00088f2c sw v1, (s2) | *(s2) = v1;
0x00088f30 move v0, zero | v0 = 0;
| }
| label_2:
0x00088f34 lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x00088f38 lw a0, 0x2c(fp) | a0 = *(arg_2ch);
0x00088f3c sw v0, 0x24(fp) | *(arg_24h) = v0;
0x00088f40 jalr t9 | t9 ();
0x00088f44 lw a0, 0x34(fp) | a0 = *(arg_34h);
0x00088f48 lw v1, (s1) | v1 = *(s1);
0x00088f4c lw gp, 0x18(fp) | gp = *(arg_18h);
0x00088f50 lw v0, 0x24(fp) | v0 = *(arg_24h);
| if (a0 != v1) {
0x00088f54 bne a0, v1, 0x88fd0 | goto label_3;
| }
0x00088f58 move sp, fp |
0x00088f5c lw ra, 0x4c(sp) | ra = *(var_4ch_3);
0x00088f60 lw fp, 0x48(sp) | fp = *(var_48h_3);
0x00088f64 lw s2, 0x44(sp) | s2 = *(var_44h_3);
0x00088f68 lw s1, 0x40(sp) | s1 = *(var_40h_3);
0x00088f6c lw s0, 0x3c(sp) | s0 = *(var_3ch_3);
0x00088f70 addiu sp, sp, 0x50 |
0x00088f74 jr ra | return v0;
| label_1:
0x00088f78 addiu sp, sp, -0x20 |
0x00088f7c lw a3, -0x7fd8(gp) | a3 = *(gp);
0x00088f80 lw t9, -0x7164(gp) | t9 = sym.imp.__sprintf_chk
0x00088f84 addiu s0, sp, 0x18 | s0 = sp + 0x18;
0x00088f88 sw a0, 0x10(sp) | *(var_40h_2) = a0;
| /* str._proc__i_sessionid */
0x00088f8c addiu a3, a3, -0x1a9c | a3 += -0x1a9c;
0x00088f90 addiu a2, zero, 0x1d | a2 = 0x1d;
0x00088f94 addiu a1, zero, 1 | a1 = 1;
0x00088f98 move a0, s0 | a0 = s0;
0x00088f9c jalr t9 | t9 ();
0x00088fa0 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00088fa4 b 0x88ee4 |
| } while (1);
| label_0:
0x00088fa8 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x00088fac lw a1, -0x7fcc(gp) | a1 = *(gp);
| /* str.audit_session_from_pid */
0x00088fb0 addiu v0, v0, -0x1a24 | v0 += -0x1a24;
0x00088fb4 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x00088fb8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00088fbc addiu a3, zero, 0x17 | a3 = 0x17;
| /* esilref: 'src/basic/audit-util.c' */
0x00088fc0 addiu a2, a2, -0x1ab5 | a2 += -0x1ab5;
| /* esilref: 'id' */
0x00088fc4 addiu a1, a1, -0xe1c | a1 += -0xe1c;
0x00088fc8 move a0, zero | a0 = 0;
0x00088fcc bal 0x991c4 | sym_log_assert_failed_realm ();
| label_3:
0x00088fd0 lw t9, -0x6e2c(gp) | t9 = sym.imp.__stack_chk_fail;
0x00088fd4 jalr t9 | t9 ();
0x00088fd8 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/udevadm @ 0x43548 */
| #include <stdint.h>
|
; (fcn) sym.bus_creds_add_more () | void bus_creds_add_more () {
0x00043548 lui gp, 0xc |
0x0004354c addiu gp, gp, -0x42c8 |
0x00043550 addu gp, gp, t9 | gp += t9;
0x00043554 addiu sp, sp, -0x80 |
0x00043558 sw s2, 0x60(sp) | *(var_60h) = s2;
0x0004355c lw s2, -0x6de8(gp) | s2 = *((gp - 7034));
0x00043560 sw fp, 0x78(sp) | *(var_78h) = fp;
0x00043564 sw ra, 0x7c(sp) | *(var_7ch) = ra;
0x00043568 sw s7, 0x74(sp) | *(var_74h) = s7;
0x0004356c sw s6, 0x70(sp) | *(var_70h) = s6;
0x00043570 sw s5, 0x6c(sp) | *(var_6ch) = s5;
0x00043574 sw s4, 0x68(sp) | *(var_68h) = s4;
0x00043578 sw s3, 0x64(sp) | *(var_64h) = s3;
0x0004357c sw s1, 0x5c(sp) | *(var_5ch) = s1;
0x00043580 sw s0, 0x58(sp) | *(var_58h) = s0;
0x00043584 sw gp, 0x18(sp) | *(var_18h) = gp;
0x00043588 move fp, sp | fp = sp;
0x0004358c lw v0, (s2) | v0 = *(s2);
0x00043590 sw v0, 0x54(fp) | *(arg_54h) = v0;
0x00043594 lw v0, -0x7fcc(gp) | v0 = *(gp);
| if (a0 == 0) {
0x00043598 beqz a0, 0x43d84 | goto label_39;
| }
0x0004359c lbu v0, (a0) | v0 = *(a0);
0x000435a0 move s6, a0 | s6 = a0;
| if (v0 == 0) {
0x000435a4 beqz v0, 0x43da8 | goto label_40;
| }
0x000435a8 lw v1, 0x90(fp) | v1 = *(arg_90h);
| if (a3 >= 0) {
0x000435ac bgez a3, 0x439cc | goto label_41;
| }
0x000435b0 lw v0, 8(a0) | v0 = *((a0 + 2));
0x000435b4 lw a0, 0xc(a0) | a0 = *((a0 + 3));
| if (v1 <= 0) {
0x000435b8 blez v1, 0x43a14 | goto label_42;
| }
0x000435bc lui s1, 0x8000 | s1 = 0x80000000;
0x000435c0 ori v0, v0, 1 | v0 |= 1;
0x000435c4 addiu s1, s1, 3 | s1 += 3;
0x000435c8 sw v1, 0x44(s6) | *((s6 + 17)) = v1;
0x000435cc lw v1, 0x94(fp) | v1 = *(arg_94h);
0x000435d0 nor s0, v0, s1 | __asm ("nor s0, v0, s1");
0x000435d4 nor s1, a0, s1 | __asm ("nor s1, a0, s1");
0x000435d8 sw v0, 8(s6) | *((s6 + 2)) = v0;
0x000435dc and s0, s0, a2 | s0 &= a2;
0x000435e0 and s1, s1, a3 | s1 &= a3;
| if (v1 <= 0) {
0x000435e4 blez v1, 0x43a44 | goto label_43;
| }
| label_0:
0x000435e8 or a1, s0, s1 | a1 = s0 | s1;
0x000435ec lw v1, 0x94(fp) | v1 = *(arg_94h);
| if (a1 == 0) {
0x000435f0 beqz a1, 0x439cc | goto label_41;
| }
| label_3:
0x000435f4 ori v0, v0, 2 | v0 |= 2;
0x000435f8 sw v1, 0x48(s6) | *((s6 + 18)) = v1;
0x000435fc sw v0, 8(s6) | *((s6 + 2)) = v0;
0x00043600 sw a0, 0xc(s6) | *((s6 + 3)) = a0;
| label_2:
0x00043604 lui v0, 0x780 | v0 = 0x7800ffc;
| label_8:
0x00043608 addiu v0, v0, 0xffc |
0x0004360c and v0, s0, v0 | v0 = s0 & v0;
0x00043610 ext v0, s0, 0x1b, 1 | __asm ("ext v0, s0, 0x1b, 1");
| if (v0 == 0) {
0x00043614 beqz v0, 0x43768 | goto label_44;
| }
0x00043618 lw v0, 0x90(fp) | v0 = *(arg_90h);
0x0004361c addiu sp, sp, -0x20 |
| if (v0 == 0) {
0x00043620 bnel v0, zero, 0x43fa0 | goto label_45;
| }
0x00043624 lw s4, -0x7fcc(gp) | s4 = *(gp);
| /* str._proc_self_status */
0x00043628 addiu s4, s4, 0xaec | s4 += 0xaec;
| label_16:
0x0004362c lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00043630 lw t9, -0x70a4(gp) | t9 = sym.imp.fopen64;
0x00043634 move a0, s4 | a0 = s4;
| /* esilref: 're' */
0x00043638 addiu a1, a1, -0x65c8 | a1 += -0x65c8;
0x0004363c jalr t9 | t9 ();
0x00043640 move s4, v0 | s4 = v0;
0x00043644 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == 0) {
0x00043648 beqz v0, 0x43fcc | goto label_46;
| }
0x0004364c lw v0, -0x7fcc(gp) | v0 = *(gp);
0x00043650 lw s5, -0x7a6c(gp) | s5 = *(gp);
0x00043654 sw v0, 0x30(fp) | *(arg_30h) = v0;
0x00043658 addiu v0, s5, 0x2d64 | v0 = s5 + 0x2d64;
0x0004365c sw v0, 0x3c(fp) | *(arg_3ch) = v0;
0x00043660 lw v0, -0x7fcc(gp) | v0 = *(gp);
0x00043664 addiu s3, fp, 0x40 | s3 = fp + 0x40;
| /* str.CapInh: */
0x00043668 addiu v0, v0, 0x2fcc | v0 += 0x2fcc;
0x0004366c sw v0, 0x2c(fp) | *(arg_2ch) = v0;
0x00043670 lw v0, -0x7fcc(gp) | v0 = *(gp);
0x00043674 sw v0, 0x38(fp) | *(arg_38h) = v0;
0x00043678 lw v0, -0x7fcc(gp) | v0 = *(gp);
| /* str._lu_n */
0x0004367c addiu v0, v0, 0x2fb4 | v0 += 0x2fb4;
0x00043680 sw v0, 0x34(fp) | *(arg_34h) = v0;
| do {
0x00043684 lw t9, -0x7c20(gp) | t9 = sym.read_line_full;
0x00043688 move a3, s3 | a3 = s3;
0x0004368c move a2, zero | a2 = 0;
0x00043690 lui a1, 0x10 | a1 = 0x100000;
0x00043694 move a0, s4 | a0 = s4;
0x00043698 sw zero, 0x40(fp) | *(arg_40h) = 0;
0x0004369c jalr t9 | t9 ();
0x000436a0 move s7, v0 | s7 = v0;
0x000436a4 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 < 0) {
0x000436a8 bltz v0, 0x43b00 | goto label_6;
| }
0x000436ac lw s5, 0x40(fp) | s5 = *(arg_40h);
| if (v0 == 0) {
0x000436b0 beqz v0, 0x43744 | goto label_47;
| }
0x000436b4 andi v0, s0, 4 | v0 = s0 & 4;
0x000436b8 andi s7, s0, 0x78 | s7 = s0 & 0x78;
| if (v0 == 0) {
0x000436bc beqz v0, 0x43a74 | goto label_48;
| }
0x000436c0 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x000436c4 lw t9, -0x70f4(gp) | t9 = sym.imp.strncmp;
0x000436c8 addiu a2, zero, 5 | a2 = 5;
| /* str.PPid: */
0x000436cc addiu a1, a1, 0x2f84 | a1 += 0x2f84;
0x000436d0 move a0, s5 | a0 = s5;
0x000436d4 jalr t9 | t9 ();
0x000436d8 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 != 0) {
0x000436dc bnez v0, 0x43a70 | goto label_49;
| }
0x000436e0 addiu s7, s5, 5 | s7 = s5 + 5;
0x000436e4 lw t0, -0x7fcc(gp) | t0 = *(gp);
| if (s7 == 0) {
0x000436e8 beqz s7, 0x43a70 | goto label_49;
| }
0x000436ec lw t9, -0x714c(gp) | t9 = sym.imp.strspn;
| /* esilref: '
' */
0x000436f0 addiu a1, t0, -0x6f0c | a1 = t0 + -0x6f0c;
0x000436f4 move a0, s7 | a0 = s7;
0x000436f8 jalr t9 | t9 ();
0x000436fc lw gp, 0x18(fp) | gp = *(arg_18h);
0x00043700 addu s7, s7, v0 | s7 += v0;
0x00043704 move a0, s7 | a0 = s7;
0x00043708 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x0004370c lw t9, -0x6d64(gp) | t9 = *((gp - 7001));
| /* esilref: '!' */
0x00043710 addiu a1, a1, 0x3d98 | a1 += 0x3d98;
0x00043714 jalr t9 | t9 ();
0x00043718 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 != 0) {
0x0004371c bnez v0, 0x43dfc | goto label_50;
| }
0x00043720 sw zero, 0x40(s6) | *((s6 + 16)) = 0;
| label_10:
0x00043724 lw v0, 8(s6) | v0 = *((s6 + 2));
0x00043728 ori v0, v0, 4 | v0 |= 4;
0x0004372c sw v0, 8(s6) | *((s6 + 2)) = v0;
| label_7:
0x00043730 lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x00043734 move a0, s5 | a0 = s5;
0x00043738 jalr t9 | t9 ();
0x0004373c lw gp, 0x18(fp) | gp = *(arg_18h);
0x00043740 b 0x43684 |
| } while (1);
| label_47:
0x00043744 lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x00043748 move a0, s5 | a0 = s5;
0x0004374c jalr t9 | t9 ();
0x00043750 lw gp, 0x18(fp) | gp = *(arg_18h);
| label_17:
0x00043754 lw t9, -0x7bf8(gp) | t9 = sym.safe_fclose;
0x00043758 move a0, s4 | a0 = s4;
0x0004375c jalr t9 | t9 ();
0x00043760 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00043764 ext v0, s0, 0x1b, 1 | __asm ("ext v0, s0, 0x1b, 1");
| label_44:
0x00043768 andi v0, s0, 0x1000 | v0 = s0 & 0x1000;
| if (v0 != 0) {
0x0004376c beqz v0, 0x437b4 |
0x00043770 lw v0, 0x90(fp) | v0 = *(arg_90h);
0x00043774 addiu sp, sp, -0x20 |
| if (v0 == 0) {
0x00043778 bnel v0, zero, 0x440ec | goto label_51;
| }
0x0004377c lw s4, -0x7fcc(gp) | s4 = *(gp);
| /* str._proc_self_attr_current */
0x00043780 addiu s4, s4, 0x2f38 | s4 += 0x2f38;
| label_23:
0x00043784 lw t9, -0x7b88(gp) | t9 = sym.read_one_line_file;
0x00043788 addiu a1, s6, 0x8c | a1 = s6 + 0x8c;
0x0004378c move a0, s4 | a0 = s4;
0x00043790 jalr t9 | t9 ();
0x00043794 move s7, v0 | s7 = v0;
0x00043798 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 < 0) {
0x0004379c bltz v0, 0x43e20 | goto label_52;
| }
0x000437a0 lw v0, 8(s6) | v0 = *((s6 + 2));
0x000437a4 lui a0, 0x800 | a0 = 0x8000000;
0x000437a8 or v0, v0, a0 | v0 |= a0;
0x000437ac sw v0, 8(s6) | *((s6 + 2)) = v0;
0x000437b0 andi v0, s0, 0x1000 | v0 = s0 & 0x1000;
| }
| label_11:
0x000437b4 lw t9, -0x796c(gp) | t9 = *(gp);
| if (v0 != 0) {
0x000437b8 bnez v0, 0x43f44 | goto label_53;
| }
| label_14:
0x000437bc andi v0, s0, 0x4000 | v0 = s0 & 0x4000;
| label_24:
0x000437c0 lw t9, -0x7968(gp) | t9 = sym.get_process_exe;
| if (v0 != 0) {
0x000437c4 bnez v0, 0x43f6c | goto label_54;
| }
| label_15:
0x000437c8 andi v0, s0, 0x8000 | v0 = s0 & 0x8000;
| label_28:
0x000437cc lw v0, 0x94(fp) | v0 = *(arg_94h);
| if (v0 != 0) {
0x000437d0 beqz v0, 0x43834 |
0x000437d4 lw v0, 0x90(fp) | v0 = *(arg_90h);
0x000437d8 addiu sp, sp, -0x20 |
| if (v0 == 0) {
0x000437dc bnel v0, zero, 0x43eac | goto label_55;
| }
0x000437e0 lw s4, -0x7fcc(gp) | s4 = *(gp);
| /* str._proc_self_cmdline */
0x000437e4 addiu s4, s4, 0x2f50 | s4 += 0x2f50;
| label_13:
0x000437e8 lw t9, -0x7a08(gp) | t9 = sym.read_full_file_full;
0x000437ec addiu a3, s6, 0x5c | a3 = s6 + 0x5c;
0x000437f0 addiu a2, s6, 0x58 | a2 = s6 + 0x58;
0x000437f4 move a1, zero | a1 = 0;
0x000437f8 move a0, s4 | a0 = s4;
0x000437fc jalr t9 | t9 ();
0x00043800 move s7, v0 | s7 = v0;
0x00043804 addiu v0, zero, -2 | v0 = -2;
0x00043808 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (s7 == v0) {
0x0004380c beq s7, v0, 0x43f3c | goto label_56;
| }
0x00043810 addiu v0, zero, -0xd | v0 = -0xd;
| if (s7 < 0) {
0x00043814 bltz s7, 0x440d4 | goto label_57;
| }
0x00043818 lw v0, 0x5c(s6) | v0 = *((s6 + 23));
0x0004381c lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
| if (v0 == 0) {
0x00043820 beqz v0, 0x44200 | goto label_58;
| }
| label_27:
0x00043824 lw v0, 8(s6) | v0 = *((s6 + 2));
0x00043828 ori v0, v0, 0x8000 | v0 |= 0x8000;
0x0004382c sw v0, 8(s6) | *((s6 + 2)) = v0;
| label_21:
0x00043830 lw v0, 0x94(fp) | v0 = *(arg_94h);
| }
| label_22:
0x00043834 andi v0, s0, 0x2000 | v0 = s0 & 0x2000;
| if (v0 > 0) {
0x00043838 blez v0, 0x438b8 |
| if (v0 == 0) {
0x0004383c beql v0, zero, 0x438bc | goto label_59;
| }
0x00043840 lui s4, 0x7f | s4 = 0x7f0000;
0x00043844 lw a2, -0x7fcc(gp) | a2 = *(gp);
0x00043848 lw v0, 0x94(fp) | v0 = *(arg_94h);
0x0004384c lw t9, -0x6ed4(gp) | t9 = sym.imp.__asprintf_chk
0x00043850 lw a3, 0x90(fp) | a3 = *(arg_90h);
0x00043854 sw v0, 0x10(sp) | *(var_10h) = v0;
| /* str._proc__i_task__i_comm */
0x00043858 addiu a2, a2, 0x3000 | a2 += aav.0x00003000;
0x0004385c addiu a1, zero, 1 | a1 = 1;
0x00043860 addiu a0, fp, 0x50 | a0 = fp + 0x50;
0x00043864 sw zero, 0x50(fp) | *(arg_50h) = 0;
0x00043868 jalr t9 | t9 ();
0x0004386c lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 < 0) {
0x00043870 bltz v0, 0x4425c | goto label_60;
| }
0x00043874 lw t9, -0x7b88(gp) | t9 = sym.read_one_line_file;
0x00043878 lw a0, 0x50(fp) | a0 = *(arg_50h);
0x0004387c addiu a1, s6, 0x50 | a1 = s6 + 0x50;
0x00043880 jalr t9 | t9 ();
0x00043884 move s7, v0 | s7 = v0;
0x00043888 addiu v0, zero, -2 | v0 = -2;
0x0004388c lw gp, 0x18(fp) | gp = *(arg_18h);
| if (s7 == v0) {
0x00043890 beq s7, v0, 0x4433c | goto label_61;
| }
0x00043894 addiu v0, zero, -0xd | v0 = -0xd;
| if (s7 < 0) {
0x00043898 bltz s7, 0x44308 | goto label_62;
| }
0x0004389c lw v0, 8(s6) | v0 = *((s6 + 2));
0x000438a0 ori v0, v0, 0x2000 | v0 |= 0x2000;
0x000438a4 sw v0, 8(s6) | *((s6 + 2)) = v0;
| label_33:
0x000438a8 lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
| label_35:
0x000438ac lw a0, 0x50(fp) | a0 = *(arg_50h);
0x000438b0 jalr t9 | t9 ();
0x000438b4 lw gp, 0x18(fp) | gp = *(arg_18h);
| }
0x000438b8 lui s4, 0x7f | s4 = 0x7f0000;
| label_59:
0x000438bc and s4, s0, s4 | s4 = s0 & s4;
| if (s4 != 0) {
0x000438c0 beql s4, zero, 0x43910 |
0x000438c4 lui s4, 0x1000 | s4 = 0x10000000;
0x000438c8 lw v0, 0x64(s6) | v0 = *((s6 + 25));
0x000438cc lw v0, 0x9c(s6) | v0 = *((s6 + 39));
| if (v0 == 0) {
0x000438d0 bnel v0, zero, 0x43de4 | goto label_63;
| }
0x000438d4 lw t9, -0x7964(gp) | t9 = *(gp);
0x000438d8 lw a1, 0x90(fp) | a1 = *(arg_90h);
0x000438dc addiu a2, s6, 0x64 | a2 = s6 + 0x64;
0x000438e0 move a0, zero | a0 = 0;
0x000438e4 jalr t9 | t9 ();
0x000438e8 move s7, v0 | s7 = v0;
0x000438ec lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 < 0) {
0x000438f0 bltz v0, 0x44320 | goto label_64;
| }
| label_36:
0x000438f4 lw v0, 0x9c(s6) | v0 = *((s6 + 39));
| label_37:
0x000438f8 lw t9, -0x7960(gp) | t9 = sym.cg_get_root_path;
| if (v0 == 0) {
0x000438fc beqz v0, 0x44274 | goto label_65;
| }
| label_29:
0x00043900 lw v0, 0x64(s6) | v0 = *((s6 + 25));
0x00043904 lw v0, 8(s6) | v0 = *((s6 + 2));
| if (v0 == 0) {
0x00043908 bnel v0, zero, 0x43df0 | goto label_66;
| }
| label_9:
0x0004390c lui s4, 0x1000 | s4 = 0x10000000;
| }
0x00043910 and v0, s0, s4 | v0 = s0 & s4;
0x00043914 lw t9, -0x795c(gp) | t9 = sym.audit_session_from_pid;
| if (v0 != 0) {
0x00043918 bnez v0, 0x44004 | goto label_67;
| }
| label_19:
0x0004391c lui s4, 0x2000 | s4 = 0x20000000;
| label_30:
0x00043920 and v0, s0, s4 | v0 = s0 & s4;
0x00043924 lw t9, -0x7958(gp) | t9 = sym.audit_loginuid_from_pid;
| if (v0 != 0) {
0x00043928 bnez v0, 0x440a0 | goto label_68;
| }
| label_20:
0x0004392c lui s4, 0x4000 | s4 = 0x40000000;
| label_31:
0x00043930 and v0, s0, s4 | v0 = s0 & s4;
0x00043934 lw t9, -0x7954(gp) | t9 = sym.pid_is_alive;
| if (v0 != 0) {
0x00043938 beqz v0, 0x43978 |
0x0004393c lw t9, -0x7950(gp) | t9 = sym.get_ctty;
0x00043940 lw a0, 0x90(fp) | a0 = *(arg_90h);
0x00043944 addiu a2, s6, 0x7c | a2 = s6 + 0x7c;
0x00043948 move a1, zero | a1 = 0;
0x0004394c jalr t9 | t9 ();
0x00043950 move s7, v0 | s7 = v0;
0x00043954 addiu v0, zero, -6 | v0 = -6;
0x00043958 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (s7 == v0) {
0x0004395c beq s7, v0, 0x441b0 | goto label_69;
| }
0x00043960 addiu a0, s7, 0xd | a0 = s7 + 0xd;
| if (s7 < 0) {
0x00043964 bltz s7, 0x441d8 | goto label_70;
| }
0x00043968 lw v0, 8(s6) | v0 = *((s6 + 2));
0x0004396c or s4, v0, s4 | s4 = v0 | s4;
0x00043970 sw s4, 8(s6) | *((s6 + 2)) = s4;
| label_25:
0x00043974 lw t9, -0x7954(gp) | t9 = sym.pid_is_alive;
| }
| label_26:
0x00043978 lw a0, 0x90(fp) | a0 = *(arg_90h);
0x0004397c jalr t9 | t9 ();
0x00043980 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == 0) {
0x00043984 beqz v0, 0x43f3c | goto label_56;
| }
0x00043988 lw v0, 0x94(fp) | v0 = *(arg_94h);
0x0004398c lw v1, 0x94(fp) | v1 = *(arg_94h);
| if (v0 > 0) {
0x00043990 blez v0, 0x439b4 |
0x00043994 lw v0, 0x90(fp) | v0 = *(arg_90h);
| if (v0 == v1) {
0x00043998 beql v0, v1, 0x439b8 | goto label_71;
| }
0x0004399c lw a2, 8(s6) | a2 = *((s6 + 2));
0x000439a0 lw t9, -0x794c(gp) | t9 = sym.pid_is_unwaited;
0x000439a4 move a0, v1 | a0 = v1;
0x000439a8 jalr t9 | t9 ();
0x000439ac lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == 0) {
0x000439b0 beqz v0, 0x43f3c | goto label_56;
| }
| }
0x000439b4 lw a2, 8(s6) | a2 = *((s6 + 2));
| label_71:
0x000439b8 lw a3, 0xc(s6) | a3 = *((s6 + 3));
0x000439bc and s0, a2, s0 | s0 = a2 & s0;
0x000439c0 and s1, a3, s1 | s1 = a3 & s1;
0x000439c4 sw s0, 0x10(s6) | *((s6 + 4)) = s0;
0x000439c8 sw s1, 0x14(s6) | *((s6 + 5)) = s1;
| do {
| label_41:
0x000439cc move s7, zero | s7 = 0;
| label_1:
0x000439d0 lw a0, 0x54(fp) | a0 = *(arg_54h);
0x000439d4 lw v1, (s2) | v1 = *(s2);
0x000439d8 move v0, s7 | v0 = s7;
| if (a0 != v1) {
0x000439dc bne a0, v1, 0x4434c | goto label_72;
| }
0x000439e0 move sp, fp |
0x000439e4 lw ra, 0x7c(sp) | ra = *(var_7ch);
0x000439e8 lw fp, 0x78(sp) | fp = *(var_78h);
0x000439ec lw s7, 0x74(sp) | s7 = *(var_74h);
0x000439f0 lw s6, 0x70(sp) | s6 = *(var_70h);
0x000439f4 lw s5, 0x6c(sp) | s5 = *(var_6ch);
0x000439f8 lw s4, 0x68(sp) | s4 = *(var_68h);
0x000439fc lw s3, 0x64(sp) | s3 = *(var_64h);
0x00043a00 lw s2, 0x60(sp) | s2 = *(var_60h);
0x00043a04 lw s1, 0x5c(sp) | s1 = *(var_5ch);
0x00043a08 lw s0, 0x58(sp) | s0 = *(var_58h);
0x00043a0c addiu sp, sp, 0x80 |
0x00043a10 jr ra | return v0;
| label_42:
0x00043a14 andi a1, v0, 1 | a1 = v0 & 1;
0x00043a18 lui s1, 0x8000 | s1 = 0x80000000;
0x00043a1c beqz a1, 0x439cc |
| } while (a1 == 0);
0x00043a20 lw v1, 0x44(s6) | v1 = *((s6 + 17));
0x00043a24 addiu s1, s1, 3 | s1 += 3;
0x00043a28 sw v1, 0x90(fp) | *(arg_90h) = v1;
0x00043a2c lw v1, 0x94(fp) | v1 = *(arg_94h);
0x00043a30 nor s0, v0, s1 | __asm ("nor s0, v0, s1");
0x00043a34 nor s1, a0, s1 | __asm ("nor s1, a0, s1");
0x00043a38 and s0, s0, a2 | s0 &= a2;
0x00043a3c and s1, s1, a3 | s1 &= a3;
| if (v1 > 0) {
0x00043a40 bgtz v1, 0x435e8 | goto label_0;
| }
| label_43:
0x00043a44 andi a1, v0, 2 | a1 = v0 & 2;
| if (a1 == 0) {
0x00043a48 beql a1, zero, 0x43dd4 | goto label_73;
| }
0x00043a4c or v0, s0, s1 | v0 = s0 | s1;
0x00043a50 or a1, s0, s1 | a1 = s0 | s1;
0x00043a54 move s7, zero | s7 = 0;
| if (a1 == 0) {
0x00043a58 beqz a1, 0x439d0 | goto label_1;
| }
0x00043a5c lw v1, 0x48(s6) | v1 = *((s6 + 18));
0x00043a60 sw v1, 0x94(fp) | *(arg_94h) = v1;
| if (v1 <= 0) {
0x00043a64 blez v1, 0x43604 | goto label_2;
| }
0x00043a68 lw v1, 0x94(fp) | v1 = *(arg_94h);
0x00043a6c b 0x435f4 | goto label_3;
| label_49:
0x00043a70 andi s7, s0, 0x78 | s7 = s0 & 0x78;
| if (s7 == 0) {
| label_48:
0x00043a74 beql s7, zero, 0x43b28 | goto label_74;
| }
0x00043a78 andi s7, s0, 0x780 | s7 = s0 & 0x780;
0x00043a7c lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00043a80 lw t9, -0x70f4(gp) | t9 = sym.imp.strncmp;
0x00043a84 addiu a2, zero, 4 | a2 = 4;
| /* str.Uid: */
0x00043a88 addiu a1, a1, 0x2f8c | a1 += 0x2f8c;
0x00043a8c move a0, s5 | a0 = s5;
0x00043a90 jalr t9 | t9 ();
0x00043a94 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 != 0) {
0x00043a98 bnez v0, 0x43b24 | goto label_75;
| }
0x00043a9c addiu t3, s5, 4 | t3 = s5 + 4;
0x00043aa0 lw t0, -0x7fcc(gp) | t0 = *(gp);
| if (t3 == 0) {
0x00043aa4 beqz t3, 0x43b24 | goto label_75;
| }
0x00043aa8 lw t9, -0x714c(gp) | t9 = sym.imp.strspn;
| /* esilref: '
' */
0x00043aac addiu a1, t0, -0x6f0c | a1 = t0 + -0x6f0c;
0x00043ab0 move a0, t3 | a0 = t3;
0x00043ab4 sw t3, 0x28(fp) | *(arg_28h) = t3;
0x00043ab8 jalr t9 | t9 ();
0x00043abc lw gp, 0x18(fp) | gp = *(arg_18h);
0x00043ac0 addiu a0, fp, 0x50 | a0 = fp + 0x50;
0x00043ac4 lw t3, 0x28(fp) | t3 = *(arg_28h);
0x00043ac8 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00043acc sw a0, 0x14(sp) | *(var_34h) = a0;
0x00043ad0 lw t9, -0x7074(gp) | t9 = *(gp);
0x00043ad4 addiu a0, fp, 0x4c | a0 = fp + 0x4c;
0x00043ad8 sw a0, 0x10(sp) | *(var_30h) = a0;
0x00043adc addiu a3, fp, 0x48 | a3 = fp + 0x48;
0x00043ae0 addu a0, t3, v0 | a0 = t3 + v0;
0x00043ae4 addiu a2, fp, 0x44 | a2 = fp + 0x44;
| /* str._lu__lu__lu__lu */
0x00043ae8 addiu a1, a1, 0x2f94 | a1 += 0x2f94;
0x00043aec jalr t9 | t9 ();
0x00043af0 addiu a0, zero, 4 | a0 = 4;
0x00043af4 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == a0) {
0x00043af8 beq v0, a0, 0x43ed8 | goto label_76;
| }
| do {
| label_4:
0x00043afc addiu s7, zero, -5 | s7 = -5;
| label_6:
0x00043b00 lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x00043b04 lw a0, 0x40(fp) | a0 = *(arg_40h);
0x00043b08 jalr t9 | t9 ();
0x00043b0c lw gp, 0x18(fp) | gp = *(arg_18h);
| label_32:
0x00043b10 lw t9, -0x7bf8(gp) | t9 = sym.safe_fclose;
| label_18:
0x00043b14 move a0, s4 | a0 = s4;
0x00043b18 jalr t9 | t9 ();
0x00043b1c lw gp, 0x18(fp) | gp = *(arg_18h);
0x00043b20 b 0x439d0 | goto label_1;
| label_75:
0x00043b24 andi s7, s0, 0x780 | s7 = s0 & 0x780;
| label_74:
0x00043b28 andi v0, s0, 0x800 | v0 = s0 & 0x800;
| if (s7 == 0) {
0x00043b2c beqz s7, 0x43c08 | goto label_77;
| }
0x00043b30 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00043b34 lw t9, -0x70f4(gp) | t9 = sym.imp.strncmp;
0x00043b38 addiu a2, zero, 4 | a2 = 4;
| /* str.Gid: */
0x00043b3c addiu a1, a1, 0x2fa4 | a1 += 0x2fa4;
0x00043b40 move a0, s5 | a0 = s5;
0x00043b44 jalr t9 | t9 ();
0x00043b48 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 != 0) {
0x00043b4c bnez v0, 0x43c04 | goto label_78;
| }
0x00043b50 addiu t3, s5, 4 | t3 = s5 + 4;
0x00043b54 lw t0, -0x7fcc(gp) | t0 = *(gp);
| if (t3 == 0) {
0x00043b58 beqz t3, 0x43c04 | goto label_78;
| }
0x00043b5c lw t9, -0x714c(gp) | t9 = sym.imp.strspn;
| /* esilref: '
' */
0x00043b60 addiu a1, t0, -0x6f0c | a1 = t0 + -0x6f0c;
0x00043b64 move a0, t3 | a0 = t3;
0x00043b68 sw t3, 0x28(fp) | *(arg_28h) = t3;
0x00043b6c jalr t9 | t9 ();
0x00043b70 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00043b74 addiu a0, fp, 0x50 | a0 = fp + 0x50;
0x00043b78 lw t3, 0x28(fp) | t3 = *(arg_28h);
0x00043b7c lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00043b80 sw a0, 0x14(sp) | *(var_34h) = a0;
0x00043b84 lw t9, -0x7074(gp) | t9 = *(gp);
0x00043b88 addiu a0, fp, 0x4c | a0 = fp + 0x4c;
0x00043b8c sw a0, 0x10(sp) | *(var_30h) = a0;
0x00043b90 addiu a3, fp, 0x48 | a3 = fp + 0x48;
0x00043b94 addu a0, t3, v0 | a0 = t3 + v0;
0x00043b98 addiu a2, fp, 0x44 | a2 = fp + 0x44;
| /* str._lu__lu__lu__lu */
0x00043b9c addiu a1, a1, 0x2f94 | a1 += 0x2f94;
0x00043ba0 jalr t9 | t9 ();
0x00043ba4 addiu a0, zero, 4 | a0 = 4;
0x00043ba8 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00043bac bne v0, a0, 0x43afc |
| } while (v0 != a0);
0x00043bb0 andi v0, s0, 0x80 | v0 = s0 & 0x80;
0x00043bb4 andi v0, s0, 0x100 | v0 = s0 & aav.0x00000100;
| if (v0 != 0) {
0x00043bb8 beqz v0, 0x43bc8 |
0x00043bbc lw v0, 0x44(fp) | v0 = *(arg_44h);
0x00043bc0 sw v0, 0x28(s6) | *((s6 + 10)) = v0;
0x00043bc4 andi v0, s0, 0x100 | v0 = s0 & aav.0x00000100;
| }
0x00043bc8 andi v0, s0, 0x200 | v0 = s0 & aav.0x00000200;
| if (v0 != 0) {
0x00043bcc beqz v0, 0x43bdc |
0x00043bd0 lw v0, 0x48(fp) | v0 = *(arg_48h);
0x00043bd4 sw v0, 0x2c(s6) | *((s6 + 11)) = v0;
0x00043bd8 andi v0, s0, 0x200 | v0 = s0 & aav.0x00000200;
| }
0x00043bdc andi v0, s0, 0x400 | v0 = s0 & aav.0x00000400;
| if (v0 != 0) {
0x00043be0 beqz v0, 0x43bf0 |
0x00043be4 lw v0, 0x4c(fp) | v0 = *(arg_4ch);
0x00043be8 sw v0, 0x30(s6) | *((s6 + 12)) = v0;
0x00043bec andi v0, s0, 0x400 | v0 = s0 & aav.0x00000400;
| }
| if (v0 == 0) {
0x00043bf0 beql v0, zero, 0x43f2c | goto label_79;
| }
0x00043bf4 lw v0, 8(s6) | v0 = *((s6 + 2));
0x00043bf8 lw v0, 0x50(fp) | v0 = *(arg_50h);
0x00043bfc sw v0, 0x34(s6) | *((s6 + 13)) = v0;
0x00043c00 b 0x43f28 | goto label_80;
| label_78:
0x00043c04 andi v0, s0, 0x800 | v0 = s0 & 0x800;
| label_77:
0x00043c08 lui t0, 0x80 | t0 = 0x800000;
| if (v0 == 0) {
0x00043c0c beqz v0, 0x43d0c | goto label_81;
| }
0x00043c10 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x00043c14 lw t9, -0x70f4(gp) | t9 = sym.imp.strncmp;
0x00043c18 addiu a2, zero, 7 | a2 = 7;
| /* str.Groups: */
0x00043c1c addiu a1, a1, 0x2fac | a1 += 0x2fac;
0x00043c20 move a0, s5 | a0 = s5;
0x00043c24 jalr t9 | t9 ();
0x00043c28 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 != 0) {
0x00043c2c bnez v0, 0x43d08 | goto label_82;
| }
0x00043c30 addiu t2, s5, 7 | t2 = s5 + 7;
0x00043c34 lw t0, -0x7fcc(gp) | t0 = *(gp);
| if (t2 == 0) {
0x00043c38 beqz t2, 0x43d08 | goto label_82;
| }
0x00043c3c sw zero, 0x48(fp) | *(arg_48h) = 0;
0x00043c40 addiu t4, fp, 0x50 | t4 = fp + 0x50;
0x00043c44 addiu s7, fp, 0x4c | s7 = fp + 0x4c;
0x00043c48 addiu s5, fp, 0x48 | s5 = fp + 0x48;
| label_5:
0x00043c4c lw t9, -0x714c(gp) | t9 = sym.imp.strspn;
0x00043c50 move a0, t2 | a0 = t2;
0x00043c54 sw t2, 0x28(fp) | *(arg_28h) = t2;
0x00043c58 sw t4, 0x24(fp) | *(arg_24h) = t4;
| /* esilref: '
' */
0x00043c5c addiu a1, t0, -0x6f0c | a1 = t0 + -0x6f0c;
0x00043c60 sw t0, 0x20(fp) | *(arg_20h) = t0;
0x00043c64 sw zero, 0x50(fp) | *(arg_50h) = 0;
0x00043c68 jalr t9 | t9 ();
0x00043c6c lw t2, 0x28(fp) | t2 = *(arg_28h);
0x00043c70 addu t2, t2, v0 | t2 += v0;
0x00043c74 lb v0, (t2) | v0 = *(t2);
0x00043c78 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == 0) {
0x00043c7c beqz v0, 0x4419c | goto label_83;
| }
0x00043c80 lw t4, 0x24(fp) | t4 = *(arg_24h);
0x00043c84 lw t9, -0x7074(gp) | t9 = *(gp);
0x00043c88 lw a1, 0x34(fp) | a1 = *(arg_34h);
0x00043c8c move a0, t2 | a0 = t2;
0x00043c90 move a3, t4 | a3 = t4;
0x00043c94 move a2, s7 | a2 = s7;
0x00043c98 sw t2, 0x28(fp) | *(arg_28h) = t2;
0x00043c9c jalr t9 | t9 ();
0x00043ca0 addiu a0, zero, 1 | a0 = 1;
0x00043ca4 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 != a0) {
0x00043ca8 bne v0, a0, 0x43afc | goto label_4;
| }
0x00043cac lw a2, 0x3c(s6) | a2 = *((s6 + 15));
0x00043cb0 lw t9, -0x7948(gp) | t9 = sym.greedy_realloc;
0x00043cb4 addiu a3, zero, 4 | a3 = 4;
0x00043cb8 addiu a2, a2, 1 | a2++;
0x00043cbc move a1, s5 | a1 = s5;
0x00043cc0 addiu a0, s6, 0x38 | a0 = s6 + 0x38;
0x00043cc4 jalr t9 | t9 ();
0x00043cc8 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == 0) {
0x00043ccc beqz v0, 0x44344 | goto label_84;
| }
0x00043cd0 lw v0, 0x3c(s6) | v0 = *((s6 + 15));
0x00043cd4 lw a0, 0x38(s6) | a0 = *((s6 + 14));
0x00043cd8 sll a1, v0, 2 | a1 = v0 << 2;
0x00043cdc addiu v0, v0, 1 | v0++;
0x00043ce0 sw v0, 0x3c(s6) | *((s6 + 15)) = v0;
0x00043ce4 addu a0, a0, a1 | a0 += a1;
0x00043ce8 lw v0, 0x4c(fp) | v0 = *(arg_4ch);
0x00043cec lw t2, 0x28(fp) | t2 = *(arg_28h);
0x00043cf0 sw v0, (a0) | *(a0) = v0;
0x00043cf4 lw a2, 0x50(fp) | a2 = *(arg_50h);
0x00043cf8 lw t4, 0x24(fp) | t4 = *(arg_24h);
0x00043cfc addu t2, t2, a2 | t2 += a2;
0x00043d00 lw t0, 0x20(fp) | t0 = *(arg_20h);
0x00043d04 b 0x43c4c | goto label_5;
| label_82:
0x00043d08 lui t0, 0x80 | t0 = 0x800000;
| label_81:
0x00043d0c and v0, s0, t0 | v0 = s0 & t0;
0x00043d10 lw a1, -0x7fcc(gp) | a1 = *(gp);
| if (v0 != 0) {
0x00043d14 bnez v0, 0x43e54 | goto label_85;
| }
| label_12:
0x00043d18 lui t0, 0x100 | t0 = imp.__progname;
0x00043d1c and v0, s0, t0 | v0 = s0 & t0;
0x00043d20 lui t0, 0x200 | t0 = imp.__progname;
| if (v0 == 0) {
0x00043d24 beqz v0, 0x4403c | goto label_86;
| }
0x00043d28 lw v0, 0x38(fp) | v0 = *(arg_38h);
0x00043d2c lw t9, -0x70f4(gp) | t9 = sym.imp.strncmp;
0x00043d30 addiu a2, zero, 7 | a2 = 7;
0x00043d34 addiu a1, v0, 0x2fc4 | a1 = v0 + 0x2fc4;
0x00043d38 move a0, s5 | a0 = s5;
0x00043d3c jalr t9 | t9 ();
0x00043d40 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 != 0) {
0x00043d44 bnez v0, 0x44038 | goto label_87;
| }
0x00043d48 addiu a2, s5, 7 | a2 = s5 + 7;
0x00043d4c lw t9, 0x3c(fp) | t9 = *(arg_3ch);
| if (a2 == 0) {
0x00043d50 beqz a2, 0x44038 | goto label_87;
| }
0x00043d54 addiu a1, zero, 1 | a1 = 1;
0x00043d58 move a0, s6 | a0 = s6;
0x00043d5c jalr t9 | t9 ();
0x00043d60 move s7, v0 | s7 = v0;
0x00043d64 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 < 0) {
0x00043d68 bltz v0, 0x43b00 | goto label_6;
| }
0x00043d6c lw v0, 8(s6) | v0 = *((s6 + 2));
0x00043d70 lui t0, 0x100 | t0 = imp.__progname;
0x00043d74 or t0, v0, t0 | t0 = v0 | t0;
0x00043d78 lw s5, 0x40(fp) | s5 = *(arg_40h);
0x00043d7c sw t0, 8(s6) | *((s6 + 2)) = t0;
0x00043d80 b 0x43730 | goto label_7;
| label_39:
0x00043d84 lw a2, -0x7fcc(gp) | a2 = *(gp);
0x00043d88 lw a1, -0x7fcc(gp) | a1 = *(gp);
| /* str.bus_creds_add_more */
0x00043d8c addiu v0, v0, 0x304c | v0 += 0x304c;
0x00043d90 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x00043d94 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00043d98 addiu a3, zero, 0x2f7 | a3 = 0x2f7;
| /* esilref: 'src/libsystemd/sd-bus/bus-creds.c' */
0x00043d9c addiu a2, a2, 0x2e9f | a2 += 0x2e9f;
0x00043da0 addiu a1, a1, -0x1610 | a1 += -0x1610;
0x00043da4 jalr t9 | t9 ();
| label_40:
0x00043da8 lw v0, -0x7fcc(gp) | v0 = *(gp);
0x00043dac lw a2, -0x7fcc(gp) | a2 = *(gp);
0x00043db0 lw a1, -0x7fcc(gp) | a1 = *(gp);
| /* str.bus_creds_add_more */
0x00043db4 addiu v0, v0, 0x304c | v0 += 0x304c;
0x00043db8 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x00043dbc sw v0, 0x10(sp) | *(var_10h) = v0;
0x00043dc0 addiu a3, zero, 0x2f8 | a3 = aav.0x000002f8;
| /* esilref: 'src/libsystemd/sd-bus/bus-creds.c' */
0x00043dc4 addiu a2, a2, 0x2e9f | a2 += 0x2e9f;
| /* str.c__allocated */
0x00043dc8 addiu a1, a1, 0x2f64 | a1 += aav.0x00002f64;
0x00043dcc move a0, zero | a0 = 0;
0x00043dd0 jalr t9 | t9 ();
| label_73:
0x00043dd4 lui v0, 0x780 | v0 = 0x7800000;
| if (v0 == 0) {
0x00043dd8 bnel v0, zero, 0x43608 | goto label_8;
| }
0x00043ddc move s7, zero | s7 = 0;
0x00043de0 b 0x439d0 | goto label_1;
| label_63:
0x00043de4 lw t9, -0x7960(gp) | t9 = sym.cg_get_root_path;
| if (v0 == 0) {
0x00043de8 beqz v0, 0x44274 | goto label_65;
| }
0x00043dec lw v0, 8(s6) | v0 = *((s6 + 2));
| label_66:
0x00043df0 or s4, v0, s4 | s4 = v0 | s4;
0x00043df4 sw s4, 8(s6) | *((s6 + 2)) = s4;
0x00043df8 b 0x4390c | goto label_9;
| label_50:
0x00043dfc lw t9, -0x7944(gp) | t9 = sym.parse_pid;
0x00043e00 move a0, s7 | a0 = s7;
0x00043e04 addiu a1, s6, 0x40 | a1 = s6 + 0x40;
0x00043e08 jalr t9 | t9 ();
0x00043e0c move s7, v0 | s7 = v0;
0x00043e10 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 < 0) {
0x00043e14 bltz v0, 0x43b00 | goto label_6;
| }
0x00043e18 lw s5, 0x40(fp) | s5 = *(arg_40h);
0x00043e1c b 0x43724 | goto label_10;
| label_52:
0x00043e20 addiu a0, v0, 0x16 | a0 = v0 + 0x16;
0x00043e24 sltiu v0, a0, 0x16 | v0 = (a0 < 0x16) ? 1 : 0;
| if (v0 == 0) {
0x00043e28 beqz v0, 0x439d0 | goto label_1;
| }
0x00043e2c nop |
0x00043e30 addiu v0, zero, 1 | v0 = 1;
0x00043e34 sllv v0, v0, a0 | v0 <<= a0;
0x00043e38 lui a0, 0x30 | a0 = 0x300201;
0x00043e3c addiu a0, a0, 0x201 |
0x00043e40 and v0, v0, a0 | v0 &= a0;
0x00043e44 andi v0, s0, 0x1000 | v0 = s0 & 0x1000;
| if (v0 == 0) {
0x00043e48 bnel v0, zero, 0x437b4 | goto label_11;
| }
0x00043e4c b 0x439d0 | goto label_1;
0x00043e50 nop |
| label_85:
0x00043e54 lw t9, -0x70f4(gp) | t9 = sym.imp.strncmp;
0x00043e58 addiu a2, zero, 7 | a2 = 7;
| /* str.CapEff: */
0x00043e5c addiu a1, a1, 0x2fbc | a1 += 0x2fbc;
0x00043e60 move a0, s5 | a0 = s5;
0x00043e64 jalr t9 | t9 ();
0x00043e68 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 != 0) {
0x00043e6c bnez v0, 0x43d18 | goto label_12;
| }
0x00043e70 addiu a2, s5, 7 | a2 = s5 + 7;
0x00043e74 lw t9, 0x3c(fp) | t9 = *(arg_3ch);
| if (a2 == 0) {
0x00043e78 beqz a2, 0x43d18 | goto label_12;
| }
0x00043e7c addiu a1, zero, 2 | a1 = 2;
0x00043e80 move a0, s6 | a0 = s6;
0x00043e84 jalr t9 | t9 ();
0x00043e88 move s7, v0 | s7 = v0;
0x00043e8c lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 < 0) {
0x00043e90 bltz v0, 0x43b00 | goto label_6;
| }
0x00043e94 lw v0, 8(s6) | v0 = *((s6 + 2));
0x00043e98 lui t0, 0x80 | t0 = 0x800000;
0x00043e9c or t0, v0, t0 | t0 = v0 | t0;
0x00043ea0 lw s5, 0x40(fp) | s5 = *(arg_40h);
0x00043ea4 sw t0, 8(s6) | *((s6 + 2)) = t0;
0x00043ea8 b 0x43730 | goto label_7;
| label_55:
0x00043eac lw a3, -0x7fcc(gp) | a3 = *(gp);
0x00043eb0 lw t9, -0x7164(gp) | t9 = sym.imp.__sprintf_chk
0x00043eb4 addiu s4, sp, 0x18 | s4 = sp + 0x18;
0x00043eb8 sw v0, 0x10(sp) | *(var_30h) = v0;
| /* str._proc__i_cmdline */
0x00043ebc addiu a3, a3, 0x2fec | a3 += 0x2fec;
0x00043ec0 addiu a2, zero, 0x1b | a2 = 0x1b;
0x00043ec4 addiu a1, zero, 1 | a1 = 1;
0x00043ec8 move a0, s4 | a0 = s4;
0x00043ecc jalr t9 | t9 ();
0x00043ed0 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00043ed4 b 0x437e8 | goto label_13;
| label_76:
0x00043ed8 andi v0, s0, 8 | v0 = s0 & 8;
0x00043edc andi v0, s0, 0x10 | v0 = s0 & 0x10;
| if (v0 != 0) {
0x00043ee0 beqz v0, 0x43ef0 |
0x00043ee4 lw v0, 0x44(fp) | v0 = *(arg_44h);
0x00043ee8 sw v0, 0x18(s6) | *((s6 + 6)) = v0;
0x00043eec andi v0, s0, 0x10 | v0 = s0 & 0x10;
| }
0x00043ef0 andi v0, s0, 0x20 | v0 = s0 & 0x20;
| if (v0 != 0) {
0x00043ef4 beqz v0, 0x43f04 |
0x00043ef8 lw v0, 0x48(fp) | v0 = *(arg_48h);
0x00043efc sw v0, 0x1c(s6) | *((s6 + 7)) = v0;
0x00043f00 andi v0, s0, 0x20 | v0 = s0 & 0x20;
| }
0x00043f04 andi v0, s0, 0x40 | v0 = s0 & 0x40;
| if (v0 != 0) {
0x00043f08 beqz v0, 0x43f18 |
0x00043f0c lw v0, 0x4c(fp) | v0 = *(arg_4ch);
0x00043f10 sw v0, 0x20(s6) | *((s6 + 8)) = v0;
0x00043f14 andi v0, s0, 0x40 | v0 = s0 & 0x40;
| }
| if (v0 != 0) {
0x00043f18 beql v0, zero, 0x43f2c |
0x00043f1c lw v0, 8(s6) | v0 = *((s6 + 2));
0x00043f20 lw v0, 0x50(fp) | v0 = *(arg_50h);
0x00043f24 sw v0, 0x24(s6) | *((s6 + 9)) = v0;
| label_80:
0x00043f28 lw v0, 8(s6) | v0 = *((s6 + 2));
| }
| label_79:
0x00043f2c lw s5, 0x40(fp) | s5 = *(arg_40h);
0x00043f30 or t2, v0, s7 | t2 = v0 | s7;
0x00043f34 sw t2, 8(s6) | *((s6 + 2)) = t2;
0x00043f38 b 0x43730 | goto label_7;
| label_56:
0x00043f3c addiu s7, zero, -3 | s7 = -3;
0x00043f40 b 0x439d0 | goto label_1;
| label_53:
0x00043f44 lw a0, 0x90(fp) | a0 = *(arg_90h);
0x00043f48 addiu a1, s6, 0x4c | a1 = s6 + 0x4c;
0x00043f4c jalr t9 | t9 ();
0x00043f50 move s7, v0 | s7 = v0;
0x00043f54 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 < 0) {
0x00043f58 bltz v0, 0x44180 | goto label_88;
| }
0x00043f5c lw v0, 8(s6) | v0 = *((s6 + 2));
0x00043f60 ori v0, v0, 0x1000 | v0 |= 0x1000;
0x00043f64 sw v0, 8(s6) | *((s6 + 2)) = v0;
0x00043f68 b 0x437bc | goto label_14;
| label_54:
0x00043f6c lw a0, 0x90(fp) | a0 = *(arg_90h);
0x00043f70 addiu a1, s6, 0x54 | a1 = s6 + 0x54;
0x00043f74 jalr t9 | t9 ();
0x00043f78 move s7, v0 | s7 = v0;
0x00043f7c addiu v0, zero, -3 | v0 = -3;
0x00043f80 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (s7 == v0) {
0x00043f84 beq s7, v0, 0x441c4 | goto label_89;
| }
0x00043f88 addiu v0, zero, -0xd | v0 = -0xd;
| if (s7 < 0) {
0x00043f8c bltz s7, 0x44214 | goto label_90;
| }
0x00043f90 lw v0, 8(s6) | v0 = *((s6 + 2));
0x00043f94 ori v0, v0, 0x4000 | v0 |= 0x4000;
0x00043f98 sw v0, 8(s6) | *((s6 + 2)) = v0;
0x00043f9c b 0x437c8 | goto label_15;
| label_45:
0x00043fa0 lw a3, -0x7fcc(gp) | a3 = *(gp);
0x00043fa4 lw t9, -0x7164(gp) | t9 = sym.imp.__sprintf_chk
0x00043fa8 addiu s4, sp, 0x18 | s4 = sp + 0x18;
0x00043fac sw v0, 0x10(sp) | *(var_30h) = v0;
| /* str._proc__i_status */
0x00043fb0 addiu a3, a3, 0x2f74 | a3 += 0x2f74;
0x00043fb4 addiu a2, zero, 0x1a | a2 = 0x1a;
0x00043fb8 addiu a1, zero, 1 | a1 = 1;
0x00043fbc move a0, s4 | a0 = s4;
0x00043fc0 jalr t9 | t9 ();
0x00043fc4 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00043fc8 b 0x4362c | goto label_16;
| label_46:
0x00043fcc lw t9, -0x6fc8(gp) | t9 = sym.imp.__errno_location;
0x00043fd0 jalr t9 | t9 ();
0x00043fd4 nop |
0x00043fd8 lw a1, (v0) | a1 = *(v0);
0x00043fdc addiu v0, zero, 2 | v0 = 2;
0x00043fe0 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (a1 == v0) {
0x00043fe4 beq a1, v0, 0x44300 | goto label_91;
| }
0x00043fe8 addiu v0, zero, 1 | v0 = 1;
0x00043fec addiu v0, zero, 0xd | v0 = 0xd;
| if (a1 == v0) {
0x00043ff0 beq a1, v0, 0x43754 | goto label_17;
| }
0x00043ff4 negu s7, a1 | __asm ("negu s7, a1");
| if (a1 == v0) {
0x00043ff8 beq a1, v0, 0x43754 | goto label_17;
| }
0x00043ffc lw t9, -0x7bf8(gp) | t9 = sym.safe_fclose;
0x00044000 b 0x43b14 | goto label_18;
| label_67:
0x00044004 lw a0, 0x90(fp) | a0 = *(arg_90h);
0x00044008 addiu a1, s6, 0x84 | a1 = s6 + 0x84;
0x0004400c jalr t9 | t9 ();
0x00044010 move s7, v0 | s7 = v0;
0x00044014 addiu v0, zero, -0x3d | v0 = -0x3d;
0x00044018 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (s7 == v0) {
0x0004401c beq s7, v0, 0x4422c | goto label_92;
| }
0x00044020 addiu v0, zero, -0xd | v0 = -0xd;
| if (s7 < 0) {
0x00044024 bltz s7, 0x44290 | goto label_93;
| }
0x00044028 lw v0, 8(s6) | v0 = *((s6 + 2));
0x0004402c or s4, v0, s4 | s4 = v0 | s4;
0x00044030 sw s4, 8(s6) | *((s6 + 2)) = s4;
0x00044034 b 0x4391c | goto label_19;
| label_87:
0x00044038 lui t0, 0x200 | t0 = imp.__progname;
| label_86:
0x0004403c and v0, s0, t0 | v0 = s0 & t0;
0x00044040 lui t0, 0x400 | t0 = imp.__progname;
| if (v0 == 0) {
0x00044044 beqz v0, 0x4411c | goto label_94;
| }
0x00044048 lw t9, -0x70f4(gp) | t9 = sym.imp.strncmp;
0x0004404c lw a1, 0x2c(fp) | a1 = *(arg_2ch);
0x00044050 addiu a2, zero, 7 | a2 = 7;
0x00044054 move a0, s5 | a0 = s5;
0x00044058 jalr t9 | t9 ();
0x0004405c lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 != 0) {
0x00044060 bnez v0, 0x44118 | goto label_95;
| }
0x00044064 addiu a2, s5, 7 | a2 = s5 + 7;
0x00044068 lw t9, 0x3c(fp) | t9 = *(arg_3ch);
| if (a2 == 0) {
0x0004406c beqz a2, 0x44118 | goto label_95;
| }
0x00044070 move a1, zero | a1 = 0;
0x00044074 move a0, s6 | a0 = s6;
0x00044078 jalr t9 | t9 ();
0x0004407c move s7, v0 | s7 = v0;
0x00044080 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 < 0) {
0x00044084 bltz v0, 0x43b00 | goto label_6;
| }
0x00044088 lw v0, 8(s6) | v0 = *((s6 + 2));
0x0004408c lui t0, 0x200 | t0 = imp.__progname;
0x00044090 or t0, v0, t0 | t0 = v0 | t0;
0x00044094 lw s5, 0x40(fp) | s5 = *(arg_40h);
0x00044098 sw t0, 8(s6) | *((s6 + 2)) = t0;
0x0004409c b 0x43730 | goto label_7;
| label_68:
0x000440a0 lw a0, 0x90(fp) | a0 = *(arg_90h);
0x000440a4 addiu a1, s6, 0x88 | a1 = s6 + 0x88;
0x000440a8 jalr t9 | t9 ();
0x000440ac move s7, v0 | s7 = v0;
0x000440b0 addiu v0, zero, -0x3d | v0 = -0x3d;
0x000440b4 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (s7 == v0) {
0x000440b8 beq s7, v0, 0x44244 | goto label_96;
| }
0x000440bc addiu v0, zero, -0xd | v0 = -0xd;
| if (s7 < 0) {
0x000440c0 bltz s7, 0x442c8 | goto label_97;
| }
0x000440c4 lw v0, 8(s6) | v0 = *((s6 + 2));
0x000440c8 or s4, v0, s4 | s4 = v0 | s4;
0x000440cc sw s4, 8(s6) | *((s6 + 2)) = s4;
0x000440d0 b 0x4392c | goto label_20;
| label_57:
0x000440d4 addiu v0, zero, -1 | v0 = -1;
| if (s7 == v0) {
0x000440d8 beq s7, v0, 0x43830 | goto label_21;
| }
| if (s7 != v0) {
0x000440dc bne s7, v0, 0x439d0 | goto label_1;
| }
0x000440e0 nop |
0x000440e4 lw v0, 0x94(fp) | v0 = *(arg_94h);
0x000440e8 b 0x43834 | goto label_22;
| label_51:
0x000440ec lw a3, -0x7fcc(gp) | a3 = *(gp);
0x000440f0 lw t9, -0x7164(gp) | t9 = sym.imp.__sprintf_chk
0x000440f4 addiu s4, sp, 0x18 | s4 = sp + 0x18;
0x000440f8 sw v0, 0x10(sp) | *(var_30h) = v0;
| /* str._proc__i_attr_current */
0x000440fc addiu a3, a3, 0x2fd4 | a3 += 0x2fd4;
0x00044100 addiu a2, zero, 0x20 | a2 = 0x20;
0x00044104 addiu a1, zero, 1 | a1 = 1;
0x00044108 move a0, s4 | a0 = s4;
0x0004410c jalr t9 | t9 ();
0x00044110 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00044114 b 0x43784 | goto label_23;
| label_95:
0x00044118 lui t0, 0x400 | t0 = imp.__progname;
| label_94:
0x0004411c and v0, s0, t0 | v0 = s0 & t0;
0x00044120 lw v0, 0x30(fp) | v0 = *(arg_30h);
| if (v0 == 0) {
0x00044124 beqz v0, 0x43730 | goto label_7;
| }
0x00044128 lw t9, -0x70f4(gp) | t9 = sym.imp.strncmp;
0x0004412c addiu a2, zero, 7 | a2 = 7;
0x00044130 addiu a1, v0, 0xb00 | a1 = v0 + 0xb00;
0x00044134 move a0, s5 | a0 = s5;
0x00044138 jalr t9 | t9 ();
0x0004413c lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 != 0) {
0x00044140 bnez v0, 0x43730 | goto label_7;
| }
0x00044144 addiu a2, s5, 7 | a2 = s5 + 7;
0x00044148 lw t9, 0x3c(fp) | t9 = *(arg_3ch);
| if (a2 == 0) {
0x0004414c beqz a2, 0x43730 | goto label_7;
| }
0x00044150 addiu a1, zero, 3 | a1 = 3;
0x00044154 move a0, s6 | a0 = s6;
0x00044158 jalr t9 | t9 ();
0x0004415c move s7, v0 | s7 = v0;
0x00044160 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 < 0) {
0x00044164 bltz v0, 0x43b00 | goto label_6;
| }
0x00044168 lw v0, 8(s6) | v0 = *((s6 + 2));
0x0004416c lui t0, 0x400 | t0 = imp.__progname;
0x00044170 or t0, v0, t0 | t0 = v0 | t0;
0x00044174 lw s5, 0x40(fp) | s5 = *(arg_40h);
0x00044178 sw t0, 8(s6) | *((s6 + 2)) = t0;
0x0004417c b 0x43730 | goto label_7;
| label_88:
0x00044180 addiu v0, zero, -0xd | v0 = -0xd;
0x00044184 addiu v0, zero, -1 | v0 = -1;
| if (s7 == v0) {
0x00044188 beq s7, v0, 0x437bc | goto label_14;
| }
| if (s7 != v0) {
0x0004418c bne s7, v0, 0x439d0 | goto label_1;
| }
0x00044190 nop |
0x00044194 andi v0, s0, 0x4000 | v0 = s0 & 0x4000;
0x00044198 b 0x437c0 | goto label_24;
| label_83:
0x0004419c lw v0, 8(s6) | v0 = *((s6 + 2));
0x000441a0 lw s5, 0x40(fp) | s5 = *(arg_40h);
0x000441a4 ori v0, v0, 0x800 | v0 |= 0x800;
0x000441a8 sw v0, 8(s6) | *((s6 + 2)) = v0;
0x000441ac b 0x43730 | goto label_7;
| label_69:
0x000441b0 lw v0, 8(s6) | v0 = *((s6 + 2));
0x000441b4 sw zero, 0x7c(s6) | *((s6 + 31)) = 0;
0x000441b8 or s4, v0, s4 | s4 = v0 | s4;
0x000441bc sw s4, 8(s6) | *((s6 + 2)) = s4;
0x000441c0 b 0x43974 | goto label_25;
| label_89:
0x000441c4 lw v0, 8(s6) | v0 = *((s6 + 2));
0x000441c8 sw zero, 0x54(s6) | *((s6 + 21)) = 0;
0x000441cc ori v0, v0, 0x4000 | v0 |= 0x4000;
0x000441d0 sw v0, 8(s6) | *((s6 + 2)) = v0;
0x000441d4 b 0x437c8 | goto label_15;
| label_70:
0x000441d8 sltiu v0, a0, 0xd | v0 = (a0 < 0xd) ? 1 : 0;
| if (v0 == 0) {
0x000441dc beqz v0, 0x439d0 | goto label_1;
| }
0x000441e0 nop |
0x000441e4 addiu v0, zero, 1 | v0 = 1;
0x000441e8 sllv v0, v0, a0 | v0 <<= a0;
0x000441ec andi v0, v0, 0x1801 | v0 &= 0x1801;
0x000441f0 lw t9, -0x7954(gp) | t9 = sym.pid_is_alive;
| if (v0 != 0) {
0x000441f4 bnez v0, 0x43978 | goto label_26;
| }
0x000441f8 b 0x439d0 | goto label_1;
0x000441fc nop |
| label_58:
0x00044200 lw a0, 0x58(s6) | a0 = *((s6 + 22));
0x00044204 jalr t9 | t9 ();
0x00044208 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0004420c sw zero, 0x58(s6) | *((s6 + 22)) = 0;
0x00044210 b 0x43824 | goto label_27;
| label_90:
0x00044214 addiu v0, zero, -1 | v0 = -1;
| if (s7 == v0) {
0x00044218 beq s7, v0, 0x437c8 | goto label_15;
| }
| if (s7 != v0) {
0x0004421c bne s7, v0, 0x439d0 | goto label_1;
| }
0x00044220 nop |
0x00044224 andi v0, s0, 0x8000 | v0 = s0 & 0x8000;
0x00044228 b 0x437cc | goto label_28;
| label_92:
0x0004422c lw v0, 8(s6) | v0 = *((s6 + 2));
0x00044230 or s4, v0, s4 | s4 = v0 | s4;
0x00044234 addiu v0, zero, -1 | v0 = -1;
0x00044238 sw v0, 0x84(s6) | *((s6 + 33)) = v0;
0x0004423c sw s4, 8(s6) | *((s6 + 2)) = s4;
0x00044240 b 0x4391c | goto label_19;
| label_96:
0x00044244 lw v0, 8(s6) | v0 = *((s6 + 2));
0x00044248 or s4, v0, s4 | s4 = v0 | s4;
0x0004424c addiu v0, zero, -1 | v0 = -1;
0x00044250 sw v0, 0x88(s6) | *((s6 + 34)) = v0;
0x00044254 sw s4, 8(s6) | *((s6 + 2)) = s4;
0x00044258 b 0x4392c | goto label_20;
| label_60:
0x0004425c addiu s7, zero, -0xc | s7 = -0xc;
| label_38:
0x00044260 lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
| label_34:
0x00044264 lw a0, 0x50(fp) | a0 = *(arg_50h);
0x00044268 jalr t9 | t9 ();
0x0004426c lw gp, 0x18(fp) | gp = *(arg_18h);
0x00044270 b 0x439d0 | goto label_1;
| label_65:
0x00044274 addiu a0, s6, 0x9c | a0 = s6 + 0x9c;
0x00044278 jalr t9 | t9 ();
0x0004427c move s7, v0 | s7 = v0;
0x00044280 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 >= 0) {
0x00044284 bgez v0, 0x43900 | goto label_29;
| }
0x00044288 b 0x439d0 | goto label_1;
0x0004428c nop |
| label_93:
0x00044290 slti v0, s7, -0xc | v0 = (s7 < -0xc) ? 1 : 0;
| if (s7 == v0) {
0x00044294 beq s7, v0, 0x4391c | goto label_19;
| }
0x00044298 addiu v0, s7, 2 | v0 = s7 + 2;
| if (v0 == 0) {
0x0004429c beqz v0, 0x442b4 | goto label_98;
| }
0x000442a0 addiu v0, zero, -0x7a | v0 = -0x7a;
0x000442a4 lui s4, 0x2000 | s4 = 0x20000000;
| if (s7 == v0) {
0x000442a8 beq s7, v0, 0x43920 | goto label_30;
| }
0x000442ac b 0x439d0 | goto label_1;
0x000442b0 nop |
| label_98:
0x000442b4 sltiu v0, v0, 2 | v0 = (v0 < 2) ? 1 : 0;
0x000442b8 lui s4, 0x2000 | s4 = 0x20000000;
| if (v0 != 0) {
0x000442bc bnez v0, 0x43920 | goto label_30;
| }
0x000442c0 b 0x439d0 | goto label_1;
0x000442c4 nop |
| label_97:
0x000442c8 slti v0, s7, -0xc | v0 = (s7 < -0xc) ? 1 : 0;
| if (s7 == v0) {
0x000442cc beq s7, v0, 0x4392c | goto label_20;
| }
0x000442d0 addiu v0, s7, 2 | v0 = s7 + 2;
| if (v0 == 0) {
0x000442d4 beqz v0, 0x442ec | goto label_99;
| }
0x000442d8 addiu v0, zero, -0x7a | v0 = -0x7a;
0x000442dc lui s4, 0x4000 | s4 = 0x40000000;
| if (s7 == v0) {
0x000442e0 beq s7, v0, 0x43930 | goto label_31;
| }
0x000442e4 b 0x439d0 | goto label_1;
0x000442e8 nop |
| label_99:
0x000442ec sltiu v0, v0, 2 | v0 = (v0 < 2) ? 1 : 0;
0x000442f0 lui s4, 0x4000 | s4 = 0x40000000;
| if (v0 != 0) {
0x000442f4 bnez v0, 0x43930 | goto label_31;
| }
0x000442f8 b 0x439d0 | goto label_1;
0x000442fc nop |
| label_91:
0x00044300 addiu s7, zero, -3 | s7 = -3;
0x00044304 b 0x43b10 | goto label_32;
| label_62:
0x00044308 addiu v0, zero, -1 | v0 = -1;
| if (s7 == v0) {
0x0004430c beq s7, v0, 0x438a8 | goto label_33;
| }
0x00044310 lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
| if (s7 != v0) {
0x00044314 bne s7, v0, 0x44264 | goto label_34;
| }
0x00044318 b 0x438ac | goto label_35;
0x0004431c nop |
| label_64:
0x00044320 addiu v0, zero, -0xd | v0 = -0xd;
0x00044324 addiu v0, zero, -1 | v0 = -1;
| if (s7 == v0) {
0x00044328 beq s7, v0, 0x438f4 | goto label_36;
| }
| if (s7 != v0) {
0x0004432c bne s7, v0, 0x439d0 | goto label_1;
| }
0x00044330 nop |
0x00044334 lw v0, 0x9c(s6) | v0 = *((s6 + 39));
0x00044338 b 0x438f8 | goto label_37;
| label_61:
0x0004433c addiu s7, zero, -3 | s7 = -3;
0x00044340 b 0x44260 | goto label_38;
| label_84:
0x00044344 addiu s7, zero, -0xc | s7 = -0xc;
0x00044348 b 0x43b00 | goto label_6;
| label_72:
0x0004434c lw t9, -0x6e2c(gp) | t9 = sym.imp.__stack_chk_fail;
0x00044350 jalr t9 | t9 ();
0x00044354 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/udevadm @ 0x8a5e4 */
| #include <stdint.h>
|
; (fcn) sym.cg_pid_get_path () | void cg_pid_get_path () {
0x0008a5e4 lui gp, 7 |
0x0008a5e8 addiu gp, gp, 0x4c9c |
0x0008a5ec addu gp, gp, t9 | gp += t9;
0x0008a5f0 addiu sp, sp, -0x70 |
0x0008a5f4 sw s4, 0x58(sp) | *(var_58h) = s4;
0x0008a5f8 lw s4, -0x6de8(gp) | s4 = *((gp - 7034));
0x0008a5fc sw fp, 0x68(sp) | *(var_68h) = fp;
0x0008a600 sw ra, 0x6c(sp) | *(var_6ch) = ra;
0x0008a604 sw s7, 0x64(sp) | *(var_64h) = s7;
0x0008a608 sw s6, 0x60(sp) | *(var_60h) = s6;
0x0008a60c sw s5, 0x5c(sp) | *(var_5ch) = s5;
0x0008a610 sw s3, 0x54(sp) | *(var_54h) = s3;
0x0008a614 sw s2, 0x50(sp) | *(var_50h) = s2;
0x0008a618 sw s1, 0x4c(sp) | *(var_4ch) = s1;
0x0008a61c sw s0, 0x48(sp) | *(var_48h) = s0;
0x0008a620 sw gp, 0x18(sp) | *(var_18h) = gp;
0x0008a624 move fp, sp | fp = sp;
0x0008a628 lw v0, (s4) | v0 = *(s4);
0x0008a62c sw a2, 0x2c(fp) | *(arg_2ch) = a2;
0x0008a630 sw v0, 0x44(fp) | *(arg_44h) = v0;
0x0008a634 sw zero, 0x34(fp) | *(arg_34h) = 0;
| if (a2 == 0) {
0x0008a638 beqz a2, 0x8a950 | goto label_9;
| }
0x0008a63c move s3, a1 | s3 = a1;
| if (a1 < 0) {
0x0008a640 bltz a1, 0x8a97c | goto label_10;
| }
0x0008a644 move s0, a0 | s0 = a0;
| if (a0 == 0) {
0x0008a648 beqz a0, 0x8a92c | goto label_11;
| }
0x0008a64c lw t9, -0x7460(gp) | t9 = sym.cg_controller_is_valid;
0x0008a650 bal 0x8a400 | sym_cg_controller_is_valid ();
0x0008a654 nop |
0x0008a658 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == 0) {
0x0008a65c beqz v0, 0x8a9d0 | goto label_12;
| }
| label_5:
0x0008a660 lw t9, -0x745c(gp) | t9 = sym.cg_unified_controller;
0x0008a664 move a0, s0 | a0 = s0;
0x0008a668 bal 0x8a510 | sym_cg_unified_controller ();
0x0008a66c move s1, v0 | s1 = v0;
0x0008a670 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 < 0) {
0x0008a674 bltz v0, 0x8a7a4 | goto label_8;
| }
0x0008a678 lw a1, -0x7fd8(gp) | a1 = *(gp);
| if (v0 == 0) {
0x0008a67c beqz v0, 0x8a7f8 | goto label_13;
| }
0x0008a680 move s2, zero | s2 = 0;
| label_6:
0x0008a684 addiu sp, sp, -0x20 |
| if (s3 == 0) {
0x0008a688 bnel s3, zero, 0x8a824 | goto label_14;
| }
| do {
0x0008a68c lw s5, -0x7fd8(gp) | s5 = *(gp);
| /* str._proc_self_cgroup */
0x0008a690 addiu s5, s5, -0xf8c | s5 += -0xf8c;
| label_0:
0x0008a694 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x0008a698 lw t9, -0x7458(gp) | t9 = sym.fopen_unlocked;
0x0008a69c addiu a2, fp, 0x34 | a2 = fp + 0x34;
| /* esilref: 're' */
0x0008a6a0 addiu a1, a1, -0x65c8 | a1 += -0x65c8;
0x0008a6a4 move a0, s5 | a0 = s5;
0x0008a6a8 bal 0x8f7bc | sym_fopen_unlocked ();
0x0008a6ac addiu v1, zero, -2 | v1 = -2;
0x0008a6b0 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == v1) {
0x0008a6b4 beq v0, v1, 0x8a9d8 | goto label_15;
| }
| if (v0 >= 0) {
0x0008a6b8 bltzl v0, 0x8a7a4 |
0x0008a6bc move s1, v0 | s1 = v0;
0x0008a6c0 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0008a6c4 lw s3, -0x7fcc(gp) | s3 = *(gp);
| /* esilref: '0:' */
0x0008a6c8 addiu v0, v0, -0xf68 | v0 += -0xf68;
0x0008a6cc addiu s6, fp, 0x38 | s6 = fp + 0x38;
0x0008a6d0 addiu s7, fp, 0x3c | s7 = fp + 0x3c;
| /* esilref: '' */
0x0008a6d4 addiu s3, s3, -0x5384 | s3 += -0x5384;
0x0008a6d8 sw v0, 0x24(fp) | *(arg_24h) = v0;
| label_1:
0x0008a6dc lw t9, -0x7c20(gp) | t9 = sym.read_line_full;
0x0008a6e0 lw a0, 0x34(fp) | a0 = *(arg_34h);
0x0008a6e4 move a3, s6 | a3 = s6;
0x0008a6e8 move a2, zero | a2 = 0;
0x0008a6ec lui a1, 0x10 | a1 = 0x100000;
0x0008a6f0 sw zero, 0x38(fp) | *(arg_38h) = 0;
0x0008a6f4 bal 0x905d0 | sym_read_line_full ();
0x0008a6f8 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 < 0) {
0x0008a6fc bltz v0, 0x8a9b0 | goto label_16;
| }
0x0008a700 lw s5, 0x38(fp) | s5 = *(arg_38h);
| if (v0 == 0) {
0x0008a704 beqz v0, 0x8a9b8 | goto label_17;
| }
0x0008a708 lw t9, -0x6f30(gp) | t9 = sym.imp.strchr;
| if (s1 == 0) {
0x0008a70c beqz s1, 0x8a868 | goto label_18;
| }
0x0008a710 lw t9, -0x70f4(gp) | t9 = sym.imp.strncmp;
0x0008a714 lw a1, 0x24(fp) | a1 = *(arg_24h);
0x0008a718 addiu a2, zero, 2 | a2 = 2;
0x0008a71c move a0, s5 | a0 = s5;
0x0008a720 jalr t9 | t9 ();
0x0008a724 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 != 0) {
0x0008a728 bnez v0, 0x8a854 | goto label_2;
| }
0x0008a72c addiu a0, s5, 2 | a0 = s5 + 2;
0x0008a730 lw t9, -0x6f30(gp) | t9 = sym.imp.strchr;
| if (a0 == 0) {
0x0008a734 beqz a0, 0x8a850 | goto label_19;
| }
0x0008a738 addiu a1, zero, 0x3a | a1 = 0x3a;
0x0008a73c jalr t9 | t9 ();
0x0008a740 sw v0, 0x28(fp) | *(arg_28h) = v0;
0x0008a744 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == 0) {
0x0008a748 beqz v0, 0x8a854 | goto label_2;
| }
| label_3:
0x0008a74c lw v0, 0x28(fp) | v0 = *(arg_28h);
0x0008a750 lw t9, -0x6dcc(gp) | t9 = sym.imp.strdup;
0x0008a754 addiu a0, v0, 1 | a0 = v0 + 1;
0x0008a758 jalr t9 | t9 ();
0x0008a75c move s0, v0 | s0 = v0;
0x0008a760 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == 0) {
0x0008a764 beqz v0, 0x8a9a8 | goto label_20;
| }
0x0008a768 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x0008a76c lw t9, -0x7d74(gp) | t9 = sym.endswith;
| /* str.__deleted_ */
0x0008a770 addiu a1, a1, -0xf64 | a1 += -aav.0x00000f64;
0x0008a774 move a0, v0 | a0 = v0;
0x0008a778 bal 0xa7b30 | sym_endswith ();
0x0008a77c lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 != 0) {
0x0008a780 beqz v0, 0x8a788 |
0x0008a784 sb zero, (v0) | *(v0) = 0;
| }
0x0008a788 lw v0, 0x2c(fp) | v0 = *(arg_2ch);
0x0008a78c move s1, zero | s1 = 0;
0x0008a790 sw s0, (v0) | *(v0) = s0;
| label_7:
0x0008a794 lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x0008a798 lw a0, 0x38(fp) | a0 = *(arg_38h);
0x0008a79c jalr t9 | t9 ();
0x0008a7a0 lw gp, 0x18(fp) | gp = *(arg_18h);
| }
| label_8:
0x0008a7a4 lw t9, -0x7bf8(gp) | t9 = sym.safe_fclose;
0x0008a7a8 lw a0, 0x34(fp) | a0 = *(arg_34h);
0x0008a7ac bal 0x8ebc0 | sym_safe_fclose ();
0x0008a7b0 lw a0, 0x44(fp) | a0 = *(arg_44h);
0x0008a7b4 lw v1, (s4) | v1 = *(s4);
0x0008a7b8 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0008a7bc move v0, s1 | v0 = s1;
| if (a0 != v1) {
0x0008a7c0 bne a0, v1, 0x8a9e0 | goto label_21;
| }
0x0008a7c4 move sp, fp |
0x0008a7c8 lw ra, 0x6c(sp) | ra = *(var_6ch);
0x0008a7cc lw fp, 0x68(sp) | fp = *(var_68h);
0x0008a7d0 lw s7, 0x64(sp) | s7 = *(var_64h);
0x0008a7d4 lw s6, 0x60(sp) | s6 = *(var_60h);
0x0008a7d8 lw s5, 0x5c(sp) | s5 = *(var_5ch);
0x0008a7dc lw s4, 0x58(sp) | s4 = *(var_58h);
0x0008a7e0 lw s3, 0x54(sp) | s3 = *(var_54h);
0x0008a7e4 lw s2, 0x50(sp) | s2 = *(var_50h);
0x0008a7e8 lw s1, 0x4c(sp) | s1 = *(var_4ch);
0x0008a7ec lw s0, 0x48(sp) | s0 = *(var_48h);
0x0008a7f0 addiu sp, sp, 0x70 |
0x0008a7f4 jr ra | return v0;
| label_13:
0x0008a7f8 lw t9, -0x6d64(gp) | t9 = *((gp - 7001));
| /* str._systemd */
0x0008a7fc addiu a1, a1, -0x1010 | a1 += -aav.0x00001010;
0x0008a800 move a0, s0 | a0 = s0;
0x0008a804 jalr t9 | t9 ();
0x0008a808 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 != 0) {
0x0008a80c bnez v0, 0x8a938 | goto label_22;
| }
0x0008a810 lw s0, -0x7fd8(gp) | s0 = *(gp);
0x0008a814 addiu s2, zero, 0xc | s2 = 0xc;
| /* str.namesystemd */
0x0008a818 addiu s0, s0, -0xf9c | s0 += -0xf9c;
0x0008a81c beqz s3, 0x8a68c |
| } while (s3 == 0);
0x0008a820 addiu sp, sp, -0x20 |
| label_14:
0x0008a824 lw a3, -0x7fd8(gp) | a3 = *(gp);
0x0008a828 lw t9, -0x7164(gp) | t9 = sym.imp.__sprintf_chk
0x0008a82c addiu s5, sp, 0x18 | s5 = sp + 0x18;
0x0008a830 sw s3, 0x10(sp) | *(var_28h) = s3;
| /* str._proc__i_cgroup */
0x0008a834 addiu a3, a3, -0xf78 | a3 += -0xf78;
0x0008a838 addiu a2, zero, 0x1a | a2 = 0x1a;
0x0008a83c addiu a1, zero, 1 | a1 = 1;
0x0008a840 move a0, s5 | a0 = s5;
0x0008a844 jalr t9 | t9 ();
0x0008a848 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0008a84c b 0x8a694 | goto label_0;
| label_19:
0x0008a850 addiu s5, zero, -2 | s5 = -2;
| do {
| label_2:
0x0008a854 lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x0008a858 move a0, s5 | a0 = s5;
0x0008a85c jalr t9 | t9 ();
0x0008a860 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0008a864 b 0x8a6dc | goto label_1;
| label_18:
0x0008a868 addiu a1, zero, 0x3a | a1 = 0x3a;
0x0008a86c move a0, s5 | a0 = s5;
0x0008a870 jalr t9 | t9 ();
0x0008a874 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0008a878 beqz v0, 0x8a854 |
| } while (v0 == 0);
0x0008a87c addiu v1, v0, 1 | v1 = v0 + 1;
0x0008a880 lw t9, -0x6f30(gp) | t9 = sym.imp.strchr;
0x0008a884 addiu a1, zero, 0x3a | a1 = 0x3a;
0x0008a888 move a0, v1 | a0 = v1;
0x0008a88c sw v1, 0x20(fp) | *(arg_20h) = v1;
0x0008a890 jalr t9 | t9 ();
0x0008a894 sw v0, 0x28(fp) | *(arg_28h) = v0;
0x0008a898 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == 0) {
0x0008a89c beqz v0, 0x8a854 | goto label_2;
| }
0x0008a8a0 lw v1, 0x20(fp) | v1 = *(arg_20h);
0x0008a8a4 lw t9, -0x7b04(gp) | t9 = sym.split;
0x0008a8a8 addiu s5, fp, 0x40 | s5 = fp + 0x40;
0x0008a8ac sb zero, (v0) | *(v0) = 0;
0x0008a8b0 move a3, zero | a3 = 0;
0x0008a8b4 move a2, s3 | a2 = s3;
0x0008a8b8 move a1, s7 | a1 = s7;
0x0008a8bc move a0, s5 | a0 = s5;
0x0008a8c0 sw v1, 0x40(fp) | *(arg_40h) = v1;
0x0008a8c4 bal 0xa7d94 | sym_split ();
0x0008a8c8 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == 0) {
0x0008a8cc beqz v0, 0x8a914 | goto label_23;
| }
| label_4:
0x0008a8d0 lw v1, 0x3c(fp) | v1 = *(arg_3ch);
0x0008a8d4 lw t9, -0x6e14(gp) | t9 = sym.imp.memcmp;
| if (v1 != s2) {
0x0008a8d8 bne v1, s2, 0x8a8f4 | goto label_24;
| }
0x0008a8dc move a2, s2 | a2 = s2;
0x0008a8e0 move a1, s0 | a1 = s0;
0x0008a8e4 move a0, v0 | a0 = v0;
0x0008a8e8 jalr t9 | t9 ();
0x0008a8ec lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == 0) {
0x0008a8f0 beqz v0, 0x8a74c | goto label_3;
| }
| label_24:
0x0008a8f4 lw t9, -0x7b04(gp) | t9 = sym.split;
0x0008a8f8 move a3, zero | a3 = 0;
0x0008a8fc move a2, s3 | a2 = s3;
0x0008a900 move a1, s7 | a1 = s7;
0x0008a904 move a0, s5 | a0 = s5;
0x0008a908 bal 0xa7d94 | sym_split ();
0x0008a90c lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 != 0) {
0x0008a910 bnez v0, 0x8a8d0 | goto label_4;
| }
| label_23:
0x0008a914 lw s5, 0x38(fp) | s5 = *(arg_38h);
0x0008a918 lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x0008a91c move a0, s5 | a0 = s5;
0x0008a920 jalr t9 | t9 ();
0x0008a924 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0008a928 b 0x8a6dc | goto label_1;
| label_11:
0x0008a92c lw s0, -0x7fd8(gp) | s0 = *(gp);
| /* str._systemd */
0x0008a930 addiu s0, s0, -0x1010 | s0 += -aav.0x00001010;
0x0008a934 b 0x8a660 | goto label_5;
| label_22:
0x0008a938 lw t9, -0x6f38(gp) | t9 = sym.imp.strlen;
0x0008a93c move a0, s0 | a0 = s0;
0x0008a940 jalr t9 | t9 ();
0x0008a944 move s2, v0 | s2 = v0;
0x0008a948 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0008a94c b 0x8a684 | goto label_6;
| label_9:
0x0008a950 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0008a954 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x0008a958 lw a1, -0x7fd8(gp) | a1 = *(gp);
| /* str.cg_pid_get_path */
0x0008a95c addiu v0, v0, -0xe0c | v0 += -aav.0x00000e0c;
0x0008a960 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x0008a964 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0008a968 addiu a3, zero, 0x40b | a3 = 0x40b;
| /* esilref: 'src/basic/cgroup-util.c' */
0x0008a96c addiu a2, a2, -0x12c5 | a2 += -0x12c5;
| /* esilref: 'path' */
0x0008a970 addiu a1, a1, -0x48c4 | a1 += -0x48c4;
0x0008a974 move a0, zero | a0 = 0;
0x0008a978 bal 0x991c4 | sym_log_assert_failed_realm ();
| label_10:
0x0008a97c lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0008a980 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x0008a984 lw a1, -0x7fd8(gp) | a1 = *(gp);
| /* str.cg_pid_get_path */
0x0008a988 addiu v0, v0, -0xe0c | v0 += -aav.0x00000e0c;
0x0008a98c lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x0008a990 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0008a994 addiu a3, zero, 0x40c | a3 = aav.0x0000040c;
| /* esilref: 'src/basic/cgroup-util.c' */
0x0008a998 addiu a2, a2, -0x12c5 | a2 += -0x12c5;
| /* str.pid___0 */
0x0008a99c addiu a1, a1, -0x5e68 | a1 += -0x5e68;
0x0008a9a0 move a0, zero | a0 = 0;
0x0008a9a4 bal 0x991c4 | sym_log_assert_failed_realm ();
| label_20:
0x0008a9a8 addiu s1, zero, -0xc | s1 = -0xc;
0x0008a9ac b 0x8a794 | goto label_7;
| label_16:
0x0008a9b0 move s1, v0 | s1 = v0;
0x0008a9b4 b 0x8a794 | goto label_7;
| label_17:
0x0008a9b8 lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x0008a9bc move a0, s5 | a0 = s5;
0x0008a9c0 jalr t9 | t9 ();
0x0008a9c4 addiu s1, zero, -0x3d | s1 = -0x3d;
0x0008a9c8 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0008a9cc b 0x8a7a4 | goto label_8;
| label_12:
0x0008a9d0 addiu s1, zero, -0x16 | s1 = -0x16;
0x0008a9d4 b 0x8a7a4 | goto label_8;
| label_15:
0x0008a9d8 addiu s1, zero, -3 | s1 = -3;
0x0008a9dc b 0x8a7a4 | goto label_8;
| label_21:
0x0008a9e0 lw t9, -0x6e2c(gp) | t9 = sym.imp.__stack_chk_fail;
0x0008a9e4 jalr t9 | t9 ();
0x0008a9e8 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/udevadm @ 0x8ac4c */
| #include <stdint.h>
|
; (fcn) sym.cg_pid_get_path_shifted () | void cg_pid_get_path_shifted () {
0x0008ac4c lui gp, 7 |
0x0008ac50 addiu gp, gp, 0x4634 |
0x0008ac54 addu gp, gp, t9 | gp += t9;
0x0008ac58 addiu sp, sp, -0x48 |
0x0008ac5c sw s0, 0x38(sp) | *(var_38h_2) = s0;
0x0008ac60 lw s0, -0x6de8(gp) | s0 = *((gp - 7034));
0x0008ac64 sw gp, 0x18(sp) | *(var_18h_4) = gp;
0x0008ac68 sw ra, 0x44(sp) | *(var_44h) = ra;
0x0008ac6c sw s2, 0x40(sp) | *(var_40h) = s2;
0x0008ac70 sw s1, 0x3c(sp) | *(var_3ch_2) = s1;
0x0008ac74 lw v0, (s0) | v0 = *(s0);
0x0008ac78 sw zero, 0x2c(sp) | *(var_2ch_3) = 0;
0x0008ac7c sw v0, 0x34(sp) | *(var_34h_3) = v0;
| if (a0 < 0) {
0x0008ac80 bltzl a0, 0x8ad4c | goto label_1;
| }
0x0008ac84 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0008ac88 move s2, a2 | s2 = a2;
| if (a2 == 0) {
0x0008ac8c beqz a2, 0x8ad74 | goto label_2;
| }
0x0008ac90 move s1, a1 | s1 = a1;
0x0008ac94 move a1, a0 | a1 = a0;
0x0008ac98 lw a0, -0x7fd8(gp) | a0 = *(gp);
0x0008ac9c lw t9, -0x7964(gp) | t9 = *(gp);
0x0008aca0 addiu a2, sp, 0x2c | a2 = sp + 0x2c;
| /* str._systemd */
0x0008aca4 addiu a0, a0, -0x1010 | a0 += -aav.0x00001010;
0x0008aca8 bal 0x8a5e4 | sym_cg_pid_get_path ();
0x0008acac lw gp, 0x18(sp) | gp = *(var_18h_4);
| if (v0 >= 0) {
0x0008acb0 bltz v0, 0x8acfc |
0x0008acb4 lw t9, -0x7454(gp) | t9 = sym.cg_shift_path;
0x0008acb8 lw a0, 0x2c(sp) | a0 = *(var_2ch_3);
0x0008acbc addiu a2, sp, 0x30 | a2 = sp + 0x30;
0x0008acc0 move a1, s1 | a1 = s1;
0x0008acc4 bal 0x8ab10 | sym_cg_shift_path ();
0x0008acc8 lw gp, 0x18(sp) | gp = *(var_18h_4);
| if (v0 >= 0) {
0x0008accc bltz v0, 0x8acfc |
0x0008acd0 lw a0, 0x30(sp) | a0 = *(var_30h_4);
0x0008acd4 lw s1, 0x2c(sp) | s1 = *(var_2ch_3);
0x0008acd8 lw t9, -0x6dcc(gp) | t9 = sym.imp.strdup;
| if (a0 == s1) {
0x0008acdc beq a0, s1, 0x8ad3c | goto label_3;
| }
0x0008ace0 jalr t9 | t9 ();
0x0008ace4 nop |
0x0008ace8 lw gp, 0x18(sp) | gp = *(var_18h_4);
| if (v0 == 0) {
0x0008acec beqz v0, 0x8ada0 | goto label_4;
| }
0x0008acf0 sw v0, (s2) | *(s2) = v0;
0x0008acf4 move v0, zero | v0 = 0;
0x0008acf8 b 0x8ad00 |
| }
| } else {
0x0008acfc lw s1, 0x2c(sp) | s1 = *(var_2ch_3);
| }
| do {
| label_0:
0x0008ad00 lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x0008ad04 sw v0, 0x24(sp) | *(var_24h_3) = v0;
0x0008ad08 move a0, s1 | a0 = s1;
0x0008ad0c jalr t9 | t9 ();
0x0008ad10 lw a0, 0x34(sp) | a0 = *(var_34h_3);
0x0008ad14 lw v1, (s0) | v1 = *(s0);
0x0008ad18 lw gp, 0x18(sp) | gp = *(var_18h_4);
0x0008ad1c lw v0, 0x24(sp) | v0 = *(var_24h_3);
| if (a0 != v1) {
0x0008ad20 bne a0, v1, 0x8ada8 | goto label_5;
| }
0x0008ad24 lw ra, 0x44(sp) | ra = *(var_44h);
0x0008ad28 lw s2, 0x40(sp) | s2 = *(var_40h);
0x0008ad2c lw s1, 0x3c(sp) | s1 = *(var_3ch_2);
0x0008ad30 lw s0, 0x38(sp) | s0 = *(var_38h_2);
0x0008ad34 addiu sp, sp, 0x48 |
0x0008ad38 jr ra | return v0;
| label_3:
0x0008ad3c sw s1, (s2) | *(s2) = s1;
0x0008ad40 move v0, zero | v0 = 0;
0x0008ad44 move s1, zero | s1 = 0;
0x0008ad48 b 0x8ad00 |
| } while (1);
| label_1:
0x0008ad4c lw a2, -0x7fd8(gp) | a2 = *(gp);
0x0008ad50 lw a1, -0x7fd8(gp) | a1 = *(gp);
| /* str.cg_pid_get_path_shifted */
0x0008ad54 addiu v0, v0, -0xe48 | v0 += -0xe48;
0x0008ad58 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x0008ad5c sw v0, 0x10(sp) | *(var_10h_4) = v0;
0x0008ad60 addiu a3, zero, 0x5aa | a3 = 0x5aa;
| /* esilref: 'src/basic/cgroup-util.c' */
0x0008ad64 addiu a2, a2, -0x12c5 | a2 += -0x12c5;
| /* str.pid___0 */
0x0008ad68 addiu a1, a1, -0x5e68 | a1 += -0x5e68;
0x0008ad6c move a0, zero | a0 = 0;
0x0008ad70 bal 0x991c4 | sym_log_assert_failed_realm ();
| label_2:
0x0008ad74 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0008ad78 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x0008ad7c lw a1, -0x7fd8(gp) | a1 = *(gp);
| /* str.cg_pid_get_path_shifted */
0x0008ad80 addiu v0, v0, -0xe48 | v0 += -0xe48;
0x0008ad84 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x0008ad88 sw v0, 0x10(sp) | *(var_10h_4) = v0;
0x0008ad8c addiu a3, zero, 0x5ab | a3 = 0x5ab;
| /* esilref: 'src/basic/cgroup-util.c' */
0x0008ad90 addiu a2, a2, -0x12c5 | a2 += -0x12c5;
| /* esilref: 'cgroup' */
0x0008ad94 addiu a1, a1, -0xf08 | a1 += -0xf08;
0x0008ad98 move a0, zero | a0 = 0;
0x0008ad9c bal 0x991c4 | sym_log_assert_failed_realm ();
| label_4:
0x0008ada0 addiu v0, zero, -0xc | v0 = -0xc;
0x0008ada4 b 0x8ad00 | goto label_0;
| label_5:
0x0008ada8 lw t9, -0x6e2c(gp) | t9 = sym.imp.__stack_chk_fail;
0x0008adac jalr t9 | t9 ();
0x0008adb0 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/udevadm @ 0xb2ee8 */
| #include <stdint.h>
|
; (fcn) sym.encode_devnode_name () | void encode_devnode_name () {
0x000b2ee8 lui gp, 5 |
0x000b2eec addiu gp, gp, -0x3c68 |
0x000b2ef0 addu gp, gp, t9 | gp += t9;
| if (a0 == 0) {
0x000b2ef4 beqz a0, 0xb30c0 | goto label_2;
| }
0x000b2ef8 nop |
| if (a1 == 0) {
0x000b2efc beqz a1, 0xb30c0 | goto label_2;
| }
0x000b2f00 nop |
0x000b2f04 addiu sp, sp, -0x48 |
0x000b2f08 sw s6, 0x38(sp) | *(var_38h_2) = s6;
0x000b2f0c sw s5, 0x34(sp) | *(var_34h_2) = s5;
0x000b2f10 sw s4, 0x30(sp) | *(var_30h_2) = s4;
0x000b2f14 sw gp, 0x18(sp) | *(var_18h_2) = gp;
0x000b2f18 sw ra, 0x44(sp) | *(var_44h_2) = ra;
0x000b2f1c sw fp, 0x40(sp) | *(var_40h_2) = fp;
0x000b2f20 sw s7, 0x3c(sp) | *(var_3ch_2) = s7;
0x000b2f24 sw s3, 0x2c(sp) | *(var_2ch_2) = s3;
0x000b2f28 sw s2, 0x28(sp) | *(var_28h_2) = s2;
0x000b2f2c sw s1, 0x24(sp) | *(var_24h_2) = s1;
0x000b2f30 sw s0, 0x20(sp) | *(var_20h_2) = s0;
0x000b2f34 lb v0, (a0) | v0 = *(a0);
0x000b2f38 move s6, a2 | s6 = a2;
0x000b2f3c move s5, a1 | s5 = a1;
0x000b2f40 move s4, a0 | s4 = a0;
| if (v0 == 0) {
0x000b2f44 beqz v0, 0xb30b8 | goto label_3;
| }
0x000b2f48 lw fp, -0x7fd8(gp) | fp = *(gp);
0x000b2f4c move s1, a0 | s1 = a0;
0x000b2f50 move s3, zero | s3 = 0;
0x000b2f54 move s0, zero | s0 = 0;
0x000b2f58 addiu s7, zero, 0x5c | s7 = 0x5c;
| /* str.x_02x */
0x000b2f5c addiu fp, fp, 0x5050 | fp += aav.0x00005050;
0x000b2f60 b 0xb2fa8 |
| while (v0 == 0) {
0x000b2f64 subu v0, s6, s3 | __asm ("subu v0, s6, s3");
0x000b2f68 sltu v0, v0, s2 | v0 = (v0 < s2) ? 1 : 0;
0x000b2f6c lw t9, -0x6de0(gp) | t9 = sym.imp.memcpy;
| if (v0 != 0) {
0x000b2f70 bnez v0, 0xb3084 | goto label_4;
| }
0x000b2f74 addu a0, s5, s3 | a0 = s5 + s3;
0x000b2f78 move a2, s2 | a2 = s2;
0x000b2f7c move a1, s1 | a1 = s1;
0x000b2f80 jalr t9 | t9 ();
0x000b2f84 addiu s0, s0, -1 | s0 += -1;
0x000b2f88 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x000b2f8c addu s3, s3, s2 | s3 += s2;
0x000b2f90 addu s0, s2, s0 | s0 = s2 + s0;
| label_1:
0x000b2f94 addiu s0, s0, 1 | s0++;
0x000b2f98 addu s1, s4, s0 | s1 = s4 + s0;
0x000b2f9c lb v0, (s1) | v0 = *(s1);
| if (v0 == 0) {
0x000b2fa0 beqz v0, 0xb300c | goto label_5;
| }
0x000b2fa4 nop |
| label_0:
0x000b2fa8 lw t9, -0x71f4(gp) | t9 = sym.utf8_encoded_valid_unichar;
0x000b2fac addiu a1, zero, -1 | a1 = -1;
0x000b2fb0 move a0, s1 | a0 = s1;
0x000b2fb4 bal 0xada10 | sym_utf8_encoded_valid_unichar ();
0x000b2fb8 move s2, v0 | s2 = v0;
0x000b2fbc slti v0, v0, 2 | v0 = (v0 < 2) ? 1 : 0;
0x000b2fc0 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x000b2fc4 beqz v0, 0xb2f64 |
| }
0x000b2fc8 lb a0, (s1) | a0 = *(s1);
0x000b2fcc subu v0, s6, s3 | __asm ("subu v0, s6, s3");
| if (a0 == s7) {
0x000b2fd0 beq a0, s7, 0xb3050 | goto label_6;
| }
0x000b2fd4 lw t9, -0x71bc(gp) | t9 = sym.whitelisted_char_for_devnode;
0x000b2fd8 move a1, zero | a1 = 0;
0x000b2fdc bal 0xb2e34 | sym_whitelisted_char_for_devnode ();
0x000b2fe0 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x000b2fe4 beqz v0, 0xb304c | goto label_7;
| }
0x000b2fe8 addu v0, s5, s3 | v0 = s5 + s3;
| if (s6 == s3) {
0x000b2fec beq s6, s3, 0xb3084 | goto label_4;
| }
0x000b2ff0 lb v1, (s1) | v1 = *(s1);
0x000b2ff4 addiu s0, s0, 1 | s0++;
0x000b2ff8 addu s1, s4, s0 | s1 = s4 + s0;
0x000b2ffc sb v1, (v0) | *(v0) = v1;
0x000b3000 lb v0, (s1) | v0 = *(s1);
0x000b3004 addiu s3, s3, 1 | s3++;
| if (v0 != 0) {
0x000b3008 bnez v0, 0xb2fa8 | goto label_0;
| }
| do {
| label_5:
0x000b300c addu s3, s5, s3 | s3 = s5 + s3;
| if (s6 != s3) {
0x000b3010 beq s6, s3, 0xb3084 |
0x000b3014 move v0, zero | v0 = 0;
0x000b3018 sb zero, (s3) | *(s3) = 0;
0x000b301c lw ra, 0x44(sp) | ra = *(var_44h_2);
0x000b3020 lw fp, 0x40(sp) | fp = *(var_40h_2);
0x000b3024 lw s7, 0x3c(sp) | s7 = *(var_3ch_2);
0x000b3028 lw s6, 0x38(sp) | s6 = *(var_38h_2);
0x000b302c lw s5, 0x34(sp) | s5 = *(var_34h_2);
0x000b3030 lw s4, 0x30(sp) | s4 = *(var_30h_2);
0x000b3034 lw s3, 0x2c(sp) | s3 = *(var_2ch_2);
0x000b3038 lw s2, 0x28(sp) | s2 = *(var_28h_2);
0x000b303c lw s1, 0x24(sp) | s1 = *(var_24h_2);
0x000b3040 lw s0, 0x20(sp) | s0 = *(var_20h_2);
0x000b3044 addiu sp, sp, 0x48 |
0x000b3048 jr ra | return v0;
| label_7:
0x000b304c subu v0, s6, s3 | __asm ("subu v0, s6, s3");
| label_6:
0x000b3050 sltiu v0, v0, 4 | v0 = (v0 < 4) ? 1 : 0;
0x000b3054 lw t9, -0x7164(gp) | t9 = sym.imp.__sprintf_chk
| if (v0 != 0) {
0x000b3058 bnez v0, 0xb3084 | goto label_4;
| }
0x000b305c lbu v0, (s1) | v0 = *(s1);
0x000b3060 addu a0, s5, s3 | a0 = s5 + s3;
0x000b3064 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x000b3068 move a3, fp | a3 = fp;
0x000b306c addiu a2, zero, -1 | a2 = -1;
0x000b3070 addiu a1, zero, 1 | a1 = 1;
0x000b3074 jalr t9 | t9 ();
0x000b3078 addiu s3, s3, 4 | s3 += 4;
0x000b307c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x000b3080 b 0xb2f94 | goto label_1;
| }
| label_4:
0x000b3084 lw ra, 0x44(sp) | ra = *(var_44h_2);
0x000b3088 lw fp, 0x40(sp) | fp = *(var_40h_2);
0x000b308c lw s7, 0x3c(sp) | s7 = *(var_3ch_2);
0x000b3090 lw s6, 0x38(sp) | s6 = *(var_38h_2);
0x000b3094 lw s5, 0x34(sp) | s5 = *(var_34h_2);
0x000b3098 lw s4, 0x30(sp) | s4 = *(var_30h_2);
0x000b309c lw s3, 0x2c(sp) | s3 = *(var_2ch_2);
0x000b30a0 lw s2, 0x28(sp) | s2 = *(var_28h_2);
0x000b30a4 lw s1, 0x24(sp) | s1 = *(var_24h_2);
0x000b30a8 lw s0, 0x20(sp) | s0 = *(var_20h_2);
0x000b30ac addiu v0, zero, -0x16 | v0 = -0x16;
0x000b30b0 addiu sp, sp, 0x48 |
0x000b30b4 jr ra | return v0;
| label_3:
0x000b30b8 move s3, zero | s3 = 0;
0x000b30bc b 0xb300c |
| } while (1);
| label_2:
0x000b30c0 addiu v0, zero, -0x16 | v0 = -0x16;
0x000b30c4 jr ra | return v0;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/udevadm @ 0xaa208 */
| #include <stdint.h>
|
; (fcn) sym.get_ctty_devnr () | void get_ctty_devnr () {
0x000aa208 lui gp, 5 |
0x000aa20c addiu gp, gp, 0x5078 |
0x000aa210 addu gp, gp, t9 | gp += t9;
0x000aa214 addiu sp, sp, -0x50 |
0x000aa218 sw s1, 0x40(sp) | *(var_40h) = s1;
0x000aa21c lw s1, -0x6de8(gp) | s1 = *((gp - 7034));
0x000aa220 sw fp, 0x48(sp) | *(var_48h) = fp;
0x000aa224 sw ra, 0x4c(sp) | *(var_4ch) = ra;
0x000aa228 sw s2, 0x44(sp) | *(var_44h) = s2;
0x000aa22c sw s0, 0x3c(sp) | *(var_3ch) = s0;
0x000aa230 sw gp, 0x18(sp) | *(var_18h) = gp;
0x000aa234 move fp, sp | fp = sp;
0x000aa238 lw v0, (s1) | v0 = *(s1);
0x000aa23c sw zero, 0x2c(fp) | *(arg_2ch) = 0;
0x000aa240 sw v0, 0x34(fp) | *(arg_34h) = v0;
0x000aa244 lw v0, -0x7fd8(gp) | v0 = *(gp);
| if (a0 < 0) {
0x000aa248 bltz a0, 0xaa360 | goto label_1;
| }
0x000aa24c move s2, a1 | s2 = a1;
| if (a0 != 0) {
0x000aa250 bnez a0, 0xaa330 | goto label_2;
| }
0x000aa254 lw s0, -0x7fd8(gp) | s0 = *(gp);
| /* str._proc_self_stat */
0x000aa258 addiu s0, s0, 0x2510 | s0 += 0x2510;
| do {
0x000aa25c lw t9, -0x7b88(gp) | t9 = sym.read_one_line_file;
0x000aa260 move a0, s0 | a0 = s0;
0x000aa264 addiu a1, fp, 0x2c | a1 = fp + 0x2c;
0x000aa268 bal 0x90924 | sym_read_one_line_file ();
0x000aa26c lw gp, 0x18(fp) | gp = *(arg_18h);
0x000aa270 lw s0, 0x2c(fp) | s0 = *(arg_2ch);
| if (v0 >= 0) {
0x000aa274 bltz v0, 0xaa2ec |
0x000aa278 lw t9, -0x7060(gp) | t9 = sym.imp.strrchr;
0x000aa27c addiu a1, zero, 0x29 | a1 = 0x29;
0x000aa280 move a0, s0 | a0 = s0;
0x000aa284 jalr t9 | t9 ();
0x000aa288 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == 0) {
0x000aa28c beqz v0, 0xaa39c | goto label_3;
| }
0x000aa290 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x000aa294 lw t9, -0x7074(gp) | t9 = *(gp);
0x000aa298 addiu a2, fp, 0x30 | a2 = fp + 0x30;
| /* str.__c__d__d__d__lu_ */
0x000aa29c addiu a1, a1, 0x349c | a1 += 0x349c;
0x000aa2a0 addiu a0, v0, 1 | a0 = v0 + 1;
0x000aa2a4 jalr t9 | t9 ();
0x000aa2a8 addiu v1, zero, 1 | v1 = 1;
0x000aa2ac lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 != v1) {
0x000aa2b0 bne v0, v1, 0xaa388 | goto label_4;
| }
0x000aa2b4 lw v1, 0x30(fp) | v1 = *(arg_30h);
0x000aa2b8 addiu a1, zero, -0x100 | a1 = -aav.0x00000100;
0x000aa2bc srl a0, v1, 0xc | a0 = v1 >> 0xc;
0x000aa2c0 and a0, a0, a1 | a0 &= a1;
0x000aa2c4 ext v0, v1, 8, 0xc | __asm ("ext v0, v1, 8, 0xc");
0x000aa2c8 or v0, v0, a0 | v0 |= a0;
0x000aa2cc andi a0, v1, 0xff | a0 = v1 & 0xff;
0x000aa2d0 or v0, v0, a0 | v0 |= a0;
0x000aa2d4 lw s0, 0x2c(fp) | s0 = *(arg_2ch);
| if (v0 == 0) {
0x000aa2d8 beqz v0, 0xaa394 | goto label_5;
| }
0x000aa2dc move v0, zero | v0 = 0;
| if (s2 == 0) {
0x000aa2e0 beqz s2, 0xaa2ec | goto label_0;
| }
0x000aa2e4 sw v1, (s2) | *(s2) = v1;
0x000aa2e8 sw zero, 4(s2) | *((s2 + 1)) = 0;
| }
| label_0:
0x000aa2ec lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x000aa2f0 sw v0, 0x24(fp) | *(arg_24h) = v0;
0x000aa2f4 move a0, s0 | a0 = s0;
0x000aa2f8 jalr t9 | t9 ();
0x000aa2fc lw a0, 0x34(fp) | a0 = *(arg_34h);
0x000aa300 lw v1, (s1) | v1 = *(s1);
0x000aa304 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000aa308 lw v0, 0x24(fp) | v0 = *(arg_24h);
| if (a0 != v1) {
0x000aa30c bne a0, v1, 0xaa3a4 | goto label_6;
| }
0x000aa310 move sp, fp |
0x000aa314 lw ra, 0x4c(sp) | ra = *(var_4ch);
0x000aa318 lw fp, 0x48(sp) | fp = *(var_48h);
0x000aa31c lw s2, 0x44(sp) | s2 = *(var_44h);
0x000aa320 lw s1, 0x40(sp) | s1 = *(var_40h);
0x000aa324 lw s0, 0x3c(sp) | s0 = *(var_3ch);
0x000aa328 addiu sp, sp, 0x50 |
0x000aa32c jr ra | return v0;
| label_2:
0x000aa330 addiu sp, sp, -0x18 |
0x000aa334 lw a3, -0x7fd8(gp) | a3 = *(gp);
0x000aa338 lw t9, -0x7164(gp) | t9 = sym.imp.__sprintf_chk
0x000aa33c addiu s0, sp, 0x18 | s0 = sp + 0x18;
0x000aa340 sw a0, 0x10(sp) | *(var_50h) = a0;
| /* str._proc__i_stat */
0x000aa344 addiu a3, a3, 0x2520 | a3 += 0x2520;
0x000aa348 addiu a2, zero, 0x18 | a2 = 0x18;
0x000aa34c addiu a1, zero, 1 | a1 = 1;
0x000aa350 move a0, s0 | a0 = s0;
0x000aa354 jalr t9 | t9 ();
0x000aa358 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000aa35c b 0xaa25c |
| } while (1);
| label_1:
0x000aa360 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x000aa364 lw a1, -0x7fd8(gp) | a1 = *(gp);
| /* str.get_ctty_devnr */
0x000aa368 addiu v0, v0, 0x3560 | v0 += 0x3560;
0x000aa36c lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x000aa370 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000aa374 addiu a3, zero, 0x39a | a3 = 0x39a;
| /* esilref: 'src/basic/terminal-util.c' */
0x000aa378 addiu a2, a2, 0x347b | a2 += 0x347b;
| /* str.pid___0 */
0x000aa37c addiu a1, a1, -0x5e68 | a1 += -0x5e68;
0x000aa380 move a0, zero | a0 = 0;
0x000aa384 bal 0x991c4 | sym_log_assert_failed_realm ();
| label_4:
0x000aa388 lw s0, 0x2c(fp) | s0 = *(arg_2ch);
0x000aa38c addiu v0, zero, -5 | v0 = -5;
0x000aa390 b 0xaa2ec | goto label_0;
| label_5:
0x000aa394 addiu v0, zero, -6 | v0 = -6;
0x000aa398 b 0xaa2ec | goto label_0;
| label_3:
0x000aa39c addiu v0, zero, -5 | v0 = -5;
0x000aa3a0 b 0xaa2ec | goto label_0;
| label_6:
0x000aa3a4 lw t9, -0x6e2c(gp) | t9 = sym.imp.__stack_chk_fail;
0x000aa3a8 jalr t9 | t9 ();
0x000aa3ac nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/udevadm @ 0xa1ed4 */
| #include <stdint.h>
|
; (fcn) sym.get_process_cmdline () | void get_process_cmdline () {
0x000a1ed4 lui gp, 6 |
0x000a1ed8 addiu gp, gp, -0x2c54 |
0x000a1edc addu gp, gp, t9 | gp += t9;
0x000a1ee0 addiu sp, sp, -0x58 |
0x000a1ee4 lw t9, -0x6e30(gp) | t9 = sym.imp.sysconf;
0x000a1ee8 sw s1, 0x38(sp) | *(var_38h_2) = s1;
0x000a1eec lw s1, -0x6de8(gp) | s1 = *((gp - 7034));
0x000a1ef0 sw fp, 0x50(sp) | *(var_50h) = fp;
0x000a1ef4 sw s5, 0x48(sp) | *(var_48h) = s5;
0x000a1ef8 sw s4, 0x44(sp) | *(var_44h_2) = s4;
0x000a1efc sw s3, 0x40(sp) | *(var_40h_2) = s3;
0x000a1f00 sw s2, 0x3c(sp) | *(var_3ch_2) = s2;
0x000a1f04 sw gp, 0x18(sp) | *(var_18h_2) = gp;
0x000a1f08 sw ra, 0x54(sp) | *(var_54h) = ra;
0x000a1f0c sw s6, 0x4c(sp) | *(var_4ch) = s6;
0x000a1f10 sw s0, 0x34(sp) | *(var_34h_2) = s0;
0x000a1f14 move fp, sp | fp = sp;
0x000a1f18 lw v0, (s1) | v0 = *(s1);
0x000a1f1c move s5, a0 | s5 = a0;
0x000a1f20 sw v0, 0x2c(fp) | *(arg_2ch) = v0;
0x000a1f24 move a0, zero | a0 = 0;
0x000a1f28 sw zero, 0x24(fp) | *(arg_24h) = 0;
0x000a1f2c move s2, a1 | s2 = a1;
0x000a1f30 move s3, a2 | s3 = a2;
0x000a1f34 move s4, a3 | s4 = a3;
0x000a1f38 jalr t9 | t9 ();
0x000a1f3c lw gp, 0x18(fp) | gp = *(var_18h_2);
| if (v0 <= 0) {
0x000a1f40 blez v0, 0xa21e4 | goto label_5;
| }
| if (s4 == 0) {
0x000a1f44 beql s4, zero, 0xa2210 | goto label_6;
| }
0x000a1f48 lw v0, -0x7fd8(gp) | v0 = *(gp);
| if (s5 < 0) {
0x000a1f4c bltzl s5, 0xa2238 | goto label_7;
| }
0x000a1f50 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x000a1f54 move s0, v0 | s0 = v0;
| if (s5 != 0) {
0x000a1f58 bnez s5, 0xa20e8 | goto label_8;
| }
0x000a1f5c lw s6, -0x7fcc(gp) | s6 = *(gp);
| /* str._proc_self_cmdline */
0x000a1f60 addiu s6, s6, 0x2f50 | s6 += 0x2f50;
| label_0:
0x000a1f64 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x000a1f68 lw t9, -0x7458(gp) | t9 = sym.fopen_unlocked;
0x000a1f6c move a0, s6 | a0 = s6;
0x000a1f70 addiu a2, fp, 0x24 | a2 = fp + 0x24;
| /* esilref: 're' */
0x000a1f74 addiu a1, a1, -0x65c8 | a1 += -0x65c8;
0x000a1f78 bal 0x8f7bc | sym_fopen_unlocked ();
0x000a1f7c move s6, v0 | s6 = v0;
0x000a1f80 addiu v0, zero, -2 | v0 = -2;
0x000a1f84 lw gp, 0x18(fp) | gp = *(var_18h_2);
| if (s6 == v0) {
0x000a1f88 beq s6, v0, 0xa229c | goto label_9;
| }
0x000a1f8c sll a2, s2, 2 | a2 = s2 << 2;
| if (s6 < 0) {
0x000a1f90 bltz s6, 0xa2130 | goto label_10;
| }
0x000a1f94 addiu a2, a2, 1 | a2++;
0x000a1f98 sltu v0, a2, s2 | v0 = (a2 < s2) ? 1 : 0;
0x000a1f9c move a0, s0 | a0 = s0;
| if (v0 != 0) {
0x000a1fa0 bnez v0, 0xa2118 | goto label_11;
| }
0x000a1fa4 move s6, s0 | s6 = s0;
| label_1:
0x000a1fa8 lw t9, -0x6ed8(gp) | t9 = sym.imp.malloc;
0x000a1fac jalr t9 | t9 ();
0x000a1fb0 nop |
0x000a1fb4 move s0, v0 | s0 = v0;
0x000a1fb8 lw gp, 0x18(fp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x000a1fbc beqz v0, 0xa2294 | goto label_12;
| }
0x000a1fc0 lw t9, -0x6ea8(gp) | t9 = sym.imp.fread;
0x000a1fc4 lw a3, 0x24(fp) | a3 = *(arg_24h);
0x000a1fc8 move a2, s6 | a2 = s6;
0x000a1fcc addiu a1, zero, 1 | a1 = 1;
0x000a1fd0 move a0, v0 | a0 = v0;
0x000a1fd4 jalr t9 | t9 ();
0x000a1fd8 lw gp, 0x18(fp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x000a1fdc beqz v0, 0xa2138 | goto label_13;
| }
0x000a1fe0 addiu v1, zero, 1 | v1 = 1;
0x000a1fe4 addiu a1, s0, -1 | a1 = s0 + -1;
| if (v0 == v1) {
0x000a1fe8 beq v0, v1, 0xa2010 | goto label_14;
| }
0x000a1fec move v1, s0 | v1 = s0;
0x000a1ff0 addu a1, a1, v0 | a1 += v0;
0x000a1ff4 addiu a2, zero, 0x20 | a2 = 0x20;
0x000a1ff8 lb a0, (v1) | a0 = *(v1);
| if (a0 != 0) {
| do {
0x000a1ffc beql a0, zero, 0xa2004 |
0x000a2000 sb a2, (v1) | *(v1) = a2;
| }
0x000a2004 addiu v1, v1, 1 | v1++;
0x000a2008 lb a0, (v1) | a0 = *(v1);
0x000a200c bnel a1, v1, 0xa1ffc |
| } while (a1 == v1);
| label_14:
0x000a2010 addu v0, s0, v0 | v0 = s0 + v0;
0x000a2014 sb zero, (v0) | *(v0) = 0;
| label_3:
0x000a2018 lw a1, -0x7fcc(gp) | a1 = *(gp);
0x000a201c lw t9, -0x7d44(gp) | t9 = sym.delete_trailing_chars;
| /* esilref: '
' */
0x000a2020 addiu a1, a1, -0x6f0c | a1 += -0x6f0c;
0x000a2024 move a0, s0 | a0 = s0;
0x000a2028 andi s3, s3, 2 | s3 &= 2;
0x000a202c bal 0xa8140 | sym_delete_trailing_chars ();
0x000a2030 lw gp, 0x18(fp) | gp = *(var_18h_2);
| if (s3 != 0) {
0x000a2034 bnez s3, 0xa21c8 | goto label_15;
| }
0x000a2038 move a2, zero | a2 = 0;
| label_4:
0x000a203c lw t9, -0x7294(gp) | t9 = sym.escape_non_printable_full;
0x000a2040 move a1, s2 | a1 = s2;
0x000a2044 move a0, s0 | a0 = s0;
0x000a2048 bal 0x8e258 | sym_escape_non_printable_full ();
0x000a204c move s2, v0 | s2 = v0;
0x000a2050 lw gp, 0x18(fp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x000a2054 beqz v0, 0xa2294 | goto label_12;
| }
0x000a2058 lw t9, -0x6f38(gp) | t9 = sym.imp.strlen;
0x000a205c move a0, v0 | a0 = v0;
0x000a2060 jalr t9 | t9 ();
0x000a2064 lw gp, 0x18(fp) | gp = *(var_18h_2);
0x000a2068 addiu a1, v0, 1 | a1 = v0 + 1;
0x000a206c move a0, s2 | a0 = s2;
0x000a2070 lw t9, -0x6ed0(gp) | t9 = sym.imp.realloc;
0x000a2074 move s6, zero | s6 = 0;
0x000a2078 jalr t9 | t9 ();
| if (v0 != 0) {
0x000a207c movz v0, s2, v0 | v0 = s2;
| }
0x000a2080 lw gp, 0x18(fp) | gp = *(var_18h_2);
0x000a2084 sw v0, (s4) | *(s4) = v0;
| do {
| label_2:
0x000a2088 lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x000a208c move a0, s0 | a0 = s0;
0x000a2090 jalr t9 | t9 ();
0x000a2094 lw gp, 0x18(fp) | gp = *(var_18h_2);
0x000a2098 lw t9, -0x7bf8(gp) | t9 = sym.safe_fclose;
0x000a209c lw a0, 0x24(fp) | a0 = *(arg_24h);
0x000a20a0 bal 0x8ebc0 | sym_safe_fclose ();
0x000a20a4 lw a0, 0x2c(fp) | a0 = *(arg_2ch);
0x000a20a8 lw v1, (s1) | v1 = *(s1);
0x000a20ac lw gp, 0x18(fp) | gp = *(var_18h_2);
0x000a20b0 move v0, s6 | v0 = s6;
| if (a0 != v1) {
0x000a20b4 bne a0, v1, 0xa22a8 | goto label_16;
| }
0x000a20b8 move sp, fp |
0x000a20bc lw ra, 0x54(sp) | ra = *(var_54h);
0x000a20c0 lw fp, 0x50(sp) | fp = *(var_50h);
0x000a20c4 lw s6, 0x4c(sp) | s6 = *(var_4ch);
0x000a20c8 lw s5, 0x48(sp) | s5 = *(var_48h);
0x000a20cc lw s4, 0x44(sp) | s4 = *(var_44h_2);
0x000a20d0 lw s3, 0x40(sp) | s3 = *(var_40h_2);
0x000a20d4 lw s2, 0x3c(sp) | s2 = *(var_3ch_2);
0x000a20d8 lw s1, 0x38(sp) | s1 = *(var_38h_2);
0x000a20dc lw s0, 0x34(sp) | s0 = *(var_34h_2);
0x000a20e0 addiu sp, sp, 0x58 |
0x000a20e4 jr ra | return v0;
| label_8:
0x000a20e8 addiu sp, sp, -0x20 |
0x000a20ec lw a3, -0x7fcc(gp) | a3 = *(gp);
0x000a20f0 lw t9, -0x7164(gp) | t9 = sym.imp.__sprintf_chk
0x000a20f4 addiu s6, sp, 0x18 | s6 = sp + 0x18;
0x000a20f8 sw s5, 0x10(sp) | *(var_30h_2) = s5;
| /* str._proc__i_cmdline */
0x000a20fc addiu a3, a3, 0x2fec | a3 += 0x2fec;
0x000a2100 addiu a2, zero, 0x1b | a2 = 0x1b;
0x000a2104 addiu a1, zero, 1 | a1 = 1;
0x000a2108 move a0, s6 | a0 = s6;
0x000a210c jalr t9 | t9 ();
0x000a2110 lw gp, 0x18(fp) | gp = *(var_18h_2);
0x000a2114 b 0xa1f64 | goto label_0;
| label_11:
0x000a2118 sltu s6, s0, a2 | s6 = (s0 < a2) ? 1 : 0;
| if (s6 != 0) {
0x000a211c movz a0, a2, s6 | a0 = a2;
| }
0x000a2120 move s6, a0 | s6 = a0;
0x000a2124 addiu a0, zero, 1 | a0 = 1;
| if (s6 == 0) {
0x000a2128 movn a0, s6, s6 | a0 = s6;
| }
0x000a212c b 0xa1fa8 | goto label_1;
| label_10:
0x000a2130 move s0, zero | s0 = 0;
0x000a2134 b 0xa2088 |
| } while (1);
| label_13:
0x000a2138 lw t9, -0x6df4(gp) | t9 = sym.imp.ferror;
0x000a213c lw a0, 0x24(fp) | a0 = *(arg_24h);
0x000a2140 jalr t9 | t9 ();
0x000a2144 lw gp, 0x18(fp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x000a2148 bnez v0, 0xa2260 | goto label_17;
| }
0x000a214c andi v0, s3, 1 | v0 = s3 & 1;
0x000a2150 addiu s6, zero, -2 | s6 = -2;
| if (v0 == 0) {
0x000a2154 beqz v0, 0xa2088 | goto label_2;
| }
0x000a2158 lw t9, -0x796c(gp) | t9 = *(gp);
0x000a215c addiu a1, fp, 0x28 | a1 = fp + 0x28;
0x000a2160 move a0, s5 | a0 = s5;
0x000a2164 sw zero, 0x28(fp) | *(arg_28h) = 0;
0x000a2168 bal 0xa1d0c | sym_get_process_comm ();
0x000a216c move s6, v0 | s6 = v0;
0x000a2170 lw gp, 0x18(fp) | gp = *(var_18h_2);
| if (v0 >= 0) {
0x000a2174 bltz v0, 0xa2280 |
0x000a2178 lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x000a217c move a0, s0 | a0 = s0;
0x000a2180 jalr t9 | t9 ();
0x000a2184 lw gp, 0x18(fp) | gp = *(var_18h_2);
0x000a2188 lw a1, 0x28(fp) | a1 = *(arg_28h);
0x000a218c move a3, zero | a3 = 0;
0x000a2190 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x000a2194 lw a0, -0x7fd8(gp) | a0 = *(gp);
0x000a2198 lw t9, -0x7bb4(gp) | t9 = sym.strjoin_real;
0x000a219c addiu a2, a2, 0x2554 | a2 += 0x2554;
0x000a21a0 addiu a0, a0, 0x2558 | a0 += 0x2558;
0x000a21a4 bal 0xa7fb8 | sym_strjoin_real ();
0x000a21a8 move s0, v0 | s0 = v0;
0x000a21ac lw gp, 0x18(fp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x000a21b0 beqz v0, 0xa227c |
0x000a21b4 lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x000a21b8 lw a0, 0x28(fp) | a0 = *(arg_28h);
0x000a21bc jalr t9 | t9 ();
0x000a21c0 lw gp, 0x18(fp) | gp = *(var_18h_2);
0x000a21c4 b 0xa2018 | goto label_3;
| label_15:
0x000a21c8 lw t9, -0x734c(gp) | t9 = sym.is_locale_utf8;
0x000a21cc bal 0x98184 | sym_is_locale_utf8 ();
0x000a21d0 nop |
0x000a21d4 xori v0, v0, 1 | v0 ^= 1;
0x000a21d8 lw gp, 0x18(fp) | gp = *(var_18h_2);
0x000a21dc andi a2, v0, 0xff | a2 = v0 & 0xff;
0x000a21e0 b 0xa203c | goto label_4;
| label_5:
0x000a21e4 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x000a21e8 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x000a21ec lw a1, -0x7fd8(gp) | a1 = *(gp);
| /* str.sc_arg_max */
0x000a21f0 addiu v0, v0, 0x2b30 | v0 += 0x2b30;
0x000a21f4 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x000a21f8 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x000a21fc addiu a3, zero, 0xe | a3 = 0xe;
| /* esilref: 'src/basic/env-util.h' */
0x000a2200 addiu a2, a2, -0xa45 | a2 += -0xa45;
| /* str.l___0 */
0x000a2204 addiu a1, a1, -0xa30 | a1 += -0xa30;
0x000a2208 move a0, zero | a0 = 0;
0x000a220c bal 0x991c4 | sym_log_assert_failed_realm ();
| label_6:
0x000a2210 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x000a2214 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x000a2218 addiu v0, v0, 0x2b3c | v0 += 0x2b3c;
0x000a221c lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x000a2220 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x000a2224 addiu a3, zero, 0x77 | a3 = 0x77;
| /* esilref: 'src/basic/process-util.c' */
0x000a2228 addiu a2, a2, 0x24f7 | a2 += 0x24f7;
| /* esilref: 'line' */
0x000a222c addiu a1, a1, -0x7aec | a1 += -0x7aec;
0x000a2230 move a0, zero | a0 = 0;
0x000a2234 bal 0x991c4 | sym_log_assert_failed_realm ();
| label_7:
0x000a2238 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x000a223c lw a1, -0x7fd8(gp) | a1 = *(gp);
0x000a2240 addiu v0, v0, 0x2b3c | v0 += 0x2b3c;
0x000a2244 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x000a2248 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x000a224c addiu a3, zero, 0x78 | a3 = 0x78;
| /* esilref: 'src/basic/process-util.c' */
0x000a2250 addiu a2, a2, 0x24f7 | a2 += 0x24f7;
| /* str.pid___0 */
0x000a2254 addiu a1, a1, -0x5e68 | a1 += -0x5e68;
0x000a2258 move a0, zero | a0 = 0;
0x000a225c bal 0x991c4 | sym_log_assert_failed_realm ();
| label_17:
0x000a2260 lw t9, -0x6fc8(gp) | t9 = sym.imp.__errno_location;
0x000a2264 jalr t9 | t9 ();
0x000a2268 nop |
0x000a226c lw s6, (v0) | s6 = *(v0);
0x000a2270 lw gp, 0x18(fp) | gp = *(var_18h_2);
0x000a2274 negu s6, s6 | __asm ("negu s6, s6");
0x000a2278 b 0xa2088 | goto label_2;
| }
0x000a227c addiu s6, zero, -0xc | s6 = -0xc;
| }
0x000a2280 lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x000a2284 lw a0, 0x28(fp) | a0 = *(arg_28h);
0x000a2288 jalr t9 | t9 ();
0x000a228c lw gp, 0x18(fp) | gp = *(var_18h_2);
0x000a2290 b 0xa2088 | goto label_2;
| label_12:
0x000a2294 addiu s6, zero, -0xc | s6 = -0xc;
0x000a2298 b 0xa2088 | goto label_2;
| label_9:
0x000a229c move s0, zero | s0 = 0;
0x000a22a0 addiu s6, zero, -3 | s6 = -3;
0x000a22a4 b 0xa2088 | goto label_2;
| label_16:
0x000a22a8 lw t9, -0x6e2c(gp) | t9 = sym.imp.__stack_chk_fail;
0x000a22ac jalr t9 | t9 ();
0x000a22b0 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/udevadm @ 0xa1d0c */
| #include <stdint.h>
|
; (fcn) sym.get_process_comm () | void get_process_comm () {
0x000a1d0c lui gp, 6 |
0x000a1d10 addiu gp, gp, -0x2a8c |
0x000a1d14 addu gp, gp, t9 | gp += t9;
0x000a1d18 addiu sp, sp, -0x48 |
0x000a1d1c sw s3, 0x38(sp) | *(var_38h) = s3;
0x000a1d20 lw s3, -0x6de8(gp) | s3 = *((gp - 7034));
0x000a1d24 sw fp, 0x40(sp) | *(var_40h) = fp;
0x000a1d28 sw ra, 0x44(sp) | *(var_44h) = ra;
0x000a1d2c sw s4, 0x3c(sp) | *(var_3ch) = s4;
0x000a1d30 sw s2, 0x34(sp) | *(var_34h) = s2;
0x000a1d34 sw s1, 0x30(sp) | *(var_30h) = s1;
0x000a1d38 sw s0, 0x2c(sp) | *(var_2ch) = s0;
0x000a1d3c sw gp, 0x18(sp) | *(var_18h) = gp;
0x000a1d40 move fp, sp | fp = sp;
0x000a1d44 lw v0, (s3) | v0 = *(s3);
0x000a1d48 sw zero, 0x20(fp) | *(arg_20h) = 0;
0x000a1d4c sw v0, 0x24(fp) | *(arg_24h) = v0;
| if (a1 == 0) {
0x000a1d50 beql a1, zero, 0xa1e60 | goto label_1;
| }
0x000a1d54 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x000a1d58 move s1, a0 | s1 = a0;
| if (a0 < 0) {
0x000a1d5c bltz a0, 0xa1e88 | goto label_2;
| }
0x000a1d60 lw t9, -0x6ed8(gp) | t9 = sym.imp.malloc;
0x000a1d64 addiu a0, zero, 0x80 | a0 = 0x80;
0x000a1d68 move s4, a1 | s4 = a1;
0x000a1d6c jalr t9 | t9 ();
0x000a1d70 move s0, v0 | s0 = v0;
0x000a1d74 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == 0) {
0x000a1d78 beqz v0, 0xa1ebc | goto label_3;
| }
0x000a1d7c addiu sp, sp, -0x18 |
| if (s1 == 0) {
0x000a1d80 bnel s1, zero, 0xa1e34 | goto label_4;
| }
0x000a1d84 lw s2, -0x7fd8(gp) | s2 = *(gp);
| /* str._proc_self_comm */
0x000a1d88 addiu s2, s2, 0x2534 | s2 += 0x2534;
| do {
0x000a1d8c lw t9, -0x7b88(gp) | t9 = sym.read_one_line_file;
0x000a1d90 move a0, s2 | a0 = s2;
0x000a1d94 addiu a1, fp, 0x20 | a1 = fp + 0x20;
0x000a1d98 bal 0x90924 | sym_read_one_line_file ();
0x000a1d9c move s1, v0 | s1 = v0;
0x000a1da0 addiu v0, zero, -2 | v0 = -2;
0x000a1da4 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000a1da8 lw a0, 0x20(fp) | a0 = *(arg_20h);
| if (s1 == v0) {
0x000a1dac beq s1, v0, 0xa1eb4 | goto label_5;
| }
0x000a1db0 lw t9, -0x7298(gp) | t9 = sym.cellescape;
| if (s1 >= 0) {
0x000a1db4 bltz s1, 0xa1ddc |
0x000a1db8 move a2, a0 | a2 = a0;
0x000a1dbc addiu a1, zero, 0x80 | a1 = 0x80;
0x000a1dc0 move a0, s0 | a0 = s0;
0x000a1dc4 bal 0xa8468 | sym_cellescape ();
0x000a1dc8 lw a0, 0x20(fp) | a0 = *(arg_20h);
0x000a1dcc lw gp, 0x18(fp) | gp = *(arg_18h);
0x000a1dd0 move s1, zero | s1 = 0;
0x000a1dd4 sw s0, (s4) | *(s4) = s0;
0x000a1dd8 move s0, zero | s0 = 0;
| }
| label_0:
0x000a1ddc lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x000a1de0 jalr t9 | t9 ();
0x000a1de4 nop |
0x000a1de8 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000a1dec lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x000a1df0 move a0, s0 | a0 = s0;
0x000a1df4 jalr t9 | t9 ();
0x000a1df8 lw a0, 0x24(fp) | a0 = *(arg_24h);
0x000a1dfc lw v1, (s3) | v1 = *(s3);
0x000a1e00 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000a1e04 move v0, s1 | v0 = s1;
| if (a0 != v1) {
0x000a1e08 bne a0, v1, 0xa1ec8 | goto label_6;
| }
0x000a1e0c move sp, fp |
0x000a1e10 lw ra, 0x44(sp) | ra = *(var_44h);
0x000a1e14 lw fp, 0x40(sp) | fp = *(var_40h);
0x000a1e18 lw s4, 0x3c(sp) | s4 = *(var_3ch);
0x000a1e1c lw s3, 0x38(sp) | s3 = *(var_38h);
0x000a1e20 lw s2, 0x34(sp) | s2 = *(var_34h);
0x000a1e24 lw s1, 0x30(sp) | s1 = *(var_30h);
0x000a1e28 lw s0, 0x2c(sp) | s0 = *(var_2ch);
0x000a1e2c addiu sp, sp, 0x48 |
0x000a1e30 jr ra | return v0;
| label_4:
0x000a1e34 lw a3, -0x7fd8(gp) | a3 = *(gp);
0x000a1e38 lw t9, -0x7164(gp) | t9 = sym.imp.__sprintf_chk
0x000a1e3c addiu s2, sp, 0x18 | s2 = sp + 0x18;
0x000a1e40 sw s1, 0x10(sp) | *(var_50h) = s1;
| /* str._proc__i_comm */
0x000a1e44 addiu a3, a3, 0x2544 | a3 += 0x2544;
0x000a1e48 addiu a2, zero, 0x18 | a2 = 0x18;
0x000a1e4c addiu a1, zero, 1 | a1 = 1;
0x000a1e50 move a0, s2 | a0 = s2;
0x000a1e54 jalr t9 | t9 ();
0x000a1e58 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000a1e5c b 0xa1d8c |
| } while (1);
| label_1:
0x000a1e60 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x000a1e64 lw a1, -0x7fcc(gp) | a1 = *(gp);
| /* str.get_process_comm */
0x000a1e68 addiu v0, v0, 0x2b50 | v0 += 0x2b50;
0x000a1e6c lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x000a1e70 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000a1e74 addiu a3, zero, 0x57 | a3 = 0x57;
| /* esilref: 'src/basic/process-util.c' */
0x000a1e78 addiu a2, a2, 0x24f7 | a2 += 0x24f7;
| /* esilref: 'ret' */
0x000a1e7c addiu a1, a1, -0x7454 | a1 += -0x7454;
0x000a1e80 move a0, zero | a0 = 0;
0x000a1e84 bal 0x991c4 | sym_log_assert_failed_realm ();
| label_2:
0x000a1e88 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x000a1e8c lw a2, -0x7fd8(gp) | a2 = *(gp);
0x000a1e90 lw a1, -0x7fd8(gp) | a1 = *(gp);
| /* str.get_process_comm */
0x000a1e94 addiu v0, v0, 0x2b50 | v0 += 0x2b50;
0x000a1e98 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x000a1e9c sw v0, 0x10(sp) | *(var_10h) = v0;
0x000a1ea0 addiu a3, zero, 0x58 | a3 = 0x58;
| /* esilref: 'src/basic/process-util.c' */
0x000a1ea4 addiu a2, a2, 0x24f7 | a2 += 0x24f7;
| /* str.pid___0 */
0x000a1ea8 addiu a1, a1, -0x5e68 | a1 += -0x5e68;
0x000a1eac move a0, zero | a0 = 0;
0x000a1eb0 bal 0x991c4 | sym_log_assert_failed_realm ();
| label_5:
0x000a1eb4 addiu s1, zero, -3 | s1 = -3;
0x000a1eb8 b 0xa1ddc | goto label_0;
| label_3:
0x000a1ebc move a0, zero | a0 = 0;
0x000a1ec0 addiu s1, zero, -0xc | s1 = -0xc;
0x000a1ec4 b 0xa1ddc | goto label_0;
| label_6:
0x000a1ec8 lw t9, -0x6e2c(gp) | t9 = sym.imp.__stack_chk_fail;
0x000a1ecc jalr t9 | t9 ();
0x000a1ed0 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/udevadm @ 0xa22b4 */
| #include <stdint.h>
|
; (fcn) sym.get_process_exe () | void get_process_exe () {
0x000a22b4 lui gp, 6 |
0x000a22b8 addiu gp, gp, -0x3034 |
0x000a22bc addu gp, gp, t9 | gp += t9;
0x000a22c0 addiu sp, sp, -0x40 |
0x000a22c4 sw s1, 0x30(sp) | *(var_30h_2) = s1;
0x000a22c8 lw s1, -0x6de8(gp) | s1 = *((gp - 7034));
0x000a22cc sw fp, 0x38(sp) | *(var_38h_3) = fp;
0x000a22d0 sw ra, 0x3c(sp) | *(var_3ch_3) = ra;
0x000a22d4 sw s2, 0x34(sp) | *(var_34h_3) = s2;
0x000a22d8 sw s0, 0x2c(sp) | *(var_2ch_2) = s0;
0x000a22dc sw gp, 0x18(sp) | *(var_18h_3) = gp;
0x000a22e0 move fp, sp | fp = sp;
0x000a22e4 lw v0, (s1) | v0 = *(s1);
0x000a22e8 sw v0, 0x24(fp) | *(var_3ch_4) = v0;
0x000a22ec lw v0, -0x7fd8(gp) | v0 = *(gp);
| if (a0 < 0) {
0x000a22f0 bltz a0, 0xa23ac | goto label_1;
| }
0x000a22f4 move s2, a1 | s2 = a1;
| if (a0 != 0) {
0x000a22f8 bnez a0, 0xa2374 | goto label_2;
| }
0x000a22fc lw s0, -0x7fd8(gp) | s0 = *(gp);
| /* esilref: '/proc/self/exe' */
0x000a2300 addiu s0, s0, 0x255c | s0 += 0x255c;
| do {
0x000a2304 lw t9, -0x7340(gp) | t9 = *(gp);
0x000a2308 move a1, s2 | a1 = s2;
| /* fcn.000a1c94 */
0x000a230c addiu t9, t9, 0x1c94 | t9 += 0x1c94;
0x000a2310 move a0, s0 | a0 = s0;
0x000a2314 bal 0xa1c94 | fcn_000a1c94 ();
0x000a2318 lw gp, 0x18(fp) | gp = *(var_18h_3);
| if (v0 >= 0) {
0x000a231c bltz v0, 0xa2344 |
0x000a2320 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x000a2324 lw t9, -0x7d74(gp) | t9 = sym.endswith;
0x000a2328 lw a0, (s2) | a0 = *(s2);
| /* str.__deleted_ */
0x000a232c addiu a1, a1, -0xf64 | a1 += -aav.0x00000f64;
0x000a2330 bal 0xa7b30 | sym_endswith ();
0x000a2334 lw gp, 0x18(fp) | gp = *(var_18h_3);
| if (v0 == 0) {
0x000a2338 beqz v0, 0xa23a4 | goto label_3;
| }
0x000a233c sb zero, (v0) | *(v0) = 0;
0x000a2340 move v0, zero | v0 = 0;
| }
| label_0:
0x000a2344 lw a0, 0x24(fp) | a0 = *(var_3ch_4);
0x000a2348 lw v1, (s1) | v1 = *(s1);
0x000a234c lw t9, -0x6e2c(gp) | t9 = sym.imp.__stack_chk_fail;
| if (a0 != v1) {
0x000a2350 bne a0, v1, 0xa23d4 | goto label_4;
| }
0x000a2354 move sp, fp |
0x000a2358 lw ra, 0x3c(sp) | ra = *(var_3ch_4);
0x000a235c lw fp, 0x38(sp) | fp = *(var_38h_4);
0x000a2360 lw s2, 0x34(sp) | s2 = *(var_34h_4);
0x000a2364 lw s1, 0x30(sp) | s1 = *(var_18h_3);
0x000a2368 lw s0, 0x2c(sp) | s0 = *(var_2ch_3);
0x000a236c addiu sp, sp, 0x40 |
0x000a2370 jr ra | return v0;
| label_2:
0x000a2374 addiu sp, sp, -0x18 |
0x000a2378 lw a3, -0x7fd8(gp) | a3 = *(gp);
0x000a237c lw t9, -0x7164(gp) | t9 = sym.imp.__sprintf_chk
0x000a2380 addiu s0, sp, 0x18 | s0 = sp + 0x18;
0x000a2384 sw a0, 0x10(sp) | *(var_b0h) = a0;
| /* str._proc__i_exe */
0x000a2388 addiu a3, a3, 0x256c | a3 += 0x256c;
0x000a238c addiu a2, zero, 0x17 | a2 = 0x17;
0x000a2390 addiu a1, zero, 1 | a1 = 1;
0x000a2394 move a0, s0 | a0 = s0;
0x000a2398 jalr t9 | t9 ();
0x000a239c lw gp, 0x18(fp) | gp = *(var_18h_3);
0x000a23a0 b 0xa2304 |
| } while (1);
| label_3:
0x000a23a4 move v0, zero | v0 = 0;
0x000a23a8 b 0xa2344 | goto label_0;
| label_1:
0x000a23ac lw a2, -0x7fd8(gp) | a2 = *(gp);
0x000a23b0 lw a1, -0x7fd8(gp) | a1 = *(gp);
| /* str.get_process_exe */
0x000a23b4 addiu v0, v0, 0x2b10 | v0 += 0x2b10;
0x000a23b8 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x000a23bc sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x000a23c0 addiu a3, zero, 0x1a5 | a3 = 0x1a5;
| /* esilref: 'src/basic/process-util.c' */
0x000a23c4 addiu a2, a2, 0x24f7 | a2 += 0x24f7;
| /* str.pid___0 */
0x000a23c8 addiu a1, a1, -0x5e68 | a1 += -0x5e68;
0x000a23cc move a0, zero | a0 = 0;
0x000a23d0 bal 0x991c4 | sym_log_assert_failed_realm ();
| label_4:
0x000a23d4 jalr t9 | t9 ();
0x000a23d8 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/udevadm @ 0xa2b2c */
| #include <stdint.h>
|
; (fcn) sym.getenv_for_pid () | void getenv_for_pid () {
0x000a2b2c lui gp, 6 |
0x000a2b30 addiu gp, gp, -0x38ac |
0x000a2b34 addu gp, gp, t9 | gp += t9;
0x000a2b38 addiu sp, sp, -0x60 |
0x000a2b3c sw s4, 0x48(sp) | *(var_48h) = s4;
0x000a2b40 lw s4, -0x6de8(gp) | s4 = *((gp - 7034));
0x000a2b44 sw fp, 0x58(sp) | *(var_58h) = fp;
0x000a2b48 sw ra, 0x5c(sp) | *(var_5ch) = ra;
0x000a2b4c sw s7, 0x54(sp) | *(var_54h) = s7;
0x000a2b50 sw s6, 0x50(sp) | *(var_50h) = s6;
0x000a2b54 sw s5, 0x4c(sp) | *(var_4ch) = s5;
0x000a2b58 sw s3, 0x44(sp) | *(var_44h) = s3;
0x000a2b5c sw s2, 0x40(sp) | *(var_40h) = s2;
0x000a2b60 sw s1, 0x3c(sp) | *(var_3ch) = s1;
0x000a2b64 sw s0, 0x38(sp) | *(var_38h) = s0;
0x000a2b68 sw gp, 0x18(sp) | *(var_18h) = gp;
0x000a2b6c move fp, sp | fp = sp;
0x000a2b70 lw v0, (s4) | v0 = *(s4);
0x000a2b74 sw zero, 0x2c(fp) | *(arg_2ch) = 0;
0x000a2b78 sw v0, 0x34(fp) | *(arg_34h) = v0;
| if (a0 < 0) {
0x000a2b7c bltzl a0, 0xa2d5c | goto label_2;
| }
0x000a2b80 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x000a2b84 move s2, a1 | s2 = a1;
| if (a1 == 0) {
0x000a2b88 beqz a1, 0xa2d84 | goto label_3;
| }
0x000a2b8c move s5, a2 | s5 = a2;
| if (a2 == 0) {
0x000a2b90 beqz a2, 0xa2db0 | goto label_4;
| }
0x000a2b94 move s0, a0 | s0 = a0;
0x000a2b98 bnez a0, 0xa2c20 |
| while (v0 == s0) {
0x000a2b9c lw t9, -0x6ecc(gp) | t9 = sym.imp.getenv;
0x000a2ba0 move a0, s2 | a0 = s2;
0x000a2ba4 jalr t9 | t9 ();
0x000a2ba8 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == 0) {
0x000a2bac beqz v0, 0xa2d50 | goto label_5;
| }
0x000a2bb0 lw t9, -0x6dcc(gp) | t9 = sym.imp.strdup;
0x000a2bb4 move a0, v0 | a0 = v0;
0x000a2bb8 jalr t9 | t9 ();
0x000a2bbc lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == 0) {
0x000a2bc0 beqz v0, 0xa2e28 | goto label_6;
| }
0x000a2bc4 sw v0, (s5) | *(s5) = v0;
0x000a2bc8 addiu s0, zero, 1 | s0 = 1;
| label_0:
0x000a2bcc lw t9, -0x7bf8(gp) | t9 = sym.safe_fclose;
0x000a2bd0 lw a0, 0x2c(fp) | a0 = *(arg_2ch);
0x000a2bd4 bal 0x8ebc0 | sym_safe_fclose ();
0x000a2bd8 lw a0, 0x34(fp) | a0 = *(arg_34h);
0x000a2bdc lw v1, (s4) | v1 = *(s4);
0x000a2be0 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000a2be4 move v0, s0 | v0 = s0;
| if (a0 != v1) {
0x000a2be8 bne a0, v1, 0xa2e38 | goto label_7;
| }
0x000a2bec move sp, fp |
0x000a2bf0 lw ra, 0x5c(sp) | ra = *(var_5ch);
0x000a2bf4 lw fp, 0x58(sp) | fp = *(var_58h);
0x000a2bf8 lw s7, 0x54(sp) | s7 = *(var_54h);
0x000a2bfc lw s6, 0x50(sp) | s6 = *(var_50h);
0x000a2c00 lw s5, 0x4c(sp) | s5 = *(var_4ch);
0x000a2c04 lw s4, 0x48(sp) | s4 = *(var_48h);
0x000a2c08 lw s3, 0x44(sp) | s3 = *(var_44h);
0x000a2c0c lw s2, 0x40(sp) | s2 = *(var_40h);
0x000a2c10 lw s1, 0x3c(sp) | s1 = *(var_3ch);
0x000a2c14 lw s0, 0x38(sp) | s0 = *(var_38h);
0x000a2c18 addiu sp, sp, 0x60 |
0x000a2c1c jr ra | return v0;
0x000a2c20 lw t9, -0x7aec(gp) | t9 = sym.getpid_cached;
0x000a2c24 bal 0xa2a3c | sym_getpid_cached ();
0x000a2c28 nop |
0x000a2c2c lw gp, 0x18(fp) | gp = *(arg_18h);
0x000a2c30 beq v0, s0, 0xa2b9c |
| }
0x000a2c34 addiu sp, sp, -0x20 |
0x000a2c38 lw a3, -0x7fd8(gp) | a3 = *(gp);
0x000a2c3c lw t9, -0x7164(gp) | t9 = sym.imp.__sprintf_chk
0x000a2c40 addiu s1, sp, 0x18 | s1 = sp + 0x18;
| /* str._proc__i_environ */
0x000a2c44 addiu a3, a3, 0x2590 | a3 += 0x2590;
0x000a2c48 addiu a2, zero, 0x1b | a2 = 0x1b;
0x000a2c4c addiu a1, zero, 1 | a1 = 1;
0x000a2c50 move a0, s1 | a0 = s1;
0x000a2c54 sw s0, 0x10(sp) | *(var_10h_2) = s0;
0x000a2c58 jalr t9 | t9 ();
0x000a2c5c lw gp, 0x18(fp) | gp = *(arg_18h);
0x000a2c60 addiu a2, fp, 0x2c | a2 = fp + 0x2c;
0x000a2c64 move a0, s1 | a0 = s1;
0x000a2c68 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x000a2c6c lw t9, -0x7458(gp) | t9 = sym.fopen_unlocked;
| /* esilref: 're' */
0x000a2c70 addiu a1, a1, -0x65c8 | a1 += -0x65c8;
0x000a2c74 bal 0x8f7bc | sym_fopen_unlocked ();
0x000a2c78 move s0, v0 | s0 = v0;
0x000a2c7c addiu v0, zero, -2 | v0 = -2;
0x000a2c80 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (s0 == v0) {
0x000a2c84 beq s0, v0, 0xa2e30 | goto label_8;
| }
0x000a2c88 lw t9, -0x6f38(gp) | t9 = sym.imp.strlen;
| if (s0 < 0) {
0x000a2c8c bltz s0, 0xa2bcc | goto label_0;
| }
0x000a2c90 move a0, s2 | a0 = s2;
0x000a2c94 jalr t9 | t9 ();
0x000a2c98 move s3, v0 | s3 = v0;
0x000a2c9c lui v0, 0x50 | v0 = 0x500001;
0x000a2ca0 addiu v0, v0, 1 |
0x000a2ca4 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000a2ca8 sw zero, 0x30(fp) | *(arg_30h) = 0;
0x000a2cac move s1, zero | s1 = 0;
0x000a2cb0 addiu s6, fp, 0x30 | s6 = fp + 0x30;
0x000a2cb4 sw v0, 0x24(fp) | *(arg_24h) = v0;
0x000a2cb8 b 0xa2d14 |
| while (v0 >= 0) {
0x000a2cbc lw t9, -0x70f4(gp) | t9 = sym.imp.strncmp;
| if (v0 == 0) {
0x000a2cc0 beqz v0, 0xa2ddc | goto label_9;
| }
0x000a2cc4 move a2, s3 | a2 = s3;
0x000a2cc8 move a1, s2 | a1 = s2;
0x000a2ccc move a0, s7 | a0 = s7;
0x000a2cd0 jalr t9 | t9 ();
0x000a2cd4 addu s1, s1, s0 | s1 += s0;
0x000a2cd8 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == 0) {
0x000a2cdc bnez v0, 0xa2cf4 |
0x000a2ce0 addu v0, s7, s3 | v0 = s7 + s3;
0x000a2ce4 addiu v1, zero, 0x3d | v1 = 0x3d;
0x000a2ce8 lb v0, (v0) | v0 = *(v0);
0x000a2cec lw t9, -0x6dcc(gp) | t9 = sym.imp.strdup;
| if (v0 == v1) {
0x000a2cf0 beq v0, v1, 0xa2e00 | goto label_10;
| }
| }
0x000a2cf4 lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x000a2cf8 move a0, s7 | a0 = s7;
0x000a2cfc jalr t9 | t9 ();
0x000a2d00 lw v0, 0x24(fp) | v0 = *(arg_24h);
0x000a2d04 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000a2d08 sltu v0, s1, v0 | v0 = (s1 < v0) ? 1 : 0;
0x000a2d0c sw zero, 0x30(fp) | *(arg_30h) = 0;
| if (v0 == 0) {
0x000a2d10 beqz v0, 0xa2df4 | goto label_11;
| }
0x000a2d14 lw t9, -0x7c20(gp) | t9 = sym.read_line_full;
0x000a2d18 lw a0, 0x2c(fp) | a0 = *(arg_2ch);
0x000a2d1c move a3, s6 | a3 = s6;
0x000a2d20 addiu a2, zero, 1 | a2 = 1;
0x000a2d24 lui a1, 0x10 | a1 = 0x100000;
0x000a2d28 bal 0x905d0 | sym_read_line_full ();
0x000a2d2c move s0, v0 | s0 = v0;
0x000a2d30 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000a2d34 lw s7, 0x30(fp) | s7 = *(arg_30h);
0x000a2d38 bgez v0, 0xa2cbc |
| }
| do {
| label_1:
0x000a2d3c lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x000a2d40 move a0, s7 | a0 = s7;
0x000a2d44 jalr t9 | t9 ();
0x000a2d48 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000a2d4c b 0xa2bcc | goto label_0;
| label_5:
0x000a2d50 sw zero, (s5) | *(s5) = 0;
0x000a2d54 move s0, zero | s0 = 0;
0x000a2d58 b 0xa2bcc | goto label_0;
| label_2:
0x000a2d5c lw a2, -0x7fd8(gp) | a2 = *(gp);
0x000a2d60 lw a1, -0x7fd8(gp) | a1 = *(gp);
| /* str.getenv_for_pid */
0x000a2d64 addiu v0, v0, 0x2a70 | v0 += 0x2a70;
0x000a2d68 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x000a2d6c sw v0, 0x10(sp) | *(var_10h) = v0;
0x000a2d70 addiu a3, zero, 0x31d | a3 = 0x31d;
| /* esilref: 'src/basic/process-util.c' */
0x000a2d74 addiu a2, a2, 0x24f7 | a2 += 0x24f7;
| /* str.pid___0 */
0x000a2d78 addiu a1, a1, -0x5e68 | a1 += -0x5e68;
0x000a2d7c move a0, zero | a0 = 0;
0x000a2d80 bal 0x991c4 | sym_log_assert_failed_realm ();
| label_3:
0x000a2d84 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x000a2d88 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x000a2d8c lw a1, -0x7fd8(gp) | a1 = *(gp);
| /* str.getenv_for_pid */
0x000a2d90 addiu v0, v0, 0x2a70 | v0 += 0x2a70;
0x000a2d94 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x000a2d98 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000a2d9c addiu a3, zero, 0x31e | a3 = 0x31e;
| /* esilref: 'src/basic/process-util.c' */
0x000a2da0 addiu a2, a2, 0x24f7 | a2 += 0x24f7;
| /* str.field */
0x000a2da4 addiu a1, a1, 0x2670 | a1 += 0x2670;
0x000a2da8 move a0, zero | a0 = 0;
0x000a2dac bal 0x991c4 | sym_log_assert_failed_realm ();
| label_4:
0x000a2db0 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x000a2db4 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x000a2db8 lw a1, -0x7fcc(gp) | a1 = *(gp);
| /* str.getenv_for_pid */
0x000a2dbc addiu v0, v0, 0x2a70 | v0 += 0x2a70;
0x000a2dc0 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x000a2dc4 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000a2dc8 addiu a3, zero, 0x31f | a3 = 0x31f;
| /* esilref: 'src/basic/process-util.c' */
0x000a2dcc addiu a2, a2, 0x24f7 | a2 += 0x24f7;
| /* esilref: 'ret' */
0x000a2dd0 addiu a1, a1, -0x7454 | a1 += -0x7454;
0x000a2dd4 move a0, zero | a0 = 0;
0x000a2dd8 bal 0x991c4 | sym_log_assert_failed_realm ();
| label_9:
0x000a2ddc lw t9, -0x6dc8(gp) | t9 = *((gp - 7026));
0x000a2de0 move a0, s7 | a0 = s7;
0x000a2de4 jalr t9 | t9 ();
0x000a2de8 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000a2dec sw zero, (s5) | *(s5) = 0;
0x000a2df0 b 0xa2bcc | goto label_0;
| label_11:
0x000a2df4 move s7, zero | s7 = 0;
0x000a2df8 addiu s0, zero, -0x84 | s0 = -0x84;
0x000a2dfc b 0xa2d3c |
| } while (1);
| label_10:
0x000a2e00 addiu a0, s3, 1 | a0 = s3 + 1;
0x000a2e04 addu a0, s7, a0 | a0 = s7 + a0;
0x000a2e08 jalr t9 | t9 ();
0x000a2e0c lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 != 0) {
0x000a2e10 beqz v0, 0xa2e20 |
0x000a2e14 sw v0, (s5) | *(s5) = v0;
0x000a2e18 addiu s0, zero, 1 | s0 = 1;
0x000a2e1c b 0xa2d3c | goto label_1;
| }
0x000a2e20 addiu s0, zero, -0xc | s0 = -0xc;
0x000a2e24 b 0xa2d3c | goto label_1;
| label_6:
0x000a2e28 addiu s0, zero, -0xc | s0 = -0xc;
0x000a2e2c b 0xa2bcc | goto label_0;
| label_8:
0x000a2e30 addiu s0, zero, -3 | s0 = -3;
0x000a2e34 b 0xa2bcc | goto label_0;
| label_7:
0x000a2e38 lw t9, -0x6e2c(gp) | t9 = sym.imp.__stack_chk_fail;
0x000a2e3c jalr t9 | t9 ();
0x000a2e40 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/udevadm @ 0x9d098 */
| #include <stdint.h>
|
; (fcn) sym.namespace_open () | void namespace_open () {
0x0009d098 lui gp, 6 |
0x0009d09c addiu gp, gp, 0x21e8 |
0x0009d0a0 addu gp, gp, t9 | gp += t9;
0x0009d0a4 addiu sp, sp, -0x60 |
0x0009d0a8 sw fp, 0x58(sp) | *(var_58h) = fp;
0x0009d0ac move fp, sp | fp = sp;
0x0009d0b0 sw s2, 0x40(sp) | *(var_40h) = s2;
0x0009d0b4 lw s2, -0x6de8(gp) | s2 = *((gp - 7034));
0x0009d0b8 lw v1, 0x70(fp) | v1 = *(arg_70h);
0x0009d0bc sw ra, 0x5c(sp) | *(var_5ch) = ra;
0x0009d0c0 sw s7, 0x54(sp) | *(var_54h) = s7;
0x0009d0c4 sw s6, 0x50(sp) | *(var_50h) = s6;
0x0009d0c8 sw s5, 0x4c(sp) | *(var_4ch) = s5;
0x0009d0cc sw s4, 0x48(sp) | *(var_48h) = s4;
0x0009d0d0 sw s3, 0x44(sp) | *(var_44h) = s3;
0x0009d0d4 sw s1, 0x3c(sp) | *(var_3ch) = s1;
0x0009d0d8 sw s0, 0x38(sp) | *(var_38h) = s0;
0x0009d0dc sw gp, 0x18(sp) | *(var_18h) = gp;
0x0009d0e0 lw v0, (s2) | v0 = *(s2);
0x0009d0e4 sw v1, 0x2c(fp) | *(arg_2ch) = v1;
0x0009d0e8 lw v1, 0x74(fp) | v1 = *(arg_74h);
0x0009d0ec sw v0, 0x34(fp) | *(arg_34h) = v0;
0x0009d0f0 sw v1, 0x28(fp) | *(arg_28h) = v1;
| if (a0 < 0) {
0x0009d0f4 bltz a0, 0x9d4c4 | goto label_11;
| }
0x0009d0f8 move s0, a0 | s0 = a0;
0x0009d0fc move s6, a1 | s6 = a1;
0x0009d100 move s5, a2 | s5 = a2;
0x0009d104 move s7, a3 | s7 = a3;
| if (a2 == 0) {
0x0009d108 beqz a2, 0x9d32c | goto label_12;
| }
0x0009d10c addiu sp, sp, -0x20 |
| if (a0 == 0) {
0x0009d110 bnel a0, zero, 0x9d300 | goto label_13;
| }
0x0009d114 lw s1, -0x7fd8(gp) | s1 = *(gp);
| /* str._proc_self_ns_mnt */
0x0009d118 addiu s1, s1, 0x1e98 | s1 += 0x1e98;
| do {
0x0009d11c lw t9, -0x6f60(gp) | t9 = sym.imp.open64;
0x0009d120 lui a1, 8 | a1 = 0x80000;
0x0009d124 move a0, s1 | a0 = s1;
0x0009d128 addiu a1, a1, 0x800 | a1 += 0x800;
0x0009d12c jalr t9 | t9 ();
0x0009d130 move s1, v0 | s1 = v0;
0x0009d134 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 < 0) {
0x0009d138 bltz v0, 0x9d3c4 | goto label_14;
| }
| if (s6 == 0) {
0x0009d13c beqz s6, 0x9d334 | goto label_15;
| }
0x0009d140 nop |
| label_0:
0x0009d144 addiu sp, sp, -0x20 |
| if (s0 == 0) {
0x0009d148 bnel s0, zero, 0x9d398 | goto label_16;
| }
0x0009d14c lw s3, -0x7fd8(gp) | s3 = *(gp);
| /* str._proc_self_ns_pid */
0x0009d150 addiu s3, s3, 0x1eac | s3 += aav.0x00001eac;
| label_6:
0x0009d154 lw t9, -0x6f60(gp) | t9 = sym.imp.open64;
0x0009d158 lui a1, 8 | a1 = 0x80000;
0x0009d15c move a0, s3 | a0 = s3;
0x0009d160 addiu a1, a1, 0x800 | a1 += 0x800;
0x0009d164 jalr t9 | t9 ();
0x0009d168 move s3, v0 | s3 = v0;
0x0009d16c lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 < 0) {
0x0009d170 bltz v0, 0x9d444 | goto label_17;
| }
0x0009d174 lw v0, 0x2c(fp) | v0 = *(arg_2ch);
| if (s7 == 0) {
0x0009d178 beqz s7, 0x9d340 | goto label_18;
| }
| label_1:
0x0009d17c addiu sp, sp, -0x20 |
| if (s0 == 0) {
0x0009d180 bnel s0, zero, 0x9d418 | goto label_19;
| }
0x0009d184 lw s4, -0x7fd8(gp) | s4 = *(gp);
| /* str._proc_self_ns_net */
0x0009d188 addiu s4, s4, 0x1ec0 | s4 += 0x1ec0;
| label_9:
0x0009d18c lw t9, -0x6f60(gp) | t9 = sym.imp.open64;
0x0009d190 lui a1, 8 | a1 = 0x80000;
0x0009d194 move a0, s4 | a0 = s4;
0x0009d198 addiu a1, a1, 0x800 | a1 += 0x800;
0x0009d19c jalr t9 | t9 ();
0x0009d1a0 move s4, v0 | s4 = v0;
0x0009d1a4 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 < 0) {
0x0009d1a8 bltz v0, 0x9d4a0 | goto label_20;
| }
0x0009d1ac lw v0, 0x2c(fp) | v0 = *(arg_2ch);
0x0009d1b0 lw v0, 0x28(fp) | v0 = *(arg_28h);
| if (v0 == 0) {
0x0009d1b4 beqz v0, 0x9d34c | goto label_21;
| }
| label_2:
0x0009d1b8 addiu sp, sp, -0x20 |
| if (s0 == 0) {
0x0009d1bc bnel s0, zero, 0x9d46c | goto label_22;
| }
0x0009d1c0 lw v1, -0x7fd8(gp) | v1 = *(gp);
| /* str._proc_self_ns_user */
0x0009d1c4 addiu v1, v1, 0x1ed4 | v1 += 0x1ed4;
| label_10:
0x0009d1c8 lw t9, -0x6f60(gp) | t9 = sym.imp.open64;
0x0009d1cc lui a1, 8 | a1 = 0x80000;
0x0009d1d0 move a0, v1 | a0 = v1;
0x0009d1d4 addiu a1, a1, 0x800 | a1 += 0x800;
0x0009d1d8 jalr t9 | t9 ();
0x0009d1dc move v1, v0 | v1 = v0;
0x0009d1e0 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 < 0) {
0x0009d1e4 bltz v0, 0x9d3f0 | goto label_23;
| }
| label_8:
0x0009d1e8 lw v0, 0x28(fp) | v0 = *(arg_28h);
0x0009d1ec addiu v0, zero, -1 | v0 = -1;
| if (v0 != 0) {
0x0009d1f0 beqz v0, 0x9d228 |
| label_3:
0x0009d1f4 addiu sp, sp, -0x18 |
| if (s0 == 0) {
0x0009d1f8 bnel s0, zero, 0x9d35c | goto label_24;
| }
0x0009d1fc lw t0, -0x7fd8(gp) | t0 = *(gp);
| /* str._proc_self_root */
0x0009d200 addiu t0, t0, 0x1ee8 | t0 += 0x1ee8;
| label_5:
0x0009d204 lw t9, -0x6f60(gp) | t9 = sym.imp.open64;
0x0009d208 lui a1, 9 | a1 = 0x90000;
0x0009d20c sw v1, 0x24(fp) | *(arg_24h) = v1;
0x0009d210 addiu a1, a1, 0x800 | a1 += 0x800;
0x0009d214 move a0, t0 | a0 = t0;
0x0009d218 jalr t9 | t9 ();
0x0009d21c lw gp, 0x18(fp) | gp = *(arg_18h);
0x0009d220 lw v1, 0x24(fp) | v1 = *(arg_24h);
| if (v0 < 0) {
0x0009d224 bltz v0, 0x9d4f0 | goto label_25;
| }
| }
| if (s6 != 0) {
| label_4:
0x0009d228 beqz s6, 0x9d238 |
0x0009d22c nop |
0x0009d230 sw s3, (s6) | *(s6) = s3;
0x0009d234 addiu s3, zero, -1 | s3 = -1;
| }
| if (s5 != 0) {
0x0009d238 beqz s5, 0x9d248 |
0x0009d23c nop |
0x0009d240 sw s1, (s5) | *(s5) = s1;
0x0009d244 addiu s1, zero, -1 | s1 = -1;
| }
0x0009d248 lw a0, 0x2c(fp) | a0 = *(arg_2ch);
| if (s7 != 0) {
0x0009d24c beqz s7, 0x9d25c |
0x0009d250 sw s4, (s7) | *(s7) = s4;
0x0009d254 addiu s4, zero, -1 | s4 = -1;
0x0009d258 lw a0, 0x2c(fp) | a0 = *(arg_2ch);
| }
| if (a0 != 0) {
0x0009d25c beql a0, zero, 0x9d270 |
0x0009d260 lw a0, 0x28(fp) | a0 = *(arg_28h);
0x0009d264 sw v1, (a0) | *(a0) = v1;
0x0009d268 addiu v1, zero, -1 | v1 = -1;
0x0009d26c lw a0, 0x28(fp) | a0 = *(arg_28h);
| }
0x0009d270 move s0, zero | s0 = 0;
| if (a0 != 0) {
0x0009d274 beqz a0, 0x9d27c |
0x0009d278 sw v0, (a0) | *(a0) = v0;
| }
| label_7:
0x0009d27c lw t9, -0x7d98(gp) | t9 = sym.safe_close;
0x0009d280 move a0, v1 | a0 = v1;
0x0009d284 bal 0x8e944 | sym_safe_close ();
0x0009d288 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0009d28c lw t9, -0x7d98(gp) | t9 = sym.safe_close;
0x0009d290 move a0, s4 | a0 = s4;
0x0009d294 bal 0x8e944 | sym_safe_close ();
0x0009d298 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0009d29c lw t9, -0x7d98(gp) | t9 = sym.safe_close;
0x0009d2a0 move a0, s1 | a0 = s1;
0x0009d2a4 bal 0x8e944 | sym_safe_close ();
0x0009d2a8 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0009d2ac lw t9, -0x7d98(gp) | t9 = sym.safe_close;
0x0009d2b0 move a0, s3 | a0 = s3;
0x0009d2b4 bal 0x8e944 | sym_safe_close ();
0x0009d2b8 lw a0, 0x34(fp) | a0 = *(arg_34h);
0x0009d2bc lw v1, (s2) | v1 = *(s2);
0x0009d2c0 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0009d2c4 move v0, s0 | v0 = s0;
| if (a0 != v1) {
0x0009d2c8 bne a0, v1, 0x9d510 | goto label_26;
| }
0x0009d2cc move sp, fp |
0x0009d2d0 lw ra, 0x5c(sp) | ra = *(var_5ch);
0x0009d2d4 lw fp, 0x58(sp) | fp = *(var_58h);
0x0009d2d8 lw s7, 0x54(sp) | s7 = *(var_54h);
0x0009d2dc lw s6, 0x50(sp) | s6 = *(var_50h);
0x0009d2e0 lw s5, 0x4c(sp) | s5 = *(var_4ch);
0x0009d2e4 lw s4, 0x48(sp) | s4 = *(var_48h);
0x0009d2e8 lw s3, 0x44(sp) | s3 = *(var_44h);
0x0009d2ec lw s2, 0x40(sp) | s2 = *(var_40h);
0x0009d2f0 lw s1, 0x3c(sp) | s1 = *(var_3ch);
0x0009d2f4 lw s0, 0x38(sp) | s0 = *(var_38h);
0x0009d2f8 addiu sp, sp, 0x60 |
0x0009d2fc jr ra | return v1;
| label_13:
0x0009d300 lw a3, -0x7fd8(gp) | a3 = *(gp);
0x0009d304 lw t9, -0x7164(gp) | t9 = sym.imp.__sprintf_chk
0x0009d308 addiu s1, sp, 0x18 | s1 = sp + 0x18;
0x0009d30c sw a0, 0x10(sp) | *(var_30h) = a0;
| /* str._proc__i_ns_mnt */
0x0009d310 addiu a3, a3, 0x1f1c | a3 += 0x1f1c;
0x0009d314 addiu a2, zero, 0x1a | a2 = 0x1a;
0x0009d318 addiu a1, zero, 1 | a1 = 1;
0x0009d31c move a0, s1 | a0 = s1;
0x0009d320 jalr t9 | t9 ();
0x0009d324 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0009d328 b 0x9d11c |
| } while (1);
| label_12:
0x0009d32c addiu s1, zero, -1 | s1 = -1;
| if (s6 != 0) {
0x0009d330 bnez s6, 0x9d144 | goto label_0;
| }
| label_15:
0x0009d334 addiu s3, zero, -1 | s3 = -1;
| if (s7 != 0) {
0x0009d338 bnez s7, 0x9d17c | goto label_1;
| }
0x0009d33c lw v0, 0x2c(fp) | v0 = *(arg_2ch);
| label_18:
0x0009d340 addiu s4, zero, -1 | s4 = -1;
| if (v0 != 0) {
0x0009d344 bnez v0, 0x9d1b8 | goto label_2;
| }
0x0009d348 lw v0, 0x28(fp) | v0 = *(arg_28h);
| label_21:
0x0009d34c addiu v1, zero, -1 | v1 = -1;
| if (v0 != 0) {
0x0009d350 bnez v0, 0x9d1f4 | goto label_3;
| }
0x0009d354 addiu v0, zero, -1 | v0 = -1;
0x0009d358 b 0x9d228 | goto label_4;
| label_24:
0x0009d35c lw a3, -0x7fd8(gp) | a3 = *(gp);
0x0009d360 addiu t0, sp, 0x18 | t0 = sp + 0x18;
0x0009d364 lw t9, -0x7164(gp) | t9 = sym.imp.__sprintf_chk
0x0009d368 sw v1, 0x20(fp) | *(arg_20h) = v1;
0x0009d36c move a0, t0 | a0 = t0;
0x0009d370 sw t0, 0x24(fp) | *(arg_24h) = t0;
0x0009d374 sw s0, 0x10(sp) | *(var_20h_2) = s0;
| /* str._proc__i_root */
0x0009d378 addiu a3, a3, 0x1f60 | a3 += 0x1f60;
0x0009d37c addiu a2, zero, 0x18 | a2 = 0x18;
0x0009d380 addiu a1, zero, 1 | a1 = 1;
0x0009d384 jalr t9 | t9 ();
0x0009d388 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0009d38c lw t0, 0x24(fp) | t0 = *(arg_24h);
0x0009d390 lw v1, 0x20(fp) | v1 = *(arg_20h);
0x0009d394 b 0x9d204 | goto label_5;
| label_16:
0x0009d398 lw a3, -0x7fd8(gp) | a3 = *(gp);
0x0009d39c lw t9, -0x7164(gp) | t9 = sym.imp.__sprintf_chk
0x0009d3a0 addiu s3, sp, 0x18 | s3 = sp + 0x18;
0x0009d3a4 sw s0, 0x10(sp) | *(var_30h) = s0;
| /* str._proc__i_ns_pid */
0x0009d3a8 addiu a3, a3, 0x1f2c | a3 += 0x1f2c;
0x0009d3ac addiu a2, zero, 0x1a | a2 = 0x1a;
0x0009d3b0 addiu a1, zero, 1 | a1 = 1;
0x0009d3b4 move a0, s3 | a0 = s3;
0x0009d3b8 jalr t9 | t9 ();
0x0009d3bc lw gp, 0x18(fp) | gp = *(arg_18h);
0x0009d3c0 b 0x9d154 | goto label_6;
| label_14:
0x0009d3c4 lw t9, -0x6fc8(gp) | t9 = sym.imp.__errno_location;
0x0009d3c8 addiu v1, zero, -1 | v1 = -1;
0x0009d3cc sw v1, 0x2c(fp) | *(arg_2ch) = v1;
0x0009d3d0 jalr t9 | t9 ();
0x0009d3d4 lw s0, (v0) | s0 = *(v0);
0x0009d3d8 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0009d3dc addiu s4, zero, -1 | s4 = -1;
0x0009d3e0 negu s0, s0 | __asm ("negu s0, s0");
0x0009d3e4 addiu s3, zero, -1 | s3 = -1;
0x0009d3e8 addiu v1, zero, -1 | v1 = -1;
0x0009d3ec b 0x9d27c | goto label_7;
| label_23:
0x0009d3f0 lw t9, -0x6fc8(gp) | t9 = sym.imp.__errno_location;
0x0009d3f4 sw v0, 0x24(fp) | *(arg_24h) = v0;
0x0009d3f8 jalr t9 | t9 ();
0x0009d3fc lw v0, (v0) | v0 = *(v0);
0x0009d400 addiu a0, zero, 2 | a0 = 2;
0x0009d404 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0009d408 lw v1, 0x24(fp) | v1 = *(arg_24h);
| if (v0 == a0) {
0x0009d40c beq v0, a0, 0x9d1e8 | goto label_8;
| }
0x0009d410 negu s0, v0 | __asm ("negu s0, v0");
0x0009d414 b 0x9d27c | goto label_7;
| label_19:
0x0009d418 lw a3, -0x7fd8(gp) | a3 = *(gp);
0x0009d41c lw t9, -0x7164(gp) | t9 = sym.imp.__sprintf_chk
0x0009d420 addiu s4, sp, 0x18 | s4 = sp + 0x18;
0x0009d424 sw s0, 0x10(sp) | *(var_10h_2) = s0;
| /* str._proc__i_ns_net */
0x0009d428 addiu a3, a3, 0x1f3c | a3 += 0x1f3c;
0x0009d42c addiu a2, zero, 0x1a | a2 = 0x1a;
0x0009d430 addiu a1, zero, 1 | a1 = 1;
0x0009d434 move a0, s4 | a0 = s4;
0x0009d438 jalr t9 | t9 ();
0x0009d43c lw gp, 0x18(fp) | gp = *(arg_18h);
0x0009d440 b 0x9d18c | goto label_9;
| label_17:
0x0009d444 lw t9, -0x6fc8(gp) | t9 = sym.imp.__errno_location;
0x0009d448 addiu v1, zero, -1 | v1 = -1;
0x0009d44c sw v1, 0x2c(fp) | *(arg_2ch) = v1;
0x0009d450 jalr t9 | t9 ();
0x0009d454 lw s0, (v0) | s0 = *(v0);
0x0009d458 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0009d45c addiu s4, zero, -1 | s4 = -1;
0x0009d460 negu s0, s0 | __asm ("negu s0, s0");
0x0009d464 addiu v1, zero, -1 | v1 = -1;
0x0009d468 b 0x9d27c | goto label_7;
| label_22:
0x0009d46c lw a3, -0x7fd8(gp) | a3 = *(gp);
0x0009d470 addiu v1, sp, 0x18 | v1 = sp + 0x18;
0x0009d474 lw t9, -0x7164(gp) | t9 = sym.imp.__sprintf_chk
0x0009d478 move a0, v1 | a0 = v1;
0x0009d47c sw v1, 0x24(fp) | *(arg_24h) = v1;
0x0009d480 sw s0, 0x10(sp) | *(var_10h_2) = s0;
| /* str._proc__i_ns_user */
0x0009d484 addiu a3, a3, 0x1f4c | a3 += 0x1f4c;
0x0009d488 addiu a2, zero, 0x1b | a2 = 0x1b;
0x0009d48c addiu a1, zero, 1 | a1 = 1;
0x0009d490 jalr t9 | t9 ();
0x0009d494 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0009d498 lw v1, 0x24(fp) | v1 = *(arg_24h);
0x0009d49c b 0x9d1c8 | goto label_10;
| label_20:
0x0009d4a0 lw t9, -0x6fc8(gp) | t9 = sym.imp.__errno_location;
0x0009d4a4 addiu v1, zero, -1 | v1 = -1;
0x0009d4a8 sw v1, 0x2c(fp) | *(arg_2ch) = v1;
0x0009d4ac jalr t9 | t9 ();
0x0009d4b0 lw s0, (v0) | s0 = *(v0);
0x0009d4b4 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0009d4b8 negu s0, s0 | __asm ("negu s0, s0");
0x0009d4bc addiu v1, zero, -1 | v1 = -1;
0x0009d4c0 b 0x9d27c | goto label_7;
| label_11:
0x0009d4c4 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0009d4c8 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x0009d4cc lw a1, -0x7fd8(gp) | a1 = *(gp);
| /* str.namespace_open */
0x0009d4d0 addiu v0, v0, 0x1f84 | v0 += 0x1f84;
0x0009d4d4 lw t9, -0x7f88(gp) | t9 = sym.log_assert_failed_realm;
0x0009d4d8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0009d4dc addiu a3, zero, 0x11 | a3 = 0x11;
| /* esilref: 'src/basic/namespace-util.c' */
0x0009d4e0 addiu a2, a2, 0x1eff | a2 += 0x1eff;
| /* str.pid___0 */
0x0009d4e4 addiu a1, a1, -0x5e68 | a1 += -0x5e68;
0x0009d4e8 move a0, zero | a0 = 0;
0x0009d4ec bal 0x991c4 | sym_log_assert_failed_realm ();
| label_25:
0x0009d4f0 lw t9, -0x6fc8(gp) | t9 = sym.imp.__errno_location;
0x0009d4f4 sw v1, 0x2c(fp) | *(arg_2ch) = v1;
0x0009d4f8 jalr t9 | t9 ();
0x0009d4fc lw s0, (v0) | s0 = *(v0);
0x0009d500 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0009d504 negu s0, s0 | __asm ("negu s0, s0");
0x0009d508 lw v1, 0x2c(fp) | v1 = *(arg_2ch);
0x0009d50c b 0x9d27c | goto label_7;
| label_26:
0x0009d510 lw t9, -0x6e2c(gp) | t9 = sym.imp.__stack_chk_fail;
0x0009d514 jalr t9 | t9 ();
0x0009d518 nop |
| }
[*] Function printf used 23 times udevadm