[*] Binary protection state of ptod

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


[*] Function printf tear down of ptod

    ; assembly                           | /* r2dec pseudo code output */
                                         | /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/ptod @ 0x4c50 */
                                         | #include <stdint.h>
                                         |  
    ; (fcn) fcn.00004c50 ()              | void fcn_00004c50 () {
                                         | label_3:
    0x00004c50 lui gp, 2                 |     
    0x00004c54 addiu gp, gp, -0x5c40     |     
    0x00004c58 addu gp, gp, t9           |     gp += t9;
    0x00004c5c addiu sp, sp, -0x70       |     
    0x00004c60 lw t9, -0x7f94(gp)        |     t9 = sym.prioritized_text_get_type;
    0x00004c64 sw s5, 0x5c(sp)           |     *(var_5ch) = s5;
    0x00004c68 lw s5, -0x7ec4(gp)        |     s5 = *((gp - 8113));
    0x00004c6c sw ra, 0x6c(sp)           |     *(var_6ch) = ra;
    0x00004c70 sw gp, 0x20(sp)           |     *(var_20h) = gp;
    0x00004c74 lw v0, (s5)               |     v0 = *(s5);
    0x00004c78 sw fp, 0x68(sp)           |     *(var_68h) = fp;
    0x00004c7c sw s7, 0x64(sp)           |     *(var_64h) = s7;
    0x00004c80 sw s4, 0x58(sp)           |     *(var_58h) = s4;
    0x00004c84 sw s3, 0x54(sp)           |     *(var_54h) = s3;
    0x00004c88 sw a0, 0x2c(sp)           |     *(var_2ch) = a0;
    0x00004c8c sw s6, 0x60(sp)           |     *(var_60h) = s6;
    0x00004c90 sw s2, 0x50(sp)           |     *(var_50h) = s2;
    0x00004c94 sw s1, 0x4c(sp)           |     *(var_4ch) = s1;
    0x00004c98 sw s0, 0x48(sp)           |     *(var_48h) = s0;
    0x00004c9c sw v0, 0x44(sp)           |     *(var_44h) = v0;
    0x00004ca0 move s3, a3               |     s3 = a3;
    0x00004ca4 move fp, a2               |     fp = a2;
    0x00004ca8 move s7, a1               |     s7 = a1;
    0x00004cac bal 0x460c                |     sym_prioritized_text_get_type ();
    0x00004cb0 lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00004cb4 lw a0, 0x2c(sp)           |     a0 = *(var_2ch);
    0x00004cb8 lw t9, -0x7ee4(gp)        |     t9 = sym.imp.g_type_instance_get_private;
    0x00004cbc move a1, v0               |     a1 = v0;
    0x00004cc0 jalr t9                   |     t9 ();
    0x00004cc4 lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00004cc8 lw a0, (v0)               |     a0 = *(v0);
    0x00004ccc sw zero, (s3)             |     *(s3) = 0;
    0x00004cd0 lw t9, -0x7f8c(gp)        |     t9 = sym.prioritized_text_manager_get_overlay_internal_proxy;
    0x00004cd4 move s4, v0               |     s4 = v0;
    0x00004cd8 bal 0x2ed0                |     sym_prioritized_text_manager_get_overlay_internal_proxy ();
    0x00004cdc lw gp, 0x20(sp)           |     gp = *(var_20h);
                                         |     if (v0 == 0) {
    0x00004ce0 beqz v0, 0x4f84           |         goto label_7;
                                         |     }
    0x00004ce4 lw a3, -0x7fdc(gp)        |     a3 = *((gp - 8183));
    0x00004ce8 move s6, v0               |     s6 = v0;
    0x00004cec lw v0, 0x24(s4)           |     v0 = *((s4 + 9));
    0x00004cf0 lw t9, -0x7f1c(gp)        |     t9 = sym.imp.__sprintf_chk
    0x00004cf4 addiu s2, sp, 0x34        |     s2 = sp + 0x34;
    0x00004cf8 addiu a3, a3, 0x6830      |     a3 += 0x6830;
    0x00004cfc addiu a2, zero, 0x10      |     a2 = 0x10;
    0x00004d00 addiu a1, zero, 1         |     a1 = 1;
    0x00004d04 move a0, s2               |     a0 = s2;
    0x00004d08 sw v0, 0x10(sp)           |     *(var_68h_2) = v0;
    0x00004d0c jalr t9                   |     t9 ();
    0x00004d10 lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00004d14 lw a0, -0x7fdc(gp)        |     a0 = *((gp - 8183));
    0x00004d18 lw t9, -0x7e94(gp)        |     t9 = sym.imp.g_variant_type_checked_;
    0x00004d1c addiu a0, a0, 0x6834      |     a0 += str.ass;
    0x00004d20 jalr t9                   |     t9 ();
    0x00004d24 lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00004d28 lw t9, -0x7edc(gp)        |     t9 = sym.imp.g_variant_builder_new;
    0x00004d2c move a0, v0               |     a0 = v0;
    0x00004d30 jalr t9                   |     t9 ();
    0x00004d34 lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00004d38 move a0, v0               |     a0 = v0;
    0x00004d3c move a3, s2               |     a3 = s2;
    0x00004d40 lw s1, -0x7fdc(gp)        |     s1 = *((gp - 8183));
    0x00004d44 lw a2, -0x7fdc(gp)        |     a2 = *((gp - 8183));
    0x00004d48 lw t9, -0x7e0c(gp)        |     t9 = sym.imp.g_variant_builder_add;
    0x00004d4c addiu a2, a2, 0x683c      |     a2 += str.Camera;
    0x00004d50 addiu a1, s1, 0x6844      |     a1 = s1 + str.ss;
    0x00004d54 move s0, v0               |     s0 = v0;
    0x00004d58 jalr t9                   |     t9 ();
    0x00004d5c lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00004d60 move a0, s0               |     a0 = s0;
    0x00004d64 move a3, fp               |     a3 = fp;
    0x00004d68 lw a2, -0x7fdc(gp)        |     a2 = *((gp - 8183));
    0x00004d6c lw t9, -0x7e0c(gp)        |     t9 = sym.imp.g_variant_builder_add;
    0x00004d70 addiu a2, a2, 0x684c      |     a2 += str.Text;
    0x00004d74 addiu a1, s1, 0x6844      |     a1 = s1 + str.ss;
    0x00004d78 jalr t9                   |     t9 ();
    0x00004d7c lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00004d80 move a0, s0               |     a0 = s0;
    0x00004d84 addiu a1, s1, 0x6844      |     a1 = s1 + str.ss;
    0x00004d88 lw a3, -0x7fdc(gp)        |     a3 = *((gp - 8183));
    0x00004d8c lw a2, -0x7fdc(gp)        |     a2 = *((gp - 8183));
    0x00004d90 lw t9, -0x7e0c(gp)        |     t9 = sym.imp.g_variant_builder_add;
    0x00004d94 addiu a3, a3, 0x6854      |     a3 += str.topleft;
    0x00004d98 addiu a2, a2, 0x685c      |     a2 += str.Position;
    0x00004d9c jalr t9                   |     t9 ();
    0x00004da0 lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00004da4 move a0, s0               |     a0 = s0;
    0x00004da8 addiu a1, s1, 0x6844      |     a1 = s1 + str.ss;
    0x00004dac lw s2, -0x7fdc(gp)        |     s2 = *((gp - 8183));
    0x00004db0 lw a2, -0x7fdc(gp)        |     a2 = *((gp - 8183));
    0x00004db4 lw t9, -0x7e0c(gp)        |     t9 = sym.imp.g_variant_builder_add;
    0x00004db8 addiu a3, s2, 0x6868      |     a3 = s2 + 0x6868;
    0x00004dbc addiu a2, a2, 0x686c      |     a2 += str.TextColor;
    0x00004dc0 jalr t9                   |     t9 ();
    0x00004dc4 lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00004dc8 addiu a3, s2, 0x6868      |     a3 = s2 + 0x6868;
    0x00004dcc move a0, s0               |     a0 = s0;
    0x00004dd0 lw a2, -0x7fdc(gp)        |     a2 = *((gp - 8183));
    0x00004dd4 lw t9, -0x7e0c(gp)        |     t9 = sym.imp.g_variant_builder_add;
    0x00004dd8 addiu a2, a2, 0x6878      |     a2 += str.TextOLColor;
    0x00004ddc addiu a1, s1, 0x6844      |     a1 = s1 + str.ss;
    0x00004de0 jalr t9                   |     t9 ();
    0x00004de4 lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00004de8 move a1, s0               |     a1 = s0;
    0x00004dec lw a0, -0x7fdc(gp)        |     a0 = *((gp - 8183));
    0x00004df0 lw t9, -0x7f50(gp)        |     t9 = sym.imp.g_variant_new;
    0x00004df4 addiu a0, a0, 0x6884      |     a0 += str._ass_;
    0x00004df8 jalr t9                   |     t9 ();
    0x00004dfc lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00004e00 move a0, s0               |     a0 = s0;
    0x00004e04 lw t9, -0x7f44(gp)        |     t9 = sym.imp.g_variant_builder_unref;
    0x00004e08 move s0, v0               |     s0 = v0;
    0x00004e0c jalr t9                   |     t9 ();
    0x00004e10 lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00004e14 addiu v0, zero, -1        |     v0 = -1;
    0x00004e18 move a2, s0               |     a2 = s0;
    0x00004e1c lw a1, -0x7fdc(gp)        |     a1 = *((gp - 8183));
    0x00004e20 lw t9, -0x7e58(gp)        |     t9 = sym.imp.g_dbus_proxy_call_sync;
    0x00004e24 move a0, s6               |     a0 = s6;
    0x00004e28 sw s3, 0x18(sp)           |     *(var_70h) = s3;
    0x00004e2c sw zero, 0x14(sp)         |     *(var_6ch_2) = 0;
    0x00004e30 sw v0, 0x10(sp)           |     *(var_68h_2) = v0;
    0x00004e34 move a3, zero             |     a3 = 0;
    0x00004e38 addiu a1, a1, 0x688c      |     a1 += str.CreatePrioritizedTextOverlay;
    0x00004e3c jalr t9                   |     t9 ();
    0x00004e40 lw a0, (s3)               |     a0 = *(s3);
    0x00004e44 lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00004e48 move s0, v0               |     s0 = v0;
                                         |     if (a0 != 0) {
    0x00004e4c bnez a0, 0x4f04           |         goto label_8;
                                         |     }
    0x00004e50 lw a1, -0x7fdc(gp)        |     a1 = *((gp - 8183));
                                         |     if (v0 == 0) {
    0x00004e54 beqz v0, 0x4f58           |         goto label_9;
                                         |     }
    0x00004e58 lw t9, -0x7eac(gp)        |     t9 = sym.imp.g_variant_get;
    0x00004e5c addiu a2, sp, 0x30        |     a2 = sp + 0x30;
    0x00004e60 addiu a1, a1, 0x67f8      |     a1 += 0x67f8;
    0x00004e64 move a0, v0               |     a0 = v0;
    0x00004e68 jalr t9                   |     t9 ();
    0x00004e6c lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00004e70 lw t9, -0x7e30(gp)        |     t9 = sym.imp.g_strdup;
    0x00004e74 lw a0, 0x30(sp)           |     a0 = *(var_30h_2);
    0x00004e78 jalr t9                   |     t9 ();
    0x00004e7c lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00004e80 sw v0, 0x28(s4)           |     *((s4 + 10)) = v0;
    0x00004e84 lw v0, 0x30(sp)           |     v0 = *(var_30h_2);
    0x00004e88 lw a3, -0x7fdc(gp)        |     a3 = *((gp - 8183));
    0x00004e8c lw a2, -0x7fdc(gp)        |     a2 = *((gp - 8183));
    0x00004e90 lw t9, -0x7f4c(gp)        |     t9 = sym.imp.g_log;
    0x00004e94 sw v0, 0x14(sp)           |     *(var_6ch_2) = v0;
    0x00004e98 addiu a3, a3, 0x6318      |     a3 += 0x6318;
    0x00004e9c addiu a2, a2, 0x68ec      |     a2 += str._sadd_overlay__s____s;
    0x00004ea0 addiu a1, zero, 0x20      |     a1 = 0x20;
    0x00004ea4 move a0, zero             |     a0 = 0;
    0x00004ea8 sw s7, 0x10(sp)           |     *(var_68h_2) = s7;
    0x00004eac jalr t9                   |     t9 ();
    0x00004eb0 lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00004eb4 lw t9, -0x7ef4(gp)        |     t9 = sym.imp.g_variant_unref;
    0x00004eb8 move a0, s0               |     a0 = s0;
    0x00004ebc jalr t9                   |     t9 ();
    0x00004ec0 lw gp, 0x20(sp)           |     gp = *(var_20h);
    0x00004ec4 addiu v0, zero, 1         |     v0 = 1;
                                         |     do {
                                         | label_0:
    0x00004ec8 lw a0, 0x44(sp)           |         a0 = *(var_44h);
    0x00004ecc lw v1, (s5)               |         v1 = *(s5);
    0x00004ed0 lw ra, 0x6c(sp)           |         ra = *(var_6ch);
                                         |         if (a0 != v1) {
    0x00004ed4 bne a0, v1, 0x4f9c        |             goto label_10;
                                         |         }
    0x00004ed8 lw fp, 0x68(sp)           |         fp = *(var_68h);
    0x00004edc lw s7, 0x64(sp)           |         s7 = *(var_64h);
    0x00004ee0 lw s6, 0x60(sp)           |         s6 = *(var_60h);
    0x00004ee4 lw s5, 0x5c(sp)           |         s5 = *(var_5ch);
    0x00004ee8 lw s4, 0x58(sp)           |         s4 = *(var_58h);
    0x00004eec lw s3, 0x54(sp)           |         s3 = *(var_54h);
    0x00004ef0 lw s2, 0x50(sp)           |         s2 = *(var_50h);
    0x00004ef4 lw s1, 0x4c(sp)           |         s1 = *(var_4ch);
    0x00004ef8 lw s0, 0x48(sp)           |         s0 = *(var_48h);
    0x00004efc addiu sp, sp, 0x70        |         
    0x00004f00 jr ra                     |         return v1;
                                         | label_8:
    0x00004f04 lw t9, -0x7ed0(gp)        |         t9 = sym.imp.g_dbus_error_get_remote_error;
    0x00004f08 jalr t9                   |         t9 ();
    0x00004f0c nop                       |         
    0x00004f10 lw gp, 0x20(sp)           |         gp = *(var_20h);
    0x00004f14 sw v0, 0x10(sp)           |         *(var_68h_2) = v0;
    0x00004f18 addiu a1, zero, 0x100     |         a1 = aav.0x00000100;
    0x00004f1c lw a3, -0x7fdc(gp)        |         a3 = *((gp - 8183));
    0x00004f20 lw a2, -0x7fdc(gp)        |         a2 = *((gp - 8183));
    0x00004f24 lw t9, -0x7f4c(gp)        |         t9 = sym.imp.g_log;
    0x00004f28 addiu a3, a3, 0x6318      |         a3 += 0x6318;
    0x00004f2c addiu a2, a2, 0x68ac      |         a2 += str._sDBus_call_failed:__s;
    0x00004f30 move a0, zero             |         a0 = 0;
    0x00004f34 move s0, v0               |         s0 = v0;
    0x00004f38 jalr t9                   |         t9 ();
    0x00004f3c lw gp, 0x20(sp)           |         gp = *(var_20h);
    0x00004f40 lw t9, -0x7dfc(gp)        |         t9 = sym.imp.g_free;
    0x00004f44 move a0, s0               |         a0 = s0;
    0x00004f48 jalr t9                   |         t9 ();
    0x00004f4c lw gp, 0x20(sp)           |         gp = *(var_20h);
    0x00004f50 move v0, zero             |         v0 = 0;
    0x00004f54 b 0x4ec8                  |         
                                         |     } while (1);
                                         | label_9:
    0x00004f58 lw a3, -0x7fdc(gp)        |     a3 = *((gp - 8183));
    0x00004f5c lw a2, -0x7fdc(gp)        |     a2 = *((gp - 8183));
    0x00004f60 lw t9, -0x7f4c(gp)        |     t9 = sym.imp.g_log;
    0x00004f64 addiu a3, a3, 0x6318      |     a3 += 0x6318;
    0x00004f68 addiu a2, a2, 0x68c4      |     a2 += str._sDBus_call_failed:_no_result_returned;
                                         |     do {
    0x00004f6c addiu a1, zero, 0x100     |         a1 = aav.0x00000100;
    0x00004f70 move a0, zero             |         a0 = 0;
    0x00004f74 jalr t9                   |         t9 ();
    0x00004f78 lw gp, 0x20(sp)           |         gp = *(var_20h);
    0x00004f7c move v0, zero             |         v0 = 0;
    0x00004f80 b 0x4ec8                  |         goto label_0;
                                         | label_7:
    0x00004f84 lw a3, -0x7fdc(gp)        |         a3 = *((gp - 8183));
    0x00004f88 lw a2, -0x7fdc(gp)        |         a2 = *((gp - 8183));
    0x00004f8c lw t9, -0x7f4c(gp)        |         t9 = sym.imp.g_log;
    0x00004f90 addiu a3, a3, 0x6318      |         a3 += 0x6318;
    0x00004f94 addiu a2, a2, 0x67d4      |         a2 += str._sno_dbus_proxy;
    0x00004f98 b 0x4f6c                  |         
                                         |     } while (1);
                                         | label_10:
    0x00004f9c lw t9, -0x7ef0(gp)        |     t9 = sym.imp.__stack_chk_fail;
    0x00004fa0 jalr t9                   |     t9 ();
    0x00004fa4 nop                       |     
    0x00004fa8 lui gp, 2                 |     
    0x00004fac addiu gp, gp, -0x5f98     |     
    0x00004fb0 addu gp, gp, t9           |     gp += t9;
    0x00004fb4 addiu sp, sp, -0x58       |     
    0x00004fb8 sw s1, 0x38(sp)           |     *(var_38h) = s1;
    0x00004fbc lw s1, -0x7ec4(gp)        |     s1 = *((gp - 8113));
    0x00004fc0 sw s0, 0x34(sp)           |     *(var_34h) = s0;
    0x00004fc4 lw s0, -0x7f94(gp)        |     s0 = sym.prioritized_text_get_type;
    0x00004fc8 lw v0, (s1)               |     v0 = *(s1);
    0x00004fcc sw ra, 0x54(sp)           |     *(var_54h_2) = ra;
    0x00004fd0 sw gp, 0x18(sp)           |     *(var_18h) = gp;
    0x00004fd4 sw s7, 0x50(sp)           |     *(var_50h_2) = s7;
    0x00004fd8 sw s6, 0x4c(sp)           |     *(var_4ch_2) = s6;
    0x00004fdc sw s5, 0x48(sp)           |     *(var_48h_2) = s5;
    0x00004fe0 sw s4, 0x44(sp)           |     *(var_44h_2) = s4;
    0x00004fe4 sw s3, 0x40(sp)           |     *(var_40h) = s3;
    0x00004fe8 sw s2, 0x3c(sp)           |     *(var_3ch) = s2;
    0x00004fec move t9, s0               |     t9 = s0;
    0x00004ff0 sw v0, 0x2c(sp)           |     *(var_2ch_2) = v0;
    0x00004ff4 move s2, a2               |     s2 = a2;
    0x00004ff8 move s5, a3               |     s5 = a3;
    0x00004ffc lw s3, 0x74(sp)           |     s3 = *(var_74h);
    0x00005000 lw s6, 0x68(sp)           |     s6 = *(var_68h_2);
    0x00005004 lw s7, 0x6c(sp)           |     s7 = *(var_6ch_2);
    0x00005008 lw s4, 0x70(sp)           |     s4 = *(var_70h);
    0x0000500c bal 0x460c                |     sym_prioritized_text_get_type ();
    0x00005010 lw gp, 0x18(sp)           |     gp = *(var_18h);
    0x00005014 move a0, s3               |     a0 = s3;
    0x00005018 lw t9, -0x7ee8(gp)        |     t9 = sym.imp.g_type_check_instance_cast;
    0x0000501c move a1, v0               |     a1 = v0;
    0x00005020 jalr t9                   |     t9 ();
    0x00005024 move t9, s0               |     t9 = s0;
    0x00005028 move s3, v0               |     s3 = v0;
    0x0000502c bal 0x460c                |     sym_prioritized_text_get_type ();
    0x00005030 lw gp, 0x18(sp)           |     gp = *(var_18h);
    0x00005034 move a1, v0               |     a1 = v0;
    0x00005038 lw t9, -0x7ee4(gp)        |     t9 = sym.imp.g_type_instance_get_private;
    0x0000503c move a0, s3               |     a0 = s3;
    0x00005040 jalr t9                   |     t9 ();
    0x00005044 lw gp, 0x18(sp)           |     gp = *(var_18h);
    0x00005048 lw a1, 0x18(v0)           |     a1 = *((v0 + 6));
    0x0000504c lw t9, -0x7e28(gp)        |     t9 = sym.imp.g_strcmp0;
    0x00005050 move a0, s2               |     a0 = s2;
    0x00005054 jalr t9                   |     t9 ();
    0x00005058 lw gp, 0x18(sp)           |     gp = *(var_18h);
                                         |     if (v0 == 0) {
    0x0000505c beqz v0, 0x50cc           |         goto label_11;
                                         |     }
    0x00005060 lw t9, -0x7fa4(gp)        |     t9 = sym.ptod_error_quark;
    0x00005064 bal 0x2390                |     sym_ptod_error_quark ();
    0x00005068 nop                       |     
    0x0000506c lw gp, 0x18(sp)           |     gp = *(var_18h);
    0x00005070 sw s2, 0x10(sp)           |     *(var_10h) = s2;
    0x00005074 lw a3, -0x7fdc(gp)        |     a3 = *((gp - 8183));
    0x00005078 lw t9, -0x7f54(gp)        |     t9 = sym.imp.g_dbus_method_invocation_return_error;
    0x0000507c addiu a3, a3, 0x6904      |     a3 += str.Object_path_not_recognized:__s;
                                         |     do {
                                         | label_2:
    0x00005080 addiu a2, zero, 1         |         a2 = 1;
    0x00005084 move a1, v0               |         a1 = v0;
    0x00005088 move a0, s4               |         a0 = s4;
    0x0000508c jalr t9                   |         t9 ();
    0x00005090 lw gp, 0x18(sp)           |         gp = *(var_18h);
                                         | label_1:
    0x00005094 lw v1, 0x2c(sp)           |         v1 = *(var_2ch_2);
    0x00005098 lw v0, (s1)               |         v0 = *(s1);
    0x0000509c lw ra, 0x54(sp)           |         ra = *(var_54h_2);
                                         |         if (v1 != v0) {
    0x000050a0 bne v1, v0, 0x5590        |             goto label_12;
                                         |         }
    0x000050a4 lw s7, 0x50(sp)           |         s7 = *(var_50h_2);
    0x000050a8 lw s6, 0x4c(sp)           |         s6 = *(var_4ch_2);
    0x000050ac lw s5, 0x48(sp)           |         s5 = *(var_48h_2);
    0x000050b0 lw s4, 0x44(sp)           |         s4 = *(var_44h_2);
    0x000050b4 lw s3, 0x40(sp)           |         s3 = *(var_40h);
    0x000050b8 lw s2, 0x3c(sp)           |         s2 = *(var_3ch);
    0x000050bc lw s1, 0x38(sp)           |         s1 = *(var_38h);
    0x000050c0 lw s0, 0x34(sp)           |         s0 = *(var_34h);
    0x000050c4 addiu sp, sp, 0x58        |         
    0x000050c8 jr ra                     |         return v1;
                                         | label_11:
    0x000050cc lw a1, -0x7fdc(gp)        |         a1 = *((gp - 8183));
    0x000050d0 lw t9, -0x7e28(gp)        |         t9 = sym.imp.g_strcmp0;
    0x000050d4 addiu a1, a1, 0x6628      |         a1 += str.com.axis.PrioritizedTextOverlay;
    0x000050d8 move a0, s5               |         a0 = s5;
    0x000050dc jalr t9                   |         t9 ();
    0x000050e0 lw gp, 0x18(sp)           |         gp = *(var_18h);
                                         |         if (v0 == 0) {
    0x000050e4 beqz v0, 0x510c           |             goto label_13;
                                         |         }
    0x000050e8 lw t9, -0x7fa4(gp)        |         t9 = sym.ptod_error_quark;
    0x000050ec bal 0x2390                |         sym_ptod_error_quark ();
    0x000050f0 nop                       |         
    0x000050f4 lw gp, 0x18(sp)           |         gp = *(var_18h);
    0x000050f8 sw s5, 0x10(sp)           |         *(var_10h) = s5;
    0x000050fc lw a3, -0x7fdc(gp)        |         a3 = *((gp - 8183));
    0x00005100 lw t9, -0x7f54(gp)        |         t9 = sym.imp.g_dbus_method_invocation_return_error;
    0x00005104 addiu a3, a3, 0x6924      |         a3 += str.Interface_not_recognized:__s;
    0x00005108 b 0x5080                  |         
                                         |     } while (1);
                                         | label_13:
    0x0000510c lw a1, -0x7fdc(gp)        |     a1 = *((gp - 8183));
    0x00005110 lw t9, -0x7e28(gp)        |     t9 = sym.imp.g_strcmp0;
    0x00005114 addiu a1, a1, 0x6944      |     a1 += 0x6944;
    0x00005118 move a0, s6               |     a0 = s6;
    0x0000511c jalr t9                   |     t9 ();
    0x00005120 lw gp, 0x18(sp)           |     gp = *(var_18h);
                                         |     if (v0 == 0) {
    0x00005124 bnez v0, 0x5218           |         
    0x00005128 move t9, s0               |         t9 = s0;
    0x0000512c bal 0x460c                |         sym_prioritized_text_get_type ();
    0x00005130 nop                       |         
    0x00005134 lw gp, 0x18(sp)           |         gp = *(var_18h);
    0x00005138 move a1, v0               |         a1 = v0;
    0x0000513c lw t9, -0x7ee4(gp)        |         t9 = sym.imp.g_type_instance_get_private;
    0x00005140 move a0, s3               |         a0 = s3;
    0x00005144 jalr t9                   |         t9 ();
    0x00005148 lw gp, 0x18(sp)           |         gp = *(var_18h);
    0x0000514c addiu a3, sp, 0x24        |         a3 = sp + 0x24;
    0x00005150 addiu a2, sp, 0x20        |         a2 = sp + 0x20;
    0x00005154 lw a1, -0x7fdc(gp)        |         a1 = *((gp - 8183));
    0x00005158 lw t9, -0x7eac(gp)        |         t9 = sym.imp.g_variant_get;
    0x0000515c addiu a1, a1, 0x6948      |         a1 += str._su_;
    0x00005160 move a0, s7               |         a0 = s7;
    0x00005164 sw zero, 0x20(sp)         |         *(var_20h_4) = 0;
    0x00005168 sw zero, 0x28(sp)         |         *(var_28h_3) = 0;
    0x0000516c move s0, v0               |         s0 = v0;
    0x00005170 jalr t9                   |         t9 ();
    0x00005174 lw a1, 0x20(sp)           |         a1 = *(var_20h_4);
    0x00005178 lw gp, 0x18(sp)           |         gp = *(var_18h);
                                         |         if (a1 == 0) {
    0x0000517c beqz a1, 0x54b4           |             goto label_14;
                                         |         }
    0x00005180 lw t9, -0x7f88(gp)        |         t9 = sym.message_list_add_message;
    0x00005184 lw a2, 0x24(sp)           |         a2 = *(var_24h_2);
    0x00005188 lw a0, 4(s0)              |         a0 = *((s0 + 1));
    0x0000518c addiu a3, sp, 0x28        |         a3 = sp + 0x28;
    0x00005190 bal 0x3eac                |         sym_message_list_add_message ();
    0x00005194 lw gp, 0x18(sp)           |         gp = *(var_18h);
                                         |         if (v0 == 0) {
    0x00005198 beqz v0, 0x5484           |             goto label_15;
                                         |         }
    0x0000519c lw t9, -0x7f3c(gp)        |         t9 = sym.imp.g_dbus_method_invocation_return_value;
    0x000051a0 move a1, zero             |         a1 = 0;
    0x000051a4 move a0, s4               |         a0 = s4;
    0x000051a8 jalr t9                   |         t9 ();
    0x000051ac lw gp, 0x18(sp)           |         gp = *(var_18h);
                                         | label_5:
    0x000051b0 lw v0, 0x28(sp)           |         v0 = *(var_28h_3);
    0x000051b4 lw a3, -0x7fdc(gp)        |         a3 = *((gp - 8183));
                                         |         if (v0 != 0) {
    0x000051b8 beqz v0, 0x51f4           |             
    0x000051bc lw v0, 8(v0)              |             v0 = *((v0 + 2));
    0x000051c0 lw a2, -0x7fdc(gp)        |             a2 = *((gp - 8183));
    0x000051c4 lw t9, -0x7f4c(gp)        |             t9 = sym.imp.g_log;
    0x000051c8 addiu a3, a3, 0x6318      |             a3 += 0x6318;
    0x000051cc addiu a2, a2, 0x6424      |             a2 += str._s_s;
    0x000051d0 addiu a1, zero, 0x10      |             a1 = 0x10;
    0x000051d4 move a0, zero             |             a0 = 0;
    0x000051d8 sw v0, 0x10(sp)           |             *(var_10h) = v0;
    0x000051dc jalr t9                   |             t9 ();
    0x000051e0 lw gp, 0x18(sp)           |             gp = *(var_18h);
    0x000051e4 lw t9, -0x7f24(gp)        |             t9 = sym.imp.g_error_free;
    0x000051e8 lw a0, 0x28(sp)           |             a0 = *(var_28h_3);
    0x000051ec jalr t9                   |             t9 ();
    0x000051f0 lw gp, 0x18(sp)           |             gp = *(var_18h);
                                         |         }
    0x000051f4 lw t9, -0x7dfc(gp)        |         t9 = sym.imp.g_free;
    0x000051f8 lw a0, 0x20(sp)           |         a0 = *(var_20h_4);
    0x000051fc jalr t9                   |         t9 ();
    0x00005200 lw gp, 0x18(sp)           |         gp = *(var_18h);
    0x00005204 lw t9, -0x7dfc(gp)        |         t9 = sym.imp.g_free;
    0x00005208 move a0, zero             |         a0 = 0;
    0x0000520c jalr t9                   |         t9 ();
    0x00005210 lw gp, 0x18(sp)           |         gp = *(var_18h);
    0x00005214 b 0x5094                  |         goto label_1;
                                         |     }
    0x00005218 lw a1, -0x7fdc(gp)        |     a1 = *((gp - 8183));
    0x0000521c lw t9, -0x7e28(gp)        |     t9 = sym.imp.g_strcmp0;
    0x00005220 addiu a1, a1, 0x6978      |     a1 += str.Unset;
    0x00005224 move a0, s6               |     a0 = s6;
    0x00005228 jalr t9                   |     t9 ();
    0x0000522c lw gp, 0x18(sp)           |     gp = *(var_18h);
                                         |     if (v0 != 0) {
    0x00005230 bnez v0, 0x52fc           |         goto label_16;
                                         |     }
    0x00005234 move t9, s0               |     t9 = s0;
    0x00005238 addiu s0, sp, 0x20        |     s0 = sp + 0x20;
    0x0000523c bal 0x460c                |     sym_prioritized_text_get_type ();
    0x00005240 lw gp, 0x18(sp)           |     gp = *(var_18h);
    0x00005244 move a1, v0               |     a1 = v0;
    0x00005248 lw t9, -0x7ee4(gp)        |     t9 = sym.imp.g_type_instance_get_private;
    0x0000524c move a0, s3               |     a0 = s3;
    0x00005250 jalr t9                   |     t9 ();
    0x00005254 lw gp, 0x18(sp)           |     gp = *(var_18h);
    0x00005258 move a2, s0               |     a2 = s0;
    0x0000525c move a0, s7               |     a0 = s7;
    0x00005260 lw a1, -0x7fdc(gp)        |     a1 = *((gp - 8183));
    0x00005264 lw t9, -0x7eac(gp)        |     t9 = sym.imp.g_variant_get;
    0x00005268 addiu a1, a1, 0x6980      |     a1 += 0x6980;
    0x0000526c sw zero, 0x20(sp)         |     *(var_20h_4) = 0;
    0x00005270 sw zero, 0x24(sp)         |     *(var_24h_2) = 0;
    0x00005274 sw zero, 0x28(sp)         |     *(var_28h_3) = 0;
    0x00005278 move s2, v0               |     s2 = v0;
    0x0000527c jalr t9                   |     t9 ();
    0x00005280 lw gp, 0x18(sp)           |     gp = *(var_18h);
    0x00005284 lw a1, 0x20(sp)           |     a1 = *(var_20h_4);
    0x00005288 lw a0, 4(s2)              |     a0 = *((s2 + 1));
    0x0000528c lw t9, -0x7f9c(gp)        |     t9 = sym.message_list_remove_message;
    0x00005290 move a2, zero             |     a2 = 0;
    0x00005294 bal 0x3ca4                |     sym_message_list_remove_message ();
    0x00005298 lw gp, 0x18(sp)           |     gp = *(var_18h);
    0x0000529c addiu s5, sp, 0x28        |     s5 = sp + 0x28;
    0x000052a0 move a1, s5               |     a1 = s5;
    0x000052a4 lw t9, -0x7fdc(gp)        |     t9 = *((gp - 8183));
    0x000052a8 addiu t9, t9, 0x4a50      |     t9 += fcn.00004a50;
    0x000052ac move a0, s3               |     a0 = s3;
    0x000052b0 bal 0x4a50                |     fcn_00004a50 ();
    0x000052b4 lw v0, 0x28(sp)           |     v0 = *(var_28h_3);
    0x000052b8 lw gp, 0x18(sp)           |     gp = *(var_18h);
                                         |     if (v0 == 0) {
    0x000052bc beqz v0, 0x5414           |         goto label_17;
                                         |     }
                                         | label_4:
    0x000052c0 lw t9, -0x7dfc(gp)        |     t9 = sym.imp.g_free;
    0x000052c4 lw a0, 0x24(sp)           |     a0 = *(var_24h_2);
    0x000052c8 jalr t9                   |     t9 ();
    0x000052cc lw gp, 0x18(sp)           |     gp = *(var_18h);
    0x000052d0 lw t9, -0x7dfc(gp)        |     t9 = sym.imp.g_free;
    0x000052d4 lw a0, 0x20(sp)           |     a0 = *(var_20h_4);
    0x000052d8 jalr t9                   |     t9 ();
    0x000052dc lw a0, 0x28(sp)           |     a0 = *(var_28h_3);
    0x000052e0 lw gp, 0x18(sp)           |     gp = *(var_18h);
                                         |     if (a0 == 0) {
    0x000052e4 beqz a0, 0x5094           |         goto label_1;
                                         |     }
    0x000052e8 lw t9, -0x7f24(gp)        |     t9 = sym.imp.g_error_free;
    0x000052ec jalr t9                   |     t9 ();
    0x000052f0 nop                       |     
    0x000052f4 lw gp, 0x18(sp)           |     gp = *(var_18h);
    0x000052f8 b 0x5094                  |     goto label_1;
                                         | label_16:
    0x000052fc lw a1, -0x7fdc(gp)        |     a1 = *((gp - 8183));
    0x00005300 lw t9, -0x7e28(gp)        |     t9 = sym.imp.g_strcmp0;
    0x00005304 addiu a1, a1, 0x6984      |     a1 += str.Validate;
    0x00005308 move a0, s6               |     a0 = s6;
    0x0000530c jalr t9                   |     t9 ();
    0x00005310 lw gp, 0x18(sp)           |     gp = *(var_18h);
                                         |     if (v0 != 0) {
    0x00005314 bnez v0, 0x53f0           |         goto label_18;
                                         |     }
    0x00005318 move t9, s0               |     t9 = s0;
    0x0000531c bal 0x460c                |     sym_prioritized_text_get_type ();
    0x00005320 nop                       |     
    0x00005324 lw gp, 0x18(sp)           |     gp = *(var_18h);
    0x00005328 move a1, v0               |     a1 = v0;
    0x0000532c lw t9, -0x7ee4(gp)        |     t9 = sym.imp.g_type_instance_get_private;
    0x00005330 move a0, s3               |     a0 = s3;
    0x00005334 jalr t9                   |     t9 ();
    0x00005338 lw gp, 0x18(sp)           |     gp = *(var_18h);
    0x0000533c addiu a2, sp, 0x24        |     a2 = sp + 0x24;
    0x00005340 move a0, s7               |     a0 = s7;
    0x00005344 lw a1, -0x7fdc(gp)        |     a1 = *((gp - 8183));
    0x00005348 lw t9, -0x7eac(gp)        |     t9 = sym.imp.g_variant_get;
    0x0000534c addiu a1, a1, 0x6980      |     a1 += 0x6980;
    0x00005350 sw zero, 0x24(sp)         |     *(var_24h_2) = 0;
    0x00005354 sw zero, 0x28(sp)         |     *(var_28h_3) = 0;
    0x00005358 move s0, v0               |     s0 = v0;
    0x0000535c jalr t9                   |     t9 ();
    0x00005360 lw a1, 0x24(sp)           |     a1 = *(var_24h_2);
    0x00005364 lw gp, 0x18(sp)           |     gp = *(var_18h);
                                         |     if (a1 == 0) {
    0x00005368 beqz a1, 0x551c           |         goto label_19;
                                         |     }
    0x0000536c lw t9, -0x7f84(gp)        |     t9 = sym.message_list_validate_message_id;
    0x00005370 lw a0, 4(s0)              |     a0 = *((s0 + 1));
    0x00005374 addiu a2, sp, 0x28        |     a2 = sp + 0x28;
    0x00005378 bal 0x42d4                |     sym_message_list_validate_message_id ();
    0x0000537c lw gp, 0x18(sp)           |     gp = *(var_18h);
                                         |     if (v0 == 0) {
    0x00005380 beqz v0, 0x54e8           |         goto label_20;
                                         |     }
    0x00005384 lw t9, -0x7f3c(gp)        |     t9 = sym.imp.g_dbus_method_invocation_return_value;
    0x00005388 move a1, zero             |     a1 = 0;
    0x0000538c move a0, s4               |     a0 = s4;
    0x00005390 jalr t9                   |     t9 ();
    0x00005394 lw gp, 0x18(sp)           |     gp = *(var_18h);
                                         |     do {
                                         | label_6:
    0x00005398 lw v0, 0x28(sp)           |         v0 = *(var_28h_3);
    0x0000539c lw a3, -0x7fdc(gp)        |         a3 = *((gp - 8183));
                                         |         if (v0 != 0) {
    0x000053a0 beqz v0, 0x53dc           |             
    0x000053a4 lw v0, 8(v0)              |             v0 = *((v0 + 2));
    0x000053a8 lw a2, -0x7fdc(gp)        |             a2 = *((gp - 8183));
    0x000053ac lw t9, -0x7f4c(gp)        |             t9 = sym.imp.g_log;
    0x000053b0 addiu a3, a3, 0x6318      |             a3 += 0x6318;
    0x000053b4 addiu a2, a2, 0x6424      |             a2 += str._s_s;
    0x000053b8 addiu a1, zero, 0x10      |             a1 = 0x10;
    0x000053bc move a0, zero             |             a0 = 0;
    0x000053c0 sw v0, 0x10(sp)           |             *(var_10h) = v0;
    0x000053c4 jalr t9                   |             t9 ();
    0x000053c8 lw gp, 0x18(sp)           |             gp = *(var_18h);
    0x000053cc lw t9, -0x7f24(gp)        |             t9 = sym.imp.g_error_free;
    0x000053d0 lw a0, 0x28(sp)           |             a0 = *(var_28h_3);
    0x000053d4 jalr t9                   |             t9 ();
    0x000053d8 lw gp, 0x18(sp)           |             gp = *(var_18h);
                                         |         }
    0x000053dc lw t9, -0x7dfc(gp)        |         t9 = sym.imp.g_free;
    0x000053e0 lw a0, 0x24(sp)           |         a0 = *(var_24h_2);
    0x000053e4 jalr t9                   |         t9 ();
    0x000053e8 lw gp, 0x18(sp)           |         gp = *(var_18h);
    0x000053ec b 0x5094                  |         goto label_1;
                                         | label_18:
    0x000053f0 lw t9, -0x7fa4(gp)        |         t9 = sym.ptod_error_quark;
    0x000053f4 bal 0x2390                |         sym_ptod_error_quark ();
    0x000053f8 nop                       |         
    0x000053fc lw gp, 0x18(sp)           |         gp = *(var_18h);
    0x00005400 sw s6, 0x10(sp)           |         *(var_10h) = s6;
    0x00005404 lw a3, -0x7fdc(gp)        |         a3 = *((gp - 8183));
    0x00005408 lw t9, -0x7f54(gp)        |         t9 = sym.imp.g_dbus_method_invocation_return_error;
    0x0000540c addiu a3, a3, 0x69b8      |         a3 += str.Method_not_recognized:__s;
    0x00005410 b 0x5080                  |         goto label_2;
                                         | label_17:
    0x00005414 lw t9, -0x7dfc(gp)        |         t9 = sym.imp.g_free;
    0x00005418 lw a0, 0x20(sp)           |         a0 = *(var_20h_4);
    0x0000541c jalr t9                   |         t9 ();
    0x00005420 lw gp, 0x18(sp)           |         gp = *(var_18h);
    0x00005424 lw a0, 4(s2)              |         a0 = *((s2 + 1));
    0x00005428 move a3, zero             |         a3 = 0;
    0x0000542c lw t9, -0x7f80(gp)        |         t9 = sym.message_list_get_next_message;
    0x00005430 addiu a2, sp, 0x24        |         a2 = sp + 0x24;
    0x00005434 move a1, s0               |         a1 = s0;
    0x00005438 sw zero, 0x20(sp)         |         *(var_20h_4) = 0;
    0x0000543c bal 0x4190                |         sym_message_list_get_next_message ();
    0x00005440 lw gp, 0x18(sp)           |         gp = *(var_18h);
                                         |         if (v0 != 0) {
    0x00005444 beqz v0, 0x546c           |             
    0x00005448 lw t9, -0x7fdc(gp)        |             t9 = *((gp - 8183));
    0x0000544c lw a2, 0x24(sp)           |             a2 = *(var_24h_2);
    0x00005450 lw a1, 0x20(sp)           |             a1 = *(var_20h_4);
    0x00005454 move a3, s5               |             a3 = s5;
    0x00005458 addiu t9, t9, 0x4c50      |             t9 += fcn.00004c50;
    0x0000545c move a0, s3               |             a0 = s3;
    0x00005460 bal 0x4c50                |             fcn_00004c50 ();
                                         |             goto label_3;
    0x00005464 lw gp, 0x18(sp)           |             gp = *(var_18h);
                                         |             if (v0 == 0) {
    0x00005468 beqz v0, 0x5550           |                 goto label_21;
                                         |             }
                                         |         }
    0x0000546c lw t9, -0x7f3c(gp)        |         t9 = sym.imp.g_dbus_method_invocation_return_value;
    0x00005470 move a1, zero             |         a1 = 0;
    0x00005474 move a0, s4               |         a0 = s4;
    0x00005478 jalr t9                   |         t9 ();
    0x0000547c lw gp, 0x18(sp)           |         gp = *(var_18h);
    0x00005480 b 0x52c0                  |         goto label_4;
                                         | label_15:
    0x00005484 lw v0, 0x28(sp)           |         v0 = *(var_28h_3);
    0x00005488 lw a3, -0x7fdc(gp)        |         a3 = *((gp - 8183));
    0x0000548c lw t9, -0x7f54(gp)        |         t9 = sym.imp.g_dbus_method_invocation_return_error;
    0x00005490 lw a2, 4(v0)              |         a2 = *((v0 + 1));
    0x00005494 lw a1, (v0)               |         a1 = *(v0);
    0x00005498 lw v0, 8(v0)              |         v0 = *((v0 + 2));
    0x0000549c addiu a3, a3, 0x68c0      |         a3 += 0x68c0;
    0x000054a0 sw v0, 0x10(sp)           |         *(var_10h) = v0;
    0x000054a4 move a0, s4               |         a0 = s4;
    0x000054a8 jalr t9                   |         t9 ();
    0x000054ac lw gp, 0x18(sp)           |         gp = *(var_18h);
    0x000054b0 b 0x51b0                  |         goto label_5;
                                         | label_14:
    0x000054b4 lw t9, -0x7fa4(gp)        |         t9 = sym.ptod_error_quark;
    0x000054b8 bal 0x2390                |         sym_ptod_error_quark ();
    0x000054bc nop                       |         
    0x000054c0 lw gp, 0x18(sp)           |         gp = *(var_18h);
    0x000054c4 addiu a2, zero, 2         |         a2 = 2;
    0x000054c8 move a1, v0               |         a1 = v0;
    0x000054cc lw a3, -0x7fdc(gp)        |         a3 = *((gp - 8183));
    0x000054d0 lw t9, -0x7f54(gp)        |         t9 = sym.imp.g_dbus_method_invocation_return_error;
    0x000054d4 addiu a3, a3, 0x6950      |         a3 += str.Unable_to_extract_message_form_request;
    0x000054d8 move a0, s4               |         a0 = s4;
    0x000054dc jalr t9                   |         t9 ();
    0x000054e0 lw gp, 0x18(sp)           |         gp = *(var_18h);
    0x000054e4 b 0x51b0                  |         goto label_5;
                                         | label_20:
    0x000054e8 lw t9, -0x7fa4(gp)        |         t9 = sym.ptod_error_quark;
    0x000054ec bal 0x2390                |         sym_ptod_error_quark ();
    0x000054f0 nop                       |         
    0x000054f4 lw gp, 0x18(sp)           |         gp = *(var_18h);
    0x000054f8 addiu a2, zero, 4         |         a2 = 4;
    0x000054fc move a1, v0               |         a1 = v0;
    0x00005500 lw a3, -0x7fdc(gp)        |         a3 = *((gp - 8183));
    0x00005504 lw t9, -0x7f54(gp)        |         t9 = sym.imp.g_dbus_method_invocation_return_error;
    0x00005508 addiu a3, a3, 0x6990      |         a3 += str.Message_id_not_found_in_configurations;
    0x0000550c move a0, s4               |         a0 = s4;
    0x00005510 jalr t9                   |         t9 ();
    0x00005514 lw gp, 0x18(sp)           |         gp = *(var_18h);
    0x00005518 b 0x5398                  |         
                                         |     } while (1);
                                         | label_19:
    0x0000551c lw t9, -0x7fa4(gp)        |     t9 = sym.ptod_error_quark;
    0x00005520 bal 0x2390                |     sym_ptod_error_quark ();
    0x00005524 nop                       |     
    0x00005528 lw gp, 0x18(sp)           |     gp = *(var_18h);
    0x0000552c addiu a2, zero, 2         |     a2 = 2;
    0x00005530 move a1, v0               |     a1 = v0;
    0x00005534 lw a3, -0x7fdc(gp)        |     a3 = *((gp - 8183));
    0x00005538 lw t9, -0x7f54(gp)        |     t9 = sym.imp.g_dbus_method_invocation_return_error;
    0x0000553c addiu a3, a3, 0x6950      |     a3 += str.Unable_to_extract_message_form_request;
    0x00005540 move a0, s4               |     a0 = s4;
    0x00005544 jalr t9                   |     t9 ();
    0x00005548 lw gp, 0x18(sp)           |     gp = *(var_18h);
    0x0000554c b 0x5398                  |     goto label_6;
                                         | label_21:
    0x00005550 lw t9, -0x7fa4(gp)        |     t9 = sym.ptod_error_quark;
    0x00005554 bal 0x2390                |     sym_ptod_error_quark ();
    0x00005558 nop                       |     
    0x0000555c lw gp, 0x18(sp)           |     gp = *(var_18h);
    0x00005560 lw v1, 0x28(sp)           |     v1 = *(var_28h_3);
    0x00005564 addiu a2, zero, 1         |     a2 = 1;
    0x00005568 lw a3, -0x7fdc(gp)        |     a3 = *((gp - 8183));
    0x0000556c lw v1, 8(v1)              |     v1 = *((v1 + 2));
    0x00005570 lw t9, -0x7f54(gp)        |     t9 = sym.imp.g_dbus_method_invocation_return_error;
    0x00005574 addiu a3, a3, 0x68c0      |     a3 += 0x68c0;
    0x00005578 sw v1, 0x10(sp)           |     *(var_10h) = v1;
    0x0000557c move a1, v0               |     a1 = v0;
    0x00005580 move a0, s4               |     a0 = s4;
    0x00005584 jalr t9                   |     t9 ();
    0x00005588 lw gp, 0x18(sp)           |     gp = *(var_18h);
    0x0000558c b 0x52c0                  |     goto label_4;
                                         | label_12:
    0x00005590 lw t9, -0x7ef0(gp)        |     t9 = sym.imp.__stack_chk_fail;
    0x00005594 jalr t9                   |     t9 ();
    0x00005598 nop                       |     
    0x0000559c lui gp, 2                 |     
    0x000055a0 addiu gp, gp, -0x658c     |     
    0x000055a4 addu gp, gp, t9           |     gp += t9;
    0x000055a8 addiu sp, sp, -0x48       |     
    0x000055ac sw s1, 0x38(sp)           |     *(var_38h_2) = s1;
    0x000055b0 lw s1, -0x7ec4(gp)        |     s1 = *((gp - 8113));
    0x000055b4 sw s2, 0x3c(sp)           |     *(var_3ch_2) = s2;
    0x000055b8 lw s2, -0x7f94(gp)        |     s2 = sym.prioritized_text_get_type;
    0x000055bc lw v0, (s1)               |     v0 = *(s1);
    0x000055c0 sw ra, 0x44(sp)           |     *(var_44h_3) = ra;
    0x000055c4 sw gp, 0x18(sp)           |     *(var_18h_2) = gp;
    0x000055c8 move t9, s2               |     t9 = s2;
    0x000055cc sw s3, 0x40(sp)           |     *(var_40h_2) = s3;
    0x000055d0 sw s0, 0x34(sp)           |     *(var_34h_2) = s0;
    0x000055d4 sw v0, 0x2c(sp)           |     *(var_2ch_3) = v0;
    0x000055d8 move s0, a2               |     s0 = a2;
    0x000055dc bal 0x460c                |     sym_prioritized_text_get_type ();
    0x000055e0 lw gp, 0x18(sp)           |     gp = *(var_18h_2);
    0x000055e4 move a0, s0               |     a0 = s0;
    0x000055e8 move a1, v0               |     a1 = v0;
    0x000055ec lw t9, -0x7ee8(gp)        |     t9 = sym.imp.g_type_check_instance_cast;
    0x000055f0 addiu s3, sp, 0x28        |     s3 = sp + 0x28;
    0x000055f4 jalr t9                   |     t9 ();
    0x000055f8 move t9, s2               |     t9 = s2;
    0x000055fc move s0, v0               |     s0 = v0;
    0x00005600 bal 0x460c                |     sym_prioritized_text_get_type ();
    0x00005604 lw gp, 0x18(sp)           |     gp = *(var_18h_2);
    0x00005608 move a1, v0               |     a1 = v0;
    0x0000560c lw t9, -0x7ee4(gp)        |     t9 = sym.imp.g_type_instance_get_private;
    0x00005610 move a0, s0               |     a0 = s0;
    0x00005614 jalr t9                   |     t9 ();
    0x00005618 lw gp, 0x18(sp)           |     gp = *(var_18h_2);
    0x0000561c lw a0, 4(v0)              |     a0 = *((v0 + 1));
    0x00005620 move a3, zero             |     a3 = 0;
    0x00005624 lw t9, -0x7f80(gp)        |     t9 = sym.message_list_get_next_message;
    0x00005628 addiu a2, sp, 0x20        |     a2 = sp + 0x20;
    0x0000562c addiu a1, sp, 0x24        |     a1 = sp + 0x24;
    0x00005630 sw zero, 0x20(sp)         |     *(var_20h_2) = 0;
    0x00005634 sw zero, 0x24(sp)         |     *(var_24h) = 0;
    0x00005638 sw zero, 0x28(sp)         |     *(var_28h) = 0;
    0x0000563c bal 0x4190                |     sym_message_list_get_next_message ();
    0x00005640 lw gp, 0x18(sp)           |     gp = *(var_18h_2);
    0x00005644 move s2, v0               |     s2 = v0;
    0x00005648 move a1, s3               |     a1 = s3;
    0x0000564c lw t9, -0x7fdc(gp)        |     t9 = *((gp - 8183));
    0x00005650 addiu t9, t9, 0x4a50      |     t9 += fcn.00004a50;
    0x00005654 move a0, s0               |     a0 = s0;
    0x00005658 bal 0x4a50                |     fcn_00004a50 ();
    0x0000565c lw gp, 0x18(sp)           |     gp = *(var_18h_2);
    0x00005660 bnez s2, 0x5700           |     
                                         |     while (1) {
    0x00005664 lw a0, 0x24(sp)           |         a0 = *(var_24h);
    0x00005668 lw t9, -0x7dfc(gp)        |         t9 = sym.imp.g_free;
                                         |         if (a0 != 0) {
    0x0000566c beqz a0, 0x567c           |             
    0x00005670 jalr t9                   |             t9 ();
    0x00005674 nop                       |             
    0x00005678 lw gp, 0x18(sp)           |             gp = *(var_18h_2);
                                         |         }
    0x0000567c lw a0, 0x20(sp)           |         a0 = *(var_20h_2);
    0x00005680 lw t9, -0x7dfc(gp)        |         t9 = sym.imp.g_free;
                                         |         if (a0 != 0) {
    0x00005684 beqz a0, 0x5694           |             
    0x00005688 jalr t9                   |             t9 ();
    0x0000568c nop                       |             
    0x00005690 lw gp, 0x18(sp)           |             gp = *(var_18h_2);
                                         |         }
    0x00005694 lw v0, 0x28(sp)           |         v0 = *(var_28h);
    0x00005698 lw a3, -0x7fdc(gp)        |         a3 = *((gp - 8183));
                                         |         if (v0 != 0) {
    0x0000569c beqz v0, 0x56d8           |             
    0x000056a0 lw v0, 8(v0)              |             v0 = *((v0 + 2));
    0x000056a4 lw a2, -0x7fdc(gp)        |             a2 = *((gp - 8183));
    0x000056a8 lw t9, -0x7f4c(gp)        |             t9 = sym.imp.g_log;
    0x000056ac addiu a3, a3, 0x6318      |             a3 += 0x6318;
    0x000056b0 addiu a2, a2, 0x6424      |             a2 += str._s_s;
    0x000056b4 addiu a1, zero, 0x10      |             a1 = 0x10;
    0x000056b8 move a0, zero             |             a0 = 0;
    0x000056bc sw v0, 0x10(sp)           |             *(var_10h_2) = v0;
    0x000056c0 jalr t9                   |             t9 ();
    0x000056c4 lw gp, 0x18(sp)           |             gp = *(var_18h_2);
    0x000056c8 lw t9, -0x7f24(gp)        |             t9 = sym.imp.g_error_free;
    0x000056cc lw a0, 0x28(sp)           |             a0 = *(var_28h);
    0x000056d0 jalr t9                   |             t9 ();
    0x000056d4 lw gp, 0x18(sp)           |             gp = *(var_18h_2);
                                         |         }
    0x000056d8 lw v1, 0x2c(sp)           |         v1 = *(var_2ch_3);
    0x000056dc lw v0, (s1)               |         v0 = *(s1);
    0x000056e0 lw ra, 0x44(sp)           |         ra = *(var_44h_3);
                                         |         if (v1 != v0) {
    0x000056e4 bne v1, v0, 0x5724        |             goto label_22;
                                         |         }
    0x000056e8 lw s3, 0x40(sp)           |         s3 = *(var_40h_2);
    0x000056ec lw s2, 0x3c(sp)           |         s2 = *(var_3ch_2);
    0x000056f0 lw s1, 0x38(sp)           |         s1 = *(var_38h_2);
    0x000056f4 lw s0, 0x34(sp)           |         s0 = *(var_34h_2);
    0x000056f8 addiu sp, sp, 0x48        |         
    0x000056fc jr ra                     |         return v1;
    0x00005700 lw t9, -0x7fdc(gp)        |         t9 = *((gp - 8183));
    0x00005704 lw a2, 0x20(sp)           |         a2 = *(var_20h_2);
    0x00005708 lw a1, 0x24(sp)           |         a1 = *(var_24h);
    0x0000570c move a3, s3               |         a3 = s3;
    0x00005710 addiu t9, t9, 0x4c50      |         t9 += fcn.00004c50;
    0x00005714 move a0, s0               |         a0 = s0;
    0x00005718 bal 0x4c50                |         fcn_00004c50 ();
                                         |         goto label_3;
    0x0000571c lw gp, 0x18(sp)           |         gp = *(var_18h_2);
    0x00005720 b 0x5664                  |         
                                         |     }
                                         | label_22:
    0x00005724 lw t9, -0x7ef0(gp)        |     t9 = sym.imp.__stack_chk_fail;
    0x00005728 jalr t9                   |     t9 ();
    0x0000572c nop                       |     
                                         | }

[*] Function printf used 2 times ptod