
/* 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 */

_Bool MHD_check_response_header_token_ci
                (MHD_Response *response,char *key,char *token,size_t token_len)

{
  undefined3 extraout_var;
  int iVar1;
  _Bool _Var2;
  MHD_HTTP_Header *pMVar3;
  
  if ((((key != (char *)0x0) && (*key != '\0')) && (token != (char *)0x0)) && (*token != '\0')) {
    pMVar3 = response->first_header;
    while( true ) {
      if (pMVar3 == (MHD_HTTP_Header *)0x0) {
        return false;
      }
      if (((pMVar3->kind == MHD_HEADER_KIND) &&
          (iVar1 = MHD_str_equal_caseless_(pMVar3->header,key), iVar1 != 0)) &&
         (_Var2 = MHD_str_has_token_caseless_(pMVar3->value,token,token_len),
         CONCAT31(extraout_var,_Var2) != 0)) break;
      pMVar3 = pMVar3->next;
    }
    return _Var2;
  }
  return false;
}



int FUN_00022a34(int *param_1,char *param_2,char *param_3,undefined4 param_4)

{
  int iVar1;
  
  if ((((param_2 != (char *)0x0) && (*param_2 != '\0')) && (param_3 != (char *)0x0)) &&
     (*param_3 != '\0')) {
    param_1 = (int *)*param_1;
    while( true ) {
      if (param_1 == (int *)0x0) {
        return 0;
      }
      if (((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&
         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)) break;
      param_1 = (int *)*param_1;
    }
    return iVar1;
  }
  return 0;
}


lui gp,0x2
addiu gp,gp,0x45fc
addu gp,gp,t9
beq a1,zero,0x00022b0c
_nop
lb v0,0x0(a1)
beq v0,zero,0x00022b0c
_nop
beq a2,zero,0x00022b0c
_nop
lb v0,0x0(a2)
beq v0,zero,0x00022b0c
_nop
addiu sp,sp,-0x30
sw gp,0x10(sp)
sw ra,0x2c(sp)
sw s4,0x28(sp)
sw s3,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
lw s0,0x0(a0)
beq s0,zero,0x00022b14
_or s4,a3,zero
or s3,a2,zero
or s2,a1,zero
b 0x00022ab0
_li s1,0x1
lw s0,0x0(s0)
beq s0,zero,0x00022b18
_lw ra,0x2c(sp)
lw v0,0xc(s0)
bne v0,s1,0x00022aa4
_lw t9,-0x7f60(gp)
or a1,s2,zero
bal 0x00021920
_lw a0,0x4(s0)
beq v0,zero,0x00022aa4
_lw gp,0x10(sp)
lw t9,-0x7f5c(gp)
or a2,s4,zero
lw a0,0x8(s0)
bal 0x00021a58
_or a1,s3,zero
beq v0,zero,0x00022aa4
_lw gp,0x10(sp)
lw ra,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x30
jr ra
_or v0,zero,zero
lw ra,0x2c(sp)
or v0,zero,zero
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "int FUN_00022a34(int *param_1,char *param_2,char *param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  \n  if ((((param_2 != (char *)0x0) && (*param_2 != '\0')) && (param_3 != (char *)0x0)) &&\n     (*param_3 != '\0')) {\n    param_1 = (int *)*param_1;\n    while( true ) {\n      if (param_1 == (int *)0x0) {\n        return 0;\n      }\n      if (((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)) break;\n      param_1 = (int *)*param_1;\n    }\n    return iVar1;\n  }\n  return 0;\n}\n\n" (function_definition "int FUN_00022a34(int *param_1,char *param_2,char *param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  \n  if ((((param_2 != (char *)0x0) && (*param_2 != '\0')) && (param_3 != (char *)0x0)) &&\n     (*param_3 != '\0')) {\n    param_1 = (int *)*param_1;\n    while( true ) {\n      if (param_1 == (int *)0x0) {\n        return 0;\n      }\n      if (((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)) break;\n      param_1 = (int *)*param_1;\n    }\n    return iVar1;\n  }\n  return 0;\n}" primitive_type (function_declarator "FUN_00022a34(int *param_1,char *param_2,char *param_3,undefined4 param_4)" identifier (parameter_list "(int *param_1,char *param_2,char *param_3,undefined4 param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if ((((param_2 != (char *)0x0) && (*param_2 != '\0')) && (param_3 != (char *)0x0)) &&\n     (*param_3 != '\0')) {\n    param_1 = (int *)*param_1;\n    while( true ) {\n      if (param_1 == (int *)0x0) {\n        return 0;\n      }\n      if (((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)) break;\n      param_1 = (int *)*param_1;\n    }\n    return iVar1;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if ((((param_2 != (char *)0x0) && (*param_2 != '\0')) && (param_3 != (char *)0x0)) &&\n     (*param_3 != '\0')) {\n    param_1 = (int *)*param_1;\n    while( true ) {\n      if (param_1 == (int *)0x0) {\n        return 0;\n      }\n      if (((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)) break;\n      param_1 = (int *)*param_1;\n    }\n    return iVar1;\n  }" if (parenthesized_expression "((((param_2 != (char *)0x0) && (*param_2 != '\0')) && (param_3 != (char *)0x0)) &&\n     (*param_3 != '\0'))" ( (binary_expression "(((param_2 != (char *)0x0) && (*param_2 != '\0')) && (param_3 != (char *)0x0)) &&\n     (*param_3 != '\0')" (parenthesized_expression "(((param_2 != (char *)0x0) && (*param_2 != '\0')) && (param_3 != (char *)0x0))" ( (binary_expression "((param_2 != (char *)0x0) && (*param_2 != '\0')) && (param_3 != (char *)0x0)" (parenthesized_expression "((param_2 != (char *)0x0) && (*param_2 != '\0'))" ( (binary_expression "(param_2 != (char *)0x0) && (*param_2 != '\0')" (parenthesized_expression "(param_2 != (char *)0x0)" ( (binary_expression "param_2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*param_2 != '\0')" ( (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(param_3 != (char *)0x0)" ( (binary_expression "param_3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) && (parenthesized_expression "(*param_3 != '\0')" ( (binary_expression "*param_3 != '\0'" (pointer_expression "*param_3" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    param_1 = (int *)*param_1;\n    while( true ) {\n      if (param_1 == (int *)0x0) {\n        return 0;\n      }\n      if (((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)) break;\n      param_1 = (int *)*param_1;\n    }\n    return iVar1;\n  }" { (expression_statement "param_1 = (int *)*param_1;" (assignment_expression "param_1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (while_statement "while( true ) {\n      if (param_1 == (int *)0x0) {\n        return 0;\n      }\n      if (((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)) break;\n      param_1 = (int *)*param_1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (param_1 == (int *)0x0) {\n        return 0;\n      }\n      if (((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)) break;\n      param_1 = (int *)*param_1;\n    }" { (if_statement "if (param_1 == (int *)0x0) {\n        return 0;\n      }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)) break;" if (parenthesized_expression "(((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0))" ( (binary_expression "((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)" (parenthesized_expression "((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0))" ( (binary_expression "(param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)" (parenthesized_expression "(param_1[3] == 1)" ( (binary_expression "param_1[3] == 1" (subscript_expression "param_1[3]" identifier [ number_literal ]) == number_literal) )) && (parenthesized_expression "(iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)" ( (comma_expression "iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0" (assignment_expression "iVar1 = FUN_00021920(param_1[1],param_2)" identifier = (call_expression "FUN_00021920(param_1[1],param_2)" identifier (argument_list "(param_1[1],param_2)" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) , identifier )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)" ( (comma_expression "iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0" (assignment_expression "iVar1 = FUN_00021a58(param_1[2],param_3,param_4)" identifier = (call_expression "FUN_00021a58(param_1[2],param_3,param_4)" identifier (argument_list "(param_1[2],param_3,param_4)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , identifier , identifier )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "param_1 = (int *)*param_1;" (assignment_expression "param_1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) })) (return_statement "return iVar1;" 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\n_Bool MHD_check_response_header_token_ci\n                (MHD_Response *response,char *key,char *token,size_t token_len)\n\n{\n  undefined3 extraout_var;\n  int iVar1;\n  _Bool _Var2;\n  MHD_HTTP_Header *pMVar3;\n  \n  if ((((key != (char *)0x0) && (*key != '\0')) && (token != (char *)0x0)) && (*token != '\0')) {\n    pMVar3 = response->first_header;\n    while( true ) {\n      if (pMVar3 == (MHD_HTTP_Header *)0x0) {\n        return false;\n      }\n      if (((pMVar3->kind == MHD_HEADER_KIND) &&\n          (iVar1 = MHD_str_equal_caseless_(pMVar3->header,key), iVar1 != 0)) &&\n         (_Var2 = MHD_str_has_token_caseless_(pMVar3->value,token,token_len),\n         CONCAT31(extraout_var,_Var2) != 0)) break;\n      pMVar3 = pMVar3->next;\n    }\n    return _Var2;\n  }\n  return false;\n}\n\n" comment comment comment (function_definition "_Bool MHD_check_response_header_token_ci\n                (MHD_Response *response,char *key,char *token,size_t token_len)\n\n{\n  undefined3 extraout_var;\n  int iVar1;\n  _Bool _Var2;\n  MHD_HTTP_Header *pMVar3;\n  \n  if ((((key != (char *)0x0) && (*key != '\0')) && (token != (char *)0x0)) && (*token != '\0')) {\n    pMVar3 = response->first_header;\n    while( true ) {\n      if (pMVar3 == (MHD_HTTP_Header *)0x0) {\n        return false;\n      }\n      if (((pMVar3->kind == MHD_HEADER_KIND) &&\n          (iVar1 = MHD_str_equal_caseless_(pMVar3->header,key), iVar1 != 0)) &&\n         (_Var2 = MHD_str_has_token_caseless_(pMVar3->value,token,token_len),\n         CONCAT31(extraout_var,_Var2) != 0)) break;\n      pMVar3 = pMVar3->next;\n    }\n    return _Var2;\n  }\n  return false;\n}" type_identifier (function_declarator "MHD_check_response_header_token_ci\n                (MHD_Response *response,char *key,char *token,size_t token_len)" identifier (parameter_list "(MHD_Response *response,char *key,char *token,size_t token_len)" ( (parameter_declaration "MHD_Response *response" type_identifier (pointer_declarator "*response" * identifier)) , (parameter_declaration "char *key" primitive_type (pointer_declarator "*key" * identifier)) , (parameter_declaration "char *token" primitive_type (pointer_declarator "*token" * identifier)) , (parameter_declaration "size_t token_len" primitive_type identifier) ))) (compound_statement "{\n  undefined3 extraout_var;\n  int iVar1;\n  _Bool _Var2;\n  MHD_HTTP_Header *pMVar3;\n  \n  if ((((key != (char *)0x0) && (*key != '\0')) && (token != (char *)0x0)) && (*token != '\0')) {\n    pMVar3 = response->first_header;\n    while( true ) {\n      if (pMVar3 == (MHD_HTTP_Header *)0x0) {\n        return false;\n      }\n      if (((pMVar3->kind == MHD_HEADER_KIND) &&\n          (iVar1 = MHD_str_equal_caseless_(pMVar3->header,key), iVar1 != 0)) &&\n         (_Var2 = MHD_str_has_token_caseless_(pMVar3->value,token,token_len),\n         CONCAT31(extraout_var,_Var2) != 0)) break;\n      pMVar3 = pMVar3->next;\n    }\n    return _Var2;\n  }\n  return false;\n}" { (declaration "undefined3 extraout_var;" type_identifier identifier ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "_Bool _Var2;" type_identifier identifier ;) (declaration "MHD_HTTP_Header *pMVar3;" type_identifier (pointer_declarator "*pMVar3" * identifier) ;) (if_statement "if ((((key != (char *)0x0) && (*key != '\0')) && (token != (char *)0x0)) && (*token != '\0')) {\n    pMVar3 = response->first_header;\n    while( true ) {\n      if (pMVar3 == (MHD_HTTP_Header *)0x0) {\n        return false;\n      }\n      if (((pMVar3->kind == MHD_HEADER_KIND) &&\n          (iVar1 = MHD_str_equal_caseless_(pMVar3->header,key), iVar1 != 0)) &&\n         (_Var2 = MHD_str_has_token_caseless_(pMVar3->value,token,token_len),\n         CONCAT31(extraout_var,_Var2) != 0)) break;\n      pMVar3 = pMVar3->next;\n    }\n    return _Var2;\n  }" if (parenthesized_expression "((((key != (char *)0x0) && (*key != '\0')) && (token != (char *)0x0)) && (*token != '\0'))" ( (binary_expression "(((key != (char *)0x0) && (*key != '\0')) && (token != (char *)0x0)) && (*token != '\0')" (parenthesized_expression "(((key != (char *)0x0) && (*key != '\0')) && (token != (char *)0x0))" ( (binary_expression "((key != (char *)0x0) && (*key != '\0')) && (token != (char *)0x0)" (parenthesized_expression "((key != (char *)0x0) && (*key != '\0'))" ( (binary_expression "(key != (char *)0x0) && (*key != '\0')" (parenthesized_expression "(key != (char *)0x0)" ( (binary_expression "key != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*key != '\0')" ( (binary_expression "*key != '\0'" (pointer_expression "*key" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(token != (char *)0x0)" ( (binary_expression "token != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) && (parenthesized_expression "(*token != '\0')" ( (binary_expression "*token != '\0'" (pointer_expression "*token" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    pMVar3 = response->first_header;\n    while( true ) {\n      if (pMVar3 == (MHD_HTTP_Header *)0x0) {\n        return false;\n      }\n      if (((pMVar3->kind == MHD_HEADER_KIND) &&\n          (iVar1 = MHD_str_equal_caseless_(pMVar3->header,key), iVar1 != 0)) &&\n         (_Var2 = MHD_str_has_token_caseless_(pMVar3->value,token,token_len),\n         CONCAT31(extraout_var,_Var2) != 0)) break;\n      pMVar3 = pMVar3->next;\n    }\n    return _Var2;\n  }" { (expression_statement "pMVar3 = response->first_header;" (assignment_expression "pMVar3 = response->first_header" identifier = (field_expression "response->first_header" identifier -> field_identifier)) ;) (while_statement "while( true ) {\n      if (pMVar3 == (MHD_HTTP_Header *)0x0) {\n        return false;\n      }\n      if (((pMVar3->kind == MHD_HEADER_KIND) &&\n          (iVar1 = MHD_str_equal_caseless_(pMVar3->header,key), iVar1 != 0)) &&\n         (_Var2 = MHD_str_has_token_caseless_(pMVar3->value,token,token_len),\n         CONCAT31(extraout_var,_Var2) != 0)) break;\n      pMVar3 = pMVar3->next;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (pMVar3 == (MHD_HTTP_Header *)0x0) {\n        return false;\n      }\n      if (((pMVar3->kind == MHD_HEADER_KIND) &&\n          (iVar1 = MHD_str_equal_caseless_(pMVar3->header,key), iVar1 != 0)) &&\n         (_Var2 = MHD_str_has_token_caseless_(pMVar3->value,token,token_len),\n         CONCAT31(extraout_var,_Var2) != 0)) break;\n      pMVar3 = pMVar3->next;\n    }" { (if_statement "if (pMVar3 == (MHD_HTTP_Header *)0x0) {\n        return false;\n      }" if (parenthesized_expression "(pMVar3 == (MHD_HTTP_Header *)0x0)" ( (binary_expression "pMVar3 == (MHD_HTTP_Header *)0x0" identifier == (cast_expression "(MHD_HTTP_Header *)0x0" ( (type_descriptor "MHD_HTTP_Header *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return false;\n      }" { (return_statement "return false;" return false ;) })) (if_statement "if (((pMVar3->kind == MHD_HEADER_KIND) &&\n          (iVar1 = MHD_str_equal_caseless_(pMVar3->header,key), iVar1 != 0)) &&\n         (_Var2 = MHD_str_has_token_caseless_(pMVar3->value,token,token_len),\n         CONCAT31(extraout_var,_Var2) != 0)) break;" if (parenthesized_expression "(((pMVar3->kind == MHD_HEADER_KIND) &&\n          (iVar1 = MHD_str_equal_caseless_(pMVar3->header,key), iVar1 != 0)) &&\n         (_Var2 = MHD_str_has_token_caseless_(pMVar3->value,token,token_len),\n         CONCAT31(extraout_var,_Var2) != 0))" ( (binary_expression "((pMVar3->kind == MHD_HEADER_KIND) &&\n          (iVar1 = MHD_str_equal_caseless_(pMVar3->header,key), iVar1 != 0)) &&\n         (_Var2 = MHD_str_has_token_caseless_(pMVar3->value,token,token_len),\n         CONCAT31(extraout_var,_Var2) != 0)" (parenthesized_expression "((pMVar3->kind == MHD_HEADER_KIND) &&\n          (iVar1 = MHD_str_equal_caseless_(pMVar3->header,key), iVar1 != 0))" ( (binary_expression "(pMVar3->kind == MHD_HEADER_KIND) &&\n          (iVar1 = MHD_str_equal_caseless_(pMVar3->header,key), iVar1 != 0)" (parenthesized_expression "(pMVar3->kind == MHD_HEADER_KIND)" ( (binary_expression "pMVar3->kind == MHD_HEADER_KIND" (field_expression "pMVar3->kind" identifier -> field_identifier) == identifier) )) && (parenthesized_expression "(iVar1 = MHD_str_equal_caseless_(pMVar3->header,key), iVar1 != 0)" ( (comma_expression "iVar1 = MHD_str_equal_caseless_(pMVar3->header,key), iVar1 != 0" (assignment_expression "iVar1 = MHD_str_equal_caseless_(pMVar3->header,key)" identifier = (call_expression "MHD_str_equal_caseless_(pMVar3->header,key)" identifier (argument_list "(pMVar3->header,key)" ( (field_expression "pMVar3->header" identifier -> field_identifier) , identifier )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(_Var2 = MHD_str_has_token_caseless_(pMVar3->value,token,token_len),\n         CONCAT31(extraout_var,_Var2) != 0)" ( (comma_expression "_Var2 = MHD_str_has_token_caseless_(pMVar3->value,token,token_len),\n         CONCAT31(extraout_var,_Var2) != 0" (assignment_expression "_Var2 = MHD_str_has_token_caseless_(pMVar3->value,token,token_len)" identifier = (call_expression "MHD_str_has_token_caseless_(pMVar3->value,token,token_len)" identifier (argument_list "(pMVar3->value,token,token_len)" ( (field_expression "pMVar3->value" identifier -> field_identifier) , identifier , identifier )))) , (binary_expression "CONCAT31(extraout_var,_Var2) != 0" (call_expression "CONCAT31(extraout_var,_Var2)" identifier (argument_list "(extraout_var,_Var2)" ( identifier , identifier ))) != number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "pMVar3 = pMVar3->next;" (assignment_expression "pMVar3 = pMVar3->next" identifier = (field_expression "pMVar3->next" identifier -> field_identifier)) ;) })) (return_statement "return _Var2;" return identifier ;) })) (return_statement "return false;" return false ;) })))
(translation_unit "int FUN_00022a34(int *param_1,char *param_2,char *param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  \n  if ((((param_2 != (char *)0x0) && (*param_2 != '\0')) && (param_3 != (char *)0x0)) &&\n     (*param_3 != '\0')) {\n    param_1 = (int *)*param_1;\n    while( true ) {\n      if (param_1 == (int *)0x0) {\n        return 0;\n      }\n      if (((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)) break;\n      param_1 = (int *)*param_1;\n    }\n    return iVar1;\n  }\n  return 0;\n}\n\n" (function_definition "int FUN_00022a34(int *param_1,char *param_2,char *param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  \n  if ((((param_2 != (char *)0x0) && (*param_2 != '\0')) && (param_3 != (char *)0x0)) &&\n     (*param_3 != '\0')) {\n    param_1 = (int *)*param_1;\n    while( true ) {\n      if (param_1 == (int *)0x0) {\n        return 0;\n      }\n      if (((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)) break;\n      param_1 = (int *)*param_1;\n    }\n    return iVar1;\n  }\n  return 0;\n}" primitive_type (function_declarator "FUN_00022a34(int *param_1,char *param_2,char *param_3,undefined4 param_4)" identifier (parameter_list "(int *param_1,char *param_2,char *param_3,undefined4 param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if ((((param_2 != (char *)0x0) && (*param_2 != '\0')) && (param_3 != (char *)0x0)) &&\n     (*param_3 != '\0')) {\n    param_1 = (int *)*param_1;\n    while( true ) {\n      if (param_1 == (int *)0x0) {\n        return 0;\n      }\n      if (((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)) break;\n      param_1 = (int *)*param_1;\n    }\n    return iVar1;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if ((((param_2 != (char *)0x0) && (*param_2 != '\0')) && (param_3 != (char *)0x0)) &&\n     (*param_3 != '\0')) {\n    param_1 = (int *)*param_1;\n    while( true ) {\n      if (param_1 == (int *)0x0) {\n        return 0;\n      }\n      if (((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)) break;\n      param_1 = (int *)*param_1;\n    }\n    return iVar1;\n  }" if (parenthesized_expression "((((param_2 != (char *)0x0) && (*param_2 != '\0')) && (param_3 != (char *)0x0)) &&\n     (*param_3 != '\0'))" ( (binary_expression "(((param_2 != (char *)0x0) && (*param_2 != '\0')) && (param_3 != (char *)0x0)) &&\n     (*param_3 != '\0')" (parenthesized_expression "(((param_2 != (char *)0x0) && (*param_2 != '\0')) && (param_3 != (char *)0x0))" ( (binary_expression "((param_2 != (char *)0x0) && (*param_2 != '\0')) && (param_3 != (char *)0x0)" (parenthesized_expression "((param_2 != (char *)0x0) && (*param_2 != '\0'))" ( (binary_expression "(param_2 != (char *)0x0) && (*param_2 != '\0')" (parenthesized_expression "(param_2 != (char *)0x0)" ( (binary_expression "param_2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*param_2 != '\0')" ( (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(param_3 != (char *)0x0)" ( (binary_expression "param_3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) && (parenthesized_expression "(*param_3 != '\0')" ( (binary_expression "*param_3 != '\0'" (pointer_expression "*param_3" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    param_1 = (int *)*param_1;\n    while( true ) {\n      if (param_1 == (int *)0x0) {\n        return 0;\n      }\n      if (((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)) break;\n      param_1 = (int *)*param_1;\n    }\n    return iVar1;\n  }" { (expression_statement "param_1 = (int *)*param_1;" (assignment_expression "param_1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (while_statement "while( true ) {\n      if (param_1 == (int *)0x0) {\n        return 0;\n      }\n      if (((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)) break;\n      param_1 = (int *)*param_1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (param_1 == (int *)0x0) {\n        return 0;\n      }\n      if (((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)) break;\n      param_1 = (int *)*param_1;\n    }" { (if_statement "if (param_1 == (int *)0x0) {\n        return 0;\n      }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)) break;" if (parenthesized_expression "(((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0))" ( (binary_expression "((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)" (parenthesized_expression "((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0))" ( (binary_expression "(param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)" (parenthesized_expression "(param_1[3] == 1)" ( (binary_expression "param_1[3] == 1" (subscript_expression "param_1[3]" identifier [ number_literal ]) == number_literal) )) && (parenthesized_expression "(iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)" ( (comma_expression "iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0" (assignment_expression "iVar1 = FUN_00021920(param_1[1],param_2)" identifier = (call_expression "FUN_00021920(param_1[1],param_2)" identifier (argument_list "(param_1[1],param_2)" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) , identifier )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)" ( (comma_expression "iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0" (assignment_expression "iVar1 = FUN_00021a58(param_1[2],param_3,param_4)" identifier = (call_expression "FUN_00021a58(param_1[2],param_3,param_4)" identifier (argument_list "(param_1[2],param_3,param_4)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , identifier , identifier )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "param_1 = (int *)*param_1;" (assignment_expression "param_1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) })) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) ))) )) && (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ))) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT )))) , (binary_expression IDENT != LIT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT , IDENT )))) , (binary_expression IDENT != LIT)) ))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) })) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "int FUN_00022a34(int *param_1,char *param_2,char *param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  \n  if ((((param_2 != (char *)0x0) && (*param_2 != '\0')) && (param_3 != (char *)0x0)) &&\n     (*param_3 != '\0')) {\n    param_1 = (int *)*param_1;\n    while( true ) {\n      if (param_1 == (int *)0x0) {\n        return 0;\n      }\n      if (((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)) break;\n      param_1 = (int *)*param_1;\n    }\n    return iVar1;\n  }\n  return 0;\n}" (primitive_type "int") (function_declarator "FUN_00022a34(int *param_1,char *param_2,char *param_3,undefined4 param_4)" (identifier "FUN_00022a34") (parameter_list "(int *param_1,char *param_2,char *param_3,undefined4 param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "char *param_3" (primitive_type "char") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if ((((param_2 != (char *)0x0) && (*param_2 != '\0')) && (param_3 != (char *)0x0)) &&\n     (*param_3 != '\0')) {\n    param_1 = (int *)*param_1;\n    while( true ) {\n      if (param_1 == (int *)0x0) {\n        return 0;\n      }\n      if (((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)) break;\n      param_1 = (int *)*param_1;\n    }\n    return iVar1;\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if ((((param_2 != (char *)0x0) && (*param_2 != '\0')) && (param_3 != (char *)0x0)) &&\n     (*param_3 != '\0')) {\n    param_1 = (int *)*param_1;\n    while( true ) {\n      if (param_1 == (int *)0x0) {\n        return 0;\n      }\n      if (((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)) break;\n      param_1 = (int *)*param_1;\n    }\n    return iVar1;\n  }" (if "if") (parenthesized_expression "((((param_2 != (char *)0x0) && (*param_2 != '\0')) && (param_3 != (char *)0x0)) &&\n     (*param_3 != '\0'))" (( "(") (binary_expression "(((param_2 != (char *)0x0) && (*param_2 != '\0')) && (param_3 != (char *)0x0)) &&\n     (*param_3 != '\0')" (parenthesized_expression "(((param_2 != (char *)0x0) && (*param_2 != '\0')) && (param_3 != (char *)0x0))" (( "(") (binary_expression "((param_2 != (char *)0x0) && (*param_2 != '\0')) && (param_3 != (char *)0x0)" (parenthesized_expression "((param_2 != (char *)0x0) && (*param_2 != '\0'))" (( "(") (binary_expression "(param_2 != (char *)0x0) && (*param_2 != '\0')" (parenthesized_expression "(param_2 != (char *)0x0)" (( "(") (binary_expression "param_2 != (char *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(*param_2 != '\0')" (( "(") (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(param_3 != (char *)0x0)" (( "(") (binary_expression "param_3 != (char *)0x0" (identifier "param_3") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(*param_3 != '\0')" (( "(") (binary_expression "*param_3 != '\0'" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    param_1 = (int *)*param_1;\n    while( true ) {\n      if (param_1 == (int *)0x0) {\n        return 0;\n      }\n      if (((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)) break;\n      param_1 = (int *)*param_1;\n    }\n    return iVar1;\n  }" ({ "{") (expression_statement "param_1 = (int *)*param_1;" (assignment_expression "param_1 = (int *)*param_1" (identifier "param_1") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (while_statement "while( true ) {\n      if (param_1 == (int *)0x0) {\n        return 0;\n      }\n      if (((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)) break;\n      param_1 = (int *)*param_1;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      if (param_1 == (int *)0x0) {\n        return 0;\n      }\n      if (((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)) break;\n      param_1 = (int *)*param_1;\n    }" ({ "{") (if_statement "if (param_1 == (int *)0x0) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(param_1 == (int *)0x0)" (( "(") (binary_expression "param_1 == (int *)0x0" (identifier "param_1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)) break;" (if "if") (parenthesized_expression "(((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0))" (( "(") (binary_expression "((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&\n         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)" (parenthesized_expression "((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0))" (( "(") (binary_expression "(param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)" (parenthesized_expression "(param_1[3] == 1)" (( "(") (binary_expression "param_1[3] == 1" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (== "==") (number_literal "1")) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)" (( "(") (comma_expression "iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0" (assignment_expression "iVar1 = FUN_00021920(param_1[1],param_2)" (identifier "iVar1") (= "=") (call_expression "FUN_00021920(param_1[1],param_2)" (identifier "FUN_00021920") (argument_list "(param_1[1],param_2)" (( "(") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "param_2") () ")")))) (, ",") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)" (( "(") (comma_expression "iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0" (assignment_expression "iVar1 = FUN_00021a58(param_1[2],param_3,param_4)" (identifier "iVar1") (= "=") (call_expression "FUN_00021a58(param_1[2],param_3,param_4)" (identifier "FUN_00021a58") (argument_list "(param_1[2],param_3,param_4)" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")")))) (, ",") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "param_1 = (int *)*param_1;" (assignment_expression "param_1 = (int *)*param_1" (identifier "param_1") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (} "}"))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (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 */

type_1 function_1
                (type_2 *response,char *var_1,char *var_2,size_t token_len)

{
  type_3 extraout_var;
  int var_6;
  type_1 _Var2;
  type_4 *var_3;
  
  if ((((var_1 != (char *)0x0) && (*var_1 != '\0')) && (var_2 != (char *)0x0)) && (*var_2 != '\0')) {
    var_3 = response->first_header;
    while( true ) {
      if (var_3 == (type_4 *)0x0) {
        return false;
      }
      if (((var_3->kind == var_4) &&
          (var_6 = var_5(var_3->header,var_1), var_6 != 0)) &&
         (_Var2 = var_7(var_3->value,var_2,token_len),
         var_8(extraout_var,_Var2) != 0)) break;
      var_3 = var_3->next;
    }
    return _Var2;
  }
  return false;
}


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

int MASKED(int *param_1,char *param_2,char *param_3,undefined4 param_4)

{
  int iVar1;
  
  if ((((param_2 != (char *)0x0) && (*param_2 != '\0')) && (param_3 != (char *)0x0)) &&
     (*param_3 != '\0')) {
    param_1 = (int *)*param_1;
    while( true ) {
      if (param_1 == (int *)0x0) {
        return 0;
      }
      if (((param_1[3] == 1) && (iVar1 = FUN_00021920(param_1[1],param_2), iVar1 != 0)) &&
         (iVar1 = FUN_00021a58(param_1[2],param_3,param_4), iVar1 != 0)) break;
      param_1 = (int *)*param_1;
    }
    return iVar1;
  }
  return 0;
}

