
void bufchain_clear(bufchain *ch)

{
  code *pcVar1;
  bufchain_granule *pbVar2;
  
  pbVar2 = ch->head;
  pcVar1 = (code *)PTR_free_000adcdc;
  while (PTR_free_000adcdc = pcVar1, pbVar2 != (bufchain_granule *)0x0) {
    ch->head = pbVar2->next;
    (*pcVar1)();
    pcVar1 = (code *)PTR_free_000adcdc;
    pbVar2 = ch->head;
  }
  ch->tail = (bufchain_granule *)0x0;
  ch->buffersize = 0;
  return;
}



void bufchain_clear(int *param_1)

{
  code *pcVar1;
  int *piVar2;
  
  piVar2 = (int *)*param_1;
  pcVar1 = (code *)PTR_free_000adcdc;
  while (PTR_free_000adcdc = pcVar1, piVar2 != (int *)0x0) {
    *param_1 = *piVar2;
    (*pcVar1)();
    pcVar1 = (code *)PTR_free_000adcdc;
    piVar2 = (int *)*param_1;
  }
  param_1[1] = 0;
  param_1[2] = 0;
  return;
}


lui gp,0x9
addiu gp,gp,0x3480
addu gp,gp,t9
addiu sp,sp,-0x20
sw s0,0x18(sp)
or s0,a0,zero
sw gp,0x10(sp)
sw ra,0x1c(sp)
lw a0,0x0(a0)
beq a0,zero,0x00021e5c
_lw ra,0x1c(sp)
lw v0,0x0(a0)
lw t9,-0x75b4(gp)
jalr t9
_sw v0,0x0(s0)
lw a0,0x0(s0)
bne a0,zero,0x00021e3c
_lw gp,0x10(sp)
lw ra,0x1c(sp)
sw zero,0x4(s0)
sw zero,0x8(s0)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "void bufchain_clear(int *param_1)\n\n{\n  code *pcVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_1;\n  pcVar1 = (code *)PTR_free_000adcdc;\n  while (PTR_free_000adcdc = pcVar1, piVar2 != (int *)0x0) {\n    *param_1 = *piVar2;\n    (*pcVar1)();\n    pcVar1 = (code *)PTR_free_000adcdc;\n    piVar2 = (int *)*param_1;\n  }\n  param_1[1] = 0;\n  param_1[2] = 0;\n  return;\n}\n\n" (function_definition "void bufchain_clear(int *param_1)\n\n{\n  code *pcVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_1;\n  pcVar1 = (code *)PTR_free_000adcdc;\n  while (PTR_free_000adcdc = pcVar1, piVar2 != (int *)0x0) {\n    *param_1 = *piVar2;\n    (*pcVar1)();\n    pcVar1 = (code *)PTR_free_000adcdc;\n    piVar2 = (int *)*param_1;\n  }\n  param_1[1] = 0;\n  param_1[2] = 0;\n  return;\n}" primitive_type (function_declarator "bufchain_clear(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  code *pcVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_1;\n  pcVar1 = (code *)PTR_free_000adcdc;\n  while (PTR_free_000adcdc = pcVar1, piVar2 != (int *)0x0) {\n    *param_1 = *piVar2;\n    (*pcVar1)();\n    pcVar1 = (code *)PTR_free_000adcdc;\n    piVar2 = (int *)*param_1;\n  }\n  param_1[1] = 0;\n  param_1[2] = 0;\n  return;\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = (int *)*param_1;" (assignment_expression "piVar2 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "pcVar1 = (code *)PTR_free_000adcdc;" (assignment_expression "pcVar1 = (code *)PTR_free_000adcdc" identifier = (cast_expression "(code *)PTR_free_000adcdc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (while_statement "while (PTR_free_000adcdc = pcVar1, piVar2 != (int *)0x0) {\n    *param_1 = *piVar2;\n    (*pcVar1)();\n    pcVar1 = (code *)PTR_free_000adcdc;\n    piVar2 = (int *)*param_1;\n  }" while (parenthesized_expression "(PTR_free_000adcdc = pcVar1, piVar2 != (int *)0x0)" ( (comma_expression "PTR_free_000adcdc = pcVar1, piVar2 != (int *)0x0" (assignment_expression "PTR_free_000adcdc = pcVar1" identifier = identifier) , (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n    *param_1 = *piVar2;\n    (*pcVar1)();\n    pcVar1 = (code *)PTR_free_000adcdc;\n    piVar2 = (int *)*param_1;\n  }" { (expression_statement "*param_1 = *piVar2;" (assignment_expression "*param_1 = *piVar2" (pointer_expression "*param_1" * identifier) = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "(*pcVar1)();" (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "pcVar1 = (code *)PTR_free_000adcdc;" (assignment_expression "pcVar1 = (code *)PTR_free_000adcdc" identifier = (cast_expression "(code *)PTR_free_000adcdc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "piVar2 = (int *)*param_1;" (assignment_expression "piVar2 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) })) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void bufchain_clear(bufchain *ch)\n\n{\n  code *pcVar1;\n  bufchain_granule *pbVar2;\n  \n  pbVar2 = ch->head;\n  pcVar1 = (code *)PTR_free_000adcdc;\n  while (PTR_free_000adcdc = pcVar1, pbVar2 != (bufchain_granule *)0x0) {\n    ch->head = pbVar2->next;\n    (*pcVar1)();\n    pcVar1 = (code *)PTR_free_000adcdc;\n    pbVar2 = ch->head;\n  }\n  ch->tail = (bufchain_granule *)0x0;\n  ch->buffersize = 0;\n  return;\n}\n\n" (function_definition "void bufchain_clear(bufchain *ch)\n\n{\n  code *pcVar1;\n  bufchain_granule *pbVar2;\n  \n  pbVar2 = ch->head;\n  pcVar1 = (code *)PTR_free_000adcdc;\n  while (PTR_free_000adcdc = pcVar1, pbVar2 != (bufchain_granule *)0x0) {\n    ch->head = pbVar2->next;\n    (*pcVar1)();\n    pcVar1 = (code *)PTR_free_000adcdc;\n    pbVar2 = ch->head;\n  }\n  ch->tail = (bufchain_granule *)0x0;\n  ch->buffersize = 0;\n  return;\n}" primitive_type (function_declarator "bufchain_clear(bufchain *ch)" identifier (parameter_list "(bufchain *ch)" ( (parameter_declaration "bufchain *ch" type_identifier (pointer_declarator "*ch" * identifier)) ))) (compound_statement "{\n  code *pcVar1;\n  bufchain_granule *pbVar2;\n  \n  pbVar2 = ch->head;\n  pcVar1 = (code *)PTR_free_000adcdc;\n  while (PTR_free_000adcdc = pcVar1, pbVar2 != (bufchain_granule *)0x0) {\n    ch->head = pbVar2->next;\n    (*pcVar1)();\n    pcVar1 = (code *)PTR_free_000adcdc;\n    pbVar2 = ch->head;\n  }\n  ch->tail = (bufchain_granule *)0x0;\n  ch->buffersize = 0;\n  return;\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "bufchain_granule *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (expression_statement "pbVar2 = ch->head;" (assignment_expression "pbVar2 = ch->head" identifier = (field_expression "ch->head" identifier -> field_identifier)) ;) (expression_statement "pcVar1 = (code *)PTR_free_000adcdc;" (assignment_expression "pcVar1 = (code *)PTR_free_000adcdc" identifier = (cast_expression "(code *)PTR_free_000adcdc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (while_statement "while (PTR_free_000adcdc = pcVar1, pbVar2 != (bufchain_granule *)0x0) {\n    ch->head = pbVar2->next;\n    (*pcVar1)();\n    pcVar1 = (code *)PTR_free_000adcdc;\n    pbVar2 = ch->head;\n  }" while (parenthesized_expression "(PTR_free_000adcdc = pcVar1, pbVar2 != (bufchain_granule *)0x0)" ( (comma_expression "PTR_free_000adcdc = pcVar1, pbVar2 != (bufchain_granule *)0x0" (assignment_expression "PTR_free_000adcdc = pcVar1" identifier = identifier) , (binary_expression "pbVar2 != (bufchain_granule *)0x0" identifier != (cast_expression "(bufchain_granule *)0x0" ( (type_descriptor "bufchain_granule *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n    ch->head = pbVar2->next;\n    (*pcVar1)();\n    pcVar1 = (code *)PTR_free_000adcdc;\n    pbVar2 = ch->head;\n  }" { (expression_statement "ch->head = pbVar2->next;" (assignment_expression "ch->head = pbVar2->next" (field_expression "ch->head" identifier -> field_identifier) = (field_expression "pbVar2->next" identifier -> field_identifier)) ;) (expression_statement "(*pcVar1)();" (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "pcVar1 = (code *)PTR_free_000adcdc;" (assignment_expression "pcVar1 = (code *)PTR_free_000adcdc" identifier = (cast_expression "(code *)PTR_free_000adcdc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pbVar2 = ch->head;" (assignment_expression "pbVar2 = ch->head" identifier = (field_expression "ch->head" identifier -> field_identifier)) ;) })) (expression_statement "ch->tail = (bufchain_granule *)0x0;" (assignment_expression "ch->tail = (bufchain_granule *)0x0" (field_expression "ch->tail" identifier -> field_identifier) = (cast_expression "(bufchain_granule *)0x0" ( (type_descriptor "bufchain_granule *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "ch->buffersize = 0;" (assignment_expression "ch->buffersize = 0" (field_expression "ch->buffersize" identifier -> field_identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void bufchain_clear(int *param_1)\n\n{\n  code *pcVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_1;\n  pcVar1 = (code *)PTR_free_000adcdc;\n  while (PTR_free_000adcdc = pcVar1, piVar2 != (int *)0x0) {\n    *param_1 = *piVar2;\n    (*pcVar1)();\n    pcVar1 = (code *)PTR_free_000adcdc;\n    piVar2 = (int *)*param_1;\n  }\n  param_1[1] = 0;\n  param_1[2] = 0;\n  return;\n}\n\n" (function_definition "void bufchain_clear(int *param_1)\n\n{\n  code *pcVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_1;\n  pcVar1 = (code *)PTR_free_000adcdc;\n  while (PTR_free_000adcdc = pcVar1, piVar2 != (int *)0x0) {\n    *param_1 = *piVar2;\n    (*pcVar1)();\n    pcVar1 = (code *)PTR_free_000adcdc;\n    piVar2 = (int *)*param_1;\n  }\n  param_1[1] = 0;\n  param_1[2] = 0;\n  return;\n}" primitive_type (function_declarator "bufchain_clear(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  code *pcVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_1;\n  pcVar1 = (code *)PTR_free_000adcdc;\n  while (PTR_free_000adcdc = pcVar1, piVar2 != (int *)0x0) {\n    *param_1 = *piVar2;\n    (*pcVar1)();\n    pcVar1 = (code *)PTR_free_000adcdc;\n    piVar2 = (int *)*param_1;\n  }\n  param_1[1] = 0;\n  param_1[2] = 0;\n  return;\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = (int *)*param_1;" (assignment_expression "piVar2 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "pcVar1 = (code *)PTR_free_000adcdc;" (assignment_expression "pcVar1 = (code *)PTR_free_000adcdc" identifier = (cast_expression "(code *)PTR_free_000adcdc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (while_statement "while (PTR_free_000adcdc = pcVar1, piVar2 != (int *)0x0) {\n    *param_1 = *piVar2;\n    (*pcVar1)();\n    pcVar1 = (code *)PTR_free_000adcdc;\n    piVar2 = (int *)*param_1;\n  }" while (parenthesized_expression "(PTR_free_000adcdc = pcVar1, piVar2 != (int *)0x0)" ( (comma_expression "PTR_free_000adcdc = pcVar1, piVar2 != (int *)0x0" (assignment_expression "PTR_free_000adcdc = pcVar1" identifier = identifier) , (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n    *param_1 = *piVar2;\n    (*pcVar1)();\n    pcVar1 = (code *)PTR_free_000adcdc;\n    piVar2 = (int *)*param_1;\n  }" { (expression_statement "*param_1 = *piVar2;" (assignment_expression "*param_1 = *piVar2" (pointer_expression "*param_1" * identifier) = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "(*pcVar1)();" (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "pcVar1 = (code *)PTR_free_000adcdc;" (assignment_expression "pcVar1 = (code *)PTR_free_000adcdc" identifier = (cast_expression "(code *)PTR_free_000adcdc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "piVar2 = (int *)*param_1;" (assignment_expression "piVar2 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) })) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return ;) })))
(function_definition "void bufchain_clear(int *param_1)\n\n{\n  code *pcVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_1;\n  pcVar1 = (code *)PTR_free_000adcdc;\n  while (PTR_free_000adcdc = pcVar1, piVar2 != (int *)0x0) {\n    *param_1 = *piVar2;\n    (*pcVar1)();\n    pcVar1 = (code *)PTR_free_000adcdc;\n    piVar2 = (int *)*param_1;\n  }\n  param_1[1] = 0;\n  param_1[2] = 0;\n  return;\n}" (primitive_type "void") (function_declarator "bufchain_clear(int *param_1)" (identifier "bufchain_clear") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  code *pcVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_1;\n  pcVar1 = (code *)PTR_free_000adcdc;\n  while (PTR_free_000adcdc = pcVar1, piVar2 != (int *)0x0) {\n    *param_1 = *piVar2;\n    (*pcVar1)();\n    pcVar1 = (code *)PTR_free_000adcdc;\n    piVar2 = (int *)*param_1;\n  }\n  param_1[1] = 0;\n  param_1[2] = 0;\n  return;\n}" ({ "{") (declaration "code *pcVar1;" (type_identifier "code") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (expression_statement "piVar2 = (int *)*param_1;" (assignment_expression "piVar2 = (int *)*param_1" (identifier "piVar2") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "pcVar1 = (code *)PTR_free_000adcdc;" (assignment_expression "pcVar1 = (code *)PTR_free_000adcdc" (identifier "pcVar1") (= "=") (cast_expression "(code *)PTR_free_000adcdc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_000adcdc"))) (; ";")) (while_statement "while (PTR_free_000adcdc = pcVar1, piVar2 != (int *)0x0) {\n    *param_1 = *piVar2;\n    (*pcVar1)();\n    pcVar1 = (code *)PTR_free_000adcdc;\n    piVar2 = (int *)*param_1;\n  }" (while "while") (parenthesized_expression "(PTR_free_000adcdc = pcVar1, piVar2 != (int *)0x0)" (( "(") (comma_expression "PTR_free_000adcdc = pcVar1, piVar2 != (int *)0x0" (assignment_expression "PTR_free_000adcdc = pcVar1" (identifier "PTR_free_000adcdc") (= "=") (identifier "pcVar1")) (, ",") (binary_expression "piVar2 != (int *)0x0" (identifier "piVar2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")")) (compound_statement "{\n    *param_1 = *piVar2;\n    (*pcVar1)();\n    pcVar1 = (code *)PTR_free_000adcdc;\n    piVar2 = (int *)*param_1;\n  }" ({ "{") (expression_statement "*param_1 = *piVar2;" (assignment_expression "*param_1 = *piVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (expression_statement "(*pcVar1)();" (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" (( "(") (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pcVar1 = (code *)PTR_free_000adcdc;" (assignment_expression "pcVar1 = (code *)PTR_free_000adcdc" (identifier "pcVar1") (= "=") (cast_expression "(code *)PTR_free_000adcdc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_000adcdc"))) (; ";")) (expression_statement "piVar2 = (int *)*param_1;" (assignment_expression "piVar2 = (int *)*param_1" (identifier "piVar2") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (} "}"))) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *ch)

{
  type_2 *pcVar1;
  type_3 *var_1;
  
  var_1 = ch->head;
  pcVar1 = (type_2 *)PTR_free_000adcdc;
  while (PTR_free_000adcdc = pcVar1, var_1 != (type_3 *)0x0) {
    ch->head = var_1->next;
    (*pcVar1)();
    pcVar1 = (type_2 *)PTR_free_000adcdc;
    var_1 = ch->head;
  }
  ch->tail = (type_3 *)0x0;
  ch->buffersize = 0;
  return;
}


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

void MASKED(int *param_1)

{
  code *pcVar1;
  int *piVar2;
  
  piVar2 = (int *)*param_1;
  pcVar1 = (code *)PTR_free_000adcdc;
  while (PTR_free_000adcdc = pcVar1, piVar2 != (int *)0x0) {
    *param_1 = *piVar2;
    (*pcVar1)();
    pcVar1 = (code *)PTR_free_000adcdc;
    piVar2 = (int *)*param_1;
  }
  param_1[1] = 0;
  param_1[2] = 0;
  return;
}

