[*] Binary protection state of audiocontrol
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function sprintf tear down of audiocontrol
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/audiocontrol @ 0x15fe0 */
| #include <stdint.h>
|
; (fcn) fcn.00015fe0 () | void fcn_00015fe0 () {
0x00015fe0 lui gp, 5 |
0x00015fe4 addiu gp, gp, -0x1f00 |
0x00015fe8 addu gp, gp, t9 | gp += t9;
0x00015fec addiu sp, sp, -0x7ff0 |
0x00015ff0 lui v1, 1 | v1 = 0x16068;
0x00015ff4 ori v1, v1, 0x6068 |
0x00015ff8 lw v0, -0x7934(gp) | v0 = *((gp - 7757));
0x00015ffc sw fp, 0x7fe8(sp) | *(arg_7fe8h) = fp;
0x00016000 sw s0, 0x7fc8(sp) | *(arg_7fc8h) = s0;
0x00016004 sw ra, 0x7fec(sp) | *(arg_7fech) = ra;
0x00016008 sw s7, 0x7fe4(sp) | *(arg_7fe4h) = s7;
0x0001600c sw s6, 0x7fe0(sp) | *(arg_7fe0h) = s6;
0x00016010 sw s5, 0x7fdc(sp) | *(arg_7fdch) = s5;
0x00016014 sw s4, 0x7fd8(sp) | *(arg_7fd8h) = s4;
0x00016018 sw s3, 0x7fd4(sp) | *(arg_7fd4h) = s3;
0x0001601c sw s2, 0x7fd0(sp) | *(arg_7fd0h) = s2;
0x00016020 sw s1, 0x7fcc(sp) | *(arg_7fcch) = s1;
0x00016024 subu sp, sp, v1 |
0x00016028 move fp, sp | fp = sp;
0x0001602c lw v1, (v0) | v1 = *(v0);
0x00016030 sw gp, 0x18(sp) | *(arg_18h) = gp;
0x00016034 move s0, a0 | s0 = a0;
0x00016038 sw v0, 0x24(fp) | *(arg_24h) = v0;
0x0001603c lbu v0, 0x1fc(a0) | v0 = *(a0);
0x00016040 lui a0, 1 | a0 = 0x1e024;
0x00016044 ori a0, a0, 0xe024 |
0x00016048 addiu a1, fp, 8 | a1 = fp + 8;
0x0001604c addu a0, a0, a1 | a0 += a1;
0x00016050 sw v1, (a0) | *(a0) = v1;
0x00016054 addiu v1, fp, 8 | v1 = fp + 8;
| if (v0 != 0) {
0x00016058 bnez v0, 0x1622c | goto label_14;
| }
0x0001605c lui v0, 1 | v0 = 0x10000;
0x00016060 lui s5, 0xfffe | s5 = 0xfffe0000;
0x00016064 ori v0, v0, 0xe028 | v0 |= 0xe028;
0x00016068 addiu s5, s5, 0x1ffc | s5 += 0x1ffc;
0x0001606c addu v0, v0, v1 | v0 += v1;
0x00016070 addiu s1, zero, 0x7800 | s1 = 0x7800;
0x00016074 move s3, zero | s3 = 0;
0x00016078 move s4, zero | s4 = 0;
0x0001607c addu s5, v0, s5 | s5 = v0 + s5;
0x00016080 addiu s6, zero, -0xb | s6 = -0xb;
0x00016084 addiu s7, zero, -0x20 | s7 = -0x20;
| label_1:
0x00016088 lw t9, -0x78f4(gp) | t9 = sym.imp.snd_pcm_readi;
| do {
| label_0:
0x0001608c lw a0, (s0) | a0 = *(s0);
0x00016090 move a2, s1 | a2 = s1;
0x00016094 addu a1, s5, s4 | a1 = s5 + s4;
0x00016098 jalr t9 | t9 ();
0x0001609c move s2, v0 | s2 = v0;
0x000160a0 lw gp, 0x18(fp) | gp = *(arg_18h);
| if (v0 != s6) {
0x000160a4 beq v0, s6, 0x160bc |
| if (v0 < 0) {
0x000160a8 bltz v0, 0x160ec | goto label_15;
| }
0x000160ac nop |
0x000160b0 slt v0, v0, s1 | v0 = (v0 < s1) ? 1 : 0;
| if (v0 == 0) {
0x000160b4 beqz v0, 0x160d0 | goto label_16;
| }
0x000160b8 nop |
| }
0x000160bc lw t9, -0x78e0(gp) | t9 = sym.imp.snd_pcm_wait;
0x000160c0 lw a0, (s0) | a0 = *(s0);
0x000160c4 addiu a1, zero, 0xc8 | a1 = 0xc8;
0x000160c8 jalr t9 | t9 ();
0x000160cc lw gp, 0x18(fp) | gp = *(arg_18h);
| label_16:
0x000160d0 lw t9, -0x78f4(gp) | t9 = sym.imp.snd_pcm_readi;
0x000160d4 blez s2, 0x1608c |
| } while (s2 <= 0);
0x000160d8 subu s1, s1, s2 | __asm ("subu s1, s1, s2");
0x000160dc addu s3, s3, s2 | s3 += s2;
| if (s1 <= 0) {
0x000160e0 blez s1, 0x16290 | goto label_17;
| }
0x000160e4 sll s4, s3, 2 | s4 = s3 << 2;
0x000160e8 b 0x1608c | goto label_0;
| label_15:
0x000160ec lw t9, -0x7798(gp) | t9 = sym.imp.snd_pcm_prepare;
| if (v0 != s7) {
0x000160f0 bne v0, s7, 0x16548 | goto label_18;
| }
0x000160f4 lw a0, (s0) | a0 = *(s0);
0x000160f8 jalr t9 | t9 ();
0x000160fc lw gp, 0x18(fp) | gp = *(arg_18h);
0x00016100 b 0x16088 | goto label_1;
| label_8:
0x00016104 addiu a3, v0, -0xa | a3 = v0 + -0xa;
0x00016108 addiu a0, s0, 8 | a0 = s0 + 8;
| if (a3 <= 0) {
0x0001610c blez a3, 0x1612c | goto label_19;
| }
0x00016110 addiu a1, v1, 9 | a1 = v1 + 9;
0x00016114 addu t0, s2, v0 | t0 = s2 + v0;
| do {
0x00016118 lbu a2, (a0) | a2 = *(a0);
0x0001611c addiu a0, a0, 1 | a0++;
0x00016120 sb a2, (a1) | *(a1) = a2;
0x00016124 addiu a1, a1, 1 | a1++;
0x00016128 bne t0, a0, 0x16118 |
| } while (t0 != a0);
| label_19:
0x0001612c addu v0, s0, v0 | v0 = s0 + v0;
0x00016130 andi a2, a3, 0xff | a2 = a3 & 0xff;
0x00016134 lbu t1, 1(v0) | t1 = *((v0 + 1));
0x00016138 lbu a0, (v0) | a0 = *(v0);
0x0001613c addu t0, s0, a3 | t0 = s0 + a3;
0x00016140 addiu a2, a2, 4 | a2 += 4;
0x00016144 addiu a1, a2, 7 | a1 = a2 + 7;
0x00016148 lbu t4, 8(t0) | t4 = *((t0 + 8));
0x0001614c sll t1, t1, 0x18 | t1 <<= 0x18;
0x00016150 lbu t0, -1(v0) | t0 = *((v0 - 1));
0x00016154 sll v0, a0, 0x10 | v0 = a0 << 0x10;
0x00016158 andi a0, a1, 0x3f8 | a0 = a1 & 0x3f8;
0x0001615c or v0, v0, t1 | v0 |= t1;
0x00016160 move s7, sp | s7 = sp;
0x00016164 subu sp, sp, a0 |
0x00016168 lbu t5, 5(v1) | t5 = *((v1 + 5));
0x0001616c lbu t3, 6(v1) | t3 = *((v1 + 6));
0x00016170 lbu t2, 7(v1) | t2 = *((v1 + 7));
0x00016174 lbu t1, 8(v1) | t1 = *((v1 + 8));
0x00016178 addiu a1, sp, 0x18 | a1 = sp + 0x18;
0x0001617c sll a0, t0, 8 | a0 = t0 << 8;
0x00016180 or v0, v0, t4 | v0 |= t4;
0x00016184 or v0, a0, v0 | v0 = a0 | v0;
0x00016188 andi a0, a3, 0xff | a0 = a3 & 0xff;
0x0001618c sw v0, 0xfc(v1) | *((v1 + 63)) = v0;
0x00016190 sb t5, 0x18(sp) | *(arg_18h) = t5;
0x00016194 sb t3, 1(a1) | *((a1 + 1)) = t3;
0x00016198 sb t2, 2(a1) | *((a1 + 2)) = t2;
0x0001619c sb t1, 3(a1) | *((a1 + 3)) = t1;
| if (a0 == 0) {
0x000161a0 beqz a0, 0x161c4 | goto label_20;
| }
0x000161a4 addiu v0, v1, 9 | v0 = v1 + 9;
0x000161a8 addu a0, v0, a0 | a0 = v0 + a0;
0x000161ac addiu v1, sp, 0x1c | v1 = sp + 0x1c;
| do {
0x000161b0 lbu a3, (v0) | a3 = *(v0);
0x000161b4 addiu v0, v0, 1 | v0++;
0x000161b8 sb a3, (v1) | *(v1) = a3;
0x000161bc addiu v1, v1, 1 | v1++;
0x000161c0 bne a0, v0, 0x161b0 |
| } while (a0 != v0);
| label_20:
0x000161c4 lw t9, -0x7874(gp) | t9 = sym.imp.crc32;
0x000161c8 addiu a0, zero, -1 | a0 = -1;
0x000161cc jalr t9 | t9 ();
0x000161d0 lw gp, 0x18(fp) | gp = *(arg_18h);
0x000161d4 lw v1, 0x100(s0) | v1 = *(s0);
0x000161d8 lw a0, 0xfc(v1) | a0 = *((v1 + 63));
0x000161dc move sp, s7 |
| if (a0 != v0) {
0x000161e0 bne a0, v0, 0x16524 | goto label_21;
| }
0x000161e4 lbu v0, 7(v1) | v0 = *((v1 + 7));
0x000161e8 addiu a0, zero, 8 | a0 = 8;
| if (v0 != 0) {
0x000161ec bnez v0, 0x16528 | goto label_22;
| }
0x000161f0 lbu v0, 8(v1) | v0 = *((v1 + 8));
0x000161f4 addiu v0, v1, 5 | v0 = v1 + 5;
| if (v0 == 0) {
0x000161f8 bnel v0, zero, 0x1652c | goto label_23;
| }
0x000161fc lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00016200 lw t9, -0x7a3c(gp) | t9 = sym.imp.__sprintf_chk
0x00016204 addiu v1, v1, 9 | v1 += 9;
0x00016208 sw v1, 0x10(sp) | *(arg_10h) = v1;
| /* esilref: '&s' */
0x0001620c addiu a3, a3, 0x6948 | a3 += 0x6948;
0x00016210 addiu a2, zero, 0xf0 | a2 = 0xf0;
0x00016214 addiu a1, zero, 1 | a1 = 1;
0x00016218 addiu a0, s0, 0x10c | a0 = s0 + aav.0x0000010c;
0x0001621c jalr t9 | t9 ();
0x00016220 addiu v0, zero, 1 | v0 = 1;
0x00016224 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00016228 sb v0, 0x1fc(s0) | *(s0) = v0;
| do {
| label_14:
0x0001622c move s2, zero | s2 = 0;
| label_13:
0x00016230 lui v0, 1 | v0 = 0x10000;
0x00016234 addiu v1, fp, 8 | v1 = fp + 8;
0x00016238 ori v0, v0, 0xe024 | v0 |= 0xe024;
0x0001623c addu v0, v0, v1 | v0 += v1;
0x00016240 lw a0, (v0) | a0 = *(v0);
0x00016244 lw v0, 0x24(fp) | v0 = *(arg_24h);
0x00016248 lw v1, (v0) | v1 = *(v0);
0x0001624c move v0, s2 | v0 = s2;
| if (a0 != v1) {
0x00016250 bne a0, v1, 0x1657c | goto label_24;
| }
0x00016254 lui t0, 1 | t0 = 0x16068;
0x00016258 ori t0, t0, 0x6068 |
0x0001625c addu sp, fp, t0 |
0x00016260 lw ra, 0x7fec(sp) | ra = *(arg_7fech_2);
0x00016264 lw fp, 0x7fe8(sp) | fp = *(arg_7fe8h_2);
0x00016268 lw s7, 0x7fe4(sp) | s7 = *(arg_7fe4h_2);
0x0001626c lw s6, 0x7fe0(sp) | s6 = *(arg_7fe0h_2);
0x00016270 lw s5, 0x7fdc(sp) | s5 = *(arg_7fdch_2);
0x00016274 lw s4, 0x7fd8(sp) | s4 = *(arg_7fd8h_2);
0x00016278 lw s3, 0x7fd4(sp) | s3 = *(arg_7fd4h_2);
0x0001627c lw s2, 0x7fd0(sp) | s2 = *(arg_7fd0h_2);
0x00016280 lw s1, 0x7fcc(sp) | s1 = *(arg_7fcch_2);
0x00016284 lw s0, 0x7fc8(sp) | s0 = *(arg_7fc8h_2);
0x00016288 addiu sp, sp, 0x7ff0 |
0x0001628c jr ra | return v1;
| label_17:
0x00016290 lui v1, 1 | v1 = 0x10000;
0x00016294 addiu a0, fp, 8 | a0 = fp + 8;
0x00016298 ori v0, v1, 0xe028 | v0 = v1 | 0xe028;
0x0001629c lui s3, 0xfffe | s3 = 0xfffe0000;
0x000162a0 addu v0, v0, a0 | v0 += a0;
0x000162a4 addiu s3, s3, 0x1ffc | s3 += 0x1ffc;
0x000162a8 addu s3, v0, s3 | s3 = v0 + s3;
0x000162ac ori v0, v1, 0xe024 | v0 = v1 | 0xe024;
0x000162b0 addu s6, a0, v0 | s6 = a0 + v0;
0x000162b4 lui s4, 0xd000 | s4 = 0xd0000000;
0x000162b8 lw v0, (s3) | v0 = *(s3);
0x000162bc addiu s4, s4, 1 | s4++;
0x000162c0 lw v1, 0x104(s0) | v1 = *(s0);
0x000162c4 ext v0, v0, 8, 1 | __asm ("ext v0, v0, 8, 1");
0x000162c8 lw s5, -0x7fdc(gp) | s5 = *(gp);
0x000162cc move a2, s4 | a2 = s4;
| if (v0 != 0) {
0x000162d0 movz a2, zero, v0 | a2 = 0;
| }
0x000162d4 srl v1, v1, 1 | v1 >>= 1;
0x000162d8 addiu s2, s0, -2 | s2 = s0 + -2;
0x000162dc addiu s5, s5, 0x2180 | s5 += 0x2180;
0x000162e0 andi v0, v0, 0xffff | v0 &= 0xffff;
0x000162e4 lhu a1, 0x108(s0) | a1 = *(s0);
0x000162e8 xor a0, v1, a2 | a0 = v1 ^ a2;
| if (v1 == a2) {
0x000162ec beq v1, a2, 0x163f0 | goto label_25;
| }
| label_2:
0x000162f0 lhu v1, 0xfc(s0) | v1 = *((s0 + 126));
0x000162f4 andi a2, a0, 1 | a2 = a0 & 1;
0x000162f8 addiu a3, zero, 5 | a3 = 5;
0x000162fc sw a0, 0x104(s0) | *(s0) = a0;
0x00016300 sw a2, 0x108(s0) | *(s0) = a2;
| if (v1 == a3) {
0x00016304 beq v1, a3, 0x1640c | goto label_26;
| }
| label_3:
0x00016308 addiu a2, zero, 6 | a2 = 6;
0x0001630c lw a0, 0x100(s0) | a0 = *(s0);
| if (v1 == a2) {
0x00016310 beq v1, a2, 0x164e8 | goto label_27;
| }
0x00016314 addiu v1, v1, 1 | v1++;
| if (v0 != a1) {
0x00016318 bne v0, a1, 0x16418 | goto label_28;
| }
0x0001631c move v1, zero | v1 = 0;
| label_4:
0x00016320 sh v1, 0xfc(s0) | *((s0 + 126)) = v1;
0x00016324 move a2, zero | a2 = 0;
| label_10:
0x00016328 lw a3, (a0) | a3 = *(a0);
0x0001632c lw a0, 4(s0) | a0 = *((s0 + 1));
0x00016330 xor v0, v0, a1 | v0 ^= a1;
0x00016334 lbu v1, (a3) | v1 = *(a3);
0x00016338 andi a1, a0, 7 | a1 = a0 & 7;
0x0001633c negu v0, v0 | __asm ("negu v0, v0");
0x00016340 addiu a0, zero, 1 | a0 = 1;
0x00016344 xor v0, v1, v0 | v0 = v1 ^ v0;
0x00016348 sllv a0, a0, a1 | a0 <<= a1;
0x0001634c and v0, v0, a0 | v0 &= a0;
0x00016350 xor v0, v1, v0 | v0 = v1 ^ v0;
0x00016354 sb v0, (a3) | *(a3) = v0;
0x00016358 lw v0, 4(s0) | v0 = *((s0 + 1));
0x0001635c addiu v1, v0, -7 | v1 = v0 + -7;
0x00016360 sltiu a0, v1, 0x21 | a0 = (v1 < 0x21) ? 1 : 0;
0x00016364 addiu v0, v0, 1 | v0++;
0x00016368 sw v0, 4(s0) | *((s0 + 1)) = v0;
| if (a0 == 0) {
0x0001636c beqz a0, 0x164a4 | goto label_29;
| }
0x00016370 sll v1, v1, 2 | v1 <<= 2;
0x00016374 lwx v1, v1(s5) | __asm ("lwx v1, v1(s5)");
0x00016378 addu v1, v1, gp | v1 += gp;
0x0001637c jr v1 | v1 ();
0x00016380 nop |
| if (a2 != 0) {
| label_7:
0x00016390 beql a2, zero, 0x163c4 |
0x00016394 addiu s3, s3, 4 | s3 += 4;
0x00016398 lw v0, 0x100(s0) | v0 = *(s0);
0x0001639c addiu a0, zero, 8 | a0 = 8;
0x000163a0 addiu v1, v0, 5 | v1 = v0 + 5;
0x000163a4 sw a0, 4(s0) | *((s0 + 1)) = a0;
0x000163a8 sw v1, (v0) | *(v0) = v1;
0x000163ac sh zero, 0xfc(s0) | *((s0 + 126)) = 0;
0x000163b0 sw zero, 4(v0) | *((v0 + 1)) = 0;
0x000163b4 sh zero, 8(v0) | *((v0 + 4)) = 0;
0x000163b8 sw zero, 0xfc(v0) | *((v0 + 63)) = 0;
0x000163bc sb zero, 0x100(v0) | *(v0) = 0;
| label_6:
0x000163c0 addiu s3, s3, 4 | s3 += 4;
| }
| label_5:
0x000163c4 move a2, s4 | a2 = s4;
0x000163c8 beq s6, s3, 0x1622c |
| } while (s6 == s3);
0x000163cc lw v0, (s3) | v0 = *(s3);
0x000163d0 lw v1, 0x104(s0) | v1 = *(s0);
0x000163d4 ext v0, v0, 8, 1 | __asm ("ext v0, v0, 8, 1");
| if (v0 != 0) {
0x000163d8 movz a2, zero, v0 | a2 = 0;
| }
0x000163dc srl v1, v1, 1 | v1 >>= 1;
0x000163e0 andi v0, v0, 0xffff | v0 &= 0xffff;
0x000163e4 lhu a1, 0x108(s0) | a1 = *(s0);
0x000163e8 xor a0, v1, a2 | a0 = v1 ^ a2;
| if (v1 != a2) {
0x000163ec bne v1, a2, 0x162f0 | goto label_2;
| }
| label_25:
0x000163f0 lhu v1, 0xfc(s0) | v1 = *((s0 + 126));
0x000163f4 addiu a2, zero, 1 | a2 = 1;
0x000163f8 move a0, s4 | a0 = s4;
0x000163fc addiu a3, zero, 5 | a3 = 5;
0x00016400 sw a0, 0x104(s0) | *(s0) = a0;
0x00016404 sw a2, 0x108(s0) | *(s0) = a2;
| if (v1 != a3) {
0x00016408 bne v1, a3, 0x16308 | goto label_3;
| }
| label_26:
0x0001640c addiu v1, v1, 1 | v1++;
| if (v0 == a1) {
0x00016410 beq v0, a1, 0x1651c | goto label_30;
| }
0x00016414 lw a0, 0x100(s0) | a0 = *(s0);
| label_28:
0x00016418 andi v1, v1, 0xffff | v1 &= 0xffff;
0x0001641c b 0x16320 | goto label_4;
| label_12:
0x00016460 addiu a0, zero, 8 | a0 = 8;
0x00016464 subu a0, a0, v0 | __asm ("subu a0, a0, v0");
0x00016468 addiu v0, zero, 0xff | v0 = 0xff;
0x0001646c srav v0, v0, a0 | __asm ("srav v0, v0, a0");
0x00016470 lbu a0, 4(v1) | a0 = *((v1 + 4));
0x00016474 andi v0, v0, 0x7e | v0 &= 0x7e;
| if (v0 == a0) {
0x00016478 beql v0, a0, 0x163c4 | goto label_5;
| }
0x0001647c addiu s3, s3, 4 | s3 += 4;
0x00016480 addiu v0, v1, 4 | v0 = v1 + 4;
| label_9:
0x00016484 sw zero, 4(s0) | *((s0 + 1)) = 0;
| label_11:
0x00016488 sw v0, (v1) | *(v1) = v0;
0x0001648c sh zero, 0xfc(s0) | *((s0 + 126)) = 0;
0x00016490 sw zero, 4(v1) | *((v1 + 1)) = 0;
0x00016494 sh zero, 8(v1) | *((v1 + 4)) = 0;
0x00016498 sw zero, 0xfc(v1) | *((v1 + 63)) = 0;
0x0001649c sb zero, 0x100(v1) | *(v1) = 0;
0x000164a0 b 0x163c0 | goto label_6;
| label_29:
0x000164a4 slti v1, v0, 0x29 | v1 = (v0 < 0x29) ? 1 : 0;
0x000164a8 andi v1, v0, 7 | v1 = v0 & 7;
| if (v1 != 0) {
0x000164ac bnez v1, 0x16534 | goto label_31;
| }
0x000164b0 sra v0, v0, 3 | v0 >>= 3;
| if (v1 != 0) {
0x000164b4 bnez v1, 0x16390 | goto label_7;
| }
0x000164b8 lw v1, 0x100(s0) | v1 = *(s0);
| if (a2 != 0) {
0x000164bc bnez a2, 0x16104 | goto label_8;
| }
0x000164c0 addiu v0, v0, -6 | v0 += -6;
0x000164c4 andi v0, v0, 0xffff | v0 &= 0xffff;
0x000164c8 sltiu a0, v0, 0xf4 | a0 = (v0 < 0xf4) ? 1 : 0;
| if (a0 == 0) {
0x000164cc beql a0, zero, 0x16484 | goto label_9;
| }
0x000164d0 addiu v0, v1, 4 | v0 = v1 + 4;
0x000164d4 lbu a0, 0x100(v1) | a0 = *(v1);
0x000164d8 addu v0, s0, v0 | v0 = s0 + v0;
0x000164dc sb a0, 8(v0) | *((v0 + 8)) = a0;
0x000164e0 sb zero, 0x100(v1) | *(v1) = 0;
0x000164e4 b 0x163c0 | goto label_6;
| label_27:
0x000164e8 addiu v0, a0, 4 | v0 = a0 + 4;
| if (v0 != a1) {
0x000164ec bnel v0, a1, 0x164fc |
0x000164f0 sh zero, 0xfc(s0) | *((s0 + 126)) = 0;
0x000164f4 addiu a2, zero, 1 | a2 = 1;
0x000164f8 b 0x16328 | goto label_10;
| }
0x000164fc sw zero, 4(s0) | *((s0 + 1)) = 0;
0x00016500 sw v0, (a0) | *(a0) = v0;
0x00016504 sh zero, 0xfc(s0) | *((s0 + 126)) = 0;
0x00016508 sw zero, 4(a0) | *((a0 + 1)) = 0;
0x0001650c sh zero, 8(a0) | *((a0 + 4)) = 0;
0x00016510 sw zero, 0xfc(a0) | *((a0 + 63)) = 0;
0x00016514 sb zero, 0x100(a0) | *(a0) = 0;
0x00016518 b 0x163c0 | goto label_6;
| label_30:
0x0001651c sh zero, 0xfc(s0) | *((s0 + 126)) = 0;
0x00016520 b 0x163c0 | goto label_6;
| label_21:
0x00016524 addiu a0, zero, 8 | a0 = 8;
| label_22:
0x00016528 addiu v0, v1, 5 | v0 = v1 + 5;
| label_23:
0x0001652c sw a0, 4(s0) | *((s0 + 1)) = a0;
0x00016530 b 0x16488 | goto label_11;
| label_31:
0x00016534 slti v1, v0, 9 | v1 = (v0 < 9) ? 1 : 0;
| if (v1 == 0) {
0x00016538 beqz v1, 0x16390 | goto label_7;
| }
0x0001653c nop |
0x00016540 lw v1, 0x100(s0) | v1 = *(s0);
0x00016544 b 0x16460 | goto label_12;
| label_18:
0x00016548 lw t9, -0x7900(gp) | t9 = sym.imp.snd_strerror;
0x0001654c move a0, s2 | a0 = s2;
0x00016550 jalr t9 | t9 ();
0x00016554 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00016558 move a3, v0 | a3 = v0;
0x0001655c addiu a1, zero, 1 | a1 = 1;
0x00016560 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00016564 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| /* str.Read_from_AAMP_device_failed:__s */
0x00016568 addiu a2, a2, 0x1e48 | a2 += 0x1e48;
0x0001656c addiu a0, zero, 3 | a0 = 3;
0x00016570 jalr t9 | t9 ();
0x00016574 lw gp, 0x18(fp) | gp = *(arg_18h);
0x00016578 b 0x16230 | goto label_13;
| label_24:
0x0001657c lw t9, -0x79a8(gp) | t9 = sym.imp.__stack_chk_fail;
0x00016580 jalr t9 | t9 ();
0x00016584 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/audiocontrol @ 0x17414 */
| #include <stdint.h>
|
; (fcn) fcn.00017414 () | void fcn_00017414 () {
0x00017414 lui gp, 5 |
0x00017418 addiu gp, gp, -0x3334 |
0x0001741c addu gp, gp, t9 | gp += t9;
0x00017420 addiu sp, sp, -0x78 |
0x00017424 ext v1, a2, 8, 8 | __asm ("ext v1, a2, 8, 8");
0x00017428 sw s6, 0x68(sp) | *(var_68h) = s6;
0x0001742c lw s6, -0x7934(gp) | s6 = *((gp - 7757));
0x00017430 sw s0, 0x50(sp) | *(var_50h) = s0;
0x00017434 lw s0, -0x7fdc(gp) | s0 = *(gp);
0x00017438 lw v0, (s6) | v0 = *(s6);
0x0001743c addiu t0, sp, 0x38 | t0 = sp + 0x38;
0x00017440 lw t9, -0x7a3c(gp) | t9 = sym.imp.__sprintf_chk
0x00017444 sw ra, 0x74(sp) | *(var_74h) = ra;
0x00017448 sw v1, 0x10(sp) | *(var_10h) = v1;
0x0001744c sw t0, 0x34(sp) | *(var_34h) = t0;
0x00017450 sw gp, 0x20(sp) | *(var_20h) = gp;
0x00017454 sw fp, 0x70(sp) | *(var_70h) = fp;
0x00017458 sw s7, 0x6c(sp) | *(var_6ch) = s7;
0x0001745c sw s5, 0x64(sp) | *(var_64h) = s5;
0x00017460 sw s4, 0x60(sp) | *(var_60h) = s4;
0x00017464 sw s3, 0x5c(sp) | *(var_5ch) = s3;
0x00017468 sw s2, 0x58(sp) | *(var_58h) = s2;
0x0001746c move s3, a3 | s3 = a3;
0x00017470 move s2, a1 | s2 = a1;
| /* str._02X */
0x00017474 addiu a3, s0, 0x25c4 | a3 = s0 + 0x25c4;
0x00017478 sw s1, 0x54(sp) | *(var_54h) = s1;
0x0001747c move s4, a2 | s4 = a2;
0x00017480 move fp, a0 | fp = a0;
0x00017484 addiu a2, zero, 4 | a2 = 4;
0x00017488 move a0, t0 | a0 = t0;
0x0001748c addiu a1, zero, 1 | a1 = 1;
0x00017490 sw v0, 0x4c(sp) | *(var_4ch) = v0;
0x00017494 addiu s7, sp, 0x3c | s7 = sp + 0x3c;
0x00017498 jalr t9 | t9 ();
0x0001749c lw gp, 0x20(sp) | gp = *(var_20h);
0x000174a0 andi v0, s4, 0xff | v0 = s4 & 0xff;
0x000174a4 lw t9, -0x7a3c(gp) | t9 = sym.imp.__sprintf_chk
| /* str._02X */
0x000174a8 addiu a3, s0, 0x25c4 | a3 = s0 + 0x25c4;
0x000174ac move a0, s7 | a0 = s7;
0x000174b0 addiu a2, zero, 4 | a2 = 4;
0x000174b4 addiu a1, zero, 1 | a1 = 1;
0x000174b8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000174bc jalr t9 | t9 ();
0x000174c0 lw gp, 0x20(sp) | gp = *(var_20h);
0x000174c4 addiu t1, sp, 0x40 | t1 = sp + 0x40;
0x000174c8 ext v0, s3, 0x10, 8 | __asm ("ext v0, s3, 0x10, 8");
0x000174cc lw t9, -0x7a3c(gp) | t9 = sym.imp.__sprintf_chk
0x000174d0 move a0, t1 | a0 = t1;
0x000174d4 sw t1, 0x30(sp) | *(var_30h) = t1;
| /* str._02X */
0x000174d8 addiu a3, s0, 0x25c4 | a3 = s0 + 0x25c4;
0x000174dc addiu a2, zero, 4 | a2 = 4;
0x000174e0 addiu a1, zero, 1 | a1 = 1;
0x000174e4 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000174e8 jalr t9 | t9 ();
0x000174ec lw gp, 0x20(sp) | gp = *(var_20h);
0x000174f0 addiu v0, sp, 0x44 | v0 = sp + 0x44;
0x000174f4 move a0, v0 | a0 = v0;
0x000174f8 sw v0, 0x2c(sp) | *(var_2ch) = v0;
0x000174fc lw t9, -0x7a3c(gp) | t9 = sym.imp.__sprintf_chk
0x00017500 ext v0, s3, 8, 8 | __asm ("ext v0, s3, 8, 8");
| /* str._02X */
0x00017504 addiu a3, s0, 0x25c4 | a3 = s0 + 0x25c4;
0x00017508 addiu a2, zero, 4 | a2 = 4;
0x0001750c addiu a1, zero, 1 | a1 = 1;
0x00017510 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00017514 jalr t9 | t9 ();
0x00017518 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001751c andi v0, s3, 0xff | v0 = s3 & 0xff;
0x00017520 addiu s5, sp, 0x48 | s5 = sp + 0x48;
0x00017524 lw t9, -0x7a3c(gp) | t9 = sym.imp.__sprintf_chk
| /* str._02X */
0x00017528 addiu a3, s0, 0x25c4 | a3 = s0 + 0x25c4;
0x0001752c addiu a2, zero, 4 | a2 = 4;
0x00017530 addiu a1, zero, 1 | a1 = 1;
0x00017534 move a0, s5 | a0 = s5;
0x00017538 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0001753c jalr t9 | t9 ();
0x00017540 lw gp, 0x20(sp) | gp = *(var_20h);
0x00017544 lw t0, 0x34(sp) | t0 = *(var_34h);
0x00017548 addiu s1, fp, 4 | s1 = fp + 4;
0x0001754c lw s0, -0x7f80(gp) | s0 = *(gp);
0x00017550 lw a2, -0x7fdc(gp) | a2 = *(gp);
| /* fcn.00017368 */
0x00017554 addiu s0, s0, 0x7368 | s0 += 0x7368;
0x00017558 move a3, t0 | a3 = t0;
| /* str.Set_CRAM_Address_H */
0x0001755c addiu a2, a2, 0x25cc | a2 += 0x25cc;
0x00017560 move a1, s2 | a1 = s2;
0x00017564 move t9, s0 | t9 = s0;
0x00017568 move a0, s1 | a0 = s1;
0x0001756c bal 0x17368 | fcn_00017368 ();
0x00017570 lw gp, 0x20(sp) | gp = *(var_20h);
0x00017574 move a3, s7 | a3 = s7;
0x00017578 move a1, s2 | a1 = s2;
0x0001757c lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00017580 move a0, s1 | a0 = s1;
| /* str.Set_CRAM_Address_L */
0x00017584 addiu a2, a2, 0x25e0 | a2 += 0x25e0;
0x00017588 move t9, s0 | t9 = s0;
0x0001758c sltu s7, zero, v0 | s7 = (0 < v0) ? 1 : 0;
0x00017590 bal 0x17368 | fcn_00017368 ();
0x00017594 lw gp, 0x20(sp) | gp = *(var_20h);
0x00017598 lw t1, 0x30(sp) | t1 = *(var_30h);
| if (v0 != 0) {
0x0001759c beqz v0, 0x175a4 |
0x000175a0 addiu s7, s7, 1 | s7++;
| }
0x000175a4 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x000175a8 move a3, t1 | a3 = t1;
| /* str.Set_CRAM_Data_H */
0x000175ac addiu a2, a2, 0x25f4 | a2 += 0x25f4;
0x000175b0 move a1, s2 | a1 = s2;
0x000175b4 move t9, s0 | t9 = s0;
0x000175b8 move a0, s1 | a0 = s1;
0x000175bc bal 0x17368 | fcn_00017368 ();
0x000175c0 lw gp, 0x20(sp) | gp = *(var_20h);
0x000175c4 lw a3, 0x2c(sp) | a3 = *(var_2ch);
0x000175c8 move a1, s2 | a1 = s2;
0x000175cc lw a2, -0x7fdc(gp) | a2 = *(gp);
0x000175d0 move a0, s1 | a0 = s1;
| /* str.Set_CRAM_Data_M */
0x000175d4 addiu a2, a2, 0x2604 | a2 += 0x2604;
0x000175d8 move t9, s0 | t9 = s0;
| if (v0 == 0) {
0x000175dc beqz v0, 0x17654 | goto label_1;
| }
0x000175e0 bal 0x17368 | fcn_00017368 ();
0x000175e4 nop |
0x000175e8 lw gp, 0x20(sp) | gp = *(var_20h);
| do {
0x000175ec lw a2, -0x7fdc(gp) | a2 = *(gp);
0x000175f0 move a0, s1 | a0 = s1;
0x000175f4 move a3, s5 | a3 = s5;
| /* str.Set_CRAM_Data_L */
0x000175f8 addiu a2, a2, 0x2614 | a2 += 0x2614;
0x000175fc move t9, s0 | t9 = s0;
0x00017600 move a1, s2 | a1 = s2;
0x00017604 bal 0x17368 | fcn_00017368 ();
0x00017608 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001760c move a0, v0 | a0 = v0;
| label_0:
0x00017610 lw t9, -0x7900(gp) | t9 = sym.imp.snd_strerror;
0x00017614 lw s0, 4(fp) | s0 = *(arg_4h);
0x00017618 jalr t9 | t9 ();
0x0001761c lw gp, 0x20(sp) | gp = *(var_20h);
0x00017620 sw v0, 0x18(sp) | *(var_18h) = v0;
0x00017624 sw s0, 0x14(sp) | *(var_14h) = s0;
0x00017628 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0001762c lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
0x00017630 sw s3, 0x10(sp) | *(var_10h) = s3;
0x00017634 move a3, s4 | a3 = s4;
| /* str.Unable_to_set_CRAM__04X__06X_on__s:__s */
0x00017638 addiu a2, a2, 0x2624 | a2 += 0x2624;
0x0001763c addiu a1, zero, 1 | a1 = 1;
0x00017640 addiu a0, zero, 3 | a0 = 3;
0x00017644 jalr t9 | t9 ();
0x00017648 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001764c addiu v0, zero, -1 | v0 = -1;
0x00017650 b 0x17690 | goto label_2;
| label_1:
0x00017654 bal 0x17368 | fcn_00017368 ();
0x00017658 nop |
0x0001765c lw gp, 0x20(sp) | gp = *(var_20h);
0x00017660 bnez v0, 0x175ec |
| } while (v0 != 0);
0x00017664 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00017668 move a0, s1 | a0 = s1;
0x0001766c move a3, s5 | a3 = s5;
| /* str.Set_CRAM_Data_L */
0x00017670 addiu a2, a2, 0x2614 | a2 += 0x2614;
0x00017674 move t9, s0 | t9 = s0;
0x00017678 move a1, s2 | a1 = s2;
0x0001767c bal 0x17368 | fcn_00017368 ();
0x00017680 move a0, v0 | a0 = v0;
0x00017684 or v0, s7, v0 | v0 = s7 | v0;
0x00017688 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x0001768c bnez v0, 0x17610 | goto label_0;
| }
| label_2:
0x00017690 lw a0, 0x4c(sp) | a0 = *(var_4ch);
0x00017694 lw v1, (s6) | v1 = *(s6);
0x00017698 lw ra, 0x74(sp) | ra = *(var_74h);
| if (a0 == v1) {
0x0001769c bne a0, v1, 0x176cc |
0x000176a0 lw fp, 0x70(sp) | fp = *(var_70h);
0x000176a4 lw s7, 0x6c(sp) | s7 = *(var_6ch);
0x000176a8 lw s6, 0x68(sp) | s6 = *(var_68h);
0x000176ac lw s5, 0x64(sp) | s5 = *(var_64h);
0x000176b0 lw s4, 0x60(sp) | s4 = *(var_60h);
0x000176b4 lw s3, 0x5c(sp) | s3 = *(var_5ch);
0x000176b8 lw s2, 0x58(sp) | s2 = *(var_58h);
0x000176bc lw s1, 0x54(sp) | s1 = *(var_54h);
0x000176c0 lw s0, 0x50(sp) | s0 = *(var_50h);
0x000176c4 addiu sp, sp, 0x78 |
0x000176c8 jr ra | return v1;
| }
0x000176cc lw t9, -0x79a8(gp) | t9 = sym.imp.__stack_chk_fail;
0x000176d0 jalr t9 | t9 ();
0x000176d4 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/audiocontrol @ 0x17ecc */
| #include <stdint.h>
|
; (fcn) fcn.00017ecc () | void fcn_00017ecc () {
0x00017ecc lui gp, 5 |
0x00017ed0 addiu gp, gp, -0x3dec |
0x00017ed4 addu gp, gp, t9 | gp += t9;
0x00017ed8 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00017edc addiu sp, sp, -0x48 |
0x00017ee0 lw t9, -0x7d20(gp) | t9 = sym.mixer_utils_open_control;
0x00017ee4 lw v1, -0x3508(v0) | v1 = *((v0 - 3394));
0x00017ee8 sw s2, 0x38(sp) | *(var_38h) = s2;
0x00017eec lw s2, -0x7934(gp) | s2 = *((gp - 7757));
0x00017ef0 sw s3, 0x3c(sp) | *(var_3ch) = s3;
0x00017ef4 lw s3, 0xc(v1) | s3 = *((v1 + 3));
0x00017ef8 lw v0, (s2) | v0 = *(s2);
0x00017efc sw s4, 0x40(sp) | *(var_40h) = s4;
0x00017f00 move s4, a0 | s4 = a0;
0x00017f04 lw a0, 4(s3) | a0 = *((s3 + 1));
0x00017f08 sw gp, 0x18(sp) | *(var_18h) = gp;
0x00017f0c sw ra, 0x44(sp) | *(var_44h) = ra;
0x00017f10 sw s1, 0x34(sp) | *(var_34h) = s1;
0x00017f14 sw s0, 0x30(sp) | *(var_30h) = s0;
0x00017f18 sw v0, 0x2c(sp) | *(var_2ch) = v0;
0x00017f1c bal 0x2acd0 | sym_mixer_utils_open_control ();
0x00017f20 nop |
0x00017f24 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00017f28 beqz v0, 0x17fd8 | goto label_1;
| }
0x00017f2c lw a3, -0x7ea4(gp) | a3 = *((gp - 8105));
0x00017f30 lw t9, -0x7a3c(gp) | t9 = sym.imp.__sprintf_chk
0x00017f34 addiu s0, sp, 0x20 | s0 = sp + 0x20;
| /* esilref: '&d' */
0x00017f38 addiu a3, a3, -0x6afc | a3 += -0x6afc;
0x00017f3c addiu a2, zero, 0xc | a2 = 0xc;
0x00017f40 addiu a1, zero, 1 | a1 = 1;
0x00017f44 move a0, s0 | a0 = s0;
0x00017f48 sw s4, 0x10(sp) | *(var_10h_2) = s4;
0x00017f4c move s1, v0 | s1 = v0;
0x00017f50 jalr t9 | t9 ();
0x00017f54 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017f58 addiu a0, s3, 4 | a0 = s3 + 4;
0x00017f5c move a3, s0 | a3 = s0;
0x00017f60 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00017f64 lw t9, -0x7f80(gp) | t9 = *(gp);
| /* str.CRAM_VT_Sensitivity */
0x00017f68 addiu a2, a2, 0x26d8 | a2 += 0x26d8;
| /* fcn.00017368 */
0x00017f6c addiu t9, t9, 0x7368 | t9 += 0x7368;
0x00017f70 move a1, s1 | a1 = s1;
0x00017f74 bal 0x17368 | fcn_00017368 ();
0x00017f78 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017f7c move a0, s1 | a0 = s1;
0x00017f80 lw t9, -0x77ac(gp) | t9 = sym.imp.snd_mixer_close;
| if (v0 != 0) {
0x00017f84 bnez v0, 0x17fc4 | goto label_2;
| }
0x00017f88 jalr t9 | t9 ();
0x00017f8c nop |
0x00017f90 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017f94 addiu v0, zero, 1 | v0 = 1;
| do {
| label_0:
0x00017f98 lw a0, 0x2c(sp) | a0 = *(var_2ch);
0x00017f9c lw v1, (s2) | v1 = *(s2);
0x00017fa0 lw ra, 0x44(sp) | ra = *(var_44h);
| if (a0 != v1) {
0x00017fa4 bne a0, v1, 0x17ffc | goto label_3;
| }
0x00017fa8 lw s4, 0x40(sp) | s4 = *(var_40h);
0x00017fac lw s3, 0x3c(sp) | s3 = *(var_3ch);
0x00017fb0 lw s2, 0x38(sp) | s2 = *(var_38h);
0x00017fb4 lw s1, 0x34(sp) | s1 = *(var_34h);
0x00017fb8 lw s0, 0x30(sp) | s0 = *(var_30h);
0x00017fbc addiu sp, sp, 0x48 |
0x00017fc0 jr ra | return v0;
| label_2:
0x00017fc4 jalr t9 | t9 ();
0x00017fc8 nop |
0x00017fcc lw gp, 0x18(sp) | gp = *(var_18h);
0x00017fd0 move v0, zero | v0 = 0;
0x00017fd4 b 0x17f98 |
| } while (1);
| label_1:
0x00017fd8 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00017fdc lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| /* esilref: 'open_control returned invalid handle' */
0x00017fe0 addiu a2, a2, 0x265c | a2 += 0x265c;
0x00017fe4 addiu a1, zero, 1 | a1 = 1;
0x00017fe8 addiu a0, zero, 3 | a0 = 3;
0x00017fec jalr t9 | t9 ();
0x00017ff0 lw gp, 0x18(sp) | gp = *(var_18h);
0x00017ff4 move v0, zero | v0 = 0;
0x00017ff8 b 0x17f98 | goto label_0;
| label_3:
0x00017ffc lw t9, -0x79a8(gp) | t9 = sym.imp.__stack_chk_fail;
0x00018000 jalr t9 | t9 ();
0x00018004 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/audiocontrol @ 0x19954 */
| #include <stdint.h>
|
; (fcn) fcn.00019954 () | void fcn_00019954 () {
| label_5:
0x00019954 lui gp, 5 |
0x00019958 addiu gp, gp, -0x5874 |
0x0001995c addu gp, gp, t9 | gp += t9;
0x00019960 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00019964 addiu sp, sp, -0x48 |
0x00019968 lw t9, -0x7d20(gp) | t9 = sym.mixer_utils_open_control;
0x0001996c lw v1, -0x3508(v0) | v1 = *((v0 - 3394));
0x00019970 sw s2, 0x38(sp) | *(var_38h) = s2;
0x00019974 lw s2, -0x7934(gp) | s2 = *((gp - 7757));
0x00019978 sw s3, 0x3c(sp) | *(var_3ch) = s3;
0x0001997c lw s3, 0xc(v1) | s3 = *((v1 + 3));
0x00019980 lw v0, (s2) | v0 = *(s2);
0x00019984 sw s4, 0x40(sp) | *(var_40h) = s4;
0x00019988 move s4, a0 | s4 = a0;
0x0001998c lw a0, 4(s3) | a0 = *((s3 + 1));
0x00019990 sw gp, 0x18(sp) | *(var_18h) = gp;
0x00019994 sw ra, 0x44(sp) | *(var_44h) = ra;
0x00019998 sw s1, 0x34(sp) | *(var_34h) = s1;
0x0001999c sw s0, 0x30(sp) | *(var_30h) = s0;
0x000199a0 sw v0, 0x2c(sp) | *(var_2ch) = v0;
0x000199a4 bal 0x2acd0 | sym_mixer_utils_open_control ();
0x000199a8 nop |
0x000199ac lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x000199b0 beqz v0, 0x19a60 | goto label_21;
| }
0x000199b4 lw a3, -0x7ea4(gp) | a3 = *((gp - 8105));
0x000199b8 lw t9, -0x7a3c(gp) | t9 = sym.imp.__sprintf_chk
0x000199bc addiu s0, sp, 0x20 | s0 = sp + 0x20;
| /* esilref: '&d' */
0x000199c0 addiu a3, a3, -0x6afc | a3 += -0x6afc;
0x000199c4 addiu a2, zero, 0xc | a2 = 0xc;
0x000199c8 addiu a1, zero, 1 | a1 = 1;
0x000199cc move a0, s0 | a0 = s0;
0x000199d0 sw s4, 0x10(sp) | *(var_10h_2) = s4;
0x000199d4 move s1, v0 | s1 = v0;
0x000199d8 jalr t9 | t9 ();
0x000199dc lw gp, 0x18(sp) | gp = *(var_18h);
0x000199e0 addiu a0, s3, 4 | a0 = s3 + 4;
0x000199e4 move a3, s0 | a3 = s0;
0x000199e8 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x000199ec lw t9, -0x7f80(gp) | t9 = *(gp);
| /* str.CRAM_VT_Threshold */
0x000199f0 addiu a2, a2, 0x2a64 | a2 += 0x2a64;
| /* fcn.00017368 */
0x000199f4 addiu t9, t9, 0x7368 | t9 += 0x7368;
0x000199f8 move a1, s1 | a1 = s1;
0x000199fc bal 0x17368 | fcn_00017368 ();
0x00019a00 lw gp, 0x18(sp) | gp = *(var_18h);
0x00019a04 move a0, s1 | a0 = s1;
0x00019a08 lw t9, -0x77ac(gp) | t9 = sym.imp.snd_mixer_close;
| if (v0 != 0) {
0x00019a0c bnez v0, 0x19a4c | goto label_22;
| }
0x00019a10 jalr t9 | t9 ();
0x00019a14 nop |
0x00019a18 lw gp, 0x18(sp) | gp = *(var_18h);
0x00019a1c addiu v0, zero, 1 | v0 = 1;
| do {
| label_0:
0x00019a20 lw a0, 0x2c(sp) | a0 = *(var_2ch);
0x00019a24 lw v1, (s2) | v1 = *(s2);
0x00019a28 lw ra, 0x44(sp) | ra = *(var_44h);
| if (a0 != v1) {
0x00019a2c bne a0, v1, 0x19a84 | goto label_23;
| }
0x00019a30 lw s4, 0x40(sp) | s4 = *(var_40h);
0x00019a34 lw s3, 0x3c(sp) | s3 = *(var_3ch);
0x00019a38 lw s2, 0x38(sp) | s2 = *(var_38h);
0x00019a3c lw s1, 0x34(sp) | s1 = *(var_34h);
0x00019a40 lw s0, 0x30(sp) | s0 = *(var_30h);
0x00019a44 addiu sp, sp, 0x48 |
0x00019a48 jr ra | return v0;
| label_22:
0x00019a4c jalr t9 | t9 ();
0x00019a50 nop |
0x00019a54 lw gp, 0x18(sp) | gp = *(var_18h);
0x00019a58 move v0, zero | v0 = 0;
0x00019a5c b 0x19a20 |
| } while (1);
| label_21:
0x00019a60 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00019a64 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| /* esilref: 'open_control returned invalid handle' */
0x00019a68 addiu a2, a2, 0x265c | a2 += 0x265c;
0x00019a6c addiu a1, zero, 1 | a1 = 1;
0x00019a70 addiu a0, zero, 3 | a0 = 3;
0x00019a74 jalr t9 | t9 ();
0x00019a78 lw gp, 0x18(sp) | gp = *(var_18h);
0x00019a7c move v0, zero | v0 = 0;
0x00019a80 b 0x19a20 | goto label_0;
| label_23:
0x00019a84 lw t9, -0x79a8(gp) | t9 = sym.imp.__stack_chk_fail;
0x00019a88 jalr t9 | t9 ();
0x00019a8c nop |
| label_6:
0x00019a90 lui gp, 5 |
0x00019a94 addiu gp, gp, -0x59b0 |
0x00019a98 addu gp, gp, t9 | gp += t9;
0x00019a9c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00019aa0 addiu sp, sp, -0x48 |
0x00019aa4 lw t9, -0x7d20(gp) | t9 = sym.mixer_utils_open_control;
0x00019aa8 lw v1, -0x3508(v0) | v1 = *((v0 - 3394));
0x00019aac sw s2, 0x38(sp) | *(var_38h_2) = s2;
0x00019ab0 lw s2, -0x7934(gp) | s2 = *((gp - 7757));
0x00019ab4 sw s3, 0x3c(sp) | *(var_3ch_2) = s3;
0x00019ab8 lw s3, 0xc(v1) | s3 = *((v1 + 3));
0x00019abc lw v0, (s2) | v0 = *(s2);
0x00019ac0 sw s4, 0x40(sp) | *(var_40h_2) = s4;
0x00019ac4 move s4, a0 | s4 = a0;
0x00019ac8 lw a0, 4(s3) | a0 = *((s3 + 1));
0x00019acc sw gp, 0x18(sp) | *(var_18h_2) = gp;
0x00019ad0 sw ra, 0x44(sp) | *(var_44h_2) = ra;
0x00019ad4 sw s1, 0x34(sp) | *(var_34h_2) = s1;
0x00019ad8 sw s0, 0x30(sp) | *(var_30h_2) = s0;
0x00019adc sw v0, 0x2c(sp) | *(var_2ch_2) = v0;
0x00019ae0 bal 0x2acd0 | sym_mixer_utils_open_control ();
0x00019ae4 nop |
0x00019ae8 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x00019aec beqz v0, 0x19b9c | goto label_24;
| }
0x00019af0 lw a3, -0x7ea4(gp) | a3 = *((gp - 8105));
0x00019af4 lw t9, -0x7a3c(gp) | t9 = sym.imp.__sprintf_chk
0x00019af8 addiu s0, sp, 0x20 | s0 = sp + 0x20;
| /* esilref: '&d' */
0x00019afc addiu a3, a3, -0x6afc | a3 += -0x6afc;
0x00019b00 addiu a2, zero, 0xc | a2 = 0xc;
0x00019b04 addiu a1, zero, 1 | a1 = 1;
0x00019b08 move a0, s0 | a0 = s0;
0x00019b0c sw s4, 0x10(sp) | *(var_228h) = s4;
0x00019b10 move s1, v0 | s1 = v0;
0x00019b14 jalr t9 | t9 ();
0x00019b18 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00019b1c addiu a0, s3, 4 | a0 = s3 + 4;
0x00019b20 move a3, s0 | a3 = s0;
0x00019b24 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00019b28 lw t9, -0x7f80(gp) | t9 = *(gp);
| /* str.CRAM_VT_Minimum_Threshold */
0x00019b2c addiu a2, a2, 0x2a78 | a2 += 0x2a78;
| /* fcn.00017368 */
0x00019b30 addiu t9, t9, 0x7368 | t9 += 0x7368;
0x00019b34 move a1, s1 | a1 = s1;
0x00019b38 bal 0x17368 | fcn_00017368 ();
0x00019b3c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00019b40 move a0, s1 | a0 = s1;
0x00019b44 lw t9, -0x77ac(gp) | t9 = sym.imp.snd_mixer_close;
| if (v0 != 0) {
0x00019b48 bnez v0, 0x19b88 | goto label_25;
| }
0x00019b4c jalr t9 | t9 ();
0x00019b50 nop |
0x00019b54 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00019b58 addiu v0, zero, 1 | v0 = 1;
| do {
| label_1:
0x00019b5c lw a0, 0x2c(sp) | a0 = *(var_2ch_2);
0x00019b60 lw v1, (s2) | v1 = *(s2);
0x00019b64 lw ra, 0x44(sp) | ra = *(var_44h_2);
| if (a0 != v1) {
0x00019b68 bne a0, v1, 0x19bc0 | goto label_26;
| }
0x00019b6c lw s4, 0x40(sp) | s4 = *(var_40h_2);
0x00019b70 lw s3, 0x3c(sp) | s3 = *(var_3ch_2);
0x00019b74 lw s2, 0x38(sp) | s2 = *(var_38h_2);
0x00019b78 lw s1, 0x34(sp) | s1 = *(var_34h_2);
0x00019b7c lw s0, 0x30(sp) | s0 = *(var_30h_2);
0x00019b80 addiu sp, sp, 0x48 |
0x00019b84 jr ra | return v0;
| label_25:
0x00019b88 jalr t9 | t9 ();
0x00019b8c nop |
0x00019b90 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00019b94 move v0, zero | v0 = 0;
0x00019b98 b 0x19b5c |
| } while (1);
| label_24:
0x00019b9c lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00019ba0 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| /* esilref: 'open_control returned invalid handle' */
0x00019ba4 addiu a2, a2, 0x265c | a2 += 0x265c;
0x00019ba8 addiu a1, zero, 1 | a1 = 1;
0x00019bac addiu a0, zero, 3 | a0 = 3;
0x00019bb0 jalr t9 | t9 ();
0x00019bb4 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x00019bb8 move v0, zero | v0 = 0;
0x00019bbc b 0x19b5c | goto label_1;
| label_26:
0x00019bc0 lw t9, -0x79a8(gp) | t9 = sym.imp.__stack_chk_fail;
0x00019bc4 jalr t9 | t9 ();
0x00019bc8 nop |
0x00019bcc lui gp, 5 |
0x00019bd0 addiu gp, gp, -0x5aec |
0x00019bd4 addu gp, gp, t9 | gp += t9;
0x00019bd8 addiu sp, sp, -0x218 |
0x00019bdc lw t9, -0x77dc(gp) | t9 = sym.imp.memset;
0x00019be0 sw s3, 0x1fc(sp) | *(var_1fch) = s3;
0x00019be4 lw s3, -0x7934(gp) | s3 = *((gp - 7757));
0x00019be8 sw gp, 0x30(sp) | *(var_30h_3) = gp;
0x00019bec sw ra, 0x214(sp) | *(var_214h) = ra;
0x00019bf0 lw v0, (s3) | v0 = *(s3);
0x00019bf4 sw s5, 0x204(sp) | *(var_204h) = s5;
0x00019bf8 sw s2, 0x1f8(sp) | *(var_1f8h) = s2;
0x00019bfc sw s1, 0x1f4(sp) | *(var_1f4h) = s1;
0x00019c00 sw s0, 0x1f0(sp) | *(var_1f0h) = s0;
0x00019c04 move a1, zero | a1 = 0;
0x00019c08 sw a0, 0x38(sp) | *(var_38h_3) = a0;
0x00019c0c sw fp, 0x210(sp) | *(var_210h) = fp;
0x00019c10 addiu a0, sp, 0x68 | a0 = sp + 0x68;
0x00019c14 sw s7, 0x20c(sp) | *(var_20ch) = s7;
0x00019c18 sw s6, 0x208(sp) | *(var_208h) = s6;
0x00019c1c sw s4, 0x200(sp) | *(var_200h) = s4;
0x00019c20 move s2, a2 | s2 = a2;
0x00019c24 sw v0, 0x1ec(sp) | *(var_1ech) = v0;
0x00019c28 addiu a2, zero, 0x84 | a2 = 0x84;
0x00019c2c lw s1, -0x7fd8(gp) | s1 = *((gp - 8182));
0x00019c30 move s5, a3 | s5 = a3;
0x00019c34 lw s0, 0x228(sp) | s0 = *(var_228h);
0x00019c38 jalr t9 | t9 ();
0x00019c3c lw gp, 0x30(sp) | gp = *(var_30h_3);
0x00019c40 move a1, zero | a1 = 0;
0x00019c44 move a0, s0 | a0 = s0;
0x00019c48 lw v0, -0x7d00(gp) | v0 = *(gp);
0x00019c4c lw t9, -0x7f60(gp) | t9 = sym.legacy_conf_get_input;
0x00019c50 addiu v0, v0, -0x6a44 | v0 += -0x6a44;
0x00019c54 sw v0, 0x64(sp) | *(var_64h) = v0;
0x00019c58 lw v0, -0x7d00(gp) | v0 = *(gp);
0x00019c5c addiu v0, v0, -0x6b44 | v0 += -0x6b44;
0x00019c60 sw v0, 0x74(sp) | *(var_74h) = v0;
0x00019c64 lw v0, -0x7d00(gp) | v0 = *(gp);
0x00019c68 addiu v0, v0, -0x6c08 | v0 += -0x6c08;
0x00019c6c sw v0, 0x78(sp) | *(var_78h) = v0;
0x00019c70 lw v0, -0x7d00(gp) | v0 = *(gp);
0x00019c74 addiu v0, v0, -0x6ccc | v0 += -0x6ccc;
0x00019c78 sw v0, 0x7c(sp) | *(var_7ch) = v0;
0x00019c7c lw v0, -0x7d00(gp) | v0 = *(gp);
0x00019c80 addiu v0, v0, -0x6dcc | v0 += -0x6dcc;
0x00019c84 sw v0, 0x80(sp) | *(var_80h) = v0;
0x00019c88 lw v0, -0x7d00(gp) | v0 = *(gp);
0x00019c8c addiu v0, v0, -0x6e90 | v0 += -0x6e90;
0x00019c90 sw v0, 0x84(sp) | *(var_84h) = v0;
0x00019c94 bal 0x28680 | sym_legacy_conf_get_input ();
0x00019c98 lw v1, -0x3508(s1) | v1 = *((s1 - 3394));
0x00019c9c lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v1 != 0) {
0x00019ca0 bnez v1, 0x1a6dc | goto label_27;
| }
0x00019ca4 move s4, v0 | s4 = v0;
0x00019ca8 lw v0, 0x14(s0) | v0 = *((s0 + 5));
0x00019cac lw v0, -0x7d00(gp) | v0 = *(gp);
| if (v0 != 0) {
0x00019cb0 beqz v0, 0x19d2c |
0x00019cb4 lw a3, -0x7d00(gp) | a3 = *(gp);
0x00019cb8 addiu v0, v0, -0x7efc | v0 += -0x7efc;
0x00019cbc sw v0, 0x28(sp) | *(var_28h) = v0;
0x00019cc0 lw v0, -0x7d00(gp) | v0 = *(gp);
0x00019cc4 lw a2, -0x7d00(gp) | a2 = *(gp);
0x00019cc8 addiu v0, v0, -0x7d54 | v0 += -0x7d54;
0x00019ccc sw v0, 0x24(sp) | *(var_24h) = v0;
0x00019cd0 lw v0, -0x7f80(gp) | v0 = *(gp);
0x00019cd4 lw a1, -0x7d00(gp) | a1 = *(gp);
0x00019cd8 addiu v0, v0, 0x7130 | v0 += 0x7130;
0x00019cdc sw v0, 0x20(sp) | *(var_20h) = v0;
0x00019ce0 lw v0, -0x7f80(gp) | v0 = *(gp);
0x00019ce4 lw t9, -0x7cf4(gp) | t9 = sym.voice_tracking_setup;
| /* fcn.00017ecc */
0x00019ce8 addiu v0, v0, 0x7ecc | v0 += 0x7ecc;
0x00019cec sw v0, 0x1c(sp) | *(var_1ch) = v0;
0x00019cf0 lw v0, -0x7f80(gp) | v0 = *(gp);
| /* fcn.00019954 */
0x00019cf4 addiu a3, a3, -0x66ac | a3 += -0x66ac;
0x00019cf8 addiu v0, v0, 0x70e0 | v0 += 0x70e0;
0x00019cfc sw v0, 0x18(sp) | *(var_18h_3) = v0;
0x00019d00 lw v0, -0x7d00(gp) | v0 = *(gp);
| /* fcn.00018454 */
0x00019d04 addiu a2, a2, -0x7bac | a2 += -0x7bac;
0x00019d08 addiu v0, v0, -0x6570 | v0 += -aav.0x00006570;
0x00019d0c sw v0, 0x14(sp) | *(var_14h) = v0;
0x00019d10 lw v0, -0x7f80(gp) | v0 = *(gp);
| /* fcn.00018008 */
0x00019d14 addiu a1, a1, -0x7ff8 | a1 += -0x7ff8;
0x00019d18 addiu v0, v0, 0x7108 | v0 += 0x7108;
0x00019d1c sw v0, 0x10(sp) | *(var_10h) = v0;
0x00019d20 addiu a0, sp, 0x64 | a0 = sp + 0x64;
0x00019d24 bal 0x1fc84 | sym_voice_tracking_setup ();
0x00019d28 lw gp, 0x30(sp) | gp = *(var_30h_3);
| }
0x00019d2c lw v0, 0xc(s0) | v0 = *((s0 + 3));
0x00019d30 lw v0, (v0) | v0 = *(v0);
0x00019d34 lw v0, (v0) | v0 = *(v0);
0x00019d38 lw t9, -0x7d10(gp) | t9 = sym.legacy_conf_input_dsp_user_get_dp;
| if (v0 != 0) {
0x00019d3c bnez v0, 0x1a0ac | goto label_28;
| }
| label_3:
0x00019d40 lw t9, -0x7994(gp) | t9 = sym.imp.malloc;
0x00019d44 addiu a0, zero, 0x1c | a0 = 0x1c;
0x00019d48 jalr t9 | t9 ();
0x00019d4c lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 == 0) {
0x00019d50 beqz v0, 0x1a13c | goto label_29;
| }
| label_4:
0x00019d54 lw t9, -0x7d20(gp) | t9 = sym.mixer_utils_open_control;
0x00019d58 lw a0, 4(s0) | a0 = *((s0 + 1));
0x00019d5c sw s2, 4(v0) | *((v0 + 1)) = s2;
0x00019d60 sw zero, (v0) | *(v0) = 0;
0x00019d64 sw zero, 0x10(v0) | *((v0 + 4)) = 0;
0x00019d68 sw zero, 0x14(v0) | *((v0 + 5)) = 0;
0x00019d6c sw zero, 0x18(v0) | *((v0 + 6)) = 0;
0x00019d70 sw s5, 8(v0) | *((v0 + 2)) = s5;
0x00019d74 sw s0, 0xc(v0) | *((v0 + 3)) = s0;
0x00019d78 sw v0, -0x3508(s1) | *((s1 - 3394)) = v0;
0x00019d7c bal 0x2acd0 | sym_mixer_utils_open_control ();
0x00019d80 move s2, v0 | s2 = v0;
0x00019d84 lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 == 0) {
0x00019d88 beqz v0, 0x1a4e0 | goto label_30;
| }
0x00019d8c lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00019d90 lw t9, -0x7cf0(gp) | t9 = sym.mixer_utils_has_control;
| /* str.Out1Playback */
0x00019d94 addiu a1, a1, 0x2948 | a1 += 0x2948;
0x00019d98 move a0, v0 | a0 = v0;
0x00019d9c bal 0x2ae44 | sym_mixer_utils_has_control ();
0x00019da0 lw gp, 0x30(sp) | gp = *(var_30h_3);
0x00019da4 lw v1, -0x3508(s1) | v1 = *((s1 - 3394));
0x00019da8 sltu v0, zero, v0 | v0 = (0 < v0) ? 1 : 0;
0x00019dac lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00019db0 lw t9, -0x7cf0(gp) | t9 = sym.mixer_utils_has_control;
| /* str.Out2Playback */
0x00019db4 addiu a1, a1, 0x2958 | a1 += 0x2958;
0x00019db8 move a0, s2 | a0 = s2;
0x00019dbc sb v0, 0x10(v1) | *((v1 + 16)) = v0;
0x00019dc0 bal 0x2ae44 | sym_mixer_utils_has_control ();
0x00019dc4 lw gp, 0x30(sp) | gp = *(var_30h_3);
0x00019dc8 lw v1, -0x3508(s1) | v1 = *((s1 - 3394));
0x00019dcc sltu v0, zero, v0 | v0 = (0 < v0) ? 1 : 0;
0x00019dd0 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00019dd4 lw t9, -0x7cf0(gp) | t9 = sym.mixer_utils_has_control;
| /* str.Out3Playback */
0x00019dd8 addiu a1, a1, 0x278c | a1 += 0x278c;
0x00019ddc move a0, s2 | a0 = s2;
0x00019de0 sb v0, 0x11(v1) | *((v1 + 17)) = v0;
0x00019de4 bal 0x2ae44 | sym_mixer_utils_has_control ();
0x00019de8 lw gp, 0x30(sp) | gp = *(var_30h_3);
0x00019dec lw v1, -0x3508(s1) | v1 = *((s1 - 3394));
0x00019df0 sltu v0, zero, v0 | v0 = (0 < v0) ? 1 : 0;
0x00019df4 lw t9, -0x77ac(gp) | t9 = sym.imp.snd_mixer_close;
0x00019df8 move a0, s2 | a0 = s2;
0x00019dfc sb v0, 0x12(v1) | *((v1 + 18)) = v0;
0x00019e00 jalr t9 | t9 ();
0x00019e04 lw v0, 0xc(s0) | v0 = *((s0 + 3));
0x00019e08 lw gp, 0x30(sp) | gp = *(var_30h_3);
0x00019e0c lw a0, 4(s0) | a0 = *((s0 + 1));
0x00019e10 lw v0, (v0) | v0 = *(v0);
0x00019e14 lw t9, -0x7d20(gp) | t9 = sym.mixer_utils_open_control;
0x00019e18 lw v0, 4(v0) | v0 = *((v0 + 1));
0x00019e1c sw v0, 0x40(sp) | *(var_40h_3) = v0;
0x00019e20 bal 0x2acd0 | sym_mixer_utils_open_control ();
0x00019e24 move s4, v0 | s4 = v0;
0x00019e28 lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 == 0) {
0x00019e2c beqz v0, 0x1a190 | goto label_31;
| }
0x00019e30 lw v0, -0x3508(s1) | v0 = *((s1 - 3394));
0x00019e34 lw t9, -0x77b4(gp) | t9 = sym.imp.strncpy;
0x00019e38 addiu s2, sp, 0xec | s2 = sp + 0xec;
0x00019e3c lw v0, 0xc(v0) | v0 = *((v0 + 3));
0x00019e40 addiu a2, zero, 0x80 | a2 = 0x80;
0x00019e44 move a0, s2 | a0 = s2;
0x00019e48 lw a1, (v0) | a1 = *(v0);
0x00019e4c sw v0, 0x4c(sp) | *(var_4ch) = v0;
0x00019e50 jalr t9 | t9 ();
0x00019e54 lw gp, 0x30(sp) | gp = *(var_30h_3);
0x00019e58 addiu a1, zero, 0x2f | a1 = 0x2f;
0x00019e5c move a0, s2 | a0 = s2;
0x00019e60 lw t9, -0x780c(gp) | t9 = sym.imp.strrchr;
0x00019e64 sb zero, 0x16b(sp) | *(var_16bh) = 0;
0x00019e68 jalr t9 | t9 ();
0x00019e6c lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 != 0) {
0x00019e70 beqz v0, 0x19ebc |
0x00019e74 lw a0, -0x7fdc(gp) | a0 = *(gp);
| /* str._ak7755_setup.cmd */
0x00019e78 addiu v1, a0, 0x2ae0 | v1 = a0 + 0x2ae0;
0x00019e7c lw a1, 0x2ae0(a0) | a1 = *((a0 + 2744));
0x00019e80 lw a0, 4(v1) | a0 = *((v1 + 1));
0x00019e84 swl a1, 3(v0) | __asm ("swl a1, 3(v0)");
0x00019e88 swr a1, (v0) | __asm ("swr a1, (v0)");
0x00019e8c swl a0, 7(v0) | __asm ("swl a0, 7(v0)");
0x00019e90 lw a1, 8(v1) | a1 = *((v1 + 2));
0x00019e94 swr a0, 4(v0) | __asm ("swr a0, 4(v0)");
0x00019e98 swl a1, 0xb(v0) | __asm ("swl a1, 0xb(v0)");
0x00019e9c lw a0, 0xc(v1) | a0 = *((v1 + 3));
0x00019ea0 swr a1, 8(v0) | __asm ("swr a1, 8(v0)");
0x00019ea4 lbu a1, 0x10(v1) | a1 = *((v1 + 16));
0x00019ea8 lbu v1, 0x11(v1) | v1 = *((v1 + 17));
0x00019eac swl a0, 0xf(v0) | __asm ("swl a0, 0xf(v0)");
0x00019eb0 swr a0, 0xc(v0) | __asm ("swr a0, 0xc(v0)");
0x00019eb4 sb a1, 0x10(v0) | *((v0 + 16)) = a1;
0x00019eb8 sb v1, 0x11(v0) | *((v0 + 17)) = v1;
| }
0x00019ebc lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00019ec0 lw t9, -0x79c8(gp) | t9 = sym.imp.fopen;
0x00019ec4 addiu a1, a1, 0x6dbc | a1 += 0x6dbc;
0x00019ec8 move a0, s2 | a0 = s2;
0x00019ecc jalr t9 | t9 ();
0x00019ed0 move s6, v0 | s6 = v0;
0x00019ed4 lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 == 0) {
0x00019ed8 beqz v0, 0x1a240 | goto label_32;
| }
0x00019edc lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00019ee0 sw zero, 0x3c(sp) | *(var_3ch_3) = 0;
0x00019ee4 sw v0, 0x48(sp) | *(var_48h) = v0;
0x00019ee8 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00019eec addiu fp, sp, 0x16c | fp = sp + aav.0x0000016c;
0x00019ef0 sw v0, 0x50(sp) | *(var_50h) = v0;
0x00019ef4 lw v0, -0x7d00(gp) | v0 = *(gp);
| /* fcn.000185a4 */
0x00019ef8 addiu v0, v0, -0x7a5c | v0 += -0x7a5c;
0x00019efc sw v0, 0x58(sp) | *(var_58h) = v0;
0x00019f00 lw v0, -0x7f80(gp) | v0 = *(gp);
| /* fcn.00017368 */
0x00019f04 addiu v0, v0, 0x7368 | v0 += 0x7368;
0x00019f08 sw v0, 0x5c(sp) | *(var_5ch) = v0;
0x00019f0c lw v0, -0x7f80(gp) | v0 = *(gp);
| /* fcn.00017414 */
0x00019f10 addiu v0, v0, 0x7414 | v0 += 0x7414;
0x00019f14 sw v0, 0x54(sp) | *(var_54h) = v0;
| do {
| label_2:
0x00019f18 lw t9, -0x77d0(gp) | t9 = sym.imp.fgets;
0x00019f1c move a2, s6 | a2 = s6;
0x00019f20 addiu a1, zero, 0x80 | a1 = 0x80;
0x00019f24 move a0, fp | a0 = fp;
0x00019f28 jalr t9 | t9 ();
0x00019f2c lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 == 0) {
0x00019f30 beqz v0, 0x1a4cc | goto label_33;
| }
0x00019f34 lb v0, 0x16c(sp) | v0 = *(var_16ch);
0x00019f38 addiu v1, zero, 0x23 | v1 = 0x23;
0x00019f3c addiu v1, zero, 0x3b | v1 = 0x3b;
0x00019f40 beq v0, v1, 0x19f18 |
| } while (v0 == v1);
0x00019f44 lw t9, -0x77a0(gp) | t9 = sym.imp.strchr;
| if (v0 == v1) {
0x00019f48 beq v0, v1, 0x19f18 | goto label_2;
| }
0x00019f4c addiu a1, zero, 0x20 | a1 = 0x20;
0x00019f50 move a0, fp | a0 = fp;
0x00019f54 jalr t9 | t9 ();
0x00019f58 move a2, v0 | a2 = v0;
0x00019f5c lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 == 0) {
0x00019f60 beqz v0, 0x19f18 | goto label_2;
| }
0x00019f64 lb s7, 1(v0) | s7 = *((v0 + 1));
0x00019f68 sb zero, (v0) | *(v0) = 0;
0x00019f6c addiu s2, v0, 1 | s2 = v0 + 1;
| if (s7 == 0) {
0x00019f70 beqz s7, 0x1a41c | goto label_12;
| }
0x00019f74 lw t9, -0x78a0(gp) | t9 = sym.imp.__ctype_b_loc;
0x00019f78 sw v0, 0x44(sp) | *(var_44h_3) = v0;
0x00019f7c jalr t9 | t9 ();
0x00019f80 lw a1, (v0) | a1 = *(v0);
0x00019f84 lw gp, 0x30(sp) | gp = *(var_30h_3);
0x00019f88 lw a2, 0x44(sp) | a2 = *(var_44h_3);
0x00019f8c b 0x19f9c |
| while (v0 == 0) {
0x00019f90 lb s7, (s2) | s7 = *(s2);
0x00019f94 lw t9, -0x77a0(gp) | t9 = sym.imp.strchr;
| if (s7 == 0) {
0x00019f98 beqz s7, 0x1a420 | goto label_34;
| }
0x00019f9c sll v0, s7, 1 | v0 = s7 << 1;
0x00019fa0 addu v0, a1, v0 | v0 = a1 + v0;
0x00019fa4 lhu v0, (v0) | v0 = *(v0);
0x00019fa8 andi v0, v0, 0x2000 | v0 &= 0x2000;
0x00019fac addiu s2, s2, 1 | s2++;
0x00019fb0 bnel v0, zero, 0x19f90 |
| }
0x00019fb4 addiu v0, zero, 0x22 | v0 = 0x22;
0x00019fb8 lw t9, -0x77a0(gp) | t9 = sym.imp.strchr;
| if (s7 != v0) {
0x00019fbc bne s7, v0, 0x1a564 | goto label_35;
| }
0x00019fc0 sw a2, 0x44(sp) | *(var_44h_3) = a2;
0x00019fc4 addiu s2, s2, 1 | s2++;
0x00019fc8 addiu a1, zero, 0x22 | a1 = 0x22;
| label_13:
0x00019fcc move a0, s2 | a0 = s2;
0x00019fd0 jalr t9 | t9 ();
0x00019fd4 move s7, v0 | s7 = v0;
0x00019fd8 lw gp, 0x30(sp) | gp = *(var_30h_3);
0x00019fdc lw a2, 0x44(sp) | a2 = *(var_44h_3);
| if (v0 != 0) {
0x00019fe0 bnez v0, 0x1a43c | goto label_36;
| }
| label_14:
0x00019fe4 sb zero, (a2) | *(a2) = 0;
| label_9:
0x00019fe8 lw v0, 0x48(sp) | v0 = *(var_48h);
| label_8:
0x00019fec lw t9, -0x7a7c(gp) | t9 = sym.imp.strcmp;
0x00019ff0 addiu a1, v0, 0x2af4 | a1 = v0 + 0x2af4;
0x00019ff4 move a0, fp | a0 = fp;
0x00019ff8 jalr t9 | t9 ();
0x00019ffc lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 == 0) {
0x0001a000 beqz v0, 0x1a504 | goto label_37;
| }
0x0001a004 lw v0, 0x50(sp) | v0 = *(var_50h);
0x0001a008 lw t9, -0x7a7c(gp) | t9 = sym.imp.strcmp;
0x0001a00c addiu a1, v0, 0x2b00 | a1 = v0 + 0x2b00;
0x0001a010 move a0, fp | a0 = fp;
0x0001a014 jalr t9 | t9 ();
0x0001a018 lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 == 0) {
0x0001a01c beqz v0, 0x1a580 | goto label_38;
| }
0x0001a020 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0001a024 lw t9, -0x7a7c(gp) | t9 = sym.imp.strcmp;
| /* str.set_enum */
0x0001a028 addiu a1, a1, 0x2b0c | a1 += 0x2b0c;
0x0001a02c move a0, fp | a0 = fp;
0x0001a030 jalr t9 | t9 ();
0x0001a034 lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 == 0) {
0x0001a038 beqz v0, 0x1a6c0 | goto label_39;
| }
0x0001a03c lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0001a040 lw t9, -0x7a7c(gp) | t9 = sym.imp.strcmp;
| /* str.set_switch */
0x0001a044 addiu a1, a1, 0x2b18 | a1 += aav.0x00002b18;
0x0001a048 move a0, fp | a0 = fp;
0x0001a04c jalr t9 | t9 ();
0x0001a050 lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 != 0) {
0x0001a054 bnez v0, 0x1a644 | goto label_40;
| }
0x0001a058 lw t9, -0x7848(gp) | t9 = sym.imp.strtol;
0x0001a05c move a2, zero | a2 = 0;
0x0001a060 move a0, s7 | a0 = s7;
0x0001a064 move a1, zero | a1 = 0;
0x0001a068 jalr t9 | t9 ();
0x0001a06c lw gp, 0x30(sp) | gp = *(var_30h_3);
0x0001a070 move a0, s7 | a0 = s7;
0x0001a074 move s7, v0 | s7 = v0;
0x0001a078 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0001a07c lw t9, -0x794c(gp) | t9 = sym.imp.strcasecmp;
| /* esilref: 'on' */
0x0001a080 addiu a1, a1, -0x180c | a1 += -0x180c;
0x0001a084 jalr t9 | t9 ();
0x0001a088 addiu a0, zero, 1 | a0 = 1;
| if (v0 == 0) {
0x0001a08c movn a0, s7, v0 | a0 = s7;
| }
0x0001a090 lw v0, 0x4c(sp) | v0 = *(var_4ch);
0x0001a094 move a3, a0 | a3 = a0;
0x0001a098 move a2, s2 | a2 = s2;
0x0001a09c move a1, s4 | a1 = s4;
0x0001a0a0 addiu a0, v0, 4 | a0 = v0 + 4;
0x0001a0a4 lw t9, 0x58(sp) | t9 = *(var_58h);
0x0001a0a8 b 0x1a548 | goto label_18;
| label_28:
0x0001a0ac move a0, s4 | a0 = s4;
0x0001a0b0 bal 0x28f20 | sym_legacy_conf_input_dsp_user_get_dp ();
0x0001a0b4 lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 != 0) {
0x0001a0b8 beqz v0, 0x1a0c8 |
0x0001a0bc lw v0, -0x7f80(gp) | v0 = *(gp);
0x0001a0c0 addiu v0, v0, 0x77c4 | v0 += 0x77c4;
0x0001a0c4 sw v0, 0x9c(sp) | *(var_9ch) = v0;
| }
0x0001a0c8 lw t9, -0x7d1c(gp) | t9 = sym.legacy_conf_input_dsp_user_get_aec;
0x0001a0cc move a0, s4 | a0 = s4;
0x0001a0d0 bal 0x28f28 | sym_legacy_conf_input_dsp_user_get_aec ();
0x0001a0d4 lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 != 0) {
0x0001a0d8 beqz v0, 0x1a0e8 |
0x0001a0dc lw v0, -0x7f80(gp) | v0 = *(gp);
0x0001a0e0 addiu v0, v0, 0x7cb8 | v0 += 0x7cb8;
0x0001a0e4 sw v0, 0xa0(sp) | *(var_a0h) = v0;
| }
0x0001a0e8 lw t9, -0x7d18(gp) | t9 = sym.legacy_conf_input_dsp_user_get_nc;
0x0001a0ec move a0, s4 | a0 = s4;
0x0001a0f0 bal 0x28f30 | sym_legacy_conf_input_dsp_user_get_nc ();
0x0001a0f4 lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 != 0) {
0x0001a0f8 beqz v0, 0x1a108 |
0x0001a0fc lw v0, -0x7f80(gp) | v0 = *(gp);
0x0001a100 addiu v0, v0, 0x7af0 | v0 += 0x7af0;
0x0001a104 sw v0, 0xa4(sp) | *(var_a4h) = v0;
| }
0x0001a108 lw t9, -0x7d14(gp) | t9 = sym.legacy_conf_input_dsp_user_get_wnc;
0x0001a10c move a0, s4 | a0 = s4;
0x0001a110 bal 0x28f38 | sym_legacy_conf_input_dsp_user_get_wnc ();
0x0001a114 lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 == 0) {
0x0001a118 beqz v0, 0x19d40 | goto label_3;
| }
0x0001a11c lw v0, -0x7f80(gp) | v0 = *(gp);
0x0001a120 lw t9, -0x7994(gp) | t9 = sym.imp.malloc;
0x0001a124 addiu v0, v0, 0x7928 | v0 += 0x7928;
0x0001a128 sw v0, 0xa8(sp) | *(var_a8h) = v0;
0x0001a12c addiu a0, zero, 0x1c | a0 = 0x1c;
0x0001a130 jalr t9 | t9 ();
0x0001a134 lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 != 0) {
0x0001a138 bnez v0, 0x19d54 | goto label_4;
| }
| label_29:
0x0001a13c addiu s2, zero, -1 | s2 = -1;
| label_11:
0x0001a140 lw t9, -0x7cec(gp) | t9 = sym.ak7755_cleanup;
0x0001a144 bal 0x17200 | sym_ak7755_cleanup ();
0x0001a148 nop |
0x0001a14c lw gp, 0x30(sp) | gp = *(var_30h_3);
| do {
| label_19:
0x0001a150 lw a0, 0x1ec(sp) | a0 = *(var_1ech);
0x0001a154 lw v1, (s3) | v1 = *(s3);
0x0001a158 move v0, s2 | v0 = s2;
| if (a0 != v1) {
0x0001a15c bne a0, v1, 0x1a724 | goto label_41;
| }
0x0001a160 lw ra, 0x214(sp) | ra = *(var_214h);
0x0001a164 lw fp, 0x210(sp) | fp = *(var_210h);
0x0001a168 lw s7, 0x20c(sp) | s7 = *(var_20ch);
0x0001a16c lw s6, 0x208(sp) | s6 = *(var_208h);
0x0001a170 lw s5, 0x204(sp) | s5 = *(var_204h);
0x0001a174 lw s4, 0x200(sp) | s4 = *(var_200h);
0x0001a178 lw s3, 0x1fc(sp) | s3 = *(var_1fch);
0x0001a17c lw s2, 0x1f8(sp) | s2 = *(var_1f8h);
0x0001a180 lw s1, 0x1f4(sp) | s1 = *(var_1f4h);
0x0001a184 lw s0, 0x1f0(sp) | s0 = *(var_1f0h);
0x0001a188 addiu sp, sp, 0x218 |
0x0001a18c jr ra | return v0;
| label_31:
0x0001a190 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0001a194 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| /* str.mixer_utils_open_control_returned_invalid_handle */
0x0001a198 addiu a2, a2, 0x2650 | a2 += 0x2650;
0x0001a19c addiu a1, zero, 1 | a1 = 1;
0x0001a1a0 addiu a0, zero, 3 | a0 = 3;
0x0001a1a4 jalr t9 | t9 ();
0x0001a1a8 lw gp, 0x30(sp) | gp = *(var_30h_3);
| label_7:
0x0001a1ac lw v0, 0xc(s0) | v0 = *((s0 + 3));
0x0001a1b0 lw v1, -0x7f80(gp) | v1 = *(gp);
0x0001a1b4 lw v0, (v0) | v0 = *(v0);
0x0001a1b8 addiu v1, v1, 0x7090 | v1 += 0x7090;
0x0001a1bc lbu a0, 0x1a(v0) | a0 = *((v0 + 26));
0x0001a1c0 sw v1, 0x90(sp) | *(var_90h) = v1;
0x0001a1c4 lw v1, -0x7ce8(gp) | v1 = sym.ak7755_get_input_type_values;
0x0001a1c8 lbu a3, 0x19(v0) | a3 = *((v0 + 25));
0x0001a1cc sw v1, 0x94(sp) | *(var_94h) = v1;
0x0001a1d0 lw v1, -0x7f80(gp) | v1 = *(gp);
0x0001a1d4 addiu v1, v1, 0x70b8 | v1 += 0x70b8;
0x0001a1d8 sw v1, 0x98(sp) | *(var_98h) = v1;
| if (a0 != 0) {
0x0001a1dc beqz a0, 0x1a1e4 |
0x0001a1e0 ori a3, a3, 2 | a3 |= 2;
| }
0x0001a1e4 lw v0, 0x14(v0) | v0 = *((v0 + 5));
0x0001a1e8 ext v0, v0, 0, 0x18 | __asm ("ext v0, v0, 0, 0x18");
0x0001a1ec ori a3, a3, 8 | a3 |= 8;
| if (v0 != 0) {
0x0001a1f0 bnel v0, zero, 0x1a1f4 |
| }
0x0001a1f4 lw s2, -0x3508(s1) | s2 = *((s1 - 3394));
0x0001a1f8 lw t9, -0x7e28(gp) | t9 = sym.card_dbus_add;
0x0001a1fc lw a0, 0x38(sp) | a0 = *(var_38h_3);
0x0001a200 sw s2, 0x18(sp) | *(var_18h_3) = s2;
0x0001a204 sw s0, 0x14(sp) | *(var_14h) = s0;
0x0001a208 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0001a20c move a2, s5 | a2 = s5;
0x0001a210 addiu a1, sp, 0x64 | a1 = sp + 0x64;
0x0001a214 bal 0x1396c | sym_card_dbus_add ();
0x0001a218 lw v1, -0x3508(s1) | v1 = *((s1 - 3394));
0x0001a21c lw gp, 0x30(sp) | gp = *(var_30h_3);
0x0001a220 sw v0, (s2) | *(s2) = v0;
0x0001a224 lw v0, (v1) | v0 = *(v1);
0x0001a228 lw a2, -0x7fdc(gp) | a2 = *(gp);
| if (v0 == 0) {
0x0001a22c beqz v0, 0x1a718 | goto label_42;
| }
0x0001a230 addiu v0, zero, -1 | v0 = -1;
0x0001a234 sw v0, 0x14(v1) | *((v1 + 5)) = v0;
0x0001a238 move s2, zero | s2 = 0;
0x0001a23c b 0x1a150 |
| } while (1);
| label_32:
0x0001a240 sw zero, 0x3c(sp) | *(var_3ch_3) = 0;
| label_10:
0x0001a244 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0001a248 lw t9, -0x7d2c(gp) | t9 = sym.mixer_utils_set_volume_control_raw;
0x0001a24c addiu a3, zero, 3 | a3 = 3;
0x0001a250 addiu a2, zero, 3 | a2 = 3;
| /* str.CRAM_TXOUT_Gain */
0x0001a254 addiu a1, a1, 0x29a4 | a1 += 0x29a4;
0x0001a258 move a0, s4 | a0 = s4;
0x0001a25c sw zero, 0x10(sp) | *(var_10h) = 0;
0x0001a260 bal 0x2c0b4 | sym_mixer_utils_set_volume_control_raw ();
0x0001a264 lw gp, 0x30(sp) | gp = *(var_30h_3);
0x0001a268 lw v1, 0x3c(sp) | v1 = *(var_3ch_3);
0x0001a26c sw zero, 0x10(sp) | *(var_10h) = 0;
0x0001a270 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0001a274 lw t9, -0x7d2c(gp) | t9 = sym.mixer_utils_set_volume_control_raw;
0x0001a278 addiu a3, zero, 3 | a3 = 3;
0x0001a27c addiu a2, zero, 3 | a2 = 3;
| /* str.CRAM_SPKOUT_Attenuation */
0x0001a280 addiu a1, a1, 0x27d8 | a1 += 0x27d8;
0x0001a284 move a0, s4 | a0 = s4;
0x0001a288 or s2, v0, v1 | s2 = v0 | v1;
0x0001a28c bal 0x2c0b4 | sym_mixer_utils_set_volume_control_raw ();
0x0001a290 or s2, s2, v0 | s2 |= v0;
0x0001a294 lw v0, 0x40(sp) | v0 = *(var_40h_3);
0x0001a298 lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 > 0) {
0x0001a29c blez v0, 0x1a2f8 |
0x0001a2a0 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0001a2a4 lw t9, -0x7d2c(gp) | t9 = sym.mixer_utils_set_volume_control_raw;
0x0001a2a8 addiu s6, zero, 0xe7 | s6 = 0xe7;
0x0001a2ac addiu a3, zero, 3 | a3 = 3;
0x0001a2b0 addiu a2, zero, 3 | a2 = 3;
| /* str.DAC_Digital_Volume_L */
0x0001a2b4 addiu a1, a1, 0x2b4c | a1 += 0x2b4c;
0x0001a2b8 move a0, s4 | a0 = s4;
0x0001a2bc sw s6, 0x10(sp) | *(var_10h) = s6;
0x0001a2c0 bal 0x2c0b4 | sym_mixer_utils_set_volume_control_raw ();
0x0001a2c4 lw gp, 0x30(sp) | gp = *(var_30h_3);
0x0001a2c8 sw s6, 0x10(sp) | *(var_10h) = s6;
0x0001a2cc addiu a3, zero, 3 | a3 = 3;
0x0001a2d0 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0001a2d4 lw t9, -0x7d2c(gp) | t9 = sym.mixer_utils_set_volume_control_raw;
0x0001a2d8 addiu a2, zero, 3 | a2 = 3;
| /* str.DAC_Digital_Volume_R */
0x0001a2dc addiu a1, a1, 0x2b64 | a1 += 0x2b64;
0x0001a2e0 move a0, s4 | a0 = s4;
0x0001a2e4 move s6, v0 | s6 = v0;
0x0001a2e8 bal 0x2c0b4 | sym_mixer_utils_set_volume_control_raw ();
0x0001a2ec or v0, s6, v0 | v0 = s6 | v0;
0x0001a2f0 lw gp, 0x30(sp) | gp = *(var_30h_3);
0x0001a2f4 or s2, s2, v0 | s2 |= v0;
| }
0x0001a2f8 lw t9, -0x7d00(gp) | t9 = *(gp);
| if (s2 < 0) {
0x0001a2fc bltz s2, 0x1a600 | goto label_43;
| }
0x0001a300 lw v0, -0x3508(s1) | v0 = *((s1 - 3394));
0x0001a304 move a0, s4 | a0 = s4;
| /* fcn.00018c78 */
0x0001a308 addiu t9, t9, -0x7388 | t9 += -0x7388;
0x0001a30c lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x0001a310 bal 0x18c78 | fcn_00018c78 ();
0x0001a314 move s2, v0 | s2 = v0;
0x0001a318 lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 < 0) {
0x0001a31c bltz v0, 0x1a600 | goto label_43;
| }
0x0001a320 lw v0, -0x3508(s1) | v0 = *((s1 - 3394));
0x0001a324 lw t9, -0x7d00(gp) | t9 = *(gp);
0x0001a328 move a0, s4 | a0 = s4;
| /* fcn.00018658 */
0x0001a32c addiu t9, t9, -0x79a8 | t9 += -0x79a8;
0x0001a330 lw a1, 0xc(v0) | a1 = *((v0 + 3));
0x0001a334 bal 0x18658 | fcn_00018658 ();
0x0001a338 move s2, v0 | s2 = v0;
0x0001a33c lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 < 0) {
0x0001a340 bltz v0, 0x1a600 | goto label_43;
| }
0x0001a344 lw v0, -0x3508(s1) | v0 = *((s1 - 3394));
0x0001a348 lw s2, 0xc(v0) | s2 = *((v0 + 3));
0x0001a34c lw v0, 0x14(s2) | v0 = *((s2 + 5));
0x0001a350 lw t9, -0x7d00(gp) | t9 = *(gp);
| if (v0 == 0) {
0x0001a354 beqz v0, 0x1a67c | goto label_44;
| }
0x0001a358 lw a0, (v0) | a0 = *(v0);
| /* fcn.00018008 */
0x0001a35c addiu t9, t9, -0x7ff8 | t9 += -0x7ff8;
0x0001a360 sltu a0, zero, a0 | a0 = (0 < a0) ? 1 : 0;
0x0001a364 bal 0x18008 | fcn_00018008 ();
0x0001a368 lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 == 0) {
0x0001a36c beqz v0, 0x1a700 | goto label_45;
| }
0x0001a370 lw v0, 0x14(s2) | v0 = *((s2 + 5));
0x0001a374 lw t9, -0x7d00(gp) | t9 = *(gp);
| /* fcn.00018454 */
0x0001a378 addiu t9, t9, -0x7bac | t9 += -0x7bac;
0x0001a37c lw a0, 4(v0) | a0 = *((v0 + 1));
0x0001a380 bal 0x18454 | fcn_00018454 ();
0x0001a384 lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 == 0) {
0x0001a388 beqz v0, 0x1a700 | goto label_45;
| }
0x0001a38c lw v0, 0x14(s2) | v0 = *((s2 + 5));
0x0001a390 lw t9, -0x7d00(gp) | t9 = *(gp);
| /* fcn.00019954 */
0x0001a394 addiu t9, t9, -0x66ac | t9 += -0x66ac;
0x0001a398 lw a0, 8(v0) | a0 = *((v0 + 2));
0x0001a39c bal 0x19954 | fcn_00019954 ();
| goto label_5;
0x0001a3a0 lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 == 0) {
0x0001a3a4 beqz v0, 0x1a700 | goto label_45;
| }
0x0001a3a8 lw v0, 0x14(s2) | v0 = *((s2 + 5));
0x0001a3ac lw t9, -0x7d00(gp) | t9 = *(gp);
0x0001a3b0 addiu t9, t9, -0x6570 | t9 += -aav.0x00006570;
0x0001a3b4 lw a0, 0xc(v0) | a0 = *((v0 + 3));
0x0001a3b8 bal 0x19a90 | fcn_19a90 ();
| goto label_6;
0x0001a3bc lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 == 0) {
0x0001a3c0 beqz v0, 0x1a700 | goto label_45;
| }
0x0001a3c4 lw v0, 0x14(s2) | v0 = *((s2 + 5));
0x0001a3c8 lw t9, -0x7f80(gp) | t9 = *(gp);
| /* fcn.00017ecc */
0x0001a3cc addiu t9, t9, 0x7ecc | t9 += 0x7ecc;
0x0001a3d0 lw a0, 0x10(v0) | a0 = *((v0 + 4));
0x0001a3d4 bal 0x17ecc | fcn_00017ecc ();
0x0001a3d8 lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 == 0) {
0x0001a3dc beqz v0, 0x1a700 | goto label_45;
| }
0x0001a3e0 lw a0, -0x3508(s1) | a0 = *((s1 - 3394));
0x0001a3e4 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x0001a3e8 lw a1, -0x7d00(gp) | a1 = *(gp);
0x0001a3ec lw a2, 4(a0) | a2 = *((a0 + 1));
0x0001a3f0 lw t9, -0x7ce4(gp) | t9 = sym.voice_tracking_trigger_setup;
| /* str._sys_bus_spi_devices_spi1.0_vt_trigger */
0x0001a3f4 addiu a3, a3, 0x3048 | a3 += 0x3048;
0x0001a3f8 addiu a1, a1, -0x6980 | a1 += -0x6980;
0x0001a3fc addiu a0, a0, 0x18 | a0 += 0x18;
0x0001a400 bal 0x1fd60 | sym_voice_tracking_trigger_setup ();
0x0001a404 lw gp, 0x30(sp) | gp = *(var_30h_3);
0x0001a408 lw t9, -0x77ac(gp) | t9 = sym.imp.snd_mixer_close;
0x0001a40c move a0, s4 | a0 = s4;
0x0001a410 jalr t9 | t9 ();
0x0001a414 lw gp, 0x30(sp) | gp = *(var_30h_3);
0x0001a418 b 0x1a1ac | goto label_7;
| label_12:
0x0001a41c lw t9, -0x77a0(gp) | t9 = sym.imp.strchr;
| label_34:
0x0001a420 sw a2, 0x44(sp) | *(var_44h_3) = a2;
0x0001a424 addiu a1, zero, 0x2c | a1 = 0x2c;
0x0001a428 move a0, s2 | a0 = s2;
0x0001a42c jalr t9 | t9 ();
0x0001a430 move s7, v0 | s7 = v0;
0x0001a434 lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 == 0) {
0x0001a438 beqz v0, 0x1a670 | goto label_46;
| }
| label_36:
0x0001a43c lb a0, 1(s7) | a0 = *((s7 + 1));
0x0001a440 addiu v0, zero, 0x2c | v0 = 0x2c;
0x0001a444 sb zero, (s7) | *(s7) = 0;
| if (a0 == v0) {
0x0001a448 beq a0, v0, 0x1a6b4 | goto label_47;
| }
0x0001a44c addiu s7, s7, 1 | s7++;
| label_17:
0x0001a450 sw a0, 0x44(sp) | *(var_44h_3) = a0;
| if (a0 == 0) {
0x0001a454 beqz a0, 0x1a5c8 | goto label_16;
| }
0x0001a458 lw t9, -0x78a0(gp) | t9 = sym.imp.__ctype_b_loc;
0x0001a45c jalr t9 | t9 ();
0x0001a460 nop |
0x0001a464 lw a1, (v0) | a1 = *(v0);
0x0001a468 lw gp, 0x30(sp) | gp = *(var_30h_3);
0x0001a46c lw a0, 0x44(sp) | a0 = *(var_44h_3);
0x0001a470 b 0x1a480 |
| while (v0 == 0) {
0x0001a474 lb a0, (s7) | a0 = *(s7);
0x0001a478 lw t9, -0x77a0(gp) | t9 = sym.imp.strchr;
| if (a0 == 0) {
0x0001a47c beqz a0, 0x1a5cc | goto label_48;
| }
0x0001a480 sll v0, a0, 1 | v0 = a0 << 1;
0x0001a484 addu v0, a1, v0 | v0 = a1 + v0;
0x0001a488 lhu v0, (v0) | v0 = *(v0);
0x0001a48c andi v0, v0, 0x2000 | v0 &= 0x2000;
0x0001a490 addiu s7, s7, 1 | s7++;
0x0001a494 bnel v0, zero, 0x1a474 |
| }
0x0001a498 addiu v0, zero, 0x22 | v0 = 0x22;
0x0001a49c lw t9, -0x77a0(gp) | t9 = sym.imp.strchr;
| if (a0 != v0) {
0x0001a4a0 bne a0, v0, 0x1a690 | goto label_49;
| }
0x0001a4a4 addiu s7, s7, 1 | s7++;
0x0001a4a8 addiu a1, zero, 0x22 | a1 = 0x22;
0x0001a4ac move a0, s7 | a0 = s7;
0x0001a4b0 jalr t9 | t9 ();
0x0001a4b4 lw gp, 0x30(sp) | gp = *(var_30h_3);
0x0001a4b8 move a2, v0 | a2 = v0;
| label_15:
0x0001a4bc lw v0, 0x48(sp) | v0 = *(var_48h);
| if (a2 == 0) {
0x0001a4c0 beqz a2, 0x19fec | goto label_8;
| }
0x0001a4c4 sb zero, (a2) | *(a2) = 0;
0x0001a4c8 b 0x19fe8 | goto label_9;
| label_33:
0x0001a4cc lw t9, -0x78c0(gp) | t9 = sym.imp.fclose;
0x0001a4d0 move a0, s6 | a0 = s6;
0x0001a4d4 jalr t9 | t9 ();
0x0001a4d8 lw gp, 0x30(sp) | gp = *(var_30h_3);
0x0001a4dc b 0x1a244 | goto label_10;
| label_30:
0x0001a4e0 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0001a4e4 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| /* str.mixer_utils_open_control_returned_invalid_handle. */
0x0001a4e8 addiu a2, a2, 0x2aac | a2 += 0x2aac;
0x0001a4ec addiu a1, zero, 1 | a1 = 1;
0x0001a4f0 addiu a0, zero, 3 | a0 = 3;
0x0001a4f4 jalr t9 | t9 ();
0x0001a4f8 addiu s2, zero, -1 | s2 = -1;
0x0001a4fc lw gp, 0x30(sp) | gp = *(var_30h_3);
0x0001a500 b 0x1a140 | goto label_11;
| label_37:
0x0001a504 lw t9, -0x7848(gp) | t9 = sym.imp.strtol;
0x0001a508 move a0, s2 | a0 = s2;
0x0001a50c move a2, zero | a2 = 0;
0x0001a510 move a1, zero | a1 = 0;
0x0001a514 jalr t9 | t9 ();
0x0001a518 lw gp, 0x30(sp) | gp = *(var_30h_3);
0x0001a51c move a2, zero | a2 = 0;
0x0001a520 move a1, zero | a1 = 0;
0x0001a524 lw t9, -0x7848(gp) | t9 = sym.imp.strtol;
0x0001a528 move a0, s7 | a0 = s7;
0x0001a52c move s2, v0 | s2 = v0;
0x0001a530 jalr t9 | t9 ();
0x0001a534 lw a0, 0x4c(sp) | a0 = *(var_4ch);
0x0001a538 lw t9, 0x54(sp) | t9 = *(var_54h);
0x0001a53c move a3, v0 | a3 = v0;
0x0001a540 move a2, s2 | a2 = s2;
0x0001a544 move a1, s4 | a1 = s4;
| label_18:
0x0001a548 jalr t9 | t9 ();
0x0001a54c nop |
0x0001a550 lw v1, 0x3c(sp) | v1 = *(var_3ch_3);
0x0001a554 lw gp, 0x30(sp) | gp = *(var_30h_3);
0x0001a558 or v0, v1, v0 | v0 = v1 | v0;
0x0001a55c sw v0, 0x3c(sp) | *(var_3ch_3) = v0;
0x0001a560 b 0x19f18 | goto label_2;
| label_35:
0x0001a564 addiu v0, zero, 0x27 | v0 = 0x27;
0x0001a568 addiu a1, zero, 0x27 | a1 = 0x27;
| if (s7 != v0) {
0x0001a56c bne s7, v0, 0x1a41c | goto label_12;
| }
0x0001a570 sw a2, 0x44(sp) | *(var_44h_3) = a2;
0x0001a574 addiu s2, s2, 1 | s2++;
0x0001a578 b 0x19fcc | goto label_13;
0x0001a57c nop |
| label_38:
0x0001a580 lw t9, -0x7848(gp) | t9 = sym.imp.strtol;
0x0001a584 move a2, zero | a2 = 0;
0x0001a588 move a1, zero | a1 = 0;
0x0001a58c move a0, s7 | a0 = s7;
0x0001a590 jalr t9 | t9 ();
0x0001a594 lw gp, 0x30(sp) | gp = *(var_30h_3);
0x0001a598 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0001a59c addiu a3, zero, 3 | a3 = 3;
0x0001a5a0 lw t9, -0x7d2c(gp) | t9 = sym.mixer_utils_set_volume_control_raw;
0x0001a5a4 addiu a2, zero, 3 | a2 = 3;
0x0001a5a8 move a1, s2 | a1 = s2;
0x0001a5ac move a0, s4 | a0 = s4;
0x0001a5b0 bal 0x2c0b4 | sym_mixer_utils_set_volume_control_raw ();
0x0001a5b4 lw v1, 0x3c(sp) | v1 = *(var_3ch_3);
0x0001a5b8 lw gp, 0x30(sp) | gp = *(var_30h_3);
0x0001a5bc or v0, v1, v0 | v0 = v1 | v0;
0x0001a5c0 sw v0, 0x3c(sp) | *(var_3ch_3) = v0;
0x0001a5c4 b 0x19f18 | goto label_2;
| label_16:
0x0001a5c8 lw t9, -0x77a0(gp) | t9 = sym.imp.strchr;
| label_48:
0x0001a5cc addiu a1, zero, 0x20 | a1 = 0x20;
0x0001a5d0 move a0, s7 | a0 = s7;
0x0001a5d4 jalr t9 | t9 ();
0x0001a5d8 move a2, v0 | a2 = v0;
0x0001a5dc lw gp, 0x30(sp) | gp = *(var_30h_3);
| if (v0 != 0) {
0x0001a5e0 bnez v0, 0x19fe4 | goto label_14;
| }
0x0001a5e4 lw t9, -0x77a0(gp) | t9 = sym.imp.strchr;
0x0001a5e8 addiu a1, zero, 0xa | a1 = 0xa;
0x0001a5ec move a0, s7 | a0 = s7;
0x0001a5f0 jalr t9 | t9 ();
0x0001a5f4 move a2, v0 | a2 = v0;
0x0001a5f8 lw gp, 0x30(sp) | gp = *(var_30h_3);
0x0001a5fc b 0x1a4bc | goto label_15;
| label_43:
0x0001a600 lw t9, -0x77ac(gp) | t9 = sym.imp.snd_mixer_close;
0x0001a604 move a0, s4 | a0 = s4;
0x0001a608 jalr t9 | t9 ();
0x0001a60c lw gp, 0x30(sp) | gp = *(var_30h_3);
| label_20:
0x0001a610 lw t9, -0x7900(gp) | t9 = sym.imp.snd_strerror;
0x0001a614 negu a0, s2 | __asm ("negu a0, s2");
0x0001a618 jalr t9 | t9 ();
0x0001a61c lw gp, 0x30(sp) | gp = *(var_30h_3);
0x0001a620 move a3, v0 | a3 = v0;
0x0001a624 addiu a1, zero, 1 | a1 = 1;
0x0001a628 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0001a62c lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| /* esilref: 'Could not set up codec: '&s'' */
0x0001a630 addiu a2, a2, 0x2b7c | a2 += aav.0x00002b7c;
0x0001a634 addiu a0, zero, 3 | a0 = 3;
0x0001a638 jalr t9 | t9 ();
0x0001a63c lw gp, 0x30(sp) | gp = *(var_30h_3);
0x0001a640 b 0x1a140 | goto label_11;
| label_40:
0x0001a644 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0001a648 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
0x0001a64c sw s7, 0x14(sp) | *(var_14h) = s7;
0x0001a650 sw s2, 0x10(sp) | *(var_10h) = s2;
0x0001a654 move a3, fp | a3 = fp;
| /* str.Unknown_cmd:__s_arg1:__s_arg2:__s_n */
0x0001a658 addiu a2, a2, 0x2b24 | a2 += 0x2b24;
0x0001a65c addiu a1, zero, 1 | a1 = 1;
0x0001a660 addiu a0, zero, 3 | a0 = 3;
0x0001a664 jalr t9 | t9 ();
0x0001a668 lw gp, 0x30(sp) | gp = *(var_30h_3);
0x0001a66c b 0x19f18 | goto label_2;
| label_46:
0x0001a670 lw t9, -0x77a0(gp) | t9 = sym.imp.strchr;
0x0001a674 addiu a1, zero, 0x20 | a1 = 0x20;
0x0001a678 b 0x19fcc | goto label_13;
| label_44:
0x0001a67c lw t9, -0x77ac(gp) | t9 = sym.imp.snd_mixer_close;
0x0001a680 move a0, s4 | a0 = s4;
0x0001a684 jalr t9 | t9 ();
0x0001a688 lw gp, 0x30(sp) | gp = *(var_30h_3);
0x0001a68c b 0x1a1ac | goto label_7;
| label_49:
0x0001a690 addiu v0, zero, 0x27 | v0 = 0x27;
0x0001a694 addiu a1, zero, 0x27 | a1 = 0x27;
| if (a0 != v0) {
0x0001a698 bne a0, v0, 0x1a5c8 | goto label_16;
| }
0x0001a69c addiu s7, s7, 1 | s7++;
0x0001a6a0 move a0, s7 | a0 = s7;
0x0001a6a4 jalr t9 | t9 ();
0x0001a6a8 move a2, v0 | a2 = v0;
0x0001a6ac lw gp, 0x30(sp) | gp = *(var_30h_3);
0x0001a6b0 b 0x1a4bc | goto label_15;
| label_47:
0x0001a6b4 lb a0, 2(s7) | a0 = *((s7 + 2));
0x0001a6b8 addiu s7, s7, 2 | s7 += 2;
0x0001a6bc b 0x1a450 | goto label_17;
| label_39:
0x0001a6c0 lw v0, 0x4c(sp) | v0 = *(var_4ch);
0x0001a6c4 move a3, s7 | a3 = s7;
0x0001a6c8 move a2, s2 | a2 = s2;
0x0001a6cc move a1, s4 | a1 = s4;
0x0001a6d0 addiu a0, v0, 4 | a0 = v0 + 4;
0x0001a6d4 lw t9, 0x5c(sp) | t9 = *(var_5ch);
0x0001a6d8 b 0x1a548 | goto label_18;
| label_27:
0x0001a6dc lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0001a6e0 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| /* str.ak7755_already_set_up. */
0x0001a6e4 addiu a2, a2, 0x2a94 | a2 += 0x2a94;
| do {
0x0001a6e8 addiu a1, zero, 1 | a1 = 1;
0x0001a6ec addiu a0, zero, 3 | a0 = 3;
0x0001a6f0 jalr t9 | t9 ();
0x0001a6f4 addiu s2, zero, -1 | s2 = -1;
0x0001a6f8 lw gp, 0x30(sp) | gp = *(var_30h_3);
0x0001a6fc b 0x1a150 | goto label_19;
| label_45:
0x0001a700 lw t9, -0x77ac(gp) | t9 = sym.imp.snd_mixer_close;
0x0001a704 move a0, s4 | a0 = s4;
0x0001a708 jalr t9 | t9 ();
0x0001a70c addiu s2, zero, -1 | s2 = -1;
0x0001a710 lw gp, 0x30(sp) | gp = *(var_30h_3);
0x0001a714 b 0x1a610 | goto label_20;
| label_42:
0x0001a718 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| /* str.Failed_to_add_card_D_Bus_interfaces. */
0x0001a71c addiu a2, a2, 0x2b9c | a2 += 0x2b9c;
0x0001a720 b 0x1a6e8 |
| } while (1);
| label_41:
0x0001a724 lw t9, -0x79a8(gp) | t9 = sym.imp.__stack_chk_fail;
0x0001a728 jalr t9 | t9 ();
0x0001a72c nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/audiocontrol @ 0x1b9fc */
| #include <stdint.h>
|
; (fcn) fcn.0001b9fc () | void fcn_0001b9fc () {
0x0001b9fc lui gp, 5 |
0x0001ba00 addiu gp, gp, -0x791c |
0x0001ba04 addu gp, gp, t9 | gp += t9;
0x0001ba08 addiu sp, sp, -0x50 |
0x0001ba0c lw t9, -0x78d8(gp) | t9 = sym.imp.strlen;
0x0001ba10 sw s2, 0x34(sp) | *(var_34h) = s2;
0x0001ba14 lw s2, -0x7934(gp) | s2 = *((gp - 7757));
0x0001ba18 sw fp, 0x48(sp) | *(var_48h) = fp;
0x0001ba1c move fp, sp | fp = sp;
0x0001ba20 lw v0, (s2) | v0 = *(s2);
0x0001ba24 sw ra, 0x4c(sp) | *(var_4ch) = ra;
0x0001ba28 sw s4, 0x3c(sp) | *(var_3ch) = s4;
0x0001ba2c sw s3, 0x38(sp) | *(var_38h) = s3;
0x0001ba30 sw s0, 0x2c(sp) | *(var_2ch) = s0;
0x0001ba34 sw gp, 0x18(sp) | *(var_18h_2) = gp;
0x0001ba38 sw s6, 0x44(sp) | *(var_44h_2) = s6;
0x0001ba3c sw s5, 0x40(sp) | *(var_40h) = s5;
0x0001ba40 sw s1, 0x30(sp) | *(var_30h) = s1;
0x0001ba44 sw v0, 0x24(fp) | *(arg_24h) = v0;
0x0001ba48 sw zero, 0x20(fp) | *(arg_20h) = 0;
0x0001ba4c move s0, a1 | s0 = a1;
0x0001ba50 move s4, a0 | s4 = a0;
0x0001ba54 jalr t9 | t9 ();
0x0001ba58 lw gp, 0x18(fp) | gp = *(var_18h_2);
0x0001ba5c addiu v0, v0, 0xd | v0 += 0xd;
0x0001ba60 srl v0, v0, 3 | v0 >>= 3;
0x0001ba64 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0001ba68 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0001ba6c sll v0, v0, 3 | v0 <<= 3;
0x0001ba70 lw t9, -0x7d24(gp) | t9 = sym.mixer_utils_set_enum_control;
0x0001ba74 subu sp, sp, v0 |
| /* str.Decimator */
0x0001ba78 addiu a2, a2, 0x3738 | a2 += 0x3738;
| /* str.Capture_Mux */
0x0001ba7c addiu a1, a1, 0x3744 | a1 += 0x3744;
0x0001ba80 move a0, s0 | a0 = s0;
0x0001ba84 bal 0x2af4c | sym_mixer_utils_set_enum_control ();
0x0001ba88 lw gp, 0x18(fp) | gp = *(var_18h_2);
0x0001ba8c move a0, s0 | a0 = s0;
0x0001ba90 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0001ba94 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0001ba98 lw t9, -0x7d24(gp) | t9 = sym.mixer_utils_set_enum_control;
| /* str.AIFIN */
0x0001ba9c addiu a2, a2, 0x3750 | a2 += 0x3750;
0x0001baa0 lw s3, -0x7fdc(gp) | s3 = *(gp);
| /* str.DAC_Playback_Mux */
0x0001baa4 addiu a1, a1, 0x3758 | a1 += 0x3758;
0x0001baa8 bal 0x2af4c | sym_mixer_utils_set_enum_control ();
0x0001baac lw gp, 0x18(fp) | gp = *(var_18h_2);
0x0001bab0 sw zero, 0x14(sp) | *(var_14h) = 0;
0x0001bab4 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0001bab8 lw t9, -0x7c60(gp) | t9 = sym.mixer_utils_set_switch_lr_dB;
0x0001babc addiu a3, zero, -0x39 | a3 = -0x39;
0x0001bac0 addiu a2, zero, -0x39 | a2 = -0x39;
| /* str.Headphone */
0x0001bac4 addiu a1, s3, 0x376c | a1 = s3 + 0x376c;
0x0001bac8 move a0, s0 | a0 = s0;
0x0001bacc bal 0x2c7c0 | sym_mixer_utils_set_switch_lr_dB ();
0x0001bad0 lw gp, 0x18(fp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x0001bad4 bnez v0, 0x1bc70 | goto label_4;
| }
0x0001bad8 lw s5, -0x7fdc(gp) | s5 = *(gp);
0x0001badc lw t9, -0x7d2c(gp) | t9 = sym.mixer_utils_set_volume_control_raw;
0x0001bae0 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0001bae4 addiu a3, zero, 1 | a3 = 1;
0x0001bae8 addiu a2, zero, 3 | a2 = 3;
| /* str.Digital */
0x0001baec addiu a1, s5, 0x3798 | a1 = s5 + 0x3798;
0x0001baf0 move a0, s0 | a0 = s0;
0x0001baf4 bal 0x2c0b4 | sym_mixer_utils_set_volume_control_raw ();
0x0001baf8 move s1, v0 | s1 = v0;
0x0001bafc lw gp, 0x18(fp) | gp = *(var_18h_2);
| if (v0 < 0) {
0x0001bb00 bltz v0, 0x1bbdc | goto label_5;
| }
0x0001bb04 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x0001bb08 lw t9, -0x7a3c(gp) | t9 = sym.imp.__sprintf_chk
0x0001bb0c addiu s6, sp, 0x18 | s6 = sp + 0x18;
| /* str.plug:_s */
0x0001bb10 addiu a3, a3, 0x37a0 | a3 += 0x37a0;
0x0001bb14 addiu a2, zero, -1 | a2 = -1;
0x0001bb18 addiu a1, zero, 1 | a1 = 1;
0x0001bb1c move a0, s6 | a0 = s6;
0x0001bb20 sw s4, 0x10(sp) | *(var_10h) = s4;
0x0001bb24 jalr t9 | t9 ();
0x0001bb28 lw gp, 0x18(fp) | gp = *(var_18h_2);
0x0001bb2c addiu a3, zero, 1 | a3 = 1;
0x0001bb30 addiu a2, zero, 1 | a2 = 1;
0x0001bb34 lw t9, -0x7840(gp) | t9 = sym.imp.snd_pcm_open;
0x0001bb38 move a1, s6 | a1 = s6;
0x0001bb3c addiu a0, fp, 0x20 | a0 = fp + 0x20;
0x0001bb40 jalr t9 | t9 ();
0x0001bb44 move s1, v0 | s1 = v0;
0x0001bb48 lw gp, 0x18(fp) | gp = *(var_18h_2);
| if (v0 < 0) {
0x0001bb4c bltz v0, 0x1bbdc | goto label_5;
| }
0x0001bb50 lw t9, -0x7814(gp) | t9 = sym.imp.snd_pcm_hw_params_sizeof;
0x0001bb54 jalr t9 | t9 ();
0x0001bb58 nop |
0x0001bb5c lw gp, 0x18(fp) | gp = *(var_18h_2);
0x0001bb60 addiu v0, v0, 7 | v0 += 7;
0x0001bb64 srl v0, v0, 3 | v0 >>= 3;
0x0001bb68 sll v0, v0, 3 | v0 <<= 3;
0x0001bb6c lw t9, -0x7814(gp) | t9 = sym.imp.snd_pcm_hw_params_sizeof;
0x0001bb70 subu sp, sp, v0 |
0x0001bb74 jalr t9 | t9 ();
0x0001bb78 lw gp, 0x18(fp) | gp = *(var_18h_2);
0x0001bb7c addiu s1, sp, 0x18 | s1 = sp + 0x18;
0x0001bb80 move a2, v0 | a2 = v0;
0x0001bb84 lw t9, -0x77dc(gp) | t9 = sym.imp.memset;
0x0001bb88 move a1, zero | a1 = 0;
0x0001bb8c move a0, s1 | a0 = s1;
0x0001bb90 jalr t9 | t9 ();
0x0001bb94 lw gp, 0x18(fp) | gp = *(var_18h_2);
0x0001bb98 lw a0, 0x20(fp) | a0 = *(arg_20h);
0x0001bb9c lw t9, -0x772c(gp) | t9 = sym.imp.snd_pcm_hw_params_any;
0x0001bba0 move a1, s1 | a1 = s1;
0x0001bba4 jalr t9 | t9 ();
0x0001bba8 lw gp, 0x18(fp) | gp = *(var_18h_2);
| if (v0 < 0) {
0x0001bbac bltz v0, 0x1bd0c | goto label_6;
| }
| label_3:
0x0001bbb0 lw t9, -0x7808(gp) | t9 = sym.imp.snd_pcm_hw_params;
0x0001bbb4 lw a0, 0x20(fp) | a0 = *(arg_20h);
0x0001bbb8 move a1, s1 | a1 = s1;
0x0001bbbc jalr t9 | t9 ();
0x0001bbc0 move s1, v0 | s1 = v0;
0x0001bbc4 lw gp, 0x18(fp) | gp = *(var_18h_2);
| if (v0 < 0) {
0x0001bbc8 bltz v0, 0x1bcd8 | goto label_7;
| }
| label_2:
0x0001bbcc lw t9, -0x7744(gp) | t9 = sym.imp.snd_pcm_close;
0x0001bbd0 lw a0, 0x20(fp) | a0 = *(arg_20h);
0x0001bbd4 jalr t9 | t9 ();
0x0001bbd8 lw gp, 0x18(fp) | gp = *(var_18h_2);
| do {
| label_5:
0x0001bbdc lw t9, -0x7d2c(gp) | t9 = sym.mixer_utils_set_volume_control_raw;
0x0001bbe0 addiu v0, zero, 0xff | v0 = 0xff;
0x0001bbe4 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0001bbe8 addiu a3, zero, 1 | a3 = 1;
0x0001bbec addiu a2, zero, 3 | a2 = 3;
| /* str.Digital */
0x0001bbf0 addiu a1, s5, 0x3798 | a1 = s5 + 0x3798;
0x0001bbf4 move a0, s0 | a0 = s0;
0x0001bbf8 bal 0x2c0b4 | sym_mixer_utils_set_volume_control_raw ();
0x0001bbfc lw gp, 0x18(fp) | gp = *(var_18h_2);
| if (v0 < 0) {
0x0001bc00 bltz v0, 0x1bcb8 | goto label_8;
| }
| label_1:
0x0001bc04 addiu v0, zero, 1 | v0 = 1;
0x0001bc08 lw t9, -0x7c60(gp) | t9 = sym.mixer_utils_set_switch_lr_dB;
0x0001bc0c sw v0, 0x14(sp) | *(var_14h) = v0;
0x0001bc10 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0001bc14 move a3, zero | a3 = 0;
0x0001bc18 move a2, zero | a2 = 0;
| /* str.Headphone */
0x0001bc1c addiu a1, s3, 0x376c | a1 = s3 + 0x376c;
0x0001bc20 move a0, s0 | a0 = s0;
0x0001bc24 bal 0x2c7c0 | sym_mixer_utils_set_switch_lr_dB ();
0x0001bc28 lw gp, 0x18(fp) | gp = *(var_18h_2);
| if (v0 < 0) {
0x0001bc2c bltz v0, 0x1bc98 | goto label_9;
| }
| label_0:
0x0001bc30 lw a0, 0x24(fp) | a0 = *(arg_24h);
0x0001bc34 lw v1, (s2) | v1 = *(s2);
0x0001bc38 move v0, s1 | v0 = s1;
| if (a0 != v1) {
0x0001bc3c bne a0, v1, 0x1bd40 | goto label_10;
| }
0x0001bc40 move sp, fp |
0x0001bc44 lw ra, 0x4c(sp) | ra = *(var_4ch);
0x0001bc48 lw fp, 0x48(sp) | fp = *(var_48h);
0x0001bc4c lw s6, 0x44(sp) | s6 = *(var_44h_2);
0x0001bc50 lw s5, 0x40(sp) | s5 = *(var_40h);
0x0001bc54 lw s4, 0x3c(sp) | s4 = *(var_3ch);
0x0001bc58 lw s3, 0x38(sp) | s3 = *(var_38h);
0x0001bc5c lw s2, 0x34(sp) | s2 = *(var_34h);
0x0001bc60 lw s1, 0x30(sp) | s1 = *(var_30h);
0x0001bc64 lw s0, 0x2c(sp) | s0 = *(var_2ch);
0x0001bc68 addiu sp, sp, 0x50 |
0x0001bc6c jr ra | return v0;
| label_4:
0x0001bc70 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0001bc74 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| /* str.Could_not_mute_Headphone_output */
0x0001bc78 addiu a2, a2, 0x3778 | a2 += 0x3778;
0x0001bc7c addiu a1, zero, 1 | a1 = 1;
0x0001bc80 addiu a0, zero, 3 | a0 = 3;
0x0001bc84 jalr t9 | t9 ();
0x0001bc88 lw gp, 0x18(fp) | gp = *(var_18h_2);
0x0001bc8c move s1, zero | s1 = 0;
0x0001bc90 lw s5, -0x7fdc(gp) | s5 = *(gp);
0x0001bc94 b 0x1bbdc |
| } while (1);
| label_9:
0x0001bc98 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0001bc9c lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| /* str.Could_not_unmute_Headphone_output */
0x0001bca0 addiu a2, a2, 0x3800 | a2 += 0x3800;
0x0001bca4 addiu a1, zero, 1 | a1 = 1;
0x0001bca8 addiu a0, zero, 3 | a0 = 3;
0x0001bcac jalr t9 | t9 ();
0x0001bcb0 lw gp, 0x18(fp) | gp = *(var_18h_2);
0x0001bcb4 b 0x1bc30 | goto label_0;
| label_8:
0x0001bcb8 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0001bcbc lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| /* str.Could_not_enable_Digital_output */
0x0001bcc0 addiu a2, a2, 0x37e0 | a2 += 0x37e0;
0x0001bcc4 addiu a1, zero, 1 | a1 = 1;
0x0001bcc8 addiu a0, zero, 3 | a0 = 3;
0x0001bccc jalr t9 | t9 ();
0x0001bcd0 lw gp, 0x18(fp) | gp = *(var_18h_2);
0x0001bcd4 b 0x1bc04 | goto label_1;
| label_7:
0x0001bcd8 lw t9, -0x7900(gp) | t9 = sym.imp.snd_strerror;
0x0001bcdc move a0, v0 | a0 = v0;
0x0001bce0 jalr t9 | t9 ();
0x0001bce4 lw gp, 0x18(fp) | gp = *(var_18h_2);
0x0001bce8 move a3, v0 | a3 = v0;
0x0001bcec addiu a1, zero, 1 | a1 = 1;
0x0001bcf0 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0001bcf4 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| /* str.Unable_to_set_hw_params:__s */
0x0001bcf8 addiu a2, a2, 0x37c4 | a2 += 0x37c4;
0x0001bcfc addiu a0, zero, 3 | a0 = 3;
0x0001bd00 jalr t9 | t9 ();
0x0001bd04 lw gp, 0x18(fp) | gp = *(var_18h_2);
0x0001bd08 b 0x1bbcc | goto label_2;
| label_6:
0x0001bd0c lw t9, -0x7900(gp) | t9 = sym.imp.snd_strerror;
0x0001bd10 move a0, v0 | a0 = v0;
0x0001bd14 jalr t9 | t9 ();
0x0001bd18 lw gp, 0x18(fp) | gp = *(var_18h_2);
0x0001bd1c move a3, v0 | a3 = v0;
0x0001bd20 addiu a1, zero, 1 | a1 = 1;
0x0001bd24 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0001bd28 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| /* str.Unable_to_set_hw_config:__s */
0x0001bd2c addiu a2, a2, 0x37a8 | a2 += 0x37a8;
0x0001bd30 addiu a0, zero, 3 | a0 = 3;
0x0001bd34 jalr t9 | t9 ();
0x0001bd38 lw gp, 0x18(fp) | gp = *(var_18h_2);
0x0001bd3c b 0x1bbb0 | goto label_3;
| label_10:
0x0001bd40 lw t9, -0x79a8(gp) | t9 = sym.imp.__stack_chk_fail;
0x0001bd44 jalr t9 | t9 ();
0x0001bd48 nop |
0x0001bd4c lui gp, 5 |
0x0001bd50 addiu gp, gp, -0x7c6c |
0x0001bd54 addu gp, gp, t9 | gp += t9;
0x0001bd58 addiu sp, sp, -0x20 |
0x0001bd5c lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0001bd60 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| /* str.mixer_utils_open_control_returned_invalid_handle */
0x0001bd64 addiu a2, a2, 0x2650 | a2 += 0x2650;
0x0001bd68 sw ra, 0x1c(sp) | *(var_1ch) = ra;
0x0001bd6c sw gp, 0x10(sp) | *(var_10h_2) = gp;
0x0001bd70 addiu a1, zero, 1 | a1 = 1;
0x0001bd74 addiu a0, zero, 3 | a0 = 3;
0x0001bd78 jalr t9 | t9 ();
0x0001bd7c lw ra, 0x1c(sp) | ra = *(var_1ch);
0x0001bd80 move v0, zero | v0 = 0;
0x0001bd84 addiu sp, sp, 0x20 |
0x0001bd88 jr ra | return v0;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/audiocontrol @ 0x26b20 */
| #include <stdint.h>
|
; (fcn) sym.audiocontrol_conf_write () | void audiocontrol_conf_write () {
0x00026b20 lui gp, 4 |
0x00026b24 addiu gp, gp, -0x2a40 |
0x00026b28 addu gp, gp, t9 | gp += t9;
0x00026b2c addiu sp, sp, -0x138 |
0x00026b30 sw s7, 0x12c(sp) | *(var_12ch) = s7;
0x00026b34 lw s7, -0x7934(gp) | s7 = *((gp - 7757));
0x00026b38 sw gp, 0x38(sp) | *(var_38h) = gp;
0x00026b3c sw ra, 0x134(sp) | *(var_134h) = ra;
0x00026b40 lw v0, (s7) | v0 = *(s7);
0x00026b44 sw fp, 0x130(sp) | *(var_130h) = fp;
0x00026b48 sw s6, 0x128(sp) | *(var_128h) = s6;
0x00026b4c sw s5, 0x124(sp) | *(var_124h) = s5;
0x00026b50 sw s4, 0x120(sp) | *(var_120h) = s4;
0x00026b54 sw s3, 0x11c(sp) | *(var_11ch) = s3;
0x00026b58 sw s2, 0x118(sp) | *(var_118h) = s2;
0x00026b5c sw s1, 0x114(sp) | *(var_114h) = s1;
0x00026b60 sw s0, 0x110(sp) | *(var_110h) = s0;
0x00026b64 sw zero, 0x6c(sp) | *(var_6ch) = 0;
0x00026b68 sw v0, 0x10c(sp) | *(var_10ch) = v0;
0x00026b6c sw zero, 0x70(sp) | *(var_70h) = 0;
0x00026b70 sw zero, 0x74(sp) | *(var_74h) = 0;
| if (a0 == 0) {
0x00026b74 beqz a0, 0x278f0 | goto label_21;
| }
0x00026b78 move s5, a1 | s5 = a1;
| if (a1 == 0) {
0x00026b7c beqz a1, 0x27920 | goto label_22;
| }
0x00026b80 lw v0, (a1) | v0 = *(a1);
0x00026b84 lw s3, (v0) | s3 = *(v0);
0x00026b88 lw s4, 4(v0) | s4 = *((v0 + 1));
0x00026b8c or v1, s3, s4 | v1 = s3 | s4;
0x00026b90 lw t9, -0x7838(gp) | t9 = sym.imp.std2parser_opencfg;
| if (v1 == 0) {
0x00026b94 beqz v1, 0x26f14 | goto label_23;
| }
0x00026b98 lw v1, 8(v0) | v1 = *((v0 + 2));
0x00026b9c sw v1, 0x64(sp) | *(var_64h) = v1;
0x00026ba0 lbu v1, 0x14(v0) | v1 = *((v0 + 20));
0x00026ba4 move fp, a0 | fp = a0;
0x00026ba8 sw v1, 0x4c(sp) | *(var_4ch) = v1;
0x00026bac lbu v1, 0x15(v0) | v1 = *((v0 + 21));
0x00026bb0 sw v1, 0x54(sp) | *(var_54h) = v1;
0x00026bb4 lbu v1, 0x16(v0) | v1 = *((v0 + 22));
0x00026bb8 sw v1, 0x58(sp) | *(var_58h) = v1;
0x00026bbc lbu v1, 0x17(v0) | v1 = *((v0 + 23));
0x00026bc0 lw v0, 0xc(v0) | v0 = *((v0 + 3));
0x00026bc4 sw v1, 0x5c(sp) | *(var_5ch) = v1;
0x00026bc8 sw v0, 0x60(sp) | *(var_60h) = v0;
0x00026bcc jalr t9 | t9 ();
0x00026bd0 lw gp, 0x38(sp) | gp = *(var_38h);
| if (v0 == 0) {
0x00026bd4 beqz v0, 0x26fa4 | goto label_24;
| }
0x00026bd8 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00026bdc lw s2, -0x7fdc(gp) | s2 = *(gp);
0x00026be0 sw v0, 0x44(sp) | *(var_44h) = v0;
0x00026be4 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00026be8 lw s6, -0x7fdc(gp) | s6 = *(gp);
| /* str.mic_digital_codec */
0x00026bec addiu v0, v0, 0x6568 | v0 += 0x6568;
0x00026bf0 sw v0, 0x48(sp) | *(var_48h) = v0;
0x00026bf4 lw v0, -0x7fdc(gp) | v0 = *(gp);
| /* str.info */
0x00026bf8 addiu s2, s2, -0xd04 | s2 += -0xd04;
| /* str.num_inputs */
0x00026bfc addiu s6, s6, -0xc38 | s6 += -aav.0x00000c38;
0x00026c00 sw v0, 0x50(sp) | *(var_50h) = v0;
| do {
| label_1:
0x00026c04 lw t9, -0x7720(gp) | t9 = sym.imp.std2parser_getcfg;
| label_0:
0x00026c08 jalr t9 | t9 ();
0x00026c0c nop |
0x00026c10 move s0, v0 | s0 = v0;
0x00026c14 lw gp, 0x38(sp) | gp = *(var_38h);
| if (v0 == 0) {
0x00026c18 beqz v0, 0x26e94 | goto label_25;
| }
0x00026c1c lw t9, -0x7a7c(gp) | t9 = sym.imp.strcmp;
0x00026c20 lw a0, (s0) | a0 = *(s0);
0x00026c24 move a1, s2 | a1 = s2;
0x00026c28 jalr t9 | t9 ();
0x00026c2c lw gp, 0x38(sp) | gp = *(var_38h);
0x00026c30 bnez v0, 0x26c04 |
| } while (v0 != 0);
0x00026c34 lw s1, 4(s0) | s1 = *((s0 + 1));
0x00026c38 lw t9, -0x7a7c(gp) | t9 = sym.imp.strcmp;
0x00026c3c move a1, s6 | a1 = s6;
0x00026c40 move a0, s1 | a0 = s1;
0x00026c44 jalr t9 | t9 ();
0x00026c48 lw gp, 0x38(sp) | gp = *(var_38h);
| if (v0 != 0) {
0x00026c4c bnez v0, 0x26cbc | goto label_26;
| }
0x00026c50 lw a0, 8(s0) | a0 = *((s0 + 2));
0x00026c54 lw t9, -0x7848(gp) | t9 = sym.imp.strtol;
| if (a0 == 0) {
0x00026c58 beqz a0, 0x26cd8 | goto label_2;
| }
0x00026c5c addiu a2, zero, 0xa | a2 = 0xa;
0x00026c60 addiu a1, sp, 0x74 | a1 = sp + 0x74;
0x00026c64 jalr t9 | t9 ();
0x00026c68 lw v1, 0x74(sp) | v1 = *(var_74h);
0x00026c6c lw a0, 8(s0) | a0 = *((s0 + 2));
0x00026c70 lw gp, 0x38(sp) | gp = *(var_38h);
0x00026c74 move s3, v0 | s3 = v0;
| if (a0 == v1) {
0x00026c78 beq a0, v1, 0x26c94 | goto label_27;
| }
0x00026c7c lb v0, (v1) | v0 = *(v1);
0x00026c80 lw a2, -0x7fdc(gp) | a2 = *(gp);
| if (v0 != 0) {
0x00026c84 bnez v0, 0x26c98 | goto label_28;
| }
0x00026c88 sltiu v0, s3, 3 | v0 = (s3 < 3) ? 1 : 0;
0x00026c8c lw t9, -0x7720(gp) | t9 = sym.imp.std2parser_getcfg;
| if (v0 != 0) {
0x00026c90 bnez v0, 0x26c08 | goto label_0;
| }
| label_27:
0x00026c94 lw a2, -0x7fdc(gp) | a2 = *(gp);
| label_28:
0x00026c98 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
0x00026c9c addiu a0, zero, 4 | a0 = 4;
0x00026ca0 move a3, fp | a3 = fp;
| /* str.Bad_n_inputs_value_in__s */
0x00026ca4 addiu a2, a2, 0x6644 | a2 += 0x6644;
0x00026ca8 addiu a1, zero, 1 | a1 = 1;
0x00026cac jalr t9 | t9 ();
0x00026cb0 lw gp, 0x38(sp) | gp = *(var_38h);
0x00026cb4 lw a0, 0x6c(sp) | a0 = *(var_6ch);
0x00026cb8 b 0x26e60 | goto label_16;
| label_26:
0x00026cbc lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00026cc0 lw t9, -0x7a7c(gp) | t9 = sym.imp.strcmp;
| /* str.num_outputs */
0x00026cc4 addiu a1, a1, -0xc0c | a1 += -0xc0c;
0x00026cc8 move a0, s1 | a0 = s1;
0x00026ccc jalr t9 | t9 ();
0x00026cd0 lw gp, 0x38(sp) | gp = *(var_38h);
| if (v0 == 0) {
0x00026cd4 beqz v0, 0x26da0 | goto label_29;
| }
| label_2:
0x00026cd8 lw v0, 0x44(sp) | v0 = *(var_44h);
0x00026cdc lw t9, -0x7a7c(gp) | t9 = sym.imp.strcmp;
0x00026ce0 addiu a1, v0, 0x655c | a1 = v0 + 0x655c;
0x00026ce4 move a0, s1 | a0 = s1;
0x00026ce8 jalr t9 | t9 ();
0x00026cec lw gp, 0x38(sp) | gp = *(var_38h);
| if (v0 == 0) {
0x00026cf0 beqz v0, 0x26e0c | goto label_30;
| }
0x00026cf4 lw t9, -0x7a7c(gp) | t9 = sym.imp.strcmp;
0x00026cf8 lw a1, 0x48(sp) | a1 = *(var_48h);
0x00026cfc move a0, s1 | a0 = s1;
0x00026d00 jalr t9 | t9 ();
0x00026d04 lw gp, 0x38(sp) | gp = *(var_38h);
| if (v0 == 0) {
0x00026d08 beqz v0, 0x26fcc | goto label_31;
| }
0x00026d0c lw v0, 0x50(sp) | v0 = *(var_50h);
0x00026d10 lw t9, -0x7a7c(gp) | t9 = sym.imp.strcmp;
0x00026d14 addiu a1, v0, 0x657c | a1 = v0 + 0x657c;
0x00026d18 move a0, s1 | a0 = s1;
0x00026d1c jalr t9 | t9 ();
0x00026d20 lw gp, 0x38(sp) | gp = *(var_38h);
| if (v0 == 0) {
0x00026d24 beqz v0, 0x27008 | goto label_32;
| }
0x00026d28 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00026d2c lw t9, -0x7a7c(gp) | t9 = sym.imp.strcmp;
| /* str.mic_digital_audio_in */
0x00026d30 addiu a1, a1, 0x658c | a1 += 0x658c;
0x00026d34 move a0, s1 | a0 = s1;
0x00026d38 jalr t9 | t9 ();
0x00026d3c lw gp, 0x38(sp) | gp = *(var_38h);
| if (v0 == 0) {
0x00026d40 beqz v0, 0x26f60 | goto label_33;
| }
0x00026d44 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00026d48 lw t9, -0x7a7c(gp) | t9 = sym.imp.strcmp;
| /* str.rate */
0x00026d4c addiu a1, a1, -0xc90 | a1 += -0xc90;
0x00026d50 move a0, s1 | a0 = s1;
0x00026d54 jalr t9 | t9 ();
0x00026d58 lw gp, 0x38(sp) | gp = *(var_38h);
| if (v0 != 0) {
0x00026d5c bnez v0, 0x26c04 | goto label_1;
| }
0x00026d60 lw t9, -0x7848(gp) | t9 = sym.imp.strtol;
0x00026d64 lw a0, 8(s0) | a0 = *((s0 + 2));
0x00026d68 addiu a2, zero, 0xa | a2 = 0xa;
0x00026d6c addiu a1, sp, 0x74 | a1 = sp + 0x74;
0x00026d70 jalr t9 | t9 ();
0x00026d74 lw a3, 8(s0) | a3 = *((s0 + 2));
0x00026d78 lw v1, 0x74(sp) | v1 = *(var_74h);
0x00026d7c lw gp, 0x38(sp) | gp = *(var_38h);
| if (a3 == v1) {
0x00026d80 beq a3, v1, 0x27578 | goto label_34;
| }
0x00026d84 lb v1, (v1) | v1 = *(v1);
0x00026d88 lw a2, -0x7fdc(gp) | a2 = *(gp);
| if (v1 != 0) {
0x00026d8c bnez v1, 0x2757c | goto label_35;
| }
0x00026d90 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| if (v0 < 0) {
0x00026d94 bltz v0, 0x27580 | goto label_36;
| }
0x00026d98 sw v0, 0x60(sp) | *(var_60h) = v0;
0x00026d9c b 0x26c04 | goto label_1;
| label_29:
0x00026da0 lw a0, 8(s0) | a0 = *((s0 + 2));
0x00026da4 lw t9, -0x7848(gp) | t9 = sym.imp.strtol;
| if (a0 == 0) {
0x00026da8 beqz a0, 0x26cd8 | goto label_2;
| }
0x00026dac addiu a2, zero, 0xa | a2 = 0xa;
0x00026db0 addiu a1, sp, 0x74 | a1 = sp + 0x74;
0x00026db4 jalr t9 | t9 ();
0x00026db8 lw v1, 0x74(sp) | v1 = *(var_74h);
0x00026dbc lw a0, 8(s0) | a0 = *((s0 + 2));
0x00026dc0 lw gp, 0x38(sp) | gp = *(var_38h);
0x00026dc4 move s4, v0 | s4 = v0;
| if (a0 == v1) {
0x00026dc8 beq a0, v1, 0x26de4 | goto label_37;
| }
0x00026dcc lb v0, (v1) | v0 = *(v1);
0x00026dd0 lw a2, -0x7fdc(gp) | a2 = *(gp);
| if (v0 != 0) {
0x00026dd4 bnez v0, 0x26de8 | goto label_38;
| }
0x00026dd8 sltiu v0, s4, 4 | v0 = (s4 < 4) ? 1 : 0;
0x00026ddc lw t9, -0x7720(gp) | t9 = sym.imp.std2parser_getcfg;
| if (v0 != 0) {
0x00026de0 bnez v0, 0x26c08 | goto label_0;
| }
| label_37:
0x00026de4 lw a2, -0x7fdc(gp) | a2 = *(gp);
| label_38:
0x00026de8 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
0x00026dec addiu a0, zero, 3 | a0 = 3;
0x00026df0 move a3, fp | a3 = fp;
| /* str.Bad_n_outputs_value_in__s */
0x00026df4 addiu a2, a2, 0x6660 | a2 += 0x6660;
0x00026df8 addiu a1, zero, 1 | a1 = 1;
0x00026dfc jalr t9 | t9 ();
0x00026e00 lw gp, 0x38(sp) | gp = *(var_38h);
0x00026e04 lw a0, 0x6c(sp) | a0 = *(var_6ch);
0x00026e08 b 0x26e60 | goto label_16;
| label_30:
0x00026e0c lw t9, -0x7848(gp) | t9 = sym.imp.strtol;
0x00026e10 lw a0, 8(s0) | a0 = *((s0 + 2));
0x00026e14 addiu a2, zero, 0xa | a2 = 0xa;
0x00026e18 addiu a1, sp, 0x74 | a1 = sp + 0x74;
0x00026e1c jalr t9 | t9 ();
0x00026e20 lw a3, 8(s0) | a3 = *((s0 + 2));
0x00026e24 lw v1, 0x74(sp) | v1 = *(var_74h);
0x00026e28 lw gp, 0x38(sp) | gp = *(var_38h);
| if (a3 != v1) {
0x00026e2c beq a3, v1, 0x26e3c |
0x00026e30 lb v1, (v1) | v1 = *(v1);
| if (v1 == 0) {
0x00026e34 beql v1, zero, 0x26f58 | goto label_39;
| }
0x00026e38 sltu v0, zero, v0 | v0 = (0 < v0) ? 1 : 0;
| }
0x00026e3c lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00026e40 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
0x00026e44 sw fp, 0x10(sp) | *(var_10h) = fp;
| /* str.Found_bad_mic_analog__s_in__s */
0x00026e48 addiu a2, a2, 0x667c | a2 += 0x667c;
| do {
| label_4:
0x00026e4c addiu a1, zero, 1 | a1 = 1;
0x00026e50 addiu a0, zero, 3 | a0 = 3;
0x00026e54 jalr t9 | t9 ();
0x00026e58 lw gp, 0x38(sp) | gp = *(var_38h);
| label_5:
0x00026e5c lw a0, 0x6c(sp) | a0 = *(var_6ch);
| label_16:
0x00026e60 lw t9, -0x785c(gp) | t9 = sym.imp.free;
0x00026e64 move s0, zero | s0 = 0;
0x00026e68 jalr t9 | t9 ();
0x00026e6c lw gp, 0x38(sp) | gp = *(var_38h);
0x00026e70 lw t9, -0x785c(gp) | t9 = sym.imp.free;
0x00026e74 lw a0, 0x70(sp) | a0 = *(var_70h);
0x00026e78 jalr t9 | t9 ();
0x00026e7c lw gp, 0x38(sp) | gp = *(var_38h);
0x00026e80 lw t9, -0x7924(gp) | t9 = sym.imp.std2parser_closecfg;
0x00026e84 jalr t9 | t9 ();
0x00026e88 nop |
0x00026e8c lw gp, 0x38(sp) | gp = *(var_38h);
0x00026e90 b 0x26f18 | goto label_3;
| label_25:
0x00026e94 lw t9, -0x7924(gp) | t9 = sym.imp.std2parser_closecfg;
0x00026e98 jalr t9 | t9 ();
0x00026e9c nop |
0x00026ea0 lw v0, (s5) | v0 = *(s5);
0x00026ea4 lw gp, 0x38(sp) | gp = *(var_38h);
0x00026ea8 move a3, s3 | a3 = s3;
0x00026eac lbu v1, 0x22(v0) | v1 = *((v0 + 34));
0x00026eb0 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00026eb4 sw v1, 0x30(sp) | *(var_30h) = v1;
0x00026eb8 lbu v0, 0x21(v0) | v0 = *((v0 + 33));
0x00026ebc lw t9, -0x7878(gp) | t9 = sym.imp.__asprintf_chk
0x00026ec0 sw v0, 0x2c(sp) | *(var_2ch) = v0;
0x00026ec4 lw v0, 0x5c(sp) | v0 = *(var_5ch);
| /* str._info__nnum_inputs___lu_nnum_outputs___lu_nnum_channels___lu_nrate___d_nmic_analog___d_nmic_digital_codec___d_nmic_digital_i2s___d_nmic_digital_audio_in___d_ndigital_input___d_nring_power___d_n */
0x00026ec8 addiu a2, a2, 0x673c | a2 += 0x673c;
0x00026ecc sw v0, 0x28(sp) | *(var_28h) = v0;
0x00026ed0 lw v0, 0x58(sp) | v0 = *(var_58h);
0x00026ed4 sw s4, 0x10(sp) | *(var_10h) = s4;
0x00026ed8 sw v0, 0x24(sp) | *(var_24h) = v0;
0x00026edc lw v0, 0x54(sp) | v0 = *(var_54h);
0x00026ee0 addiu a1, zero, 1 | a1 = 1;
0x00026ee4 sw v0, 0x20(sp) | *(var_20h) = v0;
0x00026ee8 lw v0, 0x4c(sp) | v0 = *(var_4ch);
0x00026eec addiu a0, sp, 0x6c | a0 = sp + 0x6c;
0x00026ef0 sw v0, 0x1c(sp) | *(var_1ch) = v0;
0x00026ef4 lw v0, 0x60(sp) | v0 = *(var_60h);
0x00026ef8 sw v0, 0x18(sp) | *(var_18h) = v0;
0x00026efc lw v0, 0x64(sp) | v0 = *(var_64h);
0x00026f00 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00026f04 jalr t9 | t9 ();
0x00026f08 move s0, v0 | s0 = v0;
0x00026f0c lw gp, 0x38(sp) | gp = *(var_38h);
| if (v0 >= 0) {
0x00026f10 bgez v0, 0x27068 | goto label_40;
| }
| label_23:
0x00026f14 move s0, zero | s0 = 0;
| label_3:
0x00026f18 lw a0, 0x10c(sp) | a0 = *(var_10ch);
0x00026f1c lw v1, (s7) | v1 = *(s7);
0x00026f20 move v0, s0 | v0 = s0;
| if (a0 != v1) {
0x00026f24 bne a0, v1, 0x27914 | goto label_41;
| }
0x00026f28 lw ra, 0x134(sp) | ra = *(var_134h);
0x00026f2c lw fp, 0x130(sp) | fp = *(var_130h);
0x00026f30 lw s7, 0x12c(sp) | s7 = *(var_12ch);
0x00026f34 lw s6, 0x128(sp) | s6 = *(var_128h);
0x00026f38 lw s5, 0x124(sp) | s5 = *(var_124h);
0x00026f3c lw s4, 0x120(sp) | s4 = *(var_120h);
0x00026f40 lw s3, 0x11c(sp) | s3 = *(var_11ch);
0x00026f44 lw s2, 0x118(sp) | s2 = *(var_118h);
0x00026f48 lw s1, 0x114(sp) | s1 = *(var_114h);
0x00026f4c lw s0, 0x110(sp) | s0 = *(var_110h);
0x00026f50 addiu sp, sp, 0x138 |
0x00026f54 jr ra | return v0;
| label_39:
0x00026f58 sw v0, 0x4c(sp) | *(var_4ch) = v0;
0x00026f5c b 0x26c04 | goto label_1;
| label_33:
0x00026f60 lw t9, -0x7848(gp) | t9 = sym.imp.strtol;
0x00026f64 lw a0, 8(s0) | a0 = *((s0 + 2));
0x00026f68 addiu a2, zero, 0xa | a2 = 0xa;
0x00026f6c addiu a1, sp, 0x74 | a1 = sp + 0x74;
0x00026f70 jalr t9 | t9 ();
0x00026f74 lw a3, 8(s0) | a3 = *((s0 + 2));
0x00026f78 lw v1, 0x74(sp) | v1 = *(var_74h);
0x00026f7c lw gp, 0x38(sp) | gp = *(var_38h);
| if (a3 != v1) {
0x00026f80 beq a3, v1, 0x26f90 |
0x00026f84 lb v1, (v1) | v1 = *(v1);
| if (v1 == 0) {
0x00026f88 beql v1, zero, 0x274c4 | goto label_42;
| }
0x00026f8c sltu v0, zero, v0 | v0 = (0 < v0) ? 1 : 0;
| }
0x00026f90 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00026f94 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
0x00026f98 sw fp, 0x10(sp) | *(var_10h) = fp;
| /* str.Found_bad_mic_digital_audio_in__s_in__s */
0x00026f9c addiu a2, a2, 0x66f4 | a2 += 0x66f4;
0x00026fa0 b 0x26e4c |
| } while (1);
| label_24:
0x00026fa4 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00026fa8 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
0x00026fac move a3, fp | a3 = fp;
| /* str.Unable_to_open_configuration_file__s:__m */
0x00026fb0 addiu a2, a2, 0x6618 | a2 += 0x6618;
0x00026fb4 addiu a1, zero, 1 | a1 = 1;
0x00026fb8 addiu a0, zero, 3 | a0 = 3;
0x00026fbc jalr t9 | t9 ();
0x00026fc0 move s0, zero | s0 = 0;
0x00026fc4 lw gp, 0x38(sp) | gp = *(var_38h);
0x00026fc8 b 0x26f18 | goto label_3;
| label_31:
0x00026fcc lw t9, -0x7848(gp) | t9 = sym.imp.strtol;
0x00026fd0 lw a0, 8(s0) | a0 = *((s0 + 2));
0x00026fd4 addiu a2, zero, 0xa | a2 = 0xa;
0x00026fd8 addiu a1, sp, 0x74 | a1 = sp + 0x74;
0x00026fdc jalr t9 | t9 ();
0x00026fe0 lw a3, 8(s0) | a3 = *((s0 + 2));
0x00026fe4 lw v1, 0x74(sp) | v1 = *(var_74h);
0x00026fe8 lw gp, 0x38(sp) | gp = *(var_38h);
| if (a3 != v1) {
0x00026fec beq a3, v1, 0x2704c |
0x00026ff0 lb v1, (v1) | v1 = *(v1);
0x00026ff4 lw a2, -0x7fdc(gp) | a2 = *(gp);
| if (v1 != 0) {
0x00026ff8 bnez v1, 0x27050 | goto label_43;
| }
0x00026ffc sltu v0, zero, v0 | v0 = (0 < v0) ? 1 : 0;
0x00027000 sw v0, 0x54(sp) | *(var_54h) = v0;
0x00027004 b 0x26c04 | goto label_1;
| label_32:
0x00027008 lw t9, -0x7848(gp) | t9 = sym.imp.strtol;
0x0002700c lw a0, 8(s0) | a0 = *((s0 + 2));
0x00027010 addiu a2, zero, 0xa | a2 = 0xa;
0x00027014 addiu a1, sp, 0x74 | a1 = sp + 0x74;
0x00027018 jalr t9 | t9 ();
0x0002701c lw a3, 8(s0) | a3 = *((s0 + 2));
0x00027020 lw v1, 0x74(sp) | v1 = *(var_74h);
0x00027024 lw gp, 0x38(sp) | gp = *(var_38h);
| if (a3 != v1) {
0x00027028 beq a3, v1, 0x27038 |
0x0002702c lb v1, (v1) | v1 = *(v1);
| if (v1 == 0) {
0x00027030 beql v1, zero, 0x27060 | goto label_44;
| }
0x00027034 sltu v0, zero, v0 | v0 = (0 < v0) ? 1 : 0;
| }
0x00027038 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0002703c lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
0x00027040 sw fp, 0x10(sp) | *(var_10h) = fp;
| /* str.Found_bad_mic_digital_i2s__s_in__s */
0x00027044 addiu a2, a2, 0x66cc | a2 += 0x66cc;
0x00027048 b 0x26e4c | goto label_4;
| }
0x0002704c lw a2, -0x7fdc(gp) | a2 = *(gp);
| label_43:
0x00027050 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
0x00027054 sw fp, 0x10(sp) | *(var_10h) = fp;
| /* str.Found_bad_mic_digital_codec__s_in__s */
0x00027058 addiu a2, a2, 0x66a0 | a2 += 0x66a0;
0x0002705c b 0x26e4c | goto label_4;
| label_44:
0x00027060 sw v0, 0x58(sp) | *(var_58h) = v0;
0x00027064 b 0x26c04 | goto label_1;
| label_40:
0x00027068 lw v0, (s5) | v0 = *(s5);
0x0002706c lw v1, (v0) | v1 = *(v0);
0x00027070 move s4, zero | s4 = 0;
| if (v1 == 0) {
0x00027074 beqz v1, 0x276e4 | goto label_45;
| }
0x00027078 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x0002707c lw v1, -0x7fdc(gp) | v1 = *(gp);
0x00027080 sw v0, 0x60(sp) | *(var_60h) = v0;
0x00027084 lw v0, 0x6810(v0) | v0 = *(v0);
0x00027088 lw a0, -0x7fdc(gp) | a0 = *(gp);
0x0002708c sw v0, 0x64(sp) | *(var_64h) = v0;
0x00027090 lw v0, 0x6800(v1) | v0 = *((v1 + 6656));
0x00027094 sw v1, 0x54(sp) | *(var_54h) = v1;
0x00027098 sw v0, 0x5c(sp) | *(var_5ch) = v0;
0x0002709c lw v0, 0x6918(a0) | v0 = *((a0 + 6726));
0x000270a0 sw a0, 0x4c(sp) | *(var_4ch) = a0;
0x000270a4 sw v0, 0x50(sp) | *(var_50h) = v0;
0x000270a8 lw s3, 4(s5) | s3 = *((s5 + 1));
| label_15:
0x000270ac lw v0, (s3) | v0 = *(s3);
| if (s3 == 0) {
0x000270b0 bnel s3, zero, 0x270c8 | goto label_46;
| }
0x000270b4 b 0x279b4 | goto label_47;
0x000270b8 nop |
| do {
| if (s3 == 0) {
0x000270bc beqz s3, 0x279b4 | goto label_47;
| }
0x000270c0 nop |
0x000270c4 lw v0, (s3) | v0 = *(s3);
| label_46:
0x000270c8 lw s3, 0x40(s3) | s3 = *((s3 + 16));
0x000270cc bnel v0, s4, 0x270bc |
| } while (v0 == s4);
0x000270d0 lw v0, 4(s3) | v0 = *((s3 + 1));
0x000270d4 lbu a0, 8(v0) | a0 = *((v0 + 8));
0x000270d8 lw v1, 0x54(sp) | v1 = *(var_54h);
| if (a0 != 0) {
0x000270dc bnez a0, 0x275c0 | goto label_48;
| }
0x000270e0 lbu a0, 9(v0) | a0 = *((v0 + 9));
| if (a0 == 0) {
0x000270e4 beql a0, zero, 0x2758c | goto label_49;
| }
0x000270e8 lw v0, 4(v0) | v0 = *((v0 + 1));
0x000270ec lw v0, 0x60(sp) | v0 = *(var_60h);
0x000270f0 addiu s2, sp, 0x78 | s2 = sp + 0x78;
0x000270f4 addiu v0, v0, 0x6810 | v0 += aav.0x00006810;
0x000270f8 lw v1, 0x64(sp) | v1 = *(var_64h);
0x000270fc lw a0, 4(v0) | a0 = *((v0 + 1));
0x00027100 lw v0, 8(v0) | v0 = *((v0 + 2));
0x00027104 sw v1, 0x78(sp) | *(var_78h) = v1;
0x00027108 sw a0, 4(s2) | *((s2 + 1)) = a0;
0x0002710c sw v0, 8(s2) | *((s2 + 2)) = v0;
| label_10:
0x00027110 lw v0, 8(s3) | v0 = *((s3 + 2));
0x00027114 sltiu a0, v0, 4 | a0 = (v0 < 4) ? 1 : 0;
0x00027118 lw a2, -0x7fdc(gp) | a2 = *(gp);
| if (a0 == 0) {
0x0002711c beqz a0, 0x27528 | goto label_50;
| }
0x00027120 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00027124 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00027128 lw t9, -0x7a48(gp) | t9 = sym.imp.__snprintf_chk;
| /* str.type___d_n */
0x0002712c addiu v0, v0, 0x6828 | v0 += 0x6828;
0x00027130 addiu s1, sp, 0x8c | s1 = sp + 0x8c;
0x00027134 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00027138 addiu a3, zero, 0x14 | a3 = 0x14;
0x0002713c addiu a2, zero, 1 | a2 = 1;
0x00027140 addiu a1, zero, 0x14 | a1 = 0x14;
0x00027144 move a0, s1 | a0 = s1;
0x00027148 jalr t9 | t9 ();
0x0002714c lw gp, 0x38(sp) | gp = *(var_38h);
| label_8:
0x00027150 lbu v0, 0xc(s3) | v0 = *((s3 + 12));
0x00027154 lw t9, -0x7a48(gp) | t9 = sym.imp.__snprintf_chk;
0x00027158 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0002715c lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00027160 addiu a0, sp, 0xa0 | a0 = sp + 0xa0;
| /* str.power___d_n */
0x00027164 addiu v0, v0, 0x6860 | v0 += 0x6860;
0x00027168 sw a0, 0x44(sp) | *(var_44h) = a0;
0x0002716c sw v0, 0x10(sp) | *(var_10h) = v0;
0x00027170 addiu a3, zero, 0x15 | a3 = 0x15;
0x00027174 addiu a2, zero, 1 | a2 = 1;
0x00027178 addiu a1, zero, 0x15 | a1 = 0x15;
0x0002717c jalr t9 | t9 ();
0x00027180 lw v0, 0x10(s3) | v0 = *((s3 + 4));
0x00027184 sltiu a0, v0, 5 | a0 = (v0 < 5) ? 1 : 0;
0x00027188 lw gp, 0x38(sp) | gp = *(var_38h);
| if (a0 == 0) {
0x0002718c beqz a0, 0x2754c | goto label_51;
| }
0x00027190 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00027194 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00027198 lw t9, -0x7a48(gp) | t9 = sym.imp.__snprintf_chk;
0x0002719c addiu a0, sp, 0xd0 | a0 = sp + 0xd0;
| /* str.power_type___d_n */
0x000271a0 addiu v0, v0, 0x686c | v0 += 0x686c;
0x000271a4 sw a0, 0x58(sp) | *(var_58h) = a0;
0x000271a8 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000271ac addiu a3, zero, 0x1a | a3 = 0x1a;
0x000271b0 addiu a2, zero, 1 | a2 = 1;
0x000271b4 addiu a1, zero, 0x1a | a1 = 0x1a;
0x000271b8 jalr t9 | t9 ();
0x000271bc lw gp, 0x38(sp) | gp = *(var_38h);
| label_9:
0x000271c0 lbu v0, 0x14(s3) | v0 = *((s3 + 20));
0x000271c4 lw t9, -0x7a48(gp) | t9 = sym.imp.__snprintf_chk;
0x000271c8 sw v0, 0x14(sp) | *(var_14h) = v0;
0x000271cc lw v0, -0x7fdc(gp) | v0 = *(gp);
0x000271d0 addiu t0, sp, 0xb8 | t0 = sp + 0xb8;
| /* str.balanced___d_n */
0x000271d4 addiu v0, v0, 0x68b8 | v0 += 0x68b8;
0x000271d8 move a0, t0 | a0 = t0;
0x000271dc addiu a3, zero, 0x18 | a3 = 0x18;
0x000271e0 addiu a2, zero, 1 | a2 = 1;
0x000271e4 addiu a1, zero, 0x18 | a1 = 0x18;
0x000271e8 sw t0, 0x48(sp) | *(var_48h) = t0;
0x000271ec sw v0, 0x10(sp) | *(var_10h) = v0;
0x000271f0 jalr t9 | t9 ();
0x000271f4 lw gp, 0x38(sp) | gp = *(var_38h);
0x000271f8 lw v0, 0x58(sp) | v0 = *(var_58h);
0x000271fc lw t0, 0x48(sp) | t0 = *(var_48h);
0x00027200 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00027204 sw v0, 0x1c(sp) | *(var_1ch) = v0;
0x00027208 lw v0, 0x44(sp) | v0 = *(var_44h);
0x0002720c addiu s6, sp, 0x70 | s6 = sp + 0x70;
0x00027210 lw t9, -0x7878(gp) | t9 = sym.imp.__asprintf_chk
0x00027214 sw t0, 0x20(sp) | *(var_20h) = t0;
0x00027218 sw v0, 0x18(sp) | *(var_18h) = v0;
0x0002721c sw s1, 0x14(sp) | *(var_14h) = s1;
0x00027220 sw s2, 0x10(sp) | *(var_10h) = s2;
0x00027224 move a3, s4 | a3 = s4;
| /* str._n_input_u__n_s_s_s_s_s */
0x00027228 addiu a2, a2, 0x68c8 | a2 += 0x68c8;
0x0002722c addiu a1, zero, 1 | a1 = 1;
0x00027230 move a0, s6 | a0 = s6;
0x00027234 jalr t9 | t9 ();
0x00027238 lw gp, 0x38(sp) | gp = *(var_38h);
| if (v0 < 0) {
0x0002723c bltz v0, 0x26e5c | goto label_5;
| }
0x00027240 lw t9, -0x7778(gp) | t9 = sym.imp.realloc;
0x00027244 addu v0, v0, s0 | v0 += s0;
0x00027248 lw a0, 0x6c(sp) | a0 = *(var_6ch);
0x0002724c addiu a1, v0, 1 | a1 = v0 + 1;
0x00027250 jalr t9 | t9 ();
0x00027254 lw gp, 0x38(sp) | gp = *(var_38h);
| if (v0 == 0) {
0x00027258 beqz v0, 0x26e5c | goto label_5;
| }
0x0002725c lw t9, -0x7928(gp) | t9 = sym.imp.strcpy;
0x00027260 lw a1, 0x70(sp) | a1 = *(var_70h);
0x00027264 addu a0, v0, s0 | a0 = v0 + s0;
0x00027268 sw v0, 0x6c(sp) | *(var_6ch) = v0;
0x0002726c jalr t9 | t9 ();
0x00027270 lw gp, 0x38(sp) | gp = *(var_38h);
0x00027274 lw a0, 0x70(sp) | a0 = *(var_70h);
0x00027278 lw t9, -0x785c(gp) | t9 = sym.imp.free;
0x0002727c addiu s1, sp, 0xec | s1 = sp + 0xec;
0x00027280 jalr t9 | t9 ();
0x00027284 lw gp, 0x38(sp) | gp = *(var_38h);
0x00027288 sw s4, 0x10(sp) | *(var_10h) = s4;
0x0002728c addiu a2, zero, 0x20 | a2 = 0x20;
0x00027290 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00027294 lw t9, -0x7a3c(gp) | t9 = sym.imp.__sprintf_chk
| /* str._input_u.dsp_ */
0x00027298 addiu a3, a3, 0x68e0 | a3 += 0x68e0;
0x0002729c addiu a1, zero, 1 | a1 = 1;
0x000272a0 move a0, s1 | a0 = s1;
0x000272a4 sw zero, 0x70(sp) | *(var_70h) = 0;
0x000272a8 jalr t9 | t9 ();
0x000272ac lw v0, 0x20(s3) | v0 = *((s3 + 8));
0x000272b0 lw gp, 0x38(sp) | gp = *(var_38h);
| if (v0 == 0) {
0x000272b4 bnez v0, 0x272dc |
0x000272b8 lw v0, 0x24(s3) | v0 = *((s3 + 9));
0x000272bc lw v1, 0x6c(sp) | v1 = *(var_6ch);
| if (v0 != 0) {
0x000272c0 bnez v0, 0x272e0 | goto label_52;
| }
0x000272c4 lw v0, 0x28(s3) | v0 = *((s3 + 10));
0x000272c8 lw t9, -0x78d8(gp) | t9 = sym.imp.strlen;
| if (v0 != 0) {
0x000272cc bnez v0, 0x272e4 | goto label_53;
| }
0x000272d0 lw v0, 0x2c(s3) | v0 = *((s3 + 11));
| if (v0 == 0) {
0x000272d4 beqz v0, 0x27384 | goto label_54;
| }
0x000272d8 nop |
| }
0x000272dc lw v1, 0x6c(sp) | v1 = *(var_6ch);
| label_52:
0x000272e0 lw t9, -0x78d8(gp) | t9 = sym.imp.strlen;
| label_53:
0x000272e4 move a0, v1 | a0 = v1;
0x000272e8 sw v1, 0x44(sp) | *(var_44h) = v1;
0x000272ec jalr t9 | t9 ();
0x000272f0 lw gp, 0x38(sp) | gp = *(var_38h);
0x000272f4 move a0, s1 | a0 = s1;
0x000272f8 lw t9, -0x78d8(gp) | t9 = sym.imp.strlen;
0x000272fc move s0, v0 | s0 = v0;
0x00027300 jalr t9 | t9 ();
0x00027304 lw gp, 0x38(sp) | gp = *(var_38h);
0x00027308 lw v1, 0x44(sp) | v1 = *(var_44h);
0x0002730c addu v0, s0, v0 | v0 = s0 + v0;
0x00027310 lw t9, -0x7778(gp) | t9 = sym.imp.realloc;
0x00027314 move a0, v1 | a0 = v1;
0x00027318 addiu a1, v0, 0x83 | a1 = v0 + 0x83;
0x0002731c jalr t9 | t9 ();
0x00027320 lw gp, 0x38(sp) | gp = *(var_38h);
0x00027324 addu s0, v0, s0 | s0 = v0 + s0;
0x00027328 move a0, s0 | a0 = s0;
0x0002732c lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00027330 lw t9, -0x7a3c(gp) | t9 = sym.imp.__sprintf_chk
0x00027334 sw s1, 0x10(sp) | *(var_10h) = s1;
| /* str._n_s_n */
0x00027338 addiu a3, a3, 0x68f0 | a3 += 0x68f0;
0x0002733c addiu a2, zero, -1 | a2 = -1;
0x00027340 addiu a1, zero, 1 | a1 = 1;
0x00027344 sw v0, 0x6c(sp) | *(var_6ch) = v0;
0x00027348 jalr t9 | t9 ();
0x0002734c lw a0, 0x20(s3) | a0 = *((s3 + 8));
0x00027350 lw gp, 0x38(sp) | gp = *(var_38h);
0x00027354 addu s0, s0, v0 | s0 += v0;
| if (a0 != 0) {
0x00027358 bnez a0, 0x27690 | goto label_55;
| }
| label_14:
0x0002735c lw v0, 0x24(s3) | v0 = *((s3 + 9));
0x00027360 lw v0, 0x34(s3) | v0 = *((s3 + 13));
| if (v0 == 0) {
0x00027364 bnel v0, zero, 0x27658 | goto label_56;
| }
| label_13:
0x00027368 lw v0, 0x28(s3) | v0 = *((s3 + 10));
0x0002736c lw v0, 0x38(s3) | v0 = *((s3 + 14));
| if (v0 == 0) {
0x00027370 bnel v0, zero, 0x27620 | goto label_57;
| }
| label_12:
0x00027374 lw v0, 0x2c(s3) | v0 = *((s3 + 11));
0x00027378 lw v0, 0x3c(s3) | v0 = *((s3 + 15));
| if (v0 == 0) {
0x0002737c bnel v0, zero, 0x275ec | goto label_58;
| }
| label_11:
0x00027380 lw t9, -0x78d8(gp) | t9 = sym.imp.strlen;
| label_54:
0x00027384 lw a0, 0x6c(sp) | a0 = *(var_6ch);
0x00027388 jalr t9 | t9 ();
0x0002738c lw v1, 4(s3) | v1 = *((s3 + 1));
0x00027390 lw gp, 0x38(sp) | gp = *(var_38h);
0x00027394 move s3, v0 | s3 = v0;
0x00027398 lw s1, 0x14(v1) | s1 = *((v1 + 5));
0x0002739c move s0, v0 | s0 = v0;
| if (s1 == 0) {
0x000273a0 beqz s1, 0x276cc | goto label_59;
| }
0x000273a4 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x000273a8 sw v0, 0x58(sp) | *(var_58h) = v0;
0x000273ac lw v0, -0x7fdc(gp) | v0 = *(gp);
0x000273b0 sw v0, 0x44(sp) | *(var_44h) = v0;
0x000273b4 lw v0, -0x7fdc(gp) | v0 = *(gp);
| /* str.gain__inherit_d_n */
0x000273b8 addiu v0, v0, 0x6904 | v0 += 0x6904;
0x000273bc sw v0, 0x48(sp) | *(var_48h) = v0;
0x000273c0 b 0x2747c | goto label_60;
| label_6:
0x000273c4 lw t9, -0x7a48(gp) | t9 = sym.imp.__snprintf_chk;
| if (v0 <= 0) {
0x000273c8 blez v0, 0x274cc | goto label_61;
| }
0x000273cc sw v0, 0x14(sp) | *(var_14h) = v0;
0x000273d0 lw v0, 0x48(sp) | v0 = *(var_48h);
0x000273d4 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000273d8 addiu a3, zero, 0x14 | a3 = 0x14;
0x000273dc addiu a2, zero, 1 | a2 = 1;
0x000273e0 addiu a1, zero, 0x14 | a1 = 0x14;
0x000273e4 move a0, s2 | a0 = s2;
0x000273e8 jalr t9 | t9 ();
0x000273ec slti v0, v0, 0x14 | v0 = (v0 < 0x14) ? 1 : 0;
0x000273f0 lw gp, 0x38(sp) | gp = *(var_38h);
| if (v0 == 0) {
0x000273f4 beqz v0, 0x26e5c | goto label_5;
| }
| label_7:
0x000273f8 sw s2, 0x14(sp) | *(var_14h) = s2;
0x000273fc lw v0, (s1) | v0 = *(s1);
0x00027400 lw t9, -0x7878(gp) | t9 = sym.imp.__asprintf_chk
0x00027404 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00027408 lw v0, 0x44(sp) | v0 = *(var_44h);
0x0002740c move a3, s4 | a3 = s4;
0x00027410 addiu a2, v0, 0x6928 | a2 = v0 + 0x6928;
0x00027414 addiu a1, zero, 1 | a1 = 1;
0x00027418 move a0, s6 | a0 = s6;
0x0002741c jalr t9 | t9 ();
0x00027420 lw gp, 0x38(sp) | gp = *(var_38h);
| if (v0 < 0) {
0x00027424 bltz v0, 0x26e5c | goto label_5;
| }
0x00027428 lw t9, -0x7778(gp) | t9 = sym.imp.realloc;
0x0002742c addu s0, v0, s3 | s0 = v0 + s3;
0x00027430 lw a0, 0x6c(sp) | a0 = *(var_6ch);
0x00027434 addiu a1, s0, 1 | a1 = s0 + 1;
0x00027438 jalr t9 | t9 ();
0x0002743c lw gp, 0x38(sp) | gp = *(var_38h);
| if (v0 == 0) {
0x00027440 beqz v0, 0x26e5c | goto label_5;
| }
0x00027444 lw t9, -0x7928(gp) | t9 = sym.imp.strcpy;
0x00027448 lw a1, 0x70(sp) | a1 = *(var_70h);
0x0002744c addu a0, v0, s3 | a0 = v0 + s3;
0x00027450 sw v0, 0x6c(sp) | *(var_6ch) = v0;
0x00027454 jalr t9 | t9 ();
0x00027458 lw gp, 0x38(sp) | gp = *(var_38h);
0x0002745c lw a0, 0x70(sp) | a0 = *(var_70h);
0x00027460 lw t9, -0x785c(gp) | t9 = sym.imp.free;
0x00027464 move s3, s0 | s3 = s0;
0x00027468 jalr t9 | t9 ();
0x0002746c lw s1, 0x14(s1) | s1 = *((s1 + 5));
0x00027470 lw gp, 0x38(sp) | gp = *(var_38h);
0x00027474 sw zero, 0x70(sp) | *(var_70h) = 0;
| if (s1 == 0) {
0x00027478 beqz s1, 0x276cc | goto label_59;
| }
| label_60:
0x0002747c lw v0, 0xc(s1) | v0 = *((s1 + 3));
0x00027480 addiu v1, zero, -1 | v1 = -1;
| if (v0 != v1) {
0x00027484 bne v0, v1, 0x273c4 | goto label_6;
| }
0x00027488 nop |
0x0002748c lbu v0, 8(s1) | v0 = *((s1 + 8));
0x00027490 lw v0, 0x58(sp) | v0 = *(var_58h);
| if (v0 != 0) {
0x00027494 beqz v0, 0x274f8 |
0x00027498 lw v0, 0x54(sp) | v0 = *(var_54h);
0x0002749c lw v1, 0x5c(sp) | v1 = *(var_5ch);
0x000274a0 addiu v0, v0, 0x6800 | v0 += 0x6800;
0x000274a4 sw v1, (s2) | *(s2) = v1;
0x000274a8 lw a0, 4(v0) | a0 = *((v0 + 1));
0x000274ac lw v1, 8(v0) | v1 = *((v0 + 2));
0x000274b0 lbu v0, 0xc(v0) | v0 = *((v0 + 12));
0x000274b4 sw a0, 4(s2) | *((s2 + 1)) = a0;
0x000274b8 sw v1, 8(s2) | *((s2 + 2)) = v1;
0x000274bc sb v0, 0xc(s2) | *((s2 + 12)) = v0;
0x000274c0 b 0x273f8 | goto label_7;
| label_42:
0x000274c4 sw v0, 0x5c(sp) | *(var_5ch) = v0;
0x000274c8 b 0x26c04 | goto label_1;
| label_61:
0x000274cc lw v0, 0x4c(sp) | v0 = *(var_4ch);
0x000274d0 lw v1, 0x50(sp) | v1 = *(var_50h);
0x000274d4 addiu v0, v0, 0x6918 | v0 += 0x6918;
0x000274d8 sw v1, (s2) | *(s2) = v1;
0x000274dc lw a0, 4(v0) | a0 = *((v0 + 1));
0x000274e0 lw v1, 8(v0) | v1 = *((v0 + 2));
0x000274e4 lw v0, 0xc(v0) | v0 = *((v0 + 3));
0x000274e8 sw a0, 4(s2) | *((s2 + 1)) = a0;
0x000274ec sw v1, 8(s2) | *((s2 + 2)) = v1;
0x000274f0 sw v0, 0xc(s2) | *((s2 + 3)) = v0;
0x000274f4 b 0x273f8 | goto label_7;
| }
0x000274f8 lw v1, 4(s1) | v1 = *((s1 + 1));
0x000274fc lw t9, -0x7a48(gp) | t9 = sym.imp.__snprintf_chk;
0x00027500 addiu v0, v0, 0x681c | v0 += 0x681c;
0x00027504 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00027508 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0002750c addiu a3, zero, 0x14 | a3 = 0x14;
0x00027510 addiu a2, zero, 1 | a2 = 1;
0x00027514 addiu a1, zero, 0x14 | a1 = 0x14;
0x00027518 move a0, s2 | a0 = s2;
0x0002751c jalr t9 | t9 ();
0x00027520 lw gp, 0x38(sp) | gp = *(var_38h);
0x00027524 b 0x273f8 | goto label_7;
| label_50:
0x00027528 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| /* str.Got_invalid_value_for_InputType__skipping. */
0x0002752c addiu a2, a2, 0x6834 | a2 += 0x6834;
0x00027530 addiu a1, zero, 1 | a1 = 1;
0x00027534 addiu a0, zero, 4 | a0 = 4;
0x00027538 jalr t9 | t9 ();
0x0002753c addiu s1, sp, 0x8c | s1 = sp + 0x8c;
0x00027540 lw gp, 0x38(sp) | gp = *(var_38h);
0x00027544 sb zero, 0x8c(sp) | *(var_8ch) = 0;
0x00027548 b 0x27150 | goto label_8;
| label_51:
0x0002754c lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00027550 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| /* str.Got_invalid_value_for_microphone_power_type__skipping. */
0x00027554 addiu a2, a2, 0x6880 | a2 += 0x6880;
0x00027558 addiu a1, zero, 1 | a1 = 1;
0x0002755c addiu a0, zero, 4 | a0 = 4;
0x00027560 jalr t9 | t9 ();
0x00027564 addiu v0, sp, 0xd0 | v0 = sp + 0xd0;
0x00027568 lw gp, 0x38(sp) | gp = *(var_38h);
0x0002756c sw v0, 0x58(sp) | *(var_58h) = v0;
0x00027570 sb zero, 0xd0(sp) | *(var_d0h) = 0;
0x00027574 b 0x271c0 | goto label_9;
| label_34:
0x00027578 lw a2, -0x7fdc(gp) | a2 = *(gp);
| label_35:
0x0002757c lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| label_36:
0x00027580 sw fp, 0x10(sp) | *(var_10h) = fp;
| /* str.Found_bad_rate__s_in__s */
0x00027584 addiu a2, a2, 0x6720 | a2 += 0x6720;
0x00027588 b 0x26e4c | goto label_4;
| label_49:
0x0002758c lw t9, -0x7a48(gp) | t9 = sym.imp.__snprintf_chk;
0x00027590 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00027594 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00027598 addiu s2, sp, 0x78 | s2 = sp + 0x78;
| /* str.gain___d_n */
0x0002759c addiu v0, v0, 0x681c | v0 += 0x681c;
0x000275a0 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000275a4 addiu a3, zero, 0x14 | a3 = 0x14;
0x000275a8 addiu a2, zero, 1 | a2 = 1;
0x000275ac addiu a1, zero, 0x14 | a1 = 0x14;
0x000275b0 move a0, s2 | a0 = s2;
0x000275b4 jalr t9 | t9 ();
0x000275b8 lw gp, 0x38(sp) | gp = *(var_38h);
0x000275bc b 0x27110 | goto label_10;
| label_48:
0x000275c0 addiu s2, sp, 0x78 | s2 = sp + 0x78;
0x000275c4 addiu v0, v1, 0x6800 | v0 = v1 + 0x6800;
0x000275c8 lw a2, 0x6800(v1) | a2 = *((v1 + 6656));
0x000275cc lw a1, 4(v0) | a1 = *((v0 + 1));
0x000275d0 lw a0, 8(v0) | a0 = *((v0 + 2));
0x000275d4 lbu v0, 0xc(v0) | v0 = *((v0 + 12));
0x000275d8 sw a2, 0x78(sp) | *(var_78h) = a2;
0x000275dc sw a1, 4(s2) | *((s2 + 1)) = a1;
0x000275e0 sw a0, 8(s2) | *((s2 + 2)) = a0;
0x000275e4 sb v0, 0xc(s2) | *((s2 + 12)) = v0;
0x000275e8 b 0x27110 | goto label_10;
| label_58:
0x000275ec lw a3, -0x7fdc(gp) | a3 = *(gp);
0x000275f0 sw v0, 0x14(sp) | *(var_14h) = v0;
0x000275f4 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x000275f8 lw t9, -0x7a3c(gp) | t9 = sym.imp.__sprintf_chk
| /* esilref: 'wnc' */
0x000275fc addiu v0, v0, 0x644c | v0 += 0x644c;
0x00027600 sw v0, 0x10(sp) | *(var_10h) = v0;
| /* str._s___d_n */
0x00027604 addiu a3, a3, 0x68f8 | a3 += 0x68f8;
0x00027608 addiu a2, zero, -1 | a2 = -1;
0x0002760c addiu a1, zero, 1 | a1 = 1;
0x00027610 move a0, s0 | a0 = s0;
0x00027614 jalr t9 | t9 ();
0x00027618 lw gp, 0x38(sp) | gp = *(var_38h);
0x0002761c b 0x27380 | goto label_11;
| label_57:
0x00027620 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00027624 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00027628 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x0002762c lw t9, -0x7a3c(gp) | t9 = sym.imp.__sprintf_chk
| /* esilref: 'nc' */
0x00027630 addiu v0, v0, 0x6448 | v0 += 0x6448;
0x00027634 move a0, s0 | a0 = s0;
0x00027638 sw v0, 0x10(sp) | *(var_10h) = v0;
| /* str._s___d_n */
0x0002763c addiu a3, a3, 0x68f8 | a3 += 0x68f8;
0x00027640 addiu a2, zero, -1 | a2 = -1;
0x00027644 addiu a1, zero, 1 | a1 = 1;
0x00027648 jalr t9 | t9 ();
0x0002764c addu s0, s0, v0 | s0 += v0;
0x00027650 lw gp, 0x38(sp) | gp = *(var_38h);
0x00027654 b 0x27374 | goto label_12;
| label_56:
0x00027658 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x0002765c sw v0, 0x14(sp) | *(var_14h) = v0;
0x00027660 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00027664 lw t9, -0x7a3c(gp) | t9 = sym.imp.__sprintf_chk
| /* esilref: 'aec' */
0x00027668 addiu v0, v0, 0x6444 | v0 += 0x6444;
0x0002766c move a0, s0 | a0 = s0;
0x00027670 sw v0, 0x10(sp) | *(var_10h) = v0;
| /* str._s___d_n */
0x00027674 addiu a3, a3, 0x68f8 | a3 += 0x68f8;
0x00027678 addiu a2, zero, -1 | a2 = -1;
0x0002767c addiu a1, zero, 1 | a1 = 1;
0x00027680 jalr t9 | t9 ();
0x00027684 addu s0, s0, v0 | s0 += v0;
0x00027688 lw gp, 0x38(sp) | gp = *(var_38h);
0x0002768c b 0x27368 | goto label_13;
| label_55:
0x00027690 lw v0, 0x30(s3) | v0 = *((s3 + 12));
0x00027694 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00027698 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0002769c lw v0, -0x7fdc(gp) | v0 = *(gp);
0x000276a0 lw t9, -0x7a3c(gp) | t9 = sym.imp.__sprintf_chk
| /* esilref: 'dp' */
0x000276a4 addiu v0, v0, 0x6440 | v0 += 0x6440;
0x000276a8 move a0, s0 | a0 = s0;
0x000276ac sw v0, 0x10(sp) | *(var_10h) = v0;
| /* str._s___d_n */
0x000276b0 addiu a3, a3, 0x68f8 | a3 += 0x68f8;
0x000276b4 addiu a2, zero, -1 | a2 = -1;
0x000276b8 addiu a1, zero, 1 | a1 = 1;
0x000276bc jalr t9 | t9 ();
0x000276c0 addu s0, s0, v0 | s0 += v0;
0x000276c4 lw gp, 0x38(sp) | gp = *(var_38h);
0x000276c8 b 0x2735c | goto label_14;
| label_59:
0x000276cc lw v0, (s5) | v0 = *(s5);
0x000276d0 addiu s4, s4, 1 | s4++;
0x000276d4 lw v1, (v0) | v1 = *(v0);
0x000276d8 sltu v1, s4, v1 | v1 = (s4 < v1) ? 1 : 0;
0x000276dc lw s3, 4(s5) | s3 = *((s5 + 1));
| if (v1 == 0) {
0x000276e0 bnel v1, zero, 0x270ac | goto label_15;
| }
| label_45:
0x000276e4 lw v1, 4(v0) | v1 = *((v0 + 1));
0x000276e8 lw v1, -0x7fdc(gp) | v1 = *(gp);
| if (v1 == 0) {
0x000276ec beqz v1, 0x2795c | goto label_62;
| }
0x000276f0 lw s4, -0x7fdc(gp) | s4 = *(gp);
0x000276f4 sw v1, 0x50(sp) | *(var_50h) = v1;
0x000276f8 lw v1, 0x6918(v1) | v1 = *((v1 + 6726));
0x000276fc lw a0, 0x6800(s4) | a0 = *((s4 + 6656));
0x00027700 sw v1, 0x54(sp) | *(var_54h) = v1;
0x00027704 lw v1, -0x7fdc(gp) | v1 = *(gp);
0x00027708 sw a0, 0x4c(sp) | *(var_4ch) = a0;
| /* str.gain__inherit_d_n */
0x0002770c addiu v1, v1, 0x6904 | v1 += 0x6904;
0x00027710 move s3, zero | s3 = 0;
0x00027714 sw v1, 0x58(sp) | *(var_58h) = v1;
0x00027718 lw v1, 8(s5) | v1 = *((s5 + 2));
| label_20:
0x0002771c lw a0, (v1) | a0 = *(v1);
| if (v1 == 0) {
0x00027720 bnel v1, zero, 0x27738 | goto label_63;
| }
0x00027724 b 0x279ac | goto label_64;
0x00027728 nop |
| if (v1 == 0) {
| do {
0x0002772c beqz v1, 0x279ac | goto label_64;
| }
0x00027730 nop |
0x00027734 lw a0, (v1) | a0 = *(v1);
| label_63:
0x00027738 lw v1, 0x10(v1) | v1 = *((v1 + 4));
0x0002773c bnel a0, s3, 0x2772c |
| } while (a0 == s3);
0x00027740 lw v1, 0xc(v1) | v1 = *((v1 + 3));
0x00027744 sw v1, 0x44(sp) | *(var_44h) = v1;
| if (v1 == 0) {
0x00027748 beqz v1, 0x27948 | goto label_65;
| }
0x0002774c lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00027750 lw s6, -0x7fdc(gp) | s6 = *(gp);
0x00027754 sw v0, 0x48(sp) | *(var_48h) = v0;
0x00027758 addiu s1, sp, 0xec | s1 = sp + 0xec;
0x0002775c b 0x277e0 | goto label_66;
| label_17:
0x00027760 sw s1, 0x14(sp) | *(var_14h) = s1;
0x00027764 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00027768 move a3, s3 | a3 = s3;
| /* str._n_output_u._u__n_s */
0x0002776c addiu a2, s6, 0x694c | a2 = s6 + 0x694c;
0x00027770 addiu a1, zero, 1 | a1 = 1;
0x00027774 addiu a0, sp, 0x70 | a0 = sp + 0x70;
0x00027778 jalr t9 | t9 ();
0x0002777c lw gp, 0x38(sp) | gp = *(var_38h);
| label_18:
0x00027780 lw a0, 0x6c(sp) | a0 = *(var_6ch);
| if (v0 < 0) {
0x00027784 bltz v0, 0x26e60 | goto label_16;
| }
0x00027788 lw t9, -0x7778(gp) | t9 = sym.imp.realloc;
0x0002778c addu s2, v0, s0 | s2 = v0 + s0;
0x00027790 addiu a1, s2, 1 | a1 = s2 + 1;
0x00027794 jalr t9 | t9 ();
0x00027798 lw gp, 0x38(sp) | gp = *(var_38h);
| if (v0 == 0) {
0x0002779c beqz v0, 0x26e5c | goto label_5;
| }
0x000277a0 lw t9, -0x7928(gp) | t9 = sym.imp.strcpy;
0x000277a4 lw a1, 0x70(sp) | a1 = *(var_70h);
0x000277a8 addu a0, v0, s0 | a0 = v0 + s0;
0x000277ac sw v0, 0x6c(sp) | *(var_6ch) = v0;
0x000277b0 jalr t9 | t9 ();
0x000277b4 lw gp, 0x38(sp) | gp = *(var_38h);
0x000277b8 lw a0, 0x70(sp) | a0 = *(var_70h);
0x000277bc lw t9, -0x785c(gp) | t9 = sym.imp.free;
0x000277c0 move s0, s2 | s0 = s2;
0x000277c4 jalr t9 | t9 ();
0x000277c8 lw v0, 0x44(sp) | v0 = *(var_44h);
0x000277cc lw gp, 0x38(sp) | gp = *(var_38h);
0x000277d0 sw zero, 0x70(sp) | *(var_70h) = 0;
0x000277d4 lw v0, 0x14(v0) | v0 = *((v0 + 5));
0x000277d8 sw v0, 0x44(sp) | *(var_44h) = v0;
| if (v0 == 0) {
0x000277dc beqz v0, 0x27944 | goto label_67;
| }
| label_66:
0x000277e0 lw v0, 0x44(sp) | v0 = *(var_44h);
0x000277e4 addiu v1, zero, -1 | v1 = -1;
0x000277e8 lw v0, 0xc(v0) | v0 = *((v0 + 3));
| if (v0 == v1) {
0x000277ec beql v0, v1, 0x2785c | goto label_68;
| }
0x000277f0 lw v0, 0x44(sp) | v0 = *(var_44h);
0x000277f4 addiu a3, zero, 0x14 | a3 = 0x14;
| if (v0 <= 0) {
0x000277f8 blez v0, 0x27890 | goto label_69;
| }
0x000277fc sw v0, 0x14(sp) | *(var_14h) = v0;
0x00027800 lw v0, 0x58(sp) | v0 = *(var_58h);
0x00027804 lw t9, -0x7a48(gp) | t9 = sym.imp.__snprintf_chk;
0x00027808 sw v0, 0x10(sp) | *(var_10h) = v0;
0x0002780c addiu a2, zero, 1 | a2 = 1;
0x00027810 addiu a1, zero, 0x14 | a1 = 0x14;
0x00027814 move a0, s1 | a0 = s1;
0x00027818 jalr t9 | t9 ();
0x0002781c slti v0, v0, 0x14 | v0 = (v0 < 0x14) ? 1 : 0;
0x00027820 lw gp, 0x38(sp) | gp = *(var_38h);
| if (v0 == 0) {
0x00027824 beqz v0, 0x26e5c | goto label_5;
| }
| label_19:
0x00027828 lw v0, 0x44(sp) | v0 = *(var_44h);
0x0002782c lw v0, (v0) | v0 = *(v0);
0x00027830 lw t9, -0x7878(gp) | t9 = sym.imp.__asprintf_chk
| if (v0 >= 0) {
0x00027834 bgez v0, 0x27760 | goto label_17;
| }
0x00027838 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0002783c sw s1, 0x10(sp) | *(var_10h) = s1;
0x00027840 move a3, s3 | a3 = s3;
| /* str._n_output_u__n_s */
0x00027844 addiu a2, a2, 0x693c | a2 += 0x693c;
0x00027848 addiu a1, zero, 1 | a1 = 1;
0x0002784c addiu a0, sp, 0x70 | a0 = sp + 0x70;
0x00027850 jalr t9 | t9 ();
0x00027854 lw gp, 0x38(sp) | gp = *(var_38h);
0x00027858 b 0x27780 | goto label_18;
| label_68:
0x0002785c lbu v0, 8(v0) | v0 = *((v0 + 8));
0x00027860 lw v0, 0x44(sp) | v0 = *(var_44h);
| if (v0 != 0) {
0x00027864 beqz v0, 0x278bc |
0x00027868 addiu v0, s4, 0x6800 | v0 = s4 + 0x6800;
0x0002786c lw v1, 0x4c(sp) | v1 = *(var_4ch);
0x00027870 lw a0, 4(v0) | a0 = *((v0 + 1));
0x00027874 sw v1, (s1) | *(s1) = v1;
0x00027878 lw v1, 8(v0) | v1 = *((v0 + 2));
0x0002787c lbu v0, 0xc(v0) | v0 = *((v0 + 12));
0x00027880 sw a0, 4(s1) | *((s1 + 1)) = a0;
0x00027884 sw v1, 8(s1) | *((s1 + 2)) = v1;
0x00027888 sb v0, 0xc(s1) | *((s1 + 12)) = v0;
0x0002788c b 0x27828 | goto label_19;
| label_69:
0x00027890 lw v0, 0x50(sp) | v0 = *(var_50h);
0x00027894 lw v1, 0x54(sp) | v1 = *(var_54h);
0x00027898 addiu v0, v0, 0x6918 | v0 += 0x6918;
0x0002789c sw v1, (s1) | *(s1) = v1;
0x000278a0 lw a0, 4(v0) | a0 = *((v0 + 1));
0x000278a4 lw v1, 8(v0) | v1 = *((v0 + 2));
0x000278a8 lw v0, 0xc(v0) | v0 = *((v0 + 3));
0x000278ac sw a0, 4(s1) | *((s1 + 1)) = a0;
0x000278b0 sw v1, 8(s1) | *((s1 + 2)) = v1;
0x000278b4 sw v0, 0xc(s1) | *((s1 + 3)) = v0;
0x000278b8 b 0x27828 | goto label_19;
| }
0x000278bc lw t9, -0x7a48(gp) | t9 = sym.imp.__snprintf_chk;
0x000278c0 addiu a3, zero, 0x14 | a3 = 0x14;
0x000278c4 lw v1, 4(v0) | v1 = *((v0 + 1));
0x000278c8 lw v0, 0x48(sp) | v0 = *(var_48h);
0x000278cc sw v1, 0x14(sp) | *(var_14h) = v1;
0x000278d0 addiu v0, v0, 0x681c | v0 += 0x681c;
0x000278d4 sw v0, 0x10(sp) | *(var_10h) = v0;
0x000278d8 addiu a2, zero, 1 | a2 = 1;
0x000278dc addiu a1, zero, 0x14 | a1 = 0x14;
0x000278e0 move a0, s1 | a0 = s1;
0x000278e4 jalr t9 | t9 ();
0x000278e8 lw gp, 0x38(sp) | gp = *(var_38h);
0x000278ec b 0x27828 | goto label_19;
| label_21:
0x000278f0 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x000278f4 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x000278f8 lw a0, -0x7fdc(gp) | a0 = *(gp);
0x000278fc lw t9, -0x7818(gp) | t9 = sym.imp.__assert_fail;
| /* str.audiocontrol_conf_write */
0x00027900 addiu a3, a3, 0x6a18 | a3 += 0x6a18;
0x00027904 addiu a2, zero, 0x327 | a2 = 0x327;
| /* str.conf_audiocontrol_conf.c */
0x00027908 addiu a1, a1, 0x65e0 | a1 += 0x65e0;
| /* str.path */
0x0002790c addiu a0, a0, 0x65fc | a0 += 0x65fc;
0x00027910 jalr t9 | t9 ();
| label_41:
0x00027914 lw t9, -0x79a8(gp) | t9 = sym.imp.__stack_chk_fail;
0x00027918 jalr t9 | t9 ();
0x0002791c nop |
| label_22:
0x00027920 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x00027924 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x00027928 lw a0, -0x7fdc(gp) | a0 = *(gp);
0x0002792c lw t9, -0x7818(gp) | t9 = sym.imp.__assert_fail;
| /* str.audiocontrol_conf_write */
0x00027930 addiu a3, a3, 0x6a18 | a3 += 0x6a18;
0x00027934 addiu a2, zero, 0x328 | a2 = 0x328;
| /* str.conf_audiocontrol_conf.c */
0x00027938 addiu a1, a1, 0x65e0 | a1 += 0x65e0;
| /* str.audiocontrol_conf */
0x0002793c addiu a0, a0, 0x6604 | a0 += 0x6604;
0x00027940 jalr t9 | t9 ();
| label_67:
0x00027944 lw v0, (s5) | v0 = *(s5);
| label_65:
0x00027948 lw v1, 4(v0) | v1 = *((v0 + 1));
0x0002794c addiu s3, s3, 1 | s3++;
0x00027950 sltu v1, s3, v1 | v1 = (s3 < v1) ? 1 : 0;
0x00027954 lw v1, 8(s5) | v1 = *((s5 + 2));
| if (v1 == 0) {
0x00027958 bnel v1, zero, 0x2771c | goto label_20;
| }
| label_62:
0x0002795c lw t9, -0x7e54(gp) | t9 = sym.file_utils_set_file_content;
0x00027960 lw a1, 0x6c(sp) | a1 = *(var_6ch);
0x00027964 move a0, fp | a0 = fp;
0x00027968 bal 0x2e1bc | sym_file_utils_set_file_content ();
0x0002796c lw gp, 0x38(sp) | gp = *(var_38h);
0x00027970 lw a0, 0x6c(sp) | a0 = *(var_6ch);
0x00027974 lw t9, -0x785c(gp) | t9 = sym.imp.free;
0x00027978 move s0, v0 | s0 = v0;
0x0002797c jalr t9 | t9 ();
0x00027980 lw gp, 0x38(sp) | gp = *(var_38h);
| if (s0 != 0) {
0x00027984 bnez s0, 0x26f18 | goto label_3;
| }
0x00027988 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0002798c lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
0x00027990 move a3, fp | a3 = fp;
| /* str.Failed_to_write_configuration_file__s */
0x00027994 addiu a2, a2, 0x6960 | a2 += 0x6960;
0x00027998 addiu a1, zero, 1 | a1 = 1;
0x0002799c addiu a0, zero, 3 | a0 = 3;
0x000279a0 jalr t9 | t9 ();
0x000279a4 lw gp, 0x38(sp) | gp = *(var_38h);
0x000279a8 b 0x26f18 | goto label_3;
| label_64:
0x000279ac lw v0, 0xc(zero) | v0 = *((zero + 3));
0x000279b0 teq zero, zero | __asm ("teq zero, zero");
| label_47:
0x000279b4 lw v0, 4(zero) | v0 = *((zero + 1));
0x000279b8 teq zero, zero | __asm ("teq zero, zero");
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/audiocontrol @ 0x14270 */
| #include <stdint.h>
|
; (fcn) sym.card_dbus_digital_status_changed () | void card_dbus_digital_status_changed () {
0x00014270 lui gp, 5 |
0x00014274 addiu gp, gp, -0x190 |
0x00014278 addu gp, gp, t9 | gp += t9;
0x0001427c addiu sp, sp, -0x78 |
0x00014280 lw v0, 0x24(a0) | v0 = *((a0 + 9));
0x00014284 sw s1, 0x68(sp) | *(var_68h) = s1;
0x00014288 lw s1, -0x7934(gp) | s1 = *((gp - 7757));
0x0001428c sw gp, 0x18(sp) | *(var_18h) = gp;
0x00014290 sw ra, 0x74(sp) | *(var_74h) = ra;
0x00014294 lw v1, (s1) | v1 = *(s1);
0x00014298 sw s3, 0x70(sp) | *(var_70h) = s3;
0x0001429c sw s2, 0x6c(sp) | *(var_6ch) = s2;
0x000142a0 sw s0, 0x64(sp) | *(var_64h) = s0;
0x000142a4 sw v1, 0x5c(sp) | *(var_5ch) = v1;
0x000142a8 lw a3, -0x7fdc(gp) | a3 = *(gp);
| if (v0 != 0) {
0x000142ac beqz v0, 0x14318 |
0x000142b0 move t0, a1 | t0 = a1;
0x000142b4 lw t9, -0x7a3c(gp) | t9 = sym.imp.__sprintf_chk
0x000142b8 addiu s0, sp, 0x24 | s0 = sp + 0x24;
0x000142bc move s2, a0 | s2 = a0;
0x000142c0 move s3, a2 | s3 = a2;
| /* str._com_axis_AudioControl_Device__u_Input__u */
0x000142c4 addiu a3, a3, 0x31c | a3 += aav.0x0000031c;
0x000142c8 addiu a2, zero, 0x36 | a2 = 0x36;
0x000142cc addiu a1, zero, 1 | a1 = 1;
0x000142d0 move a0, s0 | a0 = s0;
0x000142d4 sw t0, 0x14(sp) | *(var_14h_2) = t0;
0x000142d8 sw zero, 0x10(sp) | *(var_10h_4) = 0;
0x000142dc jalr t9 | t9 ();
0x000142e0 lw gp, 0x18(sp) | gp = *(var_18h);
0x000142e4 lw a0, 0xa8(s2) | a0 = *((s2 + 42));
0x000142e8 move a1, s0 | a1 = s0;
0x000142ec lw v0, -0x7fdc(gp) | v0 = *(gp);
0x000142f0 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x000142f4 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x000142f8 lw t9, -0x7a74(gp) | t9 = sym.imp.sd_bus_emit_signal;
0x000142fc addiu v0, v0, 0x695c | v0 += 0x695c;
0x00014300 sw s3, 0x14(sp) | *(var_14h_2) = s3;
0x00014304 sw v0, 0x10(sp) | *(var_10h_4) = v0;
| /* str.DigitalSignalStatus */
0x00014308 addiu a3, a3, 0x348 | a3 += 0x348;
| /* str.com.axis.AudioControl */
0x0001430c addiu a2, a2, -0x15e0 | a2 += -0x15e0;
0x00014310 jalr t9 | t9 ();
0x00014314 lw gp, 0x18(sp) | gp = *(var_18h);
| }
0x00014318 lw v1, 0x5c(sp) | v1 = *(var_5ch);
0x0001431c lw v0, (s1) | v0 = *(s1);
0x00014320 lw ra, 0x74(sp) | ra = *(var_74h);
| if (v1 == v0) {
0x00014324 bne v1, v0, 0x14340 |
0x00014328 lw s3, 0x70(sp) | s3 = *(var_70h);
0x0001432c lw s2, 0x6c(sp) | s2 = *(var_6ch);
0x00014330 lw s1, 0x68(sp) | s1 = *(var_68h);
0x00014334 lw s0, 0x64(sp) | s0 = *(var_64h);
0x00014338 addiu sp, sp, 0x78 |
0x0001433c jr ra | return v1;
| }
0x00014340 lw t9, -0x79a8(gp) | t9 = sym.imp.__stack_chk_fail;
0x00014344 jalr t9 | t9 ();
0x00014348 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/audiocontrol @ 0x1434c */
| #include <stdint.h>
|
; (fcn) sym.card_dbus_ring_power_limit_exceeded_changed () | void card_dbus_ring_power_limit_exceeded_changed () {
0x0001434c lui gp, 5 |
0x00014350 addiu gp, gp, -0x26c |
0x00014354 addu gp, gp, t9 | gp += t9;
0x00014358 addiu sp, sp, -0x78 |
0x0001435c lw v0, 0x28(a0) | v0 = *((a0 + 10));
0x00014360 sw s1, 0x68(sp) | *(var_68h_2) = s1;
0x00014364 lw s1, -0x7934(gp) | s1 = *((gp - 7757));
0x00014368 sw gp, 0x18(sp) | *(var_18h_2) = gp;
0x0001436c sw ra, 0x74(sp) | *(var_74h_2) = ra;
0x00014370 lw v1, (s1) | v1 = *(s1);
0x00014374 sw s3, 0x70(sp) | *(var_70h_2) = s3;
0x00014378 sw s2, 0x6c(sp) | *(var_6ch_2) = s2;
0x0001437c sw s0, 0x64(sp) | *(var_64h_2) = s0;
0x00014380 sw v1, 0x5c(sp) | *(var_5ch_2) = v1;
0x00014384 lw a3, -0x7fdc(gp) | a3 = *(gp);
| if (v0 != 0) {
0x00014388 beqz v0, 0x143f4 |
0x0001438c move t0, a1 | t0 = a1;
0x00014390 lw t9, -0x7a3c(gp) | t9 = sym.imp.__sprintf_chk
0x00014394 addiu s0, sp, 0x24 | s0 = sp + 0x24;
0x00014398 move s2, a0 | s2 = a0;
0x0001439c move s3, a2 | s3 = a2;
| /* str._com_axis_AudioControl_Device__u_Input__u */
0x000143a0 addiu a3, a3, 0x31c | a3 += aav.0x0000031c;
0x000143a4 addiu a2, zero, 0x36 | a2 = 0x36;
0x000143a8 addiu a1, zero, 1 | a1 = 1;
0x000143ac move a0, s0 | a0 = s0;
0x000143b0 sw t0, 0x14(sp) | *(var_84h) = t0;
0x000143b4 sw zero, 0x10(sp) | *(var_80h) = 0;
0x000143b8 jalr t9 | t9 ();
0x000143bc lw gp, 0x18(sp) | gp = *(var_18h_2);
0x000143c0 lw a0, 0xa8(s2) | a0 = *((s2 + 42));
0x000143c4 move a1, s0 | a1 = s0;
0x000143c8 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x000143cc lw a3, -0x7fdc(gp) | a3 = *(gp);
0x000143d0 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x000143d4 lw t9, -0x7a74(gp) | t9 = sym.imp.sd_bus_emit_signal;
0x000143d8 addiu v0, v0, 0x88 | v0 += 0x88;
0x000143dc sw s3, 0x14(sp) | *(var_84h) = s3;
0x000143e0 sw v0, 0x10(sp) | *(var_80h) = v0;
| /* str.RingPowerLimitExceeded */
0x000143e4 addiu a3, a3, 0x35c | a3 += aav.0x0000035c;
| /* str.com.axis.AudioControl */
0x000143e8 addiu a2, a2, -0x15e0 | a2 += -0x15e0;
0x000143ec jalr t9 | t9 ();
0x000143f0 lw gp, 0x18(sp) | gp = *(var_18h_2);
| }
0x000143f4 lw v1, 0x5c(sp) | v1 = *(var_5ch_2);
0x000143f8 lw v0, (s1) | v0 = *(s1);
0x000143fc lw ra, 0x74(sp) | ra = *(var_74h_2);
| if (v1 == v0) {
0x00014400 bne v1, v0, 0x1441c |
0x00014404 lw s3, 0x70(sp) | s3 = *(var_70h_2);
0x00014408 lw s2, 0x6c(sp) | s2 = *(var_6ch_2);
0x0001440c lw s1, 0x68(sp) | s1 = *(var_68h_2);
0x00014410 lw s0, 0x64(sp) | s0 = *(var_64h_2);
0x00014414 addiu sp, sp, 0x78 |
0x00014418 jr ra | return v1;
| }
0x0001441c lw t9, -0x79a8(gp) | t9 = sym.imp.__stack_chk_fail;
0x00014420 jalr t9 | t9 ();
0x00014424 nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/audiocontrol @ 0x2ca4c */
| #include <stdint.h>
|
; (fcn) sym.mixer_utils_set_agc () | void mixer_utils_set_agc () {
0x0002ca4c lui gp, 3 |
0x0002ca50 addiu gp, gp, 0x7694 |
0x0002ca54 addu gp, gp, t9 | gp += t9;
0x0002ca58 addiu sp, sp, -0x60 |
0x0002ca5c lw v0, -0x7fdc(gp) | v0 = *(gp);
0x0002ca60 sw s1, 0x50(sp) | *(var_50h) = s1;
0x0002ca64 lw s1, -0x7934(gp) | s1 = *((gp - 7757));
0x0002ca68 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x0002ca6c lw t9, -0x7a3c(gp) | t9 = sym.imp.__sprintf_chk
0x0002ca70 lw v1, (s1) | v1 = *(s1);
0x0002ca74 sw s0, 0x4c(sp) | *(var_4ch) = s0;
| /* str.axis_agc_enabled_ */
0x0002ca78 addiu v0, v0, 0x75fc | v0 += 0x75fc;
0x0002ca7c addiu s0, sp, 0x24 | s0 = sp + 0x24;
0x0002ca80 sw gp, 0x18(sp) | *(var_18h) = gp;
0x0002ca84 sw ra, 0x5c(sp) | *(var_5ch) = ra;
0x0002ca88 sw s3, 0x58(sp) | *(var_58h) = s3;
0x0002ca8c sw s2, 0x54(sp) | *(var_54h) = s2;
0x0002ca90 sw a1, 0x14(sp) | *(var_14h) = a1;
0x0002ca94 move s2, a0 | s2 = a0;
| /* str._s_i */
0x0002ca98 addiu a3, a3, 0x75f4 | a3 += 0x75f4;
0x0002ca9c addiu a1, zero, 1 | a1 = 1;
0x0002caa0 move a0, s0 | a0 = s0;
0x0002caa4 sw v1, 0x44(sp) | *(var_44h) = v1;
0x0002caa8 move s3, a2 | s3 = a2;
0x0002caac sw v0, 0x10(sp) | *(var_10h) = v0;
0x0002cab0 addiu a2, zero, 0x1e | a2 = 0x1e;
0x0002cab4 jalr t9 | t9 ();
0x0002cab8 lw gp, 0x18(sp) | gp = *(var_18h);
0x0002cabc move a1, s0 | a1 = s0;
0x0002cac0 lw t9, -0x7cf0(gp) | t9 = sym.mixer_utils_has_control;
0x0002cac4 move a0, s2 | a0 = s2;
0x0002cac8 bal 0x2ae44 | sym_mixer_utils_has_control ();
0x0002cacc lw gp, 0x18(sp) | gp = *(var_18h);
0x0002cad0 bnez v0, 0x2cb04 |
| while (v0 >= 0) {
0x0002cad4 move s0, zero | s0 = 0;
| label_0:
0x0002cad8 lw a0, 0x44(sp) | a0 = *(var_44h);
0x0002cadc lw v1, (s1) | v1 = *(s1);
0x0002cae0 move v0, s0 | v0 = s0;
| if (a0 != v1) {
0x0002cae4 bne a0, v1, 0x2cb60 | goto label_1;
| }
0x0002cae8 lw ra, 0x5c(sp) | ra = *(var_5ch);
0x0002caec lw s3, 0x58(sp) | s3 = *(var_58h);
0x0002caf0 lw s2, 0x54(sp) | s2 = *(var_54h);
0x0002caf4 lw s1, 0x50(sp) | s1 = *(var_50h);
0x0002caf8 lw s0, 0x4c(sp) | s0 = *(var_4ch);
0x0002cafc addiu sp, sp, 0x60 |
0x0002cb00 jr ra | return v0;
0x0002cb04 lw t9, -0x7d30(gp) | t9 = sym.mixer_utils_set_switch_control;
0x0002cb08 move a1, s0 | a1 = s0;
0x0002cb0c sw s3, 0x10(sp) | *(var_10h) = s3;
0x0002cb10 addiu a3, zero, 3 | a3 = 3;
0x0002cb14 addiu a2, zero, 3 | a2 = 3;
0x0002cb18 move a0, s2 | a0 = s2;
0x0002cb1c bal 0x2b598 | sym_mixer_utils_set_switch_control ();
0x0002cb20 move s0, v0 | s0 = v0;
0x0002cb24 lw gp, 0x18(sp) | gp = *(var_18h);
0x0002cb28 bgez v0, 0x2cad4 |
| }
0x0002cb2c lw t9, -0x7900(gp) | t9 = sym.imp.snd_strerror;
0x0002cb30 move a0, v0 | a0 = v0;
0x0002cb34 jalr t9 | t9 ();
0x0002cb38 lw gp, 0x18(sp) | gp = *(var_18h);
0x0002cb3c move a3, v0 | a3 = v0;
0x0002cb40 addiu a1, zero, 1 | a1 = 1;
0x0002cb44 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0002cb48 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| /* str.Unable_to_set_control_axis_agc_enabled:__s */
0x0002cb4c addiu a2, a2, 0x7610 | a2 += 0x7610;
0x0002cb50 addiu a0, zero, 3 | a0 = 3;
0x0002cb54 jalr t9 | t9 ();
0x0002cb58 lw gp, 0x18(sp) | gp = *(var_18h);
0x0002cb5c b 0x2cad8 | goto label_0;
| label_1:
0x0002cb60 lw t9, -0x79a8(gp) | t9 = sym.imp.__stack_chk_fail;
0x0002cb64 jalr t9 | t9 ();
0x0002cb68 nop |
0x0002cb6c nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/audiocontrol @ 0x3a1a4 */
| #include <stdint.h>
|
; (fcn) sym.voice_tracking_dbus_add_interface () | void voice_tracking_dbus_add_interface () {
0x0003a1a4 lui gp, 3 |
0x0003a1a8 addiu gp, gp, -0x60c4 |
0x0003a1ac addu gp, gp, t9 | gp += t9;
0x0003a1b0 addiu sp, sp, -0x68 |
0x0003a1b4 lw t9, -0x7a3c(gp) | t9 = sym.imp.__sprintf_chk
0x0003a1b8 sw s1, 0x54(sp) | *(var_54h) = s1;
0x0003a1bc lw s1, -0x7934(gp) | s1 = *((gp - 7757));
0x0003a1c0 sw s4, 0x60(sp) | *(var_60h) = s4;
0x0003a1c4 move s4, a3 | s4 = a3;
0x0003a1c8 lw v0, (s1) | v0 = *(s1);
0x0003a1cc lw a3, -0x7fdc(gp) | a3 = *(gp);
0x0003a1d0 sw s0, 0x50(sp) | *(var_50h) = s0;
0x0003a1d4 addiu s0, sp, 0x24 | s0 = sp + 0x24;
0x0003a1d8 sw gp, 0x18(sp) | *(var_18h) = gp;
0x0003a1dc sw ra, 0x64(sp) | *(var_64h) = ra;
0x0003a1e0 sw s3, 0x5c(sp) | *(var_5ch) = s3;
0x0003a1e4 sw s2, 0x58(sp) | *(var_58h) = s2;
0x0003a1e8 move s3, a2 | s3 = a2;
0x0003a1ec move s2, a0 | s2 = a0;
0x0003a1f0 sw a1, 0x10(sp) | *(var_10h) = a1;
| /* str._com_axis_AudioControl_Device__d */
0x0003a1f4 addiu a3, a3, -0x15c0 | a3 += -0x15c0;
0x0003a1f8 addiu a2, zero, 0x27 | a2 = 0x27;
0x0003a1fc addiu a1, zero, 1 | a1 = 1;
0x0003a200 move a0, s0 | a0 = s0;
0x0003a204 sw v0, 0x4c(sp) | *(var_4ch) = v0;
0x0003a208 jalr t9 | t9 ();
0x0003a20c nop |
0x0003a210 lw gp, 0x18(sp) | gp = *(var_18h);
0x0003a214 move a0, s2 | a0 = s2;
0x0003a218 sw s4, 0x14(sp) | *(var_14h) = s4;
0x0003a21c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x0003a220 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x0003a224 lw t9, -0x7dac(gp) | t9 = sym.dbus_utils_add_interface;
0x0003a228 addiu v0, v0, -0x4260 | v0 += -0x4260;
0x0003a22c sw v0, 0x10(sp) | *(var_10h) = v0;
| /* str.com.axis.VoiceTracking */
0x0003a230 addiu a3, a3, 0x3ac | a3 += 0x3ac;
0x0003a234 move a2, s0 | a2 = s0;
0x0003a238 move a1, s3 | a1 = s3;
0x0003a23c bal 0x2da84 | sym_dbus_utils_add_interface ();
0x0003a240 lw a0, 0x4c(sp) | a0 = *(var_4ch);
0x0003a244 lw v1, (s1) | v1 = *(s1);
0x0003a248 lw gp, 0x18(sp) | gp = *(var_18h);
| if (a0 == v1) {
0x0003a24c bne a0, v1, 0x3a278 |
0x0003a250 lw ra, 0x64(sp) | ra = *(var_64h);
0x0003a254 nor v0, zero, v0 | __asm ("nor v0, zero, v0");
0x0003a258 lw s4, 0x60(sp) | s4 = *(var_60h);
0x0003a25c lw s3, 0x5c(sp) | s3 = *(var_5ch);
0x0003a260 lw s2, 0x58(sp) | s2 = *(var_58h);
0x0003a264 lw s1, 0x54(sp) | s1 = *(var_54h);
0x0003a268 lw s0, 0x50(sp) | s0 = *(var_50h);
0x0003a26c srl v0, v0, 0x1f | v0 >>= 0x1f;
0x0003a270 addiu sp, sp, 0x68 |
0x0003a274 jr ra | return v0;
| }
0x0003a278 lw t9, -0x79a8(gp) | t9 = sym.imp.__stack_chk_fail;
0x0003a27c jalr t9 | t9 ();
0x0003a280 nop |
0x0003a284 nop |
0x0003a288 nop |
0x0003a28c nop |
0x0003a290 lui gp, 3 |
0x0003a294 addiu gp, gp, -0x61b0 |
0x0003a298 addu gp, gp, t9 | gp += t9;
0x0003a29c addiu sp, sp, -0x68 |
0x0003a2a0 lw t9, -0x7f50(gp) | t9 = sym.legacy_conf_get_output;
0x0003a2a4 sw s0, 0x40(sp) | *(var_40h) = s0;
0x0003a2a8 lw s0, 0x7c(sp) | s0 = *(var_14h);
0x0003a2ac sw s2, 0x48(sp) | *(var_48h) = s2;
0x0003a2b0 lw s2, -0x7934(gp) | s2 = *((gp - 7757));
0x0003a2b4 lw v1, (s0) | v1 = *(s0);
0x0003a2b8 sw s4, 0x50(sp) | *(var_50h_2) = s4;
0x0003a2bc lw v0, (s2) | v0 = *(s2);
0x0003a2c0 lw s4, 0x98(v1) | s4 = *((v1 + 38));
0x0003a2c4 sw s6, 0x58(sp) | *(var_58h_2) = s6;
0x0003a2c8 move s6, a1 | s6 = a1;
0x0003a2cc lw a1, 4(s0) | a1 = *((s0 + 1));
0x0003a2d0 sw gp, 0x18(sp) | *(var_18h_2) = gp;
0x0003a2d4 sw ra, 0x64(sp) | *(var_64h_2) = ra;
0x0003a2d8 sw s7, 0x5c(sp) | *(var_5ch_2) = s7;
0x0003a2dc sw s5, 0x54(sp) | *(var_54h_2) = s5;
0x0003a2e0 sw s3, 0x4c(sp) | *(var_4ch_2) = s3;
0x0003a2e4 sw s1, 0x44(sp) | *(var_44h) = s1;
0x0003a2e8 sw fp, 0x60(sp) | *(var_60h_2) = fp;
0x0003a2ec move s7, a0 | s7 = a0;
0x0003a2f0 sw v0, 0x3c(sp) | *(var_3ch) = v0;
0x0003a2f4 move a0, s4 | a0 = s4;
0x0003a2f8 lw s1, 0x78(sp) | s1 = *(var_10h);
0x0003a2fc lw s5, 0x80(sp) | s5 = *(var_18h);
0x0003a300 bal 0x28f40 | sym_legacy_conf_get_output ();
0x0003a304 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0003a308 addiu a3, sp, 0x28 | a3 = sp + 0x28;
0x0003a30c addiu a2, sp, 0x24 | a2 = sp + 0x24;
0x0003a310 lw t9, -0x77a4(gp) | t9 = sym.imp.sd_bus_message_read_array;
0x0003a314 addiu a1, zero, 0x79 | a1 = 0x79;
0x0003a318 move a0, s1 | a0 = s1;
0x0003a31c sw zero, 0x24(sp) | *(var_24h_2) = 0;
0x0003a320 move s3, v0 | s3 = v0;
0x0003a324 jalr t9 | t9 ();
0x0003a328 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 < 0) {
0x0003a32c bltz v0, 0x3a690 | goto label_21;
| }
0x0003a330 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0003a334 lw s1, 0x24(sp) | s1 = *(var_24h_2);
0x0003a338 lw t9, -0x7a40(gp) | t9 = sym.imp.strncmp;
0x0003a33c addiu a2, zero, 7 | a2 = 7;
| /* str.inherit */
0x0003a340 addiu a1, a1, 0x64ac | a1 += 0x64ac;
0x0003a344 move a0, s1 | a0 = s1;
0x0003a348 jalr t9 | t9 ();
0x0003a34c move fp, v0 | fp = v0;
0x0003a350 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x0003a354 bnez v0, 0x3a430 | goto label_22;
| }
0x0003a358 lw t9, -0x78d8(gp) | t9 = sym.imp.strlen;
0x0003a35c move a0, s1 | a0 = s1;
0x0003a360 jalr t9 | t9 ();
0x0003a364 sltiu v0, v0, 8 | v0 = (v0 < 8) ? 1 : 0;
0x0003a368 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x0003a36c beqz v0, 0x3a728 | goto label_23;
| }
0x0003a370 lw t9, -0x7f50(gp) | t9 = sym.legacy_conf_get_output;
0x0003a374 move a1, zero | a1 = 0;
0x0003a378 move a0, s4 | a0 = s4;
0x0003a37c bal 0x28f40 | sym_legacy_conf_get_output ();
0x0003a380 lw a3, 4(s0) | a3 = *((s0 + 1));
0x0003a384 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0003a388 move s1, v0 | s1 = v0;
| if (a3 != 0) {
0x0003a38c beqz a3, 0x3a3ac |
0x0003a390 lw t9, -0x7f54(gp) | t9 = sym.legacy_conf_output_get_inherit;
| label_7:
0x0003a394 move a0, s1 | a0 = s1;
0x0003a398 bal 0x290d0 | sym_legacy_conf_output_get_inherit ();
0x0003a39c addiu v1, zero, -1 | v1 = -1;
0x0003a3a0 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == v1) {
0x0003a3a4 beq v0, v1, 0x3a630 | goto label_24;
| }
0x0003a3a8 lw a3, 4(s0) | a3 = *((s0 + 1));
| }
| label_5:
0x0003a3ac lw a2, -0x7ea4(gp) | a2 = *((gp - 8105));
| label_6:
0x0003a3b0 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| /* str.Could_not_inherit_index__d__from__d */
0x0003a3b4 addiu a2, a2, -0x6070 | a2 += -0x6070;
0x0003a3b8 addiu a1, zero, 1 | a1 = 1;
0x0003a3bc addiu a0, zero, 3 | a0 = 3;
0x0003a3c0 sw fp, 0x10(sp) | *(var_88h) = fp;
0x0003a3c4 jalr t9 | t9 ();
0x0003a3c8 lw gp, 0x18(sp) | gp = *(var_18h_2);
| do {
| label_0:
0x0003a3cc lw a2, -0x7fdc(gp) | a2 = *(gp);
| label_2:
0x0003a3d0 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0003a3d4 lw t9, -0x78e8(gp) | t9 = sym.imp.sd_bus_error_set_const;
| /* str.Could_not_parse_argument */
0x0003a3d8 addiu a2, a2, 0xac | a2 += 0xac;
| /* str.com.axis.AudioControl.Error.InvalidArgument */
0x0003a3dc addiu a1, a1, 0xc8 | a1 += 0xc8;
0x0003a3e0 move a0, s5 | a0 = s5;
0x0003a3e4 jalr t9 | t9 ();
0x0003a3e8 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0003a3ec move s1, v0 | s1 = v0;
| label_1:
0x0003a3f0 lw a0, 0x3c(sp) | a0 = *(var_3ch);
0x0003a3f4 lw v1, (s2) | v1 = *(s2);
0x0003a3f8 move v0, s1 | v0 = s1;
| if (a0 != v1) {
0x0003a3fc bne a0, v1, 0x3a874 | goto label_25;
| }
0x0003a400 lw ra, 0x64(sp) | ra = *(var_64h_2);
0x0003a404 lw fp, 0x60(sp) | fp = *(var_60h_2);
0x0003a408 lw s7, 0x5c(sp) | s7 = *(var_5ch_2);
0x0003a40c lw s6, 0x58(sp) | s6 = *(var_58h_2);
0x0003a410 lw s5, 0x54(sp) | s5 = *(var_54h_2);
0x0003a414 lw s4, 0x50(sp) | s4 = *(var_50h_2);
0x0003a418 lw s3, 0x4c(sp) | s3 = *(var_4ch_2);
0x0003a41c lw s2, 0x48(sp) | s2 = *(var_48h);
0x0003a420 lw s1, 0x44(sp) | s1 = *(var_44h);
0x0003a424 lw s0, 0x40(sp) | s0 = *(var_40h);
0x0003a428 addiu sp, sp, 0x68 |
0x0003a42c jr ra | return v0;
| label_22:
0x0003a430 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0003a434 lw t9, -0x7a7c(gp) | t9 = sym.imp.strcmp;
| /* esilref: 'mute' */
0x0003a438 addiu a1, a1, 0x10c | a1 += aav.0x0000010c;
0x0003a43c move a0, s1 | a0 = s1;
0x0003a440 jalr t9 | t9 ();
0x0003a444 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x0003a448 beqz v0, 0x3a6e8 | goto label_26;
| }
0x0003a44c lw v0, (s0) | v0 = *(s0);
0x0003a450 lw v0, 0x78(v0) | v0 = *((v0 + 30));
0x0003a454 lw t9, -0x7784(gp) | t9 = sym.imp.__isoc99_sscanf;
| if (v0 == 0) {
0x0003a458 beqz v0, 0x3a604 | goto label_27;
| }
0x0003a45c lw a1, -0x7ea4(gp) | a1 = *((gp - 8105));
0x0003a460 addiu a3, sp, 0x23 | a3 = sp + 0x23;
0x0003a464 addiu a2, sp, 0x30 | a2 = sp + 0x30;
| /* str._lf_c */
0x0003a468 addiu a1, a1, -0x6af8 | a1 += -0x6af8;
0x0003a46c move a0, s1 | a0 = s1;
0x0003a470 jalr t9 | t9 ();
0x0003a474 addiu v1, zero, 1 | v1 = 1;
0x0003a478 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0003a47c bne v0, v1, 0x3a3cc |
| } while (v0 != v1);
0x0003a480 lw v0, (s0) | v0 = *(s0);
0x0003a484 lw a0, 0x30(sp) | a0 = *(var_30h_3);
0x0003a488 lw a1, 0x34(sp) | a1 = *(var_34h_5);
0x0003a48c lw t9, 0x78(v0) | t9 = *((v0 + 30));
0x0003a490 addiu a2, sp, 0x2c | a2 = sp + 0x2c;
0x0003a494 jalr t9 | t9 ();
0x0003a498 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x0003a49c beqz v0, 0x3a3cc | goto label_0;
| }
| do {
0x0003a4a0 lw t9, -0x7f58(gp) | t9 = sym.legacy_conf_output_get_mute;
0x0003a4a4 move a0, s3 | a0 = s3;
0x0003a4a8 bal 0x290dc | sym_legacy_conf_output_get_mute ();
0x0003a4ac lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x0003a4b0 bnez v0, 0x3a4cc |
0x0003a4b4 lw t9, -0x7f54(gp) | t9 = sym.legacy_conf_output_get_inherit;
0x0003a4b8 move a0, s3 | a0 = s3;
0x0003a4bc bal 0x290d0 | sym_legacy_conf_output_get_inherit ();
0x0003a4c0 addiu v1, zero, -1 | v1 = -1;
0x0003a4c4 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == v1) {
0x0003a4c8 beq v0, v1, 0x3a854 | goto label_28;
| }
| }
| label_10:
0x0003a4cc lw t9, -0x7dc4(gp) | t9 = sym.legacy_conf_output_set_mute;
0x0003a4d0 move a1, zero | a1 = 0;
0x0003a4d4 move a0, s3 | a0 = s3;
0x0003a4d8 bal 0x28ffc | sym_legacy_conf_output_set_mute ();
0x0003a4dc lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0003a4e0 addiu a1, zero, -1 | a1 = -1;
0x0003a4e4 lw t9, -0x7ac0(gp) | t9 = sym.legacy_conf_output_set_inherit;
0x0003a4e8 move a0, s3 | a0 = s3;
0x0003a4ec bal 0x28ff0 | sym_legacy_conf_output_set_inherit ();
0x0003a4f0 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0003a4f4 lw a1, 0x2c(sp) | a1 = *(var_2ch_4);
0x0003a4f8 lw t9, -0x7dbc(gp) | t9 = sym.legacy_conf_output_set_gain_value;
0x0003a4fc move a0, s3 | a0 = s3;
0x0003a500 bal 0x29060 | sym_legacy_conf_output_set_gain_value ();
0x0003a504 lw gp, 0x18(sp) | gp = *(var_18h_2);
| label_3:
0x0003a508 lw v0, (s0) | v0 = *(s0);
0x0003a50c lw t9, -0x7f4c(gp) | t9 = sym.legacy_conf_output_get_gain_value;
0x0003a510 lw fp, 4(s0) | fp = *((s0 + 1));
0x0003a514 move a0, s3 | a0 = s3;
0x0003a518 lw s1, 0x1c(v0) | s1 = *((v0 + 7));
0x0003a51c bal 0x2912c | sym_legacy_conf_output_get_gain_value ();
0x0003a520 move a1, v0 | a1 = v0;
0x0003a524 move t9, s1 | t9 = s1;
0x0003a528 move a0, fp | a0 = fp;
0x0003a52c jalr t9 | t9 ();
0x0003a530 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x0003a534 beqz v0, 0x3a778 | goto label_29;
| }
0x0003a538 lw v0, (s0) | v0 = *(s0);
0x0003a53c lw t9, -0x7f58(gp) | t9 = sym.legacy_conf_output_get_mute;
0x0003a540 lw s1, 4(s0) | s1 = *((s0 + 1));
0x0003a544 move a0, s3 | a0 = s3;
0x0003a548 lw s0, 0x20(v0) | s0 = *((v0 + 8));
0x0003a54c bal 0x290dc | sym_legacy_conf_output_get_mute ();
0x0003a550 move a1, v0 | a1 = v0;
0x0003a554 move t9, s0 | t9 = s0;
0x0003a558 move a0, s1 | a0 = s1;
0x0003a55c jalr t9 | t9 ();
0x0003a560 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 == 0) {
0x0003a564 beqz v0, 0x3a7a0 | goto label_30;
| }
0x0003a568 lw t9, -0x7ee0(gp) | t9 = sym.write_conf;
0x0003a56c move a0, s4 | a0 = s4;
0x0003a570 jalr t9 | t9 ();
0x0003a574 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 < 0) {
0x0003a578 bltz v0, 0x3a7d8 | goto label_31;
| }
0x0003a57c lw s0, -0x7fdc(gp) | s0 = *(gp);
0x0003a580 lw s1, -0x7fdc(gp) | s1 = *(gp);
0x0003a584 lw t9, -0x79b4(gp) | t9 = sym.imp.sd_bus_emit_properties_changed;
0x0003a588 sw zero, 0x10(sp) | *(var_88h) = 0;
| /* str.OutputGain */
0x0003a58c addiu a3, s0, -0x175c | a3 = s0 + -0x175c;
| /* str.com.axis.Configuration.Legacy */
0x0003a590 addiu a2, s1, -0x1654 | a2 = s1 + -0x1654;
0x0003a594 move a1, s6 | a1 = s6;
0x0003a598 move a0, s7 | a0 = s7;
0x0003a59c jalr t9 | t9 ();
0x0003a5a0 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 < 0) {
0x0003a5a4 bltz v0, 0x3a824 | goto label_32;
| }
| label_9:
0x0003a5a8 lw s0, -0x7fdc(gp) | s0 = *(gp);
0x0003a5ac lw a3, -0x7fdc(gp) | a3 = *(gp);
0x0003a5b0 lw t9, -0x79b4(gp) | t9 = sym.imp.sd_bus_emit_properties_changed;
0x0003a5b4 sw zero, 0x10(sp) | *(var_88h) = 0;
| /* esilref: 'Gain' */
0x0003a5b8 addiu a3, a3, 0x2214 | a3 += 0x2214;
| /* str.com.axis.AudioControl */
0x0003a5bc addiu a2, s0, -0x15e0 | a2 = s0 + -0x15e0;
0x0003a5c0 move a1, s6 | a1 = s6;
0x0003a5c4 move a0, s7 | a0 = s7;
0x0003a5c8 jalr t9 | t9 ();
0x0003a5cc lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 < 0) {
0x0003a5d0 bltz v0, 0x3a800 | goto label_33;
| }
| label_8:
0x0003a5d4 lw a3, -0x7fdc(gp) | a3 = *(gp);
0x0003a5d8 lw t9, -0x79b4(gp) | t9 = sym.imp.sd_bus_emit_properties_changed;
0x0003a5dc sw zero, 0x10(sp) | *(var_88h) = 0;
| /* esilref: 'Mute' */
0x0003a5e0 addiu a3, a3, 0x2784 | a3 += 0x2784;
| /* str.com.axis.AudioControl */
0x0003a5e4 addiu a2, s0, -0x15e0 | a2 = s0 + -0x15e0;
0x0003a5e8 move a1, s6 | a1 = s6;
0x0003a5ec move a0, s7 | a0 = s7;
0x0003a5f0 jalr t9 | t9 ();
0x0003a5f4 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 < 0) {
0x0003a5f8 bltz v0, 0x3a7b0 | goto label_34;
| }
| label_4:
0x0003a5fc move s1, zero | s1 = 0;
0x0003a600 b 0x3a3f0 | goto label_1;
| label_27:
0x0003a604 lw a1, -0x7ea4(gp) | a1 = *((gp - 8105));
0x0003a608 addiu a3, sp, 0x30 | a3 = sp + 0x30;
0x0003a60c addiu a2, sp, 0x2c | a2 = sp + 0x2c;
| /* str._d_c */
0x0003a610 addiu a1, a1, -0x6af0 | a1 += -0x6af0;
0x0003a614 move a0, s1 | a0 = s1;
0x0003a618 jalr t9 | t9 ();
0x0003a61c addiu v1, zero, 1 | v1 = 1;
0x0003a620 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0003a624 beq v0, v1, 0x3a4a0 |
| } while (v0 == v1);
0x0003a628 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0003a62c b 0x3a3d0 | goto label_2;
| label_24:
0x0003a630 lw t9, -0x7ac0(gp) | t9 = sym.legacy_conf_output_set_inherit;
0x0003a634 move a1, fp | a1 = fp;
0x0003a638 move a0, s3 | a0 = s3;
0x0003a63c bal 0x28ff0 | sym_legacy_conf_output_set_inherit ();
0x0003a640 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0003a644 lw t9, -0x7f58(gp) | t9 = sym.legacy_conf_output_get_mute;
0x0003a648 move a0, s1 | a0 = s1;
0x0003a64c bal 0x290dc | sym_legacy_conf_output_get_mute ();
0x0003a650 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0003a654 move a1, v0 | a1 = v0;
0x0003a658 lw t9, -0x7dc4(gp) | t9 = sym.legacy_conf_output_set_mute;
0x0003a65c move a0, s3 | a0 = s3;
0x0003a660 bal 0x28ffc | sym_legacy_conf_output_set_mute ();
0x0003a664 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0003a668 lw t9, -0x7f4c(gp) | t9 = sym.legacy_conf_output_get_gain_value;
0x0003a66c move a0, s1 | a0 = s1;
0x0003a670 bal 0x2912c | sym_legacy_conf_output_get_gain_value ();
0x0003a674 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0003a678 move a1, v0 | a1 = v0;
0x0003a67c lw t9, -0x7dbc(gp) | t9 = sym.legacy_conf_output_set_gain_value;
0x0003a680 move a0, s3 | a0 = s3;
0x0003a684 bal 0x29060 | sym_legacy_conf_output_set_gain_value ();
0x0003a688 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0003a68c b 0x3a508 | goto label_3;
| label_21:
0x0003a690 lw t9, -0x7740(gp) | t9 = sym.imp.strerror;
0x0003a694 negu a0, v0 | __asm ("negu a0, v0");
0x0003a698 move s1, v0 | s1 = v0;
0x0003a69c jalr t9 | t9 ();
0x0003a6a0 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0003a6a4 move a3, v0 | a3 = v0;
0x0003a6a8 addiu a1, zero, 1 | a1 = 1;
0x0003a6ac lw a2, -0x7ea4(gp) | a2 = *((gp - 8105));
0x0003a6b0 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| /* str.Failed_to_parse_parameters:__s */
0x0003a6b4 addiu a2, a2, -0x6b40 | a2 += -0x6b40;
0x0003a6b8 addiu a0, zero, 3 | a0 = 3;
0x0003a6bc jalr t9 | t9 ();
0x0003a6c0 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0003a6c4 move a0, s5 | a0 = s5;
0x0003a6c8 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0003a6cc lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0003a6d0 lw t9, -0x78e8(gp) | t9 = sym.imp.sd_bus_error_set_const;
| /* str.Could_not_parse_argument */
0x0003a6d4 addiu a2, a2, 0xac | a2 += 0xac;
| /* str.com.axis.AudioControl.Error.InvalidArgument */
0x0003a6d8 addiu a1, a1, 0xc8 | a1 += 0xc8;
0x0003a6dc jalr t9 | t9 ();
0x0003a6e0 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0003a6e4 b 0x3a3f0 | goto label_1;
| label_26:
0x0003a6e8 lw t9, -0x7f58(gp) | t9 = sym.legacy_conf_output_get_mute;
0x0003a6ec move a0, s3 | a0 = s3;
0x0003a6f0 bal 0x290dc | sym_legacy_conf_output_get_mute ();
0x0003a6f4 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != 0) {
0x0003a6f8 bnez v0, 0x3a5fc | goto label_4;
| }
0x0003a6fc lw t9, -0x7dc4(gp) | t9 = sym.legacy_conf_output_set_mute;
0x0003a700 addiu a1, zero, 1 | a1 = 1;
0x0003a704 move a0, s3 | a0 = s3;
0x0003a708 bal 0x28ffc | sym_legacy_conf_output_set_mute ();
0x0003a70c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0003a710 addiu a1, zero, -1 | a1 = -1;
0x0003a714 lw t9, -0x7ac0(gp) | t9 = sym.legacy_conf_output_set_inherit;
0x0003a718 move a0, s3 | a0 = s3;
0x0003a71c bal 0x28ff0 | sym_legacy_conf_output_set_inherit ();
0x0003a720 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0003a724 b 0x3a508 | goto label_3;
| label_23:
0x0003a728 lw t9, -0x7848(gp) | t9 = sym.imp.strtol;
0x0003a72c addiu a0, s1, 7 | a0 = s1 + 7;
0x0003a730 addiu a2, zero, 0xa | a2 = 0xa;
0x0003a734 move a1, zero | a1 = 0;
0x0003a738 jalr t9 | t9 ();
0x0003a73c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0003a740 move a1, v0 | a1 = v0;
0x0003a744 move a0, s4 | a0 = s4;
0x0003a748 lw t9, -0x7f50(gp) | t9 = sym.legacy_conf_get_output;
0x0003a74c move fp, v0 | fp = v0;
0x0003a750 bal 0x28f40 | sym_legacy_conf_get_output ();
0x0003a754 lw a3, 4(s0) | a3 = *((s0 + 1));
0x0003a758 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0003a75c move s1, v0 | s1 = v0;
| if (fp == a3) {
0x0003a760 beq fp, a3, 0x3a3ac | goto label_5;
| }
0x0003a764 slti v0, fp, 3 | v0 = (fp < 3) ? 1 : 0;
0x0003a768 lw a2, -0x7ea4(gp) | a2 = *((gp - 8105));
| if (v0 == 0) {
0x0003a76c beqz v0, 0x3a3b0 | goto label_6;
| }
0x0003a770 lw t9, -0x7f54(gp) | t9 = sym.legacy_conf_output_get_inherit;
0x0003a774 b 0x3a394 | goto label_7;
| label_29:
0x0003a778 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0003a77c lw t9, -0x78e8(gp) | t9 = sym.imp.sd_bus_error_set_const;
| /* str.Could_not_update_output_gain */
0x0003a780 addiu a2, a2, 0x24c | a2 += 0x24c;
| do {
0x0003a784 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0003a788 move a0, s5 | a0 = s5;
| /* str.com.axis.AudioControl.Error.MixerError */
0x0003a78c addiu a1, a1, 0x114 | a1 += aav.0x00000114;
0x0003a790 jalr t9 | t9 ();
0x0003a794 move s1, v0 | s1 = v0;
0x0003a798 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0003a79c b 0x3a3f0 | goto label_1;
| label_30:
0x0003a7a0 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0003a7a4 lw t9, -0x78e8(gp) | t9 = sym.imp.sd_bus_error_set_const;
| /* str.Could_not_update_output_mute */
0x0003a7a8 addiu a2, a2, 0xf4 | a2 += 0xf4;
0x0003a7ac b 0x3a784 |
| } while (1);
| label_34:
0x0003a7b0 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0003a7b4 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| /* str.com.axis.AudioControl */
0x0003a7b8 addiu a3, s0, -0x15e0 | a3 = s0 + -0x15e0;
| /* str.Failed_to_emit_PropertiesChanged_signal_for_Mute_on_interface__s */
0x0003a7bc addiu a2, a2, 0x184 | a2 += segment.NOTE;
0x0003a7c0 addiu a1, zero, 1 | a1 = 1;
0x0003a7c4 addiu a0, zero, 4 | a0 = 4;
0x0003a7c8 jalr t9 | t9 ();
0x0003a7cc move s1, zero | s1 = 0;
0x0003a7d0 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0003a7d4 b 0x3a3f0 | goto label_1;
| label_31:
0x0003a7d8 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0003a7dc lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0003a7e0 lw t9, -0x78e8(gp) | t9 = sym.imp.sd_bus_error_set_const;
| /* str.Could_not_write_configuration_ */
0x0003a7e4 addiu a2, a2, 0x13c | a2 += aav.0x0000013c;
| /* str.com.axis.AudioControl.Error.WriteConfig */
0x0003a7e8 addiu a1, a1, 0x15c | a1 += aav.0x0000015c;
0x0003a7ec move a0, s5 | a0 = s5;
0x0003a7f0 jalr t9 | t9 ();
0x0003a7f4 move s1, v0 | s1 = v0;
0x0003a7f8 lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0003a7fc b 0x3a3f0 | goto label_1;
| label_33:
0x0003a800 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0003a804 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| /* str.com.axis.AudioControl */
0x0003a808 addiu a3, s0, -0x15e0 | a3 = s0 + -0x15e0;
| /* str.Failed_to_emit_PropertiesChanged_signal_for_Gain_on_interface__s */
0x0003a80c addiu a2, a2, 0x26c | a2 += 0x26c;
0x0003a810 addiu a1, zero, 1 | a1 = 1;
0x0003a814 addiu a0, zero, 4 | a0 = 4;
0x0003a818 jalr t9 | t9 ();
0x0003a81c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0003a820 b 0x3a5d4 | goto label_8;
| label_32:
0x0003a824 lw a2, -0x7ea4(gp) | a2 = *((gp - 8105));
0x0003a828 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| /* str.OutputGain */
0x0003a82c addiu s0, s0, -0x175c | s0 += -0x175c;
0x0003a830 sw s6, 0x14(sp) | *(var_8ch) = s6;
0x0003a834 sw s0, 0x10(sp) | *(var_88h) = s0;
| /* str.com.axis.Configuration.Legacy */
0x0003a838 addiu a3, s1, -0x1654 | a3 = s1 + -0x1654;
| /* str.Failed_to_emit_changed__s._s_signal_on__s */
0x0003a83c addiu a2, a2, -0x6e20 | a2 += -0x6e20;
0x0003a840 addiu a1, zero, 1 | a1 = 1;
0x0003a844 addiu a0, zero, 4 | a0 = 4;
0x0003a848 jalr t9 | t9 ();
0x0003a84c lw gp, 0x18(sp) | gp = *(var_18h_2);
0x0003a850 b 0x3a5a8 | goto label_9;
| label_28:
0x0003a854 lw t9, -0x7f4c(gp) | t9 = sym.legacy_conf_output_get_gain_value;
0x0003a858 move a0, s3 | a0 = s3;
0x0003a85c bal 0x2912c | sym_legacy_conf_output_get_gain_value ();
0x0003a860 lw v1, 0x2c(sp) | v1 = *(var_2ch_4);
0x0003a864 lw gp, 0x18(sp) | gp = *(var_18h_2);
| if (v0 != v1) {
0x0003a868 bne v0, v1, 0x3a4cc | goto label_10;
| }
0x0003a86c move s1, zero | s1 = 0;
0x0003a870 b 0x3a3f0 | goto label_1;
| label_25:
0x0003a874 lw t9, -0x79a8(gp) | t9 = sym.imp.__stack_chk_fail;
0x0003a878 jalr t9 | t9 ();
0x0003a87c nop |
0x0003a880 lui gp, 3 |
0x0003a884 addiu gp, gp, -0x67a0 |
0x0003a888 addu gp, gp, t9 | gp += t9;
0x0003a88c addiu sp, sp, -0x78 |
0x0003a890 lw t9, -0x7c4c(gp) | t9 = sym.audiocontrol_conf_get_output;
0x0003a894 sw s1, 0x54(sp) | *(var_54h_3) = s1;
0x0003a898 lw s1, 0x8c(sp) | s1 = *(var_8ch);
0x0003a89c sw s3, 0x5c(sp) | *(var_5ch_3) = s3;
0x0003a8a0 sw s2, 0x58(sp) | *(var_58h_3) = s2;
0x0003a8a4 lw v1, (s1) | v1 = *(s1);
0x0003a8a8 lw s2, -0x7934(gp) | s2 = *((gp - 7757));
0x0003a8ac sw s6, 0x68(sp) | *(var_68h) = s6;
0x0003a8b0 lw s3, 0x98(v1) | s3 = *((v1 + 38));
0x0003a8b4 lw v0, (s2) | v0 = *(s2);
0x0003a8b8 sw s4, 0x60(sp) | *(var_60h_3) = s4;
0x0003a8bc lw v1, 0xc(s3) | v1 = *((s3 + 3));
0x0003a8c0 move s4, a1 | s4 = a1;
0x0003a8c4 move s6, a0 | s6 = a0;
0x0003a8c8 lw a1, 4(s1) | a1 = *((s1 + 1));
0x0003a8cc lw a0, 8(v1) | a0 = *((v1 + 2));
0x0003a8d0 sw gp, 0x18(sp) | *(var_18h_3) = gp;
0x0003a8d4 sw ra, 0x74(sp) | *(var_74h) = ra;
0x0003a8d8 sw s7, 0x6c(sp) | *(var_6ch) = s7;
0x0003a8dc sw s5, 0x64(sp) | *(var_64h_3) = s5;
0x0003a8e0 sw s0, 0x50(sp) | *(var_50h_3) = s0;
0x0003a8e4 sw fp, 0x70(sp) | *(var_70h) = fp;
0x0003a8e8 sw v0, 0x4c(sp) | *(var_4ch_3) = v0;
0x0003a8ec lw s7, 0x88(sp) | s7 = *(var_88h);
0x0003a8f0 lw s5, 0x90(sp) | s5 = *(var_18h_2);
0x0003a8f4 bal 0x26ae0 | sym_audiocontrol_conf_get_output ();
0x0003a8f8 lw gp, 0x18(sp) | gp = *(var_18h_3);
0x0003a8fc lw s0, 0xc(v0) | s0 = *((v0 + 3));
0x0003a900 addiu v0, sp, 0x38 | v0 = sp + 0x38;
0x0003a904 lw a1, -0x7ea4(gp) | a1 = *((gp - 8105));
0x0003a908 lw t9, -0x7784(gp) | t9 = sym.imp.__isoc99_sscanf;
0x0003a90c addiu a3, sp, 0x34 | a3 = sp + 0x34;
0x0003a910 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x0003a914 addiu a2, sp, 0x30 | a2 = sp + 0x30;
| /* str._com_axis_AudioControl_Device__d_Output__d__d */
0x0003a918 addiu a1, a1, -0x604c | a1 += -0x604c;
0x0003a91c move a0, s4 | a0 = s4;
0x0003a920 sw zero, 0x28(sp) | *(var_28h_2) = 0;
0x0003a924 jalr t9 | t9 ();
0x0003a928 addiu v1, zero, 3 | v1 = 3;
0x0003a92c lw gp, 0x18(sp) | gp = *(var_18h_3);
| if (v0 == v1) {
0x0003a930 beq v0, v1, 0x3aa94 | goto label_35;
| }
| label_11:
0x0003a934 lw t9, -0x77a4(gp) | t9 = sym.imp.sd_bus_message_read_array;
| label_12:
0x0003a938 move a0, s7 | a0 = s7;
0x0003a93c addiu a3, sp, 0x2c | a3 = sp + 0x2c;
0x0003a940 addiu a2, sp, 0x28 | a2 = sp + 0x28;
0x0003a944 addiu a1, zero, 0x79 | a1 = 0x79;
0x0003a948 jalr t9 | t9 ();
0x0003a94c move s7, v0 | s7 = v0;
0x0003a950 lw gp, 0x18(sp) | gp = *(var_18h_3);
| if (v0 < 0) {
0x0003a954 bltz v0, 0x3aba4 | goto label_36;
| }
0x0003a958 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0003a95c lw s7, 0x28(sp) | s7 = *(var_28h_2);
0x0003a960 lw t9, -0x7a40(gp) | t9 = sym.imp.strncmp;
0x0003a964 addiu a2, zero, 7 | a2 = 7;
| /* str.inherit */
0x0003a968 addiu a1, a1, 0x64ac | a1 += 0x64ac;
0x0003a96c move a0, s7 | a0 = s7;
0x0003a970 jalr t9 | t9 ();
0x0003a974 lw gp, 0x18(sp) | gp = *(var_18h_3);
0x0003a978 lw fp, (s1) | fp = *(s1);
| if (v0 == 0) {
0x0003a97c beqz v0, 0x3aa64 | goto label_37;
| }
0x0003a980 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0003a984 lw t9, -0x7a7c(gp) | t9 = sym.imp.strcmp;
| /* esilref: 'mute' */
0x0003a988 addiu a1, a1, 0x10c | a1 += aav.0x0000010c;
0x0003a98c move a0, s7 | a0 = s7;
0x0003a990 jalr t9 | t9 ();
0x0003a994 lw gp, 0x18(sp) | gp = *(var_18h_3);
| if (v0 != 0) {
0x0003a998 bnez v0, 0x3aab8 | goto label_38;
| }
0x0003a99c addiu v0, zero, 1 | v0 = 1;
0x0003a9a0 sb v0, 8(s0) | *((s0 + 8)) = v0;
0x0003a9a4 lw a1, 4(s0) | a1 = *((s0 + 1));
0x0003a9a8 addiu v0, zero, -1 | v0 = -1;
0x0003a9ac sw v0, 0xc(s0) | *((s0 + 3)) = v0;
| label_13:
0x0003a9b0 lw t9, 0x1c(fp) | t9 = *(arg_1ch);
0x0003a9b4 lw a0, 4(s1) | a0 = *((s1 + 1));
0x0003a9b8 jalr t9 | t9 ();
0x0003a9bc lw gp, 0x18(sp) | gp = *(var_18h_3);
| if (v0 == 0) {
0x0003a9c0 beqz v0, 0x3aa84 | goto label_39;
| }
| do {
0x0003a9c4 lw v0, (s1) | v0 = *(s1);
0x0003a9c8 lbu a1, 8(s0) | a1 = *((s0 + 8));
0x0003a9cc lw t9, 0x20(v0) | t9 = *((v0 + 8));
0x0003a9d0 lw a0, 4(s1) | a0 = *((s1 + 1));
0x0003a9d4 jalr t9 | t9 ();
0x0003a9d8 lw gp, 0x18(sp) | gp = *(var_18h_3);
| if (v0 == 0) {
0x0003a9dc beqz v0, 0x3ab30 | goto label_40;
| }
0x0003a9e0 lw t9, -0x7ee0(gp) | t9 = sym.write_conf;
0x0003a9e4 move a0, s3 | a0 = s3;
0x0003a9e8 jalr t9 | t9 ();
0x0003a9ec lw gp, 0x18(sp) | gp = *(var_18h_3);
| if (v0 < 0) {
0x0003a9f0 bltz v0, 0x3abf8 | goto label_41;
| }
0x0003a9f4 lw s0, -0x7fdc(gp) | s0 = *(gp);
0x0003a9f8 lw s1, -0x7fdc(gp) | s1 = *(gp);
0x0003a9fc lw t9, -0x79b4(gp) | t9 = sym.imp.sd_bus_emit_properties_changed;
0x0003aa00 sw zero, 0x10(sp) | *(var_10h_2) = 0;
| /* str.OutputGain */
0x0003aa04 addiu a3, s0, -0x175c | a3 = s0 + -0x175c;
| /* str.com.axis.Configuration.Legacy */
0x0003aa08 addiu a2, s1, -0x1654 | a2 = s1 + -0x1654;
0x0003aa0c move a1, s4 | a1 = s4;
0x0003aa10 move a0, s6 | a0 = s6;
0x0003aa14 jalr t9 | t9 ();
0x0003aa18 lw gp, 0x18(sp) | gp = *(var_18h_3);
| if (v0 < 0) {
0x0003aa1c bltz v0, 0x3ac20 | goto label_42;
| }
0x0003aa20 move s7, zero | s7 = 0;
| label_14:
0x0003aa24 lw a0, 0x4c(sp) | a0 = *(var_4ch_3);
0x0003aa28 lw v1, (s2) | v1 = *(s2);
0x0003aa2c move v0, s7 | v0 = s7;
| if (a0 != v1) {
0x0003aa30 bne a0, v1, 0x3ac54 | goto label_43;
| }
0x0003aa34 lw ra, 0x74(sp) | ra = *(var_74h);
0x0003aa38 lw fp, 0x70(sp) | fp = *(var_70h);
0x0003aa3c lw s7, 0x6c(sp) | s7 = *(var_6ch);
0x0003aa40 lw s6, 0x68(sp) | s6 = *(var_68h);
0x0003aa44 lw s5, 0x64(sp) | s5 = *(var_64h_3);
0x0003aa48 lw s4, 0x60(sp) | s4 = *(var_60h_3);
0x0003aa4c lw s3, 0x5c(sp) | s3 = *(var_5ch_3);
0x0003aa50 lw s2, 0x58(sp) | s2 = *(var_58h_3);
0x0003aa54 lw s1, 0x54(sp) | s1 = *(var_54h_3);
0x0003aa58 lw s0, 0x50(sp) | s0 = *(var_50h_3);
0x0003aa5c addiu sp, sp, 0x78 |
0x0003aa60 jr ra | return v0;
| label_37:
0x0003aa64 lw a1, 4(s0) | a1 = *((s0 + 1));
0x0003aa68 lw t9, 0x1c(fp) | t9 = *(arg_1ch);
0x0003aa6c lw a0, 4(s1) | a0 = *((s1 + 1));
0x0003aa70 sw zero, 0xc(s0) | *((s0 + 3)) = 0;
0x0003aa74 sb zero, 8(s0) | *((s0 + 8)) = 0;
0x0003aa78 jalr t9 | t9 ();
0x0003aa7c lw gp, 0x18(sp) | gp = *(var_18h_3);
0x0003aa80 bnez v0, 0x3a9c4 |
| } while (v0 != 0);
| label_39:
0x0003aa84 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0003aa88 lw t9, -0x78e8(gp) | t9 = sym.imp.sd_bus_error_set_const;
| /* str.Could_not_update_output_gain */
0x0003aa8c addiu a2, a2, 0x24c | a2 += 0x24c;
0x0003aa90 b 0x3ab3c | goto label_44;
| label_35:
0x0003aa94 lw v1, 0x38(sp) | v1 = *(var_38h);
0x0003aa98 addiu v1, v1, 1 | v1++;
| if (v1 < 0) {
0x0003aa9c bltz v1, 0x3a934 | goto label_11;
| }
0x0003aaa0 move v0, zero | v0 = 0;
| do {
0x0003aaa4 addiu v0, v0, 1 | v0++;
0x0003aaa8 lw s0, 0x14(s0) | s0 = *((s0 + 5));
0x0003aaac bne v0, v1, 0x3aaa4 |
| } while (v0 != v1);
0x0003aab0 lw t9, -0x77a4(gp) | t9 = sym.imp.sd_bus_message_read_array;
0x0003aab4 b 0x3a938 | goto label_12;
| label_38:
0x0003aab8 lw v0, 0x78(fp) | v0 = *(arg_78h);
0x0003aabc addiu v1, zero, -1 | v1 = -1;
0x0003aac0 sw v1, 0xc(s0) | *((s0 + 3)) = v1;
0x0003aac4 sb zero, 8(s0) | *((s0 + 8)) = 0;
0x0003aac8 lw t9, -0x7784(gp) | t9 = sym.imp.__isoc99_sscanf;
| if (v0 == 0) {
0x0003aacc beqz v0, 0x3ab58 | goto label_45;
| }
0x0003aad0 lw a1, -0x7ea4(gp) | a1 = *((gp - 8105));
0x0003aad4 addiu a3, sp, 0x27 | a3 = sp + 0x27;
0x0003aad8 addiu a2, sp, 0x40 | a2 = sp + 0x40;
| /* str._lf_c */
0x0003aadc addiu a1, a1, -0x6af8 | a1 += -0x6af8;
0x0003aae0 move a0, s7 | a0 = s7;
0x0003aae4 jalr t9 | t9 ();
0x0003aae8 addiu v1, zero, 1 | v1 = 1;
0x0003aaec lw gp, 0x18(sp) | gp = *(var_18h_3);
| if (v0 != v1) {
0x0003aaf0 bne v0, v1, 0x3ab7c | goto label_46;
| }
0x0003aaf4 lw v0, (s1) | v0 = *(s1);
0x0003aaf8 lw a0, 0x40(sp) | a0 = *(var_40h_3);
0x0003aafc lw a1, 0x44(sp) | a1 = *(var_44h_4);
0x0003ab00 lw t9, 0x78(v0) | t9 = *((v0 + 30));
0x0003ab04 addiu a2, sp, 0x3c | a2 = sp + 0x3c;
0x0003ab08 jalr t9 | t9 ();
0x0003ab0c lw gp, 0x18(sp) | gp = *(var_18h_3);
| if (v0 == 0) {
0x0003ab10 beqz v0, 0x3ab7c | goto label_46;
| }
| do {
0x0003ab14 lw a1, 0x3c(sp) | a1 = *(var_3ch_5);
0x0003ab18 addiu v0, zero, -1 | v0 = -1;
0x0003ab1c lw fp, (s1) | fp = *(s1);
0x0003ab20 sb zero, 8(s0) | *((s0 + 8)) = 0;
0x0003ab24 sw v0, 0xc(s0) | *((s0 + 3)) = v0;
0x0003ab28 sw a1, 4(s0) | *((s0 + 1)) = a1;
0x0003ab2c b 0x3a9b0 | goto label_13;
| label_40:
0x0003ab30 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0003ab34 lw t9, -0x78e8(gp) | t9 = sym.imp.sd_bus_error_set_const;
| /* str.Could_not_update_output_mute */
0x0003ab38 addiu a2, a2, 0xf4 | a2 += 0xf4;
| label_44:
0x0003ab3c lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0003ab40 move a0, s5 | a0 = s5;
| /* str.com.axis.AudioControl.Error.MixerError */
0x0003ab44 addiu a1, a1, 0x114 | a1 += aav.0x00000114;
0x0003ab48 jalr t9 | t9 ();
0x0003ab4c move s7, v0 | s7 = v0;
0x0003ab50 lw gp, 0x18(sp) | gp = *(var_18h_3);
0x0003ab54 b 0x3aa24 | goto label_14;
| label_45:
0x0003ab58 lw a1, -0x7ea4(gp) | a1 = *((gp - 8105));
0x0003ab5c addiu a3, sp, 0x40 | a3 = sp + 0x40;
0x0003ab60 addiu a2, sp, 0x3c | a2 = sp + 0x3c;
| /* str._d_c */
0x0003ab64 addiu a1, a1, -0x6af0 | a1 += -0x6af0;
0x0003ab68 move a0, s7 | a0 = s7;
0x0003ab6c jalr t9 | t9 ();
0x0003ab70 addiu v1, zero, 1 | v1 = 1;
0x0003ab74 lw gp, 0x18(sp) | gp = *(var_18h_3);
0x0003ab78 beq v0, v1, 0x3ab14 |
| } while (v0 == v1);
| label_46:
0x0003ab7c lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0003ab80 lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0003ab84 lw t9, -0x78e8(gp) | t9 = sym.imp.sd_bus_error_set_const;
| /* str.Could_not_parse_argument */
0x0003ab88 addiu a2, a2, 0xac | a2 += 0xac;
| /* str.com.axis.AudioControl.Error.InvalidArgument */
0x0003ab8c addiu a1, a1, 0xc8 | a1 += 0xc8;
0x0003ab90 move a0, s5 | a0 = s5;
0x0003ab94 jalr t9 | t9 ();
0x0003ab98 move s7, v0 | s7 = v0;
0x0003ab9c lw gp, 0x18(sp) | gp = *(var_18h_3);
0x0003aba0 b 0x3aa24 | goto label_14;
| label_36:
0x0003aba4 lw t9, -0x7740(gp) | t9 = sym.imp.strerror;
0x0003aba8 negu a0, v0 | __asm ("negu a0, v0");
0x0003abac jalr t9 | t9 ();
0x0003abb0 lw gp, 0x18(sp) | gp = *(var_18h_3);
0x0003abb4 move a3, v0 | a3 = v0;
0x0003abb8 addiu a1, zero, 1 | a1 = 1;
0x0003abbc lw a2, -0x7ea4(gp) | a2 = *((gp - 8105));
0x0003abc0 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| /* str.Failed_to_parse_parameters:__s */
0x0003abc4 addiu a2, a2, -0x6b40 | a2 += -0x6b40;
0x0003abc8 addiu a0, zero, 3 | a0 = 3;
0x0003abcc jalr t9 | t9 ();
0x0003abd0 lw gp, 0x18(sp) | gp = *(var_18h_3);
0x0003abd4 move a0, s5 | a0 = s5;
0x0003abd8 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0003abdc lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0003abe0 lw t9, -0x78e8(gp) | t9 = sym.imp.sd_bus_error_set_const;
| /* str.Could_not_parse_argument */
0x0003abe4 addiu a2, a2, 0xac | a2 += 0xac;
| /* str.com.axis.AudioControl.Error.InvalidArgument */
0x0003abe8 addiu a1, a1, 0xc8 | a1 += 0xc8;
0x0003abec jalr t9 | t9 ();
0x0003abf0 lw gp, 0x18(sp) | gp = *(var_18h_3);
0x0003abf4 b 0x3aa24 | goto label_14;
| label_41:
0x0003abf8 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x0003abfc lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0003ac00 lw t9, -0x78e8(gp) | t9 = sym.imp.sd_bus_error_set_const;
| /* str.Could_not_write_configuration_ */
0x0003ac04 addiu a2, a2, 0x13c | a2 += aav.0x0000013c;
| /* str.com.axis.AudioControl.Error.WriteConfig */
0x0003ac08 addiu a1, a1, 0x15c | a1 += aav.0x0000015c;
0x0003ac0c move a0, s5 | a0 = s5;
0x0003ac10 jalr t9 | t9 ();
0x0003ac14 move s7, v0 | s7 = v0;
0x0003ac18 lw gp, 0x18(sp) | gp = *(var_18h_3);
0x0003ac1c b 0x3aa24 | goto label_14;
| label_42:
0x0003ac20 lw a2, -0x7ea4(gp) | a2 = *((gp - 8105));
0x0003ac24 lw t9, -0x7954(gp) | t9 = sym.imp.__syslog_chk;
| /* str.OutputGain */
0x0003ac28 addiu s0, s0, -0x175c | s0 += -0x175c;
0x0003ac2c sw s4, 0x14(sp) | *(var_9ch) = s4;
0x0003ac30 sw s0, 0x10(sp) | *(var_10h_2) = s0;
| /* str.com.axis.Configuration.Legacy */
0x0003ac34 addiu a3, s1, -0x1654 | a3 = s1 + -0x1654;
| /* str.Failed_to_emit_changed__s._s_signal_on__s */
0x0003ac38 addiu a2, a2, -0x6e20 | a2 += -0x6e20;
0x0003ac3c addiu a1, zero, 1 | a1 = 1;
0x0003ac40 addiu a0, zero, 4 | a0 = 4;
0x0003ac44 jalr t9 | t9 ();
0x0003ac48 move s7, zero | s7 = 0;
0x0003ac4c lw gp, 0x18(sp) | gp = *(var_18h_3);
0x0003ac50 b 0x3aa24 | goto label_14;
| label_43:
0x0003ac54 lw t9, -0x79a8(gp) | t9 = sym.imp.__stack_chk_fail;
0x0003ac58 jalr t9 | t9 ();
0x0003ac5c nop |
0x0003ac60 lui gp, 3 |
0x0003ac64 addiu gp, gp, -0x6b80 |
0x0003ac68 addu gp, gp, t9 | gp += t9;
0x0003ac6c addiu sp, sp, -0x88 |
0x0003ac70 lw t9, -0x7c4c(gp) | t9 = sym.audiocontrol_conf_get_output;
0x0003ac74 sw s1, 0x70(sp) | *(var_70h_2) = s1;
0x0003ac78 lw s1, 0x9c(sp) | s1 = *(var_9ch);
0x0003ac7c sw s2, 0x74(sp) | *(var_74h_2) = s2;
0x0003ac80 lw s2, -0x7934(gp) | s2 = *((gp - 7757));
0x0003ac84 lw v0, (s1) | v0 = *(s1);
0x0003ac88 sw s5, 0x80(sp) | *(var_80h) = s5;
0x0003ac8c lw v1, (s2) | v1 = *(s2);
0x0003ac90 lw v0, 0x98(v0) | v0 = *((v0 + 38));
0x0003ac94 move s5, a1 | s5 = a1;
0x0003ac98 lw a1, 4(s1) | a1 = *((s1 + 1));
0x0003ac9c lw v0, 0xc(v0) | v0 = *((v0 + 3));
0x0003aca0 sw gp, 0x20(sp) | *(var_20h) = gp;
0x0003aca4 sw v1, 0x64(sp) | *(var_64h_4) = v1;
0x0003aca8 lw a0, 8(v0) | a0 = *((v0 + 2));
0x0003acac sw ra, 0x84(sp) | *(var_84h) = ra;
0x0003acb0 sw s4, 0x7c(sp) | *(var_7ch) = s4;
0x0003acb4 sw s3, 0x78(sp) | *(var_78h) = s3;
0x0003acb8 sw s0, 0x6c(sp) | *(var_6ch_2) = s0;
0x0003acbc lw s3, 0x98(sp) | s3 = *(var_10h_2);
0x0003acc0 lw s4, 0xa0(sp) | s4 = *(var_18h_3);
0x0003acc4 bal 0x26ae0 | sym_audiocontrol_conf_get_output ();
0x0003acc8 lw gp, 0x20(sp) | gp = *(var_20h);
0x0003accc lw s0, 0xc(v0) | s0 = *((v0 + 3));
0x0003acd0 addiu v0, sp, 0x34 | v0 = sp + 0x34;
0x0003acd4 lw a1, -0x7ea4(gp) | a1 = *((gp - 8105));
0x0003acd8 lw t9, -0x7784(gp) | t9 = sym.imp.__isoc99_sscanf;
0x0003acdc addiu a3, sp, 0x30 | a3 = sp + 0x30;
0x0003ace0 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x0003ace4 addiu a2, sp, 0x2c | a2 = sp + 0x2c;
| /* str._com_axis_AudioControl_Device__d_Output__d__d */
0x0003ace8 addiu a1, a1, -0x604c | a1 += -0x604c;
0x0003acec move a0, s5 | a0 = s5;
0x0003acf0 jalr t9 | t9 ();
0x0003acf4 addiu v1, zero, 3 | v1 = 3;
0x0003acf8 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == v1) {
0x0003acfc beq v0, v1, 0x3addc | goto label_47;
| }
| label_15:
0x0003ad00 lw v0, 0xc(s0) | v0 = *((s0 + 3));
0x0003ad04 lw a1, -0x7fdc(gp) | a1 = *(gp);
| if (v0 == 0) {
0x0003ad08 beqz v0, 0x3ae08 | goto label_48;
| }
0x0003ad0c lbu v0, 8(s0) | v0 = *((s0 + 8));
| label_16:
0x0003ad10 lw a1, -0x7fdc(gp) | a1 = *(gp);
| if (v0 != 0) {
0x0003ad14 bnez v0, 0x3ae20 | goto label_49;
| }
0x0003ad18 lw v0, (s1) | v0 = *(s1);
0x0003ad1c lw t9, 0x7c(v0) | t9 = *((v0 + 31));
0x0003ad20 lw a0, 4(s0) | a0 = *((s0 + 1));
| if (t9 == 0) {
0x0003ad24 beqz t9, 0x3ae38 | goto label_50;
| }
0x0003ad28 addiu a1, sp, 0x38 | a1 = sp + 0x38;
0x0003ad2c jalr t9 | t9 ();
0x0003ad30 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x0003ad34 beqz v0, 0x3adb8 | goto label_51;
| }
0x0003ad38 lw v0, 0x38(sp) | v0 = *(var_38h_3);
0x0003ad3c lw v1, 0x3c(sp) | v1 = *(var_3ch_4);
0x0003ad40 sw v0, 0x18(sp) | *(var_88h_2) = v0;
0x0003ad44 lw v0, -0x7ea4(gp) | v0 = *((gp - 8105));
0x0003ad48 lw t9, -0x7a48(gp) | t9 = sym.imp.__snprintf_chk;
| /* esilref: '&g' */
0x0003ad4c addiu v0, v0, -0x6acc | v0 += -0x6acc;
0x0003ad50 addiu s0, sp, 0x44 | s0 = sp + 0x44;
0x0003ad54 sw v1, 0x1c(sp) | *(var_1ch_3) = v1;
0x0003ad58 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x0003ad5c addiu a3, zero, 0x20 | a3 = 0x20;
0x0003ad60 addiu a2, zero, 1 | a2 = 1;
0x0003ad64 addiu a1, zero, 0x20 | a1 = 0x20;
0x0003ad68 move a0, s0 | a0 = s0;
0x0003ad6c jalr t9 | t9 ();
0x0003ad70 lw gp, 0x20(sp) | gp = *(var_20h);
| label_18:
0x0003ad74 lw t9, -0x7b4c(gp) | t9 = sym.dbus_utils_append_array;
0x0003ad78 move a1, s0 | a1 = s0;
0x0003ad7c move a0, s3 | a0 = s3;
0x0003ad80 bal 0x2df44 | sym_dbus_utils_append_array ();
0x0003ad84 lw gp, 0x20(sp) | gp = *(var_20h);
| do {
| label_17:
0x0003ad88 lw a0, 0x64(sp) | a0 = *(var_64h_4);
0x0003ad8c lw v1, (s2) | v1 = *(s2);
0x0003ad90 lw ra, 0x84(sp) | ra = *(var_84h);
| if (a0 != v1) {
0x0003ad94 bne a0, v1, 0x3ae6c | goto label_52;
| }
0x0003ad98 lw s5, 0x80(sp) | s5 = *(var_80h);
0x0003ad9c lw s4, 0x7c(sp) | s4 = *(var_7ch);
0x0003ada0 lw s3, 0x78(sp) | s3 = *(var_78h);
0x0003ada4 lw s2, 0x74(sp) | s2 = *(var_74h_2);
0x0003ada8 lw s1, 0x70(sp) | s1 = *(var_70h_2);
0x0003adac lw s0, 0x6c(sp) | s0 = *(var_6ch_2);
0x0003adb0 addiu sp, sp, 0x88 |
0x0003adb4 jr ra | return v0;
| label_51:
0x0003adb8 lw a2, -0x7ea4(gp) | a2 = *((gp - 8105));
0x0003adbc lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0003adc0 lw t9, -0x78e8(gp) | t9 = sym.imp.sd_bus_error_set_const;
| /* str.Unknown_value_for_OutputGain */
0x0003adc4 addiu a2, a2, -0x601c | a2 += -0x601c;
| /* str.com.axis.AudioControl.Error.InvalidArgument */
0x0003adc8 addiu a1, a1, 0xc8 | a1 += 0xc8;
0x0003adcc move a0, s4 | a0 = s4;
0x0003add0 jalr t9 | t9 ();
0x0003add4 lw gp, 0x20(sp) | gp = *(var_20h);
0x0003add8 b 0x3ad88 |
| } while (1);
| label_47:
0x0003addc lw v1, 0x34(sp) | v1 = *(var_34h_2);
0x0003ade0 addiu v1, v1, 1 | v1++;
| if (v1 < 0) {
0x0003ade4 bltz v1, 0x3ad00 | goto label_15;
| }
0x0003ade8 move v0, zero | v0 = 0;
| do {
0x0003adec addiu v0, v0, 1 | v0++;
0x0003adf0 lw s0, 0x14(s0) | s0 = *((s0 + 5));
0x0003adf4 bne v1, v0, 0x3adec |
| } while (v1 != v0);
0x0003adf8 lw v0, 0xc(s0) | v0 = *((s0 + 3));
0x0003adfc lbu v0, 8(s0) | v0 = *((s0 + 8));
| if (v0 == 0) {
0x0003ae00 bnel v0, zero, 0x3ad10 | goto label_16;
| }
0x0003ae04 lw a1, -0x7fdc(gp) | a1 = *(gp);
| label_48:
0x0003ae08 lw t9, -0x7b4c(gp) | t9 = sym.dbus_utils_append_array;
| /* str.inherit */
0x0003ae0c addiu a1, a1, 0x64ac | a1 += 0x64ac;
0x0003ae10 move a0, s3 | a0 = s3;
0x0003ae14 bal 0x2df44 | sym_dbus_utils_append_array ();
0x0003ae18 lw gp, 0x20(sp) | gp = *(var_20h);
0x0003ae1c b 0x3ad88 | goto label_17;
| label_49:
0x0003ae20 lw t9, -0x7b4c(gp) | t9 = sym.dbus_utils_append_array;
| /* esilref: 'mute' */
0x0003ae24 addiu a1, a1, 0x10c | a1 += aav.0x0000010c;
0x0003ae28 move a0, s3 | a0 = s3;
0x0003ae2c bal 0x2df44 | sym_dbus_utils_append_array ();
0x0003ae30 lw gp, 0x20(sp) | gp = *(var_20h);
0x0003ae34 b 0x3ad88 | goto label_17;
| label_50:
0x0003ae38 lw v0, -0x7ea4(gp) | v0 = *((gp - 8105));
0x0003ae3c lw t9, -0x7a48(gp) | t9 = sym.imp.__snprintf_chk;
| /* esilref: '&d' */
0x0003ae40 addiu v0, v0, -0x6afc | v0 += -0x6afc;
0x0003ae44 addiu s0, sp, 0x44 | s0 = sp + 0x44;
0x0003ae48 sw a0, 0x14(sp) | *(var_84h_2) = a0;
0x0003ae4c sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x0003ae50 addiu a3, zero, 0x20 | a3 = 0x20;
0x0003ae54 addiu a2, zero, 1 | a2 = 1;
0x0003ae58 addiu a1, zero, 0x20 | a1 = 0x20;
0x0003ae5c move a0, s0 | a0 = s0;
0x0003ae60 jalr t9 | t9 ();
0x0003ae64 lw gp, 0x20(sp) | gp = *(var_20h);
0x0003ae68 b 0x3ad74 | goto label_18;
| label_52:
0x0003ae6c lw t9, -0x79a8(gp) | t9 = sym.imp.__stack_chk_fail;
0x0003ae70 jalr t9 | t9 ();
0x0003ae74 nop |
0x0003ae78 lui gp, 3 |
0x0003ae7c addiu gp, gp, -0x6d98 |
0x0003ae80 addu gp, gp, t9 | gp += t9;
0x0003ae84 addiu sp, sp, -0x70 |
0x0003ae88 lw t9, -0x7f50(gp) | t9 = sym.legacy_conf_get_output;
0x0003ae8c sw s1, 0x5c(sp) | *(var_5ch_4) = s1;
0x0003ae90 lw s1, 0x84(sp) | s1 = *(var_84h_2);
0x0003ae94 sw s2, 0x60(sp) | *(var_60h_4) = s2;
0x0003ae98 lw s2, -0x7934(gp) | s2 = *((gp - 7757));
0x0003ae9c lw v1, (s1) | v1 = *(s1);
0x0003aea0 lw a1, 4(s1) | a1 = *((s1 + 1));
0x0003aea4 lw v0, (s2) | v0 = *(s2);
0x0003aea8 lw a0, 0x98(v1) | a0 = *((v1 + 38));
0x0003aeac sw gp, 0x20(sp) | *(var_20h_2) = gp;
0x0003aeb0 sw ra, 0x6c(sp) | *(var_6ch_3) = ra;
0x0003aeb4 sw s4, 0x68(sp) | *(var_68h_2) = s4;
0x0003aeb8 sw s3, 0x64(sp) | *(var_64h_5) = s3;
0x0003aebc sw s0, 0x58(sp) | *(var_58h_4) = s0;
0x0003aec0 sw v0, 0x54(sp) | *(var_54h_4) = v0;
0x0003aec4 lw s3, 0x80(sp) | s3 = *(var_10h_3);
0x0003aec8 lw s4, 0x88(sp) | s4 = *(var_88h_2);
0x0003aecc bal 0x28f40 | sym_legacy_conf_get_output ();
0x0003aed0 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x0003aed4 move a0, v0 | a0 = v0;
0x0003aed8 lw t9, -0x7f54(gp) | t9 = sym.legacy_conf_output_get_inherit;
0x0003aedc move s0, v0 | s0 = v0;
0x0003aee0 bal 0x290d0 | sym_legacy_conf_output_get_inherit ();
0x0003aee4 addiu v1, zero, -1 | v1 = -1;
0x0003aee8 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 == v1) {
0x0003aeec beq v0, v1, 0x3af80 | goto label_53;
| }
0x0003aef0 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x0003aef4 addiu s1, sp, 0x34 | s1 = sp + 0x34;
| /* str.inherit */
0x0003aef8 addiu a0, v0, 0x64ac | a0 = v0 + 0x64ac;
0x0003aefc lw v1, 0x64ac(v0) | v1 = *((v0 + 6443));
0x0003af00 lw v0, 4(a0) | v0 = *((a0 + 1));
0x0003af04 lw t9, -0x7f54(gp) | t9 = sym.legacy_conf_output_get_inherit;
0x0003af08 sb zero, 0x3c(sp) | *(var_3ch_3) = 0;
0x0003af0c sw v1, 0x34(sp) | *(var_34h_4) = v1;
0x0003af10 move a0, s0 | a0 = s0;
0x0003af14 sw v0, 4(s1) | *((s1 + 1)) = v0;
0x0003af18 bal 0x290d0 | sym_legacy_conf_output_get_inherit ();
0x0003af1c lw gp, 0x20(sp) | gp = *(var_20h_2);
0x0003af20 bgtz v0, 0x3af64 |
| while (1) {
| label_20:
0x0003af24 lw t9, -0x7b4c(gp) | t9 = sym.dbus_utils_append_array;
0x0003af28 move a1, s1 | a1 = s1;
0x0003af2c move a0, s3 | a0 = s3;
0x0003af30 bal 0x2df44 | sym_dbus_utils_append_array ();
0x0003af34 lw gp, 0x20(sp) | gp = *(var_20h_2);
| label_19:
0x0003af38 lw a0, 0x54(sp) | a0 = *(var_54h_4);
0x0003af3c lw v1, (s2) | v1 = *(s2);
0x0003af40 lw ra, 0x6c(sp) | ra = *(var_6ch_3);
| if (a0 != v1) {
0x0003af44 bne a0, v1, 0x3b084 | goto label_54;
| }
0x0003af48 lw s4, 0x68(sp) | s4 = *(var_68h_2);
0x0003af4c lw s3, 0x64(sp) | s3 = *(var_64h_5);
0x0003af50 lw s2, 0x60(sp) | s2 = *(var_60h_4);
0x0003af54 lw s1, 0x5c(sp) | s1 = *(var_5ch_4);
0x0003af58 lw s0, 0x58(sp) | s0 = *(var_58h_4);
0x0003af5c addiu sp, sp, 0x70 |
0x0003af60 jr ra | return v0;
0x0003af64 lw t9, -0x7f54(gp) | t9 = sym.legacy_conf_output_get_inherit;
0x0003af68 move a0, s0 | a0 = s0;
0x0003af6c bal 0x290d0 | sym_legacy_conf_output_get_inherit ();
0x0003af70 addiu v0, v0, 0x30 | v0 += 0x30;
0x0003af74 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x0003af78 sb v0, 0x3b(sp) | *(var_3bh) = v0;
0x0003af7c b 0x3af24 |
| }
| label_53:
0x0003af80 lw t9, -0x7f58(gp) | t9 = sym.legacy_conf_output_get_mute;
0x0003af84 move a0, s0 | a0 = s0;
0x0003af88 bal 0x290dc | sym_legacy_conf_output_get_mute ();
0x0003af8c lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 == 0) {
0x0003af90 bnez v0, 0x3b02c |
0x0003af94 lw v0, (s1) | v0 = *(s1);
0x0003af98 lw t9, -0x7f4c(gp) | t9 = sym.legacy_conf_output_get_gain_value;
0x0003af9c lw s1, 0x7c(v0) | s1 = *((v0 + 31));
0x0003afa0 move a0, s0 | a0 = s0;
| if (s1 == 0) {
0x0003afa4 beqz s1, 0x3b048 | goto label_55;
| }
0x0003afa8 bal 0x2912c | sym_legacy_conf_output_get_gain_value ();
0x0003afac nop |
0x0003afb0 move a0, v0 | a0 = v0;
0x0003afb4 move t9, s1 | t9 = s1;
0x0003afb8 addiu a1, sp, 0x28 | a1 = sp + 0x28;
0x0003afbc jalr t9 | t9 ();
0x0003afc0 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 == 0) {
0x0003afc4 bnez v0, 0x3afec |
0x0003afc8 lw a2, -0x7ea4(gp) | a2 = *((gp - 8105));
0x0003afcc lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0003afd0 lw t9, -0x78e8(gp) | t9 = sym.imp.sd_bus_error_set_const;
| /* str.Unknown_value_for_OutputGain */
0x0003afd4 addiu a2, a2, -0x601c | a2 += -0x601c;
| /* str.com.axis.AudioControl.Error.InvalidArgument */
0x0003afd8 addiu a1, a1, 0xc8 | a1 += 0xc8;
0x0003afdc move a0, s4 | a0 = s4;
0x0003afe0 jalr t9 | t9 ();
0x0003afe4 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x0003afe8 b 0x3af38 | goto label_19;
| }
0x0003afec lw v0, 0x28(sp) | v0 = *(var_28h_4);
0x0003aff0 lw v1, 0x2c(sp) | v1 = *(var_2ch_3);
0x0003aff4 sw v0, 0x18(sp) | *(var_18h_5) = v0;
0x0003aff8 lw v0, -0x7ea4(gp) | v0 = *((gp - 8105));
0x0003affc lw t9, -0x7a48(gp) | t9 = sym.imp.__snprintf_chk;
| /* esilref: '&g' */
0x0003b000 addiu v0, v0, -0x6acc | v0 += -0x6acc;
0x0003b004 addiu s1, sp, 0x34 | s1 = sp + 0x34;
0x0003b008 sw v1, 0x1c(sp) | *(var_1ch_2) = v1;
0x0003b00c sw v0, 0x10(sp) | *(var_10h_5) = v0;
0x0003b010 addiu a3, zero, 0x20 | a3 = 0x20;
0x0003b014 addiu a2, zero, 1 | a2 = 1;
0x0003b018 addiu a1, zero, 0x20 | a1 = 0x20;
0x0003b01c move a0, s1 | a0 = s1;
0x0003b020 jalr t9 | t9 ();
0x0003b024 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x0003b028 b 0x3af24 | goto label_20;
| }
0x0003b02c lw a1, -0x7fdc(gp) | a1 = *(gp);
0x0003b030 lw t9, -0x7b4c(gp) | t9 = sym.dbus_utils_append_array;
| /* esilref: 'mute' */
0x0003b034 addiu a1, a1, 0x10c | a1 += aav.0x0000010c;
0x0003b038 move a0, s3 | a0 = s3;
0x0003b03c bal 0x2df44 | sym_dbus_utils_append_array ();
0x0003b040 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x0003b044 b 0x3af38 | goto label_19;
| label_55:
0x0003b048 addiu s1, sp, 0x34 | s1 = sp + 0x34;
0x0003b04c bal 0x2912c | sym_legacy_conf_output_get_gain_value ();
0x0003b050 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x0003b054 sw v0, 0x14(sp) | *(var_74h_3) = v0;
0x0003b058 lw v0, -0x7ea4(gp) | v0 = *((gp - 8105));
0x0003b05c lw t9, -0x7a48(gp) | t9 = sym.imp.__snprintf_chk;
| /* esilref: '&d' */
0x0003b060 addiu v0, v0, -0x6afc | v0 += -0x6afc;
0x0003b064 sw v0, 0x10(sp) | *(var_10h_5) = v0;
0x0003b068 addiu a3, zero, 0x20 | a3 = 0x20;
0x0003b06c addiu a2, zero, 1 | a2 = 1;
0x0003b070 addiu a1, zero, 0x20 | a1 = 0x20;
0x0003b074 move a0, s1 | a0 = s1;
0x0003b078 jalr t9 | t9 ();
0x0003b07c lw gp, 0x20(sp) | gp = *(var_20h_2);
0x0003b080 b 0x3af24 | goto label_20;
| label_54:
0x0003b084 lw t9, -0x79a8(gp) | t9 = sym.imp.__stack_chk_fail;
0x0003b088 jalr t9 | t9 ();
0x0003b08c nop |
| }
[*] Function sprintf used 25 times audiocontrol