[*] Binary protection state of systemd-udevd
Full RELRO Canary found NX disabled PIE enabled RPATH No RUNPATH No Symbols
[*] Function mmap tear down of systemd-udevd
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/systemd/systemd-udevd @ 0x779dc */
| #include <stdint.h>
|
; (fcn) sym.rename_process () | void rename_process () {
0x000779dc lui gp, 5 |
0x000779e0 addiu gp, gp, -0x86c |
0x000779e4 addu gp, gp, t9 | gp += t9;
0x000779e8 addiu sp, sp, -0x50 |
0x000779ec sw gp, 0x20(sp) | *(var_20h) = gp;
0x000779f0 sw ra, 0x4c(sp) | *(var_4ch) = ra;
0x000779f4 sw s7, 0x48(sp) | *(var_48h) = s7;
0x000779f8 sw s6, 0x44(sp) | *(var_44h) = s6;
0x000779fc sw s5, 0x40(sp) | *(var_40h) = s5;
0x00077a00 sw s4, 0x3c(sp) | *(var_3ch) = s4;
0x00077a04 sw s3, 0x38(sp) | *(var_38h) = s3;
0x00077a08 sw s2, 0x34(sp) | *(var_34h) = s2;
0x00077a0c sw s1, 0x30(sp) | *(var_30h) = s1;
0x00077a10 sw s0, 0x2c(sp) | *(var_2ch) = s0;
| if (a0 == 0) {
0x00077a14 beql a0, zero, 0x77b40 | goto label_2;
| }
0x00077a18 addiu s2, zero, -0x16 | s2 = -0x16;
0x00077a1c lb v0, (a0) | v0 = *(a0);
| if (v0 == 0) {
0x00077a20 beql v0, zero, 0x77b40 | goto label_2;
| }
0x00077a24 addiu s2, zero, -0x16 | s2 = -0x16;
0x00077a28 lw t9, -0x76fc(gp) | t9 = sym.is_main_thread;
0x00077a2c move s0, a0 | s0 = a0;
0x00077a30 bal 0x77948 | sym_is_main_thread ();
0x00077a34 move s5, v0 | s5 = v0;
0x00077a38 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00077a3c beqz v0, 0x78054 | goto label_9;
| }
0x00077a40 lw t9, -0x7334(gp) | t9 = sym.imp.strlen;
0x00077a44 move a0, s0 | a0 = s0;
0x00077a48 jalr t9 | t9 ();
0x00077a4c lw gp, 0x20(sp) | gp = *(var_20h);
0x00077a50 move a1, s0 | a1 = s0;
0x00077a54 addiu a0, zero, 0xf | a0 = 0xf;
0x00077a58 lw t9, -0x73dc(gp) | t9 = sym.imp.prctl;
0x00077a5c move s1, v0 | s1 = v0;
0x00077a60 jalr t9 | t9 ();
0x00077a64 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 < 0) {
0x00077a68 bltz v0, 0x77cfc | goto label_10;
| }
| label_0:
0x00077a6c lw v0, -0x7428(gp) | v0 = *((gp - 7434));
0x00077a70 sltiu s2, s1, 0x10 | s2 = (s1 < 0x10) ? 1 : 0;
0x00077a74 lw s3, (v0) | s3 = *(v0);
0x00077a78 xori s2, s2, 1 | s2 ^= 1;
| if (s3 != 0) {
0x00077a7c beqz s3, 0x77ab4 |
0x00077a80 lw t9, -0x7334(gp) | t9 = sym.imp.strlen;
0x00077a84 move a0, s3 | a0 = s3;
0x00077a88 jalr t9 | t9 ();
0x00077a8c lw gp, 0x20(sp) | gp = *(var_20h);
0x00077a90 move s4, v0 | s4 = v0;
0x00077a94 move a2, v0 | a2 = v0;
0x00077a98 lw t9, -0x73cc(gp) | t9 = sym.imp.strncpy;
0x00077a9c move a1, s0 | a1 = s0;
0x00077aa0 move a0, s3 | a0 = s3;
0x00077aa4 jalr t9 | t9 ();
0x00077aa8 sltu s4, s4, s1 | s4 = (s4 < s1) ? 1 : 0;
0x00077aac lw gp, 0x20(sp) | gp = *(var_20h);
| if (s4 != 0) {
0x00077ab0 movn s2, s5, s4 | s2 = s5;
| goto label_11;
| }
| }
| label_11:
0x00077ab4 lw t9, -0x7248(gp) | t9 = sym.imp.geteuid;
0x00077ab8 jalr t9 | t9 ();
0x00077abc nop |
0x00077ac0 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00077ac4 beqz v0, 0x77b70 | goto label_12;
| }
0x00077ac8 lw t9, -0x7fcc(gp) | t9 = sym.log_get_max_level_realm;
0x00077acc move a0, zero | a0 = 0;
0x00077ad0 bal 0x705b8 | sym_log_get_max_level_realm ();
0x00077ad4 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x00077ad8 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00077adc beqz v0, 0x77ee4 | goto label_13;
| }
| label_4:
0x00077ae0 lw s3, -0x7e24(gp) | s3 = *(gp);
0x00077ae4 lw v0, (s3) | v0 = *(s3);
0x00077ae8 lw ra, 0x4c(sp) | ra = *(var_4ch);
| if (v0 <= 0) {
0x00077aec blez v0, 0x77cc8 | goto label_14;
| }
0x00077af0 lw s4, -0x7e20(gp) | s4 = *(gp);
| do {
0x00077af4 lw v1, (s4) | v1 = *(s4);
0x00077af8 lw s5, (v1) | s5 = *(v1);
0x00077afc lw t9, -0x7334(gp) | t9 = sym.imp.strlen;
| if (s5 == 0) {
0x00077b00 beqz s5, 0x77d60 | goto label_15;
| }
0x00077b04 move a0, s5 | a0 = s5;
0x00077b08 jalr t9 | t9 ();
0x00077b0c lw gp, 0x20(sp) | gp = *(var_20h);
0x00077b10 move s6, v0 | s6 = v0;
0x00077b14 move a2, v0 | a2 = v0;
0x00077b18 lw t9, -0x73cc(gp) | t9 = sym.imp.strncpy;
0x00077b1c move a1, s0 | a1 = s0;
0x00077b20 move a0, s5 | a0 = s5;
0x00077b24 sltu s1, s6, s1 | s1 = (s6 < s1) ? 1 : 0;
0x00077b28 jalr t9 | t9 ();
0x00077b2c lw gp, 0x20(sp) | gp = *(var_20h);
| if (s1 == 0) {
0x00077b30 beqz s1, 0x77e84 | goto label_16;
| }
0x00077b34 lw v0, (s3) | v0 = *(s3);
0x00077b38 move s2, zero | s2 = 0;
0x00077b3c b 0x77d68 | goto label_5;
| label_2:
0x00077b40 lw ra, 0x4c(sp) | ra = *(var_4ch);
| label_1:
0x00077b44 move v0, s2 | v0 = s2;
0x00077b48 lw s7, 0x48(sp) | s7 = *(var_48h);
0x00077b4c lw s6, 0x44(sp) | s6 = *(var_44h);
0x00077b50 lw s5, 0x40(sp) | s5 = *(var_40h);
0x00077b54 lw s4, 0x3c(sp) | s4 = *(var_3ch);
0x00077b58 lw s3, 0x38(sp) | s3 = *(var_38h);
0x00077b5c lw s2, 0x34(sp) | s2 = *(var_34h);
0x00077b60 lw s1, 0x30(sp) | s1 = *(var_30h);
0x00077b64 lw s0, 0x2c(sp) | s0 = *(var_2ch);
0x00077b68 addiu sp, sp, 0x50 |
0x00077b6c jr ra | return v0;
| label_12:
0x00077b70 lw s4, -0x7fb0(gp) | s4 = *((gp - 8172));
0x00077b74 addiu s3, s1, 1 | s3 = s1 + 1;
0x00077b78 lw a2, 0x8b8(s4) | a2 = *((s4 + 558));
0x00077b7c sltu v0, a2, s3 | v0 = (a2 < s3) ? 1 : 0;
0x00077b80 lw v0, -0x7fb0(gp) | v0 = *((gp - 8172));
| if (v0 == 0) {
0x00077b84 beqz v0, 0x77de0 | goto label_17;
| }
0x00077b88 lw t9, -0x7848(gp) | t9 = sym.page_size;
0x00077b8c addiu s6, zero, -1 | s6 = -1;
0x00077b90 bal 0x71124 | sym_page_size ();
0x00077b94 lw gp, 0x20(sp) | gp = *(var_20h);
0x00077b98 addu s5, v0, s1 | s5 = v0 + s1;
0x00077b9c negu v0, v0 | __asm ("negu v0, v0");
0x00077ba0 and s5, s5, v0 | s5 &= v0;
0x00077ba4 lw t9, -0x7200(gp) | t9 = sym.imp.mmap64
0x00077ba8 move v0, zero | v0 = 0;
0x00077bac move v1, zero | v1 = 0;
0x00077bb0 sw v0, 0x18(sp) | *(var_18h) = v0;
0x00077bb4 sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x00077bb8 sw s6, 0x10(sp) | *(var_10h) = s6;
0x00077bbc addiu a3, zero, 0x802 | a3 = 0x802;
0x00077bc0 addiu a2, zero, 3 | a2 = 3;
0x00077bc4 move a1, s5 | a1 = s5;
0x00077bc8 move a0, zero | a0 = 0;
0x00077bcc jalr t9 | t9 ();
0x00077bd0 move s7, v0 | s7 = v0;
0x00077bd4 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == s6) {
0x00077bd8 beq v0, s6, 0x77e94 | goto label_18;
| }
0x00077bdc lw t9, -0x73cc(gp) | t9 = sym.imp.strncpy;
0x00077be0 move a2, s5 | a2 = s5;
0x00077be4 move a1, s0 | a1 = s0;
0x00077be8 move a0, v0 | a0 = v0;
0x00077bec jalr t9 | t9 ();
0x00077bf0 lw gp, 0x20(sp) | gp = *(var_20h);
0x00077bf4 sw zero, 0x10(sp) | *(var_10h) = 0;
0x00077bf8 move a3, zero | a3 = 0;
0x00077bfc lw t9, -0x73dc(gp) | t9 = sym.imp.prctl;
0x00077c00 move a2, s7 | a2 = s7;
0x00077c04 addiu a1, zero, 8 | a1 = 8;
0x00077c08 addiu a0, zero, 0x23 | a0 = 0x23;
0x00077c0c jalr t9 | t9 ();
0x00077c10 addu s3, s3, s7 | s3 += s7;
0x00077c14 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 >= 0) {
0x00077c18 bgez v0, 0x77f20 | goto label_19;
| }
0x00077c1c lw t9, -0x73b8(gp) | t9 = sym.imp.__errno_location;
0x00077c20 jalr t9 | t9 ();
0x00077c24 nop |
0x00077c28 lw gp, 0x20(sp) | gp = *(var_20h);
0x00077c2c move a0, zero | a0 = 0;
0x00077c30 lw t9, -0x7fcc(gp) | t9 = sym.log_get_max_level_realm;
0x00077c34 move s6, v0 | s6 = v0;
0x00077c38 bal 0x705b8 | sym_log_get_max_level_realm ();
0x00077c3c slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x00077c40 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00077c44 beqz v0, 0x78018 | goto label_20;
| }
| label_8:
0x00077c48 lw t9, -0x73dc(gp) | t9 = sym.imp.prctl;
0x00077c4c sw zero, 0x10(sp) | *(var_10h) = 0;
0x00077c50 move a3, zero | a3 = 0;
0x00077c54 move a2, s3 | a2 = s3;
0x00077c58 addiu a1, zero, 9 | a1 = 9;
0x00077c5c addiu a0, zero, 0x23 | a0 = 0x23;
0x00077c60 jalr t9 | t9 ();
0x00077c64 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 < 0) {
0x00077c68 bltz v0, 0x77fe8 | goto label_21;
| }
0x00077c6c lw t9, -0x73dc(gp) | t9 = sym.imp.prctl;
0x00077c70 sw zero, 0x10(sp) | *(var_10h) = 0;
0x00077c74 move a3, zero | a3 = 0;
0x00077c78 move a2, s7 | a2 = s7;
0x00077c7c addiu a1, zero, 8 | a1 = 8;
0x00077c80 addiu a0, zero, 0x23 | a0 = 0x23;
0x00077c84 jalr t9 | t9 ();
0x00077c88 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 < 0) {
0x00077c8c bltz v0, 0x77fa8 | goto label_22;
| }
| label_7:
0x00077c90 lw s3, -0x7fb0(gp) | s3 = *((gp - 8172));
0x00077c94 lw a0, 0x8b4(s3) | a0 = *((s3 + 557));
0x00077c98 lw t9, -0x7414(gp) | t9 = sym.imp.munmap;
| if (a0 != 0) {
0x00077c9c beqz a0, 0x77cac |
0x00077ca0 lw a1, 0x8b8(s4) | a1 = *((s4 + 558));
0x00077ca4 jalr t9 | t9 ();
0x00077ca8 lw gp, 0x20(sp) | gp = *(var_20h);
| }
0x00077cac sw s7, 0x8b4(s3) | *((s3 + 557)) = s7;
0x00077cb0 lw s3, -0x7e24(gp) | s3 = *(gp);
0x00077cb4 sw s5, 0x8b8(s4) | *((s4 + 558)) = s5;
0x00077cb8 lw v0, (s3) | v0 = *(s3);
0x00077cbc lw s4, -0x7e20(gp) | s4 = *(gp);
0x00077cc0 bgtz v0, 0x77af4 |
| } while (v0 > 0);
0x00077cc4 lw ra, 0x4c(sp) | ra = *(var_4ch);
| label_14:
0x00077cc8 xori s2, s2, 1 | s2 ^= 1;
0x00077ccc andi s2, s2, 0xff | s2 &= 0xff;
0x00077cd0 move v0, s2 | v0 = s2;
0x00077cd4 lw s7, 0x48(sp) | s7 = *(var_48h);
0x00077cd8 lw s6, 0x44(sp) | s6 = *(var_44h);
0x00077cdc lw s5, 0x40(sp) | s5 = *(var_40h);
0x00077ce0 lw s4, 0x3c(sp) | s4 = *(var_3ch);
0x00077ce4 lw s3, 0x38(sp) | s3 = *(var_38h);
0x00077ce8 lw s2, 0x34(sp) | s2 = *(var_34h);
0x00077cec lw s1, 0x30(sp) | s1 = *(var_30h);
0x00077cf0 lw s0, 0x2c(sp) | s0 = *(var_2ch);
0x00077cf4 addiu sp, sp, 0x50 |
0x00077cf8 jr ra | return v0;
| label_10:
0x00077cfc lw t9, -0x7fcc(gp) | t9 = sym.log_get_max_level_realm;
0x00077d00 move a0, zero | a0 = 0;
0x00077d04 bal 0x705b8 | sym_log_get_max_level_realm ();
0x00077d08 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x00077d0c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00077d10 bnez v0, 0x77a6c | goto label_0;
| }
0x00077d14 lw t9, -0x73b8(gp) | t9 = sym.imp.__errno_location;
0x00077d18 jalr t9 | t9 ();
0x00077d1c nop |
0x00077d20 lw gp, 0x20(sp) | gp = *(var_20h);
0x00077d24 lw a1, (v0) | a1 = *(v0);
0x00077d28 addiu a3, zero, 0xdb | a3 = 0xdb;
0x00077d2c lw v0, -0x7e08(gp) | v0 = *((gp - 8066));
0x00077d30 lw a2, -0x7e08(gp) | a2 = *((gp - 8066));
| /* str.PR_SET_NAME_failed:__m */
0x00077d34 addiu v0, v0, -0x3194 | v0 += -0x3194;
0x00077d38 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00077d3c lw v0, -0x7e08(gp) | v0 = *((gp - 8066));
0x00077d40 lw t9, -0x7fc8(gp) | t9 = sym.log_internal_realm;
| /* str.rename_process */
0x00077d44 addiu v0, v0, -0x2d2c | v0 += -0x2d2c;
0x00077d48 sw v0, 0x10(sp) | *(var_10h) = v0;
| /* esilref: 'src/basic/process-util.c' */
0x00077d4c addiu a2, a2, -0x3331 | a2 += -0x3331;
0x00077d50 addiu a0, zero, 7 | a0 = 7;
0x00077d54 bal 0x6f6f8 | sym_log_internal_realm ();
0x00077d58 lw gp, 0x20(sp) | gp = *(var_20h);
0x00077d5c b 0x77a6c | goto label_0;
| label_15:
0x00077d60 xori s2, s2, 1 | s2 ^= 1;
0x00077d64 andi s2, s2, 0xff | s2 &= 0xff;
| label_5:
0x00077d68 slti v0, v0, 2 | v0 = (v0 < 2) ? 1 : 0;
0x00077d6c lw ra, 0x4c(sp) | ra = *(var_4ch);
| if (v0 != 0) {
0x00077d70 bnez v0, 0x77b44 | goto label_1;
| }
0x00077d74 lw v0, (s4) | v0 = *(s4);
0x00077d78 lw s0, 4(v0) | s0 = *((v0 + 1));
0x00077d7c addiu s1, zero, 1 | s1 = 1;
| if (s0 == 0) {
0x00077d80 beqz s0, 0x77b44 | goto label_1;
| }
0x00077d84 lw t9, -0x7334(gp) | t9 = sym.imp.strlen;
0x00077d88 b 0x77db0 | goto label_23;
| label_3:
0x00077d8c lw v0, (s3) | v0 = *(s3);
0x00077d90 slt v0, s1, v0 | v0 = (s1 < v0) ? 1 : 0;
0x00077d94 sll v1, s1, 2 | v1 = s1 << 2;
| if (v0 == 0) {
0x00077d98 beqz v0, 0x77b40 | goto label_2;
| }
0x00077d9c lw s0, (s4) | s0 = *(s4);
0x00077da0 lwx s0, v1(s0) | __asm ("lwx s0, v1(s0)");
0x00077da4 lw ra, 0x4c(sp) | ra = *(var_4ch);
| if (s0 == 0) {
0x00077da8 beqz s0, 0x77b44 | goto label_1;
| }
0x00077dac lw t9, -0x7334(gp) | t9 = sym.imp.strlen;
| label_23:
0x00077db0 move a0, s0 | a0 = s0;
0x00077db4 jalr t9 | t9 ();
0x00077db8 addiu s1, s1, 1 | s1++;
0x00077dbc lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00077dc0 beqz v0, 0x77d8c | goto label_3;
| }
0x00077dc4 lw t9, -0x7398(gp) | t9 = sym.imp.memset;
0x00077dc8 move a0, s0 | a0 = s0;
0x00077dcc move a2, v0 | a2 = v0;
0x00077dd0 move a1, zero | a1 = 0;
0x00077dd4 jalr t9 | t9 ();
0x00077dd8 lw gp, 0x20(sp) | gp = *(var_20h);
0x00077ddc b 0x77d8c | goto label_3;
| label_17:
0x00077de0 lw t9, -0x73cc(gp) | t9 = sym.imp.strncpy;
0x00077de4 move a1, s0 | a1 = s0;
0x00077de8 lw v1, 0x8b4(v0) | v1 = *((v0 + 557));
0x00077dec move a0, v1 | a0 = v1;
0x00077df0 jalr t9 | t9 ();
0x00077df4 lw gp, 0x20(sp) | gp = *(var_20h);
0x00077df8 addiu a2, v0, 1 | a2 = v0 + 1;
0x00077dfc sw zero, 0x10(sp) | *(var_10h) = 0;
0x00077e00 lw t9, -0x73dc(gp) | t9 = sym.imp.prctl;
0x00077e04 move a3, zero | a3 = 0;
0x00077e08 addu a2, a2, s1 | a2 += s1;
0x00077e0c addiu a1, zero, 9 | a1 = 9;
0x00077e10 addiu a0, zero, 0x23 | a0 = 0x23;
0x00077e14 jalr t9 | t9 ();
0x00077e18 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 >= 0) {
0x00077e1c bgez v0, 0x77ae0 | goto label_4;
| }
0x00077e20 lw t9, -0x7fcc(gp) | t9 = sym.log_get_max_level_realm;
0x00077e24 move a0, zero | a0 = 0;
0x00077e28 bal 0x705b8 | sym_log_get_max_level_realm ();
0x00077e2c slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x00077e30 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00077e34 bnez v0, 0x77ae0 | goto label_4;
| }
0x00077e38 lw t9, -0x73b8(gp) | t9 = sym.imp.__errno_location;
0x00077e3c jalr t9 | t9 ();
0x00077e40 nop |
0x00077e44 lw gp, 0x20(sp) | gp = *(var_20h);
0x00077e48 lw a1, (v0) | a1 = *(v0);
0x00077e4c addiu a3, zero, 0x129 | a3 = 0x129;
0x00077e50 lw v0, -0x7e08(gp) | v0 = *((gp - 8066));
0x00077e54 lw t9, -0x7fc8(gp) | t9 = sym.log_internal_realm;
| /* str.PR_SET_MM_ARG_END_failed__proceeding_without:__m */
0x00077e58 addiu v0, v0, -0x307c | v0 += -0x307c;
0x00077e5c sw v0, 0x14(sp) | *(var_14h) = v0;
0x00077e60 lw v0, -0x7e08(gp) | v0 = *((gp - 8066));
| /* str.rename_process */
0x00077e64 addiu v0, v0, -0x2d2c | v0 += -0x2d2c;
0x00077e68 sw v0, 0x10(sp) | *(var_10h) = v0;
| label_6:
0x00077e6c lw a2, -0x7e08(gp) | a2 = *((gp - 8066));
0x00077e70 addiu a0, zero, 7 | a0 = 7;
| /* esilref: 'src/basic/process-util.c' */
0x00077e74 addiu a2, a2, -0x3331 | a2 += -0x3331;
0x00077e78 bal 0x6f6f8 | sym_log_internal_realm ();
0x00077e7c lw gp, 0x20(sp) | gp = *(var_20h);
0x00077e80 b 0x77ae0 | goto label_4;
| label_16:
0x00077e84 xori s2, s2, 1 | s2 ^= 1;
0x00077e88 lw v0, (s3) | v0 = *(s3);
0x00077e8c andi s2, s2, 0xff | s2 &= 0xff;
0x00077e90 b 0x77d68 | goto label_5;
| label_18:
0x00077e94 lw t9, -0x7fcc(gp) | t9 = sym.log_get_max_level_realm;
0x00077e98 move a0, zero | a0 = 0;
0x00077e9c bal 0x705b8 | sym_log_get_max_level_realm ();
0x00077ea0 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x00077ea4 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00077ea8 bnez v0, 0x77ae0 | goto label_4;
| }
0x00077eac lw t9, -0x73b8(gp) | t9 = sym.imp.__errno_location;
0x00077eb0 jalr t9 | t9 ();
0x00077eb4 nop |
0x00077eb8 lw gp, 0x20(sp) | gp = *(var_20h);
0x00077ebc lw a1, (v0) | a1 = *(v0);
0x00077ec0 addiu a3, zero, 0xfb | a3 = 0xfb;
0x00077ec4 lw v0, -0x7e08(gp) | v0 = *((gp - 8066));
0x00077ec8 lw t9, -0x7fc8(gp) | t9 = sym.log_internal_realm;
| /* str.mmap___failed:__m */
0x00077ecc addiu v0, v0, -0x3148 | v0 += -0x3148;
0x00077ed0 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00077ed4 lw v0, -0x7e08(gp) | v0 = *((gp - 8066));
| /* str.rename_process */
0x00077ed8 addiu v0, v0, -0x2d2c | v0 += -0x2d2c;
0x00077edc sw v0, 0x10(sp) | *(var_10h) = v0;
0x00077ee0 b 0x77e6c | goto label_6;
| label_13:
0x00077ee4 lw v0, -0x7e08(gp) | v0 = *((gp - 8066));
0x00077ee8 lw a2, -0x7e08(gp) | a2 = *((gp - 8066));
| /* str.Skipping_PR_SET_MM__as_we_dont_have_privileges. */
0x00077eec addiu v0, v0, -0x317c | v0 += -0x317c;
0x00077ef0 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00077ef4 lw v0, -0x7e08(gp) | v0 = *((gp - 8066));
0x00077ef8 lw t9, -0x7fc8(gp) | t9 = sym.log_internal_realm;
| /* str.rename_process */
0x00077efc addiu v0, v0, -0x2d2c | v0 += -0x2d2c;
0x00077f00 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00077f04 addiu a3, zero, 0xf3 | a3 = 0xf3;
| /* esilref: 'src/basic/process-util.c' */
0x00077f08 addiu a2, a2, -0x3331 | a2 += -0x3331;
0x00077f0c move a1, zero | a1 = 0;
0x00077f10 addiu a0, zero, 7 | a0 = 7;
0x00077f14 bal 0x6f6f8 | sym_log_internal_realm ();
0x00077f18 lw gp, 0x20(sp) | gp = *(var_20h);
0x00077f1c b 0x77ae0 | goto label_4;
| label_19:
0x00077f20 lw t9, -0x73dc(gp) | t9 = sym.imp.prctl;
0x00077f24 sw zero, 0x10(sp) | *(var_10h) = 0;
0x00077f28 move a3, zero | a3 = 0;
0x00077f2c move a2, s3 | a2 = s3;
0x00077f30 addiu a1, zero, 9 | a1 = 9;
0x00077f34 addiu a0, zero, 0x23 | a0 = 0x23;
0x00077f38 jalr t9 | t9 ();
0x00077f3c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 >= 0) {
0x00077f40 bgez v0, 0x77c90 | goto label_7;
| }
0x00077f44 lw t9, -0x7fcc(gp) | t9 = sym.log_get_max_level_realm;
0x00077f48 move a0, zero | a0 = 0;
0x00077f4c bal 0x705b8 | sym_log_get_max_level_realm ();
0x00077f50 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x00077f54 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00077f58 bnez v0, 0x77c90 | goto label_7;
| }
0x00077f5c lw t9, -0x73b8(gp) | t9 = sym.imp.__errno_location;
0x00077f60 jalr t9 | t9 ();
0x00077f64 nop |
0x00077f68 lw gp, 0x20(sp) | gp = *(var_20h);
0x00077f6c lw a1, (v0) | a1 = *(v0);
0x00077f70 addiu a3, zero, 0x11c | a3 = aav.0x0000011c;
0x00077f74 lw v0, -0x7e08(gp) | v0 = *((gp - 8066));
0x00077f78 lw a2, -0x7e08(gp) | a2 = *((gp - 8066));
| /* str.PR_SET_MM_ARG_END_failed__proceeding_without:__m */
0x00077f7c addiu v0, v0, -0x307c | v0 += -0x307c;
0x00077f80 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00077f84 lw v0, -0x7e08(gp) | v0 = *((gp - 8066));
0x00077f88 lw t9, -0x7fc8(gp) | t9 = sym.log_internal_realm;
| /* str.rename_process */
0x00077f8c addiu v0, v0, -0x2d2c | v0 += -0x2d2c;
0x00077f90 sw v0, 0x10(sp) | *(var_10h) = v0;
| /* esilref: 'src/basic/process-util.c' */
0x00077f94 addiu a2, a2, -0x3331 | a2 += -0x3331;
0x00077f98 addiu a0, zero, 7 | a0 = 7;
0x00077f9c bal 0x6f6f8 | sym_log_internal_realm ();
0x00077fa0 lw gp, 0x20(sp) | gp = *(var_20h);
0x00077fa4 b 0x77c90 | goto label_7;
| label_22:
0x00077fa8 lw t9, -0x7fcc(gp) | t9 = sym.log_get_max_level_realm;
0x00077fac move a0, zero | a0 = 0;
0x00077fb0 bal 0x705b8 | sym_log_get_max_level_realm ();
0x00077fb4 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x00077fb8 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00077fbc bnez v0, 0x77ae0 | goto label_4;
| }
0x00077fc0 lw v0, -0x7e08(gp) | v0 = *((gp - 8066));
0x00077fc4 lw a1, (s6) | a1 = *(s6);
| /* str.PR_SET_MM_ARG_START_still_failed__proceeding_without:__m */
0x00077fc8 addiu v0, v0, -0x30b8 | v0 += -0x30b8;
0x00077fcc sw v0, 0x14(sp) | *(var_14h) = v0;
0x00077fd0 lw v0, -0x7e08(gp) | v0 = *((gp - 8066));
0x00077fd4 lw t9, -0x7fc8(gp) | t9 = sym.log_internal_realm;
| /* str.rename_process */
0x00077fd8 addiu v0, v0, -0x2d2c | v0 += -0x2d2c;
0x00077fdc sw v0, 0x10(sp) | *(var_10h) = v0;
0x00077fe0 addiu a3, zero, 0x114 | a3 = aav.0x00000114;
0x00077fe4 b 0x77e6c | goto label_6;
| label_21:
0x00077fe8 lw t9, -0x7fcc(gp) | t9 = sym.log_get_max_level_realm;
0x00077fec move a0, zero | a0 = 0;
0x00077ff0 bal 0x705b8 | sym_log_get_max_level_realm ();
0x00077ff4 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x00077ff8 lw gp, 0x20(sp) | gp = *(var_20h);
0x00077ffc beqz v0, 0x7805c |
| while (1) {
0x00078000 lw t9, -0x7414(gp) | t9 = sym.imp.munmap;
0x00078004 move a1, s5 | a1 = s5;
0x00078008 move a0, s7 | a0 = s7;
0x0007800c jalr t9 | t9 ();
0x00078010 lw gp, 0x20(sp) | gp = *(var_20h);
0x00078014 b 0x77ae0 | goto label_4;
| label_20:
0x00078018 lw v0, -0x7e08(gp) | v0 = *((gp - 8066));
0x0007801c lw a1, (s6) | a1 = *(s6);
| /* str.PR_SET_MM_ARG_START_failed__attempting_PR_SET_MM_ARG_END_hack:__m */
0x00078020 addiu v0, v0, -0x3134 | v0 += -0x3134;
0x00078024 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00078028 lw v0, -0x7e08(gp) | v0 = *((gp - 8066));
0x0007802c lw a2, -0x7e08(gp) | a2 = *((gp - 8066));
0x00078030 lw t9, -0x7fc8(gp) | t9 = sym.log_internal_realm;
| /* str.rename_process */
0x00078034 addiu v0, v0, -0x2d2c | v0 += -0x2d2c;
0x00078038 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0007803c addiu a3, zero, 0x10b | a3 = 0x10b;
| /* esilref: 'src/basic/process-util.c' */
0x00078040 addiu a2, a2, -0x3331 | a2 += -0x3331;
0x00078044 addiu a0, zero, 7 | a0 = 7;
0x00078048 bal 0x6f6f8 | sym_log_internal_realm ();
0x0007804c lw gp, 0x20(sp) | gp = *(var_20h);
0x00078050 b 0x77c48 | goto label_8;
| label_9:
0x00078054 addiu s2, zero, -1 | s2 = -1;
0x00078058 b 0x77b40 | goto label_2;
0x0007805c lw v0, -0x7e08(gp) | v0 = *((gp - 8066));
0x00078060 lw a1, (s6) | a1 = *(s6);
| /* str.PR_SET_MM_ARG_END_hack_failed__proceeding_without:__m */
0x00078064 addiu v0, v0, -0x30f0 | v0 += -0x30f0;
0x00078068 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0007806c lw v0, -0x7e08(gp) | v0 = *((gp - 8066));
0x00078070 lw a2, -0x7e08(gp) | a2 = *((gp - 8066));
0x00078074 lw t9, -0x7fc8(gp) | t9 = sym.log_internal_realm;
| /* str.rename_process */
0x00078078 addiu v0, v0, -0x2d2c | v0 += -0x2d2c;
0x0007807c sw v0, 0x10(sp) | *(var_10h) = v0;
0x00078080 addiu a3, zero, 0x10e | a3 = 0x10e;
| /* esilref: 'src/basic/process-util.c' */
0x00078084 addiu a2, a2, -0x3331 | a2 += -0x3331;
0x00078088 addiu a0, zero, 7 | a0 = 7;
0x0007808c bal 0x6f6f8 | sym_log_internal_realm ();
0x00078090 lw gp, 0x20(sp) | gp = *(var_20h);
0x00078094 b 0x78000 |
| }
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/systemd/systemd-udevd @ 0x4f63c */
| #include <stdint.h>
|
; (fcn) sym.sd_hwdb_new () | void sd_hwdb_new () {
0x0004f63c lui gp, 7 |
0x0004f640 addiu gp, gp, 0x7b34 |
0x0004f644 addu gp, gp, t9 | gp += t9;
0x0004f648 addiu sp, sp, -0x60 |
0x0004f64c lw v0, -0x7fc4(gp) | v0 = *(gp);
0x0004f650 sw s5, 0x4c(sp) | *(var_4ch) = s5;
0x0004f654 lw s5, -0x71f0(gp) | s5 = *((gp - 7292));
| /* str.KSLPHHRH */
0x0004f658 addiu a2, v0, 0x5f10 | a2 = v0 + 0x5f10;
0x0004f65c sw gp, 0x20(sp) | *(var_20h) = gp;
0x0004f660 sw ra, 0x5c(sp) | *(var_5ch) = ra;
0x0004f664 sw fp, 0x58(sp) | *(var_58h) = fp;
0x0004f668 sw s7, 0x54(sp) | *(var_54h) = s7;
0x0004f66c sw s6, 0x50(sp) | *(var_50h) = s6;
0x0004f670 sw s4, 0x48(sp) | *(var_48h) = s4;
0x0004f674 sw s3, 0x44(sp) | *(var_44h) = s3;
0x0004f678 sw s2, 0x40(sp) | *(var_40h) = s2;
0x0004f67c sw s1, 0x3c(sp) | *(var_3ch) = s1;
0x0004f680 sw s0, 0x38(sp) | *(var_38h) = s0;
0x0004f684 lw v1, 0x5f10(v0) | v1 = *((v0 + 6084));
0x0004f688 lw a1, (s5) | a1 = *(s5);
0x0004f68c lw v0, 4(a2) | v0 = *((a2 + 1));
0x0004f690 sw a1, 0x34(sp) | *(var_34h) = a1;
0x0004f694 sw v1, 0x2c(sp) | *(var_2ch) = v1;
0x0004f698 sw v0, 0x30(sp) | *(var_30h) = v0;
| if (a0 == 0) {
0x0004f69c beqz a0, 0x4f998 | goto label_7;
| }
0x0004f6a0 lw t9, -0x7530(gp) | t9 = sym.imp.calloc;
0x0004f6a4 move s7, a0 | s7 = a0;
0x0004f6a8 addiu a1, zero, 0xc0 | a1 = 0xc0;
0x0004f6ac addiu a0, zero, 1 | a0 = 1;
0x0004f6b0 jalr t9 | t9 ();
0x0004f6b4 move s1, v0 | s1 = v0;
0x0004f6b8 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x0004f6bc beqz v0, 0x4f950 | goto label_8;
| }
0x0004f6c0 lw s0, -0x7fc4(gp) | s0 = *(gp);
0x0004f6c4 lw s4, -0x7fc4(gp) | s4 = *(gp);
0x0004f6c8 lw s3, -0x7fc4(gp) | s3 = *(gp);
0x0004f6cc addiu v0, zero, 1 | v0 = 1;
0x0004f6d0 lw s2, -0x7fc4(gp) | s2 = *(gp);
0x0004f6d4 lw s6, -0x7fc4(gp) | s6 = *(gp);
0x0004f6d8 sw v0, (s1) | *(s1) = v0;
| /* str._etc_systemd_hwdb_hwdb.bin */
0x0004f6dc addiu s0, s0, 0x5fb0 | s0 += 0x5fb0;
| /* str.Trying_to_open___s_... */
0x0004f6e0 addiu s4, s4, 0x5d8c | s4 += 0x5d8c;
| /* esilref: 'sd_hwdb_new' */
0x0004f6e4 addiu s3, s3, 0x5f98 | s3 += 0x5f98;
0x0004f6e8 b 0x4f74c |
| while (v0 != 0) {
0x0004f6ec lw t9, -0x7480(gp) | t9 = sym.imp.fopen64;
| /* esilref: 're' */
0x0004f6f0 addiu a1, s2, 0x72d0 | a1 = s2 + 0x72d0;
0x0004f6f4 move a0, s0 | a0 = s0;
0x0004f6f8 jalr t9 | t9 ();
0x0004f6fc sw v0, 4(s1) | *((s1 + 1)) = v0;
0x0004f700 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x0004f704 bnez v0, 0x4f7a8 | goto label_9;
| }
| label_0:
0x0004f708 lw t9, -0x73b8(gp) | t9 = sym.imp.__errno_location;
0x0004f70c jalr t9 | t9 ();
0x0004f710 nop |
0x0004f714 lw fp, (v0) | fp = *(v0);
0x0004f718 addiu v0, zero, 2 | v0 = 2;
0x0004f71c lw gp, 0x20(sp) | gp = *(var_20h);
| if (fp != v0) {
0x0004f720 bne fp, v0, 0x4f904 | goto label_10;
| }
0x0004f724 lw t9, -0x7334(gp) | t9 = sym.imp.strlen;
0x0004f728 move a0, s0 | a0 = s0;
0x0004f72c jalr t9 | t9 ();
0x0004f730 addiu v0, v0, 1 | v0++;
0x0004f734 addu s0, s0, v0 | s0 += v0;
0x0004f738 lw gp, 0x20(sp) | gp = *(var_20h);
| if (s0 == 0) {
0x0004f73c beqz s0, 0x4f930 | goto label_11;
| }
0x0004f740 lb v0, (s0) | v0 = *(s0);
0x0004f744 lw t9, -0x7fcc(gp) | t9 = sym.log_get_max_level_realm;
| if (v0 == 0) {
0x0004f748 beqz v0, 0x4f934 | goto label_12;
| }
0x0004f74c lw t9, -0x7fcc(gp) | t9 = sym.log_get_max_level_realm;
0x0004f750 move a0, zero | a0 = 0;
0x0004f754 jalr t9 | t9 ();
0x0004f758 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x0004f75c lw gp, 0x20(sp) | gp = *(var_20h);
0x0004f760 bnez v0, 0x4f6ec |
| }
0x0004f764 lw t9, -0x7fc8(gp) | t9 = sym.log_internal_realm;
0x0004f768 addiu a3, zero, 0x144 | a3 = aav.0x00000144;
| /* esilref: 'src/libsystemd/sd-hwdb/sd-hwdb.c' */
0x0004f76c addiu a2, s6, 0x5d4b | a2 = s6 + 0x5d4b;
0x0004f770 move a1, zero | a1 = 0;
0x0004f774 addiu a0, zero, 7 | a0 = 7;
0x0004f778 sw s0, 0x18(sp) | *(var_18h) = s0;
0x0004f77c sw s4, 0x14(sp) | *(var_14h) = s4;
0x0004f780 sw s3, 0x10(sp) | *(var_10h) = s3;
0x0004f784 bal 0x6f6f8 | sym_log_internal_realm ();
0x0004f788 lw gp, 0x20(sp) | gp = *(var_20h);
| /* esilref: 're' */
0x0004f78c addiu a1, s2, 0x72d0 | a1 = s2 + 0x72d0;
0x0004f790 lw t9, -0x7480(gp) | t9 = sym.imp.fopen64;
0x0004f794 move a0, s0 | a0 = s0;
0x0004f798 jalr t9 | t9 ();
0x0004f79c sw v0, 4(s1) | *((s1 + 1)) = v0;
0x0004f7a0 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x0004f7a4 beqz v0, 0x4f708 | goto label_0;
| }
| label_9:
0x0004f7a8 lw t9, -0x73d8(gp) | t9 = sym.imp.fileno;
0x0004f7ac move a0, v0 | a0 = v0;
0x0004f7b0 jalr t9 | t9 ();
0x0004f7b4 lw gp, 0x20(sp) | gp = *(var_20h);
0x0004f7b8 addiu a2, s1, 8 | a2 = s1 + 8;
0x0004f7bc move a1, v0 | a1 = v0;
0x0004f7c0 lw t9, -0x728c(gp) | t9 = sym.imp.__fxstat64;
0x0004f7c4 addiu a0, zero, 3 | a0 = 3;
0x0004f7c8 jalr t9 | t9 ();
0x0004f7cc lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 < 0) {
0x0004f7d0 bltz v0, 0x4f958 | goto label_13;
| }
0x0004f7d4 lw v0, 0x44(s1) | v0 = *((s1 + 17));
0x0004f7d8 lw s2, 0x40(s1) | s2 = *((s1 + 16));
| if (v0 <= 0) {
0x0004f7dc bgtz v0, 0x4f810 |
0x0004f7e0 lw t9, -0x7fcc(gp) | t9 = sym.log_get_max_level_realm;
| if (v0 == 0) {
0x0004f7e4 bnez v0, 0x4f7f4 |
0x0004f7e8 sltiu v0, s2, 0x50 | v0 = (s2 < 0x50) ? 1 : 0;
| if (v0 == 0) {
0x0004f7ec beql v0, zero, 0x4f814 | goto label_14;
| }
0x0004f7f0 lw t9, -0x73d8(gp) | t9 = sym.imp.fileno;
| }
0x0004f7f4 move a0, zero | a0 = 0;
0x0004f7f8 jalr t9 | t9 ();
0x0004f7fc slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x0004f800 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x0004f804 beqz v0, 0x4fc98 | goto label_15;
| }
0x0004f808 addiu fp, zero, -5 | fp = -5;
0x0004f80c b 0x4f8b4 |
| } else {
0x0004f810 lw t9, -0x73d8(gp) | t9 = sym.imp.fileno;
| label_14:
0x0004f814 lw a0, 4(s1) | a0 = *((s1 + 1));
0x0004f818 jalr t9 | t9 ();
0x0004f81c lw gp, 0x20(sp) | gp = *(var_20h);
0x0004f820 move a0, zero | a0 = 0;
0x0004f824 move a1, zero | a1 = 0;
0x0004f828 lw t9, -0x7200(gp) | t9 = sym.imp.mmap64
0x0004f82c sw a1, 0x1c(sp) | *(var_1ch) = a1;
0x0004f830 sw a0, 0x18(sp) | *(var_18h) = a0;
0x0004f834 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0004f838 addiu a3, zero, 1 | a3 = 1;
0x0004f83c addiu a2, zero, 1 | a2 = 1;
0x0004f840 move a1, s2 | a1 = s2;
0x0004f844 jalr t9 | t9 ();
0x0004f848 move s3, v0 | s3 = v0;
0x0004f84c addiu v0, zero, -1 | v0 = -1;
0x0004f850 lw gp, 0x20(sp) | gp = *(var_20h);
0x0004f854 sw s3, 0xa8(s1) | *((s1 + 42)) = s3;
| if (s3 == v0) {
0x0004f858 beq s3, v0, 0x4fd24 | goto label_16;
| }
0x0004f85c lw t9, -0x7218(gp) | t9 = sym.imp.memcmp;
0x0004f860 addiu a2, zero, 8 | a2 = 8;
0x0004f864 addiu a1, sp, 0x2c | a1 = sp + 0x2c;
0x0004f868 move a0, s3 | a0 = s3;
0x0004f86c jalr t9 | t9 ();
0x0004f870 lw gp, 0x20(sp) | gp = *(var_20h);
0x0004f874 move a0, zero | a0 = 0;
0x0004f878 lw t9, -0x7fcc(gp) | t9 = sym.log_get_max_level_realm;
0x0004f87c move fp, v0 | fp = v0;
0x0004f880 jalr t9 | t9 ();
0x0004f884 lw gp, 0x20(sp) | gp = *(var_20h);
| if (fp == 0) {
0x0004f888 bnez fp, 0x4f8a4 |
0x0004f88c lwl v1, 0x13(s3) | __asm ("lwl v1, 0x13(s3)");
0x0004f890 lwl a0, 0x17(s3) | __asm ("lwl a0, 0x17(s3)");
0x0004f894 lw a1, 0x40(s1) | a1 = *((s1 + 16));
0x0004f898 lwr v1, 0x10(s3) | __asm ("lwr v1, 0x10(s3)");
0x0004f89c lwr a0, 0x14(s3) | __asm ("lwr a0, 0x14(s3)");
| if (a1 == v1) {
0x0004f8a0 beq a1, v1, 0x4fa60 | goto label_17;
| }
| }
0x0004f8a4 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
| label_3:
0x0004f8a8 lw v0, -0x7fc4(gp) | v0 = *(gp);
| if (v0 == 0) {
0x0004f8ac beqz v0, 0x4fd78 | goto label_18;
| }
0x0004f8b0 addiu fp, zero, -0x16 | fp = -0x16;
| }
| do {
| label_1:
0x0004f8b4 lw t9, -0x7bb0(gp) | t9 = sym.sd_hwdb_unref;
0x0004f8b8 move a0, s1 | a0 = s1;
0x0004f8bc bal 0x4f56c | sym_sd_hwdb_unref ();
0x0004f8c0 lw gp, 0x20(sp) | gp = *(var_20h);
| label_2:
0x0004f8c4 lw a0, 0x34(sp) | a0 = *(var_34h);
0x0004f8c8 lw v1, (s5) | v1 = *(s5);
0x0004f8cc move v0, fp | v0 = fp;
| if (a0 != v1) {
0x0004f8d0 bne a0, v1, 0x4fdb8 | goto label_19;
| }
0x0004f8d4 lw ra, 0x5c(sp) | ra = *(var_5ch);
0x0004f8d8 lw fp, 0x58(sp) | fp = *(var_58h);
0x0004f8dc lw s7, 0x54(sp) | s7 = *(var_54h);
0x0004f8e0 lw s6, 0x50(sp) | s6 = *(var_50h);
0x0004f8e4 lw s5, 0x4c(sp) | s5 = *(var_4ch);
0x0004f8e8 lw s4, 0x48(sp) | s4 = *(var_48h);
0x0004f8ec lw s3, 0x44(sp) | s3 = *(var_44h);
0x0004f8f0 lw s2, 0x40(sp) | s2 = *(var_40h);
0x0004f8f4 lw s1, 0x3c(sp) | s1 = *(var_3ch);
0x0004f8f8 lw s0, 0x38(sp) | s0 = *(var_38h);
0x0004f8fc addiu sp, sp, 0x60 |
0x0004f900 jr ra | return v0;
| label_10:
0x0004f904 lw t9, -0x7fcc(gp) | t9 = sym.log_get_max_level_realm;
0x0004f908 move a0, zero | a0 = 0;
0x0004f90c jalr t9 | t9 ();
0x0004f910 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x0004f914 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x0004f918 beqz v0, 0x4f9cc | goto label_20;
| }
| if (fp < 0) {
0x0004f91c bltzl fp, 0x4fa54 | goto label_21;
| }
0x0004f920 negu fp, fp | __asm ("negu fp, fp");
0x0004f924 andi fp, fp, 0xff | fp &= 0xff;
0x0004f928 negu fp, fp | __asm ("negu fp, fp");
0x0004f92c b 0x4f8b4 |
| } while (1);
| label_11:
0x0004f930 lw t9, -0x7fcc(gp) | t9 = sym.log_get_max_level_realm;
| label_12:
0x0004f934 move a0, zero | a0 = 0;
0x0004f938 jalr t9 | t9 ();
0x0004f93c slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x0004f940 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x0004f944 beqz v0, 0x4fa10 |
0x0004f948 addiu fp, zero, -2 | fp = -2;
0x0004f94c b 0x4f8b4 | goto label_1;
| label_8:
0x0004f950 addiu fp, zero, -0xc | fp = -0xc;
0x0004f954 b 0x4f8c4 | goto label_2;
| label_13:
0x0004f958 lw t9, -0x73b8(gp) | t9 = sym.imp.__errno_location;
0x0004f95c jalr t9 | t9 ();
0x0004f960 nop |
0x0004f964 lw gp, 0x20(sp) | gp = *(var_20h);
0x0004f968 move a0, zero | a0 = 0;
0x0004f96c lw t9, -0x7fcc(gp) | t9 = sym.log_get_max_level_realm;
0x0004f970 lw s2, (v0) | s2 = *(v0);
0x0004f974 jalr t9 | t9 ();
0x0004f978 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x0004f97c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x0004f980 beqz v0, 0x4fce0 | goto label_22;
| }
| label_5:
0x0004f984 move a1, s2 | a1 = s2;
| if (s2 < 0) {
0x0004f988 bltz s2, 0x4fa78 | goto label_23;
| }
0x0004f98c andi a1, a1, 0xff | a1 &= 0xff;
0x0004f990 negu fp, a1 | __asm ("negu fp, a1");
0x0004f994 b 0x4f8b4 | goto label_1;
| label_7:
0x0004f998 lw v0, -0x7fc4(gp) | v0 = *(gp);
0x0004f99c lw a2, -0x7fc4(gp) | a2 = *(gp);
0x0004f9a0 lw a1, -0x7fc4(gp) | a1 = *(gp);
0x0004f9a4 lw t9, -0x7d68(gp) | t9 = sym.log_assert_failed_return_realm;
| /* str.sd_hwdb_new */
0x0004f9a8 addiu v0, v0, 0x5fa4 | v0 += 0x5fa4;
0x0004f9ac sw v0, 0x10(sp) | *(var_10h) = v0;
0x0004f9b0 addiu a3, zero, 0x13a | a3 = 0x13a;
| /* esilref: 'src/libsystemd/sd-hwdb/sd-hwdb.c' */
0x0004f9b4 addiu a2, a2, 0x5d4b | a2 += 0x5d4b;
| /* esilref: 'ret' */
0x0004f9b8 addiu a1, a1, -0x6790 | a1 += -0x6790;
0x0004f9bc jalr t9 | t9 ();
0x0004f9c0 addiu fp, zero, -0x16 | fp = -0x16;
0x0004f9c4 lw gp, 0x20(sp) | gp = *(var_20h);
0x0004f9c8 b 0x4f8c4 | goto label_2;
| label_20:
0x0004f9cc lw v0, -0x7fc4(gp) | v0 = *(gp);
0x0004f9d0 lw a2, -0x7fc4(gp) | a2 = *(gp);
| /* str.Failed_to_open__s:__m */
0x0004f9d4 addiu v0, v0, 0x5da4 | v0 += 0x5da4;
0x0004f9d8 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0004f9dc lw v0, -0x7fc4(gp) | v0 = *(gp);
0x0004f9e0 lw t9, -0x7fc8(gp) | t9 = sym.log_internal_realm;
| /* esilref: 'sd_hwdb_new' */
0x0004f9e4 addiu v0, v0, 0x5f98 | v0 += 0x5f98;
0x0004f9e8 move a1, fp | a1 = fp;
0x0004f9ec sw s0, 0x18(sp) | *(var_18h) = s0;
0x0004f9f0 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0004f9f4 addiu a3, zero, 0x149 | a3 = 0x149;
| /* esilref: 'src/libsystemd/sd-hwdb/sd-hwdb.c' */
0x0004f9f8 addiu a2, a2, 0x5d4b | a2 += 0x5d4b;
0x0004f9fc addiu a0, zero, 7 | a0 = 7;
0x0004fa00 bal 0x6f6f8 | sym_log_internal_realm ();
0x0004fa04 move fp, v0 | fp = v0;
0x0004fa08 lw gp, 0x20(sp) | gp = *(var_20h);
0x0004fa0c b 0x4f8b4 | goto label_1;
| }
0x0004fa10 lw v0, -0x7fc4(gp) | v0 = *(gp);
0x0004fa14 lw a2, -0x7fc4(gp) | a2 = *(gp);
| /* str.hwdb.bin_does_not_exist__please_run_systemd_hwdb_update */
0x0004fa18 addiu v0, v0, 0x5dbc | v0 += 0x5dbc;
0x0004fa1c sw v0, 0x14(sp) | *(var_14h) = v0;
0x0004fa20 lw v0, -0x7fc4(gp) | v0 = *(gp);
0x0004fa24 lw t9, -0x7fc8(gp) | t9 = sym.log_internal_realm;
| /* esilref: 'sd_hwdb_new' */
0x0004fa28 addiu v0, v0, 0x5f98 | v0 += 0x5f98;
0x0004fa2c lui a1, 0x4000 | a1 = 0x40000000;
0x0004fa30 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0004fa34 addiu a3, zero, 0x14e | a3 = 0x14e;
| /* esilref: 'src/libsystemd/sd-hwdb/sd-hwdb.c' */
0x0004fa38 addiu a2, a2, 0x5d4b | a2 += 0x5d4b;
0x0004fa3c addiu a1, a1, 2 | a1 += 2;
0x0004fa40 addiu a0, zero, 7 | a0 = 7;
0x0004fa44 bal 0x6f6f8 | sym_log_internal_realm ();
0x0004fa48 move fp, v0 | fp = v0;
0x0004fa4c lw gp, 0x20(sp) | gp = *(var_20h);
0x0004fa50 b 0x4f8b4 | goto label_1;
| label_21:
0x0004fa54 andi fp, fp, 0xff | fp &= 0xff;
0x0004fa58 negu fp, fp | __asm ("negu fp, fp");
0x0004fa5c b 0x4f8b4 | goto label_1;
| label_17:
0x0004fa60 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
| if (a0 != 0) {
0x0004fa64 bnez a0, 0x4f8a8 | goto label_3;
| }
| if (v0 == 0) {
0x0004fa68 beql v0, zero, 0x4fa88 | goto label_24;
| }
0x0004fa6c lw s0, -0x7fc4(gp) | s0 = *(gp);
| do {
| label_4:
0x0004fa70 sw s1, (s7) | *(s7) = s1;
0x0004fa74 b 0x4f8c4 | goto label_2;
| label_23:
0x0004fa78 negu a1, s2 | __asm ("negu a1, s2");
0x0004fa7c andi a1, a1, 0xff | a1 &= 0xff;
0x0004fa80 negu fp, a1 | __asm ("negu fp, a1");
0x0004fa84 b 0x4f8b4 | goto label_1;
| label_24:
0x0004fa88 lw v0, -0x7fc4(gp) | v0 = *(gp);
0x0004fa8c lw s3, -0x7fc4(gp) | s3 = *(gp);
0x0004fa90 lw t9, -0x7fc8(gp) | t9 = sym.log_internal_realm;
| /* str._trie_on_disk_ */
0x0004fa94 addiu v0, v0, 0x5e54 | v0 += 0x5e54;
| /* esilref: 'sd_hwdb_new' */
0x0004fa98 addiu s0, s0, 0x5f98 | s0 += 0x5f98;
0x0004fa9c addiu a3, zero, 0x160 | a3 = aav.0x00000160;
| /* esilref: 'src/libsystemd/sd-hwdb/sd-hwdb.c' */
0x0004faa0 addiu a2, s3, 0x5d4b | a2 = s3 + 0x5d4b;
0x0004faa4 move a1, zero | a1 = 0;
0x0004faa8 addiu a0, zero, 7 | a0 = 7;
0x0004faac sw v0, 0x14(sp) | *(var_14h) = v0;
0x0004fab0 sw s0, 0x10(sp) | *(var_10h) = s0;
0x0004fab4 bal 0x6f6f8 | sym_log_internal_realm ();
0x0004fab8 lw gp, 0x20(sp) | gp = *(var_20h);
0x0004fabc lw t9, -0x7fcc(gp) | t9 = sym.log_get_max_level_realm;
0x0004fac0 move a0, zero | a0 = 0;
0x0004fac4 jalr t9 | t9 ();
0x0004fac8 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x0004facc lw gp, 0x20(sp) | gp = *(var_20h);
0x0004fad0 bnez v0, 0x4fa70 |
| } while (v0 != 0);
0x0004fad4 lw v0, 0xa8(s1) | v0 = *((s1 + 42));
0x0004fad8 lw t9, -0x7fc8(gp) | t9 = sym.log_internal_realm;
0x0004fadc addiu a3, zero, 0x161 | a3 = 0x161;
0x0004fae0 lwl t0, 0xb(v0) | __asm ("lwl t0, 0xb(v0)");
0x0004fae4 lwl v1, 0xf(v0) | __asm ("lwl v1, 0xf(v0)");
| /* esilref: 'src/libsystemd/sd-hwdb/sd-hwdb.c' */
0x0004fae8 addiu a2, s3, 0x5d4b | a2 = s3 + 0x5d4b;
0x0004faec lwr t0, 8(v0) | __asm ("lwr t0, 8(v0)");
0x0004faf0 lwr v1, 0xc(v0) | __asm ("lwr v1, 0xc(v0)");
0x0004faf4 lw v0, -0x7fc4(gp) | v0 = *(gp);
0x0004faf8 move a1, zero | a1 = 0;
| /* str.tool_version:___________llu */
0x0004fafc addiu v0, v0, 0x5e6c | v0 += 0x5e6c;
0x0004fb00 addiu a0, zero, 7 | a0 = 7;
0x0004fb04 sw t0, 0x18(sp) | *(var_18h) = t0;
0x0004fb08 sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x0004fb0c sw v0, 0x14(sp) | *(var_14h) = v0;
0x0004fb10 sw s0, 0x10(sp) | *(var_10h) = s0;
0x0004fb14 bal 0x6f6f8 | sym_log_internal_realm ();
0x0004fb18 lw gp, 0x20(sp) | gp = *(var_20h);
0x0004fb1c lw t9, -0x7fcc(gp) | t9 = sym.log_get_max_level_realm;
0x0004fb20 move a0, zero | a0 = 0;
0x0004fb24 jalr t9 | t9 ();
0x0004fb28 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x0004fb2c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x0004fb30 bnez v0, 0x4fa70 | goto label_4;
| }
0x0004fb34 lw v0, 0x40(s1) | v0 = *((s1 + 16));
0x0004fb38 lw v1, 0x44(s1) | v1 = *((s1 + 17));
0x0004fb3c sw v0, 0x18(sp) | *(var_18h) = v0;
0x0004fb40 lw v0, -0x7fc4(gp) | v0 = *(gp);
0x0004fb44 lw t9, -0x7fc8(gp) | t9 = sym.log_internal_realm;
| /* str.file_size:_________8lli_bytes */
0x0004fb48 addiu v0, v0, 0x5e88 | v0 += 0x5e88;
0x0004fb4c addiu a3, zero, 0x162 | a3 = 0x162;
| /* esilref: 'src/libsystemd/sd-hwdb/sd-hwdb.c' */
0x0004fb50 addiu a2, s3, 0x5d4b | a2 = s3 + 0x5d4b;
0x0004fb54 move a1, zero | a1 = 0;
0x0004fb58 addiu a0, zero, 7 | a0 = 7;
0x0004fb5c sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x0004fb60 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0004fb64 sw s0, 0x10(sp) | *(var_10h) = s0;
0x0004fb68 bal 0x6f6f8 | sym_log_internal_realm ();
0x0004fb6c lw gp, 0x20(sp) | gp = *(var_20h);
0x0004fb70 lw t9, -0x7fcc(gp) | t9 = sym.log_get_max_level_realm;
0x0004fb74 move a0, zero | a0 = 0;
0x0004fb78 jalr t9 | t9 ();
0x0004fb7c slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x0004fb80 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x0004fb84 bnez v0, 0x4fa70 | goto label_4;
| }
0x0004fb88 lw v0, 0xa8(s1) | v0 = *((s1 + 42));
0x0004fb8c lw t9, -0x7fc8(gp) | t9 = sym.log_internal_realm;
0x0004fb90 addiu a3, zero, 0x163 | a3 = 0x163;
0x0004fb94 lwl t0, 0x1b(v0) | __asm ("lwl t0, 0x1b(v0)");
0x0004fb98 lwl v1, 0x1f(v0) | __asm ("lwl v1, 0x1f(v0)");
| /* esilref: 'src/libsystemd/sd-hwdb/sd-hwdb.c' */
0x0004fb9c addiu a2, s3, 0x5d4b | a2 = s3 + 0x5d4b;
0x0004fba0 lwr t0, 0x18(v0) | __asm ("lwr t0, 0x18(v0)");
0x0004fba4 lwr v1, 0x1c(v0) | __asm ("lwr v1, 0x1c(v0)");
0x0004fba8 lw v0, -0x7fc4(gp) | v0 = *(gp);
0x0004fbac move a1, zero | a1 = 0;
| /* str.header_size________8llu_bytes */
0x0004fbb0 addiu v0, v0, 0x5ea8 | v0 += 0x5ea8;
0x0004fbb4 addiu a0, zero, 7 | a0 = 7;
0x0004fbb8 sw t0, 0x18(sp) | *(var_18h) = t0;
0x0004fbbc sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x0004fbc0 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0004fbc4 sw s0, 0x10(sp) | *(var_10h) = s0;
0x0004fbc8 bal 0x6f6f8 | sym_log_internal_realm ();
0x0004fbcc lw gp, 0x20(sp) | gp = *(var_20h);
0x0004fbd0 lw t9, -0x7fcc(gp) | t9 = sym.log_get_max_level_realm;
0x0004fbd4 move a0, zero | a0 = 0;
0x0004fbd8 jalr t9 | t9 ();
0x0004fbdc slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x0004fbe0 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x0004fbe4 bnez v0, 0x4fa70 | goto label_4;
| }
0x0004fbe8 lw v0, 0xa8(s1) | v0 = *((s1 + 42));
0x0004fbec lw t9, -0x7fc8(gp) | t9 = sym.log_internal_realm;
0x0004fbf0 addiu a3, zero, 0x164 | a3 = aav.0x00000164;
0x0004fbf4 lwl t0, 0x4b(v0) | __asm ("lwl t0, 0x4b(v0)");
0x0004fbf8 lwl v1, 0x4f(v0) | __asm ("lwl v1, 0x4f(v0)");
| /* esilref: 'src/libsystemd/sd-hwdb/sd-hwdb.c' */
0x0004fbfc addiu a2, s3, 0x5d4b | a2 = s3 + 0x5d4b;
0x0004fc00 lwr t0, 0x48(v0) | __asm ("lwr t0, 0x48(v0)");
0x0004fc04 lwr v1, 0x4c(v0) | __asm ("lwr v1, 0x4c(v0)");
0x0004fc08 lw v0, -0x7fc4(gp) | v0 = *(gp);
0x0004fc0c move a1, zero | a1 = 0;
| /* str.strings____________8llu_bytes */
0x0004fc10 addiu v0, v0, 0x5ec8 | v0 += 0x5ec8;
0x0004fc14 addiu a0, zero, 7 | a0 = 7;
0x0004fc18 sw t0, 0x18(sp) | *(var_18h) = t0;
0x0004fc1c sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x0004fc20 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0004fc24 sw s0, 0x10(sp) | *(var_10h) = s0;
0x0004fc28 bal 0x6f6f8 | sym_log_internal_realm ();
0x0004fc2c lw gp, 0x20(sp) | gp = *(var_20h);
0x0004fc30 lw t9, -0x7fcc(gp) | t9 = sym.log_get_max_level_realm;
0x0004fc34 move a0, zero | a0 = 0;
0x0004fc38 jalr t9 | t9 ();
0x0004fc3c slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x0004fc40 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x0004fc44 bnez v0, 0x4fa70 | goto label_4;
| }
0x0004fc48 lw v0, 0xa8(s1) | v0 = *((s1 + 42));
0x0004fc4c lw t9, -0x7fc8(gp) | t9 = sym.log_internal_realm;
0x0004fc50 addiu a3, zero, 0x165 | a3 = 0x165;
0x0004fc54 lwl a0, 0x43(v0) | __asm ("lwl a0, 0x43(v0)");
0x0004fc58 lwl v1, 0x47(v0) | __asm ("lwl v1, 0x47(v0)");
| /* esilref: 'src/libsystemd/sd-hwdb/sd-hwdb.c' */
0x0004fc5c addiu a2, s3, 0x5d4b | a2 = s3 + 0x5d4b;
0x0004fc60 lwr a0, 0x40(v0) | __asm ("lwr a0, 0x40(v0)");
0x0004fc64 lwr v1, 0x44(v0) | __asm ("lwr v1, 0x44(v0)");
0x0004fc68 lw v0, -0x7fc4(gp) | v0 = *(gp);
0x0004fc6c sw a0, 0x18(sp) | *(var_18h) = a0;
| /* str.nodes______________8llu_bytes */
0x0004fc70 addiu v0, v0, 0x5ee8 | v0 += 0x5ee8;
0x0004fc74 sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x0004fc78 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0004fc7c sw s0, 0x10(sp) | *(var_10h) = s0;
0x0004fc80 move a1, zero | a1 = 0;
0x0004fc84 addiu a0, zero, 7 | a0 = 7;
0x0004fc88 bal 0x6f6f8 | sym_log_internal_realm ();
0x0004fc8c lw gp, 0x20(sp) | gp = *(var_20h);
0x0004fc90 sw s1, (s7) | *(s7) = s1;
0x0004fc94 b 0x4f8c4 | goto label_2;
| label_15:
0x0004fc98 lw v0, -0x7fc4(gp) | v0 = *(gp);
0x0004fc9c lw a2, -0x7fc4(gp) | a2 = *(gp);
| /* str.File__s_is_too_short:__m */
0x0004fca0 addiu v0, v0, 0x5df8 | v0 += 0x5df8;
0x0004fca4 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0004fca8 lw v0, -0x7fc4(gp) | v0 = *(gp);
0x0004fcac lw t9, -0x7fc8(gp) | t9 = sym.log_internal_realm;
| /* esilref: 'sd_hwdb_new' */
0x0004fcb0 addiu v0, v0, 0x5f98 | v0 += 0x5f98;
0x0004fcb4 lui a1, 0x4000 | a1 = 0x40000000;
0x0004fcb8 sw s0, 0x18(sp) | *(var_18h) = s0;
0x0004fcbc sw v0, 0x10(sp) | *(var_10h) = v0;
0x0004fcc0 addiu a3, zero, 0x154 | a3 = aav.0x00000154;
| /* esilref: 'src/libsystemd/sd-hwdb/sd-hwdb.c' */
0x0004fcc4 addiu a2, a2, 0x5d4b | a2 += 0x5d4b;
0x0004fcc8 addiu a1, a1, 5 | a1 += 5;
0x0004fccc addiu a0, zero, 7 | a0 = 7;
0x0004fcd0 bal 0x6f6f8 | sym_log_internal_realm ();
0x0004fcd4 move fp, v0 | fp = v0;
0x0004fcd8 lw gp, 0x20(sp) | gp = *(var_20h);
0x0004fcdc b 0x4f8b4 | goto label_1;
| label_22:
0x0004fce0 lw v0, -0x7fc4(gp) | v0 = *(gp);
0x0004fce4 lw t9, -0x7fc8(gp) | t9 = sym.log_internal_realm;
| /* str.Failed_to_stat__s:__m */
0x0004fce8 addiu v0, v0, -0x5130 | v0 += -0x5130;
0x0004fcec sw v0, 0x14(sp) | *(var_14h) = v0;
0x0004fcf0 lw v0, -0x7fc4(gp) | v0 = *(gp);
0x0004fcf4 sw s0, 0x18(sp) | *(var_18h) = s0;
| /* esilref: 'sd_hwdb_new' */
0x0004fcf8 addiu v0, v0, 0x5f98 | v0 += 0x5f98;
0x0004fcfc sw v0, 0x10(sp) | *(var_10h) = v0;
0x0004fd00 addiu a3, zero, 0x151 | a3 = 0x151;
| label_6:
0x0004fd04 lw a2, -0x7fc4(gp) | a2 = *(gp);
0x0004fd08 move a1, s2 | a1 = s2;
| /* esilref: 'src/libsystemd/sd-hwdb/sd-hwdb.c' */
0x0004fd0c addiu a2, a2, 0x5d4b | a2 += 0x5d4b;
0x0004fd10 addiu a0, zero, 7 | a0 = 7;
0x0004fd14 bal 0x6f6f8 | sym_log_internal_realm ();
0x0004fd18 move fp, v0 | fp = v0;
0x0004fd1c lw gp, 0x20(sp) | gp = *(var_20h);
0x0004fd20 b 0x4f8b4 | goto label_1;
| label_16:
0x0004fd24 lw t9, -0x73b8(gp) | t9 = sym.imp.__errno_location;
0x0004fd28 jalr t9 | t9 ();
0x0004fd2c nop |
0x0004fd30 lw gp, 0x20(sp) | gp = *(var_20h);
0x0004fd34 move a0, zero | a0 = 0;
0x0004fd38 lw t9, -0x7fcc(gp) | t9 = sym.log_get_max_level_realm;
0x0004fd3c lw s2, (v0) | s2 = *(v0);
0x0004fd40 jalr t9 | t9 ();
0x0004fd44 slti v0, v0, 7 | v0 = (v0 < 7) ? 1 : 0;
0x0004fd48 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x0004fd4c bnez v0, 0x4f984 | goto label_5;
| }
0x0004fd50 lw v0, -0x7fc4(gp) | v0 = *(gp);
0x0004fd54 lw t9, -0x7fc8(gp) | t9 = sym.log_internal_realm;
| /* str.Failed_to_map__s:__m */
0x0004fd58 addiu v0, v0, 0x5e14 | v0 += 0x5e14;
0x0004fd5c sw v0, 0x14(sp) | *(var_14h) = v0;
0x0004fd60 lw v0, -0x7fc4(gp) | v0 = *(gp);
0x0004fd64 sw s0, 0x18(sp) | *(var_18h) = s0;
| /* esilref: 'sd_hwdb_new' */
0x0004fd68 addiu v0, v0, 0x5f98 | v0 += 0x5f98;
0x0004fd6c sw v0, 0x10(sp) | *(var_10h) = v0;
0x0004fd70 addiu a3, zero, 0x158 | a3 = aav.0x00000158;
0x0004fd74 b 0x4fd04 | goto label_6;
| label_18:
0x0004fd78 lw a2, -0x7fc4(gp) | a2 = *(gp);
| /* str.Failed_to_recognize_the_format_of__s */
0x0004fd7c addiu v0, v0, 0x5e2c | v0 += 0x5e2c;
0x0004fd80 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0004fd84 lw v0, -0x7fc4(gp) | v0 = *(gp);
0x0004fd88 lw t9, -0x7fc8(gp) | t9 = sym.log_internal_realm;
| /* esilref: 'sd_hwdb_new' */
0x0004fd8c addiu v0, v0, 0x5f98 | v0 += 0x5f98;
0x0004fd90 sw s0, 0x18(sp) | *(var_18h) = s0;
0x0004fd94 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0004fd98 addiu a3, zero, 0x15c | a3 = aav.0x0000015c;
| /* esilref: 'src/libsystemd/sd-hwdb/sd-hwdb.c' */
0x0004fd9c addiu a2, a2, 0x5d4b | a2 += 0x5d4b;
0x0004fda0 move a1, zero | a1 = 0;
0x0004fda4 addiu a0, zero, 7 | a0 = 7;
0x0004fda8 bal 0x6f6f8 | sym_log_internal_realm ();
0x0004fdac addiu fp, zero, -0x16 | fp = -0x16;
0x0004fdb0 lw gp, 0x20(sp) | gp = *(var_20h);
0x0004fdb4 b 0x4f8b4 | goto label_1;
| label_19:
0x0004fdb8 lw t9, -0x7230(gp) | t9 = sym.imp.__stack_chk_fail;
0x0004fdbc jalr t9 | t9 ();
0x0004fdc0 nop |
| }
[*] Function mmap used 4 times systemd-udevd