
int _obstack_begin_worker(obstack *h,size_t size,size_t alignment)

{
  _obstack_chunk *p_Var1;
  char *pcVar2;
  size_t sVar3;
  ulong uVar4;
  
  uVar4 = 0xfffffffffffffff0;
  sVar3 = 0xf;
  if (alignment != 0) {
    sVar3 = alignment - 1;
    uVar4 = -alignment;
  }
  h->alignment_mask = sVar3;
  if (size == 0) {
    size = 0xfe0;
  }
  h->chunk_size = size;
  p_Var1 = (_obstack_chunk *)call_chunkfun(h,size);
  if (p_Var1 == (_obstack_chunk *)0x0) {
    (*obstack_alloc_failed_handler)();
  }
  h->chunk = p_Var1;
  pcVar2 = (char *)((ulong)(p_Var1->contents + sVar3) & uVar4);
  h->object_base = pcVar2;
  h->next_free = pcVar2;
  sVar3 = h->chunk_size;
  p_Var1->limit = p_Var1->contents + (sVar3 - 0x10);
  h->chunk_limit = p_Var1->contents + (sVar3 - 0x10);
  p_Var1->prev = (_obstack_chunk *)0x0;
  h->field_0x50 = h->field_0x50 & 0xf9;
  return 1;
}



undefined8 FUN_001328a0(long *param_1,long param_2,long param_3)

{
  long *plVar1;
  long lVar2;
  ulong uVar3;
  
  uVar3 = 0xfffffffffffffff0;
  lVar2 = 0xf;
  if (param_3 != 0) {
    lVar2 = param_3 + -1;
    uVar3 = -param_3;
  }
  param_1[6] = lVar2;
  if (param_2 == 0) {
    param_2 = 0xfe0;
  }
  *param_1 = param_2;
  plVar1 = (long *)FUN_00132880(param_1);
  if (plVar1 == (long *)0x0) {
    (*(code *)obstack_alloc_failed_handler)();
  }
  param_1[1] = (long)plVar1;
  uVar3 = (long)plVar1 + lVar2 + 0x10 & uVar3;
  param_1[2] = uVar3;
  param_1[3] = uVar3;
  lVar2 = *param_1;
  *plVar1 = lVar2 + (long)plVar1;
  param_1[4] = lVar2 + (long)plVar1;
  plVar1[1] = 0;
  *(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0xf9;
  return 1;
}


PUSH R13
MOV R13,-0x10
PUSH R12
MOV R12D,0xf
PUSH RBP
PUSH RBX
MOV RBX,RDI
SUB RSP,0x8
TEST RDX,RDX
JZ 0x001328c9
LEA R12,[RDX + -0x1]
NEG RDX
MOV R13,RDX
TEST RSI,RSI
MOV EAX,0xfe0
MOV qword ptr [RBX + 0x30],R12
MOV RDI,RBX
CMOVZ RSI,RAX
MOV qword ptr [RBX],RSI
CALL 0x00132880
MOV RBP,RAX
TEST RAX,RAX
JZ 0x00132930
LEA RAX,[RBP + R12*0x1 + 0x10]
MOV qword ptr [RBX + 0x8],RBP
AND RAX,R13
MOV qword ptr [RBX + 0x10],RAX
MOV qword ptr [RBX + 0x18],RAX
MOV RAX,qword ptr [RBX]
ADD RAX,RBP
MOV qword ptr [RBP],RAX
MOV qword ptr [RBX + 0x20],RAX
MOV EAX,0x1
MOV qword ptr [RBP + 0x8],0x0
AND byte ptr [RBX + 0x50],0xf9
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
RET
LEA RAX,[0x181c78]
CALL qword ptr [RAX]
JMP 0x001328ec
(translation_unit "undefined8 FUN_001328a0(long *param_1,long param_2,long param_3)\n\n{\n  long *plVar1;\n  long lVar2;\n  ulong uVar3;\n  \n  uVar3 = 0xfffffffffffffff0;\n  lVar2 = 0xf;\n  if (param_3 != 0) {\n    lVar2 = param_3 + -1;\n    uVar3 = -param_3;\n  }\n  param_1[6] = lVar2;\n  if (param_2 == 0) {\n    param_2 = 0xfe0;\n  }\n  *param_1 = param_2;\n  plVar1 = (long *)FUN_00132880(param_1);\n  if (plVar1 == (long *)0x0) {\n    (*(code *)obstack_alloc_failed_handler)();\n  }\n  param_1[1] = (long)plVar1;\n  uVar3 = (long)plVar1 + lVar2 + 0x10 & uVar3;\n  param_1[2] = uVar3;\n  param_1[3] = uVar3;\n  lVar2 = *param_1;\n  *plVar1 = lVar2 + (long)plVar1;\n  param_1[4] = lVar2 + (long)plVar1;\n  plVar1[1] = 0;\n  *(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0xf9;\n  return 1;\n}\n\n" (function_definition "undefined8 FUN_001328a0(long *param_1,long param_2,long param_3)\n\n{\n  long *plVar1;\n  long lVar2;\n  ulong uVar3;\n  \n  uVar3 = 0xfffffffffffffff0;\n  lVar2 = 0xf;\n  if (param_3 != 0) {\n    lVar2 = param_3 + -1;\n    uVar3 = -param_3;\n  }\n  param_1[6] = lVar2;\n  if (param_2 == 0) {\n    param_2 = 0xfe0;\n  }\n  *param_1 = param_2;\n  plVar1 = (long *)FUN_00132880(param_1);\n  if (plVar1 == (long *)0x0) {\n    (*(code *)obstack_alloc_failed_handler)();\n  }\n  param_1[1] = (long)plVar1;\n  uVar3 = (long)plVar1 + lVar2 + 0x10 & uVar3;\n  param_1[2] = uVar3;\n  param_1[3] = uVar3;\n  lVar2 = *param_1;\n  *plVar1 = lVar2 + (long)plVar1;\n  param_1[4] = lVar2 + (long)plVar1;\n  plVar1[1] = 0;\n  *(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0xf9;\n  return 1;\n}" type_identifier (function_declarator "FUN_001328a0(long *param_1,long param_2,long param_3)" identifier (parameter_list "(long *param_1,long param_2,long param_3)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long *plVar1;\n  long lVar2;\n  ulong uVar3;\n  \n  uVar3 = 0xfffffffffffffff0;\n  lVar2 = 0xf;\n  if (param_3 != 0) {\n    lVar2 = param_3 + -1;\n    uVar3 = -param_3;\n  }\n  param_1[6] = lVar2;\n  if (param_2 == 0) {\n    param_2 = 0xfe0;\n  }\n  *param_1 = param_2;\n  plVar1 = (long *)FUN_00132880(param_1);\n  if (plVar1 == (long *)0x0) {\n    (*(code *)obstack_alloc_failed_handler)();\n  }\n  param_1[1] = (long)plVar1;\n  uVar3 = (long)plVar1 + lVar2 + 0x10 & uVar3;\n  param_1[2] = uVar3;\n  param_1[3] = uVar3;\n  lVar2 = *param_1;\n  *plVar1 = lVar2 + (long)plVar1;\n  param_1[4] = lVar2 + (long)plVar1;\n  plVar1[1] = 0;\n  *(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0xf9;\n  return 1;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (expression_statement "uVar3 = 0xfffffffffffffff0;" (assignment_expression "uVar3 = 0xfffffffffffffff0" identifier = number_literal) ;) (expression_statement "lVar2 = 0xf;" (assignment_expression "lVar2 = 0xf" identifier = number_literal) ;) (if_statement "if (param_3 != 0) {\n    lVar2 = param_3 + -1;\n    uVar3 = -param_3;\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    lVar2 = param_3 + -1;\n    uVar3 = -param_3;\n  }" { (expression_statement "lVar2 = param_3 + -1;" (assignment_expression "lVar2 = param_3 + -1" identifier = (binary_expression "param_3 + -1" identifier + number_literal)) ;) (expression_statement "uVar3 = -param_3;" (assignment_expression "uVar3 = -param_3" identifier = (unary_expression "-param_3" - identifier)) ;) })) (expression_statement "param_1[6] = lVar2;" (assignment_expression "param_1[6] = lVar2" (subscript_expression "param_1[6]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_2 == 0) {\n    param_2 = 0xfe0;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    param_2 = 0xfe0;\n  }" { (expression_statement "param_2 = 0xfe0;" (assignment_expression "param_2 = 0xfe0" identifier = number_literal) ;) })) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "plVar1 = (long *)FUN_00132880(param_1);" (assignment_expression "plVar1 = (long *)FUN_00132880(param_1)" identifier = (cast_expression "(long *)FUN_00132880(param_1)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00132880(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (if_statement "if (plVar1 == (long *)0x0) {\n    (*(code *)obstack_alloc_failed_handler)();\n  }" if (parenthesized_expression "(plVar1 == (long *)0x0)" ( (binary_expression "plVar1 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)obstack_alloc_failed_handler)();\n  }" { (expression_statement "(*(code *)obstack_alloc_failed_handler)();" (call_expression "(*(code *)obstack_alloc_failed_handler)()" (parenthesized_expression "(*(code *)obstack_alloc_failed_handler)" ( (pointer_expression "*(code *)obstack_alloc_failed_handler" * (cast_expression "(code *)obstack_alloc_failed_handler" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "param_1[1] = (long)plVar1;" (assignment_expression "param_1[1] = (long)plVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "uVar3 = (long)plVar1 + lVar2 + 0x10 & uVar3;" (assignment_expression "uVar3 = (long)plVar1 + lVar2 + 0x10 & uVar3" identifier = (binary_expression "(long)plVar1 + lVar2 + 0x10 & uVar3" (binary_expression "(long)plVar1 + lVar2 + 0x10" (binary_expression "(long)plVar1 + lVar2" (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) & identifier)) ;) (expression_statement "param_1[2] = uVar3;" (assignment_expression "param_1[2] = uVar3" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = uVar3;" (assignment_expression "param_1[3] = uVar3" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "lVar2 = *param_1;" (assignment_expression "lVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*plVar1 = lVar2 + (long)plVar1;" (assignment_expression "*plVar1 = lVar2 + (long)plVar1" (pointer_expression "*plVar1" * identifier) = (binary_expression "lVar2 + (long)plVar1" identifier + (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "param_1[4] = lVar2 + (long)plVar1;" (assignment_expression "param_1[4] = lVar2 + (long)plVar1" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (binary_expression "lVar2 + (long)plVar1" identifier + (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "plVar1[1] = 0;" (assignment_expression "plVar1[1] = 0" (subscript_expression "plVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0xf9;" (assignment_expression "*(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0xf9" (pointer_expression "*(byte *)(param_1 + 10)" * (cast_expression "(byte *)(param_1 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) = (binary_expression "*(byte *)(param_1 + 10) & 0xf9" (pointer_expression "*(byte *)(param_1 + 10)" * (cast_expression "(byte *)(param_1 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) & number_literal)) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "int _obstack_begin_worker(obstack *h,size_t size,size_t alignment)\n\n{\n  _obstack_chunk *p_Var1;\n  char *pcVar2;\n  size_t sVar3;\n  ulong uVar4;\n  \n  uVar4 = 0xfffffffffffffff0;\n  sVar3 = 0xf;\n  if (alignment != 0) {\n    sVar3 = alignment - 1;\n    uVar4 = -alignment;\n  }\n  h->alignment_mask = sVar3;\n  if (size == 0) {\n    size = 0xfe0;\n  }\n  h->chunk_size = size;\n  p_Var1 = (_obstack_chunk *)call_chunkfun(h,size);\n  if (p_Var1 == (_obstack_chunk *)0x0) {\n    (*obstack_alloc_failed_handler)();\n  }\n  h->chunk = p_Var1;\n  pcVar2 = (char *)((ulong)(p_Var1->contents + sVar3) & uVar4);\n  h->object_base = pcVar2;\n  h->next_free = pcVar2;\n  sVar3 = h->chunk_size;\n  p_Var1->limit = p_Var1->contents + (sVar3 - 0x10);\n  h->chunk_limit = p_Var1->contents + (sVar3 - 0x10);\n  p_Var1->prev = (_obstack_chunk *)0x0;\n  h->field_0x50 = h->field_0x50 & 0xf9;\n  return 1;\n}\n\n" (function_definition "int _obstack_begin_worker(obstack *h,size_t size,size_t alignment)\n\n{\n  _obstack_chunk *p_Var1;\n  char *pcVar2;\n  size_t sVar3;\n  ulong uVar4;\n  \n  uVar4 = 0xfffffffffffffff0;\n  sVar3 = 0xf;\n  if (alignment != 0) {\n    sVar3 = alignment - 1;\n    uVar4 = -alignment;\n  }\n  h->alignment_mask = sVar3;\n  if (size == 0) {\n    size = 0xfe0;\n  }\n  h->chunk_size = size;\n  p_Var1 = (_obstack_chunk *)call_chunkfun(h,size);\n  if (p_Var1 == (_obstack_chunk *)0x0) {\n    (*obstack_alloc_failed_handler)();\n  }\n  h->chunk = p_Var1;\n  pcVar2 = (char *)((ulong)(p_Var1->contents + sVar3) & uVar4);\n  h->object_base = pcVar2;\n  h->next_free = pcVar2;\n  sVar3 = h->chunk_size;\n  p_Var1->limit = p_Var1->contents + (sVar3 - 0x10);\n  h->chunk_limit = p_Var1->contents + (sVar3 - 0x10);\n  p_Var1->prev = (_obstack_chunk *)0x0;\n  h->field_0x50 = h->field_0x50 & 0xf9;\n  return 1;\n}" primitive_type (function_declarator "_obstack_begin_worker(obstack *h,size_t size,size_t alignment)" identifier (parameter_list "(obstack *h,size_t size,size_t alignment)" ( (parameter_declaration "obstack *h" type_identifier (pointer_declarator "*h" * identifier)) , (parameter_declaration "size_t size" primitive_type identifier) , (parameter_declaration "size_t alignment" primitive_type identifier) ))) (compound_statement "{\n  _obstack_chunk *p_Var1;\n  char *pcVar2;\n  size_t sVar3;\n  ulong uVar4;\n  \n  uVar4 = 0xfffffffffffffff0;\n  sVar3 = 0xf;\n  if (alignment != 0) {\n    sVar3 = alignment - 1;\n    uVar4 = -alignment;\n  }\n  h->alignment_mask = sVar3;\n  if (size == 0) {\n    size = 0xfe0;\n  }\n  h->chunk_size = size;\n  p_Var1 = (_obstack_chunk *)call_chunkfun(h,size);\n  if (p_Var1 == (_obstack_chunk *)0x0) {\n    (*obstack_alloc_failed_handler)();\n  }\n  h->chunk = p_Var1;\n  pcVar2 = (char *)((ulong)(p_Var1->contents + sVar3) & uVar4);\n  h->object_base = pcVar2;\n  h->next_free = pcVar2;\n  sVar3 = h->chunk_size;\n  p_Var1->limit = p_Var1->contents + (sVar3 - 0x10);\n  h->chunk_limit = p_Var1->contents + (sVar3 - 0x10);\n  p_Var1->prev = (_obstack_chunk *)0x0;\n  h->field_0x50 = h->field_0x50 & 0xf9;\n  return 1;\n}" { (declaration "_obstack_chunk *p_Var1;" type_identifier (pointer_declarator "*p_Var1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (expression_statement "uVar4 = 0xfffffffffffffff0;" (assignment_expression "uVar4 = 0xfffffffffffffff0" identifier = number_literal) ;) (expression_statement "sVar3 = 0xf;" (assignment_expression "sVar3 = 0xf" identifier = number_literal) ;) (if_statement "if (alignment != 0) {\n    sVar3 = alignment - 1;\n    uVar4 = -alignment;\n  }" if (parenthesized_expression "(alignment != 0)" ( (binary_expression "alignment != 0" identifier != number_literal) )) (compound_statement "{\n    sVar3 = alignment - 1;\n    uVar4 = -alignment;\n  }" { (expression_statement "sVar3 = alignment - 1;" (assignment_expression "sVar3 = alignment - 1" identifier = (binary_expression "alignment - 1" identifier - number_literal)) ;) (expression_statement "uVar4 = -alignment;" (assignment_expression "uVar4 = -alignment" identifier = (unary_expression "-alignment" - identifier)) ;) })) (expression_statement "h->alignment_mask = sVar3;" (assignment_expression "h->alignment_mask = sVar3" (field_expression "h->alignment_mask" identifier -> field_identifier) = identifier) ;) (if_statement "if (size == 0) {\n    size = 0xfe0;\n  }" if (parenthesized_expression "(size == 0)" ( (binary_expression "size == 0" identifier == number_literal) )) (compound_statement "{\n    size = 0xfe0;\n  }" { (expression_statement "size = 0xfe0;" (assignment_expression "size = 0xfe0" identifier = number_literal) ;) })) (expression_statement "h->chunk_size = size;" (assignment_expression "h->chunk_size = size" (field_expression "h->chunk_size" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var1 = (_obstack_chunk *)call_chunkfun(h,size);" (assignment_expression "p_Var1 = (_obstack_chunk *)call_chunkfun(h,size)" identifier = (cast_expression "(_obstack_chunk *)call_chunkfun(h,size)" ( (type_descriptor "_obstack_chunk *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "call_chunkfun(h,size)" identifier (argument_list "(h,size)" ( identifier , identifier ))))) ;) (if_statement "if (p_Var1 == (_obstack_chunk *)0x0) {\n    (*obstack_alloc_failed_handler)();\n  }" if (parenthesized_expression "(p_Var1 == (_obstack_chunk *)0x0)" ( (binary_expression "p_Var1 == (_obstack_chunk *)0x0" identifier == (cast_expression "(_obstack_chunk *)0x0" ( (type_descriptor "_obstack_chunk *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*obstack_alloc_failed_handler)();\n  }" { (expression_statement "(*obstack_alloc_failed_handler)();" (call_expression "(*obstack_alloc_failed_handler)()" (parenthesized_expression "(*obstack_alloc_failed_handler)" ( (pointer_expression "*obstack_alloc_failed_handler" * identifier) )) (argument_list "()" ( ))) ;) })) (expression_statement "h->chunk = p_Var1;" (assignment_expression "h->chunk = p_Var1" (field_expression "h->chunk" identifier -> field_identifier) = identifier) ;) (expression_statement "pcVar2 = (char *)((ulong)(p_Var1->contents + sVar3) & uVar4);" (assignment_expression "pcVar2 = (char *)((ulong)(p_Var1->contents + sVar3) & uVar4)" identifier = (cast_expression "(char *)((ulong)(p_Var1->contents + sVar3) & uVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(p_Var1->contents + sVar3) & uVar4)" ( (binary_expression "(ulong)(p_Var1->contents + sVar3) & uVar4" (call_expression "(ulong)(p_Var1->contents + sVar3)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(p_Var1->contents + sVar3)" ( (binary_expression "p_Var1->contents + sVar3" (field_expression "p_Var1->contents" identifier -> field_identifier) + identifier) ))) & identifier) )))) ;) (expression_statement "h->object_base = pcVar2;" (assignment_expression "h->object_base = pcVar2" (field_expression "h->object_base" identifier -> field_identifier) = identifier) ;) (expression_statement "h->next_free = pcVar2;" (assignment_expression "h->next_free = pcVar2" (field_expression "h->next_free" identifier -> field_identifier) = identifier) ;) (expression_statement "sVar3 = h->chunk_size;" (assignment_expression "sVar3 = h->chunk_size" identifier = (field_expression "h->chunk_size" identifier -> field_identifier)) ;) (expression_statement "p_Var1->limit = p_Var1->contents + (sVar3 - 0x10);" (assignment_expression "p_Var1->limit = p_Var1->contents + (sVar3 - 0x10)" (field_expression "p_Var1->limit" identifier -> field_identifier) = (binary_expression "p_Var1->contents + (sVar3 - 0x10)" (field_expression "p_Var1->contents" identifier -> field_identifier) + (parenthesized_expression "(sVar3 - 0x10)" ( (binary_expression "sVar3 - 0x10" identifier - number_literal) )))) ;) (expression_statement "h->chunk_limit = p_Var1->contents + (sVar3 - 0x10);" (assignment_expression "h->chunk_limit = p_Var1->contents + (sVar3 - 0x10)" (field_expression "h->chunk_limit" identifier -> field_identifier) = (binary_expression "p_Var1->contents + (sVar3 - 0x10)" (field_expression "p_Var1->contents" identifier -> field_identifier) + (parenthesized_expression "(sVar3 - 0x10)" ( (binary_expression "sVar3 - 0x10" identifier - number_literal) )))) ;) (expression_statement "p_Var1->prev = (_obstack_chunk *)0x0;" (assignment_expression "p_Var1->prev = (_obstack_chunk *)0x0" (field_expression "p_Var1->prev" identifier -> field_identifier) = (cast_expression "(_obstack_chunk *)0x0" ( (type_descriptor "_obstack_chunk *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "h->field_0x50 = h->field_0x50 & 0xf9;" (assignment_expression "h->field_0x50 = h->field_0x50 & 0xf9" (field_expression "h->field_0x50" identifier -> field_identifier) = (binary_expression "h->field_0x50 & 0xf9" (field_expression "h->field_0x50" identifier -> field_identifier) & number_literal)) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined8 FUN_001328a0(long *param_1,long param_2,long param_3)\n\n{\n  long *plVar1;\n  long lVar2;\n  ulong uVar3;\n  \n  uVar3 = 0xfffffffffffffff0;\n  lVar2 = 0xf;\n  if (param_3 != 0) {\n    lVar2 = param_3 + -1;\n    uVar3 = -param_3;\n  }\n  param_1[6] = lVar2;\n  if (param_2 == 0) {\n    param_2 = 0xfe0;\n  }\n  *param_1 = param_2;\n  plVar1 = (long *)FUN_00132880(param_1);\n  if (plVar1 == (long *)0x0) {\n    (*(code *)obstack_alloc_failed_handler)();\n  }\n  param_1[1] = (long)plVar1;\n  uVar3 = (long)plVar1 + lVar2 + 0x10 & uVar3;\n  param_1[2] = uVar3;\n  param_1[3] = uVar3;\n  lVar2 = *param_1;\n  *plVar1 = lVar2 + (long)plVar1;\n  param_1[4] = lVar2 + (long)plVar1;\n  plVar1[1] = 0;\n  *(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0xf9;\n  return 1;\n}\n\n" (function_definition "undefined8 FUN_001328a0(long *param_1,long param_2,long param_3)\n\n{\n  long *plVar1;\n  long lVar2;\n  ulong uVar3;\n  \n  uVar3 = 0xfffffffffffffff0;\n  lVar2 = 0xf;\n  if (param_3 != 0) {\n    lVar2 = param_3 + -1;\n    uVar3 = -param_3;\n  }\n  param_1[6] = lVar2;\n  if (param_2 == 0) {\n    param_2 = 0xfe0;\n  }\n  *param_1 = param_2;\n  plVar1 = (long *)FUN_00132880(param_1);\n  if (plVar1 == (long *)0x0) {\n    (*(code *)obstack_alloc_failed_handler)();\n  }\n  param_1[1] = (long)plVar1;\n  uVar3 = (long)plVar1 + lVar2 + 0x10 & uVar3;\n  param_1[2] = uVar3;\n  param_1[3] = uVar3;\n  lVar2 = *param_1;\n  *plVar1 = lVar2 + (long)plVar1;\n  param_1[4] = lVar2 + (long)plVar1;\n  plVar1[1] = 0;\n  *(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0xf9;\n  return 1;\n}" type_identifier (function_declarator "FUN_001328a0(long *param_1,long param_2,long param_3)" identifier (parameter_list "(long *param_1,long param_2,long param_3)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long *plVar1;\n  long lVar2;\n  ulong uVar3;\n  \n  uVar3 = 0xfffffffffffffff0;\n  lVar2 = 0xf;\n  if (param_3 != 0) {\n    lVar2 = param_3 + -1;\n    uVar3 = -param_3;\n  }\n  param_1[6] = lVar2;\n  if (param_2 == 0) {\n    param_2 = 0xfe0;\n  }\n  *param_1 = param_2;\n  plVar1 = (long *)FUN_00132880(param_1);\n  if (plVar1 == (long *)0x0) {\n    (*(code *)obstack_alloc_failed_handler)();\n  }\n  param_1[1] = (long)plVar1;\n  uVar3 = (long)plVar1 + lVar2 + 0x10 & uVar3;\n  param_1[2] = uVar3;\n  param_1[3] = uVar3;\n  lVar2 = *param_1;\n  *plVar1 = lVar2 + (long)plVar1;\n  param_1[4] = lVar2 + (long)plVar1;\n  plVar1[1] = 0;\n  *(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0xf9;\n  return 1;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (expression_statement "uVar3 = 0xfffffffffffffff0;" (assignment_expression "uVar3 = 0xfffffffffffffff0" identifier = number_literal) ;) (expression_statement "lVar2 = 0xf;" (assignment_expression "lVar2 = 0xf" identifier = number_literal) ;) (if_statement "if (param_3 != 0) {\n    lVar2 = param_3 + -1;\n    uVar3 = -param_3;\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    lVar2 = param_3 + -1;\n    uVar3 = -param_3;\n  }" { (expression_statement "lVar2 = param_3 + -1;" (assignment_expression "lVar2 = param_3 + -1" identifier = (binary_expression "param_3 + -1" identifier + number_literal)) ;) (expression_statement "uVar3 = -param_3;" (assignment_expression "uVar3 = -param_3" identifier = (unary_expression "-param_3" - identifier)) ;) })) (expression_statement "param_1[6] = lVar2;" (assignment_expression "param_1[6] = lVar2" (subscript_expression "param_1[6]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_2 == 0) {\n    param_2 = 0xfe0;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    param_2 = 0xfe0;\n  }" { (expression_statement "param_2 = 0xfe0;" (assignment_expression "param_2 = 0xfe0" identifier = number_literal) ;) })) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "plVar1 = (long *)FUN_00132880(param_1);" (assignment_expression "plVar1 = (long *)FUN_00132880(param_1)" identifier = (cast_expression "(long *)FUN_00132880(param_1)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00132880(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (if_statement "if (plVar1 == (long *)0x0) {\n    (*(code *)obstack_alloc_failed_handler)();\n  }" if (parenthesized_expression "(plVar1 == (long *)0x0)" ( (binary_expression "plVar1 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)obstack_alloc_failed_handler)();\n  }" { (expression_statement "(*(code *)obstack_alloc_failed_handler)();" (call_expression "(*(code *)obstack_alloc_failed_handler)()" (parenthesized_expression "(*(code *)obstack_alloc_failed_handler)" ( (pointer_expression "*(code *)obstack_alloc_failed_handler" * (cast_expression "(code *)obstack_alloc_failed_handler" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "param_1[1] = (long)plVar1;" (assignment_expression "param_1[1] = (long)plVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "uVar3 = (long)plVar1 + lVar2 + 0x10 & uVar3;" (assignment_expression "uVar3 = (long)plVar1 + lVar2 + 0x10 & uVar3" identifier = (binary_expression "(long)plVar1 + lVar2 + 0x10 & uVar3" (binary_expression "(long)plVar1 + lVar2 + 0x10" (binary_expression "(long)plVar1 + lVar2" (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) & identifier)) ;) (expression_statement "param_1[2] = uVar3;" (assignment_expression "param_1[2] = uVar3" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = uVar3;" (assignment_expression "param_1[3] = uVar3" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "lVar2 = *param_1;" (assignment_expression "lVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*plVar1 = lVar2 + (long)plVar1;" (assignment_expression "*plVar1 = lVar2 + (long)plVar1" (pointer_expression "*plVar1" * identifier) = (binary_expression "lVar2 + (long)plVar1" identifier + (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "param_1[4] = lVar2 + (long)plVar1;" (assignment_expression "param_1[4] = lVar2 + (long)plVar1" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (binary_expression "lVar2 + (long)plVar1" identifier + (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "plVar1[1] = 0;" (assignment_expression "plVar1[1] = 0" (subscript_expression "plVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0xf9;" (assignment_expression "*(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0xf9" (pointer_expression "*(byte *)(param_1 + 10)" * (cast_expression "(byte *)(param_1 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) = (binary_expression "*(byte *)(param_1 + 10) & 0xf9" (pointer_expression "*(byte *)(param_1 + 10)" * (cast_expression "(byte *)(param_1 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) & number_literal)) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + 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 = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) (return_statement return LIT ;) })))
(function_definition "undefined8 FUN_001328a0(long *param_1,long param_2,long param_3)\n\n{\n  long *plVar1;\n  long lVar2;\n  ulong uVar3;\n  \n  uVar3 = 0xfffffffffffffff0;\n  lVar2 = 0xf;\n  if (param_3 != 0) {\n    lVar2 = param_3 + -1;\n    uVar3 = -param_3;\n  }\n  param_1[6] = lVar2;\n  if (param_2 == 0) {\n    param_2 = 0xfe0;\n  }\n  *param_1 = param_2;\n  plVar1 = (long *)FUN_00132880(param_1);\n  if (plVar1 == (long *)0x0) {\n    (*(code *)obstack_alloc_failed_handler)();\n  }\n  param_1[1] = (long)plVar1;\n  uVar3 = (long)plVar1 + lVar2 + 0x10 & uVar3;\n  param_1[2] = uVar3;\n  param_1[3] = uVar3;\n  lVar2 = *param_1;\n  *plVar1 = lVar2 + (long)plVar1;\n  param_1[4] = lVar2 + (long)plVar1;\n  plVar1[1] = 0;\n  *(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0xf9;\n  return 1;\n}" (type_identifier "undefined8") (function_declarator "FUN_001328a0(long *param_1,long param_2,long param_3)" (identifier "FUN_001328a0") (parameter_list "(long *param_1,long param_2,long param_3)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "long param_3" (sized_type_specifier "long" (long "long")) (identifier "param_3")) () ")"))) (compound_statement "{\n  long *plVar1;\n  long lVar2;\n  ulong uVar3;\n  \n  uVar3 = 0xfffffffffffffff0;\n  lVar2 = 0xf;\n  if (param_3 != 0) {\n    lVar2 = param_3 + -1;\n    uVar3 = -param_3;\n  }\n  param_1[6] = lVar2;\n  if (param_2 == 0) {\n    param_2 = 0xfe0;\n  }\n  *param_1 = param_2;\n  plVar1 = (long *)FUN_00132880(param_1);\n  if (plVar1 == (long *)0x0) {\n    (*(code *)obstack_alloc_failed_handler)();\n  }\n  param_1[1] = (long)plVar1;\n  uVar3 = (long)plVar1 + lVar2 + 0x10 & uVar3;\n  param_1[2] = uVar3;\n  param_1[3] = uVar3;\n  lVar2 = *param_1;\n  *plVar1 = lVar2 + (long)plVar1;\n  param_1[4] = lVar2 + (long)plVar1;\n  plVar1[1] = 0;\n  *(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0xf9;\n  return 1;\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "ulong uVar3;" (type_identifier "ulong") (identifier "uVar3") (; ";")) (expression_statement "uVar3 = 0xfffffffffffffff0;" (assignment_expression "uVar3 = 0xfffffffffffffff0" (identifier "uVar3") (= "=") (number_literal "0xfffffffffffffff0")) (; ";")) (expression_statement "lVar2 = 0xf;" (assignment_expression "lVar2 = 0xf" (identifier "lVar2") (= "=") (number_literal "0xf")) (; ";")) (if_statement "if (param_3 != 0) {\n    lVar2 = param_3 + -1;\n    uVar3 = -param_3;\n  }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    lVar2 = param_3 + -1;\n    uVar3 = -param_3;\n  }" ({ "{") (expression_statement "lVar2 = param_3 + -1;" (assignment_expression "lVar2 = param_3 + -1" (identifier "lVar2") (= "=") (binary_expression "param_3 + -1" (identifier "param_3") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar3 = -param_3;" (assignment_expression "uVar3 = -param_3" (identifier "uVar3") (= "=") (unary_expression "-param_3" (- "-") (identifier "param_3"))) (; ";")) (} "}"))) (expression_statement "param_1[6] = lVar2;" (assignment_expression "param_1[6] = lVar2" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "lVar2")) (; ";")) (if_statement "if (param_2 == 0) {\n    param_2 = 0xfe0;\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    param_2 = 0xfe0;\n  }" ({ "{") (expression_statement "param_2 = 0xfe0;" (assignment_expression "param_2 = 0xfe0" (identifier "param_2") (= "=") (number_literal "0xfe0")) (; ";")) (} "}"))) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "plVar1 = (long *)FUN_00132880(param_1);" (assignment_expression "plVar1 = (long *)FUN_00132880(param_1)" (identifier "plVar1") (= "=") (cast_expression "(long *)FUN_00132880(param_1)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00132880(param_1)" (identifier "FUN_00132880") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))))) (; ";")) (if_statement "if (plVar1 == (long *)0x0) {\n    (*(code *)obstack_alloc_failed_handler)();\n  }" (if "if") (parenthesized_expression "(plVar1 == (long *)0x0)" (( "(") (binary_expression "plVar1 == (long *)0x0" (identifier "plVar1") (== "==") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    (*(code *)obstack_alloc_failed_handler)();\n  }" ({ "{") (expression_statement "(*(code *)obstack_alloc_failed_handler)();" (call_expression "(*(code *)obstack_alloc_failed_handler)()" (parenthesized_expression "(*(code *)obstack_alloc_failed_handler)" (( "(") (pointer_expression "*(code *)obstack_alloc_failed_handler" (* "*") (cast_expression "(code *)obstack_alloc_failed_handler" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "obstack_alloc_failed_handler"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "param_1[1] = (long)plVar1;" (assignment_expression "param_1[1] = (long)plVar1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(long)plVar1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "plVar1"))) (; ";")) (expression_statement "uVar3 = (long)plVar1 + lVar2 + 0x10 & uVar3;" (assignment_expression "uVar3 = (long)plVar1 + lVar2 + 0x10 & uVar3" (identifier "uVar3") (= "=") (binary_expression "(long)plVar1 + lVar2 + 0x10 & uVar3" (binary_expression "(long)plVar1 + lVar2 + 0x10" (binary_expression "(long)plVar1 + lVar2" (cast_expression "(long)plVar1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "plVar1")) (+ "+") (identifier "lVar2")) (+ "+") (number_literal "0x10")) (& "&") (identifier "uVar3"))) (; ";")) (expression_statement "param_1[2] = uVar3;" (assignment_expression "param_1[2] = uVar3" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "param_1[3] = uVar3;" (assignment_expression "param_1[3] = uVar3" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "lVar2 = *param_1;" (assignment_expression "lVar2 = *param_1" (identifier "lVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "*plVar1 = lVar2 + (long)plVar1;" (assignment_expression "*plVar1 = lVar2 + (long)plVar1" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (= "=") (binary_expression "lVar2 + (long)plVar1" (identifier "lVar2") (+ "+") (cast_expression "(long)plVar1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "plVar1")))) (; ";")) (expression_statement "param_1[4] = lVar2 + (long)plVar1;" (assignment_expression "param_1[4] = lVar2 + (long)plVar1" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (binary_expression "lVar2 + (long)plVar1" (identifier "lVar2") (+ "+") (cast_expression "(long)plVar1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "plVar1")))) (; ";")) (expression_statement "plVar1[1] = 0;" (assignment_expression "plVar1[1] = 0" (subscript_expression "plVar1[1]" (identifier "plVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0xf9;" (assignment_expression "*(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0xf9" (pointer_expression "*(byte *)(param_1 + 10)" (* "*") (cast_expression "(byte *)(param_1 + 10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 10)" (( "(") (binary_expression "param_1 + 10" (identifier "param_1") (+ "+") (number_literal "10")) () ")")))) (= "=") (binary_expression "*(byte *)(param_1 + 10) & 0xf9" (pointer_expression "*(byte *)(param_1 + 10)" (* "*") (cast_expression "(byte *)(param_1 + 10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 10)" (( "(") (binary_expression "param_1 + 10" (identifier "param_1") (+ "+") (number_literal "10")) () ")")))) (& "&") (number_literal "0xf9"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

int function_1(type_1 *h,size_t var_2,size_t var_1)

{
  type_2 *var_4;
  char *pcVar2;
  size_t var_5;
  type_3 var_6;
  
  var_6 = 0xfffffffffffffff0;
  var_5 = 0xf;
  if (var_1 != 0) {
    var_5 = var_1 - 1;
    var_6 = -var_1;
  }
  h->alignment_mask = var_5;
  if (var_2 == 0) {
    var_2 = 0xfe0;
  }
  h->chunk_size = var_2;
  var_4 = (type_2 *)var_3(h,var_2);
  if (var_4 == (type_2 *)0x0) {
    (*obstack_alloc_failed_handler)();
  }
  h->chunk = var_4;
  pcVar2 = (char *)((type_3)(var_4->contents + var_5) & var_6);
  h->object_base = pcVar2;
  h->next_free = pcVar2;
  var_5 = h->chunk_size;
  var_4->limit = var_4->contents + (var_5 - 0x10);
  h->chunk_limit = var_4->contents + (var_5 - 0x10);
  var_4->prev = (type_2 *)0x0;
  h->field_0x50 = h->field_0x50 & 0xf9;
  return 1;
}


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

undefined8 MASKED(long *param_1,long param_2,long param_3)

{
  long *plVar1;
  long lVar2;
  ulong uVar3;
  
  uVar3 = 0xfffffffffffffff0;
  lVar2 = 0xf;
  if (param_3 != 0) {
    lVar2 = param_3 + -1;
    uVar3 = -param_3;
  }
  param_1[6] = lVar2;
  if (param_2 == 0) {
    param_2 = 0xfe0;
  }
  *param_1 = param_2;
  plVar1 = (long *)FUN_00132880(param_1);
  if (plVar1 == (long *)0x0) {
    (*(code *)obstack_alloc_failed_handler)();
  }
  param_1[1] = (long)plVar1;
  uVar3 = (long)plVar1 + lVar2 + 0x10 & uVar3;
  param_1[2] = uVar3;
  param_1[3] = uVar3;
  lVar2 = *param_1;
  *plVar1 = lVar2 + (long)plVar1;
  param_1[4] = lVar2 + (long)plVar1;
  plVar1[1] = 0;
  *(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0xf9;
  return 1;
}

