
_Bool match_lname(char *pathname,stat *stat_buf,predicate *pred_ptr,_Bool ignore_case)

{
  bool bVar4;
  char *pcVar1;
  int iVar2;
  int *piVar3;
  undefined4 uVar5;
  undefined3 in_register_0000001c;
  
  if ((stat_buf->st_mode & 0xf000) == 0xa000) {
    pcVar1 = areadlinkat(*(int *)(PTR_state_000795c0 + 0x10),*(char **)(PTR_state_000795c0 + 0xc));
    if (pcVar1 == (char *)0x0) {
      piVar3 = (int *)(*(code *)PTR___errno_location_00079af0)();
      nonfatal_target_file_error(*piVar3,pathname);
      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;
      bVar4 = false;
    }
    else {
      uVar5 = 0x10;
      if (CONCAT31(in_register_0000001c,ignore_case) == 0) {
        uVar5 = 0;
      }
      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)((pred_ptr->args).str,pcVar1,uVar5);
      bVar4 = iVar2 == 0;
    }
    (*(code *)PTR_free_00079c24)(pcVar1);
  }
  else {
    bVar4 = false;
  }
  return bVar4;
}



bool FUN_00017eb8(undefined4 param_1,int param_2,int param_3,int param_4)

{
  int iVar1;
  int iVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  bool bVar5;
  
  if ((*(uint *)(param_2 + 0x18) & 0xf000) == 0xa000) {
    iVar1 = areadlinkat(*(undefined4 *)(PTR_state_000795c0 + 0x10),
                        *(undefined4 *)(PTR_state_000795c0 + 0xc));
    if (iVar1 == 0) {
      puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)();
      nonfatal_target_file_error(*puVar3,param_1);
      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;
      bVar5 = false;
    }
    else {
      uVar4 = 0x10;
      if (param_4 == 0) {
        uVar4 = 0;
      }
      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);
      bVar5 = iVar2 == 0;
    }
    (*(code *)PTR_free_00079c24)(iVar1);
  }
  else {
    bVar5 = false;
  }
  return bVar5;
}


lui gp,0x7
addiu gp,gp,-0x6938
addu gp,gp,t9
addiu sp,sp,-0x30
sw ra,0x2c(sp)
sw s3,0x28(sp)
sw s2,0x24(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
sw gp,0x10(sp)
lw v0,0x18(a1)
andi v0,v0,0xf000
ori v1,zero,0xa000
beq v0,v1,0x00017f14
_or s0,zero,zero
or v0,s0,zero
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
or s1,a3,zero
or s0,a2,zero
or s2,a0,zero
lw v0,-0x7fc0(gp)
lw a1,0xc(v0)
lw a0,0x10(v0)
lw t9,-0x7f2c(gp)
bal 0x0002bf20
_nop
lw gp,0x10(sp)
beq v0,zero,0x00017f84
_or s3,v0,zero
li a2,0x10
movz a2,zero,s1
or a1,v0,zero
lw a0,0x28(s0)
lw t9,-0x7f30(gp)
jalr t9
_nop
lw gp,0x10(sp)
sltiu s0,v0,0x1
or a0,s3,zero
lw t9,-0x795c(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x00017ef8
_or v0,s0,zero
lw t9,-0x7a90(gp)
jalr t9
_nop
lw gp,0x10(sp)
or a1,s2,zero
lw a0,0x0(v0)
lw t9,-0x7f98(gp)
bal 0x0001eb3c
_nop
lw gp,0x10(sp)
lw v0,-0x7fc0(gp)
li v1,0x1
sw v1,0x1c(v0)
b 0x00017f68
_or s0,zero,zero
(translation_unit "bool FUN_00017eb8(undefined4 param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  bool bVar5;\n  \n  if ((*(uint *)(param_2 + 0x18) & 0xf000) == 0xa000) {\n    iVar1 = areadlinkat(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc));\n    if (iVar1 == 0) {\n      puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*puVar3,param_1);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar5 = false;\n    }\n    else {\n      uVar4 = 0x10;\n      if (param_4 == 0) {\n        uVar4 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);\n      bVar5 = iVar2 == 0;\n    }\n    (*(code *)PTR_free_00079c24)(iVar1);\n  }\n  else {\n    bVar5 = false;\n  }\n  return bVar5;\n}\n\n" (function_definition "bool FUN_00017eb8(undefined4 param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  bool bVar5;\n  \n  if ((*(uint *)(param_2 + 0x18) & 0xf000) == 0xa000) {\n    iVar1 = areadlinkat(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc));\n    if (iVar1 == 0) {\n      puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*puVar3,param_1);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar5 = false;\n    }\n    else {\n      uVar4 = 0x10;\n      if (param_4 == 0) {\n        uVar4 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);\n      bVar5 = iVar2 == 0;\n    }\n    (*(code *)PTR_free_00079c24)(iVar1);\n  }\n  else {\n    bVar5 = false;\n  }\n  return bVar5;\n}" primitive_type (function_declarator "FUN_00017eb8(undefined4 param_1,int param_2,int param_3,int param_4)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3,int param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  bool bVar5;\n  \n  if ((*(uint *)(param_2 + 0x18) & 0xf000) == 0xa000) {\n    iVar1 = areadlinkat(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc));\n    if (iVar1 == 0) {\n      puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*puVar3,param_1);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar5 = false;\n    }\n    else {\n      uVar4 = 0x10;\n      if (param_4 == 0) {\n        uVar4 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);\n      bVar5 = iVar2 == 0;\n    }\n    (*(code *)PTR_free_00079c24)(iVar1);\n  }\n  else {\n    bVar5 = false;\n  }\n  return bVar5;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "bool bVar5;" primitive_type identifier ;) (if_statement "if ((*(uint *)(param_2 + 0x18) & 0xf000) == 0xa000) {\n    iVar1 = areadlinkat(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc));\n    if (iVar1 == 0) {\n      puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*puVar3,param_1);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar5 = false;\n    }\n    else {\n      uVar4 = 0x10;\n      if (param_4 == 0) {\n        uVar4 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);\n      bVar5 = iVar2 == 0;\n    }\n    (*(code *)PTR_free_00079c24)(iVar1);\n  }\n  else {\n    bVar5 = false;\n  }" if (parenthesized_expression "((*(uint *)(param_2 + 0x18) & 0xf000) == 0xa000)" ( (binary_expression "(*(uint *)(param_2 + 0x18) & 0xf000) == 0xa000" (parenthesized_expression "(*(uint *)(param_2 + 0x18) & 0xf000)" ( (binary_expression "*(uint *)(param_2 + 0x18) & 0xf000" (pointer_expression "*(uint *)(param_2 + 0x18)" * (cast_expression "(uint *)(param_2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar1 = areadlinkat(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc));\n    if (iVar1 == 0) {\n      puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*puVar3,param_1);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar5 = false;\n    }\n    else {\n      uVar4 = 0x10;\n      if (param_4 == 0) {\n        uVar4 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);\n      bVar5 = iVar2 == 0;\n    }\n    (*(code *)PTR_free_00079c24)(iVar1);\n  }" { (expression_statement "iVar1 = areadlinkat(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc));" (assignment_expression "iVar1 = areadlinkat(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc))" identifier = (call_expression "areadlinkat(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc))" identifier (argument_list "(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc))" ( (pointer_expression "*(undefined4 *)(PTR_state_000795c0 + 0x10)" * (cast_expression "(undefined4 *)(PTR_state_000795c0 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_state_000795c0 + 0x10)" ( (binary_expression "PTR_state_000795c0 + 0x10" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(PTR_state_000795c0 + 0xc)" * (cast_expression "(undefined4 *)(PTR_state_000795c0 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_state_000795c0 + 0xc)" ( (binary_expression "PTR_state_000795c0 + 0xc" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 == 0) {\n      puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*puVar3,param_1);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar5 = false;\n    }\n    else {\n      uVar4 = 0x10;\n      if (param_4 == 0) {\n        uVar4 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);\n      bVar5 = iVar2 == 0;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*puVar3,param_1);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar5 = false;\n    }" { (expression_statement "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)();" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_00079af0)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00079af0)()" (parenthesized_expression "(*(code *)PTR___errno_location_00079af0)" ( (pointer_expression "*(code *)PTR___errno_location_00079af0" * (cast_expression "(code *)PTR___errno_location_00079af0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "nonfatal_target_file_error(*puVar3,param_1);" (call_expression "nonfatal_target_file_error(*puVar3,param_1)" identifier (argument_list "(*puVar3,param_1)" ( (pointer_expression "*puVar3" * identifier) , identifier ))) ;) (expression_statement "*(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;" (assignment_expression "*(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1" (pointer_expression "*(undefined4 *)(PTR_state_000795c0 + 0x1c)" * (cast_expression "(undefined4 *)(PTR_state_000795c0 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_state_000795c0 + 0x1c)" ( (binary_expression "PTR_state_000795c0 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "bVar5 = false;" (assignment_expression "bVar5 = false" identifier = false) ;) }) (else_clause "else {\n      uVar4 = 0x10;\n      if (param_4 == 0) {\n        uVar4 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);\n      bVar5 = iVar2 == 0;\n    }" else (compound_statement "{\n      uVar4 = 0x10;\n      if (param_4 == 0) {\n        uVar4 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);\n      bVar5 = iVar2 == 0;\n    }" { (expression_statement "uVar4 = 0x10;" (assignment_expression "uVar4 = 0x10" identifier = number_literal) ;) (if_statement "if (param_4 == 0) {\n        uVar4 = 0;\n      }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar4 = 0;\n      }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) })) (expression_statement "iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);" (assignment_expression "iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4)" identifier = (call_expression "(*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4)" (parenthesized_expression "(*(code *)PTR_rpl_fnmatch_00079650)" ( (pointer_expression "*(code *)PTR_rpl_fnmatch_00079650" * (cast_expression "(code *)PTR_rpl_fnmatch_00079650" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4)" ( (pointer_expression "*(undefined4 *)(param_3 + 0x28)" * (cast_expression "(undefined4 *)(param_3 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x28)" ( (binary_expression "param_3 + 0x28" identifier + number_literal) )))) , identifier , identifier )))) ;) (expression_statement "bVar5 = iVar2 == 0;" (assignment_expression "bVar5 = iVar2 == 0" identifier = (binary_expression "iVar2 == 0" identifier == number_literal)) ;) }))) (expression_statement "(*(code *)PTR_free_00079c24)(iVar1);" (call_expression "(*(code *)PTR_free_00079c24)(iVar1)" (parenthesized_expression "(*(code *)PTR_free_00079c24)" ( (pointer_expression "*(code *)PTR_free_00079c24" * (cast_expression "(code *)PTR_free_00079c24" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) }) (else_clause "else {\n    bVar5 = false;\n  }" else (compound_statement "{\n    bVar5 = false;\n  }" { (expression_statement "bVar5 = false;" (assignment_expression "bVar5 = false" identifier = false) ;) }))) (return_statement "return bVar5;" return identifier ;) })))
(translation_unit "_Bool match_lname(char *pathname,stat *stat_buf,predicate *pred_ptr,_Bool ignore_case)\n\n{\n  bool bVar4;\n  char *pcVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 uVar5;\n  undefined3 in_register_0000001c;\n  \n  if ((stat_buf->st_mode & 0xf000) == 0xa000) {\n    pcVar1 = areadlinkat(*(int *)(PTR_state_000795c0 + 0x10),*(char **)(PTR_state_000795c0 + 0xc));\n    if (pcVar1 == (char *)0x0) {\n      piVar3 = (int *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*piVar3,pathname);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar4 = false;\n    }\n    else {\n      uVar5 = 0x10;\n      if (CONCAT31(in_register_0000001c,ignore_case) == 0) {\n        uVar5 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)((pred_ptr->args).str,pcVar1,uVar5);\n      bVar4 = iVar2 == 0;\n    }\n    (*(code *)PTR_free_00079c24)(pcVar1);\n  }\n  else {\n    bVar4 = false;\n  }\n  return bVar4;\n}\n\n" (function_definition "_Bool match_lname(char *pathname,stat *stat_buf,predicate *pred_ptr,_Bool ignore_case)\n\n{\n  bool bVar4;\n  char *pcVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 uVar5;\n  undefined3 in_register_0000001c;\n  \n  if ((stat_buf->st_mode & 0xf000) == 0xa000) {\n    pcVar1 = areadlinkat(*(int *)(PTR_state_000795c0 + 0x10),*(char **)(PTR_state_000795c0 + 0xc));\n    if (pcVar1 == (char *)0x0) {\n      piVar3 = (int *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*piVar3,pathname);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar4 = false;\n    }\n    else {\n      uVar5 = 0x10;\n      if (CONCAT31(in_register_0000001c,ignore_case) == 0) {\n        uVar5 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)((pred_ptr->args).str,pcVar1,uVar5);\n      bVar4 = iVar2 == 0;\n    }\n    (*(code *)PTR_free_00079c24)(pcVar1);\n  }\n  else {\n    bVar4 = false;\n  }\n  return bVar4;\n}" type_identifier (function_declarator "match_lname(char *pathname,stat *stat_buf,predicate *pred_ptr,_Bool ignore_case)" identifier (parameter_list "(char *pathname,stat *stat_buf,predicate *pred_ptr,_Bool ignore_case)" ( (parameter_declaration "char *pathname" primitive_type (pointer_declarator "*pathname" * identifier)) , (parameter_declaration "stat *stat_buf" type_identifier (pointer_declarator "*stat_buf" * identifier)) , (parameter_declaration "predicate *pred_ptr" type_identifier (pointer_declarator "*pred_ptr" * identifier)) , (parameter_declaration "_Bool ignore_case" type_identifier identifier) ))) (compound_statement "{\n  bool bVar4;\n  char *pcVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 uVar5;\n  undefined3 in_register_0000001c;\n  \n  if ((stat_buf->st_mode & 0xf000) == 0xa000) {\n    pcVar1 = areadlinkat(*(int *)(PTR_state_000795c0 + 0x10),*(char **)(PTR_state_000795c0 + 0xc));\n    if (pcVar1 == (char *)0x0) {\n      piVar3 = (int *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*piVar3,pathname);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar4 = false;\n    }\n    else {\n      uVar5 = 0x10;\n      if (CONCAT31(in_register_0000001c,ignore_case) == 0) {\n        uVar5 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)((pred_ptr->args).str,pcVar1,uVar5);\n      bVar4 = iVar2 == 0;\n    }\n    (*(code *)PTR_free_00079c24)(pcVar1);\n  }\n  else {\n    bVar4 = false;\n  }\n  return bVar4;\n}" { (declaration "bool bVar4;" primitive_type identifier ;) (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined3 in_register_0000001c;" type_identifier identifier ;) (if_statement "if ((stat_buf->st_mode & 0xf000) == 0xa000) {\n    pcVar1 = areadlinkat(*(int *)(PTR_state_000795c0 + 0x10),*(char **)(PTR_state_000795c0 + 0xc));\n    if (pcVar1 == (char *)0x0) {\n      piVar3 = (int *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*piVar3,pathname);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar4 = false;\n    }\n    else {\n      uVar5 = 0x10;\n      if (CONCAT31(in_register_0000001c,ignore_case) == 0) {\n        uVar5 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)((pred_ptr->args).str,pcVar1,uVar5);\n      bVar4 = iVar2 == 0;\n    }\n    (*(code *)PTR_free_00079c24)(pcVar1);\n  }\n  else {\n    bVar4 = false;\n  }" if (parenthesized_expression "((stat_buf->st_mode & 0xf000) == 0xa000)" ( (binary_expression "(stat_buf->st_mode & 0xf000) == 0xa000" (parenthesized_expression "(stat_buf->st_mode & 0xf000)" ( (binary_expression "stat_buf->st_mode & 0xf000" (field_expression "stat_buf->st_mode" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    pcVar1 = areadlinkat(*(int *)(PTR_state_000795c0 + 0x10),*(char **)(PTR_state_000795c0 + 0xc));\n    if (pcVar1 == (char *)0x0) {\n      piVar3 = (int *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*piVar3,pathname);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar4 = false;\n    }\n    else {\n      uVar5 = 0x10;\n      if (CONCAT31(in_register_0000001c,ignore_case) == 0) {\n        uVar5 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)((pred_ptr->args).str,pcVar1,uVar5);\n      bVar4 = iVar2 == 0;\n    }\n    (*(code *)PTR_free_00079c24)(pcVar1);\n  }" { (expression_statement "pcVar1 = areadlinkat(*(int *)(PTR_state_000795c0 + 0x10),*(char **)(PTR_state_000795c0 + 0xc));" (assignment_expression "pcVar1 = areadlinkat(*(int *)(PTR_state_000795c0 + 0x10),*(char **)(PTR_state_000795c0 + 0xc))" identifier = (call_expression "areadlinkat(*(int *)(PTR_state_000795c0 + 0x10),*(char **)(PTR_state_000795c0 + 0xc))" identifier (argument_list "(*(int *)(PTR_state_000795c0 + 0x10),*(char **)(PTR_state_000795c0 + 0xc))" ( (pointer_expression "*(int *)(PTR_state_000795c0 + 0x10)" * (cast_expression "(int *)(PTR_state_000795c0 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_state_000795c0 + 0x10)" ( (binary_expression "PTR_state_000795c0 + 0x10" identifier + number_literal) )))) , (pointer_expression "*(char **)(PTR_state_000795c0 + 0xc)" * (cast_expression "(char **)(PTR_state_000795c0 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_state_000795c0 + 0xc)" ( (binary_expression "PTR_state_000795c0 + 0xc" identifier + number_literal) )))) )))) ;) (if_statement "if (pcVar1 == (char *)0x0) {\n      piVar3 = (int *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*piVar3,pathname);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar4 = false;\n    }\n    else {\n      uVar5 = 0x10;\n      if (CONCAT31(in_register_0000001c,ignore_case) == 0) {\n        uVar5 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)((pred_ptr->args).str,pcVar1,uVar5);\n      bVar4 = iVar2 == 0;\n    }" if (parenthesized_expression "(pcVar1 == (char *)0x0)" ( (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      piVar3 = (int *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*piVar3,pathname);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar4 = false;\n    }" { (expression_statement "piVar3 = (int *)(*(code *)PTR___errno_location_00079af0)();" (assignment_expression "piVar3 = (int *)(*(code *)PTR___errno_location_00079af0)()" identifier = (cast_expression "(int *)(*(code *)PTR___errno_location_00079af0)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00079af0)()" (parenthesized_expression "(*(code *)PTR___errno_location_00079af0)" ( (pointer_expression "*(code *)PTR___errno_location_00079af0" * (cast_expression "(code *)PTR___errno_location_00079af0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "nonfatal_target_file_error(*piVar3,pathname);" (call_expression "nonfatal_target_file_error(*piVar3,pathname)" identifier (argument_list "(*piVar3,pathname)" ( (pointer_expression "*piVar3" * identifier) , identifier ))) ;) (expression_statement "*(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;" (assignment_expression "*(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1" (pointer_expression "*(undefined4 *)(PTR_state_000795c0 + 0x1c)" * (cast_expression "(undefined4 *)(PTR_state_000795c0 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_state_000795c0 + 0x1c)" ( (binary_expression "PTR_state_000795c0 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "bVar4 = false;" (assignment_expression "bVar4 = false" identifier = false) ;) }) (else_clause "else {\n      uVar5 = 0x10;\n      if (CONCAT31(in_register_0000001c,ignore_case) == 0) {\n        uVar5 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)((pred_ptr->args).str,pcVar1,uVar5);\n      bVar4 = iVar2 == 0;\n    }" else (compound_statement "{\n      uVar5 = 0x10;\n      if (CONCAT31(in_register_0000001c,ignore_case) == 0) {\n        uVar5 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)((pred_ptr->args).str,pcVar1,uVar5);\n      bVar4 = iVar2 == 0;\n    }" { (expression_statement "uVar5 = 0x10;" (assignment_expression "uVar5 = 0x10" identifier = number_literal) ;) (if_statement "if (CONCAT31(in_register_0000001c,ignore_case) == 0) {\n        uVar5 = 0;\n      }" if (parenthesized_expression "(CONCAT31(in_register_0000001c,ignore_case) == 0)" ( (binary_expression "CONCAT31(in_register_0000001c,ignore_case) == 0" (call_expression "CONCAT31(in_register_0000001c,ignore_case)" identifier (argument_list "(in_register_0000001c,ignore_case)" ( identifier , identifier ))) == number_literal) )) (compound_statement "{\n        uVar5 = 0;\n      }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) })) (expression_statement "iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)((pred_ptr->args).str,pcVar1,uVar5);" (assignment_expression "iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)((pred_ptr->args).str,pcVar1,uVar5)" identifier = (call_expression "(*(code *)PTR_rpl_fnmatch_00079650)((pred_ptr->args).str,pcVar1,uVar5)" (parenthesized_expression "(*(code *)PTR_rpl_fnmatch_00079650)" ( (pointer_expression "*(code *)PTR_rpl_fnmatch_00079650" * (cast_expression "(code *)PTR_rpl_fnmatch_00079650" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((pred_ptr->args).str,pcVar1,uVar5)" ( (field_expression "(pred_ptr->args).str" (parenthesized_expression "(pred_ptr->args)" ( (field_expression "pred_ptr->args" identifier -> field_identifier) )) . field_identifier) , identifier , identifier )))) ;) (expression_statement "bVar4 = iVar2 == 0;" (assignment_expression "bVar4 = iVar2 == 0" identifier = (binary_expression "iVar2 == 0" identifier == number_literal)) ;) }))) (expression_statement "(*(code *)PTR_free_00079c24)(pcVar1);" (call_expression "(*(code *)PTR_free_00079c24)(pcVar1)" (parenthesized_expression "(*(code *)PTR_free_00079c24)" ( (pointer_expression "*(code *)PTR_free_00079c24" * (cast_expression "(code *)PTR_free_00079c24" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1)" ( identifier ))) ;) }) (else_clause "else {\n    bVar4 = false;\n  }" else (compound_statement "{\n    bVar4 = false;\n  }" { (expression_statement "bVar4 = false;" (assignment_expression "bVar4 = false" identifier = false) ;) }))) (return_statement "return bVar4;" return identifier ;) })))
(translation_unit "bool FUN_00017eb8(undefined4 param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  bool bVar5;\n  \n  if ((*(uint *)(param_2 + 0x18) & 0xf000) == 0xa000) {\n    iVar1 = areadlinkat(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc));\n    if (iVar1 == 0) {\n      puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*puVar3,param_1);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar5 = false;\n    }\n    else {\n      uVar4 = 0x10;\n      if (param_4 == 0) {\n        uVar4 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);\n      bVar5 = iVar2 == 0;\n    }\n    (*(code *)PTR_free_00079c24)(iVar1);\n  }\n  else {\n    bVar5 = false;\n  }\n  return bVar5;\n}\n\n" (function_definition "bool FUN_00017eb8(undefined4 param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  bool bVar5;\n  \n  if ((*(uint *)(param_2 + 0x18) & 0xf000) == 0xa000) {\n    iVar1 = areadlinkat(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc));\n    if (iVar1 == 0) {\n      puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*puVar3,param_1);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar5 = false;\n    }\n    else {\n      uVar4 = 0x10;\n      if (param_4 == 0) {\n        uVar4 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);\n      bVar5 = iVar2 == 0;\n    }\n    (*(code *)PTR_free_00079c24)(iVar1);\n  }\n  else {\n    bVar5 = false;\n  }\n  return bVar5;\n}" primitive_type (function_declarator "FUN_00017eb8(undefined4 param_1,int param_2,int param_3,int param_4)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3,int param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  bool bVar5;\n  \n  if ((*(uint *)(param_2 + 0x18) & 0xf000) == 0xa000) {\n    iVar1 = areadlinkat(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc));\n    if (iVar1 == 0) {\n      puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*puVar3,param_1);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar5 = false;\n    }\n    else {\n      uVar4 = 0x10;\n      if (param_4 == 0) {\n        uVar4 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);\n      bVar5 = iVar2 == 0;\n    }\n    (*(code *)PTR_free_00079c24)(iVar1);\n  }\n  else {\n    bVar5 = false;\n  }\n  return bVar5;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "bool bVar5;" primitive_type identifier ;) (if_statement "if ((*(uint *)(param_2 + 0x18) & 0xf000) == 0xa000) {\n    iVar1 = areadlinkat(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc));\n    if (iVar1 == 0) {\n      puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*puVar3,param_1);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar5 = false;\n    }\n    else {\n      uVar4 = 0x10;\n      if (param_4 == 0) {\n        uVar4 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);\n      bVar5 = iVar2 == 0;\n    }\n    (*(code *)PTR_free_00079c24)(iVar1);\n  }\n  else {\n    bVar5 = false;\n  }" if (parenthesized_expression "((*(uint *)(param_2 + 0x18) & 0xf000) == 0xa000)" ( (binary_expression "(*(uint *)(param_2 + 0x18) & 0xf000) == 0xa000" (parenthesized_expression "(*(uint *)(param_2 + 0x18) & 0xf000)" ( (binary_expression "*(uint *)(param_2 + 0x18) & 0xf000" (pointer_expression "*(uint *)(param_2 + 0x18)" * (cast_expression "(uint *)(param_2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar1 = areadlinkat(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc));\n    if (iVar1 == 0) {\n      puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*puVar3,param_1);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar5 = false;\n    }\n    else {\n      uVar4 = 0x10;\n      if (param_4 == 0) {\n        uVar4 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);\n      bVar5 = iVar2 == 0;\n    }\n    (*(code *)PTR_free_00079c24)(iVar1);\n  }" { (expression_statement "iVar1 = areadlinkat(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc));" (assignment_expression "iVar1 = areadlinkat(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc))" identifier = (call_expression "areadlinkat(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc))" identifier (argument_list "(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc))" ( (pointer_expression "*(undefined4 *)(PTR_state_000795c0 + 0x10)" * (cast_expression "(undefined4 *)(PTR_state_000795c0 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_state_000795c0 + 0x10)" ( (binary_expression "PTR_state_000795c0 + 0x10" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(PTR_state_000795c0 + 0xc)" * (cast_expression "(undefined4 *)(PTR_state_000795c0 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_state_000795c0 + 0xc)" ( (binary_expression "PTR_state_000795c0 + 0xc" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 == 0) {\n      puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*puVar3,param_1);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar5 = false;\n    }\n    else {\n      uVar4 = 0x10;\n      if (param_4 == 0) {\n        uVar4 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);\n      bVar5 = iVar2 == 0;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*puVar3,param_1);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar5 = false;\n    }" { (expression_statement "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)();" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_00079af0)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00079af0)()" (parenthesized_expression "(*(code *)PTR___errno_location_00079af0)" ( (pointer_expression "*(code *)PTR___errno_location_00079af0" * (cast_expression "(code *)PTR___errno_location_00079af0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "nonfatal_target_file_error(*puVar3,param_1);" (call_expression "nonfatal_target_file_error(*puVar3,param_1)" identifier (argument_list "(*puVar3,param_1)" ( (pointer_expression "*puVar3" * identifier) , identifier ))) ;) (expression_statement "*(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;" (assignment_expression "*(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1" (pointer_expression "*(undefined4 *)(PTR_state_000795c0 + 0x1c)" * (cast_expression "(undefined4 *)(PTR_state_000795c0 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_state_000795c0 + 0x1c)" ( (binary_expression "PTR_state_000795c0 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "bVar5 = false;" (assignment_expression "bVar5 = false" identifier = false) ;) }) (else_clause "else {\n      uVar4 = 0x10;\n      if (param_4 == 0) {\n        uVar4 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);\n      bVar5 = iVar2 == 0;\n    }" else (compound_statement "{\n      uVar4 = 0x10;\n      if (param_4 == 0) {\n        uVar4 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);\n      bVar5 = iVar2 == 0;\n    }" { (expression_statement "uVar4 = 0x10;" (assignment_expression "uVar4 = 0x10" identifier = number_literal) ;) (if_statement "if (param_4 == 0) {\n        uVar4 = 0;\n      }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar4 = 0;\n      }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) })) (expression_statement "iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);" (assignment_expression "iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4)" identifier = (call_expression "(*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4)" (parenthesized_expression "(*(code *)PTR_rpl_fnmatch_00079650)" ( (pointer_expression "*(code *)PTR_rpl_fnmatch_00079650" * (cast_expression "(code *)PTR_rpl_fnmatch_00079650" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4)" ( (pointer_expression "*(undefined4 *)(param_3 + 0x28)" * (cast_expression "(undefined4 *)(param_3 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x28)" ( (binary_expression "param_3 + 0x28" identifier + number_literal) )))) , identifier , identifier )))) ;) (expression_statement "bVar5 = iVar2 == 0;" (assignment_expression "bVar5 = iVar2 == 0" identifier = (binary_expression "iVar2 == 0" identifier == number_literal)) ;) }))) (expression_statement "(*(code *)PTR_free_00079c24)(iVar1);" (call_expression "(*(code *)PTR_free_00079c24)(iVar1)" (parenthesized_expression "(*(code *)PTR_free_00079c24)" ( (pointer_expression "*(code *)PTR_free_00079c24" * (cast_expression "(code *)PTR_free_00079c24" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) }) (else_clause "else {\n    bVar5 = false;\n  }" else (compound_statement "{\n    bVar5 = false;\n  }" { (expression_statement "bVar5 = false;" (assignment_expression "bVar5 = false" identifier = false) ;) }))) (return_statement "return bVar5;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) }))) (return_statement return IDENT ;) })))
(function_definition "bool FUN_00017eb8(undefined4 param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  bool bVar5;\n  \n  if ((*(uint *)(param_2 + 0x18) & 0xf000) == 0xa000) {\n    iVar1 = areadlinkat(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc));\n    if (iVar1 == 0) {\n      puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*puVar3,param_1);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar5 = false;\n    }\n    else {\n      uVar4 = 0x10;\n      if (param_4 == 0) {\n        uVar4 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);\n      bVar5 = iVar2 == 0;\n    }\n    (*(code *)PTR_free_00079c24)(iVar1);\n  }\n  else {\n    bVar5 = false;\n  }\n  return bVar5;\n}" (primitive_type "bool") (function_declarator "FUN_00017eb8(undefined4 param_1,int param_2,int param_3,int param_4)" (identifier "FUN_00017eb8") (parameter_list "(undefined4 param_1,int param_2,int param_3,int param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  bool bVar5;\n  \n  if ((*(uint *)(param_2 + 0x18) & 0xf000) == 0xa000) {\n    iVar1 = areadlinkat(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc));\n    if (iVar1 == 0) {\n      puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*puVar3,param_1);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar5 = false;\n    }\n    else {\n      uVar4 = 0x10;\n      if (param_4 == 0) {\n        uVar4 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);\n      bVar5 = iVar2 == 0;\n    }\n    (*(code *)PTR_free_00079c24)(iVar1);\n  }\n  else {\n    bVar5 = false;\n  }\n  return bVar5;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "bool bVar5;" (primitive_type "bool") (identifier "bVar5") (; ";")) (if_statement "if ((*(uint *)(param_2 + 0x18) & 0xf000) == 0xa000) {\n    iVar1 = areadlinkat(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc));\n    if (iVar1 == 0) {\n      puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*puVar3,param_1);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar5 = false;\n    }\n    else {\n      uVar4 = 0x10;\n      if (param_4 == 0) {\n        uVar4 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);\n      bVar5 = iVar2 == 0;\n    }\n    (*(code *)PTR_free_00079c24)(iVar1);\n  }\n  else {\n    bVar5 = false;\n  }" (if "if") (parenthesized_expression "((*(uint *)(param_2 + 0x18) & 0xf000) == 0xa000)" (( "(") (binary_expression "(*(uint *)(param_2 + 0x18) & 0xf000) == 0xa000" (parenthesized_expression "(*(uint *)(param_2 + 0x18) & 0xf000)" (( "(") (binary_expression "*(uint *)(param_2 + 0x18) & 0xf000" (pointer_expression "*(uint *)(param_2 + 0x18)" (* "*") (cast_expression "(uint *)(param_2 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")")))) (& "&") (number_literal "0xf000")) () ")")) (== "==") (number_literal "0xa000")) () ")")) (compound_statement "{\n    iVar1 = areadlinkat(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc));\n    if (iVar1 == 0) {\n      puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*puVar3,param_1);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar5 = false;\n    }\n    else {\n      uVar4 = 0x10;\n      if (param_4 == 0) {\n        uVar4 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);\n      bVar5 = iVar2 == 0;\n    }\n    (*(code *)PTR_free_00079c24)(iVar1);\n  }" ({ "{") (expression_statement "iVar1 = areadlinkat(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc));" (assignment_expression "iVar1 = areadlinkat(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc))" (identifier "iVar1") (= "=") (call_expression "areadlinkat(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc))" (identifier "areadlinkat") (argument_list "(*(undefined4 *)(PTR_state_000795c0 + 0x10),\n                        *(undefined4 *)(PTR_state_000795c0 + 0xc))" (( "(") (pointer_expression "*(undefined4 *)(PTR_state_000795c0 + 0x10)" (* "*") (cast_expression "(undefined4 *)(PTR_state_000795c0 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_state_000795c0 + 0x10)" (( "(") (binary_expression "PTR_state_000795c0 + 0x10" (identifier "PTR_state_000795c0") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(PTR_state_000795c0 + 0xc)" (* "*") (cast_expression "(undefined4 *)(PTR_state_000795c0 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_state_000795c0 + 0xc)" (( "(") (binary_expression "PTR_state_000795c0 + 0xc" (identifier "PTR_state_000795c0") (+ "+") (number_literal "0xc")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n      puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*puVar3,param_1);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar5 = false;\n    }\n    else {\n      uVar4 = 0x10;\n      if (param_4 == 0) {\n        uVar4 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);\n      bVar5 = iVar2 == 0;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)();\n      nonfatal_target_file_error(*puVar3,param_1);\n      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;\n      bVar5 = false;\n    }" ({ "{") (expression_statement "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)();" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)()" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_00079af0)()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_00079af0)()" (parenthesized_expression "(*(code *)PTR___errno_location_00079af0)" (( "(") (pointer_expression "*(code *)PTR___errno_location_00079af0" (* "*") (cast_expression "(code *)PTR___errno_location_00079af0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_00079af0"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "nonfatal_target_file_error(*puVar3,param_1);" (call_expression "nonfatal_target_file_error(*puVar3,param_1)" (identifier "nonfatal_target_file_error") (argument_list "(*puVar3,param_1)" (( "(") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;" (assignment_expression "*(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1" (pointer_expression "*(undefined4 *)(PTR_state_000795c0 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(PTR_state_000795c0 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_state_000795c0 + 0x1c)" (( "(") (binary_expression "PTR_state_000795c0 + 0x1c" (identifier "PTR_state_000795c0") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "bVar5 = false;" (assignment_expression "bVar5 = false" (identifier "bVar5") (= "=") (false "false")) (; ";")) (} "}")) (else_clause "else {\n      uVar4 = 0x10;\n      if (param_4 == 0) {\n        uVar4 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);\n      bVar5 = iVar2 == 0;\n    }" (else "else") (compound_statement "{\n      uVar4 = 0x10;\n      if (param_4 == 0) {\n        uVar4 = 0;\n      }\n      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);\n      bVar5 = iVar2 == 0;\n    }" ({ "{") (expression_statement "uVar4 = 0x10;" (assignment_expression "uVar4 = 0x10" (identifier "uVar4") (= "=") (number_literal "0x10")) (; ";")) (if_statement "if (param_4 == 0) {\n        uVar4 = 0;\n      }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar4 = 0;\n      }" ({ "{") (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);" (assignment_expression "iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4)" (parenthesized_expression "(*(code *)PTR_rpl_fnmatch_00079650)" (( "(") (pointer_expression "*(code *)PTR_rpl_fnmatch_00079650" (* "*") (cast_expression "(code *)PTR_rpl_fnmatch_00079650" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rpl_fnmatch_00079650"))) () ")")) (argument_list "(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4)" (( "(") (pointer_expression "*(undefined4 *)(param_3 + 0x28)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x28)" (( "(") (binary_expression "param_3 + 0x28" (identifier "param_3") (+ "+") (number_literal "0x28")) () ")")))) (, ",") (identifier "iVar1") (, ",") (identifier "uVar4") () ")")))) (; ";")) (expression_statement "bVar5 = iVar2 == 0;" (assignment_expression "bVar5 = iVar2 == 0" (identifier "bVar5") (= "=") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) (; ";")) (} "}")))) (expression_statement "(*(code *)PTR_free_00079c24)(iVar1);" (call_expression "(*(code *)PTR_free_00079c24)(iVar1)" (parenthesized_expression "(*(code *)PTR_free_00079c24)" (( "(") (pointer_expression "*(code *)PTR_free_00079c24" (* "*") (cast_expression "(code *)PTR_free_00079c24" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_00079c24"))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    bVar5 = false;\n  }" (else "else") (compound_statement "{\n    bVar5 = false;\n  }" ({ "{") (expression_statement "bVar5 = false;" (assignment_expression "bVar5 = false" (identifier "bVar5") (= "=") (false "false")) (; ";")) (} "}")))) (return_statement "return bVar5;" (return "return") (identifier "bVar5") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) 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)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (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))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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))))) (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))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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 (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier)))) (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: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (false)))) alternative: (else_clause (compound_statement (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: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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))))) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (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 (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (false)))))) (return_statement (identifier)))))

bool MASKED(undefined4 param_1,int param_2,int param_3,int param_4)

{
  int iVar1;
  int iVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  bool bVar5;
  
  if ((*(uint *)(param_2 + 0x18) & 0xf000) == 0xa000) {
    iVar1 = areadlinkat(*(undefined4 *)(PTR_state_000795c0 + 0x10),
                        *(undefined4 *)(PTR_state_000795c0 + 0xc));
    if (iVar1 == 0) {
      puVar3 = (undefined4 *)(*(code *)PTR___errno_location_00079af0)();
      nonfatal_target_file_error(*puVar3,param_1);
      *(undefined4 *)(PTR_state_000795c0 + 0x1c) = 1;
      bVar5 = false;
    }
    else {
      uVar4 = 0x10;
      if (param_4 == 0) {
        uVar4 = 0;
      }
      iVar2 = (*(code *)PTR_rpl_fnmatch_00079650)(*(undefined4 *)(param_3 + 0x28),iVar1,uVar4);
      bVar5 = iVar2 == 0;
    }
    (*(code *)PTR_free_00079c24)(iVar1);
  }
  else {
    bVar5 = false;
  }
  return bVar5;
}

