[*] Binary protection state of lldpcli
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function system tear down of lldpcli
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/lldpcli @ 0x8600 */
| #include <stdint.h>
|
; (fcn) sym.register_commands_configure () | void register_commands_configure () {
0x00008600 lui gp, 3 |
0x00008604 addiu gp, gp, -0x5570 |
0x00008608 addu gp, gp, t9 | gp += t9;
0x0000860c addiu sp, sp, -0x30 |
0x00008610 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00008614 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00008618 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000861c sw fp, 0x28(sp) | *(var_28h) = fp;
0x00008620 move fp, sp | fp = sp;
0x00008624 sw ra, 0x2c(sp) | *(var_2ch) = ra;
0x00008628 sw s1, 0x24(sp) | *(var_24h) = s1;
0x0000862c sw s0, 0x20(sp) | *(var_20h) = s0;
0x00008630 sw gp, 0x18(sp) | *(var_18h) = gp;
0x00008634 move a3, zero | a3 = 0;
| /* str.Change_system_settings */
0x00008638 addiu a2, a2, 0x7428 | a2 += 0x7428;
| /* str.configure */
0x0000863c addiu a1, a1, 0x7440 | a1 += 0x7440;
0x00008640 sw zero, 0x14(sp) | *(var_14h) = 0;
0x00008644 sw zero, 0x10(sp) | *(var_10h) = 0;
0x00008648 move s0, a0 | s0 = a0;
0x0000864c bal 0xf854 | sym_commands_new ();
0x00008650 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00008654 move a3, zero | a3 = 0;
0x00008658 move a0, s0 | a0 = s0;
0x0000865c lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00008660 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00008664 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.Unconfigure_system_settings */
0x00008668 addiu a2, a2, 0x744c | a2 += 0x744c;
| /* str.unconfigure */
0x0000866c addiu a1, a1, 0x7468 | a1 += 0x7468;
0x00008670 sw zero, 0x14(sp) | *(var_14h) = 0;
0x00008674 sw zero, 0x10(sp) | *(var_10h) = 0;
0x00008678 move s0, v0 | s0 = v0;
0x0000867c bal 0xf854 | sym_commands_new ();
0x00008680 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00008684 move a0, s0 | a0 = s0;
0x00008688 lw t9, -0x7f90(gp) | t9 = sym.commands_privileged;
0x0000868c move s1, v0 | s1 = v0;
0x00008690 bal 0xf7fc | sym_commands_privileged ();
0x00008694 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00008698 lw t9, -0x7f90(gp) | t9 = sym.commands_privileged;
0x0000869c move a0, s1 | a0 = s1;
0x000086a0 bal 0xf7fc | sym_commands_privileged ();
0x000086a4 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000086a8 lw t9, -0x7f54(gp) | t9 = sym.cmd_restrict_ports;
0x000086ac move a0, s0 | a0 = s0;
0x000086b0 bal 0x11300 | sym_cmd_restrict_ports ();
0x000086b4 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000086b8 lw t9, -0x7f54(gp) | t9 = sym.cmd_restrict_ports;
0x000086bc move a0, s1 | a0 = s1;
0x000086c0 bal 0x11300 | sym_cmd_restrict_ports ();
0x000086c4 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000086c8 move a1, s1 | a1 = s1;
0x000086cc lw t9, -0x7f50(gp) | t9 = sym.register_commands_configure_system
0x000086d0 move a0, s0 | a0 = s0;
0x000086d4 bal 0xec4c | sym_register_commands_configure_system ()
0x000086d8 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000086dc move a1, s1 | a1 = s1;
0x000086e0 lw t9, -0x7f4c(gp) | t9 = sym.register_commands_configure_lldp;
0x000086e4 move a0, s0 | a0 = s0;
0x000086e8 bal 0xd330 | sym_register_commands_configure_lldp ();
0x000086ec lw gp, 0x18(fp) | gp = *(arg_18h);
0x000086f0 move a0, s0 | a0 = s0;
0x000086f4 lw t9, -0x7f48(gp) | t9 = sym.register_commands_configure_med;
0x000086f8 move a1, s1 | a1 = s1;
0x000086fc bal 0x96d8 | sym_register_commands_configure_med ();
0x00008700 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00008704 move sp, fp |
0x00008708 move a0, s0 | a0 = s0;
0x0000870c lw ra, 0x2c(sp) | ra = *(var_2ch);
0x00008710 lw fp, 0x28(sp) | fp = *(var_28h);
0x00008714 lw s1, 0x24(sp) | s1 = *(var_24h);
0x00008718 lw s0, 0x20(sp) | s0 = *(var_20h);
0x0000871c lw t9, -0x7f44(gp) | t9 = sym.register_commands_configure_dot3;
0x00008720 addiu sp, sp, 0x30 |
0x00008724 b 0xa090 | return void (*0xa090)() ();
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/lldpcli @ 0x96d8 */
| #include <stdint.h>
|
; (fcn) sym.register_commands_configure_med () | void register_commands_configure_med () {
0x000096d8 lui gp, 3 |
0x000096dc addiu gp, gp, -0x6648 |
0x000096e0 addu gp, gp, t9 | gp += t9;
0x000096e4 addiu sp, sp, -0x50 |
0x000096e8 lw t9, -0x7e7c(gp) | t9 = sym.imp.lldpctl_key_get_map;
0x000096ec sw fp, 0x48(sp) | *(var_48h) = fp;
0x000096f0 sw s3, 0x34(sp) | *(var_34h) = s3;
0x000096f4 move fp, sp | fp = sp;
0x000096f8 sw s2, 0x30(sp) | *(var_30h) = s2;
0x000096fc sw gp, 0x18(sp) | *(var_18h) = gp;
0x00009700 sw ra, 0x4c(sp) | *(var_4ch) = ra;
0x00009704 sw s7, 0x44(sp) | *(var_44h) = s7;
0x00009708 sw s6, 0x40(sp) | *(var_40h) = s6;
0x0000970c sw s5, 0x3c(sp) | *(var_3ch) = s5;
0x00009710 sw s4, 0x38(sp) | *(var_38h) = s4;
0x00009714 sw s1, 0x2c(sp) | *(var_2ch) = s1;
0x00009718 sw s0, 0x28(sp) | *(var_28h) = s0;
0x0000971c move s3, a0 | s3 = a0;
0x00009720 addiu a0, zero, 0x7d1 | a0 = 0x7d1;
0x00009724 move s2, a1 | s2 = a1;
0x00009728 jalr t9 | t9 ();
0x0000972c lw v0, 4(v0) | v0 = *((v0 + 1));
0x00009730 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == 0) {
0x00009734 beqz v0, 0xa058 | goto label_0;
| }
0x00009738 lw s1, -0x7fdc(gp) | s1 = *(gp);
0x0000973c lw s0, -0x7fdc(gp) | s0 = *(gp);
0x00009740 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.MED_configuration */
0x00009744 addiu a2, s1, 0x77a0 | a2 = s1 + 0x77a0;
| /* esilref: 'med' */
0x00009748 addiu a1, s0, 0x6050 | a1 = s0 + 0x6050;
0x0000974c move a0, s3 | a0 = s3;
0x00009750 move a3, zero | a3 = 0;
0x00009754 sw zero, 0x14(sp) | *(var_14h) = 0;
0x00009758 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000975c bal 0xf854 | sym_commands_new ();
0x00009760 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.MED_configuration */
0x00009764 addiu a2, s1, 0x77a0 | a2 = s1 + 0x77a0;
| /* esilref: 'med' */
0x00009768 addiu a1, s0, 0x6050 | a1 = s0 + 0x6050;
0x0000976c lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x00009770 move a0, s2 | a0 = s2;
0x00009774 move a3, zero | a3 = 0;
0x00009778 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000977c sw zero, 0x10(sp) | *(var_10h) = 0;
0x00009780 move s2, v0 | s2 = v0;
0x00009784 bal 0xf854 | sym_commands_new ();
0x00009788 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000978c move a3, zero | a3 = 0;
0x00009790 move a0, s2 | a0 = s2;
0x00009794 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00009798 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0000979c lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.MED_location_configuration */
0x000097a0 addiu a2, a2, 0x77b4 | a2 += 0x77b4;
| /* str.location */
0x000097a4 addiu a1, a1, 0x6968 | a1 += 0x6968;
0x000097a8 sw zero, 0x14(sp) | *(var_14h) = 0;
0x000097ac sw zero, 0x10(sp) | *(var_10h) = 0;
0x000097b0 sw v0, 0x24(fp) | *(arg_24h) = v0;
0x000097b4 bal 0xf854 | sym_commands_new ();
0x000097b8 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000097bc move a3, zero | a3 = 0;
0x000097c0 move a0, v0 | a0 = v0;
0x000097c4 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x000097c8 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x000097cc lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.MED_location_coordinate_configuration */
0x000097d0 addiu a2, a2, 0x77d0 | a2 += 0x77d0;
| /* str.coordinate */
0x000097d4 addiu a1, a1, 0x77f8 | a1 += 0x77f8;
0x000097d8 sw zero, 0x14(sp) | *(var_14h) = 0;
0x000097dc sw zero, 0x10(sp) | *(var_10h) = 0;
0x000097e0 move s5, v0 | s5 = v0;
0x000097e4 bal 0xf854 | sym_commands_new ();
0x000097e8 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000097ec move s6, v0 | s6 = v0;
0x000097f0 move a0, v0 | a0 = v0;
0x000097f4 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x000097f8 lw s0, -0x7fdc(gp) | s0 = *(gp);
| /* str.latitude_longitude_altitude_altitude_unit_datum */
0x000097fc addiu v0, v0, 0x7828 | v0 += 0x7828;
0x00009800 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00009804 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00009808 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0000980c lw a3, -0x7f38(gp) | a3 = sym.cmd_check_env;
0x00009810 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x00009814 addiu v0, v0, -0x7288 | v0 += -0x7288;
| /* str.Configure_MED_location_coordinates */
0x00009818 addiu a2, a2, 0x7804 | a2 += 0x7804;
| /* str._CR_ */
0x0000981c addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x00009820 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00009824 bal 0xf854 | sym_commands_new ();
0x00009828 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000982c move a0, s6 | a0 = s6;
0x00009830 sw zero, 0x10(sp) | *(var_10h) = 0;
0x00009834 lw s3, -0x7fdc(gp) | s3 = *(gp);
0x00009838 lw a2, -0x7fdc(gp) | a2 = *(gp);
| /* esilref: 'latitude' */
0x0000983c addiu s3, s3, 0x7860 | s3 += 0x7860;
0x00009840 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x00009844 lw a3, -0x7f34(gp) | a3 = sym.cmd_check_no_env;
0x00009848 move a1, s3 | a1 = s3;
| /* str.Specify_latitude */
0x0000984c addiu a2, a2, 0x7858 | a2 += 0x7858;
0x00009850 sw s3, 0x14(sp) | *(var_14h) = s3;
0x00009854 bal 0xf854 | sym_commands_new ();
0x00009858 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000985c move a3, zero | a3 = 0;
0x00009860 move a1, zero | a1 = 0;
0x00009864 lw s1, -0x7f30(gp) | s1 = sym.cmd_store_env_value_and_pop2;
0x00009868 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0000986c lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.Latitude_as_xx.yyyyN_or_xx.yyyyS */
0x00009870 addiu a2, a2, 0x786c | a2 += 0x786c;
0x00009874 move a0, v0 | a0 = v0;
0x00009878 sw s3, 0x14(sp) | *(var_14h) = s3;
0x0000987c sw s1, 0x10(sp) | *(var_10h) = s1;
0x00009880 bal 0xf854 | sym_commands_new ();
0x00009884 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009888 move a0, s6 | a0 = s6;
0x0000988c sw zero, 0x10(sp) | *(var_10h) = 0;
0x00009890 lw s3, -0x7fdc(gp) | s3 = *(gp);
0x00009894 lw a2, -0x7fdc(gp) | a2 = *(gp);
| /* esilref: 'longitude' */
0x00009898 addiu s3, s3, 0x7898 | s3 += 0x7898;
0x0000989c lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x000098a0 lw a3, -0x7f34(gp) | a3 = sym.cmd_check_no_env;
0x000098a4 move a1, s3 | a1 = s3;
| /* str.Specify_longitude */
0x000098a8 addiu a2, a2, 0x7890 | a2 += 0x7890;
0x000098ac sw s3, 0x14(sp) | *(var_14h) = s3;
0x000098b0 bal 0xf854 | sym_commands_new ();
0x000098b4 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000098b8 move a3, zero | a3 = 0;
0x000098bc move a1, zero | a1 = 0;
0x000098c0 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x000098c4 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.Longitude_as_xx.yyyyE_or_xx.yyyyW */
0x000098c8 addiu a2, a2, 0x78a4 | a2 += 0x78a4;
0x000098cc move a0, v0 | a0 = v0;
0x000098d0 sw s3, 0x14(sp) | *(var_14h) = s3;
0x000098d4 sw s1, 0x10(sp) | *(var_10h) = s1;
0x000098d8 bal 0xf854 | sym_commands_new ();
0x000098dc lw gp, 0x18(fp) | gp = *(arg_18h);
0x000098e0 move a0, s6 | a0 = s6;
0x000098e4 sw zero, 0x10(sp) | *(var_10h) = 0;
0x000098e8 lw s3, -0x7fdc(gp) | s3 = *(gp);
0x000098ec lw a2, -0x7fdc(gp) | a2 = *(gp);
| /* esilref: 'altitude' */
0x000098f0 addiu s3, s3, 0x78d0 | s3 += 0x78d0;
0x000098f4 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x000098f8 lw a3, -0x7f34(gp) | a3 = sym.cmd_check_no_env;
0x000098fc move a1, s3 | a1 = s3;
| /* str.Specify_altitude */
0x00009900 addiu a2, a2, 0x78c8 | a2 += 0x78c8;
0x00009904 sw s3, 0x14(sp) | *(var_14h) = s3;
0x00009908 bal 0xf854 | sym_commands_new ();
0x0000990c lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009910 move a3, zero | a3 = 0;
0x00009914 move a1, zero | a1 = 0;
0x00009918 lw s4, -0x7f2c(gp) | s4 = sym.cmd_store_env_value;
0x0000991c lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00009920 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.Altitude */
0x00009924 addiu a2, a2, 0x69ac | a2 += 0x69ac;
0x00009928 move a0, v0 | a0 = v0;
0x0000992c sw s3, 0x14(sp) | *(var_14h) = s3;
0x00009930 sw s4, 0x10(sp) | *(var_10h) = s4;
0x00009934 bal 0xf854 | sym_commands_new ();
0x00009938 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000993c move a3, zero | a3 = 0;
0x00009940 move a0, v0 | a0 = v0;
0x00009944 lw s3, -0x7fdc(gp) | s3 = *(gp);
0x00009948 lw s7, -0x7f28(gp) | s7 = sym.cmd_store_env_value_and_pop3;
0x0000994c lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00009950 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00009954 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.altitude_unit */
0x00009958 addiu s3, s3, 0x74c8 | s3 += 0x74c8;
| /* str.meters */
0x0000995c addiu a2, a2, 0x78dc | a2 += 0x78dc;
0x00009960 addiu a1, a1, 0x733c | a1 += 0x733c;
0x00009964 sw s3, 0x14(sp) | *(var_14h) = s3;
0x00009968 sw s7, 0x10(sp) | *(var_10h) = s7;
0x0000996c sw v0, 0x20(fp) | *(arg_20h) = v0;
0x00009970 bal 0xf854 | sym_commands_new ();
0x00009974 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009978 lw t0, 0x20(fp) | t0 = *(arg_20h);
0x0000997c move a3, zero | a3 = 0;
0x00009980 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00009984 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00009988 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000998c move a0, t0 | a0 = t0;
| /* str.floors */
0x00009990 addiu a2, a2, 0x78e4 | a2 += 0x78e4;
0x00009994 addiu a1, a1, 0x6028 | a1 += 0x6028;
0x00009998 sw s3, 0x14(sp) | *(var_14h) = s3;
0x0000999c sw s7, 0x10(sp) | *(var_10h) = s7;
0x000099a0 bal 0xf854 | sym_commands_new ();
0x000099a4 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000099a8 move a0, s6 | a0 = s6;
0x000099ac sw zero, 0x10(sp) | *(var_10h) = 0;
0x000099b0 lw s3, -0x7fdc(gp) | s3 = *(gp);
0x000099b4 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x000099b8 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x000099bc lw a3, -0x7f34(gp) | a3 = sym.cmd_check_no_env;
| /* esilref: 'datum' */
0x000099c0 addiu s3, s3, 0x78f4 | s3 += 0x78f4;
0x000099c4 move a1, s3 | a1 = s3;
| /* str.Specify_datum */
0x000099c8 addiu a2, a2, 0x78ec | a2 += 0x78ec;
0x000099cc sw s3, 0x14(sp) | *(var_14h) = s3;
0x000099d0 bal 0xf854 | sym_commands_new ();
0x000099d4 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000099d8 addiu a0, zero, 0x836 | a0 = 0x836;
0x000099dc lw t9, -0x7e7c(gp) | t9 = sym.imp.lldpctl_key_get_map;
0x000099e0 move s6, v0 | s6 = v0;
0x000099e4 jalr t9 | t9 ();
0x000099e8 lw a1, 4(v0) | a1 = *((v0 + 1));
0x000099ec lw gp, 0x18(fp) | gp = *(arg_18h);
0x000099f0 move s7, v0 | s7 = v0;
| if (a1 == 0) {
0x000099f4 beqz a1, 0x9a24 | goto label_1;
| }
| do {
0x000099f8 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x000099fc addiu s7, s7, 8 | s7 += 8;
0x00009a00 sw s3, 0x14(sp) | *(var_14h) = s3;
0x00009a04 sw s1, 0x10(sp) | *(var_10h) = s1;
0x00009a08 move a3, zero | a3 = 0;
0x00009a0c move a2, zero | a2 = 0;
0x00009a10 move a0, s6 | a0 = s6;
0x00009a14 bal 0xf854 | sym_commands_new ();
0x00009a18 lw a1, 4(s7) | a1 = *((s7 + 1));
0x00009a1c lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009a20 bnez a1, 0x99f8 |
| } while (a1 != 0);
| label_1:
0x00009a24 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00009a28 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00009a2c lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x00009a30 move a3, zero | a3 = 0;
| /* str.MED_location_address_configuration */
0x00009a34 addiu a2, a2, 0x78fc | a2 += 0x78fc;
| /* str.address */
0x00009a38 addiu a1, a1, 0x7920 | a1 += 0x7920;
0x00009a3c move a0, s5 | a0 = s5;
0x00009a40 sw zero, 0x14(sp) | *(var_14h) = 0;
0x00009a44 sw zero, 0x10(sp) | *(var_10h) = 0;
0x00009a48 bal 0xf854 | sym_commands_new ();
0x00009a4c lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009a50 move a0, v0 | a0 = v0;
0x00009a54 move s3, v0 | s3 = v0;
0x00009a58 lw s6, -0x7fdc(gp) | s6 = *(gp);
0x00009a5c lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00009a60 lw a2, -0x7fdc(gp) | a2 = *(gp);
| /* str.country */
0x00009a64 addiu s6, s6, 0x69c8 | s6 += 0x69c8;
0x00009a68 lw a3, -0x7f38(gp) | a3 = sym.cmd_check_env;
0x00009a6c lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x00009a70 addiu v0, v0, -0x720c | v0 += -0x720c;
| /* str.Configure_MED_location_address */
0x00009a74 addiu a2, a2, 0x7928 | a2 += 0x7928;
| /* str._CR_ */
0x00009a78 addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x00009a7c sw s6, 0x14(sp) | *(var_14h) = s6;
0x00009a80 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00009a84 bal 0xf854 | sym_commands_new ();
0x00009a88 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009a8c move a1, s6 | a1 = s6;
0x00009a90 move a0, s3 | a0 = s3;
0x00009a94 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00009a98 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x00009a9c lw a3, -0x7f34(gp) | a3 = sym.cmd_check_no_env;
| /* str.Specify_country__mandatory_ */
0x00009aa0 addiu a2, a2, 0x7948 | a2 += 0x7948;
0x00009aa4 sw s6, 0x14(sp) | *(var_14h) = s6;
0x00009aa8 sw zero, 0x10(sp) | *(var_10h) = 0;
0x00009aac bal 0xf854 | sym_commands_new ();
0x00009ab0 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009ab4 move a3, zero | a3 = 0;
0x00009ab8 move a1, zero | a1 = 0;
0x00009abc lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00009ac0 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.Country_as_a_two_letter_code */
0x00009ac4 addiu a2, a2, 0x7964 | a2 += 0x7964;
0x00009ac8 move a0, v0 | a0 = v0;
0x00009acc sw s6, 0x14(sp) | *(var_14h) = s6;
0x00009ad0 sw s1, 0x10(sp) | *(var_10h) = s1;
0x00009ad4 bal 0xf854 | sym_commands_new ();
0x00009ad8 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009adc lw t9, -0x7e7c(gp) | t9 = sym.imp.lldpctl_key_get_map;
0x00009ae0 addiu a0, zero, 0x8fd | a0 = 0x8fd;
0x00009ae4 jalr t9 | t9 ();
0x00009ae8 lw a0, 4(v0) | a0 = *((v0 + 1));
0x00009aec lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009af0 move s7, v0 | s7 = v0;
| if (a0 == 0) {
0x00009af4 beqz a0, 0x9b70 | goto label_2;
| }
0x00009af8 lw s6, -0x7f34(gp) | s6 = sym.cmd_check_no_env;
| do {
0x00009afc lw t9, -0x7f6c(gp) | t9 = sym.totag;
0x00009b00 addiu s7, s7, 8 | s7 += 8;
0x00009b04 bal 0x126a0 | sym_totag ();
0x00009b08 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009b0c lw t9, -0x7d80(gp) | t9 = sym.imp.strdup;
0x00009b10 move a0, v0 | a0 = v0;
0x00009b14 jalr t9 | t9 ();
0x00009b18 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009b1c lw t0, -4(s7) | t0 = *((s7 - 1));
0x00009b20 move a3, s6 | a3 = s6;
0x00009b24 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x00009b28 move a2, t0 | a2 = t0;
0x00009b2c move a1, v0 | a1 = v0;
0x00009b30 move a0, s3 | a0 = s3;
0x00009b34 sw t0, 0x14(sp) | *(var_14h) = t0;
0x00009b38 sw zero, 0x10(sp) | *(var_10h) = 0;
0x00009b3c bal 0xf854 | sym_commands_new ();
0x00009b40 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009b44 lw a2, -4(s7) | a2 = *((s7 - 1));
0x00009b48 move a0, v0 | a0 = v0;
0x00009b4c lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x00009b50 sw a2, 0x14(sp) | *(var_14h) = a2;
0x00009b54 sw s1, 0x10(sp) | *(var_10h) = s1;
0x00009b58 move a3, zero | a3 = 0;
0x00009b5c move a1, zero | a1 = 0;
0x00009b60 bal 0xf854 | sym_commands_new ();
0x00009b64 lw a0, 4(s7) | a0 = *((s7 + 1));
0x00009b68 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009b6c bnez a0, 0x9afc |
| } while (a0 != 0);
| label_2:
0x00009b70 lw s3, -0x7fdc(gp) | s3 = *(gp);
0x00009b74 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00009b78 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.elin */
0x00009b7c addiu a1, s3, 0x756c | a1 = s3 + 0x756c;
0x00009b80 move a0, s5 | a0 = s5;
0x00009b84 move a3, zero | a3 = 0;
| /* str.MED_location_ELIN_configuration */
0x00009b88 addiu a2, a2, 0x7984 | a2 += 0x7984;
0x00009b8c sw zero, 0x14(sp) | *(var_14h) = 0;
0x00009b90 sw zero, 0x10(sp) | *(var_10h) = 0;
0x00009b94 bal 0xf854 | sym_commands_new ();
0x00009b98 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.elin */
0x00009b9c addiu s3, s3, 0x756c | s3 += 0x756c;
0x00009ba0 move a3, zero | a3 = 0;
0x00009ba4 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00009ba8 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.ELIN_number */
0x00009bac addiu a2, a2, 0x79a4 | a2 += 0x79a4;
0x00009bb0 move a1, zero | a1 = 0;
0x00009bb4 move a0, v0 | a0 = v0;
0x00009bb8 sw s3, 0x14(sp) | *(var_14h) = s3;
0x00009bbc sw s4, 0x10(sp) | *(var_10h) = s4;
0x00009bc0 bal 0xf854 | sym_commands_new ();
0x00009bc4 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009bc8 move a0, v0 | a0 = v0;
0x00009bcc move a3, zero | a3 = 0;
0x00009bd0 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00009bd4 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00009bd8 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x00009bdc addiu v0, v0, -0x7190 | v0 += -0x7190;
| /* str.Set_MED_location_ELIN_number */
0x00009be0 addiu a2, a2, 0x79b0 | a2 += 0x79b0;
| /* str._CR_ */
0x00009be4 addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x00009be8 sw zero, 0x14(sp) | *(var_14h) = 0;
0x00009bec sw v0, 0x10(sp) | *(var_10h) = v0;
0x00009bf0 bal 0xf854 | sym_commands_new ();
0x00009bf4 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009bf8 move a3, zero | a3 = 0;
0x00009bfc move a0, s2 | a0 = s2;
0x00009c00 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00009c04 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00009c08 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.MED_policy_configuration */
0x00009c0c addiu a2, a2, 0x79d0 | a2 += 0x79d0;
| /* esilref: 'policy' */
0x00009c10 addiu a1, a1, 0x7630 | a1 += 0x7630;
0x00009c14 sw zero, 0x14(sp) | *(var_14h) = 0;
0x00009c18 sw zero, 0x10(sp) | *(var_10h) = 0;
0x00009c1c bal 0xf854 | sym_commands_new ();
0x00009c20 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009c24 move a0, v0 | a0 = v0;
0x00009c28 move s3, v0 | s3 = v0;
0x00009c2c lw s5, -0x7fdc(gp) | s5 = *(gp);
0x00009c30 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00009c34 lw a2, -0x7fdc(gp) | a2 = *(gp);
| /* str.application */
0x00009c38 addiu s5, s5, 0x761c | s5 += 0x761c;
0x00009c3c lw a3, -0x7f38(gp) | a3 = sym.cmd_check_env;
0x00009c40 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x00009c44 addiu v0, v0, -0x709c | v0 += -0x709c;
| /* str.Apply_new_MED_policy */
0x00009c48 addiu a2, a2, 0x79ec | a2 += 0x79ec;
| /* str._CR_ */
0x00009c4c addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x00009c50 sw s5, 0x14(sp) | *(var_14h) = s5;
0x00009c54 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00009c58 bal 0xf854 | sym_commands_new ();
0x00009c5c lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009c60 move a1, s5 | a1 = s5;
0x00009c64 move a0, s3 | a0 = s3;
0x00009c68 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00009c6c lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x00009c70 lw a3, -0x7f34(gp) | a3 = sym.cmd_check_no_env;
| /* str.MED_policy_application */
0x00009c74 addiu a2, a2, 0x7a04 | a2 += 0x7a04;
0x00009c78 sw s5, 0x14(sp) | *(var_14h) = s5;
0x00009c7c sw zero, 0x10(sp) | *(var_10h) = 0;
0x00009c80 bal 0xf854 | sym_commands_new ();
0x00009c84 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009c88 addiu a0, zero, 0x7d1 | a0 = 0x7d1;
0x00009c8c lw t9, -0x7e7c(gp) | t9 = sym.imp.lldpctl_key_get_map;
0x00009c90 move s6, v0 | s6 = v0;
0x00009c94 jalr t9 | t9 ();
0x00009c98 lw a0, 4(v0) | a0 = *((v0 + 1));
0x00009c9c lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009ca0 move s7, v0 | s7 = v0;
| if (a0 == 0) {
0x00009ca4 beqz a0, 0x9cfc | goto label_3;
| }
0x00009ca8 lw s5, -0x7fdc(gp) | s5 = *(gp);
0x00009cac addiu s5, s5, -0x70d8 | s5 += -0x70d8;
| do {
0x00009cb0 lw t9, -0x7f6c(gp) | t9 = sym.totag;
0x00009cb4 addiu s7, s7, 8 | s7 += 8;
0x00009cb8 bal 0x126a0 | sym_totag ();
0x00009cbc lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009cc0 lw t9, -0x7d80(gp) | t9 = sym.imp.strdup;
0x00009cc4 move a0, v0 | a0 = v0;
0x00009cc8 jalr t9 | t9 ();
0x00009ccc lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009cd0 lw a2, -4(s7) | a2 = *((s7 - 1));
0x00009cd4 move a0, s6 | a0 = s6;
0x00009cd8 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x00009cdc sw a2, 0x14(sp) | *(var_14h) = a2;
0x00009ce0 sw s5, 0x10(sp) | *(var_10h) = s5;
0x00009ce4 move a3, zero | a3 = 0;
0x00009ce8 move a1, v0 | a1 = v0;
0x00009cec bal 0xf854 | sym_commands_new ();
0x00009cf0 lw a0, 4(s7) | a0 = *((s7 + 1));
0x00009cf4 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009cf8 bnez a0, 0x9cb0 |
| } while (a0 != 0);
| label_3:
0x00009cfc lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00009d00 lw s5, -0x7fdc(gp) | s5 = *(gp);
0x00009d04 lw s6, -0x7f88(gp) | s6 = sym.cmd_store_env_and_pop;
0x00009d08 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00009d0c lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.unknown */
0x00009d10 addiu v0, v0, 0x7674 | v0 += 0x7674;
0x00009d14 addiu a3, s5, -0x69c0 | a3 = s5 + -0x69c0;
| /* str.Set_unknown_flag */
0x00009d18 addiu a2, a2, 0x7a1c | a2 += 0x7a1c;
0x00009d1c move a1, v0 | a1 = v0;
0x00009d20 move a0, s3 | a0 = s3;
0x00009d24 sw s6, 0x10(sp) | *(var_10h) = s6;
0x00009d28 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00009d2c bal 0xf854 | sym_commands_new ();
0x00009d30 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009d34 addiu a3, s5, -0x69c0 | a3 = s5 + -0x69c0;
0x00009d38 move a0, s3 | a0 = s3;
0x00009d3c lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00009d40 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00009d44 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.tagged */
0x00009d48 addiu v0, v0, 0x767c | v0 += 0x767c;
| /* str.Set_tagged_flag */
0x00009d4c addiu a2, a2, 0x7a30 | a2 += 0x7a30;
0x00009d50 move a1, v0 | a1 = v0;
0x00009d54 sw s6, 0x10(sp) | *(var_10h) = s6;
0x00009d58 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00009d5c bal 0xf854 | sym_commands_new ();
0x00009d60 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009d64 addiu a3, s5, -0x69c0 | a3 = s5 + -0x69c0;
0x00009d68 move a0, s3 | a0 = s3;
0x00009d6c lw s6, -0x7fdc(gp) | s6 = *(gp);
0x00009d70 lw a2, -0x7fdc(gp) | a2 = *(gp);
| /* str.vlan */
0x00009d74 addiu s6, s6, 0x68f8 | s6 += 0x68f8;
0x00009d78 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x00009d7c move a1, s6 | a1 = s6;
| /* str.VLAN_advertising */
0x00009d80 addiu a2, a2, 0x7a40 | a2 += 0x7a40;
0x00009d84 sw s6, 0x14(sp) | *(var_14h) = s6;
0x00009d88 sw zero, 0x10(sp) | *(var_10h) = 0;
0x00009d8c bal 0xf854 | sym_commands_new ();
0x00009d90 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009d94 move a3, zero | a3 = 0;
0x00009d98 move a1, zero | a1 = 0;
0x00009d9c lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00009da0 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.VLAN_ID_to_advertise */
0x00009da4 addiu a2, a2, 0x7a54 | a2 += 0x7a54;
0x00009da8 move a0, v0 | a0 = v0;
0x00009dac sw s6, 0x14(sp) | *(var_14h) = s6;
0x00009db0 sw s1, 0x10(sp) | *(var_10h) = s1;
0x00009db4 bal 0xf854 | sym_commands_new ();
0x00009db8 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009dbc addiu a3, s5, -0x69c0 | a3 = s5 + -0x69c0;
0x00009dc0 move a0, s3 | a0 = s3;
0x00009dc4 lw s6, -0x7fdc(gp) | s6 = *(gp);
0x00009dc8 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00009dcc lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.dscp */
0x00009dd0 addiu s6, s6, 0x693c | s6 += 0x693c;
| /* str.DiffServ_advertising */
0x00009dd4 addiu a2, a2, 0x7a6c | a2 += 0x7a6c;
0x00009dd8 move a1, s6 | a1 = s6;
0x00009ddc sw s6, 0x14(sp) | *(var_14h) = s6;
0x00009de0 sw zero, 0x10(sp) | *(var_10h) = 0;
0x00009de4 bal 0xf854 | sym_commands_new ();
0x00009de8 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009dec move a3, zero | a3 = 0;
0x00009df0 move a1, zero | a1 = 0;
0x00009df4 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00009df8 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.DSCP_value_to_advertise__between_0_and_63_ */
0x00009dfc addiu a2, a2, 0x7a84 | a2 += 0x7a84;
0x00009e00 move a0, v0 | a0 = v0;
0x00009e04 sw s1, 0x10(sp) | *(var_10h) = s1;
0x00009e08 sw s6, 0x14(sp) | *(var_14h) = s6;
0x00009e0c bal 0xf854 | sym_commands_new ();
0x00009e10 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009e14 addiu a3, s5, -0x69c0 | a3 = s5 + -0x69c0;
0x00009e18 move a0, s3 | a0 = s3;
0x00009e1c lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00009e20 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00009e24 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.priority */
0x00009e28 addiu v0, v0, 0x6900 | v0 += 0x6900;
| /* str.MED_policy_priority */
0x00009e2c addiu a2, a2, 0x7ab0 | a2 += 0x7ab0;
0x00009e30 move a1, v0 | a1 = v0;
0x00009e34 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00009e38 sw zero, 0x10(sp) | *(var_10h) = 0;
0x00009e3c bal 0xf854 | sym_commands_new ();
0x00009e40 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009e44 addiu a0, zero, 0x7d5 | a0 = 0x7d5;
0x00009e48 lw t9, -0x7e7c(gp) | t9 = sym.imp.lldpctl_key_get_map;
0x00009e4c move s5, v0 | s5 = v0;
0x00009e50 jalr t9 | t9 ();
0x00009e54 lw a0, 4(v0) | a0 = *((v0 + 1));
0x00009e58 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009e5c move s1, v0 | s1 = v0;
| if (a0 == 0) {
0x00009e60 beqz a0, 0x9eb8 | goto label_4;
| }
0x00009e64 lw s3, -0x7fdc(gp) | s3 = *(gp);
0x00009e68 addiu s3, s3, -0x7114 | s3 += -0x7114;
| do {
0x00009e6c lw t9, -0x7f6c(gp) | t9 = sym.totag;
0x00009e70 addiu s1, s1, 8 | s1 += 8;
0x00009e74 bal 0x126a0 | sym_totag ();
0x00009e78 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009e7c lw t9, -0x7d80(gp) | t9 = sym.imp.strdup;
0x00009e80 move a0, v0 | a0 = v0;
0x00009e84 jalr t9 | t9 ();
0x00009e88 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009e8c lw a2, -4(s1) | a2 = *((s1 - 1));
0x00009e90 move a0, s5 | a0 = s5;
0x00009e94 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x00009e98 sw a2, 0x14(sp) | *(var_14h) = a2;
0x00009e9c sw s3, 0x10(sp) | *(var_10h) = s3;
0x00009ea0 move a3, zero | a3 = 0;
0x00009ea4 move a1, v0 | a1 = v0;
0x00009ea8 bal 0xf854 | sym_commands_new ();
0x00009eac lw a0, 4(s1) | a0 = *((s1 + 1));
0x00009eb0 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009eb4 bnez a0, 0x9e6c |
| } while (a0 != 0);
| label_4:
0x00009eb8 lw t9, -0x7f24(gp) | t9 = sym.register_commands_medpow;
0x00009ebc move a0, s2 | a0 = s2;
0x00009ec0 bal 0xb080 | sym_register_commands_medpow ();
0x00009ec4 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009ec8 move a0, s2 | a0 = s2;
0x00009ecc sw zero, 0x10(sp) | *(var_10h) = 0;
0x00009ed0 lw s3, -0x7fdc(gp) | s3 = *(gp);
0x00009ed4 lw s5, -0x7fdc(gp) | s5 = *(gp);
0x00009ed8 lw s1, -0x7fdc(gp) | s1 = *(gp);
0x00009edc lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.ports */
0x00009ee0 addiu s3, s3, 0x7aec | s3 += 0x7aec;
0x00009ee4 lw a3, -0x7f34(gp) | a3 = sym.cmd_check_no_env;
| /* str.Fast_start_configuration */
0x00009ee8 addiu a2, s5, 0x7ac4 | a2 = s5 + 0x7ac4;
| /* str.fast_start */
0x00009eec addiu a1, s1, 0x7ae0 | a1 = s1 + 0x7ae0;
0x00009ef0 sw s3, 0x14(sp) | *(var_14h) = s3;
0x00009ef4 bal 0xf854 | sym_commands_new ();
0x00009ef8 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009efc lw a0, 0x24(fp) | a0 = *(arg_24h);
| /* str.Fast_start_configuration */
0x00009f00 addiu a2, s5, 0x7ac4 | a2 = s5 + 0x7ac4;
0x00009f04 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x00009f08 lw a3, -0x7f34(gp) | a3 = sym.cmd_check_no_env;
| /* str.fast_start */
0x00009f0c addiu a1, s1, 0x7ae0 | a1 = s1 + 0x7ae0;
0x00009f10 sw s3, 0x14(sp) | *(var_14h) = s3;
0x00009f14 sw zero, 0x10(sp) | *(var_10h) = 0;
0x00009f18 lw s2, -0x7fdc(gp) | s2 = *(gp);
0x00009f1c lw s1, -0x7fdc(gp) | s1 = *(gp);
0x00009f20 move s5, v0 | s5 = v0;
0x00009f24 bal 0xf854 | sym_commands_new ();
0x00009f28 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Enable_fast_start */
0x00009f2c addiu a2, s2, 0x7af4 | a2 = s2 + sym.display_configuration;
| /* str.enable */
0x00009f30 addiu a1, s1, 0x7734 | a1 = s1 + 0x7734;
0x00009f34 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x00009f38 move a3, zero | a3 = 0;
0x00009f3c move a0, s5 | a0 = s5;
0x00009f40 sw zero, 0x14(sp) | *(var_14h) = 0;
0x00009f44 sw zero, 0x10(sp) | *(var_10h) = 0;
0x00009f48 move s6, v0 | s6 = v0;
0x00009f4c bal 0xf854 | sym_commands_new ();
0x00009f50 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.enable */
0x00009f54 addiu v1, s1, 0x7734 | v1 = s1 + 0x7734;
0x00009f58 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00009f5c lw s1, -0x7fdc(gp) | s1 = *(gp);
0x00009f60 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x00009f64 addiu s1, s1, -0x6c1c | s1 += -0x6c1c;
| /* str.Enable_fast_start */
0x00009f68 addiu a2, s2, 0x7af4 | a2 = s2 + sym.display_configuration;
0x00009f6c move a3, zero | a3 = 0;
| /* str._CR_ */
0x00009f70 addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x00009f74 move a0, v0 | a0 = v0;
0x00009f78 lw s3, -0x7fdc(gp) | s3 = *(gp);
0x00009f7c lw s2, -0x7fdc(gp) | s2 = *(gp);
0x00009f80 sw s1, 0x10(sp) | *(var_10h) = s1;
0x00009f84 bal 0xf854 | sym_commands_new ();
0x00009f88 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Set_LLDP_fast_transmit_delay */
0x00009f8c addiu a2, s3, 0x7b08 | a2 = s3 + 0x7b08;
| /* str.tx_interval */
0x00009f90 addiu a1, s2, 0x776c | a1 = s2 + 0x776c;
0x00009f94 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x00009f98 move a3, zero | a3 = 0;
0x00009f9c move a0, s5 | a0 = s5;
0x00009fa0 sw zero, 0x14(sp) | *(var_14h) = 0;
0x00009fa4 sw zero, 0x10(sp) | *(var_10h) = 0;
0x00009fa8 bal 0xf854 | sym_commands_new ();
0x00009fac lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.tx_interval */
0x00009fb0 addiu s2, s2, 0x776c | s2 += 0x776c;
0x00009fb4 move a3, zero | a3 = 0;
0x00009fb8 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00009fbc lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.LLDP_fast_transmit_delay_in_seconds */
0x00009fc0 addiu a2, a2, 0x7b28 | a2 += 0x7b28;
0x00009fc4 move a1, zero | a1 = 0;
0x00009fc8 move a0, v0 | a0 = v0;
0x00009fcc sw s2, 0x14(sp) | *(var_14h) = s2;
0x00009fd0 sw s4, 0x10(sp) | *(var_10h) = s4;
0x00009fd4 bal 0xf854 | sym_commands_new ();
0x00009fd8 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00009fdc move a0, v0 | a0 = v0;
| /* str.Set_LLDP_fast_transmit_delay */
0x00009fe0 addiu a2, s3, 0x7b08 | a2 = s3 + 0x7b08;
0x00009fe4 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00009fe8 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.delay */
0x00009fec addiu v0, v0, 0x7764 | v0 += 0x7764;
0x00009ff0 move a3, zero | a3 = 0;
| /* str._CR_ */
0x00009ff4 addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x00009ff8 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00009ffc sw s1, 0x10(sp) | *(var_10h) = s1;
0x0000a000 bal 0xf854 | sym_commands_new ();
0x0000a004 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000a008 move a3, zero | a3 = 0;
| /* str._CR_ */
0x0000a00c addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x0000a010 lw s2, -0x7fdc(gp) | s2 = *(gp);
0x0000a014 lw s3, -0x7fdc(gp) | s3 = *(gp);
0x0000a018 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.disable */
0x0000a01c addiu s2, s2, 0x773c | s2 += 0x773c;
| /* str.Disable_fast_start */
0x0000a020 addiu a2, s3, 0x7b4c | a2 = s3 + 0x7b4c;
0x0000a024 move a0, s6 | a0 = s6;
0x0000a028 sw s2, 0x14(sp) | *(var_14h) = s2;
0x0000a02c sw s1, 0x10(sp) | *(var_10h) = s1;
0x0000a030 bal 0xf854 | sym_commands_new ();
0x0000a034 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000a038 sw s2, 0x14(sp) | *(var_14h) = s2;
0x0000a03c sw s1, 0x10(sp) | *(var_10h) = s1;
0x0000a040 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000a044 move a3, zero | a3 = 0;
| /* str.Disable_fast_start */
0x0000a048 addiu a2, s3, 0x7b4c | a2 = s3 + 0x7b4c;
| /* str._CR_ */
0x0000a04c addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x0000a050 move a0, v0 | a0 = v0;
0x0000a054 bal 0xf854 | sym_commands_new ();
| label_0:
0x0000a058 move sp, fp |
0x0000a05c lw ra, 0x4c(sp) | ra = *(var_4ch);
0x0000a060 lw fp, 0x48(sp) | fp = *(var_48h);
0x0000a064 lw s7, 0x44(sp) | s7 = *(var_44h);
0x0000a068 lw s6, 0x40(sp) | s6 = *(var_40h);
0x0000a06c lw s5, 0x3c(sp) | s5 = *(var_3ch);
0x0000a070 lw s4, 0x38(sp) | s4 = *(var_38h);
0x0000a074 lw s3, 0x34(sp) | s3 = *(var_34h);
0x0000a078 lw s2, 0x30(sp) | s2 = *(var_30h);
0x0000a07c lw s1, 0x2c(sp) | s1 = *(var_2ch);
0x0000a080 lw s0, 0x28(sp) | s0 = *(var_28h);
0x0000a084 addiu sp, sp, 0x50 |
0x0000a088 jr ra | return v0;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/lldpcli @ 0xa090 */
| #include <stdint.h>
|
; (fcn) sym.register_commands_configure_dot3 () | void register_commands_configure_dot3 () {
0x0000a090 lui gp, 3 |
0x0000a094 addiu gp, gp, -0x7000 |
0x0000a098 addu gp, gp, t9 | gp += t9;
0x0000a09c addiu sp, sp, -0x30 |
0x0000a0a0 lw t9, -0x7e7c(gp) | t9 = sym.imp.lldpctl_key_get_map;
0x0000a0a4 sw fp, 0x28(sp) | *(var_28h) = fp;
0x0000a0a8 sw s0, 0x24(sp) | *(var_24h) = s0;
0x0000a0ac move fp, sp | fp = sp;
0x0000a0b0 sw gp, 0x18(sp) | *(var_18h) = gp;
0x0000a0b4 sw ra, 0x2c(sp) | *(var_2ch) = ra;
0x0000a0b8 move s0, a0 | s0 = a0;
0x0000a0bc addiu a0, zero, 0x57e | a0 = 0x57e;
0x0000a0c0 jalr t9 | t9 ();
0x0000a0c4 lw v0, 4(v0) | v0 = *((v0 + 1));
0x0000a0c8 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 != 0) {
0x0000a0cc beqz v0, 0xa11c |
0x0000a0d0 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0000a0d4 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0000a0d8 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000a0dc move a0, s0 | a0 = s0;
0x0000a0e0 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000a0e4 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000a0e8 move a3, zero | a3 = 0;
| /* str.Dot3_configuration */
0x0000a0ec addiu a2, a2, 0x7b60 | a2 += 0x7b60;
| /* str.dot3 */
0x0000a0f0 addiu a1, a1, 0x7b74 | a1 += 0x7b74;
0x0000a0f4 bal 0xf854 | sym_commands_new ();
0x0000a0f8 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000a0fc move sp, fp |
0x0000a100 move a0, v0 | a0 = v0;
0x0000a104 lw ra, 0x2c(sp) | ra = *(var_2ch);
0x0000a108 lw fp, 0x28(sp) | fp = *(var_28h);
0x0000a10c lw s0, 0x24(sp) | s0 = *(var_24h);
0x0000a110 lw t9, -0x7f20(gp) | t9 = sym.register_commands_dot3pow;
0x0000a114 addiu sp, sp, 0x30 |
0x0000a118 b 0xb280 | void (*0xb280)() ();
| }
0x0000a11c move sp, fp |
0x0000a120 lw ra, 0x2c(sp) | ra = *(var_2ch);
0x0000a124 lw fp, 0x28(sp) | fp = *(var_28h);
0x0000a128 lw s0, 0x24(sp) | s0 = *(var_24h);
0x0000a12c addiu sp, sp, 0x30 |
0x0000a130 jr ra | return v0;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/lldpcli @ 0xcf9c */
| #include <stdint.h>
|
; (fcn) sym.register_commands_configure_lldp_custom_tlvs () | void register_commands_configure_lldp_custom_tlvs () {
0x0000cf9c lui gp, 2 |
0x0000cfa0 addiu gp, gp, 0x60f4 |
0x0000cfa4 addu gp, gp, t9 | gp += t9;
0x0000cfa8 addiu sp, sp, -0x58 |
0x0000cfac lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000cfb0 sw s7, 0x4c(sp) | *(var_5ch) = s7;
0x0000cfb4 sw s0, 0x30(sp) | *(var_40h) = s0;
0x0000cfb8 lw s7, -0x7f80(gp) | s7 = *((gp - 8160));
0x0000cfbc lw s0, -0x7f80(gp) | s0 = *((gp - 8160));
0x0000cfc0 sw fp, 0x50(sp) | *(var_60h) = fp;
0x0000cfc4 move fp, sp | fp = sp;
0x0000cfc8 sw ra, 0x54(sp) | *(var_64h) = ra;
0x0000cfcc sw s6, 0x48(sp) | *(var_58h) = s6;
0x0000cfd0 sw s5, 0x44(sp) | *(var_54h) = s5;
0x0000cfd4 sw s4, 0x40(sp) | *(var_50h) = s4;
0x0000cfd8 sw s3, 0x3c(sp) | *(var_4ch) = s3;
0x0000cfdc sw s2, 0x38(sp) | *(var_48h) = s2;
0x0000cfe0 sw s1, 0x34(sp) | *(var_44h) = s1;
0x0000cfe4 sw gp, 0x18(sp) | *(var_18h_2) = gp;
0x0000cfe8 move s1, a1 | s1 = a1;
| /* str.Add_custom_TLV_s__to_be_broadcast_on_ports */
0x0000cfec addiu a2, s7, -0x7980 | a2 = s7 + -0x7980;
| /* str.custom_tlv */
0x0000cff0 addiu a1, s0, -0x7954 | a1 = s0 + -0x7954;
0x0000cff4 sw zero, 0x14(sp) | *(var_14h_2) = 0;
0x0000cff8 sw zero, 0x10(sp) | *(var_10h_2) = 0;
0x0000cffc move a3, zero | a3 = 0;
0x0000d000 bal 0xf854 | sym_commands_new ();
0x0000d004 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.custom_tlv */
0x0000d008 addiu a1, s0, -0x7954 | a1 = s0 + -0x7954;
0x0000d00c move a0, s1 | a0 = s1;
0x0000d010 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000d014 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d018 move a3, zero | a3 = 0;
| /* str.Remove_ALL_custom_TLV_s_ */
0x0000d01c addiu a2, a2, -0x7948 | a2 += -0x7948;
0x0000d020 sw zero, 0x14(sp) | *(var_14h_2) = 0;
0x0000d024 sw zero, 0x10(sp) | *(var_10h_2) = 0;
0x0000d028 move s1, v0 | s1 = v0;
0x0000d02c bal 0xf854 | sym_commands_new ();
0x0000d030 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d034 move a3, zero | a3 = 0;
0x0000d038 move a0, v0 | a0 = v0;
0x0000d03c lw s0, -0x7fdc(gp) | s0 = *(gp);
0x0000d040 lw s4, -0x7fdc(gp) | s4 = *(gp);
0x0000d044 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000d048 addiu s0, s0, -0x48c0 | s0 += -0x48c0;
0x0000d04c lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str._CR_ */
0x0000d050 addiu a1, s4, 0x64c4 | a1 = s4 + 0x64c4;
0x0000d054 sw s0, 0x10(sp) | *(var_10h_2) = s0;
| /* str.Remove_ALL_custom_TLV */
0x0000d058 addiu a2, a2, -0x792c | a2 += -0x792c;
0x0000d05c sw v0, 0x24(fp) | *(arg_24h) = v0;
0x0000d060 sw zero, 0x14(sp) | *(var_14h_2) = 0;
0x0000d064 bal 0xf854 | sym_commands_new ();
0x0000d068 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d06c move a0, s1 | a0 = s1;
0x0000d070 lw v0, -0x7f80(gp) | v0 = *((gp - 8160));
0x0000d074 lw s2, -0x7f88(gp) | s2 = sym.cmd_store_env_and_pop;
0x0000d078 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x0000d07c lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000d080 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* esilref: 'add' */
0x0000d084 addiu v0, v0, -0x7e68 | v0 += -0x7e68;
0x0000d088 sw s2, 0x10(sp) | *(var_10h_2) = s2;
0x0000d08c addiu a3, a3, -0x30fc | a3 += -0x30fc;
| /* str.Add_custom_TLV */
0x0000d090 addiu a2, a2, -0x7914 | a2 += -0x7914;
0x0000d094 move a1, v0 | a1 = v0;
0x0000d098 sw v0, 0x14(sp) | *(var_14h_2) = v0;
0x0000d09c bal 0xf854 | sym_commands_new ();
0x0000d0a0 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d0a4 move a0, s1 | a0 = s1;
0x0000d0a8 sw s2, 0x10(sp) | *(var_10h_2) = s2;
0x0000d0ac lw v0, -0x7f80(gp) | v0 = *((gp - 8160));
0x0000d0b0 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x0000d0b4 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000d0b8 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.replace */
0x0000d0bc addiu v0, v0, -0x7e64 | v0 += -0x7e64;
0x0000d0c0 addiu a3, a3, -0x3194 | a3 += -0x3194;
| /* str.Replace_custom_TLV */
0x0000d0c4 addiu a2, a2, -0x7904 | a2 += -0x7904;
0x0000d0c8 move a1, v0 | a1 = v0;
0x0000d0cc lw s3, -0x7f80(gp) | s3 = *((gp - 8160));
0x0000d0d0 lw s5, -0x7fdc(gp) | s5 = *(gp);
0x0000d0d4 sw v0, 0x14(sp) | *(var_14h_2) = v0;
0x0000d0d8 bal 0xf854 | sym_commands_new ();
0x0000d0dc lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Organizationally_Unique_Identifier */
0x0000d0e0 addiu a2, s3, -0x78f0 | a2 = s3 + -0x78f0;
| /* esilref: 'oui' */
0x0000d0e4 addiu a1, s5, 0x6818 | a1 = s5 + 0x6818;
0x0000d0e8 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d0ec move a0, s1 | a0 = s1;
0x0000d0f0 move a3, zero | a3 = 0;
0x0000d0f4 sw zero, 0x14(sp) | *(var_14h_2) = 0;
0x0000d0f8 lw s2, -0x7f2c(gp) | s2 = sym.cmd_store_env_value;
0x0000d0fc sw zero, 0x10(sp) | *(var_10h_2) = 0;
0x0000d100 bal 0xf854 | sym_commands_new ();
0x0000d104 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* esilref: 'oui' */
0x0000d108 addiu v1, s5, 0x6818 | v1 = s5 + 0x6818;
0x0000d10c sw v1, 0x14(sp) | *(var_14h_2) = v1;
0x0000d110 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d114 sw v1, 0x2c(fp) | *(arg_2ch) = v1;
| /* str.Organizationally_Unique_Identifier */
0x0000d118 addiu a2, s3, -0x78f0 | a2 = s3 + -0x78f0;
0x0000d11c sw s2, 0x10(sp) | *(var_10h_2) = s2;
0x0000d120 move a3, zero | a3 = 0;
0x0000d124 move a1, zero | a1 = 0;
0x0000d128 lw s6, -0x7f80(gp) | s6 = *((gp - 8160));
0x0000d12c lw s1, -0x7fdc(gp) | s1 = *(gp);
0x0000d130 move a0, v0 | a0 = v0;
0x0000d134 bal 0xf854 | sym_commands_new ();
0x0000d138 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Organizationally_Defined_Subtype */
0x0000d13c addiu a2, s6, -0x78cc | a2 = s6 + -0x78cc;
| /* str.subtype */
0x0000d140 addiu a1, s1, 0x6828 | a1 = s1 + 0x6828;
0x0000d144 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d148 move a3, zero | a3 = 0;
0x0000d14c move a0, v0 | a0 = v0;
0x0000d150 sw zero, 0x14(sp) | *(var_14h_2) = 0;
0x0000d154 sw zero, 0x10(sp) | *(var_10h_2) = 0;
0x0000d158 bal 0xf854 | sym_commands_new ();
0x0000d15c lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.subtype */
0x0000d160 addiu s1, s1, 0x6828 | s1 += 0x6828;
| /* str.Organizationally_Defined_Subtype */
0x0000d164 addiu a2, s6, -0x78cc | a2 = s6 + -0x78cc;
0x0000d168 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d16c sw s1, 0x14(sp) | *(var_14h_2) = s1;
0x0000d170 sw s2, 0x10(sp) | *(var_10h_2) = s2;
0x0000d174 move a3, zero | a3 = 0;
0x0000d178 move a1, zero | a1 = 0;
0x0000d17c move a0, v0 | a0 = v0;
0x0000d180 bal 0xf854 | sym_commands_new ();
0x0000d184 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Add_custom_TLV_s__to_be_broadcast_on_ports */
0x0000d188 addiu a2, s7, -0x7980 | a2 = s7 + -0x7980;
| /* str._CR_ */
0x0000d18c addiu a1, s4, 0x64c4 | a1 = s4 + 0x64c4;
0x0000d190 lw s5, -0x7fdc(gp) | s5 = *(gp);
0x0000d194 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.enable */
0x0000d198 addiu s5, s5, 0x7734 | s5 += 0x7734;
0x0000d19c sw s5, 0x14(sp) | *(var_14h_2) = s5;
0x0000d1a0 sw s0, 0x10(sp) | *(var_10h_2) = s0;
0x0000d1a4 move a3, zero | a3 = 0;
0x0000d1a8 move a0, v0 | a0 = v0;
0x0000d1ac sw v0, 0x28(fp) | *(arg_28h) = v0;
0x0000d1b0 bal 0xf854 | sym_commands_new ();
0x0000d1b4 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d1b8 lw t1, 0x24(fp) | t1 = *(arg_24h);
0x0000d1bc lw v1, 0x2c(fp) | v1 = *(arg_2ch);
0x0000d1c0 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d1c4 move a0, t1 | a0 = t1;
| /* str.Organizationally_Unique_Identifier */
0x0000d1c8 addiu a2, s3, -0x78f0 | a2 = s3 + -0x78f0;
0x0000d1cc move a1, v1 | a1 = v1;
0x0000d1d0 move a3, zero | a3 = 0;
0x0000d1d4 sw zero, 0x14(sp) | *(var_14h_2) = 0;
0x0000d1d8 sw zero, 0x10(sp) | *(var_10h_2) = 0;
0x0000d1dc bal 0xf854 | sym_commands_new ();
0x0000d1e0 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d1e4 lw v1, 0x2c(fp) | v1 = *(arg_2ch);
| /* str.Organizationally_Unique_Identifier */
0x0000d1e8 addiu a2, s3, -0x78f0 | a2 = s3 + -0x78f0;
0x0000d1ec lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d1f0 sw v1, 0x14(sp) | *(var_14h_2) = v1;
0x0000d1f4 sw s2, 0x10(sp) | *(var_10h_2) = s2;
0x0000d1f8 move a3, zero | a3 = 0;
0x0000d1fc move a1, zero | a1 = 0;
0x0000d200 move a0, v0 | a0 = v0;
0x0000d204 bal 0xf854 | sym_commands_new ();
0x0000d208 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Organizationally_Defined_Subtype */
0x0000d20c addiu a2, s6, -0x78cc | a2 = s6 + -0x78cc;
0x0000d210 move a1, s1 | a1 = s1;
0x0000d214 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d218 move a3, zero | a3 = 0;
0x0000d21c move a0, v0 | a0 = v0;
0x0000d220 sw zero, 0x14(sp) | *(var_14h_2) = 0;
0x0000d224 sw zero, 0x10(sp) | *(var_10h_2) = 0;
0x0000d228 bal 0xf854 | sym_commands_new ();
0x0000d22c lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Organizationally_Defined_Subtype */
0x0000d230 addiu a2, s6, -0x78cc | a2 = s6 + -0x78cc;
0x0000d234 sw s1, 0x14(sp) | *(var_14h_2) = s1;
0x0000d238 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d23c sw s2, 0x10(sp) | *(var_10h_2) = s2;
0x0000d240 move a3, zero | a3 = 0;
0x0000d244 move a1, zero | a1 = 0;
0x0000d248 move a0, v0 | a0 = v0;
0x0000d24c bal 0xf854 | sym_commands_new ();
0x0000d250 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d254 move a0, v0 | a0 = v0;
| /* str._CR_ */
0x0000d258 addiu a1, s4, 0x64c4 | a1 = s4 + 0x64c4;
0x0000d25c lw v0, -0x7f80(gp) | v0 = *((gp - 8160));
0x0000d260 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000d264 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.remove */
0x0000d268 addiu v0, v0, -0x7e70 | v0 += -0x7e70;
0x0000d26c sw s0, 0x10(sp) | *(var_10h_2) = s0;
0x0000d270 move a3, zero | a3 = 0;
| /* str.Remove_specific_custom_TLV */
0x0000d274 addiu a2, a2, -0x78a8 | a2 += -0x78a8;
0x0000d278 lw s1, -0x7f80(gp) | s1 = *((gp - 8160));
0x0000d27c sw v0, 0x14(sp) | *(var_14h_2) = v0;
0x0000d280 bal 0xf854 | sym_commands_new ();
0x0000d284 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d288 lw t0, 0x28(fp) | t0 = *(arg_28h);
| /* str.Organizationally_Unique_Identifier */
0x0000d28c addiu a2, s3, -0x78f0 | a2 = s3 + -0x78f0;
0x0000d290 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d294 move a0, t0 | a0 = t0;
| /* str.oui_info */
0x0000d298 addiu a1, s1, -0x7ddc | a1 = s1 + -0x7ddc;
0x0000d29c move a3, zero | a3 = 0;
0x0000d2a0 sw zero, 0x14(sp) | *(var_14h_2) = 0;
0x0000d2a4 sw zero, 0x10(sp) | *(var_10h_2) = 0;
0x0000d2a8 bal 0xf854 | sym_commands_new ();
0x0000d2ac lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.oui_info */
0x0000d2b0 addiu s1, s1, -0x7ddc | s1 += -0x7ddc;
0x0000d2b4 sw s1, 0x14(sp) | *(var_14h_2) = s1;
0x0000d2b8 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000d2bc lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d2c0 sw s2, 0x10(sp) | *(var_10h_2) = s2;
0x0000d2c4 move a3, zero | a3 = 0;
| /* str.OUI_Info_String */
0x0000d2c8 addiu a2, a2, -0x788c | a2 += -0x788c;
0x0000d2cc move a1, zero | a1 = 0;
0x0000d2d0 move a0, v0 | a0 = v0;
0x0000d2d4 bal 0xf854 | sym_commands_new ();
0x0000d2d8 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d2dc sw s5, 0x14(sp) | *(var_14h_2) = s5;
0x0000d2e0 sw s0, 0x10(sp) | *(var_10h_2) = s0;
0x0000d2e4 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.Add_custom_TLV_s__to_be_broadcast_on_ports */
0x0000d2e8 addiu a2, s7, -0x7980 | a2 = s7 + -0x7980;
| /* str._CR_ */
0x0000d2ec addiu a1, s4, 0x64c4 | a1 = s4 + 0x64c4;
0x0000d2f0 move a3, zero | a3 = 0;
0x0000d2f4 move a0, v0 | a0 = v0;
0x0000d2f8 bal 0xf854 | sym_commands_new ();
0x0000d2fc move sp, fp |
0x0000d300 lw ra, 0x54(sp) | ra = *(var_64h);
0x0000d304 lw fp, 0x50(sp) | fp = *(var_60h);
0x0000d308 lw s7, 0x4c(sp) | s7 = *(var_5ch);
0x0000d30c lw s6, 0x48(sp) | s6 = *(var_58h);
0x0000d310 lw s5, 0x44(sp) | s5 = *(var_54h);
0x0000d314 lw s4, 0x40(sp) | s4 = *(var_50h);
0x0000d318 lw s3, 0x3c(sp) | s3 = *(var_4ch);
0x0000d31c lw s2, 0x38(sp) | s2 = *(var_48h);
0x0000d320 lw s1, 0x34(sp) | s1 = *(var_44h);
0x0000d324 lw s0, 0x30(sp) | s0 = *(var_40h);
0x0000d328 addiu sp, sp, 0x58 |
0x0000d32c jr ra | return v0;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/lldpcli @ 0xd330 */
| #include <stdint.h>
|
; (fcn) sym.register_commands_configure_lldp () | void register_commands_configure_lldp () {
0x0000d330 lui gp, 2 |
0x0000d334 addiu gp, gp, 0x5d60 |
0x0000d338 addu gp, gp, t9 | gp += t9;
0x0000d33c addiu sp, sp, -0x68 |
0x0000d340 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d344 sw s1, 0x44(sp) | *(var_44h) = s1;
0x0000d348 sw s0, 0x40(sp) | *(var_40h) = s0;
0x0000d34c lw s1, -0x7f80(gp) | s1 = *((gp - 8160));
0x0000d350 lw s0, -0x7fdc(gp) | s0 = *(gp);
0x0000d354 sw fp, 0x60(sp) | *(var_60h) = fp;
0x0000d358 move fp, sp | fp = sp;
0x0000d35c sw ra, 0x64(sp) | *(var_64h) = ra;
| /* str.LLDP_configuration */
0x0000d360 addiu a2, s1, -0x787c | a2 = s1 + -0x787c;
0x0000d364 sw s6, 0x58(sp) | *(var_58h) = s6;
0x0000d368 sw s5, 0x54(sp) | *(var_54h) = s5;
0x0000d36c sw s4, 0x50(sp) | *(var_50h) = s4;
0x0000d370 sw s3, 0x4c(sp) | *(var_4ch) = s3;
0x0000d374 sw s2, 0x48(sp) | *(var_48h) = s2;
0x0000d378 sw gp, 0x18(sp) | *(var_18h) = gp;
0x0000d37c move s2, a1 | s2 = a1;
0x0000d380 move a3, zero | a3 = 0;
0x0000d384 sw s7, 0x5c(sp) | *(var_5ch) = s7;
0x0000d388 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000d38c sw zero, 0x10(sp) | *(var_10h) = 0;
| /* str.lldp */
0x0000d390 addiu a1, s0, 0x6f90 | a1 = s0 + 0x6f90;
0x0000d394 bal 0xf854 | sym_commands_new ();
0x0000d398 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.LLDP_configuration */
0x0000d39c addiu a2, s1, -0x787c | a2 = s1 + -0x787c;
| /* str.lldp */
0x0000d3a0 addiu a1, s0, 0x6f90 | a1 = s0 + 0x6f90;
0x0000d3a4 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d3a8 move a0, s2 | a0 = s2;
0x0000d3ac move a3, zero | a3 = 0;
0x0000d3b0 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000d3b4 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000d3b8 move s5, v0 | s5 = v0;
0x0000d3bc bal 0xf854 | sym_commands_new ();
0x0000d3c0 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d3c4 move a0, s5 | a0 = s5;
0x0000d3c8 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000d3cc lw v1, -0x7fdc(gp) | v1 = *(gp);
0x0000d3d0 lw s2, -0x7f80(gp) | s2 = *((gp - 8160));
0x0000d3d4 lw s4, -0x7f2c(gp) | s4 = sym.cmd_store_env_value;
0x0000d3d8 lw s0, -0x7fdc(gp) | s0 = *(gp);
| /* str.ports */
0x0000d3dc addiu s3, v1, 0x7aec | s3 = v1 + 0x7aec;
0x0000d3e0 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d3e4 lw a3, -0x7f34(gp) | a3 = sym.cmd_check_no_env;
| /* str.Set_LLDP_transmit_delay */
0x0000d3e8 addiu a2, s2, -0x7868 | a2 = s2 + -aav.0x00007868;
| /* str.tx_interval */
0x0000d3ec addiu a1, s0, 0x776c | a1 = s0 + 0x776c;
0x0000d3f0 sw s3, 0x3c(fp) | *(arg_3ch) = s3;
0x0000d3f4 sw s3, 0x14(sp) | *(var_14h) = s3;
0x0000d3f8 sw s4, 0x38(fp) | *(arg_38h) = s4;
0x0000d3fc sw v0, 0x20(fp) | *(arg_20h) = v0;
0x0000d400 bal 0xf854 | sym_commands_new ();
0x0000d404 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.tx_interval */
0x0000d408 addiu s0, s0, 0x776c | s0 += 0x776c;
0x0000d40c move a3, zero | a3 = 0;
0x0000d410 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000d414 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.LLDP_transmit_delay_in_seconds */
0x0000d418 addiu a2, a2, -0x7850 | a2 += -0x7850;
0x0000d41c move a1, zero | a1 = 0;
0x0000d420 move a0, v0 | a0 = v0;
0x0000d424 sw s0, 0x14(sp) | *(var_14h) = s0;
0x0000d428 sw s4, 0x10(sp) | *(var_10h) = s4;
0x0000d42c bal 0xf854 | sym_commands_new ();
0x0000d430 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d434 move a0, v0 | a0 = v0;
| /* str.Set_LLDP_transmit_delay */
0x0000d438 addiu a2, s2, -0x7868 | a2 = s2 + -aav.0x00007868;
0x0000d43c lw v0, -0x7fdc(gp) | v0 = *(gp);
0x0000d440 lw s1, -0x7fdc(gp) | s1 = *(gp);
0x0000d444 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d448 addiu v0, v0, -0x338c | v0 += -0x338c;
0x0000d44c move a3, zero | a3 = 0;
| /* str._CR_ */
0x0000d450 addiu a1, s1, 0x64c4 | a1 = s1 + 0x64c4;
0x0000d454 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000d458 lw s2, -0x7f80(gp) | s2 = *((gp - 8160));
0x0000d45c lw s0, -0x7fdc(gp) | s0 = *(gp);
0x0000d460 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000d464 bal 0xf854 | sym_commands_new ();
0x0000d468 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.tx_hold */
0x0000d46c addiu a1, s0, 0x70f4 | a1 = s0 + 0x70f4;
| /* str.Set_LLDP_transmit_hold */
0x0000d470 addiu a2, s2, -0x7830 | a2 = s2 + -0x7830;
0x0000d474 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d478 lw a3, -0x7f34(gp) | a3 = sym.cmd_check_no_env;
0x0000d47c move a0, s5 | a0 = s5;
0x0000d480 sw s3, 0x14(sp) | *(var_14h) = s3;
0x0000d484 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000d488 bal 0xf854 | sym_commands_new ();
0x0000d48c lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.tx_hold */
0x0000d490 addiu s0, s0, 0x70f4 | s0 += 0x70f4;
0x0000d494 move a3, zero | a3 = 0;
0x0000d498 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000d49c lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.LLDP_transmit_hold_in_seconds */
0x0000d4a0 addiu a2, a2, -0x7818 | a2 += -0x7818;
0x0000d4a4 move a1, zero | a1 = 0;
0x0000d4a8 move a0, v0 | a0 = v0;
0x0000d4ac sw s0, 0x14(sp) | *(var_14h) = s0;
0x0000d4b0 sw s4, 0x10(sp) | *(var_10h) = s4;
0x0000d4b4 bal 0xf854 | sym_commands_new ();
0x0000d4b8 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d4bc move a0, v0 | a0 = v0;
0x0000d4c0 move a3, zero | a3 = 0;
0x0000d4c4 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x0000d4c8 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d4cc addiu v0, v0, -0x3570 | v0 += -0x3570;
| /* str.Set_LLDP_transmit_hold */
0x0000d4d0 addiu a2, s2, -0x7830 | a2 = s2 + -0x7830;
| /* str._CR_ */
0x0000d4d4 addiu a1, s1, 0x64c4 | a1 = s1 + 0x64c4;
0x0000d4d8 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000d4dc sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000d4e0 bal 0xf854 | sym_commands_new ();
0x0000d4e4 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d4e8 move a3, zero | a3 = 0;
0x0000d4ec move a0, s5 | a0 = s5;
0x0000d4f0 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000d4f4 lw a1, -0x7f80(gp) | a1 = *((gp - 8160));
0x0000d4f8 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.Set_administrative_status */
0x0000d4fc addiu a2, a2, -0x77f8 | a2 += -0x77f8;
| /* esilref: 'status' */
0x0000d500 addiu a1, a1, -0x77c4 | a1 += -0x77c4;
0x0000d504 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000d508 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000d50c bal 0xf854 | sym_commands_new ();
0x0000d510 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d514 addiu a0, zero, 0x4b7 | a0 = 0x4b7;
0x0000d518 lw t9, -0x7e7c(gp) | t9 = sym.imp.lldpctl_key_get_map;
0x0000d51c move s6, v0 | s6 = v0;
0x0000d520 jalr t9 | t9 ();
0x0000d524 lw a0, 4(v0) | a0 = *((v0 + 1));
0x0000d528 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (a0 == 0) {
0x0000d52c beqz a0, 0xd5c4 | goto label_3;
| }
0x0000d530 lw s4, -0x7fdc(gp) | s4 = *(gp);
0x0000d534 lw s3, -0x7fdc(gp) | s3 = *(gp);
0x0000d538 lw s2, -0x7f80(gp) | s2 = *((gp - 8160));
0x0000d53c move s0, v0 | s0 = v0;
0x0000d540 addiu s4, s4, -0x31d0 | s4 += -0x31d0;
0x0000d544 addiu s3, s3, -0x3f9c | s3 += -0x3f9c;
| /* str.Set_port_administrative_status */
0x0000d548 addiu s2, s2, -0x77dc | s2 += -0x77dc;
| /* str._CR_ */
0x0000d54c addiu s7, s1, 0x64c4 | s7 = s1 + 0x64c4;
| do {
0x0000d550 lw t9, -0x7f6c(gp) | t9 = sym.totag;
0x0000d554 addiu s0, s0, 8 | s0 += 8;
0x0000d558 bal 0x126a0 | sym_totag ();
0x0000d55c lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d560 lw t9, -0x7d80(gp) | t9 = sym.imp.strdup;
0x0000d564 move a0, v0 | a0 = v0;
0x0000d568 jalr t9 | t9 ();
0x0000d56c lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d570 lw v1, -4(s0) | v1 = *((s0 - 1));
0x0000d574 move a3, zero | a3 = 0;
0x0000d578 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d57c move a2, v1 | a2 = v1;
0x0000d580 move a1, v0 | a1 = v0;
0x0000d584 move a0, s6 | a0 = s6;
0x0000d588 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000d58c sw s4, 0x10(sp) | *(var_10h) = s4;
0x0000d590 bal 0xf854 | sym_commands_new ();
0x0000d594 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d598 move a0, v0 | a0 = v0;
0x0000d59c sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000d5a0 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d5a4 sw s3, 0x10(sp) | *(var_10h) = s3;
0x0000d5a8 move a3, zero | a3 = 0;
0x0000d5ac move a2, s2 | a2 = s2;
0x0000d5b0 move a1, s7 | a1 = s7;
0x0000d5b4 bal 0xf854 | sym_commands_new ();
0x0000d5b8 lw a0, 4(s0) | a0 = *((s0 + 1));
0x0000d5bc lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d5c0 bnez a0, 0xd550 |
| } while (a0 != 0);
| label_3:
0x0000d5c4 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000d5c8 lw a1, -0x7f80(gp) | a1 = *((gp - 8160));
0x0000d5cc lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d5d0 move a3, zero | a3 = 0;
| /* esilref: 'LLDP agent type' */
0x0000d5d4 addiu a2, a2, -0x77ac | a2 += -0x77ac;
| /* str.agent_type */
0x0000d5d8 addiu a1, a1, -0x77bc | a1 += -0x77bc;
0x0000d5dc move a0, s5 | a0 = s5;
0x0000d5e0 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000d5e4 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000d5e8 bal 0xf854 | sym_commands_new ();
0x0000d5ec lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d5f0 addiu a0, zero, 0xfaa | a0 = 0xfaa;
0x0000d5f4 lw t9, -0x7e7c(gp) | t9 = sym.imp.lldpctl_key_get_map;
0x0000d5f8 move s3, v0 | s3 = v0;
0x0000d5fc jalr t9 | t9 ();
0x0000d600 lw a0, 4(v0) | a0 = *((v0 + 1));
0x0000d604 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d608 move s6, v0 | s6 = v0;
| if (a0 == 0) {
0x0000d60c beqz a0, 0xd698 | goto label_4;
| }
0x0000d610 lw s2, -0x7fdc(gp) | s2 = *(gp);
0x0000d614 lw s0, -0x7f80(gp) | s0 = *((gp - 8160));
0x0000d618 addiu s2, s2, -0x37f0 | s2 += -0x37f0;
| /* str.Set_LLDP_agent_type */
0x0000d61c addiu s0, s0, -0x77b0 | s0 += -0x77b0;
| /* str._CR_ */
0x0000d620 addiu s4, s1, 0x64c4 | s4 = s1 + 0x64c4;
| do {
0x0000d624 lw t9, -0x7f6c(gp) | t9 = sym.totag;
0x0000d628 addiu s6, s6, 8 | s6 += 8;
0x0000d62c bal 0x126a0 | sym_totag ();
0x0000d630 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d634 lw t9, -0x7d80(gp) | t9 = sym.imp.strdup;
0x0000d638 move a0, v0 | a0 = v0;
0x0000d63c jalr t9 | t9 ();
0x0000d640 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d644 lw a2, -4(s6) | a2 = *((s6 - 1));
0x0000d648 move a3, zero | a3 = 0;
0x0000d64c lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d650 move a1, v0 | a1 = v0;
0x0000d654 move a0, s3 | a0 = s3;
0x0000d658 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000d65c sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000d660 bal 0xf854 | sym_commands_new ();
0x0000d664 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d668 lw v1, -4(s6) | v1 = *((s6 - 1));
0x0000d66c move a0, v0 | a0 = v0;
0x0000d670 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d674 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000d678 sw s2, 0x10(sp) | *(var_10h) = s2;
0x0000d67c move a3, zero | a3 = 0;
0x0000d680 move a2, s0 | a2 = s0;
0x0000d684 move a1, s4 | a1 = s4;
0x0000d688 bal 0xf854 | sym_commands_new ();
0x0000d68c lw a0, 4(s6) | a0 = *((s6 + 1));
0x0000d690 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d694 bnez a0, 0xd624 |
| } while (a0 != 0);
| label_4:
0x0000d698 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000d69c lw a1, -0x7f80(gp) | a1 = *((gp - 8160));
0x0000d6a0 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d6a4 move a3, zero | a3 = 0;
| /* str.LLDP_PortID_TLV_Subtype */
0x0000d6a8 addiu a2, a2, -0x779c | a2 += -0x779c;
| /* str.portidsubtype */
0x0000d6ac addiu a1, a1, -0x7784 | a1 += -0x7784;
0x0000d6b0 move a0, s5 | a0 = s5;
0x0000d6b4 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000d6b8 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000d6bc bal 0xf854 | sym_commands_new ();
0x0000d6c0 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d6c4 addiu a0, zero, 0xfa9 | a0 = 0xfa9;
0x0000d6c8 lw t9, -0x7e7c(gp) | t9 = sym.imp.lldpctl_key_get_map;
0x0000d6cc move s3, v0 | s3 = v0;
0x0000d6d0 jalr t9 | t9 ();
0x0000d6d4 lw s7, 4(v0) | s7 = *((v0 + 1));
0x0000d6d8 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d6dc move s0, v0 | s0 = v0;
| if (s7 == 0) {
0x0000d6e0 beqz s7, 0xdb38 | goto label_5;
| }
0x0000d6e4 lw v0, -0x7f80(gp) | v0 = *((gp - 8160));
0x0000d6e8 lw s6, -0x7fdc(gp) | s6 = *(gp);
0x0000d6ec sw v0, 0x2c(fp) | *(arg_2ch) = v0;
0x0000d6f0 lw v0, -0x7f80(gp) | v0 = *((gp - 8160));
0x0000d6f4 lw s2, -0x7f80(gp) | s2 = *((gp - 8160));
0x0000d6f8 sw v0, 0x34(fp) | *(arg_34h) = v0;
0x0000d6fc lw v0, -0x7f80(gp) | v0 = *((gp - 8160));
0x0000d700 lw s4, -0x7fdc(gp) | s4 = *(gp);
| /* str.port_descr */
0x0000d704 addiu v0, v0, -0x7d54 | v0 += -0x7d54;
0x0000d708 sw v0, 0x28(fp) | *(arg_28h) = v0;
0x0000d70c lw v0, -0x7f80(gp) | v0 = *((gp - 8160));
0x0000d710 addiu s6, s6, -0x3a6c | s6 += -0x3a6c;
| /* str.port_id */
0x0000d714 addiu v0, v0, -0x7d00 | v0 += -0x7d00;
0x0000d718 sw v0, 0x24(fp) | *(arg_24h) = v0;
0x0000d71c lw v0, -0x7fdc(gp) | v0 = *(gp);
0x0000d720 addiu v0, v0, -0x41d8 | v0 += -0x41d8;
0x0000d724 sw v0, 0x30(fp) | *(arg_30h) = v0;
0x0000d728 b 0xd770 |
| while (v0 != 0) {
0x0000d72c lw t9, -0x7d60(gp) | t9 = sym.imp.strcmp;
| /* str.local */
0x0000d730 addiu a1, s4, 0x7bfc | a1 = s4 + 0x7bfc;
0x0000d734 move a0, s7 | a0 = s7;
0x0000d738 jalr t9 | t9 ();
0x0000d73c lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == 0) {
0x0000d740 beqz v0, 0xda0c | goto label_6;
| }
0x0000d744 lw v0, 0x34(fp) | v0 = *(arg_34h);
0x0000d748 lw t9, -0x7d60(gp) | t9 = sym.imp.strcmp;
0x0000d74c addiu a1, v0, -0x76e4 | a1 = v0 + -0x76e4;
0x0000d750 move a0, s7 | a0 = s7;
0x0000d754 jalr t9 | t9 ();
0x0000d758 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == 0) {
0x0000d75c beqz v0, 0xdb24 | goto label_7;
| }
| label_1:
0x0000d760 addiu s0, s0, 8 | s0 += 8;
0x0000d764 lw s7, 4(s0) | s7 = *((s0 + 1));
0x0000d768 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
| if (s7 == 0) {
0x0000d76c beqz s7, 0xd7ec | goto label_8;
| }
| label_0:
0x0000d770 lw t9, -0x7d60(gp) | t9 = sym.imp.strcmp;
| /* str.ifname */
0x0000d774 addiu a1, s2, -0x7774 | a1 = s2 + -0x7774;
0x0000d778 move a0, s7 | a0 = s7;
0x0000d77c jalr t9 | t9 ();
0x0000d780 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d784 bnez v0, 0xd72c |
| }
0x0000d788 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000d78c lw a3, -0x7f34(gp) | a3 = sym.cmd_check_no_env;
0x0000d790 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.Interface_Name */
0x0000d794 addiu a2, a2, -0x776c | a2 += -0x776c;
| label_2:
0x0000d798 lw v0, 0x3c(fp) | v0 = *(arg_3ch);
0x0000d79c move a1, s7 | a1 = s7;
0x0000d7a0 move a0, s3 | a0 = s3;
0x0000d7a4 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0000d7a8 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000d7ac bal 0xf854 | sym_commands_new ();
0x0000d7b0 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d7b4 lw v1, 4(s0) | v1 = *((s0 + 1));
0x0000d7b8 addiu s0, s0, 8 | s0 += 8;
0x0000d7bc lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d7c0 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000d7c4 sw s6, 0x10(sp) | *(var_10h) = s6;
0x0000d7c8 move a3, zero | a3 = 0;
0x0000d7cc move a2, zero | a2 = 0;
| /* str._CR_ */
0x0000d7d0 addiu a1, s1, 0x64c4 | a1 = s1 + 0x64c4;
0x0000d7d4 move a0, v0 | a0 = v0;
0x0000d7d8 bal 0xf854 | sym_commands_new ();
0x0000d7dc lw s7, 4(s0) | s7 = *((s0 + 1));
0x0000d7e0 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (s7 != 0) {
0x0000d7e4 bnez s7, 0xd770 | goto label_0;
| }
| do {
0x0000d7e8 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
| label_8:
0x0000d7ec lw a1, -0x7f80(gp) | a1 = *((gp - 8160));
0x0000d7f0 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d7f4 move a0, s5 | a0 = s5;
0x0000d7f8 move a3, zero | a3 = 0;
| /* str.Port_Description */
0x0000d7fc addiu a2, a2, -0x76cc | a2 += -0x76cc;
| /* str.portdescription */
0x0000d800 addiu a1, a1, -0x76b8 | a1 += -0x76b8;
0x0000d804 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000d808 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000d80c bal 0xf854 | sym_commands_new ();
0x0000d810 move a0, v0 | a0 = v0;
0x0000d814 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d818 lw v0, 0x28(fp) | v0 = *(arg_28h);
0x0000d81c lw v1, 0x2c(fp) | v1 = *(arg_2ch);
0x0000d820 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0000d824 lw v0, 0x38(fp) | v0 = *(arg_38h);
0x0000d828 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d82c addiu a2, v1, -0x771c | a2 = v1 + -0x771c;
0x0000d830 move a3, zero | a3 = 0;
0x0000d834 move a1, zero | a1 = 0;
0x0000d838 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000d83c bal 0xf854 | sym_commands_new ();
0x0000d840 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d844 move a0, v0 | a0 = v0;
| /* str._CR_ */
0x0000d848 addiu a1, s1, 0x64c4 | a1 = s1 + 0x64c4;
0x0000d84c lw v0, -0x7fdc(gp) | v0 = *(gp);
0x0000d850 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000d854 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d858 addiu v0, v0, -0x434c | v0 += -0x434c;
0x0000d85c move a3, zero | a3 = 0;
| /* str.Set_port_description */
0x0000d860 addiu a2, a2, -0x76a8 | a2 += -0x76a8;
0x0000d864 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000d868 lw s3, -0x7f80(gp) | s3 = *((gp - 8160));
0x0000d86c lw s0, -0x7f80(gp) | s0 = *((gp - 8160));
0x0000d870 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000d874 bal 0xf854 | sym_commands_new ();
0x0000d878 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d87c lw v0, 0x3c(fp) | v0 = *(arg_3ch);
| /* str.Enable_chassis_capabilities_advertisement */
0x0000d880 addiu a2, s3, -0x7690 | a2 = s3 + -0x7690;
0x0000d884 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d888 lw a3, -0x7f34(gp) | a3 = sym.cmd_check_no_env;
| /* str.capabilities_advertisements */
0x0000d88c addiu a1, s0, -0x7664 | a1 = s0 + -0x7664;
0x0000d890 move a0, s5 | a0 = s5;
0x0000d894 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0000d898 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000d89c bal 0xf854 | sym_commands_new ();
0x0000d8a0 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Enable_chassis_capabilities_advertisement */
0x0000d8a4 addiu a2, s3, -0x7690 | a2 = s3 + -0x7690;
| /* str._CR_ */
0x0000d8a8 addiu a1, s1, 0x64c4 | a1 = s1 + 0x64c4;
0x0000d8ac lw s2, -0x7fdc(gp) | s2 = *(gp);
0x0000d8b0 lw s6, -0x7fdc(gp) | s6 = *(gp);
0x0000d8b4 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.enable */
0x0000d8b8 addiu s2, s2, 0x7734 | s2 += 0x7734;
0x0000d8bc addiu s6, s6, -0x3c34 | s6 += -0x3c34;
0x0000d8c0 sw s2, 0x14(sp) | *(var_14h) = s2;
0x0000d8c4 sw s6, 0x10(sp) | *(var_10h) = s6;
0x0000d8c8 move a3, zero | a3 = 0;
0x0000d8cc lw s3, -0x7f80(gp) | s3 = *((gp - 8160));
0x0000d8d0 move a0, v0 | a0 = v0;
0x0000d8d4 bal 0xf854 | sym_commands_new ();
0x0000d8d8 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d8dc lw s7, 0x20(fp) | s7 = *(arg_20h);
| /* str.Dont_enable_chassis_capabilities_advertisement */
0x0000d8e0 addiu a2, s3, -0x7648 | a2 = s3 + -0x7648;
0x0000d8e4 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.capabilities_advertisements */
0x0000d8e8 addiu a1, s0, -0x7664 | a1 = s0 + -0x7664;
0x0000d8ec move a0, s7 | a0 = s7;
0x0000d8f0 move a3, zero | a3 = 0;
0x0000d8f4 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000d8f8 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000d8fc bal 0xf854 | sym_commands_new ();
0x0000d900 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Dont_enable_chassis_capabilities_advertisement */
0x0000d904 addiu a2, s3, -0x7648 | a2 = s3 + -0x7648;
| /* str._CR_ */
0x0000d908 addiu a1, s1, 0x64c4 | a1 = s1 + 0x64c4;
0x0000d90c lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d910 sw s6, 0x10(sp) | *(var_10h) = s6;
0x0000d914 move a3, zero | a3 = 0;
0x0000d918 move a0, v0 | a0 = v0;
0x0000d91c lw s4, -0x7f80(gp) | s4 = *((gp - 8160));
0x0000d920 lw s3, -0x7f80(gp) | s3 = *((gp - 8160));
0x0000d924 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000d928 bal 0xf854 | sym_commands_new ();
0x0000d92c lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Enable_management_addresses_advertisement */
0x0000d930 addiu a2, s4, -0x7618 | a2 = s4 + -0x7618;
| /* str.management_addresses_advertisements */
0x0000d934 addiu a1, s3, -0x75ec | a1 = s3 + -0x75ec;
0x0000d938 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d93c move a0, s5 | a0 = s5;
0x0000d940 move a3, zero | a3 = 0;
0x0000d944 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000d948 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000d94c bal 0xf854 | sym_commands_new ();
0x0000d950 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Enable_management_addresses_advertisement */
0x0000d954 addiu a2, s4, -0x7618 | a2 = s4 + -0x7618;
| /* str._CR_ */
0x0000d958 addiu a1, s1, 0x64c4 | a1 = s1 + 0x64c4;
0x0000d95c lw s0, -0x7fdc(gp) | s0 = *(gp);
0x0000d960 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d964 addiu s0, s0, -0x3dfc | s0 += -0x3dfc;
0x0000d968 sw s2, 0x14(sp) | *(var_14h) = s2;
0x0000d96c sw s0, 0x10(sp) | *(var_10h) = s0;
0x0000d970 move a3, zero | a3 = 0;
0x0000d974 lw s4, -0x7f80(gp) | s4 = *((gp - 8160));
0x0000d978 move a0, v0 | a0 = v0;
0x0000d97c bal 0xf854 | sym_commands_new ();
0x0000d980 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Dont_enable_management_addresses_advertisement */
0x0000d984 addiu a2, s4, -0x75c8 | a2 = s4 + -0x75c8;
| /* str.management_addresses_advertisements */
0x0000d988 addiu a1, s3, -0x75ec | a1 = s3 + -0x75ec;
0x0000d98c lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d990 move a0, s7 | a0 = s7;
0x0000d994 move a3, zero | a3 = 0;
0x0000d998 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000d99c sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000d9a0 bal 0xf854 | sym_commands_new ();
0x0000d9a4 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str._CR_ */
0x0000d9a8 addiu a1, s1, 0x64c4 | a1 = s1 + 0x64c4;
0x0000d9ac sw s0, 0x10(sp) | *(var_10h) = s0;
0x0000d9b0 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000d9b4 move a0, v0 | a0 = v0;
0x0000d9b8 sw zero, 0x14(sp) | *(var_14h) = 0;
| /* str.Dont_enable_management_addresses_advertisement */
0x0000d9bc addiu a2, s4, -0x75c8 | a2 = s4 + -0x75c8;
0x0000d9c0 move a3, zero | a3 = 0;
0x0000d9c4 bal 0xf854 | sym_commands_new ();
0x0000d9c8 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000d9cc move sp, fp |
0x0000d9d0 move a1, s7 | a1 = s7;
0x0000d9d4 lw ra, 0x64(sp) | ra = *(var_64h);
0x0000d9d8 lw fp, 0x60(sp) | fp = *(var_60h);
0x0000d9dc lw s7, 0x5c(sp) | s7 = *(var_5ch);
0x0000d9e0 lw s6, 0x58(sp) | s6 = *(var_58h);
0x0000d9e4 lw s4, 0x50(sp) | s4 = *(var_50h);
0x0000d9e8 lw s3, 0x4c(sp) | s3 = *(var_4ch);
0x0000d9ec lw s2, 0x48(sp) | s2 = *(var_48h);
0x0000d9f0 lw s1, 0x44(sp) | s1 = *(var_44h);
0x0000d9f4 lw s0, 0x40(sp) | s0 = *(var_40h);
0x0000d9f8 move a0, s5 | a0 = s5;
0x0000d9fc lw t9, -0x7f10(gp) | t9 = sym.register_commands_configure_lldp_custom_tlvs;
0x0000da00 lw s5, 0x54(sp) | s5 = *(var_54h);
0x0000da04 addiu sp, sp, 0x68 |
0x0000da08 b 0xcf9c | void (*0xcf9c)() ();
| label_6:
0x0000da0c lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000da10 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000da14 move a1, s7 | a1 = s7;
0x0000da18 move a3, zero | a3 = 0;
| /* str.Local */
0x0000da1c addiu a2, a2, -0x775c | a2 += -0x775c;
0x0000da20 move a0, s3 | a0 = s3;
0x0000da24 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000da28 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000da2c bal 0xf854 | sym_commands_new ();
0x0000da30 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000da34 move a0, v0 | a0 = v0;
0x0000da38 lw v0, 0x24(fp) | v0 = *(arg_24h);
0x0000da3c lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000da40 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0000da44 lw v0, 0x38(fp) | v0 = *(arg_38h);
0x0000da48 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000da4c move a3, zero | a3 = 0;
| /* str.Port_ID */
0x0000da50 addiu a2, a2, -0x7754 | a2 += -0x7754;
0x0000da54 move a1, zero | a1 = 0;
0x0000da58 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000da5c bal 0xf854 | sym_commands_new ();
0x0000da60 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000da64 lw t0, 4(s0) | t0 = *((s0 + 1));
0x0000da68 lw v1, 0x30(fp) | v1 = *(arg_30h);
0x0000da6c lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000da70 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000da74 sw v1, 0x10(sp) | *(var_10h) = v1;
0x0000da78 sw t0, 0x14(sp) | *(var_14h) = t0;
0x0000da7c move a3, zero | a3 = 0;
| /* str.Set_local_port_ID */
0x0000da80 addiu a2, a2, -0x774c | a2 += -0x774c;
| /* str._CR_ */
0x0000da84 addiu a1, s1, 0x64c4 | a1 = s1 + 0x64c4;
0x0000da88 move a0, v0 | a0 = v0;
0x0000da8c move s7, v0 | s7 = v0;
0x0000da90 bal 0xf854 | sym_commands_new ();
0x0000da94 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000da98 move a3, zero | a3 = 0;
0x0000da9c move a0, s7 | a0 = s7;
0x0000daa0 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000daa4 lw a1, -0x7f80(gp) | a1 = *((gp - 8160));
0x0000daa8 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.Also_set_port_description */
0x0000daac addiu a2, a2, -0x7738 | a2 += -0x7738;
| /* esilref: 'description' */
0x0000dab0 addiu a1, a1, -0x711c | a1 += -0x711c;
0x0000dab4 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000dab8 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000dabc bal 0xf854 | sym_commands_new ();
0x0000dac0 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000dac4 lw a0, 0x2c(fp) | a0 = *(arg_2ch);
0x0000dac8 lw t0, 0x28(fp) | t0 = *(arg_28h);
0x0000dacc addiu a2, a0, -0x771c | a2 = a0 + -0x771c;
0x0000dad0 move a0, v0 | a0 = v0;
0x0000dad4 lw v0, 0x38(fp) | v0 = *(arg_38h);
0x0000dad8 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000dadc move a3, zero | a3 = 0;
0x0000dae0 move a1, zero | a1 = 0;
0x0000dae4 sw t0, 0x14(sp) | *(var_14h) = t0;
0x0000dae8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0000daec bal 0xf854 | sym_commands_new ();
0x0000daf0 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000daf4 lw v1, 0x30(fp) | v1 = *(arg_30h);
0x0000daf8 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000dafc lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000db00 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000db04 sw v1, 0x10(sp) | *(var_10h) = v1;
0x0000db08 move a3, zero | a3 = 0;
| /* str.Set_local_port_ID_and_description */
0x0000db0c addiu a2, a2, -0x7708 | a2 += -0x7708;
| /* str._CR_ */
0x0000db10 addiu a1, s1, 0x64c4 | a1 = s1 + 0x64c4;
0x0000db14 move a0, v0 | a0 = v0;
0x0000db18 bal 0xf854 | sym_commands_new ();
0x0000db1c lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000db20 b 0xd760 | goto label_1;
| label_7:
0x0000db24 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000db28 lw a3, -0x7f34(gp) | a3 = sym.cmd_check_no_env;
0x0000db2c lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.MAC_Address */
0x0000db30 addiu a2, a2, -0x76d8 | a2 += -0x76d8;
0x0000db34 b 0xd798 | goto label_2;
| label_5:
0x0000db38 lw v0, -0x7f80(gp) | v0 = *((gp - 8160));
0x0000db3c sw v0, 0x2c(fp) | *(arg_2ch) = v0;
0x0000db40 lw v0, -0x7f80(gp) | v0 = *((gp - 8160));
| /* str.port_descr */
0x0000db44 addiu v0, v0, -0x7d54 | v0 += -0x7d54;
0x0000db48 sw v0, 0x28(fp) | *(arg_28h) = v0;
0x0000db4c b 0xd7e8 |
| } while (1);
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/lldpcli @ 0xec4c */
| #include <stdint.h>
|
; (fcn) sym.register_commands_configure_system () | void register_commands_configure_system () {
0x0000ec4c lui gp, 2 |
0x0000ec50 addiu gp, gp, 0x4444 |
0x0000ec54 addu gp, gp, t9 | gp += t9;
0x0000ec58 addiu sp, sp, -0x58 |
0x0000ec5c lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000ec60 sw s0, 0x30(sp) | *(var_30h) = s0;
0x0000ec64 lw s0, -0x7fdc(gp) | s0 = *(gp);
0x0000ec68 sw s2, 0x38(sp) | *(var_38h) = s2;
0x0000ec6c sw s1, 0x34(sp) | *(var_34h) = s1;
0x0000ec70 lw s2, -0x7f80(gp) | s2 = *((gp - 8160));
0x0000ec74 lw s1, -0x7f80(gp) | s1 = *((gp - 8160));
| /* str.ports */
0x0000ec78 addiu s0, s0, 0x7aec | s0 += 0x7aec;
0x0000ec7c lw a3, -0x7f34(gp) | a3 = sym.cmd_check_no_env;
0x0000ec80 sw fp, 0x50(sp) | *(var_50h) = fp;
0x0000ec84 move fp, sp | fp = sp;
0x0000ec88 sw ra, 0x54(sp) | *(var_54h) = ra;
| /* str.System_configuration */
0x0000ec8c addiu a2, s1, -0x7240 | a2 = s1 + -0x7240;
0x0000ec90 sw s7, 0x4c(sp) | *(var_4ch) = s7;
0x0000ec94 sw s6, 0x48(sp) | *(var_48h) = s6;
0x0000ec98 sw s5, 0x44(sp) | *(var_44h) = s5;
0x0000ec9c sw s4, 0x40(sp) | *(var_40h) = s4;
0x0000eca0 sw s3, 0x3c(sp) | *(var_3ch) = s3;
0x0000eca4 sw gp, 0x18(sp) | *(var_18h) = gp;
0x0000eca8 move s3, a1 | s3 = a1;
0x0000ecac sw s0, 0x14(sp) | *(var_14h) = s0;
0x0000ecb0 sw zero, 0x10(sp) | *(var_10h) = 0;
| /* str.system */
0x0000ecb4 addiu a1, s2, -0x7304 | a1 = s2 + -0x7304;
0x0000ecb8 bal 0xf854 | sym_commands_new ();
0x0000ecbc lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.System_configuration */
0x0000ecc0 addiu a2, s1, -0x7240 | a2 = s1 + -0x7240;
| /* str.system */
0x0000ecc4 addiu a1, s2, -0x7304 | a1 = s2 + -0x7304;
0x0000ecc8 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000eccc lw a3, -0x7f34(gp) | a3 = sym.cmd_check_no_env;
0x0000ecd0 move a0, s3 | a0 = s3;
0x0000ecd4 sw s0, 0x14(sp) | *(var_14h) = s0;
0x0000ecd8 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000ecdc lw s4, -0x7f80(gp) | s4 = *((gp - 8160));
0x0000ece0 lw s1, -0x7fdc(gp) | s1 = *(gp);
0x0000ece4 move s3, v0 | s3 = v0;
0x0000ece8 bal 0xf854 | sym_commands_new ();
0x0000ecec lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Interface_related_items */
0x0000ecf0 addiu a2, s4, -0x7228 | a2 = s4 + -0x7228;
| /* str.interface */
0x0000ecf4 addiu a1, s1, 0x6b38 | a1 = s1 + 0x6b38;
0x0000ecf8 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000ecfc move a0, s3 | a0 = s3;
0x0000ed00 move a3, zero | a3 = 0;
0x0000ed04 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000ed08 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000ed0c move s5, v0 | s5 = v0;
0x0000ed10 bal 0xf854 | sym_commands_new ();
0x0000ed14 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Interface_related_items */
0x0000ed18 addiu a2, s4, -0x7228 | a2 = s4 + -0x7228;
| /* str.interface */
0x0000ed1c addiu a1, s1, 0x6b38 | a1 = s1 + 0x6b38;
0x0000ed20 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000ed24 move a0, s5 | a0 = s5;
0x0000ed28 move a3, zero | a3 = 0;
0x0000ed2c sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000ed30 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000ed34 lw s0, -0x7f80(gp) | s0 = *((gp - 8160));
0x0000ed38 lw s1, -0x7f80(gp) | s1 = *((gp - 8160));
0x0000ed3c move s7, v0 | s7 = v0;
0x0000ed40 bal 0xf854 | sym_commands_new ();
0x0000ed44 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Override_chassis_description */
0x0000ed48 addiu a2, s0, -0x7210 | a2 = s0 + -0x7210;
| /* esilref: 'description' */
0x0000ed4c addiu a1, s1, -0x711c | a1 = s1 + -0x711c;
0x0000ed50 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000ed54 move a0, s3 | a0 = s3;
0x0000ed58 move a3, zero | a3 = 0;
0x0000ed5c sw s0, 0x2c(fp) | *(arg_2ch) = s0;
0x0000ed60 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000ed64 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000ed68 lw s4, -0x7f2c(gp) | s4 = sym.cmd_store_env_value;
0x0000ed6c move s6, v0 | s6 = v0;
0x0000ed70 bal 0xf854 | sym_commands_new ();
0x0000ed74 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* esilref: 'description' */
0x0000ed78 addiu s1, s1, -0x711c | s1 += -0x711c;
0x0000ed7c move a3, zero | a3 = 0;
0x0000ed80 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000ed84 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.Chassis_description */
0x0000ed88 addiu a2, a2, -0x71f0 | a2 += -0x71f0;
0x0000ed8c move a1, zero | a1 = 0;
0x0000ed90 move a0, v0 | a0 = v0;
0x0000ed94 sw s1, 0x14(sp) | *(var_14h) = s1;
0x0000ed98 sw s4, 0x10(sp) | *(var_10h) = s4;
0x0000ed9c bal 0xf854 | sym_commands_new ();
0x0000eda0 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000eda4 lw a0, 0x2c(fp) | a0 = *(arg_2ch);
| /* str.system */
0x0000eda8 addiu s2, s2, -0x7304 | s2 += -0x7304;
0x0000edac lw v1, -0x7fdc(gp) | v1 = *(gp);
0x0000edb0 lw s0, -0x7fdc(gp) | s0 = *(gp);
0x0000edb4 addiu v1, v1, -0x1830 | v1 += -0x1830;
0x0000edb8 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000edbc addiu a2, a0, -0x7210 | a2 = a0 + -0x7210;
0x0000edc0 sw v1, 0x2c(fp) | *(arg_2ch) = v1;
0x0000edc4 sw v1, 0x10(sp) | *(var_10h) = v1;
0x0000edc8 move a3, zero | a3 = 0;
| /* str._CR_ */
0x0000edcc addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x0000edd0 move a0, v0 | a0 = v0;
0x0000edd4 sw s2, 0x14(sp) | *(var_14h) = s2;
0x0000edd8 bal 0xf854 | sym_commands_new ();
0x0000eddc lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000ede0 move a1, s1 | a1 = s1;
0x0000ede4 move a0, s5 | a0 = s5;
0x0000ede8 lw v0, -0x7f80(gp) | v0 = *((gp - 8160));
0x0000edec lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000edf0 move a3, zero | a3 = 0;
| /* str.Dont_override_chassis_description */
0x0000edf4 addiu a2, v0, -0x71dc | a2 = v0 + -0x71dc;
0x0000edf8 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000edfc sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000ee00 bal 0xf854 | sym_commands_new ();
0x0000ee04 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000ee08 lw v1, 0x2c(fp) | v1 = *(arg_2ch);
0x0000ee0c move a3, zero | a3 = 0;
0x0000ee10 lw a0, -0x7f80(gp) | a0 = *((gp - 8160));
0x0000ee14 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000ee18 sw v1, 0x10(sp) | *(var_10h) = v1;
| /* str.Dont_override_chassis_description */
0x0000ee1c addiu a2, a0, -0x71dc | a2 = a0 + -0x71dc;
| /* str._CR_ */
0x0000ee20 addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x0000ee24 move a0, v0 | a0 = v0;
0x0000ee28 sw s2, 0x14(sp) | *(var_14h) = s2;
0x0000ee2c bal 0xf854 | sym_commands_new ();
0x0000ee30 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000ee34 move a0, s3 | a0 = s3;
0x0000ee38 move a3, zero | a3 = 0;
0x0000ee3c lw t0, -0x7f80(gp) | t0 = *((gp - 8160));
0x0000ee40 lw v0, -0x7f80(gp) | v0 = *((gp - 8160));
0x0000ee44 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.chassisid */
0x0000ee48 addiu a1, t0, -0x71a4 | a1 = t0 + -0x71a4;
| /* str.Override_chassis_ID */
0x0000ee4c addiu a2, v0, -0x71b8 | a2 = v0 + -0x71b8;
0x0000ee50 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000ee54 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000ee58 bal 0xf854 | sym_commands_new ();
0x0000ee5c lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000ee60 move a3, zero | a3 = 0;
0x0000ee64 move a1, zero | a1 = 0;
0x0000ee68 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000ee6c lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.Chassis_ID */
0x0000ee70 addiu a2, a2, -0x7198 | a2 += -0x7198;
0x0000ee74 move a0, v0 | a0 = v0;
0x0000ee78 sw s1, 0x14(sp) | *(var_14h) = s1;
0x0000ee7c sw s4, 0x10(sp) | *(var_10h) = s4;
0x0000ee80 bal 0xf854 | sym_commands_new ();
0x0000ee84 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000ee88 move a3, zero | a3 = 0;
| /* str._CR_ */
0x0000ee8c addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x0000ee90 lw v1, -0x7fdc(gp) | v1 = *(gp);
0x0000ee94 lw a0, -0x7f80(gp) | a0 = *((gp - 8160));
0x0000ee98 addiu v1, v1, -0x1c2c | v1 += -0x1c2c;
0x0000ee9c lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.Override_chassis_ID */
0x0000eea0 addiu a2, a0, -0x71b8 | a2 = a0 + -0x71b8;
0x0000eea4 sw v1, 0x10(sp) | *(var_10h) = v1;
0x0000eea8 sw v1, 0x28(fp) | *(arg_28h) = v1;
0x0000eeac move a0, v0 | a0 = v0;
0x0000eeb0 sw s2, 0x14(sp) | *(var_14h) = s2;
0x0000eeb4 bal 0xf854 | sym_commands_new ();
0x0000eeb8 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000eebc move a0, s5 | a0 = s5;
0x0000eec0 move a3, zero | a3 = 0;
0x0000eec4 lw t0, -0x7f80(gp) | t0 = *((gp - 8160));
0x0000eec8 lw v0, -0x7f80(gp) | v0 = *((gp - 8160));
0x0000eecc lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.chassisid */
0x0000eed0 addiu a1, t0, -0x71a4 | a1 = t0 + -0x71a4;
| /* str.Dont_override_chassis_ID */
0x0000eed4 addiu a2, v0, -0x718c | a2 = v0 + -0x718c;
0x0000eed8 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000eedc sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000eee0 bal 0xf854 | sym_commands_new ();
0x0000eee4 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000eee8 lw v1, 0x28(fp) | v1 = *(arg_28h);
0x0000eeec move a3, zero | a3 = 0;
0x0000eef0 lw a0, -0x7f80(gp) | a0 = *((gp - 8160));
0x0000eef4 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000eef8 sw v1, 0x10(sp) | *(var_10h) = v1;
| /* str.Dont_override_chassis_ID */
0x0000eefc addiu a2, a0, -0x718c | a2 = a0 + -0x718c;
| /* str._CR_ */
0x0000ef00 addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x0000ef04 move a0, v0 | a0 = v0;
0x0000ef08 sw s2, 0x14(sp) | *(var_14h) = s2;
0x0000ef0c bal 0xf854 | sym_commands_new ();
0x0000ef10 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000ef14 move a0, s3 | a0 = s3;
0x0000ef18 move a3, zero | a3 = 0;
0x0000ef1c lw s2, -0x7fdc(gp) | s2 = *(gp);
0x0000ef20 lw v0, -0x7f80(gp) | v0 = *((gp - 8160));
0x0000ef24 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.platform */
0x0000ef28 addiu a1, s2, 0x7228 | a1 = s2 + 0x7228;
| /* str.Override_platform_description */
0x0000ef2c addiu a2, v0, -0x7170 | a2 = v0 + -0x7170;
0x0000ef30 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000ef34 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000ef38 bal 0xf854 | sym_commands_new ();
0x0000ef3c lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.platform */
0x0000ef40 addiu s2, s2, 0x7228 | s2 += 0x7228;
0x0000ef44 move a3, zero | a3 = 0;
0x0000ef48 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000ef4c lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.Platform_description__CDP_ */
0x0000ef50 addiu a2, a2, -0x7150 | a2 += -0x7150;
0x0000ef54 move a1, zero | a1 = 0;
0x0000ef58 move a0, v0 | a0 = v0;
0x0000ef5c sw s2, 0x14(sp) | *(var_14h) = s2;
0x0000ef60 sw s4, 0x10(sp) | *(var_10h) = s4;
0x0000ef64 bal 0xf854 | sym_commands_new ();
0x0000ef68 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000ef6c lw v1, 0x2c(fp) | v1 = *(arg_2ch);
0x0000ef70 move a3, zero | a3 = 0;
0x0000ef74 lw a0, -0x7f80(gp) | a0 = *((gp - 8160));
0x0000ef78 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.Override_platform_description */
0x0000ef7c addiu a2, a0, -0x7170 | a2 = a0 + -0x7170;
0x0000ef80 sw v1, 0x10(sp) | *(var_10h) = v1;
| /* str._CR_ */
0x0000ef84 addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x0000ef88 move a0, v0 | a0 = v0;
0x0000ef8c sw s2, 0x14(sp) | *(var_14h) = s2;
0x0000ef90 bal 0xf854 | sym_commands_new ();
0x0000ef94 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000ef98 move a1, s2 | a1 = s2;
0x0000ef9c move a0, s5 | a0 = s5;
0x0000efa0 lw v0, -0x7f80(gp) | v0 = *((gp - 8160));
0x0000efa4 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000efa8 move a3, zero | a3 = 0;
| /* str.Dont_override_platform_description */
0x0000efac addiu a2, v0, -0x7134 | a2 = v0 + -0x7134;
0x0000efb0 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000efb4 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000efb8 bal 0xf854 | sym_commands_new ();
0x0000efbc lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000efc0 lw v1, 0x2c(fp) | v1 = *(arg_2ch);
0x0000efc4 move a3, zero | a3 = 0;
0x0000efc8 lw a0, -0x7f80(gp) | a0 = *((gp - 8160));
0x0000efcc lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.Dont_override_platform_description */
0x0000efd0 addiu a2, a0, -0x7134 | a2 = a0 + -0x7134;
0x0000efd4 sw v1, 0x10(sp) | *(var_10h) = v1;
| /* str._CR_ */
0x0000efd8 addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x0000efdc move a0, v0 | a0 = v0;
0x0000efe0 sw s2, 0x14(sp) | *(var_14h) = s2;
0x0000efe4 bal 0xf854 | sym_commands_new ();
0x0000efe8 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000efec move a0, s3 | a0 = s3;
0x0000eff0 move a3, zero | a3 = 0;
0x0000eff4 lw s2, -0x7f80(gp) | s2 = *((gp - 8160));
0x0000eff8 lw t0, -0x7fdc(gp) | t0 = *(gp);
0x0000effc lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.Override_system_name */
0x0000f000 addiu a2, s2, -0x7110 | a2 = s2 + -0x7110;
| /* str.hostname */
0x0000f004 addiu a1, t0, 0x7250 | a1 = t0 + 0x7250;
0x0000f008 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f00c sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000f010 bal 0xf854 | sym_commands_new ();
0x0000f014 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000f018 move a3, zero | a3 = 0;
0x0000f01c move a1, zero | a1 = 0;
0x0000f020 lw t0, -0x7fdc(gp) | t0 = *(gp);
0x0000f024 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
| /* str.hostname */
0x0000f028 addiu v1, t0, 0x7250 | v1 = t0 + 0x7250;
0x0000f02c lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f030 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000f034 sw v1, 0x28(fp) | *(arg_28h) = v1;
| /* str.System_name */
0x0000f038 addiu a2, a2, -0x70f8 | a2 += -0x70f8;
0x0000f03c move a0, v0 | a0 = v0;
0x0000f040 sw s4, 0x10(sp) | *(var_10h) = s4;
0x0000f044 bal 0xf854 | sym_commands_new ();
0x0000f048 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Override_system_name */
0x0000f04c addiu a2, s2, -0x7110 | a2 = s2 + -0x7110;
0x0000f050 move a3, zero | a3 = 0;
0x0000f054 lw t0, -0x7fdc(gp) | t0 = *(gp);
0x0000f058 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f05c addiu t0, t0, -0x1a7c | t0 += -0x1a7c;
0x0000f060 sw t0, 0x10(sp) | *(var_10h) = t0;
0x0000f064 sw t0, 0x2c(fp) | *(arg_2ch) = t0;
| /* str._CR_ */
0x0000f068 addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x0000f06c move a0, v0 | a0 = v0;
0x0000f070 lw s2, -0x7f80(gp) | s2 = *((gp - 8160));
0x0000f074 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f078 bal 0xf854 | sym_commands_new ();
0x0000f07c lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000f080 lw v1, 0x28(fp) | v1 = *(arg_28h);
| /* str.Dont_override_system_name */
0x0000f084 addiu a2, s2, -0x70ec | a2 = s2 + -0x70ec;
0x0000f088 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f08c move a1, v1 | a1 = v1;
0x0000f090 move a0, s5 | a0 = s5;
0x0000f094 move a3, zero | a3 = 0;
0x0000f098 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f09c sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000f0a0 bal 0xf854 | sym_commands_new ();
0x0000f0a4 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000f0a8 lw t0, 0x2c(fp) | t0 = *(arg_2ch);
| /* str.Dont_override_system_name */
0x0000f0ac addiu a2, s2, -0x70ec | a2 = s2 + -0x70ec;
0x0000f0b0 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f0b4 sw t0, 0x10(sp) | *(var_10h) = t0;
0x0000f0b8 move a3, zero | a3 = 0;
| /* str._CR_ */
0x0000f0bc addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x0000f0c0 move a0, v0 | a0 = v0;
0x0000f0c4 lw s2, -0x7f80(gp) | s2 = *((gp - 8160));
0x0000f0c8 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f0cc bal 0xf854 | sym_commands_new ();
0x0000f0d0 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.IP_related_options */
0x0000f0d4 addiu a2, s2, -0x70d0 | a2 = s2 + -0x70d0;
0x0000f0d8 move a0, s3 | a0 = s3;
0x0000f0dc lw v1, -0x7f80(gp) | v1 = *((gp - 8160));
0x0000f0e0 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* esilref: 'ip' */
0x0000f0e4 addiu a1, v1, -0x70bc | a1 = v1 + -0x70bc;
0x0000f0e8 move a3, zero | a3 = 0;
0x0000f0ec sw s2, 0x2c(fp) | *(arg_2ch) = s2;
0x0000f0f0 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f0f4 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000f0f8 bal 0xf854 | sym_commands_new ();
0x0000f0fc lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000f100 move a3, zero | a3 = 0;
0x0000f104 move a0, v0 | a0 = v0;
0x0000f108 lw t0, -0x7f80(gp) | t0 = *((gp - 8160));
0x0000f10c lw t1, -0x7f80(gp) | t1 = *((gp - 8160));
0x0000f110 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.IP_management_related_options */
0x0000f114 addiu a2, t0, -0x70b8 | a2 = t0 + -0x70b8;
| /* str.management */
0x0000f118 addiu a1, t1, -0x7098 | a1 = t1 + -0x7098;
0x0000f11c sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f120 lw s2, -0x7f80(gp) | s2 = *((gp - 8160));
0x0000f124 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000f128 bal 0xf854 | sym_commands_new ();
0x0000f12c lw gp, 0x18(fp) | gp = *(arg_18h);
| /* esilref: 'pattern' */
0x0000f130 addiu a1, s2, -0x74f0 | a1 = s2 + -0x74f0;
0x0000f134 move a3, zero | a3 = 0;
0x0000f138 lw t2, -0x7f80(gp) | t2 = *((gp - 8160));
0x0000f13c lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.Set_IP_management_pattern */
0x0000f140 addiu a2, t2, -0x708c | a2 = t2 + -0x708c;
0x0000f144 move a0, v0 | a0 = v0;
0x0000f148 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f14c sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000f150 bal 0xf854 | sym_commands_new ();
0x0000f154 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000f158 move a0, v0 | a0 = v0;
0x0000f15c move a3, zero | a3 = 0;
0x0000f160 lw v0, -0x7f80(gp) | v0 = *((gp - 8160));
0x0000f164 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000f168 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.management_pattern */
0x0000f16c addiu v0, v0, -0x7420 | v0 += -0x7420;
| /* str.IP_management_pattern__comma_separated_list_of_wildcards_ */
0x0000f170 addiu a2, a2, -0x7070 | a2 += -0x7070;
0x0000f174 move a1, zero | a1 = 0;
0x0000f178 sw s4, 0x10(sp) | *(var_10h) = s4;
0x0000f17c sw v0, 0x14(sp) | *(var_14h) = v0;
0x0000f180 bal 0xf854 | sym_commands_new ();
0x0000f184 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000f188 move a3, zero | a3 = 0;
| /* str._CR_ */
0x0000f18c addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x0000f190 lw v1, -0x7fdc(gp) | v1 = *(gp);
0x0000f194 lw t2, -0x7f80(gp) | t2 = *((gp - 8160));
0x0000f198 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f19c addiu v1, v1, -0x1de0 | v1 += -0x1de0;
| /* str.Set_IP_management_pattern */
0x0000f1a0 addiu a2, t2, -0x708c | a2 = t2 + -0x708c;
0x0000f1a4 move a0, v0 | a0 = v0;
0x0000f1a8 sw v1, 0x10(sp) | *(var_10h) = v1;
0x0000f1ac sw v1, 0x28(fp) | *(arg_28h) = v1;
0x0000f1b0 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f1b4 bal 0xf854 | sym_commands_new ();
0x0000f1b8 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000f1bc lw v0, 0x2c(fp) | v0 = *(arg_2ch);
0x0000f1c0 move a0, s5 | a0 = s5;
0x0000f1c4 lw v1, -0x7f80(gp) | v1 = *((gp - 8160));
0x0000f1c8 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* esilref: 'ip' */
0x0000f1cc addiu a1, v1, -0x70bc | a1 = v1 + -0x70bc;
0x0000f1d0 move a3, zero | a3 = 0;
0x0000f1d4 addiu a2, v0, -0x70d0 | a2 = v0 + -0x70d0;
0x0000f1d8 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f1dc sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000f1e0 bal 0xf854 | sym_commands_new ();
0x0000f1e4 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000f1e8 move a3, zero | a3 = 0;
0x0000f1ec move a0, v0 | a0 = v0;
0x0000f1f0 lw t1, -0x7f80(gp) | t1 = *((gp - 8160));
0x0000f1f4 lw t0, -0x7f80(gp) | t0 = *((gp - 8160));
0x0000f1f8 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.management */
0x0000f1fc addiu a1, t1, -0x7098 | a1 = t1 + -0x7098;
| /* str.IP_management_related_options */
0x0000f200 addiu a2, t0, -0x70b8 | a2 = t0 + -0x70b8;
0x0000f204 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f208 lw s5, -0x7f80(gp) | s5 = *((gp - 8160));
0x0000f20c sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000f210 bal 0xf854 | sym_commands_new ();
0x0000f214 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Delete_any_IP_management_pattern */
0x0000f218 addiu a2, s5, -0x7034 | a2 = s5 + -0x7034;
| /* esilref: 'pattern' */
0x0000f21c addiu a1, s2, -0x74f0 | a1 = s2 + -0x74f0;
0x0000f220 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f224 move a3, zero | a3 = 0;
0x0000f228 move a0, v0 | a0 = v0;
0x0000f22c sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f230 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000f234 bal 0xf854 | sym_commands_new ();
0x0000f238 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000f23c lw v1, 0x28(fp) | v1 = *(arg_28h);
| /* str.Delete_any_IP_management_pattern */
0x0000f240 addiu a2, s5, -0x7034 | a2 = s5 + -0x7034;
0x0000f244 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f248 sw v1, 0x10(sp) | *(var_10h) = v1;
0x0000f24c move a3, zero | a3 = 0;
| /* str._CR_ */
0x0000f250 addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x0000f254 move a0, v0 | a0 = v0;
0x0000f258 lw s5, -0x7f80(gp) | s5 = *((gp - 8160));
0x0000f25c sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f260 bal 0xf854 | sym_commands_new ();
0x0000f264 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Set_active_interface_pattern */
0x0000f268 addiu a2, s5, -0x7010 | a2 = s5 + -0x7010;
| /* esilref: 'pattern' */
0x0000f26c addiu a1, s2, -0x74f0 | a1 = s2 + -0x74f0;
0x0000f270 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f274 move a3, zero | a3 = 0;
0x0000f278 move a0, s7 | a0 = s7;
0x0000f27c sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f280 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000f284 bal 0xf854 | sym_commands_new ();
0x0000f288 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000f28c move a3, zero | a3 = 0;
0x0000f290 move a1, zero | a1 = 0;
0x0000f294 lw v1, -0x7fdc(gp) | v1 = *(gp);
0x0000f298 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
| /* str.iface_pattern */
0x0000f29c addiu v1, v1, 0x715c | v1 += 0x715c;
0x0000f2a0 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f2a4 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000f2a8 sw v1, 0x24(fp) | *(arg_24h) = v1;
| /* str.Interface_pattern__comma_separated_list_of_wildcards_ */
0x0000f2ac addiu a2, a2, -0x6ff0 | a2 += -0x6ff0;
0x0000f2b0 move a0, v0 | a0 = v0;
0x0000f2b4 sw s4, 0x10(sp) | *(var_10h) = s4;
0x0000f2b8 bal 0xf854 | sym_commands_new ();
0x0000f2bc lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Set_active_interface_pattern */
0x0000f2c0 addiu a2, s5, -0x7010 | a2 = s5 + -0x7010;
0x0000f2c4 move a3, zero | a3 = 0;
0x0000f2c8 lw t0, -0x7fdc(gp) | t0 = *(gp);
0x0000f2cc lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f2d0 addiu t0, t0, -0x1f94 | t0 += -0x1f94;
0x0000f2d4 sw t0, 0x10(sp) | *(var_10h) = t0;
0x0000f2d8 sw t0, 0x28(fp) | *(arg_28h) = t0;
| /* str._CR_ */
0x0000f2dc addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x0000f2e0 move a0, v0 | a0 = v0;
0x0000f2e4 lw s5, -0x7f80(gp) | s5 = *((gp - 8160));
0x0000f2e8 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f2ec bal 0xf854 | sym_commands_new ();
0x0000f2f0 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Delete_any_interface_pattern */
0x0000f2f4 addiu a2, s5, -0x6fb8 | a2 = s5 + -0x6fb8;
| /* esilref: 'pattern' */
0x0000f2f8 addiu a1, s2, -0x74f0 | a1 = s2 + -0x74f0;
0x0000f2fc lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f300 move a0, s6 | a0 = s6;
0x0000f304 move a3, zero | a3 = 0;
0x0000f308 sw s5, 0x2c(fp) | *(arg_2ch) = s5;
0x0000f30c sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f310 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000f314 bal 0xf854 | sym_commands_new ();
0x0000f318 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000f31c lw t0, 0x28(fp) | t0 = *(arg_28h);
0x0000f320 move a3, zero | a3 = 0;
0x0000f324 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000f328 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f32c sw t0, 0x10(sp) | *(var_10h) = t0;
| /* str.Clear_interface_pattern */
0x0000f330 addiu a2, a2, -0x6f98 | a2 += -0x6f98;
| /* str._CR_ */
0x0000f334 addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x0000f338 move a0, v0 | a0 = v0;
0x0000f33c lw s5, -0x7f80(gp) | s5 = *((gp - 8160));
0x0000f340 lw s2, -0x7f80(gp) | s2 = *((gp - 8160));
0x0000f344 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f348 bal 0xf854 | sym_commands_new ();
0x0000f34c lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Set_permanent_interface_pattern */
0x0000f350 addiu a2, s5, -0x6f80 | a2 = s5 + -0x6f80;
| /* str.permanent */
0x0000f354 addiu a1, s2, -0x6f60 | a1 = s2 + -0x6f60;
0x0000f358 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f35c move a3, zero | a3 = 0;
0x0000f360 move a0, s7 | a0 = s7;
0x0000f364 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f368 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000f36c bal 0xf854 | sym_commands_new ();
0x0000f370 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000f374 lw v1, 0x24(fp) | v1 = *(arg_24h);
0x0000f378 move a3, zero | a3 = 0;
0x0000f37c lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000f380 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f384 sw v1, 0x14(sp) | *(var_14h) = v1;
| /* str.Permanent_interface_pattern__comma_separated_list_of_wildcards_ */
0x0000f388 addiu a2, a2, -0x6f54 | a2 += -0x6f54;
0x0000f38c move a1, zero | a1 = 0;
0x0000f390 move a0, v0 | a0 = v0;
0x0000f394 sw s4, 0x10(sp) | *(var_10h) = s4;
0x0000f398 bal 0xf854 | sym_commands_new ();
0x0000f39c lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Set_permanent_interface_pattern */
0x0000f3a0 addiu a2, s5, -0x6f80 | a2 = s5 + -0x6f80;
0x0000f3a4 move a3, zero | a3 = 0;
0x0000f3a8 lw s4, -0x7fdc(gp) | s4 = *(gp);
0x0000f3ac lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f3b0 addiu s4, s4, -0x2148 | s4 += -0x2148;
| /* str._CR_ */
0x0000f3b4 addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x0000f3b8 move a0, v0 | a0 = v0;
0x0000f3bc sw s4, 0x10(sp) | *(var_10h) = s4;
0x0000f3c0 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f3c4 bal 0xf854 | sym_commands_new ();
0x0000f3c8 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.permanent */
0x0000f3cc addiu a1, s2, -0x6f60 | a1 = s2 + -0x6f60;
0x0000f3d0 move a0, s6 | a0 = s6;
0x0000f3d4 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000f3d8 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f3dc move a3, zero | a3 = 0;
| /* str.Clear_permanent_interface_pattern */
0x0000f3e0 addiu a2, a2, -0x6f14 | a2 += -0x6f14;
0x0000f3e4 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f3e8 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000f3ec bal 0xf854 | sym_commands_new ();
0x0000f3f0 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000f3f4 lw s5, 0x2c(fp) | s5 = *(arg_2ch);
0x0000f3f8 move a3, zero | a3 = 0;
0x0000f3fc lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f400 addiu a2, s5, -0x6fb8 | a2 = s5 + -0x6fb8;
| /* str._CR_ */
0x0000f404 addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x0000f408 move a0, v0 | a0 = v0;
0x0000f40c sw s4, 0x10(sp) | *(var_10h) = s4;
0x0000f410 lw s2, -0x7f80(gp) | s2 = *((gp - 8160));
0x0000f414 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f418 bal 0xf854 | sym_commands_new ();
0x0000f41c lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Update_interface_descriptions_with_neighbor_name */
0x0000f420 addiu a2, s2, -0x6ef0 | a2 = s2 + -0x6ef0;
0x0000f424 move a1, s1 | a1 = s1;
0x0000f428 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f42c move a3, zero | a3 = 0;
0x0000f430 move a0, s7 | a0 = s7;
0x0000f434 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f438 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000f43c bal 0xf854 | sym_commands_new ();
0x0000f440 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Update_interface_descriptions_with_neighbor_name */
0x0000f444 addiu a2, s2, -0x6ef0 | a2 = s2 + -0x6ef0;
0x0000f448 move a3, zero | a3 = 0;
0x0000f44c lw s5, -0x7fdc(gp) | s5 = *(gp);
0x0000f450 lw v1, -0x7fdc(gp) | v1 = *(gp);
0x0000f454 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f458 addiu v1, v1, -0x22fc | v1 += -0x22fc;
| /* str.enable */
0x0000f45c addiu s5, s5, 0x7734 | s5 += 0x7734;
0x0000f460 sw v1, 0x10(sp) | *(var_10h) = v1;
0x0000f464 sw v1, 0x2c(fp) | *(arg_2ch) = v1;
| /* str._CR_ */
0x0000f468 addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x0000f46c move a0, v0 | a0 = v0;
0x0000f470 lw s2, -0x7f80(gp) | s2 = *((gp - 8160));
0x0000f474 sw s5, 0x14(sp) | *(var_14h) = s5;
0x0000f478 bal 0xf854 | sym_commands_new ();
0x0000f47c lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Dont_update_interface_descriptions_with_neighbor_name */
0x0000f480 addiu a2, s2, -0x6ebc | a2 = s2 + -0x6ebc;
0x0000f484 move a1, s1 | a1 = s1;
0x0000f488 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f48c move a0, s6 | a0 = s6;
0x0000f490 move a3, zero | a3 = 0;
0x0000f494 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f498 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000f49c bal 0xf854 | sym_commands_new ();
0x0000f4a0 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000f4a4 lw v1, 0x2c(fp) | v1 = *(arg_2ch);
| /* str.Dont_update_interface_descriptions_with_neighbor_name */
0x0000f4a8 addiu a2, s2, -0x6ebc | a2 = s2 + -0x6ebc;
0x0000f4ac lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f4b0 sw v1, 0x10(sp) | *(var_10h) = v1;
0x0000f4b4 move a3, zero | a3 = 0;
| /* str._CR_ */
0x0000f4b8 addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x0000f4bc move a0, v0 | a0 = v0;
0x0000f4c0 lw s4, -0x7f80(gp) | s4 = *((gp - 8160));
0x0000f4c4 lw s2, -0x7f80(gp) | s2 = *((gp - 8160));
0x0000f4c8 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f4cc bal 0xf854 | sym_commands_new ();
0x0000f4d0 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Enable_promiscuous_mode_on_managed_interfaces */
0x0000f4d4 addiu a2, s4, -0x6e84 | a2 = s4 + -0x6e84;
0x0000f4d8 move a3, zero | a3 = 0;
0x0000f4dc lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.promiscuous */
0x0000f4e0 addiu a1, s2, -0x6e54 | a1 = s2 + -0x6e54;
0x0000f4e4 move a0, s7 | a0 = s7;
0x0000f4e8 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f4ec sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000f4f0 bal 0xf854 | sym_commands_new ();
0x0000f4f4 lw gp, 0x18(fp) | gp = *(arg_18h);
| /* str.Enable_promiscuous_mode_on_managed_interfaces */
0x0000f4f8 addiu a2, s4, -0x6e84 | a2 = s4 + -0x6e84;
0x0000f4fc move a3, zero | a3 = 0;
0x0000f500 lw s1, -0x7fdc(gp) | s1 = *(gp);
0x0000f504 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f508 addiu s1, s1, -0x24b0 | s1 += -0x24b0;
| /* str._CR_ */
0x0000f50c addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x0000f510 move a0, v0 | a0 = v0;
0x0000f514 sw s5, 0x14(sp) | *(var_14h) = s5;
0x0000f518 lw s4, -0x7f80(gp) | s4 = *((gp - 8160));
0x0000f51c sw s1, 0x10(sp) | *(var_10h) = s1;
0x0000f520 bal 0xf854 | sym_commands_new ();
0x0000f524 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000f528 move a0, s6 | a0 = s6;
0x0000f52c move a3, zero | a3 = 0;
0x0000f530 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.Dont_enable_promiscuous_mode_on_managed_interfaces */
0x0000f534 addiu a2, s4, -0x6e48 | a2 = s4 + -0x6e48;
| /* str.promiscuous */
0x0000f538 addiu a1, s2, -0x6e54 | a1 = s2 + -0x6e54;
0x0000f53c sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f540 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000f544 bal 0xf854 | sym_commands_new ();
0x0000f548 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000f54c move a3, zero | a3 = 0;
| /* str.Dont_enable_promiscuous_mode_on_managed_interfaces */
0x0000f550 addiu a2, s4, -0x6e48 | a2 = s4 + -0x6e48;
0x0000f554 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str._CR_ */
0x0000f558 addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x0000f55c move a0, v0 | a0 = v0;
0x0000f560 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f564 sw s1, 0x10(sp) | *(var_10h) = s1;
0x0000f568 bal 0xf854 | sym_commands_new ();
0x0000f56c lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000f570 move a0, s3 | a0 = s3;
0x0000f574 move a3, zero | a3 = 0;
0x0000f578 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000f57c lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0000f580 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
| /* str.Set_LLDP_bond_slave_source_MAC_type */
0x0000f584 addiu a2, a2, -0x6e14 | a2 += -0x6e14;
| /* str.bond_slave_src_mac_type */
0x0000f588 addiu a1, a1, 0x73bc | a1 += 0x73bc;
0x0000f58c sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f590 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000f594 bal 0xf854 | sym_commands_new ();
0x0000f598 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000f59c addiu a0, zero, 0xfa8 | a0 = 0xfa8;
0x0000f5a0 lw t9, -0x7e7c(gp) | t9 = sym.imp.lldpctl_key_get_map;
0x0000f5a4 move s3, v0 | s3 = v0;
0x0000f5a8 jalr t9 | t9 ();
0x0000f5ac lw s6, 4(v0) | s6 = *((v0 + 1));
0x0000f5b0 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (s6 == 0) {
0x0000f5b4 beqz s6, 0xf6c8 | goto label_2;
| }
0x0000f5b8 move s1, v0 | s1 = v0;
0x0000f5bc lw v0, -0x7f80(gp) | v0 = *((gp - 8160));
0x0000f5c0 lw s5, -0x7f80(gp) | s5 = *((gp - 8160));
0x0000f5c4 sw v0, 0x2c(fp) | *(arg_2ch) = v0;
0x0000f5c8 lw s4, -0x7fdc(gp) | s4 = *(gp);
0x0000f5cc lw v0, -0x7f80(gp) | v0 = *((gp - 8160));
0x0000f5d0 lw s2, -0x7fdc(gp) | s2 = *(gp);
0x0000f5d4 lw s7, -0x7f80(gp) | s7 = *((gp - 8160));
0x0000f5d8 sw v0, 0x28(fp) | *(arg_28h) = v0;
| /* str.zero */
0x0000f5dc addiu s5, s5, -0x6ddc | s5 += -0x6ddc;
| /* str.local */
0x0000f5e0 addiu s4, s4, 0x7bfc | s4 += 0x7bfc;
0x0000f5e4 addiu s2, s2, -0x1620 | s2 += -0x1620;
0x0000f5e8 b 0xf648 |
| while (v0 != 0) {
0x0000f5ec jalr t9 | t9 ();
0x0000f5f0 nop |
0x0000f5f4 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000f5f8 lw v1, 0x2c(fp) | v1 = *(arg_2ch);
0x0000f5fc move a0, s6 | a0 = s6;
0x0000f600 addiu a1, v1, -0x6dc4 | a1 = v1 + -0x6dc4;
0x0000f604 lw t9, -0x7d60(gp) | t9 = sym.imp.strcmp;
| if (v0 == 0) {
0x0000f608 beqz v0, 0xf714 | goto label_3;
| }
0x0000f60c jalr t9 | t9 ();
0x0000f610 nop |
0x0000f614 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000f618 move a0, s6 | a0 = s6;
0x0000f61c move a1, s4 | a1 = s4;
0x0000f620 lw t9, -0x7d60(gp) | t9 = sym.imp.strcmp;
| if (v0 == 0) {
0x0000f624 beqz v0, 0xf6fc | goto label_4;
| }
0x0000f628 jalr t9 | t9 ();
0x0000f62c nop |
0x0000f630 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 == 0) {
0x0000f634 beqz v0, 0xf72c | goto label_5;
| }
0x0000f638 addiu s1, s1, 8 | s1 += 8;
0x0000f63c lw s6, 4(s1) | s6 = *((s1 + 1));
| if (s6 == 0) {
0x0000f640 beqz s6, 0xf6c8 | goto label_2;
| }
0x0000f644 nop |
| label_0:
0x0000f648 lw t9, -0x7d60(gp) | t9 = sym.imp.strcmp;
0x0000f64c move a0, s6 | a0 = s6;
| /* str.real */
0x0000f650 addiu a1, s7, -0x6df0 | a1 = s7 + -0x6df0;
0x0000f654 jalr t9 | t9 ();
0x0000f658 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000f65c move a0, s6 | a0 = s6;
0x0000f660 move a1, s5 | a1 = s5;
0x0000f664 lw t9, -0x7d60(gp) | t9 = sym.imp.strcmp;
0x0000f668 bnez v0, 0xf5ec |
| }
0x0000f66c lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000f670 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f674 move a3, zero | a3 = 0;
| /* str.Real_mac */
0x0000f678 addiu a2, a2, -0x6de8 | a2 += -0x6de8;
0x0000f67c move a1, s6 | a1 = s6;
| label_1:
0x0000f680 move a0, s3 | a0 = s3;
0x0000f684 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0000f688 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0000f68c bal 0xf854 | sym_commands_new ();
0x0000f690 lw gp, 0x18(fp) | gp = *(arg_18h);
0x0000f694 lw v1, 4(s1) | v1 = *((s1 + 1));
0x0000f698 addiu s1, s1, 8 | s1 += 8;
0x0000f69c lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f6a0 sw v1, 0x14(sp) | *(var_14h) = v1;
0x0000f6a4 sw s2, 0x10(sp) | *(var_10h) = s2;
0x0000f6a8 move a3, zero | a3 = 0;
0x0000f6ac move a2, zero | a2 = 0;
| /* str._CR_ */
0x0000f6b0 addiu a1, s0, 0x64c4 | a1 = s0 + 0x64c4;
0x0000f6b4 move a0, v0 | a0 = v0;
0x0000f6b8 bal 0xf854 | sym_commands_new ();
0x0000f6bc lw s6, 4(s1) | s6 = *((s1 + 1));
0x0000f6c0 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (s6 != 0) {
0x0000f6c4 bnez s6, 0xf648 | goto label_0;
| }
| label_2:
0x0000f6c8 move sp, fp |
0x0000f6cc lw ra, 0x54(fp) | ra = *(arg_54h);
0x0000f6d0 lw fp, 0x50(sp) | fp = *(var_50h);
0x0000f6d4 lw s7, 0x4c(sp) | s7 = *(var_4ch);
0x0000f6d8 lw s6, 0x48(sp) | s6 = *(var_48h);
0x0000f6dc lw s5, 0x44(sp) | s5 = *(var_44h);
0x0000f6e0 lw s4, 0x40(sp) | s4 = *(var_40h);
0x0000f6e4 lw s3, 0x3c(sp) | s3 = *(var_3ch);
0x0000f6e8 lw s2, 0x38(sp) | s2 = *(var_38h);
0x0000f6ec lw s1, 0x34(sp) | s1 = *(var_34h);
0x0000f6f0 lw s0, 0x30(sp) | s0 = *(var_30h);
0x0000f6f4 addiu sp, sp, 0x58 |
0x0000f6f8 jr ra | return v0;
| label_4:
0x0000f6fc lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000f700 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f704 move a3, zero | a3 = 0;
| /* str.Fixed_value__3Com_card_ */
0x0000f708 addiu a2, a2, -0x6dbc | a2 += -0x6dbc;
0x0000f70c move a1, s6 | a1 = s6;
0x0000f710 b 0xf680 | goto label_1;
| label_3:
0x0000f714 lw a2, -0x7f80(gp) | a2 = *((gp - 8160));
0x0000f718 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f71c move a3, zero | a3 = 0;
| /* str.All_zero_mac */
0x0000f720 addiu a2, a2, -0x6dd4 | a2 += -0x6dd4;
0x0000f724 move a1, s6 | a1 = s6;
0x0000f728 b 0xf680 | goto label_1;
| label_5:
0x0000f72c lw v0, 0x28(fp) | v0 = *(arg_28h);
0x0000f730 lw t9, -0x7f94(gp) | t9 = sym.commands_new;
0x0000f734 move a1, s6 | a1 = s6;
0x0000f738 move a3, zero | a3 = 0;
0x0000f73c addiu a2, v0, -0x6da4 | a2 = v0 + -0x6da4;
0x0000f740 b 0xf680 | goto label_1;
| }
[*] Function system used 13 times lldpcli