
size_t shell_quote_length(char *string)

{
  undefined *puVar1;
  size_t sVar2;
  quoting_options *o;
  
  puVar1 = PTR_DAT_0005b118;
  o = *(quoting_options **)(PTR_DAT_0005b118 + -0x4740);
  if (o == (quoting_options *)0x0) {
    init_sh_quoting_options();
    o = *(quoting_options **)(puVar1 + -0x4740);
  }
  sVar2 = (*(code *)PTR_strlen_0005b4e4)(string);
  sVar2 = quotearg_buffer((char *)0x0,0,string,sVar2,o);
  return sVar2;
}



void shell_quote_length(undefined4 param_1)

{
  undefined *puVar1;
  undefined4 uVar2;
  int iVar3;
  
  puVar1 = PTR_DAT_0005b118;
  iVar3 = *(int *)(PTR_DAT_0005b118 + -0x4740);
  if (iVar3 == 0) {
    FUN_00026f80();
    iVar3 = *(int *)(puVar1 + -0x4740);
  }
  uVar2 = (*(code *)PTR_strlen_0005b4e4)(param_1);
  quotearg_buffer(0,0,param_1,uVar2,iVar3);
  return;
}


lui gp,0x4
addiu gp,gp,-0x3ed8
addu gp,gp,t9
addiu sp,sp,-0x30
sw s2,0x28(sp)
sw s0,0x20(sp)
lw s2,-0x7fd8(gp)
sw gp,0x18(sp)
sw s1,0x24(sp)
sw ra,0x2c(sp)
lw s0,-0x4740(s2)
beq s0,zero,0x00027040
_or s1,a0,zero
lw t9,-0x7c0c(gp)
jalr t9
_or a0,s1,zero
or a1,zero,zero
lw gp,0x18(sp)
or a0,zero,zero
sw s0,0x10(sp)
or a2,s1,zero
lw t9,-0x7d88(gp)
bal 0x00041a58
_or a3,v0,zero
lw ra,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x30
lw t9,-0x7fb4(gp)
addiu t9,t9,0x6f80
bal 0x00026f80
_nop
lw gp,0x18(sp)
b 0x00026ffc
_lw s0,-0x4740(s2)
(translation_unit "void shell_quote_length(undefined4 param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  puVar1 = PTR_DAT_0005b118;\n  iVar3 = *(int *)(PTR_DAT_0005b118 + -0x4740);\n  if (iVar3 == 0) {\n    FUN_00026f80();\n    iVar3 = *(int *)(puVar1 + -0x4740);\n  }\n  uVar2 = (*(code *)PTR_strlen_0005b4e4)(param_1);\n  quotearg_buffer(0,0,param_1,uVar2,iVar3);\n  return;\n}\n\n" (function_definition "void shell_quote_length(undefined4 param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  puVar1 = PTR_DAT_0005b118;\n  iVar3 = *(int *)(PTR_DAT_0005b118 + -0x4740);\n  if (iVar3 == 0) {\n    FUN_00026f80();\n    iVar3 = *(int *)(puVar1 + -0x4740);\n  }\n  uVar2 = (*(code *)PTR_strlen_0005b4e4)(param_1);\n  quotearg_buffer(0,0,param_1,uVar2,iVar3);\n  return;\n}" primitive_type (function_declarator "shell_quote_length(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  puVar1 = PTR_DAT_0005b118;\n  iVar3 = *(int *)(PTR_DAT_0005b118 + -0x4740);\n  if (iVar3 == 0) {\n    FUN_00026f80();\n    iVar3 = *(int *)(puVar1 + -0x4740);\n  }\n  uVar2 = (*(code *)PTR_strlen_0005b4e4)(param_1);\n  quotearg_buffer(0,0,param_1,uVar2,iVar3);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_DAT_0005b118;" (assignment_expression "puVar1 = PTR_DAT_0005b118" identifier = identifier) ;) (expression_statement "iVar3 = *(int *)(PTR_DAT_0005b118 + -0x4740);" (assignment_expression "iVar3 = *(int *)(PTR_DAT_0005b118 + -0x4740)" identifier = (pointer_expression "*(int *)(PTR_DAT_0005b118 + -0x4740)" * (cast_expression "(int *)(PTR_DAT_0005b118 + -0x4740)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0005b118 + -0x4740)" ( (binary_expression "PTR_DAT_0005b118 + -0x4740" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) {\n    FUN_00026f80();\n    iVar3 = *(int *)(puVar1 + -0x4740);\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_00026f80();\n    iVar3 = *(int *)(puVar1 + -0x4740);\n  }" { (expression_statement "FUN_00026f80();" (call_expression "FUN_00026f80()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar3 = *(int *)(puVar1 + -0x4740);" (assignment_expression "iVar3 = *(int *)(puVar1 + -0x4740)" identifier = (pointer_expression "*(int *)(puVar1 + -0x4740)" * (cast_expression "(int *)(puVar1 + -0x4740)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x4740)" ( (binary_expression "puVar1 + -0x4740" identifier + number_literal) ))))) ;) })) (expression_statement "uVar2 = (*(code *)PTR_strlen_0005b4e4)(param_1);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_0005b4e4)(param_1)" identifier = (call_expression "(*(code *)PTR_strlen_0005b4e4)(param_1)" (parenthesized_expression "(*(code *)PTR_strlen_0005b4e4)" ( (pointer_expression "*(code *)PTR_strlen_0005b4e4" * (cast_expression "(code *)PTR_strlen_0005b4e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "quotearg_buffer(0,0,param_1,uVar2,iVar3);" (call_expression "quotearg_buffer(0,0,param_1,uVar2,iVar3)" identifier (argument_list "(0,0,param_1,uVar2,iVar3)" ( number_literal , number_literal , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "size_t shell_quote_length(char *string)\n\n{\n  undefined *puVar1;\n  size_t sVar2;\n  quoting_options *o;\n  \n  puVar1 = PTR_DAT_0005b118;\n  o = *(quoting_options **)(PTR_DAT_0005b118 + -0x4740);\n  if (o == (quoting_options *)0x0) {\n    init_sh_quoting_options();\n    o = *(quoting_options **)(puVar1 + -0x4740);\n  }\n  sVar2 = (*(code *)PTR_strlen_0005b4e4)(string);\n  sVar2 = quotearg_buffer((char *)0x0,0,string,sVar2,o);\n  return sVar2;\n}\n\n" (function_definition "size_t shell_quote_length(char *string)\n\n{\n  undefined *puVar1;\n  size_t sVar2;\n  quoting_options *o;\n  \n  puVar1 = PTR_DAT_0005b118;\n  o = *(quoting_options **)(PTR_DAT_0005b118 + -0x4740);\n  if (o == (quoting_options *)0x0) {\n    init_sh_quoting_options();\n    o = *(quoting_options **)(puVar1 + -0x4740);\n  }\n  sVar2 = (*(code *)PTR_strlen_0005b4e4)(string);\n  sVar2 = quotearg_buffer((char *)0x0,0,string,sVar2,o);\n  return sVar2;\n}" primitive_type (function_declarator "shell_quote_length(char *string)" identifier (parameter_list "(char *string)" ( (parameter_declaration "char *string" primitive_type (pointer_declarator "*string" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  size_t sVar2;\n  quoting_options *o;\n  \n  puVar1 = PTR_DAT_0005b118;\n  o = *(quoting_options **)(PTR_DAT_0005b118 + -0x4740);\n  if (o == (quoting_options *)0x0) {\n    init_sh_quoting_options();\n    o = *(quoting_options **)(puVar1 + -0x4740);\n  }\n  sVar2 = (*(code *)PTR_strlen_0005b4e4)(string);\n  sVar2 = quotearg_buffer((char *)0x0,0,string,sVar2,o);\n  return sVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "quoting_options *o;" type_identifier (pointer_declarator "*o" * identifier) ;) (expression_statement "puVar1 = PTR_DAT_0005b118;" (assignment_expression "puVar1 = PTR_DAT_0005b118" identifier = identifier) ;) (expression_statement "o = *(quoting_options **)(PTR_DAT_0005b118 + -0x4740);" (assignment_expression "o = *(quoting_options **)(PTR_DAT_0005b118 + -0x4740)" identifier = (pointer_expression "*(quoting_options **)(PTR_DAT_0005b118 + -0x4740)" * (cast_expression "(quoting_options **)(PTR_DAT_0005b118 + -0x4740)" ( (type_descriptor "quoting_options **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0005b118 + -0x4740)" ( (binary_expression "PTR_DAT_0005b118 + -0x4740" identifier + number_literal) ))))) ;) (if_statement "if (o == (quoting_options *)0x0) {\n    init_sh_quoting_options();\n    o = *(quoting_options **)(puVar1 + -0x4740);\n  }" if (parenthesized_expression "(o == (quoting_options *)0x0)" ( (binary_expression "o == (quoting_options *)0x0" identifier == (cast_expression "(quoting_options *)0x0" ( (type_descriptor "quoting_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    init_sh_quoting_options();\n    o = *(quoting_options **)(puVar1 + -0x4740);\n  }" { (expression_statement "init_sh_quoting_options();" (call_expression "init_sh_quoting_options()" identifier (argument_list "()" ( ))) ;) (expression_statement "o = *(quoting_options **)(puVar1 + -0x4740);" (assignment_expression "o = *(quoting_options **)(puVar1 + -0x4740)" identifier = (pointer_expression "*(quoting_options **)(puVar1 + -0x4740)" * (cast_expression "(quoting_options **)(puVar1 + -0x4740)" ( (type_descriptor "quoting_options **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + -0x4740)" ( (binary_expression "puVar1 + -0x4740" identifier + number_literal) ))))) ;) })) (expression_statement "sVar2 = (*(code *)PTR_strlen_0005b4e4)(string);" (assignment_expression "sVar2 = (*(code *)PTR_strlen_0005b4e4)(string)" identifier = (call_expression "(*(code *)PTR_strlen_0005b4e4)(string)" (parenthesized_expression "(*(code *)PTR_strlen_0005b4e4)" ( (pointer_expression "*(code *)PTR_strlen_0005b4e4" * (cast_expression "(code *)PTR_strlen_0005b4e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(string)" ( identifier )))) ;) (expression_statement "sVar2 = quotearg_buffer((char *)0x0,0,string,sVar2,o);" (assignment_expression "sVar2 = quotearg_buffer((char *)0x0,0,string,sVar2,o)" identifier = (call_expression "quotearg_buffer((char *)0x0,0,string,sVar2,o)" identifier (argument_list "((char *)0x0,0,string,sVar2,o)" ( (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal , identifier , identifier , identifier )))) ;) (return_statement "return sVar2;" return identifier ;) })))
(translation_unit "void shell_quote_length(undefined4 param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  puVar1 = PTR_DAT_0005b118;\n  iVar3 = *(int *)(PTR_DAT_0005b118 + -0x4740);\n  if (iVar3 == 0) {\n    FUN_00026f80();\n    iVar3 = *(int *)(puVar1 + -0x4740);\n  }\n  uVar2 = (*(code *)PTR_strlen_0005b4e4)(param_1);\n  quotearg_buffer(0,0,param_1,uVar2,iVar3);\n  return;\n}\n\n" (function_definition "void shell_quote_length(undefined4 param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  puVar1 = PTR_DAT_0005b118;\n  iVar3 = *(int *)(PTR_DAT_0005b118 + -0x4740);\n  if (iVar3 == 0) {\n    FUN_00026f80();\n    iVar3 = *(int *)(puVar1 + -0x4740);\n  }\n  uVar2 = (*(code *)PTR_strlen_0005b4e4)(param_1);\n  quotearg_buffer(0,0,param_1,uVar2,iVar3);\n  return;\n}" primitive_type (function_declarator "shell_quote_length(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  puVar1 = PTR_DAT_0005b118;\n  iVar3 = *(int *)(PTR_DAT_0005b118 + -0x4740);\n  if (iVar3 == 0) {\n    FUN_00026f80();\n    iVar3 = *(int *)(puVar1 + -0x4740);\n  }\n  uVar2 = (*(code *)PTR_strlen_0005b4e4)(param_1);\n  quotearg_buffer(0,0,param_1,uVar2,iVar3);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_DAT_0005b118;" (assignment_expression "puVar1 = PTR_DAT_0005b118" identifier = identifier) ;) (expression_statement "iVar3 = *(int *)(PTR_DAT_0005b118 + -0x4740);" (assignment_expression "iVar3 = *(int *)(PTR_DAT_0005b118 + -0x4740)" identifier = (pointer_expression "*(int *)(PTR_DAT_0005b118 + -0x4740)" * (cast_expression "(int *)(PTR_DAT_0005b118 + -0x4740)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0005b118 + -0x4740)" ( (binary_expression "PTR_DAT_0005b118 + -0x4740" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) {\n    FUN_00026f80();\n    iVar3 = *(int *)(puVar1 + -0x4740);\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_00026f80();\n    iVar3 = *(int *)(puVar1 + -0x4740);\n  }" { (expression_statement "FUN_00026f80();" (call_expression "FUN_00026f80()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar3 = *(int *)(puVar1 + -0x4740);" (assignment_expression "iVar3 = *(int *)(puVar1 + -0x4740)" identifier = (pointer_expression "*(int *)(puVar1 + -0x4740)" * (cast_expression "(int *)(puVar1 + -0x4740)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x4740)" ( (binary_expression "puVar1 + -0x4740" identifier + number_literal) ))))) ;) })) (expression_statement "uVar2 = (*(code *)PTR_strlen_0005b4e4)(param_1);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_0005b4e4)(param_1)" identifier = (call_expression "(*(code *)PTR_strlen_0005b4e4)(param_1)" (parenthesized_expression "(*(code *)PTR_strlen_0005b4e4)" ( (pointer_expression "*(code *)PTR_strlen_0005b4e4" * (cast_expression "(code *)PTR_strlen_0005b4e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "quotearg_buffer(0,0,param_1,uVar2,iVar3);" (call_expression "quotearg_buffer(0,0,param_1,uVar2,iVar3)" identifier (argument_list "(0,0,param_1,uVar2,iVar3)" ( number_literal , number_literal , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , LIT , IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void shell_quote_length(undefined4 param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  puVar1 = PTR_DAT_0005b118;\n  iVar3 = *(int *)(PTR_DAT_0005b118 + -0x4740);\n  if (iVar3 == 0) {\n    FUN_00026f80();\n    iVar3 = *(int *)(puVar1 + -0x4740);\n  }\n  uVar2 = (*(code *)PTR_strlen_0005b4e4)(param_1);\n  quotearg_buffer(0,0,param_1,uVar2,iVar3);\n  return;\n}" (primitive_type "void") (function_declarator "shell_quote_length(undefined4 param_1)" (identifier "shell_quote_length") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  puVar1 = PTR_DAT_0005b118;\n  iVar3 = *(int *)(PTR_DAT_0005b118 + -0x4740);\n  if (iVar3 == 0) {\n    FUN_00026f80();\n    iVar3 = *(int *)(puVar1 + -0x4740);\n  }\n  uVar2 = (*(code *)PTR_strlen_0005b4e4)(param_1);\n  quotearg_buffer(0,0,param_1,uVar2,iVar3);\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "puVar1 = PTR_DAT_0005b118;" (assignment_expression "puVar1 = PTR_DAT_0005b118" (identifier "puVar1") (= "=") (identifier "PTR_DAT_0005b118")) (; ";")) (expression_statement "iVar3 = *(int *)(PTR_DAT_0005b118 + -0x4740);" (assignment_expression "iVar3 = *(int *)(PTR_DAT_0005b118 + -0x4740)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(PTR_DAT_0005b118 + -0x4740)" (* "*") (cast_expression "(int *)(PTR_DAT_0005b118 + -0x4740)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0005b118 + -0x4740)" (( "(") (binary_expression "PTR_DAT_0005b118 + -0x4740" (identifier "PTR_DAT_0005b118") (+ "+") (number_literal "-0x4740")) () ")"))))) (; ";")) (if_statement "if (iVar3 == 0) {\n    FUN_00026f80();\n    iVar3 = *(int *)(puVar1 + -0x4740);\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00026f80();\n    iVar3 = *(int *)(puVar1 + -0x4740);\n  }" ({ "{") (expression_statement "FUN_00026f80();" (call_expression "FUN_00026f80()" (identifier "FUN_00026f80") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar3 = *(int *)(puVar1 + -0x4740);" (assignment_expression "iVar3 = *(int *)(puVar1 + -0x4740)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(puVar1 + -0x4740)" (* "*") (cast_expression "(int *)(puVar1 + -0x4740)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0x4740)" (( "(") (binary_expression "puVar1 + -0x4740" (identifier "puVar1") (+ "+") (number_literal "-0x4740")) () ")"))))) (; ";")) (} "}"))) (expression_statement "uVar2 = (*(code *)PTR_strlen_0005b4e4)(param_1);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_0005b4e4)(param_1)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_strlen_0005b4e4)(param_1)" (parenthesized_expression "(*(code *)PTR_strlen_0005b4e4)" (( "(") (pointer_expression "*(code *)PTR_strlen_0005b4e4" (* "*") (cast_expression "(code *)PTR_strlen_0005b4e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_0005b4e4"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "quotearg_buffer(0,0,param_1,uVar2,iVar3);" (call_expression "quotearg_buffer(0,0,param_1,uVar2,iVar3)" (identifier "quotearg_buffer") (argument_list "(0,0,param_1,uVar2,iVar3)" (( "(") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "param_1") (, ",") (identifier "uVar2") (, ",") (identifier "iVar3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

size_t function_1(char *string)

{
  type_1 *var_4;
  size_t sVar2;
  type_2 *var_2;
  
  var_4 = var_1;
  var_2 = *(type_2 **)(var_1 + -0x4740);
  if (var_2 == (type_2 *)0x0) {
    var_3();
    var_2 = *(type_2 **)(var_4 + -0x4740);
  }
  sVar2 = (*(type_3 *)PTR_strlen_0005b4e4)(string);
  sVar2 = var_5((char *)0x0,0,string,sVar2,var_2);
  return sVar2;
}


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

void MASKED(undefined4 param_1)

{
  undefined *puVar1;
  undefined4 uVar2;
  int iVar3;
  
  puVar1 = PTR_DAT_0005b118;
  iVar3 = *(int *)(PTR_DAT_0005b118 + -0x4740);
  if (iVar3 == 0) {
    FUN_00026f80();
    iVar3 = *(int *)(puVar1 + -0x4740);
  }
  uVar2 = (*(code *)PTR_strlen_0005b4e4)(param_1);
  quotearg_buffer(0,0,param_1,uVar2,iVar3);
  return;
}

