
int add_oid_section(CONF *conf)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  
  iVar1 = (*(code *)PTR_NCONF_get_string_000bfd1c)
                    (conf,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0);
  if (iVar1 == 0) {
    (*(code *)PTR_ERR_clear_error_000c08c0)();
    return 1;
  }
  iVar2 = (*(code *)PTR_NCONF_get_section_000bf9d0)(conf,iVar1);
  iVar4 = 0;
  if (iVar2 == 0) {
    iVar4 = 0;
    (*(code *)PTR_BIO_printf_000c0b94)
              (*(undefined4 *)PTR_bio_err_000bf3b0,
               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);
  }
  else {
    while( true ) {
      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);
      if (iVar1 <= iVar4) break;
      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);
      iVar3 = (*(code *)PTR_OBJ_create_000c022c)
                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));
      iVar4 = iVar4 + 1;
      if (iVar3 == 0) {
        (*(code *)PTR_BIO_printf_000c0b94)
                  (*(undefined4 *)PTR_bio_err_000bf3b0,
                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),
                   *(undefined4 *)(iVar1 + 8));
        return 0;
      }
    }
    iVar4 = 1;
  }
  return iVar4;
}



undefined4 add_oid_section(undefined4 param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  undefined4 uVar5;
  
  iVar1 = (*(code *)PTR_NCONF_get_string_000bfd1c)
                    (param_1,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0);
  if (iVar1 == 0) {
    (*(code *)PTR_ERR_clear_error_000c08c0)();
    return 1;
  }
  iVar2 = (*(code *)PTR_NCONF_get_section_000bf9d0)(param_1,iVar1);
  iVar4 = 0;
  if (iVar2 == 0) {
    uVar5 = 0;
    (*(code *)PTR_BIO_printf_000c0b94)
              (*(undefined4 *)PTR_bio_err_000bf3b0,
               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);
  }
  else {
    while( true ) {
      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);
      if (iVar1 <= iVar4) break;
      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);
      iVar3 = (*(code *)PTR_OBJ_create_000c022c)
                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));
      iVar4 = iVar4 + 1;
      if (iVar3 == 0) {
        (*(code *)PTR_BIO_printf_000c0b94)
                  (*(undefined4 *)PTR_bio_err_000bf3b0,
                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),
                   *(undefined4 *)(iVar1 + 8));
        return 0;
      }
    }
    uVar5 = 1;
  }
  return uVar5;
}


lui gp,0x5
addiu gp,gp,-0x16e0
addu gp,gp,t9
lw a2,-0x7fb4(gp)
addiu sp,sp,-0x30
lw t9,-0x7644(gp)
or a1,zero,zero
addiu a2,a2,-0xbe0
sw gp,0x10(sp)
sw s0,0x1c(sp)
or s0,a0,zero
sw ra,0x2c(sp)
sw s3,0x28(sp)
sw s2,0x24(sp)
jalr t9
_sw s1,0x20(sp)
beq v0,zero,0x00078b70
_lw gp,0x10(sp)
lw t9,-0x7990(gp)
or a0,s0,zero
or a1,v0,zero
jalr t9
_or s1,v0,zero
or s0,zero,zero
lw gp,0x10(sp)
bne v0,zero,0x00078ae4
_or s2,v0,zero
b 0x00078b9c
_lw v0,-0x7fb0(gp)
jalr t9
_nop
lw gp,0x10(sp)
or s1,v0,zero
lw a2,0x4(v0)
lw a0,0x8(v0)
lw t9,-0x7134(gp)
jalr t9
_or a1,a2,zero
lw gp,0x10(sp)
beq v0,zero,0x00078b30
_or s3,v0,zero
lw t9,-0x7a24(gp)
jalr t9
_or a0,s2,zero
or a1,s0,zero
lw gp,0x10(sp)
slt v0,s0,v0
or a0,s2,zero
addiu s0,s0,0x1
bne v0,zero,0x00078ab4
_lw t9,-0x678c(gp)
li s3,0x1
lw ra,0x2c(sp)
or v0,s3,zero
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
lw v0,-0x7fb0(gp)
lw a1,-0x7fb4(gp)
lw t9,-0x67cc(gp)
lw a3,0x8(s1)
lw a2,0x4(s1)
addiu a1,a1,-0xbb4
jalr t9
_lw a0,0x0(v0)
or v0,s3,zero
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
lw t9,-0x6aa0(gp)
jalr t9
_li s3,0x1
or v0,s3,zero
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
or a2,s1,zero
lw a1,-0x7fb4(gp)
or s3,zero,zero
lw t9,-0x67cc(gp)
lw a0,0x0(v0)
jalr t9
_addiu a1,a1,-0xbd4
b 0x00078b14
_lw ra,0x2c(sp)
(translation_unit "undefined4 add_oid_section(undefined4 param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  iVar1 = (*(code *)PTR_NCONF_get_string_000bfd1c)\n                    (param_1,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0);\n  if (iVar1 == 0) {\n    (*(code *)PTR_ERR_clear_error_000c08c0)();\n    return 1;\n  }\n  iVar2 = (*(code *)PTR_NCONF_get_section_000bf9d0)(param_1,iVar1);\n  iVar4 = 0;\n  if (iVar2 == 0) {\n    uVar5 = 0;\n    (*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);\n  }\n  else {\n    while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }\n    uVar5 = 1;\n  }\n  return uVar5;\n}\n\n" (function_definition "undefined4 add_oid_section(undefined4 param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  iVar1 = (*(code *)PTR_NCONF_get_string_000bfd1c)\n                    (param_1,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0);\n  if (iVar1 == 0) {\n    (*(code *)PTR_ERR_clear_error_000c08c0)();\n    return 1;\n  }\n  iVar2 = (*(code *)PTR_NCONF_get_section_000bf9d0)(param_1,iVar1);\n  iVar4 = 0;\n  if (iVar2 == 0) {\n    uVar5 = 0;\n    (*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);\n  }\n  else {\n    while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }\n    uVar5 = 1;\n  }\n  return uVar5;\n}" type_identifier (function_declarator "add_oid_section(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  iVar1 = (*(code *)PTR_NCONF_get_string_000bfd1c)\n                    (param_1,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0);\n  if (iVar1 == 0) {\n    (*(code *)PTR_ERR_clear_error_000c08c0)();\n    return 1;\n  }\n  iVar2 = (*(code *)PTR_NCONF_get_section_000bf9d0)(param_1,iVar1);\n  iVar4 = 0;\n  if (iVar2 == 0) {\n    uVar5 = 0;\n    (*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);\n  }\n  else {\n    while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }\n    uVar5 = 1;\n  }\n  return uVar5;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (expression_statement "iVar1 = (*(code *)PTR_NCONF_get_string_000bfd1c)\n                    (param_1,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0);" (assignment_expression "iVar1 = (*(code *)PTR_NCONF_get_string_000bfd1c)\n                    (param_1,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0)" identifier = (call_expression "(*(code *)PTR_NCONF_get_string_000bfd1c)\n                    (param_1,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0)" (parenthesized_expression "(*(code *)PTR_NCONF_get_string_000bfd1c)" ( (pointer_expression "*(code *)PTR_NCONF_get_string_000bfd1c" * (cast_expression "(code *)PTR_NCONF_get_string_000bfd1c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0)" ( identifier , number_literal , (binary_expression "PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0" identifier + number_literal) )))) ;) (if_statement "if (iVar1 == 0) {\n    (*(code *)PTR_ERR_clear_error_000c08c0)();\n    return 1;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR_ERR_clear_error_000c08c0)();\n    return 1;\n  }" { (expression_statement "(*(code *)PTR_ERR_clear_error_000c08c0)();" (call_expression "(*(code *)PTR_ERR_clear_error_000c08c0)()" (parenthesized_expression "(*(code *)PTR_ERR_clear_error_000c08c0)" ( (pointer_expression "*(code *)PTR_ERR_clear_error_000c08c0" * (cast_expression "(code *)PTR_ERR_clear_error_000c08c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar2 = (*(code *)PTR_NCONF_get_section_000bf9d0)(param_1,iVar1);" (assignment_expression "iVar2 = (*(code *)PTR_NCONF_get_section_000bf9d0)(param_1,iVar1)" identifier = (call_expression "(*(code *)PTR_NCONF_get_section_000bf9d0)(param_1,iVar1)" (parenthesized_expression "(*(code *)PTR_NCONF_get_section_000bf9d0)" ( (pointer_expression "*(code *)PTR_NCONF_get_section_000bf9d0" * (cast_expression "(code *)PTR_NCONF_get_section_000bf9d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,iVar1)" ( identifier , identifier )))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (if_statement "if (iVar2 == 0) {\n    uVar5 = 0;\n    (*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);\n  }\n  else {\n    while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }\n    uVar5 = 1;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar5 = 0;\n    (*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);\n  }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);" (call_expression "(*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1)" (parenthesized_expression "(*(code *)PTR_BIO_printf_000c0b94)" ( (pointer_expression "*(code *)PTR_BIO_printf_000c0b94" * (cast_expression "(code *)PTR_BIO_printf_000c0b94" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1)" ( (pointer_expression "*(undefined4 *)PTR_bio_err_000bf3b0" * (cast_expression "(undefined4 *)PTR_bio_err_000bf3b0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4" identifier + number_literal) , identifier ))) ;) }) (else_clause "else {\n    while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }\n    uVar5 = 1;\n  }" else (compound_statement "{\n    while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }\n    uVar5 = 1;\n  }" { (while_statement "while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }" { (expression_statement "iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);" (assignment_expression "iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2)" identifier = (call_expression "(*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2)" (parenthesized_expression "(*(code *)PTR_OPENSSL_sk_num_000bf93c)" ( (pointer_expression "*(code *)PTR_OPENSSL_sk_num_000bf93c" * (cast_expression "(code *)PTR_OPENSSL_sk_num_000bf93c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier )))) ;) (if_statement "if (iVar1 <= iVar4) break;" if (parenthesized_expression "(iVar1 <= iVar4)" ( (binary_expression "iVar1 <= iVar4" identifier <= identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);" (assignment_expression "iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4)" identifier = (call_expression "(*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4)" (parenthesized_expression "(*(code *)PTR_OPENSSL_sk_value_000c0bd4)" ( (pointer_expression "*(code *)PTR_OPENSSL_sk_value_000c0bd4" * (cast_expression "(code *)PTR_OPENSSL_sk_value_000c0bd4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,iVar4)" ( identifier , identifier )))) ;) (expression_statement "iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));" (assignment_expression "iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4))" identifier = (call_expression "(*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4))" (parenthesized_expression "(*(code *)PTR_OBJ_create_000c022c)" ( (pointer_expression "*(code *)PTR_OBJ_create_000c022c" * (cast_expression "(code *)PTR_OBJ_create_000c022c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4))" ( (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar1 + 4)" * (cast_expression "(undefined4 *)(iVar1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) )))) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }" { (expression_statement "(*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));" (call_expression "(*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8))" (parenthesized_expression "(*(code *)PTR_BIO_printf_000c0b94)" ( (pointer_expression "*(code *)PTR_BIO_printf_000c0b94" * (cast_expression "(code *)PTR_BIO_printf_000c0b94" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8))" ( (pointer_expression "*(undefined4 *)PTR_bio_err_000bf3b0" * (cast_expression "(undefined4 *)PTR_bio_err_000bf3b0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4" identifier + number_literal) , (pointer_expression "*(undefined4 *)(iVar1 + 4)" * (cast_expression "(undefined4 *)(iVar1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) ))) ;) (return_statement "return 0;" return number_literal ;) })) })) (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) }))) (return_statement "return uVar5;" return identifier ;) })))
(translation_unit "int add_oid_section(CONF *conf)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar1 = (*(code *)PTR_NCONF_get_string_000bfd1c)\n                    (conf,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0);\n  if (iVar1 == 0) {\n    (*(code *)PTR_ERR_clear_error_000c08c0)();\n    return 1;\n  }\n  iVar2 = (*(code *)PTR_NCONF_get_section_000bf9d0)(conf,iVar1);\n  iVar4 = 0;\n  if (iVar2 == 0) {\n    iVar4 = 0;\n    (*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);\n  }\n  else {\n    while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }\n    iVar4 = 1;\n  }\n  return iVar4;\n}\n\n" (function_definition "int add_oid_section(CONF *conf)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar1 = (*(code *)PTR_NCONF_get_string_000bfd1c)\n                    (conf,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0);\n  if (iVar1 == 0) {\n    (*(code *)PTR_ERR_clear_error_000c08c0)();\n    return 1;\n  }\n  iVar2 = (*(code *)PTR_NCONF_get_section_000bf9d0)(conf,iVar1);\n  iVar4 = 0;\n  if (iVar2 == 0) {\n    iVar4 = 0;\n    (*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);\n  }\n  else {\n    while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }\n    iVar4 = 1;\n  }\n  return iVar4;\n}" primitive_type (function_declarator "add_oid_section(CONF *conf)" identifier (parameter_list "(CONF *conf)" ( (parameter_declaration "CONF *conf" type_identifier (pointer_declarator "*conf" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar1 = (*(code *)PTR_NCONF_get_string_000bfd1c)\n                    (conf,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0);\n  if (iVar1 == 0) {\n    (*(code *)PTR_ERR_clear_error_000c08c0)();\n    return 1;\n  }\n  iVar2 = (*(code *)PTR_NCONF_get_section_000bf9d0)(conf,iVar1);\n  iVar4 = 0;\n  if (iVar2 == 0) {\n    iVar4 = 0;\n    (*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);\n  }\n  else {\n    while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }\n    iVar4 = 1;\n  }\n  return iVar4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_NCONF_get_string_000bfd1c)\n                    (conf,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0);" (assignment_expression "iVar1 = (*(code *)PTR_NCONF_get_string_000bfd1c)\n                    (conf,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0)" identifier = (call_expression "(*(code *)PTR_NCONF_get_string_000bfd1c)\n                    (conf,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0)" (parenthesized_expression "(*(code *)PTR_NCONF_get_string_000bfd1c)" ( (pointer_expression "*(code *)PTR_NCONF_get_string_000bfd1c" * (cast_expression "(code *)PTR_NCONF_get_string_000bfd1c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(conf,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0)" ( identifier , number_literal , (binary_expression "PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0" identifier + number_literal) )))) ;) (if_statement "if (iVar1 == 0) {\n    (*(code *)PTR_ERR_clear_error_000c08c0)();\n    return 1;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR_ERR_clear_error_000c08c0)();\n    return 1;\n  }" { (expression_statement "(*(code *)PTR_ERR_clear_error_000c08c0)();" (call_expression "(*(code *)PTR_ERR_clear_error_000c08c0)()" (parenthesized_expression "(*(code *)PTR_ERR_clear_error_000c08c0)" ( (pointer_expression "*(code *)PTR_ERR_clear_error_000c08c0" * (cast_expression "(code *)PTR_ERR_clear_error_000c08c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar2 = (*(code *)PTR_NCONF_get_section_000bf9d0)(conf,iVar1);" (assignment_expression "iVar2 = (*(code *)PTR_NCONF_get_section_000bf9d0)(conf,iVar1)" identifier = (call_expression "(*(code *)PTR_NCONF_get_section_000bf9d0)(conf,iVar1)" (parenthesized_expression "(*(code *)PTR_NCONF_get_section_000bf9d0)" ( (pointer_expression "*(code *)PTR_NCONF_get_section_000bf9d0" * (cast_expression "(code *)PTR_NCONF_get_section_000bf9d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(conf,iVar1)" ( identifier , identifier )))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (if_statement "if (iVar2 == 0) {\n    iVar4 = 0;\n    (*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);\n  }\n  else {\n    while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }\n    iVar4 = 1;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar4 = 0;\n    (*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);" (call_expression "(*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1)" (parenthesized_expression "(*(code *)PTR_BIO_printf_000c0b94)" ( (pointer_expression "*(code *)PTR_BIO_printf_000c0b94" * (cast_expression "(code *)PTR_BIO_printf_000c0b94" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1)" ( (pointer_expression "*(undefined4 *)PTR_bio_err_000bf3b0" * (cast_expression "(undefined4 *)PTR_bio_err_000bf3b0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4" identifier + number_literal) , identifier ))) ;) }) (else_clause "else {\n    while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }\n    iVar4 = 1;\n  }" else (compound_statement "{\n    while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }\n    iVar4 = 1;\n  }" { (while_statement "while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }" { (expression_statement "iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);" (assignment_expression "iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2)" identifier = (call_expression "(*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2)" (parenthesized_expression "(*(code *)PTR_OPENSSL_sk_num_000bf93c)" ( (pointer_expression "*(code *)PTR_OPENSSL_sk_num_000bf93c" * (cast_expression "(code *)PTR_OPENSSL_sk_num_000bf93c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier )))) ;) (if_statement "if (iVar1 <= iVar4) break;" if (parenthesized_expression "(iVar1 <= iVar4)" ( (binary_expression "iVar1 <= iVar4" identifier <= identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);" (assignment_expression "iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4)" identifier = (call_expression "(*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4)" (parenthesized_expression "(*(code *)PTR_OPENSSL_sk_value_000c0bd4)" ( (pointer_expression "*(code *)PTR_OPENSSL_sk_value_000c0bd4" * (cast_expression "(code *)PTR_OPENSSL_sk_value_000c0bd4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,iVar4)" ( identifier , identifier )))) ;) (expression_statement "iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));" (assignment_expression "iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4))" identifier = (call_expression "(*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4))" (parenthesized_expression "(*(code *)PTR_OBJ_create_000c022c)" ( (pointer_expression "*(code *)PTR_OBJ_create_000c022c" * (cast_expression "(code *)PTR_OBJ_create_000c022c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4))" ( (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar1 + 4)" * (cast_expression "(undefined4 *)(iVar1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) )))) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }" { (expression_statement "(*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));" (call_expression "(*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8))" (parenthesized_expression "(*(code *)PTR_BIO_printf_000c0b94)" ( (pointer_expression "*(code *)PTR_BIO_printf_000c0b94" * (cast_expression "(code *)PTR_BIO_printf_000c0b94" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8))" ( (pointer_expression "*(undefined4 *)PTR_bio_err_000bf3b0" * (cast_expression "(undefined4 *)PTR_bio_err_000bf3b0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4" identifier + number_literal) , (pointer_expression "*(undefined4 *)(iVar1 + 4)" * (cast_expression "(undefined4 *)(iVar1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) ))) ;) (return_statement "return 0;" return number_literal ;) })) })) (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) }))) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit "undefined4 add_oid_section(undefined4 param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  iVar1 = (*(code *)PTR_NCONF_get_string_000bfd1c)\n                    (param_1,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0);\n  if (iVar1 == 0) {\n    (*(code *)PTR_ERR_clear_error_000c08c0)();\n    return 1;\n  }\n  iVar2 = (*(code *)PTR_NCONF_get_section_000bf9d0)(param_1,iVar1);\n  iVar4 = 0;\n  if (iVar2 == 0) {\n    uVar5 = 0;\n    (*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);\n  }\n  else {\n    while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }\n    uVar5 = 1;\n  }\n  return uVar5;\n}\n\n" (function_definition "undefined4 add_oid_section(undefined4 param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  iVar1 = (*(code *)PTR_NCONF_get_string_000bfd1c)\n                    (param_1,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0);\n  if (iVar1 == 0) {\n    (*(code *)PTR_ERR_clear_error_000c08c0)();\n    return 1;\n  }\n  iVar2 = (*(code *)PTR_NCONF_get_section_000bf9d0)(param_1,iVar1);\n  iVar4 = 0;\n  if (iVar2 == 0) {\n    uVar5 = 0;\n    (*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);\n  }\n  else {\n    while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }\n    uVar5 = 1;\n  }\n  return uVar5;\n}" type_identifier (function_declarator "add_oid_section(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  iVar1 = (*(code *)PTR_NCONF_get_string_000bfd1c)\n                    (param_1,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0);\n  if (iVar1 == 0) {\n    (*(code *)PTR_ERR_clear_error_000c08c0)();\n    return 1;\n  }\n  iVar2 = (*(code *)PTR_NCONF_get_section_000bf9d0)(param_1,iVar1);\n  iVar4 = 0;\n  if (iVar2 == 0) {\n    uVar5 = 0;\n    (*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);\n  }\n  else {\n    while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }\n    uVar5 = 1;\n  }\n  return uVar5;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (expression_statement "iVar1 = (*(code *)PTR_NCONF_get_string_000bfd1c)\n                    (param_1,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0);" (assignment_expression "iVar1 = (*(code *)PTR_NCONF_get_string_000bfd1c)\n                    (param_1,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0)" identifier = (call_expression "(*(code *)PTR_NCONF_get_string_000bfd1c)\n                    (param_1,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0)" (parenthesized_expression "(*(code *)PTR_NCONF_get_string_000bfd1c)" ( (pointer_expression "*(code *)PTR_NCONF_get_string_000bfd1c" * (cast_expression "(code *)PTR_NCONF_get_string_000bfd1c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0)" ( identifier , number_literal , (binary_expression "PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0" identifier + number_literal) )))) ;) (if_statement "if (iVar1 == 0) {\n    (*(code *)PTR_ERR_clear_error_000c08c0)();\n    return 1;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR_ERR_clear_error_000c08c0)();\n    return 1;\n  }" { (expression_statement "(*(code *)PTR_ERR_clear_error_000c08c0)();" (call_expression "(*(code *)PTR_ERR_clear_error_000c08c0)()" (parenthesized_expression "(*(code *)PTR_ERR_clear_error_000c08c0)" ( (pointer_expression "*(code *)PTR_ERR_clear_error_000c08c0" * (cast_expression "(code *)PTR_ERR_clear_error_000c08c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar2 = (*(code *)PTR_NCONF_get_section_000bf9d0)(param_1,iVar1);" (assignment_expression "iVar2 = (*(code *)PTR_NCONF_get_section_000bf9d0)(param_1,iVar1)" identifier = (call_expression "(*(code *)PTR_NCONF_get_section_000bf9d0)(param_1,iVar1)" (parenthesized_expression "(*(code *)PTR_NCONF_get_section_000bf9d0)" ( (pointer_expression "*(code *)PTR_NCONF_get_section_000bf9d0" * (cast_expression "(code *)PTR_NCONF_get_section_000bf9d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,iVar1)" ( identifier , identifier )))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (if_statement "if (iVar2 == 0) {\n    uVar5 = 0;\n    (*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);\n  }\n  else {\n    while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }\n    uVar5 = 1;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar5 = 0;\n    (*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);\n  }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);" (call_expression "(*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1)" (parenthesized_expression "(*(code *)PTR_BIO_printf_000c0b94)" ( (pointer_expression "*(code *)PTR_BIO_printf_000c0b94" * (cast_expression "(code *)PTR_BIO_printf_000c0b94" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1)" ( (pointer_expression "*(undefined4 *)PTR_bio_err_000bf3b0" * (cast_expression "(undefined4 *)PTR_bio_err_000bf3b0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4" identifier + number_literal) , identifier ))) ;) }) (else_clause "else {\n    while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }\n    uVar5 = 1;\n  }" else (compound_statement "{\n    while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }\n    uVar5 = 1;\n  }" { (while_statement "while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }" { (expression_statement "iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);" (assignment_expression "iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2)" identifier = (call_expression "(*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2)" (parenthesized_expression "(*(code *)PTR_OPENSSL_sk_num_000bf93c)" ( (pointer_expression "*(code *)PTR_OPENSSL_sk_num_000bf93c" * (cast_expression "(code *)PTR_OPENSSL_sk_num_000bf93c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier )))) ;) (if_statement "if (iVar1 <= iVar4) break;" if (parenthesized_expression "(iVar1 <= iVar4)" ( (binary_expression "iVar1 <= iVar4" identifier <= identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);" (assignment_expression "iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4)" identifier = (call_expression "(*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4)" (parenthesized_expression "(*(code *)PTR_OPENSSL_sk_value_000c0bd4)" ( (pointer_expression "*(code *)PTR_OPENSSL_sk_value_000c0bd4" * (cast_expression "(code *)PTR_OPENSSL_sk_value_000c0bd4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,iVar4)" ( identifier , identifier )))) ;) (expression_statement "iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));" (assignment_expression "iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4))" identifier = (call_expression "(*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4))" (parenthesized_expression "(*(code *)PTR_OBJ_create_000c022c)" ( (pointer_expression "*(code *)PTR_OBJ_create_000c022c" * (cast_expression "(code *)PTR_OBJ_create_000c022c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4))" ( (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar1 + 4)" * (cast_expression "(undefined4 *)(iVar1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) )))) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }" { (expression_statement "(*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));" (call_expression "(*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8))" (parenthesized_expression "(*(code *)PTR_BIO_printf_000c0b94)" ( (pointer_expression "*(code *)PTR_BIO_printf_000c0b94" * (cast_expression "(code *)PTR_BIO_printf_000c0b94" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8))" ( (pointer_expression "*(undefined4 *)PTR_bio_err_000bf3b0" * (cast_expression "(undefined4 *)PTR_bio_err_000bf3b0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4" identifier + number_literal) , (pointer_expression "*(undefined4 *)(iVar1 + 4)" * (cast_expression "(undefined4 *)(iVar1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) ))) ;) (return_statement "return 0;" return number_literal ;) })) })) (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) }))) (return_statement "return uVar5;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , (binary_expression IDENT + LIT) , IDENT ))) ;) }) (else_clause else (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , (binary_expression IDENT + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (return_statement return LIT ;) })) })) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (return_statement return IDENT ;) })))
(function_definition "undefined4 add_oid_section(undefined4 param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  iVar1 = (*(code *)PTR_NCONF_get_string_000bfd1c)\n                    (param_1,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0);\n  if (iVar1 == 0) {\n    (*(code *)PTR_ERR_clear_error_000c08c0)();\n    return 1;\n  }\n  iVar2 = (*(code *)PTR_NCONF_get_section_000bf9d0)(param_1,iVar1);\n  iVar4 = 0;\n  if (iVar2 == 0) {\n    uVar5 = 0;\n    (*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);\n  }\n  else {\n    while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }\n    uVar5 = 1;\n  }\n  return uVar5;\n}" (type_identifier "undefined4") (function_declarator "add_oid_section(undefined4 param_1)" (identifier "add_oid_section") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  iVar1 = (*(code *)PTR_NCONF_get_string_000bfd1c)\n                    (param_1,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0);\n  if (iVar1 == 0) {\n    (*(code *)PTR_ERR_clear_error_000c08c0)();\n    return 1;\n  }\n  iVar2 = (*(code *)PTR_NCONF_get_section_000bf9d0)(param_1,iVar1);\n  iVar4 = 0;\n  if (iVar2 == 0) {\n    uVar5 = 0;\n    (*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);\n  }\n  else {\n    while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }\n    uVar5 = 1;\n  }\n  return uVar5;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (expression_statement "iVar1 = (*(code *)PTR_NCONF_get_string_000bfd1c)\n                    (param_1,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0);" (assignment_expression "iVar1 = (*(code *)PTR_NCONF_get_string_000bfd1c)\n                    (param_1,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_NCONF_get_string_000bfd1c)\n                    (param_1,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0)" (parenthesized_expression "(*(code *)PTR_NCONF_get_string_000bfd1c)" (( "(") (pointer_expression "*(code *)PTR_NCONF_get_string_000bfd1c" (* "*") (cast_expression "(code *)PTR_NCONF_get_string_000bfd1c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_NCONF_get_string_000bfd1c"))) () ")")) (argument_list "(param_1,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (binary_expression "PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0" (identifier "PTR_s_Can_t_parse___s__as_a_number_000bf3ac") (+ "+") (number_literal "-0xbe0")) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    (*(code *)PTR_ERR_clear_error_000c08c0)();\n    return 1;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_ERR_clear_error_000c08c0)();\n    return 1;\n  }" ({ "{") (expression_statement "(*(code *)PTR_ERR_clear_error_000c08c0)();" (call_expression "(*(code *)PTR_ERR_clear_error_000c08c0)()" (parenthesized_expression "(*(code *)PTR_ERR_clear_error_000c08c0)" (( "(") (pointer_expression "*(code *)PTR_ERR_clear_error_000c08c0" (* "*") (cast_expression "(code *)PTR_ERR_clear_error_000c08c0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ERR_clear_error_000c08c0"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "iVar2 = (*(code *)PTR_NCONF_get_section_000bf9d0)(param_1,iVar1);" (assignment_expression "iVar2 = (*(code *)PTR_NCONF_get_section_000bf9d0)(param_1,iVar1)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_NCONF_get_section_000bf9d0)(param_1,iVar1)" (parenthesized_expression "(*(code *)PTR_NCONF_get_section_000bf9d0)" (( "(") (pointer_expression "*(code *)PTR_NCONF_get_section_000bf9d0" (* "*") (cast_expression "(code *)PTR_NCONF_get_section_000bf9d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_NCONF_get_section_000bf9d0"))) () ")")) (argument_list "(param_1,iVar1)" (( "(") (identifier "param_1") (, ",") (identifier "iVar1") () ")")))) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar2 == 0) {\n    uVar5 = 0;\n    (*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);\n  }\n  else {\n    while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }\n    uVar5 = 1;\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar5 = 0;\n    (*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);\n  }" ({ "{") (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);" (call_expression "(*(code *)PTR_BIO_printf_000c0b94)\n              (*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1)" (parenthesized_expression "(*(code *)PTR_BIO_printf_000c0b94)" (( "(") (pointer_expression "*(code *)PTR_BIO_printf_000c0b94" (* "*") (cast_expression "(code *)PTR_BIO_printf_000c0b94" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_BIO_printf_000c0b94"))) () ")")) (argument_list "(*(undefined4 *)PTR_bio_err_000bf3b0,\n               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1)" (( "(") (pointer_expression "*(undefined4 *)PTR_bio_err_000bf3b0" (* "*") (cast_expression "(undefined4 *)PTR_bio_err_000bf3b0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_bio_err_000bf3b0"))) (, ",") (binary_expression "PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4" (identifier "PTR_s_Can_t_parse___s__as_a_number_000bf3ac") (+ "+") (number_literal "-0xbd4")) (, ",") (identifier "iVar1") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }\n    uVar5 = 1;\n  }" (else "else") (compound_statement "{\n    while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }\n    uVar5 = 1;\n  }" ({ "{") (while_statement "while( true ) {\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);\n      if (iVar1 <= iVar4) break;\n      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);\n      iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));\n      iVar4 = iVar4 + 1;\n      if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }\n    }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);" (assignment_expression "iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2)" (parenthesized_expression "(*(code *)PTR_OPENSSL_sk_num_000bf93c)" (( "(") (pointer_expression "*(code *)PTR_OPENSSL_sk_num_000bf93c" (* "*") (cast_expression "(code *)PTR_OPENSSL_sk_num_000bf93c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_OPENSSL_sk_num_000bf93c"))) () ")")) (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")")))) (; ";")) (if_statement "if (iVar1 <= iVar4) break;" (if "if") (parenthesized_expression "(iVar1 <= iVar4)" (( "(") (binary_expression "iVar1 <= iVar4" (identifier "iVar1") (<= "<=") (identifier "iVar4")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);" (assignment_expression "iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4)" (parenthesized_expression "(*(code *)PTR_OPENSSL_sk_value_000c0bd4)" (( "(") (pointer_expression "*(code *)PTR_OPENSSL_sk_value_000c0bd4" (* "*") (cast_expression "(code *)PTR_OPENSSL_sk_value_000c0bd4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_OPENSSL_sk_value_000c0bd4"))) () ")")) (argument_list "(iVar2,iVar4)" (( "(") (identifier "iVar2") (, ",") (identifier "iVar4") () ")")))) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));" (assignment_expression "iVar3 = (*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4))" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_OBJ_create_000c022c)\n                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4))" (parenthesized_expression "(*(code *)PTR_OBJ_create_000c022c)" (( "(") (pointer_expression "*(code *)PTR_OBJ_create_000c022c" (* "*") (cast_expression "(code *)PTR_OBJ_create_000c022c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_OBJ_create_000c022c"))) () ")")) (argument_list "(*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4))" (( "(") (pointer_expression "*(undefined4 *)(iVar1 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar1 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")")))) () ")")))) (; ";")) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar3 == 0) {\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        (*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));\n        return 0;\n      }" ({ "{") (expression_statement "(*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8));" (call_expression "(*(code *)PTR_BIO_printf_000c0b94)\n                  (*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8))" (parenthesized_expression "(*(code *)PTR_BIO_printf_000c0b94)" (( "(") (pointer_expression "*(code *)PTR_BIO_printf_000c0b94" (* "*") (cast_expression "(code *)PTR_BIO_printf_000c0b94" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_BIO_printf_000c0b94"))) () ")")) (argument_list "(*(undefined4 *)PTR_bio_err_000bf3b0,\n                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),\n                   *(undefined4 *)(iVar1 + 8))" (( "(") (pointer_expression "*(undefined4 *)PTR_bio_err_000bf3b0" (* "*") (cast_expression "(undefined4 *)PTR_bio_err_000bf3b0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_bio_err_000bf3b0"))) (, ",") (binary_expression "PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4" (identifier "PTR_s_Can_t_parse___s__as_a_number_000bf3ac") (+ "+") (number_literal "-0xbb4")) (, ",") (pointer_expression "*(undefined4 *)(iVar1 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar1 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" (identifier "uVar5") (= "=") (number_literal "1")) (; ";")) (} "}")))) (return_statement "return uVar5;" (return "return") (identifier "uVar5") (; ";")) (} "}")))

int function_1(type_1 *conf)

{
  int var_2;
  int var_3;
  int var_5;
  int var_4;
  
  var_2 = (*(type_2 *)PTR_NCONF_get_string_000bfd1c)
                    (conf,0,var_1 + -0xbe0);
  if (var_2 == 0) {
    (*(type_2 *)PTR_ERR_clear_error_000c08c0)();
    return 1;
  }
  var_3 = (*(type_2 *)PTR_NCONF_get_section_000bf9d0)(conf,var_2);
  var_4 = 0;
  if (var_3 == 0) {
    var_4 = 0;
    (*(type_2 *)PTR_BIO_printf_000c0b94)
              (*(type_3 *)PTR_bio_err_000bf3b0,
               var_1 + -0xbd4,var_2);
  }
  else {
    while( true ) {
      var_2 = (*(type_2 *)PTR_OPENSSL_sk_num_000bf93c)(var_3);
      if (var_2 <= var_4) break;
      var_2 = (*(type_2 *)PTR_OPENSSL_sk_value_000c0bd4)(var_3,var_4);
      var_5 = (*(type_2 *)PTR_OBJ_create_000c022c)
                        (*(type_3 *)(var_2 + 8),*(type_3 *)(var_2 + 4));
      var_4 = var_4 + 1;
      if (var_5 == 0) {
        (*(type_2 *)PTR_BIO_printf_000c0b94)
                  (*(type_3 *)PTR_bio_err_000bf3b0,
                   var_1 + -0xbb4,*(type_3 *)(var_2 + 4),
                   *(type_3 *)(var_2 + 8));
        return 0;
      }
    }
    var_4 = 1;
  }
  return var_4;
}


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

undefined4 MASKED(undefined4 param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  undefined4 uVar5;
  
  iVar1 = (*(code *)PTR_NCONF_get_string_000bfd1c)
                    (param_1,0,PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbe0);
  if (iVar1 == 0) {
    (*(code *)PTR_ERR_clear_error_000c08c0)();
    return 1;
  }
  iVar2 = (*(code *)PTR_NCONF_get_section_000bf9d0)(param_1,iVar1);
  iVar4 = 0;
  if (iVar2 == 0) {
    uVar5 = 0;
    (*(code *)PTR_BIO_printf_000c0b94)
              (*(undefined4 *)PTR_bio_err_000bf3b0,
               PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbd4,iVar1);
  }
  else {
    while( true ) {
      iVar1 = (*(code *)PTR_OPENSSL_sk_num_000bf93c)(iVar2);
      if (iVar1 <= iVar4) break;
      iVar1 = (*(code *)PTR_OPENSSL_sk_value_000c0bd4)(iVar2,iVar4);
      iVar3 = (*(code *)PTR_OBJ_create_000c022c)
                        (*(undefined4 *)(iVar1 + 8),*(undefined4 *)(iVar1 + 4));
      iVar4 = iVar4 + 1;
      if (iVar3 == 0) {
        (*(code *)PTR_BIO_printf_000c0b94)
                  (*(undefined4 *)PTR_bio_err_000bf3b0,
                   PTR_s_Can_t_parse___s__as_a_number_000bf3ac + -0xbb4,*(undefined4 *)(iVar1 + 4),
                   *(undefined4 *)(iVar1 + 8));
        return 0;
      }
    }
    uVar5 = 1;
  }
  return uVar5;
}

