[*] Binary protection state of ntpconfd
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function printf tear down of ntpconfd
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/ntpconfd @ 0x35a4 */
| #include <stdint.h>
|
; (fcn) fcn.000035a4 () | void fcn_000035a4 () {
| label_1:
0x000035a4 lui gp, 2 |
0x000035a8 addiu gp, gp, 0x7aac |
0x000035ac addu gp, gp, t9 | gp += t9;
0x000035b0 addiu sp, sp, -0x78 |
0x000035b4 sw s3, 0x70(sp) | *(var_70h) = s3;
0x000035b8 lw s3, -0x7da8(gp) | s3 = *((gp - 8042));
0x000035bc sw gp, 0x10(sp) | *(var_10h) = gp;
0x000035c0 sw ra, 0x74(sp) | *(var_74h) = ra;
0x000035c4 lw v0, (s3) | v0 = *(s3);
0x000035c8 sw s2, 0x6c(sp) | *(var_6ch) = s2;
0x000035cc sw s1, 0x68(sp) | *(var_68h) = s1;
0x000035d0 sw s0, 0x64(sp) | *(var_64h) = s0;
0x000035d4 sw v0, 0x5c(sp) | *(var_5ch) = v0;
0x000035d8 lw t9, -0x7f8c(gp) | t9 = sym.ntp_manager_get_static_servers;
| if (a0 == 0) {
0x000035dc beqz a0, 0x368c | goto label_16;
| }
0x000035e0 lw t9, -0x7f88(gp) | t9 = sym.ntp_manager_get_advertised_servers;
0x000035e4 bal 0xb850 | sym_ntp_manager_get_advertised_servers ();
0x000035e8 nop |
0x000035ec lw gp, 0x10(sp) | gp = *(var_10h);
0x000035f0 move s0, v0 | s0 = v0;
| label_0:
0x000035f4 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x000035f8 lw t9, -0x7ce0(gp) | t9 = sym.imp.g_variant_builder_init;
0x000035fc addiu s1, sp, 0x1c | s1 = sp + 0x1c;
0x00003600 addiu a1, a1, -0x1a90 | a1 += -0x1a90;
0x00003604 move a0, s1 | a0 = s1;
0x00003608 jalr t9 | t9 ();
0x0000360c lw gp, 0x10(sp) | gp = *(var_10h);
| if (s0 == 0) {
0x00003610 beqz s0, 0x36a0 | goto label_17;
| }
0x00003614 lw a2, (s0) | a2 = *(s0);
| if (a2 == 0) {
0x00003618 beql a2, zero, 0x36a4 | goto label_18;
| }
0x0000361c lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00003620 lw s2, -0x7fdc(gp) | s2 = *(gp);
0x00003624 addiu s2, s2, 0x2424 | s2 += 0x2424;
0x00003628 b 0x3638 |
| while (s0 != 0) {
0x0000362c lw a2, (s0) | a2 = *(s0);
0x00003630 lw t9, -0x7d98(gp) | t9 = sym.imp.g_variant_builder_end;
| if (a2 == 0) {
0x00003634 beqz a2, 0x3658 | goto label_19;
| }
0x00003638 lw t9, -0x7cd8(gp) | t9 = sym.imp.g_variant_builder_add;
0x0000363c move a1, s2 | a1 = s2;
0x00003640 move a0, s1 | a0 = s1;
0x00003644 jalr t9 | t9 ();
0x00003648 lw s0, 4(s0) | s0 = *((s0 + 1));
0x0000364c lw gp, 0x10(sp) | gp = *(var_10h);
0x00003650 bnez s0, 0x362c |
| }
| do {
0x00003654 lw t9, -0x7d98(gp) | t9 = sym.imp.g_variant_builder_end;
| label_19:
0x00003658 move a0, s1 | a0 = s1;
0x0000365c jalr t9 | t9 ();
0x00003660 lw a0, 0x5c(sp) | a0 = *(var_5ch);
0x00003664 lw v1, (s3) | v1 = *(s3);
0x00003668 lw gp, 0x10(sp) | gp = *(var_10h);
| if (a0 != v1) {
0x0000366c bne a0, v1, 0x36c4 | goto label_20;
| }
0x00003670 lw ra, 0x74(sp) | ra = *(var_74h);
0x00003674 lw s3, 0x70(sp) | s3 = *(var_70h);
0x00003678 lw s2, 0x6c(sp) | s2 = *(var_6ch);
0x0000367c lw s1, 0x68(sp) | s1 = *(var_68h);
0x00003680 lw s0, 0x64(sp) | s0 = *(var_64h);
0x00003684 addiu sp, sp, 0x78 |
0x00003688 jr ra | return v0;
| label_16:
0x0000368c bal 0xb838 | sym_ntp_manager_get_static_servers ();
0x00003690 nop |
0x00003694 move s0, v0 | s0 = v0;
0x00003698 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000369c b 0x35f4 | goto label_0;
| label_17:
0x000036a0 lw a2, -0x7fdc(gp) | a2 = *(gp);
| label_18:
0x000036a4 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x000036a8 lw t9, -0x7cd8(gp) | t9 = sym.imp.g_variant_builder_add;
0x000036ac addiu a2, a2, 0x2320 | a2 += 0x2320;
0x000036b0 addiu a1, a1, 0x2424 | a1 += 0x2424;
0x000036b4 move a0, s1 | a0 = s1;
0x000036b8 jalr t9 | t9 ();
0x000036bc lw gp, 0x10(sp) | gp = *(var_10h);
0x000036c0 b 0x3654 |
| } while (1);
| label_20:
0x000036c4 lw t9, -0x7df8(gp) | t9 = sym.imp.__stack_chk_fail;
0x000036c8 jalr t9 | t9 ();
0x000036cc nop |
0x000036d0 lui gp, 2 |
0x000036d4 addiu gp, gp, 0x7980 |
0x000036d8 addu gp, gp, t9 | gp += t9;
0x000036dc addiu sp, sp, -0x40 |
0x000036e0 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x000036e4 sw s0, 0x28(sp) | *(var_28h) = s0;
0x000036e8 lw s0, -0x7da8(gp) | s0 = *((gp - 8042));
0x000036ec lw v0, 0x33d0(v0) | v0 = *((v0 + 3316));
0x000036f0 sw gp, 0x18(sp) | *(var_18h) = gp;
0x000036f4 lw v1, (s0) | v1 = *(s0);
0x000036f8 sw s4, 0x38(sp) | *(var_38h) = s4;
0x000036fc sw s2, 0x30(sp) | *(var_30h) = s2;
0x00003700 sw ra, 0x3c(sp) | *(var_3ch) = ra;
0x00003704 sw s3, 0x34(sp) | *(var_34h) = s3;
0x00003708 sw s1, 0x2c(sp) | *(var_2ch) = s1;
0x0000370c lw s2, 0x50(sp) | s2 = *(var_10h);
0x00003710 lw s4, 0x54(sp) | s4 = *(var_54h);
0x00003714 sw v1, 0x24(sp) | *(var_24h) = v1;
0x00003718 sw zero, 0x20(sp) | *(var_20h) = 0;
| if (v0 == 0) {
0x0000371c beqz v0, 0x381c | goto label_21;
| }
0x00003720 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003724 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x00003728 addiu a1, a1, -0x1ac8 | a1 += -0x1ac8;
0x0000372c move a0, a2 | a0 = a2;
0x00003730 move s3, a2 | s3 = a2;
0x00003734 move s1, a3 | s1 = a3;
0x00003738 jalr t9 | t9 ();
0x0000373c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00003740 bnez v0, 0x3910 | goto label_22;
| }
0x00003744 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003748 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x0000374c addiu a1, a1, -0x1aa0 | a1 += -0x1aa0;
0x00003750 move a0, s1 | a0 = s1;
0x00003754 jalr t9 | t9 ();
0x00003758 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000375c lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
| if (v0 != 0) {
0x00003760 bnez v0, 0x37e0 | goto label_23;
| }
0x00003764 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003768 move a0, s2 | a0 = s2;
0x0000376c addiu a1, a1, -0x1b8c | a1 += -0x1b8c;
0x00003770 jalr t9 | t9 ();
0x00003774 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00003778 beqz v0, 0x3848 | goto label_24;
| }
0x0000377c lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003780 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x00003784 addiu a1, a1, -0x1b44 | a1 += -0x1b44;
0x00003788 move a0, s2 | a0 = s2;
0x0000378c jalr t9 | t9 ();
0x00003790 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00003794 bnez v0, 0x3980 | goto label_25;
| }
0x00003798 lw t9, -0x7fbc(gp) | t9 = *((gp - 8175));
0x0000379c addiu t9, t9, 0x35a4 | t9 += fcn.000035a4;
0x000037a0 move a0, zero | a0 = 0;
0x000037a4 bal 0x35a4 | fcn_000035a4 ();
| goto label_1;
0x000037a8 lw gp, 0x18(sp) | gp = *(var_18h);
| do {
| label_4:
0x000037ac lw t9, -0x7e04(gp) | t9 = sym.imp.g_dbus_error_quark;
| if (v0 == 0) {
0x000037b0 beqz v0, 0x38c0 | goto label_26;
| }
| label_2:
0x000037b4 lw a0, 0x24(sp) | a0 = *(var_24h);
0x000037b8 lw v1, (s0) | v1 = *(s0);
0x000037bc lw ra, 0x3c(sp) | ra = *(var_3ch);
| if (a0 != v1) {
0x000037c0 bne a0, v1, 0x3bb4 | goto label_27;
| }
0x000037c4 lw s4, 0x38(sp) | s4 = *(var_38h);
0x000037c8 lw s3, 0x34(sp) | s3 = *(var_34h);
0x000037cc lw s2, 0x30(sp) | s2 = *(var_30h);
0x000037d0 lw s1, 0x2c(sp) | s1 = *(var_2ch);
0x000037d4 lw s0, 0x28(sp) | s0 = *(var_28h);
0x000037d8 addiu sp, sp, 0x40 |
0x000037dc jr ra | return v0;
| label_23:
0x000037e0 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x000037e4 move a0, s1 | a0 = s1;
0x000037e8 addiu a1, a1, -0x1ab8 | a1 += -0x1ab8;
0x000037ec jalr t9 | t9 ();
0x000037f0 lw gp, 0x18(sp) | gp = *(var_18h);
0x000037f4 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
| if (v0 != 0) {
0x000037f8 bnez v0, 0x386c | goto label_28;
| }
0x000037fc lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003800 move a0, s2 | a0 = s2;
0x00003804 addiu a1, a1, -0x1b20 | a1 += -0x1b20;
0x00003808 jalr t9 | t9 ();
0x0000380c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00003810 bnez v0, 0x3a2c | goto label_29;
| }
0x00003814 lw t9, -0x7f84(gp) | t9 = sym.ntp_manager_get_server_enabled;
0x00003818 b 0x384c | goto label_5;
| label_21:
0x0000381c lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00003820 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00003824 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003828 addiu v0, v0, -0x1a7c | v0 += -0x1a7c;
0x0000382c lw t9, -0x7d4c(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00003830 sw v0, 0x10(sp) | *(var_10h_2) = v0;
| /* str.dbus_handle_get_property */
0x00003834 addiu a3, a3, 0x1698 | a3 += 0x1698;
0x00003838 addiu a2, zero, 0x1c8 | a2 = 0x1c8;
0x0000383c addiu a1, a1, -0x1b7c | a1 += -0x1b7c;
0x00003840 move a0, zero | a0 = 0;
0x00003844 jalr t9 | t9 ();
| label_24:
0x00003848 lw t9, -0x7f80(gp) | t9 = sym.ntp_manager_get_client_enabled;
| label_5:
0x0000384c jalr t9 | t9 ();
0x00003850 nop |
0x00003854 lw gp, 0x18(sp) | gp = *(var_18h);
0x00003858 lw t9, -0x7d00(gp) | t9 = sym.imp.g_variant_new_boolean;
| label_8:
0x0000385c move a0, v0 | a0 = v0;
0x00003860 jalr t9 | t9 ();
0x00003864 lw gp, 0x18(sp) | gp = *(var_18h);
0x00003868 b 0x37ac |
| } while (1);
| label_28:
0x0000386c lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003870 move a0, s1 | a0 = s1;
0x00003874 addiu a1, a1, -0x19dc | a1 += -0x19dc;
0x00003878 jalr t9 | t9 ();
0x0000387c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00003880 bnez v0, 0x39f4 | goto label_30;
| }
0x00003884 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003888 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x0000388c addiu a1, a1, -0x19cc | a1 += -0x19cc;
0x00003890 move a0, s2 | a0 = s2;
0x00003894 jalr t9 | t9 ();
0x00003898 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x0000389c beqz v0, 0x3aa8 | goto label_31;
| }
| label_6:
0x000038a0 lw a0, -0x7fdc(gp) | a0 = *(gp);
0x000038a4 lw t9, -0x7d70(gp) | t9 = sym.imp.g_strdup_printf
0x000038a8 move a1, s2 | a1 = s2;
0x000038ac addiu a0, a0, -0x19f4 | a0 += -0x19f4;
0x000038b0 jalr t9 | t9 ();
0x000038b4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000038b8 sw v0, 0x20(sp) | *(var_20h) = v0;
| label_3:
0x000038bc lw t9, -0x7e04(gp) | t9 = sym.imp.g_dbus_error_quark;
| label_26:
0x000038c0 jalr t9 | t9 ();
0x000038c4 nop |
0x000038c8 lw v1, 0x20(sp) | v1 = *(var_20h);
0x000038cc lw gp, 0x18(sp) | gp = *(var_18h);
0x000038d0 beqz v1, 0x3974 |
| while (1) {
0x000038d4 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x000038d8 lw t9, -0x7da4(gp) | t9 = sym.imp.g_set_error;
0x000038dc move a1, v0 | a1 = v0;
0x000038e0 addiu a3, a3, -0x1994 | a3 += -0x1994;
0x000038e4 move a2, zero | a2 = 0;
0x000038e8 move a0, s4 | a0 = s4;
0x000038ec sw v1, 0x10(sp) | *(var_10h_2) = v1;
0x000038f0 jalr t9 | t9 ();
0x000038f4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000038f8 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x000038fc lw a0, 0x20(sp) | a0 = *(var_20h);
0x00003900 jalr t9 | t9 ();
0x00003904 lw gp, 0x18(sp) | gp = *(var_18h);
0x00003908 move v0, zero | v0 = 0;
0x0000390c b 0x37b4 | goto label_2;
| label_22:
0x00003910 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00003914 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00003918 lw t9, -0x7e6c(gp) | t9 = sym.imp.g_log;
0x0000391c addiu a3, a3, 0x2320 | a3 += 0x2320;
0x00003920 addiu a2, a2, -0x1a6c | a2 += -0x1a6c;
0x00003924 addiu a1, zero, 0x100 | a1 = 0x100;
0x00003928 move a0, zero | a0 = 0;
0x0000392c sw s3, 0x10(sp) | *(var_10h_2) = s3;
0x00003930 jalr t9 | t9 ();
0x00003934 lw gp, 0x18(sp) | gp = *(var_18h);
0x00003938 lw t9, -0x7e04(gp) | t9 = sym.imp.g_dbus_error_quark;
0x0000393c jalr t9 | t9 ();
0x00003940 nop |
0x00003944 lw gp, 0x18(sp) | gp = *(var_18h);
0x00003948 move a1, v0 | a1 = v0;
0x0000394c sw s3, 0x10(sp) | *(var_10h_2) = s3;
0x00003950 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00003954 lw t9, -0x7da4(gp) | t9 = sym.imp.g_set_error;
0x00003958 addiu a3, a3, -0x1a4c | a3 += -0x1a4c;
0x0000395c addiu a2, zero, 0x29 | a2 = 0x29;
0x00003960 move a0, s4 | a0 = s4;
0x00003964 jalr t9 | t9 ();
0x00003968 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000396c move v0, zero | v0 = 0;
0x00003970 b 0x37b4 | goto label_2;
0x00003974 lw v1, -0x7fdc(gp) | v1 = *(gp);
0x00003978 addiu v1, v1, -0x1a8c | v1 += -0x1a8c;
0x0000397c b 0x38d4 |
| }
| label_25:
0x00003980 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003984 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x00003988 addiu a1, a1, -0x1b34 | a1 += -0x1b34;
0x0000398c move a0, s2 | a0 = s2;
0x00003990 jalr t9 | t9 ();
0x00003994 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00003998 beqz v0, 0x3a90 |
0x0000399c lw a1, -0x7fdc(gp) | a1 = *(gp);
0x000039a0 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x000039a4 addiu a1, a1, -0x1b54 | a1 += -0x1b54;
0x000039a8 move a0, s2 | a0 = s2;
0x000039ac jalr t9 | t9 ();
0x000039b0 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x000039b4 bnez v0, 0x3ad4 | goto label_32;
| }
0x000039b8 lw t9, -0x7f7c(gp) | t9 = sym.ntp_manager_get_servers_source;
0x000039bc bal 0xb868 | sym_ntp_manager_get_servers_source ();
0x000039c0 nop |
0x000039c4 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x000039c8 beqz v0, 0x3b70 | goto label_33;
| }
0x000039cc addiu v1, zero, 1 | v1 = 1;
| if (v0 == v1) {
0x000039d0 beql v0, v1, 0x3b10 | goto label_9;
| }
0x000039d4 addiu a0, zero, 1 | a0 = 1;
0x000039d8 lw a0, -0x7fdc(gp) | a0 = *(gp);
0x000039dc lw t9, -0x7cf8(gp) | t9 = sym.imp.g_strdup;
0x000039e0 addiu a0, a0, -0x1a30 | a0 += -0x1a30;
0x000039e4 jalr t9 | t9 ();
0x000039e8 sw v0, 0x20(sp) | *(var_20h) = v0;
0x000039ec lw gp, 0x18(sp) | gp = *(var_18h);
0x000039f0 b 0x38bc | goto label_3;
| label_30:
0x000039f4 lw t9, -0x7e04(gp) | t9 = sym.imp.g_dbus_error_quark;
0x000039f8 jalr t9 | t9 ();
0x000039fc nop |
0x00003a00 lw gp, 0x18(sp) | gp = *(var_18h);
0x00003a04 sw s1, 0x10(sp) | *(var_10h_2) = s1;
0x00003a08 addiu a2, zero, 0x2a | a2 = 0x2a;
0x00003a0c lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00003a10 lw t9, -0x7da4(gp) | t9 = sym.imp.g_set_error;
0x00003a14 addiu a3, a3, -0x19b0 | a3 += -0x19b0;
0x00003a18 move a1, v0 | a1 = v0;
0x00003a1c move a0, s4 | a0 = s4;
0x00003a20 jalr t9 | t9 ();
0x00003a24 lw gp, 0x18(sp) | gp = *(var_18h);
0x00003a28 b 0x38bc | goto label_3;
| label_29:
0x00003a2c lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003a30 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x00003a34 addiu a1, a1, -0x1b10 | a1 += -0x1b10;
0x00003a38 move a0, s2 | a0 = s2;
0x00003a3c jalr t9 | t9 ();
0x00003a40 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00003a44 beqz v0, 0x3a88 |
0x00003a48 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003a4c lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x00003a50 addiu a1, a1, -0x1af8 | a1 += -0x1af8;
0x00003a54 move a0, s2 | a0 = s2;
0x00003a58 jalr t9 | t9 ();
0x00003a5c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00003a60 bnez v0, 0x3ab0 | goto label_34;
| }
0x00003a64 lw t9, -0x7f78(gp) | t9 = sym.ntp_manager_get_server_fudge_mode_timeout;
| label_7:
0x00003a68 jalr t9 | t9 ();
0x00003a6c nop |
0x00003a70 lw gp, 0x18(sp) | gp = *(var_18h);
0x00003a74 lw t9, -0x7e40(gp) | t9 = sym.imp.g_variant_new_uint32;
| label_10:
0x00003a78 move a0, v0 | a0 = v0;
0x00003a7c jalr t9 | t9 ();
0x00003a80 lw gp, 0x18(sp) | gp = *(var_18h);
0x00003a84 b 0x37ac | goto label_4;
| }
0x00003a88 lw t9, -0x7f74(gp) | t9 = sym.ntp_manager_get_server_fudge_mode_enabled;
0x00003a8c b 0x384c | goto label_5;
| }
0x00003a90 lw t9, -0x7fbc(gp) | t9 = *((gp - 8175));
0x00003a94 addiu t9, t9, 0x35a4 | t9 += fcn.000035a4;
0x00003a98 addiu a0, zero, 1 | a0 = 1;
0x00003a9c bal 0x35a4 | fcn_000035a4 ();
| goto label_1;
0x00003aa0 lw gp, 0x18(sp) | gp = *(var_18h);
0x00003aa4 b 0x37ac | goto label_4;
| label_31:
0x00003aa8 lw t9, -0x7f70(gp) | t9 = sym.ntp_manager_get_timejump_mode_enabled;
0x00003aac b 0x384c | goto label_5;
| label_34:
0x00003ab0 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003ab4 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x00003ab8 addiu a1, a1, -0x1ae0 | a1 += -0x1ae0;
0x00003abc move a0, s2 | a0 = s2;
0x00003ac0 jalr t9 | t9 ();
0x00003ac4 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00003ac8 bnez v0, 0x38a0 | goto label_6;
| }
0x00003acc lw t9, -0x7f6c(gp) | t9 = sym.ntp_manager_get_server_fudge_mode_stratum;
0x00003ad0 b 0x3a68 | goto label_7;
| label_32:
0x00003ad4 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003ad8 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x00003adc addiu a1, a1, -0x1a18 | a1 += -0x1a18;
0x00003ae0 move a0, s2 | a0 = s2;
0x00003ae4 jalr t9 | t9 ();
0x00003ae8 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00003aec bnez v0, 0x3b24 | goto label_35;
| }
0x00003af0 lw t9, -0x7f68(gp) | t9 = sym.ntp_manager_get_synced;
0x00003af4 addiu a0, sp, 0x20 | a0 = sp + 0x20;
0x00003af8 bal 0xb8c8 | sym_ntp_manager_get_synced ();
0x00003afc lw v1, 0x20(sp) | v1 = *(var_20h);
0x00003b00 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v1 != 0) {
0x00003b04 bnez v1, 0x38bc | goto label_3;
| }
0x00003b08 lw t9, -0x7d00(gp) | t9 = sym.imp.g_variant_new_boolean;
0x00003b0c b 0x385c | goto label_8;
| label_9:
0x00003b10 lw t9, -0x7e40(gp) | t9 = sym.imp.g_variant_new_uint32;
0x00003b14 jalr t9 | t9 ();
0x00003b18 nop |
0x00003b1c lw gp, 0x18(sp) | gp = *(var_18h);
0x00003b20 b 0x37ac | goto label_4;
| label_35:
0x00003b24 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003b28 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x00003b2c addiu a1, a1, -0x1a10 | a1 += -0x1a10;
0x00003b30 move a0, s2 | a0 = s2;
0x00003b34 jalr t9 | t9 ();
0x00003b38 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00003b3c bnez v0, 0x3b78 | goto label_36;
| }
0x00003b40 lw t9, -0x7f64(gp) | t9 = sym.ntp_manager_get_time_offset;
0x00003b44 addiu a0, sp, 0x20 | a0 = sp + 0x20;
0x00003b48 bal 0xb8e0 | sym_ntp_manager_get_time_offset ();
0x00003b4c lw a1, 0x20(sp) | a1 = *(var_20h);
0x00003b50 lw gp, 0x18(sp) | gp = *(var_18h);
| if (a1 != 0) {
0x00003b54 bnez a1, 0x38bc | goto label_3;
| }
0x00003b58 lw t9, -0x7cd0(gp) | t9 = sym.imp.g_variant_new_double;
0x00003b5c move a0, v0 | a0 = v0;
0x00003b60 move a1, v1 | a1 = v1;
0x00003b64 jalr t9 | t9 ();
0x00003b68 lw gp, 0x18(sp) | gp = *(var_18h);
0x00003b6c b 0x37ac | goto label_4;
| label_33:
0x00003b70 move a0, zero | a0 = 0;
0x00003b74 b 0x3b10 | goto label_9;
| label_36:
0x00003b78 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003b7c lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x00003b80 addiu a1, a1, -0x1a04 | a1 += -0x1a04;
0x00003b84 move a0, s2 | a0 = s2;
0x00003b88 jalr t9 | t9 ();
0x00003b8c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00003b90 bnez v0, 0x38a0 | goto label_6;
| }
0x00003b94 lw t9, -0x7f60(gp) | t9 = sym.ntp_manager_get_time_to_next_sync;
0x00003b98 addiu a0, sp, 0x20 | a0 = sp + 0x20;
0x00003b9c bal 0xb8fc | sym_ntp_manager_get_time_to_next_sync ();
0x00003ba0 lw v1, 0x20(sp) | v1 = *(var_20h);
0x00003ba4 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v1 != 0) {
0x00003ba8 bnez v1, 0x38bc | goto label_3;
| }
0x00003bac lw t9, -0x7e40(gp) | t9 = sym.imp.g_variant_new_uint32;
0x00003bb0 b 0x3a78 | goto label_10;
| label_27:
0x00003bb4 lw t9, -0x7df8(gp) | t9 = sym.imp.__stack_chk_fail;
0x00003bb8 jalr t9 | t9 ();
0x00003bbc nop |
0x00003bc0 lui gp, 2 |
0x00003bc4 addiu gp, gp, 0x7490 |
0x00003bc8 addu gp, gp, t9 | gp += t9;
0x00003bcc addiu sp, sp, -0x50 |
0x00003bd0 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00003bd4 sw s0, 0x30(sp) | *(var_30h_2) = s0;
0x00003bd8 lw s0, -0x7da8(gp) | s0 = *((gp - 8042));
0x00003bdc lw v0, 0x33d0(v0) | v0 = *((v0 + 3316));
0x00003be0 sw gp, 0x18(sp) | *(var_18h_2) = gp;
0x00003be4 lw v1, (s0) | v1 = *(s0);
0x00003be8 sw s6, 0x48(sp) | *(var_48h) = s6;
0x00003bec sw s4, 0x40(sp) | *(var_40h) = s4;
0x00003bf0 sw s3, 0x3c(sp) | *(var_3ch_2) = s3;
0x00003bf4 sw ra, 0x4c(sp) | *(var_4ch) = ra;
0x00003bf8 sw s5, 0x44(sp) | *(var_44h) = s5;
0x00003bfc sw s2, 0x38(sp) | *(var_38h_2) = s2;
0x00003c00 sw s1, 0x34(sp) | *(var_34h_2) = s1;
0x00003c04 lw s3, 0x60(sp) | s3 = *(var_10h_2);
0x00003c08 lw s6, 0x64(sp) | s6 = *(var_64h_2);
0x00003c0c lw s4, 0x68(sp) | s4 = *(var_18h);
0x00003c10 sw v1, 0x2c(sp) | *(var_2ch_2) = v1;
0x00003c14 move s5, a1 | s5 = a1;
| if (v0 == 0) {
0x00003c18 beqz v0, 0x3e10 | goto label_37;
| }
0x00003c1c lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003c20 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x00003c24 addiu a1, a1, -0x1ac8 | a1 += -0x1ac8;
0x00003c28 move a0, a2 | a0 = a2;
0x00003c2c move s2, a2 | s2 = a2;
0x00003c30 move s1, a3 | s1 = a3;
0x00003c34 jalr t9 | t9 ();
0x00003c38 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x00003c3c bnez v0, 0x3d84 | goto label_38;
| }
0x00003c40 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003c44 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x00003c48 addiu a1, a1, -0x1aa0 | a1 += -0x1aa0;
0x00003c4c move a0, s1 | a0 = s1;
0x00003c50 jalr t9 | t9 ();
0x00003c54 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x00003c58 bnez v0, 0x3d24 |
0x00003c5c lw t9, -0x7f5c(gp) | t9 = sym.dbus_check_auth;
0x00003c60 move a2, s3 | a2 = s3;
0x00003c64 move a1, s1 | a1 = s1;
0x00003c68 move a0, s5 | a0 = s5;
0x00003c6c bal 0xc25c | sym_dbus_check_auth ();
0x00003c70 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x00003c74 beqz v0, 0x3f1c | goto label_39;
| }
0x00003c78 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003c7c lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x00003c80 addiu a1, a1, -0x194c | a1 += -0x194c;
0x00003c84 move a0, s3 | a0 = s3;
0x00003c88 sw zero, 0x20(sp) | *(var_20h_2) = 0;
0x00003c8c jalr t9 | t9 ();
0x00003c90 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x00003c94 bnez v0, 0x3f50 | goto label_40;
| }
0x00003c98 lw t9, -0x7f58(gp) | t9 = sym.ntp_manager_enable_client;
0x00003c9c bal 0xa5ec | sym_ntp_manager_enable_client ();
0x00003ca0 nop |
0x00003ca4 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00003ca8 lw v0, 0x20(sp) | v0 = *(var_20h_2);
| label_12:
0x00003cac lw a3, -0x7fdc(gp) | a3 = *(gp);
| if (v0 == 0) {
0x00003cb0 beqz v0, 0x3d6c | goto label_13;
| }
0x00003cb4 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00003cb8 lw t9, -0x7e6c(gp) | t9 = sym.imp.g_log;
0x00003cbc addiu a3, a3, 0x2320 | a3 += 0x2320;
0x00003cc0 addiu a2, a2, -0x1870 | a2 += -0x1870;
0x00003cc4 addiu a1, zero, 0x10 | a1 = 0x10;
0x00003cc8 move a0, zero | a0 = 0;
0x00003ccc sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x00003cd0 jalr t9 | t9 ();
0x00003cd4 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00003cd8 lw t9, -0x7e04(gp) | t9 = sym.imp.g_dbus_error_quark;
0x00003cdc jalr t9 | t9 ();
0x00003ce0 nop |
0x00003ce4 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00003ce8 move a1, v0 | a1 = v0;
0x00003cec lw v0, 0x20(sp) | v0 = *(var_20h_2);
0x00003cf0 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00003cf4 lw t9, -0x7e74(gp) | t9 = sym.imp.g_dbus_method_invocation_return_error;
0x00003cf8 addiu a3, a3, -0x1854 | a3 += -0x1854;
0x00003cfc addiu a2, zero, 0x10 | a2 = 0x10;
0x00003d00 move a0, s4 | a0 = s4;
0x00003d04 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x00003d08 jalr t9 | t9 ();
0x00003d0c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00003d10 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x00003d14 lw a0, 0x20(sp) | a0 = *(var_20h_2);
0x00003d18 jalr t9 | t9 ();
0x00003d1c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00003d20 b 0x3ddc | goto label_11;
| }
0x00003d24 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003d28 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x00003d2c addiu a1, a1, -0x19dc | a1 += -0x19dc;
0x00003d30 move a0, s1 | a0 = s1;
0x00003d34 jalr t9 | t9 ();
0x00003d38 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00003d3c lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
| if (v0 != 0) {
0x00003d40 bnez v0, 0x3e3c | goto label_41;
| }
0x00003d44 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003d48 move a0, s3 | a0 = s3;
0x00003d4c addiu a1, a1, -0x183c | a1 += -0x183c;
0x00003d50 jalr t9 | t9 ();
0x00003d54 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x00003d58 bnez v0, 0x4044 | goto label_42;
| }
0x00003d5c lw t9, -0x7f54(gp) | t9 = sym.ntp_manager_enable_timejump_mode;
0x00003d60 bal 0xb608 | sym_ntp_manager_enable_timejump_mode ();
0x00003d64 nop |
0x00003d68 lw gp, 0x18(sp) | gp = *(var_18h_2);
| do {
| label_13:
0x00003d6c lw t9, -0x7e54(gp) | t9 = sym.imp.g_dbus_method_invocation_return_value;
0x00003d70 move a1, zero | a1 = 0;
0x00003d74 move a0, s4 | a0 = s4;
0x00003d78 jalr t9 | t9 ();
0x00003d7c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00003d80 b 0x3ddc | goto label_11;
| label_38:
0x00003d84 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00003d88 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00003d8c lw t9, -0x7e6c(gp) | t9 = sym.imp.g_log;
0x00003d90 addiu a3, a3, 0x2320 | a3 += 0x2320;
0x00003d94 addiu a2, a2, -0x1a6c | a2 += -0x1a6c;
0x00003d98 addiu a1, zero, 0x100 | a1 = 0x100;
0x00003d9c move a0, zero | a0 = 0;
0x00003da0 sw s2, 0x10(sp) | *(var_10h_3) = s2;
0x00003da4 jalr t9 | t9 ();
0x00003da8 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00003dac lw t9, -0x7e04(gp) | t9 = sym.imp.g_dbus_error_quark;
0x00003db0 jalr t9 | t9 ();
0x00003db4 nop |
0x00003db8 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00003dbc addiu a2, zero, 0x29 | a2 = 0x29;
0x00003dc0 move a1, v0 | a1 = v0;
0x00003dc4 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00003dc8 lw t9, -0x7e74(gp) | t9 = sym.imp.g_dbus_method_invocation_return_error;
0x00003dcc addiu a3, a3, -0x1980 | a3 += -0x1980;
0x00003dd0 move a0, s4 | a0 = s4;
0x00003dd4 jalr t9 | t9 ();
0x00003dd8 lw gp, 0x18(sp) | gp = *(var_18h_2);
| label_11:
0x00003ddc lw v1, 0x2c(sp) | v1 = *(var_2ch_2);
0x00003de0 lw v0, (s0) | v0 = *(s0);
0x00003de4 lw ra, 0x4c(sp) | ra = *(var_4ch);
| if (v1 != v0) {
0x00003de8 bne v1, v0, 0x43f8 | goto label_43;
| }
0x00003dec lw s6, 0x48(sp) | s6 = *(var_48h);
0x00003df0 lw s5, 0x44(sp) | s5 = *(var_44h);
0x00003df4 lw s4, 0x40(sp) | s4 = *(var_40h);
0x00003df8 lw s3, 0x3c(sp) | s3 = *(var_3ch_2);
0x00003dfc lw s2, 0x38(sp) | s2 = *(var_38h_2);
0x00003e00 lw s1, 0x34(sp) | s1 = *(var_34h_2);
0x00003e04 lw s0, 0x30(sp) | s0 = *(var_30h_2);
0x00003e08 addiu sp, sp, 0x50 |
0x00003e0c jr ra | return v0;
| label_37:
0x00003e10 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00003e14 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00003e18 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003e1c addiu v0, v0, -0x1a7c | v0 += -0x1a7c;
0x00003e20 lw t9, -0x7d4c(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00003e24 sw v0, 0x10(sp) | *(var_10h_3) = v0;
| /* str.dbus_handle_method_call */
0x00003e28 addiu a3, a3, 0x1680 | a3 += 0x1680;
0x00003e2c addiu a2, zero, 0x130 | a2 = aav.0x00000130;
0x00003e30 addiu a1, a1, -0x1b7c | a1 += -0x1b7c;
0x00003e34 move a0, zero | a0 = 0;
0x00003e38 jalr t9 | t9 ();
| label_41:
0x00003e3c lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003e40 move a0, s1 | a0 = s1;
0x00003e44 addiu a1, a1, -0x1ab8 | a1 += -0x1ab8;
0x00003e48 jalr t9 | t9 ();
0x00003e4c lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x00003e50 bnez v0, 0x4074 | goto label_44;
| }
0x00003e54 lw t9, -0x7f5c(gp) | t9 = sym.dbus_check_auth;
0x00003e58 move a2, s3 | a2 = s3;
0x00003e5c move a1, s1 | a1 = s1;
0x00003e60 move a0, s5 | a0 = s5;
0x00003e64 bal 0xc25c | sym_dbus_check_auth ();
0x00003e68 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x00003e6c beqz v0, 0x3f1c | goto label_39;
| }
0x00003e70 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003e74 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x00003e78 addiu a1, a1, -0x1808 | a1 += -0x1808;
0x00003e7c move a0, s3 | a0 = s3;
0x00003e80 sw zero, 0x24(sp) | *(var_24h_2) = 0;
0x00003e84 jalr t9 | t9 ();
0x00003e88 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x00003e8c bnez v0, 0x41d0 | goto label_45;
| }
0x00003e90 lw t9, -0x7f50(gp) | t9 = sym.ntp_manager_enable_server;
0x00003e94 bal 0xa86c | sym_ntp_manager_enable_server ();
0x00003e98 nop |
0x00003e9c lw gp, 0x18(sp) | gp = *(var_18h_2);
| label_14:
0x00003ea0 lw v0, 0x24(sp) | v0 = *(var_24h_2);
0x00003ea4 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00003ea8 beqz v0, 0x3d6c |
| } while (v0 == 0);
0x00003eac lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00003eb0 lw t9, -0x7e6c(gp) | t9 = sym.imp.g_log;
0x00003eb4 addiu a3, a3, 0x2320 | a3 += 0x2320;
0x00003eb8 addiu a2, a2, -0x1870 | a2 += -0x1870;
0x00003ebc addiu a1, zero, 0x10 | a1 = 0x10;
0x00003ec0 move a0, zero | a0 = 0;
0x00003ec4 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x00003ec8 jalr t9 | t9 ();
0x00003ecc lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00003ed0 lw t9, -0x7e04(gp) | t9 = sym.imp.g_dbus_error_quark;
0x00003ed4 jalr t9 | t9 ();
0x00003ed8 nop |
0x00003edc lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00003ee0 move a1, v0 | a1 = v0;
0x00003ee4 lw v0, 0x24(sp) | v0 = *(var_24h_2);
0x00003ee8 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00003eec lw t9, -0x7e74(gp) | t9 = sym.imp.g_dbus_method_invocation_return_error;
0x00003ef0 addiu a3, a3, -0x1854 | a3 += -0x1854;
0x00003ef4 addiu a2, zero, 0x10 | a2 = 0x10;
0x00003ef8 move a0, s4 | a0 = s4;
0x00003efc sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x00003f00 jalr t9 | t9 ();
0x00003f04 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00003f08 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x00003f0c lw a0, 0x24(sp) | a0 = *(var_24h_2);
0x00003f10 jalr t9 | t9 ();
0x00003f14 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00003f18 b 0x3ddc | goto label_11;
| label_39:
0x00003f1c lw t9, -0x7e04(gp) | t9 = sym.imp.g_dbus_error_quark;
0x00003f20 jalr t9 | t9 ();
0x00003f24 nop |
0x00003f28 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00003f2c addiu a2, zero, 9 | a2 = 9;
0x00003f30 move a1, v0 | a1 = v0;
0x00003f34 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00003f38 lw t9, -0x7e74(gp) | t9 = sym.imp.g_dbus_method_invocation_return_error;
0x00003f3c addiu a3, a3, -0x1964 | a3 += -0x1964;
0x00003f40 move a0, s4 | a0 = s4;
0x00003f44 jalr t9 | t9 ();
0x00003f48 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00003f4c b 0x3ddc | goto label_11;
| label_40:
0x00003f50 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003f54 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x00003f58 addiu a1, a1, -0x193c | a1 += -0x193c;
0x00003f5c move a0, s3 | a0 = s3;
0x00003f60 jalr t9 | t9 ();
0x00003f64 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x00003f68 beqz v0, 0x40d0 | goto label_46;
| }
0x00003f6c lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003f70 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x00003f74 addiu a1, a1, -0x192c | a1 += -0x192c;
0x00003f78 move a0, s3 | a0 = s3;
0x00003f7c jalr t9 | t9 ();
0x00003f80 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x00003f84 bnez v0, 0x4144 | goto label_47;
| }
0x00003f88 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00003f8c lw t9, -0x7dc0(gp) | t9 = sym.imp.g_variant_check_format_string;
0x00003f90 addiu a2, zero, 1 | a2 = 1;
0x00003f94 addiu a1, a1, -0x1918 | a1 += -0x1918;
0x00003f98 move a0, s6 | a0 = s6;
0x00003f9c jalr t9 | t9 ();
0x00003fa0 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x00003fa4 beqz v0, 0x4230 | goto label_48;
| }
0x00003fa8 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00003fac lw t9, -0x7de4(gp) | t9 = sym.imp.g_variant_get_child;
0x00003fb0 addiu a3, sp, 0x24 | a3 = sp + 0x24;
0x00003fb4 addiu a2, a2, -0x18e4 | a2 += -0x18e4;
0x00003fb8 move a1, zero | a1 = 0;
0x00003fbc move a0, s6 | a0 = s6;
0x00003fc0 sw zero, 0x24(sp) | *(var_24h_2) = 0;
0x00003fc4 jalr t9 | t9 ();
0x00003fc8 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00003fcc sw zero, 0x28(sp) | *(var_28h_2) = 0;
0x00003fd0 move s1, zero | s1 = 0;
0x00003fd4 lw s2, -0x7fdc(gp) | s2 = *(gp);
0x00003fd8 addiu s3, sp, 0x28 | s3 = sp + 0x28;
0x00003fdc addiu s2, s2, 0x2424 | s2 += 0x2424;
0x00003fe0 b 0x3ffc |
| while (v0 != 0) {
0x00003fe4 lw t9, -0x7dd4(gp) | t9 = sym.imp.g_list_append;
0x00003fe8 lw a1, 0x28(sp) | a1 = *(var_28h_2);
0x00003fec move a0, s1 | a0 = s1;
0x00003ff0 jalr t9 | t9 ();
0x00003ff4 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00003ff8 move s1, v0 | s1 = v0;
0x00003ffc lw t9, -0x7d48(gp) | t9 = sym.imp.g_variant_iter_next;
0x00004000 lw a0, 0x24(sp) | a0 = *(var_24h_2);
0x00004004 move a2, s3 | a2 = s3;
0x00004008 move a1, s2 | a1 = s2;
0x0000400c jalr t9 | t9 ();
0x00004010 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00004014 bnez v0, 0x3fe4 |
| }
0x00004018 lw t9, -0x7d90(gp) | t9 = sym.imp.g_variant_iter_free;
0x0000401c lw a0, 0x24(sp) | a0 = *(var_24h_2);
0x00004020 jalr t9 | t9 ();
0x00004024 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00004028 addiu a1, sp, 0x20 | a1 = sp + 0x20;
0x0000402c lw t9, -0x7f4c(gp) | t9 = sym.ntp_manager_set_static_servers;
0x00004030 move a0, s1 | a0 = s1;
0x00004034 bal 0xac44 | sym_ntp_manager_set_static_servers ();
0x00004038 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0000403c lw v0, 0x20(sp) | v0 = *(var_20h_2);
0x00004040 b 0x3cac | goto label_12;
| label_42:
0x00004044 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00004048 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x0000404c addiu a1, a1, -0x1824 | a1 += -0x1824;
0x00004050 move a0, s3 | a0 = s3;
0x00004054 jalr t9 | t9 ();
0x00004058 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x0000405c bnez v0, 0x40e8 | goto label_15;
| }
0x00004060 lw t9, -0x7f48(gp) | t9 = sym.ntp_manager_disable_timejump_mode;
0x00004064 bal 0xb700 | sym_ntp_manager_disable_timejump_mode ();
0x00004068 nop |
0x0000406c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00004070 b 0x3d6c | goto label_13;
| label_44:
0x00004074 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00004078 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0000407c lw t9, -0x7e6c(gp) | t9 = sym.imp.g_log;
0x00004080 addiu a3, a3, 0x2320 | a3 += 0x2320;
0x00004084 addiu a2, a2, -0x1728 | a2 += -0x1728;
0x00004088 addiu a1, zero, 0x100 | a1 = 0x100;
0x0000408c move a0, zero | a0 = 0;
0x00004090 sw s1, 0x10(sp) | *(var_10h_3) = s1;
0x00004094 jalr t9 | t9 ();
0x00004098 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0000409c lw t9, -0x7e04(gp) | t9 = sym.imp.g_dbus_error_quark;
0x000040a0 jalr t9 | t9 ();
0x000040a4 nop |
0x000040a8 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x000040ac addiu a2, zero, 0x2a | a2 = 0x2a;
0x000040b0 move a1, v0 | a1 = v0;
0x000040b4 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x000040b8 lw t9, -0x7e74(gp) | t9 = sym.imp.g_dbus_method_invocation_return_error;
0x000040bc addiu a3, a3, -0x1704 | a3 += -0x1704;
0x000040c0 move a0, s4 | a0 = s4;
0x000040c4 jalr t9 | t9 ();
0x000040c8 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x000040cc b 0x3ddc | goto label_11;
| label_46:
0x000040d0 lw t9, -0x7f44(gp) | t9 = sym.ntp_manager_disable_client;
0x000040d4 bal 0xa738 | sym_ntp_manager_disable_client ();
0x000040d8 nop |
0x000040dc lw gp, 0x18(sp) | gp = *(var_18h_2);
0x000040e0 lw v0, 0x20(sp) | v0 = *(var_20h_2);
0x000040e4 b 0x3cac | goto label_12;
| do {
| label_15:
0x000040e8 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x000040ec lw a2, -0x7fdc(gp) | a2 = *(gp);
0x000040f0 lw t9, -0x7e6c(gp) | t9 = sym.imp.g_log;
0x000040f4 addiu a3, a3, 0x2320 | a3 += 0x2320;
0x000040f8 addiu a2, a2, -0x18a0 | a2 += -0x18a0;
0x000040fc addiu a1, zero, 0x100 | a1 = 0x100;
0x00004100 move a0, zero | a0 = 0;
0x00004104 sw s3, 0x10(sp) | *(var_10h_3) = s3;
0x00004108 jalr t9 | t9 ();
0x0000410c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00004110 lw t9, -0x7e04(gp) | t9 = sym.imp.g_dbus_error_quark;
0x00004114 jalr t9 | t9 ();
0x00004118 nop |
0x0000411c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00004120 addiu a2, zero, 0x13 | a2 = 0x13;
0x00004124 move a1, v0 | a1 = v0;
0x00004128 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x0000412c lw t9, -0x7e74(gp) | t9 = sym.imp.g_dbus_method_invocation_return_error;
0x00004130 addiu a3, a3, -0x1888 | a3 += -0x1888;
0x00004134 move a0, s4 | a0 = s4;
0x00004138 jalr t9 | t9 ();
0x0000413c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00004140 b 0x3ddc | goto label_11;
| label_47:
0x00004144 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00004148 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x0000414c addiu a1, a1, -0x18e0 | a1 += -0x18e0;
0x00004150 move a0, s3 | a0 = s3;
0x00004154 jalr t9 | t9 ();
0x00004158 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0000415c bnez v0, 0x40e8 |
| } while (v0 != 0);
0x00004160 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00004164 lw t9, -0x7dc0(gp) | t9 = sym.imp.g_variant_check_format_string;
0x00004168 addiu a2, zero, 1 | a2 = 1;
0x0000416c addiu a1, a1, -0x18cc | a1 += -0x18cc;
0x00004170 move a0, s6 | a0 = s6;
0x00004174 jalr t9 | t9 ();
0x00004178 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x0000417c beqz v0, 0x4290 |
0x00004180 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00004184 lw t9, -0x7de4(gp) | t9 = sym.imp.g_variant_get_child;
0x00004188 addiu a3, sp, 0x28 | a3 = sp + 0x28;
0x0000418c addiu a2, a2, 0x25fc | a2 += 0x25fc;
0x00004190 move a1, zero | a1 = 0;
0x00004194 move a0, s6 | a0 = s6;
0x00004198 jalr t9 | t9 ();
0x0000419c lw v0, 0x28(sp) | v0 = *(var_28h_2);
0x000041a0 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x000041a4 beqz v0, 0x42d8 | goto label_49;
| }
0x000041a8 addiu v1, zero, 1 | v1 = 1;
| if (v0 == v1) {
0x000041ac beql v0, v1, 0x42c0 | goto label_50;
| }
0x000041b0 addiu a0, zero, 1 | a0 = 1;
0x000041b4 lw a0, -0x7fdc(gp) | a0 = *(gp);
0x000041b8 lw t9, -0x7cf8(gp) | t9 = sym.imp.g_strdup;
0x000041bc addiu a0, a0, -0x1a30 | a0 += -0x1a30;
0x000041c0 jalr t9 | t9 ();
0x000041c4 sw v0, 0x20(sp) | *(var_20h_2) = v0;
0x000041c8 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x000041cc b 0x3cac | goto label_12;
| label_45:
0x000041d0 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x000041d4 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x000041d8 addiu a1, a1, -0x17f8 | a1 += -0x17f8;
0x000041dc move a0, s3 | a0 = s3;
0x000041e0 jalr t9 | t9 ();
0x000041e4 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x000041e8 bnez v0, 0x4200 |
0x000041ec lw t9, -0x7f40(gp) | t9 = sym.ntp_manager_disable_server;
0x000041f0 bal 0xa9b4 | sym_ntp_manager_disable_server ();
0x000041f4 nop |
0x000041f8 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x000041fc b 0x3ea0 | goto label_14;
| }
0x00004200 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00004204 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x00004208 addiu a1, a1, -0x17e8 | a1 += -0x17e8;
0x0000420c move a0, s3 | a0 = s3;
0x00004210 jalr t9 | t9 ();
0x00004214 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x00004218 bnez v0, 0x4260 |
0x0000421c lw t9, -0x7f3c(gp) | t9 = sym.ntp_manager_enable_server_fudge_mode;
0x00004220 bal 0xb134 | sym_ntp_manager_enable_server_fudge_mode ();
0x00004224 nop |
0x00004228 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0000422c b 0x3ea0 | goto label_14;
| label_48:
0x00004230 lw t9, -0x7e30(gp) | t9 = sym.imp.g_variant_get_type_string;
0x00004234 move a0, s6 | a0 = s6;
0x00004238 jalr t9 | t9 ();
0x0000423c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00004240 move a1, v0 | a1 = v0;
0x00004244 lw a0, -0x7fdc(gp) | a0 = *(gp);
0x00004248 lw t9, -0x7d70(gp) | t9 = sym.imp.g_strdup_printf
0x0000424c addiu a0, a0, -0x1910 | a0 += -0x1910;
0x00004250 jalr t9 | t9 ();
0x00004254 sw v0, 0x20(sp) | *(var_20h_2) = v0;
0x00004258 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0000425c b 0x3cac | goto label_12;
| }
0x00004260 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00004264 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x00004268 addiu a1, a1, -0x17d0 | a1 += -0x17d0;
0x0000426c move a0, s3 | a0 = s3;
0x00004270 jalr t9 | t9 ();
0x00004274 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x00004278 bnez v0, 0x42e0 | goto label_51;
| }
0x0000427c lw t9, -0x7f38(gp) | t9 = sym.ntp_manager_disable_server_fudge_mode;
0x00004280 bal 0xb248 | sym_ntp_manager_disable_server_fudge_mode ();
0x00004284 nop |
0x00004288 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0000428c b 0x3ea0 | goto label_14;
| }
0x00004290 lw t9, -0x7e30(gp) | t9 = sym.imp.g_variant_get_type_string;
0x00004294 move a0, s6 | a0 = s6;
0x00004298 jalr t9 | t9 ();
0x0000429c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x000042a0 move a1, v0 | a1 = v0;
0x000042a4 lw a0, -0x7fdc(gp) | a0 = *(gp);
0x000042a8 lw t9, -0x7d70(gp) | t9 = sym.imp.g_strdup_printf
0x000042ac addiu a0, a0, -0x18c8 | a0 += -0x18c8;
0x000042b0 jalr t9 | t9 ();
0x000042b4 sw v0, 0x20(sp) | *(var_20h_2) = v0;
0x000042b8 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x000042bc b 0x3cac | goto label_12;
| do {
| label_50:
0x000042c0 lw t9, -0x7f34(gp) | t9 = sym.ntp_manager_set_servers_source;
0x000042c4 addiu a1, sp, 0x20 | a1 = sp + 0x20;
0x000042c8 bal 0xaf60 | sym_ntp_manager_set_servers_source ();
0x000042cc lw gp, 0x18(sp) | gp = *(var_18h_2);
0x000042d0 lw v0, 0x20(sp) | v0 = *(var_20h_2);
0x000042d4 b 0x3cac | goto label_12;
| label_49:
0x000042d8 move a0, zero | a0 = 0;
0x000042dc b 0x42c0 |
| } while (1);
| label_51:
0x000042e0 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x000042e4 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x000042e8 addiu a1, a1, -0x17b8 | a1 += -0x17b8;
0x000042ec move a0, s3 | a0 = s3;
0x000042f0 jalr t9 | t9 ();
0x000042f4 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x000042f8 bnez v0, 0x4354 |
0x000042fc lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00004300 lw t9, -0x7dc0(gp) | t9 = sym.imp.g_variant_check_format_string;
0x00004304 addiu a2, zero, 1 | a2 = 1;
0x00004308 addiu a1, a1, -0x18cc | a1 += -0x18cc;
0x0000430c move a0, s6 | a0 = s6;
0x00004310 jalr t9 | t9 ();
0x00004314 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x00004318 beqz v0, 0x43c8 | goto label_52;
| }
0x0000431c lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00004320 lw t9, -0x7de4(gp) | t9 = sym.imp.g_variant_get_child;
0x00004324 addiu a3, sp, 0x28 | a3 = sp + 0x28;
0x00004328 addiu a2, a2, 0x25fc | a2 += 0x25fc;
0x0000432c move a1, zero | a1 = 0;
0x00004330 move a0, s6 | a0 = s6;
0x00004334 jalr t9 | t9 ();
0x00004338 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0000433c lw a0, 0x28(sp) | a0 = *(var_28h_2);
0x00004340 lw t9, -0x7f30(gp) | t9 = sym.ntp_manager_set_server_fudge_mode_timeout;
0x00004344 addiu a1, sp, 0x24 | a1 = sp + 0x24;
0x00004348 bal 0xb358 | sym_ntp_manager_set_server_fudge_mode_timeout ();
0x0000434c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00004350 b 0x3ea0 | goto label_14;
| }
0x00004354 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00004358 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x0000435c addiu a1, a1, -0x1770 | a1 += -0x1770;
0x00004360 move a0, s3 | a0 = s3;
0x00004364 jalr t9 | t9 ();
0x00004368 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x0000436c bnez v0, 0x40e8 | goto label_15;
| }
0x00004370 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00004374 lw t9, -0x7dc0(gp) | t9 = sym.imp.g_variant_check_format_string;
0x00004378 addiu a2, zero, 1 | a2 = 1;
0x0000437c addiu a1, a1, -0x18cc | a1 += -0x18cc;
0x00004380 move a0, s6 | a0 = s6;
0x00004384 jalr t9 | t9 ();
0x00004388 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x0000438c beqz v0, 0x4404 |
0x00004390 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00004394 lw t9, -0x7de4(gp) | t9 = sym.imp.g_variant_get_child;
0x00004398 addiu a3, sp, 0x28 | a3 = sp + 0x28;
0x0000439c addiu a2, a2, 0x25fc | a2 += 0x25fc;
0x000043a0 move a1, zero | a1 = 0;
0x000043a4 move a0, s6 | a0 = s6;
0x000043a8 jalr t9 | t9 ();
0x000043ac lw gp, 0x18(sp) | gp = *(var_18h_2);
0x000043b0 lw a0, 0x28(sp) | a0 = *(var_28h_2);
0x000043b4 lw t9, -0x7f2c(gp) | t9 = sym.ntp_manager_set_server_fudge_mode_stratum;
0x000043b8 addiu a1, sp, 0x24 | a1 = sp + 0x24;
0x000043bc bal 0xb4c4 | sym_ntp_manager_set_server_fudge_mode_stratum ();
0x000043c0 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x000043c4 b 0x3ea0 | goto label_14;
| label_52:
0x000043c8 lw t9, -0x7e30(gp) | t9 = sym.imp.g_variant_get_type_string;
0x000043cc move a0, s6 | a0 = s6;
0x000043d0 jalr t9 | t9 ();
0x000043d4 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x000043d8 move a1, v0 | a1 = v0;
0x000043dc lw a0, -0x7fdc(gp) | a0 = *(gp);
0x000043e0 lw t9, -0x7d70(gp) | t9 = sym.imp.g_strdup_printf
0x000043e4 addiu a0, a0, -0x179c | a0 += -0x179c;
0x000043e8 jalr t9 | t9 ();
0x000043ec sw v0, 0x24(sp) | *(var_24h_2) = v0;
0x000043f0 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x000043f4 b 0x3ea0 | goto label_14;
| label_43:
0x000043f8 lw t9, -0x7df8(gp) | t9 = sym.imp.__stack_chk_fail;
0x000043fc jalr t9 | t9 ();
0x00004400 nop |
| }
0x00004404 lw t9, -0x7e30(gp) | t9 = sym.imp.g_variant_get_type_string;
0x00004408 move a0, s6 | a0 = s6;
0x0000440c jalr t9 | t9 ();
0x00004410 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00004414 move a1, v0 | a1 = v0;
0x00004418 lw a0, -0x7fdc(gp) | a0 = *(gp);
0x0000441c lw t9, -0x7d70(gp) | t9 = sym.imp.g_strdup_printf
0x00004420 addiu a0, a0, -0x1754 | a0 += -0x1754;
0x00004424 jalr t9 | t9 ();
0x00004428 sw v0, 0x24(sp) | *(var_24h_2) = v0;
0x0000442c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00004430 b 0x3ea0 | goto label_14;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/ntpconfd @ 0x4ab0 */
| #include <stdint.h>
|
; (fcn) fcn.00004ab0 () | void fcn_00004ab0 () {
0x00004ab0 lui gp, 2 |
0x00004ab4 addiu gp, gp, 0x65a0 |
0x00004ab8 addu gp, gp, t9 | gp += t9;
0x00004abc addiu sp, sp, -0x510 |
0x00004ac0 lw t9, -0x7d20(gp) | t9 = sym.imp.memset;
0x00004ac4 sw s2, 0x4f4(sp) | *(var_4f4h) = s2;
0x00004ac8 lw s2, -0x7da8(gp) | s2 = *((gp - 8042));
0x00004acc sw s3, 0x4f8(sp) | *(var_4f8h) = s3;
0x00004ad0 addiu s3, sp, 0xe4 | s3 = sp + 0xe4;
0x00004ad4 lw v0, (s2) | v0 = *(s2);
0x00004ad8 sw gp, 0x10(sp) | *(var_10h) = gp;
0x00004adc sw ra, 0x50c(sp) | *(var_50ch) = ra;
0x00004ae0 sw s6, 0x504(sp) | *(var_504h) = s6;
0x00004ae4 sw s0, 0x4ec(sp) | *(var_4ech) = s0;
0x00004ae8 addiu a2, zero, 0x400 | a2 = 0x400;
0x00004aec move a1, zero | a1 = 0;
0x00004af0 sw s7, 0x508(sp) | *(var_508h) = s7;
0x00004af4 sw s5, 0x500(sp) | *(var_500h) = s5;
0x00004af8 sw s4, 0x4fc(sp) | *(var_4fch) = s4;
0x00004afc sw s1, 0x4f0(sp) | *(var_4f0h) = s1;
0x00004b00 move s6, a0 | s6 = a0;
0x00004b04 sw v0, 0x4e4(sp) | *(var_4e4h) = v0;
0x00004b08 move a0, s3 | a0 = s3;
0x00004b0c jalr t9 | t9 ();
0x00004b10 lw gp, 0x10(sp) | gp = *(var_10h);
0x00004b14 move a2, zero | a2 = 0;
0x00004b18 addiu a1, zero, 2 | a1 = 2;
0x00004b1c lw t9, -0x7d7c(gp) | t9 = sym.imp.socket;
0x00004b20 addiu a0, zero, 1 | a0 = 1;
0x00004b24 jalr t9 | t9 ();
0x00004b28 addiu s0, zero, -1 | s0 = -1;
0x00004b2c lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 == s0) {
0x00004b30 beq v0, s0, 0x4cb0 | goto label_4;
| }
0x00004b34 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00004b38 lw t9, -0x7d08(gp) | t9 = sym.imp.strncpy;
0x00004b3c move s1, v0 | s1 = v0;
0x00004b40 addiu v0, zero, 1 | v0 = 1;
0x00004b44 addiu a2, zero, 0x6c | a2 = 0x6c;
| /* str._var_lib_openntpd_run_ntpd.sock */
0x00004b48 addiu a1, a1, 0x1768 | a1 += 0x1768;
0x00004b4c addiu a0, sp, 0x66 | a0 = sp + 0x66;
0x00004b50 sh v0, 0x64(sp) | *(var_64h) = v0;
0x00004b54 jalr t9 | t9 ();
0x00004b58 lw gp, 0x10(sp) | gp = *(var_10h);
0x00004b5c addiu a2, zero, 0x6e | a2 = 0x6e;
0x00004b60 addiu a1, sp, 0x64 | a1 = sp + 0x64;
0x00004b64 lw t9, -0x7cb0(gp) | t9 = sym.imp.connect;
0x00004b68 move a0, s1 | a0 = s1;
0x00004b6c jalr t9 | t9 ();
0x00004b70 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 == s0) {
0x00004b74 beq v0, s0, 0x4cf0 | goto label_5;
| }
0x00004b78 lw t9, -0x7cb8(gp) | t9 = sym.imp.getpid;
| if (s1 == 0) {
0x00004b7c beqz s1, 0x500c | goto label_6;
| }
0x00004b80 addiu s0, sp, 0x48 | s0 = sp + 0x48;
0x00004b84 addiu s5, sp, 0x18 | s5 = sp + 0x18;
0x00004b88 sw zero, 0x48(sp) | *(var_48h) = 0;
0x00004b8c sw zero, 0x18(sp) | *(var_18h) = 0;
0x00004b90 sw zero, 4(s0) | *((s0 + 1)) = 0;
0x00004b94 sw zero, 8(s0) | *((s0 + 2)) = 0;
0x00004b98 sw zero, 0xc(s0) | *((s0 + 3)) = 0;
0x00004b9c sw zero, 0x10(s0) | *((s0 + 4)) = 0;
0x00004ba0 sw zero, 0x14(s0) | *((s0 + 5)) = 0;
0x00004ba4 sw zero, 0x18(s0) | *((s0 + 6)) = 0;
0x00004ba8 sw zero, 4(s5) | *((s5 + 1)) = 0;
0x00004bac jalr t9 | t9 ();
0x00004bb0 sw v0, 0x2c(sp) | *(var_2ch) = v0;
0x00004bb4 addiu v1, zero, 0x10 | v1 = 0x10;
0x00004bb8 sw v0, 0xf0(sp) | *(var_f0h) = v0;
0x00004bbc lw gp, 0x10(sp) | gp = *(var_10h);
0x00004bc0 addiu v0, zero, 1 | v0 = 1;
0x00004bc4 sw v1, 0x20(sp) | *(var_20h_2) = v1;
0x00004bc8 sw v1, 0x24(sp) | *(var_24h_2) = v1;
0x00004bcc sw zero, 0x28(sp) | *(var_28h) = 0;
0x00004bd0 sw v1, 0xe4(sp) | *(var_e4h) = v1;
0x00004bd4 sw v1, 0xe8(sp) | *(var_e8h) = v1;
0x00004bd8 sw zero, 0xec(sp) | *(var_ech) = 0;
0x00004bdc sw s3, 0x18(sp) | *(var_18h) = s3;
0x00004be0 sw v1, 0x1c(sp) | *(var_1ch_2) = v1;
0x00004be4 sw s5, 0x50(sp) | *(var_50h) = s5;
0x00004be8 sw v0, 0x54(sp) | *(var_54h) = v0;
0x00004bec sw zero, 0x58(sp) | *(var_58h) = 0;
0x00004bf0 sw zero, 0x5c(sp) | *(var_5ch) = 0;
0x00004bf4 sw zero, 0x60(sp) | *(var_60h) = 0;
0x00004bf8 addiu s4, zero, -1 | s4 = -1;
0x00004bfc addiu s7, zero, 4 | s7 = 4;
| do {
0x00004c00 lw t9, -0x7d1c(gp) | t9 = sym.imp.sendmsg;
0x00004c04 move a2, zero | a2 = 0;
0x00004c08 move a1, s0 | a1 = s0;
0x00004c0c move a0, s1 | a0 = s1;
0x00004c10 jalr t9 | t9 ();
0x00004c14 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 != s4) {
0x00004c18 bne v0, s4, 0x4d5c | goto label_7;
| }
0x00004c1c lw t9, -0x7ca4(gp) | t9 = sym.imp.__errno_location;
0x00004c20 jalr t9 | t9 ();
0x00004c24 nop |
0x00004c28 lw a0, (v0) | a0 = *(v0);
0x00004c2c lw gp, 0x10(sp) | gp = *(var_10h);
0x00004c30 beq a0, s7, 0x4c00 |
| } while (a0 == s7);
0x00004c34 lw t9, -0x7cc0(gp) | t9 = sym.imp.strerror;
0x00004c38 jalr t9 | t9 ();
0x00004c3c nop |
0x00004c40 lw gp, 0x10(sp) | gp = *(var_10h);
0x00004c44 move a1, v0 | a1 = v0;
0x00004c48 lw a0, -0x7fdc(gp) | a0 = *(gp);
0x00004c4c lw t9, -0x7d70(gp) | t9 = sym.imp.g_strdup_printf
| /* str.Failed_to_send_data_to_NTPD:__s */
0x00004c50 addiu a0, a0, 0x17b0 | a0 += 0x17b0;
| label_1:
0x00004c54 move s0, zero | s0 = 0;
0x00004c58 jalr t9 | t9 ();
0x00004c5c lw gp, 0x10(sp) | gp = *(var_10h);
0x00004c60 sw v0, (s6) | *(s6) = v0;
0x00004c64 lw t9, -0x7dd8(gp) | t9 = sym.imp.close;
0x00004c68 move a0, s1 | a0 = s1;
0x00004c6c jalr t9 | t9 ();
0x00004c70 lw gp, 0x10(sp) | gp = *(var_10h);
| do {
| label_0:
0x00004c74 lw a0, 0x4e4(sp) | a0 = *(var_4e4h);
0x00004c78 lw v1, (s2) | v1 = *(s2);
0x00004c7c move v0, s0 | v0 = s0;
| if (a0 != v1) {
0x00004c80 bne a0, v1, 0x509c | goto label_8;
| }
0x00004c84 lw ra, 0x50c(sp) | ra = *(var_50ch);
0x00004c88 lw s7, 0x508(sp) | s7 = *(var_508h);
0x00004c8c lw s6, 0x504(sp) | s6 = *(var_504h);
0x00004c90 lw s5, 0x500(sp) | s5 = *(var_500h);
0x00004c94 lw s4, 0x4fc(sp) | s4 = *(var_4fch);
0x00004c98 lw s3, 0x4f8(sp) | s3 = *(var_4f8h);
0x00004c9c lw s2, 0x4f4(sp) | s2 = *(var_4f4h);
0x00004ca0 lw s1, 0x4f0(sp) | s1 = *(var_4f0h);
0x00004ca4 lw s0, 0x4ec(sp) | s0 = *(var_4ech);
0x00004ca8 addiu sp, sp, 0x510 |
0x00004cac jr ra | return v0;
| label_4:
0x00004cb0 lw t9, -0x7ca4(gp) | t9 = sym.imp.__errno_location;
0x00004cb4 move s0, zero | s0 = 0;
0x00004cb8 jalr t9 | t9 ();
0x00004cbc lw gp, 0x10(sp) | gp = *(var_10h);
0x00004cc0 lw t9, -0x7cc0(gp) | t9 = sym.imp.strerror;
0x00004cc4 lw a0, (v0) | a0 = *(v0);
0x00004cc8 jalr t9 | t9 ();
0x00004ccc lw gp, 0x10(sp) | gp = *(var_10h);
0x00004cd0 move a1, v0 | a1 = v0;
0x00004cd4 lw a0, -0x7fdc(gp) | a0 = *(gp);
0x00004cd8 lw t9, -0x7d70(gp) | t9 = sym.imp.g_strdup_printf
| /* str.Failed_to_create_the_socket:__s */
0x00004cdc addiu a0, a0, 0x1748 | a0 += 0x1748;
0x00004ce0 jalr t9 | t9 ();
0x00004ce4 lw gp, 0x10(sp) | gp = *(var_10h);
0x00004ce8 sw v0, (s6) | *(s6) = v0;
0x00004cec b 0x4c74 |
| } while (1);
| label_5:
0x00004cf0 lw t9, -0x7ca4(gp) | t9 = sym.imp.__errno_location;
0x00004cf4 jalr t9 | t9 ();
0x00004cf8 nop |
0x00004cfc lw a0, (v0) | a0 = *(v0);
0x00004d00 addiu v0, zero, 0x92 | v0 = 0x92;
0x00004d04 lw gp, 0x10(sp) | gp = *(var_10h);
| if (a0 != v0) {
0x00004d08 beq a0, v0, 0x4d44 |
0x00004d0c addiu v0, zero, 2 | v0 = 2;
0x00004d10 lw t9, -0x7dd8(gp) | t9 = sym.imp.close;
| if (a0 == v0) {
0x00004d14 beq a0, v0, 0x4d48 | goto label_9;
| }
0x00004d18 lw t9, -0x7cc0(gp) | t9 = sym.imp.strerror;
0x00004d1c jalr t9 | t9 ();
0x00004d20 nop |
0x00004d24 lw gp, 0x10(sp) | gp = *(var_10h);
0x00004d28 move a1, v0 | a1 = v0;
0x00004d2c lw a0, -0x7fdc(gp) | a0 = *(gp);
0x00004d30 lw t9, -0x7d70(gp) | t9 = sym.imp.g_strdup_printf
| /* str.Failed_to_connect_to_NTPD_socket:__s */
0x00004d34 addiu a0, a0, 0x1788 | a0 += 0x1788;
0x00004d38 jalr t9 | t9 ();
0x00004d3c lw gp, 0x10(sp) | gp = *(var_10h);
0x00004d40 sw v0, (s6) | *(s6) = v0;
| }
0x00004d44 lw t9, -0x7dd8(gp) | t9 = sym.imp.close;
| label_9:
0x00004d48 move a0, s1 | a0 = s1;
0x00004d4c jalr t9 | t9 ();
0x00004d50 move s0, zero | s0 = 0;
0x00004d54 lw gp, 0x10(sp) | gp = *(var_10h);
0x00004d58 b 0x4c74 | goto label_0;
| label_7:
0x00004d5c lw t9, -0x7d20(gp) | t9 = sym.imp.memset;
0x00004d60 move a0, s3 | a0 = s3;
0x00004d64 sw zero, (s0) | *(s0) = 0;
0x00004d68 sw zero, 4(s0) | *((s0 + 1)) = 0;
0x00004d6c sw zero, 8(s0) | *((s0 + 2)) = 0;
0x00004d70 sw zero, 0xc(s0) | *((s0 + 3)) = 0;
0x00004d74 sw zero, 0x10(s0) | *((s0 + 4)) = 0;
0x00004d78 sw zero, 0x14(s0) | *((s0 + 5)) = 0;
0x00004d7c sw zero, 0x18(s0) | *((s0 + 6)) = 0;
0x00004d80 sw zero, 0xd4(sp) | *(var_d4h) = 0;
0x00004d84 sw zero, 0xd8(sp) | *(var_d8h) = 0;
0x00004d88 sw zero, 0xdc(sp) | *(var_dch) = 0;
0x00004d8c sw zero, 0xe0(sp) | *(var_e0h) = 0;
0x00004d90 addiu a2, zero, 0x400 | a2 = 0x400;
0x00004d94 move a1, zero | a1 = 0;
0x00004d98 jalr t9 | t9 ();
0x00004d9c addiu v0, zero, 0x400 | v0 = 0x400;
0x00004da0 sw v0, 0x1c(sp) | *(var_1ch_2) = v0;
0x00004da4 addiu v0, zero, 0x10 | v0 = 0x10;
0x00004da8 addiu s4, sp, 0xd4 | s4 = sp + 0xd4;
0x00004dac sw v0, 0x5c(sp) | *(var_5ch) = v0;
0x00004db0 lw gp, 0x10(sp) | gp = *(var_10h);
0x00004db4 addiu v0, zero, 1 | v0 = 1;
0x00004db8 sw s3, 0x18(sp) | *(var_18h) = s3;
0x00004dbc sw s4, 0x58(sp) | *(var_58h) = s4;
0x00004dc0 sw s5, 0x50(sp) | *(var_50h) = s5;
0x00004dc4 sw v0, 0x54(sp) | *(var_54h) = v0;
0x00004dc8 addiu s3, zero, -1 | s3 = -1;
0x00004dcc addiu s4, zero, 4 | s4 = 4;
| do {
0x00004dd0 lw t9, -0x7e24(gp) | t9 = sym.imp.recvmsg;
0x00004dd4 move a2, zero | a2 = 0;
0x00004dd8 move a1, s0 | a1 = s0;
0x00004ddc move a0, s1 | a0 = s1;
0x00004de0 jalr t9 | t9 ();
0x00004de4 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 != s3) {
0x00004de8 bne v0, s3, 0x4e28 | goto label_10;
| }
0x00004dec lw t9, -0x7ca4(gp) | t9 = sym.imp.__errno_location;
0x00004df0 jalr t9 | t9 ();
0x00004df4 nop |
0x00004df8 lw a0, (v0) | a0 = *(v0);
0x00004dfc lw gp, 0x10(sp) | gp = *(var_10h);
0x00004e00 beq a0, s4, 0x4dd0 |
| } while (a0 == s4);
0x00004e04 lw t9, -0x7cc0(gp) | t9 = sym.imp.strerror;
0x00004e08 jalr t9 | t9 ();
0x00004e0c nop |
0x00004e10 lw gp, 0x10(sp) | gp = *(var_10h);
0x00004e14 move a1, v0 | a1 = v0;
0x00004e18 lw a0, -0x7fdc(gp) | a0 = *(gp);
0x00004e1c lw t9, -0x7d70(gp) | t9 = sym.imp.g_strdup_printf
| /* str.Failed_to_receive_data_from_NTPD:__s */
0x00004e20 addiu a0, a0, 0x17d0 | a0 += 0x17d0;
0x00004e24 b 0x4c54 | goto label_1;
| label_10:
0x00004e28 lw t9, -0x7dd8(gp) | t9 = sym.imp.close;
0x00004e2c move a0, s1 | a0 = s1;
0x00004e30 jalr t9 | t9 ();
0x00004e34 lw v0, 0x18(sp) | v0 = *(var_18h);
0x00004e38 addiu s3, sp, 0x30 | s3 = sp + 0x30;
0x00004e3c lw gp, 0x10(sp) | gp = *(var_10h);
0x00004e40 lwl v1, 7(v0) | __asm ("lwl v1, 7(v0)");
0x00004e44 lwl a3, 3(v0) | __asm ("lwl a3, 3(v0)");
0x00004e48 lwl a2, 0xb(v0) | __asm ("lwl a2, 0xb(v0)");
0x00004e4c lwr v1, 4(v0) | __asm ("lwr v1, 4(v0)");
0x00004e50 lwl a0, 0xf(v0) | __asm ("lwl a0, 0xf(v0)");
0x00004e54 andi a1, v1, 0xffff | a1 = v1 & 0xffff;
0x00004e58 lwr a3, (v0) | __asm ("lwr a3, (v0)");
0x00004e5c lwr a2, 8(v0) | __asm ("lwr a2, 8(v0)");
0x00004e60 lwr a0, 0xc(v0) | __asm ("lwr a0, 0xc(v0)");
0x00004e64 addiu v0, a1, -0x10 | v0 = a1 + -0x10;
0x00004e68 sltiu v0, v0, 0x3f1 | v0 = (v0 < 0x3f1) ? 1 : 0;
0x00004e6c sw a3, 0x30(sp) | *(var_30h) = a3;
0x00004e70 sw v1, 4(s3) | *((s3 + 1)) = v1;
0x00004e74 sw a2, 8(s3) | *((s3 + 2)) = a2;
0x00004e78 sw a0, 0xc(s3) | *((s3 + 3)) = a0;
| if (v0 == 0) {
0x00004e7c beqz v0, 0x503c | goto label_11;
| }
0x00004e80 lw t9, -0x7e14(gp) | t9 = sym.imp.g_malloc0;
0x00004e84 addiu a0, zero, 0x38 | a0 = 0x38;
0x00004e88 jalr t9 | t9 ();
0x00004e8c lw a3, 0x18(sp) | a3 = *(var_18h);
0x00004e90 lw gp, 0x10(sp) | gp = *(var_10h);
0x00004e94 addiu s1, a3, 0x10 | s1 = a3 + 0x10;
0x00004e98 move s0, v0 | s0 = v0;
0x00004e9c addiu a3, a3, 0x40 | a3 += 0x40;
| do {
0x00004ea0 lwl a2, 3(s1) | __asm ("lwl a2, 3(s1)");
0x00004ea4 lwl a1, 7(s1) | __asm ("lwl a1, 7(s1)");
0x00004ea8 lwl a0, 0xb(s1) | __asm ("lwl a0, 0xb(s1)");
0x00004eac lwl v1, 0xf(s1) | __asm ("lwl v1, 0xf(s1)");
0x00004eb0 lwr a2, (s1) | __asm ("lwr a2, (s1)");
0x00004eb4 lwr a1, 4(s1) | __asm ("lwr a1, 4(s1)");
0x00004eb8 lwr v1, 0xc(s1) | __asm ("lwr v1, 0xc(s1)");
0x00004ebc lwr a0, 8(s1) | __asm ("lwr a0, 8(s1)");
0x00004ec0 swl a2, 3(v0) | __asm ("swl a2, 3(v0)");
0x00004ec4 swr a2, (v0) | __asm ("swr a2, (v0)");
0x00004ec8 swl a1, 7(v0) | __asm ("swl a1, 7(v0)");
0x00004ecc swr a1, 4(v0) | __asm ("swr a1, 4(v0)");
0x00004ed0 swl a0, 0xb(v0) | __asm ("swl a0, 0xb(v0)");
0x00004ed4 swr a0, 8(v0) | __asm ("swr a0, 8(v0)");
0x00004ed8 addiu s1, s1, 0x10 | s1 += 0x10;
0x00004edc swl v1, 0xf(v0) | __asm ("swl v1, 0xf(v0)");
0x00004ee0 swr v1, 0xc(v0) | __asm ("swr v1, 0xc(v0)");
0x00004ee4 addiu v0, v0, 0x10 | v0 += 0x10;
0x00004ee8 bne s1, a3, 0x4ea0 |
| } while (s1 != a3);
0x00004eec lw v0, (s0) | v0 = *(s0);
0x00004ef0 sltiu v1, v0, 6 | v1 = (v0 < 6) ? 1 : 0;
0x00004ef4 lw a3, -0x7fdc(gp) | a3 = *(gp);
| if (v1 == 0) {
0x00004ef8 beqz v1, 0x5014 | goto label_12;
| }
| label_3:
0x00004efc sll v1, v0, 4 | v1 = v0 << 4;
0x00004f00 subu v0, v1, v0 | __asm ("subu v0, v1, v0");
0x00004f04 lw t9, -0x7e14(gp) | t9 = sym.imp.g_malloc0;
0x00004f08 sll a0, v0, 3 | a0 = v0 << 3;
0x00004f0c jalr t9 | t9 ();
0x00004f10 lw v1, (s0) | v1 = *(s0);
0x00004f14 lw gp, 0x10(sp) | gp = *(var_10h);
0x00004f18 sw v0, 0x30(s0) | *((s0 + 12)) = v0;
| if (v1 == 0) {
0x00004f1c beqz v1, 0x4c74 | goto label_0;
| }
0x00004f20 move t1, zero | t1 = 0;
0x00004f24 move t0, zero | t0 = 0;
0x00004f28 addiu t2, zero, 5 | t2 = 5;
| label_2:
0x00004f2c lwl v0, 7(s1) | __asm ("lwl v0, 7(s1)");
0x00004f30 lwl a3, 3(s1) | __asm ("lwl a3, 3(s1)");
0x00004f34 lwl a2, 0xb(s1) | __asm ("lwl a2, 0xb(s1)");
0x00004f38 lwr v0, 4(s1) | __asm ("lwr v0, 4(s1)");
0x00004f3c lwl a0, 0xf(s1) | __asm ("lwl a0, 0xf(s1)");
0x00004f40 andi a1, v0, 0xffff | a1 = v0 & 0xffff;
0x00004f44 lwr a3, (s1) | __asm ("lwr a3, (s1)");
0x00004f48 lwr a2, 8(s1) | __asm ("lwr a2, 8(s1)");
0x00004f4c lwr a0, 0xc(s1) | __asm ("lwr a0, 0xc(s1)");
0x00004f50 addiu v1, a1, -0x10 | v1 = a1 + -0x10;
0x00004f54 sltiu v1, v1, 0x3f1 | v1 = (v1 < 0x3f1) ? 1 : 0;
0x00004f58 sw a3, (s3) | *(s3) = a3;
0x00004f5c sw v0, 4(s3) | *((s3 + 1)) = v0;
0x00004f60 sw a2, 8(s3) | *((s3 + 2)) = a2;
0x00004f64 sw a0, 0xc(s3) | *((s3 + 3)) = a0;
| if (v1 == 0) {
0x00004f68 beqz v1, 0x505c | goto label_13;
| }
0x00004f6c lw v0, 0x30(s0) | v0 = *((s0 + 12));
0x00004f70 addiu v1, s1, 0x10 | v1 = s1 + 0x10;
0x00004f74 addu v0, v0, t1 | v0 += t1;
0x00004f78 addiu t3, s1, 0x80 | t3 = s1 + 0x80;
| do {
0x00004f7c lwl a3, 3(v1) | __asm ("lwl a3, 3(v1)");
0x00004f80 lwl a2, 7(v1) | __asm ("lwl a2, 7(v1)");
0x00004f84 lwl a1, 0xb(v1) | __asm ("lwl a1, 0xb(v1)");
0x00004f88 lwl a0, 0xf(v1) | __asm ("lwl a0, 0xf(v1)");
0x00004f8c lwr a3, (v1) | __asm ("lwr a3, (v1)");
0x00004f90 lwr a2, 4(v1) | __asm ("lwr a2, 4(v1)");
0x00004f94 lwr a0, 0xc(v1) | __asm ("lwr a0, 0xc(v1)");
0x00004f98 lwr a1, 8(v1) | __asm ("lwr a1, 8(v1)");
0x00004f9c swl a3, 3(v0) | __asm ("swl a3, 3(v0)");
0x00004fa0 swr a3, (v0) | __asm ("swr a3, (v0)");
0x00004fa4 swl a2, 7(v0) | __asm ("swl a2, 7(v0)");
0x00004fa8 swr a2, 4(v0) | __asm ("swr a2, 4(v0)");
0x00004fac swl a1, 0xb(v0) | __asm ("swl a1, 0xb(v0)");
0x00004fb0 swr a1, 8(v0) | __asm ("swr a1, 8(v0)");
0x00004fb4 addiu v1, v1, 0x10 | v1 += 0x10;
0x00004fb8 swl a0, 0xf(v0) | __asm ("swl a0, 0xf(v0)");
0x00004fbc swr a0, 0xc(v0) | __asm ("swr a0, 0xc(v0)");
0x00004fc0 addiu v0, v0, 0x10 | v0 += 0x10;
0x00004fc4 bne v1, t3, 0x4f7c |
| } while (v1 != t3);
0x00004fc8 lwl a1, 3(v1) | __asm ("lwl a1, 3(v1)");
0x00004fcc lwl a0, 7(v1) | __asm ("lwl a0, 7(v1)");
0x00004fd0 addiu t0, t0, 1 | t0++;
0x00004fd4 lwr a1, (v1) | __asm ("lwr a1, (v1)");
0x00004fd8 lwr a0, 4(v1) | __asm ("lwr a0, 4(v1)");
0x00004fdc swl a1, 3(v0) | __asm ("swl a1, 3(v0)");
0x00004fe0 swr a1, (v0) | __asm ("swr a1, (v0)");
0x00004fe4 swl a0, 7(v0) | __asm ("swl a0, 7(v0)");
0x00004fe8 swr a0, 4(v0) | __asm ("swr a0, 4(v0)");
0x00004fec lw v0, (s0) | v0 = *(s0);
0x00004ff0 sltu v0, t0, v0 | v0 = (t0 < v0) ? 1 : 0;
0x00004ff4 addiu s1, s1, 0x88 | s1 += 0x88;
| if (v0 == 0) {
0x00004ff8 beqz v0, 0x4c74 | goto label_0;
| }
0x00004ffc addiu t1, t1, 0x78 | t1 += 0x78;
| if (t0 != t2) {
0x00005000 bne t0, t2, 0x4f2c | goto label_2;
| }
0x00005004 b 0x4c74 | goto label_0;
0x00005008 nop |
| label_6:
0x0000500c move s0, zero | s0 = 0;
0x00005010 b 0x4c74 | goto label_0;
| label_12:
0x00005014 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00005018 lw t9, -0x7e6c(gp) | t9 = sym.imp.g_log;
0x0000501c addiu a3, a3, 0x2320 | a3 += 0x2320;
| /* str._sReceived_too_many_peers_from_NTPD */
0x00005020 addiu a2, a2, 0x1838 | a2 += 0x1838;
0x00005024 addiu a1, zero, 0x10 | a1 = 0x10;
0x00005028 move a0, zero | a0 = 0;
0x0000502c jalr t9 | t9 ();
0x00005030 lw gp, 0x10(sp) | gp = *(var_10h);
0x00005034 lw v0, (s0) | v0 = *(s0);
0x00005038 b 0x4efc | goto label_3;
| label_11:
0x0000503c lw a0, -0x7fdc(gp) | a0 = *(gp);
0x00005040 lw t9, -0x7d70(gp) | t9 = sym.imp.g_strdup_printf
| /* str.Invalid_section_size_when_receiving_status_data_from_NTPD:__d */
0x00005044 addiu a0, a0, 0x17f8 | a0 += 0x17f8;
0x00005048 jalr t9 | t9 ();
0x0000504c move s0, zero | s0 = 0;
0x00005050 lw gp, 0x10(sp) | gp = *(var_10h);
0x00005054 sw v0, (s6) | *(s6) = v0;
0x00005058 b 0x4c74 | goto label_0;
| label_13:
0x0000505c lw a0, -0x7fdc(gp) | a0 = *(gp);
0x00005060 lw t9, -0x7d70(gp) | t9 = sym.imp.g_strdup_printf
| /* str.Invalid_section_size_when_receiving_peer_data_from_NTPD:__d */
0x00005064 addiu a0, a0, 0x185c | a0 += 0x185c;
0x00005068 jalr t9 | t9 ();
0x0000506c lw gp, 0x10(sp) | gp = *(var_10h);
0x00005070 lw a0, 0x30(s0) | a0 = *((s0 + 12));
0x00005074 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x00005078 sw v0, (s6) | *(s6) = v0;
0x0000507c jalr t9 | t9 ();
0x00005080 lw gp, 0x10(sp) | gp = *(var_10h);
0x00005084 move a0, s0 | a0 = s0;
0x00005088 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x0000508c move s0, zero | s0 = 0;
0x00005090 jalr t9 | t9 ();
0x00005094 lw gp, 0x10(sp) | gp = *(var_10h);
0x00005098 b 0x4c74 | goto label_0;
| label_8:
0x0000509c lw t9, -0x7df8(gp) | t9 = sym.imp.__stack_chk_fail;
0x000050a0 jalr t9 | t9 ();
0x000050a4 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/ntpconfd @ 0x53f0 */
| #include <stdint.h>
|
; (fcn) fcn.000053f0 () | void fcn_000053f0 () {
| label_5:
0x000053f0 lui gp, 2 |
0x000053f4 addiu gp, gp, 0x5c60 |
0x000053f8 addu gp, gp, t9 | gp += t9;
0x000053fc addiu sp, sp, -0x98 |
0x00005400 lw t9, -0x7dc0(gp) | t9 = sym.imp.g_variant_check_format_string;
0x00005404 sw s2, 0x7c(sp) | *(var_7ch) = s2;
0x00005408 lw s2, -0x7da8(gp) | s2 = *((gp - 8042));
0x0000540c sw s3, 0x80(sp) | *(var_80h) = s3;
0x00005410 move s3, a1 | s3 = a1;
0x00005414 lw v0, (s2) | v0 = *(s2);
0x00005418 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0000541c sw gp, 0x18(sp) | *(var_18h) = gp;
0x00005420 sw s1, 0x78(sp) | *(var_78h) = s1;
0x00005424 sw s0, 0x74(sp) | *(var_74h) = s0;
0x00005428 sw ra, 0x94(sp) | *(var_94h) = ra;
0x0000542c sw s7, 0x90(sp) | *(var_90h) = s7;
0x00005430 sw s6, 0x8c(sp) | *(var_8ch) = s6;
0x00005434 sw s5, 0x88(sp) | *(var_88h) = s5;
0x00005438 sw s4, 0x84(sp) | *(var_84h) = s4;
0x0000543c move s1, a2 | s1 = a2;
| /* str.asv */
0x00005440 addiu a1, a1, 0x1898 | a1 += 0x1898;
0x00005444 addiu a2, zero, 1 | a2 = 1;
0x00005448 sw v0, 0x6c(sp) | *(var_6ch) = v0;
0x0000544c sw zero, 0x20(sp) | *(var_20h) = 0;
0x00005450 sw zero, 0x24(sp) | *(var_24h) = 0;
0x00005454 move s0, a0 | s0 = a0;
0x00005458 jalr t9 | t9 ();
0x0000545c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00005460 beqz v0, 0x55e4 | goto label_18;
| }
0x00005464 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00005468 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
| /* str.com.axis.Net1.Device.IPv4 */
0x0000546c addiu a1, a1, 0x18c8 | a1 += 0x18c8;
0x00005470 move a0, s1 | a0 = s1;
0x00005474 jalr t9 | t9 ();
0x00005478 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x0000547c bnez v0, 0x5510 | goto label_19;
| }
0x00005480 lw t9, -0x7dfc(gp) | t9 = sym.imp.g_variant_n_children;
0x00005484 move a0, s0 | a0 = s0;
0x00005488 jalr t9 | t9 ();
0x0000548c addiu s3, s3, 0x18 | s3 += 0x18;
0x00005490 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00005494 bnez v0, 0x5544 | goto label_20;
| }
| do {
0x00005498 lw t9, -0x7e14(gp) | t9 = sym.imp.g_malloc0;
0x0000549c addiu a0, zero, 1 | a0 = 1;
0x000054a0 jalr t9 | t9 ();
0x000054a4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000054a8 move s0, v0 | s0 = v0;
| label_0:
0x000054ac lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
| if (s0 != 0) {
0x000054b0 beqz s0, 0x54c8 |
0x000054b4 lw a1, (s3) | a1 = *(s3);
0x000054b8 move a0, s0 | a0 = s0;
0x000054bc jalr t9 | t9 ();
0x000054c0 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x000054c4 bnez v0, 0x5724 | goto label_21;
| }
| }
| label_4:
0x000054c8 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
| label_3:
0x000054cc move a0, s0 | a0 = s0;
0x000054d0 jalr t9 | t9 ();
0x000054d4 lw gp, 0x18(sp) | gp = *(var_18h);
| label_1:
0x000054d8 lw v1, 0x6c(sp) | v1 = *(var_6ch);
0x000054dc lw v0, (s2) | v0 = *(s2);
0x000054e0 lw ra, 0x94(sp) | ra = *(var_94h);
| if (v1 != v0) {
0x000054e4 bne v1, v0, 0x5898 | goto label_22;
| }
0x000054e8 lw s7, 0x90(sp) | s7 = *(var_90h);
0x000054ec lw s6, 0x8c(sp) | s6 = *(var_8ch);
0x000054f0 lw s5, 0x88(sp) | s5 = *(var_88h);
0x000054f4 lw s4, 0x84(sp) | s4 = *(var_84h);
0x000054f8 lw s3, 0x80(sp) | s3 = *(var_80h);
0x000054fc lw s2, 0x7c(sp) | s2 = *(var_7ch);
0x00005500 lw s1, 0x78(sp) | s1 = *(var_78h);
0x00005504 lw s0, 0x74(sp) | s0 = *(var_74h);
0x00005508 addiu sp, sp, 0x98 |
0x0000550c jr ra | return v0;
| label_19:
0x00005510 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00005514 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
| /* str.com.axis.Net1.Device.IPv6 */
0x00005518 addiu a1, a1, 0x18e4 | a1 += 0x18e4;
0x0000551c move a0, s1 | a0 = s1;
0x00005520 jalr t9 | t9 ();
0x00005524 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00005528 bnez v0, 0x586c | goto label_23;
| }
0x0000552c lw t9, -0x7dfc(gp) | t9 = sym.imp.g_variant_n_children;
0x00005530 move a0, s0 | a0 = s0;
0x00005534 jalr t9 | t9 ();
0x00005538 addiu s3, s3, 0x1c | s3 += 0x1c;
0x0000553c lw gp, 0x18(sp) | gp = *(var_18h);
0x00005540 beqz v0, 0x5498 |
| } while (v0 == 0);
| label_20:
0x00005544 lw t9, -0x7cc8(gp) | t9 = sym.imp.g_variant_iter_new;
0x00005548 move a0, s0 | a0 = s0;
0x0000554c jalr t9 | t9 ();
0x00005550 lw gp, 0x18(sp) | gp = *(var_18h);
0x00005554 move s1, v0 | s1 = v0;
0x00005558 addiu s6, sp, 0x24 | s6 = sp + 0x24;
0x0000555c lw s0, -0x7fdc(gp) | s0 = *(gp);
0x00005560 lw s4, -0x7fdc(gp) | s4 = *(gp);
0x00005564 addiu s5, sp, 0x20 | s5 = sp + 0x20;
| /* str.sv */
0x00005568 addiu s0, s0, 0x1968 | s0 += 0x1968;
| /* str.timeservers */
0x0000556c addiu s4, s4, 0x1928 | s4 += 0x1928;
0x00005570 b 0x55ac |
| while (v0 != 0) {
0x00005574 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x00005578 lw a0, 0x20(sp) | a0 = *(var_20h);
0x0000557c move a1, s4 | a1 = s4;
0x00005580 jalr t9 | t9 ();
0x00005584 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00005588 beqz v0, 0x5620 | goto label_24;
| }
0x0000558c lw t9, -0x7e00(gp) | t9 = sym.imp.g_variant_unref;
0x00005590 lw a0, 0x24(sp) | a0 = *(var_24h);
0x00005594 jalr t9 | t9 ();
0x00005598 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000559c lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x000055a0 lw a0, 0x20(sp) | a0 = *(var_20h);
0x000055a4 jalr t9 | t9 ();
0x000055a8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000055ac lw t9, -0x7d48(gp) | t9 = sym.imp.g_variant_iter_next;
0x000055b0 move a3, s6 | a3 = s6;
0x000055b4 move a2, s5 | a2 = s5;
0x000055b8 move a1, s0 | a1 = s0;
0x000055bc move a0, s1 | a0 = s1;
0x000055c0 jalr t9 | t9 ();
0x000055c4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000055c8 bnez v0, 0x5574 |
| }
0x000055cc move s0, zero | s0 = 0;
| label_2:
0x000055d0 lw t9, -0x7d90(gp) | t9 = sym.imp.g_variant_iter_free;
0x000055d4 move a0, s1 | a0 = s1;
0x000055d8 jalr t9 | t9 ();
0x000055dc lw gp, 0x18(sp) | gp = *(var_18h);
0x000055e0 b 0x54ac | goto label_0;
| label_18:
0x000055e4 lw t9, -0x7e30(gp) | t9 = sym.imp.g_variant_get_type_string;
0x000055e8 move a0, s0 | a0 = s0;
0x000055ec jalr t9 | t9 ();
0x000055f0 lw gp, 0x18(sp) | gp = *(var_18h);
0x000055f4 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000055f8 addiu a1, zero, 0x10 | a1 = 0x10;
0x000055fc lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00005600 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00005604 lw t9, -0x7e6c(gp) | t9 = sym.imp.g_log;
0x00005608 addiu a3, a3, 0x2320 | a3 += 0x2320;
| /* str._sUnexpected_DHCPLeaseInfo_format:__s */
0x0000560c addiu a2, a2, 0x18a0 | a2 += 0x18a0;
0x00005610 move a0, zero | a0 = 0;
0x00005614 jalr t9 | t9 ();
0x00005618 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000561c b 0x54d8 | goto label_1;
| label_24:
0x00005620 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00005624 lw t9, -0x7dc0(gp) | t9 = sym.imp.g_variant_check_format_string;
0x00005628 lw a0, 0x24(sp) | a0 = *(var_24h);
0x0000562c addiu a2, zero, 1 | a2 = 1;
0x00005630 addiu a1, a1, -0x18e4 | a1 += -0x18e4;
0x00005634 jalr t9 | t9 ();
0x00005638 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x0000563c beqz v0, 0x5810 | goto label_25;
| }
0x00005640 lw t9, -0x7db0(gp) | t9 = sym.imp.g_variant_iter_init;
0x00005644 lw a1, 0x24(sp) | a1 = *(var_24h);
0x00005648 addiu s6, sp, 0x2c | s6 = sp + 0x2c;
0x0000564c move a0, s6 | a0 = s6;
0x00005650 jalr t9 | t9 ();
0x00005654 lw gp, 0x18(sp) | gp = *(var_18h);
0x00005658 addiu a0, zero, 1 | a0 = 1;
0x0000565c lw t9, -0x7e14(gp) | t9 = sym.imp.g_malloc0;
0x00005660 addiu s7, sp, 0x28 | s7 = sp + 0x28;
0x00005664 jalr t9 | t9 ();
0x00005668 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000566c move s0, v0 | s0 = v0;
0x00005670 sw zero, 0x28(sp) | *(var_28h_5) = 0;
0x00005674 lw s4, -0x7fdc(gp) | s4 = *(gp);
0x00005678 lw s5, -0x7fdc(gp) | s5 = *(gp);
0x0000567c addiu s4, s4, 0x2424 | s4 += 0x2424;
| /* str._s__s */
0x00005680 addiu s5, s5, 0x1960 | s5 += 0x1960;
0x00005684 b 0x56c4 |
| while (v0 != 0) {
0x00005688 lw t9, -0x7d70(gp) | t9 = sym.imp.g_strdup_printf
0x0000568c lw a2, 0x28(sp) | a2 = *(var_28h_5);
0x00005690 move a1, s0 | a1 = s0;
0x00005694 move a0, s5 | a0 = s5;
0x00005698 jalr t9 | t9 ();
0x0000569c lw gp, 0x18(sp) | gp = *(var_18h);
0x000056a0 move a0, s0 | a0 = s0;
0x000056a4 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x000056a8 move s0, v0 | s0 = v0;
0x000056ac jalr t9 | t9 ();
0x000056b0 lw gp, 0x18(sp) | gp = *(var_18h);
0x000056b4 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x000056b8 lw a0, 0x28(sp) | a0 = *(var_28h_5);
0x000056bc jalr t9 | t9 ();
0x000056c0 lw gp, 0x18(sp) | gp = *(var_18h);
0x000056c4 lw t9, -0x7d48(gp) | t9 = sym.imp.g_variant_iter_next;
0x000056c8 move a2, s7 | a2 = s7;
0x000056cc move a1, s4 | a1 = s4;
0x000056d0 move a0, s6 | a0 = s6;
0x000056d4 jalr t9 | t9 ();
0x000056d8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000056dc bnez v0, 0x5688 |
| }
0x000056e0 lw t9, -0x7de8(gp) | t9 = sym.imp.g_strchug;
0x000056e4 move a0, s0 | a0 = s0;
0x000056e8 jalr t9 | t9 ();
0x000056ec lw gp, 0x18(sp) | gp = *(var_18h);
0x000056f0 lw t9, -0x7dc4(gp) | t9 = sym.imp.g_strchomp;
0x000056f4 move a0, v0 | a0 = v0;
0x000056f8 jalr t9 | t9 ();
0x000056fc lw gp, 0x18(sp) | gp = *(var_18h);
0x00005700 lw t9, -0x7e00(gp) | t9 = sym.imp.g_variant_unref;
0x00005704 lw a0, 0x24(sp) | a0 = *(var_24h);
0x00005708 jalr t9 | t9 ();
0x0000570c lw gp, 0x18(sp) | gp = *(var_18h);
0x00005710 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x00005714 lw a0, 0x20(sp) | a0 = *(var_20h);
0x00005718 jalr t9 | t9 ();
0x0000571c lw gp, 0x18(sp) | gp = *(var_18h);
0x00005720 b 0x55d0 | goto label_2;
| label_21:
0x00005724 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x00005728 lw a0, (s3) | a0 = *(s3);
0x0000572c jalr t9 | t9 ();
0x00005730 lw gp, 0x18(sp) | gp = *(var_18h);
0x00005734 lw t9, -0x7cf8(gp) | t9 = sym.imp.g_strdup;
0x00005738 move a0, s0 | a0 = s0;
0x0000573c jalr t9 | t9 ();
0x00005740 lw gp, 0x18(sp) | gp = *(var_18h);
0x00005744 sw v0, (s3) | *(s3) = v0;
0x00005748 lw t9, -0x7e14(gp) | t9 = sym.imp.g_malloc0;
0x0000574c addiu a0, zero, 1 | a0 = 1;
0x00005750 jalr t9 | t9 ();
0x00005754 lw gp, 0x18(sp) | gp = *(var_18h);
0x00005758 move s3, v0 | s3 = v0;
0x0000575c move s4, v0 | s4 = v0;
0x00005760 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00005764 lw s1, 0x3404(v0) | s1 = *((v0 + 3329));
0x00005768 lw t9, -0x7de8(gp) | t9 = sym.imp.g_strchug;
| if (s1 == 0) {
0x0000576c beqz s1, 0x57bc | goto label_26;
| }
0x00005770 lw s5, -0x7fdc(gp) | s5 = *(gp);
| /* str._s__s__s */
0x00005774 addiu s5, s5, 0x1970 | s5 += 0x1970;
| do {
0x00005778 lw v0, (s1) | v0 = *(s1);
0x0000577c lw t9, -0x7d70(gp) | t9 = sym.imp.g_strdup_printf
0x00005780 move a1, s3 | a1 = s3;
0x00005784 lw a3, 0x1c(v0) | a3 = *((v0 + 7));
0x00005788 lw a2, 0x18(v0) | a2 = *((v0 + 6));
0x0000578c move a0, s5 | a0 = s5;
0x00005790 jalr t9 | t9 ();
0x00005794 lw gp, 0x18(sp) | gp = *(var_18h);
0x00005798 move a0, s3 | a0 = s3;
0x0000579c move s4, v0 | s4 = v0;
0x000057a0 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x000057a4 move s3, s4 | s3 = s4;
0x000057a8 jalr t9 | t9 ();
0x000057ac lw s1, 4(s1) | s1 = *((s1 + 1));
0x000057b0 lw gp, 0x18(sp) | gp = *(var_18h);
0x000057b4 bnez s1, 0x5778 |
| } while (s1 != 0);
0x000057b8 lw t9, -0x7de8(gp) | t9 = sym.imp.g_strchug;
| label_26:
0x000057bc lw s1, -0x7fd8(gp) | s1 = *((gp - 8182));
0x000057c0 move a0, s4 | a0 = s4;
0x000057c4 jalr t9 | t9 ();
0x000057c8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000057cc lw t9, -0x7dc4(gp) | t9 = sym.imp.g_strchomp;
0x000057d0 move a0, v0 | a0 = v0;
0x000057d4 jalr t9 | t9 ();
0x000057d8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000057dc lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x000057e0 lw a0, 0x33f8(s1) | a0 = *((s1 + 3326));
0x000057e4 jalr t9 | t9 ();
0x000057e8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000057ec sw s4, 0x33f8(s1) | *((s1 + 3326)) = s4;
0x000057f0 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x000057f4 lw t9, 0x33f4(v0) | t9 = *((v0 + 3325));
| if (t9 == 0) {
0x000057f8 beql t9, zero, 0x54cc | goto label_3;
| }
0x000057fc lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x00005800 jalr t9 | t9 ();
0x00005804 nop |
0x00005808 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000580c b 0x54c8 | goto label_4;
| label_25:
0x00005810 lw t9, -0x7e30(gp) | t9 = sym.imp.g_variant_get_type_string;
0x00005814 lw a0, 0x24(sp) | a0 = *(var_24h);
0x00005818 jalr t9 | t9 ();
0x0000581c lw gp, 0x18(sp) | gp = *(var_18h);
0x00005820 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00005824 addiu a1, zero, 0x10 | a1 = 0x10;
0x00005828 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x0000582c lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00005830 lw t9, -0x7e6c(gp) | t9 = sym.imp.g_log;
0x00005834 addiu a3, a3, 0x2320 | a3 += 0x2320;
| /* str._sUnexpected_DHCPLeaseInfo_inner_format:__s */
0x00005838 addiu a2, a2, 0x1934 | a2 += 0x1934;
0x0000583c move a0, zero | a0 = 0;
0x00005840 jalr t9 | t9 ();
0x00005844 lw gp, 0x18(sp) | gp = *(var_18h);
0x00005848 lw t9, -0x7e00(gp) | t9 = sym.imp.g_variant_unref;
0x0000584c lw a0, 0x24(sp) | a0 = *(var_24h);
0x00005850 jalr t9 | t9 ();
0x00005854 lw gp, 0x18(sp) | gp = *(var_18h);
0x00005858 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x0000585c lw a0, 0x20(sp) | a0 = *(var_20h);
0x00005860 jalr t9 | t9 ();
0x00005864 lw gp, 0x18(sp) | gp = *(var_18h);
0x00005868 b 0x54d8 | goto label_1;
| label_23:
0x0000586c lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00005870 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00005874 lw t9, -0x7e6c(gp) | t9 = sym.imp.g_log;
0x00005878 sw s1, 0x10(sp) | *(var_10h) = s1;
0x0000587c addiu a3, a3, 0x2320 | a3 += 0x2320;
| /* str._sDHCPLeaseInfo_invalid_interface__s */
0x00005880 addiu a2, a2, 0x1900 | a2 += 0x1900;
0x00005884 addiu a1, zero, 0x10 | a1 = 0x10;
0x00005888 move a0, zero | a0 = 0;
0x0000588c jalr t9 | t9 ();
0x00005890 lw gp, 0x18(sp) | gp = *(var_18h);
0x00005894 b 0x54d8 | goto label_1;
| label_22:
0x00005898 lw t9, -0x7df8(gp) | t9 = sym.imp.__stack_chk_fail;
0x0000589c jalr t9 | t9 ();
0x000058a0 nop |
| label_7:
0x000058a4 lui gp, 2 |
0x000058a8 addiu gp, gp, 0x57ac |
0x000058ac addu gp, gp, t9 | gp += t9;
0x000058b0 addiu sp, sp, -0x38 |
0x000058b4 sw gp, 0x18(sp) | *(var_18h_2) = gp;
0x000058b8 sw ra, 0x34(sp) | *(var_34h) = ra;
0x000058bc sw s4, 0x30(sp) | *(var_30h) = s4;
0x000058c0 sw s3, 0x2c(sp) | *(var_2ch) = s3;
0x000058c4 sw s2, 0x28(sp) | *(var_28h) = s2;
0x000058c8 sw s1, 0x24(sp) | *(var_24h_2) = s1;
0x000058cc sw s0, 0x20(sp) | *(var_20h_2) = s0;
0x000058d0 lw t9, -0x7e14(gp) | t9 = sym.imp.g_malloc0;
| if (a0 != 0) {
0x000058d4 beqz a0, 0x5a28 |
0x000058d8 move s1, a0 | s1 = a0;
0x000058dc addiu a0, zero, 0x20 | a0 = 0x20;
0x000058e0 jalr t9 | t9 ();
0x000058e4 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x000058e8 move a0, s1 | a0 = s1;
0x000058ec lw t9, -0x7cf8(gp) | t9 = sym.imp.g_strdup;
0x000058f0 lw s1, -0x7fdc(gp) | s1 = *(gp);
0x000058f4 move s0, v0 | s0 = v0;
0x000058f8 jalr t9 | t9 ();
0x000058fc lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00005900 addiu a0, s1, 0x2320 | a0 = s1 + 0x2320;
0x00005904 lw t9, -0x7cf8(gp) | t9 = sym.imp.g_strdup;
0x00005908 sw v0, (s0) | *(s0) = v0;
0x0000590c jalr t9 | t9 ();
0x00005910 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00005914 addiu a0, s1, 0x2320 | a0 = s1 + 0x2320;
0x00005918 lw t9, -0x7cf8(gp) | t9 = sym.imp.g_strdup;
0x0000591c sw v0, 0x18(s0) | *((s0 + 6)) = v0;
0x00005920 jalr t9 | t9 ();
0x00005924 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00005928 lw a2, (s0) | a2 = *(s0);
0x0000592c sw v0, 0x1c(s0) | *((s0 + 7)) = v0;
0x00005930 lw s1, -0x7fbc(gp) | s1 = *((gp - 8175));
0x00005934 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00005938 lw a0, -0x7fdc(gp) | a0 = *(gp);
0x0000593c lw t9, -0x7f18(gp) | t9 = sym.dbus_signal_subscribe;
0x00005940 sw s0, 0x10(sp) | *(var_10h_2) = s0;
0x00005944 addiu a3, s1, 0x5fe4 | a3 = s1 + 0x5fe4;
| /* str.PropertiesChanged */
0x00005948 addiu a1, a1, 0x197c | a1 += 0x197c;
| /* str.org.freedesktop.DBus.Properties */
0x0000594c addiu a0, a0, 0x1990 | a0 += 0x1990;
0x00005950 bal 0xc610 | sym_dbus_signal_subscribe ();
0x00005954 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00005958 sw v0, 4(s0) | *((s0 + 1)) = v0;
0x0000595c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00005960 lw v0, 0x33f0(v0) | v0 = *((v0 + 3324));
0x00005964 lw s2, -0x7fdc(gp) | s2 = *(gp);
| if (v0 != 0) {
0x00005968 beqz v0, 0x5a04 |
0x0000596c lw s4, -0x7fdc(gp) | s4 = *(gp);
0x00005970 lw t9, -0x7f18(gp) | t9 = sym.dbus_signal_subscribe;
0x00005974 lw a2, (s0) | a2 = *(s0);
| /* str.com.axis.Net1.Device.IPv4 */
0x00005978 addiu a0, s2, 0x18c8 | a0 = s2 + 0x18c8;
0x0000597c addiu a3, s1, 0x5fe4 | a3 = s1 + 0x5fe4;
| /* str.AddressAdded */
0x00005980 addiu a1, s4, 0x19d0 | a1 = s4 + 0x19d0;
0x00005984 lw s3, -0x7fdc(gp) | s3 = *(gp);
0x00005988 sw s0, 0x10(sp) | *(var_10h_2) = s0;
0x0000598c bal 0xc610 | sym_dbus_signal_subscribe ();
0x00005990 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00005994 lw a2, (s0) | a2 = *(s0);
| /* str.com.axis.Net1.Device.IPv4 */
0x00005998 addiu a0, s2, 0x18c8 | a0 = s2 + 0x18c8;
0x0000599c lw t9, -0x7f18(gp) | t9 = sym.dbus_signal_subscribe;
0x000059a0 addiu a3, s1, 0x5fe4 | a3 = s1 + 0x5fe4;
| /* str.AddressRemoved */
0x000059a4 addiu a1, s3, 0x19e0 | a1 = s3 + 0x19e0;
0x000059a8 sw v0, 8(s0) | *((s0 + 2)) = v0;
0x000059ac lw s2, -0x7fdc(gp) | s2 = *(gp);
0x000059b0 sw s0, 0x10(sp) | *(var_10h_2) = s0;
0x000059b4 bal 0xc610 | sym_dbus_signal_subscribe ();
0x000059b8 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x000059bc lw a2, (s0) | a2 = *(s0);
0x000059c0 addiu a3, s1, 0x5fe4 | a3 = s1 + 0x5fe4;
0x000059c4 lw t9, -0x7f18(gp) | t9 = sym.dbus_signal_subscribe;
| /* str.AddressAdded */
0x000059c8 addiu a1, s4, 0x19d0 | a1 = s4 + 0x19d0;
| /* str.com.axis.Net1.Device.IPv6 */
0x000059cc addiu a0, s2, 0x18e4 | a0 = s2 + 0x18e4;
0x000059d0 sw v0, 0xc(s0) | *((s0 + 3)) = v0;
0x000059d4 sw s0, 0x10(sp) | *(var_10h_2) = s0;
0x000059d8 bal 0xc610 | sym_dbus_signal_subscribe ();
0x000059dc lw gp, 0x18(sp) | gp = *(var_18h_2);
0x000059e0 lw a2, (s0) | a2 = *(s0);
0x000059e4 sw v0, 0x10(s0) | *((s0 + 4)) = v0;
0x000059e8 lw t9, -0x7f18(gp) | t9 = sym.dbus_signal_subscribe;
0x000059ec sw s0, 0x10(sp) | *(var_10h_2) = s0;
0x000059f0 addiu a3, s1, 0x5fe4 | a3 = s1 + 0x5fe4;
| /* str.AddressRemoved */
0x000059f4 addiu a1, s3, 0x19e0 | a1 = s3 + 0x19e0;
| /* str.com.axis.Net1.Device.IPv6 */
0x000059f8 addiu a0, s2, 0x18e4 | a0 = s2 + 0x18e4;
0x000059fc bal 0xc610 | sym_dbus_signal_subscribe ();
0x00005a00 sw v0, 0x14(s0) | *((s0 + 5)) = v0;
| }
0x00005a04 lw ra, 0x34(sp) | ra = *(var_34h);
0x00005a08 move v0, s0 | v0 = s0;
0x00005a0c lw s4, 0x30(sp) | s4 = *(var_30h);
0x00005a10 lw s3, 0x2c(sp) | s3 = *(var_2ch);
0x00005a14 lw s2, 0x28(sp) | s2 = *(var_28h);
0x00005a18 lw s1, 0x24(sp) | s1 = *(var_24h_2);
0x00005a1c lw s0, 0x20(sp) | s0 = *(var_20h_2);
0x00005a20 addiu sp, sp, 0x38 |
0x00005a24 jr ra | return v0;
| }
0x00005a28 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00005a2c lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00005a30 lw a1, -0x7fdc(gp) | a1 = *(gp);
| /* str.object_path */
0x00005a34 addiu v0, v0, 0x19c4 | v0 += 0x19c4;
0x00005a38 lw t9, -0x7d4c(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00005a3c sw v0, 0x10(sp) | *(var_10h_2) = v0;
| /* str.netd_device_new */
0x00005a40 addiu a3, a3, 0x1c74 | a3 += 0x1c74;
0x00005a44 addiu a2, zero, 0x52 | a2 = 0x52;
| /* str.src_netd_listener.c */
0x00005a48 addiu a1, a1, 0x19b0 | a1 += 0x19b0;
0x00005a4c jalr t9 | t9 ();
0x00005a50 lui gp, 2 |
0x00005a54 addiu gp, gp, 0x5600 |
0x00005a58 addu gp, gp, t9 | gp += t9;
0x00005a5c addiu sp, sp, -0x40 |
0x00005a60 sw s1, 0x30(sp) | *(var_30h_2) = s1;
0x00005a64 lw s1, -0x7da8(gp) | s1 = *((gp - 8042));
0x00005a68 sw gp, 0x18(sp) | *(var_18h_3) = gp;
0x00005a6c sw ra, 0x3c(sp) | *(var_3ch) = ra;
0x00005a70 lw v0, (s1) | v0 = *(s1);
0x00005a74 sw s3, 0x38(sp) | *(var_38h) = s3;
0x00005a78 sw s2, 0x34(sp) | *(var_34h_2) = s2;
0x00005a7c sw s0, 0x2c(sp) | *(var_2ch_2) = s0;
0x00005a80 sw v0, 0x24(sp) | *(var_24h_3) = v0;
0x00005a84 sw zero, 0x20(sp) | *(var_20h_3) = 0;
| if (a1 == 0) {
0x00005a88 beqz a1, 0x5af4 | goto label_27;
| }
0x00005a8c lw v0, 8(a1) | v0 = *((a1 + 2));
0x00005a90 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00005a94 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00005a98 lw t9, -0x7e6c(gp) | t9 = sym.imp.g_log;
0x00005a9c move s0, a1 | s0 = a1;
0x00005aa0 addiu a3, a3, 0x2320 | a3 += 0x2320;
| /* str._sGet_DHCPLeaseInfo_call_failed:__s */
0x00005aa4 addiu a2, a2, 0x19f0 | a2 += 0x19f0;
0x00005aa8 addiu a1, zero, 0x100 | a1 = 0x100;
0x00005aac move a0, zero | a0 = 0;
0x00005ab0 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x00005ab4 jalr t9 | t9 ();
0x00005ab8 lw gp, 0x18(sp) | gp = *(var_18h_3);
0x00005abc lw t9, -0x7e44(gp) | t9 = sym.imp.g_error_free;
0x00005ac0 move a0, s0 | a0 = s0;
0x00005ac4 jalr t9 | t9 ();
0x00005ac8 lw gp, 0x18(sp) | gp = *(var_18h_3);
| do {
0x00005acc lw v1, 0x24(sp) | v1 = *(var_24h_3);
0x00005ad0 lw v0, (s1) | v0 = *(s1);
0x00005ad4 lw ra, 0x3c(sp) | ra = *(var_3ch);
| if (v1 != v0) {
0x00005ad8 bne v1, v0, 0x5bbc | goto label_28;
| }
0x00005adc lw s3, 0x38(sp) | s3 = *(var_38h);
0x00005ae0 lw s2, 0x34(sp) | s2 = *(var_34h_2);
0x00005ae4 lw s1, 0x30(sp) | s1 = *(var_30h_2);
0x00005ae8 lw s0, 0x2c(sp) | s0 = *(var_2ch_2);
0x00005aec addiu sp, sp, 0x40 |
0x00005af0 jr ra | return v0;
| label_27:
0x00005af4 lw s0, -0x7fdc(gp) | s0 = *(gp);
0x00005af8 lw t9, -0x7dc0(gp) | t9 = sym.imp.g_variant_check_format_string;
0x00005afc move s2, a2 | s2 = a2;
| /* esilref: '(v)' */
0x00005b00 addiu a1, s0, 0x1a14 | a1 = s0 + 0x1a14;
0x00005b04 addiu a2, zero, 1 | a2 = 1;
0x00005b08 move s3, a0 | s3 = a0;
0x00005b0c jalr t9 | t9 ();
0x00005b10 lw gp, 0x18(sp) | gp = *(var_18h_3);
| if (v0 == 0) {
0x00005b14 beqz v0, 0x5b80 | goto label_29;
| }
0x00005b18 lw t9, -0x7d9c(gp) | t9 = sym.imp.g_variant_get;
0x00005b1c addiu a2, sp, 0x20 | a2 = sp + 0x20;
| /* esilref: '(v)' */
0x00005b20 addiu a1, s0, 0x1a14 | a1 = s0 + 0x1a14;
0x00005b24 move a0, s3 | a0 = s3;
0x00005b28 jalr t9 | t9 ();
0x00005b2c lw gp, 0x18(sp) | gp = *(var_18h_3);
0x00005b30 lw a2, 4(s2) | a2 = *((s2 + 1));
0x00005b34 lw a1, (s2) | a1 = *(s2);
0x00005b38 lw t9, -0x7fbc(gp) | t9 = *((gp - 8175));
0x00005b3c addiu t9, t9, 0x53f0 | t9 += fcn.000053f0;
0x00005b40 lw a0, 0x20(sp) | a0 = *(var_20h_3);
0x00005b44 bal 0x53f0 | fcn_000053f0 ();
| goto label_5;
0x00005b48 lw gp, 0x18(sp) | gp = *(var_18h_3);
0x00005b4c lw t9, -0x7e00(gp) | t9 = sym.imp.g_variant_unref;
0x00005b50 lw a0, 0x20(sp) | a0 = *(var_20h_3);
0x00005b54 jalr t9 | t9 ();
0x00005b58 lw gp, 0x18(sp) | gp = *(var_18h_3);
| label_6:
0x00005b5c lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x00005b60 move a0, s2 | a0 = s2;
0x00005b64 jalr t9 | t9 ();
0x00005b68 lw gp, 0x18(sp) | gp = *(var_18h_3);
0x00005b6c lw t9, -0x7e00(gp) | t9 = sym.imp.g_variant_unref;
0x00005b70 move a0, s3 | a0 = s3;
0x00005b74 jalr t9 | t9 ();
0x00005b78 lw gp, 0x18(sp) | gp = *(var_18h_3);
0x00005b7c b 0x5acc |
| } while (1);
| label_29:
0x00005b80 lw t9, -0x7e30(gp) | t9 = sym.imp.g_variant_get_type_string;
0x00005b84 move a0, s3 | a0 = s3;
0x00005b88 jalr t9 | t9 ();
0x00005b8c lw gp, 0x18(sp) | gp = *(var_18h_3);
0x00005b90 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x00005b94 addiu a1, zero, 0x10 | a1 = 0x10;
0x00005b98 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00005b9c lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00005ba0 lw t9, -0x7e6c(gp) | t9 = sym.imp.g_log;
0x00005ba4 addiu a3, a3, 0x2320 | a3 += 0x2320;
| /* str._sUnexpected_Get_DHCPLeaseInfo_reply_format:__s */
0x00005ba8 addiu a2, a2, 0x1a18 | a2 += 0x1a18;
0x00005bac move a0, zero | a0 = 0;
0x00005bb0 jalr t9 | t9 ();
0x00005bb4 lw gp, 0x18(sp) | gp = *(var_18h_3);
0x00005bb8 b 0x5b5c | goto label_6;
| label_28:
0x00005bbc lw t9, -0x7df8(gp) | t9 = sym.imp.__stack_chk_fail;
0x00005bc0 jalr t9 | t9 ();
0x00005bc4 nop |
0x00005bc8 lui gp, 2 |
0x00005bcc addiu gp, gp, 0x5488 |
0x00005bd0 addu gp, gp, t9 | gp += t9;
0x00005bd4 lw v0, -0x7da8(gp) | v0 = *((gp - 8042));
0x00005bd8 addiu sp, sp, -0x70 |
0x00005bdc sw v0, 0x34(sp) | *(var_34h_3) = v0;
0x00005be0 lw v0, (v0) | v0 = *(v0);
0x00005be4 sw gp, 0x20(sp) | *(var_20h_4) = gp;
0x00005be8 sw ra, 0x6c(sp) | *(var_6ch_2) = ra;
0x00005bec sw fp, 0x68(sp) | *(var_68h) = fp;
0x00005bf0 sw s7, 0x64(sp) | *(var_64h) = s7;
0x00005bf4 sw s6, 0x60(sp) | *(var_60h) = s6;
0x00005bf8 sw s5, 0x5c(sp) | *(var_5ch) = s5;
0x00005bfc sw s4, 0x58(sp) | *(var_58h) = s4;
0x00005c00 sw s3, 0x54(sp) | *(var_54h) = s3;
0x00005c04 sw s2, 0x50(sp) | *(var_50h) = s2;
0x00005c08 sw s1, 0x4c(sp) | *(var_4ch) = s1;
0x00005c0c sw s0, 0x48(sp) | *(var_48h) = s0;
0x00005c10 sw a0, 0x30(sp) | *(var_30h_3) = a0;
0x00005c14 sw zero, 0x3c(sp) | *(var_3ch_2) = 0;
0x00005c18 sw v0, 0x44(sp) | *(var_44h) = v0;
0x00005c1c sw zero, 0x40(sp) | *(var_40h) = 0;
| if (a1 != 0) {
0x00005c20 beqz a1, 0x5cbc |
0x00005c24 lw v0, 8(a1) | v0 = *((a1 + 2));
0x00005c28 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00005c2c lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00005c30 lw t9, -0x7e6c(gp) | t9 = sym.imp.g_log;
0x00005c34 move s0, a1 | s0 = a1;
0x00005c38 addiu a3, a3, 0x2320 | a3 += 0x2320;
| /* str._sGetDevices_call_failed:__s */
0x00005c3c addiu a2, a2, 0x1a48 | a2 += 0x1a48;
0x00005c40 addiu a1, zero, 0x100 | a1 = 0x100;
0x00005c44 move a0, zero | a0 = 0;
0x00005c48 sw v0, 0x10(sp) | *(var_10h_4) = v0;
0x00005c4c jalr t9 | t9 ();
0x00005c50 lw gp, 0x20(sp) | gp = *(var_20h_4);
0x00005c54 lw t9, -0x7e44(gp) | t9 = sym.imp.g_error_free;
0x00005c58 move a0, s0 | a0 = s0;
0x00005c5c jalr t9 | t9 ();
0x00005c60 lw gp, 0x20(sp) | gp = *(var_20h_4);
| label_9:
0x00005c64 lw a0, 0x30(sp) | a0 = *(var_30h_3);
| label_10:
0x00005c68 lw t9, -0x7e00(gp) | t9 = sym.imp.g_variant_unref;
| if (a0 != 0) {
0x00005c6c beqz a0, 0x5c7c |
0x00005c70 jalr t9 | t9 ();
0x00005c74 nop |
0x00005c78 lw gp, 0x20(sp) | gp = *(var_20h_4);
| }
0x00005c7c lw v0, 0x34(sp) | v0 = *(var_34h_3);
0x00005c80 lw v1, 0x44(sp) | v1 = *(var_44h);
0x00005c84 lw v0, (v0) | v0 = *(v0);
0x00005c88 lw ra, 0x6c(sp) | ra = *(var_6ch_2);
| if (v1 != v0) {
0x00005c8c bne v1, v0, 0x5ef4 | goto label_30;
| }
0x00005c90 lw fp, 0x68(sp) | fp = *(var_68h);
0x00005c94 lw s7, 0x64(sp) | s7 = *(var_64h);
0x00005c98 lw s6, 0x60(sp) | s6 = *(var_60h);
0x00005c9c lw s5, 0x5c(sp) | s5 = *(var_5ch);
0x00005ca0 lw s4, 0x58(sp) | s4 = *(var_58h);
0x00005ca4 lw s3, 0x54(sp) | s3 = *(var_54h);
0x00005ca8 lw s2, 0x50(sp) | s2 = *(var_50h);
0x00005cac lw s1, 0x4c(sp) | s1 = *(var_4ch);
0x00005cb0 lw s0, 0x48(sp) | s0 = *(var_48h);
0x00005cb4 addiu sp, sp, 0x70 |
0x00005cb8 jr ra | return v0;
| }
0x00005cbc lw s0, -0x7fdc(gp) | s0 = *(gp);
0x00005cc0 lw t9, -0x7dc0(gp) | t9 = sym.imp.g_variant_check_format_string;
0x00005cc4 addiu a2, zero, 1 | a2 = 1;
| /* str._a_oasv__ */
0x00005cc8 addiu a1, s0, 0x1a68 | a1 = s0 + 0x1a68;
0x00005ccc jalr t9 | t9 ();
0x00005cd0 lw gp, 0x20(sp) | gp = *(var_20h_4);
| if (v0 == 0) {
0x00005cd4 beqz v0, 0x5eb8 | goto label_31;
| }
0x00005cd8 lw t9, -0x7d9c(gp) | t9 = sym.imp.g_variant_get;
0x00005cdc lw a0, 0x30(sp) | a0 = *(var_30h_3);
| /* str._a_oasv__ */
0x00005ce0 addiu a1, s0, 0x1a68 | a1 = s0 + 0x1a68;
0x00005ce4 addiu a2, sp, 0x3c | a2 = sp + 0x3c;
0x00005ce8 jalr t9 | t9 ();
0x00005cec lw gp, 0x20(sp) | gp = *(var_20h_4);
0x00005cf0 addiu s2, sp, 0x40 | s2 = sp + 0x40;
0x00005cf4 lw s0, -0x7fdc(gp) | s0 = *(gp);
0x00005cf8 lw s1, -0x7fbc(gp) | s1 = *((gp - 8175));
0x00005cfc lw s4, -0x7fbc(gp) | s4 = *((gp - 8175));
0x00005d00 lw s3, -0x7fd8(gp) | s3 = *((gp - 8182));
| /* str._oasv_ */
0x00005d04 addiu s0, s0, 0x1aa0 | s0 += 0x1aa0;
0x00005d08 addiu s1, s1, 0x5350 | s1 += fcn.00005350;
0x00005d0c addiu s4, s4, 0x58a4 | s4 += 0x58a4;
0x00005d10 b 0x5d24 |
| while (v0 != 0) {
| label_8:
0x00005d14 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x00005d18 lw a0, 0x40(sp) | a0 = *(var_40h);
0x00005d1c jalr t9 | t9 ();
0x00005d20 lw gp, 0x20(sp) | gp = *(var_20h_4);
0x00005d24 lw t9, -0x7d48(gp) | t9 = sym.imp.g_variant_iter_next;
0x00005d28 lw a0, 0x3c(sp) | a0 = *(var_3ch_2);
0x00005d2c move a3, zero | a3 = 0;
0x00005d30 move a2, s2 | a2 = s2;
0x00005d34 move a1, s0 | a1 = s0;
0x00005d38 jalr t9 | t9 ();
0x00005d3c lw gp, 0x20(sp) | gp = *(var_20h_4);
| if (v0 == 0) {
0x00005d40 beqz v0, 0x5d84 | goto label_32;
| }
0x00005d44 move t9, s1 | t9 = s1;
0x00005d48 lw a0, 0x40(sp) | a0 = *(var_40h);
0x00005d4c bal 0x5350 | fcn_00005350 ();
0x00005d50 lw gp, 0x20(sp) | gp = *(var_20h_4);
0x00005d54 bnez v0, 0x5d14 |
| }
0x00005d58 move t9, s4 | t9 = s4;
0x00005d5c lw a0, 0x40(sp) | a0 = *(var_40h);
0x00005d60 bal 0x58a4 | fcn_58a4 ();
| goto label_7;
0x00005d64 lw gp, 0x20(sp) | gp = *(var_20h_4);
0x00005d68 lw a0, 0x3404(s3) | a0 = *((s3 + 3329));
0x00005d6c lw t9, -0x7dd4(gp) | t9 = sym.imp.g_list_append;
0x00005d70 move a1, v0 | a1 = v0;
0x00005d74 jalr t9 | t9 ();
0x00005d78 sw v0, 0x3404(s3) | *((s3 + 3329)) = v0;
0x00005d7c lw gp, 0x20(sp) | gp = *(var_20h_4);
0x00005d80 b 0x5d14 | goto label_8;
| label_32:
0x00005d84 lw t9, -0x7d90(gp) | t9 = sym.imp.g_variant_iter_free;
0x00005d88 lw a0, 0x3c(sp) | a0 = *(var_3ch_2);
0x00005d8c jalr t9 | t9 ();
0x00005d90 lw v1, 0x3404(s3) | v1 = *((s3 + 3329));
0x00005d94 lw gp, 0x20(sp) | gp = *(var_20h_4);
| if (v1 == 0) {
0x00005d98 beqz v1, 0x5c64 | goto label_9;
| }
0x00005d9c lw fp, -0x7fdc(gp) | fp = *(gp);
0x00005da0 lw s7, -0x7fbc(gp) | s7 = *((gp - 8175));
0x00005da4 lw s6, -0x7fdc(gp) | s6 = *(gp);
0x00005da8 lw s5, -0x7fdc(gp) | s5 = *(gp);
0x00005dac lw s4, -0x7fdc(gp) | s4 = *(gp);
0x00005db0 lw s3, -0x7fdc(gp) | s3 = *(gp);
0x00005db4 lw s2, -0x7fdc(gp) | s2 = *(gp);
0x00005db8 lw s1, -0x7fdc(gp) | s1 = *(gp);
| /* str.com.axis.Net1.Device.IPv4 */
0x00005dbc addiu fp, fp, 0x18c8 | fp += 0x18c8;
0x00005dc0 addiu s7, s7, 0x5a50 | s7 += 0x5a50;
| /* str.com.axis.Net1.Device.IPv6 */
0x00005dc4 addiu s6, s6, 0x18e4 | s6 += 0x18e4;
| /* str.DHCPLeaseInfo */
0x00005dc8 addiu s5, s5, 0x1aac | s5 += 0x1aac;
| /* str._ss_ */
0x00005dcc addiu s4, s4, 0x1abc | s4 += 0x1abc;
| /* esilref: 'Get' */
0x00005dd0 addiu s3, s3, 0x1ac4 | s3 += 0x1ac4;
| /* str.org.freedesktop.DBus.Properties */
0x00005dd4 addiu s2, s2, 0x1990 | s2 += 0x1990;
| /* str.com.axis.Net1 */
0x00005dd8 addiu s1, s1, 0x1ac8 | s1 += 0x1ac8;
| do {
0x00005ddc lw t9, -0x7d30(gp) | t9 = sym.imp.g_malloc;
0x00005de0 sw v1, 0x2c(sp) | *(var_2ch_5) = v1;
0x00005de4 addiu a0, zero, 8 | a0 = 8;
0x00005de8 lw s0, (v1) | s0 = *(v1);
0x00005dec jalr t9 | t9 ();
0x00005df0 lw gp, 0x20(sp) | gp = *(var_20h_4);
0x00005df4 move a2, s5 | a2 = s5;
0x00005df8 move a1, fp | a1 = fp;
0x00005dfc lw t9, -0x7e70(gp) | t9 = sym.imp.g_variant_new;
0x00005e00 move a0, s4 | a0 = s4;
0x00005e04 sw s0, (v0) | *(v0) = s0;
0x00005e08 sw fp, 4(v0) | *((v0 + 1)) = fp;
0x00005e0c sw v0, 0x28(sp) | *(var_28h_4) = v0;
0x00005e10 jalr t9 | t9 ();
0x00005e14 lw gp, 0x20(sp) | gp = *(var_20h_4);
0x00005e18 lw t0, 0x28(sp) | t0 = *(var_28h_4);
0x00005e1c lw a1, (s0) | a1 = *(s0);
0x00005e20 lw t9, -0x7f10(gp) | t9 = sym.dbus_call_method;
0x00005e24 move a3, s3 | a3 = s3;
0x00005e28 sw t0, 0x18(sp) | *(var_18h_7) = t0;
0x00005e2c move a2, s2 | a2 = s2;
0x00005e30 sw v0, 0x10(sp) | *(var_10h_4) = v0;
0x00005e34 move a0, s1 | a0 = s1;
0x00005e38 sw s7, 0x14(sp) | *(var_14h) = s7;
0x00005e3c bal 0xc3f4 | sym_dbus_call_method ();
0x00005e40 lw gp, 0x20(sp) | gp = *(var_20h_4);
0x00005e44 lw t9, -0x7d30(gp) | t9 = sym.imp.g_malloc;
0x00005e48 addiu a0, zero, 8 | a0 = 8;
0x00005e4c jalr t9 | t9 ();
0x00005e50 lw gp, 0x20(sp) | gp = *(var_20h_4);
0x00005e54 move a2, s5 | a2 = s5;
0x00005e58 move a1, s6 | a1 = s6;
0x00005e5c lw t9, -0x7e70(gp) | t9 = sym.imp.g_variant_new;
0x00005e60 move a0, s4 | a0 = s4;
0x00005e64 sw s0, (v0) | *(v0) = s0;
0x00005e68 sw s6, 4(v0) | *((v0 + 1)) = s6;
0x00005e6c sw v0, 0x28(sp) | *(var_28h_4) = v0;
0x00005e70 jalr t9 | t9 ();
0x00005e74 lw gp, 0x20(sp) | gp = *(var_20h_4);
0x00005e78 lw a3, 0x28(sp) | a3 = *(var_28h_4);
0x00005e7c lw a1, (s0) | a1 = *(s0);
0x00005e80 lw t9, -0x7f10(gp) | t9 = sym.dbus_call_method;
0x00005e84 sw a3, 0x18(sp) | *(var_18h_7) = a3;
0x00005e88 sw s7, 0x14(sp) | *(var_14h) = s7;
0x00005e8c sw v0, 0x10(sp) | *(var_10h_4) = v0;
0x00005e90 move a3, s3 | a3 = s3;
0x00005e94 move a2, s2 | a2 = s2;
0x00005e98 move a0, s1 | a0 = s1;
0x00005e9c bal 0xc3f4 | sym_dbus_call_method ();
0x00005ea0 lw v1, 0x2c(sp) | v1 = *(var_2ch_5);
0x00005ea4 lw v1, 4(v1) | v1 = *((v1 + 1));
0x00005ea8 lw gp, 0x20(sp) | gp = *(var_20h_4);
0x00005eac bnez v1, 0x5ddc |
| } while (v1 != 0);
0x00005eb0 lw a0, 0x30(sp) | a0 = *(var_30h_3);
0x00005eb4 b 0x5c68 | goto label_10;
| label_31:
0x00005eb8 lw t9, -0x7e30(gp) | t9 = sym.imp.g_variant_get_type_string;
0x00005ebc lw a0, 0x30(sp) | a0 = *(var_30h_3);
0x00005ec0 jalr t9 | t9 ();
0x00005ec4 lw gp, 0x20(sp) | gp = *(var_20h_4);
0x00005ec8 sw v0, 0x10(sp) | *(var_10h_4) = v0;
0x00005ecc addiu a1, zero, 0x10 | a1 = 0x10;
0x00005ed0 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00005ed4 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00005ed8 lw t9, -0x7e6c(gp) | t9 = sym.imp.g_log;
0x00005edc addiu a3, a3, 0x2320 | a3 += 0x2320;
| /* str._sUnexpected_GetDevices_reply_format:__s */
0x00005ee0 addiu a2, a2, 0x1a74 | a2 += 0x1a74;
0x00005ee4 move a0, zero | a0 = 0;
0x00005ee8 jalr t9 | t9 ();
0x00005eec lw gp, 0x20(sp) | gp = *(var_20h_4);
0x00005ef0 b 0x5c64 | goto label_9;
| label_30:
0x00005ef4 lw t9, -0x7df8(gp) | t9 = sym.imp.__stack_chk_fail;
0x00005ef8 jalr t9 | t9 ();
0x00005efc nop |
| label_14:
0x00005f00 lui gp, 2 |
0x00005f04 addiu gp, gp, 0x5150 |
0x00005f08 addu gp, gp, t9 | gp += t9;
0x00005f0c addiu sp, sp, -0x28 |
0x00005f10 sw gp, 0x18(sp) | *(var_18h_4) = gp;
0x00005f14 sw ra, 0x24(sp) | *(var_24h_4) = ra;
0x00005f18 sw s0, 0x20(sp) | *(var_20h_5) = s0;
0x00005f1c move s0, a0 | s0 = a0;
| if (a0 != 0) {
0x00005f20 beqz a0, 0x5fbc |
0x00005f24 lw t9, -0x7f24(gp) | t9 = sym.dbus_signal_unsubscribe;
0x00005f28 lw a0, 4(a0) | a0 = *((a0 + 1));
0x00005f2c bal 0xc6f0 | sym_dbus_signal_unsubscribe ();
0x00005f30 lw gp, 0x18(sp) | gp = *(var_18h_4);
0x00005f34 lw t9, -0x7f24(gp) | t9 = sym.dbus_signal_unsubscribe;
0x00005f38 lw a0, 0xc(s0) | a0 = *((s0 + 3));
0x00005f3c bal 0xc6f0 | sym_dbus_signal_unsubscribe ();
0x00005f40 lw gp, 0x18(sp) | gp = *(var_18h_4);
0x00005f44 lw t9, -0x7f24(gp) | t9 = sym.dbus_signal_unsubscribe;
0x00005f48 lw a0, 8(s0) | a0 = *((s0 + 2));
0x00005f4c bal 0xc6f0 | sym_dbus_signal_unsubscribe ();
0x00005f50 lw gp, 0x18(sp) | gp = *(var_18h_4);
0x00005f54 lw t9, -0x7f24(gp) | t9 = sym.dbus_signal_unsubscribe;
0x00005f58 lw a0, 0x14(s0) | a0 = *((s0 + 5));
0x00005f5c bal 0xc6f0 | sym_dbus_signal_unsubscribe ();
0x00005f60 lw gp, 0x18(sp) | gp = *(var_18h_4);
0x00005f64 lw t9, -0x7f24(gp) | t9 = sym.dbus_signal_unsubscribe;
0x00005f68 lw a0, 0x10(s0) | a0 = *((s0 + 4));
0x00005f6c bal 0xc6f0 | sym_dbus_signal_unsubscribe ();
0x00005f70 lw gp, 0x18(sp) | gp = *(var_18h_4);
0x00005f74 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x00005f78 lw a0, (s0) | a0 = *(s0);
0x00005f7c jalr t9 | t9 ();
0x00005f80 lw gp, 0x18(sp) | gp = *(var_18h_4);
0x00005f84 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x00005f88 lw a0, 0x18(s0) | a0 = *((s0 + 6));
0x00005f8c jalr t9 | t9 ();
0x00005f90 lw gp, 0x18(sp) | gp = *(var_18h_4);
0x00005f94 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x00005f98 lw a0, 0x1c(s0) | a0 = *((s0 + 7));
0x00005f9c jalr t9 | t9 ();
0x00005fa0 lw gp, 0x18(sp) | gp = *(var_18h_4);
0x00005fa4 lw ra, 0x24(sp) | ra = *(var_24h_4);
0x00005fa8 move a0, s0 | a0 = s0;
0x00005fac lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x00005fb0 lw s0, 0x20(sp) | s0 = *(var_20h_5);
0x00005fb4 addiu sp, sp, 0x28 |
0x00005fb8 jr t9 | t9 ();
| }
0x00005fbc lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00005fc0 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00005fc4 lw a1, -0x7fdc(gp) | a1 = *(gp);
| /* esilref: 'dev' */
0x00005fc8 addiu v0, v0, 0x1ad8 | v0 += 0x1ad8;
0x00005fcc lw t9, -0x7d4c(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00005fd0 sw v0, 0x10(sp) | *(var_10h_5) = v0;
| /* str.netd_device_free */
0x00005fd4 addiu a3, a3, 0x1c84 | a3 += 0x1c84;
0x00005fd8 addiu a2, zero, 0x71 | a2 = 0x71;
| /* str.src_netd_listener.c */
0x00005fdc addiu a1, a1, 0x19b0 | a1 += 0x19b0;
0x00005fe0 jalr t9 | t9 ();
0x00005fe4 lui gp, 2 |
0x00005fe8 addiu gp, gp, 0x506c |
0x00005fec addu gp, gp, t9 | gp += t9;
0x00005ff0 addiu sp, sp, -0x58 |
0x00005ff4 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00005ff8 sw s1, 0x3c(sp) | *(var_3ch_3) = s1;
0x00005ffc lw s1, -0x7da8(gp) | s1 = *((gp - 8042));
0x00006000 sw s0, 0x38(sp) | *(var_38h_2) = s0;
0x00006004 lw s0, 0x68(sp) | s0 = *(var_10h_5);
0x00006008 lw v0, (s1) | v0 = *(s1);
0x0000600c lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x00006010 sw gp, 0x18(sp) | *(var_18h_5) = gp;
0x00006014 sw s3, 0x44(sp) | *(var_44h_2) = s3;
0x00006018 sw s2, 0x40(sp) | *(var_40h_2) = s2;
0x0000601c sw ra, 0x54(sp) | *(var_54h_2) = ra;
0x00006020 sw s6, 0x50(sp) | *(var_50h_2) = s6;
0x00006024 sw s5, 0x4c(sp) | *(var_4ch_2) = s5;
0x00006028 sw s4, 0x48(sp) | *(var_48h_2) = s4;
| /* str.PropertiesChanged */
0x0000602c addiu a1, a1, 0x197c | a1 += 0x197c;
0x00006030 move a0, s0 | a0 = s0;
0x00006034 sw v0, 0x34(sp) | *(var_34h_4) = v0;
0x00006038 sw zero, 0x24(sp) | *(var_24h_5) = 0;
0x0000603c sw zero, 0x28(sp) | *(var_28h_2) = 0;
0x00006040 sw zero, 0x2c(sp) | *(var_2ch_3) = 0;
0x00006044 sw zero, 0x30(sp) | *(var_30h_4) = 0;
0x00006048 lw s2, 0x6c(sp) | s2 = *(var_6ch_3);
0x0000604c lw s3, 0x70(sp) | s3 = *(var_18h_4);
0x00006050 jalr t9 | t9 ();
0x00006054 lw gp, 0x18(sp) | gp = *(var_18h_5);
| if (v0 != 0) {
0x00006058 bnez v0, 0x6134 | goto label_33;
| }
0x0000605c lw s0, -0x7fdc(gp) | s0 = *(gp);
0x00006060 lw t9, -0x7dc0(gp) | t9 = sym.imp.g_variant_check_format_string;
0x00006064 addiu a2, zero, 1 | a2 = 1;
| /* str._sasvas_ */
0x00006068 addiu a1, s0, 0x1adc | a1 = s0 + 0x1adc;
0x0000606c move a0, s2 | a0 = s2;
0x00006070 jalr t9 | t9 ();
0x00006074 lw gp, 0x18(sp) | gp = *(var_18h_5);
| if (v0 == 0) {
0x00006078 beqz v0, 0x61a0 | goto label_34;
| }
0x0000607c lw t9, -0x7d9c(gp) | t9 = sym.imp.g_variant_get;
| /* str._sasvas_ */
0x00006080 addiu a1, s0, 0x1adc | a1 = s0 + 0x1adc;
0x00006084 move a0, s2 | a0 = s2;
0x00006088 sw zero, 0x10(sp) | *(var_10h_6) = 0;
0x0000608c addiu a3, sp, 0x30 | a3 = sp + 0x30;
0x00006090 addiu a2, sp, 0x24 | a2 = sp + 0x24;
0x00006094 jalr t9 | t9 ();
0x00006098 lw gp, 0x18(sp) | gp = *(var_18h_5);
0x0000609c addiu s6, sp, 0x2c | s6 = sp + 0x2c;
0x000060a0 addiu s5, sp, 0x28 | s5 = sp + 0x28;
0x000060a4 lw s0, -0x7fdc(gp) | s0 = *(gp);
0x000060a8 lw s2, -0x7fdc(gp) | s2 = *(gp);
0x000060ac lw s4, -0x7fbc(gp) | s4 = *((gp - 8175));
| /* str.sv */
0x000060b0 addiu s0, s0, 0x1968 | s0 += 0x1968;
| /* str.DHCPLeaseInfo */
0x000060b4 addiu s2, s2, 0x1aac | s2 += 0x1aac;
0x000060b8 addiu s4, s4, 0x53f0 | s4 += fcn.000053f0;
0x000060bc b 0x60e0 |
| while (v0 != 0) {
| label_11:
0x000060c0 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x000060c4 lw a0, 0x28(sp) | a0 = *(var_28h_2);
0x000060c8 jalr t9 | t9 ();
0x000060cc lw gp, 0x18(sp) | gp = *(var_18h_5);
0x000060d0 lw t9, -0x7e00(gp) | t9 = sym.imp.g_variant_unref;
0x000060d4 lw a0, 0x2c(sp) | a0 = *(var_2ch_3);
0x000060d8 jalr t9 | t9 ();
0x000060dc lw gp, 0x18(sp) | gp = *(var_18h_5);
0x000060e0 lw t9, -0x7d48(gp) | t9 = sym.imp.g_variant_iter_next;
0x000060e4 lw a0, 0x30(sp) | a0 = *(var_30h_4);
0x000060e8 move a3, s6 | a3 = s6;
0x000060ec move a2, s5 | a2 = s5;
0x000060f0 move a1, s0 | a1 = s0;
0x000060f4 jalr t9 | t9 ();
0x000060f8 lw gp, 0x18(sp) | gp = *(var_18h_5);
| if (v0 == 0) {
0x000060fc beqz v0, 0x61dc | goto label_35;
| }
0x00006100 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
0x00006104 lw a0, 0x28(sp) | a0 = *(var_28h_2);
0x00006108 move a1, s2 | a1 = s2;
0x0000610c jalr t9 | t9 ();
0x00006110 lw gp, 0x18(sp) | gp = *(var_18h_5);
0x00006114 bnez v0, 0x60c0 |
| }
0x00006118 lw a2, 0x24(sp) | a2 = *(var_24h_5);
0x0000611c lw a0, 0x2c(sp) | a0 = *(var_2ch_3);
0x00006120 move t9, s4 | t9 = s4;
0x00006124 move a1, s3 | a1 = s3;
0x00006128 bal 0x53f0 | fcn_000053f0 ();
| goto label_5;
0x0000612c lw gp, 0x18(sp) | gp = *(var_18h_5);
0x00006130 b 0x60c0 | goto label_11;
| label_33:
0x00006134 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00006138 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
| /* str.AddressAdded */
0x0000613c addiu a1, a1, 0x19d0 | a1 += 0x19d0;
0x00006140 move a0, s0 | a0 = s0;
0x00006144 jalr t9 | t9 ();
0x00006148 lw gp, 0x18(sp) | gp = *(var_18h_5);
| if (v0 != 0) {
0x0000614c bnez v0, 0x6200 | goto label_36;
| }
| label_13:
0x00006150 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00006154 lw t9, 0x33f0(v0) | t9 = *((v0 + 3324));
0x00006158 lw a3, -0x7fdc(gp) | a3 = *(gp);
| if (t9 == 0) {
0x0000615c beqz t9, 0x62e8 | goto label_37;
| }
0x00006160 jalr t9 | t9 ();
0x00006164 nop |
0x00006168 lw gp, 0x18(sp) | gp = *(var_18h_5);
| do {
| label_12:
0x0000616c lw v1, 0x34(sp) | v1 = *(var_34h_4);
0x00006170 lw v0, (s1) | v0 = *(s1);
0x00006174 lw ra, 0x54(sp) | ra = *(var_54h_2);
| if (v1 != v0) {
0x00006178 bne v1, v0, 0x63c8 | goto label_38;
| }
0x0000617c lw s6, 0x50(sp) | s6 = *(var_50h_2);
0x00006180 lw s5, 0x4c(sp) | s5 = *(var_4ch_2);
0x00006184 lw s4, 0x48(sp) | s4 = *(var_48h_2);
0x00006188 lw s3, 0x44(sp) | s3 = *(var_44h_2);
0x0000618c lw s2, 0x40(sp) | s2 = *(var_40h_2);
0x00006190 lw s1, 0x3c(sp) | s1 = *(var_3ch_3);
0x00006194 lw s0, 0x38(sp) | s0 = *(var_38h_2);
0x00006198 addiu sp, sp, 0x58 |
0x0000619c jr ra | return v0;
| label_34:
0x000061a0 lw t9, -0x7e30(gp) | t9 = sym.imp.g_variant_get_type_string;
0x000061a4 move a0, s2 | a0 = s2;
0x000061a8 jalr t9 | t9 ();
0x000061ac lw gp, 0x18(sp) | gp = *(var_18h_5);
0x000061b0 sw v0, 0x10(sp) | *(var_10h_6) = v0;
0x000061b4 addiu a1, zero, 0x10 | a1 = 0x10;
0x000061b8 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x000061bc lw a2, -0x7fdc(gp) | a2 = *(gp);
0x000061c0 lw t9, -0x7e6c(gp) | t9 = sym.imp.g_log;
0x000061c4 addiu a3, a3, 0x2320 | a3 += 0x2320;
| /* str._sUnexpected_PropertiesChanged_signal_format:__s */
0x000061c8 addiu a2, a2, 0x1ae8 | a2 += 0x1ae8;
0x000061cc move a0, zero | a0 = 0;
0x000061d0 jalr t9 | t9 ();
0x000061d4 lw gp, 0x18(sp) | gp = *(var_18h_5);
0x000061d8 b 0x616c |
| } while (1);
| label_35:
0x000061dc lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x000061e0 lw a0, 0x24(sp) | a0 = *(var_24h_5);
0x000061e4 jalr t9 | t9 ();
0x000061e8 lw gp, 0x18(sp) | gp = *(var_18h_5);
0x000061ec lw t9, -0x7d90(gp) | t9 = sym.imp.g_variant_iter_free;
0x000061f0 lw a0, 0x30(sp) | a0 = *(var_30h_4);
0x000061f4 jalr t9 | t9 ();
0x000061f8 lw gp, 0x18(sp) | gp = *(var_18h_5);
0x000061fc b 0x616c | goto label_12;
| label_36:
0x00006200 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00006204 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
| /* str.AddressRemoved */
0x00006208 addiu a1, a1, 0x19e0 | a1 += 0x19e0;
0x0000620c move a0, s0 | a0 = s0;
0x00006210 jalr t9 | t9 ();
0x00006214 lw gp, 0x18(sp) | gp = *(var_18h_5);
| if (v0 == 0) {
0x00006218 beqz v0, 0x6150 | goto label_13;
| }
0x0000621c lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00006220 lw t9, -0x7dc0(gp) | t9 = sym.imp.g_variant_check_format_string;
0x00006224 addiu a2, zero, 1 | a2 = 1;
| /* str._oasv_ */
0x00006228 addiu a1, a1, 0x1aa0 | a1 += 0x1aa0;
0x0000622c move a0, s2 | a0 = s2;
0x00006230 jalr t9 | t9 ();
0x00006234 lw gp, 0x18(sp) | gp = *(var_18h_5);
| if (v0 == 0) {
0x00006238 beqz v0, 0x6310 | goto label_39;
| }
0x0000623c lw t9, -0x7d50(gp) | t9 = sym.imp.g_variant_get_child_value;
0x00006240 move a0, s2 | a0 = s2;
0x00006244 move a1, zero | a1 = 0;
0x00006248 jalr t9 | t9 ();
0x0000624c lw gp, 0x18(sp) | gp = *(var_18h_5);
0x00006250 move a1, zero | a1 = 0;
0x00006254 move a0, v0 | a0 = v0;
0x00006258 lw t9, -0x7e7c(gp) | t9 = sym.imp.g_variant_get_string;
0x0000625c move s2, v0 | s2 = v0;
0x00006260 jalr t9 | t9 ();
0x00006264 lw gp, 0x18(sp) | gp = *(var_18h_5);
0x00006268 move a0, v0 | a0 = v0;
0x0000626c lw t9, -0x7fbc(gp) | t9 = *((gp - 8175));
0x00006270 addiu t9, t9, 0x5350 | t9 += fcn.00005350;
0x00006274 move s4, v0 | s4 = v0;
0x00006278 bal 0x5350 | fcn_00005350 ();
0x0000627c lw gp, 0x18(sp) | gp = *(var_18h_5);
0x00006280 move a0, s0 | a0 = s0;
0x00006284 move s3, v0 | s3 = v0;
0x00006288 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0000628c lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
| /* str.DeviceRemoved */
0x00006290 addiu a1, a1, 0x1b8c | a1 += 0x1b8c;
0x00006294 jalr t9 | t9 ();
0x00006298 lw gp, 0x18(sp) | gp = *(var_18h_5);
| if (v0 != 0) {
0x0000629c bnez v0, 0x634c | goto label_40;
| }
0x000062a0 lw t9, -0x7fbc(gp) | t9 = *((gp - 8175));
| if (s3 == 0) {
0x000062a4 beqz s3, 0x63a4 | goto label_41;
| }
0x000062a8 addiu t9, t9, 0x5f00 | t9 += 0x5f00;
0x000062ac lw s0, -0x7fd8(gp) | s0 = *((gp - 8182));
0x000062b0 move a0, s3 | a0 = s3;
0x000062b4 bal 0x5f00 | fcn_5f00 ();
| goto label_14;
0x000062b8 lw gp, 0x18(sp) | gp = *(var_18h_5);
0x000062bc lw a0, 0x3404(s0) | a0 = *((s0 + 3329));
0x000062c0 lw t9, -0x7e64(gp) | t9 = sym.imp.g_list_remove;
0x000062c4 move a1, s3 | a1 = s3;
0x000062c8 jalr t9 | t9 ();
0x000062cc lw gp, 0x18(sp) | gp = *(var_18h_5);
0x000062d0 sw v0, 0x3404(s0) | *((s0 + 3329)) = v0;
| do {
| label_16:
0x000062d4 lw t9, -0x7e00(gp) | t9 = sym.imp.g_variant_unref;
| label_15:
0x000062d8 move a0, s2 | a0 = s2;
0x000062dc jalr t9 | t9 ();
0x000062e0 lw gp, 0x18(sp) | gp = *(var_18h_5);
0x000062e4 b 0x616c | goto label_12;
| label_37:
0x000062e8 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x000062ec lw t9, -0x7e6c(gp) | t9 = sym.imp.g_log;
0x000062f0 sw s0, 0x10(sp) | *(var_10h_6) = s0;
0x000062f4 addiu a3, a3, 0x2320 | a3 += 0x2320;
| /* str._s_s_signal_received__but_no_callback_registered */
0x000062f8 addiu a2, a2, 0x1b1c | a2 += 0x1b1c;
0x000062fc addiu a1, zero, 0x10 | a1 = 0x10;
0x00006300 move a0, zero | a0 = 0;
0x00006304 jalr t9 | t9 ();
0x00006308 lw gp, 0x18(sp) | gp = *(var_18h_5);
0x0000630c b 0x616c | goto label_12;
| label_39:
0x00006310 lw t9, -0x7e30(gp) | t9 = sym.imp.g_variant_get_type_string;
0x00006314 move a0, s2 | a0 = s2;
0x00006318 jalr t9 | t9 ();
0x0000631c lw gp, 0x18(sp) | gp = *(var_18h_5);
0x00006320 sw v0, 0x10(sp) | *(var_10h_6) = v0;
0x00006324 addiu a1, zero, 0x10 | a1 = 0x10;
0x00006328 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x0000632c lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00006330 lw t9, -0x7e6c(gp) | t9 = sym.imp.g_log;
0x00006334 addiu a3, a3, 0x2320 | a3 += 0x2320;
| /* str._sUnexpected_DeviceAdded_DeviceRemoved_signal_format:__s */
0x00006338 addiu a2, a2, 0x1b50 | a2 += 0x1b50;
0x0000633c move a0, zero | a0 = 0;
0x00006340 jalr t9 | t9 ();
0x00006344 lw gp, 0x18(sp) | gp = *(var_18h_5);
0x00006348 b 0x616c | goto label_12;
| label_40:
0x0000634c lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00006350 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
| /* str.DeviceAdded */
0x00006354 addiu a1, a1, 0x1b9c | a1 += 0x1b9c;
0x00006358 move a0, s0 | a0 = s0;
0x0000635c jalr t9 | t9 ();
0x00006360 lw gp, 0x18(sp) | gp = *(var_18h_5);
0x00006364 bnez v0, 0x62d4 |
| } while (v0 != 0);
0x00006368 lw t9, -0x7e00(gp) | t9 = sym.imp.g_variant_unref;
| if (s3 != 0) {
0x0000636c bnez s3, 0x62d8 | goto label_15;
| }
0x00006370 lw t9, -0x7fbc(gp) | t9 = *((gp - 8175));
| label_17:
0x00006374 addiu t9, t9, 0x58a4 | t9 += 0x58a4;
0x00006378 lw s0, -0x7fd8(gp) | s0 = *((gp - 8182));
0x0000637c move a0, s4 | a0 = s4;
0x00006380 bal 0x58a4 | fcn_58a4 ();
| goto label_7;
0x00006384 lw gp, 0x18(sp) | gp = *(var_18h_5);
0x00006388 lw a0, 0x3404(s0) | a0 = *((s0 + 3329));
0x0000638c lw t9, -0x7dd4(gp) | t9 = sym.imp.g_list_append;
0x00006390 move a1, v0 | a1 = v0;
0x00006394 jalr t9 | t9 ();
0x00006398 sw v0, 0x3404(s0) | *((s0 + 3329)) = v0;
0x0000639c lw gp, 0x18(sp) | gp = *(var_18h_5);
0x000063a0 b 0x62d4 | goto label_16;
| label_41:
0x000063a4 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x000063a8 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
| /* str.DeviceAdded */
0x000063ac addiu a1, a1, 0x1b9c | a1 += 0x1b9c;
0x000063b0 move a0, s0 | a0 = s0;
0x000063b4 jalr t9 | t9 ();
0x000063b8 lw gp, 0x18(sp) | gp = *(var_18h_5);
| if (v0 != 0) {
0x000063bc bnez v0, 0x62d4 | goto label_16;
| }
0x000063c0 lw t9, -0x7fbc(gp) | t9 = *((gp - 8175));
0x000063c4 b 0x6374 | goto label_17;
| label_38:
0x000063c8 lw t9, -0x7df8(gp) | t9 = sym.imp.__stack_chk_fail;
0x000063cc jalr t9 | t9 ();
0x000063d0 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/ntpconfd @ 0x8a1c */
| #include <stdint.h>
|
; (fcn) fcn.00008a1c () | void fcn_00008a1c () {
0x00008a1c lui gp, 2 |
0x00008a20 addiu gp, gp, 0x2634 |
0x00008a24 addu gp, gp, t9 | gp += t9;
0x00008a28 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00008a2c addiu sp, sp, -0x48 |
0x00008a30 lw t9, -0x7f04(gp) | t9 = sym.common_utils_list_to_string;
0x00008a34 lw a0, 0x3454(v0) | a0 = *((v0 + 3349));
0x00008a38 sw gp, 0x30(sp) | *(var_30h) = gp;
0x00008a3c sw s0, 0x40(sp) | *(var_40h) = s0;
0x00008a40 sw ra, 0x44(sp) | *(var_44h) = ra;
0x00008a44 bal 0x6880 | sym_common_utils_list_to_string ();
0x00008a48 nop |
0x00008a4c move s0, v0 | s0 = v0;
0x00008a50 lb v0, (v0) | v0 = *(v0);
0x00008a54 lw gp, 0x30(sp) | gp = *(var_30h);
| if (v0 == 0) {
0x00008a58 beqz v0, 0x8bf0 | goto label_6;
| }
| label_5:
0x00008a5c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00008a60 lw v0, 0x3040(v0) | v0 = *((v0 + 3088));
0x00008a64 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
| if (v0 != 0) {
0x00008a68 bnez v0, 0x8b6c | goto label_7;
| }
0x00008a6c lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00008a70 lw v0, 0x345c(v0) | v0 = *((v0 + 3351));
| /* esilref: 'no' */
0x00008a74 addiu a1, a1, 0x1e60 | a1 += 0x1e60;
| if (v0 != 0) {
0x00008a78 bnez v0, 0x8b7c | goto label_8;
| }
| do {
0x00008a7c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00008a80 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00008a84 lw a3, 0x3458(v0) | a3 = *((v0 + 3350));
| /* esilref: 'no' */
0x00008a88 addiu a2, a2, 0x1e60 | a2 += 0x1e60;
| if (s0 == 0) {
0x00008a8c beqz s0, 0x8b90 | goto label_9;
| }
| label_0:
0x00008a90 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00008a94 lw t1, -0x7fdc(gp) | t1 = *(gp);
0x00008a98 lw t2, -0x7fdc(gp) | t2 = *(gp);
0x00008a9c lw v0, 0x344c(v0) | v0 = *((v0 + 3347));
0x00008aa0 move t3, s0 | t3 = s0;
| /* str.StaticServers_ */
0x00008aa4 addiu t1, t1, 0x21a0 | t1 += 0x21a0;
0x00008aa8 addiu t2, t2, 0x21b0 | t2 += 0x21b0;
| if (v0 != 0) {
0x00008aac bnez v0, 0x8bac | goto label_10;
| }
| label_1:
0x00008ab0 lw v1, -0x7fd8(gp) | v1 = *((gp - 8182));
0x00008ab4 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00008ab8 lw v1, 0x3448(v1) | v1 = *((v1 + 3346));
| /* esilref: 'no' */
0x00008abc addiu v0, v0, 0x1e60 | v0 += 0x1e60;
| if (v1 != 0) {
0x00008ac0 bnez v1, 0x8bc0 | goto label_11;
| }
| label_2:
0x00008ac4 lw t0, -0x7fd8(gp) | t0 = *((gp - 8182));
0x00008ac8 lw a0, -0x7fd8(gp) | a0 = *((gp - 8182));
0x00008acc lw v1, -0x7fdc(gp) | v1 = *(gp);
0x00008ad0 lw t4, 0x303c(t0) | t4 = *((t0 + 3087));
0x00008ad4 lw t0, -0x7fd8(gp) | t0 = *((gp - 8182));
0x00008ad8 lw a0, 0x3444(a0) | a0 = *((a0 + 3345));
| /* esilref: 'no' */
0x00008adc addiu v1, v1, 0x1e60 | v1 += 0x1e60;
0x00008ae0 lw t5, 0x3038(t0) | t5 = *((t0 + 3086));
| if (a0 != 0) {
0x00008ae4 bnez a0, 0x8be4 | goto label_12;
| }
| label_3:
0x00008ae8 lw t0, -0x7fdc(gp) | t0 = *(gp);
| /* esilref: 'no' */
0x00008aec addiu t0, t0, 0x1e60 | t0 += 0x1e60;
| label_4:
0x00008af0 lw a0, -0x7fdc(gp) | a0 = *(gp);
0x00008af4 lw t9, -0x7d70(gp) | t9 = sym.imp.g_strdup_printf
0x00008af8 sw t0, 0x2c(sp) | *(var_2ch) = t0;
0x00008afc sw t5, 0x28(sp) | *(var_28h) = t5;
0x00008b00 sw t4, 0x24(sp) | *(var_24h) = t4;
0x00008b04 sw v1, 0x20(sp) | *(var_20h) = v1;
0x00008b08 sw t2, 0x18(sp) | *(var_18h) = t2;
0x00008b0c sw t3, 0x14(sp) | *(var_14h) = t3;
0x00008b10 sw t1, 0x10(sp) | *(var_10h) = t1;
| /* str.ClientEnabled__s_nTimeSyncSource__s_nServersSource__u_n_s_s_sServerEnabled__s_nServerFudgeModeEnabled__s_nServerFudgeModeTimeout__u_nServerFudgeModeStratum__u_nNTPServerTimeJumpsEnabled__s_n */
0x00008b14 addiu a0, a0, 0x21b4 | a0 += 0x21b4;
0x00008b18 sw v0, 0x1c(sp) | *(var_1ch) = v0;
0x00008b1c jalr t9 | t9 ();
0x00008b20 lw gp, 0x30(sp) | gp = *(var_30h);
0x00008b24 move a0, s0 | a0 = s0;
0x00008b28 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x00008b2c move s0, v0 | s0 = v0;
0x00008b30 jalr t9 | t9 ();
0x00008b34 lw gp, 0x30(sp) | gp = *(var_30h);
0x00008b38 lw t9, -0x7edc(gp) | t9 = sym.storage_manager_write_properties;
0x00008b3c move a0, s0 | a0 = s0;
0x00008b40 bal 0xd468 | sym_storage_manager_write_properties ();
0x00008b44 lw gp, 0x30(sp) | gp = *(var_30h);
0x00008b48 sw v0, 0x3c(sp) | *(var_3ch) = v0;
0x00008b4c lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x00008b50 move a0, s0 | a0 = s0;
0x00008b54 jalr t9 | t9 ();
0x00008b58 lw ra, 0x44(sp) | ra = *(var_44h);
0x00008b5c lw v0, 0x3c(sp) | v0 = *(var_3ch);
0x00008b60 lw s0, 0x40(sp) | s0 = *(var_40h);
0x00008b64 addiu sp, sp, 0x48 |
0x00008b68 jr ra | return v1;
| label_7:
0x00008b6c lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00008b70 lw v0, 0x345c(v0) | v0 = *((v0 + 3351));
| /* esilref: 'yes' */
0x00008b74 addiu a1, a1, 0x1e5c | a1 += 0x1e5c;
0x00008b78 beqz v0, 0x8a7c |
| } while (v0 == 0);
| label_8:
0x00008b7c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00008b80 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00008b84 lw a3, 0x3458(v0) | a3 = *((v0 + 3350));
| /* esilref: 'yes' */
0x00008b88 addiu a2, a2, 0x1e5c | a2 += 0x1e5c;
| if (s0 != 0) {
0x00008b8c bnez s0, 0x8a90 | goto label_0;
| }
| label_9:
0x00008b90 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00008b94 lw t3, -0x7fdc(gp) | t3 = *(gp);
0x00008b98 lw v0, 0x344c(v0) | v0 = *((v0 + 3347));
0x00008b9c addiu t3, t3, 0x2320 | t3 += 0x2320;
0x00008ba0 move t1, t3 | t1 = t3;
0x00008ba4 move t2, t3 | t2 = t3;
| if (v0 == 0) {
0x00008ba8 beqz v0, 0x8ab0 | goto label_1;
| }
| label_10:
0x00008bac lw v1, -0x7fd8(gp) | v1 = *((gp - 8182));
0x00008bb0 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00008bb4 lw v1, 0x3448(v1) | v1 = *((v1 + 3346));
| /* esilref: 'yes' */
0x00008bb8 addiu v0, v0, 0x1e5c | v0 += 0x1e5c;
| if (v1 == 0) {
0x00008bbc beqz v1, 0x8ac4 | goto label_2;
| }
| label_11:
0x00008bc0 lw t0, -0x7fd8(gp) | t0 = *((gp - 8182));
0x00008bc4 lw a0, -0x7fd8(gp) | a0 = *((gp - 8182));
0x00008bc8 lw v1, -0x7fdc(gp) | v1 = *(gp);
0x00008bcc lw t4, 0x303c(t0) | t4 = *((t0 + 3087));
0x00008bd0 lw t0, -0x7fd8(gp) | t0 = *((gp - 8182));
0x00008bd4 lw a0, 0x3444(a0) | a0 = *((a0 + 3345));
| /* esilref: 'yes' */
0x00008bd8 addiu v1, v1, 0x1e5c | v1 += 0x1e5c;
0x00008bdc lw t5, 0x3038(t0) | t5 = *((t0 + 3086));
| if (a0 == 0) {
0x00008be0 beqz a0, 0x8ae8 | goto label_3;
| }
| label_12:
0x00008be4 lw t0, -0x7fdc(gp) | t0 = *(gp);
| /* esilref: 'yes' */
0x00008be8 addiu t0, t0, 0x1e5c | t0 += 0x1e5c;
0x00008bec b 0x8af0 | goto label_4;
| label_6:
0x00008bf0 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x00008bf4 move a0, s0 | a0 = s0;
0x00008bf8 jalr t9 | t9 ();
0x00008bfc move s0, zero | s0 = 0;
0x00008c00 lw gp, 0x30(sp) | gp = *(var_30h);
0x00008c04 b 0x8a5c | goto label_5;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/ntpconfd @ 0x8c08 */
| #include <stdint.h>
|
; (fcn) fcn.00008c08 () | void fcn_00008c08 () {
0x00008c08 lui gp, 2 |
0x00008c0c addiu gp, gp, 0x2448 |
0x00008c10 addu gp, gp, t9 | gp += t9;
0x00008c14 addiu sp, sp, -0x68 |
0x00008c18 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00008c1c sw s5, 0x54(sp) | *(var_54h) = s5;
0x00008c20 lw s5, -0x7da8(gp) | s5 = *((gp - 8042));
0x00008c24 lw v0, 0x3040(v0) | v0 = *((v0 + 3088));
0x00008c28 sw gp, 0x18(sp) | *(var_18h) = gp;
0x00008c2c lw v1, (s5) | v1 = *(s5);
0x00008c30 sw ra, 0x64(sp) | *(var_64h) = ra;
0x00008c34 sw fp, 0x60(sp) | *(var_60h) = fp;
0x00008c38 sw s7, 0x5c(sp) | *(var_5ch) = s7;
0x00008c3c sw s6, 0x58(sp) | *(var_58h) = s6;
0x00008c40 sw s4, 0x50(sp) | *(var_50h) = s4;
0x00008c44 sw s3, 0x4c(sp) | *(var_4ch) = s3;
0x00008c48 sw s2, 0x48(sp) | *(var_48h) = s2;
0x00008c4c sw s1, 0x44(sp) | *(var_44h) = s1;
0x00008c50 sw s0, 0x40(sp) | *(var_40h) = s0;
0x00008c54 sw v1, 0x3c(sp) | *(var_3ch) = v1;
| if (v0 == 0) {
0x00008c58 beql v0, zero, 0x8de4 | goto label_11;
| }
0x00008c5c lw s7, -0x7fd8(gp) | s7 = *((gp - 8182));
0x00008c60 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00008c64 lw v0, 0x3458(v0) | v0 = *((v0 + 3350));
0x00008c68 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
| if (v0 == 0) {
0x00008c6c beqz v0, 0x8e70 | goto label_12;
| }
0x00008c70 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
| label_2:
0x00008c74 lw s0, 0x3454(v0) | s0 = *((v0 + 3349));
| label_3:
0x00008c78 lw s7, -0x7fd8(gp) | s7 = *((gp - 8182));
| if (s0 == 0) {
0x00008c7c beqz s0, 0x8de4 | goto label_11;
| }
0x00008c80 lw fp, (s0) | fp = *(s0);
0x00008c84 lw v0, 0x344c(s7) | v0 = *((s7 + 3347));
| if (fp == 0) {
0x00008c88 beqz fp, 0x8de8 | goto label_13;
| }
0x00008c8c lb v0, (fp) | v0 = *(fp);
0x00008c90 lw v0, 0x344c(s7) | v0 = *((s7 + 3347));
| if (v0 == 0) {
0x00008c94 bnez v0, 0x8ca0 |
| if (v0 == 0) {
0x00008c98 beqz v0, 0x8df0 | goto label_14;
| }
0x00008c9c nop |
| }
| label_4:
0x00008ca0 lb v0, (fp) | v0 = *(fp);
0x00008ca4 lw v0, -0x7fdc(gp) | v0 = *(gp);
| if (v0 == 0) {
0x00008ca8 beqz v0, 0x8e30 | goto label_15;
| }
0x00008cac lw s4, -0x7fdc(gp) | s4 = *(gp);
0x00008cb0 sw v0, 0x24(sp) | *(var_24h) = v0;
0x00008cb4 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00008cb8 lw s6, -0x7fdc(gp) | s6 = *(gp);
0x00008cbc sw v0, 0x2c(sp) | *(var_2ch) = v0;
0x00008cc0 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00008cc4 lw s2, -0x7fdc(gp) | s2 = *(gp);
| /* str.eth0 */
0x00008cc8 addiu v0, v0, 0x229c | v0 += 0x229c;
0x00008ccc lw s3, -0x7fdc(gp) | s3 = *(gp);
0x00008cd0 move s1, zero | s1 = 0;
0x00008cd4 sw zero, 0x20(sp) | *(var_20h) = 0;
0x00008cd8 addiu s4, s4, 0x2320 | s4 += 0x2320;
0x00008cdc addiu s6, s6, 0x2274 | s6 += 0x2274;
0x00008ce0 sw v0, 0x28(sp) | *(var_28h) = v0;
0x00008ce4 b 0x8d40 |
| while (v0 == 0) {
| label_0:
0x00008ce8 lw t9, -0x7d70(gp) | t9 = sym.imp.g_strdup_printf
| if (s1 == 0) {
0x00008cec beqz s1, 0x8eec | goto label_16;
| }
0x00008cf0 move a1, s1 | a1 = s1;
0x00008cf4 move a2, fp | a2 = fp;
0x00008cf8 addiu a0, s3, 0x2314 | a0 = s3 + 0x2314;
0x00008cfc jalr t9 | t9 ();
0x00008d00 lw gp, 0x18(sp) | gp = *(var_18h);
0x00008d04 move a0, s1 | a0 = s1;
0x00008d08 move fp, v0 | fp = v0;
0x00008d0c lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x00008d10 move s1, fp | s1 = fp;
0x00008d14 jalr t9 | t9 ();
0x00008d18 lw gp, 0x18(sp) | gp = *(var_18h);
| label_1:
0x00008d1c lw s0, 4(s0) | s0 = *((s0 + 1));
0x00008d20 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
| if (s0 == 0) {
0x00008d24 beqz s0, 0x8e9c | goto label_17;
| }
0x00008d28 lw fp, (s0) | fp = *(s0);
| if (fp == 0) {
0x00008d2c beqz fp, 0x8e9c | goto label_17;
| }
0x00008d30 nop |
0x00008d34 lb v0, (fp) | v0 = *(fp);
| if (v0 == 0) {
0x00008d38 beqz v0, 0x8e9c | goto label_17;
| }
0x00008d3c nop |
0x00008d40 lw t9, -0x7de0(gp) | t9 = sym.imp.g_str_has_prefix;
0x00008d44 addiu a1, s2, 0x226c | a1 = s2 + 0x226c;
0x00008d48 move a0, fp | a0 = fp;
0x00008d4c jalr t9 | t9 ();
0x00008d50 lw gp, 0x18(sp) | gp = *(var_18h);
0x00008d54 beqz v0, 0x8ce8 |
| }
0x00008d58 lw t9, -0x7d74(gp) | t9 = sym.imp.g_strstr_len;
0x00008d5c move a2, s6 | a2 = s6;
0x00008d60 addiu a1, zero, -1 | a1 = -1;
0x00008d64 move a0, fp | a0 = fp;
0x00008d68 jalr t9 | t9 ();
0x00008d6c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00008d70 bnez v0, 0x8ce8 | goto label_0;
| }
0x00008d74 lw v0, 0x20(sp) | v0 = *(var_20h);
0x00008d78 lw t9, -0x7d84(gp) | t9 = sym.imp.net_init;
| if (v0 == 0) {
0x00008d7c beqz v0, 0x8f18 | goto label_18;
| }
| label_7:
0x00008d80 lw v0, 0x24(sp) | v0 = *(var_24h);
| label_6:
0x00008d84 lw t9, -0x7d70(gp) | t9 = sym.imp.g_strdup_printf
0x00008d88 lw a2, 0x20(sp) | a2 = *(var_20h);
0x00008d8c move a1, fp | a1 = fp;
0x00008d90 addiu a0, v0, 0x22fc | a0 = v0 + 0x22fc;
0x00008d94 jalr t9 | t9 ();
0x00008d98 lw gp, 0x18(sp) | gp = *(var_18h);
0x00008d9c move a1, s4 | a1 = s4;
| if (s1 == 0) {
0x00008da0 movn a1, s1, s1 | a1 = s1;
| }
0x00008da4 lw t9, -0x7d70(gp) | t9 = sym.imp.g_strdup_printf
0x00008da8 move a2, v0 | a2 = v0;
0x00008dac addiu a0, s3, 0x2314 | a0 = s3 + 0x2314;
0x00008db0 move fp, v0 | fp = v0;
0x00008db4 jalr t9 | t9 ();
0x00008db8 lw gp, 0x18(sp) | gp = *(var_18h);
0x00008dbc move a0, s1 | a0 = s1;
0x00008dc0 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x00008dc4 move s1, v0 | s1 = v0;
0x00008dc8 jalr t9 | t9 ();
0x00008dcc lw gp, 0x18(sp) | gp = *(var_18h);
0x00008dd0 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x00008dd4 move a0, fp | a0 = fp;
0x00008dd8 jalr t9 | t9 ();
0x00008ddc lw gp, 0x18(sp) | gp = *(var_18h);
0x00008de0 b 0x8d1c | goto label_1;
| label_11:
0x00008de4 lw v0, 0x344c(s7) | v0 = *((s7 + 3347));
| label_13:
0x00008de8 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x00008dec bnel v0, zero, 0x8e34 |
| while (1) {
| label_14:
0x00008df0 lw a0, 0x3c(sp) | a0 = *(var_3ch);
0x00008df4 lw v1, (s5) | v1 = *(s5);
0x00008df8 addiu v0, zero, 1 | v0 = 1;
| if (a0 != v1) {
0x00008dfc bne a0, v1, 0x9050 | goto label_19;
| }
0x00008e00 lw ra, 0x64(sp) | ra = *(var_64h);
0x00008e04 lw fp, 0x60(sp) | fp = *(var_60h);
0x00008e08 lw s7, 0x5c(sp) | s7 = *(var_5ch);
0x00008e0c lw s6, 0x58(sp) | s6 = *(var_58h);
0x00008e10 lw s5, 0x54(sp) | s5 = *(var_54h);
0x00008e14 lw s4, 0x50(sp) | s4 = *(var_50h);
0x00008e18 lw s3, 0x4c(sp) | s3 = *(var_4ch);
0x00008e1c lw s2, 0x48(sp) | s2 = *(var_48h);
0x00008e20 lw s1, 0x44(sp) | s1 = *(var_44h);
0x00008e24 lw s0, 0x40(sp) | s0 = *(var_40h);
0x00008e28 addiu sp, sp, 0x68 |
0x00008e2c jr ra | return v0;
| label_15:
0x00008e30 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x00008e34 move a0, zero | a0 = 0;
0x00008e38 jalr t9 | t9 ();
0x00008e3c lw v0, 0x344c(s7) | v0 = *((s7 + 3347));
0x00008e40 lw gp, 0x18(sp) | gp = *(var_18h);
0x00008e44 move s1, zero | s1 = 0;
| if (v0 != 0) {
0x00008e48 bnez v0, 0x8eb8 | goto label_20;
| }
| label_5:
0x00008e4c lw t9, -0x7ed8(gp) | t9 = sym.storage_manager_write_ntpd_configuration;
0x00008e50 move a0, s1 | a0 = s1;
0x00008e54 bal 0xd48c | sym_storage_manager_write_ntpd_configuration ();
0x00008e58 lw gp, 0x18(sp) | gp = *(var_18h);
0x00008e5c lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x00008e60 move a0, s1 | a0 = s1;
0x00008e64 jalr t9 | t9 ();
0x00008e68 lw gp, 0x18(sp) | gp = *(var_18h);
0x00008e6c b 0x8df0 |
| }
| label_12:
0x00008e70 lw s0, 0x3450(v0) | s0 = *((v0 + 3348));
0x00008e74 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
| if (s0 == 0) {
0x00008e78 beqz s0, 0x8c74 | goto label_2;
| }
0x00008e7c lw fp, (s0) | fp = *(s0);
| if (fp == 0) {
0x00008e80 beql fp, zero, 0x8c78 | goto label_3;
| }
0x00008e84 lw s0, 0x3454(v0) | s0 = *((v0 + 3349));
0x00008e88 lb v0, (fp) | v0 = *(fp);
0x00008e8c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
| if (v0 == 0) {
0x00008e90 beqz v0, 0x8c74 | goto label_2;
| }
0x00008e94 lw s7, -0x7fd8(gp) | s7 = *((gp - 8182));
0x00008e98 b 0x8ca0 | goto label_4;
| label_17:
0x00008e9c lw a0, 0x20(sp) | a0 = *(var_20h);
0x00008ea0 jalr t9 | t9 ();
0x00008ea4 lw v0, 0x344c(s7) | v0 = *((s7 + 3347));
0x00008ea8 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00008eac beqz v0, 0x8e4c | goto label_5;
| }
0x00008eb0 move a1, s1 | a1 = s1;
| if (s1 == 0) {
0x00008eb4 bnez s1, 0x8ec0 |
| label_20:
0x00008eb8 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00008ebc addiu a1, a1, 0x2320 | a1 += 0x2320;
| }
0x00008ec0 lw a0, -0x7fdc(gp) | a0 = *(gp);
0x00008ec4 lw t9, -0x7d70(gp) | t9 = sym.imp.g_strdup_printf
| /* str._slisten_on__n */
0x00008ec8 addiu a0, a0, 0x2304 | a0 += 0x2304;
0x00008ecc jalr t9 | t9 ();
0x00008ed0 lw gp, 0x18(sp) | gp = *(var_18h);
0x00008ed4 move a0, s1 | a0 = s1;
0x00008ed8 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x00008edc move s1, v0 | s1 = v0;
0x00008ee0 jalr t9 | t9 ();
0x00008ee4 lw gp, 0x18(sp) | gp = *(var_18h);
0x00008ee8 b 0x8e4c | goto label_5;
| label_16:
0x00008eec move a2, fp | a2 = fp;
0x00008ef0 move a1, s4 | a1 = s4;
0x00008ef4 addiu a0, s3, 0x2314 | a0 = s3 + 0x2314;
0x00008ef8 jalr t9 | t9 ();
0x00008efc lw gp, 0x18(sp) | gp = *(var_18h);
0x00008f00 move a0, zero | a0 = 0;
0x00008f04 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x00008f08 move s1, v0 | s1 = v0;
0x00008f0c jalr t9 | t9 ();
0x00008f10 lw gp, 0x18(sp) | gp = *(var_18h);
0x00008f14 b 0x8d1c | goto label_1;
| label_18:
0x00008f18 sw zero, 0x34(sp) | *(var_34h) = 0;
0x00008f1c jalr t9 | t9 ();
0x00008f20 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00008f24 bnez v0, 0x9000 | goto label_21;
| }
0x00008f28 lw t9, -0x7ddc(gp) | t9 = sym.imp.net_device_switching_get_active_devices;
0x00008f2c addiu a0, sp, 0x34 | a0 = sp + 0x34;
0x00008f30 jalr t9 | t9 ();
0x00008f34 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00008f38 bnez v0, 0x8fb0 | goto label_22;
| }
0x00008f3c lw a0, 0x34(sp) | a0 = *(var_34h);
| if (a0 == 0) {
0x00008f40 beql a0, zero, 0x8fb4 | goto label_23;
| }
0x00008f44 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00008f48 lw a0, (a0) | a0 = *(a0);
0x00008f4c lw t9, -0x7d18(gp) | t9 = sym.imp.net_device_get_name;
| if (a0 == 0) {
0x00008f50 beqz a0, 0x8fb0 | goto label_22;
| }
0x00008f54 addiu a1, sp, 0x38 | a1 = sp + 0x38;
0x00008f58 jalr t9 | t9 ();
0x00008f5c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00008f60 bnez v0, 0x9028 | goto label_24;
| }
0x00008f64 lw t9, -0x7cf8(gp) | t9 = sym.imp.g_strdup;
0x00008f68 lw a0, 0x38(sp) | a0 = *(var_38h);
0x00008f6c jalr t9 | t9 ();
0x00008f70 lw gp, 0x18(sp) | gp = *(var_18h);
0x00008f74 lw t9, -0x7cf0(gp) | t9 = sym.imp.net_deinit;
0x00008f78 sw v0, 0x20(sp) | *(var_20h) = v0;
0x00008f7c jalr t9 | t9 ();
0x00008f80 lw a0, 0x34(sp) | a0 = *(var_34h);
0x00008f84 lw gp, 0x18(sp) | gp = *(var_18h);
| if (a0 != 0) {
0x00008f88 bnez a0, 0x905c | goto label_25;
| }
| label_10:
0x00008f8c lw v0, 0x20(sp) | v0 = *(var_20h);
0x00008f90 lw v0, 0x24(sp) | v0 = *(var_24h);
| if (v0 != 0) {
0x00008f94 bnez v0, 0x8d84 | goto label_6;
| }
| do {
| label_8:
0x00008f98 lw t9, -0x7cf8(gp) | t9 = sym.imp.g_strdup;
0x00008f9c lw a0, 0x28(sp) | a0 = *(var_28h);
0x00008fa0 jalr t9 | t9 ();
0x00008fa4 sw v0, 0x20(sp) | *(var_20h) = v0;
0x00008fa8 lw gp, 0x18(sp) | gp = *(var_18h);
0x00008fac b 0x8d80 | goto label_7;
| label_22:
0x00008fb0 sw v0, 0x10(sp) | *(var_10h) = v0;
| label_23:
0x00008fb4 lw v0, 0x2c(sp) | v0 = *(var_2ch);
0x00008fb8 lw t9, -0x7e6c(gp) | t9 = sym.imp.g_log;
0x00008fbc move a3, s4 | a3 = s4;
0x00008fc0 addiu a2, v0, 0x22a4 | a2 = v0 + 0x22a4;
0x00008fc4 addiu a1, zero, 0x10 | a1 = 0x10;
0x00008fc8 move a0, zero | a0 = 0;
0x00008fcc jalr t9 | t9 ();
0x00008fd0 lw gp, 0x18(sp) | gp = *(var_18h);
| label_9:
0x00008fd4 lw t9, -0x7cf0(gp) | t9 = sym.imp.net_deinit;
0x00008fd8 jalr t9 | t9 ();
0x00008fdc nop |
0x00008fe0 lw a0, 0x34(sp) | a0 = *(var_34h);
0x00008fe4 lw gp, 0x18(sp) | gp = *(var_18h);
0x00008fe8 beqz a0, 0x8f98 |
| } while (a0 == 0);
0x00008fec lw t9, -0x7dac(gp) | t9 = sym.imp.net_device_array_free;
0x00008ff0 jalr t9 | t9 ();
0x00008ff4 nop |
0x00008ff8 lw gp, 0x18(sp) | gp = *(var_18h);
0x00008ffc b 0x8f98 | goto label_8;
| label_21:
0x00009000 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00009004 lw t9, -0x7e6c(gp) | t9 = sym.imp.g_log;
0x00009008 move a3, s4 | a3 = s4;
| /* str._sFailed_to_init_net_library___d_ */
0x0000900c addiu a2, a2, 0x2278 | a2 += 0x2278;
0x00009010 addiu a1, zero, 0x10 | a1 = 0x10;
0x00009014 move a0, zero | a0 = 0;
0x00009018 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000901c jalr t9 | t9 ();
0x00009020 lw gp, 0x18(sp) | gp = *(var_18h);
0x00009024 b 0x8f98 | goto label_8;
| label_24:
0x00009028 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0000902c lw t9, -0x7e6c(gp) | t9 = sym.imp.g_log;
0x00009030 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00009034 move a3, s4 | a3 = s4;
| /* str._sFailed_to_get_name_of_active_device___d_ */
0x00009038 addiu a2, a2, 0x22d0 | a2 += 0x22d0;
0x0000903c addiu a1, zero, 0x10 | a1 = 0x10;
0x00009040 move a0, zero | a0 = 0;
0x00009044 jalr t9 | t9 ();
0x00009048 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000904c b 0x8fd4 | goto label_9;
| label_19:
0x00009050 lw t9, -0x7df8(gp) | t9 = sym.imp.__stack_chk_fail;
0x00009054 jalr t9 | t9 ();
0x00009058 nop |
| label_25:
0x0000905c lw t9, -0x7dac(gp) | t9 = sym.imp.net_device_array_free;
0x00009060 jalr t9 | t9 ();
0x00009064 nop |
0x00009068 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000906c b 0x8f8c | goto label_10;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/ntpconfd @ 0x9300 */
| #include <stdint.h>
|
; (fcn) fcn.00009300 () | void fcn_00009300 () {
0x00009300 lui gp, 2 |
0x00009304 addiu gp, gp, 0x1d50 |
0x00009308 addu gp, gp, t9 | gp += t9;
0x0000930c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00009310 addiu sp, sp, -0x28 |
0x00009314 lw v0, 0x344c(v0) | v0 = *((v0 + 3347));
0x00009318 sw gp, 0x10(sp) | *(var_10h) = gp;
0x0000931c sw ra, 0x24(sp) | *(var_24h) = ra;
0x00009320 sw s0, 0x20(sp) | *(var_20h) = s0;
0x00009324 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
| if (v0 != 0) {
0x00009328 beqz v0, 0x9338 |
0x0000932c lw v0, 0x3448(v0) | v0 = *((v0 + 3346));
0x00009330 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
| if (v0 != 0) {
0x00009334 bnez v0, 0x9384 | goto label_0;
| }
| }
0x00009338 lw a0, -0x7fdc(gp) | a0 = *(gp);
0x0000933c lw t9, -0x7cf8(gp) | t9 = sym.imp.g_strdup;
| /* str.NTPD_ARGS */
0x00009340 addiu a0, a0, 0x2340 | a0 += 0x2340;
0x00009344 jalr t9 | t9 ();
0x00009348 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000934c move s0, v0 | s0 = v0;
| do {
0x00009350 lw t9, -0x7ecc(gp) | t9 = sym.storage_manager_write_ntpd_arguments;
0x00009354 move a0, s0 | a0 = s0;
0x00009358 bal 0xd4b0 | sym_storage_manager_write_ntpd_arguments ();
0x0000935c lw gp, 0x10(sp) | gp = *(var_10h);
0x00009360 sw v0, 0x1c(sp) | *(var_1ch) = v0;
0x00009364 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x00009368 move a0, s0 | a0 = s0;
0x0000936c jalr t9 | t9 ();
0x00009370 lw ra, 0x24(sp) | ra = *(var_24h);
0x00009374 lw v0, 0x1c(sp) | v0 = *(var_1ch);
0x00009378 lw s0, 0x20(sp) | s0 = *(var_20h);
0x0000937c addiu sp, sp, 0x28 |
0x00009380 jr ra | return v0;
| label_0:
0x00009384 lw a0, -0x7fdc(gp) | a0 = *(gp);
0x00009388 lw t9, -0x7d70(gp) | t9 = sym.imp.g_strdup_printf
0x0000938c lw a2, 0x3038(v0) | a2 = *((v0 + 3086));
0x00009390 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
| /* str.NTPD_ARGS_r__t__u__q__u */
0x00009394 addiu a0, a0, 0x2324 | a0 += 0x2324;
0x00009398 lw a1, 0x303c(v0) | a1 = *((v0 + 3087));
0x0000939c jalr t9 | t9 ();
0x000093a0 move s0, v0 | s0 = v0;
0x000093a4 lw gp, 0x10(sp) | gp = *(var_10h);
0x000093a8 b 0x9350 |
| } while (1);
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/ntpconfd @ 0xc25c */
| #include <stdint.h>
|
; (fcn) sym.dbus_check_auth () | void dbus_check_auth () {
0x0000c25c lui gp, 2 |
0x0000c260 addiu gp, gp, -0x120c |
0x0000c264 addu gp, gp, t9 | gp += t9;
0x0000c268 addiu sp, sp, -0x38 |
0x0000c26c sw s0, 0x28(sp) | *(var_28h) = s0;
0x0000c270 lw s0, -0x7da8(gp) | s0 = *((gp - 8042));
0x0000c274 sw gp, 0x18(sp) | *(var_18h) = gp;
0x0000c278 sw ra, 0x34(sp) | *(var_34h) = ra;
0x0000c27c lw v0, (s0) | v0 = *(s0);
0x0000c280 sw s2, 0x30(sp) | *(var_30h) = s2;
0x0000c284 sw s1, 0x2c(sp) | *(var_2ch) = s1;
0x0000c288 sw v0, 0x24(sp) | *(var_24h) = v0;
0x0000c28c sw zero, 0x20(sp) | *(var_20h) = 0;
| if (a0 == 0) {
0x0000c290 beqz a0, 0xc36c | goto label_0;
| }
0x0000c294 lw v0, -0x7fdc(gp) | v0 = *(gp);
| if (a1 == 0) {
0x0000c298 beqz a1, 0xc394 | goto label_1;
| }
0x0000c29c move s1, a0 | s1 = a0;
| if (a2 == 0) {
0x0000c2a0 beqz a2, 0xc3bc | goto label_2;
| }
0x0000c2a4 lw a0, -0x7fdc(gp) | a0 = *(gp);
0x0000c2a8 lw t9, -0x7d70(gp) | t9 = sym.imp.g_strdup_printf
| /* str._s._s */
0x0000c2ac addiu a0, a0, 0x2998 | a0 += 0x2998;
0x0000c2b0 jalr t9 | t9 ();
0x0000c2b4 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000c2b8 move a0, s1 | a0 = s1;
0x0000c2bc addiu a2, sp, 0x20 | a2 = sp + 0x20;
0x0000c2c0 lw t9, -0x7d64(gp) | t9 = sym.imp.apac_check_auth;
0x0000c2c4 move a1, v0 | a1 = v0;
0x0000c2c8 move s2, v0 | s2 = v0;
0x0000c2cc jalr t9 | t9 ();
0x0000c2d0 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000c2d4 move a0, s2 | a0 = s2;
0x0000c2d8 lw t9, -0x7ca8(gp) | t9 = *((gp - 7978));
0x0000c2dc move s1, v0 | s1 = v0;
0x0000c2e0 jalr t9 | t9 ();
0x0000c2e4 lw a0, 0x20(sp) | a0 = *(var_20h);
0x0000c2e8 lw gp, 0x18(sp) | gp = *(var_18h);
| if (a0 == 0) {
0x0000c2ec beqz a0, 0xc314 | goto label_3;
| }
0x0000c2f0 lw v1, 4(a0) | v1 = *((a0 + 1));
0x0000c2f4 addiu v1, v1, -2 | v1 += -2;
0x0000c2f8 sltiu v1, v1, 2 | v1 = (v1 < 2) ? 1 : 0;
| if (v1 == 0) {
0x0000c2fc beql v1, zero, 0xc33c | goto label_4;
| }
0x0000c300 lw v0, 8(a0) | v0 = *((a0 + 2));
| do {
0x0000c304 lw t9, -0x7e44(gp) | t9 = sym.imp.g_error_free;
0x0000c308 jalr t9 | t9 ();
0x0000c30c nop |
0x0000c310 lw gp, 0x18(sp) | gp = *(var_18h);
| label_3:
0x0000c314 lw a0, 0x24(sp) | a0 = *(var_24h);
0x0000c318 lw v1, (s0) | v1 = *(s0);
0x0000c31c move v0, s1 | v0 = s1;
| if (a0 != v1) {
0x0000c320 bne a0, v1, 0xc3e8 | goto label_5;
| }
0x0000c324 lw ra, 0x34(sp) | ra = *(var_34h);
0x0000c328 lw s2, 0x30(sp) | s2 = *(var_30h);
0x0000c32c lw s1, 0x2c(sp) | s1 = *(var_2ch);
0x0000c330 lw s0, 0x28(sp) | s0 = *(var_28h);
0x0000c334 addiu sp, sp, 0x38 |
0x0000c338 jr ra | return v0;
| label_4:
0x0000c33c lw a3, -0x7fdc(gp) | a3 = *(gp);
0x0000c340 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0000c344 lw t9, -0x7e6c(gp) | t9 = sym.imp.g_log;
0x0000c348 move a0, zero | a0 = 0;
0x0000c34c sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000c350 addiu a3, a3, 0x2320 | a3 += 0x2320;
| /* str._sAPAC_auth_check_error:__s */
0x0000c354 addiu a2, a2, 0x29a0 | a2 += 0x29a0;
0x0000c358 addiu a1, zero, 0x100 | a1 = 0x100;
0x0000c35c jalr t9 | t9 ();
0x0000c360 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000c364 lw a0, 0x20(sp) | a0 = *(var_20h);
0x0000c368 b 0xc304 |
| } while (1);
| label_0:
0x0000c36c lw v0, -0x7fdc(gp) | v0 = *(gp);
0x0000c370 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x0000c374 lw a1, -0x7fdc(gp) | a1 = *(gp);
| /* str.sender___NULL */
0x0000c378 addiu v0, v0, 0x295c | v0 += 0x295c;
0x0000c37c lw t9, -0x7d4c(gp) | t9 = sym.imp.g_assertion_message_expr;
0x0000c380 sw v0, 0x10(sp) | *(var_10h) = v0;
| /* str.dbus_check_auth */
0x0000c384 addiu a3, a3, 0x2cd4 | a3 += 0x2cd4;
0x0000c388 addiu a2, zero, 0x168 | a2 = 0x168;
| /* esilref: 'src/dbus_common.c' */
0x0000c38c addiu a1, a1, 0x2738 | a1 += 0x2738;
0x0000c390 jalr t9 | t9 ();
| label_1:
0x0000c394 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x0000c398 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0000c39c addiu v0, v0, 0x296c | v0 += aav.0x0000296c;
0x0000c3a0 lw t9, -0x7d4c(gp) | t9 = sym.imp.g_assertion_message_expr;
0x0000c3a4 sw v0, 0x10(sp) | *(var_10h) = v0;
| /* str.dbus_check_auth */
0x0000c3a8 addiu a3, a3, 0x2cd4 | a3 += 0x2cd4;
0x0000c3ac addiu a2, zero, 0x169 | a2 = 0x169;
| /* esilref: 'src/dbus_common.c' */
0x0000c3b0 addiu a1, a1, 0x2738 | a1 += 0x2738;
0x0000c3b4 move a0, zero | a0 = 0;
0x0000c3b8 jalr t9 | t9 ();
| label_2:
0x0000c3bc lw v0, -0x7fdc(gp) | v0 = *(gp);
0x0000c3c0 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x0000c3c4 lw a1, -0x7fdc(gp) | a1 = *(gp);
| /* str.method_name___NULL */
0x0000c3c8 addiu v0, v0, 0x2984 | v0 += 0x2984;
0x0000c3cc lw t9, -0x7d4c(gp) | t9 = sym.imp.g_assertion_message_expr;
0x0000c3d0 sw v0, 0x10(sp) | *(var_10h) = v0;
| /* str.dbus_check_auth */
0x0000c3d4 addiu a3, a3, 0x2cd4 | a3 += 0x2cd4;
0x0000c3d8 addiu a2, zero, 0x16a | a2 = 0x16a;
| /* esilref: 'src/dbus_common.c' */
0x0000c3dc addiu a1, a1, 0x2738 | a1 += 0x2738;
0x0000c3e0 move a0, zero | a0 = 0;
0x0000c3e4 jalr t9 | t9 ();
| label_5:
0x0000c3e8 lw t9, -0x7df8(gp) | t9 = sym.imp.__stack_chk_fail;
0x0000c3ec jalr t9 | t9 ();
0x0000c3f0 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/ntpconfd @ 0x9e70 */
| #include <stdint.h>
|
; (fcn) sym.ntp_manager_set_server_fudge_mode_stratum_property () | void ntp_manager_set_server_fudge_mode_stratum_property () {
0x00009e70 lui gp, 2 |
0x00009e74 addiu gp, gp, 0x11e0 |
0x00009e78 addu gp, gp, t9 | gp += t9;
0x00009e7c addiu sp, sp, -0x28 |
0x00009e80 sw gp, 0x18(sp) | *(var_18h) = gp;
0x00009e84 sw ra, 0x24(sp) | *(var_24h) = ra;
0x00009e88 sw s0, 0x20(sp) | *(var_20h) = s0;
0x00009e8c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
| if (a1 != 0) {
0x00009e90 beqz a1, 0x9eb4 |
0x00009e94 move v1, a0 | v1 = a0;
0x00009e98 lw a0, 0x3038(v0) | a0 = *((v0 + 3086));
0x00009e9c lw ra, 0x24(sp) | ra = *(var_24h);
| if (a0 != v1) {
0x00009ea0 bne a0, v1, 0x9ee0 | goto label_0;
| }
0x00009ea4 lw s0, 0x20(sp) | s0 = *(var_20h);
0x00009ea8 move v0, zero | v0 = 0;
0x00009eac addiu sp, sp, 0x28 |
0x00009eb0 jr ra | return v0;
| }
0x00009eb4 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00009eb8 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00009ebc lw a1, -0x7fdc(gp) | a1 = *(gp);
| /* str.changed_properties */
0x00009ec0 addiu v0, v0, 0x2360 | v0 += 0x2360;
0x00009ec4 lw t9, -0x7d4c(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00009ec8 sw v0, 0x10(sp) | *(var_10h) = v0;
| /* str.ntp_manager_set_server_fudge_mode_stratum_property */
0x00009ecc addiu a3, a3, 0x26e4 | a3 += 0x26e4;
0x00009ed0 addiu a2, zero, 0x3e8 | a2 = 0x3e8;
| /* str.src_ntp_manager.c */
0x00009ed4 addiu a1, a1, 0x234c | a1 += 0x234c;
0x00009ed8 move a0, zero | a0 = 0;
0x00009edc jalr t9 | t9 ();
| label_0:
0x00009ee0 lw a0, (a1) | a0 = *(a1);
0x00009ee4 move s0, a1 | s0 = a1;
0x00009ee8 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00009eec lw t9, -0x7f0c(gp) | t9 = sym.dbus_common_properties_updated_list_add;
0x00009ef0 addiu a3, v0, 0x3038 | a3 = v0 + 0x3038;
0x00009ef4 addiu a2, zero, 2 | a2 = 2;
0x00009ef8 addiu a1, a1, -0x1ae0 | a1 += -0x1ae0;
0x00009efc sw v1, 0x3038(v0) | *((v0 + 3086)) = v1;
0x00009f00 bal 0xc780 | sym_dbus_common_properties_updated_list_add ();
0x00009f04 lw gp, 0x18(sp) | gp = *(var_18h);
0x00009f08 lw t9, -0x7fdc(gp) | t9 = *(gp);
0x00009f0c addiu t9, t9, -0x75e4 | t9 += -0x75e4;
0x00009f10 sw v0, (s0) | *(s0) = v0;
0x00009f14 bal 0x8a1c | fcn_00008a1c ();
0x00009f18 lw ra, 0x24(sp) | ra = *(var_24h);
0x00009f1c lw s0, 0x20(sp) | s0 = *(var_20h);
0x00009f20 addiu v0, zero, 1 | v0 = 1;
0x00009f24 addiu sp, sp, 0x28 |
0x00009f28 jr ra | return v0;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/ntpconfd @ 0xb4c4 */
| #include <stdint.h>
|
; (fcn) sym.ntp_manager_set_server_fudge_mode_stratum () | void ntp_manager_set_server_fudge_mode_stratum () {
0x0000b4c4 lui gp, 2 |
0x0000b4c8 addiu gp, gp, -0x474 |
0x0000b4cc addu gp, gp, t9 | gp += t9;
0x0000b4d0 addiu sp, sp, -0x30 |
0x0000b4d4 addiu v0, a0, -0xa | v0 = a0 + -0xa;
0x0000b4d8 sw s1, 0x24(sp) | *(var_24h) = s1;
0x0000b4dc lw s1, -0x7da8(gp) | s1 = *((gp - 8042));
0x0000b4e0 sw gp, 0x10(sp) | *(var_10h) = gp;
0x0000b4e4 sltiu v0, v0, 6 | v0 = (v0 < 6) ? 1 : 0;
0x0000b4e8 lw a2, (s1) | a2 = *(s1);
0x0000b4ec sw ra, 0x2c(sp) | *(var_2ch) = ra;
0x0000b4f0 sw s2, 0x28(sp) | *(var_28h) = s2;
0x0000b4f4 sw s0, 0x20(sp) | *(var_20h) = s0;
0x0000b4f8 sw a2, 0x1c(sp) | *(var_1ch) = a2;
0x0000b4fc sw zero, 0x18(sp) | *(var_18h) = 0;
| if (v0 != 0) {
0x0000b500 bnez v0, 0xb558 | goto label_1;
| }
0x0000b504 move s0, a1 | s0 = a1;
| if (a1 == 0) {
0x0000b508 beqz a1, 0xb550 | goto label_2;
| }
0x0000b50c move a1, a0 | a1 = a0;
0x0000b510 lw a0, -0x7fdc(gp) | a0 = *(gp);
0x0000b514 lw t9, -0x7d70(gp) | t9 = sym.imp.g_strdup_printf
| /* str.Invalid_server_fudge_stratum__u_ */
0x0000b518 addiu a0, a0, 0x2600 | a0 += 0x2600;
0x0000b51c jalr t9 | t9 ();
0x0000b520 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000b524 sw v0, (s0) | *(s0) = v0;
0x0000b528 move v0, zero | v0 = 0;
| do {
| label_0:
0x0000b52c lw a0, 0x1c(sp) | a0 = *(var_1ch);
0x0000b530 lw v1, (s1) | v1 = *(s1);
0x0000b534 lw ra, 0x2c(sp) | ra = *(var_2ch);
| if (a0 != v1) {
0x0000b538 bne a0, v1, 0xb5fc | goto label_3;
| }
0x0000b53c lw s2, 0x28(sp) | s2 = *(var_28h);
0x0000b540 lw s1, 0x24(sp) | s1 = *(var_24h);
0x0000b544 lw s0, 0x20(sp) | s0 = *(var_20h);
0x0000b548 addiu sp, sp, 0x30 |
0x0000b54c jr ra | return v0;
| label_2:
0x0000b550 move v0, zero | v0 = 0;
0x0000b554 b 0xb52c |
| } while (1);
| label_1:
0x0000b558 lw t9, -0x7ea0(gp) | t9 = sym.ntp_manager_set_server_fudge_mode_stratum_property;
0x0000b55c addiu a1, sp, 0x18 | a1 = sp + 0x18;
0x0000b560 bal 0x9e70 | sym_ntp_manager_set_server_fudge_mode_stratum_property ();
0x0000b564 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 == 0) {
0x0000b568 beqz v0, 0xb5e0 | goto label_4;
| }
0x0000b56c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x0000b570 lw s0, 0x3460(v0) | s0 = *((v0 + 3352));
0x0000b574 lw s2, 0x18(sp) | s2 = *(var_18h);
| if (s0 != 0) {
0x0000b578 bnez s0, 0xb598 | goto label_5;
| }
0x0000b57c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x0000b580 b 0xb5a8 | goto label_6;
| do {
0x0000b584 move a0, s2 | a0 = s2;
0x0000b588 jalr t9 | t9 ();
0x0000b58c lw s0, 4(s0) | s0 = *((s0 + 1));
0x0000b590 lw gp, 0x10(sp) | gp = *(var_10h);
| if (s0 == 0) {
0x0000b594 beqz s0, 0xb5a4 | goto label_7;
| }
| label_5:
0x0000b598 lw t9, (s0) | t9 = *(s0);
0x0000b59c bnez t9, 0xb584 |
| } while (t9 != 0);
0x0000b5a0 nop |
| label_7:
0x0000b5a4 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
| label_6:
0x0000b5a8 lw v0, 0x344c(v0) | v0 = *((v0 + 3347));
0x0000b5ac lw t9, -0x7d24(gp) | t9 = sym.imp.g_list_free_full;
| if (v0 == 0) {
0x0000b5b0 beqz v0, 0xb5c8 | goto label_8;
| }
0x0000b5b4 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x0000b5b8 lw v0, 0x3448(v0) | v0 = *((v0 + 3346));
0x0000b5bc lw t9, -0x7fdc(gp) | t9 = *(gp);
0x0000b5c0 bnez v0, 0xb5e8 |
| while (1) {
0x0000b5c4 lw t9, -0x7d24(gp) | t9 = sym.imp.g_list_free_full;
| label_8:
0x0000b5c8 lw a1, -0x7ca8(gp) | a1 = *((gp - 7978));
0x0000b5cc lw a0, 0x18(sp) | a0 = *(var_18h);
0x0000b5d0 jalr t9 | t9 ();
0x0000b5d4 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000b5d8 addiu v0, zero, 1 | v0 = 1;
0x0000b5dc b 0xb52c | goto label_0;
| label_4:
0x0000b5e0 addiu v0, zero, 1 | v0 = 1;
0x0000b5e4 b 0xb52c | goto label_0;
0x0000b5e8 addiu t9, t9, -0x69e0 | t9 += -0x69e0;
0x0000b5ec bal 0x9620 | fcn_00009620 ();
0x0000b5f0 nop |
0x0000b5f4 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000b5f8 b 0xb5c4 |
| }
| label_3:
0x0000b5fc lw t9, -0x7df8(gp) | t9 = sym.imp.__stack_chk_fail;
0x0000b600 jalr t9 | t9 ();
0x0000b604 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/ntpconfd @ 0xb358 */
| #include <stdint.h>
|
; (fcn) sym.ntp_manager_set_server_fudge_mode_timeout () | void ntp_manager_set_server_fudge_mode_timeout () {
0x0000b358 lui gp, 2 |
0x0000b35c addiu gp, gp, -0x308 |
0x0000b360 addu gp, gp, t9 | gp += t9;
0x0000b364 addiu sp, sp, -0x28 |
0x0000b368 sltiu v1, a0, 0xe11 | v1 = (a0 < 0xe11) ? 1 : 0;
0x0000b36c sw gp, 0x10(sp) | *(var_10h) = gp;
0x0000b370 sw ra, 0x24(sp) | *(var_24h) = ra;
0x0000b374 sw s1, 0x20(sp) | *(var_20h) = s1;
0x0000b378 sw s0, 0x1c(sp) | *(var_1ch) = s0;
0x0000b37c move v0, a0 | v0 = a0;
| if (v1 == 0) {
0x0000b380 bnez v1, 0xb3d4 |
0x0000b384 move s0, a1 | s0 = a1;
| if (a1 != 0) {
0x0000b388 beqz a1, 0xb3bc |
0x0000b38c move a1, a0 | a1 = a0;
0x0000b390 lw a0, -0x7fdc(gp) | a0 = *(gp);
0x0000b394 lw t9, -0x7d70(gp) | t9 = sym.imp.g_strdup_printf
| /* str.Invalid_server_fudge_timeout_value__u */
0x0000b398 addiu a0, a0, 0x25d8 | a0 += 0x25d8;
0x0000b39c jalr t9 | t9 ();
0x0000b3a0 lw ra, 0x24(sp) | ra = *(var_24h);
0x0000b3a4 sw v0, (s0) | *(s0) = v0;
0x0000b3a8 lw s1, 0x20(sp) | s1 = *(var_20h);
0x0000b3ac lw s0, 0x1c(sp) | s0 = *(var_1ch);
0x0000b3b0 move v0, zero | v0 = 0;
0x0000b3b4 addiu sp, sp, 0x28 |
0x0000b3b8 jr ra | return v0;
| }
0x0000b3bc lw ra, 0x24(sp) | ra = *(var_24h);
0x0000b3c0 lw s1, 0x20(sp) | s1 = *(var_20h);
0x0000b3c4 lw s0, 0x1c(sp) | s0 = *(var_1ch);
0x0000b3c8 move v0, zero | v0 = 0;
0x0000b3cc addiu sp, sp, 0x28 |
0x0000b3d0 jr ra | return v0;
| }
0x0000b3d4 lw v1, -0x7fd8(gp) | v1 = *((gp - 8182));
0x0000b3d8 lw a0, 0x303c(v1) | a0 = *((v1 + 3087));
0x0000b3dc lw ra, 0x24(sp) | ra = *(var_24h);
| if (v0 == a0) {
0x0000b3e0 bne v0, a0, 0xb3f8 |
0x0000b3e4 lw s1, 0x20(sp) | s1 = *(var_20h);
0x0000b3e8 lw s0, 0x1c(sp) | s0 = *(var_1ch);
0x0000b3ec addiu v0, zero, 1 | v0 = 1;
0x0000b3f0 addiu sp, sp, 0x28 |
0x0000b3f4 jr ra | return v0;
| }
0x0000b3f8 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0000b3fc lw t9, -0x7f0c(gp) | t9 = sym.dbus_common_properties_updated_list_add;
0x0000b400 addiu a3, v1, 0x303c | a3 = v1 + 0x303c;
0x0000b404 addiu a2, zero, 2 | a2 = 2;
0x0000b408 addiu a1, a1, -0x1af8 | a1 += -0x1af8;
0x0000b40c move a0, zero | a0 = 0;
0x0000b410 sw v0, 0x303c(v1) | *((v1 + 3087)) = v0;
0x0000b414 bal 0xc780 | sym_dbus_common_properties_updated_list_add ();
0x0000b418 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000b41c lw t9, -0x7fdc(gp) | t9 = *(gp);
0x0000b420 addiu t9, t9, -0x75e4 | t9 += -0x75e4;
0x0000b424 move s1, v0 | s1 = v0;
0x0000b428 bal 0x8a1c | fcn_00008a1c ();
0x0000b42c lw gp, 0x10(sp) | gp = *(var_10h);
0x0000b430 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x0000b434 lw s0, 0x3460(v0) | s0 = *((v0 + 3352));
0x0000b438 lw t9, (s0) | t9 = *(s0);
| if (s0 == 0) {
0x0000b43c bnel s0, zero, 0xb460 | goto label_0;
| }
0x0000b440 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x0000b444 b 0xb46c | goto label_1;
| do {
0x0000b448 move a0, s1 | a0 = s1;
0x0000b44c jalr t9 | t9 ();
0x0000b450 lw s0, 4(s0) | s0 = *((s0 + 1));
0x0000b454 lw gp, 0x10(sp) | gp = *(var_10h);
| if (s0 == 0) {
0x0000b458 beqz s0, 0xb468 | goto label_2;
| }
0x0000b45c lw t9, (s0) | t9 = *(s0);
| label_0:
0x0000b460 bnez t9, 0xb448 |
| } while (t9 != 0);
0x0000b464 nop |
| label_2:
0x0000b468 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
| label_1:
0x0000b46c lw v0, 0x344c(v0) | v0 = *((v0 + 3347));
0x0000b470 lw t9, -0x7d24(gp) | t9 = sym.imp.g_list_free_full;
| if (v0 == 0) {
0x0000b474 beqz v0, 0xb48c | goto label_3;
| }
0x0000b478 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x0000b47c lw v0, 0x3448(v0) | v0 = *((v0 + 3346));
0x0000b480 lw t9, -0x7fdc(gp) | t9 = *(gp);
0x0000b484 bnez v0, 0xb4b0 |
| while (1) {
0x0000b488 lw t9, -0x7d24(gp) | t9 = sym.imp.g_list_free_full;
| label_3:
0x0000b48c lw a1, -0x7ca8(gp) | a1 = *((gp - 7978));
0x0000b490 move a0, s1 | a0 = s1;
0x0000b494 jalr t9 | t9 ();
0x0000b498 lw ra, 0x24(sp) | ra = *(var_24h);
0x0000b49c lw s1, 0x20(sp) | s1 = *(var_20h);
0x0000b4a0 lw s0, 0x1c(sp) | s0 = *(var_1ch);
0x0000b4a4 addiu v0, zero, 1 | v0 = 1;
0x0000b4a8 addiu sp, sp, 0x28 |
0x0000b4ac jr ra | return v0;
0x0000b4b0 addiu t9, t9, -0x69e0 | t9 += -0x69e0;
0x0000b4b4 bal 0x9620 | fcn_00009620 ();
0x0000b4b8 nop |
0x0000b4bc lw gp, 0x10(sp) | gp = *(var_10h);
0x0000b4c0 b 0xb488 |
| }
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/ntpconfd @ 0xac44 */
| #include <stdint.h>
|
; (fcn) sym.ntp_manager_set_static_servers () | void ntp_manager_set_static_servers () {
0x0000ac44 lui gp, 2 |
0x0000ac48 addiu gp, gp, 0x40c |
0x0000ac4c addu gp, gp, t9 | gp += t9;
0x0000ac50 addiu sp, sp, -0x30 |
0x0000ac54 lw t9, -0x7d58(gp) | t9 = sym.imp.g_list_length;
0x0000ac58 sw gp, 0x10(sp) | *(var_10h) = gp;
0x0000ac5c sw s2, 0x24(sp) | *(var_24h) = s2;
0x0000ac60 sw s0, 0x1c(sp) | *(var_1ch) = s0;
0x0000ac64 sw ra, 0x2c(sp) | *(var_2ch) = ra;
0x0000ac68 sw s3, 0x28(sp) | *(var_28h) = s3;
0x0000ac6c sw s1, 0x20(sp) | *(var_20h) = s1;
0x0000ac70 move s0, a0 | s0 = a0;
0x0000ac74 move s2, a1 | s2 = a1;
0x0000ac78 jalr t9 | t9 ();
0x0000ac7c sltiu v0, v0, 6 | v0 = (v0 < 6) ? 1 : 0;
0x0000ac80 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 == 0) {
0x0000ac84 beqz v0, 0xada8 | goto label_8;
| }
0x0000ac88 lw t9, -0x7d58(gp) | t9 = sym.imp.g_list_length;
| if (s0 != 0) {
0x0000ac8c beqz s0, 0xacac |
0x0000ac90 lw a0, (s0) | a0 = *(s0);
| if (a0 == 0) {
0x0000ac94 beqz a0, 0xacac | goto label_9;
| }
0x0000ac98 nop |
0x0000ac9c lb v0, (a0) | v0 = *(a0);
0x0000aca0 lw a1, -0x7fdc(gp) | a1 = *(gp);
| if (v0 != 0) {
0x0000aca4 bnez v0, 0xaec4 | goto label_10;
| }
| label_2:
0x0000aca8 lw t9, -0x7d58(gp) | t9 = sym.imp.g_list_length;
| }
| label_9:
0x0000acac move a0, s0 | a0 = s0;
0x0000acb0 jalr t9 | t9 ();
0x0000acb4 sltiu v0, v0, 2 | v0 = (v0 < 2) ? 1 : 0;
0x0000acb8 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 == 0) {
0x0000acbc beqz v0, 0xad80 | goto label_11;
| }
| label_0:
0x0000acc0 lw t9, -0x7d24(gp) | t9 = sym.imp.g_list_free_full;
0x0000acc4 lw a1, -0x7ca8(gp) | a1 = *((gp - 7978));
0x0000acc8 move a0, s0 | a0 = s0;
0x0000accc jalr t9 | t9 ();
0x0000acd0 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000acd4 move a1, zero | a1 = 0;
0x0000acd8 lw t9, -0x7dd4(gp) | t9 = sym.imp.g_list_append;
0x0000acdc move a0, zero | a0 = 0;
0x0000ace0 jalr t9 | t9 ();
0x0000ace4 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000ace8 move s0, v0 | s0 = v0;
0x0000acec lw s1, -0x7fd8(gp) | s1 = *((gp - 8182));
| label_3:
0x0000acf0 lw t9, -0x7ef0(gp) | t9 = *(gp);
0x0000acf4 move a0, s0 | a0 = s0;
0x0000acf8 lw a1, 0x3454(s1) | a1 = *((s1 + 3349));
0x0000acfc bal 0x6abc | sym_common_utils_compare_lists ();
0x0000ad00 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 == 0) {
0x0000ad04 beqz v0, 0xad3c | goto label_12;
| }
0x0000ad08 addiu s1, zero, 1 | s1 = 1;
| do {
| label_1:
0x0000ad0c lw t9, -0x7d24(gp) | t9 = sym.imp.g_list_free_full;
0x0000ad10 lw a1, -0x7ca8(gp) | a1 = *((gp - 7978));
0x0000ad14 move a0, s0 | a0 = s0;
0x0000ad18 jalr t9 | t9 ();
0x0000ad1c lw ra, 0x2c(sp) | ra = *(var_2ch);
0x0000ad20 move v0, s1 | v0 = s1;
0x0000ad24 lw s3, 0x28(sp) | s3 = *(var_28h);
0x0000ad28 lw s2, 0x24(sp) | s2 = *(var_24h);
0x0000ad2c lw s1, 0x20(sp) | s1 = *(var_20h);
0x0000ad30 lw s0, 0x1c(sp) | s0 = *(var_1ch);
0x0000ad34 addiu sp, sp, 0x30 |
0x0000ad38 jr ra | return v0;
| label_12:
0x0000ad3c lw t9, -0x7fdc(gp) | t9 = *(gp);
0x0000ad40 lw s3, 0x3454(s1) | s3 = *((s1 + 3349));
0x0000ad44 addiu t9, t9, -0x75e4 | t9 += -0x75e4;
0x0000ad48 sw s0, 0x3454(s1) | *((s1 + 3349)) = s0;
0x0000ad4c bal 0x8a1c | fcn_00008a1c ();
0x0000ad50 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 != 0) {
0x0000ad54 bnez v0, 0xadcc | goto label_13;
| }
0x0000ad58 lw a0, -0x7fdc(gp) | a0 = *(gp);
| if (s2 != 0) {
0x0000ad5c beqz s2, 0xad74 |
0x0000ad60 lw t9, -0x7d70(gp) | t9 = sym.imp.g_strdup_printf
| /* str.Failed_to_update_the_NTP_configuration_file_with_the_new_static_NTP_servers_list */
0x0000ad64 addiu a0, a0, 0x2568 | a0 += 0x2568;
0x0000ad68 jalr t9 | t9 ();
0x0000ad6c lw gp, 0x10(sp) | gp = *(var_10h);
0x0000ad70 sw v0, (s2) | *(s2) = v0;
| }
0x0000ad74 sw s3, 0x3454(s1) | *((s1 + 3349)) = s3;
0x0000ad78 move s1, zero | s1 = 0;
0x0000ad7c b 0xad0c |
| } while (1);
| label_11:
0x0000ad80 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x0000ad84 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0000ad88 lw t9, -0x7e6c(gp) | t9 = sym.imp.g_log;
0x0000ad8c addiu a3, a3, 0x2320 | a3 += 0x2320;
| /* str._sDiscarding_remainder_of_static_server_list */
0x0000ad90 addiu a2, a2, 0x24ec | a2 += 0x24ec;
0x0000ad94 addiu a1, zero, 0x10 | a1 = 0x10;
0x0000ad98 move a0, zero | a0 = 0;
0x0000ad9c jalr t9 | t9 ();
0x0000ada0 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000ada4 b 0xacc0 | goto label_0;
| label_8:
0x0000ada8 lw a0, -0x7fdc(gp) | a0 = *(gp);
| if (s2 != 0) {
0x0000adac beqz s2, 0xadc4 |
0x0000adb0 lw t9, -0x7cf8(gp) | t9 = sym.imp.g_strdup;
| /* str.Too_many_static_servers_specified */
0x0000adb4 addiu a0, a0, 0x24c8 | a0 += 0x24c8;
0x0000adb8 jalr t9 | t9 ();
0x0000adbc lw gp, 0x10(sp) | gp = *(var_10h);
0x0000adc0 sw v0, (s2) | *(s2) = v0;
| }
0x0000adc4 move s1, zero | s1 = 0;
0x0000adc8 b 0xad0c | goto label_1;
| label_13:
0x0000adcc lw t9, -0x7d24(gp) | t9 = sym.imp.g_list_free_full;
0x0000add0 lw a1, -0x7ca8(gp) | a1 = *((gp - 7978));
0x0000add4 move a0, s3 | a0 = s3;
0x0000add8 jalr t9 | t9 ();
0x0000addc lw gp, 0x10(sp) | gp = *(var_10h);
0x0000ade0 addiu v1, zero, 1 | v1 = 1;
0x0000ade4 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x0000ade8 lw v0, 0x3458(v0) | v0 = *((v0 + 3350));
| if (v0 != v1) {
0x0000adec beql v0, v1, 0xae28 |
0x0000adf0 lw v0, 0x3454(s1) | v0 = *((s1 + 3349));
0x0000adf4 lw a1, -0x7fdc(gp) | a1 = *(gp);
| if (v0 != 0) {
0x0000adf8 bnez v0, 0xae4c | goto label_14;
| }
0x0000adfc lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x0000ae00 lw v0, 0x3450(v0) | v0 = *((v0 + 3348));
| if (v0 == 0) {
0x0000ae04 beql v0, zero, 0xae28 | goto label_15;
| }
0x0000ae08 lw v0, 0x3454(s1) | v0 = *((s1 + 3349));
0x0000ae0c lw v0, (v0) | v0 = *(v0);
| if (v0 == 0) {
0x0000ae10 beql v0, zero, 0xae28 | goto label_15;
| }
0x0000ae14 lw v0, 0x3454(s1) | v0 = *((s1 + 3349));
0x0000ae18 lb v0, (v0) | v0 = *(v0);
0x0000ae1c lw t9, -0x7f0c(gp) | t9 = sym.dbus_common_properties_updated_list_add;
| if (v0 != 0) {
0x0000ae20 bnez v0, 0xae50 | goto label_16;
| }
0x0000ae24 lw v0, 0x3454(s1) | v0 = *((s1 + 3349));
| }
| label_15:
0x0000ae28 lw v0, (v0) | v0 = *(v0);
0x0000ae2c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
| if (v0 == 0) {
0x0000ae30 beqz v0, 0xaf34 | goto label_17;
| }
0x0000ae34 lw t9, -0x7fdc(gp) | t9 = *(gp);
| label_5:
0x0000ae38 addiu t9, t9, -0x69e0 | t9 += -0x69e0;
0x0000ae3c bal 0x9620 | fcn_00009620 ();
0x0000ae40 nop |
0x0000ae44 lw gp, 0x10(sp) | gp = *(var_10h);
| label_6:
0x0000ae48 lw a1, -0x7fdc(gp) | a1 = *(gp);
| label_14:
0x0000ae4c lw t9, -0x7f0c(gp) | t9 = sym.dbus_common_properties_updated_list_add;
| label_16:
0x0000ae50 lw a3, 0x3454(s1) | a3 = *((s1 + 3349));
0x0000ae54 addiu a2, zero, 5 | a2 = 5;
0x0000ae58 addiu a1, a1, -0x1b44 | a1 += -0x1b44;
0x0000ae5c move a0, zero | a0 = 0;
0x0000ae60 bal 0xc780 | sym_dbus_common_properties_updated_list_add ();
0x0000ae64 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000ae68 move s1, v0 | s1 = v0;
0x0000ae6c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x0000ae70 lw s0, 0x3460(v0) | s0 = *((v0 + 3352));
0x0000ae74 lw t9, (s0) | t9 = *(s0);
| if (s0 == 0) {
0x0000ae78 bnel s0, zero, 0xae9c | goto label_18;
| }
0x0000ae7c lw t9, -0x7d24(gp) | t9 = sym.imp.g_list_free_full;
0x0000ae80 b 0xaea8 | goto label_19;
| do {
0x0000ae84 move a0, s1 | a0 = s1;
0x0000ae88 jalr t9 | t9 ();
0x0000ae8c lw s0, 4(s0) | s0 = *((s0 + 1));
0x0000ae90 lw gp, 0x10(sp) | gp = *(var_10h);
| if (s0 == 0) {
0x0000ae94 beqz s0, 0xaea4 | goto label_20;
| }
0x0000ae98 lw t9, (s0) | t9 = *(s0);
| label_18:
0x0000ae9c bnez t9, 0xae84 |
| } while (t9 != 0);
0x0000aea0 nop |
| label_20:
0x0000aea4 lw t9, -0x7d24(gp) | t9 = sym.imp.g_list_free_full;
| label_19:
0x0000aea8 lw a1, -0x7ca8(gp) | a1 = *((gp - 7978));
0x0000aeac move a0, s1 | a0 = s1;
0x0000aeb0 jalr t9 | t9 ();
0x0000aeb4 addiu s1, zero, 1 | s1 = 1;
0x0000aeb8 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000aebc move s0, zero | s0 = 0;
0x0000aec0 b 0xad0c | goto label_1;
| label_10:
0x0000aec4 lw t9, -0x7cf4(gp) | t9 = *((gp - 7997));
| /* str.0.0.0.0 */
0x0000aec8 addiu a1, a1, 0x1f4c | a1 += 0x1f4c;
0x0000aecc jalr t9 | t9 ();
0x0000aed0 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 == 0) {
0x0000aed4 beqz v0, 0xaca8 | goto label_2;
| }
0x0000aed8 move s1, s0 | s1 = s0;
0x0000aedc b 0xaeec | goto label_21;
| label_4:
0x0000aee0 lw s1, 4(s1) | s1 = *((s1 + 1));
| if (s1 == 0) {
0x0000aee4 beql s1, zero, 0xacf0 | goto label_3;
| }
0x0000aee8 lw s1, -0x7fd8(gp) | s1 = *((gp - 8182));
| label_21:
0x0000aeec lw t9, -0x7ef8(gp) | t9 = sym.common_utils_verify_address;
0x0000aef0 lw a0, (s1) | a0 = *(s1);
0x0000aef4 bal 0x6bf8 | sym_common_utils_verify_address ();
0x0000aef8 lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 != 0) {
0x0000aefc bnez v0, 0xaee0 | goto label_4;
| }
| if (s2 == 0) {
0x0000af00 beql s2, zero, 0xad0c | goto label_1;
| }
0x0000af04 move s1, zero | s1 = 0;
0x0000af08 lw a1, (s1) | a1 = *(s1);
| if (a1 == 0) {
0x0000af0c beql a1, zero, 0xaf58 | goto label_22;
| }
0x0000af10 lw a1, -0x7fdc(gp) | a1 = *(gp);
| label_7:
0x0000af14 lw a0, -0x7fdc(gp) | a0 = *(gp);
0x0000af18 lw t9, -0x7d70(gp) | t9 = sym.imp.g_strdup_printf
| /* str.The_NTP_server_address__s_in_the_list_of_NTP_static_servers_is_invalid */
0x0000af1c addiu a0, a0, 0x251c | a0 += 0x251c;
0x0000af20 jalr t9 | t9 ();
0x0000af24 move s1, zero | s1 = 0;
0x0000af28 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000af2c sw v0, (s2) | *(s2) = v0;
0x0000af30 b 0xad0c | goto label_1;
| label_17:
0x0000af34 lw v0, 0x344c(v0) | v0 = *((v0 + 3347));
0x0000af38 lw t9, -0x7fdc(gp) | t9 = *(gp);
| if (v0 != 0) {
0x0000af3c bnez v0, 0xae38 | goto label_5;
| }
0x0000af40 lw t9, -0x7fdc(gp) | t9 = *(gp);
0x0000af44 addiu t9, t9, -0x6b44 | t9 += -0x6b44;
0x0000af48 bal 0x94bc | fcn_000094bc ();
0x0000af4c nop |
0x0000af50 lw gp, 0x10(sp) | gp = *(var_10h);
0x0000af54 b 0xae48 | goto label_6;
| /* str._null_ */
| label_22:
0x0000af58 addiu a1, a1, 0x24c0 | a1 += 0x24c0;
0x0000af5c b 0xaf14 | goto label_7;
| }
[*] Function printf used 25 times ntpconfd