
size_t lf_refill(line_filter *lf)

{
  size_t sVar1;
  char *pcVar2;
  FILE *in_a2;
  
  sVar1 = ck_fread(lf->buffer,(size_t)lf->infile,in_a2);
  lf->bufpos = lf->buffer;
  pcVar2 = lf->buffer + sVar1;
  lf->buflim = pcVar2;
  *pcVar2 = '\n';
  checksigs();
  return sVar1;
}



int FUN_00013524(undefined4 *param_1)

{
  int iVar1;
  undefined1 *puVar2;
  
  iVar1 = FUN_000134a0(param_1[2],*param_1);
  param_1[1] = param_1[2];
  puVar2 = (undefined1 *)(param_1[2] + iVar1);
  param_1[3] = puVar2;
  *puVar2 = 10;
  FUN_00012e0c();
  return iVar1;
}


lui gp,0x2
addiu gp,gp,0x1b2c
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7fcc(gp)
lw a1,0x0(a0)
sw s0,0x20(sp)
or s0,a0,zero
sw ra,0x24(sp)
addiu t9,t9,0x34a0
sw gp,0x10(sp)
bal 0x000134a0
_lw a0,0x8(a0)
lw gp,0x10(sp)
lw a0,0x8(s0)
sw v0,0x1c(sp)
sw a0,0x4(s0)
addu v1,a0,v0
lw t9,-0x7fcc(gp)
li a0,0xa
sw v1,0xc(s0)
addiu t9,t9,0x2e0c
bal 0x00012e0c
_sb a0,0x0(v1)
lw ra,0x24(sp)
lw v0,0x1c(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "int FUN_00013524(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined1 *puVar2;\n  \n  iVar1 = FUN_000134a0(param_1[2],*param_1);\n  param_1[1] = param_1[2];\n  puVar2 = (undefined1 *)(param_1[2] + iVar1);\n  param_1[3] = puVar2;\n  *puVar2 = 10;\n  FUN_00012e0c();\n  return iVar1;\n}\n\n" (function_definition "int FUN_00013524(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined1 *puVar2;\n  \n  iVar1 = FUN_000134a0(param_1[2],*param_1);\n  param_1[1] = param_1[2];\n  puVar2 = (undefined1 *)(param_1[2] + iVar1);\n  param_1[3] = puVar2;\n  *puVar2 = 10;\n  FUN_00012e0c();\n  return iVar1;\n}" primitive_type (function_declarator "FUN_00013524(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined1 *puVar2;\n  \n  iVar1 = FUN_000134a0(param_1[2],*param_1);\n  param_1[1] = param_1[2];\n  puVar2 = (undefined1 *)(param_1[2] + iVar1);\n  param_1[3] = puVar2;\n  *puVar2 = 10;\n  FUN_00012e0c();\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "iVar1 = FUN_000134a0(param_1[2],*param_1);" (assignment_expression "iVar1 = FUN_000134a0(param_1[2],*param_1)" identifier = (call_expression "FUN_000134a0(param_1[2],*param_1)" identifier (argument_list "(param_1[2],*param_1)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (pointer_expression "*param_1" * identifier) )))) ;) (expression_statement "param_1[1] = param_1[2];" (assignment_expression "param_1[1] = param_1[2]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "puVar2 = (undefined1 *)(param_1[2] + iVar1);" (assignment_expression "puVar2 = (undefined1 *)(param_1[2] + iVar1)" identifier = (cast_expression "(undefined1 *)(param_1[2] + iVar1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + iVar1)" ( (binary_expression "param_1[2] + iVar1" (subscript_expression "param_1[2]" identifier [ number_literal ]) + identifier) )))) ;) (expression_statement "param_1[3] = puVar2;" (assignment_expression "param_1[3] = puVar2" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar2 = 10;" (assignment_expression "*puVar2 = 10" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "FUN_00012e0c();" (call_expression "FUN_00012e0c()" identifier (argument_list "()" ( ))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "size_t lf_refill(line_filter *lf)\n\n{\n  size_t sVar1;\n  char *pcVar2;\n  FILE *in_a2;\n  \n  sVar1 = ck_fread(lf->buffer,(size_t)lf->infile,in_a2);\n  lf->bufpos = lf->buffer;\n  pcVar2 = lf->buffer + sVar1;\n  lf->buflim = pcVar2;\n  *pcVar2 = '\n';\n  checksigs();\n  return sVar1;\n}\n\n" (function_definition "size_t lf_refill(line_filter *lf)\n\n{\n  size_t sVar1;\n  char *pcVar2;\n  FILE *in_a2;\n  \n  sVar1 = ck_fread(lf->buffer,(size_t)lf->infile,in_a2);\n  lf->bufpos = lf->buffer;\n  pcVar2 = lf->buffer + sVar1;\n  lf->buflim = pcVar2;\n  *pcVar2 = '\n';\n  checksigs();\n  return sVar1;\n}" primitive_type (function_declarator "lf_refill(line_filter *lf)" identifier (parameter_list "(line_filter *lf)" ( (parameter_declaration "line_filter *lf" type_identifier (pointer_declarator "*lf" * identifier)) ))) (compound_statement "{\n  size_t sVar1;\n  char *pcVar2;\n  FILE *in_a2;\n  \n  sVar1 = ck_fread(lf->buffer,(size_t)lf->infile,in_a2);\n  lf->bufpos = lf->buffer;\n  pcVar2 = lf->buffer + sVar1;\n  lf->buflim = pcVar2;\n  *pcVar2 = '\n';\n  checksigs();\n  return sVar1;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "FILE *in_a2;" type_identifier (pointer_declarator "*in_a2" * identifier) ;) (expression_statement "sVar1 = ck_fread(lf->buffer,(size_t)lf->infile,in_a2);" (assignment_expression "sVar1 = ck_fread(lf->buffer,(size_t)lf->infile,in_a2)" identifier = (call_expression "ck_fread(lf->buffer,(size_t)lf->infile,in_a2)" identifier (argument_list "(lf->buffer,(size_t)lf->infile,in_a2)" ( (field_expression "lf->buffer" identifier -> field_identifier) , (cast_expression "(size_t)lf->infile" ( (type_descriptor "size_t" primitive_type) ) (field_expression "lf->infile" identifier -> field_identifier)) , identifier )))) ;) (expression_statement "lf->bufpos = lf->buffer;" (assignment_expression "lf->bufpos = lf->buffer" (field_expression "lf->bufpos" identifier -> field_identifier) = (field_expression "lf->buffer" identifier -> field_identifier)) ;) (expression_statement "pcVar2 = lf->buffer + sVar1;" (assignment_expression "pcVar2 = lf->buffer + sVar1" identifier = (binary_expression "lf->buffer + sVar1" (field_expression "lf->buffer" identifier -> field_identifier) + identifier)) ;) (expression_statement "lf->buflim = pcVar2;" (assignment_expression "lf->buflim = pcVar2" (field_expression "lf->buflim" identifier -> field_identifier) = identifier) ;) (expression_statement "*pcVar2 = '\n';" (assignment_expression "*pcVar2 = '\n'" (pointer_expression "*pcVar2" * identifier) = (char_literal "'\n'" ' escape_sequence ')) ;) (expression_statement "checksigs();" (call_expression "checksigs()" identifier (argument_list "()" ( ))) ;) (return_statement "return sVar1;" return identifier ;) })))
(translation_unit "int FUN_00013524(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined1 *puVar2;\n  \n  iVar1 = FUN_000134a0(param_1[2],*param_1);\n  param_1[1] = param_1[2];\n  puVar2 = (undefined1 *)(param_1[2] + iVar1);\n  param_1[3] = puVar2;\n  *puVar2 = 10;\n  FUN_00012e0c();\n  return iVar1;\n}\n\n" (function_definition "int FUN_00013524(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined1 *puVar2;\n  \n  iVar1 = FUN_000134a0(param_1[2],*param_1);\n  param_1[1] = param_1[2];\n  puVar2 = (undefined1 *)(param_1[2] + iVar1);\n  param_1[3] = puVar2;\n  *puVar2 = 10;\n  FUN_00012e0c();\n  return iVar1;\n}" primitive_type (function_declarator "FUN_00013524(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined1 *puVar2;\n  \n  iVar1 = FUN_000134a0(param_1[2],*param_1);\n  param_1[1] = param_1[2];\n  puVar2 = (undefined1 *)(param_1[2] + iVar1);\n  param_1[3] = puVar2;\n  *puVar2 = 10;\n  FUN_00012e0c();\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "iVar1 = FUN_000134a0(param_1[2],*param_1);" (assignment_expression "iVar1 = FUN_000134a0(param_1[2],*param_1)" identifier = (call_expression "FUN_000134a0(param_1[2],*param_1)" identifier (argument_list "(param_1[2],*param_1)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (pointer_expression "*param_1" * identifier) )))) ;) (expression_statement "param_1[1] = param_1[2];" (assignment_expression "param_1[1] = param_1[2]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "puVar2 = (undefined1 *)(param_1[2] + iVar1);" (assignment_expression "puVar2 = (undefined1 *)(param_1[2] + iVar1)" identifier = (cast_expression "(undefined1 *)(param_1[2] + iVar1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + iVar1)" ( (binary_expression "param_1[2] + iVar1" (subscript_expression "param_1[2]" identifier [ number_literal ]) + identifier) )))) ;) (expression_statement "param_1[3] = puVar2;" (assignment_expression "param_1[3] = puVar2" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar2 = 10;" (assignment_expression "*puVar2 = 10" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "FUN_00012e0c();" (call_expression "FUN_00012e0c()" identifier (argument_list "()" ( ))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (pointer_expression * IDENT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return IDENT ;) })))
(function_definition "int FUN_00013524(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined1 *puVar2;\n  \n  iVar1 = FUN_000134a0(param_1[2],*param_1);\n  param_1[1] = param_1[2];\n  puVar2 = (undefined1 *)(param_1[2] + iVar1);\n  param_1[3] = puVar2;\n  *puVar2 = 10;\n  FUN_00012e0c();\n  return iVar1;\n}" (primitive_type "int") (function_declarator "FUN_00013524(undefined4 *param_1)" (identifier "FUN_00013524") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined1 *puVar2;\n  \n  iVar1 = FUN_000134a0(param_1[2],*param_1);\n  param_1[1] = param_1[2];\n  puVar2 = (undefined1 *)(param_1[2] + iVar1);\n  param_1[3] = puVar2;\n  *puVar2 = 10;\n  FUN_00012e0c();\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined1 *puVar2;" (type_identifier "undefined1") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (expression_statement "iVar1 = FUN_000134a0(param_1[2],*param_1);" (assignment_expression "iVar1 = FUN_000134a0(param_1[2],*param_1)" (identifier "iVar1") (= "=") (call_expression "FUN_000134a0(param_1[2],*param_1)" (identifier "FUN_000134a0") (argument_list "(param_1[2],*param_1)" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")")))) (; ";")) (expression_statement "param_1[1] = param_1[2];" (assignment_expression "param_1[1] = param_1[2]" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "puVar2 = (undefined1 *)(param_1[2] + iVar1);" (assignment_expression "puVar2 = (undefined1 *)(param_1[2] + iVar1)" (identifier "puVar2") (= "=") (cast_expression "(undefined1 *)(param_1[2] + iVar1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[2] + iVar1)" (( "(") (binary_expression "param_1[2] + iVar1" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (+ "+") (identifier "iVar1")) () ")")))) (; ";")) (expression_statement "param_1[3] = puVar2;" (assignment_expression "param_1[3] = puVar2" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "puVar2")) (; ";")) (expression_statement "*puVar2 = 10;" (assignment_expression "*puVar2 = 10" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (number_literal "10")) (; ";")) (expression_statement "FUN_00012e0c();" (call_expression "FUN_00012e0c()" (identifier "FUN_00012e0c") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

size_t function_1(type_1 *lf)

{
  size_t var_2;
  char *pcVar2;
  type_2 *in_a2;
  
  var_2 = var_1(lf->buffer,(size_t)lf->infile,in_a2);
  lf->bufpos = lf->buffer;
  pcVar2 = lf->buffer + var_2;
  lf->buflim = pcVar2;
  *pcVar2 = '\n';
  var_3();
  return var_2;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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: (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: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement (identifier)))))

int MASKED(undefined4 *param_1)

{
  int iVar1;
  undefined1 *puVar2;
  
  iVar1 = FUN_000134a0(param_1[2],*param_1);
  param_1[1] = param_1[2];
  puVar2 = (undefined1 *)(param_1[2] + iVar1);
  param_1[3] = puVar2;
  *puVar2 = 10;
  FUN_00012e0c();
  return iVar1;
}

