
int acl_access_nontrivial(acl_t acl)

{
  int iVar1;
  int iVar2;
  undefined *puVar3;
  acl_entry_t ace;
  acl_tag_t tag;
  int local_1c;
  
  local_1c = *(int *)PTR___stack_chk_guard_00045630;
  iVar1 = (*(code *)PTR_acl_get_entry_00045510)(acl,0,&ace);
  if (0 < iVar1) {
    while( true ) {
      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(ace,&tag);
      iVar1 = -1;
      if (iVar2 < 0) break;
      if (0x1f < tag - 1U) {
        iVar1 = 1;
        break;
      }
      iVar1 = 1;
      if (((0x80000009U >> (tag - 1U & 0x1f) & 1) == 0) ||
         (iVar1 = (*(code *)PTR_acl_get_entry_00045510)(acl,1,&ace), iVar1 < 1)) break;
    }
  }
  if (local_1c != *(int *)PTR___stack_chk_guard_00045630) {
    puVar3 = PTR___stack_chk_fail_00045600;
    (*(code *)PTR___stack_chk_fail_00045600)();
    iVar1 = (**(code **)(puVar3 + 0x17308))();
    return (uint)(0 < iVar1);
  }
  return iVar1;
}



uint acl_access_nontrivial(undefined4 param_1)

{
  uint uVar1;
  int iVar2;
  undefined *puVar3;
  undefined4 local_24;
  int local_20;
  int local_1c;
  
  local_1c = *(int *)PTR___stack_chk_guard_00045630;
  uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,0,&local_24);
  if (0 < (int)uVar1) {
    while( true ) {
      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20);
      uVar1 = 0xffffffff;
      if (iVar2 < 0) break;
      if (0x1f < local_20 - 1U) {
        uVar1 = 1;
        break;
      }
      uVar1 = 1;
      if (((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||
         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))
      break;
    }
  }
  if (local_1c != *(int *)PTR___stack_chk_guard_00045630) {
    puVar3 = PTR___stack_chk_fail_00045600;
    (*(code *)PTR___stack_chk_fail_00045600)();
    iVar2 = (**(code **)(puVar3 + 0x17308))();
    return (uint)(0 < iVar2);
  }
  return uVar1;
}


lui gp,0x2
addiu gp,gp,-0x1160
addu gp,gp,t9
addiu sp,sp,-0x40
sw ra,0x3c(sp)
sw s3,0x38(sp)
sw s2,0x34(sp)
sw s1,0x30(sp)
sw s0,0x2c(sp)
sw gp,0x10(sp)
or s1,a0,zero
lw v0,-0x7ac0(gp)
lw v0,0x0(v0)
sw v0,0x24(sp)
addiu a2,sp,0x1c
or a1,zero,zero
lw t9,-0x7be0(gp)
jalr t9
_nop
lw gp,0x10(sp)
blez v0,0x0002e328
_addiu s0,sp,0x20
lui s3,0x8000
addiu s3,s3,0x9
b 0x0002e2dc
_addiu s2,sp,0x1c
or a2,s2,zero
li a1,0x1
or a0,s1,zero
lw t9,-0x7be0(gp)
jalr t9
_nop
lw gp,0x10(sp)
blez v0,0x0002e328
_nop
or a1,s0,zero
lw a0,0x1c(sp)
lw t9,-0x7b20(gp)
jalr t9
_nop
lw gp,0x10(sp)
bltz v0,0x0002e328
_li v0,-0x1
lw v0,0x20(sp)
addiu v0,v0,-0x1
sltiu v1,v0,0x20
beq v1,zero,0x0002e324
_srlv v0,s3,v0
andi v0,v0,0x1
bne v0,zero,0x0002e2b8
_li v0,0x1
b 0x0002e328
_nop
li v0,0x1
lw a0,0x24(sp)
lw v1,-0x7ac0(gp)
lw v1,0x0(v1)
bne a0,v1,0x0002e354
_lw ra,0x3c(sp)
lw s3,0x38(sp)
lw s2,0x34(sp)
lw s1,0x30(sp)
lw s0,0x2c(sp)
jr ra
_addiu sp,sp,0x40
lw t9,-0x7af0(gp)
jalr t9
_nop
(translation_unit "uint acl_access_nontrivial(undefined4 param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 local_24;\n  int local_20;\n  int local_1c;\n  \n  local_1c = *(int *)PTR___stack_chk_guard_00045630;\n  uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,0,&local_24);\n  if (0 < (int)uVar1) {\n    while( true ) {\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20);\n      uVar1 = 0xffffffff;\n      if (iVar2 < 0) break;\n      if (0x1f < local_20 - 1U) {\n        uVar1 = 1;\n        break;\n      }\n      uVar1 = 1;\n      if (((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))\n      break;\n    }\n  }\n  if (local_1c != *(int *)PTR___stack_chk_guard_00045630) {\n    puVar3 = PTR___stack_chk_fail_00045600;\n    (*(code *)PTR___stack_chk_fail_00045600)();\n    iVar2 = (**(code **)(puVar3 + 0x17308))();\n    return (uint)(0 < iVar2);\n  }\n  return uVar1;\n}\n\n" (function_definition "uint acl_access_nontrivial(undefined4 param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 local_24;\n  int local_20;\n  int local_1c;\n  \n  local_1c = *(int *)PTR___stack_chk_guard_00045630;\n  uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,0,&local_24);\n  if (0 < (int)uVar1) {\n    while( true ) {\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20);\n      uVar1 = 0xffffffff;\n      if (iVar2 < 0) break;\n      if (0x1f < local_20 - 1U) {\n        uVar1 = 1;\n        break;\n      }\n      uVar1 = 1;\n      if (((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))\n      break;\n    }\n  }\n  if (local_1c != *(int *)PTR___stack_chk_guard_00045630) {\n    puVar3 = PTR___stack_chk_fail_00045600;\n    (*(code *)PTR___stack_chk_fail_00045600)();\n    iVar2 = (**(code **)(puVar3 + 0x17308))();\n    return (uint)(0 < iVar2);\n  }\n  return uVar1;\n}" type_identifier (function_declarator "acl_access_nontrivial(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 local_24;\n  int local_20;\n  int local_1c;\n  \n  local_1c = *(int *)PTR___stack_chk_guard_00045630;\n  uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,0,&local_24);\n  if (0 < (int)uVar1) {\n    while( true ) {\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20);\n      uVar1 = 0xffffffff;\n      if (iVar2 < 0) break;\n      if (0x1f < local_20 - 1U) {\n        uVar1 = 1;\n        break;\n      }\n      uVar1 = 1;\n      if (((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))\n      break;\n    }\n  }\n  if (local_1c != *(int *)PTR___stack_chk_guard_00045630) {\n    puVar3 = PTR___stack_chk_fail_00045600;\n    (*(code *)PTR___stack_chk_fail_00045600)();\n    iVar2 = (**(code **)(puVar3 + 0x17308))();\n    return (uint)(0 < iVar2);\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "int local_1c;" primitive_type identifier ;) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_00045630;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_00045630" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00045630" * (cast_expression "(int *)PTR___stack_chk_guard_00045630" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,0,&local_24);" (assignment_expression "uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,0,&local_24)" identifier = (call_expression "(*(code *)PTR_acl_get_entry_00045510)(param_1,0,&local_24)" (parenthesized_expression "(*(code *)PTR_acl_get_entry_00045510)" ( (pointer_expression "*(code *)PTR_acl_get_entry_00045510" * (cast_expression "(code *)PTR_acl_get_entry_00045510" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,0,&local_24)" ( identifier , number_literal , (pointer_expression "&local_24" & identifier) )))) ;) (if_statement "if (0 < (int)uVar1) {\n    while( true ) {\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20);\n      uVar1 = 0xffffffff;\n      if (iVar2 < 0) break;\n      if (0x1f < local_20 - 1U) {\n        uVar1 = 1;\n        break;\n      }\n      uVar1 = 1;\n      if (((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))\n      break;\n    }\n  }" if (parenthesized_expression "(0 < (int)uVar1)" ( (binary_expression "0 < (int)uVar1" number_literal < (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    while( true ) {\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20);\n      uVar1 = 0xffffffff;\n      if (iVar2 < 0) break;\n      if (0x1f < local_20 - 1U) {\n        uVar1 = 1;\n        break;\n      }\n      uVar1 = 1;\n      if (((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))\n      break;\n    }\n  }" { (while_statement "while( true ) {\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20);\n      uVar1 = 0xffffffff;\n      if (iVar2 < 0) break;\n      if (0x1f < local_20 - 1U) {\n        uVar1 = 1;\n        break;\n      }\n      uVar1 = 1;\n      if (((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))\n      break;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20);\n      uVar1 = 0xffffffff;\n      if (iVar2 < 0) break;\n      if (0x1f < local_20 - 1U) {\n        uVar1 = 1;\n        break;\n      }\n      uVar1 = 1;\n      if (((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))\n      break;\n    }" { (expression_statement "iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20);" (assignment_expression "iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20)" identifier = (call_expression "(*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20)" (parenthesized_expression "(*(code *)PTR_acl_get_tag_type_000455d0)" ( (pointer_expression "*(code *)PTR_acl_get_tag_type_000455d0" * (cast_expression "(code *)PTR_acl_get_tag_type_000455d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_24,&local_20)" ( identifier , (pointer_expression "&local_20" & identifier) )))) ;) (expression_statement "uVar1 = 0xffffffff;" (assignment_expression "uVar1 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (iVar2 < 0) break;" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (break_statement "break;" break ;)) (if_statement "if (0x1f < local_20 - 1U) {\n        uVar1 = 1;\n        break;\n      }" if (parenthesized_expression "(0x1f < local_20 - 1U)" ( (binary_expression "0x1f < local_20 - 1U" number_literal < (binary_expression "local_20 - 1U" identifier - number_literal)) )) (compound_statement "{\n        uVar1 = 1;\n        break;\n      }" { (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) (break_statement "break;" break ;) })) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) (if_statement "if (((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))\n      break;" if (parenthesized_expression "(((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))" ( (binary_expression "((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1)" (parenthesized_expression "((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0)" ( (binary_expression "(0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0" (parenthesized_expression "(0x80000009U >> (local_20 - 1U & 0x1f) & 1)" ( (binary_expression "0x80000009U >> (local_20 - 1U & 0x1f) & 1" (binary_expression "0x80000009U >> (local_20 - 1U & 0x1f)" number_literal >> (parenthesized_expression "(local_20 - 1U & 0x1f)" ( (binary_expression "local_20 - 1U & 0x1f" (binary_expression "local_20 - 1U" identifier - number_literal) & number_literal) ))) & number_literal) )) == number_literal) )) || (parenthesized_expression "(uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1)" ( (comma_expression "uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1" (assignment_expression "uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24)" identifier = (call_expression "(*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24)" (parenthesized_expression "(*(code *)PTR_acl_get_entry_00045510)" ( (pointer_expression "*(code *)PTR_acl_get_entry_00045510" * (cast_expression "(code *)PTR_acl_get_entry_00045510" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,1,&local_24)" ( identifier , number_literal , (pointer_expression "&local_24" & identifier) )))) , (binary_expression "(int)uVar1 < 1" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal)) ))) )) (break_statement "break;" break ;)) })) })) (if_statement "if (local_1c != *(int *)PTR___stack_chk_guard_00045630) {\n    puVar3 = PTR___stack_chk_fail_00045600;\n    (*(code *)PTR___stack_chk_fail_00045600)();\n    iVar2 = (**(code **)(puVar3 + 0x17308))();\n    return (uint)(0 < iVar2);\n  }" if (parenthesized_expression "(local_1c != *(int *)PTR___stack_chk_guard_00045630)" ( (binary_expression "local_1c != *(int *)PTR___stack_chk_guard_00045630" identifier != (pointer_expression "*(int *)PTR___stack_chk_guard_00045630" * (cast_expression "(int *)PTR___stack_chk_guard_00045630" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    puVar3 = PTR___stack_chk_fail_00045600;\n    (*(code *)PTR___stack_chk_fail_00045600)();\n    iVar2 = (**(code **)(puVar3 + 0x17308))();\n    return (uint)(0 < iVar2);\n  }" { (expression_statement "puVar3 = PTR___stack_chk_fail_00045600;" (assignment_expression "puVar3 = PTR___stack_chk_fail_00045600" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00045600)();" (call_expression "(*(code *)PTR___stack_chk_fail_00045600)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00045600)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00045600" * (cast_expression "(code *)PTR___stack_chk_fail_00045600" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar2 = (**(code **)(puVar3 + 0x17308))();" (assignment_expression "iVar2 = (**(code **)(puVar3 + 0x17308))()" identifier = (call_expression "(**(code **)(puVar3 + 0x17308))()" (parenthesized_expression "(**(code **)(puVar3 + 0x17308))" ( (pointer_expression "**(code **)(puVar3 + 0x17308)" * (pointer_expression "*(code **)(puVar3 + 0x17308)" * (cast_expression "(code **)(puVar3 + 0x17308)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x17308)" ( (binary_expression "puVar3 + 0x17308" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return (uint)(0 < iVar2);" return (call_expression "(uint)(0 < iVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) ))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "int acl_access_nontrivial(acl_t acl)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined *puVar3;\n  acl_entry_t ace;\n  acl_tag_t tag;\n  int local_1c;\n  \n  local_1c = *(int *)PTR___stack_chk_guard_00045630;\n  iVar1 = (*(code *)PTR_acl_get_entry_00045510)(acl,0,&ace);\n  if (0 < iVar1) {\n    while( true ) {\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(ace,&tag);\n      iVar1 = -1;\n      if (iVar2 < 0) break;\n      if (0x1f < tag - 1U) {\n        iVar1 = 1;\n        break;\n      }\n      iVar1 = 1;\n      if (((0x80000009U >> (tag - 1U & 0x1f) & 1) == 0) ||\n         (iVar1 = (*(code *)PTR_acl_get_entry_00045510)(acl,1,&ace), iVar1 < 1)) break;\n    }\n  }\n  if (local_1c != *(int *)PTR___stack_chk_guard_00045630) {\n    puVar3 = PTR___stack_chk_fail_00045600;\n    (*(code *)PTR___stack_chk_fail_00045600)();\n    iVar1 = (**(code **)(puVar3 + 0x17308))();\n    return (uint)(0 < iVar1);\n  }\n  return iVar1;\n}\n\n" (function_definition "int acl_access_nontrivial(acl_t acl)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined *puVar3;\n  acl_entry_t ace;\n  acl_tag_t tag;\n  int local_1c;\n  \n  local_1c = *(int *)PTR___stack_chk_guard_00045630;\n  iVar1 = (*(code *)PTR_acl_get_entry_00045510)(acl,0,&ace);\n  if (0 < iVar1) {\n    while( true ) {\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(ace,&tag);\n      iVar1 = -1;\n      if (iVar2 < 0) break;\n      if (0x1f < tag - 1U) {\n        iVar1 = 1;\n        break;\n      }\n      iVar1 = 1;\n      if (((0x80000009U >> (tag - 1U & 0x1f) & 1) == 0) ||\n         (iVar1 = (*(code *)PTR_acl_get_entry_00045510)(acl,1,&ace), iVar1 < 1)) break;\n    }\n  }\n  if (local_1c != *(int *)PTR___stack_chk_guard_00045630) {\n    puVar3 = PTR___stack_chk_fail_00045600;\n    (*(code *)PTR___stack_chk_fail_00045600)();\n    iVar1 = (**(code **)(puVar3 + 0x17308))();\n    return (uint)(0 < iVar1);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "acl_access_nontrivial(acl_t acl)" identifier (parameter_list "(acl_t acl)" ( (parameter_declaration "acl_t acl" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined *puVar3;\n  acl_entry_t ace;\n  acl_tag_t tag;\n  int local_1c;\n  \n  local_1c = *(int *)PTR___stack_chk_guard_00045630;\n  iVar1 = (*(code *)PTR_acl_get_entry_00045510)(acl,0,&ace);\n  if (0 < iVar1) {\n    while( true ) {\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(ace,&tag);\n      iVar1 = -1;\n      if (iVar2 < 0) break;\n      if (0x1f < tag - 1U) {\n        iVar1 = 1;\n        break;\n      }\n      iVar1 = 1;\n      if (((0x80000009U >> (tag - 1U & 0x1f) & 1) == 0) ||\n         (iVar1 = (*(code *)PTR_acl_get_entry_00045510)(acl,1,&ace), iVar1 < 1)) break;\n    }\n  }\n  if (local_1c != *(int *)PTR___stack_chk_guard_00045630) {\n    puVar3 = PTR___stack_chk_fail_00045600;\n    (*(code *)PTR___stack_chk_fail_00045600)();\n    iVar1 = (**(code **)(puVar3 + 0x17308))();\n    return (uint)(0 < iVar1);\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "acl_entry_t ace;" type_identifier identifier ;) (declaration "acl_tag_t tag;" type_identifier identifier ;) (declaration "int local_1c;" primitive_type identifier ;) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_00045630;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_00045630" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00045630" * (cast_expression "(int *)PTR___stack_chk_guard_00045630" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar1 = (*(code *)PTR_acl_get_entry_00045510)(acl,0,&ace);" (assignment_expression "iVar1 = (*(code *)PTR_acl_get_entry_00045510)(acl,0,&ace)" identifier = (call_expression "(*(code *)PTR_acl_get_entry_00045510)(acl,0,&ace)" (parenthesized_expression "(*(code *)PTR_acl_get_entry_00045510)" ( (pointer_expression "*(code *)PTR_acl_get_entry_00045510" * (cast_expression "(code *)PTR_acl_get_entry_00045510" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(acl,0,&ace)" ( identifier , number_literal , (pointer_expression "&ace" & identifier) )))) ;) (if_statement "if (0 < iVar1) {\n    while( true ) {\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(ace,&tag);\n      iVar1 = -1;\n      if (iVar2 < 0) break;\n      if (0x1f < tag - 1U) {\n        iVar1 = 1;\n        break;\n      }\n      iVar1 = 1;\n      if (((0x80000009U >> (tag - 1U & 0x1f) & 1) == 0) ||\n         (iVar1 = (*(code *)PTR_acl_get_entry_00045510)(acl,1,&ace), iVar1 < 1)) break;\n    }\n  }" if (parenthesized_expression "(0 < iVar1)" ( (binary_expression "0 < iVar1" number_literal < identifier) )) (compound_statement "{\n    while( true ) {\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(ace,&tag);\n      iVar1 = -1;\n      if (iVar2 < 0) break;\n      if (0x1f < tag - 1U) {\n        iVar1 = 1;\n        break;\n      }\n      iVar1 = 1;\n      if (((0x80000009U >> (tag - 1U & 0x1f) & 1) == 0) ||\n         (iVar1 = (*(code *)PTR_acl_get_entry_00045510)(acl,1,&ace), iVar1 < 1)) break;\n    }\n  }" { (while_statement "while( true ) {\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(ace,&tag);\n      iVar1 = -1;\n      if (iVar2 < 0) break;\n      if (0x1f < tag - 1U) {\n        iVar1 = 1;\n        break;\n      }\n      iVar1 = 1;\n      if (((0x80000009U >> (tag - 1U & 0x1f) & 1) == 0) ||\n         (iVar1 = (*(code *)PTR_acl_get_entry_00045510)(acl,1,&ace), iVar1 < 1)) break;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(ace,&tag);\n      iVar1 = -1;\n      if (iVar2 < 0) break;\n      if (0x1f < tag - 1U) {\n        iVar1 = 1;\n        break;\n      }\n      iVar1 = 1;\n      if (((0x80000009U >> (tag - 1U & 0x1f) & 1) == 0) ||\n         (iVar1 = (*(code *)PTR_acl_get_entry_00045510)(acl,1,&ace), iVar1 < 1)) break;\n    }" { (expression_statement "iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(ace,&tag);" (assignment_expression "iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(ace,&tag)" identifier = (call_expression "(*(code *)PTR_acl_get_tag_type_000455d0)(ace,&tag)" (parenthesized_expression "(*(code *)PTR_acl_get_tag_type_000455d0)" ( (pointer_expression "*(code *)PTR_acl_get_tag_type_000455d0" * (cast_expression "(code *)PTR_acl_get_tag_type_000455d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ace,&tag)" ( identifier , (pointer_expression "&tag" & identifier) )))) ;) (expression_statement "iVar1 = -1;" (assignment_expression "iVar1 = -1" identifier = number_literal) ;) (if_statement "if (iVar2 < 0) break;" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (break_statement "break;" break ;)) (if_statement "if (0x1f < tag - 1U) {\n        iVar1 = 1;\n        break;\n      }" if (parenthesized_expression "(0x1f < tag - 1U)" ( (binary_expression "0x1f < tag - 1U" number_literal < (binary_expression "tag - 1U" identifier - number_literal)) )) (compound_statement "{\n        iVar1 = 1;\n        break;\n      }" { (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) (break_statement "break;" break ;) })) (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) (if_statement "if (((0x80000009U >> (tag - 1U & 0x1f) & 1) == 0) ||\n         (iVar1 = (*(code *)PTR_acl_get_entry_00045510)(acl,1,&ace), iVar1 < 1)) break;" if (parenthesized_expression "(((0x80000009U >> (tag - 1U & 0x1f) & 1) == 0) ||\n         (iVar1 = (*(code *)PTR_acl_get_entry_00045510)(acl,1,&ace), iVar1 < 1))" ( (binary_expression "((0x80000009U >> (tag - 1U & 0x1f) & 1) == 0) ||\n         (iVar1 = (*(code *)PTR_acl_get_entry_00045510)(acl,1,&ace), iVar1 < 1)" (parenthesized_expression "((0x80000009U >> (tag - 1U & 0x1f) & 1) == 0)" ( (binary_expression "(0x80000009U >> (tag - 1U & 0x1f) & 1) == 0" (parenthesized_expression "(0x80000009U >> (tag - 1U & 0x1f) & 1)" ( (binary_expression "0x80000009U >> (tag - 1U & 0x1f) & 1" (binary_expression "0x80000009U >> (tag - 1U & 0x1f)" number_literal >> (parenthesized_expression "(tag - 1U & 0x1f)" ( (binary_expression "tag - 1U & 0x1f" (binary_expression "tag - 1U" identifier - number_literal) & number_literal) ))) & number_literal) )) == number_literal) )) || (parenthesized_expression "(iVar1 = (*(code *)PTR_acl_get_entry_00045510)(acl,1,&ace), iVar1 < 1)" ( (comma_expression "iVar1 = (*(code *)PTR_acl_get_entry_00045510)(acl,1,&ace), iVar1 < 1" (assignment_expression "iVar1 = (*(code *)PTR_acl_get_entry_00045510)(acl,1,&ace)" identifier = (call_expression "(*(code *)PTR_acl_get_entry_00045510)(acl,1,&ace)" (parenthesized_expression "(*(code *)PTR_acl_get_entry_00045510)" ( (pointer_expression "*(code *)PTR_acl_get_entry_00045510" * (cast_expression "(code *)PTR_acl_get_entry_00045510" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(acl,1,&ace)" ( identifier , number_literal , (pointer_expression "&ace" & identifier) )))) , (binary_expression "iVar1 < 1" identifier < number_literal)) ))) )) (break_statement "break;" break ;)) })) })) (if_statement "if (local_1c != *(int *)PTR___stack_chk_guard_00045630) {\n    puVar3 = PTR___stack_chk_fail_00045600;\n    (*(code *)PTR___stack_chk_fail_00045600)();\n    iVar1 = (**(code **)(puVar3 + 0x17308))();\n    return (uint)(0 < iVar1);\n  }" if (parenthesized_expression "(local_1c != *(int *)PTR___stack_chk_guard_00045630)" ( (binary_expression "local_1c != *(int *)PTR___stack_chk_guard_00045630" identifier != (pointer_expression "*(int *)PTR___stack_chk_guard_00045630" * (cast_expression "(int *)PTR___stack_chk_guard_00045630" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    puVar3 = PTR___stack_chk_fail_00045600;\n    (*(code *)PTR___stack_chk_fail_00045600)();\n    iVar1 = (**(code **)(puVar3 + 0x17308))();\n    return (uint)(0 < iVar1);\n  }" { (expression_statement "puVar3 = PTR___stack_chk_fail_00045600;" (assignment_expression "puVar3 = PTR___stack_chk_fail_00045600" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00045600)();" (call_expression "(*(code *)PTR___stack_chk_fail_00045600)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00045600)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00045600" * (cast_expression "(code *)PTR___stack_chk_fail_00045600" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar1 = (**(code **)(puVar3 + 0x17308))();" (assignment_expression "iVar1 = (**(code **)(puVar3 + 0x17308))()" identifier = (call_expression "(**(code **)(puVar3 + 0x17308))()" (parenthesized_expression "(**(code **)(puVar3 + 0x17308))" ( (pointer_expression "**(code **)(puVar3 + 0x17308)" * (pointer_expression "*(code **)(puVar3 + 0x17308)" * (cast_expression "(code **)(puVar3 + 0x17308)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x17308)" ( (binary_expression "puVar3 + 0x17308" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return (uint)(0 < iVar1);" return (call_expression "(uint)(0 < iVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0 < iVar1)" ( (binary_expression "0 < iVar1" number_literal < identifier) ))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "uint acl_access_nontrivial(undefined4 param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 local_24;\n  int local_20;\n  int local_1c;\n  \n  local_1c = *(int *)PTR___stack_chk_guard_00045630;\n  uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,0,&local_24);\n  if (0 < (int)uVar1) {\n    while( true ) {\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20);\n      uVar1 = 0xffffffff;\n      if (iVar2 < 0) break;\n      if (0x1f < local_20 - 1U) {\n        uVar1 = 1;\n        break;\n      }\n      uVar1 = 1;\n      if (((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))\n      break;\n    }\n  }\n  if (local_1c != *(int *)PTR___stack_chk_guard_00045630) {\n    puVar3 = PTR___stack_chk_fail_00045600;\n    (*(code *)PTR___stack_chk_fail_00045600)();\n    iVar2 = (**(code **)(puVar3 + 0x17308))();\n    return (uint)(0 < iVar2);\n  }\n  return uVar1;\n}\n\n" (function_definition "uint acl_access_nontrivial(undefined4 param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 local_24;\n  int local_20;\n  int local_1c;\n  \n  local_1c = *(int *)PTR___stack_chk_guard_00045630;\n  uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,0,&local_24);\n  if (0 < (int)uVar1) {\n    while( true ) {\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20);\n      uVar1 = 0xffffffff;\n      if (iVar2 < 0) break;\n      if (0x1f < local_20 - 1U) {\n        uVar1 = 1;\n        break;\n      }\n      uVar1 = 1;\n      if (((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))\n      break;\n    }\n  }\n  if (local_1c != *(int *)PTR___stack_chk_guard_00045630) {\n    puVar3 = PTR___stack_chk_fail_00045600;\n    (*(code *)PTR___stack_chk_fail_00045600)();\n    iVar2 = (**(code **)(puVar3 + 0x17308))();\n    return (uint)(0 < iVar2);\n  }\n  return uVar1;\n}" type_identifier (function_declarator "acl_access_nontrivial(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 local_24;\n  int local_20;\n  int local_1c;\n  \n  local_1c = *(int *)PTR___stack_chk_guard_00045630;\n  uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,0,&local_24);\n  if (0 < (int)uVar1) {\n    while( true ) {\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20);\n      uVar1 = 0xffffffff;\n      if (iVar2 < 0) break;\n      if (0x1f < local_20 - 1U) {\n        uVar1 = 1;\n        break;\n      }\n      uVar1 = 1;\n      if (((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))\n      break;\n    }\n  }\n  if (local_1c != *(int *)PTR___stack_chk_guard_00045630) {\n    puVar3 = PTR___stack_chk_fail_00045600;\n    (*(code *)PTR___stack_chk_fail_00045600)();\n    iVar2 = (**(code **)(puVar3 + 0x17308))();\n    return (uint)(0 < iVar2);\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "int local_1c;" primitive_type identifier ;) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_00045630;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_00045630" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00045630" * (cast_expression "(int *)PTR___stack_chk_guard_00045630" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,0,&local_24);" (assignment_expression "uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,0,&local_24)" identifier = (call_expression "(*(code *)PTR_acl_get_entry_00045510)(param_1,0,&local_24)" (parenthesized_expression "(*(code *)PTR_acl_get_entry_00045510)" ( (pointer_expression "*(code *)PTR_acl_get_entry_00045510" * (cast_expression "(code *)PTR_acl_get_entry_00045510" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,0,&local_24)" ( identifier , number_literal , (pointer_expression "&local_24" & identifier) )))) ;) (if_statement "if (0 < (int)uVar1) {\n    while( true ) {\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20);\n      uVar1 = 0xffffffff;\n      if (iVar2 < 0) break;\n      if (0x1f < local_20 - 1U) {\n        uVar1 = 1;\n        break;\n      }\n      uVar1 = 1;\n      if (((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))\n      break;\n    }\n  }" if (parenthesized_expression "(0 < (int)uVar1)" ( (binary_expression "0 < (int)uVar1" number_literal < (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    while( true ) {\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20);\n      uVar1 = 0xffffffff;\n      if (iVar2 < 0) break;\n      if (0x1f < local_20 - 1U) {\n        uVar1 = 1;\n        break;\n      }\n      uVar1 = 1;\n      if (((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))\n      break;\n    }\n  }" { (while_statement "while( true ) {\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20);\n      uVar1 = 0xffffffff;\n      if (iVar2 < 0) break;\n      if (0x1f < local_20 - 1U) {\n        uVar1 = 1;\n        break;\n      }\n      uVar1 = 1;\n      if (((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))\n      break;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20);\n      uVar1 = 0xffffffff;\n      if (iVar2 < 0) break;\n      if (0x1f < local_20 - 1U) {\n        uVar1 = 1;\n        break;\n      }\n      uVar1 = 1;\n      if (((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))\n      break;\n    }" { (expression_statement "iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20);" (assignment_expression "iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20)" identifier = (call_expression "(*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20)" (parenthesized_expression "(*(code *)PTR_acl_get_tag_type_000455d0)" ( (pointer_expression "*(code *)PTR_acl_get_tag_type_000455d0" * (cast_expression "(code *)PTR_acl_get_tag_type_000455d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_24,&local_20)" ( identifier , (pointer_expression "&local_20" & identifier) )))) ;) (expression_statement "uVar1 = 0xffffffff;" (assignment_expression "uVar1 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (iVar2 < 0) break;" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (break_statement "break;" break ;)) (if_statement "if (0x1f < local_20 - 1U) {\n        uVar1 = 1;\n        break;\n      }" if (parenthesized_expression "(0x1f < local_20 - 1U)" ( (binary_expression "0x1f < local_20 - 1U" number_literal < (binary_expression "local_20 - 1U" identifier - number_literal)) )) (compound_statement "{\n        uVar1 = 1;\n        break;\n      }" { (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) (break_statement "break;" break ;) })) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) (if_statement "if (((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))\n      break;" if (parenthesized_expression "(((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))" ( (binary_expression "((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1)" (parenthesized_expression "((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0)" ( (binary_expression "(0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0" (parenthesized_expression "(0x80000009U >> (local_20 - 1U & 0x1f) & 1)" ( (binary_expression "0x80000009U >> (local_20 - 1U & 0x1f) & 1" (binary_expression "0x80000009U >> (local_20 - 1U & 0x1f)" number_literal >> (parenthesized_expression "(local_20 - 1U & 0x1f)" ( (binary_expression "local_20 - 1U & 0x1f" (binary_expression "local_20 - 1U" identifier - number_literal) & number_literal) ))) & number_literal) )) == number_literal) )) || (parenthesized_expression "(uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1)" ( (comma_expression "uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1" (assignment_expression "uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24)" identifier = (call_expression "(*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24)" (parenthesized_expression "(*(code *)PTR_acl_get_entry_00045510)" ( (pointer_expression "*(code *)PTR_acl_get_entry_00045510" * (cast_expression "(code *)PTR_acl_get_entry_00045510" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,1,&local_24)" ( identifier , number_literal , (pointer_expression "&local_24" & identifier) )))) , (binary_expression "(int)uVar1 < 1" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal)) ))) )) (break_statement "break;" break ;)) })) })) (if_statement "if (local_1c != *(int *)PTR___stack_chk_guard_00045630) {\n    puVar3 = PTR___stack_chk_fail_00045600;\n    (*(code *)PTR___stack_chk_fail_00045600)();\n    iVar2 = (**(code **)(puVar3 + 0x17308))();\n    return (uint)(0 < iVar2);\n  }" if (parenthesized_expression "(local_1c != *(int *)PTR___stack_chk_guard_00045630)" ( (binary_expression "local_1c != *(int *)PTR___stack_chk_guard_00045630" identifier != (pointer_expression "*(int *)PTR___stack_chk_guard_00045630" * (cast_expression "(int *)PTR___stack_chk_guard_00045630" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    puVar3 = PTR___stack_chk_fail_00045600;\n    (*(code *)PTR___stack_chk_fail_00045600)();\n    iVar2 = (**(code **)(puVar3 + 0x17308))();\n    return (uint)(0 < iVar2);\n  }" { (expression_statement "puVar3 = PTR___stack_chk_fail_00045600;" (assignment_expression "puVar3 = PTR___stack_chk_fail_00045600" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00045600)();" (call_expression "(*(code *)PTR___stack_chk_fail_00045600)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00045600)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00045600" * (cast_expression "(code *)PTR___stack_chk_fail_00045600" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar2 = (**(code **)(puVar3 + 0x17308))();" (assignment_expression "iVar2 = (**(code **)(puVar3 + 0x17308))()" identifier = (call_expression "(**(code **)(puVar3 + 0x17308))()" (parenthesized_expression "(**(code **)(puVar3 + 0x17308))" ( (pointer_expression "**(code **)(puVar3 + 0x17308)" * (pointer_expression "*(code **)(puVar3 + 0x17308)" * (cast_expression "(code **)(puVar3 + 0x17308)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x17308)" ( (binary_expression "puVar3 + 0x17308" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return (uint)(0 < iVar2);" return (call_expression "(uint)(0 < iVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) ))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT - LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression LIT >> (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & LIT) ))) & LIT) )) == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , (pointer_expression & IDENT) )))) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT)) ))) )) (break_statement break ;)) })) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( )))) ;) (return_statement return (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < IDENT) ))) ;) })) (return_statement return IDENT ;) })))
(function_definition "uint acl_access_nontrivial(undefined4 param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 local_24;\n  int local_20;\n  int local_1c;\n  \n  local_1c = *(int *)PTR___stack_chk_guard_00045630;\n  uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,0,&local_24);\n  if (0 < (int)uVar1) {\n    while( true ) {\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20);\n      uVar1 = 0xffffffff;\n      if (iVar2 < 0) break;\n      if (0x1f < local_20 - 1U) {\n        uVar1 = 1;\n        break;\n      }\n      uVar1 = 1;\n      if (((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))\n      break;\n    }\n  }\n  if (local_1c != *(int *)PTR___stack_chk_guard_00045630) {\n    puVar3 = PTR___stack_chk_fail_00045600;\n    (*(code *)PTR___stack_chk_fail_00045600)();\n    iVar2 = (**(code **)(puVar3 + 0x17308))();\n    return (uint)(0 < iVar2);\n  }\n  return uVar1;\n}" (type_identifier "uint") (function_declarator "acl_access_nontrivial(undefined4 param_1)" (identifier "acl_access_nontrivial") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined *puVar3;\n  undefined4 local_24;\n  int local_20;\n  int local_1c;\n  \n  local_1c = *(int *)PTR___stack_chk_guard_00045630;\n  uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,0,&local_24);\n  if (0 < (int)uVar1) {\n    while( true ) {\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20);\n      uVar1 = 0xffffffff;\n      if (iVar2 < 0) break;\n      if (0x1f < local_20 - 1U) {\n        uVar1 = 1;\n        break;\n      }\n      uVar1 = 1;\n      if (((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))\n      break;\n    }\n  }\n  if (local_1c != *(int *)PTR___stack_chk_guard_00045630) {\n    puVar3 = PTR___stack_chk_fail_00045600;\n    (*(code *)PTR___stack_chk_fail_00045600)();\n    iVar2 = (**(code **)(puVar3 + 0x17308))();\n    return (uint)(0 < iVar2);\n  }\n  return uVar1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "int local_1c;" (primitive_type "int") (identifier "local_1c") (; ";")) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_00045630;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_00045630" (identifier "local_1c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_00045630" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_00045630" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_00045630")))) (; ";")) (expression_statement "uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,0,&local_24);" (assignment_expression "uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,0,&local_24)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_acl_get_entry_00045510)(param_1,0,&local_24)" (parenthesized_expression "(*(code *)PTR_acl_get_entry_00045510)" (( "(") (pointer_expression "*(code *)PTR_acl_get_entry_00045510" (* "*") (cast_expression "(code *)PTR_acl_get_entry_00045510" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_acl_get_entry_00045510"))) () ")")) (argument_list "(param_1,0,&local_24)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) () ")")))) (; ";")) (if_statement "if (0 < (int)uVar1) {\n    while( true ) {\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20);\n      uVar1 = 0xffffffff;\n      if (iVar2 < 0) break;\n      if (0x1f < local_20 - 1U) {\n        uVar1 = 1;\n        break;\n      }\n      uVar1 = 1;\n      if (((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))\n      break;\n    }\n  }" (if "if") (parenthesized_expression "(0 < (int)uVar1)" (( "(") (binary_expression "0 < (int)uVar1" (number_literal "0") (< "<") (cast_expression "(int)uVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar1"))) () ")")) (compound_statement "{\n    while( true ) {\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20);\n      uVar1 = 0xffffffff;\n      if (iVar2 < 0) break;\n      if (0x1f < local_20 - 1U) {\n        uVar1 = 1;\n        break;\n      }\n      uVar1 = 1;\n      if (((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))\n      break;\n    }\n  }" ({ "{") (while_statement "while( true ) {\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20);\n      uVar1 = 0xffffffff;\n      if (iVar2 < 0) break;\n      if (0x1f < local_20 - 1U) {\n        uVar1 = 1;\n        break;\n      }\n      uVar1 = 1;\n      if (((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))\n      break;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20);\n      uVar1 = 0xffffffff;\n      if (iVar2 < 0) break;\n      if (0x1f < local_20 - 1U) {\n        uVar1 = 1;\n        break;\n      }\n      uVar1 = 1;\n      if (((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))\n      break;\n    }" ({ "{") (expression_statement "iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20);" (assignment_expression "iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20)" (parenthesized_expression "(*(code *)PTR_acl_get_tag_type_000455d0)" (( "(") (pointer_expression "*(code *)PTR_acl_get_tag_type_000455d0" (* "*") (cast_expression "(code *)PTR_acl_get_tag_type_000455d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_acl_get_tag_type_000455d0"))) () ")")) (argument_list "(local_24,&local_20)" (( "(") (identifier "local_24") (, ",") (pointer_expression "&local_20" (& "&") (identifier "local_20")) () ")")))) (; ";")) (expression_statement "uVar1 = 0xffffffff;" (assignment_expression "uVar1 = 0xffffffff" (identifier "uVar1") (= "=") (number_literal "0xffffffff")) (; ";")) (if_statement "if (iVar2 < 0) break;" (if "if") (parenthesized_expression "(iVar2 < 0)" (( "(") (binary_expression "iVar2 < 0" (identifier "iVar2") (< "<") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if (0x1f < local_20 - 1U) {\n        uVar1 = 1;\n        break;\n      }" (if "if") (parenthesized_expression "(0x1f < local_20 - 1U)" (( "(") (binary_expression "0x1f < local_20 - 1U" (number_literal "0x1f") (< "<") (binary_expression "local_20 - 1U" (identifier "local_20") (- "-") (number_literal "1U"))) () ")")) (compound_statement "{\n        uVar1 = 1;\n        break;\n      }" ({ "{") (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" (identifier "uVar1") (= "=") (number_literal "1")) (; ";")) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" (identifier "uVar1") (= "=") (number_literal "1")) (; ";")) (if_statement "if (((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))\n      break;" (if "if") (parenthesized_expression "(((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))" (( "(") (binary_expression "((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||\n         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1)" (parenthesized_expression "((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0)" (( "(") (binary_expression "(0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0" (parenthesized_expression "(0x80000009U >> (local_20 - 1U & 0x1f) & 1)" (( "(") (binary_expression "0x80000009U >> (local_20 - 1U & 0x1f) & 1" (binary_expression "0x80000009U >> (local_20 - 1U & 0x1f)" (number_literal "0x80000009U") (>> ">>") (parenthesized_expression "(local_20 - 1U & 0x1f)" (( "(") (binary_expression "local_20 - 1U & 0x1f" (binary_expression "local_20 - 1U" (identifier "local_20") (- "-") (number_literal "1U")) (& "&") (number_literal "0x1f")) () ")"))) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1)" (( "(") (comma_expression "uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1" (assignment_expression "uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24)" (parenthesized_expression "(*(code *)PTR_acl_get_entry_00045510)" (( "(") (pointer_expression "*(code *)PTR_acl_get_entry_00045510" (* "*") (cast_expression "(code *)PTR_acl_get_entry_00045510" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_acl_get_entry_00045510"))) () ")")) (argument_list "(param_1,1,&local_24)" (( "(") (identifier "param_1") (, ",") (number_literal "1") (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) () ")")))) (, ",") (binary_expression "(int)uVar1 < 1" (cast_expression "(int)uVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar1")) (< "<") (number_literal "1"))) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}"))) (} "}"))) (if_statement "if (local_1c != *(int *)PTR___stack_chk_guard_00045630) {\n    puVar3 = PTR___stack_chk_fail_00045600;\n    (*(code *)PTR___stack_chk_fail_00045600)();\n    iVar2 = (**(code **)(puVar3 + 0x17308))();\n    return (uint)(0 < iVar2);\n  }" (if "if") (parenthesized_expression "(local_1c != *(int *)PTR___stack_chk_guard_00045630)" (( "(") (binary_expression "local_1c != *(int *)PTR___stack_chk_guard_00045630" (identifier "local_1c") (!= "!=") (pointer_expression "*(int *)PTR___stack_chk_guard_00045630" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_00045630" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_00045630")))) () ")")) (compound_statement "{\n    puVar3 = PTR___stack_chk_fail_00045600;\n    (*(code *)PTR___stack_chk_fail_00045600)();\n    iVar2 = (**(code **)(puVar3 + 0x17308))();\n    return (uint)(0 < iVar2);\n  }" ({ "{") (expression_statement "puVar3 = PTR___stack_chk_fail_00045600;" (assignment_expression "puVar3 = PTR___stack_chk_fail_00045600" (identifier "puVar3") (= "=") (identifier "PTR___stack_chk_fail_00045600")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_00045600)();" (call_expression "(*(code *)PTR___stack_chk_fail_00045600)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00045600)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_00045600" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_00045600" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_00045600"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar2 = (**(code **)(puVar3 + 0x17308))();" (assignment_expression "iVar2 = (**(code **)(puVar3 + 0x17308))()" (identifier "iVar2") (= "=") (call_expression "(**(code **)(puVar3 + 0x17308))()" (parenthesized_expression "(**(code **)(puVar3 + 0x17308))" (( "(") (pointer_expression "**(code **)(puVar3 + 0x17308)" (* "*") (pointer_expression "*(code **)(puVar3 + 0x17308)" (* "*") (cast_expression "(code **)(puVar3 + 0x17308)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar3 + 0x17308)" (( "(") (binary_expression "puVar3 + 0x17308" (identifier "puVar3") (+ "+") (number_literal "0x17308")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return (uint)(0 < iVar2);" (return "return") (call_expression "(uint)(0 < iVar2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(0 < iVar2)" (( "(") (binary_expression "0 < iVar2" (number_literal "0") (< "<") (identifier "iVar2")) () ")"))) (; ";")) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (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) (number_literal) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (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) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (break_statement))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) right: (number_literal))) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (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) (number_literal) (pointer_expression argument: (identifier))))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))) consequence: (break_statement)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list)))) (return_statement (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (number_literal) right: (identifier))))))) (return_statement (identifier)))))

uint MASKED(undefined4 param_1)

{
  uint uVar1;
  int iVar2;
  undefined *puVar3;
  undefined4 local_24;
  int local_20;
  int local_1c;
  
  local_1c = *(int *)PTR___stack_chk_guard_00045630;
  uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,0,&local_24);
  if (0 < (int)uVar1) {
    while( true ) {
      iVar2 = (*(code *)PTR_acl_get_tag_type_000455d0)(local_24,&local_20);
      uVar1 = 0xffffffff;
      if (iVar2 < 0) break;
      if (0x1f < local_20 - 1U) {
        uVar1 = 1;
        break;
      }
      uVar1 = 1;
      if (((0x80000009U >> (local_20 - 1U & 0x1f) & 1) == 0) ||
         (uVar1 = (*(code *)PTR_acl_get_entry_00045510)(param_1,1,&local_24), (int)uVar1 < 1))
      break;
    }
  }
  if (local_1c != *(int *)PTR___stack_chk_guard_00045630) {
    puVar3 = PTR___stack_chk_fail_00045600;
    (*(code *)PTR___stack_chk_fail_00045600)();
    iVar2 = (**(code **)(puVar3 + 0x17308))();
    return (uint)(0 < iVar2);
  }
  return uVar1;
}

