
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_0002c2b0)();
  if (quoting_style < (custom_quoting_style|shell_quoting_style)) {
                    /* WARNING: Could not emulate address calculation at 0x00013970 */
                    /* WARNING: Treating indirect jump as call */
    sVar1 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002c108 + quoting_style * 4 + -0x5d30)))();
    return sVar1;
  }
  sVar1 = (*(code *)PTR_abort_0002c210)();
  return sVar1;
}



void FUN_000138c0(void)

{
  uint in_stack_00000010;
  
  (*(code *)PTR___ctype_get_mb_cur_max_0002c2b0)();
  if (in_stack_00000010 < 0xb) {
                    /* WARNING: Could not emulate address calculation at 0x00013970 */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)))();
    return;
  }
  (*(code *)PTR_abort_0002c210)();
  return;
}


lui gp,0x2
addiu gp,gp,0x810
addu gp,gp,t9
addiu sp,sp,-0xc0
lw v0,-0x7dec(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,0x00014cb4
_sw v0,0x64(sp)
lw a0,-0x7fc8(gp)
sll v0,s7,0x2
lw v1,0x38(sp)
addiu a0,a0,-0x5d30
addu v0,a0,v0
lw v0,0x0(v0)
addu v0,v0,gp
jr v0
_lw t7,0x3c(sp)
bne s0,zero,0x00014b8c
_li v0,0x1
beq s4,zero,0x00014a28
_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,-0x5dbc
sw v0,0x58(sp)
lw v0,-0x7fc8(gp)
or s2,zero,zero
or t0,s8,zero
addiu v0,v0,-0x5710
sw v0,0x60(sp)
lw v0,-0x7fc8(gp)
addiu v0,v0,-0x5d04
sw v0,0x3c(sp)
li v0,-0x1
beq s6,v0,0x00013b28
_addu v0,t7,s2
xor s3,s6,s2
sltu s3,zero,s3
beq s3,zero,0x00013b38
_nop
beq t1,zero,0x00014290
_addu s8,t7,s2
li v0,0x2
beq s7,v0,0x00013a34
_lw a0,0x38(sp)
beq a0,zero,0x00013a34
_li v0,-0x1
beq s6,v0,0x00014518
_addu s1,s2,a0
sltu s1,s6,s1
beq s1,zero,0x00014490
_lw t9,-0x7df4(gp)
lbu s1,0x0(s8)
sltiu v0,s1,0x7f
beq v0,zero,0x00013e10
_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,0x000145c0
_nop
xori v0,s6,0x1
sltu v0,zero,v0
bne v0,zero,0x00013bb0
_or s5,zero,zero
bne s2,zero,0x00013bb0
_or s5,zero,zero
or s5,s3,zero
li v0,0x2
beq s7,v0,0x00013bfc
_nop
beq t1,zero,0x00013c9c
_or a0,zero,zero
lw a1,0x34(sp)
beq a1,zero,0x00013ac4
_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,0x00013acc
_nop
beq t6,zero,0x00013c10
_nop
bne v1,zero,0x00013cc0
_or s8,t0,zero
li v0,0x2
beq s7,v0,0x00014430
_nop
sltu v0,s0,s4
beq v0,zero,0x00013afc
_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,0x00013b18
_addiu s0,v0,0x1
addu v0,t0,v0
seb s1,s1
sb s1,0x0(v0)
li v0,-0x1
bne s6,v0,0x000139f4
_movz t2,zero,s5
addu v0,t7,s2
lb s3,0x0(v0)
sltu s3,zero,s3
bne s3,zero,0x00013a04
_nop
or s8,t0,zero
bne s0,zero,0x0001461c
_li v0,0x2
beq s7,v0,0x000149a8
_lw v0,0x58(sp)
beq v0,zero,0x00013b9c
_nop
bne v1,zero,0x00013b9c
_lw v0,0x58(sp)
lb v1,0x0(v0)
beq v1,zero,0x00013b9c
_nop
lw a1,0x58(sp)
or v0,s0,zero
sltu a0,v0,s4
beq a0,zero,0x00013b80
_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,0x00013b74
_sltu a0,v0,s4
or s0,v0,zero
sltu s4,s0,s4
beq s4,zero,0x000143e4
_addu v0,s8,s0
b 0x000143e4
_sb zero,0x0(v0)
beq t1,zero,0x00013c9c
_li v0,0x2
beq s7,v0,0x00013c9c
_nop
b 0x00013a9c
_or a0,zero,zero
or t6,zero,zero
li v0,0x2
beq s7,v0,0x000145cc
_li s1,0x27
sw s3,0x5c(sp)
b 0x00013a94
_or s5,s3,zero
b 0x00013a7c
_or t6,zero,zero
li v0,0x2
or t6,zero,zero
bne s7,v0,0x00013a94
_or s5,zero,zero
bne v1,zero,0x00014388
_or s8,t0,zero
or a0,zero,zero
bne t6,zero,0x00013acc
_nop
addiu s2,s2,0x1
beq t5,zero,0x00013c28
_addiu a1,s0,0x1
beq a0,zero,0x000141a8
_nop
or t5,a0,zero
b 0x00013b00
_or v0,s0,zero
li v0,0x2
beq s7,v0,0x00014608
_li v0,0x5
bne s7,v0,0x00013c74
_or t6,zero,zero
lw v0,0xd4(sp)
andi v0,v0,0x4
beq v0,zero,0x00013c78
_or s5,zero,zero
addiu v0,s2,0x2
sltu a0,v0,s6
beq a0,zero,0x00013bb0
_li s1,0x3f
lb a0,0x1(s8)
li a1,0x3f
beq a0,a1,0x000141e0
_addu a1,t7,v0
or s5,zero,zero
b 0x00013bb0
_li s1,0x3f
li v0,0x2
beq s7,v0,0x000145b4
_li s1,0xd
or t6,zero,zero
bne t1,zero,0x00014c44
_or s5,zero,zero
li s1,0xd
bne v1,zero,0x00013a9c
_or a0,zero,zero
b 0x00013ac4
_nop
li s1,0x61
or s5,zero,zero
beq v1,zero,0x00013ad8
_li v0,0x2
or s8,t0,zero
li v0,0x2
bne s7,v0,0x0001439c
_lw v0,0x70(sp)
b 0x0001438c
_li v1,0x2
bne v1,zero,0x0001493c
_or t6,zero,zero
li a0,0x2
beq s7,a0,0x0001488c
_addiu v0,s0,0x1
sltu a0,s0,s4
bne a0,zero,0x0001491c
_or a0,s0,zero
or s0,v0,zero
addiu v0,s2,0x1
sltu a1,v0,s6
beq a1,zero,0x00013d50
_or s5,zero,zero
addu v0,t7,v0
lbu v0,0x0(v0)
addiu v0,v0,-0x30
sltiu v0,v0,0xa
beq v0,zero,0x00013d50
_nop
sltu v0,s0,s4
beq v0,zero,0x00013d3c
_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,0x00014af8
_li a1,0x30
addiu s0,a0,0x3
or s5,zero,zero
or a0,t1,zero
b 0x00013a9c
_li s1,0x30
li a0,0xa
or t6,zero,zero
li s1,0x6e
li v0,0x2
bne s7,v0,0x00013cb4
_or s5,zero,zero
or v0,s1,zero
or s1,a0,zero
bne v1,zero,0x00014388
_or s8,t0,zero
bne t1,zero,0x00014428
_or a0,zero,zero
b 0x00013ac4
_or s5,zero,zero
or t6,zero,zero
b 0x00013bb0
_or s5,t1,zero
or t6,zero,zero
li v0,0x2
beq s7,v0,0x00014820
_or a0,zero,zero
or s5,t1,zero
b 0x00013a9c
_li s1,0x20
or t6,zero,zero
li a0,0x9
b 0x00013d68
_li s1,0x74
li s1,0x66
b 0x00013cb4
_or s5,zero,zero
li s1,0x76
b 0x00013cb4
_or s5,zero,zero
li v0,0x2
beq s7,v0,0x0001418c
_nop
beq v1,zero,0x00013e08
_li s1,0x5c
lw v0,0x38(sp)
bne v0,zero,0x00014194
_nop
li s1,0x5c
b 0x00013cb4
_or s5,zero,zero
or t6,zero,zero
lw a0,0x64(sp)
li v0,0x1
bne a0,v0,0x0001467c
_lw t9,-0x7ed0(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,0x00013c9c
_nop
bne s5,zero,0x00013bb8
_li v0,0x2
addu t3,s2,a2
or a0,zero,zero
li a1,0x5c
li a3,0x2
li a2,0x27
beq t1,zero,0x00013f94
_li t4,0x24
bne s5,zero,0x00013f94
_nop
bne v1,zero,0x0001493c
_nop
beq s7,a3,0x00014568
_nop
sltu v0,s0,s4
beq v0,zero,0x00013edc
_addiu v0,s0,0x1
addu v0,t0,s0
sb a1,0x0(v0)
addiu v0,s0,0x1
sltu a0,v0,s4
beq a0,zero,0x00013ef4
_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,0x00013f10
_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,0x00013c14
_nop
beq t5,zero,0x00013f74
_sltu v0,s0,s4
bne a0,zero,0x00013f74
_or t5,a0,zero
sltu v0,s0,s4
beq v0,zero,0x00013f58
_addiu v0,s0,0x1
addu v0,t0,s0
sb a2,0x0(v0)
addiu v0,s0,0x1
sltu t5,v0,s4
beq t5,zero,0x00013f68
_addu v0,t0,v0
sb a2,0x0(v0)
addiu s0,s0,0x2
or t5,zero,zero
sltu v0,s0,s4
beq v0,zero,0x00013f88
_addu v0,t7,s2
addu v0,t0,s0
sb s1,0x0(v0)
addu v0,t7,s2
addiu s0,s0,0x1
bne t1,zero,0x00013eac
_lbu s1,0x0(v0)
beq t6,zero,0x00013f20
_sltu v0,s0,s4
beq v0,zero,0x00013fa8
_addu v0,t0,s0
sb a1,0x0(v0)
addiu s0,s0,0x1
b 0x00013f20
_or t6,zero,zero
li v0,0xa
beq s7,v0,0x0001400c
_lw s1,-0x7fcc(gp)
or a1,s7,zero
lw a0,-0x7fc8(gp)
sw t7,0x3c(sp)
addiu s1,s1,0x36f8
sw v1,0x38(sp)
or t9,s1,zero
bal 0x000136f8
_addiu a0,a0,-0x5da4
or a1,s7,zero
lw gp,0x28(sp)
or t9,s1,zero
sw v0,0x74(sp)
lw a0,-0x7fc8(gp)
bal 0x000136f8
_addiu a0,a0,-0x5da8
lw gp,0x28(sp)
lw t7,0x3c(sp)
lw v1,0x38(sp)
sw v0,0x70(sp)
beq s0,zero,0x00014ac4
_lw a1,0x74(sp)
or s0,zero,zero
lw s1,0x70(sp)
lw t9,-0x7e58(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 0x000139c8
_sw zero,0x6c(sp)
bne s0,zero,0x000149d0
_li v0,0x1
li t1,0x1
bne s4,zero,0x00014c64
_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,-0x5da8
b 0x000139c8
_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,-0x5dbc
li s7,0x5
b 0x000139c8
_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 0x000139c8
_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 0x000139c8
_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,-0x5da8
b 0x000139c8
_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 0x00014144
_li t1,0x1
li v0,0x2
bne s7,v0,0x00014378
_or t6,zero,zero
bne v1,zero,0x00014388
_or s8,t0,zero
addiu s2,s2,0x1
beq t5,zero,0x00014924
_addiu a1,s0,0x1
or s5,zero,zero
li s1,0x5c
sltu v0,s0,s4
beq v0,zero,0x000141c4
_sltu v0,a1,s4
addu v0,t0,s0
li a0,0x27
sb a0,0x0(v0)
sltu v0,a1,s4
beq v0,zero,0x000141d4
_addu a1,t0,a1
li v0,0x27
sb v0,0x0(a1)
addiu v0,s0,0x2
b 0x00013b00
_or t5,zero,zero
lbu s1,0x0(a1)
addiu a1,s1,-0x21
andi a2,a1,0xff
sltiu a1,a2,0x1e
beq a1,zero,0x00013c78
_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,0x00013c78
_nop
bne v1,zero,0x00014c58
_sltu a1,s0,s4
beq a1,zero,0x00014228
_addu a1,t0,s0
sb a0,0x0(a1)
addiu a0,s0,0x1
sltu a1,a0,s4
beq a1,zero,0x00014240
_addu a0,t0,a0
li a1,0x22
sb a1,0x0(a0)
addiu a0,s0,0x2
sltu a1,a0,s4
beq a1,zero,0x00014258
_addu a0,t0,a0
li a1,0x22
sb a1,0x0(a0)
addiu a0,s0,0x3
sltu a1,a0,s4
beq a1,zero,0x00014270
_addu a0,t0,a0
li a1,0x3f
sb a1,0x0(a0)
addiu s0,s0,0x4
or s5,zero,zero
b 0x00013bb0
_or s2,v0,zero
bne s0,zero,0x00014c84
_li v0,0x1
b 0x00014068
_or t1,zero,zero
lbu s1,0x0(s8)
sltiu v0,s1,0x7f
beq v0,zero,0x00013e10
_lw a0,-0x7fc8(gp)
sll v0,s1,0x2
addiu a0,a0,-0x5b08
addu v0,a0,v0
lw v0,0x0(v0)
addu v0,v0,gp
jr v0
_nop
or t6,zero,zero
b 0x00013c9c
_or s5,s3,zero
or t6,zero,zero
li s1,0xb
b 0x00013c9c
_or s5,zero,zero
li a0,0x2
li s1,0xa
beq s7,a0,0x00014314
_li v0,0x6e
or s5,zero,zero
b 0x00013c9c
_or t6,zero,zero
or s5,zero,zero
or t6,zero,zero
b 0x00013c9c
_li s1,0x8
li a0,0x2
li s1,0x9
bne s7,a0,0x000142e8
_li v0,0x74
b 0x00013d7c
_or t6,zero,zero
li v0,0x2
beq s7,v0,0x00014834
_or s5,s3,zero
or t6,zero,zero
b 0x00013c9c
_li s1,0x20
or t6,zero,zero
li s1,0xc
b 0x00013c9c
_or s5,zero,zero
lw v0,0xd4(sp)
andi v0,v0,0x1
bne v0,zero,0x00014914
_or s5,zero,zero
or t6,zero,zero
b 0x00013c9c
_or s1,zero,zero
or t6,zero,zero
li s1,0x7
b 0x00013c9c
_or s5,zero,zero
bne t1,zero,0x00013e04
_or t6,zero,zero
li s1,0x5c
b 0x00013c9c
_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,0x38c0
bal 0x000138c0
_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,0x00014c78
_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,0x00013ae4
_sltu v0,s0,s4
sltu v0,s0,s4
beq v0,zero,0x00014454
_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,0x00014468
_addu v0,t0,v0
li a0,0x24
sb a0,0x0(v0)
addiu v0,s0,0x2
sltu a0,v0,s4
beq a0,zero,0x00014480
_addu v0,t0,v0
li a0,0x27
sb a0,0x0(v0)
addiu s0,s0,0x3
b 0x00013ae0
_or t5,s3,zero
lw t9,-0x7df4(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,0x00013a34
_lw t7,0x54(sp)
bne v1,zero,0x00014bd0
_nop
lbu s1,0x0(s8)
sltiu v0,s1,0x7f
beq v0,zero,0x00014b84
_lw a0,-0x7fc8(gp)
sll v0,s1,0x2
addiu a0,a0,-0x590c
addu v0,a0,v0
lw v0,0x0(v0)
addu v0,v0,gp
jr v0
_nop
or s5,zero,zero
b 0x00013ad4
_li s1,0x62
li v0,0x1
beq a0,v0,0x0001448c
_lw t9,-0x7e58(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 0x00013a28
_lw t7,0x40(sp)
bne t5,zero,0x00013ec8
_sltu v0,s0,s4
beq v0,zero,0x00014584
_addiu v0,s0,0x1
addu v0,t0,s0
sb a2,0x0(v0)
addiu v0,s0,0x1
sltu a0,v0,s4
beq a0,zero,0x00014594
_addu v0,t0,v0
sb t4,0x0(v0)
addiu v0,s0,0x2
sltu a0,v0,s4
beq a0,zero,0x000145a8
_addu v0,t0,v0
sb a2,0x0(v0)
addiu s0,s0,0x3
b 0x00013ec4
_or t5,t1,zero
or t6,zero,zero
b 0x00013d7c
_li v0,0x72
lb v0,0x1(t7)
b 0x00013a74
_sltu v0,zero,v0
bne v1,zero,0x00014388
_or s8,t0,zero
beq s4,zero,0x000145e8
_lw v0,0x6c(sp)
bne v0,zero,0x00014848
_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 0x00013c08
_or a0,zero,zero
bne v1,zero,0x00014384
_or t6,zero,zero
or s5,zero,zero
b 0x00013bb0
_li s1,0x3f
bne s7,v0,0x00013b4c
_lw v0,0x58(sp)
bne v1,zero,0x00013b9c
_lw v0,0x5c(sp)
beq v0,zero,0x00014bc0
_lw v0,0x58(sp)
bne t2,zero,0x00014bd8
_lw v0,0x70(sp)
bne s4,zero,0x00014bbc
_lw v0,0x6c(sp)
beq v0,zero,0x00014c0c
_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,-0x5da8
sw v0,0x58(sp)
li v0,0x1
b 0x000139c8
_sw v0,0x38(sp)
addiu t4,sp,0x8c
sw zero,0x8c(sp)
li v0,-0x1
bne s6,v0,0x000146e4
_sw zero,0x4(t4)
lw t9,-0x7e58(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 0x0001475c
_sw t8,0x40(sp)
addu s0,s0,v0
jalr t9
_lw a0,0x88(sp)
or a0,s3,zero
lw gp,0x28(sp)
lw t9,-0x7df0(gp)
jalr t9
_movz s5,zero,v0
bne v0,zero,0x00014948
_lw gp,0x28(sp)
addu s7,s2,s0
lw t9,-0x7f6c(gp)
lw a0,0x40(sp)
or a3,s3,zero
addu s1,s4,s7
subu a2,s6,s7
bal 0x000182e0
_or a1,s1,zero
beq v0,zero,0x00014948
_lw gp,0x28(sp)
li v1,-0x1
beq v0,v1,0x000149f0
_or a2,s0,zero
li v1,-0x2
beq v0,v1,0x00014a38
_or t3,s7,zero
beq s8,zero,0x00014734
_lw t9,-0x7e14(gp)
lw a0,0xd0(sp)
li v1,0x2
bne a0,v1,0x00014734
_li v1,0x1
beq v0,v1,0x00014734
_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,0x000147f8
_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,0x000147c8
_nop
b 0x00014734
_lw t9,-0x7e14(gp)
or t7,s4,zero
lw t1,0x44(sp)
lw s8,0x48(sp)
b 0x00014388
_lw s4,0xc4(sp)
li s1,0x20
beq v1,zero,0x00013c04
_or s5,t1,zero
b 0x00014388
_or s8,t0,zero
or t6,zero,zero
beq v1,zero,0x00013c04
_li s1,0x20
b 0x00014388
_or s8,t0,zero
beq v0,zero,0x00014858
_addu v0,t0,s0
li a0,0x27
sb a0,0x0(v0)
addiu v0,s0,0x1
sltu a0,v0,s4
beq a0,zero,0x00014870
_addu v0,t0,v0
li a0,0x5c
sb a0,0x0(v0)
addiu v0,s0,0x2
sltu a0,v0,s4
beq a0,zero,0x000145ec
_addu v0,t0,v0
li a0,0x27
b 0x000145ec
_sb a0,0x0(v0)
bne t5,zero,0x000149a0
_or a0,s0,zero
sltu a0,s0,s4
beq a0,zero,0x000148b0
_sltu a0,v0,s4
addu a0,t0,s0
li a1,0x27
sb a1,0x0(a0)
sltu a0,v0,s4
beq a0,zero,0x000148c0
_addu v0,t0,v0
li a0,0x24
sb a0,0x0(v0)
addiu v0,s0,0x2
sltu a0,v0,s4
beq a0,zero,0x000148e0
_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,0x00014990
_or t5,t1,zero
addu v0,t0,a0
li a2,0x5c
li a1,0x2
bne s7,a1,0x00013cf8
_sb a2,0x0(v0)
li s1,0x30
or a0,t1,zero
b 0x00013ac4
_or s5,zero,zero
b 0x000139e8
_addiu s2,s2,0x1
b 0x000148f0
_or s0,v0,zero
sltu v0,s0,s4
bne v0,zero,0x000149b8
_or v0,s0,zero
or t2,zero,zero
b 0x000139e8
_or s0,a1,zero
or s8,t0,zero
b 0x00013cc0
_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,0x00013e80
_addu t3,s2,a2
b 0x00013e98
_or a0,zero,zero
or a0,t1,zero
li s1,0x30
b 0x00013ac4
_or s5,zero,zero
b 0x000148e4
_or s0,v0,zero
beq v1,zero,0x0001462c
_lw v0,0x5c(sp)
b 0x0001438c
_li v1,0x2
addu v0,t0,v0
li s1,0x5c
or s5,zero,zero
or s0,a1,zero
b 0x00013b18
_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 0x00014144
_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 0x0001497c
_lw s7,0xd0(sp)
sw zero,0x6c(sp)
sw zero,0x5c(sp)
b 0x000139a8
_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,0x00014c28
_lw s8,0x84(sp)
lb v0,0x0(a1)
bne v0,zero,0x00014aa8
_addiu a0,a0,0x1
addiu a0,a0,-0x1
b 0x00014c2c
_sltiu v0,a2,0x2
lb v0,0x0(v0)
beq v0,zero,0x00014abc
_or a2,a0,zero
addiu a0,a0,0x1
addu v0,s2,a0
sltu v0,v0,s6
bne v0,zero,0x00014a98
_addu v0,s8,a0
or a2,a0,zero
b 0x0001497c
_or s5,zero,zero
lb v0,0x0(a1)
beq v0,zero,0x00014014
_sltu a0,s0,s4
beq a0,zero,0x00014adc
_addu a0,s8,s0
sb v0,0x0(a0)
addiu s0,s0,0x1
addu v0,a1,s0
lb v0,0x0(v0)
bne v0,zero,0x00014ad0
_sltu a0,s0,s4
b 0x0001401c
_lw s1,0x70(sp)
addu v0,t0,v0
b 0x00013d48
_sb a1,0x0(v0)
or t6,t1,zero
b 0x00013a88
_or s5,zero,zero
b 0x00013da4
_or t6,t1,zero
b 0x00013c90
_or t6,t1,zero
or t6,t1,zero
li a0,0xa
b 0x00013d68
_li s1,0x6e
or t6,t1,zero
li a0,0x9
b 0x00013d68
_li s1,0x74
b 0x00013cdc
_or t6,t1,zero
b 0x00013a60
_or t6,t1,zero
li v0,0x5
beq s7,v0,0x00013c44
_or t6,t1,zero
or s5,zero,zero
b 0x00013bb0
_li s1,0x3f
b 0x00013bcc
_or t6,t1,zero
or t6,t1,zero
b 0x00013bb0
_or s5,t1,zero
b 0x00013a7c
_or t6,t1,zero
b 0x00013e14
_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,-0x5dbc
b 0x000139c8
_sw v0,0x58(sp)
lw v0,0x58(sp)
bne v0,zero,0x00013b5c
_nop
b 0x00013ba0
_sltu s4,s0,s4
b 0x00014398
_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 0x000143cc
_sw v0,0x10(sp)
beq v0,zero,0x000143e4
_lw v0,0x58(sp)
lb v1,0x0(v0)
bne v1,zero,0x00013b6c
_lw a1,0x58(sp)
b 0x000143e8
_lw v1,0x78(sp)
sltiu v0,a2,0x2
beq v0,zero,0x00013e94
_or s5,zero,zero
bne t1,zero,0x00013e94
_nop
b 0x00013c9c
_nop
b 0x00013acc
_li s1,0x72
or s5,zero,zero
b 0x00013acc
_li s1,0x62
or s8,t0,zero
b 0x00014398
_li s7,0x5
li t2,0x1
sw zero,0x6c(sp)
or t5,zero,zero
b 0x00014650
_sw zero,0x5c(sp)
lw t9,-0x7dfc(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,-0x5da8
b 0x000139c8
_sw v0,0x58(sp)
lw t9,-0x7ec0(gp)
jalr t9
_nop
(translation_unit "void FUN_000138c0(void)\n\n{\n  uint in_stack_00000010;\n  \n  (*(code *)PTR___ctype_get_mb_cur_max_0002c2b0)();\n  if (in_stack_00000010 < 0xb) {\n                    /* WARNING: Could not emulate address calculation at 0x00013970 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)))();\n    return;\n  }\n  (*(code *)PTR_abort_0002c210)();\n  return;\n}\n\n" (function_definition "void FUN_000138c0(void)\n\n{\n  uint in_stack_00000010;\n  \n  (*(code *)PTR___ctype_get_mb_cur_max_0002c2b0)();\n  if (in_stack_00000010 < 0xb) {\n                    /* WARNING: Could not emulate address calculation at 0x00013970 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)))();\n    return;\n  }\n  (*(code *)PTR_abort_0002c210)();\n  return;\n}" primitive_type (function_declarator "FUN_000138c0(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_0002c2b0)();\n  if (in_stack_00000010 < 0xb) {\n                    /* WARNING: Could not emulate address calculation at 0x00013970 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)))();\n    return;\n  }\n  (*(code *)PTR_abort_0002c210)();\n  return;\n}" { (declaration "uint in_stack_00000010;" type_identifier identifier ;) (expression_statement "(*(code *)PTR___ctype_get_mb_cur_max_0002c2b0)();" (call_expression "(*(code *)PTR___ctype_get_mb_cur_max_0002c2b0)()" (parenthesized_expression "(*(code *)PTR___ctype_get_mb_cur_max_0002c2b0)" ( (pointer_expression "*(code *)PTR___ctype_get_mb_cur_max_0002c2b0" * (cast_expression "(code *)PTR___ctype_get_mb_cur_max_0002c2b0" ( (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 0x00013970 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)))();\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 0x00013970 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)))();\n    return;\n  }" { comment comment (expression_statement "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)))();" (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30))" ( (binary_expression "&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)" * (cast_expression "(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)" ( (binary_expression "PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30" (binary_expression "PTR_DAT_0002c108 + 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_0002c210)();" (call_expression "(*(code *)PTR_abort_0002c210)()" (parenthesized_expression "(*(code *)PTR_abort_0002c210)" ( (pointer_expression "*(code *)PTR_abort_0002c210" * (cast_expression "(code *)PTR_abort_0002c210" ( (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_0002c2b0)();\n  if (quoting_style < (custom_quoting_style|shell_quoting_style)) {\n                    /* WARNING: Could not emulate address calculation at 0x00013970 */\n                    /* WARNING: Treating indirect jump as call */\n    sVar1 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002c108 + quoting_style * 4 + -0x5d30)))();\n    return sVar1;\n  }\n  sVar1 = (*(code *)PTR_abort_0002c210)();\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_0002c2b0)();\n  if (quoting_style < (custom_quoting_style|shell_quoting_style)) {\n                    /* WARNING: Could not emulate address calculation at 0x00013970 */\n                    /* WARNING: Treating indirect jump as call */\n    sVar1 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002c108 + quoting_style * 4 + -0x5d30)))();\n    return sVar1;\n  }\n  sVar1 = (*(code *)PTR_abort_0002c210)();\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_0002c2b0)();\n  if (quoting_style < (custom_quoting_style|shell_quoting_style)) {\n                    /* WARNING: Could not emulate address calculation at 0x00013970 */\n                    /* WARNING: Treating indirect jump as call */\n    sVar1 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002c108 + quoting_style * 4 + -0x5d30)))();\n    return sVar1;\n  }\n  sVar1 = (*(code *)PTR_abort_0002c210)();\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_0002c2b0)();" (call_expression "(*(code *)PTR___ctype_get_mb_cur_max_0002c2b0)()" (parenthesized_expression "(*(code *)PTR___ctype_get_mb_cur_max_0002c2b0)" ( (pointer_expression "*(code *)PTR___ctype_get_mb_cur_max_0002c2b0" * (cast_expression "(code *)PTR___ctype_get_mb_cur_max_0002c2b0" ( (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 0x00013970 */\n                    /* WARNING: Treating indirect jump as call */\n    sVar1 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002c108 + quoting_style * 4 + -0x5d30)))();\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 0x00013970 */\n                    /* WARNING: Treating indirect jump as call */\n    sVar1 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002c108 + quoting_style * 4 + -0x5d30)))();\n    return sVar1;\n  }" { comment comment (expression_statement "sVar1 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002c108 + quoting_style * 4 + -0x5d30)))();" (assignment_expression "sVar1 = (*(code *)(&_gp + *(int *)(PTR_DAT_0002c108 + quoting_style * 4 + -0x5d30)))()" identifier = (call_expression "(*(code *)(&_gp + *(int *)(PTR_DAT_0002c108 + quoting_style * 4 + -0x5d30)))()" (parenthesized_expression "(*(code *)(&_gp + *(int *)(PTR_DAT_0002c108 + quoting_style * 4 + -0x5d30)))" ( (pointer_expression "*(code *)(&_gp + *(int *)(PTR_DAT_0002c108 + quoting_style * 4 + -0x5d30))" * (cast_expression "(code *)(&_gp + *(int *)(PTR_DAT_0002c108 + quoting_style * 4 + -0x5d30))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp + *(int *)(PTR_DAT_0002c108 + quoting_style * 4 + -0x5d30))" ( (binary_expression "&_gp + *(int *)(PTR_DAT_0002c108 + quoting_style * 4 + -0x5d30)" (pointer_expression "&_gp" & identifier) + (pointer_expression "*(int *)(PTR_DAT_0002c108 + quoting_style * 4 + -0x5d30)" * (cast_expression "(int *)(PTR_DAT_0002c108 + quoting_style * 4 + -0x5d30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002c108 + quoting_style * 4 + -0x5d30)" ( (binary_expression "PTR_DAT_0002c108 + quoting_style * 4 + -0x5d30" (binary_expression "PTR_DAT_0002c108 + 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_0002c210)();" (assignment_expression "sVar1 = (*(code *)PTR_abort_0002c210)()" identifier = (call_expression "(*(code *)PTR_abort_0002c210)()" (parenthesized_expression "(*(code *)PTR_abort_0002c210)" ( (pointer_expression "*(code *)PTR_abort_0002c210" * (cast_expression "(code *)PTR_abort_0002c210" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return sVar1;" return identifier ;) })))
(translation_unit "void FUN_000138c0(void)\n\n{\n  uint in_stack_00000010;\n  \n  (*(code *)PTR___ctype_get_mb_cur_max_0002c2b0)();\n  if (in_stack_00000010 < 0xb) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)))();\n    return;\n  }\n  (*(code *)PTR_abort_0002c210)();\n  return;\n}\n\n" (function_definition "void FUN_000138c0(void)\n\n{\n  uint in_stack_00000010;\n  \n  (*(code *)PTR___ctype_get_mb_cur_max_0002c2b0)();\n  if (in_stack_00000010 < 0xb) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)))();\n    return;\n  }\n  (*(code *)PTR_abort_0002c210)();\n  return;\n}" primitive_type (function_declarator "FUN_000138c0(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_0002c2b0)();\n  if (in_stack_00000010 < 0xb) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)))();\n    return;\n  }\n  (*(code *)PTR_abort_0002c210)();\n  return;\n}" { (declaration "uint in_stack_00000010;" type_identifier identifier ;) (expression_statement "(*(code *)PTR___ctype_get_mb_cur_max_0002c2b0)();" (call_expression "(*(code *)PTR___ctype_get_mb_cur_max_0002c2b0)()" (parenthesized_expression "(*(code *)PTR___ctype_get_mb_cur_max_0002c2b0)" ( (pointer_expression "*(code *)PTR___ctype_get_mb_cur_max_0002c2b0" * (cast_expression "(code *)PTR___ctype_get_mb_cur_max_0002c2b0" ( (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_0002c108 + in_stack_00000010 * 4 + -0x5d30)))();\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_0002c108 + in_stack_00000010 * 4 + -0x5d30)))();\n    return;\n  }" { (expression_statement "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)))();" (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30))" ( (binary_expression "&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)" * (cast_expression "(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)" ( (binary_expression "PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30" (binary_expression "PTR_DAT_0002c108 + 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_0002c210)();" (call_expression "(*(code *)PTR_abort_0002c210)()" (parenthesized_expression "(*(code *)PTR_abort_0002c210)" ( (pointer_expression "*(code *)PTR_abort_0002c210" * (cast_expression "(code *)PTR_abort_0002c210" ( (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_000138c0(void)\n\n{\n  uint in_stack_00000010;\n  \n  (*(code *)PTR___ctype_get_mb_cur_max_0002c2b0)();\n  if (in_stack_00000010 < 0xb) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)))();\n    return;\n  }\n  (*(code *)PTR_abort_0002c210)();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000138c0(void)" (identifier "FUN_000138c0") (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_0002c2b0)();\n  if (in_stack_00000010 < 0xb) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)))();\n    return;\n  }\n  (*(code *)PTR_abort_0002c210)();\n  return;\n}" ({ "{") (declaration "uint in_stack_00000010;" (type_identifier "uint") (identifier "in_stack_00000010") (; ";")) (expression_statement "(*(code *)PTR___ctype_get_mb_cur_max_0002c2b0)();" (call_expression "(*(code *)PTR___ctype_get_mb_cur_max_0002c2b0)()" (parenthesized_expression "(*(code *)PTR___ctype_get_mb_cur_max_0002c2b0)" (( "(") (pointer_expression "*(code *)PTR___ctype_get_mb_cur_max_0002c2b0" (* "*") (cast_expression "(code *)PTR___ctype_get_mb_cur_max_0002c2b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___ctype_get_mb_cur_max_0002c2b0"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (in_stack_00000010 < 0xb) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)))();\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_0002c108 + in_stack_00000010 * 4 + -0x5d30)))();\n    return;\n  }" ({ "{") (expression_statement "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)))();" (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30))" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30))" (( "(") (binary_expression "&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)" (* "*") (cast_expression "(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)" (( "(") (binary_expression "PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30" (binary_expression "PTR_DAT_0002c108 + in_stack_00000010 * 4" (identifier "PTR_DAT_0002c108") (+ "+") (binary_expression "in_stack_00000010 * 4" (identifier "in_stack_00000010") (* "*") (number_literal "4"))) (+ "+") (number_literal "-0x5d30")) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_abort_0002c210)();" (call_expression "(*(code *)PTR_abort_0002c210)()" (parenthesized_expression "(*(code *)PTR_abort_0002c210)" (( "(") (pointer_expression "*(code *)PTR_abort_0002c210" (* "*") (cast_expression "(code *)PTR_abort_0002c210" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_abort_0002c210"))) () ")")) (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_0002c2b0)();
  if (type_1 < (var_1|var_2)) {
                    /* WARNING: Could not emulate address calculation at 0x00013970 */
                    /* WARNING: Treating indirect jump as call */
    sVar1 = (*(type_5 *)(&_gp + *(int *)(var_3 + type_1 * 4 + -0x5d30)))();
    return sVar1;
  }
  sVar1 = (*(type_5 *)PTR_abort_0002c210)();
  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_0002c2b0)();
  if (in_stack_00000010 < 0xb) {
                    /* WARNING: Could not emulate address calculation at 0x00013970 */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_0002c108 + in_stack_00000010 * 4 + -0x5d30)))();
    return;
  }
  (*(code *)PTR_abort_0002c210)();
  return;
}

