
size_t quotearg_buffer_restyled
                 (char *buffer,size_t buffersize,char *arg,size_t argsize,
                 quoting_style quoting_style,int flags,uint *quote_these_too,char *left_quote,
                 char *right_quote)

{
  size_t sVar1;
  wchar_t w;
  mbstate_t mbstate;
  
  (*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)();
  if (quoting_style < (custom_quoting_style|shell_quoting_style)) {
                    /* WARNING: Could not emulate address calculation at 0x000149f0 */
                    /* WARNING: Treating indirect jump as call */
    sVar1 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002d108 + quoting_style * 4 + -0x4660)))();
    return sVar1;
  }
  sVar1 = (*(code *)PTR_abort_0002d21c)();
  return sVar1;
}



void FUN_00014940(void)

{
  uint in_stack_00000010;
  
  (*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)();
  if (in_stack_00000010 < 0xb) {
                    /* WARNING: Could not emulate address calculation at 0x000149f0 */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)))();
    return;
  }
  (*(code *)PTR_abort_0002d21c)();
  return;
}


lui gp,0x2
addiu gp,gp,0x790
addu gp,gp,t9
addiu sp,sp,-0xc0
lw v0,-0x7df4(gp)
lw t9,-0x7e20(gp)
lw v1,0xd8(sp)
sw s0,0x98(sp)
sw v0,0x78(sp)
sw v1,0x34(sp)
lw v1,0xd4(sp)
lw v0,0x0(v0)
sw s7,0xb4(sp)
andi s0,v1,0x2
lw v1,0xdc(sp)
lw s7,0xd0(sp)
sw gp,0x28(sp)
sw v1,0x74(sp)
sltu v1,zero,s0
sw v1,0x38(sp)
sw s8,0xb8(sp)
or s8,a0,zero
sw s6,0xb0(sp)
or s6,a3,zero
sw s4,0xa8(sp)
or s4,a1,zero
sw ra,0xbc(sp)
sw s5,0xac(sp)
sw s3,0xa4(sp)
sw s2,0xa0(sp)
sw s1,0x9c(sp)
sw a2,0x3c(sp)
sw v0,0x94(sp)
lw v1,0xe0(sp)
jalr t9
_sw v1,0x70(sp)
sltiu a0,s7,0xb
lw gp,0x28(sp)
beq a0,zero,0x00015d34
_sw v0,0x64(sp)
lw a0,-0x7fc8(gp)
sll v0,s7,0x2
lw v1,0x38(sp)
addiu a0,a0,-0x4660
addu v0,a0,v0
lw v0,0x0(v0)
addu v0,v0,gp
jr v0
_lw t7,0x3c(sp)
bne s0,zero,0x00015c0c
_li v0,0x1
beq s4,zero,0x00015aa8
_li t2,0x1
li v0,0x22
sw zero,0x5c(sp)
sw zero,0x6c(sp)
or t5,zero,zero
sb v0,0x0(s8)
li v0,0x1
or v1,zero,zero
sw v0,0x38(sp)
li t1,0x1
lw v0,-0x7fc8(gp)
li s0,0x1
addiu v0,v0,-0x46e8
sw v0,0x58(sp)
lw v0,-0x7fc8(gp)
or s2,zero,zero
or t0,s8,zero
addiu v0,v0,-0x4040
sw v0,0x60(sp)
lw v0,-0x7fc8(gp)
addiu v0,v0,-0x4634
sw v0,0x3c(sp)
li v0,-0x1
beq s6,v0,0x00014ba8
_addu v0,t7,s2
xor s3,s6,s2
sltu s3,zero,s3
beq s3,zero,0x00014bb8
_nop
beq t1,zero,0x00015310
_addu s8,t7,s2
li v0,0x2
beq s7,v0,0x00014ab4
_lw a0,0x38(sp)
beq a0,zero,0x00014ab4
_li v0,-0x1
beq s6,v0,0x00015598
_addu s1,s2,a0
sltu s1,s6,s1
beq s1,zero,0x00015510
_lw t9,-0x7e04(gp)
lbu s1,0x0(s8)
sltiu v0,s1,0x7f
beq v0,zero,0x00014e90
_lw a0,0x3c(sp)
sll v0,s1,0x2
addu v0,a0,v0
lw v0,0x0(v0)
addu v0,v0,gp
jr v0
_nop
or t6,zero,zero
li v0,-0x1
beq s6,v0,0x00015640
_nop
xori v0,s6,0x1
sltu v0,zero,v0
bne v0,zero,0x00014c30
_or s5,zero,zero
bne s2,zero,0x00014c30
_or s5,zero,zero
or s5,s3,zero
li v0,0x2
beq s7,v0,0x00014c7c
_nop
beq t1,zero,0x00014d1c
_or a0,zero,zero
lw a1,0x34(sp)
beq a1,zero,0x00014b44
_ext v0,s1,0x5,0x8
sll v0,v0,0x2
addu v0,a1,v0
lw v0,0x0(v0)
srlv v0,v0,s1
andi v0,v0,0x1
bne v0,zero,0x00014b4c
_nop
beq t6,zero,0x00014c90
_nop
bne v1,zero,0x00014d40
_or s8,t0,zero
li v0,0x2
beq s7,v0,0x000154b0
_nop
sltu v0,s0,s4
beq v0,zero,0x00014b7c
_addiu v0,s0,0x1
addu v0,t0,s0
li a0,0x5c
sb a0,0x0(v0)
addiu v0,s0,0x1
addiu s2,s2,0x1
sltu a0,v0,s4
beq a0,zero,0x00014b98
_addiu s0,v0,0x1
addu v0,t0,v0
seb s1,s1
sb s1,0x0(v0)
li v0,-0x1
bne s6,v0,0x00014a74
_movz t2,zero,s5
addu v0,t7,s2
lb s3,0x0(v0)
sltu s3,zero,s3
bne s3,zero,0x00014a84
_nop
or s8,t0,zero
bne s0,zero,0x0001569c
_li v0,0x2
beq s7,v0,0x00015a28
_lw v0,0x58(sp)
beq v0,zero,0x00014c1c
_nop
bne v1,zero,0x00014c1c
_lw v0,0x58(sp)
lb v1,0x0(v0)
beq v1,zero,0x00014c1c
_nop
lw a1,0x58(sp)
or v0,s0,zero
sltu a0,v0,s4
beq a0,zero,0x00014c00
_addu a0,s8,v0
sb v1,0x0(a0)
addiu v0,v0,0x1
subu v1,v0,s0
addu v1,a1,v1
lb v1,0x0(v1)
bne v1,zero,0x00014bf4
_sltu a0,v0,s4
or s0,v0,zero
sltu s4,s0,s4
beq s4,zero,0x00015464
_addu v0,s8,s0
b 0x00015464
_sb zero,0x0(v0)
beq t1,zero,0x00014d1c
_li v0,0x2
beq s7,v0,0x00014d1c
_nop
b 0x00014b1c
_or a0,zero,zero
or t6,zero,zero
li v0,0x2
beq s7,v0,0x0001564c
_li s1,0x27
sw s3,0x5c(sp)
b 0x00014b14
_or s5,s3,zero
b 0x00014afc
_or t6,zero,zero
li v0,0x2
or t6,zero,zero
bne s7,v0,0x00014b14
_or s5,zero,zero
bne v1,zero,0x00015408
_or s8,t0,zero
or a0,zero,zero
bne t6,zero,0x00014b4c
_nop
addiu s2,s2,0x1
beq t5,zero,0x00014ca8
_addiu a1,s0,0x1
beq a0,zero,0x00015228
_nop
or t5,a0,zero
b 0x00014b80
_or v0,s0,zero
li v0,0x2
beq s7,v0,0x00015688
_li v0,0x5
bne s7,v0,0x00014cf4
_or t6,zero,zero
lw v0,0xd4(sp)
andi v0,v0,0x4
beq v0,zero,0x00014cf8
_or s5,zero,zero
addiu v0,s2,0x2
sltu a0,v0,s6
beq a0,zero,0x00014c30
_li s1,0x3f
lb a0,0x1(s8)
li a1,0x3f
beq a0,a1,0x00015260
_addu a1,t7,v0
or s5,zero,zero
b 0x00014c30
_li s1,0x3f
li v0,0x2
beq s7,v0,0x00015634
_li s1,0xd
or t6,zero,zero
bne t1,zero,0x00015cc4
_or s5,zero,zero
li s1,0xd
bne v1,zero,0x00014b1c
_or a0,zero,zero
b 0x00014b44
_nop
li s1,0x61
or s5,zero,zero
beq v1,zero,0x00014b58
_li v0,0x2
or s8,t0,zero
li v0,0x2
bne s7,v0,0x0001541c
_lw v0,0x70(sp)
b 0x0001540c
_li v1,0x2
bne v1,zero,0x000159bc
_or t6,zero,zero
li a0,0x2
beq s7,a0,0x0001590c
_addiu v0,s0,0x1
sltu a0,s0,s4
bne a0,zero,0x0001599c
_or a0,s0,zero
or s0,v0,zero
addiu v0,s2,0x1
sltu a1,v0,s6
beq a1,zero,0x00014dd0
_or s5,zero,zero
addu v0,t7,v0
lbu v0,0x0(v0)
addiu v0,v0,-0x30
sltiu v0,v0,0xa
beq v0,zero,0x00014dd0
_nop
sltu v0,s0,s4
beq v0,zero,0x00014dbc
_addiu v0,a0,0x2
addu s0,t0,s0
li v0,0x30
sb v0,0x0(s0)
addiu v0,a0,0x2
sltu a1,v0,s4
bne a1,zero,0x00015b78
_li a1,0x30
addiu s0,a0,0x3
or s5,zero,zero
or a0,t1,zero
b 0x00014b1c
_li s1,0x30
li a0,0xa
or t6,zero,zero
li s1,0x6e
li v0,0x2
bne s7,v0,0x00014d34
_or s5,zero,zero
or v0,s1,zero
or s1,a0,zero
bne v1,zero,0x00015408
_or s8,t0,zero
bne t1,zero,0x000154a8
_or a0,zero,zero
b 0x00014b44
_or s5,zero,zero
or t6,zero,zero
b 0x00014c30
_or s5,t1,zero
or t6,zero,zero
li v0,0x2
beq s7,v0,0x000158a0
_or a0,zero,zero
or s5,t1,zero
b 0x00014b1c
_li s1,0x20
or t6,zero,zero
li a0,0x9
b 0x00014de8
_li s1,0x74
li s1,0x66
b 0x00014d34
_or s5,zero,zero
li s1,0x76
b 0x00014d34
_or s5,zero,zero
li v0,0x2
beq s7,v0,0x0001520c
_nop
beq v1,zero,0x00014e88
_li s1,0x5c
lw v0,0x38(sp)
bne v0,zero,0x00015214
_nop
li s1,0x5c
b 0x00014d34
_or s5,zero,zero
or t6,zero,zero
lw a0,0x64(sp)
li v0,0x1
bne a0,v0,0x000156fc
_lw t9,-0x7ec0(gp)
sw t7,0x68(sp)
sw t0,0x54(sp)
sw t2,0x50(sp)
sw t5,0x4c(sp)
sw v1,0x48(sp)
sw t1,0x44(sp)
jalr t9
_sw t6,0x40(sp)
sll a0,s1,0x1
lw v0,0x0(v0)
li v1,0x1
lw gp,0x28(sp)
or a2,v1,zero
lw t6,0x40(sp)
addu v0,v0,a0
lw t1,0x44(sp)
lw v1,0x48(sp)
lw t5,0x4c(sp)
lhu s5,0x0(v0)
lw t2,0x50(sp)
lw t0,0x54(sp)
lw t7,0x68(sp)
ext s5,s5,0x6,0x1
beq t1,zero,0x00014d1c
_nop
bne s5,zero,0x00014c38
_li v0,0x2
addu t3,s2,a2
or a0,zero,zero
li a1,0x5c
li a3,0x2
li a2,0x27
beq t1,zero,0x00015014
_li t4,0x24
bne s5,zero,0x00015014
_nop
bne v1,zero,0x000159bc
_nop
beq s7,a3,0x000155e8
_nop
sltu v0,s0,s4
beq v0,zero,0x00014f5c
_addiu v0,s0,0x1
addu v0,t0,s0
sb a1,0x0(v0)
addiu v0,s0,0x1
sltu a0,v0,s4
beq a0,zero,0x00014f74
_srl a0,s1,0x6
addu v0,t0,v0
addiu a0,a0,0x30
sb a0,0x0(v0)
addiu v0,s0,0x2
sltu a0,v0,s4
beq a0,zero,0x00014f90
_ext a0,s1,0x3,0x3
addu v0,t0,v0
addiu a0,a0,0x30
sb a0,0x0(v0)
andi s1,s1,0x7
addiu s0,s0,0x3
addiu s1,s1,0x30
or a0,t1,zero
addiu s2,s2,0x1
sltu v0,s2,t3
beq v0,zero,0x00014c94
_nop
beq t5,zero,0x00014ff4
_sltu v0,s0,s4
bne a0,zero,0x00014ff4
_or t5,a0,zero
sltu v0,s0,s4
beq v0,zero,0x00014fd8
_addiu v0,s0,0x1
addu v0,t0,s0
sb a2,0x0(v0)
addiu v0,s0,0x1
sltu t5,v0,s4
beq t5,zero,0x00014fe8
_addu v0,t0,v0
sb a2,0x0(v0)
addiu s0,s0,0x2
or t5,zero,zero
sltu v0,s0,s4
beq v0,zero,0x00015008
_addu v0,t7,s2
addu v0,t0,s0
sb s1,0x0(v0)
addu v0,t7,s2
addiu s0,s0,0x1
bne t1,zero,0x00014f2c
_lbu s1,0x0(v0)
beq t6,zero,0x00014fa0
_sltu v0,s0,s4
beq v0,zero,0x00015028
_addu v0,t0,s0
sb a1,0x0(v0)
addiu s0,s0,0x1
b 0x00014fa0
_or t6,zero,zero
li v0,0xa
beq s7,v0,0x0001508c
_lw s1,-0x7fcc(gp)
or a1,s7,zero
lw a0,-0x7fc8(gp)
sw t7,0x3c(sp)
addiu s1,s1,0x4778
sw v1,0x38(sp)
or t9,s1,zero
bal 0x00014778
_addiu a0,a0,-0x46d0
or a1,s7,zero
lw gp,0x28(sp)
or t9,s1,zero
sw v0,0x74(sp)
lw a0,-0x7fc8(gp)
bal 0x00014778
_addiu a0,a0,-0x46d4
lw gp,0x28(sp)
lw t7,0x3c(sp)
lw v1,0x38(sp)
sw v0,0x70(sp)
beq s0,zero,0x00015b44
_lw a1,0x74(sp)
or s0,zero,zero
lw s1,0x70(sp)
lw t9,-0x7e54(gp)
sw t7,0x40(sp)
sw v1,0x3c(sp)
jalr t9
_or a0,s1,zero
li t2,0x1
lw gp,0x28(sp)
or t5,zero,zero
lw v1,0x3c(sp)
li t1,0x1
lw t7,0x40(sp)
sw s1,0x58(sp)
sw v0,0x38(sp)
sw zero,0x5c(sp)
b 0x00014a48
_sw zero,0x6c(sp)
bne s0,zero,0x00015a50
_li v0,0x1
li t1,0x1
bne s4,zero,0x00015ce4
_li v0,0x1
sw zero,0x6c(sp)
li t2,0x1
sw zero,0x5c(sp)
sw v0,0x38(sp)
or t5,zero,zero
lw v0,-0x7fc8(gp)
or v1,zero,zero
li s0,0x1
li s7,0x2
addiu v0,v0,-0x46d4
b 0x00014a48
_sw v0,0x58(sp)
li v0,0x1
sw zero,0x5c(sp)
li t2,0x1
sw zero,0x6c(sp)
sw v0,0x38(sp)
or t5,zero,zero
lw v0,-0x7fc8(gp)
li v1,0x1
li t1,0x1
or s0,zero,zero
addiu v0,v0,-0x46e8
li s7,0x5
b 0x00014a48
_sw v0,0x58(sp)
li t2,0x1
sw zero,0x5c(sp)
or t5,zero,zero
sw zero,0x6c(sp)
or v1,zero,zero
sw zero,0x38(sp)
li t1,0x1
sw zero,0x58(sp)
b 0x00014a48
_or s0,zero,zero
sw s7,0x6c(sp)
or s0,s7,zero
sw s7,0x38(sp)
li t2,0x1
sw zero,0x5c(sp)
or t5,zero,zero
or v1,zero,zero
sw zero,0x58(sp)
b 0x00014a48
_or t1,zero,zero
li t2,0x1
sw s7,0x38(sp)
or t5,zero,zero
sw zero,0x5c(sp)
li v1,0x1
sw zero,0x6c(sp)
or t1,zero,zero
lw v0,-0x7fc8(gp)
or s0,zero,zero
li s7,0x2
addiu v0,v0,-0x46d4
b 0x00014a48
_sw v0,0x58(sp)
li v0,0x1
sw zero,0x5c(sp)
li t2,0x1
sw zero,0x6c(sp)
or t5,zero,zero
sw v0,0x38(sp)
li v1,0x1
b 0x000151c4
_li t1,0x1
li v0,0x2
bne s7,v0,0x000153f8
_or t6,zero,zero
bne v1,zero,0x00015408
_or s8,t0,zero
addiu s2,s2,0x1
beq t5,zero,0x000159a4
_addiu a1,s0,0x1
or s5,zero,zero
li s1,0x5c
sltu v0,s0,s4
beq v0,zero,0x00015244
_sltu v0,a1,s4
addu v0,t0,s0
li a0,0x27
sb a0,0x0(v0)
sltu v0,a1,s4
beq v0,zero,0x00015254
_addu a1,t0,a1
li v0,0x27
sb v0,0x0(a1)
addiu v0,s0,0x2
b 0x00014b80
_or t5,zero,zero
lbu s1,0x0(a1)
addiu a1,s1,-0x21
andi a2,a1,0xff
sltiu a1,a2,0x1e
beq a1,zero,0x00014cf8
_or s5,zero,zero
li a1,0x1
sllv a1,a1,a2
lui a2,0x3800
addiu a2,a2,0x51c1
and a1,a1,a2
beq a1,zero,0x00014cf8
_nop
bne v1,zero,0x00015cd8
_sltu a1,s0,s4
beq a1,zero,0x000152a8
_addu a1,t0,s0
sb a0,0x0(a1)
addiu a0,s0,0x1
sltu a1,a0,s4
beq a1,zero,0x000152c0
_addu a0,t0,a0
li a1,0x22
sb a1,0x0(a0)
addiu a0,s0,0x2
sltu a1,a0,s4
beq a1,zero,0x000152d8
_addu a0,t0,a0
li a1,0x22
sb a1,0x0(a0)
addiu a0,s0,0x3
sltu a1,a0,s4
beq a1,zero,0x000152f0
_addu a0,t0,a0
li a1,0x3f
sb a1,0x0(a0)
addiu s0,s0,0x4
or s5,zero,zero
b 0x00014c30
_or s2,v0,zero
bne s0,zero,0x00015d04
_li v0,0x1
b 0x000150e8
_or t1,zero,zero
lbu s1,0x0(s8)
sltiu v0,s1,0x7f
beq v0,zero,0x00014e90
_lw a0,-0x7fc8(gp)
sll v0,s1,0x2
addiu a0,a0,-0x4438
addu v0,a0,v0
lw v0,0x0(v0)
addu v0,v0,gp
jr v0
_nop
or t6,zero,zero
b 0x00014d1c
_or s5,s3,zero
or t6,zero,zero
li s1,0xb
b 0x00014d1c
_or s5,zero,zero
li a0,0x2
li s1,0xa
beq s7,a0,0x00015394
_li v0,0x6e
or s5,zero,zero
b 0x00014d1c
_or t6,zero,zero
or s5,zero,zero
or t6,zero,zero
b 0x00014d1c
_li s1,0x8
li a0,0x2
li s1,0x9
bne s7,a0,0x00015368
_li v0,0x74
b 0x00014dfc
_or t6,zero,zero
li v0,0x2
beq s7,v0,0x000158b4
_or s5,s3,zero
or t6,zero,zero
b 0x00014d1c
_li s1,0x20
or t6,zero,zero
li s1,0xc
b 0x00014d1c
_or s5,zero,zero
lw v0,0xd4(sp)
andi v0,v0,0x1
bne v0,zero,0x00015994
_or s5,zero,zero
or t6,zero,zero
b 0x00014d1c
_or s1,zero,zero
or t6,zero,zero
li s1,0x7
b 0x00014d1c
_or s5,zero,zero
bne t1,zero,0x00014e84
_or t6,zero,zero
li s1,0x5c
b 0x00014d1c
_or s5,zero,zero
or s8,t0,zero
li v1,0x2
li v0,0x4
movz v0,v1,t1
or s7,v0,zero
lw v0,0x70(sp)
or a3,s6,zero
lw v1,0xd4(sp)
or a2,t7,zero
sw zero,0x18(sp)
or a1,s4,zero
sw v0,0x20(sp)
li v0,-0x3
sw s7,0x10(sp)
and v0,v1,v0
lw v1,0x74(sp)
sw v0,0x14(sp)
sw v1,0x1c(sp)
lw t9,-0x7fcc(gp)
addiu t9,t9,0x4940
bal 0x00014940
_or a0,s8,zero
lw gp,0x28(sp)
or s0,v0,zero
lw v1,0x78(sp)
or v0,s0,zero
lw a0,0x94(sp)
lw v1,0x0(v1)
bne a0,v1,0x00015cf8
_lw ra,0xbc(sp)
lw s8,0xb8(sp)
lw s7,0xb4(sp)
lw s6,0xb0(sp)
lw s5,0xac(sp)
lw s4,0xa8(sp)
lw s3,0xa4(sp)
lw s2,0xa0(sp)
lw s1,0x9c(sp)
lw s0,0x98(sp)
jr ra
_addiu sp,sp,0xc0
or s5,zero,zero
or s1,v0,zero
bne t5,zero,0x00014b64
_sltu v0,s0,s4
sltu v0,s0,s4
beq v0,zero,0x000154d4
_addiu v0,s0,0x1
addu v0,t0,s0
li a0,0x27
sb a0,0x0(v0)
addiu v0,s0,0x1
sltu a0,v0,s4
beq a0,zero,0x000154e8
_addu v0,t0,v0
li a0,0x24
sb a0,0x0(v0)
addiu v0,s0,0x2
sltu a0,v0,s4
beq a0,zero,0x00015500
_addu v0,t0,v0
li a0,0x27
sb a0,0x0(v0)
addiu s0,s0,0x3
b 0x00014b60
_or t5,s3,zero
lw t9,-0x7e04(gp)
or a0,s8,zero
lw a2,0x38(sp)
lw a1,0x58(sp)
sw t7,0x54(sp)
sw t0,0x50(sp)
sw t2,0x4c(sp)
sw t5,0x48(sp)
sw v1,0x44(sp)
jalr t9
_sw t1,0x40(sp)
lw gp,0x28(sp)
lw t1,0x40(sp)
lw v1,0x44(sp)
lw t5,0x48(sp)
lw t2,0x4c(sp)
lw t0,0x50(sp)
bne v0,zero,0x00014ab4
_lw t7,0x54(sp)
bne v1,zero,0x00015c50
_nop
lbu s1,0x0(s8)
sltiu v0,s1,0x7f
beq v0,zero,0x00015c04
_lw a0,-0x7fc8(gp)
sll v0,s1,0x2
addiu a0,a0,-0x423c
addu v0,a0,v0
lw v0,0x0(v0)
addu v0,v0,gp
jr v0
_nop
or s5,zero,zero
b 0x00014b54
_li s1,0x62
li v0,0x1
beq a0,v0,0x0001550c
_lw t9,-0x7e54(gp)
or a0,t7,zero
sw t0,0x54(sp)
sw t2,0x50(sp)
sw t5,0x4c(sp)
sw v1,0x48(sp)
sw t1,0x44(sp)
jalr t9
_sw t7,0x40(sp)
lw gp,0x28(sp)
or s6,v0,zero
lw t0,0x54(sp)
lw t2,0x50(sp)
lw t5,0x4c(sp)
lw v1,0x48(sp)
lw t1,0x44(sp)
b 0x00014aa8
_lw t7,0x40(sp)
bne t5,zero,0x00014f48
_sltu v0,s0,s4
beq v0,zero,0x00015604
_addiu v0,s0,0x1
addu v0,t0,s0
sb a2,0x0(v0)
addiu v0,s0,0x1
sltu a0,v0,s4
beq a0,zero,0x00015614
_addu v0,t0,v0
sb t4,0x0(v0)
addiu v0,s0,0x2
sltu a0,v0,s4
beq a0,zero,0x00015628
_addu v0,t0,v0
sb a2,0x0(v0)
addiu s0,s0,0x3
b 0x00014f44
_or t5,t1,zero
or t6,zero,zero
b 0x00014dfc
_li v0,0x72
lb v0,0x1(t7)
b 0x00014af4
_sltu v0,zero,v0
bne v1,zero,0x00015408
_or s8,t0,zero
beq s4,zero,0x00015668
_lw v0,0x6c(sp)
bne v0,zero,0x000158c8
_sltu v0,s0,s4
sw s4,0x6c(sp)
or s4,zero,zero
addiu s0,s0,0x3
sw s3,0x5c(sp)
or s5,s3,zero
or t5,zero,zero
li s1,0x27
b 0x00014c88
_or a0,zero,zero
bne v1,zero,0x00015404
_or t6,zero,zero
or s5,zero,zero
b 0x00014c30
_li s1,0x3f
bne s7,v0,0x00014bcc
_lw v0,0x58(sp)
bne v1,zero,0x00014c1c
_lw v0,0x5c(sp)
beq v0,zero,0x00015c40
_lw v0,0x58(sp)
bne t2,zero,0x00015c58
_lw v0,0x70(sp)
bne s4,zero,0x00015c3c
_lw v0,0x6c(sp)
beq v0,zero,0x00015c8c
_lw v0,0x58(sp)
lw s4,0x6c(sp)
li v0,0x27
li s7,0x2
sb v0,0x0(s8)
li s0,0x1
lw v0,-0x7fc8(gp)
or v1,zero,zero
addiu v0,v0,-0x46d4
sw v0,0x58(sp)
li v0,0x1
b 0x00014a48
_sw v0,0x38(sp)
addiu t4,sp,0x8c
sw zero,0x8c(sp)
li v0,-0x1
bne s6,v0,0x00015764
_sw zero,0x4(t4)
lw t9,-0x7e54(gp)
or a0,t7,zero
sw t0,0x7c(sp)
sw t2,0x68(sp)
sw t5,0x54(sp)
sw v1,0x50(sp)
sw t1,0x4c(sp)
sw t4,0x48(sp)
sw t6,0x44(sp)
jalr t9
_sw t7,0x40(sp)
lw gp,0x28(sp)
or s6,v0,zero
lw t0,0x7c(sp)
lw t2,0x68(sp)
lw t5,0x54(sp)
lw v1,0x50(sp)
lw t1,0x4c(sp)
lw t4,0x48(sp)
lw t6,0x44(sp)
lw t7,0x40(sp)
or v0,zero,zero
sw s3,0x68(sp)
addiu t8,sp,0x88
sw s0,0x80(sp)
or s5,s3,zero
sw s4,0xc4(sp)
sw s8,0x84(sp)
or s0,v0,zero
sw t1,0x44(sp)
or s4,t7,zero
sw t5,0x4c(sp)
or s8,v1,zero
sw t2,0x50(sp)
or s3,t4,zero
sw s1,0x54(sp)
sw t6,0x7c(sp)
sw t0,0x48(sp)
sw s7,0xd0(sp)
b 0x000157dc
_sw t8,0x40(sp)
addu s0,s0,v0
jalr t9
_lw a0,0x88(sp)
or a0,s3,zero
lw gp,0x28(sp)
lw t9,-0x7df8(gp)
jalr t9
_movz s5,zero,v0
bne v0,zero,0x000159c8
_lw gp,0x28(sp)
addu s7,s2,s0
lw t9,-0x7f50(gp)
lw a0,0x40(sp)
or a3,s3,zero
addu s1,s4,s7
subu a2,s6,s7
bal 0x000192f0
_or a1,s1,zero
beq v0,zero,0x000159c8
_lw gp,0x28(sp)
li v1,-0x1
beq v0,v1,0x00015a70
_or a2,s0,zero
li v1,-0x2
beq v0,v1,0x00015ab8
_or t3,s7,zero
beq s8,zero,0x000157b4
_lw t9,-0x7e14(gp)
lw a0,0xd0(sp)
li v1,0x2
bne a0,v1,0x000157b4
_li v1,0x1
beq v0,v1,0x000157b4
_addiu a0,s7,0x1
addu v1,s4,v0
addu a0,s4,a0
addu t3,v1,s7
lbu v1,0x0(a0)
addiu v1,v1,-0x5b
andi v1,v1,0xff
sltiu a1,v1,0x22
beq a1,zero,0x00015878
_lw a1,0x60(sp)
sll v1,v1,0x2
addu v1,a1,v1
lw v1,0x0(v1)
addu v1,v1,gp
jr v1
_nop
addiu a0,a0,0x1
bne a0,t3,0x00015848
_nop
b 0x000157b4
_lw t9,-0x7e14(gp)
or t7,s4,zero
lw t1,0x44(sp)
lw s8,0x48(sp)
b 0x00015408
_lw s4,0xc4(sp)
li s1,0x20
beq v1,zero,0x00014c84
_or s5,t1,zero
b 0x00015408
_or s8,t0,zero
or t6,zero,zero
beq v1,zero,0x00014c84
_li s1,0x20
b 0x00015408
_or s8,t0,zero
beq v0,zero,0x000158d8
_addu v0,t0,s0
li a0,0x27
sb a0,0x0(v0)
addiu v0,s0,0x1
sltu a0,v0,s4
beq a0,zero,0x000158f0
_addu v0,t0,v0
li a0,0x5c
sb a0,0x0(v0)
addiu v0,s0,0x2
sltu a0,v0,s4
beq a0,zero,0x0001566c
_addu v0,t0,v0
li a0,0x27
b 0x0001566c
_sb a0,0x0(v0)
bne t5,zero,0x00015a20
_or a0,s0,zero
sltu a0,s0,s4
beq a0,zero,0x00015930
_sltu a0,v0,s4
addu a0,t0,s0
li a1,0x27
sb a1,0x0(a0)
sltu a0,v0,s4
beq a0,zero,0x00015940
_addu v0,t0,v0
li a0,0x24
sb a0,0x0(v0)
addiu v0,s0,0x2
sltu a0,v0,s4
beq a0,zero,0x00015960
_addiu a0,s0,0x3
addu v0,t0,v0
li a0,0x27
sb a0,0x0(v0)
addiu a0,s0,0x3
addiu s0,s0,0x4
sltu v0,a0,s4
beq v0,zero,0x00015a10
_or t5,t1,zero
addu v0,t0,a0
li a2,0x5c
li a1,0x2
bne s7,a1,0x00014d78
_sb a2,0x0(v0)
li s1,0x30
or a0,t1,zero
b 0x00014b44
_or s5,zero,zero
b 0x00014a68
_addiu s2,s2,0x1
b 0x00015970
_or s0,v0,zero
sltu v0,s0,s4
bne v0,zero,0x00015a38
_or v0,s0,zero
or t2,zero,zero
b 0x00014a68
_or s0,a1,zero
or s8,t0,zero
b 0x00014d40
_or t1,v1,zero
or a2,s0,zero
lw t1,0x44(sp)
or t7,s4,zero
lw t5,0x4c(sp)
lw t2,0x50(sp)
or v1,s8,zero
lw s1,0x54(sp)
lw s3,0x68(sp)
lw t6,0x7c(sp)
lw s0,0x80(sp)
lw t0,0x48(sp)
lw s4,0xc4(sp)
lw s7,0xd0(sp)
sltiu v0,a2,0x2
bne v0,zero,0x00014f00
_addu t3,s2,a2
b 0x00014f18
_or a0,zero,zero
or a0,t1,zero
li s1,0x30
b 0x00014b44
_or s5,zero,zero
b 0x00015964
_or s0,v0,zero
beq v1,zero,0x000156ac
_lw v0,0x5c(sp)
b 0x0001540c
_li v1,0x2
addu v0,t0,v0
li s1,0x5c
or s5,zero,zero
or s0,a1,zero
b 0x00014b98
_sb s1,0x0(v0)
sw zero,0x5c(sp)
li t2,0x1
sw zero,0x6c(sp)
or t5,zero,zero
sw v0,0x38(sp)
li v1,0x1
b 0x000151c4
_or t1,zero,zero
lw t1,0x44(sp)
or t7,s4,zero
lw t5,0x4c(sp)
or v1,s8,zero
lw t2,0x50(sp)
lw s1,0x54(sp)
or s5,zero,zero
lw s3,0x68(sp)
lw t6,0x7c(sp)
lw s0,0x80(sp)
lw t0,0x48(sp)
lw s4,0xc4(sp)
b 0x000159fc
_lw s7,0xd0(sp)
sw zero,0x6c(sp)
sw zero,0x5c(sp)
b 0x00014a28
_or t5,zero,zero
lw t1,0x44(sp)
sltu v0,t3,s6
lw t5,0x4c(sp)
or a1,s1,zero
lw t2,0x50(sp)
or v1,s8,zero
lw s1,0x54(sp)
or a0,s0,zero
lw s3,0x68(sp)
or a2,s0,zero
lw t6,0x7c(sp)
or t7,s4,zero
lw s0,0x80(sp)
lw t0,0x48(sp)
lw s4,0xc4(sp)
lw s7,0xd0(sp)
beq v0,zero,0x00015ca8
_lw s8,0x84(sp)
lb v0,0x0(a1)
bne v0,zero,0x00015b28
_addiu a0,a0,0x1
addiu a0,a0,-0x1
b 0x00015cac
_sltiu v0,a2,0x2
lb v0,0x0(v0)
beq v0,zero,0x00015b3c
_or a2,a0,zero
addiu a0,a0,0x1
addu v0,s2,a0
sltu v0,v0,s6
bne v0,zero,0x00015b18
_addu v0,s8,a0
or a2,a0,zero
b 0x000159fc
_or s5,zero,zero
lb v0,0x0(a1)
beq v0,zero,0x00015094
_sltu a0,s0,s4
beq a0,zero,0x00015b5c
_addu a0,s8,s0
sb v0,0x0(a0)
addiu s0,s0,0x1
addu v0,a1,s0
lb v0,0x0(v0)
bne v0,zero,0x00015b50
_sltu a0,s0,s4
b 0x0001509c
_lw s1,0x70(sp)
addu v0,t0,v0
b 0x00014dc8
_sb a1,0x0(v0)
or t6,t1,zero
b 0x00014b08
_or s5,zero,zero
b 0x00014e24
_or t6,t1,zero
b 0x00014d10
_or t6,t1,zero
or t6,t1,zero
li a0,0xa
b 0x00014de8
_li s1,0x6e
or t6,t1,zero
li a0,0x9
b 0x00014de8
_li s1,0x74
b 0x00014d5c
_or t6,t1,zero
b 0x00014ae0
_or t6,t1,zero
li v0,0x5
beq s7,v0,0x00014cc4
_or t6,t1,zero
or s5,zero,zero
b 0x00014c30
_li s1,0x3f
b 0x00014c4c
_or t6,t1,zero
or t6,t1,zero
b 0x00014c30
_or s5,t1,zero
b 0x00014afc
_or t6,t1,zero
b 0x00014e94
_or t6,t1,zero
sw zero,0x5c(sp)
li t2,0x1
sw zero,0x6c(sp)
sw v0,0x38(sp)
or t5,zero,zero
lw v0,-0x7fc8(gp)
li v1,0x1
li t1,0x1
or s0,zero,zero
addiu v0,v0,-0x46e8
b 0x00014a48
_sw v0,0x58(sp)
lw v0,0x58(sp)
bne v0,zero,0x00014bdc
_nop
b 0x00014c20
_sltu s4,s0,s4
b 0x00015418
_or s8,t0,zero
or a3,s6,zero
or a2,t7,zero
lw a1,0x6c(sp)
sw v0,0x20(sp)
lw v0,0x74(sp)
sw v0,0x1c(sp)
lw v0,0x34(sp)
sw v0,0x18(sp)
lw v0,0xd4(sp)
sw v0,0x14(sp)
li v0,0x5
b 0x0001544c
_sw v0,0x10(sp)
beq v0,zero,0x00015464
_lw v0,0x58(sp)
lb v1,0x0(v0)
bne v1,zero,0x00014bec
_lw a1,0x58(sp)
b 0x00015468
_lw v1,0x78(sp)
sltiu v0,a2,0x2
beq v0,zero,0x00014f14
_or s5,zero,zero
bne t1,zero,0x00014f14
_nop
b 0x00014d1c
_nop
b 0x00014b4c
_li s1,0x72
or s5,zero,zero
b 0x00014b4c
_li s1,0x62
or s8,t0,zero
b 0x00015418
_li s7,0x5
li t2,0x1
sw zero,0x6c(sp)
or t5,zero,zero
b 0x000156d0
_sw zero,0x5c(sp)
lw t9,-0x7e0c(gp)
jalr t9
_nop
sw zero,0x5c(sp)
li t2,0x1
sw zero,0x6c(sp)
sw v0,0x38(sp)
or t5,zero,zero
lw v0,-0x7fc8(gp)
li v1,0x1
or t1,zero,zero
or s0,zero,zero
addiu v0,v0,-0x46d4
b 0x00014a48
_sw v0,0x58(sp)
lw t9,-0x7eb4(gp)
jalr t9
_nop
(translation_unit "void FUN_00014940(void)\n\n{\n  uint in_stack_00000010;\n  \n  (*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)();\n  if (in_stack_00000010 < 0xb) {\n                    /* WARNING: Could not emulate address calculation at 0x000149f0 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)))();\n    return;\n  }\n  (*(code *)PTR_abort_0002d21c)();\n  return;\n}\n\n" (function_definition "void FUN_00014940(void)\n\n{\n  uint in_stack_00000010;\n  \n  (*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)();\n  if (in_stack_00000010 < 0xb) {\n                    /* WARNING: Could not emulate address calculation at 0x000149f0 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)))();\n    return;\n  }\n  (*(code *)PTR_abort_0002d21c)();\n  return;\n}" primitive_type (function_declarator "FUN_00014940(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint in_stack_00000010;\n  \n  (*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)();\n  if (in_stack_00000010 < 0xb) {\n                    /* WARNING: Could not emulate address calculation at 0x000149f0 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)))();\n    return;\n  }\n  (*(code *)PTR_abort_0002d21c)();\n  return;\n}" { (declaration "uint in_stack_00000010;" type_identifier identifier ;) (expression_statement "(*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)();" (call_expression "(*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)()" (parenthesized_expression "(*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)" ( (pointer_expression "*(code *)PTR___ctype_get_mb_cur_max_0002d2b0" * (cast_expression "(code *)PTR___ctype_get_mb_cur_max_0002d2b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (in_stack_00000010 < 0xb) {\n                    /* WARNING: Could not emulate address calculation at 0x000149f0 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)))();\n    return;\n  }" if (parenthesized_expression "(in_stack_00000010 < 0xb)" ( (binary_expression "in_stack_00000010 < 0xb" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x000149f0 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)))();\n    return;\n  }" { comment comment (expression_statement "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)))();" (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660))" ( (binary_expression "&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)" * (cast_expression "(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)" ( (binary_expression "PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660" (binary_expression "PTR_DAT_0002d108 + in_stack_00000010 * 4" identifier + (binary_expression "in_stack_00000010 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR_abort_0002d21c)();" (call_expression "(*(code *)PTR_abort_0002d21c)()" (parenthesized_expression "(*(code *)PTR_abort_0002d21c)" ( (pointer_expression "*(code *)PTR_abort_0002d21c" * (cast_expression "(code *)PTR_abort_0002d21c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "size_t quotearg_buffer_restyled\n                 (char *buffer,size_t buffersize,char *arg,size_t argsize,\n                 quoting_style quoting_style,int flags,uint *quote_these_too,char *left_quote,\n                 char *right_quote)\n\n{\n  size_t sVar1;\n  wchar_t w;\n  mbstate_t mbstate;\n  \n  (*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)();\n  if (quoting_style < (custom_quoting_style|shell_quoting_style)) {\n                    /* WARNING: Could not emulate address calculation at 0x000149f0 */\n                    /* WARNING: Treating indirect jump as call */\n    sVar1 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002d108 + quoting_style * 4 + -0x4660)))();\n    return sVar1;\n  }\n  sVar1 = (*(code *)PTR_abort_0002d21c)();\n  return sVar1;\n}\n\n" (function_definition "size_t quotearg_buffer_restyled\n                 (char *buffer,size_t buffersize,char *arg,size_t argsize,\n                 quoting_style quoting_style,int flags,uint *quote_these_too,char *left_quote,\n                 char *right_quote)\n\n{\n  size_t sVar1;\n  wchar_t w;\n  mbstate_t mbstate;\n  \n  (*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)();\n  if (quoting_style < (custom_quoting_style|shell_quoting_style)) {\n                    /* WARNING: Could not emulate address calculation at 0x000149f0 */\n                    /* WARNING: Treating indirect jump as call */\n    sVar1 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002d108 + quoting_style * 4 + -0x4660)))();\n    return sVar1;\n  }\n  sVar1 = (*(code *)PTR_abort_0002d21c)();\n  return sVar1;\n}" primitive_type (function_declarator "quotearg_buffer_restyled\n                 (char *buffer,size_t buffersize,char *arg,size_t argsize,\n                 quoting_style quoting_style,int flags,uint *quote_these_too,char *left_quote,\n                 char *right_quote)" identifier (parameter_list "(char *buffer,size_t buffersize,char *arg,size_t argsize,\n                 quoting_style quoting_style,int flags,uint *quote_these_too,char *left_quote,\n                 char *right_quote)" ( (parameter_declaration "char *buffer" primitive_type (pointer_declarator "*buffer" * identifier)) , (parameter_declaration "size_t buffersize" primitive_type identifier) , (parameter_declaration "char *arg" primitive_type (pointer_declarator "*arg" * identifier)) , (parameter_declaration "size_t argsize" primitive_type identifier) , (parameter_declaration "quoting_style quoting_style" type_identifier identifier) , (parameter_declaration "int flags" primitive_type identifier) , (parameter_declaration "uint *quote_these_too" type_identifier (pointer_declarator "*quote_these_too" * identifier)) , (parameter_declaration "char *left_quote" primitive_type (pointer_declarator "*left_quote" * identifier)) , (parameter_declaration "char *right_quote" primitive_type (pointer_declarator "*right_quote" * identifier)) ))) (compound_statement "{\n  size_t sVar1;\n  wchar_t w;\n  mbstate_t mbstate;\n  \n  (*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)();\n  if (quoting_style < (custom_quoting_style|shell_quoting_style)) {\n                    /* WARNING: Could not emulate address calculation at 0x000149f0 */\n                    /* WARNING: Treating indirect jump as call */\n    sVar1 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002d108 + quoting_style * 4 + -0x4660)))();\n    return sVar1;\n  }\n  sVar1 = (*(code *)PTR_abort_0002d21c)();\n  return sVar1;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "wchar_t w;" type_identifier identifier ;) (declaration "mbstate_t mbstate;" type_identifier identifier ;) (expression_statement "(*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)();" (call_expression "(*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)()" (parenthesized_expression "(*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)" ( (pointer_expression "*(code *)PTR___ctype_get_mb_cur_max_0002d2b0" * (cast_expression "(code *)PTR___ctype_get_mb_cur_max_0002d2b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (quoting_style < (custom_quoting_style|shell_quoting_style)) {\n                    /* WARNING: Could not emulate address calculation at 0x000149f0 */\n                    /* WARNING: Treating indirect jump as call */\n    sVar1 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002d108 + quoting_style * 4 + -0x4660)))();\n    return sVar1;\n  }" if (parenthesized_expression "(quoting_style < (custom_quoting_style|shell_quoting_style))" ( (binary_expression "quoting_style < (custom_quoting_style|shell_quoting_style)" identifier < (parenthesized_expression "(custom_quoting_style|shell_quoting_style)" ( (binary_expression "custom_quoting_style|shell_quoting_style" identifier | identifier) ))) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x000149f0 */\n                    /* WARNING: Treating indirect jump as call */\n    sVar1 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002d108 + quoting_style * 4 + -0x4660)))();\n    return sVar1;\n  }" { comment comment (expression_statement "sVar1 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002d108 + quoting_style * 4 + -0x4660)))();" (assignment_expression "sVar1 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002d108 + quoting_style * 4 + -0x4660)))()" identifier = (call_expression "(*(code *)(&_gp + *(int *)(PTR_DAT_0002d108 + quoting_style * 4 + -0x4660)))()" (parenthesized_expression "(*(code *)(&_gp + *(int *)(PTR_DAT_0002d108 + quoting_style * 4 + -0x4660)))" ( (pointer_expression "*(code *)(&_gp + *(int *)(PTR_DAT_0002d108 + quoting_style * 4 + -0x4660))" * (cast_expression "(code *)(&_gp + *(int *)(PTR_DAT_0002d108 + quoting_style * 4 + -0x4660))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp + *(int *)(PTR_DAT_0002d108 + quoting_style * 4 + -0x4660))" ( (binary_expression "&_gp + *(int *)(PTR_DAT_0002d108 + quoting_style * 4 + -0x4660)" (pointer_expression "&_gp" & identifier) + (pointer_expression "*(int *)(PTR_DAT_0002d108 + quoting_style * 4 + -0x4660)" * (cast_expression "(int *)(PTR_DAT_0002d108 + quoting_style * 4 + -0x4660)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002d108 + quoting_style * 4 + -0x4660)" ( (binary_expression "PTR_DAT_0002d108 + quoting_style * 4 + -0x4660" (binary_expression "PTR_DAT_0002d108 + quoting_style * 4" identifier + (binary_expression "quoting_style * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return sVar1;" return identifier ;) })) (expression_statement "sVar1 = (*(code *)PTR_abort_0002d21c)();" (assignment_expression "sVar1 = (*(code *)PTR_abort_0002d21c)()" identifier = (call_expression "(*(code *)PTR_abort_0002d21c)()" (parenthesized_expression "(*(code *)PTR_abort_0002d21c)" ( (pointer_expression "*(code *)PTR_abort_0002d21c" * (cast_expression "(code *)PTR_abort_0002d21c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return sVar1;" return identifier ;) })))
(translation_unit "void FUN_00014940(void)\n\n{\n  uint in_stack_00000010;\n  \n  (*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)();\n  if (in_stack_00000010 < 0xb) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)))();\n    return;\n  }\n  (*(code *)PTR_abort_0002d21c)();\n  return;\n}\n\n" (function_definition "void FUN_00014940(void)\n\n{\n  uint in_stack_00000010;\n  \n  (*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)();\n  if (in_stack_00000010 < 0xb) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)))();\n    return;\n  }\n  (*(code *)PTR_abort_0002d21c)();\n  return;\n}" primitive_type (function_declarator "FUN_00014940(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint in_stack_00000010;\n  \n  (*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)();\n  if (in_stack_00000010 < 0xb) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)))();\n    return;\n  }\n  (*(code *)PTR_abort_0002d21c)();\n  return;\n}" { (declaration "uint in_stack_00000010;" type_identifier identifier ;) (expression_statement "(*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)();" (call_expression "(*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)()" (parenthesized_expression "(*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)" ( (pointer_expression "*(code *)PTR___ctype_get_mb_cur_max_0002d2b0" * (cast_expression "(code *)PTR___ctype_get_mb_cur_max_0002d2b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (in_stack_00000010 < 0xb) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)))();\n    return;\n  }" if (parenthesized_expression "(in_stack_00000010 < 0xb)" ( (binary_expression "in_stack_00000010 < 0xb" identifier < number_literal) )) (compound_statement "{\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)))();\n    return;\n  }" { (expression_statement "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)))();" (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660))" ( (binary_expression "&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)" * (cast_expression "(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)" ( (binary_expression "PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660" (binary_expression "PTR_DAT_0002d108 + in_stack_00000010 * 4" identifier + (binary_expression "in_stack_00000010 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR_abort_0002d21c)();" (call_expression "(*(code *)PTR_abort_0002d21c)()" (parenthesized_expression "(*(code *)PTR_abort_0002d21c)" ( (pointer_expression "*(code *)PTR_abort_0002d21c" * (cast_expression "(code *)PTR_abort_0002d21c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) ))))) )))) )) (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00014940(void)\n\n{\n  uint in_stack_00000010;\n  \n  (*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)();\n  if (in_stack_00000010 < 0xb) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)))();\n    return;\n  }\n  (*(code *)PTR_abort_0002d21c)();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00014940(void)" (identifier "FUN_00014940") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  uint in_stack_00000010;\n  \n  (*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)();\n  if (in_stack_00000010 < 0xb) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)))();\n    return;\n  }\n  (*(code *)PTR_abort_0002d21c)();\n  return;\n}" ({ "{") (declaration "uint in_stack_00000010;" (type_identifier "uint") (identifier "in_stack_00000010") (; ";")) (expression_statement "(*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)();" (call_expression "(*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)()" (parenthesized_expression "(*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)" (( "(") (pointer_expression "*(code *)PTR___ctype_get_mb_cur_max_0002d2b0" (* "*") (cast_expression "(code *)PTR___ctype_get_mb_cur_max_0002d2b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___ctype_get_mb_cur_max_0002d2b0"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (in_stack_00000010 < 0xb) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)))();\n    return;\n  }" (if "if") (parenthesized_expression "(in_stack_00000010 < 0xb)" (( "(") (binary_expression "in_stack_00000010 < 0xb" (identifier "in_stack_00000010") (< "<") (number_literal "0xb")) () ")")) (compound_statement "{\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)))();\n    return;\n  }" ({ "{") (expression_statement "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)))();" (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660))" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660))" (( "(") (binary_expression "&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)" (* "*") (cast_expression "(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)" (( "(") (binary_expression "PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660" (binary_expression "PTR_DAT_0002d108 + in_stack_00000010 * 4" (identifier "PTR_DAT_0002d108") (+ "+") (binary_expression "in_stack_00000010 * 4" (identifier "in_stack_00000010") (* "*") (number_literal "4"))) (+ "+") (number_literal "-0x4660")) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_abort_0002d21c)();" (call_expression "(*(code *)PTR_abort_0002d21c)()" (parenthesized_expression "(*(code *)PTR_abort_0002d21c)" (( "(") (pointer_expression "*(code *)PTR_abort_0002d21c" (* "*") (cast_expression "(code *)PTR_abort_0002d21c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_abort_0002d21c"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

size_t function_1
                 (char *buffer,size_t buffersize,char *arg,size_t argsize,
                 type_1 type_1,int flags,type_2 *quote_these_too,char *left_quote,
                 char *right_quote)

{
  size_t sVar1;
  type_3 w;
  type_4 mbstate;
  
  (*(type_5 *)PTR___ctype_get_mb_cur_max_0002d2b0)();
  if (type_1 < (var_1|var_2)) {
                    /* WARNING: Could not emulate address calculation at 0x000149f0 */
                    /* WARNING: Treating indirect jump as call */
    sVar1 = (*(type_5 *)(&_gp + *(int *)(var_3 + type_1 * 4 + -0x4660)))();
    return sVar1;
  }
  sVar1 = (*(type_5 *)PTR_abort_0002d21c)();
  return sVar1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))))))) arguments: (argument_list))) (return_statement))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (return_statement))))

void MASKED(void)

{
  uint in_stack_00000010;
  
  (*(code *)PTR___ctype_get_mb_cur_max_0002d2b0)();
  if (in_stack_00000010 < 0xb) {
                    /* WARNING: Could not emulate address calculation at 0x000149f0 */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002d108 + in_stack_00000010 * 4 + -0x4660)))();
    return;
  }
  (*(code *)PTR_abort_0002d21c)();
  return;
}

