
/* WARNING: Enum "MHD_FLAG": Some values do not have unique names */
/* WARNING: Enum "gnutls_pk_algorithm_t": Some values do not have unique names */
/* WARNING: Enum "gnutls_certificate_type_t": Some values do not have unique names */

void MHD_increment_response_rc(MHD_Response *response)

{
  undefined *puVar1;
  int iVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  code *UNRECOVERED_JUMPTABLE;
  code *pcVar5;
  
  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003f2a8)(&response->mutex);
  puVar1 = PTR_pthread_mutex_unlock_0003f33c;
  if (iVar2 == 0) {
    response->reference_count = response->reference_count + 1;
    iVar2 = (*(code *)puVar1)(&response->mutex);
    if (iVar2 == 0) {
      return;
    }
  }
  else {
    (**(code **)PTR_mhd_panic_0003f070)
              (*(undefined4 *)PTR_mhd_panic_cls_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,
               PTR_DAT_0003f05c + -0x51e0);
  }
  puVar4 = *(undefined4 **)PTR_mhd_panic_cls_0003f068;
  pcVar5 = *(code **)PTR_mhd_panic_0003f070;
  (*pcVar5)(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8);
  if (puVar4 != (undefined4 *)0x0) {
    iVar2 = puVar4[2];
    if (iVar2 != 0) {
      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();
      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);
    }
    uVar3 = puVar4[1];
    UNRECOVERED_JUMPTABLE = (code *)*puVar4;
    (**(code **)(pcVar5 + 0x1b8f8))(puVar4);
                    /* WARNING: Could not recover jumptable at 0x00023a84. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*UNRECOVERED_JUMPTABLE)(uVar3);
    return;
  }
  return;
}



undefined4 FUN_00023934(int param_1)

{
  undefined *puVar1;
  int iVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  code *UNRECOVERED_JUMPTABLE;
  code *pcVar5;
  
  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003f2a8)(param_1 + 0x1c);
  puVar1 = PTR_pthread_mutex_unlock_0003f33c;
  if (iVar2 == 0) {
    *(int *)(param_1 + 0x58) = *(int *)(param_1 + 0x58) + 1;
    iVar2 = (*(code *)puVar1)(param_1 + 0x1c);
    if (iVar2 == 0) {
      return 0;
    }
  }
  else {
    (**(code **)PTR_DAT_0003f070)
              (*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,
               PTR_DAT_0003f05c + -0x51e0);
  }
  puVar4 = *(undefined4 **)PTR_DAT_0003f068;
  pcVar5 = *(code **)PTR_DAT_0003f070;
  (*pcVar5)(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8);
  if (puVar4 != (undefined4 *)0x0) {
    iVar2 = puVar4[2];
    if (iVar2 != 0) {
      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();
      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);
    }
    uVar3 = puVar4[1];
    UNRECOVERED_JUMPTABLE = (code *)*puVar4;
    (**(code **)(pcVar5 + 0x1b8f8))(puVar4);
                    /* WARNING: Could not recover jumptable at 0x00023a84. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar3 = (*UNRECOVERED_JUMPTABLE)(uVar3);
    return uVar3;
  }
  return 0;
}


lui gp,0x2
addiu gp,gp,0x36fc
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7d88(gp)
sw s1,0x20(sp)
addiu s1,a0,0x1c
sw gp,0x10(sp)
sw s0,0x1c(sp)
or s0,a0,zero
sw ra,0x24(sp)
jalr t9
_or a0,s1,zero
bne v0,zero,0x000239a4
_lw gp,0x10(sp)
lw v0,0x58(s0)
or a0,s1,zero
lw t9,-0x7cf4(gp)
addiu v0,v0,0x1
jalr t9
_sw v0,0x58(s0)
bne v0,zero,0x000239cc
_lw gp,0x10(sp)
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw v0,-0x7fc8(gp)
li a2,0x492
lw a3,-0x7fd4(gp)
lw a1,-0x7fd4(gp)
lw a0,0x0(v0)
addiu a3,a3,-0x51e0
lw v0,-0x7fc0(gp)
lw t9,0x0(v0)
jalr t9
_addiu a1,a1,-0x28d0
lw v0,-0x7fc8(gp)
li a2,0x496
lw a3,-0x7fd4(gp)
lw a1,-0x7fd4(gp)
lw a0,0x0(v0)
addiu a3,a3,-0x51b8
lw v0,-0x7fc0(gp)
lw t9,0x0(v0)
jalr t9
_addiu a1,a1,-0x28d0
nop
nop
nop
lui gp,0x2
addiu gp,gp,0x3630
addu gp,gp,t9
beq a0,zero,0x00023a8c
_nop
addiu sp,sp,-0x28
sw s0,0x1c(sp)
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s1,0x20(sp)
lw s1,0x8(a0)
beq s1,zero,0x00023a58
_or s0,a0,zero
lw t9,-0x7d4c(gp)
jalr t9
_nop
or a1,s1,zero
lw gp,0x10(sp)
lw t9,-0x7e04(gp)
jalr t9
_or a0,v0,zero
lw gp,0x10(sp)
lw s1,0x4(s0)
or a0,s0,zero
lw t9,-0x7d38(gp)
jalr t9
_lw s0,0x0(s0)
or a0,s1,zero
lw gp,0x10(sp)
or t9,s0,zero
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr t9
_addiu sp,sp,0x28
jr ra
_or v0,zero,zero
(translation_unit "undefined4 FUN_00023934(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  code *UNRECOVERED_JUMPTABLE;\n  code *pcVar5;\n  \n  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003f2a8)(param_1 + 0x1c);\n  puVar1 = PTR_pthread_mutex_unlock_0003f33c;\n  if (iVar2 == 0) {\n    *(int *)(param_1 + 0x58) = *(int *)(param_1 + 0x58) + 1;\n    iVar2 = (*(code *)puVar1)(param_1 + 0x1c);\n    if (iVar2 == 0) {\n      return 0;\n    }\n  }\n  else {\n    (**(code **)PTR_DAT_0003f070)\n              (*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);\n  }\n  puVar4 = *(undefined4 **)PTR_DAT_0003f068;\n  pcVar5 = *(code **)PTR_DAT_0003f070;\n  (*pcVar5)(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8);\n  if (puVar4 != (undefined4 *)0x0) {\n    iVar2 = puVar4[2];\n    if (iVar2 != 0) {\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }\n    uVar3 = puVar4[1];\n    UNRECOVERED_JUMPTABLE = (code *)*puVar4;\n    (**(code **)(pcVar5 + 0x1b8f8))(puVar4);\n                    /* WARNING: Could not recover jumptable at 0x00023a84. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar3 = (*UNRECOVERED_JUMPTABLE)(uVar3);\n    return uVar3;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00023934(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  code *UNRECOVERED_JUMPTABLE;\n  code *pcVar5;\n  \n  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003f2a8)(param_1 + 0x1c);\n  puVar1 = PTR_pthread_mutex_unlock_0003f33c;\n  if (iVar2 == 0) {\n    *(int *)(param_1 + 0x58) = *(int *)(param_1 + 0x58) + 1;\n    iVar2 = (*(code *)puVar1)(param_1 + 0x1c);\n    if (iVar2 == 0) {\n      return 0;\n    }\n  }\n  else {\n    (**(code **)PTR_DAT_0003f070)\n              (*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);\n  }\n  puVar4 = *(undefined4 **)PTR_DAT_0003f068;\n  pcVar5 = *(code **)PTR_DAT_0003f070;\n  (*pcVar5)(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8);\n  if (puVar4 != (undefined4 *)0x0) {\n    iVar2 = puVar4[2];\n    if (iVar2 != 0) {\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }\n    uVar3 = puVar4[1];\n    UNRECOVERED_JUMPTABLE = (code *)*puVar4;\n    (**(code **)(pcVar5 + 0x1b8f8))(puVar4);\n                    /* WARNING: Could not recover jumptable at 0x00023a84. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar3 = (*UNRECOVERED_JUMPTABLE)(uVar3);\n    return uVar3;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00023934(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  code *UNRECOVERED_JUMPTABLE;\n  code *pcVar5;\n  \n  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003f2a8)(param_1 + 0x1c);\n  puVar1 = PTR_pthread_mutex_unlock_0003f33c;\n  if (iVar2 == 0) {\n    *(int *)(param_1 + 0x58) = *(int *)(param_1 + 0x58) + 1;\n    iVar2 = (*(code *)puVar1)(param_1 + 0x1c);\n    if (iVar2 == 0) {\n      return 0;\n    }\n  }\n  else {\n    (**(code **)PTR_DAT_0003f070)\n              (*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);\n  }\n  puVar4 = *(undefined4 **)PTR_DAT_0003f068;\n  pcVar5 = *(code **)PTR_DAT_0003f070;\n  (*pcVar5)(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8);\n  if (puVar4 != (undefined4 *)0x0) {\n    iVar2 = puVar4[2];\n    if (iVar2 != 0) {\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }\n    uVar3 = puVar4[1];\n    UNRECOVERED_JUMPTABLE = (code *)*puVar4;\n    (**(code **)(pcVar5 + 0x1b8f8))(puVar4);\n                    /* WARNING: Could not recover jumptable at 0x00023a84. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar3 = (*UNRECOVERED_JUMPTABLE)(uVar3);\n    return uVar3;\n  }\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "code *UNRECOVERED_JUMPTABLE;" type_identifier (pointer_declarator "*UNRECOVERED_JUMPTABLE" * identifier) ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (expression_statement "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003f2a8)(param_1 + 0x1c);" (assignment_expression "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003f2a8)(param_1 + 0x1c)" identifier = (call_expression "(*(code *)PTR_pthread_mutex_lock_0003f2a8)(param_1 + 0x1c)" (parenthesized_expression "(*(code *)PTR_pthread_mutex_lock_0003f2a8)" ( (pointer_expression "*(code *)PTR_pthread_mutex_lock_0003f2a8" * (cast_expression "(code *)PTR_pthread_mutex_lock_0003f2a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) ;) (expression_statement "puVar1 = PTR_pthread_mutex_unlock_0003f33c;" (assignment_expression "puVar1 = PTR_pthread_mutex_unlock_0003f33c" identifier = identifier) ;) (if_statement "if (iVar2 == 0) {\n    *(int *)(param_1 + 0x58) = *(int *)(param_1 + 0x58) + 1;\n    iVar2 = (*(code *)puVar1)(param_1 + 0x1c);\n    if (iVar2 == 0) {\n      return 0;\n    }\n  }\n  else {\n    (**(code **)PTR_DAT_0003f070)\n              (*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    *(int *)(param_1 + 0x58) = *(int *)(param_1 + 0x58) + 1;\n    iVar2 = (*(code *)puVar1)(param_1 + 0x1c);\n    if (iVar2 == 0) {\n      return 0;\n    }\n  }" { (expression_statement "*(int *)(param_1 + 0x58) = *(int *)(param_1 + 0x58) + 1;" (assignment_expression "*(int *)(param_1 + 0x58) = *(int *)(param_1 + 0x58) + 1" (pointer_expression "*(int *)(param_1 + 0x58)" * (cast_expression "(int *)(param_1 + 0x58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x58) + 1" (pointer_expression "*(int *)(param_1 + 0x58)" * (cast_expression "(int *)(param_1 + 0x58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "iVar2 = (*(code *)puVar1)(param_1 + 0x1c);" (assignment_expression "iVar2 = (*(code *)puVar1)(param_1 + 0x1c)" identifier = (call_expression "(*(code *)puVar1)(param_1 + 0x1c)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) ;) (if_statement "if (iVar2 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) }) (else_clause "else {\n    (**(code **)PTR_DAT_0003f070)\n              (*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);\n  }" else (compound_statement "{\n    (**(code **)PTR_DAT_0003f070)\n              (*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);\n  }" { (expression_statement "(**(code **)PTR_DAT_0003f070)\n              (*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);" (call_expression "(**(code **)PTR_DAT_0003f070)\n              (*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0)" (parenthesized_expression "(**(code **)PTR_DAT_0003f070)" ( (pointer_expression "**(code **)PTR_DAT_0003f070" * (pointer_expression "*(code **)PTR_DAT_0003f070" * (cast_expression "(code **)PTR_DAT_0003f070" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0)" ( (pointer_expression "*(undefined4 *)PTR_DAT_0003f068" * (cast_expression "(undefined4 *)PTR_DAT_0003f068" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "PTR_DAT_0003f05c + -0x28d0" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_0003f05c + -0x51e0" identifier + number_literal) ))) ;) }))) (expression_statement "puVar4 = *(undefined4 **)PTR_DAT_0003f068;" (assignment_expression "puVar4 = *(undefined4 **)PTR_DAT_0003f068" identifier = (pointer_expression "*(undefined4 **)PTR_DAT_0003f068" * (cast_expression "(undefined4 **)PTR_DAT_0003f068" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "pcVar5 = *(code **)PTR_DAT_0003f070;" (assignment_expression "pcVar5 = *(code **)PTR_DAT_0003f070" identifier = (pointer_expression "*(code **)PTR_DAT_0003f070" * (cast_expression "(code **)PTR_DAT_0003f070" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "(*pcVar5)(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8);" (call_expression "(*pcVar5)(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8)" ( identifier , (binary_expression "PTR_DAT_0003f05c + -0x28d0" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_0003f05c + -0x51b8" identifier + number_literal) ))) ;) (if_statement "if (puVar4 != (undefined4 *)0x0) {\n    iVar2 = puVar4[2];\n    if (iVar2 != 0) {\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }\n    uVar3 = puVar4[1];\n    UNRECOVERED_JUMPTABLE = (code *)*puVar4;\n    (**(code **)(pcVar5 + 0x1b8f8))(puVar4);\n                    /* WARNING: Could not recover jumptable at 0x00023a84. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar3 = (*UNRECOVERED_JUMPTABLE)(uVar3);\n    return uVar3;\n  }" if (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" ( (binary_expression "puVar4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = puVar4[2];\n    if (iVar2 != 0) {\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }\n    uVar3 = puVar4[1];\n    UNRECOVERED_JUMPTABLE = (code *)*puVar4;\n    (**(code **)(pcVar5 + 0x1b8f8))(puVar4);\n                    /* WARNING: Could not recover jumptable at 0x00023a84. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar3 = (*UNRECOVERED_JUMPTABLE)(uVar3);\n    return uVar3;\n  }" { (expression_statement "iVar2 = puVar4[2];" (assignment_expression "iVar2 = puVar4[2]" identifier = (subscript_expression "puVar4[2]" identifier [ number_literal ])) ;) (if_statement "if (iVar2 != 0) {\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }" { (expression_statement "uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();" (assignment_expression "uVar3 = (**(code **)(pcVar5 + 0x1b8e4))()" identifier = (call_expression "(**(code **)(pcVar5 + 0x1b8e4))()" (parenthesized_expression "(**(code **)(pcVar5 + 0x1b8e4))" ( (pointer_expression "**(code **)(pcVar5 + 0x1b8e4)" * (pointer_expression "*(code **)(pcVar5 + 0x1b8e4)" * (cast_expression "(code **)(pcVar5 + 0x1b8e4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x1b8e4)" ( (binary_expression "pcVar5 + 0x1b8e4" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "(**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);" (call_expression "(**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2)" (parenthesized_expression "(**(code **)(pcVar5 + 0x1b82c))" ( (pointer_expression "**(code **)(pcVar5 + 0x1b82c)" * (pointer_expression "*(code **)(pcVar5 + 0x1b82c)" * (cast_expression "(code **)(pcVar5 + 0x1b82c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x1b82c)" ( (binary_expression "pcVar5 + 0x1b82c" identifier + number_literal) ))))) )) (argument_list "(uVar3,iVar2)" ( identifier , identifier ))) ;) })) (expression_statement "uVar3 = puVar4[1];" (assignment_expression "uVar3 = puVar4[1]" identifier = (subscript_expression "puVar4[1]" identifier [ number_literal ])) ;) (expression_statement "UNRECOVERED_JUMPTABLE = (code *)*puVar4;" (assignment_expression "UNRECOVERED_JUMPTABLE = (code *)*puVar4" identifier = (cast_expression "(code *)*puVar4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "(**(code **)(pcVar5 + 0x1b8f8))(puVar4);" (call_expression "(**(code **)(pcVar5 + 0x1b8f8))(puVar4)" (parenthesized_expression "(**(code **)(pcVar5 + 0x1b8f8))" ( (pointer_expression "**(code **)(pcVar5 + 0x1b8f8)" * (pointer_expression "*(code **)(pcVar5 + 0x1b8f8)" * (cast_expression "(code **)(pcVar5 + 0x1b8f8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x1b8f8)" ( (binary_expression "pcVar5 + 0x1b8f8" identifier + number_literal) ))))) )) (argument_list "(puVar4)" ( identifier ))) ;) comment comment (expression_statement "uVar3 = (*UNRECOVERED_JUMPTABLE)(uVar3);" (assignment_expression "uVar3 = (*UNRECOVERED_JUMPTABLE)(uVar3)" identifier = (call_expression "(*UNRECOVERED_JUMPTABLE)(uVar3)" (parenthesized_expression "(*UNRECOVERED_JUMPTABLE)" ( (pointer_expression "*UNRECOVERED_JUMPTABLE" * identifier) )) (argument_list "(uVar3)" ( identifier )))) ;) (return_statement "return uVar3;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Enum "MHD_FLAG": Some values do not have unique names */\n/* WARNING: Enum "gnutls_pk_algorithm_t": Some values do not have unique names */\n/* WARNING: Enum "gnutls_certificate_type_t": Some values do not have unique names */\n\nvoid MHD_increment_response_rc(MHD_Response *response)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  code *UNRECOVERED_JUMPTABLE;\n  code *pcVar5;\n  \n  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003f2a8)(&response->mutex);\n  puVar1 = PTR_pthread_mutex_unlock_0003f33c;\n  if (iVar2 == 0) {\n    response->reference_count = response->reference_count + 1;\n    iVar2 = (*(code *)puVar1)(&response->mutex);\n    if (iVar2 == 0) {\n      return;\n    }\n  }\n  else {\n    (**(code **)PTR_mhd_panic_0003f070)\n              (*(undefined4 *)PTR_mhd_panic_cls_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);\n  }\n  puVar4 = *(undefined4 **)PTR_mhd_panic_cls_0003f068;\n  pcVar5 = *(code **)PTR_mhd_panic_0003f070;\n  (*pcVar5)(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8);\n  if (puVar4 != (undefined4 *)0x0) {\n    iVar2 = puVar4[2];\n    if (iVar2 != 0) {\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }\n    uVar3 = puVar4[1];\n    UNRECOVERED_JUMPTABLE = (code *)*puVar4;\n    (**(code **)(pcVar5 + 0x1b8f8))(puVar4);\n                    /* WARNING: Could not recover jumptable at 0x00023a84. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*UNRECOVERED_JUMPTABLE)(uVar3);\n    return;\n  }\n  return;\n}\n\n" comment comment comment (function_definition "void MHD_increment_response_rc(MHD_Response *response)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  code *UNRECOVERED_JUMPTABLE;\n  code *pcVar5;\n  \n  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003f2a8)(&response->mutex);\n  puVar1 = PTR_pthread_mutex_unlock_0003f33c;\n  if (iVar2 == 0) {\n    response->reference_count = response->reference_count + 1;\n    iVar2 = (*(code *)puVar1)(&response->mutex);\n    if (iVar2 == 0) {\n      return;\n    }\n  }\n  else {\n    (**(code **)PTR_mhd_panic_0003f070)\n              (*(undefined4 *)PTR_mhd_panic_cls_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);\n  }\n  puVar4 = *(undefined4 **)PTR_mhd_panic_cls_0003f068;\n  pcVar5 = *(code **)PTR_mhd_panic_0003f070;\n  (*pcVar5)(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8);\n  if (puVar4 != (undefined4 *)0x0) {\n    iVar2 = puVar4[2];\n    if (iVar2 != 0) {\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }\n    uVar3 = puVar4[1];\n    UNRECOVERED_JUMPTABLE = (code *)*puVar4;\n    (**(code **)(pcVar5 + 0x1b8f8))(puVar4);\n                    /* WARNING: Could not recover jumptable at 0x00023a84. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*UNRECOVERED_JUMPTABLE)(uVar3);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "MHD_increment_response_rc(MHD_Response *response)" identifier (parameter_list "(MHD_Response *response)" ( (parameter_declaration "MHD_Response *response" type_identifier (pointer_declarator "*response" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  code *UNRECOVERED_JUMPTABLE;\n  code *pcVar5;\n  \n  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003f2a8)(&response->mutex);\n  puVar1 = PTR_pthread_mutex_unlock_0003f33c;\n  if (iVar2 == 0) {\n    response->reference_count = response->reference_count + 1;\n    iVar2 = (*(code *)puVar1)(&response->mutex);\n    if (iVar2 == 0) {\n      return;\n    }\n  }\n  else {\n    (**(code **)PTR_mhd_panic_0003f070)\n              (*(undefined4 *)PTR_mhd_panic_cls_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);\n  }\n  puVar4 = *(undefined4 **)PTR_mhd_panic_cls_0003f068;\n  pcVar5 = *(code **)PTR_mhd_panic_0003f070;\n  (*pcVar5)(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8);\n  if (puVar4 != (undefined4 *)0x0) {\n    iVar2 = puVar4[2];\n    if (iVar2 != 0) {\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }\n    uVar3 = puVar4[1];\n    UNRECOVERED_JUMPTABLE = (code *)*puVar4;\n    (**(code **)(pcVar5 + 0x1b8f8))(puVar4);\n                    /* WARNING: Could not recover jumptable at 0x00023a84. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*UNRECOVERED_JUMPTABLE)(uVar3);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "code *UNRECOVERED_JUMPTABLE;" type_identifier (pointer_declarator "*UNRECOVERED_JUMPTABLE" * identifier) ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (expression_statement "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003f2a8)(&response->mutex);" (assignment_expression "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003f2a8)(&response->mutex)" identifier = (call_expression "(*(code *)PTR_pthread_mutex_lock_0003f2a8)(&response->mutex)" (parenthesized_expression "(*(code *)PTR_pthread_mutex_lock_0003f2a8)" ( (pointer_expression "*(code *)PTR_pthread_mutex_lock_0003f2a8" * (cast_expression "(code *)PTR_pthread_mutex_lock_0003f2a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&response->mutex)" ( (pointer_expression "&response->mutex" & (field_expression "response->mutex" identifier -> field_identifier)) )))) ;) (expression_statement "puVar1 = PTR_pthread_mutex_unlock_0003f33c;" (assignment_expression "puVar1 = PTR_pthread_mutex_unlock_0003f33c" identifier = identifier) ;) (if_statement "if (iVar2 == 0) {\n    response->reference_count = response->reference_count + 1;\n    iVar2 = (*(code *)puVar1)(&response->mutex);\n    if (iVar2 == 0) {\n      return;\n    }\n  }\n  else {\n    (**(code **)PTR_mhd_panic_0003f070)\n              (*(undefined4 *)PTR_mhd_panic_cls_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    response->reference_count = response->reference_count + 1;\n    iVar2 = (*(code *)puVar1)(&response->mutex);\n    if (iVar2 == 0) {\n      return;\n    }\n  }" { (expression_statement "response->reference_count = response->reference_count + 1;" (assignment_expression "response->reference_count = response->reference_count + 1" (field_expression "response->reference_count" identifier -> field_identifier) = (binary_expression "response->reference_count + 1" (field_expression "response->reference_count" identifier -> field_identifier) + number_literal)) ;) (expression_statement "iVar2 = (*(code *)puVar1)(&response->mutex);" (assignment_expression "iVar2 = (*(code *)puVar1)(&response->mutex)" identifier = (call_expression "(*(code *)puVar1)(&response->mutex)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&response->mutex)" ( (pointer_expression "&response->mutex" & (field_expression "response->mutex" identifier -> field_identifier)) )))) ;) (if_statement "if (iVar2 == 0) {\n      return;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) }) (else_clause "else {\n    (**(code **)PTR_mhd_panic_0003f070)\n              (*(undefined4 *)PTR_mhd_panic_cls_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);\n  }" else (compound_statement "{\n    (**(code **)PTR_mhd_panic_0003f070)\n              (*(undefined4 *)PTR_mhd_panic_cls_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);\n  }" { (expression_statement "(**(code **)PTR_mhd_panic_0003f070)\n              (*(undefined4 *)PTR_mhd_panic_cls_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);" (call_expression "(**(code **)PTR_mhd_panic_0003f070)\n              (*(undefined4 *)PTR_mhd_panic_cls_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0)" (parenthesized_expression "(**(code **)PTR_mhd_panic_0003f070)" ( (pointer_expression "**(code **)PTR_mhd_panic_0003f070" * (pointer_expression "*(code **)PTR_mhd_panic_0003f070" * (cast_expression "(code **)PTR_mhd_panic_0003f070" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(*(undefined4 *)PTR_mhd_panic_cls_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0)" ( (pointer_expression "*(undefined4 *)PTR_mhd_panic_cls_0003f068" * (cast_expression "(undefined4 *)PTR_mhd_panic_cls_0003f068" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "PTR_DAT_0003f05c + -0x28d0" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_0003f05c + -0x51e0" identifier + number_literal) ))) ;) }))) (expression_statement "puVar4 = *(undefined4 **)PTR_mhd_panic_cls_0003f068;" (assignment_expression "puVar4 = *(undefined4 **)PTR_mhd_panic_cls_0003f068" identifier = (pointer_expression "*(undefined4 **)PTR_mhd_panic_cls_0003f068" * (cast_expression "(undefined4 **)PTR_mhd_panic_cls_0003f068" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "pcVar5 = *(code **)PTR_mhd_panic_0003f070;" (assignment_expression "pcVar5 = *(code **)PTR_mhd_panic_0003f070" identifier = (pointer_expression "*(code **)PTR_mhd_panic_0003f070" * (cast_expression "(code **)PTR_mhd_panic_0003f070" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "(*pcVar5)(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8);" (call_expression "(*pcVar5)(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8)" ( identifier , (binary_expression "PTR_DAT_0003f05c + -0x28d0" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_0003f05c + -0x51b8" identifier + number_literal) ))) ;) (if_statement "if (puVar4 != (undefined4 *)0x0) {\n    iVar2 = puVar4[2];\n    if (iVar2 != 0) {\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }\n    uVar3 = puVar4[1];\n    UNRECOVERED_JUMPTABLE = (code *)*puVar4;\n    (**(code **)(pcVar5 + 0x1b8f8))(puVar4);\n                    /* WARNING: Could not recover jumptable at 0x00023a84. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*UNRECOVERED_JUMPTABLE)(uVar3);\n    return;\n  }" if (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" ( (binary_expression "puVar4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = puVar4[2];\n    if (iVar2 != 0) {\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }\n    uVar3 = puVar4[1];\n    UNRECOVERED_JUMPTABLE = (code *)*puVar4;\n    (**(code **)(pcVar5 + 0x1b8f8))(puVar4);\n                    /* WARNING: Could not recover jumptable at 0x00023a84. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*UNRECOVERED_JUMPTABLE)(uVar3);\n    return;\n  }" { (expression_statement "iVar2 = puVar4[2];" (assignment_expression "iVar2 = puVar4[2]" identifier = (subscript_expression "puVar4[2]" identifier [ number_literal ])) ;) (if_statement "if (iVar2 != 0) {\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }" { (expression_statement "uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();" (assignment_expression "uVar3 = (**(code **)(pcVar5 + 0x1b8e4))()" identifier = (call_expression "(**(code **)(pcVar5 + 0x1b8e4))()" (parenthesized_expression "(**(code **)(pcVar5 + 0x1b8e4))" ( (pointer_expression "**(code **)(pcVar5 + 0x1b8e4)" * (pointer_expression "*(code **)(pcVar5 + 0x1b8e4)" * (cast_expression "(code **)(pcVar5 + 0x1b8e4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x1b8e4)" ( (binary_expression "pcVar5 + 0x1b8e4" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "(**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);" (call_expression "(**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2)" (parenthesized_expression "(**(code **)(pcVar5 + 0x1b82c))" ( (pointer_expression "**(code **)(pcVar5 + 0x1b82c)" * (pointer_expression "*(code **)(pcVar5 + 0x1b82c)" * (cast_expression "(code **)(pcVar5 + 0x1b82c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x1b82c)" ( (binary_expression "pcVar5 + 0x1b82c" identifier + number_literal) ))))) )) (argument_list "(uVar3,iVar2)" ( identifier , identifier ))) ;) })) (expression_statement "uVar3 = puVar4[1];" (assignment_expression "uVar3 = puVar4[1]" identifier = (subscript_expression "puVar4[1]" identifier [ number_literal ])) ;) (expression_statement "UNRECOVERED_JUMPTABLE = (code *)*puVar4;" (assignment_expression "UNRECOVERED_JUMPTABLE = (code *)*puVar4" identifier = (cast_expression "(code *)*puVar4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "(**(code **)(pcVar5 + 0x1b8f8))(puVar4);" (call_expression "(**(code **)(pcVar5 + 0x1b8f8))(puVar4)" (parenthesized_expression "(**(code **)(pcVar5 + 0x1b8f8))" ( (pointer_expression "**(code **)(pcVar5 + 0x1b8f8)" * (pointer_expression "*(code **)(pcVar5 + 0x1b8f8)" * (cast_expression "(code **)(pcVar5 + 0x1b8f8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x1b8f8)" ( (binary_expression "pcVar5 + 0x1b8f8" identifier + number_literal) ))))) )) (argument_list "(puVar4)" ( identifier ))) ;) comment comment (expression_statement "(*UNRECOVERED_JUMPTABLE)(uVar3);" (call_expression "(*UNRECOVERED_JUMPTABLE)(uVar3)" (parenthesized_expression "(*UNRECOVERED_JUMPTABLE)" ( (pointer_expression "*UNRECOVERED_JUMPTABLE" * identifier) )) (argument_list "(uVar3)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "undefined4 FUN_00023934(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  code *UNRECOVERED_JUMPTABLE;\n  code *pcVar5;\n  \n  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003f2a8)(param_1 + 0x1c);\n  puVar1 = PTR_pthread_mutex_unlock_0003f33c;\n  if (iVar2 == 0) {\n    *(int *)(param_1 + 0x58) = *(int *)(param_1 + 0x58) + 1;\n    iVar2 = (*(code *)puVar1)(param_1 + 0x1c);\n    if (iVar2 == 0) {\n      return 0;\n    }\n  }\n  else {\n    (**(code **)PTR_DAT_0003f070)\n              (*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);\n  }\n  puVar4 = *(undefined4 **)PTR_DAT_0003f068;\n  pcVar5 = *(code **)PTR_DAT_0003f070;\n  (*pcVar5)(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8);\n  if (puVar4 != (undefined4 *)0x0) {\n    iVar2 = puVar4[2];\n    if (iVar2 != 0) {\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }\n    uVar3 = puVar4[1];\n    UNRECOVERED_JUMPTABLE = (code *)*puVar4;\n    (**(code **)(pcVar5 + 0x1b8f8))(puVar4);\n                    \n                    \n    uVar3 = (*UNRECOVERED_JUMPTABLE)(uVar3);\n    return uVar3;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00023934(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  code *UNRECOVERED_JUMPTABLE;\n  code *pcVar5;\n  \n  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003f2a8)(param_1 + 0x1c);\n  puVar1 = PTR_pthread_mutex_unlock_0003f33c;\n  if (iVar2 == 0) {\n    *(int *)(param_1 + 0x58) = *(int *)(param_1 + 0x58) + 1;\n    iVar2 = (*(code *)puVar1)(param_1 + 0x1c);\n    if (iVar2 == 0) {\n      return 0;\n    }\n  }\n  else {\n    (**(code **)PTR_DAT_0003f070)\n              (*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);\n  }\n  puVar4 = *(undefined4 **)PTR_DAT_0003f068;\n  pcVar5 = *(code **)PTR_DAT_0003f070;\n  (*pcVar5)(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8);\n  if (puVar4 != (undefined4 *)0x0) {\n    iVar2 = puVar4[2];\n    if (iVar2 != 0) {\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }\n    uVar3 = puVar4[1];\n    UNRECOVERED_JUMPTABLE = (code *)*puVar4;\n    (**(code **)(pcVar5 + 0x1b8f8))(puVar4);\n                    \n                    \n    uVar3 = (*UNRECOVERED_JUMPTABLE)(uVar3);\n    return uVar3;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00023934(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  code *UNRECOVERED_JUMPTABLE;\n  code *pcVar5;\n  \n  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003f2a8)(param_1 + 0x1c);\n  puVar1 = PTR_pthread_mutex_unlock_0003f33c;\n  if (iVar2 == 0) {\n    *(int *)(param_1 + 0x58) = *(int *)(param_1 + 0x58) + 1;\n    iVar2 = (*(code *)puVar1)(param_1 + 0x1c);\n    if (iVar2 == 0) {\n      return 0;\n    }\n  }\n  else {\n    (**(code **)PTR_DAT_0003f070)\n              (*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);\n  }\n  puVar4 = *(undefined4 **)PTR_DAT_0003f068;\n  pcVar5 = *(code **)PTR_DAT_0003f070;\n  (*pcVar5)(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8);\n  if (puVar4 != (undefined4 *)0x0) {\n    iVar2 = puVar4[2];\n    if (iVar2 != 0) {\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }\n    uVar3 = puVar4[1];\n    UNRECOVERED_JUMPTABLE = (code *)*puVar4;\n    (**(code **)(pcVar5 + 0x1b8f8))(puVar4);\n                    \n                    \n    uVar3 = (*UNRECOVERED_JUMPTABLE)(uVar3);\n    return uVar3;\n  }\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "code *UNRECOVERED_JUMPTABLE;" type_identifier (pointer_declarator "*UNRECOVERED_JUMPTABLE" * identifier) ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (expression_statement "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003f2a8)(param_1 + 0x1c);" (assignment_expression "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003f2a8)(param_1 + 0x1c)" identifier = (call_expression "(*(code *)PTR_pthread_mutex_lock_0003f2a8)(param_1 + 0x1c)" (parenthesized_expression "(*(code *)PTR_pthread_mutex_lock_0003f2a8)" ( (pointer_expression "*(code *)PTR_pthread_mutex_lock_0003f2a8" * (cast_expression "(code *)PTR_pthread_mutex_lock_0003f2a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) ;) (expression_statement "puVar1 = PTR_pthread_mutex_unlock_0003f33c;" (assignment_expression "puVar1 = PTR_pthread_mutex_unlock_0003f33c" identifier = identifier) ;) (if_statement "if (iVar2 == 0) {\n    *(int *)(param_1 + 0x58) = *(int *)(param_1 + 0x58) + 1;\n    iVar2 = (*(code *)puVar1)(param_1 + 0x1c);\n    if (iVar2 == 0) {\n      return 0;\n    }\n  }\n  else {\n    (**(code **)PTR_DAT_0003f070)\n              (*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    *(int *)(param_1 + 0x58) = *(int *)(param_1 + 0x58) + 1;\n    iVar2 = (*(code *)puVar1)(param_1 + 0x1c);\n    if (iVar2 == 0) {\n      return 0;\n    }\n  }" { (expression_statement "*(int *)(param_1 + 0x58) = *(int *)(param_1 + 0x58) + 1;" (assignment_expression "*(int *)(param_1 + 0x58) = *(int *)(param_1 + 0x58) + 1" (pointer_expression "*(int *)(param_1 + 0x58)" * (cast_expression "(int *)(param_1 + 0x58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x58) + 1" (pointer_expression "*(int *)(param_1 + 0x58)" * (cast_expression "(int *)(param_1 + 0x58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "iVar2 = (*(code *)puVar1)(param_1 + 0x1c);" (assignment_expression "iVar2 = (*(code *)puVar1)(param_1 + 0x1c)" identifier = (call_expression "(*(code *)puVar1)(param_1 + 0x1c)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) ;) (if_statement "if (iVar2 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) }) (else_clause "else {\n    (**(code **)PTR_DAT_0003f070)\n              (*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);\n  }" else (compound_statement "{\n    (**(code **)PTR_DAT_0003f070)\n              (*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);\n  }" { (expression_statement "(**(code **)PTR_DAT_0003f070)\n              (*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);" (call_expression "(**(code **)PTR_DAT_0003f070)\n              (*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0)" (parenthesized_expression "(**(code **)PTR_DAT_0003f070)" ( (pointer_expression "**(code **)PTR_DAT_0003f070" * (pointer_expression "*(code **)PTR_DAT_0003f070" * (cast_expression "(code **)PTR_DAT_0003f070" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0)" ( (pointer_expression "*(undefined4 *)PTR_DAT_0003f068" * (cast_expression "(undefined4 *)PTR_DAT_0003f068" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "PTR_DAT_0003f05c + -0x28d0" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_0003f05c + -0x51e0" identifier + number_literal) ))) ;) }))) (expression_statement "puVar4 = *(undefined4 **)PTR_DAT_0003f068;" (assignment_expression "puVar4 = *(undefined4 **)PTR_DAT_0003f068" identifier = (pointer_expression "*(undefined4 **)PTR_DAT_0003f068" * (cast_expression "(undefined4 **)PTR_DAT_0003f068" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "pcVar5 = *(code **)PTR_DAT_0003f070;" (assignment_expression "pcVar5 = *(code **)PTR_DAT_0003f070" identifier = (pointer_expression "*(code **)PTR_DAT_0003f070" * (cast_expression "(code **)PTR_DAT_0003f070" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "(*pcVar5)(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8);" (call_expression "(*pcVar5)(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8)" ( identifier , (binary_expression "PTR_DAT_0003f05c + -0x28d0" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_0003f05c + -0x51b8" identifier + number_literal) ))) ;) (if_statement "if (puVar4 != (undefined4 *)0x0) {\n    iVar2 = puVar4[2];\n    if (iVar2 != 0) {\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }\n    uVar3 = puVar4[1];\n    UNRECOVERED_JUMPTABLE = (code *)*puVar4;\n    (**(code **)(pcVar5 + 0x1b8f8))(puVar4);\n                    \n                    \n    uVar3 = (*UNRECOVERED_JUMPTABLE)(uVar3);\n    return uVar3;\n  }" if (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" ( (binary_expression "puVar4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = puVar4[2];\n    if (iVar2 != 0) {\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }\n    uVar3 = puVar4[1];\n    UNRECOVERED_JUMPTABLE = (code *)*puVar4;\n    (**(code **)(pcVar5 + 0x1b8f8))(puVar4);\n                    \n                    \n    uVar3 = (*UNRECOVERED_JUMPTABLE)(uVar3);\n    return uVar3;\n  }" { (expression_statement "iVar2 = puVar4[2];" (assignment_expression "iVar2 = puVar4[2]" identifier = (subscript_expression "puVar4[2]" identifier [ number_literal ])) ;) (if_statement "if (iVar2 != 0) {\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }" { (expression_statement "uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();" (assignment_expression "uVar3 = (**(code **)(pcVar5 + 0x1b8e4))()" identifier = (call_expression "(**(code **)(pcVar5 + 0x1b8e4))()" (parenthesized_expression "(**(code **)(pcVar5 + 0x1b8e4))" ( (pointer_expression "**(code **)(pcVar5 + 0x1b8e4)" * (pointer_expression "*(code **)(pcVar5 + 0x1b8e4)" * (cast_expression "(code **)(pcVar5 + 0x1b8e4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x1b8e4)" ( (binary_expression "pcVar5 + 0x1b8e4" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "(**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);" (call_expression "(**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2)" (parenthesized_expression "(**(code **)(pcVar5 + 0x1b82c))" ( (pointer_expression "**(code **)(pcVar5 + 0x1b82c)" * (pointer_expression "*(code **)(pcVar5 + 0x1b82c)" * (cast_expression "(code **)(pcVar5 + 0x1b82c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x1b82c)" ( (binary_expression "pcVar5 + 0x1b82c" identifier + number_literal) ))))) )) (argument_list "(uVar3,iVar2)" ( identifier , identifier ))) ;) })) (expression_statement "uVar3 = puVar4[1];" (assignment_expression "uVar3 = puVar4[1]" identifier = (subscript_expression "puVar4[1]" identifier [ number_literal ])) ;) (expression_statement "UNRECOVERED_JUMPTABLE = (code *)*puVar4;" (assignment_expression "UNRECOVERED_JUMPTABLE = (code *)*puVar4" identifier = (cast_expression "(code *)*puVar4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "(**(code **)(pcVar5 + 0x1b8f8))(puVar4);" (call_expression "(**(code **)(pcVar5 + 0x1b8f8))(puVar4)" (parenthesized_expression "(**(code **)(pcVar5 + 0x1b8f8))" ( (pointer_expression "**(code **)(pcVar5 + 0x1b8f8)" * (pointer_expression "*(code **)(pcVar5 + 0x1b8f8)" * (cast_expression "(code **)(pcVar5 + 0x1b8f8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x1b8f8)" ( (binary_expression "pcVar5 + 0x1b8f8" identifier + number_literal) ))))) )) (argument_list "(puVar4)" ( identifier ))) ;) (expression_statement "uVar3 = (*UNRECOVERED_JUMPTABLE)(uVar3);" (assignment_expression "uVar3 = (*UNRECOVERED_JUMPTABLE)(uVar3)" identifier = (call_expression "(*UNRECOVERED_JUMPTABLE)(uVar3)" (parenthesized_expression "(*UNRECOVERED_JUMPTABLE)" ( (pointer_expression "*UNRECOVERED_JUMPTABLE" * identifier) )) (argument_list "(uVar3)" ( identifier )))) ;) (return_statement "return uVar3;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (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 ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 ( )))) ;) (expression_statement (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 ( IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (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 ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00023934(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  code *UNRECOVERED_JUMPTABLE;\n  code *pcVar5;\n  \n  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003f2a8)(param_1 + 0x1c);\n  puVar1 = PTR_pthread_mutex_unlock_0003f33c;\n  if (iVar2 == 0) {\n    *(int *)(param_1 + 0x58) = *(int *)(param_1 + 0x58) + 1;\n    iVar2 = (*(code *)puVar1)(param_1 + 0x1c);\n    if (iVar2 == 0) {\n      return 0;\n    }\n  }\n  else {\n    (**(code **)PTR_DAT_0003f070)\n              (*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);\n  }\n  puVar4 = *(undefined4 **)PTR_DAT_0003f068;\n  pcVar5 = *(code **)PTR_DAT_0003f070;\n  (*pcVar5)(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8);\n  if (puVar4 != (undefined4 *)0x0) {\n    iVar2 = puVar4[2];\n    if (iVar2 != 0) {\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }\n    uVar3 = puVar4[1];\n    UNRECOVERED_JUMPTABLE = (code *)*puVar4;\n    (**(code **)(pcVar5 + 0x1b8f8))(puVar4);\n                    \n                    \n    uVar3 = (*UNRECOVERED_JUMPTABLE)(uVar3);\n    return uVar3;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_00023934(int param_1)" (identifier "FUN_00023934") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  code *UNRECOVERED_JUMPTABLE;\n  code *pcVar5;\n  \n  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003f2a8)(param_1 + 0x1c);\n  puVar1 = PTR_pthread_mutex_unlock_0003f33c;\n  if (iVar2 == 0) {\n    *(int *)(param_1 + 0x58) = *(int *)(param_1 + 0x58) + 1;\n    iVar2 = (*(code *)puVar1)(param_1 + 0x1c);\n    if (iVar2 == 0) {\n      return 0;\n    }\n  }\n  else {\n    (**(code **)PTR_DAT_0003f070)\n              (*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);\n  }\n  puVar4 = *(undefined4 **)PTR_DAT_0003f068;\n  pcVar5 = *(code **)PTR_DAT_0003f070;\n  (*pcVar5)(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8);\n  if (puVar4 != (undefined4 *)0x0) {\n    iVar2 = puVar4[2];\n    if (iVar2 != 0) {\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }\n    uVar3 = puVar4[1];\n    UNRECOVERED_JUMPTABLE = (code *)*puVar4;\n    (**(code **)(pcVar5 + 0x1b8f8))(puVar4);\n                    \n                    \n    uVar3 = (*UNRECOVERED_JUMPTABLE)(uVar3);\n    return uVar3;\n  }\n  return 0;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "code *UNRECOVERED_JUMPTABLE;" (type_identifier "code") (pointer_declarator "*UNRECOVERED_JUMPTABLE" (* "*") (identifier "UNRECOVERED_JUMPTABLE")) (; ";")) (declaration "code *pcVar5;" (type_identifier "code") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003f2a8)(param_1 + 0x1c);" (assignment_expression "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003f2a8)(param_1 + 0x1c)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_pthread_mutex_lock_0003f2a8)(param_1 + 0x1c)" (parenthesized_expression "(*(code *)PTR_pthread_mutex_lock_0003f2a8)" (( "(") (pointer_expression "*(code *)PTR_pthread_mutex_lock_0003f2a8" (* "*") (cast_expression "(code *)PTR_pthread_mutex_lock_0003f2a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pthread_mutex_lock_0003f2a8"))) () ")")) (argument_list "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (; ";")) (expression_statement "puVar1 = PTR_pthread_mutex_unlock_0003f33c;" (assignment_expression "puVar1 = PTR_pthread_mutex_unlock_0003f33c" (identifier "puVar1") (= "=") (identifier "PTR_pthread_mutex_unlock_0003f33c")) (; ";")) (if_statement "if (iVar2 == 0) {\n    *(int *)(param_1 + 0x58) = *(int *)(param_1 + 0x58) + 1;\n    iVar2 = (*(code *)puVar1)(param_1 + 0x1c);\n    if (iVar2 == 0) {\n      return 0;\n    }\n  }\n  else {\n    (**(code **)PTR_DAT_0003f070)\n              (*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(int *)(param_1 + 0x58) = *(int *)(param_1 + 0x58) + 1;\n    iVar2 = (*(code *)puVar1)(param_1 + 0x1c);\n    if (iVar2 == 0) {\n      return 0;\n    }\n  }" ({ "{") (expression_statement "*(int *)(param_1 + 0x58) = *(int *)(param_1 + 0x58) + 1;" (assignment_expression "*(int *)(param_1 + 0x58) = *(int *)(param_1 + 0x58) + 1" (pointer_expression "*(int *)(param_1 + 0x58)" (* "*") (cast_expression "(int *)(param_1 + 0x58)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x58)" (( "(") (binary_expression "param_1 + 0x58" (identifier "param_1") (+ "+") (number_literal "0x58")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x58) + 1" (pointer_expression "*(int *)(param_1 + 0x58)" (* "*") (cast_expression "(int *)(param_1 + 0x58)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x58)" (( "(") (binary_expression "param_1 + 0x58" (identifier "param_1") (+ "+") (number_literal "0x58")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar2 = (*(code *)puVar1)(param_1 + 0x1c);" (assignment_expression "iVar2 = (*(code *)puVar1)(param_1 + 0x1c)" (identifier "iVar2") (= "=") (call_expression "(*(code *)puVar1)(param_1 + 0x1c)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    (**(code **)PTR_DAT_0003f070)\n              (*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);\n  }" (else "else") (compound_statement "{\n    (**(code **)PTR_DAT_0003f070)\n              (*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);\n  }" ({ "{") (expression_statement "(**(code **)PTR_DAT_0003f070)\n              (*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0);" (call_expression "(**(code **)PTR_DAT_0003f070)\n              (*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0)" (parenthesized_expression "(**(code **)PTR_DAT_0003f070)" (( "(") (pointer_expression "**(code **)PTR_DAT_0003f070" (* "*") (pointer_expression "*(code **)PTR_DAT_0003f070" (* "*") (cast_expression "(code **)PTR_DAT_0003f070" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_DAT_0003f070")))) () ")")) (argument_list "(*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,\n               PTR_DAT_0003f05c + -0x51e0)" (( "(") (pointer_expression "*(undefined4 *)PTR_DAT_0003f068" (* "*") (cast_expression "(undefined4 *)PTR_DAT_0003f068" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_0003f068"))) (, ",") (binary_expression "PTR_DAT_0003f05c + -0x28d0" (identifier "PTR_DAT_0003f05c") (+ "+") (number_literal "-0x28d0")) (, ",") (number_literal "0x492") (, ",") (binary_expression "PTR_DAT_0003f05c + -0x51e0" (identifier "PTR_DAT_0003f05c") (+ "+") (number_literal "-0x51e0")) () ")"))) (; ";")) (} "}")))) (expression_statement "puVar4 = *(undefined4 **)PTR_DAT_0003f068;" (assignment_expression "puVar4 = *(undefined4 **)PTR_DAT_0003f068" (identifier "puVar4") (= "=") (pointer_expression "*(undefined4 **)PTR_DAT_0003f068" (* "*") (cast_expression "(undefined4 **)PTR_DAT_0003f068" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_DAT_0003f068")))) (; ";")) (expression_statement "pcVar5 = *(code **)PTR_DAT_0003f070;" (assignment_expression "pcVar5 = *(code **)PTR_DAT_0003f070" (identifier "pcVar5") (= "=") (pointer_expression "*(code **)PTR_DAT_0003f070" (* "*") (cast_expression "(code **)PTR_DAT_0003f070" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_DAT_0003f070")))) (; ";")) (expression_statement "(*pcVar5)(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8);" (call_expression "(*pcVar5)(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8)" (( "(") (identifier "puVar4") (, ",") (binary_expression "PTR_DAT_0003f05c + -0x28d0" (identifier "PTR_DAT_0003f05c") (+ "+") (number_literal "-0x28d0")) (, ",") (number_literal "0x496") (, ",") (binary_expression "PTR_DAT_0003f05c + -0x51b8" (identifier "PTR_DAT_0003f05c") (+ "+") (number_literal "-0x51b8")) () ")"))) (; ";")) (if_statement "if (puVar4 != (undefined4 *)0x0) {\n    iVar2 = puVar4[2];\n    if (iVar2 != 0) {\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }\n    uVar3 = puVar4[1];\n    UNRECOVERED_JUMPTABLE = (code *)*puVar4;\n    (**(code **)(pcVar5 + 0x1b8f8))(puVar4);\n                    \n                    \n    uVar3 = (*UNRECOVERED_JUMPTABLE)(uVar3);\n    return uVar3;\n  }" (if "if") (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar4 != (undefined4 *)0x0" (identifier "puVar4") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar2 = puVar4[2];\n    if (iVar2 != 0) {\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }\n    uVar3 = puVar4[1];\n    UNRECOVERED_JUMPTABLE = (code *)*puVar4;\n    (**(code **)(pcVar5 + 0x1b8f8))(puVar4);\n                    \n                    \n    uVar3 = (*UNRECOVERED_JUMPTABLE)(uVar3);\n    return uVar3;\n  }" ({ "{") (expression_statement "iVar2 = puVar4[2];" (assignment_expression "iVar2 = puVar4[2]" (identifier "iVar2") (= "=") (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if (iVar2 != 0) {\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();\n      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);\n    }" ({ "{") (expression_statement "uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();" (assignment_expression "uVar3 = (**(code **)(pcVar5 + 0x1b8e4))()" (identifier "uVar3") (= "=") (call_expression "(**(code **)(pcVar5 + 0x1b8e4))()" (parenthesized_expression "(**(code **)(pcVar5 + 0x1b8e4))" (( "(") (pointer_expression "**(code **)(pcVar5 + 0x1b8e4)" (* "*") (pointer_expression "*(code **)(pcVar5 + 0x1b8e4)" (* "*") (cast_expression "(code **)(pcVar5 + 0x1b8e4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar5 + 0x1b8e4)" (( "(") (binary_expression "pcVar5 + 0x1b8e4" (identifier "pcVar5") (+ "+") (number_literal "0x1b8e4")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "(**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);" (call_expression "(**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2)" (parenthesized_expression "(**(code **)(pcVar5 + 0x1b82c))" (( "(") (pointer_expression "**(code **)(pcVar5 + 0x1b82c)" (* "*") (pointer_expression "*(code **)(pcVar5 + 0x1b82c)" (* "*") (cast_expression "(code **)(pcVar5 + 0x1b82c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar5 + 0x1b82c)" (( "(") (binary_expression "pcVar5 + 0x1b82c" (identifier "pcVar5") (+ "+") (number_literal "0x1b82c")) () ")"))))) () ")")) (argument_list "(uVar3,iVar2)" (( "(") (identifier "uVar3") (, ",") (identifier "iVar2") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar3 = puVar4[1];" (assignment_expression "uVar3 = puVar4[1]" (identifier "uVar3") (= "=") (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "UNRECOVERED_JUMPTABLE = (code *)*puVar4;" (assignment_expression "UNRECOVERED_JUMPTABLE = (code *)*puVar4" (identifier "UNRECOVERED_JUMPTABLE") (= "=") (cast_expression "(code *)*puVar4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")))) (; ";")) (expression_statement "(**(code **)(pcVar5 + 0x1b8f8))(puVar4);" (call_expression "(**(code **)(pcVar5 + 0x1b8f8))(puVar4)" (parenthesized_expression "(**(code **)(pcVar5 + 0x1b8f8))" (( "(") (pointer_expression "**(code **)(pcVar5 + 0x1b8f8)" (* "*") (pointer_expression "*(code **)(pcVar5 + 0x1b8f8)" (* "*") (cast_expression "(code **)(pcVar5 + 0x1b8f8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar5 + 0x1b8f8)" (( "(") (binary_expression "pcVar5 + 0x1b8f8" (identifier "pcVar5") (+ "+") (number_literal "0x1b8f8")) () ")"))))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")"))) (; ";")) (expression_statement "uVar3 = (*UNRECOVERED_JUMPTABLE)(uVar3);" (assignment_expression "uVar3 = (*UNRECOVERED_JUMPTABLE)(uVar3)" (identifier "uVar3") (= "=") (call_expression "(*UNRECOVERED_JUMPTABLE)(uVar3)" (parenthesized_expression "(*UNRECOVERED_JUMPTABLE)" (( "(") (pointer_expression "*UNRECOVERED_JUMPTABLE" (* "*") (identifier "UNRECOVERED_JUMPTABLE")) () ")")) (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")")))) (; ";")) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Enum "MHD_FLAG": Some values do not have unique names */
/* WARNING: Enum "gnutls_pk_algorithm_t": Some values do not have unique names */
/* WARNING: Enum "gnutls_certificate_type_t": Some values do not have unique names */

void function_1(type_1 *response)

{
  type_2 *puVar1;
  int var_1;
  type_3 uVar3;
  type_3 *var_3;
  type_4 *UNRECOVERED_JUMPTABLE;
  type_4 *var_4;
  
  var_1 = (*(type_4 *)PTR_pthread_mutex_lock_0003f2a8)(&response->mutex);
  puVar1 = PTR_pthread_mutex_unlock_0003f33c;
  if (var_1 == 0) {
    response->reference_count = response->reference_count + 1;
    var_1 = (*(type_4 *)puVar1)(&response->mutex);
    if (var_1 == 0) {
      return;
    }
  }
  else {
    (**(type_4 **)PTR_mhd_panic_0003f070)
              (*(type_3 *)PTR_mhd_panic_cls_0003f068,var_2 + -0x28d0,0x492,
               var_2 + -0x51e0);
  }
  var_3 = *(type_3 **)PTR_mhd_panic_cls_0003f068;
  var_4 = *(type_4 **)PTR_mhd_panic_0003f070;
  (*var_4)(var_3,var_2 + -0x28d0,0x496,var_2 + -0x51b8);
  if (var_3 != (type_3 *)0x0) {
    var_1 = var_3[2];
    if (var_1 != 0) {
      uVar3 = (**(type_4 **)(var_4 + 0x1b8e4))();
      (**(type_4 **)(var_4 + 0x1b82c))(uVar3,var_1);
    }
    uVar3 = var_3[1];
    UNRECOVERED_JUMPTABLE = (type_4 *)*var_3;
    (**(type_4 **)(var_4 + 0x1b8f8))(var_3);
                    /* WARNING: Could not recover jumptable at 0x00023a84. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*UNRECOVERED_JUMPTABLE)(uVar3);
    return;
  }
  return;
}


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

undefined4 MASKED(int param_1)

{
  undefined *puVar1;
  int iVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  code *UNRECOVERED_JUMPTABLE;
  code *pcVar5;
  
  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003f2a8)(param_1 + 0x1c);
  puVar1 = PTR_pthread_mutex_unlock_0003f33c;
  if (iVar2 == 0) {
    *(int *)(param_1 + 0x58) = *(int *)(param_1 + 0x58) + 1;
    iVar2 = (*(code *)puVar1)(param_1 + 0x1c);
    if (iVar2 == 0) {
      return 0;
    }
  }
  else {
    (**(code **)PTR_DAT_0003f070)
              (*(undefined4 *)PTR_DAT_0003f068,PTR_DAT_0003f05c + -0x28d0,0x492,
               PTR_DAT_0003f05c + -0x51e0);
  }
  puVar4 = *(undefined4 **)PTR_DAT_0003f068;
  pcVar5 = *(code **)PTR_DAT_0003f070;
  (*pcVar5)(puVar4,PTR_DAT_0003f05c + -0x28d0,0x496,PTR_DAT_0003f05c + -0x51b8);
  if (puVar4 != (undefined4 *)0x0) {
    iVar2 = puVar4[2];
    if (iVar2 != 0) {
      uVar3 = (**(code **)(pcVar5 + 0x1b8e4))();
      (**(code **)(pcVar5 + 0x1b82c))(uVar3,iVar2);
    }
    uVar3 = puVar4[1];
    UNRECOVERED_JUMPTABLE = (code *)*puVar4;
    (**(code **)(pcVar5 + 0x1b8f8))(puVar4);
                    /* WARNING: Could not recover jumptable at 0x00023a84. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar3 = (*UNRECOVERED_JUMPTABLE)(uVar3);
    return uVar3;
  }
  return 0;
}

