[*] Binary protection state of libavcodec.so.58.54.100
Full RELRO Canary found NX enabled DSO No RPATH No RUNPATH No Symbols
[*] Function fprintf tear down of libavcodec.so.58.54.100
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libavcodec.so.58.54.100 @ 0x199ec */
| #include <stdint.h>
|
; (fcn) fcn.000199ec () | void fcn_000199ec () {
0x000199ec lui gp, 4 |
0x000199f0 addiu gp, gp, -0x39fc |
0x000199f4 addu gp, gp, t9 | gp += t9;
0x000199f8 lw v0, 0x2b8(a0) | v0 = *((a0 + 174));
0x000199fc andi v0, v0, 1 | v0 &= 1;
0x00019a00 lw t9, -0x7e50(gp) | t9 = *((gp - 8084));
| if (v0 != 0) {
0x00019a04 beqz v0, 0x19a14 |
0x00019a08 lw t9, -0x7e4c(gp) | t9 = *((gp - 8083));
0x00019a0c lw a1, 0x2b0(a0) | a1 = *((arg_4h + 10.75));
0x00019a10 b 0x1ad34 |
| } else {
0x00019a14 b 0x1c068 | goto label_10;
0x00019a18 nop |
| }
| label_6:
0x0001ad34 lui gp, 4 |
0x0001ad38 addiu gp, gp, -0x4d44 |
0x0001ad3c addu gp, gp, t9 | gp += t9;
0x0001ad40 lw v0, 0x1c(a0) | v0 = *((a0 + 7));
0x0001ad44 addiu sp, sp, -0x48 |
0x0001ad48 lw t9, -0x7fd0(gp) | t9 = *((gp - 8180));
0x0001ad4c sw s1, 0x24(sp) | *(var_24h_2) = s1;
0x0001ad50 lw s1, 0x14(v0) | s1 = *((v0 + 5));
0x0001ad54 sw gp, 0x18(sp) | *(var_18h) = gp;
0x0001ad58 sw s6, 0x38(sp) | *(var_20h) = s6;
0x0001ad5c sw s5, 0x34(sp) | *(var_1ch) = s5;
0x0001ad60 sw a0, 0x48(sp) | *(arg_48h) = a0;
0x0001ad64 lw s6, 0xc(a0) | s6 = *((a0 + 3));
0x0001ad68 sw ra, 0x44(sp) | *(var_2ch) = ra;
0x0001ad6c sw fp, 0x40(sp) | *(var_28h) = fp;
0x0001ad70 sw s7, 0x3c(sp) | *(var_24h) = s7;
0x0001ad74 sw s4, 0x30(sp) | *(var_30h) = s4;
0x0001ad78 sw s3, 0x2c(sp) | *(var_2ch_2) = s3;
0x0001ad7c sw s2, 0x28(sp) | *(var_10h) = s2;
0x0001ad80 sw s0, 0x20(sp) | *(var_20h_2) = s0;
0x0001ad84 move a0, s1 | a0 = s1;
0x0001ad88 addiu t9, t9, -0x6344 | t9 += -0x6344;
0x0001ad8c move s5, a1 | s5 = a1;
0x0001ad90 bal 0x19cbc | fcn_00019cbc ();
0x0001ad94 lw v0, 4(s1) | v0 = *((s1 + 1));
0x0001ad98 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x0001ad9c beqz v0, 0x1adc8 |
0x0001ada0 lw v1, (s1) | v1 = *(s1);
0x0001ada4 lw t9, -0x7fd0(gp) | t9 = *((gp - 8180));
| if (v0 == v1) {
0x0001ada8 beq v0, v1, 0x1adc8 | goto label_2;
| }
0x0001adac lw a1, 0xd0(v0) | a1 = *((v0 + 52));
0x0001adb0 lw a0, 0xd0(v1) | a0 = *((v1 + 52));
0x0001adb4 addiu t9, t9, -0x65e0 | t9 += -0x65e0;
0x0001adb8 move a2, zero | a2 = 0;
0x0001adbc bal 0x19a20 | fcn_00019a20 ();
0x0001adc0 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 < 0) {
0x0001adc4 bltz v0, 0x1b0c4 | goto label_11;
| }
| }
| label_2:
0x0001adc8 move s2, zero | s2 = 0;
| if (s5 <= 0) {
0x0001adcc blez s5, 0x1aff8 | goto label_12;
| }
0x0001add0 move s3, zero | s3 = 0;
0x0001add4 addiu s7, zero, 1 | s7 = 1;
0x0001add8 addiu s4, zero, 0x198 | s4 = aav.0x00000198;
| label_0:
0x0001addc lw v1, (s1) | v1 = *(s1);
0x0001ade0 lw t9, -0x7c4c(gp) | t9 = *((gp - 7955));
0x0001ade4 addu fp, v1, s2 | fp = v1 + s2;
0x0001ade8 addiu s0, fp, 0xa0 | s0 = fp + 0xa0;
0x0001adec move a0, s0 | a0 = s0;
0x0001adf0 jalr t9 | t9 ();
0x0001adf4 lw gp, 0x18(sp) | gp = *(var_18h);
0x0001adf8 addiu a0, fp, 0x10 | a0 = fp + 0x10;
0x0001adfc lw t9, -0x7c90(gp) | t9 = *((gp - 7972));
0x0001ae00 sw s7, 0x14c(fp) | *(arg_14ch) = s7;
0x0001ae04 jalr t9 | t9 ();
0x0001ae08 lw gp, 0x18(sp) | gp = *(var_18h);
0x0001ae0c lw t9, -0x7b70(gp) | t9 = *((gp - 7900));
0x0001ae10 move a0, s0 | a0 = s0;
0x0001ae14 jalr t9 | t9 ();
0x0001ae18 lw v0, 8(fp) | v0 = *(arg_8h);
0x0001ae1c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x0001ae20 bnez v0, 0x1aee0 | goto label_13;
| }
| label_1:
0x0001ae24 lw t9, 0x60(s6) | t9 = *((s6 + 24));
0x0001ae28 sw zero, 8(fp) | *(arg_8h) = 0;
| if (t9 != 0) {
0x0001ae2c beqz t9, 0x1ae48 |
0x0001ae30 lw a0, 0xd0(fp) | a0 = *(arg_d0h);
| if (a0 == 0) {
0x0001ae34 beql a0, zero, 0x1ae4c | goto label_14;
| }
0x0001ae38 lw s0, (fp) | s0 = *(fp);
0x0001ae3c jalr t9 | t9 ();
0x0001ae40 nop |
0x0001ae44 lw gp, 0x18(sp) | gp = *(var_18h);
| }
0x0001ae48 lw s0, (fp) | s0 = *(fp);
| label_14:
0x0001ae4c lw v0, 0x134(fp) | v0 = *(arg_134h);
0x0001ae50 addiu s0, s0, 8 | s0 += 8;
| if (v0 <= 0) {
0x0001ae54 blez v0, 0x1aebc | goto label_15;
| }
| do {
0x0001ae58 lw t9, -0x7c4c(gp) | t9 = *((gp - 7955));
0x0001ae5c move a0, s0 | a0 = s0;
0x0001ae60 jalr t9 | t9 ();
0x0001ae64 lw v0, 0xd0(fp) | v0 = *(arg_d0h);
0x0001ae68 lw v0, 8(v0) | v0 = *((v0 + 2));
0x0001ae6c sltiu v0, v0, 2 | v0 = (v0 < 2) ? 1 : 0;
0x0001ae70 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x0001ae74 beqz v0, 0x1b10c | goto label_16;
| }
0x0001ae78 lw a0, 0x134(fp) | a0 = *(arg_134h);
0x0001ae7c lw v0, 0x130(fp) | v0 = *(arg_130h);
0x0001ae80 addiu a0, a0, -1 | a0 += -1;
0x0001ae84 mul v1, a0, s4 | __asm ("mul v1, a0, s4");
0x0001ae88 lw t9, -0x7d74(gp) | t9 = *((gp - 8029));
0x0001ae8c sw a0, 0x134(fp) | *(arg_134h) = a0;
0x0001ae90 addu v0, v1, v0 | v0 = v1 + v0;
0x0001ae94 move a0, v0 | a0 = v0;
0x0001ae98 sw v0, 0x40(v0) | *((v0 + 16)) = v0;
0x0001ae9c jalr t9 | t9 ();
0x0001aea0 lw gp, 0x18(sp) | gp = *(var_18h);
0x0001aea4 lw t9, -0x7b70(gp) | t9 = *((gp - 7900));
0x0001aea8 move a0, s0 | a0 = s0;
0x0001aeac jalr t9 | t9 ();
0x0001aeb0 lw v0, 0x134(fp) | v0 = *(arg_134h);
0x0001aeb4 lw gp, 0x18(sp) | gp = *(var_18h);
0x0001aeb8 bgtz v0, 0x1ae58 |
| } while (v0 > 0);
| label_15:
0x0001aebc lw t9, -0x7d58(gp) | t9 = *((gp - 8022));
0x0001aec0 addiu a0, fp, 0x120 | a0 = fp + aav.0x00000120;
0x0001aec4 jalr t9 | t9 ();
0x0001aec8 addiu v0, s3, 1 | v0 = s3 + 1;
0x0001aecc lw gp, 0x18(sp) | gp = *(var_18h);
0x0001aed0 addiu s2, s2, 0x160 | s2 += aav.0x00000160;
| if (s5 != v0) {
0x0001aed4 beq s5, v0, 0x1aef8 |
0x0001aed8 move s3, v0 | s3 = v0;
0x0001aedc b 0x1addc | goto label_0;
| label_13:
0x0001aee0 lw t9, -0x7d70(gp) | t9 = *((gp - 8028));
0x0001aee4 lw a0, 4(fp) | a0 = *(arg_4h);
0x0001aee8 move a1, zero | a1 = 0;
0x0001aeec jalr t9 | t9 ();
0x0001aef0 lw gp, 0x18(sp) | gp = *(var_18h);
0x0001aef4 b 0x1ae24 | goto label_1;
| }
0x0001aef8 move s4, zero | s4 = 0;
0x0001aefc move s2, zero | s2 = 0;
0x0001af00 b 0x1af08 |
| while (s2 != s3) {
0x0001af04 move s2, v0 | s2 = v0;
0x0001af08 lw s0, (s1) | s0 = *(s1);
0x0001af0c lw t9, -0x7bb8(gp) | t9 = *((gp - 7918));
0x0001af10 addu s0, s0, s4 | s0 += s4;
0x0001af14 addiu a0, s0, 0xa0 | a0 = s0 + 0xa0;
0x0001af18 jalr t9 | t9 ();
0x0001af1c lw gp, 0x18(sp) | gp = *(var_18h);
0x0001af20 lw t9, -0x7bb8(gp) | t9 = *((gp - 7918));
0x0001af24 addiu a0, s0, 0xb8 | a0 = s0 + 0xb8;
0x0001af28 jalr t9 | t9 ();
0x0001af2c lw gp, 0x18(sp) | gp = *(var_18h);
0x0001af30 lw t9, -0x7d60(gp) | t9 = *((gp - 8024));
0x0001af34 addiu a0, s0, 0x10 | a0 = s0 + 0x10;
0x0001af38 jalr t9 | t9 ();
0x0001af3c lw gp, 0x18(sp) | gp = *(var_18h);
0x0001af40 lw t9, -0x7d60(gp) | t9 = *((gp - 8024));
0x0001af44 addiu a0, s0, 0x40 | a0 = s0 + 0x40;
0x0001af48 jalr t9 | t9 ();
0x0001af4c lw gp, 0x18(sp) | gp = *(var_18h);
0x0001af50 lw t9, -0x7d60(gp) | t9 = *((gp - 8024));
0x0001af54 addiu a0, s0, 0x70 | a0 = s0 + 0x70;
0x0001af58 jalr t9 | t9 ();
0x0001af5c lw gp, 0x18(sp) | gp = *(var_18h);
0x0001af60 lw t9, -0x7f54(gp) | t9 = *((gp - 8149));
0x0001af64 addiu a0, s0, 0xd8 | a0 = s0 + 0xd8;
0x0001af68 bal 0xa76c | sym_av_packet_unref ();
0x0001af6c lw gp, 0x18(sp) | gp = *(var_18h);
0x0001af70 lw t9, -0x7c78(gp) | t9 = *((gp - 7966));
0x0001af74 addiu a0, s0, 0x130 | a0 = s0 + aav.0x00000130;
0x0001af78 jalr t9 | t9 ();
0x0001af7c lw gp, 0x18(sp) | gp = *(var_18h);
| if (s2 != 0) {
0x0001af80 beqz s2, 0x1afb0 |
0x0001af84 lw a0, 0xd0(s0) | a0 = *((s0 + 52));
0x0001af88 lw t9, -0x7c78(gp) | t9 = *((gp - 7966));
| if (a0 == 0) {
0x0001af8c beqz a0, 0x1afdc | goto label_17;
| }
0x0001af90 addiu a0, a0, 0x18 | a0 += 0x18;
0x0001af94 jalr t9 | t9 ();
0x0001af98 lw gp, 0x18(sp) | gp = *(var_18h);
0x0001af9c lw a0, 0xd0(s0) | a0 = *((s0 + 52));
0x0001afa0 lw t9, -0x7c78(gp) | t9 = *((gp - 7966));
0x0001afa4 addiu a0, a0, 0xb8 | a0 += 0xb8;
0x0001afa8 jalr t9 | t9 ();
0x0001afac lw gp, 0x18(sp) | gp = *(var_18h);
| }
0x0001afb0 lw a0, 0xd0(s0) | a0 = *((s0 + 52));
0x0001afb4 lw t9, -0x7c78(gp) | t9 = *((gp - 7966));
| if (a0 != 0) {
0x0001afb8 beqz a0, 0x1afdc |
0x0001afbc addiu a0, a0, 0x1c | a0 += 0x1c;
0x0001afc0 jalr t9 | t9 ();
0x0001afc4 lw gp, 0x18(sp) | gp = *(var_18h);
0x0001afc8 lw a0, 0xd0(s0) | a0 = *((s0 + 52));
0x0001afcc lw t9, -0x7dd0(gp) | t9 = *((gp - 8052));
0x0001afd0 addiu a0, a0, 0x35c | a0 += 0x35c;
0x0001afd4 jalr t9 | t9 ();
0x0001afd8 lw gp, 0x18(sp) | gp = *(var_18h);
| }
| label_17:
0x0001afdc lw t9, -0x7c78(gp) | t9 = *((gp - 7966));
0x0001afe0 addiu a0, s0, 0xd0 | a0 = s0 + 0xd0;
0x0001afe4 jalr t9 | t9 ();
0x0001afe8 addiu s4, s4, 0x160 | s4 += aav.0x00000160;
0x0001afec lw gp, 0x18(sp) | gp = *(var_18h);
0x0001aff0 addiu v0, s2, 1 | v0 = s2 + 1;
0x0001aff4 bne s2, s3, 0x1af04 |
| }
| label_12:
0x0001aff8 lw t9, -0x7c78(gp) | t9 = *((gp - 7966));
0x0001affc move a0, s1 | a0 = s1;
0x0001b000 jalr t9 | t9 ();
0x0001b004 lw gp, 0x18(sp) | gp = *(var_18h);
0x0001b008 lw t9, -0x7bb8(gp) | t9 = *((gp - 7918));
0x0001b00c addiu a0, s1, 8 | a0 = s1 + 8;
0x0001b010 jalr t9 | t9 ();
0x0001b014 lw gp, 0x18(sp) | gp = *(var_18h);
0x0001b018 lw t9, -0x7bb8(gp) | t9 = *((gp - 7918));
0x0001b01c addiu a0, s1, 0x20 | a0 = s1 + 0x20;
0x0001b020 jalr t9 | t9 ();
0x0001b024 lw gp, 0x18(sp) | gp = *(var_18h);
0x0001b028 lw t9, -0x7bb8(gp) | t9 = *((gp - 7918));
0x0001b02c addiu a0, s1, 0x38 | a0 = s1 + 0x38;
0x0001b030 jalr t9 | t9 ();
0x0001b034 lw gp, 0x18(sp) | gp = *(var_18h);
0x0001b038 lw t9, -0x7d60(gp) | t9 = *((gp - 8024));
0x0001b03c addiu a0, s1, 0x50 | a0 = s1 + 0x50;
0x0001b040 jalr t9 | t9 ();
0x0001b044 lw v0, 0x48(sp) | v0 = *(arg_48h);
0x0001b048 lw gp, 0x18(sp) | gp = *(var_18h);
0x0001b04c lw a0, 0x1c(v0) | a0 = *((v0 + 7));
0x0001b050 lw t9, -0x7c78(gp) | t9 = *((gp - 7966));
0x0001b054 addiu a0, a0, 0x14 | a0 += 0x14;
0x0001b058 jalr t9 | t9 ();
0x0001b05c lw v0, 0x48(sp) | v0 = *(arg_48h);
0x0001b060 lw a0, 0x18(v0) | a0 = *((v0 + 6));
0x0001b064 lw gp, 0x18(sp) | gp = *(var_18h);
| if (a0 != 0) {
0x0001b068 beqz a0, 0x1b090 |
0x0001b06c lw v0, 0xc(v0) | v0 = *((v0 + 3));
| if (v0 == 0) {
0x0001b070 beql v0, zero, 0x1b090 | goto label_18;
| }
0x0001b074 lw v0, 0x48(sp) | v0 = *(arg_48h);
0x0001b078 lw v0, 0x2c(v0) | v0 = *((v0 + 11));
0x0001b07c lw t9, -0x7bdc(gp) | t9 = *((gp - 7927));
| if (v0 != 0) {
0x0001b080 beqz v0, 0x1b08c |
0x0001b084 jalr t9 | t9 ();
0x0001b088 nop |
| }
0x0001b08c lw v0, 0x48(sp) | v0 = *(arg_48h);
| }
| label_18:
0x0001b090 lw ra, 0x44(sp) | ra = *(var_2ch);
0x0001b094 lw fp, 0x40(sp) | fp = *(var_28h);
0x0001b098 lw s7, 0x3c(sp) | s7 = *(var_24h);
0x0001b09c lw s6, 0x38(sp) | s6 = *(var_20h);
0x0001b0a0 lw s5, 0x34(sp) | s5 = *(var_1ch);
0x0001b0a4 lw s4, 0x30(sp) | s4 = *(var_30h);
0x0001b0a8 lw s3, 0x2c(sp) | s3 = *(var_2ch_2);
0x0001b0ac lw s2, 0x28(sp) | s2 = *(var_10h);
0x0001b0b0 lw s1, 0x24(sp) | s1 = *(var_24h_2);
0x0001b0b4 lw s0, 0x20(sp) | s0 = *(var_20h_2);
0x0001b0b8 sw zero, 0xc(v0) | *((v0 + 3)) = 0;
0x0001b0bc addiu sp, sp, 0x48 |
0x0001b0c0 jr ra | return v0;
| label_11:
0x0001b0c4 lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
0x0001b0c8 lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x0001b0cc lw a0, 0x48(sp) | a0 = *(arg_48h);
0x0001b0d0 addiu a2, a2, 0x1d4c | a2 += 0x1d4c;
0x0001b0d4 addiu a1, zero, 0x10 | a1 = 0x10;
0x0001b0d8 jalr t9 | t9 ();
0x0001b0dc lw v0, (s1) | v0 = *(s1);
0x0001b0e0 lw v1, 4(s1) | v1 = *((s1 + 1));
0x0001b0e4 lw gp, 0x18(sp) | gp = *(var_18h);
0x0001b0e8 lw v0, 0xd0(v0) | v0 = *((v0 + 52));
0x0001b0ec lw v1, 0xd0(v1) | v1 = *((v1 + 52));
0x0001b0f0 lw v0, 0x1c(v0) | v0 = *((v0 + 7));
0x0001b0f4 lw v1, 0x1c(v1) | v1 = *((v1 + 7));
0x0001b0f8 lw a0, (v0) | a0 = *(v0);
0x0001b0fc sw a0, (v1) | *(v1) = a0;
0x0001b100 addiu v1, zero, 1 | v1 = 1;
0x0001b104 sw v1, (v0) | *(v0) = v1;
0x0001b108 b 0x1adc8 | goto label_2;
| label_16:
0x0001b10c addiu v0, zero, 0x173 | v0 = 0x173;
0x0001b110 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0001b114 lw v0, -0x7fd4(gp) | v0 = *((gp - 8181));
0x0001b118 lw a3, -0x7fd4(gp) | a3 = *((gp - 8181));
0x0001b11c lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x0001b120 lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x0001b124 addiu v0, v0, 0x1bbc | v0 += 0x1bbc;
0x0001b128 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x0001b12c addiu a3, a3, 0x1bdc | a3 += 0x1bdc;
0x0001b130 addiu a2, a2, 0x7f70 | a2 += 0x7f70;
0x0001b134 move a1, zero | a1 = 0;
0x0001b138 move a0, zero | a0 = 0;
0x0001b13c jalr t9 | t9 ();
0x0001b140 lw gp, 0x18(sp) | gp = *(var_18h);
0x0001b144 lw t9, -0x7da8(gp) | t9 = *((gp - 8042));
0x0001b148 jalr t9 | t9 ();
0x0001b14c nop |
0x0001b150 lui gp, 4 |
0x0001b154 addiu gp, gp, -0x5160 |
0x0001b158 addu gp, gp, t9 | gp += t9;
0x0001b15c lw v0, -0x7be8(gp) | v0 = *((gp - 7930));
0x0001b160 addiu sp, sp, -0x58 |
0x0001b164 sw s5, 0x44(sp) | *(var_44h) = s5;
0x0001b168 sw v0, 0x24(sp) | *(var_24h_3) = v0;
0x0001b16c lw s5, 0x2b0(a0) | s5 = *((a0 + 172));
0x0001b170 lw v0, (v0) | v0 = *(v0);
0x0001b174 sw gp, 0x10(sp) | *(var_10h_3) = gp;
0x0001b178 sw s6, 0x48(sp) | *(var_48h) = s6;
0x0001b17c sw s4, 0x40(sp) | *(var_40h) = s4;
0x0001b180 sw ra, 0x54(sp) | *(var_54h) = ra;
0x0001b184 sw fp, 0x50(sp) | *(var_50h) = fp;
0x0001b188 sw s7, 0x4c(sp) | *(var_4ch) = s7;
0x0001b18c sw s3, 0x3c(sp) | *(var_3ch) = s3;
0x0001b190 sw s2, 0x38(sp) | *(var_38h) = s2;
0x0001b194 sw s1, 0x34(sp) | *(var_34h) = s1;
0x0001b198 sw s0, 0x30(sp) | *(var_30h_2) = s0;
0x0001b19c move s6, a0 | s6 = a0;
0x0001b1a0 sw v0, 0x2c(sp) | *(var_2ch_3) = v0;
0x0001b1a4 lw s4, 0xc(a0) | s4 = *((a0 + 3));
| if (s5 == 0) {
0x0001b1a8 beqz s5, 0x1b53c | goto label_19;
| }
0x0001b1ac slti v0, s5, 2 | v0 = (s5 < 2) ? 1 : 0;
0x0001b1b0 sw zero, 0x2b8(s6) | *((s6 + 174)) = 0;
| if (v0 == 0) {
0x0001b1b4 bnel v0, zero, 0x1b560 | goto label_20;
| }
| label_8:
0x0001b1b8 lw t9, -0x7c54(gp) | t9 = *((gp - 7957));
0x0001b1bc addiu a0, zero, 0x90 | a0 = 0x90;
0x0001b1c0 jalr t9 | t9 ();
0x0001b1c4 lw v1, 0x1c(s6) | v1 = *((s6 + 7));
0x0001b1c8 lw gp, 0x10(sp) | gp = *(var_10h_3);
0x0001b1cc move s3, v0 | s3 = v0;
0x0001b1d0 sw v0, 0x14(v1) | *((v1 + 5)) = v0;
| if (v0 == 0) {
0x0001b1d4 beqz v0, 0x1b5f4 | goto label_21;
| }
0x0001b1d8 lw t9, -0x7d68(gp) | t9 = *((gp - 8026));
0x0001b1dc addiu a1, zero, 0x160 | a1 = aav.0x00000160;
0x0001b1e0 move a0, s5 | a0 = s5;
0x0001b1e4 jalr t9 | t9 ();
0x0001b1e8 sw v0, (s3) | *(s3) = v0;
0x0001b1ec lw gp, 0x10(sp) | gp = *(var_10h_3);
| if (v0 == 0) {
0x0001b1f0 beqz v0, 0x1b5fc | goto label_22;
| }
0x0001b1f4 lw t9, -0x7bf8(gp) | t9 = *((gp - 7934));
0x0001b1f8 move a1, zero | a1 = 0;
0x0001b1fc addiu a0, s3, 8 | a0 = s3 + 8;
0x0001b200 jalr t9 | t9 ();
0x0001b204 lw gp, 0x10(sp) | gp = *(var_10h_3);
0x0001b208 move a1, zero | a1 = 0;
0x0001b20c addiu a0, s3, 0x20 | a0 = s3 + 0x20;
0x0001b210 lw t9, -0x7bf8(gp) | t9 = *((gp - 7934));
0x0001b214 move s2, s6 | s2 = s6;
0x0001b218 jalr t9 | t9 ();
0x0001b21c lw gp, 0x10(sp) | gp = *(var_10h_3);
0x0001b220 move a1, zero | a1 = 0;
0x0001b224 addiu a0, s3, 0x38 | a0 = s3 + 0x38;
0x0001b228 lw t9, -0x7bf8(gp) | t9 = *((gp - 7934));
0x0001b22c move s1, zero | s1 = 0;
0x0001b230 jalr t9 | t9 ();
0x0001b234 lw gp, 0x10(sp) | gp = *(var_10h_3);
0x0001b238 move a1, zero | a1 = 0;
0x0001b23c lw t9, -0x7cdc(gp) | t9 = *((gp - 7991));
0x0001b240 addiu a0, s3, 0x50 | a0 = s3 + 0x50;
0x0001b244 jalr t9 | t9 ();
0x0001b248 lw gp, 0x10(sp) | gp = *(var_10h_3);
0x0001b24c addiu v0, zero, 1 | v0 = 1;
0x0001b250 sw v0, 0x80(s3) | *((s3 + 32)) = v0;
0x0001b254 sw v0, 0x8c(s3) | *((s3 + 35)) = v0;
0x0001b258 lw v0, -0x7fd0(gp) | v0 = *((gp - 8180));
0x0001b25c lw s7, -0x7fd0(gp) | s7 = *((gp - 8180));
0x0001b260 addiu v0, v0, -0x65e0 | v0 += -0x65e0;
0x0001b264 sw v0, 0x20(sp) | *(var_20h_4) = v0;
0x0001b268 addiu v0, s7, -0x5610 | v0 = s7 + -0x5610;
0x0001b26c sw v0, 0x18(sp) | *(var_18h_3) = v0;
0x0001b270 lw t9, -0x7dc4(gp) | t9 = *((gp - 8049));
| label_3:
0x0001b274 addiu a0, zero, 0x388 | a0 = 0x388;
0x0001b278 jalr t9 | t9 ();
0x0001b27c addiu v1, zero, 0x160 | v1 = aav.0x00000160;
0x0001b280 mul a0, s1, v1 | __asm ("mul a0, s1, v1");
0x0001b284 lw gp, 0x10(sp) | gp = *(var_10h_3);
0x0001b288 lw s0, (s3) | s0 = *(s3);
0x0001b28c move a1, zero | a1 = 0;
0x0001b290 lw t9, -0x7bf8(gp) | t9 = *((gp - 7934));
0x0001b294 addu s0, a0, s0 | s0 = a0 + s0;
0x0001b298 addiu a0, s0, 0xa0 | a0 = s0 + 0xa0;
0x0001b29c sw v0, 0x28(sp) | *(var_28h_3) = v0;
0x0001b2a0 jalr t9 | t9 ();
0x0001b2a4 lw gp, 0x10(sp) | gp = *(var_10h_3);
0x0001b2a8 move a1, zero | a1 = 0;
0x0001b2ac lw t9, -0x7bf8(gp) | t9 = *((gp - 7934));
0x0001b2b0 addiu a0, s0, 0xb8 | a0 = s0 + 0xb8;
0x0001b2b4 jalr t9 | t9 ();
0x0001b2b8 lw gp, 0x10(sp) | gp = *(var_10h_3);
0x0001b2bc move a1, zero | a1 = 0;
0x0001b2c0 lw t9, -0x7cdc(gp) | t9 = *((gp - 7991));
0x0001b2c4 addiu a0, s0, 0x10 | a0 = s0 + 0x10;
0x0001b2c8 jalr t9 | t9 ();
0x0001b2cc lw gp, 0x10(sp) | gp = *(var_10h_3);
0x0001b2d0 move a1, zero | a1 = 0;
0x0001b2d4 lw t9, -0x7cdc(gp) | t9 = *((gp - 7991));
0x0001b2d8 addiu a0, s0, 0x40 | a0 = s0 + 0x40;
0x0001b2dc jalr t9 | t9 ();
0x0001b2e0 lw gp, 0x10(sp) | gp = *(var_10h_3);
0x0001b2e4 move a1, zero | a1 = 0;
0x0001b2e8 lw t9, -0x7cdc(gp) | t9 = *((gp - 7991));
0x0001b2ec addiu a0, s0, 0x70 | a0 = s0 + 0x70;
0x0001b2f0 jalr t9 | t9 ();
0x0001b2f4 lw gp, 0x10(sp) | gp = *(var_10h_3);
0x0001b2f8 lw t9, -0x7d88(gp) | t9 = *((gp - 8034));
0x0001b2fc jalr t9 | t9 ();
0x0001b300 nop |
0x0001b304 lw gp, 0x10(sp) | gp = *(var_10h_3);
0x0001b308 sw v0, 0x120(s0) | *(s0) = v0;
| if (v0 == 0) {
0x0001b30c beqz v0, 0x1b5d0 | goto label_23;
| }
0x0001b310 lw fp, 0x28(sp) | fp = *(var_28h_3);
0x0001b314 sw s3, (s0) | *(s0) = s3;
0x0001b318 sw fp, 0xd0(s0) | *((s0 + 52)) = fp;
| if (fp == 0) {
0x0001b31c beqz fp, 0x1b5a8 | goto label_24;
| }
0x0001b320 move v0, s2 | v0 = s2;
0x0001b324 move v1, fp | v1 = fp;
0x0001b328 addiu t1, s2, 0x380 | t1 = s2 + 0x380;
| do {
0x0001b32c lw t0, (v0) | t0 = *(v0);
0x0001b330 lw a3, 4(v0) | a3 = *((v0 + 1));
0x0001b334 lw a2, 8(v0) | a2 = *((v0 + 2));
0x0001b338 lw a0, 0xc(v0) | a0 = *((v0 + 3));
0x0001b33c addiu v0, v0, 0x10 | v0 += 0x10;
0x0001b340 sw t0, (v1) | *(v1) = t0;
0x0001b344 sw a3, 4(v1) | *((v1 + 1)) = a3;
0x0001b348 sw a2, 8(v1) | *((v1 + 2)) = a2;
0x0001b34c sw a0, 0xc(v1) | *((v1 + 3)) = a0;
0x0001b350 addiu v1, v1, 0x10 | v1 += 0x10;
0x0001b354 bne v0, t1, 0x1b32c |
| } while (v0 != t1);
0x0001b358 lw a0, (v0) | a0 = *(v0);
0x0001b35c lw v0, 4(v0) | v0 = *((v0 + 1));
0x0001b360 lw t9, -0x7dc4(gp) | t9 = *((gp - 8049));
0x0001b364 sw a0, (v1) | *(v1) = a0;
0x0001b368 sw v0, 4(v1) | *((v1 + 1)) = v0;
0x0001b36c addiu a0, zero, 0x98 | a0 = 0x98;
0x0001b370 jalr t9 | t9 ();
0x0001b374 lw s7, 0x28(sp) | s7 = *(var_28h_3);
0x0001b378 lw gp, 0x10(sp) | gp = *(var_10h_3);
0x0001b37c sw v0, 0x1c(fp) | *(arg_1ch) = v0;
0x0001b380 lw a0, 0x1c(s7) | a0 = *((s7 + 7));
| if (a0 == 0) {
0x0001b384 beql a0, zero, 0x1b568 | goto label_25;
| }
0x0001b388 sw zero, 0x18(s7) | *((s7 + 6)) = 0;
0x0001b38c lw v0, 0x1c(s2) | v0 = *((s2 + 7));
0x0001b390 move v1, a0 | v1 = a0;
0x0001b394 addiu t2, v0, 0x90 | t2 = v0 + 0x90;
| do {
0x0001b398 lw t1, (v0) | t1 = *(v0);
0x0001b39c lw t0, 4(v0) | t0 = *((v0 + 1));
0x0001b3a0 lw a2, 8(v0) | a2 = *((v0 + 2));
0x0001b3a4 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x0001b3a8 addiu v0, v0, 0x10 | v0 += 0x10;
0x0001b3ac sw t1, (v1) | *(v1) = t1;
0x0001b3b0 sw t0, 4(v1) | *((v1 + 1)) = t0;
0x0001b3b4 sw a2, 8(v1) | *((v1 + 2)) = a2;
0x0001b3b8 sw a1, 0xc(v1) | *((v1 + 3)) = a1;
0x0001b3bc addiu v1, v1, 0x10 | v1 += 0x10;
0x0001b3c0 bne v0, t2, 0x1b398 |
| } while (v0 != t2);
0x0001b3c4 lw a2, (v0) | a2 = *(v0);
0x0001b3c8 lw a1, 4(v0) | a1 = *((v0 + 1));
0x0001b3cc addiu v0, s0, 0xd8 | v0 = s0 + 0xd8;
0x0001b3d0 sw a2, (v1) | *(v1) = a2;
0x0001b3d4 sw a1, 4(v1) | *((v1 + 1)) = a1;
0x0001b3d8 sw s0, 0x14(a0) | *((a0 + 5)) = s0;
0x0001b3dc sw v0, 0x28(a0) | *((a0 + 10)) = v0;
| if (s1 != 0) {
0x0001b3e0 bnez s1, 0x1b4b0 | goto label_26;
| }
0x0001b3e4 lw t9, 0x50(s4) | t9 = *((s4 + 20));
| if (t9 == 0) {
0x0001b3e8 beql t9, zero, 0x1b510 | goto label_27;
| }
0x0001b3ec lw t9, 0x20(sp) | t9 = *(var_20h_4);
0x0001b3f0 move a0, s7 | a0 = s7;
0x0001b3f4 jalr t9 | t9 ();
0x0001b3f8 lw a1, 0x28(sp) | a1 = *(var_28h_3);
0x0001b3fc lw t9, 0x20(sp) | t9 = *(var_20h_4);
0x0001b400 addiu a2, zero, 1 | a2 = 1;
0x0001b404 move a0, s6 | a0 = s6;
0x0001b408 sw v0, 0x1c(sp) | *(var_1ch_2) = v0;
0x0001b40c jalr t9 | t9 ();
0x0001b410 lw gp, 0x10(sp) | gp = *(var_10h_3);
0x0001b414 lw v1, 0x1c(sp) | v1 = *(var_1ch_2);
0x0001b418 move s2, s7 | s2 = s7;
0x0001b41c addiu s1, s1, 1 | s1++;
| label_4:
0x0001b420 lw a0, 0x28(sp) | a0 = *(var_28h_3);
| if (v1 != 0) {
0x0001b424 bnez v1, 0x1b570 | goto label_9;
| }
| label_5:
0x0001b428 lhu v0, 0x242(a0) | v0 = *((a0 + 289));
0x0001b42c lw t9, -0x7c8c(gp) | t9 = *((gp - 7971));
0x0001b430 andi v0, v0, 1 | v0 &= 1;
0x0001b434 sw v0, 0x158(s0) | *(s0) = v0;
0x0001b438 lw a2, 0x18(sp) | a2 = *(var_18h_3);
0x0001b43c move a3, s0 | a3 = s0;
0x0001b440 move a1, zero | a1 = 0;
0x0001b444 addiu a0, s0, 4 | a0 = s0 + 4;
0x0001b448 jalr t9 | t9 ();
0x0001b44c move v1, v0 | v1 = v0;
0x0001b450 sltiu v0, v0, 1 | v0 = (v0 < 1) ? 1 : 0;
0x0001b454 lw gp, 0x10(sp) | gp = *(var_10h_3);
0x0001b458 sw v0, 8(s0) | *((s0 + 2)) = v0;
| if (v1 != 0) {
0x0001b45c bnez v1, 0x1b5ec | goto label_28;
| }
0x0001b460 slt v0, s1, s5 | v0 = (s1 < s5) ? 1 : 0;
0x0001b464 lw t9, -0x7dc4(gp) | t9 = *((gp - 8049));
| if (v0 != 0) {
0x0001b468 bnez v0, 0x1b274 | goto label_3;
| }
| do {
| label_7:
0x0001b46c lw v0, 0x24(sp) | v0 = *(var_24h_3);
0x0001b470 lw a1, 0x2c(sp) | a1 = *(var_2ch_3);
0x0001b474 lw a0, (v0) | a0 = *(v0);
0x0001b478 move v0, v1 | v0 = v1;
| if (a1 != a0) {
0x0001b47c bne a1, a0, 0x1b618 | goto label_29;
| }
0x0001b480 lw ra, 0x54(sp) | ra = *(var_54h);
0x0001b484 lw fp, 0x50(sp) | fp = *(var_50h);
0x0001b488 lw s7, 0x4c(sp) | s7 = *(var_4ch);
0x0001b48c lw s6, 0x48(sp) | s6 = *(var_48h);
0x0001b490 lw s5, 0x44(sp) | s5 = *(var_44h);
0x0001b494 lw s4, 0x40(sp) | s4 = *(var_40h);
0x0001b498 lw s3, 0x3c(sp) | s3 = *(var_3ch);
0x0001b49c lw s2, 0x38(sp) | s2 = *(var_38h);
0x0001b4a0 lw s1, 0x34(sp) | s1 = *(var_34h);
0x0001b4a4 lw s0, 0x30(sp) | s0 = *(var_30h_2);
0x0001b4a8 addiu sp, sp, 0x58 |
0x0001b4ac jr ra | return v0;
| label_26:
0x0001b4b0 lw t9, -0x7dc4(gp) | t9 = *((gp - 8049));
0x0001b4b4 lw a0, 0x38(s4) | a0 = *((s4 + 14));
0x0001b4b8 jalr t9 | t9 ();
0x0001b4bc lw gp, 0x10(sp) | gp = *(var_10h_3);
0x0001b4c0 sw v0, 0x18(s7) | *((s7 + 6)) = v0;
0x0001b4c4 lw v0, 0x28(sp) | v0 = *(var_28h_3);
0x0001b4c8 lw a0, 0x18(v0) | a0 = *((v0 + 6));
0x0001b4cc lw t9, -0x7be4(gp) | t9 = *((gp - 7929));
| if (a0 == 0) {
0x0001b4d0 beqz a0, 0x1b5a8 | goto label_24;
| }
0x0001b4d4 lw a2, 0x38(s4) | a2 = *((s4 + 14));
0x0001b4d8 lw a1, 0x18(s2) | a1 = *((s2 + 6));
0x0001b4dc jalr t9 | t9 ();
0x0001b4e0 lw a0, 0x28(sp) | a0 = *(var_28h_3);
0x0001b4e4 lw t9, 0x40(s4) | t9 = *((s4 + 16));
0x0001b4e8 addiu v1, zero, 1 | v1 = 1;
0x0001b4ec lw v0, 0x1c(a0) | v0 = *((a0 + 7));
0x0001b4f0 lw gp, 0x10(sp) | gp = *(var_10h_3);
0x0001b4f4 sw v1, (v0) | *(v0) = v1;
| if (t9 != 0) {
0x0001b4f8 beqz t9, 0x1b534 |
0x0001b4fc addiu s1, s1, 1 | s1++;
0x0001b500 jalr t9 | t9 ();
0x0001b504 move v1, v0 | v1 = v0;
0x0001b508 lw gp, 0x10(sp) | gp = *(var_10h_3);
0x0001b50c b 0x1b420 | goto label_4;
| label_27:
0x0001b510 move a0, s6 | a0 = s6;
0x0001b514 addiu a2, zero, 1 | a2 = 1;
0x0001b518 move a1, s7 | a1 = s7;
0x0001b51c jalr t9 | t9 ();
0x0001b520 move s2, s7 | s2 = s7;
0x0001b524 lw gp, 0x10(sp) | gp = *(var_10h_3);
0x0001b528 addiu s1, zero, 1 | s1 = 1;
0x0001b52c lw a0, 0x28(sp) | a0 = *(var_28h_3);
0x0001b530 b 0x1b428 | goto label_5;
| }
0x0001b534 addiu s1, s1, 1 | s1++;
0x0001b538 b 0x1b428 | goto label_5;
| label_19:
0x0001b53c lw t9, -0x7d4c(gp) | t9 = *((gp - 8019));
0x0001b540 jalr t9 | t9 ();
0x0001b544 nop |
0x0001b548 slti v1, v0, 2 | v1 = (v0 < 2) ? 1 : 0;
0x0001b54c lw gp, 0x10(sp) | gp = *(var_10h_3);
| if (v1 == 0) {
0x0001b550 beqz v1, 0x1b590 | goto label_30;
| }
0x0001b554 addiu v0, zero, 1 | v0 = 1;
0x0001b558 sw v0, 0x2b0(s6) | *((s6 + 172)) = v0;
0x0001b55c sw zero, 0x2b8(s6) | *((s6 + 174)) = 0;
| label_20:
0x0001b560 move v1, zero | v1 = 0;
0x0001b564 b 0x1b46c |
| } while (1);
| label_25:
0x0001b568 addiu s1, s1, 1 | s1++;
0x0001b56c addiu v1, zero, -0xc | v1 = -0xc;
| do {
| label_9:
0x0001b570 lw t9, -0x7e4c(gp) | t9 = *((gp - 8083));
0x0001b574 sw v1, 0x18(sp) | *(var_18h_3) = v1;
0x0001b578 move a1, s1 | a1 = s1;
0x0001b57c move a0, s6 | a0 = s6;
0x0001b580 bal 0x1ad34 | fcn_1ad34 ();
| goto label_6;
0x0001b584 lw gp, 0x10(sp) | gp = *(var_10h_3);
0x0001b588 lw v1, 0x18(sp) | v1 = *(var_18h_3);
0x0001b58c b 0x1b46c | goto label_7;
| label_30:
0x0001b590 slti s5, v0, 0x10 | s5 = (v0 < 0x10) ? 1 : 0;
0x0001b594 addiu v1, zero, 0xf | v1 = 0xf;
| if (s5 == 0) {
0x0001b598 movn v1, v0, s5 | v1 = v0;
| }
0x0001b59c addiu s5, v1, 1 | s5 = v1 + 1;
0x0001b5a0 sw s5, 0x2b0(s6) | *((s6 + 172)) = s5;
0x0001b5a4 b 0x1b1b8 | goto label_8;
| label_24:
0x0001b5a8 addiu v1, zero, -0xc | v1 = -0xc;
0x0001b5ac lw t9, -0x7e4c(gp) | t9 = *((gp - 8083));
0x0001b5b0 addiu s1, s1, 1 | s1++;
0x0001b5b4 sw v1, 0x18(sp) | *(var_18h_3) = v1;
0x0001b5b8 move a1, s1 | a1 = s1;
0x0001b5bc move a0, s6 | a0 = s6;
0x0001b5c0 bal 0x1ad34 | fcn_1ad34 ();
| goto label_6;
0x0001b5c4 lw gp, 0x10(sp) | gp = *(var_10h_3);
0x0001b5c8 lw v1, 0x18(sp) | v1 = *(var_18h_3);
0x0001b5cc b 0x1b46c | goto label_7;
| label_23:
0x0001b5d0 lw t9, -0x7c78(gp) | t9 = *((gp - 7966));
0x0001b5d4 addiu a0, sp, 0x28 | a0 = sp + 0x28;
0x0001b5d8 jalr t9 | t9 ();
0x0001b5dc addiu s1, s1, 1 | s1++;
0x0001b5e0 lw gp, 0x10(sp) | gp = *(var_10h_3);
0x0001b5e4 addiu v1, zero, -0xc | v1 = -0xc;
0x0001b5e8 b 0x1b570 |
| } while (1);
| label_28:
0x0001b5ec negu v1, v1 | __asm ("negu v1, v1");
0x0001b5f0 b 0x1b570 | goto label_9;
| label_21:
0x0001b5f4 addiu v1, zero, -0xc | v1 = -0xc;
0x0001b5f8 b 0x1b46c | goto label_7;
| label_22:
0x0001b5fc lw a0, 0x1c(s6) | a0 = *((s6 + 7));
0x0001b600 lw t9, -0x7c78(gp) | t9 = *((gp - 7966));
0x0001b604 addiu a0, a0, 0x14 | a0 += 0x14;
0x0001b608 jalr t9 | t9 ();
0x0001b60c lw gp, 0x10(sp) | gp = *(var_10h_3);
0x0001b610 addiu v1, zero, -0xc | v1 = -0xc;
0x0001b614 b 0x1b46c | goto label_7;
| label_29:
0x0001b618 lw t9, -0x7c34(gp) | t9 = *((gp - 7949));
0x0001b61c jalr t9 | t9 ();
0x0001b620 nop |
| label_10:
0x0001c068 lui gp, 4 |
0x0001c06c addiu gp, gp, -0x6078 |
0x0001c070 addu gp, gp, t9 | gp += t9;
0x0001c074 lw v0, 0x1c(a0) | v0 = *((a0 + 7));
0x0001c078 addiu sp, sp, -0x30 |
0x0001c07c lw t9, -0x7d2c(gp) | t9 = *((gp - 8011));
0x0001c080 sw s1, 0x20(sp) | *(var_20h) = s1;
0x0001c084 lw s1, 0x14(v0) | s1 = *((v0 + 5));
0x0001c088 sw gp, 0x10(sp) | *(var_10h) = gp;
0x0001c08c sw s3, 0x28(sp) | *(var_28h) = s3;
0x0001c090 sw ra, 0x2c(sp) | *(var_2ch) = ra;
0x0001c094 sw s2, 0x24(sp) | *(var_24h) = s2;
0x0001c098 sw s0, 0x1c(sp) | *(var_1ch) = s0;
0x0001c09c move s3, a0 | s3 = a0;
0x0001c0a0 move a0, s1 | a0 = s1;
0x0001c0a4 jalr t9 | t9 ();
0x0001c0a8 lw v0, 0x24(s1) | v0 = *((s1 + 9));
0x0001c0ac lw gp, 0x10(sp) | gp = *(var_10h);
| if (v0 <= 0) {
0x0001c0b0 blez v0, 0x1c0fc | goto label_31;
| }
0x0001c0b4 move s0, zero | s0 = 0;
0x0001c0b8 move s2, zero | s2 = 0;
| do {
0x0001c0bc lw a0, 0x2c(s1) | a0 = *((s1 + 11));
0x0001c0c0 lw t9, -0x7bb8(gp) | t9 = *((gp - 7918));
0x0001c0c4 addu a0, a0, s0 | a0 += s0;
0x0001c0c8 jalr t9 | t9 ();
0x0001c0cc lw gp, 0x10(sp) | gp = *(var_10h);
0x0001c0d0 lw a0, 0x28(s1) | a0 = *((s1 + 10));
0x0001c0d4 sll v0, s0, 1 | v0 = s0 << 1;
0x0001c0d8 lw t9, -0x7d60(gp) | t9 = *((gp - 8024));
0x0001c0dc addu a0, a0, v0 | a0 += v0;
0x0001c0e0 jalr t9 | t9 ();
0x0001c0e4 lw v0, 0x24(s1) | v0 = *((s1 + 9));
0x0001c0e8 addiu s2, s2, 1 | s2++;
0x0001c0ec slt v0, s2, v0 | v0 = (s2 < v0) ? 1 : 0;
0x0001c0f0 lw gp, 0x10(sp) | gp = *(var_10h);
0x0001c0f4 addiu s0, s0, 0x18 | s0 += 0x18;
0x0001c0f8 bnez v0, 0x1c0bc |
| } while (v0 != 0);
| label_31:
0x0001c0fc lw t9, -0x7c78(gp) | t9 = *((gp - 7966));
0x0001c100 addiu a0, s1, 0x1c | a0 = s1 + 0x1c;
0x0001c104 jalr t9 | t9 ();
0x0001c108 lw gp, 0x10(sp) | gp = *(var_10h);
0x0001c10c lw t9, -0x7c78(gp) | t9 = *((gp - 7966));
0x0001c110 addiu a0, s1, 0x2c | a0 = s1 + 0x2c;
0x0001c114 jalr t9 | t9 ();
0x0001c118 lw gp, 0x10(sp) | gp = *(var_10h);
0x0001c11c lw t9, -0x7c78(gp) | t9 = *((gp - 7966));
0x0001c120 addiu a0, s1, 0x28 | a0 = s1 + 0x28;
0x0001c124 jalr t9 | t9 ();
0x0001c128 lw gp, 0x10(sp) | gp = *(var_10h);
0x0001c12c lw a0, 0x1c(s3) | a0 = *((s3 + 7));
0x0001c130 lw ra, 0x2c(sp) | ra = *(var_2ch);
0x0001c134 lw s3, 0x28(sp) | s3 = *(var_28h);
0x0001c138 lw s2, 0x24(sp) | s2 = *(var_24h);
0x0001c13c lw s1, 0x20(sp) | s1 = *(var_20h);
0x0001c140 lw s0, 0x1c(sp) | s0 = *(var_1ch);
0x0001c144 lw t9, -0x7c78(gp) | t9 = *((gp - 7966));
0x0001c148 addiu a0, a0, 0x14 | a0 += 0x14;
0x0001c14c addiu sp, sp, 0x30 |
0x0001c150 jr t9 | return t9 ();
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libavcodec.so.58.54.100 @ 0x1b624 */
| #include <stdint.h>
|
; (fcn) fcn.0001b624 () | void fcn_0001b624 () {
0x0001b624 lui gp, 4 |
0x0001b628 addiu gp, gp, -0x5634 |
0x0001b62c addu gp, gp, t9 | gp += t9;
0x0001b630 lw v0, 0x1c(a0) | v0 = *((a0 + 7));
0x0001b634 addiu sp, sp, -0x40 |
0x0001b638 sw s5, 0x34(sp) | *(var_34h_2) = s5;
0x0001b63c lw s5, 0x14(v0) | s5 = *((v0 + 5));
0x0001b640 sw gp, 0x18(sp) | *(var_18h_2) = gp;
0x0001b644 sw ra, 0x3c(sp) | *(var_3ch_2) = ra;
0x0001b648 sw s6, 0x38(sp) | *(var_38h_2) = s6;
0x0001b64c sw s4, 0x30(sp) | *(var_30h_3) = s4;
0x0001b650 sw s3, 0x2c(sp) | *(var_2ch_4) = s3;
0x0001b654 sw s2, 0x28(sp) | *(var_28h_2) = s2;
0x0001b658 sw s1, 0x24(sp) | *(var_24h_4) = s1;
0x0001b65c sw s0, 0x20(sp) | *(var_20h_3) = s0;
0x0001b660 lw t9, -0x7fd0(gp) | t9 = *((gp - 8180));
| if (s5 == 0) {
0x0001b664 beqz s5, 0x1b798 | goto label_2;
| }
0x0001b668 lw a1, 0x2b0(a0) | a1 = *((a0 + 172));
0x0001b66c move s4, a0 | s4 = a0;
0x0001b670 addiu t9, t9, -0x6344 | t9 += -0x6344;
0x0001b674 move a0, s5 | a0 = s5;
0x0001b678 bal 0x19cbc | fcn_00019cbc ();
0x0001b67c lw v0, 4(s5) | v0 = *((s5 + 1));
0x0001b680 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x0001b684 beqz v0, 0x1b6ac |
0x0001b688 lw v1, (s5) | v1 = *(s5);
0x0001b68c lw t9, -0x7fd0(gp) | t9 = *((gp - 8180));
| if (v0 == v1) {
0x0001b690 beq v0, v1, 0x1b6ac | goto label_3;
| }
0x0001b694 lw a1, 0xd0(v0) | a1 = *((v0 + 52));
0x0001b698 lw a0, 0xd0(v1) | a0 = *((v1 + 52));
0x0001b69c addiu t9, t9, -0x65e0 | t9 += -0x65e0;
0x0001b6a0 move a2, zero | a2 = 0;
0x0001b6a4 bal 0x19a20 | fcn_00019a20 ();
0x0001b6a8 lw gp, 0x18(sp) | gp = *(var_18h_2);
| }
| label_3:
0x0001b6ac lw v0, 0x2b0(s4) | v0 = *((s4 + 172));
0x0001b6b0 addiu v1, zero, 1 | v1 = 1;
0x0001b6b4 sw zero, 0x88(s5) | *((s5 + 34)) = 0;
0x0001b6b8 sw zero, 0x84(s5) | *((s5 + 33)) = 0;
0x0001b6bc sw v1, 0x8c(s5) | *((s5 + 35)) = v1;
0x0001b6c0 sw zero, 4(s5) | *((s5 + 1)) = 0;
| if (v0 <= 0) {
0x0001b6c4 blez v0, 0x1b798 | goto label_2;
| }
0x0001b6c8 move s2, zero | s2 = 0;
0x0001b6cc move s3, zero | s3 = 0;
0x0001b6d0 addiu s6, zero, 0x198 | s6 = aav.0x00000198;
| label_0:
0x0001b6d4 lw s0, (s5) | s0 = *(s5);
0x0001b6d8 lw t9, -0x7d74(gp) | t9 = *((gp - 8029));
0x0001b6dc addu s0, s0, s2 | s0 += s2;
0x0001b6e0 lw a0, 0x120(s0) | a0 = *(s0);
0x0001b6e4 sw zero, 0x124(s0) | *(s0) = 0;
0x0001b6e8 jalr t9 | t9 ();
0x0001b6ec lw s1, (s0) | s1 = *(s0);
0x0001b6f0 lw v0, 0x134(s0) | v0 = *(s0);
0x0001b6f4 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0001b6f8 sw zero, 0x128(s0) | *(s0) = 0;
0x0001b6fc addiu s1, s1, 8 | s1 += 8;
| if (v0 <= 0) {
0x0001b700 blez v0, 0x1b768 | goto label_4;
| }
| do {
0x0001b704 lw t9, -0x7c4c(gp) | t9 = *((gp - 7955));
0x0001b708 move a0, s1 | a0 = s1;
0x0001b70c jalr t9 | t9 ();
0x0001b710 lw v0, 0xd0(s0) | v0 = *((s0 + 52));
0x0001b714 lw v0, 8(v0) | v0 = *((v0 + 2));
0x0001b718 sltiu v0, v0, 2 | v0 = (v0 < 2) ? 1 : 0;
0x0001b71c lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x0001b720 beqz v0, 0x1b7f8 | goto label_5;
| }
0x0001b724 lw v1, 0x134(s0) | v1 = *(s0);
0x0001b728 lw v0, 0x130(s0) | v0 = *(s0);
0x0001b72c addiu v1, v1, -1 | v1 += -1;
0x0001b730 mul a0, v1, s6 | __asm ("mul a0, v1, s6");
0x0001b734 lw t9, -0x7d74(gp) | t9 = *((gp - 8029));
0x0001b738 sw v1, 0x134(s0) | *(s0) = v1;
0x0001b73c addu v0, a0, v0 | v0 = a0 + v0;
0x0001b740 move a0, v0 | a0 = v0;
0x0001b744 sw v0, 0x40(v0) | *((v0 + 16)) = v0;
0x0001b748 jalr t9 | t9 ();
0x0001b74c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0001b750 lw t9, -0x7b70(gp) | t9 = *((gp - 7900));
0x0001b754 move a0, s1 | a0 = s1;
0x0001b758 jalr t9 | t9 ();
0x0001b75c lw v0, 0x134(s0) | v0 = *(s0);
0x0001b760 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0001b764 bgtz v0, 0x1b704 |
| } while (v0 > 0);
| label_4:
0x0001b768 lw v0, 0xc(s4) | v0 = *((s4 + 3));
0x0001b76c lw t9, 0x70(v0) | t9 = *((v0 + 28));
| if (t9 == 0) {
0x0001b770 beql t9, zero, 0x1b7c0 | goto label_6;
| }
0x0001b774 lw v0, 0x2b0(s4) | v0 = *((s4 + 172));
0x0001b778 lw a0, 0xd0(s0) | a0 = *((s0 + 52));
0x0001b77c addiu s3, s3, 1 | s3++;
0x0001b780 jalr t9 | t9 ();
0x0001b784 lw v0, 0x2b0(s4) | v0 = *((s4 + 172));
0x0001b788 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0001b78c slt v0, s3, v0 | v0 = (s3 < v0) ? 1 : 0;
0x0001b790 addiu s2, s2, 0x160 | s2 += aav.0x00000160;
| if (v0 != 0) {
0x0001b794 bnez v0, 0x1b6d4 | goto label_0;
| }
| label_2:
0x0001b798 lw ra, 0x3c(sp) | ra = *(var_3ch_2);
0x0001b79c lw s6, 0x38(sp) | s6 = *(var_38h_2);
0x0001b7a0 lw s5, 0x34(sp) | s5 = *(var_34h_2);
0x0001b7a4 lw s4, 0x30(sp) | s4 = *(var_30h_3);
0x0001b7a8 lw s3, 0x2c(sp) | s3 = *(var_2ch_4);
0x0001b7ac lw s2, 0x28(sp) | s2 = *(var_28h_2);
0x0001b7b0 lw s1, 0x24(sp) | s1 = *(var_24h_4);
0x0001b7b4 lw s0, 0x20(sp) | s0 = *(var_20h_3);
0x0001b7b8 addiu sp, sp, 0x40 |
0x0001b7bc jr ra | return v1;
| label_6:
0x0001b7c0 addiu s3, s3, 1 | s3++;
0x0001b7c4 slt v0, s3, v0 | v0 = (s3 < v0) ? 1 : 0;
0x0001b7c8 addiu s2, s2, 0x160 | s2 += aav.0x00000160;
| if (v0 != 0) {
0x0001b7cc bnez v0, 0x1b6d4 | goto label_0;
| }
0x0001b7d0 lw ra, 0x3c(sp) | ra = *(var_3ch_2);
0x0001b7d4 lw s6, 0x38(sp) | s6 = *(var_38h_2);
0x0001b7d8 lw s5, 0x34(sp) | s5 = *(var_34h_2);
0x0001b7dc lw s4, 0x30(sp) | s4 = *(var_30h_3);
0x0001b7e0 lw s3, 0x2c(sp) | s3 = *(var_2ch_4);
0x0001b7e4 lw s2, 0x28(sp) | s2 = *(var_28h_2);
0x0001b7e8 lw s1, 0x24(sp) | s1 = *(var_24h_4);
0x0001b7ec lw s0, 0x20(sp) | s0 = *(var_20h_3);
0x0001b7f0 addiu sp, sp, 0x40 |
0x0001b7f4 jr ra | return v1;
| label_5:
0x0001b7f8 addiu v0, zero, 0x173 | v0 = 0x173;
0x0001b7fc sw v0, 0x14(sp) | *(var_14h_2) = v0;
0x0001b800 lw v0, -0x7fd4(gp) | v0 = *((gp - 8181));
0x0001b804 lw a3, -0x7fd4(gp) | a3 = *((gp - 8181));
0x0001b808 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x0001b80c lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x0001b810 addiu v0, v0, 0x1bbc | v0 += 0x1bbc;
0x0001b814 sw v0, 0x10(sp) | *(var_10h_4) = v0;
0x0001b818 addiu a3, a3, 0x1bdc | a3 += 0x1bdc;
0x0001b81c addiu a2, a2, 0x7f70 | a2 += 0x7f70;
0x0001b820 move a1, zero | a1 = 0;
0x0001b824 move a0, zero | a0 = 0;
0x0001b828 jalr t9 | t9 ();
0x0001b82c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0001b830 lw t9, -0x7da8(gp) | t9 = *((gp - 8042));
0x0001b834 jalr t9 | t9 ();
0x0001b838 nop |
0x0001b83c lui gp, 4 |
0x0001b840 addiu gp, gp, -0x584c |
0x0001b844 addu gp, gp, t9 | gp += t9;
0x0001b848 lw v0, 0x2b8(a0) | v0 = *((a0 + 174));
0x0001b84c andi v0, v0, 1 | v0 &= 1;
0x0001b850 lw v1, 0x1c(a0) | v1 = *((a0 + 7));
0x0001b854 bnel v0, zero, 0x1b860 |
| while (v1 == v0) {
| label_1:
0x0001b858 addiu v0, zero, 1 | v0 = 1;
0x0001b85c jr ra | return v1;
0x0001b860 addiu v0, zero, 1 | v0 = 1;
0x0001b864 lw v1, 0x14(v1) | v1 = *((v1 + 5));
0x0001b868 sync | __asm ("sync");
0x0001b86c lw v1, 0x12c(v1) | v1 = *(v1);
0x0001b870 sync | __asm ("sync");
0x0001b874 beq v1, v0, 0x1b858 |
| }
0x0001b878 nop |
0x0001b87c lw v0, 0xc(a0) | v0 = *((a0 + 3));
0x0001b880 lw v0, 0x44(v0) | v0 = *((v0 + 17));
0x0001b884 move v0, zero | v0 = 0;
| if (v0 != 0) {
0x0001b888 bnez v0, 0x1b8a8 | goto label_7;
| }
0x0001b88c lw v0, 0x2bc(a0) | v0 = *((a0 + 175));
| if (v0 != 0) {
0x0001b890 bnez v0, 0x1b858 | goto label_1;
| }
0x0001b894 nop |
0x0001b898 lw a0, 0x190(a0) | a0 = *(a0);
0x0001b89c lw v1, -0x7e78(gp) | v1 = *((gp - 8094));
| if (a0 == v1) {
0x0001b8a0 beq a0, v1, 0x1b858 | goto label_1;
| }
0x0001b8a4 nop |
| label_7:
0x0001b8a8 jr ra | return v1;
0x0001b8ac nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libavcodec.so.58.54.100 @ 0x1fa20 */
| #include <stdint.h>
|
; (fcn) sym.avcodec_open2 () | void avcodec_open2 () {
0x0001fa20 lui gp, 3 |
0x0001fa24 addiu gp, gp, 0x65d0 |
0x0001fa28 addu gp, gp, t9 | gp += t9;
0x0001fa2c addiu sp, sp, -0x270 |
0x0001fa30 lw t9, -0x7fa0(gp) | t9 = *((gp - 8168));
0x0001fa34 sw s3, 0x254(sp) | *(var_254h) = s3;
0x0001fa38 lw s3, -0x7be8(gp) | s3 = *((gp - 7930));
0x0001fa3c sw gp, 0x20(sp) | *(var_20h) = gp;
0x0001fa40 sw s4, 0x258(sp) | *(var_258h) = s4;
0x0001fa44 lw v0, (s3) | v0 = *(s3);
0x0001fa48 sw s2, 0x250(sp) | *(var_250h) = s2;
0x0001fa4c sw s0, 0x248(sp) | *(var_248h) = s0;
0x0001fa50 sw ra, 0x26c(sp) | *(var_26ch) = ra;
0x0001fa54 sw fp, 0x268(sp) | *(var_268h) = fp;
0x0001fa58 sw s7, 0x264(sp) | *(var_264h) = s7;
0x0001fa5c sw s6, 0x260(sp) | *(var_260h) = s6;
0x0001fa60 sw s5, 0x25c(sp) | *(var_25ch) = s5;
0x0001fa64 sw s1, 0x24c(sp) | *(var_24ch) = s1;
0x0001fa68 sw v0, 0x244(sp) | *(var_244h) = v0;
0x0001fa6c sw zero, 0x30(sp) | *(var_30h) = 0;
0x0001fa70 move s0, a0 | s0 = a0;
0x0001fa74 move s4, a1 | s4 = a1;
0x0001fa78 move s2, a2 | s2 = a2;
0x0001fa7c bal 0x1fa14 | sym_avcodec_is_open ();
0x0001fa80 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x0001fa84 bnez v0, 0x1fe80 | goto label_59;
| }
0x0001fa88 lw s1, 0xc(s0) | s1 = *((s0 + 3));
| if (s4 == 0) {
0x0001fa8c beqz s4, 0x1fef8 | goto label_60;
| }
| if (s1 != 0) {
0x0001fa90 beql s1, zero, 0x1faa0 |
0x0001fa94 move s1, s4 | s1 = s4;
0x0001fa98 lw v0, (s4) | v0 = *(s4);
| if (s4 == s1) {
0x0001fa9c bnel s4, s1, 0x204fc | goto label_61;
| }
| }
0x0001faa0 lw v0, 0x48(s0) | v0 = *((s0 + 18));
| label_1:
0x0001faa4 lui v1, 0xfff | v1 = 0xfffffc0;
0x0001faa8 ori v1, v1, 0xffc0 |
0x0001faac sltu v0, v0, v1 | v0 = (v0 < v1) ? 1 : 0;
| if (v0 == 0) {
0x0001fab0 beql v0, zero, 0x1fe84 | goto label_2;
| }
0x0001fab4 addiu s4, zero, -0x16 | s4 = -0x16;
0x0001fab8 lw t9, -0x7d64(gp) | t9 = *((gp - 8025));
| if (s2 != 0) {
0x0001fabc beqz s2, 0x1fad4 |
0x0001fac0 lw a1, (s2) | a1 = *(s2);
0x0001fac4 move a2, zero | a2 = 0;
0x0001fac8 addiu a0, sp, 0x30 | a0 = sp + 0x30;
0x0001facc jalr t9 | t9 ();
0x0001fad0 lw gp, 0x20(sp) | gp = *(var_20h);
| }
0x0001fad4 lw v0, 0x74(s1) | v0 = *((s1 + 29));
0x0001fad8 andi v0, v0, 1 | v0 &= 1;
0x0001fadc lw t9, -0x7c54(gp) | t9 = *((gp - 7957));
| if (v0 == 0) {
0x0001fae0 bnez v0, 0x1fb04 |
0x0001fae4 lw v0, 0x50(s1) | v0 = *((s1 + 20));
0x0001fae8 lw a0, -0x7fe4(gp) | a0 = *((gp - 8185));
| if (v0 == 0) {
0x0001faec beqz v0, 0x1fb04 | goto label_62;
| }
0x0001faf0 lw t9, -0x7c4c(gp) | t9 = *((gp - 7955));
0x0001faf4 addiu a0, a0, -0x1b30 | a0 += -0x1b30;
0x0001faf8 jalr t9 | t9 ();
0x0001fafc lw gp, 0x20(sp) | gp = *(var_20h);
0x0001fb00 lw t9, -0x7c54(gp) | t9 = *((gp - 7957));
| }
| label_62:
0x0001fb04 addiu a0, zero, 0x98 | a0 = 0x98;
0x0001fb08 jalr t9 | t9 ();
0x0001fb0c move s4, v0 | s4 = v0;
0x0001fb10 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001fb14 sw v0, 0x1c(s0) | *((s0 + 7)) = v0;
| if (v0 == 0) {
0x0001fb18 beqz v0, 0x1fec4 | goto label_23;
| }
0x0001fb1c lw t9, -0x7c54(gp) | t9 = *((gp - 7957));
0x0001fb20 addiu a0, zero, 0x58 | a0 = 0x58;
0x0001fb24 jalr t9 | t9 ();
0x0001fb28 lw s5, 0x1c(s0) | s5 = *((s0 + 7));
0x0001fb2c lw gp, 0x20(sp) | gp = *(var_20h);
0x0001fb30 sw v0, 0x10(s4) | *((s4 + 4)) = v0;
0x0001fb34 lw v0, 0x10(s5) | v0 = *((s5 + 4));
0x0001fb38 lw t9, -0x7d88(gp) | t9 = *((gp - 8034));
| if (v0 == 0) {
0x0001fb3c beqz v0, 0x1ff2c | goto label_63;
| }
0x0001fb40 jalr t9 | t9 ();
0x0001fb44 nop |
0x0001fb48 lw s4, 0x1c(s0) | s4 = *((s0 + 7));
0x0001fb4c lw gp, 0x20(sp) | gp = *(var_20h);
0x0001fb50 sw v0, 0xc(s5) | *((s5 + 3)) = v0;
0x0001fb54 lw v0, 0xc(s4) | v0 = *((s4 + 3));
0x0001fb58 lw t9, -0x7d88(gp) | t9 = *((gp - 8034));
| if (v0 != 0) {
0x0001fb5c beqz v0, 0x1fd04 |
0x0001fb60 jalr t9 | t9 ();
0x0001fb64 nop |
0x0001fb68 lw s5, 0x1c(s0) | s5 = *((s0 + 7));
0x0001fb6c lw gp, 0x20(sp) | gp = *(var_20h);
0x0001fb70 sw v0, 0x64(s4) | *((s4 + 25)) = v0;
0x0001fb74 lw v0, 0x64(s5) | v0 = *((s5 + 25));
0x0001fb78 lw t9, -0x7d88(gp) | t9 = *((gp - 8034));
| if (v0 != 0) {
0x0001fb7c beqz v0, 0x1fd04 |
0x0001fb80 jalr t9 | t9 ();
0x0001fb84 nop |
0x0001fb88 lw s4, 0x1c(s0) | s4 = *((s0 + 7));
0x0001fb8c lw gp, 0x20(sp) | gp = *(var_20h);
0x0001fb90 sw v0, 0x4c(s5) | *((s5 + 19)) = v0;
0x0001fb94 lw v0, 0x4c(s4) | v0 = *((s4 + 19));
0x0001fb98 lw t9, -0x7f9c(gp) | t9 = *((gp - 8167));
| if (v0 == 0) {
0x0001fb9c beqz v0, 0x1fd04 | goto label_64;
| }
0x0001fba0 bal 0xa7cc | sym_av_packet_alloc ();
0x0001fba4 nop |
0x0001fba8 lw s5, 0x1c(s0) | s5 = *((s0 + 7));
0x0001fbac lw gp, 0x20(sp) | gp = *(var_20h);
0x0001fbb0 sw v0, 0x44(s4) | *((s4 + 17)) = v0;
0x0001fbb4 lw v0, 0x44(s5) | v0 = *((s5 + 17));
0x0001fbb8 lw t9, -0x7f9c(gp) | t9 = *((gp - 8167));
| if (v0 == 0) {
0x0001fbbc beqz v0, 0x1fd04 | goto label_64;
| }
0x0001fbc0 bal 0xa7cc | sym_av_packet_alloc ();
0x0001fbc4 nop |
0x0001fbc8 lw s4, 0x1c(s0) | s4 = *((s0 + 7));
0x0001fbcc lw gp, 0x20(sp) | gp = *(var_20h);
0x0001fbd0 sw v0, 0x18(s5) | *((s5 + 6)) = v0;
0x0001fbd4 lw v0, 0x18(s4) | v0 = *((s4 + 6));
0x0001fbd8 lw t9, -0x7f9c(gp) | t9 = *((gp - 8167));
| if (v0 == 0) {
0x0001fbdc beqz v0, 0x1fd04 | goto label_64;
| }
0x0001fbe0 bal 0xa7cc | sym_av_packet_alloc ();
0x0001fbe4 nop |
0x0001fbe8 lw v1, 0x1c(s0) | v1 = *((s0 + 7));
0x0001fbec lw gp, 0x20(sp) | gp = *(var_20h);
0x0001fbf0 sw v0, 0x28(s4) | *((s4 + 10)) = v0;
0x0001fbf4 lw v0, 0x28(v1) | v0 = *((v1 + 10));
0x0001fbf8 addiu v0, zero, 1 | v0 = 1;
| if (v0 == 0) {
0x0001fbfc beqz v0, 0x1fd04 | goto label_64;
| }
0x0001fc00 lw a0, 0x38(s1) | a0 = *((s1 + 14));
0x0001fc04 sw v0, 0x6c(v1) | *((v1 + 27)) = v0;
| if (a0 <= 0) {
0x0001fc08 blez a0, 0x1ff5c | goto label_65;
| }
0x0001fc0c lw v0, 0x18(s0) | v0 = *((s0 + 6));
0x0001fc10 lw t9, -0x7c54(gp) | t9 = *((gp - 7957));
| if (v0 == 0) {
0x0001fc14 beqz v0, 0x204c8 | goto label_66;
| }
| label_25:
0x0001fc18 lw v0, 0x2c(s1) | v0 = *((s1 + 11));
0x0001fc1c lw t9, -0x7cc4(gp) | t9 = *((gp - 7985));
| if (v0 == 0) {
0x0001fc20 beqz v0, 0x1ff60 | goto label_24;
| }
0x0001fc24 addiu s5, sp, 0x30 | s5 = sp + 0x30;
0x0001fc28 lw a0, 0x18(s0) | a0 = *((s0 + 6));
0x0001fc2c move a1, s5 | a1 = s5;
0x0001fc30 jalr t9 | t9 ();
0x0001fc34 move s4, v0 | s4 = v0;
0x0001fc38 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 >= 0) {
0x0001fc3c bltz v0, 0x1fce4 |
| label_7:
0x0001fc40 lw t9, -0x7cc4(gp) | t9 = *((gp - 7985));
0x0001fc44 move a1, s5 | a1 = s5;
0x0001fc48 move a0, s0 | a0 = s0;
0x0001fc4c jalr t9 | t9 ();
0x0001fc50 move s4, v0 | s4 = v0;
0x0001fc54 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 < 0) {
0x0001fc58 bltz v0, 0x1fce4 | goto label_8;
| }
0x0001fc5c lw a1, 0x34c(s0) | a1 = *((s0 + 211));
0x0001fc60 lw t9, -0x7d80(gp) | t9 = *((gp - 8032));
| if (a1 != 0) {
0x0001fc64 beqz a1, 0x1fc7c |
0x0001fc68 lw a0, (s1) | a0 = *(s1);
0x0001fc6c addiu a2, zero, 0x2c | a2 = 0x2c;
0x0001fc70 jalr t9 | t9 ();
0x0001fc74 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 <= 0) {
0x0001fc78 blez v0, 0x2053c | goto label_67;
| }
| }
0x0001fc7c lw a0, 0x64(s0) | a0 = *((s0 + 25));
0x0001fc80 lw a1, 0x5c(s0) | a1 = *((s0 + 23));
| if (a0 == 0) {
0x0001fc84 beqz a0, 0x1ff68 | goto label_68;
| }
0x0001fc88 lw a2, 0x68(s0) | a2 = *((s0 + 26));
| if (a2 == 0) {
0x0001fc8c beqz a2, 0x20410 | goto label_69;
| }
0x0001fc90 nop |
0x0001fc94 lw t9, -0x7f98(gp) | t9 = *((gp - 8166));
| if (a1 != 0) {
0x0001fc98 beqz a1, 0x1fcc8 |
0x0001fc9c lw v0, 0x60(s0) | v0 = *((s0 + 24));
| if (v0 == 0) {
0x0001fca0 beql v0, zero, 0x1fccc | goto label_70;
| }
0x0001fca4 move a1, a0 | a1 = a0;
0x0001fca8 lw v0, 0x10(s0) | v0 = *((s0 + 4));
0x0001fcac addiu v1, zero, 0x1b | v1 = 0x1b;
0x0001fcb0 addiu v1, zero, 0x5c | v1 = 0x5c;
| if (v0 == v1) {
0x0001fcb4 beq v0, v1, 0x20684 | goto label_71;
| }
0x0001fcb8 addiu v1, zero, 0xbd | v1 = 0xbd;
| if (v0 == v1) {
0x0001fcbc beq v0, v1, 0x20684 | goto label_71;
| }
0x0001fcc0 move a1, a2 | a1 = a2;
| if (v0 == v1) {
0x0001fcc4 beq v0, v1, 0x1ff94 | goto label_18;
| }
| }
0x0001fcc8 move a1, a0 | a1 = a0;
| label_70:
0x0001fccc move a0, s0 | a0 = s0;
0x0001fcd0 bal 0x1cb7c | fcn_0001cb7c ();
0x0001fcd4 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001fcd8 move s4, v0 | s4 = v0;
| if (s4 >= 0) {
| label_16:
0x0001fcdc bgezl s4, 0x20694 | goto label_72;
| }
0x0001fce0 lw a0, 0x64(s0) | a0 = *((s0 + 25));
| }
| label_8:
0x0001fce4 lw v0, 0xc(s0) | v0 = *((s0 + 3));
| if (v0 == 0) {
| label_28:
0x0001fce8 beql v0, zero, 0x1fd3c | goto label_5;
| }
0x0001fcec lw v0, 0x2c(s1) | v0 = *((s1 + 11));
0x0001fcf0 lw t9, 0x60(v0) | t9 = *((v0 + 24));
0x0001fcf4 lw v0, 0x74(v0) | v0 = *((v0 + 29));
| if (t9 == 0) {
0x0001fcf8 bnel t9, zero, 0x1fd20 | goto label_12;
| }
0x0001fcfc lw v0, 0x2c(s1) | v0 = *((s1 + 11));
0x0001fd00 b 0x1fd3c |
| }
| } else {
| label_64:
0x0001fd04 lw v0, 0xc(s0) | v0 = *((s0 + 3));
0x0001fd08 addiu s4, zero, -0xc | s4 = -0xc;
| if (v0 == 0) {
0x0001fd0c beqz v0, 0x1ff24 | goto label_73;
| }
0x0001fd10 lw t9, 0x60(v0) | t9 = *((v0 + 24));
0x0001fd14 addiu s5, sp, 0x30 | s5 = sp + 0x30;
| if (t9 != 0) {
0x0001fd18 beqz t9, 0x1fd38 |
| label_4:
0x0001fd1c lw v0, 0x74(v0) | v0 = *((v0 + 29));
| label_12:
0x0001fd20 andi v0, v0, 2 | v0 &= 2;
| if (v0 == 0) {
0x0001fd24 beql v0, zero, 0x1fd3c | goto label_5;
| }
0x0001fd28 lw v0, 0x2c(s1) | v0 = *((s1 + 11));
| label_33:
0x0001fd2c move a0, s0 | a0 = s0;
0x0001fd30 jalr t9 | t9 ();
0x0001fd34 lw gp, 0x20(sp) | gp = *(var_20h);
| }
| label_3:
0x0001fd38 lw v0, 0x2c(s1) | v0 = *((s1 + 11));
| }
| label_5:
0x0001fd3c lw t9, -0x7bdc(gp) | t9 = *((gp - 7927));
| if (v0 != 0) {
0x0001fd40 beqz v0, 0x1fd54 |
0x0001fd44 lw v0, 0x38(s1) | v0 = *((s1 + 14));
| if (v0 != 0) {
0x0001fd48 bnez v0, 0x1ff4c | goto label_74;
| }
0x0001fd4c nop |
| label_6:
0x0001fd50 lw t9, -0x7bdc(gp) | t9 = *((gp - 7927));
| }
0x0001fd54 move a0, s0 | a0 = s0;
0x0001fd58 jalr t9 | t9 ();
0x0001fd5c lw gp, 0x20(sp) | gp = *(var_20h);
0x0001fd60 lw t9, -0x7d58(gp) | t9 = *((gp - 8022));
0x0001fd64 addiu a0, s0, 0x2ac | a0 = s0 + 0x2ac;
0x0001fd68 jalr t9 | t9 ();
0x0001fd6c lw gp, 0x20(sp) | gp = *(var_20h);
0x0001fd70 lw t9, -0x7bac(gp) | t9 = *((gp - 7915));
0x0001fd74 move a0, s5 | a0 = s5;
0x0001fd78 jalr t9 | t9 ();
0x0001fd7c lw gp, 0x20(sp) | gp = *(var_20h);
0x0001fd80 lw t9, -0x7c78(gp) | t9 = *((gp - 7966));
0x0001fd84 addiu a0, s0, 0x18 | a0 = s0 + 0x18;
0x0001fd88 jalr t9 | t9 ();
0x0001fd8c lw gp, 0x20(sp) | gp = *(var_20h);
0x0001fd90 lw t9, -0x7c78(gp) | t9 = *((gp - 7966));
0x0001fd94 addiu a0, s0, 0x2e0 | a0 = s0 + 0x2e0;
0x0001fd98 jalr t9 | t9 ();
0x0001fd9c lw a0, 0x1c(s0) | a0 = *((s0 + 7));
0x0001fda0 lw gp, 0x20(sp) | gp = *(var_20h);
| if (a0 != 0) {
0x0001fda4 beqz a0, 0x1fe40 |
0x0001fda8 lw t9, -0x7d58(gp) | t9 = *((gp - 8022));
0x0001fdac addiu a0, a0, 0xc | a0 += 0xc;
0x0001fdb0 jalr t9 | t9 ();
0x0001fdb4 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001fdb8 lw a0, 0x1c(s0) | a0 = *((s0 + 7));
0x0001fdbc lw t9, -0x7d58(gp) | t9 = *((gp - 8022));
0x0001fdc0 addiu a0, a0, 0x64 | a0 += 0x64;
0x0001fdc4 jalr t9 | t9 ();
0x0001fdc8 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001fdcc lw a0, 0x1c(s0) | a0 = *((s0 + 7));
0x0001fdd0 lw t9, -0x7d58(gp) | t9 = *((gp - 8022));
0x0001fdd4 addiu a0, a0, 0x4c | a0 += 0x4c;
0x0001fdd8 jalr t9 | t9 ();
0x0001fddc lw gp, 0x20(sp) | gp = *(var_20h);
0x0001fde0 lw a0, 0x1c(s0) | a0 = *((s0 + 7));
0x0001fde4 lw t9, -0x7f94(gp) | t9 = *((gp - 8165));
0x0001fde8 addiu a0, a0, 0x44 | a0 += 0x44;
0x0001fdec bal 0xa818 | sym_av_packet_free ();
0x0001fdf0 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001fdf4 lw a0, 0x1c(s0) | a0 = *((s0 + 7));
0x0001fdf8 lw t9, -0x7f94(gp) | t9 = *((gp - 8165));
0x0001fdfc addiu a0, a0, 0x28 | a0 += 0x28;
0x0001fe00 bal 0xa818 | sym_av_packet_free ();
0x0001fe04 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001fe08 lw a0, 0x1c(s0) | a0 = *((s0 + 7));
0x0001fe0c lw t9, -0x7f94(gp) | t9 = *((gp - 8165));
0x0001fe10 addiu a0, a0, 0x18 | a0 += 0x18;
0x0001fe14 bal 0xa818 | sym_av_packet_free ();
0x0001fe18 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001fe1c lw t9, -0x7f90(gp) | t9 = *((gp - 8164));
0x0001fe20 move a0, s0 | a0 = s0;
0x0001fe24 bal 0x1352c | fcn_0001352c ();
0x0001fe28 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001fe2c lw a0, 0x1c(s0) | a0 = *((s0 + 7));
0x0001fe30 lw t9, -0x7c78(gp) | t9 = *((gp - 7966));
0x0001fe34 addiu a0, a0, 0x10 | a0 += 0x10;
0x0001fe38 jalr t9 | t9 ();
0x0001fe3c lw gp, 0x20(sp) | gp = *(var_20h);
| }
0x0001fe40 lw t9, -0x7c78(gp) | t9 = *((gp - 7966));
0x0001fe44 addiu a0, s0, 0x1c | a0 = s0 + 0x1c;
0x0001fe48 jalr t9 | t9 ();
0x0001fe4c lw v0, 0x74(s1) | v0 = *((s1 + 29));
0x0001fe50 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001fe54 andi v0, v0, 1 | v0 &= 1;
0x0001fe58 sw zero, 0xc(s0) | *((s0 + 3)) = 0;
| if (v0 == 0) {
0x0001fe5c beqz v0, 0x1fed8 | goto label_75;
| }
| do {
| label_0:
0x0001fe60 lw t9, -0x7bac(gp) | t9 = *((gp - 7915));
| if (s2 != 0) {
0x0001fe64 beqz s2, 0x1fe84 |
0x0001fe68 move a0, s2 | a0 = s2;
0x0001fe6c jalr t9 | t9 ();
0x0001fe70 lw v0, 0x30(sp) | v0 = *(var_30h);
0x0001fe74 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001fe78 sw v0, (s2) | *(s2) = v0;
0x0001fe7c b 0x1fe84 | goto label_2;
| label_59:
0x0001fe80 move s4, zero | s4 = 0;
| }
| label_2:
0x0001fe84 lw a0, 0x244(sp) | a0 = *(var_244h);
0x0001fe88 lw v1, (s3) | v1 = *(s3);
0x0001fe8c move v0, s4 | v0 = s4;
| if (a0 != v1) {
0x0001fe90 bne a0, v1, 0x20838 | goto label_76;
| }
0x0001fe94 lw ra, 0x26c(sp) | ra = *(var_26ch);
0x0001fe98 lw fp, 0x268(sp) | fp = *(var_268h);
0x0001fe9c lw s7, 0x264(sp) | s7 = *(var_264h);
0x0001fea0 lw s6, 0x260(sp) | s6 = *(var_260h);
0x0001fea4 lw s5, 0x25c(sp) | s5 = *(var_25ch);
0x0001fea8 lw s4, 0x258(sp) | s4 = *(var_258h);
0x0001feac lw s3, 0x254(sp) | s3 = *(var_254h);
0x0001feb0 lw s2, 0x250(sp) | s2 = *(var_250h);
0x0001feb4 lw s1, 0x24c(sp) | s1 = *(var_24ch);
0x0001feb8 lw s0, 0x248(sp) | s0 = *(var_248h);
0x0001febc addiu sp, sp, 0x270 |
0x0001fec0 jr ra | return v0;
| label_23:
0x0001fec4 addiu s4, zero, -0xc | s4 = -0xc;
| label_9:
0x0001fec8 lw v0, 0x74(s1) | v0 = *((s1 + 29));
| label_10:
0x0001fecc andi v0, v0, 1 | v0 &= 1;
0x0001fed0 bnez v0, 0x1fe60 |
| } while (v0 != 0);
0x0001fed4 nop |
| label_75:
0x0001fed8 lw v0, 0x50(s1) | v0 = *((s1 + 20));
0x0001fedc lw a0, -0x7fe4(gp) | a0 = *((gp - 8185));
| if (v0 == 0) {
0x0001fee0 beqz v0, 0x1fe60 | goto label_0;
| }
0x0001fee4 lw t9, -0x7b70(gp) | t9 = *((gp - 7900));
0x0001fee8 addiu a0, a0, -0x1b30 | a0 += -0x1b30;
0x0001feec jalr t9 | t9 ();
0x0001fef0 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001fef4 b 0x1fe60 | goto label_0;
| label_60:
0x0001fef8 lw v0, 0x48(s0) | v0 = *((s0 + 18));
| if (s1 == 0) {
0x0001fefc bnel s1, zero, 0x1faa4 | goto label_1;
| }
0x0001ff00 lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
0x0001ff04 lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x0001ff08 addiu a2, a2, 0x3650 | a2 += 0x3650;
0x0001ff0c addiu a1, zero, 0x10 | a1 = 0x10;
0x0001ff10 move a0, s0 | a0 = s0;
0x0001ff14 jalr t9 | t9 ();
0x0001ff18 addiu s4, zero, -0x16 | s4 = -0x16;
0x0001ff1c lw gp, 0x20(sp) | gp = *(var_20h);
0x0001ff20 b 0x1fe84 | goto label_2;
| do {
| label_73:
0x0001ff24 addiu s5, sp, 0x30 | s5 = sp + 0x30;
0x0001ff28 b 0x1fd38 | goto label_3;
| label_63:
0x0001ff2c lw v0, 0xc(s0) | v0 = *((s0 + 3));
0x0001ff30 addiu s4, zero, -0xc | s4 = -0xc;
0x0001ff34 beqz v0, 0x1ff24 |
| } while (v0 == 0);
0x0001ff38 lw t9, 0x60(v0) | t9 = *((v0 + 24));
0x0001ff3c addiu s5, sp, 0x30 | s5 = sp + 0x30;
| if (t9 != 0) {
0x0001ff40 bnez t9, 0x1fd1c | goto label_4;
| }
0x0001ff44 lw v0, 0x2c(s1) | v0 = *((s1 + 11));
0x0001ff48 b 0x1fd3c | goto label_5;
| label_74:
0x0001ff4c lw a0, 0x18(s0) | a0 = *((s0 + 6));
0x0001ff50 jalr t9 | t9 ();
0x0001ff54 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001ff58 b 0x1fd50 | goto label_6;
| label_65:
0x0001ff5c sw zero, 0x18(s0) | *((s0 + 6)) = 0;
| label_24:
0x0001ff60 addiu s5, sp, 0x30 | s5 = sp + 0x30;
0x0001ff64 b 0x1fc40 | goto label_7;
| if (a1 == 0) {
| label_68:
0x0001ff68 beql a1, zero, 0x2044c | goto label_77;
| }
0x0001ff6c lw v0, 0x68(s0) | v0 = *((s0 + 26));
0x0001ff70 lw a2, 0x60(s0) | a2 = *((s0 + 24));
0x0001ff74 lw t9, -0x7f98(gp) | t9 = *((gp - 8166));
| if (a2 != 0) {
0x0001ff78 bnez a2, 0x20424 | goto label_78;
| }
0x0001ff7c lw a1, 0x68(s0) | a1 = *((s0 + 26));
| label_32:
0x0001ff80 move a0, zero | a0 = 0;
| if (a1 == 0) {
0x0001ff84 bnez a1, 0x1ff94 |
0x0001ff88 lw v0, 0x5c(s0) | v0 = *((s0 + 23));
| if (v0 == 0) {
0x0001ff8c beql v0, zero, 0x20528 | goto label_79;
| }
0x0001ff90 lw v0, 0x60(s0) | v0 = *((s0 + 24));
| }
| label_18:
0x0001ff94 lw a2, 0x368(s0) | a2 = *((s0 + 218));
| label_15:
0x0001ff98 lw a3, 0x36c(s0) | a3 = *((s0 + 219));
0x0001ff9c lw t9, -0x7d7c(gp) | t9 = *((gp - 8031));
0x0001ffa0 addiu s6, zero, -1 | s6 = -1;
0x0001ffa4 sw s0, 0x18(sp) | *(var_18h) = s0;
0x0001ffa8 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0001ffac sw s6, 0x10(sp) | *(var_10h) = s6;
0x0001ffb0 jalr t9 | t9 ();
0x0001ffb4 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 < 0) {
0x0001ffb8 bltz v0, 0x2035c | goto label_80;
| }
0x0001ffbc lw a2, 0x368(s0) | a2 = *((s0 + 218));
0x0001ffc0 lw a3, 0x36c(s0) | a3 = *((s0 + 219));
0x0001ffc4 lw a1, 0x60(s0) | a1 = *((s0 + 24));
0x0001ffc8 lw a0, 0x5c(s0) | a0 = *((s0 + 23));
0x0001ffcc lw t9, -0x7d7c(gp) | t9 = *((gp - 8031));
0x0001ffd0 sw s0, 0x18(sp) | *(var_18h) = s0;
0x0001ffd4 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0001ffd8 sw s6, 0x10(sp) | *(var_10h) = s6;
0x0001ffdc jalr t9 | t9 ();
0x0001ffe0 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 < 0) {
0x0001ffe4 bltz v0, 0x2035c | goto label_80;
| }
| label_11:
0x0001ffe8 lw a0, 0x5c(s0) | a0 = *((s0 + 23));
0x0001ffec lw t9, -0x7fd8(gp) | t9 = *((gp - 8182));
| if (a0 > 0) {
0x0001fff0 blez a0, 0x20004 |
0x0001fff4 lw a1, 0x60(s0) | a1 = *((s0 + 24));
0x0001fff8 lw t9, -0x7c98(gp) | t9 = *((gp - 7974));
| if (a1 > 0) {
0x0001fffc bgtz a1, 0x20460 | goto label_81;
| }
| label_19:
0x00020000 lw t9, -0x7fd8(gp) | t9 = *((gp - 8182));
| }
| label_26:
0x00020004 move a0, s1 | a0 = s1;
0x00020008 bal 0x1cb50 | sym_av_codec_is_decoder ();
0x0002000c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00020010 bnez v0, 0x20438 | goto label_82;
| }
| label_17:
0x00020014 lw a3, 0x15c(s0) | a3 = *(s0);
0x00020018 sltiu v0, a3, 0x101 | v0 = (a3 < 0x101) ? 1 : 0;
0x0002001c addiu a1, zero, -1 | a1 = -1;
| if (v0 == 0) {
0x00020020 beqz v0, 0x203e4 | goto label_83;
| }
0x00020024 lw v0, 8(s0) | v0 = *((s0 + 2));
0x00020028 sw s1, 0xc(s0) | *((s0 + 3)) = s1;
0x0002002c lw v1, 0xc(s1) | v1 = *((s1 + 3));
0x00020030 lw a0, 0x10(s0) | a0 = *((s0 + 4));
| if (v0 == a1) {
0x00020034 beq v0, a1, 0x203c8 | goto label_84;
| }
0x00020038 lw a1, 8(s1) | a1 = *((s1 + 2));
| if (v0 == a1) {
0x0002003c beq v0, a1, 0x203c8 | goto label_84;
| }
0x00020040 nop |
0x00020044 lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
| if (v1 != a0) {
0x00020048 bne v1, a0, 0x20394 | goto label_20;
| }
0x0002004c addiu v1, zero, 4 | v1 = 4;
| label_21:
0x00020050 lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
| if (v0 != v1) {
0x00020054 bne v0, v1, 0x20394 | goto label_20;
| }
| label_13:
0x00020058 lw t9, -0x7fc4(gp) | t9 = *((gp - 8177));
| label_22:
0x0002005c sw zero, 0x168(s0) | *(s0) = 0;
0x00020060 bal 0xe850 | sym_avcodec_descriptor_get ();
0x00020064 lw a0, 0xc(s0) | a0 = *((s0 + 3));
0x00020068 lw gp, 0x20(sp) | gp = *(var_20h);
0x0002006c sw v0, 0x30c(s0) | *((s0 + 195)) = v0;
0x00020070 lw v0, 0x10(a0) | v0 = *((a0 + 4));
0x00020074 andi v0, v0, 0x200 | v0 &= 0x200;
| if (v0 != 0) {
0x00020078 beql v0, zero, 0x20094 |
0x0002007c lw v1, 8(s0) | v1 = *((s0 + 2));
0x00020080 lw v0, 0x238(s0) | v0 = *((s0 + 142));
0x00020084 slti v0, v0, -1 | v0 = (v0 < -1) ? 1 : 0;
0x00020088 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
| if (v0 == 0) {
0x0002008c beqz v0, 0x206a4 | goto label_85;
| }
0x00020090 lw v1, 8(s0) | v1 = *((s0 + 2));
| }
0x00020094 addiu v0, zero, 1 | v0 = 1;
| if (v1 == v0) {
0x00020098 beql v1, v0, 0x20594 | goto label_86;
| }
0x0002009c lw v0, 0x4c(s0) | v0 = *((s0 + 19));
| label_30:
0x000200a0 lw t9, -0x7fd8(gp) | t9 = *((gp - 8182));
| label_29:
0x000200a4 bal 0x1cb50 | sym_av_codec_is_decoder ();
0x000200a8 nop |
0x000200ac lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x000200b0 bnez v0, 0x20574 | goto label_87;
| }
| label_27:
0x000200b4 lw v0, 0x1c(s0) | v0 = *((s0 + 7));
0x000200b8 lw v0, 0x34(v0) | v0 = *((v0 + 13));
0x000200bc lw t9, -0x7f8c(gp) | t9 = *((gp - 8163));
| if (v0 != 0) {
0x000200c0 beqz v0, 0x200d8 |
0x000200c4 lw v0, 0x2b8(s0) | v0 = *((s0 + 174));
0x000200c8 andi v0, v0, 1 | v0 &= 1;
0x000200cc lw a0, 0xc(s0) | a0 = *((s0 + 3));
| if (v0 == 0) {
0x000200d0 bnel v0, zero, 0x200f0 | goto label_88;
| }
0x000200d4 lw t9, -0x7f8c(gp) | t9 = *((gp - 8163));
| }
0x000200d8 move a0, s0 | a0 = s0;
0x000200dc bal 0x19870 | fcn_00019870 ();
0x000200e0 move s4, v0 | s4 = v0;
0x000200e4 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 < 0) {
0x000200e8 bltz v0, 0x1fce4 | goto label_8;
| }
0x000200ec lw a0, 0xc(s0) | a0 = *((s0 + 3));
| label_88:
0x000200f0 lw v0, 0x2a8(s0) | v0 = *((s0 + 170));
0x000200f4 lbu a3, 0x28(a0) | a3 = *((a0 + 40));
0x000200f8 sltu v0, a3, v0 | v0 = (a3 < v0) ? 1 : 0;
0x000200fc lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
| if (v0 != 0) {
0x00020100 beqz v0, 0x20130 |
0x00020104 lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
0x00020108 lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x0002010c move a0, s0 | a0 = s0;
0x00020110 addiu a2, a2, 0x37ec | a2 += 0x37ec;
0x00020114 addiu a1, zero, 0x18 | a1 = 0x18;
0x00020118 jalr t9 | t9 ();
0x0002011c lw a0, 0xc(s0) | a0 = *((s0 + 3));
0x00020120 lw gp, 0x20(sp) | gp = *(var_20h);
0x00020124 lbu v0, 0x28(a0) | v0 = *((a0 + 40));
0x00020128 sw v0, 0x2a8(s0) | *((s0 + 170)) = v0;
0x0002012c lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
| }
0x00020130 bal 0x1cb10 | sym_av_codec_is_encoder ();
0x00020134 nop |
0x00020138 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x0002013c bnez v0, 0x205bc | goto label_89;
| }
0x00020140 lw v0, 0x3c(s0) | v0 = *((s0 + 15));
| label_42:
0x00020144 move a0, zero | a0 = 0;
0x00020148 lui a1, 0x8000 | a1 = 0x80000000;
0x0002014c move a2, zero | a2 = 0;
0x00020150 move a3, zero | a3 = 0;
0x00020154 andi v0, v0, 0x2000 | v0 &= 0x2000;
0x00020158 sw a2, 0x318(s0) | *((s0 + 198)) = a2;
0x0002015c sw a3, 0x31c(s0) | *((s0 + 199)) = a3;
0x00020160 sw a2, 0x310(s0) | *((s0 + 196)) = a2;
0x00020164 sw a3, 0x314(s0) | *((s0 + 197)) = a3;
0x00020168 sw a0, 0x328(s0) | *((s0 + 202)) = a0;
0x0002016c sw a1, 0x32c(s0) | *(s0) = a1;
0x00020170 sw a0, 0x320(s0) | *((s0 + 200)) = a0;
0x00020174 sw a1, 0x324(s0) | *((s0 + 201)) = a1;
| if (v0 != 0) {
0x00020178 beqz v0, 0x2018c |
0x0002017c lw v0, 0x30c(s0) | v0 = *((s0 + 195));
0x00020180 lw v0, 4(v0) | v0 = *((v0 + 1));
0x00020184 lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
| if (v0 == 0) {
0x00020188 beqz v0, 0x2081c | goto label_90;
| }
| }
| label_35:
0x0002018c lw a0, 0xc(s0) | a0 = *((s0 + 3));
0x00020190 lw t9, 0x50(a0) | t9 = *((a0 + 20));
| if (t9 == 0) {
0x00020194 beql t9, zero, 0x201d8 | goto label_91;
| }
0x00020198 move s6, zero | s6 = 0;
0x0002019c lw v0, 0x2b8(s0) | v0 = *((s0 + 174));
0x000201a0 andi v0, v0, 1 | v0 &= 1;
| if (v0 != 0) {
0x000201a4 beqz v0, 0x201bc |
0x000201a8 nop |
0x000201ac lw v0, 0x1c(s0) | v0 = *((s0 + 7));
0x000201b0 lw v0, 0x34(v0) | v0 = *((v0 + 13));
| if (v0 == 0) {
0x000201b4 beql v0, zero, 0x201d8 | goto label_91;
| }
0x000201b8 move s6, zero | s6 = 0;
| }
0x000201bc move a0, s0 | a0 = s0;
0x000201c0 jalr t9 | t9 ();
0x000201c4 move s4, v0 | s4 = v0;
0x000201c8 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 < 0) {
0x000201cc bltz v0, 0x1fce4 | goto label_8;
| }
0x000201d0 lw a0, 0xc(s0) | a0 = *((s0 + 3));
0x000201d4 addiu s6, zero, 1 | s6 = 1;
| label_91:
0x000201d8 lw t9, -0x7fd8(gp) | t9 = *((gp - 8182));
0x000201dc bal 0x1cb50 | sym_av_codec_is_decoder ();
0x000201e0 nop |
0x000201e4 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x000201e8 beqz v0, 0x202e8 |
0x000201ec lw v0, 0x28(s0) | v0 = *((s0 + 10));
0x000201f0 lw v1, 0x2c(s0) | v1 = *((s0 + 11));
0x000201f4 or a0, v0, v1 | a0 = v0 | v1;
| if (a0 == 0) {
0x000201f8 beql a0, zero, 0x2090c | goto label_92;
| }
0x000201fc lw a1, 8(s0) | a1 = *((s0 + 2));
| label_38:
0x00020200 lw a0, 0x178(s0) | a0 = *(s0);
0x00020204 lw a1, 0x17c(s0) | a1 = *((s0 + 95));
0x00020208 or v0, a0, a1 | v0 = a0 | a1;
0x0002020c lw t9, -0x7c64(gp) | t9 = *((gp - 7961));
| if (v0 != 0) {
0x00020210 bnez v0, 0x208e8 | goto label_93;
| }
0x00020214 lw a3, 0x15c(s0) | a3 = *(s0);
| label_37:
0x00020218 sltiu a3, a3, 0x101 | a3 = (a3 < 0x101) ? 1 : 0;
| if (a3 == 0) {
| label_48:
0x0002021c beql a3, zero, 0x20744 | goto label_57;
| }
0x00020220 addiu s4, zero, -0x16 | s4 = -0x16;
0x00020224 lw v0, 0x2a0(s0) | v0 = *((s0 + 168));
| if (v0 < 0) {
0x00020228 bltzl v0, 0x20744 | goto label_57;
| }
0x0002022c addiu s4, zero, -0x16 | s4 = -0x16;
0x00020230 lw a1, 0x330(s0) | a1 = *((s0 + 204));
0x00020234 addiu v0, zero, 3 | v0 = 3;
| if (a1 != 0) {
0x00020238 beqz a1, 0x2029c |
0x0002023c lw v1, 8(s0) | v1 = *((s0 + 2));
0x00020240 lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
| if (v1 != v0) {
0x00020244 bne v1, v0, 0x20e64 | goto label_94;
| }
0x00020248 lw v1, 0x30c(s0) | v1 = *((s0 + 195));
0x0002024c lw v0, 0x10(v1) | v0 = *((v1 + 4));
0x00020250 ext v0, v0, 0x10, 1 | __asm ("ext v0, v0, 0x10, 1");
0x00020254 lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
| if (v0 != 0) {
0x00020258 bnez v0, 0x20e3c | goto label_95;
| }
0x0002025c lw v0, 0x334(s0) | v0 = *((s0 + 205));
0x00020260 addiu v1, zero, 1 | v1 = 1;
| if (v0 != 0) {
0x00020264 bnez v0, 0x20e2c | goto label_96;
| }
0x00020268 addiu v0, zero, 1 | v0 = 1;
0x0002026c sw v0, 0x334(s0) | *((s0 + 205)) = v0;
0x00020270 lw a0, -0x7fd4(gp) | a0 = *((gp - 8181));
| label_55:
0x00020274 lw t9, -0x7ca4(gp) | t9 = *((gp - 7977));
0x00020278 addiu a0, a0, -0x38b0 | a0 += -0x38b0;
0x0002027c jalr t9 | t9 ();
0x00020280 addiu v1, zero, -1 | v1 = -1;
0x00020284 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == v1) {
0x00020288 beq v0, v1, 0x20ea0 | goto label_97;
| }
0x0002028c lw t9, -0x7b98(gp) | t9 = *((gp - 7910));
0x00020290 move a0, v0 | a0 = v0;
0x00020294 jalr t9 | t9 ();
0x00020298 lw gp, 0x20(sp) | gp = *(var_20h);
| }
| label_56:
0x0002029c lw a1, 0x2f8(s0) | a1 = *(s0);
| if (a1 <= 0) {
| label_54:
0x000202a0 blezl a1, 0x202ec | goto label_98;
| }
0x000202a4 lw v0, 0x38(s1) | v0 = *((s1 + 14));
0x000202a8 lw a2, 0x2fc(s0) | a2 = *((s0 + 191));
0x000202ac addiu v0, zero, 1 | v0 = 1;
| if (a2 <= 0) {
0x000202b0 blez a2, 0x202e8 | goto label_99;
| }
0x000202b4 lw v1, 0x54(s0) | v1 = *((s0 + 21));
0x000202b8 lw t9, -0x7ce0(gp) | t9 = *((gp - 7992));
0x000202bc sw v0, 0x10(sp) | *(var_10h) = v0;
0x000202c0 sw v0, 0x38(sp) | *(var_38h) = v0;
0x000202c4 move a3, v1 | a3 = v1;
0x000202c8 addiu a0, sp, 0x3c | a0 = sp + 0x3c;
0x000202cc sw v1, 0x34(sp) | *(var_34h) = v1;
0x000202d0 jalr t9 | t9 ();
0x000202d4 lw v0, 0x3c(sp) | v0 = *(var_3ch);
0x000202d8 lw gp, 0x20(sp) | gp = *(var_20h);
0x000202dc sw v0, 0x50(s0) | *((s0 + 20)) = v0;
0x000202e0 lw v0, 0x40(sp) | v0 = *(var_40h);
0x000202e4 sw v0, 0x4c(s0) | *((s0 + 19)) = v0;
| }
| label_99:
0x000202e8 lw v0, 0x38(s1) | v0 = *((s1 + 14));
| if (v0 <= 0) {
| label_98:
0x000202ec blezl v0, 0x1fec8 | goto label_9;
| }
0x000202f0 move s4, zero | s4 = 0;
0x000202f4 lw v1, 0x18(s0) | v1 = *((s0 + 6));
0x000202f8 move s4, zero | s4 = 0;
| if (v1 == 0) {
0x000202fc beqz v1, 0x1fec8 | goto label_9;
| }
0x00020300 lw v0, 0x2c(s1) | v0 = *((s1 + 11));
| if (v0 == 0) {
0x00020304 beqz v0, 0x1fec8 | goto label_9;
| }
0x00020308 nop |
0x0002030c lw v1, (v1) | v1 = *(v1);
| if (v0 == v1) {
0x00020310 beql v0, v1, 0x1fecc | goto label_10;
| }
0x00020314 lw v0, 0x74(s1) | v0 = *((s1 + 29));
0x00020318 addiu v0, zero, 0x3f7 | v0 = 0x3f7;
0x0002031c sw v0, 0x14(sp) | *(var_14h) = v0;
0x00020320 lw v0, -0x7fd4(gp) | v0 = *((gp - 8181));
0x00020324 lw a3, -0x7fd4(gp) | a3 = *((gp - 8181));
0x00020328 lw a2, -0x7fd0(gp) | a2 = *((gp - 8180));
0x0002032c lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x00020330 addiu v0, v0, 0x284c | v0 += 0x284c;
0x00020334 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00020338 addiu a3, a3, 0x3c88 | a3 += 0x3c88;
0x0002033c addiu a2, a2, 0x7f70 | a2 += 0x7f70;
0x00020340 move a1, zero | a1 = 0;
0x00020344 move a0, zero | a0 = 0;
0x00020348 jalr t9 | t9 ();
0x0002034c lw gp, 0x20(sp) | gp = *(var_20h);
0x00020350 lw t9, -0x7da8(gp) | t9 = *((gp - 8042));
0x00020354 jalr t9 | t9 ();
0x00020358 nop |
| label_80:
0x0002035c lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
0x00020360 lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x00020364 addiu a2, a2, 0x36e8 | a2 += 0x36e8;
0x00020368 addiu a1, zero, 0x18 | a1 = 0x18;
0x0002036c move a0, s0 | a0 = s0;
0x00020370 jalr t9 | t9 ();
0x00020374 lw gp, 0x20(sp) | gp = *(var_20h);
0x00020378 move a2, zero | a2 = 0;
0x0002037c move a1, zero | a1 = 0;
0x00020380 lw t9, -0x7f98(gp) | t9 = *((gp - 8166));
0x00020384 move a0, s0 | a0 = s0;
0x00020388 bal 0x1cb7c | fcn_0001cb7c ();
0x0002038c lw gp, 0x20(sp) | gp = *(var_20h);
0x00020390 b 0x1ffe8 | goto label_11;
| label_20:
0x00020394 lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x00020398 addiu a2, a2, 0x3728 | a2 += 0x3728;
| label_36:
0x0002039c addiu a1, zero, 0x10 | a1 = 0x10;
0x000203a0 move a0, s0 | a0 = s0;
0x000203a4 jalr t9 | t9 ();
0x000203a8 lw v0, 0xc(s0) | v0 = *((s0 + 3));
0x000203ac lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x000203b0 beqz v0, 0x20408 | goto label_100;
| }
| label_14:
0x000203b4 lw t9, 0x60(v0) | t9 = *((v0 + 24));
0x000203b8 addiu s4, zero, -0x16 | s4 = -0x16;
| if (t9 == 0) {
0x000203bc beqz t9, 0x1fd38 | goto label_3;
| }
0x000203c0 lw v0, 0x74(v0) | v0 = *((v0 + 29));
0x000203c4 b 0x1fd20 | goto label_12;
| if (a0 != 0) {
| label_84:
0x000203c8 bnez a0, 0x204ac | goto label_101;
| }
0x000203cc nop |
0x000203d0 lw v0, 8(s1) | v0 = *((s1 + 2));
0x000203d4 move a0, v1 | a0 = v1;
0x000203d8 sw v0, 8(s0) | *((s0 + 2)) = v0;
0x000203dc sw v1, 0x10(s0) | *((s0 + 4)) = v1;
0x000203e0 b 0x20058 | goto label_13;
| label_83:
0x000203e4 lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
0x000203e8 lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x000203ec addiu a2, a2, 0x3710 | a2 += 0x3710;
| label_34:
0x000203f0 addiu a1, zero, 0x10 | a1 = 0x10;
0x000203f4 move a0, s0 | a0 = s0;
0x000203f8 jalr t9 | t9 ();
0x000203fc lw v0, 0xc(s0) | v0 = *((s0 + 3));
0x00020400 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00020404 bnez v0, 0x203b4 | goto label_14;
| }
| label_100:
0x00020408 addiu s4, zero, -0x16 | s4 = -0x16;
0x0002040c b 0x1fd38 | goto label_3;
| if (a1 == 0) {
| label_69:
0x00020410 beql a1, zero, 0x1ff98 | goto label_15;
| }
0x00020414 lw a2, 0x368(s0) | a2 = *((s0 + 218));
0x00020418 lw a2, 0x60(s0) | a2 = *((s0 + 24));
0x0002041c lw t9, -0x7f98(gp) | t9 = *((gp - 8166));
| if (a2 == 0) {
0x00020420 beqz a2, 0x2068c | goto label_102;
| }
| label_78:
0x00020424 move a0, s0 | a0 = s0;
0x00020428 bal 0x1cb7c | fcn_0001cb7c ();
0x0002042c move s4, v0 | s4 = v0;
0x00020430 lw gp, 0x20(sp) | gp = *(var_20h);
0x00020434 b 0x1fcdc | goto label_16;
| label_82:
0x00020438 lw t9, -0x7c78(gp) | t9 = *((gp - 7966));
0x0002043c addiu a0, s0, 0x2e0 | a0 = s0 + 0x2e0;
0x00020440 jalr t9 | t9 ();
0x00020444 lw gp, 0x20(sp) | gp = *(var_20h);
0x00020448 b 0x20014 | goto label_17;
| if (v0 == 0) {
| label_77:
0x0002044c beql v0, zero, 0x20528 | goto label_79;
| }
0x00020450 lw v0, 0x60(s0) | v0 = *((s0 + 24));
0x00020454 move a0, a1 | a0 = a1;
0x00020458 move a1, v0 | a1 = v0;
0x0002045c b 0x1ff94 | goto label_18;
| label_81:
0x00020460 lw a2, 0xbc(s0) | a2 = *((s0 + 47));
0x00020464 lw a3, 0xc0(s0) | a3 = *((s0 + 48));
0x00020468 jalr t9 | t9 ();
0x0002046c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 >= 0) {
0x00020470 bgez v0, 0x20000 | goto label_19;
| }
0x00020474 lw v0, 0xc0(s0) | v0 = *((s0 + 48));
0x00020478 lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
0x0002047c lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x00020480 lw a3, 0xbc(s0) | a3 = *((s0 + 47));
0x00020484 addiu a2, a2, -0x3428 | a2 += -0x3428;
0x00020488 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0002048c addiu a1, zero, 0x18 | a1 = 0x18;
0x00020490 move a0, s0 | a0 = s0;
0x00020494 jalr t9 | t9 ();
0x00020498 addiu v0, zero, 1 | v0 = 1;
0x0002049c lw gp, 0x20(sp) | gp = *(var_20h);
0x000204a0 sw zero, 0xbc(s0) | *((s0 + 47)) = 0;
0x000204a4 sw v0, 0xc0(s0) | *((s0 + 48)) = v0;
0x000204a8 b 0x20000 | goto label_19;
| label_101:
0x000204ac lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
| if (v1 != a0) {
0x000204b0 bne v1, a0, 0x20394 | goto label_20;
| }
0x000204b4 lw v1, 8(s1) | v1 = *((s1 + 2));
0x000204b8 addiu v1, zero, 4 | v1 = 4;
| if (v0 != v1) {
0x000204bc bne v0, v1, 0x20050 | goto label_21;
| }
0x000204c0 lw t9, -0x7fc4(gp) | t9 = *((gp - 8177));
0x000204c4 b 0x2005c | goto label_22;
| label_66:
0x000204c8 jalr t9 | t9 ();
0x000204cc nop |
0x000204d0 lw gp, 0x20(sp) | gp = *(var_20h);
0x000204d4 sw v0, 0x18(s0) | *((s0 + 6)) = v0;
| if (v0 == 0) {
0x000204d8 beqz v0, 0x1fec4 | goto label_23;
| }
0x000204dc lw v1, 0x2c(s1) | v1 = *((s1 + 11));
0x000204e0 lw t9, -0x7cb0(gp) | t9 = *((gp - 7980));
| if (v1 == 0) {
0x000204e4 beqz v1, 0x1ff60 | goto label_24;
| }
0x000204e8 sw v1, (v0) | *(v0) = v1;
0x000204ec move a0, v0 | a0 = v0;
0x000204f0 jalr t9 | t9 ();
0x000204f4 lw gp, 0x20(sp) | gp = *(var_20h);
0x000204f8 b 0x1fc18 | goto label_25;
| label_61:
0x000204fc lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
0x00020500 lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x00020504 lw a3, (s1) | a3 = *(s1);
0x00020508 addiu a2, a2, 0x3678 | a2 += 0x3678;
0x0002050c sw v0, 0x10(sp) | *(var_10h) = v0;
0x00020510 addiu a1, zero, 0x10 | a1 = 0x10;
0x00020514 move a0, s0 | a0 = s0;
0x00020518 jalr t9 | t9 ();
0x0002051c addiu s4, zero, -0x16 | s4 = -0x16;
0x00020520 lw gp, 0x20(sp) | gp = *(var_20h);
0x00020524 b 0x1fe84 | goto label_2;
| label_79:
0x00020528 lw t9, -0x7fd8(gp) | t9 = *((gp - 8182));
| if (v0 == 0) {
0x0002052c beqz v0, 0x20004 | goto label_26;
| }
0x00020530 move a1, zero | a1 = 0;
0x00020534 move a0, zero | a0 = 0;
0x00020538 b 0x1ff94 | goto label_18;
| label_67:
0x0002053c lw v0, 0x34c(s0) | v0 = *((s0 + 211));
0x00020540 lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
0x00020544 lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x00020548 lw a3, (s1) | a3 = *(s1);
0x0002054c addiu a2, a2, 0x36c4 | a2 += 0x36c4;
0x00020550 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00020554 addiu a1, zero, 0x10 | a1 = 0x10;
0x00020558 move a0, s0 | a0 = s0;
0x0002055c jalr t9 | t9 ();
0x00020560 lw v0, 0xc(s0) | v0 = *((s0 + 3));
0x00020564 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00020568 bnez v0, 0x203b4 | goto label_14;
| }
0x0002056c addiu s4, zero, -0x16 | s4 = -0x16;
0x00020570 b 0x1fd38 | goto label_3;
| label_87:
0x00020574 lw t9, -0x7f88(gp) | t9 = *((gp - 8162));
0x00020578 move a0, s0 | a0 = s0;
0x0002057c bal 0x135a8 | fcn_000135a8 ();
0x00020580 move s4, v0 | s4 = v0;
0x00020584 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 >= 0) {
0x00020588 bgez v0, 0x200b4 | goto label_27;
| }
0x0002058c lw v0, 0xc(s0) | v0 = *((s0 + 3));
0x00020590 b 0x1fce8 | goto label_28;
| if (v0 == 0) {
| label_86:
0x00020594 beql v0, zero, 0x205ac | goto label_103;
| }
0x00020598 lw v0, 0x158(s0) | v0 = *(s0);
0x0002059c lw v0, 0x50(s0) | v0 = *((s0 + 20));
0x000205a0 lw t9, -0x7fd8(gp) | t9 = *((gp - 8182));
| if (v0 != 0) {
0x000205a4 bnez v0, 0x200a4 | goto label_29;
| }
0x000205a8 lw v0, 0x158(s0) | v0 = *(s0);
| label_103:
0x000205ac addiu v1, zero, 1 | v1 = 1;
0x000205b0 sw v1, 0x4c(s0) | *((s0 + 19)) = v1;
0x000205b4 sw v0, 0x50(s0) | *((s0 + 20)) = v0;
0x000205b8 b 0x200a0 | goto label_30;
| label_89:
0x000205bc lw t9, -0x7d88(gp) | t9 = *((gp - 8034));
0x000205c0 jalr t9 | t9 ();
0x000205c4 nop |
0x000205c8 lw gp, 0x20(sp) | gp = *(var_20h);
0x000205cc sw v0, 0x2ac(s0) | *((s0 + 171)) = v0;
| if (v0 == 0) {
0x000205d0 beqz v0, 0x20b20 | goto label_104;
| }
0x000205d4 lw v0, 0x4c(s0) | v0 = *((s0 + 19));
0x000205d8 lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
| if (v0 <= 0) {
0x000205dc blez v0, 0x20844 | goto label_105;
| }
0x000205e0 lw v0, 0x50(s0) | v0 = *((s0 + 20));
0x000205e4 lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
| if (v0 <= 0) {
0x000205e8 blez v0, 0x20848 | goto label_106;
| }
0x000205ec lw a0, 0xc(s0) | a0 = *((s0 + 3));
0x000205f0 lw a1, 0x20(a0) | a1 = *((a0 + 8));
0x000205f4 addiu a2, zero, -1 | a2 = -1;
| if (a1 == 0) {
0x000205f8 beqz a1, 0x2076c | goto label_107;
| }
0x000205fc lw v0, (a1) | v0 = *(a1);
0x00020600 lw v1, 0x160(s0) | v1 = *(s0);
| if (v0 == a2) {
0x00020604 beq v0, a2, 0x20b94 | goto label_108;
| }
0x00020608 move s6, zero | s6 = 0;
| if (v0 == v1) {
0x0002060c beq v0, v1, 0x2076c | goto label_107;
| }
0x00020610 addiu fp, zero, 1 | fp = 1;
0x00020614 addiu s7, zero, -1 | s7 = -1;
0x00020618 b 0x20634 | goto label_109;
| label_31:
0x0002061c addiu s6, s6, 4 | s6 += 4;
| do {
0x00020620 lwx v0, s6(a1) | __asm ("lwx v0, s6(a1)");
| if (v0 == s7) {
0x00020624 beql v0, s7, 0x20b98 | goto label_110;
| }
0x00020628 lw v0, -0x7fd4(gp) | v0 = *((gp - 8181));
| if (v0 == v1) {
0x0002062c beql v0, v1, 0x20770 | goto label_47;
| }
0x00020630 lw v0, 0x18(a0) | v0 = *((a0 + 6));
| label_109:
0x00020634 lw a3, 0x15c(s0) | a3 = *(s0);
0x00020638 addiu s6, s6, 4 | s6 += 4;
0x0002063c bnel a3, fp, 0x20620 |
| } while (a3 == fp);
0x00020640 lw t9, -0x7dcc(gp) | t9 = *((gp - 8051));
0x00020644 move a0, v1 | a0 = v1;
0x00020648 jalr t9 | t9 ();
0x0002064c lw a0, 0xc(s0) | a0 = *((s0 + 3));
0x00020650 lw gp, 0x20(sp) | gp = *(var_20h);
0x00020654 sw v0, 0x2c(sp) | *(var_2ch) = v0;
0x00020658 lw a0, 0x20(a0) | a0 = *((a0 + 8));
0x0002065c lw t9, -0x7dcc(gp) | t9 = *((gp - 8051));
0x00020660 lwx a0, s6(a0) | __asm ("lwx a0, s6(a0)");
0x00020664 jalr t9 | t9 ();
0x00020668 lw v1, 0x2c(sp) | v1 = *(var_2ch);
0x0002066c lw gp, 0x20(sp) | gp = *(var_20h);
0x00020670 lw a0, 0xc(s0) | a0 = *((s0 + 3));
| if (v1 == v0) {
0x00020674 beq v1, v0, 0x20b74 | goto label_111;
| }
0x00020678 lw v1, 0x160(s0) | v1 = *(s0);
0x0002067c lw a1, 0x20(a0) | a1 = *((a0 + 8));
0x00020680 b 0x2061c | goto label_31;
| label_71:
0x00020684 move a1, a2 | a1 = a2;
0x00020688 b 0x1ff94 | goto label_18;
| label_102:
0x0002068c move a1, zero | a1 = 0;
0x00020690 b 0x1ff94 | goto label_18;
| label_72:
0x00020694 lw a1, 0x68(s0) | a1 = *((s0 + 26));
| if (a0 == 0) {
0x00020698 beqz a0, 0x1ff80 | goto label_32;
| }
0x0002069c lw a2, 0x368(s0) | a2 = *((s0 + 218));
0x000206a0 b 0x1ff98 | goto label_15;
| label_85:
0x000206a4 move a0, s1 | a0 = s1;
0x000206a8 bal 0x1cb10 | sym_av_codec_is_encoder ();
0x000206ac lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x000206b0 bnez v0, 0x20988 | goto label_112;
| }
0x000206b4 lw s4, -0x7fd4(gp) | s4 = *((gp - 8181));
0x000206b8 addiu s4, s4, 0x1210 | s4 += 0x1210;
| label_40:
0x000206bc addiu v0, zero, -2 | v0 = -2;
0x000206c0 sw v0, 0x14(sp) | *(var_14h) = v0;
0x000206c4 lw v0, (s1) | v0 = *(s1);
0x000206c8 lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
0x000206cc lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x000206d0 move a3, s4 | a3 = s4;
0x000206d4 addiu a2, a2, 0x3748 | a2 += 0x3748;
0x000206d8 addiu a1, zero, 0x10 | a1 = 0x10;
0x000206dc move a0, s0 | a0 = s0;
0x000206e0 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000206e4 jalr t9 | t9 ();
0x000206e8 lw gp, 0x20(sp) | gp = *(var_20h);
0x000206ec lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x000206f0 move a0, s1 | a0 = s1;
0x000206f4 bal 0x1cb10 | sym_av_codec_is_encoder ();
0x000206f8 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x000206fc beqz v0, 0x20974 | goto label_113;
| }
0x00020700 lw t9, -0x7fbc(gp) | t9 = *((gp - 8175));
0x00020704 lw a0, 0xc(s1) | a0 = *((s1 + 3));
0x00020708 bal 0x928c | sym_avcodec_find_encoder ();
0x0002070c lw gp, 0x20(sp) | gp = *(var_20h);
| label_39:
0x00020710 lw v1, 0x10(v0) | v1 = *((v0 + 4));
0x00020714 andi v1, v1, 0x200 | v1 &= 0x200;
| if (v1 == 0) {
0x00020718 beql v1, zero, 0x20994 | goto label_114;
| }
0x0002071c lw v0, (v0) | v0 = *(v0);
0x00020720 lw v0, 0xc(s0) | v0 = *((s0 + 3));
| if (v0 == 0) {
0x00020724 beql v0, zero, 0x209c4 | goto label_115;
| }
0x00020728 lui s4, 0xd44d | s4 = 0xd44d0000;
| label_41:
0x0002072c lw t9, 0x60(v0) | t9 = *((v0 + 24));
0x00020730 lui s4, 0xd44d | s4 = 0xd44d5058;
0x00020734 addiu s4, s4, 0x5058 |
| if (t9 != 0) {
0x00020738 bnez t9, 0x1fd1c | goto label_4;
| }
0x0002073c lw v0, 0x2c(s1) | v0 = *((s1 + 11));
0x00020740 b 0x1fd3c | goto label_5;
| label_57:
0x00020744 lw v0, 0xc(s0) | v0 = *((s0 + 3));
| if (v0 == 0) {
0x00020748 beql v0, zero, 0x1fd3c | goto label_5;
| }
0x0002074c lw v0, 0x2c(s1) | v0 = *((s1 + 11));
0x00020750 lw t9, 0x60(v0) | t9 = *((v0 + 24));
| if (t9 == 0) {
0x00020754 beql t9, zero, 0x1fd3c | goto label_5;
| }
0x00020758 lw v0, 0x2c(s1) | v0 = *((s1 + 11));
| if (s6 != 0) {
0x0002075c bnez s6, 0x1fd2c | goto label_33;
| }
0x00020760 nop |
0x00020764 lw v0, 0x74(v0) | v0 = *((v0 + 29));
0x00020768 b 0x1fd20 | goto label_12;
| label_107:
0x0002076c lw v0, 0x18(a0) | v0 = *((a0 + 6));
| if (v0 == 0) {
| label_47:
0x00020770 beql v0, zero, 0x207d8 | goto label_43;
| }
0x00020774 lw v0, 0x1c(a0) | v0 = *((a0 + 7));
0x00020778 lw v1, (v0) | v1 = *(v0);
0x0002077c addiu a1, zero, -1 | a1 = -1;
| if (v1 == a1) {
0x00020780 beql v1, a1, 0x207b4 | goto label_116;
| }
0x00020784 lw v0, 0x10(s0) | v0 = *((s0 + 4));
0x00020788 lw a1, 0x70(s0) | a1 = *((s0 + 28));
0x0002078c addiu v0, v0, 4 | v0 += 4;
| if (a1 == v1) {
0x00020790 beq a1, v1, 0x20af0 | goto label_117;
| }
0x00020794 addiu a2, zero, -1 | a2 = -1;
0x00020798 b 0x207a4 |
| while (v1 != a2) {
0x0002079c addiu v0, v0, 4 | v0 += 4;
| if (v1 == a1) {
0x000207a0 beq v1, a1, 0x20aec | goto label_118;
| }
0x000207a4 lw v1, (v0) | v1 = *(v0);
0x000207a8 bne v1, a2, 0x2079c |
| }
0x000207ac nop |
0x000207b0 lw v0, 0x10(s0) | v0 = *((s0 + 4));
| label_116:
0x000207b4 addiu v1, zero, 7 | v1 = 7;
0x000207b8 addiu v1, zero, 9 | v1 = 9;
| if (v0 != v1) {
0x000207bc beq v0, v1, 0x207c8 |
0x000207c0 lw v0, 0x70(s0) | v0 = *((s0 + 28));
| if (v0 == v1) {
0x000207c4 bnel v0, v1, 0x20c64 | goto label_119;
| }
| }
0x000207c8 lw v0, 0x238(s0) | v0 = *((s0 + 142));
| if (v0 >= 0) {
0x000207cc bgezl v0, 0x20c64 | goto label_119;
| }
0x000207d0 lw v0, 0x70(s0) | v0 = *((s0 + 28));
| label_44:
0x000207d4 lw v0, 0x1c(a0) | v0 = *((a0 + 7));
| label_43:
0x000207d8 lw a3, 0x158(s0) | a3 = *(s0);
| if (v0 == 0) {
0x000207dc beqz v0, 0x20850 | goto label_120;
| }
0x000207e0 lw v1, (v0) | v1 = *(v0);
| if (v1 == 0) {
0x000207e4 beql v1, zero, 0x20810 | goto label_121;
| }
0x000207e8 lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
0x000207ec addiu v0, v0, 4 | v0 += 4;
| if (v1 == a3) {
0x000207f0 beq v1, a3, 0x20850 | goto label_120;
| }
0x000207f4 lw v1, (v0) | v1 = *(v0);
0x000207f8 b 0x20808 |
| while (v1 != 0) {
0x000207fc addiu v0, v0, 4 | v0 += 4;
| if (v1 == a3) {
0x00020800 beq v1, a3, 0x20850 | goto label_120;
| }
0x00020804 lw v1, (v0) | v1 = *(v0);
0x00020808 lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
0x0002080c bnez v1, 0x207fc |
| }
| do {
| label_121:
0x00020810 lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x00020814 addiu a2, a2, 0x38c0 | a2 += 0x38c0;
0x00020818 b 0x203f0 | goto label_34;
| label_90:
0x0002081c lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x00020820 addiu a2, a2, 0x3b04 | a2 += 0x3b04;
0x00020824 addiu a1, zero, 0x18 | a1 = 0x18;
0x00020828 move a0, s0 | a0 = s0;
0x0002082c jalr t9 | t9 ();
0x00020830 lw gp, 0x20(sp) | gp = *(var_20h);
0x00020834 b 0x2018c | goto label_35;
| label_76:
0x00020838 lw t9, -0x7c34(gp) | t9 = *((gp - 7949));
0x0002083c jalr t9 | t9 ();
0x00020840 nop |
| label_105:
0x00020844 lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
| label_106:
0x00020848 addiu a2, a2, 0x382c | a2 += 0x382c;
0x0002084c b 0x2039c | goto label_36;
| label_120:
0x00020850 lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
0x00020854 bltz a3, 0x20810 |
| } while (a3 < 0);
0x00020858 lw v0, 0x24(a0) | v0 = *((a0 + 9));
0x0002085c lw t0, 0x178(s0) | t0 = *(s0);
| if (v0 == 0) {
0x00020860 beqz v0, 0x209e8 | goto label_122;
| }
0x00020864 lw v1, 0x17c(s0) | v1 = *((s0 + 95));
0x00020868 or a0, t0, v1 | a0 = t0 | v1;
0x0002086c lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
| if (a0 == 0) {
0x00020870 beqz a0, 0x209cc | goto label_123;
| }
0x00020874 lw a1, (v0) | a1 = *(v0);
0x00020878 lw a0, 4(v0) | a0 = *((v0 + 1));
0x0002087c or a2, a1, a0 | a2 = a1 | a0;
0x00020880 lw t9, -0x7b68(gp) | t9 = *((gp - 7898));
| if (a2 == 0) {
0x00020884 beqz a2, 0x208b4 | goto label_124;
| }
| if (a1 == t0) {
0x00020888 beq a1, t0, 0x20b40 | goto label_125;
| }
0x0002088c nop |
0x00020890 addiu v0, v0, 8 | v0 += 8;
0x00020894 b 0x208a0 |
| while (a2 != 0) {
0x00020898 addiu v0, v0, 8 | v0 += 8;
| if (a1 == t0) {
0x0002089c beq a1, t0, 0x20d3c | goto label_126;
| }
| label_45:
0x000208a0 lw a1, (v0) | a1 = *(v0);
| label_49:
0x000208a4 lw a0, 4(v0) | a0 = *((v0 + 1));
0x000208a8 or a2, a1, a0 | a2 = a1 | a0;
0x000208ac lw t9, -0x7b68(gp) | t9 = *((gp - 7898));
0x000208b0 bnez a2, 0x20898 |
| }
| label_124:
0x000208b4 addiu s4, sp, 0x44 | s4 = sp + 0x44;
0x000208b8 addiu a2, zero, -1 | a2 = -1;
0x000208bc addiu a1, zero, 0x200 | a1 = 0x200;
0x000208c0 move a0, s4 | a0 = s4;
0x000208c4 sw t0, 0x10(sp) | *(var_10h) = t0;
0x000208c8 sw v1, 0x14(sp) | *(var_14h) = v1;
0x000208cc jalr t9 | t9 ();
0x000208d0 lw gp, 0x20(sp) | gp = *(var_20h);
0x000208d4 move a3, s4 | a3 = s4;
0x000208d8 lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
0x000208dc lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x000208e0 addiu a2, a2, 0x3cc4 | a2 += 0x3cc4;
0x000208e4 b 0x203f0 | goto label_34;
| label_93:
0x000208e8 jalr t9 | t9 ();
0x000208ec nop |
0x000208f0 lw a3, 0x15c(s0) | a3 = *(s0);
0x000208f4 lw gp, 0x20(sp) | gp = *(var_20h);
0x000208f8 move s7, v0 | s7 = v0;
| if (a3 != 0) {
0x000208fc bnez a3, 0x20bec | goto label_127;
| }
0x00020900 sw v0, 0x15c(s0) | *(s0) = v0;
0x00020904 move a3, v0 | a3 = v0;
0x00020908 b 0x20218 | goto label_37;
| label_92:
0x0002090c addiu a0, zero, 1 | a0 = 1;
0x00020910 lw t9, -0x7fa8(gp) | t9 = *((gp - 8170));
| if (a1 != a0) {
0x00020914 beq a1, a0, 0x20924 |
0x00020918 sw v0, 0x28(s0) | *((s0 + 10)) = v0;
0x0002091c sw v1, 0x2c(s0) | *((s0 + 11)) = v1;
0x00020920 b 0x20200 | goto label_38;
| }
0x00020924 lw a0, 0x10(s0) | a0 = *((s0 + 4));
0x00020928 bal 0x1e840 | sym_av_get_bits_per_sample ();
0x0002092c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00020930 beqz v0, 0x20e84 | goto label_128;
| }
0x00020934 lw a0, 0x158(s0) | a0 = *(s0);
0x00020938 lw a3, 0x15c(s0) | a3 = *(s0);
0x0002093c sra v1, v0, 0x1f | v1 = v0 >> 0x1f;
0x00020940 mult a0, a3 | __asm ("mult a0, a3");
0x00020944 mflo a0 | __asm ("mflo a0");
0x00020948 mfhi a1 | __asm ("mfhi a1");
0x0002094c mult v1, a0 | __asm ("mult v1, a0");
0x00020950 multu ac1, a0, v0 | __asm ("multu ac1, a0, v0");
0x00020954 madd v0, a1 | __asm ("madd v0, a1");
0x00020958 mfhi v1, ac1 | __asm ("mfhi v1, ac1");
0x0002095c mflo a0 | __asm ("mflo a0");
0x00020960 mflo v0, ac1 | __asm ("mflo v0, ac1");
0x00020964 addu v1, a0, v1 | v1 = a0 + v1;
0x00020968 sw v0, 0x28(s0) | *((s0 + 10)) = v0;
0x0002096c sw v1, 0x2c(s0) | *((s0 + 11)) = v1;
0x00020970 b 0x20200 | goto label_38;
| label_113:
0x00020974 lw t9, -0x7fc0(gp) | t9 = *((gp - 8176));
0x00020978 lw a0, 0xc(s1) | a0 = *((s1 + 3));
0x0002097c bal 0x9378 | sym_avcodec_find_decoder ();
0x00020980 lw gp, 0x20(sp) | gp = *(var_20h);
0x00020984 b 0x20710 | goto label_39;
| label_112:
0x00020988 lw s4, -0x7fd4(gp) | s4 = *((gp - 8181));
0x0002098c addiu s4, s4, 0x3648 | s4 += 0x3648;
0x00020990 b 0x206bc | goto label_40;
| label_114:
0x00020994 lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
0x00020998 lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x0002099c sw v0, 0x10(sp) | *(var_10h) = v0;
0x000209a0 move a3, s4 | a3 = s4;
0x000209a4 addiu a2, a2, 0x37b8 | a2 += 0x37b8;
0x000209a8 addiu a1, zero, 0x10 | a1 = 0x10;
0x000209ac move a0, s0 | a0 = s0;
0x000209b0 jalr t9 | t9 ();
0x000209b4 lw v0, 0xc(s0) | v0 = *((s0 + 3));
0x000209b8 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x000209bc bnez v0, 0x2072c | goto label_41;
| }
0x000209c0 lui s4, 0xd44d | s4 = 0xd44d5058;
| label_115:
0x000209c4 addiu s4, s4, 0x5058 |
0x000209c8 b 0x1fd38 | goto label_3;
| label_123:
0x000209cc lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x000209d0 addiu a2, a2, 0x38ec | a2 += 0x38ec;
0x000209d4 addiu a1, zero, 0x18 | a1 = 0x18;
0x000209d8 move a0, s0 | a0 = s0;
0x000209dc jalr t9 | t9 ();
0x000209e0 lw gp, 0x20(sp) | gp = *(var_20h);
0x000209e4 lw t0, 0x178(s0) | t0 = *(s0);
| label_122:
0x000209e8 lw v1, 0x17c(s0) | v1 = *((s0 + 95));
0x000209ec or v0, t0, v1 | v0 = t0 | v1;
0x000209f0 lw v0, 0x15c(s0) | v0 = *(s0);
| if (v0 == 0) {
0x000209f4 bnel v0, zero, 0x20b4c | goto label_50;
| }
0x000209f8 lw a3, 0x15c(s0) | a3 = *(s0);
| label_46:
0x000209fc lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
| if (a3 < 0) {
0x00020a00 bltz a3, 0x20f14 | goto label_129;
| }
0x00020a04 lw v0, 8(s0) | v0 = *((s0 + 2));
0x00020a08 lw t9, -0x7d9c(gp) | t9 = *((gp - 8039));
| if (v0 == 0) {
0x00020a0c beqz v0, 0x20d5c | goto label_130;
| }
| label_51:
0x00020a10 sltiu v0, v0, 2 | v0 = (v0 < 2) ? 1 : 0;
0x00020a14 lw v0, 0x28(s0) | v0 = *((s0 + 10));
| if (v0 == 0) {
0x00020a18 bnel v0, zero, 0x20dd8 | goto label_131;
| }
| label_53:
0x00020a1c lw v0, 0x1d0(s0) | v0 = *((s0 + 116));
| label_52:
0x00020a20 lw a3, 0x54(s0) | a3 = *((s0 + 21));
| if (v0 != 0) {
0x00020a24 bnel v0, zero, 0x20a7c |
0x00020a28 lw v0, 0x1ac(s0) | v0 = *((s0 + 107));
0x00020a2c sra a1, v0, 0x1f | a1 = v0 >> 0x1f;
0x00020a30 sll v1, v0, 1 | v1 = v0 << 1;
0x00020a34 srl a2, v0, 0x1f | a2 = v0 >> 0x1f;
0x00020a38 sll a0, a1, 1 | a0 = a1 << 1;
0x00020a3c addu v0, v1, v0 | v0 = v1 + v0;
0x00020a40 or a0, a2, a0 | a0 = a2 | a0;
0x00020a44 sltu v1, v0, v1 | v1 = (v0 < v1) ? 1 : 0;
0x00020a48 addu a0, a0, a1 | a0 += a1;
0x00020a4c addu v1, v1, a0 | v1 += a0;
| if (v1 < 0) {
0x00020a50 bgezl v1, 0x20a6c |
0x00020a54 sll v1, v1, 0x1e | v1 <<= 0x1e;
0x00020a58 addiu a0, v0, 3 | a0 = v0 + 3;
0x00020a5c sltu v0, a0, v0 | v0 = (a0 < v0) ? 1 : 0;
0x00020a60 addu v1, v0, v1 | v1 = v0 + v1;
0x00020a64 move v0, a0 | v0 = a0;
0x00020a68 sll v1, v1, 0x1e | v1 <<= 0x1e;
| }
0x00020a6c srl v0, v0, 2 | v0 >>= 2;
0x00020a70 or v0, v1, v0 | v0 = v1 | v0;
0x00020a74 sw v0, 0x1d0(s0) | *((s0 + 116)) = v0;
0x00020a78 lw a3, 0x54(s0) | a3 = *((s0 + 21));
| }
| if (a3 == 0) {
0x00020a7c beql a3, zero, 0x20ab4 | goto label_132;
| }
0x00020a80 lw v0, 0x35c(s0) | v0 = *((s0 + 215));
0x00020a84 lw v1, 0x4c(s0) | v1 = *((s0 + 19));
| if (v1 == 0) {
0x00020a88 beql v1, zero, 0x20ab4 | goto label_132;
| }
0x00020a8c lw v0, 0x35c(s0) | v0 = *((s0 + 215));
| if (v0 == 0) {
| label_132:
0x00020ab4 beql v0, zero, 0x20144 | goto label_42;
| }
0x00020ab8 lw v0, 0x3c(s0) | v0 = *((s0 + 15));
| label_118:
0x00020aec move v1, a1 | v1 = a1;
| label_117:
0x00020af0 addiu v0, v1, -0xc | v0 = v1 + -0xc;
0x00020af4 sltiu v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x00020af8 addiu v0, zero, 0x8c | v0 = 0x8c;
| if (v0 != 0) {
0x00020afc bnez v0, 0x20b14 | goto label_133;
| }
0x00020b00 addiu v0, zero, 2 | v0 = 2;
| if (v1 == v0) {
0x00020b04 beq v1, v0, 0x20b18 | goto label_134;
| }
0x00020b08 addiu v0, zero, 0x20 | v0 = 0x20;
0x00020b0c lw v0, 0x1c(a0) | v0 = *((a0 + 7));
| if (v1 == v0) {
0x00020b10 bnel v1, v0, 0x207d8 | goto label_43;
| }
| label_133:
0x00020b14 addiu v0, zero, 2 | v0 = 2;
| label_134:
0x00020b18 sw v0, 0x148(s0) | *(s0) = v0;
0x00020b1c b 0x207d4 | goto label_44;
| label_104:
0x00020b20 lw v0, 0xc(s0) | v0 = *((s0 + 3));
0x00020b24 addiu s4, zero, -0xc | s4 = -0xc;
| if (v0 == 0) {
0x00020b28 beqz v0, 0x1fd38 | goto label_3;
| }
0x00020b2c lw t9, 0x60(v0) | t9 = *((v0 + 24));
0x00020b30 lw v0, 0x74(v0) | v0 = *((v0 + 29));
| if (t9 == 0) {
0x00020b34 bnel t9, zero, 0x1fd20 | goto label_12;
| }
0x00020b38 lw v0, 0x2c(s1) | v0 = *((s1 + 11));
0x00020b3c b 0x1fd3c | goto label_5;
| label_125:
0x00020b40 addiu v0, v0, 8 | v0 += 8;
| if (a0 != v1) {
0x00020b44 bne a0, v1, 0x208a0 | goto label_45;
| }
0x00020b48 lw v0, 0x15c(s0) | v0 = *(s0);
| label_50:
0x00020b4c lw t9, -0x7c64(gp) | t9 = *((gp - 7961));
0x00020b50 move a0, t0 | a0 = t0;
0x00020b54 move a1, v1 | a1 = v1;
| if (v0 != 0) {
0x00020b58 bnez v0, 0x20cbc | goto label_135;
| }
0x00020b5c jalr t9 | t9 ();
0x00020b60 nop |
0x00020b64 move a3, v0 | a3 = v0;
0x00020b68 lw gp, 0x20(sp) | gp = *(var_20h);
0x00020b6c sw v0, 0x15c(s0) | *(s0) = v0;
0x00020b70 b 0x209fc | goto label_46;
| label_111:
0x00020b74 lw v0, 0x20(a0) | v0 = *((a0 + 8));
0x00020b78 addiu a1, zero, -1 | a1 = -1;
0x00020b7c addu s6, v0, s6 | s6 = v0 + s6;
0x00020b80 lw v1, (s6) | v1 = *(s6);
0x00020b84 sw v1, 0x160(s0) | *(s0) = v1;
0x00020b88 lw v0, (s6) | v0 = *(s6);
0x00020b8c lw v0, 0x18(a0) | v0 = *((a0 + 6));
| if (v0 == a1) {
0x00020b90 bnel v0, a1, 0x20770 | goto label_47;
| }
| label_108:
0x00020b94 lw v0, -0x7fd4(gp) | v0 = *((gp - 8181));
| label_110:
0x00020b98 lw t9, -0x7b88(gp) | t9 = *((gp - 7906));
0x00020b9c addiu s4, sp, 0x44 | s4 = sp + 0x44;
0x00020ba0 addiu v0, v0, 0x35e4 | v0 += 0x35e4;
0x00020ba4 addiu a3, zero, 0x80 | a3 = 0x80;
0x00020ba8 addiu a2, zero, 1 | a2 = 1;
0x00020bac addiu a1, zero, 0x80 | a1 = 0x80;
0x00020bb0 move a0, s4 | a0 = s4;
0x00020bb4 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00020bb8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00020bbc jalr t9 | t9 ();
0x00020bc0 lw gp, 0x20(sp) | gp = *(var_20h);
0x00020bc4 lw t9, -0x7dc8(gp) | t9 = *((gp - 8050));
0x00020bc8 lw a0, 0x160(s0) | a0 = *(s0);
0x00020bcc jalr t9 | t9 ();
0x00020bd0 lw gp, 0x20(sp) | gp = *(var_20h);
0x00020bd4 move a3, s4 | a3 = s4;
| if (v0 == 0) {
0x00020bd8 movn a3, v0, v0 | a3 = v0;
| }
0x00020bdc lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
0x00020be0 lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x00020be4 addiu a2, a2, 0x3850 | a2 += 0x3850;
0x00020be8 b 0x203f0 | goto label_34;
| if (a3 == v0) {
| label_127:
0x00020bec beql a3, v0, 0x2021c | goto label_48;
| }
0x00020bf0 sltiu a3, a3, 0x101 | a3 = (a3 < 0x101) ? 1 : 0;
0x00020bf4 lw v1, 0x17c(s0) | v1 = *((s0 + 95));
0x00020bf8 lw v0, 0x178(s0) | v0 = *(s0);
0x00020bfc lw t9, -0x7b68(gp) | t9 = *((gp - 7898));
0x00020c00 addiu s4, sp, 0x44 | s4 = sp + 0x44;
0x00020c04 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00020c08 addiu a2, zero, -1 | a2 = -1;
0x00020c0c addiu a1, zero, 0x200 | a1 = 0x200;
0x00020c10 move a0, s4 | a0 = s4;
0x00020c14 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00020c18 jalr t9 | t9 ();
0x00020c1c lw gp, 0x20(sp) | gp = *(var_20h);
0x00020c20 lw v0, 0x15c(s0) | v0 = *(s0);
0x00020c24 move a3, s4 | a3 = s4;
0x00020c28 lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
0x00020c2c lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x00020c30 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00020c34 sw s7, 0x10(sp) | *(var_10h) = s7;
0x00020c38 addiu a2, a2, 0x3b44 | a2 += 0x3b44;
0x00020c3c addiu a1, zero, 0x18 | a1 = 0x18;
0x00020c40 move a0, s0 | a0 = s0;
0x00020c44 jalr t9 | t9 ();
0x00020c48 move v0, zero | v0 = 0;
0x00020c4c move v1, zero | v1 = 0;
0x00020c50 lw gp, 0x20(sp) | gp = *(var_20h);
0x00020c54 lw a3, 0x15c(s0) | a3 = *(s0);
0x00020c58 sw v0, 0x178(s0) | *(s0) = v0;
0x00020c5c sw v1, 0x17c(s0) | *((s0 + 95)) = v1;
0x00020c60 b 0x20218 | goto label_37;
| label_119:
0x00020c64 lw t9, -0x7b88(gp) | t9 = *((gp - 7906));
0x00020c68 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00020c6c lw v0, -0x7fd4(gp) | v0 = *((gp - 8181));
0x00020c70 addiu s4, sp, 0x44 | s4 = sp + 0x44;
0x00020c74 addiu v0, v0, 0x35e4 | v0 += 0x35e4;
0x00020c78 addiu a3, zero, 0x80 | a3 = 0x80;
0x00020c7c addiu a2, zero, 1 | a2 = 1;
0x00020c80 addiu a1, zero, 0x80 | a1 = 0x80;
0x00020c84 move a0, s4 | a0 = s4;
0x00020c88 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00020c8c jalr t9 | t9 ();
0x00020c90 lw gp, 0x20(sp) | gp = *(var_20h);
0x00020c94 lw t9, -0x7bf4(gp) | t9 = *((gp - 7933));
0x00020c98 lw a0, 0x70(s0) | a0 = *((s0 + 28));
0x00020c9c jalr t9 | t9 ();
0x00020ca0 lw gp, 0x20(sp) | gp = *(var_20h);
0x00020ca4 move a3, s4 | a3 = s4;
| if (v0 == 0) {
0x00020ca8 movn a3, v0, v0 | a3 = v0;
| }
0x00020cac lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
0x00020cb0 lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x00020cb4 addiu a2, a2, 0x3888 | a2 += 0x3888;
0x00020cb8 b 0x203f0 | goto label_34;
| label_135:
0x00020cbc jalr t9 | t9 ();
0x00020cc0 nop |
0x00020cc4 lw a3, 0x15c(s0) | a3 = *(s0);
0x00020cc8 lw gp, 0x20(sp) | gp = *(var_20h);
0x00020ccc move s6, v0 | s6 = v0;
| if (a3 == v0) {
0x00020cd0 beq a3, v0, 0x209fc | goto label_46;
| }
0x00020cd4 lw v0, 0x178(s0) | v0 = *(s0);
0x00020cd8 lw v1, 0x17c(s0) | v1 = *((s0 + 95));
0x00020cdc lw t9, -0x7b68(gp) | t9 = *((gp - 7898));
0x00020ce0 addiu s4, sp, 0x44 | s4 = sp + 0x44;
0x00020ce4 addiu a2, zero, -1 | a2 = -1;
0x00020ce8 addiu a1, zero, 0x200 | a1 = 0x200;
0x00020cec move a0, s4 | a0 = s4;
0x00020cf0 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00020cf4 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00020cf8 jalr t9 | t9 ();
0x00020cfc lw gp, 0x20(sp) | gp = *(var_20h);
0x00020d00 lw v0, 0x15c(s0) | v0 = *(s0);
0x00020d04 sw s6, 0x10(sp) | *(var_10h) = s6;
0x00020d08 lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
0x00020d0c lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x00020d10 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00020d14 move a3, s4 | a3 = s4;
0x00020d18 addiu a2, a2, 0x390c | a2 += 0x390c;
0x00020d1c addiu a1, zero, 0x10 | a1 = 0x10;
0x00020d20 move a0, s0 | a0 = s0;
0x00020d24 jalr t9 | t9 ();
0x00020d28 lw v0, 0xc(s0) | v0 = *((s0 + 3));
0x00020d2c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00020d30 bnez v0, 0x203b4 | goto label_14;
| }
0x00020d34 addiu s4, zero, -0x16 | s4 = -0x16;
0x00020d38 b 0x1fd38 | goto label_3;
| label_126:
0x00020d3c lw a1, (v0) | a1 = *(v0);
| if (a0 == v1) {
0x00020d40 bnel a0, v1, 0x208a4 | goto label_49;
| }
0x00020d44 lw v0, 0x15c(s0) | v0 = *(s0);
0x00020d48 b 0x20b4c | goto label_50;
| label_130:
0x00020d5c lw a0, 0x70(s0) | a0 = *((s0 + 28));
0x00020d60 jalr t9 | t9 ();
0x00020d64 lw a3, 0x2a4(s0) | a3 = *((s0 + 169));
0x00020d68 lw gp, 0x20(sp) | gp = *(var_20h);
0x00020d6c move s6, v0 | s6 = v0;
| if (a3 < 0) {
0x00020d70 bltz a3, 0x20e98 | goto label_136;
| }
0x00020d74 slti v0, a3, 9 | v0 = (a3 < 9) ? 1 : 0;
0x00020d78 lw v0, 0x5c(s0) | v0 = *((s0 + 23));
| if (v0 != 0) {
0x00020d7c bnel v0, zero, 0x20dbc |
0x00020d80 lw v0, 0x20(s6) | v0 = *((s6 + 8));
0x00020d84 slti v1, v0, 9 | v1 = (v0 < 9) ? 1 : 0;
| if (v1 == 0) {
0x00020d88 beql v1, zero, 0x20dbc | goto label_137;
| }
0x00020d8c lw v0, 0x5c(s0) | v0 = *((s0 + 23));
| label_58:
0x00020d90 lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
0x00020d94 lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x00020d98 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00020d9c addiu a2, a2, 0x3998 | a2 += 0x3998;
0x00020da0 addiu a1, zero, 0x18 | a1 = 0x18;
0x00020da4 move a0, s0 | a0 = s0;
0x00020da8 jalr t9 | t9 ();
0x00020dac lw v0, 0x20(s6) | v0 = *((s6 + 8));
0x00020db0 lw gp, 0x20(sp) | gp = *(var_20h);
0x00020db4 sw v0, 0x2a4(s0) | *((s0 + 169)) = v0;
0x00020db8 lw v0, 0x5c(s0) | v0 = *((s0 + 23));
| }
| label_137:
0x00020dbc lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
| if (v0 <= 0) {
0x00020dc0 blez v0, 0x20f54 | goto label_138;
| }
0x00020dc4 lw v0, 0x60(s0) | v0 = *((s0 + 24));
0x00020dc8 lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
| if (v0 <= 0) {
0x00020dcc blez v0, 0x20f58 | goto label_139;
| }
0x00020dd0 lw v0, 8(s0) | v0 = *((s0 + 2));
0x00020dd4 b 0x20a10 | goto label_51;
| label_131:
0x00020dd8 lw a0, 0x2c(s0) | a0 = *((s0 + 11));
0x00020ddc addiu v1, v0, -1 | v1 = v0 + -1;
0x00020de0 sltu a1, v1, v0 | a1 = (v1 < v0) ? 1 : 0;
0x00020de4 addiu a2, a0, -1 | a2 = a0 + -1;
0x00020de8 addu a1, a1, a2 | a1 += a2;
0x00020dec lw v0, 0x1d0(s0) | v0 = *((s0 + 116));
| if (a1 == 0) {
0x00020df0 bnel a1, zero, 0x20a20 | goto label_52;
| }
0x00020df4 sltiu v1, v1, 0x3e7 | v1 = (v1 < 0x3e7) ? 1 : 0;
0x00020df8 lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
| if (v1 == 0) {
0x00020dfc beqz v1, 0x20a1c | goto label_53;
| }
0x00020e00 lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x00020e04 sw a0, 0x1c(sp) | *(var_1ch) = a0;
0x00020e08 sw a0, 0x14(sp) | *(var_14h) = a0;
0x00020e0c sw v0, 0x18(sp) | *(var_18h) = v0;
0x00020e10 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00020e14 addiu a2, a2, 0x39fc | a2 += 0x39fc;
0x00020e18 addiu a1, zero, 0x18 | a1 = 0x18;
0x00020e1c move a0, s0 | a0 = s0;
0x00020e20 jalr t9 | t9 ();
0x00020e24 lw gp, 0x20(sp) | gp = *(var_20h);
0x00020e28 b 0x20a1c | goto label_53;
| label_96:
0x00020e2c lw a1, 0x2f8(s0) | a1 = *(s0);
| if (v0 == v1) {
0x00020e30 bnel v0, v1, 0x202a0 | goto label_54;
| }
0x00020e34 lw a0, -0x7fd4(gp) | a0 = *((gp - 8181));
0x00020e38 b 0x20274 | goto label_55;
| label_95:
0x00020e3c lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x00020e40 lw a3, 8(v1) | a3 = *((v1 + 2));
0x00020e44 addiu a2, a2, 0x3bf8 | a2 += 0x3bf8;
0x00020e48 addiu a1, zero, 0x18 | a1 = 0x18;
0x00020e4c move a0, s0 | a0 = s0;
0x00020e50 jalr t9 | t9 ();
0x00020e54 addiu v0, zero, -1 | v0 = -1;
0x00020e58 lw gp, 0x20(sp) | gp = *(var_20h);
0x00020e5c sw v0, 0x334(s0) | *((s0 + 205)) = v0;
0x00020e60 b 0x2029c | goto label_56;
| label_94:
0x00020e64 lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x00020e68 addiu a2, a2, 0x3bbc | a2 += 0x3bbc;
0x00020e6c addiu a1, zero, 0x10 | a1 = 0x10;
0x00020e70 move a0, s0 | a0 = s0;
0x00020e74 jalr t9 | t9 ();
0x00020e78 addiu s4, zero, -0x16 | s4 = -0x16;
0x00020e7c lw gp, 0x20(sp) | gp = *(var_20h);
0x00020e80 b 0x20744 | goto label_57;
| label_128:
0x00020e84 lw v0, 0x28(s0) | v0 = *((s0 + 10));
0x00020e88 lw v1, 0x2c(s0) | v1 = *((s0 + 11));
0x00020e8c sw v0, 0x28(s0) | *((s0 + 10)) = v0;
0x00020e90 sw v1, 0x2c(s0) | *((s0 + 11)) = v1;
0x00020e94 b 0x20200 | goto label_38;
| label_136:
0x00020e98 lw v0, 0x20(v0) | v0 = *((v0 + 8));
0x00020e9c b 0x20d90 | goto label_58;
| label_97:
0x00020ea0 lw t9, -0x7d1c(gp) | t9 = *((gp - 8007));
0x00020ea4 jalr t9 | t9 ();
0x00020ea8 nop |
0x00020eac lw gp, 0x20(sp) | gp = *(var_20h);
0x00020eb0 lw s4, (v0) | s4 = *(v0);
0x00020eb4 lw a3, 0x330(s0) | a3 = *((s0 + 204));
0x00020eb8 lw a2, -0x7fd4(gp) | a2 = *((gp - 8181));
0x00020ebc lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x00020ec0 addiu a2, a2, 0x3c44 | a2 += 0x3c44;
0x00020ec4 addiu a1, zero, 0x10 | a1 = 0x10;
0x00020ec8 move a0, s0 | a0 = s0;
0x00020ecc jalr t9 | t9 ();
0x00020ed0 negu s4, s4 | __asm ("negu s4, s4");
0x00020ed4 lw gp, 0x20(sp) | gp = *(var_20h);
0x00020ed8 b 0x20744 | goto label_57;
| label_129:
0x00020f14 lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
0x00020f18 addiu a2, a2, 0x3964 | a2 += 0x3964;
0x00020f1c b 0x203f0 | goto label_34;
| label_138:
0x00020f54 lw t9, -0x7c9c(gp) | t9 = *((gp - 7975));
| label_139:
0x00020f58 addiu a2, a2, 0x39e8 | a2 += 0x39e8;
0x00020f5c b 0x2039c | goto label_36;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libavcodec.so.58.54.100 @ 0x1db08 */
| #include <stdint.h>
|
; (fcn) sym.avcodec_profile_name () | void avcodec_profile_name () {
0x0001db08 lui gp, 4 |
0x0001db0c addiu gp, gp, -0x7b18 |
0x0001db10 addu gp, gp, t9 | gp += t9;
0x0001db14 addiu sp, sp, -0x20 |
0x0001db18 lw t9, -0x7fc4(gp) | t9 = *((gp - 8177));
0x0001db1c sw s0, 0x18(sp) | *(var_18h) = s0;
0x0001db20 sw gp, 0x10(sp) | *(var_10h) = gp;
0x0001db24 sw ra, 0x1c(sp) | *(var_1ch) = ra;
0x0001db28 move s0, a1 | s0 = a1;
0x0001db2c bal 0xe850 | sym_avcodec_descriptor_get ();
0x0001db30 addiu v1, zero, -0x63 | v1 = -0x63;
0x0001db34 lw ra, 0x1c(sp) | ra = *(var_1ch);
| if (s0 == v1) {
0x0001db38 beq s0, v1, 0x1db84 | goto label_0;
| }
| if (v0 == 0) {
0x0001db3c beql v0, zero, 0x1db88 | goto label_1;
| }
0x0001db40 lw s0, 0x18(sp) | s0 = *(var_18h);
0x0001db44 lw v0, 0x18(v0) | v0 = *((v0 + 6));
| if (v0 == 0) {
0x0001db48 beql v0, zero, 0x1db88 | goto label_1;
| }
0x0001db4c lw s0, 0x18(sp) | s0 = *(var_18h);
0x0001db50 lw a0, (v0) | a0 = *(v0);
| if (a0 == v1) {
0x0001db54 beql a0, v1, 0x1db88 | goto label_1;
| }
0x0001db58 lw s0, 0x18(sp) | s0 = *(var_18h);
0x0001db5c addiu a0, zero, -0x63 | a0 = -0x63;
| if (s0 == a0) {
0x0001db60 beq s0, a0, 0x1db94 | goto label_2;
| }
0x0001db64 addiu v0, v0, 8 | v0 += 8;
0x0001db68 b 0x1db78 |
| while (v1 != a0) {
| if (v1 == s0) {
0x0001db6c beql v1, s0, 0x1db98 | goto label_3;
| }
0x0001db70 lw v0, 4(v0) | v0 = *((v0 + 1));
0x0001db74 addiu v0, v0, 8 | v0 += 8;
0x0001db78 lw v1, (v0) | v1 = *(v0);
0x0001db7c lw ra, 0x1c(sp) | ra = *(var_1ch);
0x0001db80 bne v1, a0, 0x1db6c |
| }
| label_0:
0x0001db84 lw s0, 0x18(sp) | s0 = *(var_18h);
| label_1:
0x0001db88 move v0, zero | v0 = 0;
0x0001db8c addiu sp, sp, 0x20 |
0x0001db90 jr ra | return v0;
| label_2:
0x0001db94 lw v0, 4(v0) | v0 = *((v0 + 1));
| label_3:
0x0001db98 lw s0, 0x18(sp) | s0 = *(var_18h);
0x0001db9c addiu sp, sp, 0x20 |
0x0001dba0 jr ra | return v0;
| }
[*] Function fprintf used 1 times libavcodec.so.58.54.100