[*] Binary protection state of dbus-update-activation-environment
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function printf tear down of dbus-update-activation-environment
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/dbus-update-activation-environment @ 0x1810 */
| #include <stdint.h>
|
; (fcn) fcn.00001810 () | void fcn_00001810 () {
0x00001810 lui gp, 2 |
0x00001814 addiu gp, gp, -0x6800 |
0x00001818 addu gp, gp, t9 | gp += t9;
0x0000181c addiu sp, sp, -0x30 |
0x00001820 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001824 sw s0, 0x20(sp) | *(var_20h) = s0;
0x00001828 lw s0, -0x7f58(gp) | s0 = *((gp - 8150));
0x0000182c sw gp, 0x10(sp) | *(var_10h) = gp;
0x00001830 sw ra, 0x2c(sp) | *(var_2ch) = ra;
0x00001834 sw s2, 0x28(sp) | *(var_28h) = s2;
0x00001838 sw s1, 0x24(sp) | *(var_24h) = s1;
0x0000183c lw v1, (s0) | v1 = *(s0);
0x00001840 lw v0, 0x3100(v0) | v0 = *((v0 + 3136));
0x00001844 sw a1, 0x34(sp) | *(arg_34h) = a1;
0x00001848 sw a2, 0x38(sp) | *(arg_38h) = a2;
0x0000184c sw a3, 0x3c(sp) | *(arg_3ch) = a3;
0x00001850 sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x00001854 lw s1, -0x7f48(gp) | s1 = *((gp - 8146));
| if (v0 != 0) {
0x00001858 beqz v0, 0x18bc |
0x0000185c lw a3, -0x7fd8(gp) | a3 = *((gp - 8182));
0x00001860 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x00001864 lw t9, -0x7fa0(gp) | t9 = sym.imp.__fprintf_chk
0x00001868 move s2, a0 | s2 = a0;
0x0000186c lw a0, (s1) | a0 = *(s1);
0x00001870 addiu a3, a3, 0x1cc8 | a3 += str.dbus_update_activation_environment;
0x00001874 addiu a2, a2, 0x1cec | a2 += str._s:_;
0x00001878 addiu a1, zero, 1 | a1 = 1;
0x0000187c jalr t9 | t9 ();
0x00001880 lw gp, 0x10(sp) | gp = *(var_10h);
0x00001884 addiu v0, sp, 0x34 | v0 = sp + 0x34;
0x00001888 lw a0, (s1) | a0 = *(s1);
0x0000188c lw t9, -0x7f3c(gp) | t9 = sym.imp.__vfprintf_chk
0x00001890 move a3, v0 | a3 = v0;
0x00001894 move a2, s2 | a2 = s2;
0x00001898 addiu a1, zero, 1 | a1 = 1;
0x0000189c sw v0, 0x18(sp) | *(var_18h) = v0;
0x000018a0 jalr t9 | t9 ();
0x000018a4 lw gp, 0x10(sp) | gp = *(var_10h);
0x000018a8 lw a1, (s1) | a1 = *(s1);
0x000018ac lw t9, -0x7f9c(gp) | t9 = sym.imp.fputc;
0x000018b0 addiu a0, zero, 0xa | a0 = 0xa;
0x000018b4 jalr t9 | t9 ();
0x000018b8 lw gp, 0x10(sp) | gp = *(var_10h);
| }
0x000018bc lw v1, 0x1c(sp) | v1 = *(var_1ch);
0x000018c0 lw v0, (s0) | v0 = *(s0);
0x000018c4 lw ra, 0x2c(sp) | ra = *(var_2ch);
| if (v1 == v0) {
0x000018c8 bne v1, v0, 0x18e0 |
0x000018cc lw s2, 0x28(sp) | s2 = *(var_28h);
0x000018d0 lw s1, 0x24(sp) | s1 = *(var_24h);
0x000018d4 lw s0, 0x20(sp) | s0 = *(var_20h);
0x000018d8 addiu sp, sp, 0x30 |
0x000018dc jr ra | return v1;
| }
0x000018e0 lw t9, -0x7f60(gp) | t9 = sym.imp.__stack_chk_fail;
0x000018e4 jalr t9 | t9 ();
0x000018e8 nop |
0x000018ec nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/dbus-update-activation-environment @ 0xda0 */
| #include <stdint.h>
|
; (fcn) main () | int32_t main () {
| /* [13] -r-x section size 3376 named .text */
0x00000da0 lui gp, 2 |
0x00000da4 addiu gp, gp, -0x5d90 |
0x00000da8 addu gp, gp, t9 | gp += t9;
0x00000dac addiu sp, sp, -0x250 |
0x00000db0 lw v0, -0x7f58(gp) | v0 = *((gp - 8150));
0x00000db4 sw s7, 0x244(sp) | *(var_244h) = s7;
0x00000db8 move v1, v0 | v1 = v0;
0x00000dbc sw v0, 0x40(sp) | *(var_40h) = v0;
0x00000dc0 lbu v0, 0x60(sp) | v0 = *(var_60h);
0x00000dc4 sw s4, 0x238(sp) | *(var_238h) = s4;
0x00000dc8 sw gp, 0x18(sp) | *(var_18h) = gp;
0x00000dcc sw ra, 0x24c(sp) | *(var_24ch) = ra;
0x00000dd0 sw fp, 0x248(sp) | *(var_248h) = fp;
0x00000dd4 sw s6, 0x240(sp) | *(var_240h) = s6;
0x00000dd8 sw s5, 0x23c(sp) | *(var_23ch) = s5;
0x00000ddc sw s3, 0x234(sp) | *(var_234h) = s3;
0x00000de0 sw s2, 0x230(sp) | *(var_230h) = s2;
0x00000de4 sw s1, 0x22c(sp) | *(var_22ch) = s1;
0x00000de8 sw s0, 0x228(sp) | *(var_228h) = s0;
0x00000dec move s4, a0 | s4 = a0;
0x00000df0 andi v0, v0, 0xe0 | v0 &= 0xe0;
0x00000df4 lw a0, (v1) | a0 = *(v1);
0x00000df8 ori v0, v0, 1 | v0 |= 1;
0x00000dfc slti v1, s4, 2 | v1 = (s4 < 2) ? 1 : 0;
0x00000e00 move s7, a1 | s7 = a1;
0x00000e04 sw a0, 0x224(sp) | *(var_224h) = a0;
0x00000e08 sw zero, 0x58(sp) | *(var_58h) = 0;
0x00000e0c sw zero, 0x5c(sp) | *(var_5ch) = 0;
0x00000e10 sb v0, 0x60(sp) | *(var_60h) = v0;
0x00000e14 sw zero, 0x64(sp) | *(var_64h) = 0;
| if (v1 != 0) {
0x00000e18 bnez v1, 0x158c | goto label_12;
| }
0x00000e1c lw s0, 4(a1) | s0 = *((a1 + 1));
0x00000e20 addiu v0, zero, 0x2d | v0 = 0x2d;
0x00000e24 lb v1, (s0) | v1 = *(s0);
0x00000e28 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
| if (v1 != v0) {
0x00000e2c bne v1, v0, 0x159c | goto label_13;
| }
0x00000e30 lw s6, -0x7fd8(gp) | s6 = *((gp - 8182));
0x00000e34 addiu v0, v0, 0x1d00 | v0 += str.__systemd;
0x00000e38 sw v0, 0x24(sp) | *(var_24h) = v0;
0x00000e3c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00000e40 lw fp, -0x7fd8(gp) | fp = *((gp - 8182));
0x00000e44 addiu v0, v0, 0x1d0c | v0 += str.__verbose;
0x00000e48 sw v0, 0x28(sp) | *(var_28h) = v0;
0x00000e4c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00000e50 addiu s3, a1, 8 | s3 = a1 + 8;
0x00000e54 move s5, zero | s5 = 0;
0x00000e58 move s2, zero | s2 = 0;
0x00000e5c addiu s1, zero, 1 | s1 = 1;
0x00000e60 addiu s6, s6, 0x1cf4 | s6 += 0x1cf4;
0x00000e64 addiu fp, fp, 0x1cf8 | fp += str.__all;
0x00000e68 sw v0, 0x2c(sp) | *(var_2ch) = v0;
0x00000e6c b 0xecc |
| while (v0 != 0) {
0x00000e70 lw t9, -0x7f34(gp) | t9 = sym.imp.strcmp;
0x00000e74 lw a1, 0x24(sp) | a1 = *(var_24h);
0x00000e78 move a0, s0 | a0 = s0;
0x00000e7c jalr t9 | t9 ();
0x00000e80 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00000e84 beqz v0, 0xf10 | goto label_14;
| }
0x00000e88 lw t9, -0x7f34(gp) | t9 = sym.imp.strcmp;
0x00000e8c lw a1, 0x28(sp) | a1 = *(var_28h);
0x00000e90 move a0, s0 | a0 = s0;
0x00000e94 jalr t9 | t9 ();
0x00000e98 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00000e9c bnez v0, 0x15b8 | goto label_15;
| }
0x00000ea0 lw v0, 0x2c(sp) | v0 = *(var_2ch);
0x00000ea4 addiu v1, zero, 1 | v1 = 1;
0x00000ea8 sw v1, 0x3100(v0) | *((v0 + 3136)) = v1;
| label_1:
0x00000eac addiu s1, s1, 1 | s1++;
| if (s4 == s1) {
0x00000eb0 beql s4, s1, 0xf2c | goto label_11;
| }
0x00000eb4 move s1, s4 | s1 = s4;
| label_0:
0x00000eb8 lw s0, (s3) | s0 = *(s3);
0x00000ebc addiu v1, zero, 0x2d | v1 = 0x2d;
0x00000ec0 lb v0, (s0) | v0 = *(s0);
0x00000ec4 addiu s3, s3, 4 | s3 += 4;
| if (v0 != v1) {
0x00000ec8 bne v0, v1, 0x14e0 | goto label_16;
| }
0x00000ecc lw t9, -0x7f34(gp) | t9 = sym.imp.strcmp;
0x00000ed0 move a1, s6 | a1 = s6;
0x00000ed4 move a0, s0 | a0 = s0;
0x00000ed8 jalr t9 | t9 ();
0x00000edc lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00000ee0 beqz v0, 0xf18 | goto label_17;
| }
0x00000ee4 lw t9, -0x7f34(gp) | t9 = sym.imp.strcmp;
0x00000ee8 move a1, fp | a1 = fp;
0x00000eec move a0, s0 | a0 = s0;
0x00000ef0 jalr t9 | t9 ();
0x00000ef4 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000ef8 bnez v0, 0xe70 |
| }
0x00000efc addiu s1, s1, 1 | s1++;
0x00000f00 addiu s2, zero, 1 | s2 = 1;
| if (s4 != s1) {
0x00000f04 bne s4, s1, 0xeb8 | goto label_0;
| }
0x00000f08 move s1, s4 | s1 = s4;
0x00000f0c b 0xf2c | goto label_11;
| label_14:
0x00000f10 addiu s5, zero, 1 | s5 = 1;
0x00000f14 b 0xeac | goto label_1;
| label_17:
0x00000f18 addiu s1, s1, 1 | s1++;
| if (s2 != 0) {
0x00000f1c beqz s2, 0xf2c |
0x00000f20 slt v0, s1, s4 | v0 = (s1 < s4) ? 1 : 0;
0x00000f24 lw v0, -0x7f48(gp) | v0 = *((gp - 8146));
| if (v0 != 0) {
0x00000f28 bnez v0, 0x14ec | goto label_18;
| }
| }
| label_11:
0x00000f2c lw t9, -0x7f28(gp) | t9 = sym.imp.dbus_bus_get;
| label_7:
0x00000f30 addiu v0, sp, 0x58 | v0 = sp + 0x58;
0x00000f34 sw v0, 0x30(sp) | *(var_30h) = v0;
0x00000f38 move a1, v0 | a1 = v0;
0x00000f3c move a0, zero | a0 = 0;
0x00000f40 jalr t9 | t9 ();
0x00000f44 sw v0, 0x34(sp) | *(var_34h) = v0;
0x00000f48 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00000f4c beqz v0, 0x1630 | goto label_19;
| }
0x00000f50 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x00000f54 lw a3, -0x7fd8(gp) | a3 = *((gp - 8182));
0x00000f58 lw a1, -0x7fd8(gp) | a1 = *((gp - 8182));
0x00000f5c lw t9, -0x7f88(gp) | t9 = sym.imp.dbus_message_new_method_call;
0x00000f60 addiu a2, a2, 0x1fc4 | a2 += str.org.freedesktop.DBus;
0x00000f64 addiu a3, a3, 0x1fa8 | a3 += str.UpdateActivationEnvironment;
0x00000f68 addiu a1, a1, 0x1fdc | a1 += str._org_freedesktop_DBus;
0x00000f6c move a0, a2 | a0 = a2;
0x00000f70 jalr t9 | t9 ();
0x00000f74 sw v0, 0x2c(sp) | *(var_2ch) = v0;
0x00000f78 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00000f7c beqz v0, 0x1428 | goto label_20;
| }
0x00000f80 lw t9, -0x7f30(gp) | t9 = sym.imp.dbus_message_iter_init_append;
0x00000f84 addiu s0, sp, 0x68 | s0 = sp + 0x68;
0x00000f88 lw a0, 0x2c(sp) | a0 = *(var_2ch);
0x00000f8c move a1, s0 | a1 = s0;
0x00000f90 sw s0, 0x3c(sp) | *(var_3ch) = s0;
0x00000f94 jalr t9 | t9 ();
0x00000f98 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000f9c addiu s3, sp, 0xa0 | s3 = sp + 0xa0;
0x00000fa0 move a3, s3 | a3 = s3;
0x00000fa4 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x00000fa8 lw t9, -0x7f94(gp) | t9 = sym.imp.dbus_message_iter_open_container;
0x00000fac addiu a2, a2, 0x200c | a2 += str.ss;
0x00000fb0 addiu a1, zero, 0x61 | a1 = 0x61;
0x00000fb4 move a0, s0 | a0 = s0;
0x00000fb8 jalr t9 | t9 ();
0x00000fbc lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00000fc0 beqz v0, 0x1428 | goto label_20;
| }
0x00000fc4 lw a0, -0x7fd8(gp) | a0 = *((gp - 8182));
| if (s5 == 0) {
0x00000fc8 bnel s5, zero, 0x1350 | goto label_21;
| }
0x00000fcc sw zero, 0x44(sp) | *(var_44h) = 0;
| label_5:
0x00000fd0 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00000fd4 lw s6, -0x7fd8(gp) | s6 = *((gp - 8182));
0x00000fd8 addiu v0, v0, 0x1810 | v0 += fcn.00001810;
0x00000fdc sw v0, 0x24(sp) | *(var_24h) = v0;
0x00000fe0 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
| if (s2 == 0) {
0x00000fe4 movn s1, zero, s2 | s1 = 0;
| }
0x00000fe8 addiu v0, v0, 0x1cc8 | v0 += str.dbus_update_activation_environment;
0x00000fec sw v0, 0x28(sp) | *(var_28h) = v0;
0x00000ff0 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00000ff4 addiu s6, s6, 0x2104 | s6 += str.setting__s_s;
0x00000ff8 lw fp, -0x7fd8(gp) | fp = *((gp - 8182));
0x00000ffc sw v0, 0x38(sp) | *(var_38h) = v0;
0x00001000 b 0x116c |
| while (s2 != 0) {
0x00001004 sll s0, s1, 2 | s0 = s1 << 2;
0x00001008 lw v0, (v0) | v0 = *(v0);
0x0000100c lwx s0, s0(v0) | __asm ("lwx s0, s0(v0)");
0x00001010 lw t9, -0x7f68(gp) | t9 = sym.imp.dbus_message_iter_close_container;
| if (s0 == 0) {
0x00001014 beqz s0, 0x124c | goto label_22;
| }
| label_2:
0x00001018 lw t9, -0x7f50(gp) | t9 = sym.imp.strdup;
0x0000101c move a0, s0 | a0 = s0;
0x00001020 jalr t9 | t9 ();
0x00001024 sw v0, 0x48(sp) | *(var_48h) = v0;
0x00001028 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x0000102c beqz v0, 0x1428 | goto label_20;
| }
0x00001030 lw t9, -0x7f54(gp) | t9 = sym.imp.dbus_validate_utf8;
0x00001034 move a1, zero | a1 = 0;
0x00001038 move a0, s0 | a0 = s0;
0x0000103c jalr t9 | t9 ();
0x00001040 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00001044 beqz v0, 0x11f0 | goto label_23;
| }
0x00001048 lw t9, -0x7f84(gp) | t9 = sym.imp.strchr;
0x0000104c lw a0, 0x48(sp) | a0 = *(var_48h);
0x00001050 addiu a1, zero, 0x3d | a1 = 0x3d;
0x00001054 jalr t9 | t9 ();
0x00001058 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x0000105c beqz v0, 0x1188 | goto label_24;
| }
0x00001060 addiu v1, v0, 1 | v1 = v0 + 1;
0x00001064 sb zero, (v0) | *(v0) = 0;
0x00001068 sw v1, 0x4c(sp) | *(var_4ch) = v1;
| label_4:
0x0000106c lw t9, -0x7f94(gp) | t9 = sym.imp.dbus_message_iter_open_container;
| if (s5 != 0) {
0x00001070 beqz s5, 0x10d0 |
0x00001074 lw v0, 0x4c(sp) | v0 = *(var_4ch);
0x00001078 lw t9, -0x7f78(gp) | t9 = sym.imp.__asprintf_chk
0x0000107c addiu s0, sp, 0x50 | s0 = sp + 0x50;
0x00001080 lw a3, 0x48(sp) | a3 = *(var_48h);
0x00001084 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00001088 addiu a2, fp, 0x210c | a2 = fp + 0x210c;
0x0000108c addiu a1, zero, 1 | a1 = 1;
0x00001090 move a0, s0 | a0 = s0;
0x00001094 jalr t9 | t9 ();
0x00001098 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 < 0) {
0x0000109c bltz v0, 0x1428 | goto label_20;
| }
0x000010a0 lw t9, -0x7f44(gp) | t9 = sym.imp.dbus_message_iter_append_basic;
0x000010a4 move a2, s0 | a2 = s0;
0x000010a8 addiu a1, zero, 0x73 | a1 = 0x73;
0x000010ac addiu a0, sp, 0x110 | a0 = sp + 0x110;
0x000010b0 jalr t9 | t9 ();
0x000010b4 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x000010b8 beqz v0, 0x1428 | goto label_20;
| }
0x000010bc lw t9, -0x7f4c(gp) | t9 = sym.imp.free;
0x000010c0 lw a0, 0x50(sp) | a0 = *(var_50h);
0x000010c4 jalr t9 | t9 ();
0x000010c8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000010cc lw t9, -0x7f94(gp) | t9 = sym.imp.dbus_message_iter_open_container;
| }
0x000010d0 addiu s0, sp, 0x148 | s0 = sp + 0x148;
0x000010d4 move a3, s0 | a3 = s0;
0x000010d8 move a2, zero | a2 = 0;
0x000010dc addiu a1, zero, 0x65 | a1 = 0x65;
0x000010e0 move a0, s3 | a0 = s3;
0x000010e4 jalr t9 | t9 ();
0x000010e8 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x000010ec beqz v0, 0x1428 | goto label_20;
| }
0x000010f0 lw a2, 0x4c(sp) | a2 = *(var_4ch);
0x000010f4 lw a1, 0x48(sp) | a1 = *(var_48h);
0x000010f8 lw t9, 0x24(sp) | t9 = *(var_24h);
0x000010fc move a0, s6 | a0 = s6;
0x00001100 jalr t9 | t9 ();
0x00001104 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001108 addiu a2, sp, 0x48 | a2 = sp + 0x48;
0x0000110c addiu a1, zero, 0x73 | a1 = 0x73;
0x00001110 lw t9, -0x7f44(gp) | t9 = sym.imp.dbus_message_iter_append_basic;
0x00001114 move a0, s0 | a0 = s0;
0x00001118 jalr t9 | t9 ();
0x0000111c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00001120 beqz v0, 0x1428 | goto label_20;
| }
0x00001124 lw t9, -0x7f44(gp) | t9 = sym.imp.dbus_message_iter_append_basic;
0x00001128 addiu a2, sp, 0x4c | a2 = sp + 0x4c;
0x0000112c addiu a1, zero, 0x73 | a1 = 0x73;
0x00001130 move a0, s0 | a0 = s0;
0x00001134 jalr t9 | t9 ();
0x00001138 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x0000113c beqz v0, 0x1428 | goto label_20;
| }
0x00001140 lw t9, -0x7f68(gp) | t9 = sym.imp.dbus_message_iter_close_container;
0x00001144 move a1, s0 | a1 = s0;
0x00001148 move a0, s3 | a0 = s3;
0x0000114c jalr t9 | t9 ();
0x00001150 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00001154 beqz v0, 0x1428 | goto label_20;
| }
| label_3:
0x00001158 lw t9, -0x7f4c(gp) | t9 = sym.imp.free;
0x0000115c lw a0, 0x48(sp) | a0 = *(var_48h);
0x00001160 addiu s1, s1, 1 | s1++;
0x00001164 jalr t9 | t9 ();
0x00001168 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000116c lw v0, -0x7fac(gp) | v0 = *((gp - 8171));
0x00001170 bnez s2, 0x1004 |
| }
0x00001174 slt v0, s1, s4 | v0 = (s1 < s4) ? 1 : 0;
0x00001178 sll s0, s1, 2 | s0 = s1 << 2;
| if (v0 == 0) {
0x0000117c beqz v0, 0x1248 | goto label_25;
| }
0x00001180 lwx s0, s0(s7) | __asm ("lwx s0, s0(s7)");
0x00001184 b 0x1018 | goto label_2;
| label_24:
0x00001188 lw t9, -0x7f74(gp) | t9 = sym.imp.getenv;
| if (s2 != 0) {
0x0000118c bnez s2, 0x121c | goto label_26;
| }
0x00001190 move a0, s0 | a0 = s0;
0x00001194 jalr t9 | t9 ();
0x00001198 sw v0, 0x4c(sp) | *(var_4ch) = v0;
0x0000119c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x000011a0 beqz v0, 0x1158 | goto label_3;
| }
0x000011a4 lw t9, -0x7f54(gp) | t9 = sym.imp.dbus_validate_utf8;
0x000011a8 move a1, zero | a1 = 0;
0x000011ac move a0, v0 | a0 = v0;
0x000011b0 jalr t9 | t9 ();
0x000011b4 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x000011b8 bnez v0, 0x106c | goto label_4;
| }
0x000011bc lw v0, -0x7f48(gp) | v0 = *((gp - 8146));
0x000011c0 lw t9, -0x7fa0(gp) | t9 = sym.imp.__fprintf_chk
0x000011c4 lw a3, 0x28(sp) | a3 = *(var_28h);
0x000011c8 lw a0, (v0) | a0 = *(v0);
0x000011cc lw v0, 0x4c(sp) | v0 = *(var_4ch);
0x000011d0 sw s0, 0x10(sp) | *(var_10h) = s0;
0x000011d4 sw v0, 0x14(sp) | *(var_14h) = v0;
0x000011d8 lw v0, 0x38(sp) | v0 = *(var_38h);
0x000011dc addiu a1, zero, 1 | a1 = 1;
0x000011e0 addiu a2, v0, 0x20d0 | a2 = v0 + str._s:_warning:_environment_variable_not_UTF_8:__s_s_n;
0x000011e4 jalr t9 | t9 ();
0x000011e8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000011ec b 0x1158 | goto label_3;
| label_23:
0x000011f0 lw v0, -0x7f48(gp) | v0 = *((gp - 8146));
0x000011f4 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x000011f8 lw t9, -0x7fa0(gp) | t9 = sym.imp.__fprintf_chk
0x000011fc lw a0, (v0) | a0 = *(v0);
0x00001200 lw a3, 0x28(sp) | a3 = *(var_28h);
0x00001204 sw s0, 0x10(sp) | *(var_10h) = s0;
0x00001208 addiu a2, a2, 0x2068 | a2 += str._s:_warning:_environment_variable_not_UTF_8:__s_n;
0x0000120c addiu a1, zero, 1 | a1 = 1;
0x00001210 jalr t9 | t9 ();
0x00001214 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001218 b 0x1158 | goto label_3;
| label_26:
0x0000121c lw v0, -0x7f48(gp) | v0 = *((gp - 8146));
0x00001220 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x00001224 lw t9, -0x7fa0(gp) | t9 = sym.imp.__fprintf_chk
0x00001228 lw a0, (v0) | a0 = *(v0);
0x0000122c lw a3, 0x28(sp) | a3 = *(var_28h);
0x00001230 sw s0, 0x10(sp) | *(var_10h) = s0;
0x00001234 addiu a2, a2, 0x209c | a2 += str._s:_warning:_environment_variable_without_:__s_n;
0x00001238 addiu a1, zero, 1 | a1 = 1;
0x0000123c jalr t9 | t9 ();
0x00001240 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001244 b 0x1158 | goto label_3;
| label_25:
0x00001248 lw t9, -0x7f68(gp) | t9 = sym.imp.dbus_message_iter_close_container;
| label_22:
0x0000124c lw a0, 0x3c(sp) | a0 = *(var_3ch);
0x00001250 move a1, s3 | a1 = s3;
0x00001254 jalr t9 | t9 ();
0x00001258 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x0000125c beqz v0, 0x1428 | goto label_20;
| }
0x00001260 lw t9, -0x7f70(gp) | t9 = sym.imp.dbus_connection_send_with_reply_and_block;
| if (s5 != 0) {
0x00001264 beqz s5, 0x1284 |
0x00001268 lw t9, -0x7f68(gp) | t9 = sym.imp.dbus_message_iter_close_container;
0x0000126c addiu a1, sp, 0x110 | a1 = sp + 0x110;
0x00001270 addiu a0, sp, 0xd8 | a0 = sp + 0xd8;
0x00001274 jalr t9 | t9 ();
0x00001278 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x0000127c beqz v0, 0x1428 | goto label_20;
| }
0x00001280 lw t9, -0x7f70(gp) | t9 = sym.imp.dbus_connection_send_with_reply_and_block;
| }
0x00001284 lw a3, 0x30(sp) | a3 = *(var_30h);
0x00001288 lw a1, 0x2c(sp) | a1 = *(var_2ch);
0x0000128c lw a0, 0x34(sp) | a0 = *(var_34h);
0x00001290 addiu a2, zero, -1 | a2 = -1;
0x00001294 jalr t9 | t9 ();
0x00001298 move s0, v0 | s0 = v0;
0x0000129c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x000012a0 beqz v0, 0x166c | goto label_27;
| }
0x000012a4 lw t9, -0x7fa8(gp) | t9 = sym.imp.dbus_set_error_from_message;
0x000012a8 lw a1, 0x2c(sp) | a1 = *(var_2ch);
0x000012ac lw a0, 0x30(sp) | a0 = *(var_30h);
0x000012b0 jalr t9 | t9 ();
0x000012b4 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x000012b8 bnez v0, 0x15ec | goto label_28;
| }
0x000012bc lw t9, -0x7f5c(gp) | t9 = sym.imp.dbus_message_get_args;
0x000012c0 lw a1, 0x30(sp) | a1 = *(var_30h);
0x000012c4 lw a0, 0x2c(sp) | a0 = *(var_2ch);
0x000012c8 move a2, zero | a2 = 0;
0x000012cc jalr t9 | t9 ();
0x000012d0 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x000012d4 beqz v0, 0x15ec | goto label_28;
| }
0x000012d8 lw t9, -0x7f64(gp) | t9 = sym.imp.dbus_message_unref;
0x000012dc move a0, s0 | a0 = s0;
0x000012e0 jalr t9 | t9 ();
0x000012e4 lw gp, 0x18(sp) | gp = *(var_18h);
| if (s5 != 0) {
0x000012e8 bnez s5, 0x1438 | goto label_29;
| }
| label_6:
0x000012ec lw t9, -0x7f64(gp) | t9 = sym.imp.dbus_message_unref;
0x000012f0 lw a0, 0x2c(sp) | a0 = *(var_2ch);
0x000012f4 jalr t9 | t9 ();
0x000012f8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000012fc lw t9, -0x7f2c(gp) | t9 = sym.imp.dbus_connection_unref;
0x00001300 lw a0, 0x34(sp) | a0 = *(var_34h);
0x00001304 jalr t9 | t9 ();
0x00001308 lw v0, 0x40(sp) | v0 = *(var_40h);
0x0000130c lw a0, 0x224(sp) | a0 = *(var_224h);
0x00001310 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001314 lw v1, (v0) | v1 = *(v0);
0x00001318 move v0, zero | v0 = 0;
| if (a0 != v1) {
0x0000131c bne a0, v1, 0x15ac | goto label_30;
| }
0x00001320 lw ra, 0x24c(sp) | ra = *(var_24ch);
0x00001324 lw fp, 0x248(sp) | fp = *(var_248h);
0x00001328 lw s7, 0x244(sp) | s7 = *(var_244h);
0x0000132c lw s6, 0x240(sp) | s6 = *(var_240h);
0x00001330 lw s5, 0x23c(sp) | s5 = *(var_23ch);
0x00001334 lw s4, 0x238(sp) | s4 = *(var_238h);
0x00001338 lw s3, 0x234(sp) | s3 = *(var_234h);
0x0000133c lw s2, 0x230(sp) | s2 = *(var_230h);
0x00001340 lw s1, 0x22c(sp) | s1 = *(var_22ch);
0x00001344 lw s0, 0x228(sp) | s0 = *(var_228h);
0x00001348 addiu sp, sp, 0x250 |
0x0000134c jr ra | return v0;
| label_21:
0x00001350 lw t9, -0x7f74(gp) | t9 = sym.imp.getenv;
0x00001354 addiu a0, a0, 0x2014 | a0 += str.XDG_RUNTIME_DIR;
0x00001358 jalr t9 | t9 ();
0x0000135c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00001360 beqz v0, 0x152c | goto label_31;
| }
0x00001364 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x00001368 lw t9, -0x7f78(gp) | t9 = sym.imp.__asprintf_chk
0x0000136c move a3, v0 | a3 = v0;
0x00001370 addiu a2, a2, 0x2024 | a2 += str._s_systemd;
0x00001374 addiu a1, zero, 1 | a1 = 1;
0x00001378 addiu a0, sp, 0x54 | a0 = sp + 0x54;
0x0000137c jalr t9 | t9 ();
0x00001380 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 < 0) {
0x00001384 bltz v0, 0x1428 | goto label_20;
| }
0x00001388 lw t9, -0x7fb0(gp) | t9 = sym.imp.__xstat64;
0x0000138c lw a1, 0x54(sp) | a1 = *(var_54h);
0x00001390 addiu a2, sp, 0x180 | a2 = sp + 0x180;
0x00001394 addiu a0, zero, 3 | a0 = 3;
0x00001398 jalr t9 | t9 ();
0x0000139c lw gp, 0x18(sp) | gp = *(var_18h);
0x000013a0 lw a0, 0x54(sp) | a0 = *(var_54h);
0x000013a4 lw t9, -0x7f4c(gp) | t9 = sym.imp.free;
0x000013a8 move s0, v0 | s0 = v0;
0x000013ac jalr t9 | t9 ();
0x000013b0 lw gp, 0x18(sp) | gp = *(var_18h);
| if (s0 != 0) {
0x000013b4 bnez s0, 0x152c | goto label_31;
| }
0x000013b8 lw a3, -0x7fd8(gp) | a3 = *((gp - 8182));
0x000013bc lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x000013c0 lw a1, -0x7fd8(gp) | a1 = *((gp - 8182));
0x000013c4 lw a0, -0x7fd8(gp) | a0 = *((gp - 8182));
0x000013c8 lw t9, -0x7f88(gp) | t9 = sym.imp.dbus_message_new_method_call;
0x000013cc addiu a3, a3, 0x21c0 | a3 += str.SetEnvironment;
0x000013d0 addiu a2, a2, 0x21d0 | a2 += str.org.freedesktop.systemd1.Manager;
0x000013d4 addiu a1, a1, 0x21f4 | a1 += str._org_freedesktop_systemd1;
0x000013d8 addiu a0, a0, 0x2210 | a0 += str.org.freedesktop.systemd1;
0x000013dc jalr t9 | t9 ();
0x000013e0 sw v0, 0x44(sp) | *(var_44h) = v0;
0x000013e4 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x000013e8 beqz v0, 0x1428 | goto label_20;
| }
0x000013ec lw t9, -0x7f30(gp) | t9 = sym.imp.dbus_message_iter_init_append;
0x000013f0 addiu s0, sp, 0xd8 | s0 = sp + 0xd8;
0x000013f4 lw a0, 0x44(sp) | a0 = *(var_44h);
0x000013f8 move a1, s0 | a1 = s0;
0x000013fc jalr t9 | t9 ();
0x00001400 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001404 addiu a3, sp, 0x110 | a3 = sp + 0x110;
0x00001408 addiu a1, zero, 0x61 | a1 = 0x61;
0x0000140c lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x00001410 lw t9, -0x7f94(gp) | t9 = sym.imp.dbus_message_iter_open_container;
0x00001414 addiu a2, a2, 0x2110 | a2 += 0x2110;
0x00001418 move a0, s0 | a0 = s0;
0x0000141c jalr t9 | t9 ();
0x00001420 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00001424 bnez v0, 0xfd0 | goto label_5;
| }
| label_20:
0x00001428 lw a0, -0x7fd8(gp) | a0 = *((gp - 8182));
0x0000142c lw t9, -0x7fd4(gp) | t9 = sym.tool_oom;
0x00001430 addiu a0, a0, 0x1ff4 | a0 += str.updating_environment;
0x00001434 bal 0x18f0 | sym_tool_oom ();
| label_29:
0x00001438 lw t9, -0x7f70(gp) | t9 = sym.imp.dbus_connection_send_with_reply_and_block;
0x0000143c lw a3, 0x30(sp) | a3 = *(var_30h);
0x00001440 lw a1, 0x44(sp) | a1 = *(var_44h);
0x00001444 lw a0, 0x34(sp) | a0 = *(var_34h);
0x00001448 addiu a2, zero, -1 | a2 = -1;
0x0000144c jalr t9 | t9 ();
0x00001450 move s0, v0 | s0 = v0;
0x00001454 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00001458 beqz v0, 0x1550 | goto label_32;
| }
0x0000145c lw t9, -0x7fa8(gp) | t9 = sym.imp.dbus_set_error_from_message;
0x00001460 lw a1, 0x2c(sp) | a1 = *(var_2ch);
0x00001464 lw a0, 0x30(sp) | a0 = *(var_30h);
0x00001468 jalr t9 | t9 ();
0x0000146c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00001470 beqz v0, 0x1508 | goto label_33;
| }
| label_8:
0x00001474 lw v0, -0x7f48(gp) | v0 = *((gp - 8146));
0x00001478 lw a3, -0x7fd8(gp) | a3 = *((gp - 8182));
0x0000147c lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x00001480 lw a0, (v0) | a0 = *(v0);
0x00001484 lw v0, 0x5c(sp) | v0 = *(var_5ch);
0x00001488 lw t9, -0x7fa0(gp) | t9 = sym.imp.__fprintf_chk
0x0000148c sw v0, 0x14(sp) | *(var_14h) = v0;
0x00001490 lw v0, 0x58(sp) | v0 = *(var_58h);
0x00001494 addiu a3, a3, 0x1cc8 | a3 += str.dbus_update_activation_environment;
0x00001498 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000149c addiu a2, a2, 0x2194 | a2 += str._s:_warning:_error_from_systemd:__s:__s_n;
0x000014a0 addiu a1, zero, 1 | a1 = 1;
0x000014a4 jalr t9 | t9 ();
0x000014a8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000014ac lw t9, -0x7f64(gp) | t9 = sym.imp.dbus_message_unref;
| label_9:
0x000014b0 move a0, s0 | a0 = s0;
0x000014b4 jalr t9 | t9 ();
0x000014b8 lw gp, 0x18(sp) | gp = *(var_18h);
| label_10:
0x000014bc lw t9, -0x7f64(gp) | t9 = sym.imp.dbus_message_unref;
0x000014c0 lw a0, 0x44(sp) | a0 = *(var_44h);
0x000014c4 jalr t9 | t9 ();
0x000014c8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000014cc lw t9, -0x7f6c(gp) | t9 = sym.imp.dbus_error_free;
0x000014d0 lw a0, 0x30(sp) | a0 = *(var_30h);
0x000014d4 jalr t9 | t9 ();
0x000014d8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000014dc b 0x12ec | goto label_6;
| label_16:
0x000014e0 lw t9, -0x7f28(gp) | t9 = sym.imp.dbus_bus_get;
| if (s2 == 0) {
0x000014e4 beqz s2, 0xf30 | goto label_7;
| }
0x000014e8 lw v0, -0x7f48(gp) | v0 = *((gp - 8146));
| label_18:
0x000014ec lw a3, -0x7fd8(gp) | a3 = *((gp - 8182));
0x000014f0 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x000014f4 lw a0, (v0) | a0 = *(v0);
0x000014f8 lw t9, -0x7fa0(gp) | t9 = sym.imp.__fprintf_chk
0x000014fc addiu a3, a3, 0x1cc8 | a3 += str.dbus_update_activation_environment;
0x00001500 addiu a2, a2, 0x1f3c | a2 += str._s:_error:___all_cannot_be_used_with_VAR_or_VARVAL_arguments_n;
0x00001504 b 0x15d4 | goto label_34;
| label_33:
0x00001508 lw t9, -0x7f5c(gp) | t9 = sym.imp.dbus_message_get_args;
0x0000150c lw a1, 0x30(sp) | a1 = *(var_30h);
0x00001510 lw a0, 0x2c(sp) | a0 = *(var_2ch);
0x00001514 move a2, zero | a2 = 0;
0x00001518 jalr t9 | t9 ();
0x0000151c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00001520 beqz v0, 0x1474 | goto label_8;
| }
0x00001524 lw t9, -0x7f64(gp) | t9 = sym.imp.dbus_message_unref;
0x00001528 b 0x14b0 | goto label_9;
| label_31:
0x0000152c lw a0, -0x7fd8(gp) | a0 = *((gp - 8182));
0x00001530 lw t9, -0x7fd8(gp) | t9 = *((gp - 8182));
0x00001534 addiu t9, t9, 0x1810 | t9 += fcn.00001810;
0x00001538 addiu a0, a0, 0x2030 | a0 += str.systemd___user_not_found__ignoring___systemd_argument;
0x0000153c bal 0x1810 | fcn_00001810 ();
0x00001540 move s5, zero | s5 = 0;
0x00001544 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001548 sw zero, 0x44(sp) | *(var_44h) = 0;
0x0000154c b 0xfd0 | goto label_5;
| label_32:
0x00001550 lw v0, -0x7f48(gp) | v0 = *((gp - 8146));
0x00001554 lw a3, -0x7fd8(gp) | a3 = *((gp - 8182));
0x00001558 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000155c lw a0, (v0) | a0 = *(v0);
0x00001560 lw v0, 0x5c(sp) | v0 = *(var_5ch);
0x00001564 lw t9, -0x7fa0(gp) | t9 = sym.imp.__fprintf_chk
0x00001568 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0000156c lw v0, 0x58(sp) | v0 = *(var_58h);
0x00001570 addiu a3, a3, 0x1cc8 | a3 += str.dbus_update_activation_environment;
0x00001574 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00001578 addiu a2, a2, 0x2164 | a2 += str._s:_warning:_error_sending_to_systemd:__s:__s_n;
0x0000157c addiu a1, zero, 1 | a1 = 1;
0x00001580 jalr t9 | t9 ();
0x00001584 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001588 b 0x14bc | goto label_10;
| label_12:
0x0000158c move s1, s4 | s1 = s4;
0x00001590 move s5, zero | s5 = 0;
0x00001594 move s2, zero | s2 = 0;
0x00001598 b 0xf2c | goto label_11;
| label_13:
0x0000159c move s5, zero | s5 = 0;
0x000015a0 move s2, zero | s2 = 0;
0x000015a4 addiu s1, zero, 1 | s1 = 1;
0x000015a8 b 0xf2c | goto label_11;
| label_30:
0x000015ac lw t9, -0x7f60(gp) | t9 = sym.imp.__stack_chk_fail;
0x000015b0 jalr t9 | t9 ();
0x000015b4 nop |
| label_15:
0x000015b8 lw v0, -0x7f48(gp) | v0 = *((gp - 8146));
0x000015bc lw a3, -0x7fd8(gp) | a3 = *((gp - 8182));
0x000015c0 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x000015c4 lw a0, (v0) | a0 = *(v0);
0x000015c8 lw t9, -0x7fa0(gp) | t9 = sym.imp.__fprintf_chk
0x000015cc addiu a3, a3, 0x1cc8 | a3 += str.dbus_update_activation_environment;
0x000015d0 addiu a2, a2, 0x1d18 | a2 += str._1_s:_update_environment_variables_that_will_be_set_for_D_Bus_n____session_services_n_n_1_s__options__VAR_VAL___VAR2_VAL2__...__n____Add_specified_variables_to_D_Bus_activation_environment._n____If_omitted__values_are_taken_from_current_environment__n____variables_not_found_in_the_environment_are_ignored._n_1_s___all_n____Add_entire_current_environment_to_D_Bus_activation_n____environment._n_nOptions:_n_n__all_n____Upload_all_environment_variables._n__systemd_n____Also_update_the_systemd;
| label_34:
0x000015d4 addiu a1, zero, 1 | a1 = 1;
0x000015d8 jalr t9 | t9 ();
0x000015dc lw gp, 0x18(sp) | gp = *(var_18h);
0x000015e0 lw t9, -0x7f80(gp) | t9 = sym.imp.exit;
0x000015e4 addiu a0, zero, 0x40 | a0 = 0x40;
0x000015e8 jalr t9 | t9 ();
| label_28:
0x000015ec lw v0, -0x7f48(gp) | v0 = *((gp - 8146));
0x000015f0 lw a3, -0x7fd8(gp) | a3 = *((gp - 8182));
0x000015f4 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x000015f8 lw a0, (v0) | a0 = *(v0);
0x000015fc lw v0, 0x5c(sp) | v0 = *(var_5ch);
0x00001600 lw t9, -0x7fa0(gp) | t9 = sym.imp.__fprintf_chk
0x00001604 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00001608 lw v0, 0x58(sp) | v0 = *(var_58h);
0x0000160c addiu a3, a3, 0x1cc8 | a3 += str.dbus_update_activation_environment;
0x00001610 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00001614 addiu a2, a2, 0x2140 | a2 += str._s:_error_from_dbus_daemon:__s:__s_n;
| do {
0x00001618 addiu a1, zero, 1 | a1 = 1;
0x0000161c jalr t9 | t9 ();
0x00001620 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001624 lw t9, -0x7f80(gp) | t9 = sym.imp.exit;
0x00001628 addiu a0, zero, 0x45 | a0 = 0x45;
0x0000162c jalr t9 | t9 ();
| label_19:
0x00001630 lw v0, -0x7f48(gp) | v0 = *((gp - 8146));
0x00001634 lw a3, -0x7fd8(gp) | a3 = *((gp - 8182));
0x00001638 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x0000163c lw a0, (v0) | a0 = *(v0);
0x00001640 lw v0, 0x5c(sp) | v0 = *(var_5ch);
0x00001644 lw t9, -0x7fa0(gp) | t9 = sym.imp.__fprintf_chk
0x00001648 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000164c addiu a3, a3, 0x1cc8 | a3 += str.dbus_update_activation_environment;
0x00001650 addiu a2, a2, 0x1f7c | a2 += str._s:_error:_unable_to_connect_to_D_Bus:__s_n;
0x00001654 addiu a1, zero, 1 | a1 = 1;
0x00001658 jalr t9 | t9 ();
0x0000165c lw gp, 0x18(sp) | gp = *(var_18h);
0x00001660 lw t9, -0x7f80(gp) | t9 = sym.imp.exit;
0x00001664 addiu a0, zero, 0x47 | a0 = 0x47;
0x00001668 jalr t9 | t9 ();
| label_27:
0x0000166c lw v0, -0x7f48(gp) | v0 = *((gp - 8146));
0x00001670 lw a3, -0x7fd8(gp) | a3 = *((gp - 8182));
0x00001674 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x00001678 lw a0, (v0) | a0 = *(v0);
0x0000167c lw v0, 0x5c(sp) | v0 = *(var_5ch);
0x00001680 lw t9, -0x7fa0(gp) | t9 = sym.imp.__fprintf_chk
0x00001684 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00001688 lw v0, 0x58(sp) | v0 = *(var_58h);
0x0000168c addiu a3, a3, 0x1cc8 | a3 += str.dbus_update_activation_environment;
0x00001690 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00001694 addiu a2, a2, 0x2114 | a2 += str._s:_error_sending_to_dbus_daemon:__s:__s_n;
0x00001698 b 0x1618 |
| } while (1);
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/dbus-update-activation-environment @ 0x18f0 */
| #include <stdint.h>
|
; (fcn) sym.tool_oom () | void tool_oom () {
0x000018f0 lui gp, 2 |
0x000018f4 addiu gp, gp, -0x68e0 |
0x000018f8 addu gp, gp, t9 | gp += t9;
0x000018fc addiu sp, sp, -0x20 |
0x00001900 lw v0, -0x7f48(gp) | v0 = *((gp - 8146));
0x00001904 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x00001908 sw gp, 0x10(sp) | *(var_10h) = gp;
0x0000190c sw ra, 0x1c(sp) | *(var_1ch) = ra;
0x00001910 lw t9, -0x7fa0(gp) | t9 = sym.imp.__fprintf_chk
0x00001914 move a3, a0 | a3 = a0;
0x00001918 lw a0, (v0) | a0 = *(v0);
0x0000191c addiu a2, a2, 0x222c | a2 += str.OOM_while__s_n;
0x00001920 addiu a1, zero, 1 | a1 = 1;
0x00001924 jalr t9 | t9 ();
0x00001928 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000192c lw t9, -0x7f80(gp) | t9 = sym.imp.exit;
0x00001930 addiu a0, zero, 1 | a0 = 1;
0x00001934 jalr t9 | t9 ();
0x00001938 lui gp, 2 |
0x0000193c addiu gp, gp, -0x6928 |
0x00001940 addu gp, gp, t9 | gp += t9;
0x00001944 lw t9, -0x7f90(gp) | t9 = sym.imp.write;
| if (a2 == 0) {
0x00001948 beqz a2, 0x1a0c | goto label_1;
| }
0x0000194c addiu sp, sp, -0x30 |
0x00001950 sw s4, 0x28(sp) | *(var_28h) = s4;
0x00001954 sw s3, 0x24(sp) | *(var_24h) = s3;
0x00001958 sw s2, 0x20(sp) | *(var_20h) = s2;
0x0000195c sw s1, 0x1c(sp) | *(var_1ch_2) = s1;
0x00001960 sw s0, 0x18(sp) | *(var_18h) = s0;
0x00001964 sw gp, 0x10(sp) | *(var_10h_2) = gp;
0x00001968 sw ra, 0x2c(sp) | *(var_2ch) = ra;
0x0000196c move s2, a2 | s2 = a2;
0x00001970 move s3, a0 | s3 = a0;
0x00001974 move s1, a1 | s1 = a1;
0x00001978 move s0, zero | s0 = 0;
0x0000197c addiu s4, zero, 4 | s4 = 4;
| do {
0x00001980 subu a2, s2, s0 | __asm ("subu a2, s2, s0");
0x00001984 move a1, s1 | a1 = s1;
0x00001988 move a0, s3 | a0 = s3;
0x0000198c jalr t9 | t9 ();
0x00001990 lw gp, 0x10(sp) | gp = *(var_10h_2);
0x00001994 lw t9, -0x7f98(gp) | t9 = sym.imp.__errno_location;
| if (v0 < 0) {
0x00001998 bltz v0, 0x19d4 | goto label_2;
| }
0x0000199c addu s0, s0, v0 | s0 += v0;
0x000019a0 addu s1, s1, v0 | s1 += v0;
| label_0:
0x000019a4 sltu v0, s0, s2 | v0 = (s0 < s2) ? 1 : 0;
0x000019a8 lw t9, -0x7f90(gp) | t9 = sym.imp.write;
0x000019ac bnel v0, zero, 0x1980 |
| } while (v0 == 0);
0x000019b0 lw ra, 0x2c(sp) | ra = *(var_2ch);
0x000019b4 lw s4, 0x28(sp) | s4 = *(var_28h);
0x000019b8 lw s3, 0x24(sp) | s3 = *(var_24h);
0x000019bc lw s2, 0x20(sp) | s2 = *(var_20h);
0x000019c0 lw s1, 0x1c(sp) | s1 = *(var_1ch_2);
0x000019c4 lw s0, 0x18(sp) | s0 = *(var_18h);
0x000019c8 addiu v0, zero, 1 | v0 = 1;
0x000019cc addiu sp, sp, 0x30 |
0x000019d0 jr ra | return v0;
| label_2:
0x000019d4 jalr t9 | t9 ();
0x000019d8 nop |
0x000019dc lw v0, (v0) | v0 = *(v0);
0x000019e0 lw gp, 0x10(sp) | gp = *(var_10h_2);
| if (v0 == s4) {
0x000019e4 beq v0, s4, 0x19a4 | goto label_0;
| }
0x000019e8 lw ra, 0x2c(sp) | ra = *(var_2ch);
0x000019ec lw s4, 0x28(sp) | s4 = *(var_28h);
0x000019f0 lw s3, 0x24(sp) | s3 = *(var_24h);
0x000019f4 lw s2, 0x20(sp) | s2 = *(var_20h);
0x000019f8 lw s1, 0x1c(sp) | s1 = *(var_1ch_2);
0x000019fc lw s0, 0x18(sp) | s0 = *(var_18h);
0x00001a00 move v0, zero | v0 = 0;
0x00001a04 addiu sp, sp, 0x30 |
0x00001a08 jr ra | return v0;
| label_1:
0x00001a0c addiu v0, zero, 1 | v0 = 1;
0x00001a10 jr ra | return v0;
| }
[*] Function printf used 16 times dbus-update-activation-environment