[*] Binary protection state of handle_xml_conf_duplication
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function printf tear down of handle_xml_conf_duplication
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/handle_xml_conf_duplication @ 0xef0 */
| #include <stdint.h>
|
; (fcn) main () | int32_t main () {
| /* [13] -r-x section size 3984 named .text */
0x00000ef0 lui gp, 2 |
0x00000ef4 addiu gp, gp, -0x5ee0 |
0x00000ef8 addu gp, gp, t9 | gp += t9;
0x00000efc addiu sp, sp, -0x138 |
0x00000f00 addiu v0, zero, 2 | v0 = 2;
0x00000f04 sw a0, 0x138(sp) | *(arg_138h) = a0;
0x00000f08 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00000f0c sw s2, 0x118(sp) | *(var_118h) = s2;
0x00000f10 addiu a0, a0, 0x2138 | a0 += str.log_string;
0x00000f14 sw a0, 0x80(sp) | *(var_80h) = a0;
0x00000f18 addiu a0, zero, 0x6c | a0 = 0x6c;
0x00000f1c sb a0, 0x84(sp) | *(var_84h) = a0;
0x00000f20 addiu a0, sp, 0x6c | a0 = sp + 0x6c;
0x00000f24 sw a0, 0x90(sp) | *(var_90h) = a0;
0x00000f28 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00000f2c lw s2, -0x7f2c(gp) | s2 = *((gp - 8139));
0x00000f30 addiu a0, a0, 0x2144 | a0 += str.The_string_that_is_used_when_opening_the_log___l__log_string_;
0x00000f34 sw a0, 0x94(sp) | *(var_94h) = a0;
0x00000f38 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00000f3c lw a3, (s2) | a3 = *(s2);
0x00000f40 addiu a0, a0, 0x21d0 | a0 += 0x21d0;
0x00000f44 sw a0, 0x9c(sp) | *(var_9ch) = a0;
0x00000f48 addiu a0, zero, 0x64 | a0 = 0x64;
0x00000f4c sb a0, 0xa0(sp) | *(var_a0h) = a0;
0x00000f50 addiu a0, sp, 0x64 | a0 = sp + 0x64;
0x00000f54 sw a0, 0xac(sp) | *(var_ach) = a0;
0x00000f58 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00000f5c sw gp, 0x20(sp) | *(var_20h) = gp;
0x00000f60 addiu a0, a0, 0x2184 | a0 += str.The_path_to_the_lua_application_configuration___d__lua_app_conf_path_;
0x00000f64 sw a0, 0xb0(sp) | *(var_b0h) = a0;
0x00000f68 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00000f6c addiu v1, zero, 1 | v1 = 1;
0x00000f70 addiu a0, a0, 0x21cc | a0 += str.old_lua_application_conf_path;
0x00000f74 sw a0, 0xb8(sp) | *(var_b8h) = a0;
0x00000f78 addiu a0, zero, 0x73 | a0 = 0x73;
0x00000f7c sw ra, 0x134(sp) | *(var_134h) = ra;
0x00000f80 sw a3, 0x10c(sp) | *(var_10ch) = a3;
0x00000f84 sw s1, 0x114(sp) | *(var_114h) = s1;
0x00000f88 sw s0, 0x110(sp) | *(var_110h) = s0;
0x00000f8c sw a1, 0x5c(sp) | *(var_5ch) = a1;
0x00000f90 sw v0, 0x88(sp) | *(var_88h) = v0;
0x00000f94 sw v1, 0x8c(sp) | *(var_8ch) = v1;
0x00000f98 sw v0, 0xa4(sp) | *(var_a4h) = v0;
0x00000f9c sw v1, 0xa8(sp) | *(var_a8h) = v1;
0x00000fa0 sb a0, 0xbc(sp) | *(var_bch) = a0;
0x00000fa4 sw v0, 0xc0(sp) | *(var_c0h) = v0;
0x00000fa8 sw fp, 0x130(sp) | *(var_130h) = fp;
0x00000fac sw s7, 0x12c(sp) | *(var_12ch) = s7;
0x00000fb0 sw s6, 0x128(sp) | *(var_128h) = s6;
0x00000fb4 sw s5, 0x124(sp) | *(var_124h) = s5;
0x00000fb8 sw s4, 0x120(sp) | *(var_120h) = s4;
0x00000fbc sw s3, 0x11c(sp) | *(var_11ch) = s3;
0x00000fc0 sw v1, 0xc4(sp) | *(var_c4h) = v1;
0x00000fc4 addiu v1, sp, 0x68 | v1 = sp + 0x68;
0x00000fc8 sw v1, 0xc8(sp) | *(var_c8h) = v1;
0x00000fcc lw v1, -0x7fdc(gp) | v1 = *((gp - 8183));
0x00000fd0 sw v0, 0xdc(sp) | *(var_dch) = v0;
0x00000fd4 addiu v1, v1, 0x21ec | v1 += str.The_path_to_the_old_lua_application_configuration___s__old_lua_app_conf_path_;
0x00000fd8 sw v1, 0xcc(sp) | *(var_cch) = v1;
0x00000fdc sw v0, 0xe0(sp) | *(var_e0h) = v0;
0x00000fe0 lw v1, -0x7fdc(gp) | v1 = *((gp - 8183));
0x00000fe4 addiu v0, sp, 0x70 | v0 = sp + 0x70;
0x00000fe8 sw v0, 0xe4(sp) | *(var_e4h) = v0;
0x00000fec lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00000ff0 addiu v1, v1, 0x223c | v1 += str.number_of_channels;
0x00000ff4 lw t9, -0x7f9c(gp) | t9 = sym.imp.openlog;
0x00000ff8 addiu v0, v0, 0x2250 | v0 += str.The_number_of_channels_that_exists___n__number_of_channels_;
0x00000ffc sw v1, 0xd4(sp) | *(var_d4h) = v1;
0x00001000 addiu s0, zero, -1 | s0 = -1;
0x00001004 addiu v1, zero, 0x6e | v1 = 0x6e;
0x00001008 sb v1, 0xd8(sp) | *(var_d8h) = v1;
0x0000100c addiu a2, zero, 8 | a2 = 8;
0x00001010 move a1, zero | a1 = 0;
0x00001014 move a0, zero | a0 = 0;
0x00001018 sw v0, 0xe8(sp) | *(var_e8h) = v0;
0x0000101c sw zero, 0x60(sp) | *(var_60h) = 0;
0x00001020 sw zero, 0x64(sp) | *(var_64h) = 0;
0x00001024 sw zero, 0x68(sp) | *(var_68h) = 0;
0x00001028 sw zero, 0x6c(sp) | *(var_6ch) = 0;
0x0000102c sw s0, 0x70(sp) | *(var_70h) = s0;
0x00001030 sw zero, 0x98(sp) | *(var_98h) = 0;
0x00001034 sw zero, 0xb4(sp) | *(var_b4h) = 0;
0x00001038 sw zero, 0xd0(sp) | *(var_d0h) = 0;
0x0000103c sw zero, 0xec(sp) | *(var_ech) = 0;
0x00001040 sw zero, 0xf0(sp) | *(var_f0h) = 0;
0x00001044 sb zero, 0xf4(sp) | *(var_f4h) = 0;
0x00001048 sw zero, 0xf8(sp) | *(var_f8h) = 0;
0x0000104c sw zero, 0xfc(sp) | *(var_fch) = 0;
0x00001050 sw zero, 0x100(sp) | *(var_100h) = 0;
0x00001054 sw zero, 0x104(sp) | *(var_104h) = 0;
0x00001058 sw zero, 0x108(sp) | *(var_108h) = 0;
0x0000105c jalr t9 | t9 ();
0x00001060 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001064 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00001068 lw t9, -0x7f90(gp) | t9 = sym.imp.g_option_context_new;
0x0000106c addiu a0, a0, 0x22b4 | a0 += 0x22b4;
0x00001070 jalr t9 | t9 ();
0x00001074 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001078 move a0, v0 | a0 = v0;
0x0000107c move a2, zero | a2 = 0;
0x00001080 lw t9, -0x7f0c(gp) | t9 = sym.imp.g_option_context_add_main_entries;
0x00001084 addiu a1, sp, 0x80 | a1 = sp + 0x80;
0x00001088 move s1, v0 | s1 = v0;
0x0000108c jalr t9 | t9 ();
0x00001090 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001094 addiu a3, sp, 0x60 | a3 = sp + 0x60;
0x00001098 addiu a2, sp, 0x5c | a2 = sp + 0x5c;
0x0000109c lw t9, -0x7f88(gp) | t9 = sym.imp.g_option_context_parse;
0x000010a0 addiu a1, sp, 0x138 | a1 = sp + aav.0x00000138;
0x000010a4 move a0, s1 | a0 = s1;
0x000010a8 jalr t9 | t9 ();
0x000010ac lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x000010b0 beqz v0, 0x1644 | goto label_10;
| }
0x000010b4 lw t9, -0x7f24(gp) | t9 = sym.imp.g_option_context_free;
0x000010b8 move a0, s1 | a0 = s1;
0x000010bc jalr t9 | t9 ();
0x000010c0 lw v0, 0x64(sp) | v0 = *(var_64h);
0x000010c4 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x000010c8 beqz v0, 0x1810 | goto label_11;
| }
0x000010cc lw v0, 0x68(sp) | v0 = *(var_68h);
0x000010d0 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
| if (v0 == 0) {
0x000010d4 beqz v0, 0x1860 | goto label_12;
| }
0x000010d8 lw s1, 0x70(sp) | s1 = *(var_70h);
0x000010dc lw t9, -0x7f4c(gp) | t9 = sym.imp.g_bus_get_sync;
| if (s1 == s0) {
0x000010e0 beq s1, s0, 0x16e4 | goto label_13;
| }
| label_1:
0x000010e4 addiu v0, zero, 1 | v0 = 1;
0x000010e8 lw t9, -0x7f5c(gp) | t9 = sym.imp.xmlnode_load_file;
| if (s1 == v0) {
0x000010ec beq s1, v0, 0x17b8 | goto label_7;
| }
0x000010f0 lw a0, 0x68(sp) | a0 = *(var_68h);
0x000010f4 jalr t9 | t9 ();
0x000010f8 move s1, v0 | s1 = v0;
0x000010fc lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00001100 beqz v0, 0x17e4 | goto label_14;
| }
0x00001104 lw s4, -0x7fdc(gp) | s4 = *((gp - 8183));
0x00001108 lw t9, -0x7f10(gp) | t9 = sym.imp.xmlnode_find_tag;
0x0000110c addiu a1, s4, 0x2394 | a1 = s4 + str.config;
0x00001110 move a0, v0 | a0 = v0;
0x00001114 jalr t9 | t9 ();
0x00001118 move s0, v0 | s0 = v0;
0x0000111c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00001120 beqz v0, 0x183c | goto label_15;
| }
0x00001124 lw s5, -0x7fdc(gp) | s5 = *((gp - 8183));
0x00001128 lw t9, -0x7f58(gp) | t9 = sym.imp.xmlnode_get_attribute_value;
0x0000112c addiu a1, s5, 0x23b8 | a1 = s5 + str.version;
0x00001130 move a0, v0 | a0 = v0;
0x00001134 jalr t9 | t9 ();
0x00001138 lw gp, 0x20(sp) | gp = *(var_20h);
0x0000113c move a0, v0 | a0 = v0;
0x00001140 move s0, v0 | s0 = v0;
0x00001144 lw s6, -0x7fdc(gp) | s6 = *((gp - 8183));
0x00001148 lw t9, -0x7f04(gp) | t9 = sym.imp.strcmp;
0x0000114c addiu a1, s6, 0x23c0 | a1 = s6 + 0x23c0;
0x00001150 jalr t9 | t9 ();
0x00001154 move s3, v0 | s3 = v0;
0x00001158 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x0000115c bnez v0, 0x186c | goto label_16;
| }
0x00001160 lw t9, -0x7f3c(gp) | t9 = sym.imp.xmlnode_create_node;
0x00001164 jalr t9 | t9 ();
0x00001168 nop |
0x0000116c move s0, v0 | s0 = v0;
0x00001170 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00001174 beqz v0, 0x11a4 |
0x00001178 lw t9, -0x7f54(gp) | t9 = sym.imp.xmlnode_set_name;
0x0000117c move a0, v0 | a0 = v0;
0x00001180 addiu a1, s4, 0x2394 | a1 = s4 + str.config;
0x00001184 jalr t9 | t9 ();
0x00001188 lw gp, 0x20(sp) | gp = *(var_20h);
0x0000118c addiu a2, s6, 0x23c0 | a2 = s6 + 0x23c0;
0x00001190 addiu a1, s5, 0x23b8 | a1 = s5 + str.version;
0x00001194 lw t9, -0x7f18(gp) | t9 = sym.imp.xmlnode_add_attribute;
0x00001198 move a0, s0 | a0 = s0;
0x0000119c jalr t9 | t9 ();
0x000011a0 lw gp, 0x20(sp) | gp = *(var_20h);
| }
0x000011a4 lw t9, -0x7f10(gp) | t9 = sym.imp.xmlnode_find_tag;
0x000011a8 addiu a1, s4, 0x2394 | a1 = s4 + str.config;
0x000011ac move a0, s1 | a0 = s1;
0x000011b0 lw fp, 0x70(sp) | fp = *(var_70h);
0x000011b4 jalr t9 | t9 ();
0x000011b8 move s4, v0 | s4 = v0;
0x000011bc lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x000011c0 beqz v0, 0x19ec | goto label_17;
| }
0x000011c4 lw s5, -0x7fdc(gp) | s5 = *((gp - 8183));
0x000011c8 lw t9, -0x7f10(gp) | t9 = sym.imp.xmlnode_find_tag;
0x000011cc addiu a1, s5, 0x23dc | a1 = s5 + str.ruleEngines;
0x000011d0 move a0, s1 | a0 = s1;
0x000011d4 jalr t9 | t9 ();
0x000011d8 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x000011dc beqz v0, 0x1a48 | goto label_18;
| }
0x000011e0 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000011e4 lw t9, -0x7f7c(gp) | t9 = sym.imp.xmlnode_find_tags;
0x000011e8 sw v0, 0x2c(sp) | *(var_2ch) = v0;
0x000011ec addiu a1, v0, 0x2404 | a1 = v0 + str.ruleEngine;
0x000011f0 move a0, s4 | a0 = s4;
0x000011f4 jalr t9 | t9 ();
0x000011f8 move s6, v0 | s6 = v0;
0x000011fc lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00001200 beqz v0, 0x1a2c | goto label_19;
| }
0x00001204 lw s7, -0x7fdc(gp) | s7 = *((gp - 8183));
0x00001208 lw t9, -0x7f10(gp) | t9 = sym.imp.xmlnode_find_tag;
0x0000120c addiu a1, s7, 0x242c | a1 = s7 + str.application;
0x00001210 move a0, s4 | a0 = s4;
0x00001214 jalr t9 | t9 ();
0x00001218 sw v0, 0x34(sp) | *(var_34h) = v0;
0x0000121c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00001220 beqz v0, 0x1a80 | goto label_20;
| }
0x00001224 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001228 lw t9, -0x7f10(gp) | t9 = sym.imp.xmlnode_find_tag;
0x0000122c sw v0, 0x30(sp) | *(var_30h) = v0;
0x00001230 addiu a1, v0, 0x2454 | a1 = v0 + str.analyticSource;
0x00001234 move a0, s4 | a0 = s4;
0x00001238 jalr t9 | t9 ();
0x0000123c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00001240 beqz v0, 0x1a9c | goto label_21;
| }
0x00001244 lw t9, -0x7f38(gp) | t9 = sym.imp.g_list_length;
0x00001248 move a0, s6 | a0 = s6;
0x0000124c jalr t9 | t9 ();
0x00001250 sltu v0, v0, fp | v0 = (v0 < fp) ? 1 : 0;
0x00001254 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00001258 beqz v0, 0x1968 | goto label_22;
| }
0x0000125c lw v0, 0x2c(sp) | v0 = *(var_2ch);
0x00001260 lw t9, -0x7f10(gp) | t9 = sym.imp.xmlnode_find_tag;
0x00001264 lw a0, 0x34(sp) | a0 = *(var_34h);
0x00001268 addiu a1, v0, 0x2404 | a1 = v0 + str.ruleEngine;
0x0000126c jalr t9 | t9 ();
0x00001270 sw v0, 0x38(sp) | *(var_38h) = v0;
0x00001274 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00001278 beqz v0, 0x1a2c | goto label_19;
| }
0x0000127c lw t9, -0x7f3c(gp) | t9 = sym.imp.xmlnode_create_node;
0x00001280 jalr t9 | t9 ();
0x00001284 nop |
0x00001288 move s4, v0 | s4 = v0;
0x0000128c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00001290 beqz v0, 0x1ad8 | goto label_23;
| }
0x00001294 lw t9, -0x7f54(gp) | t9 = sym.imp.xmlnode_set_name;
0x00001298 addiu a1, s7, 0x242c | a1 = s7 + str.application;
0x0000129c lw s7, -0x7fdc(gp) | s7 = *((gp - 8183));
0x000012a0 move a0, v0 | a0 = v0;
0x000012a4 jalr t9 | t9 ();
0x000012a8 lw gp, 0x20(sp) | gp = *(var_20h);
0x000012ac lw a0, 0x34(sp) | a0 = *(var_34h);
0x000012b0 lw t9, -0x7f58(gp) | t9 = sym.imp.xmlnode_get_attribute_value;
0x000012b4 addiu a1, s7, 0x24ec | a1 = s7 + 0x24ec;
0x000012b8 jalr t9 | t9 ();
0x000012bc lw gp, 0x20(sp) | gp = *(var_20h);
0x000012c0 move a2, v0 | a2 = v0;
0x000012c4 addiu a1, s7, 0x24ec | a1 = s7 + 0x24ec;
0x000012c8 lw s6, -0x7fdc(gp) | s6 = *((gp - 8183));
0x000012cc lw t9, -0x7f18(gp) | t9 = sym.imp.xmlnode_add_attribute;
0x000012d0 move a0, s4 | a0 = s4;
0x000012d4 sw s6, 0x3c(sp) | *(var_3ch) = s6;
0x000012d8 jalr t9 | t9 ();
0x000012dc lw gp, 0x20(sp) | gp = *(var_20h);
0x000012e0 lw a0, 0x34(sp) | a0 = *(var_34h);
0x000012e4 lw t9, -0x7f58(gp) | t9 = sym.imp.xmlnode_get_attribute_value;
0x000012e8 addiu a1, s6, 0x24e8 | a1 = s6 + str.nicename;
0x000012ec jalr t9 | t9 ();
0x000012f0 lw gp, 0x20(sp) | gp = *(var_20h);
0x000012f4 move a2, v0 | a2 = v0;
0x000012f8 addiu a1, s6, 0x24e8 | a1 = s6 + str.nicename;
0x000012fc lw t9, -0x7f18(gp) | t9 = sym.imp.xmlnode_add_attribute;
0x00001300 move a0, s4 | a0 = s4;
0x00001304 jalr t9 | t9 ();
0x00001308 lw gp, 0x20(sp) | gp = *(var_20h);
0x0000130c move a1, s4 | a1 = s4;
0x00001310 lw t9, -0x7f80(gp) | t9 = sym.imp.xmlnode_add_child;
0x00001314 move a0, s0 | a0 = s0;
0x00001318 jalr t9 | t9 ();
0x0000131c lw gp, 0x20(sp) | gp = *(var_20h);
0x00001320 lw t9, -0x7f3c(gp) | t9 = sym.imp.xmlnode_create_node;
0x00001324 jalr t9 | t9 ();
0x00001328 nop |
0x0000132c sw v0, 0x34(sp) | *(var_34h) = v0;
0x00001330 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00001334 beqz v0, 0x1af4 | goto label_24;
| }
0x00001338 addiu a1, s5, 0x23dc | a1 = s5 + str.ruleEngines;
0x0000133c lw s5, 0x34(sp) | s5 = *(var_34h);
0x00001340 lw t9, -0x7f54(gp) | t9 = sym.imp.xmlnode_set_name;
0x00001344 move a0, s5 | a0 = s5;
0x00001348 jalr t9 | t9 ();
0x0000134c lw gp, 0x20(sp) | gp = *(var_20h);
0x00001350 move a1, s5 | a1 = s5;
0x00001354 move a0, s4 | a0 = s4;
0x00001358 lw t9, -0x7f80(gp) | t9 = sym.imp.xmlnode_add_child;
0x0000135c move s5, zero | s5 = 0;
0x00001360 jalr t9 | t9 ();
0x00001364 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001368 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x0000136c addiu v0, v0, 0x254c | v0 += str.disabled;
0x00001370 sw v0, 0x54(sp) | *(var_54h) = v0;
0x00001374 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001378 sw v0, 0x40(sp) | *(var_40h) = v0;
0x0000137c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001380 addiu v0, v0, 0x253c | v0 += str.enabled;
0x00001384 sw v0, 0x58(sp) | *(var_58h) = v0;
0x00001388 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x0000138c addiu v0, v0, 0x1c90 | v0 += fcn.00001c90;
0x00001390 sw v0, 0x44(sp) | *(var_44h) = v0;
0x00001394 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001398 sw v0, 0x48(sp) | *(var_48h) = v0;
0x0000139c b 0x15fc |
| while (s5 != 0) {
0x000013a0 lw a2, 0x54(sp) | a2 = *(var_54h);
| label_0:
0x000013a4 lw v0, 0x40(sp) | v0 = *(var_40h);
0x000013a8 move a0, s4 | a0 = s4;
0x000013ac addiu a1, v0, 0x2544 | a1 = v0 + str.status;
0x000013b0 jalr t9 | t9 ();
0x000013b4 lw gp, 0x20(sp) | gp = *(var_20h);
0x000013b8 lw a0, 0x34(sp) | a0 = *(var_34h);
0x000013bc move a1, s4 | a1 = s4;
0x000013c0 lw t9, -0x7f80(gp) | t9 = sym.imp.xmlnode_add_child;
0x000013c4 addiu s5, s5, 1 | s5++;
0x000013c8 jalr t9 | t9 ();
0x000013cc lw a0, 0x38(sp) | a0 = *(var_38h);
0x000013d0 lw t9, 0x44(sp) | t9 = *(var_44h);
0x000013d4 move a1, s4 | a1 = s4;
0x000013d8 jalr t9 | t9 ();
0x000013dc lw gp, 0x20(sp) | gp = *(var_20h);
0x000013e0 lw v0, 0x48(sp) | v0 = *(var_48h);
0x000013e4 move a1, s5 | a1 = s5;
0x000013e8 lw t9, -0x7f60(gp) | t9 = sym.imp.g_strdup_printf
0x000013ec addiu a0, v0, 0x2558 | a0 = v0 + 0x2558;
0x000013f0 jalr t9 | t9 ();
0x000013f4 lw gp, 0x20(sp) | gp = *(var_20h);
0x000013f8 lw v1, 0x30(sp) | v1 = *(var_30h);
0x000013fc move a0, s4 | a0 = s4;
0x00001400 lw t9, -0x7f10(gp) | t9 = sym.imp.xmlnode_find_tag;
0x00001404 addiu a1, v1, 0x2454 | a1 = v1 + str.analyticSource;
0x00001408 move s6, v0 | s6 = v0;
0x0000140c jalr t9 | t9 ();
0x00001410 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00001414 beqz v0, 0x1434 |
0x00001418 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x0000141c lw t9, -0x7f18(gp) | t9 = sym.imp.xmlnode_add_attribute;
0x00001420 move a2, s6 | a2 = s6;
0x00001424 addiu a1, a1, 0x2590 | a1 += str.value;
0x00001428 move a0, v0 | a0 = v0;
0x0000142c jalr t9 | t9 ();
0x00001430 lw gp, 0x20(sp) | gp = *(var_20h);
| }
0x00001434 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00001438 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x0000143c lw t9, -0x7f50(gp) | t9 = sym.imp.xmlnode_find_tag_with_attribute;
0x00001440 addiu a3, a3, 0x2598 | a3 += str.Channel;
0x00001444 addiu a2, s7, 0x24ec | a2 = s7 + 0x24ec;
0x00001448 addiu a1, a1, 0x25a0 | a1 += str.parameter;
0x0000144c move a0, s4 | a0 = s4;
0x00001450 jalr t9 | t9 ();
0x00001454 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00001458 beqz v0, 0x1478 |
0x0000145c lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001460 lw t9, -0x7f18(gp) | t9 = sym.imp.xmlnode_add_attribute;
0x00001464 move a2, s6 | a2 = s6;
0x00001468 addiu a1, a1, 0x2590 | a1 += str.value;
0x0000146c move a0, v0 | a0 = v0;
0x00001470 jalr t9 | t9 ();
0x00001474 lw gp, 0x20(sp) | gp = *(var_20h);
| }
0x00001478 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x0000147c lw t9, -0x7f10(gp) | t9 = sym.imp.xmlnode_find_tag;
0x00001480 move a0, s4 | a0 = s4;
0x00001484 addiu a1, a1, 0x25ac | a1 += str.event;
0x00001488 jalr t9 | t9 ();
0x0000148c move s4, v0 | s4 = v0;
0x00001490 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00001494 beqz v0, 0x15ec |
0x00001498 lw t9, -0x7f58(gp) | t9 = sym.imp.xmlnode_get_attribute_value;
0x0000149c addiu a1, s7, 0x24ec | a1 = s7 + 0x24ec;
0x000014a0 move a0, v0 | a0 = v0;
0x000014a4 jalr t9 | t9 ();
0x000014a8 lw gp, 0x20(sp) | gp = *(var_20h);
0x000014ac move a0, v0 | a0 = v0;
0x000014b0 lw t9, -0x7f6c(gp) | t9 = sym.imp.strlen;
0x000014b4 sw v0, 0x4c(sp) | *(var_4ch) = v0;
0x000014b8 jalr t9 | t9 ();
0x000014bc lw gp, 0x20(sp) | gp = *(var_20h);
0x000014c0 lw v1, 0x4c(sp) | v1 = *(var_4ch);
0x000014c4 addiu a1, v0, -1 | a1 = v0 + -1;
0x000014c8 lw t9, -0x7fb0(gp) | t9 = sym.imp.g_strndup;
0x000014cc move a0, v1 | a0 = v1;
0x000014d0 jalr t9 | t9 ();
0x000014d4 lw gp, 0x20(sp) | gp = *(var_20h);
0x000014d8 move a2, zero | a2 = 0;
0x000014dc move a1, s6 | a1 = s6;
0x000014e0 lw t9, -0x7f44(gp) | t9 = sym.imp.g_strconcat;
0x000014e4 move a0, v0 | a0 = v0;
0x000014e8 sw v0, 0x50(sp) | *(var_50h) = v0;
0x000014ec jalr t9 | t9 ();
0x000014f0 lw gp, 0x20(sp) | gp = *(var_20h);
0x000014f4 move a2, v0 | a2 = v0;
0x000014f8 addiu a1, s7, 0x24ec | a1 = s7 + 0x24ec;
0x000014fc lw t9, -0x7f18(gp) | t9 = sym.imp.xmlnode_add_attribute;
0x00001500 sw v0, 0x4c(sp) | *(var_4ch) = v0;
0x00001504 move a0, s4 | a0 = s4;
0x00001508 jalr t9 | t9 ();
0x0000150c lw gp, 0x20(sp) | gp = *(var_20h);
0x00001510 lw v0, 0x4c(sp) | v0 = *(var_4ch);
0x00001514 lw t9, -0x7f20(gp) | t9 = sym.imp.g_free;
0x00001518 move a0, v0 | a0 = v0;
0x0000151c jalr t9 | t9 ();
0x00001520 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001524 lw v1, 0x50(sp) | v1 = *(var_50h);
0x00001528 lw t9, -0x7f20(gp) | t9 = sym.imp.g_free;
0x0000152c move a0, v1 | a0 = v1;
0x00001530 jalr t9 | t9 ();
0x00001534 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001538 lw v0, 0x3c(sp) | v0 = *(var_3ch);
0x0000153c move a0, s4 | a0 = s4;
0x00001540 lw t9, -0x7f58(gp) | t9 = sym.imp.xmlnode_get_attribute_value;
0x00001544 addiu a1, v0, 0x24e8 | a1 = v0 + str.nicename;
0x00001548 jalr t9 | t9 ();
0x0000154c lw gp, 0x20(sp) | gp = *(var_20h);
0x00001550 move a0, v0 | a0 = v0;
0x00001554 sw v0, 0x4c(sp) | *(var_4ch) = v0;
0x00001558 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x0000155c lw t9, -0x7f68(gp) | t9 = sym.imp.g_strrstr;
0x00001560 addiu a1, a1, 0x25b4 | a1 += str.Video;
0x00001564 jalr t9 | t9 ();
0x00001568 lw gp, 0x20(sp) | gp = *(var_20h);
0x0000156c lw v1, 0x4c(sp) | v1 = *(var_4ch);
| if (v0 == 0) {
0x00001570 beqz v0, 0x1a08 | goto label_25;
| }
0x00001574 lw t9, -0x7f6c(gp) | t9 = sym.imp.strlen;
0x00001578 move a0, v1 | a0 = v1;
0x0000157c sw v1, 0x4c(sp) | *(var_4ch) = v1;
0x00001580 jalr t9 | t9 ();
0x00001584 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001588 lw v1, 0x4c(sp) | v1 = *(var_4ch);
0x0000158c addiu a1, v0, -1 | a1 = v0 + -1;
0x00001590 lw t9, -0x7fb0(gp) | t9 = sym.imp.g_strndup;
0x00001594 move a0, v1 | a0 = v1;
0x00001598 jalr t9 | t9 ();
0x0000159c lw gp, 0x20(sp) | gp = *(var_20h);
0x000015a0 move a2, zero | a2 = 0;
0x000015a4 move a1, s6 | a1 = s6;
0x000015a8 lw t9, -0x7f44(gp) | t9 = sym.imp.g_strconcat;
0x000015ac move a0, v0 | a0 = v0;
0x000015b0 jalr t9 | t9 ();
0x000015b4 lw gp, 0x20(sp) | gp = *(var_20h);
| label_8:
0x000015b8 move a2, v0 | a2 = v0;
0x000015bc sw v0, 0x4c(sp) | *(var_4ch) = v0;
0x000015c0 lw v0, 0x3c(sp) | v0 = *(var_3ch);
0x000015c4 lw t9, -0x7f18(gp) | t9 = sym.imp.xmlnode_add_attribute;
0x000015c8 addiu a1, v0, 0x24e8 | a1 = v0 + str.nicename;
0x000015cc move a0, s4 | a0 = s4;
0x000015d0 jalr t9 | t9 ();
0x000015d4 lw gp, 0x20(sp) | gp = *(var_20h);
0x000015d8 lw v0, 0x4c(sp) | v0 = *(var_4ch);
0x000015dc lw t9, -0x7f20(gp) | t9 = sym.imp.g_free;
0x000015e0 move a0, v0 | a0 = v0;
0x000015e4 jalr t9 | t9 ();
0x000015e8 lw gp, 0x20(sp) | gp = *(var_20h);
| }
0x000015ec lw t9, -0x7f20(gp) | t9 = sym.imp.g_free;
0x000015f0 move a0, s6 | a0 = s6;
0x000015f4 jalr t9 | t9 ();
0x000015f8 lw gp, 0x20(sp) | gp = *(var_20h);
0x000015fc slt v0, s5, fp | v0 = (s5 < fp) ? 1 : 0;
0x00001600 lw t9, -0x7f3c(gp) | t9 = sym.imp.xmlnode_create_node;
| if (v0 == 0) {
0x00001604 beqz v0, 0x19d4 | goto label_26;
| }
0x00001608 jalr t9 | t9 ();
0x0000160c nop |
0x00001610 move s4, v0 | s4 = v0;
0x00001614 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00001618 beqz v0, 0x1ab8 | goto label_27;
| }
0x0000161c lw v0, 0x2c(sp) | v0 = *(var_2ch);
0x00001620 lw t9, -0x7f54(gp) | t9 = sym.imp.xmlnode_set_name;
0x00001624 addiu a1, v0, 0x2404 | a1 = v0 + str.ruleEngine;
0x00001628 move a0, s4 | a0 = s4;
0x0000162c jalr t9 | t9 ();
0x00001630 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001634 lw t9, -0x7f18(gp) | t9 = sym.imp.xmlnode_add_attribute;
0x00001638 bnez s5, 0x13a0 |
| }
0x0000163c lw a2, 0x58(sp) | a2 = *(var_58h);
0x00001640 b 0x13a4 | goto label_0;
| label_10:
0x00001644 lw v0, 0x60(sp) | v0 = *(var_60h);
0x00001648 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0000164c lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00001650 lw a3, 8(v0) | a3 = *((v0 + 2));
0x00001654 addiu a2, a2, 0x228c | a2 += 0x228c;
0x00001658 addiu a1, zero, 1 | a1 = 1;
0x0000165c addiu a0, zero, 4 | a0 = 4;
0x00001660 jalr t9 | t9 ();
0x00001664 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001668 lw a0, 0x60(sp) | a0 = *(var_60h);
0x0000166c addiu s3, zero, 1 | s3 = 1;
0x00001670 lw t9, -0x7fb4(gp) | t9 = sym.imp.g_error_free;
0x00001674 move s1, zero | s1 = 0;
0x00001678 jalr t9 | t9 ();
0x0000167c lw gp, 0x20(sp) | gp = *(var_20h);
0x00001680 move s0, zero | s0 = 0;
| label_2:
0x00001684 lw t9, -0x7f40(gp) | t9 = sym.imp.xmlnode_free_tree;
0x00001688 move a0, s0 | a0 = s0;
0x0000168c jalr t9 | t9 ();
0x00001690 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001694 lw t9, -0x7f40(gp) | t9 = sym.imp.xmlnode_free_tree;
0x00001698 move a0, s1 | a0 = s1;
0x0000169c jalr t9 | t9 ();
0x000016a0 lw a0, 0x10c(sp) | a0 = *(var_10ch);
0x000016a4 lw v1, (s2) | v1 = *(s2);
0x000016a8 lw gp, 0x20(sp) | gp = *(var_20h);
0x000016ac move v0, s3 | v0 = s3;
| if (a0 != v1) {
0x000016b0 bne a0, v1, 0x1b10 | goto label_28;
| }
0x000016b4 lw ra, 0x134(sp) | ra = *(var_134h);
0x000016b8 lw fp, 0x130(sp) | fp = *(var_130h);
0x000016bc lw s7, 0x12c(sp) | s7 = *(var_12ch);
0x000016c0 lw s6, 0x128(sp) | s6 = *(var_128h);
0x000016c4 lw s5, 0x124(sp) | s5 = *(var_124h);
0x000016c8 lw s4, 0x120(sp) | s4 = *(var_120h);
0x000016cc lw s3, 0x11c(sp) | s3 = *(var_11ch);
0x000016d0 lw s2, 0x118(sp) | s2 = *(var_118h);
0x000016d4 lw s1, 0x114(sp) | s1 = *(var_114h);
0x000016d8 lw s0, 0x110(sp) | s0 = *(var_110h);
0x000016dc addiu sp, sp, 0x138 |
0x000016e0 jr ra | return v0;
| label_13:
0x000016e4 addiu s3, sp, 0x74 | s3 = sp + 0x74;
0x000016e8 move a2, s3 | a2 = s3;
0x000016ec move a1, zero | a1 = 0;
0x000016f0 addiu a0, zero, 1 | a0 = 1;
0x000016f4 sw zero, 0x74(sp) | *(var_74h) = 0;
0x000016f8 sw zero, 0x78(sp) | *(var_78h) = 0;
0x000016fc jalr t9 | t9 ();
0x00001700 move s0, v0 | s0 = v0;
0x00001704 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00001708 beqz v0, 0x1a64 | goto label_29;
| }
0x0000170c lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00001710 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001714 lw t9, -0x7f74(gp) | t9 = sym.imp.g_dbus_proxy_new_sync;
0x00001718 addiu a3, a3, 0x22e4 | a3 += str.com.axis.CaptureMode1;
0x0000171c addiu v0, v0, 0x22fc | v0 += str._com_axis_CaptureMode1;
0x00001720 move a0, s0 | a0 = s0;
0x00001724 sw s3, 0x1c(sp) | *(var_1ch) = s3;
0x00001728 sw zero, 0x18(sp) | *(var_18h_2) = 0;
0x0000172c sw a3, 0x14(sp) | *(var_14h_2) = a3;
0x00001730 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00001734 move a2, zero | a2 = 0;
0x00001738 addiu a1, zero, 2 | a1 = 2;
0x0000173c jalr t9 | t9 ();
0x00001740 lw a0, 0x74(sp) | a0 = *(var_74h);
0x00001744 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001748 move s4, v0 | s4 = v0;
| if (a0 == 0) {
0x0000174c beqz a0, 0x1898 | goto label_30;
| }
| label_3:
0x00001750 lw t9, -0x7f48(gp) | t9 = sym.imp.g_dbus_error_get_remote_error;
0x00001754 jalr t9 | t9 ();
0x00001758 nop |
0x0000175c lw gp, 0x20(sp) | gp = *(var_20h);
0x00001760 lw t9, -0x7f20(gp) | t9 = sym.imp.g_free;
0x00001764 move a0, v0 | a0 = v0;
0x00001768 jalr t9 | t9 ();
0x0000176c lw gp, 0x20(sp) | gp = *(var_20h);
0x00001770 lw t9, -0x7fb4(gp) | t9 = sym.imp.g_error_free;
0x00001774 lw a0, 0x74(sp) | a0 = *(var_74h);
0x00001778 jalr t9 | t9 ();
0x0000177c lw gp, 0x20(sp) | gp = *(var_20h);
| label_4:
0x00001780 lw t9, -0x7f1c(gp) | t9 = sym.imp.g_object_unref;
| if (s4 == 0) {
0x00001784 beqz s4, 0x1950 | goto label_31;
| }
0x00001788 move s1, zero | s1 = 0;
| label_6:
0x0000178c move a0, s4 | a0 = s4;
0x00001790 jalr t9 | t9 ();
0x00001794 lw gp, 0x20(sp) | gp = *(var_20h);
| label_5:
0x00001798 lw t9, -0x7f1c(gp) | t9 = sym.imp.g_object_unref;
0x0000179c move a0, s0 | a0 = s0;
0x000017a0 jalr t9 | t9 ();
0x000017a4 lw gp, 0x20(sp) | gp = *(var_20h);
0x000017a8 sw s1, 0x70(sp) | *(var_70h) = s1;
| if (s1 != 0) {
0x000017ac bnez s1, 0x10e4 | goto label_1;
| }
0x000017b0 addiu v0, zero, 1 | v0 = 1;
0x000017b4 sw v0, 0x70(sp) | *(var_70h) = v0;
| label_7:
0x000017b8 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000017bc lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x000017c0 addiu a2, a2, 0x2344 | a2 += str.Only_one_channel_specified_nothing_should_be_done;
0x000017c4 addiu a1, zero, 1 | a1 = 1;
0x000017c8 addiu a0, zero, 7 | a0 = 7;
0x000017cc jalr t9 | t9 ();
0x000017d0 move s3, zero | s3 = 0;
0x000017d4 lw gp, 0x20(sp) | gp = *(var_20h);
0x000017d8 move s1, zero | s1 = 0;
0x000017dc move s0, zero | s0 = 0;
0x000017e0 b 0x1684 | goto label_2;
| label_14:
0x000017e4 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000017e8 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x000017ec lw a3, 0x68(sp) | a3 = *(var_68h);
0x000017f0 addiu a2, a2, 0x2378 | a2 += str.Could_not_load_config:__s_n;
0x000017f4 addiu a1, zero, 1 | a1 = 1;
0x000017f8 addiu a0, zero, 7 | a0 = 7;
0x000017fc jalr t9 | t9 ();
0x00001800 move s0, zero | s0 = 0;
0x00001804 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001808 addiu s3, zero, 1 | s3 = 1;
0x0000180c b 0x1684 | goto label_2;
| label_11:
0x00001810 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001814 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00001818 addiu a2, a2, 0x2290 | a2 += str._d__lua_app_conf_path__is_mandatory_n;
| do {
0x0000181c addiu a1, zero, 1 | a1 = 1;
0x00001820 addiu a0, zero, 7 | a0 = 7;
0x00001824 jalr t9 | t9 ();
0x00001828 addiu s3, zero, 1 | s3 = 1;
0x0000182c lw gp, 0x20(sp) | gp = *(var_20h);
0x00001830 move s1, zero | s1 = 0;
0x00001834 move s0, zero | s0 = 0;
0x00001838 b 0x1684 | goto label_2;
| label_15:
0x0000183c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001840 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00001844 addiu a2, a2, 0x239c | a2 += str.Could_not_find_config_tag;
0x00001848 addiu a1, zero, 1 | a1 = 1;
0x0000184c addiu a0, zero, 7 | a0 = 7;
0x00001850 jalr t9 | t9 ();
0x00001854 addiu s3, zero, 1 | s3 = 1;
0x00001858 lw gp, 0x20(sp) | gp = *(var_20h);
0x0000185c b 0x1684 | goto label_2;
| label_12:
0x00001860 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00001864 addiu a2, a2, 0x22b8 | a2 += str._s__old_lua_app_conf_path__is_mandatory_n;
0x00001868 b 0x181c |
| } while (1);
| label_16:
0x0000186c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001870 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x00001874 move a3, s0 | a3 = s0;
0x00001878 addiu a2, a2, 0x23c4 | a2 += str.Wrong_config_version__s;
0x0000187c addiu a1, zero, 1 | a1 = 1;
0x00001880 addiu a0, zero, 7 | a0 = 7;
0x00001884 jalr t9 | t9 ();
0x00001888 addiu s3, zero, 1 | s3 = 1;
0x0000188c lw gp, 0x20(sp) | gp = *(var_20h);
0x00001890 move s0, zero | s0 = 0;
0x00001894 b 0x1684 | goto label_2;
| label_30:
0x00001898 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x0000189c lw t9, -0x7fa0(gp) | t9 = sym.imp.g_dbus_proxy_call_sync;
0x000018a0 move a0, v0 | a0 = v0;
0x000018a4 sw s3, 0x18(sp) | *(var_18h_2) = s3;
0x000018a8 sw zero, 0x14(sp) | *(var_14h_2) = 0;
0x000018ac sw s1, 0x10(sp) | *(var_10h_2) = s1;
0x000018b0 move a3, zero | a3 = 0;
0x000018b4 move a2, zero | a2 = 0;
0x000018b8 addiu a1, a1, 0x2314 | a1 += str.com.axis.CaptureMode1.GetChannelObjects;
0x000018bc jalr t9 | t9 ();
0x000018c0 lw a0, 0x74(sp) | a0 = *(var_74h);
0x000018c4 lw gp, 0x20(sp) | gp = *(var_20h);
0x000018c8 move s6, v0 | s6 = v0;
| if (a0 != 0) {
0x000018cc bnez a0, 0x1750 | goto label_3;
| }
0x000018d0 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
| if (v0 == 0) {
0x000018d4 beqz v0, 0x1780 | goto label_4;
| }
0x000018d8 lw t9, -0x7f98(gp) | t9 = sym.imp.g_variant_get;
0x000018dc addiu a2, sp, 0x7c | a2 = sp + 0x7c;
0x000018e0 addiu a1, a1, 0x233c | a1 += str._ao_;
0x000018e4 move a0, v0 | a0 = v0;
0x000018e8 jalr t9 | t9 ();
0x000018ec lw gp, 0x20(sp) | gp = *(var_20h);
0x000018f0 move s1, zero | s1 = 0;
0x000018f4 addiu s5, sp, 0x78 | s5 = sp + 0x78;
0x000018f8 lw s3, -0x7fdc(gp) | s3 = *((gp - 8183));
0x000018fc addiu s3, s3, 0x25b8 | s3 += 0x25b8;
0x00001900 b 0x1908 |
| while (v0 != 0) {
0x00001904 addiu s1, s1, 1 | s1++;
0x00001908 lw t9, -0x7f94(gp) | t9 = sym.imp.g_variant_iter_loop;
0x0000190c lw a0, 0x7c(sp) | a0 = *(var_7ch);
0x00001910 move a2, s5 | a2 = s5;
0x00001914 move a1, s3 | a1 = s3;
0x00001918 jalr t9 | t9 ();
0x0000191c lw gp, 0x20(sp) | gp = *(var_20h);
0x00001920 bnez v0, 0x1904 |
| }
0x00001924 lw t9, -0x7f84(gp) | t9 = sym.imp.g_variant_iter_free;
0x00001928 lw a0, 0x7c(sp) | a0 = *(var_7ch);
0x0000192c jalr t9 | t9 ();
0x00001930 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001934 lw t9, -0x7f28(gp) | t9 = sym.imp.g_variant_unref;
0x00001938 move a0, s6 | a0 = s6;
0x0000193c jalr t9 | t9 ();
0x00001940 lw gp, 0x20(sp) | gp = *(var_20h);
| if (s4 == 0) {
0x00001944 beqz s4, 0x1798 | goto label_5;
| }
0x00001948 lw t9, -0x7f1c(gp) | t9 = sym.imp.g_object_unref;
0x0000194c b 0x178c | goto label_6;
| label_31:
0x00001950 move a0, s0 | a0 = s0;
0x00001954 jalr t9 | t9 ();
0x00001958 addiu v0, zero, 1 | v0 = 1;
0x0000195c lw gp, 0x20(sp) | gp = *(var_20h);
0x00001960 sw v0, 0x70(sp) | *(var_70h) = v0;
0x00001964 b 0x17b8 | goto label_7;
| label_22:
0x00001968 lw t9, -0x7f38(gp) | t9 = sym.imp.g_list_length;
0x0000196c move a0, s6 | a0 = s6;
0x00001970 jalr t9 | t9 ();
0x00001974 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001978 move a2, fp | a2 = fp;
0x0000197c move a1, v0 | a1 = v0;
0x00001980 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00001984 lw t9, -0x7f60(gp) | t9 = sym.imp.g_strdup_printf
0x00001988 addiu a0, a0, 0x2484 | a0 += str.Found__d_ruleEngineNodes_and_the_specified_nbr_of_channels_is__d__the_file_is_already_as_expected;
0x0000198c jalr t9 | t9 ();
0x00001990 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001994 move s4, v0 | s4 = v0;
| do {
| label_9:
0x00001998 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
| if (s4 != 0) {
0x0000199c beqz s4, 0x19d4 |
0x000019a0 lw t9, -0x7f8c(gp) | t9 = sym.imp.__syslog_chk;
0x000019a4 move a3, s4 | a3 = s4;
0x000019a8 addiu a2, a2, 0x25c8 | a2 += 0x25c8;
0x000019ac addiu a1, zero, 1 | a1 = 1;
0x000019b0 addiu a0, zero, 4 | a0 = 4;
0x000019b4 jalr t9 | t9 ();
0x000019b8 lw gp, 0x20(sp) | gp = *(var_20h);
0x000019bc move a0, s4 | a0 = s4;
0x000019c0 lw t9, -0x7f20(gp) | t9 = sym.imp.g_free;
0x000019c4 addiu s3, zero, 1 | s3 = 1;
0x000019c8 jalr t9 | t9 ();
0x000019cc lw gp, 0x20(sp) | gp = *(var_20h);
0x000019d0 b 0x1684 | goto label_2;
| }
| label_26:
0x000019d4 lw t9, -0x7fa8(gp) | t9 = sym.imp.xmlnode_save_file;
0x000019d8 lw a1, 0x64(sp) | a1 = *(var_64h);
0x000019dc move a0, s0 | a0 = s0;
0x000019e0 jalr t9 | t9 ();
0x000019e4 lw gp, 0x20(sp) | gp = *(var_20h);
0x000019e8 b 0x1684 | goto label_2;
| label_17:
0x000019ec lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000019f0 lw t9, -0x7fa4(gp) | t9 = sym.imp.g_strdup;
0x000019f4 addiu a0, a0, 0x239c | a0 += str.Could_not_find_config_tag;
0x000019f8 jalr t9 | t9 ();
0x000019fc move s4, v0 | s4 = v0;
0x00001a00 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001a04 b 0x1998 |
| } while (1);
| label_25:
0x00001a08 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001a0c lw t9, -0x7f44(gp) | t9 = sym.imp.g_strconcat;
0x00001a10 move a3, zero | a3 = 0;
0x00001a14 move a2, s6 | a2 = s6;
0x00001a18 addiu a1, a1, 0x25bc | a1 += str.:_Video_;
0x00001a1c move a0, v1 | a0 = v1;
0x00001a20 jalr t9 | t9 ();
0x00001a24 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001a28 b 0x15b8 | goto label_8;
| label_19:
0x00001a2c lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00001a30 lw t9, -0x7fa4(gp) | t9 = sym.imp.g_strdup;
0x00001a34 addiu a0, a0, 0x2410 | a0 += str.Could_not_ruleEngine_node;
0x00001a38 jalr t9 | t9 ();
0x00001a3c move s4, v0 | s4 = v0;
0x00001a40 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001a44 b 0x1998 | goto label_9;
| label_18:
0x00001a48 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00001a4c lw t9, -0x7fa4(gp) | t9 = sym.imp.g_strdup;
0x00001a50 addiu a0, a0, 0x23e8 | a0 += str.Could_not_ruleEngines_node;
0x00001a54 jalr t9 | t9 ();
0x00001a58 move s4, v0 | s4 = v0;
0x00001a5c lw gp, 0x20(sp) | gp = *(var_20h);
0x00001a60 b 0x1998 | goto label_9;
| label_29:
0x00001a64 lw t9, -0x7fb4(gp) | t9 = sym.imp.g_error_free;
0x00001a68 lw a0, 0x74(sp) | a0 = *(var_74h);
0x00001a6c jalr t9 | t9 ();
0x00001a70 addiu v0, zero, 1 | v0 = 1;
0x00001a74 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001a78 sw v0, 0x70(sp) | *(var_70h) = v0;
0x00001a7c b 0x17b8 | goto label_7;
| label_20:
0x00001a80 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00001a84 lw t9, -0x7fa4(gp) | t9 = sym.imp.g_strdup;
0x00001a88 addiu a0, a0, 0x2438 | a0 += str.Could_not_application_node;
0x00001a8c jalr t9 | t9 ();
0x00001a90 move s4, v0 | s4 = v0;
0x00001a94 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001a98 b 0x1998 | goto label_9;
| label_21:
0x00001a9c lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00001aa0 lw t9, -0x7fa4(gp) | t9 = sym.imp.g_strdup;
0x00001aa4 addiu a0, a0, 0x2464 | a0 += str.Could_not_analyticsource_node;
0x00001aa8 jalr t9 | t9 ();
0x00001aac move s4, v0 | s4 = v0;
0x00001ab0 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001ab4 b 0x1998 | goto label_9;
| label_27:
0x00001ab8 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00001abc lw t9, -0x7f60(gp) | t9 = sym.imp.g_strdup_printf
0x00001ac0 addiu a1, s5, 1 | a1 = s5 + 1;
0x00001ac4 addiu a0, a0, 0x255c | a0 += str.Could_not_allocate_ruleEngine_node_for_channel__d;
0x00001ac8 jalr t9 | t9 ();
0x00001acc move s4, v0 | s4 = v0;
0x00001ad0 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001ad4 b 0x1998 | goto label_9;
| label_23:
0x00001ad8 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00001adc lw t9, -0x7fa4(gp) | t9 = sym.imp.g_strdup;
0x00001ae0 addiu a0, a0, 0x24f4 | a0 += str.Could_not_allocate_application_node;
0x00001ae4 jalr t9 | t9 ();
0x00001ae8 move s4, v0 | s4 = v0;
0x00001aec lw gp, 0x20(sp) | gp = *(var_20h);
0x00001af0 b 0x1998 | goto label_9;
| label_24:
0x00001af4 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00001af8 lw t9, -0x7fa4(gp) | t9 = sym.imp.g_strdup;
0x00001afc addiu a0, a0, 0x2518 | a0 += str.Could_not_allocate_ruleEngines_node;
0x00001b00 jalr t9 | t9 ();
0x00001b04 move s4, v0 | s4 = v0;
0x00001b08 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001b0c b 0x1998 | goto label_9;
| label_28:
0x00001b10 lw t9, -0x7f34(gp) | t9 = sym.imp.__stack_chk_fail;
0x00001b14 jalr t9 | t9 ();
0x00001b18 nop |
0x00001b1c nop |
| }
[*] Function printf used 4 times handle_xml_conf_duplication