
char * quotearg_n_custom_mem(int n,char *left_quote,char *right_quote,char *arg,size_t argsize)

{
  undefined *puVar1;
  quoting_style *pqVar2;
  quoting_style *pqVar3;
  char *pcVar4;
  int n_00;
  quoting_options *pqVar5;
  quoting_style qVar6;
  quoting_options *o_00;
  quoting_style qVar7;
  quoting_style qVar8;
  quoting_options o;
  
  puVar1 = PTR___stack_chk_guard_0003658c;
  o_00 = &o;
  n_00 = *(int *)PTR___stack_chk_guard_0003658c;
  pqVar2 = (quoting_style *)(PTR_DAT_00036268 + 0x6780);
  pqVar5 = o_00;
  do {
    pqVar3 = pqVar2 + 4;
    qVar8 = pqVar2[1];
    qVar7 = pqVar2[2];
    qVar6 = pqVar2[3];
    pqVar5->style = *pqVar2;
    pqVar5->flags = qVar8;
    pqVar5->quote_these_too[0] = qVar7;
    pqVar5->quote_these_too[1] = qVar6;
    pqVar2 = pqVar3;
    pqVar5 = (quoting_options *)(pqVar5->quote_these_too + 2);
  } while (pqVar3 != (quoting_style *)(PTR_DAT_00036268 + 0x67b0));
  set_custom_quoting(o_00,left_quote,right_quote);
  pcVar4 = quotearg_n_options(n,arg,argsize,o_00);
  if (n_00 == *(int *)puVar1) {
    return pcVar4;
  }
  (*(code *)PTR___stack_chk_fail_0003656c)();
  pcVar4 = quotearg_n_custom_mem(n_00,arg,(char *)argsize,(char *)o_00,0xffffffff);
  return pcVar4;
}



void quotearg_n_custom_mem
               (undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
               undefined4 param_5)

{
  undefined *puVar1;
  undefined4 *puVar2;
  undefined4 *puVar3;
  undefined4 *puVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  undefined4 uVar7;
  undefined4 local_4c [12];
  int local_1c;
  
  puVar1 = PTR___stack_chk_guard_0003658c;
  local_1c = *(int *)PTR___stack_chk_guard_0003658c;
  puVar2 = (undefined4 *)(PTR_DAT_00036268 + 0x6780);
  puVar4 = local_4c;
  do {
    puVar3 = puVar2 + 4;
    uVar7 = puVar2[1];
    uVar6 = puVar2[2];
    uVar5 = puVar2[3];
    *puVar4 = *puVar2;
    puVar4[1] = uVar7;
    puVar4[2] = uVar6;
    puVar4[3] = uVar5;
    puVar2 = puVar3;
    puVar4 = puVar4 + 4;
  } while (puVar3 != (undefined4 *)(PTR_DAT_00036268 + 0x67b0));
  set_custom_quoting(local_4c);
  FUN_0001bc60(param_1,param_4,param_5,local_4c);
  if (local_1c == *(int *)puVar1) {
    return;
  }
  (*(code *)PTR___stack_chk_fail_0003656c)();
  quotearg_n_custom_mem();
  return;
}


lui gp,0x2
addiu gp,gp,0x1a10
addu gp,gp,t9
addiu sp,sp,-0x68
lw v0,-0x7fd8(gp)
sw s1,0x58(sp)
addiu v0,v0,0x6780
lw s1,-0x7cb4(gp)
sw s0,0x54(sp)
addiu s0,sp,0x1c
sw s2,0x5c(sp)
or s2,a0,zero
addiu a0,v0,0x30
sw s3,0x60(sp)
sw gp,0x10(sp)
or s3,a3,zero
sw ra,0x64(sp)
lw v1,0x0(s1)
sw v1,0x4c(sp)
or v1,s0,zero
lw t2,0x0(v0)
addiu v0,v0,0x10
addiu v1,v1,0x10
lw t1,-0xc(v0)
lw t0,-0x8(v0)
lw a3,-0x4(v0)
sw t2,-0x10(v1)
sw t1,-0xc(v1)
sw t0,-0x8(v1)
bne v0,a0,0x0001c880
_sw a3,-0x4(v1)
lw t9,-0x7e94(gp)
bal 0x0001c04c
_or a0,s0,zero
or a0,s2,zero
lw gp,0x10(sp)
or a3,s0,zero
lw a2,0x78(sp)
lw t9,-0x7fc8(gp)
addiu t9,t9,-0x43a0
bal 0x0001bc60
_or a1,s3,zero
lw a0,0x4c(sp)
lw v1,0x0(s1)
bne a0,v1,0x0001c904
_lw gp,0x10(sp)
lw ra,0x64(sp)
lw s3,0x60(sp)
lw s2,0x5c(sp)
lw s1,0x58(sp)
lw s0,0x54(sp)
jr ra
_addiu sp,sp,0x68
lw t9,-0x7cd4(gp)
jalr t9
_nop
(translation_unit "void quotearg_n_custom_mem\n               (undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n               undefined4 param_5)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 local_4c [12];\n  int local_1c;\n  \n  puVar1 = PTR___stack_chk_guard_0003658c;\n  local_1c = *(int *)PTR___stack_chk_guard_0003658c;\n  puVar2 = (undefined4 *)(PTR_DAT_00036268 + 0x6780);\n  puVar4 = local_4c;\n  do {\n    puVar3 = puVar2 + 4;\n    uVar7 = puVar2[1];\n    uVar6 = puVar2[2];\n    uVar5 = puVar2[3];\n    *puVar4 = *puVar2;\n    puVar4[1] = uVar7;\n    puVar4[2] = uVar6;\n    puVar4[3] = uVar5;\n    puVar2 = puVar3;\n    puVar4 = puVar4 + 4;\n  } while (puVar3 != (undefined4 *)(PTR_DAT_00036268 + 0x67b0));\n  set_custom_quoting(local_4c);\n  FUN_0001bc60(param_1,param_4,param_5,local_4c);\n  if (local_1c == *(int *)puVar1) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_0003656c)();\n  quotearg_n_custom_mem();\n  return;\n}\n\n" (function_definition "void quotearg_n_custom_mem\n               (undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n               undefined4 param_5)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 local_4c [12];\n  int local_1c;\n  \n  puVar1 = PTR___stack_chk_guard_0003658c;\n  local_1c = *(int *)PTR___stack_chk_guard_0003658c;\n  puVar2 = (undefined4 *)(PTR_DAT_00036268 + 0x6780);\n  puVar4 = local_4c;\n  do {\n    puVar3 = puVar2 + 4;\n    uVar7 = puVar2[1];\n    uVar6 = puVar2[2];\n    uVar5 = puVar2[3];\n    *puVar4 = *puVar2;\n    puVar4[1] = uVar7;\n    puVar4[2] = uVar6;\n    puVar4[3] = uVar5;\n    puVar2 = puVar3;\n    puVar4 = puVar4 + 4;\n  } while (puVar3 != (undefined4 *)(PTR_DAT_00036268 + 0x67b0));\n  set_custom_quoting(local_4c);\n  FUN_0001bc60(param_1,param_4,param_5,local_4c);\n  if (local_1c == *(int *)puVar1) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_0003656c)();\n  quotearg_n_custom_mem();\n  return;\n}" primitive_type (function_declarator "quotearg_n_custom_mem\n               (undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n               undefined4 param_5)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n               undefined4 param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 local_4c [12];\n  int local_1c;\n  \n  puVar1 = PTR___stack_chk_guard_0003658c;\n  local_1c = *(int *)PTR___stack_chk_guard_0003658c;\n  puVar2 = (undefined4 *)(PTR_DAT_00036268 + 0x6780);\n  puVar4 = local_4c;\n  do {\n    puVar3 = puVar2 + 4;\n    uVar7 = puVar2[1];\n    uVar6 = puVar2[2];\n    uVar5 = puVar2[3];\n    *puVar4 = *puVar2;\n    puVar4[1] = uVar7;\n    puVar4[2] = uVar6;\n    puVar4[3] = uVar5;\n    puVar2 = puVar3;\n    puVar4 = puVar4 + 4;\n  } while (puVar3 != (undefined4 *)(PTR_DAT_00036268 + 0x67b0));\n  set_custom_quoting(local_4c);\n  FUN_0001bc60(param_1,param_4,param_5,local_4c);\n  if (local_1c == *(int *)puVar1) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_0003656c)();\n  quotearg_n_custom_mem();\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 local_4c [12];" type_identifier (array_declarator "local_4c [12]" identifier [ number_literal ]) ;) (declaration "int local_1c;" primitive_type identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_0003658c;" (assignment_expression "puVar1 = PTR___stack_chk_guard_0003658c" identifier = identifier) ;) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_0003658c;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_0003658c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0003658c" * (cast_expression "(int *)PTR___stack_chk_guard_0003658c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar2 = (undefined4 *)(PTR_DAT_00036268 + 0x6780);" (assignment_expression "puVar2 = (undefined4 *)(PTR_DAT_00036268 + 0x6780)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_00036268 + 0x6780)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00036268 + 0x6780)" ( (binary_expression "PTR_DAT_00036268 + 0x6780" identifier + number_literal) )))) ;) (expression_statement "puVar4 = local_4c;" (assignment_expression "puVar4 = local_4c" identifier = identifier) ;) (do_statement "do {\n    puVar3 = puVar2 + 4;\n    uVar7 = puVar2[1];\n    uVar6 = puVar2[2];\n    uVar5 = puVar2[3];\n    *puVar4 = *puVar2;\n    puVar4[1] = uVar7;\n    puVar4[2] = uVar6;\n    puVar4[3] = uVar5;\n    puVar2 = puVar3;\n    puVar4 = puVar4 + 4;\n  } while (puVar3 != (undefined4 *)(PTR_DAT_00036268 + 0x67b0));" do (compound_statement "{\n    puVar3 = puVar2 + 4;\n    uVar7 = puVar2[1];\n    uVar6 = puVar2[2];\n    uVar5 = puVar2[3];\n    *puVar4 = *puVar2;\n    puVar4[1] = uVar7;\n    puVar4[2] = uVar6;\n    puVar4[3] = uVar5;\n    puVar2 = puVar3;\n    puVar4 = puVar4 + 4;\n  }" { (expression_statement "puVar3 = puVar2 + 4;" (assignment_expression "puVar3 = puVar2 + 4" identifier = (binary_expression "puVar2 + 4" identifier + number_literal)) ;) (expression_statement "uVar7 = puVar2[1];" (assignment_expression "uVar7 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "uVar6 = puVar2[2];" (assignment_expression "uVar6 = puVar2[2]" identifier = (subscript_expression "puVar2[2]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = puVar2[3];" (assignment_expression "uVar5 = puVar2[3]" identifier = (subscript_expression "puVar2[3]" identifier [ number_literal ])) ;) (expression_statement "*puVar4 = *puVar2;" (assignment_expression "*puVar4 = *puVar2" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "puVar4[1] = uVar7;" (assignment_expression "puVar4[1] = uVar7" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[2] = uVar6;" (assignment_expression "puVar4[2] = uVar6" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[3] = uVar5;" (assignment_expression "puVar4[3] = uVar5" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2 = puVar3;" (assignment_expression "puVar2 = puVar3" identifier = identifier) ;) (expression_statement "puVar4 = puVar4 + 4;" (assignment_expression "puVar4 = puVar4 + 4" identifier = (binary_expression "puVar4 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar3 != (undefined4 *)(PTR_DAT_00036268 + 0x67b0))" ( (binary_expression "puVar3 != (undefined4 *)(PTR_DAT_00036268 + 0x67b0)" identifier != (cast_expression "(undefined4 *)(PTR_DAT_00036268 + 0x67b0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00036268 + 0x67b0)" ( (binary_expression "PTR_DAT_00036268 + 0x67b0" identifier + number_literal) )))) )) ;) (expression_statement "set_custom_quoting(local_4c);" (call_expression "set_custom_quoting(local_4c)" identifier (argument_list "(local_4c)" ( identifier ))) ;) (expression_statement "FUN_0001bc60(param_1,param_4,param_5,local_4c);" (call_expression "FUN_0001bc60(param_1,param_4,param_5,local_4c)" identifier (argument_list "(param_1,param_4,param_5,local_4c)" ( identifier , identifier , identifier , identifier ))) ;) (if_statement "if (local_1c == *(int *)puVar1) {\n    return;\n  }" if (parenthesized_expression "(local_1c == *(int *)puVar1)" ( (binary_expression "local_1c == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_0003656c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0003656c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0003656c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0003656c" * (cast_expression "(code *)PTR___stack_chk_fail_0003656c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "quotearg_n_custom_mem();" (call_expression "quotearg_n_custom_mem()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "char * quotearg_n_custom_mem(int n,char *left_quote,char *right_quote,char *arg,size_t argsize)\n\n{\n  undefined *puVar1;\n  quoting_style *pqVar2;\n  quoting_style *pqVar3;\n  char *pcVar4;\n  int n_00;\n  quoting_options *pqVar5;\n  quoting_style qVar6;\n  quoting_options *o_00;\n  quoting_style qVar7;\n  quoting_style qVar8;\n  quoting_options o;\n  \n  puVar1 = PTR___stack_chk_guard_0003658c;\n  o_00 = &o;\n  n_00 = *(int *)PTR___stack_chk_guard_0003658c;\n  pqVar2 = (quoting_style *)(PTR_DAT_00036268 + 0x6780);\n  pqVar5 = o_00;\n  do {\n    pqVar3 = pqVar2 + 4;\n    qVar8 = pqVar2[1];\n    qVar7 = pqVar2[2];\n    qVar6 = pqVar2[3];\n    pqVar5->style = *pqVar2;\n    pqVar5->flags = qVar8;\n    pqVar5->quote_these_too[0] = qVar7;\n    pqVar5->quote_these_too[1] = qVar6;\n    pqVar2 = pqVar3;\n    pqVar5 = (quoting_options *)(pqVar5->quote_these_too + 2);\n  } while (pqVar3 != (quoting_style *)(PTR_DAT_00036268 + 0x67b0));\n  set_custom_quoting(o_00,left_quote,right_quote);\n  pcVar4 = quotearg_n_options(n,arg,argsize,o_00);\n  if (n_00 == *(int *)puVar1) {\n    return pcVar4;\n  }\n  (*(code *)PTR___stack_chk_fail_0003656c)();\n  pcVar4 = quotearg_n_custom_mem(n_00,arg,(char *)argsize,(char *)o_00,0xffffffff);\n  return pcVar4;\n}\n\n" (function_definition "char * quotearg_n_custom_mem(int n,char *left_quote,char *right_quote,char *arg,size_t argsize)\n\n{\n  undefined *puVar1;\n  quoting_style *pqVar2;\n  quoting_style *pqVar3;\n  char *pcVar4;\n  int n_00;\n  quoting_options *pqVar5;\n  quoting_style qVar6;\n  quoting_options *o_00;\n  quoting_style qVar7;\n  quoting_style qVar8;\n  quoting_options o;\n  \n  puVar1 = PTR___stack_chk_guard_0003658c;\n  o_00 = &o;\n  n_00 = *(int *)PTR___stack_chk_guard_0003658c;\n  pqVar2 = (quoting_style *)(PTR_DAT_00036268 + 0x6780);\n  pqVar5 = o_00;\n  do {\n    pqVar3 = pqVar2 + 4;\n    qVar8 = pqVar2[1];\n    qVar7 = pqVar2[2];\n    qVar6 = pqVar2[3];\n    pqVar5->style = *pqVar2;\n    pqVar5->flags = qVar8;\n    pqVar5->quote_these_too[0] = qVar7;\n    pqVar5->quote_these_too[1] = qVar6;\n    pqVar2 = pqVar3;\n    pqVar5 = (quoting_options *)(pqVar5->quote_these_too + 2);\n  } while (pqVar3 != (quoting_style *)(PTR_DAT_00036268 + 0x67b0));\n  set_custom_quoting(o_00,left_quote,right_quote);\n  pcVar4 = quotearg_n_options(n,arg,argsize,o_00);\n  if (n_00 == *(int *)puVar1) {\n    return pcVar4;\n  }\n  (*(code *)PTR___stack_chk_fail_0003656c)();\n  pcVar4 = quotearg_n_custom_mem(n_00,arg,(char *)argsize,(char *)o_00,0xffffffff);\n  return pcVar4;\n}" primitive_type (pointer_declarator "* quotearg_n_custom_mem(int n,char *left_quote,char *right_quote,char *arg,size_t argsize)" * (function_declarator "quotearg_n_custom_mem(int n,char *left_quote,char *right_quote,char *arg,size_t argsize)" identifier (parameter_list "(int n,char *left_quote,char *right_quote,char *arg,size_t argsize)" ( (parameter_declaration "int n" primitive_type 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)) , (parameter_declaration "char *arg" primitive_type (pointer_declarator "*arg" * identifier)) , (parameter_declaration "size_t argsize" primitive_type identifier) )))) (compound_statement "{\n  undefined *puVar1;\n  quoting_style *pqVar2;\n  quoting_style *pqVar3;\n  char *pcVar4;\n  int n_00;\n  quoting_options *pqVar5;\n  quoting_style qVar6;\n  quoting_options *o_00;\n  quoting_style qVar7;\n  quoting_style qVar8;\n  quoting_options o;\n  \n  puVar1 = PTR___stack_chk_guard_0003658c;\n  o_00 = &o;\n  n_00 = *(int *)PTR___stack_chk_guard_0003658c;\n  pqVar2 = (quoting_style *)(PTR_DAT_00036268 + 0x6780);\n  pqVar5 = o_00;\n  do {\n    pqVar3 = pqVar2 + 4;\n    qVar8 = pqVar2[1];\n    qVar7 = pqVar2[2];\n    qVar6 = pqVar2[3];\n    pqVar5->style = *pqVar2;\n    pqVar5->flags = qVar8;\n    pqVar5->quote_these_too[0] = qVar7;\n    pqVar5->quote_these_too[1] = qVar6;\n    pqVar2 = pqVar3;\n    pqVar5 = (quoting_options *)(pqVar5->quote_these_too + 2);\n  } while (pqVar3 != (quoting_style *)(PTR_DAT_00036268 + 0x67b0));\n  set_custom_quoting(o_00,left_quote,right_quote);\n  pcVar4 = quotearg_n_options(n,arg,argsize,o_00);\n  if (n_00 == *(int *)puVar1) {\n    return pcVar4;\n  }\n  (*(code *)PTR___stack_chk_fail_0003656c)();\n  pcVar4 = quotearg_n_custom_mem(n_00,arg,(char *)argsize,(char *)o_00,0xffffffff);\n  return pcVar4;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "quoting_style *pqVar2;" type_identifier (pointer_declarator "*pqVar2" * identifier) ;) (declaration "quoting_style *pqVar3;" type_identifier (pointer_declarator "*pqVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int n_00;" primitive_type identifier ;) (declaration "quoting_options *pqVar5;" type_identifier (pointer_declarator "*pqVar5" * identifier) ;) (declaration "quoting_style qVar6;" type_identifier identifier ;) (declaration "quoting_options *o_00;" type_identifier (pointer_declarator "*o_00" * identifier) ;) (declaration "quoting_style qVar7;" type_identifier identifier ;) (declaration "quoting_style qVar8;" type_identifier identifier ;) (declaration "quoting_options o;" type_identifier identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_0003658c;" (assignment_expression "puVar1 = PTR___stack_chk_guard_0003658c" identifier = identifier) ;) (expression_statement "o_00 = &o;" (assignment_expression "o_00 = &o" identifier = (pointer_expression "&o" & identifier)) ;) (expression_statement "n_00 = *(int *)PTR___stack_chk_guard_0003658c;" (assignment_expression "n_00 = *(int *)PTR___stack_chk_guard_0003658c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0003658c" * (cast_expression "(int *)PTR___stack_chk_guard_0003658c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pqVar2 = (quoting_style *)(PTR_DAT_00036268 + 0x6780);" (assignment_expression "pqVar2 = (quoting_style *)(PTR_DAT_00036268 + 0x6780)" identifier = (cast_expression "(quoting_style *)(PTR_DAT_00036268 + 0x6780)" ( (type_descriptor "quoting_style *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00036268 + 0x6780)" ( (binary_expression "PTR_DAT_00036268 + 0x6780" identifier + number_literal) )))) ;) (expression_statement "pqVar5 = o_00;" (assignment_expression "pqVar5 = o_00" identifier = identifier) ;) (do_statement "do {\n    pqVar3 = pqVar2 + 4;\n    qVar8 = pqVar2[1];\n    qVar7 = pqVar2[2];\n    qVar6 = pqVar2[3];\n    pqVar5->style = *pqVar2;\n    pqVar5->flags = qVar8;\n    pqVar5->quote_these_too[0] = qVar7;\n    pqVar5->quote_these_too[1] = qVar6;\n    pqVar2 = pqVar3;\n    pqVar5 = (quoting_options *)(pqVar5->quote_these_too + 2);\n  } while (pqVar3 != (quoting_style *)(PTR_DAT_00036268 + 0x67b0));" do (compound_statement "{\n    pqVar3 = pqVar2 + 4;\n    qVar8 = pqVar2[1];\n    qVar7 = pqVar2[2];\n    qVar6 = pqVar2[3];\n    pqVar5->style = *pqVar2;\n    pqVar5->flags = qVar8;\n    pqVar5->quote_these_too[0] = qVar7;\n    pqVar5->quote_these_too[1] = qVar6;\n    pqVar2 = pqVar3;\n    pqVar5 = (quoting_options *)(pqVar5->quote_these_too + 2);\n  }" { (expression_statement "pqVar3 = pqVar2 + 4;" (assignment_expression "pqVar3 = pqVar2 + 4" identifier = (binary_expression "pqVar2 + 4" identifier + number_literal)) ;) (expression_statement "qVar8 = pqVar2[1];" (assignment_expression "qVar8 = pqVar2[1]" identifier = (subscript_expression "pqVar2[1]" identifier [ number_literal ])) ;) (expression_statement "qVar7 = pqVar2[2];" (assignment_expression "qVar7 = pqVar2[2]" identifier = (subscript_expression "pqVar2[2]" identifier [ number_literal ])) ;) (expression_statement "qVar6 = pqVar2[3];" (assignment_expression "qVar6 = pqVar2[3]" identifier = (subscript_expression "pqVar2[3]" identifier [ number_literal ])) ;) (expression_statement "pqVar5->style = *pqVar2;" (assignment_expression "pqVar5->style = *pqVar2" (field_expression "pqVar5->style" identifier -> field_identifier) = (pointer_expression "*pqVar2" * identifier)) ;) (expression_statement "pqVar5->flags = qVar8;" (assignment_expression "pqVar5->flags = qVar8" (field_expression "pqVar5->flags" identifier -> field_identifier) = identifier) ;) (expression_statement "pqVar5->quote_these_too[0] = qVar7;" (assignment_expression "pqVar5->quote_these_too[0] = qVar7" (subscript_expression "pqVar5->quote_these_too[0]" (field_expression "pqVar5->quote_these_too" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pqVar5->quote_these_too[1] = qVar6;" (assignment_expression "pqVar5->quote_these_too[1] = qVar6" (subscript_expression "pqVar5->quote_these_too[1]" (field_expression "pqVar5->quote_these_too" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pqVar2 = pqVar3;" (assignment_expression "pqVar2 = pqVar3" identifier = identifier) ;) (expression_statement "pqVar5 = (quoting_options *)(pqVar5->quote_these_too + 2);" (assignment_expression "pqVar5 = (quoting_options *)(pqVar5->quote_these_too + 2)" identifier = (cast_expression "(quoting_options *)(pqVar5->quote_these_too + 2)" ( (type_descriptor "quoting_options *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pqVar5->quote_these_too + 2)" ( (binary_expression "pqVar5->quote_these_too + 2" (field_expression "pqVar5->quote_these_too" identifier -> field_identifier) + number_literal) )))) ;) }) while (parenthesized_expression "(pqVar3 != (quoting_style *)(PTR_DAT_00036268 + 0x67b0))" ( (binary_expression "pqVar3 != (quoting_style *)(PTR_DAT_00036268 + 0x67b0)" identifier != (cast_expression "(quoting_style *)(PTR_DAT_00036268 + 0x67b0)" ( (type_descriptor "quoting_style *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00036268 + 0x67b0)" ( (binary_expression "PTR_DAT_00036268 + 0x67b0" identifier + number_literal) )))) )) ;) (expression_statement "set_custom_quoting(o_00,left_quote,right_quote);" (call_expression "set_custom_quoting(o_00,left_quote,right_quote)" identifier (argument_list "(o_00,left_quote,right_quote)" ( identifier , identifier , identifier ))) ;) (expression_statement "pcVar4 = quotearg_n_options(n,arg,argsize,o_00);" (assignment_expression "pcVar4 = quotearg_n_options(n,arg,argsize,o_00)" identifier = (call_expression "quotearg_n_options(n,arg,argsize,o_00)" identifier (argument_list "(n,arg,argsize,o_00)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (n_00 == *(int *)puVar1) {\n    return pcVar4;\n  }" if (parenthesized_expression "(n_00 == *(int *)puVar1)" ( (binary_expression "n_00 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return pcVar4;\n  }" { (return_statement "return pcVar4;" return identifier ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_0003656c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0003656c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0003656c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0003656c" * (cast_expression "(code *)PTR___stack_chk_fail_0003656c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "pcVar4 = quotearg_n_custom_mem(n_00,arg,(char *)argsize,(char *)o_00,0xffffffff);" (assignment_expression "pcVar4 = quotearg_n_custom_mem(n_00,arg,(char *)argsize,(char *)o_00,0xffffffff)" identifier = (call_expression "quotearg_n_custom_mem(n_00,arg,(char *)argsize,(char *)o_00,0xffffffff)" identifier (argument_list "(n_00,arg,(char *)argsize,(char *)o_00,0xffffffff)" ( identifier , identifier , (cast_expression "(char *)argsize" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(char *)o_00" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) ;) (return_statement "return pcVar4;" return identifier ;) })))
(translation_unit "void quotearg_n_custom_mem\n               (undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n               undefined4 param_5)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 local_4c [12];\n  int local_1c;\n  \n  puVar1 = PTR___stack_chk_guard_0003658c;\n  local_1c = *(int *)PTR___stack_chk_guard_0003658c;\n  puVar2 = (undefined4 *)(PTR_DAT_00036268 + 0x6780);\n  puVar4 = local_4c;\n  do {\n    puVar3 = puVar2 + 4;\n    uVar7 = puVar2[1];\n    uVar6 = puVar2[2];\n    uVar5 = puVar2[3];\n    *puVar4 = *puVar2;\n    puVar4[1] = uVar7;\n    puVar4[2] = uVar6;\n    puVar4[3] = uVar5;\n    puVar2 = puVar3;\n    puVar4 = puVar4 + 4;\n  } while (puVar3 != (undefined4 *)(PTR_DAT_00036268 + 0x67b0));\n  set_custom_quoting(local_4c);\n  FUN_0001bc60(param_1,param_4,param_5,local_4c);\n  if (local_1c == *(int *)puVar1) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_0003656c)();\n  quotearg_n_custom_mem();\n  return;\n}\n\n" (function_definition "void quotearg_n_custom_mem\n               (undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n               undefined4 param_5)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 local_4c [12];\n  int local_1c;\n  \n  puVar1 = PTR___stack_chk_guard_0003658c;\n  local_1c = *(int *)PTR___stack_chk_guard_0003658c;\n  puVar2 = (undefined4 *)(PTR_DAT_00036268 + 0x6780);\n  puVar4 = local_4c;\n  do {\n    puVar3 = puVar2 + 4;\n    uVar7 = puVar2[1];\n    uVar6 = puVar2[2];\n    uVar5 = puVar2[3];\n    *puVar4 = *puVar2;\n    puVar4[1] = uVar7;\n    puVar4[2] = uVar6;\n    puVar4[3] = uVar5;\n    puVar2 = puVar3;\n    puVar4 = puVar4 + 4;\n  } while (puVar3 != (undefined4 *)(PTR_DAT_00036268 + 0x67b0));\n  set_custom_quoting(local_4c);\n  FUN_0001bc60(param_1,param_4,param_5,local_4c);\n  if (local_1c == *(int *)puVar1) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_0003656c)();\n  quotearg_n_custom_mem();\n  return;\n}" primitive_type (function_declarator "quotearg_n_custom_mem\n               (undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n               undefined4 param_5)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n               undefined4 param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 local_4c [12];\n  int local_1c;\n  \n  puVar1 = PTR___stack_chk_guard_0003658c;\n  local_1c = *(int *)PTR___stack_chk_guard_0003658c;\n  puVar2 = (undefined4 *)(PTR_DAT_00036268 + 0x6780);\n  puVar4 = local_4c;\n  do {\n    puVar3 = puVar2 + 4;\n    uVar7 = puVar2[1];\n    uVar6 = puVar2[2];\n    uVar5 = puVar2[3];\n    *puVar4 = *puVar2;\n    puVar4[1] = uVar7;\n    puVar4[2] = uVar6;\n    puVar4[3] = uVar5;\n    puVar2 = puVar3;\n    puVar4 = puVar4 + 4;\n  } while (puVar3 != (undefined4 *)(PTR_DAT_00036268 + 0x67b0));\n  set_custom_quoting(local_4c);\n  FUN_0001bc60(param_1,param_4,param_5,local_4c);\n  if (local_1c == *(int *)puVar1) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_0003656c)();\n  quotearg_n_custom_mem();\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 local_4c [12];" type_identifier (array_declarator "local_4c [12]" identifier [ number_literal ]) ;) (declaration "int local_1c;" primitive_type identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_0003658c;" (assignment_expression "puVar1 = PTR___stack_chk_guard_0003658c" identifier = identifier) ;) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_0003658c;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_0003658c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0003658c" * (cast_expression "(int *)PTR___stack_chk_guard_0003658c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar2 = (undefined4 *)(PTR_DAT_00036268 + 0x6780);" (assignment_expression "puVar2 = (undefined4 *)(PTR_DAT_00036268 + 0x6780)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_00036268 + 0x6780)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00036268 + 0x6780)" ( (binary_expression "PTR_DAT_00036268 + 0x6780" identifier + number_literal) )))) ;) (expression_statement "puVar4 = local_4c;" (assignment_expression "puVar4 = local_4c" identifier = identifier) ;) (do_statement "do {\n    puVar3 = puVar2 + 4;\n    uVar7 = puVar2[1];\n    uVar6 = puVar2[2];\n    uVar5 = puVar2[3];\n    *puVar4 = *puVar2;\n    puVar4[1] = uVar7;\n    puVar4[2] = uVar6;\n    puVar4[3] = uVar5;\n    puVar2 = puVar3;\n    puVar4 = puVar4 + 4;\n  } while (puVar3 != (undefined4 *)(PTR_DAT_00036268 + 0x67b0));" do (compound_statement "{\n    puVar3 = puVar2 + 4;\n    uVar7 = puVar2[1];\n    uVar6 = puVar2[2];\n    uVar5 = puVar2[3];\n    *puVar4 = *puVar2;\n    puVar4[1] = uVar7;\n    puVar4[2] = uVar6;\n    puVar4[3] = uVar5;\n    puVar2 = puVar3;\n    puVar4 = puVar4 + 4;\n  }" { (expression_statement "puVar3 = puVar2 + 4;" (assignment_expression "puVar3 = puVar2 + 4" identifier = (binary_expression "puVar2 + 4" identifier + number_literal)) ;) (expression_statement "uVar7 = puVar2[1];" (assignment_expression "uVar7 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "uVar6 = puVar2[2];" (assignment_expression "uVar6 = puVar2[2]" identifier = (subscript_expression "puVar2[2]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = puVar2[3];" (assignment_expression "uVar5 = puVar2[3]" identifier = (subscript_expression "puVar2[3]" identifier [ number_literal ])) ;) (expression_statement "*puVar4 = *puVar2;" (assignment_expression "*puVar4 = *puVar2" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "puVar4[1] = uVar7;" (assignment_expression "puVar4[1] = uVar7" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[2] = uVar6;" (assignment_expression "puVar4[2] = uVar6" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[3] = uVar5;" (assignment_expression "puVar4[3] = uVar5" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2 = puVar3;" (assignment_expression "puVar2 = puVar3" identifier = identifier) ;) (expression_statement "puVar4 = puVar4 + 4;" (assignment_expression "puVar4 = puVar4 + 4" identifier = (binary_expression "puVar4 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar3 != (undefined4 *)(PTR_DAT_00036268 + 0x67b0))" ( (binary_expression "puVar3 != (undefined4 *)(PTR_DAT_00036268 + 0x67b0)" identifier != (cast_expression "(undefined4 *)(PTR_DAT_00036268 + 0x67b0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00036268 + 0x67b0)" ( (binary_expression "PTR_DAT_00036268 + 0x67b0" identifier + number_literal) )))) )) ;) (expression_statement "set_custom_quoting(local_4c);" (call_expression "set_custom_quoting(local_4c)" identifier (argument_list "(local_4c)" ( identifier ))) ;) (expression_statement "FUN_0001bc60(param_1,param_4,param_5,local_4c);" (call_expression "FUN_0001bc60(param_1,param_4,param_5,local_4c)" identifier (argument_list "(param_1,param_4,param_5,local_4c)" ( identifier , identifier , identifier , identifier ))) ;) (if_statement "if (local_1c == *(int *)puVar1) {\n    return;\n  }" if (parenthesized_expression "(local_1c == *(int *)puVar1)" ( (binary_expression "local_1c == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_0003656c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0003656c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0003656c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0003656c" * (cast_expression "(code *)PTR___stack_chk_fail_0003656c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "quotearg_n_custom_mem();" (call_expression "quotearg_n_custom_mem()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void quotearg_n_custom_mem\n               (undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n               undefined4 param_5)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 local_4c [12];\n  int local_1c;\n  \n  puVar1 = PTR___stack_chk_guard_0003658c;\n  local_1c = *(int *)PTR___stack_chk_guard_0003658c;\n  puVar2 = (undefined4 *)(PTR_DAT_00036268 + 0x6780);\n  puVar4 = local_4c;\n  do {\n    puVar3 = puVar2 + 4;\n    uVar7 = puVar2[1];\n    uVar6 = puVar2[2];\n    uVar5 = puVar2[3];\n    *puVar4 = *puVar2;\n    puVar4[1] = uVar7;\n    puVar4[2] = uVar6;\n    puVar4[3] = uVar5;\n    puVar2 = puVar3;\n    puVar4 = puVar4 + 4;\n  } while (puVar3 != (undefined4 *)(PTR_DAT_00036268 + 0x67b0));\n  set_custom_quoting(local_4c);\n  FUN_0001bc60(param_1,param_4,param_5,local_4c);\n  if (local_1c == *(int *)puVar1) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_0003656c)();\n  quotearg_n_custom_mem();\n  return;\n}" (primitive_type "void") (function_declarator "quotearg_n_custom_mem\n               (undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n               undefined4 param_5)" (identifier "quotearg_n_custom_mem") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n               undefined4 param_5)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 local_4c [12];\n  int local_1c;\n  \n  puVar1 = PTR___stack_chk_guard_0003658c;\n  local_1c = *(int *)PTR___stack_chk_guard_0003658c;\n  puVar2 = (undefined4 *)(PTR_DAT_00036268 + 0x6780);\n  puVar4 = local_4c;\n  do {\n    puVar3 = puVar2 + 4;\n    uVar7 = puVar2[1];\n    uVar6 = puVar2[2];\n    uVar5 = puVar2[3];\n    *puVar4 = *puVar2;\n    puVar4[1] = uVar7;\n    puVar4[2] = uVar6;\n    puVar4[3] = uVar5;\n    puVar2 = puVar3;\n    puVar4 = puVar4 + 4;\n  } while (puVar3 != (undefined4 *)(PTR_DAT_00036268 + 0x67b0));\n  set_custom_quoting(local_4c);\n  FUN_0001bc60(param_1,param_4,param_5,local_4c);\n  if (local_1c == *(int *)puVar1) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_0003656c)();\n  quotearg_n_custom_mem();\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "undefined4 local_4c [12];" (type_identifier "undefined4") (array_declarator "local_4c [12]" (identifier "local_4c") ([ "[") (number_literal "12") (] "]")) (; ";")) (declaration "int local_1c;" (primitive_type "int") (identifier "local_1c") (; ";")) (expression_statement "puVar1 = PTR___stack_chk_guard_0003658c;" (assignment_expression "puVar1 = PTR___stack_chk_guard_0003658c" (identifier "puVar1") (= "=") (identifier "PTR___stack_chk_guard_0003658c")) (; ";")) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_0003658c;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_0003658c" (identifier "local_1c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_0003658c" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0003658c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0003658c")))) (; ";")) (expression_statement "puVar2 = (undefined4 *)(PTR_DAT_00036268 + 0x6780);" (assignment_expression "puVar2 = (undefined4 *)(PTR_DAT_00036268 + 0x6780)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)(PTR_DAT_00036268 + 0x6780)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00036268 + 0x6780)" (( "(") (binary_expression "PTR_DAT_00036268 + 0x6780" (identifier "PTR_DAT_00036268") (+ "+") (number_literal "0x6780")) () ")")))) (; ";")) (expression_statement "puVar4 = local_4c;" (assignment_expression "puVar4 = local_4c" (identifier "puVar4") (= "=") (identifier "local_4c")) (; ";")) (do_statement "do {\n    puVar3 = puVar2 + 4;\n    uVar7 = puVar2[1];\n    uVar6 = puVar2[2];\n    uVar5 = puVar2[3];\n    *puVar4 = *puVar2;\n    puVar4[1] = uVar7;\n    puVar4[2] = uVar6;\n    puVar4[3] = uVar5;\n    puVar2 = puVar3;\n    puVar4 = puVar4 + 4;\n  } while (puVar3 != (undefined4 *)(PTR_DAT_00036268 + 0x67b0));" (do "do") (compound_statement "{\n    puVar3 = puVar2 + 4;\n    uVar7 = puVar2[1];\n    uVar6 = puVar2[2];\n    uVar5 = puVar2[3];\n    *puVar4 = *puVar2;\n    puVar4[1] = uVar7;\n    puVar4[2] = uVar6;\n    puVar4[3] = uVar5;\n    puVar2 = puVar3;\n    puVar4 = puVar4 + 4;\n  }" ({ "{") (expression_statement "puVar3 = puVar2 + 4;" (assignment_expression "puVar3 = puVar2 + 4" (identifier "puVar3") (= "=") (binary_expression "puVar2 + 4" (identifier "puVar2") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "uVar7 = puVar2[1];" (assignment_expression "uVar7 = puVar2[1]" (identifier "uVar7") (= "=") (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar6 = puVar2[2];" (assignment_expression "uVar6 = puVar2[2]" (identifier "uVar6") (= "=") (subscript_expression "puVar2[2]" (identifier "puVar2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar5 = puVar2[3];" (assignment_expression "uVar5 = puVar2[3]" (identifier "uVar5") (= "=") (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*puVar4 = *puVar2;" (assignment_expression "*puVar4 = *puVar2" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (expression_statement "puVar4[1] = uVar7;" (assignment_expression "puVar4[1] = uVar7" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "puVar4[2] = uVar6;" (assignment_expression "puVar4[2] = uVar6" (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "puVar4[3] = uVar5;" (assignment_expression "puVar4[3] = uVar5" (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "puVar2 = puVar3;" (assignment_expression "puVar2 = puVar3" (identifier "puVar2") (= "=") (identifier "puVar3")) (; ";")) (expression_statement "puVar4 = puVar4 + 4;" (assignment_expression "puVar4 = puVar4 + 4" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 4" (identifier "puVar4") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar3 != (undefined4 *)(PTR_DAT_00036268 + 0x67b0))" (( "(") (binary_expression "puVar3 != (undefined4 *)(PTR_DAT_00036268 + 0x67b0)" (identifier "puVar3") (!= "!=") (cast_expression "(undefined4 *)(PTR_DAT_00036268 + 0x67b0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00036268 + 0x67b0)" (( "(") (binary_expression "PTR_DAT_00036268 + 0x67b0" (identifier "PTR_DAT_00036268") (+ "+") (number_literal "0x67b0")) () ")")))) () ")")) (; ";")) (expression_statement "set_custom_quoting(local_4c);" (call_expression "set_custom_quoting(local_4c)" (identifier "set_custom_quoting") (argument_list "(local_4c)" (( "(") (identifier "local_4c") () ")"))) (; ";")) (expression_statement "FUN_0001bc60(param_1,param_4,param_5,local_4c);" (call_expression "FUN_0001bc60(param_1,param_4,param_5,local_4c)" (identifier "FUN_0001bc60") (argument_list "(param_1,param_4,param_5,local_4c)" (( "(") (identifier "param_1") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "local_4c") () ")"))) (; ";")) (if_statement "if (local_1c == *(int *)puVar1) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_1c == *(int *)puVar1)" (( "(") (binary_expression "local_1c == *(int *)puVar1" (identifier "local_1c") (== "==") (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1")))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___stack_chk_fail_0003656c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0003656c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0003656c)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0003656c" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0003656c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0003656c"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "quotearg_n_custom_mem();" (call_expression "quotearg_n_custom_mem()" (identifier "quotearg_n_custom_mem") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

char * function_1(int n,char *left_quote,char *right_quote,char *arg,size_t argsize)

{
  type_1 *puVar1;
  type_2 *var_2;
  type_2 *var_3;
  char *pcVar4;
  int var_6;
  type_3 *pqVar5;
  type_2 qVar6;
  type_3 *o_00;
  type_2 qVar7;
  type_2 qVar8;
  type_3 o;
  
  puVar1 = PTR___stack_chk_guard_0003658c;
  o_00 = &o;
  var_6 = *(int *)PTR___stack_chk_guard_0003658c;
  var_2 = (type_2 *)(var_1 + 0x6780);
  pqVar5 = o_00;
  do {
    var_3 = var_2 + 4;
    qVar8 = var_2[1];
    qVar7 = var_2[2];
    qVar6 = var_2[3];
    pqVar5->style = *var_2;
    pqVar5->flags = qVar8;
    pqVar5->quote_these_too[0] = qVar7;
    pqVar5->quote_these_too[1] = qVar6;
    var_2 = var_3;
    pqVar5 = (type_3 *)(pqVar5->quote_these_too + 2);
  } while (var_3 != (type_2 *)(var_1 + 0x67b0));
  var_4(o_00,left_quote,right_quote);
  pcVar4 = var_5(n,arg,argsize,o_00);
  if (var_6 == *(int *)puVar1) {
    return pcVar4;
  }
  (*(type_4 *)PTR___stack_chk_fail_0003656c)();
  pcVar4 = function_1(var_6,arg,(char *)argsize,(char *)o_00,0xffffffff);
  return pcVar4;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (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))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))))

void MASKED
               (undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
               undefined4 param_5)

{
  undefined *puVar1;
  undefined4 *puVar2;
  undefined4 *puVar3;
  undefined4 *puVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  undefined4 uVar7;
  undefined4 local_4c [12];
  int local_1c;
  
  puVar1 = PTR___stack_chk_guard_0003658c;
  local_1c = *(int *)PTR___stack_chk_guard_0003658c;
  puVar2 = (undefined4 *)(PTR_DAT_00036268 + 0x6780);
  puVar4 = local_4c;
  do {
    puVar3 = puVar2 + 4;
    uVar7 = puVar2[1];
    uVar6 = puVar2[2];
    uVar5 = puVar2[3];
    *puVar4 = *puVar2;
    puVar4[1] = uVar7;
    puVar4[2] = uVar6;
    puVar4[3] = uVar5;
    puVar2 = puVar3;
    puVar4 = puVar4 + 4;
  } while (puVar3 != (undefined4 *)(PTR_DAT_00036268 + 0x67b0));
  set_custom_quoting(local_4c);
  FUN_0001bc60(param_1,param_4,param_5,local_4c);
  if (local_1c == *(int *)puVar1) {
    return;
  }
  (*(code *)PTR___stack_chk_fail_0003656c)();
  MASKED();
  return;
}

