
void print_array(BIO *out,char *title,int len,uchar *d)

{
  int iVar1;
  ulong uVar2;
  bool bVar3;
  
  BIO_printf((BIO *)out,"unsigned char %s[%d] = {",title,(ulong)(uint)len);
  if (0 < len) {
    uVar2 = 0;
    do {
      iVar1 = (int)uVar2;
      if ((iVar1 / 10) * 10 == iVar1) {
        BIO_printf((BIO *)out,"\n    ");
      }
      if (iVar1 < len + -1) {
        BIO_printf((BIO *)out,"0x%02X, ",(ulong)d[uVar2]);
      }
      else {
        BIO_printf((BIO *)out,"0x%02X",(ulong)d[uVar2]);
      }
      bVar3 = uVar2 != len - 1;
      uVar2 = uVar2 + 1;
    } while (bVar3);
  }
  BIO_printf((BIO *)out,"\n};\n");
  return;
}



void FUN_0017bbe7(BIO *param_1,undefined8 param_2,uint param_3,long param_4)

{
  int iVar1;
  ulong uVar2;
  bool bVar3;
  
  BIO_printf(param_1,"unsigned char %s[%d] = {",param_2,(ulong)param_3);
  if (0 < (int)param_3) {
    uVar2 = 0;
    do {
      iVar1 = (int)uVar2;
      if ((iVar1 / 10) * 10 == iVar1) {
        BIO_printf(param_1,"\n    ");
      }
      if (iVar1 < (int)(param_3 - 1)) {
        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));
      }
      else {
        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));
      }
      bVar3 = uVar2 != param_3 - 1;
      uVar2 = uVar2 + 1;
    } while (bVar3);
  }
  BIO_printf(param_1,"\n};\n");
  return;
}


PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
MOV RBP,RDI
MOV R12D,EDX
MOV R13,RCX
MOV ECX,EDX
MOV RDX,RSI
LEA RSI,[0x1992e8]
MOV EAX,0x0
CALL 0x0012e210
TEST R12D,R12D
JLE 0x0017bca0
LEA R14D,[R12 + -0x1]
MOV EBX,0x0
SUB R12D,0x1
JMP 0x0017bc63
LEA RSI,[0x199301]
MOV RDI,RBP
MOV EAX,0x0
CALL 0x0012e210
JMP 0x0017bc7f
MOVZX EDX,byte ptr [R13 + RBX*0x1]
LEA RSI,[0x19a650]
MOV RDI,RBP
MOV EAX,0x0
CALL 0x0012e210
LEA RAX,[RBX + 0x1]
CMP RBX,R14
JZ 0x0017bca0
MOV RBX,RAX
MOV EDX,0x66666667
MOV EAX,EBX
IMUL EDX
SAR EDX,0x2
MOV EAX,EBX
SAR EAX,0x1f
SUB EDX,EAX
LEA EAX,[RDX + RDX*0x4]
ADD EAX,EAX
CMP EAX,EBX
JZ 0x0017bc27
CMP R12D,EBX
JLE 0x0017bc3d
MOVZX EDX,byte ptr [R13 + RBX*0x1]
LEA RSI,[0x199307]
MOV RDI,RBP
MOV EAX,0x0
CALL 0x0012e210
JMP 0x0017bc57
LEA RSI,[0x199310]
MOV RDI,RBP
MOV EAX,0x0
CALL 0x0012e210
POP RBX
POP RBP
POP R12
POP R13
POP R14
RET
(translation_unit "void FUN_0017bbe7(BIO *param_1,undefined8 param_2,uint param_3,long param_4)\n\n{\n  int iVar1;\n  ulong uVar2;\n  bool bVar3;\n  \n  BIO_printf(param_1,"unsigned char %s[%d] = {",param_2,(ulong)param_3);\n  if (0 < (int)param_3) {\n    uVar2 = 0;\n    do {\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf(param_1,"\n    ");\n      }\n      if (iVar1 < (int)(param_3 - 1)) {\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      bVar3 = uVar2 != param_3 - 1;\n      uVar2 = uVar2 + 1;\n    } while (bVar3);\n  }\n  BIO_printf(param_1,"\n};\n");\n  return;\n}\n\n" (function_definition "void FUN_0017bbe7(BIO *param_1,undefined8 param_2,uint param_3,long param_4)\n\n{\n  int iVar1;\n  ulong uVar2;\n  bool bVar3;\n  \n  BIO_printf(param_1,"unsigned char %s[%d] = {",param_2,(ulong)param_3);\n  if (0 < (int)param_3) {\n    uVar2 = 0;\n    do {\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf(param_1,"\n    ");\n      }\n      if (iVar1 < (int)(param_3 - 1)) {\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      bVar3 = uVar2 != param_3 - 1;\n      uVar2 = uVar2 + 1;\n    } while (bVar3);\n  }\n  BIO_printf(param_1,"\n};\n");\n  return;\n}" primitive_type (function_declarator "FUN_0017bbe7(BIO *param_1,undefined8 param_2,uint param_3,long param_4)" identifier (parameter_list "(BIO *param_1,undefined8 param_2,uint param_3,long param_4)" ( (parameter_declaration "BIO *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  int iVar1;\n  ulong uVar2;\n  bool bVar3;\n  \n  BIO_printf(param_1,"unsigned char %s[%d] = {",param_2,(ulong)param_3);\n  if (0 < (int)param_3) {\n    uVar2 = 0;\n    do {\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf(param_1,"\n    ");\n      }\n      if (iVar1 < (int)(param_3 - 1)) {\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      bVar3 = uVar2 != param_3 - 1;\n      uVar2 = uVar2 + 1;\n    } while (bVar3);\n  }\n  BIO_printf(param_1,"\n};\n");\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (expression_statement "BIO_printf(param_1,"unsigned char %s[%d] = {",param_2,(ulong)param_3);" (call_expression "BIO_printf(param_1,"unsigned char %s[%d] = {",param_2,(ulong)param_3)" identifier (argument_list "(param_1,"unsigned char %s[%d] = {",param_2,(ulong)param_3)" ( identifier , (string_literal ""unsigned char %s[%d] = {"" " string_content ") , identifier , (cast_expression "(ulong)param_3" ( (type_descriptor "ulong" type_identifier) ) identifier) ))) ;) (if_statement "if (0 < (int)param_3) {\n    uVar2 = 0;\n    do {\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf(param_1,"\n    ");\n      }\n      if (iVar1 < (int)(param_3 - 1)) {\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      bVar3 = uVar2 != param_3 - 1;\n      uVar2 = uVar2 + 1;\n    } while (bVar3);\n  }" if (parenthesized_expression "(0 < (int)param_3)" ( (binary_expression "0 < (int)param_3" number_literal < (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    uVar2 = 0;\n    do {\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf(param_1,"\n    ");\n      }\n      if (iVar1 < (int)(param_3 - 1)) {\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      bVar3 = uVar2 != param_3 - 1;\n      uVar2 = uVar2 + 1;\n    } while (bVar3);\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf(param_1,"\n    ");\n      }\n      if (iVar1 < (int)(param_3 - 1)) {\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      bVar3 = uVar2 != param_3 - 1;\n      uVar2 = uVar2 + 1;\n    } while (bVar3);" do (compound_statement "{\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf(param_1,"\n    ");\n      }\n      if (iVar1 < (int)(param_3 - 1)) {\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      bVar3 = uVar2 != param_3 - 1;\n      uVar2 = uVar2 + 1;\n    }" { (expression_statement "iVar1 = (int)uVar2;" (assignment_expression "iVar1 = (int)uVar2" identifier = (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf(param_1,"\n    ");\n      }" if (parenthesized_expression "((iVar1 / 10) * 10 == iVar1)" ( (binary_expression "(iVar1 / 10) * 10 == iVar1" (binary_expression "(iVar1 / 10) * 10" (parenthesized_expression "(iVar1 / 10)" ( (binary_expression "iVar1 / 10" identifier / number_literal) )) * number_literal) == identifier) )) (compound_statement "{\n        BIO_printf(param_1,"\n    ");\n      }" { (expression_statement "BIO_printf(param_1,"\n    ");" (call_expression "BIO_printf(param_1,"\n    ")" identifier (argument_list "(param_1,"\n    ")" ( identifier , (string_literal ""\n    "" " escape_sequence string_content ") ))) ;) })) (if_statement "if (iVar1 < (int)(param_3 - 1)) {\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }" if (parenthesized_expression "(iVar1 < (int)(param_3 - 1))" ( (binary_expression "iVar1 < (int)(param_3 - 1)" identifier < (cast_expression "(int)(param_3 - 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_3 - 1)" ( (binary_expression "param_3 - 1" identifier - number_literal) )))) )) (compound_statement "{\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }" { (expression_statement "BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));" (call_expression "BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2))" identifier (argument_list "(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2))" ( identifier , (string_literal ""0x%02X, "" " string_content ") , (binary_expression "(ulong)*(byte *)(param_4 + uVar2)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(byte *)(param_4 + uVar2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + uVar2)" ( (binary_expression "param_4 + uVar2" identifier + identifier) )))) ))) ;) }) (else_clause "else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }" else (compound_statement "{\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }" { (expression_statement "BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));" (call_expression "BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2))" identifier (argument_list "(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2))" ( identifier , (string_literal ""0x%02X"" " string_content ") , (binary_expression "(ulong)*(byte *)(param_4 + uVar2)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(byte *)(param_4 + uVar2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + uVar2)" ( (binary_expression "param_4 + uVar2" identifier + identifier) )))) ))) ;) }))) (expression_statement "bVar3 = uVar2 != param_3 - 1;" (assignment_expression "bVar3 = uVar2 != param_3 - 1" identifier = (binary_expression "uVar2 != param_3 - 1" identifier != (binary_expression "param_3 - 1" identifier - number_literal))) ;) (expression_statement "uVar2 = uVar2 + 1;" (assignment_expression "uVar2 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar3)" ( identifier )) ;) })) (expression_statement "BIO_printf(param_1,"\n};\n");" (call_expression "BIO_printf(param_1,"\n};\n")" identifier (argument_list "(param_1,"\n};\n")" ( identifier , (string_literal ""\n};\n"" " escape_sequence string_content escape_sequence ") ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void print_array(BIO *out,char *title,int len,uchar *d)\n\n{\n  int iVar1;\n  ulong uVar2;\n  bool bVar3;\n  \n  BIO_printf((BIO *)out,"unsigned char %s[%d] = {",title,(ulong)(uint)len);\n  if (0 < len) {\n    uVar2 = 0;\n    do {\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf((BIO *)out,"\n    ");\n      }\n      if (iVar1 < len + -1) {\n        BIO_printf((BIO *)out,"0x%02X, ",(ulong)d[uVar2]);\n      }\n      else {\n        BIO_printf((BIO *)out,"0x%02X",(ulong)d[uVar2]);\n      }\n      bVar3 = uVar2 != len - 1;\n      uVar2 = uVar2 + 1;\n    } while (bVar3);\n  }\n  BIO_printf((BIO *)out,"\n};\n");\n  return;\n}\n\n" (function_definition "void print_array(BIO *out,char *title,int len,uchar *d)\n\n{\n  int iVar1;\n  ulong uVar2;\n  bool bVar3;\n  \n  BIO_printf((BIO *)out,"unsigned char %s[%d] = {",title,(ulong)(uint)len);\n  if (0 < len) {\n    uVar2 = 0;\n    do {\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf((BIO *)out,"\n    ");\n      }\n      if (iVar1 < len + -1) {\n        BIO_printf((BIO *)out,"0x%02X, ",(ulong)d[uVar2]);\n      }\n      else {\n        BIO_printf((BIO *)out,"0x%02X",(ulong)d[uVar2]);\n      }\n      bVar3 = uVar2 != len - 1;\n      uVar2 = uVar2 + 1;\n    } while (bVar3);\n  }\n  BIO_printf((BIO *)out,"\n};\n");\n  return;\n}" primitive_type (function_declarator "print_array(BIO *out,char *title,int len,uchar *d)" identifier (parameter_list "(BIO *out,char *title,int len,uchar *d)" ( (parameter_declaration "BIO *out" type_identifier (pointer_declarator "*out" * identifier)) , (parameter_declaration "char *title" primitive_type (pointer_declarator "*title" * identifier)) , (parameter_declaration "int len" primitive_type identifier) , (parameter_declaration "uchar *d" type_identifier (pointer_declarator "*d" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  ulong uVar2;\n  bool bVar3;\n  \n  BIO_printf((BIO *)out,"unsigned char %s[%d] = {",title,(ulong)(uint)len);\n  if (0 < len) {\n    uVar2 = 0;\n    do {\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf((BIO *)out,"\n    ");\n      }\n      if (iVar1 < len + -1) {\n        BIO_printf((BIO *)out,"0x%02X, ",(ulong)d[uVar2]);\n      }\n      else {\n        BIO_printf((BIO *)out,"0x%02X",(ulong)d[uVar2]);\n      }\n      bVar3 = uVar2 != len - 1;\n      uVar2 = uVar2 + 1;\n    } while (bVar3);\n  }\n  BIO_printf((BIO *)out,"\n};\n");\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (expression_statement "BIO_printf((BIO *)out,"unsigned char %s[%d] = {",title,(ulong)(uint)len);" (call_expression "BIO_printf((BIO *)out,"unsigned char %s[%d] = {",title,(ulong)(uint)len)" identifier (argument_list "((BIO *)out,"unsigned char %s[%d] = {",title,(ulong)(uint)len)" ( (cast_expression "(BIO *)out" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""unsigned char %s[%d] = {"" " string_content ") , identifier , (cast_expression "(ulong)(uint)len" ( (type_descriptor "ulong" type_identifier) ) (cast_expression "(uint)len" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) ;) (if_statement "if (0 < len) {\n    uVar2 = 0;\n    do {\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf((BIO *)out,"\n    ");\n      }\n      if (iVar1 < len + -1) {\n        BIO_printf((BIO *)out,"0x%02X, ",(ulong)d[uVar2]);\n      }\n      else {\n        BIO_printf((BIO *)out,"0x%02X",(ulong)d[uVar2]);\n      }\n      bVar3 = uVar2 != len - 1;\n      uVar2 = uVar2 + 1;\n    } while (bVar3);\n  }" if (parenthesized_expression "(0 < len)" ( (binary_expression "0 < len" number_literal < identifier) )) (compound_statement "{\n    uVar2 = 0;\n    do {\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf((BIO *)out,"\n    ");\n      }\n      if (iVar1 < len + -1) {\n        BIO_printf((BIO *)out,"0x%02X, ",(ulong)d[uVar2]);\n      }\n      else {\n        BIO_printf((BIO *)out,"0x%02X",(ulong)d[uVar2]);\n      }\n      bVar3 = uVar2 != len - 1;\n      uVar2 = uVar2 + 1;\n    } while (bVar3);\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf((BIO *)out,"\n    ");\n      }\n      if (iVar1 < len + -1) {\n        BIO_printf((BIO *)out,"0x%02X, ",(ulong)d[uVar2]);\n      }\n      else {\n        BIO_printf((BIO *)out,"0x%02X",(ulong)d[uVar2]);\n      }\n      bVar3 = uVar2 != len - 1;\n      uVar2 = uVar2 + 1;\n    } while (bVar3);" do (compound_statement "{\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf((BIO *)out,"\n    ");\n      }\n      if (iVar1 < len + -1) {\n        BIO_printf((BIO *)out,"0x%02X, ",(ulong)d[uVar2]);\n      }\n      else {\n        BIO_printf((BIO *)out,"0x%02X",(ulong)d[uVar2]);\n      }\n      bVar3 = uVar2 != len - 1;\n      uVar2 = uVar2 + 1;\n    }" { (expression_statement "iVar1 = (int)uVar2;" (assignment_expression "iVar1 = (int)uVar2" identifier = (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf((BIO *)out,"\n    ");\n      }" if (parenthesized_expression "((iVar1 / 10) * 10 == iVar1)" ( (binary_expression "(iVar1 / 10) * 10 == iVar1" (binary_expression "(iVar1 / 10) * 10" (parenthesized_expression "(iVar1 / 10)" ( (binary_expression "iVar1 / 10" identifier / number_literal) )) * number_literal) == identifier) )) (compound_statement "{\n        BIO_printf((BIO *)out,"\n    ");\n      }" { (expression_statement "BIO_printf((BIO *)out,"\n    ");" (call_expression "BIO_printf((BIO *)out,"\n    ")" identifier (argument_list "((BIO *)out,"\n    ")" ( (cast_expression "(BIO *)out" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""\n    "" " escape_sequence string_content ") ))) ;) })) (if_statement "if (iVar1 < len + -1) {\n        BIO_printf((BIO *)out,"0x%02X, ",(ulong)d[uVar2]);\n      }\n      else {\n        BIO_printf((BIO *)out,"0x%02X",(ulong)d[uVar2]);\n      }" if (parenthesized_expression "(iVar1 < len + -1)" ( (binary_expression "iVar1 < len + -1" identifier < (binary_expression "len + -1" identifier + number_literal)) )) (compound_statement "{\n        BIO_printf((BIO *)out,"0x%02X, ",(ulong)d[uVar2]);\n      }" { (expression_statement "BIO_printf((BIO *)out,"0x%02X, ",(ulong)d[uVar2]);" (call_expression "BIO_printf((BIO *)out,"0x%02X, ",(ulong)d[uVar2])" identifier (argument_list "((BIO *)out,"0x%02X, ",(ulong)d[uVar2])" ( (cast_expression "(BIO *)out" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""0x%02X, "" " string_content ") , (cast_expression "(ulong)d[uVar2]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "d[uVar2]" identifier [ identifier ])) ))) ;) }) (else_clause "else {\n        BIO_printf((BIO *)out,"0x%02X",(ulong)d[uVar2]);\n      }" else (compound_statement "{\n        BIO_printf((BIO *)out,"0x%02X",(ulong)d[uVar2]);\n      }" { (expression_statement "BIO_printf((BIO *)out,"0x%02X",(ulong)d[uVar2]);" (call_expression "BIO_printf((BIO *)out,"0x%02X",(ulong)d[uVar2])" identifier (argument_list "((BIO *)out,"0x%02X",(ulong)d[uVar2])" ( (cast_expression "(BIO *)out" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""0x%02X"" " string_content ") , (cast_expression "(ulong)d[uVar2]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "d[uVar2]" identifier [ identifier ])) ))) ;) }))) (expression_statement "bVar3 = uVar2 != len - 1;" (assignment_expression "bVar3 = uVar2 != len - 1" identifier = (binary_expression "uVar2 != len - 1" identifier != (binary_expression "len - 1" identifier - number_literal))) ;) (expression_statement "uVar2 = uVar2 + 1;" (assignment_expression "uVar2 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar3)" ( identifier )) ;) })) (expression_statement "BIO_printf((BIO *)out,"\n};\n");" (call_expression "BIO_printf((BIO *)out,"\n};\n")" identifier (argument_list "((BIO *)out,"\n};\n")" ( (cast_expression "(BIO *)out" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""\n};\n"" " escape_sequence string_content escape_sequence ") ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0017bbe7(BIO *param_1,undefined8 param_2,uint param_3,long param_4)\n\n{\n  int iVar1;\n  ulong uVar2;\n  bool bVar3;\n  \n  BIO_printf(param_1,"unsigned char %s[%d] = {",param_2,(ulong)param_3);\n  if (0 < (int)param_3) {\n    uVar2 = 0;\n    do {\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf(param_1,"\n    ");\n      }\n      if (iVar1 < (int)(param_3 - 1)) {\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      bVar3 = uVar2 != param_3 - 1;\n      uVar2 = uVar2 + 1;\n    } while (bVar3);\n  }\n  BIO_printf(param_1,"\n};\n");\n  return;\n}\n\n" (function_definition "void FUN_0017bbe7(BIO *param_1,undefined8 param_2,uint param_3,long param_4)\n\n{\n  int iVar1;\n  ulong uVar2;\n  bool bVar3;\n  \n  BIO_printf(param_1,"unsigned char %s[%d] = {",param_2,(ulong)param_3);\n  if (0 < (int)param_3) {\n    uVar2 = 0;\n    do {\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf(param_1,"\n    ");\n      }\n      if (iVar1 < (int)(param_3 - 1)) {\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      bVar3 = uVar2 != param_3 - 1;\n      uVar2 = uVar2 + 1;\n    } while (bVar3);\n  }\n  BIO_printf(param_1,"\n};\n");\n  return;\n}" primitive_type (function_declarator "FUN_0017bbe7(BIO *param_1,undefined8 param_2,uint param_3,long param_4)" identifier (parameter_list "(BIO *param_1,undefined8 param_2,uint param_3,long param_4)" ( (parameter_declaration "BIO *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  int iVar1;\n  ulong uVar2;\n  bool bVar3;\n  \n  BIO_printf(param_1,"unsigned char %s[%d] = {",param_2,(ulong)param_3);\n  if (0 < (int)param_3) {\n    uVar2 = 0;\n    do {\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf(param_1,"\n    ");\n      }\n      if (iVar1 < (int)(param_3 - 1)) {\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      bVar3 = uVar2 != param_3 - 1;\n      uVar2 = uVar2 + 1;\n    } while (bVar3);\n  }\n  BIO_printf(param_1,"\n};\n");\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (expression_statement "BIO_printf(param_1,"unsigned char %s[%d] = {",param_2,(ulong)param_3);" (call_expression "BIO_printf(param_1,"unsigned char %s[%d] = {",param_2,(ulong)param_3)" identifier (argument_list "(param_1,"unsigned char %s[%d] = {",param_2,(ulong)param_3)" ( identifier , (string_literal ""unsigned char %s[%d] = {"" " string_content ") , identifier , (cast_expression "(ulong)param_3" ( (type_descriptor "ulong" type_identifier) ) identifier) ))) ;) (if_statement "if (0 < (int)param_3) {\n    uVar2 = 0;\n    do {\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf(param_1,"\n    ");\n      }\n      if (iVar1 < (int)(param_3 - 1)) {\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      bVar3 = uVar2 != param_3 - 1;\n      uVar2 = uVar2 + 1;\n    } while (bVar3);\n  }" if (parenthesized_expression "(0 < (int)param_3)" ( (binary_expression "0 < (int)param_3" number_literal < (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    uVar2 = 0;\n    do {\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf(param_1,"\n    ");\n      }\n      if (iVar1 < (int)(param_3 - 1)) {\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      bVar3 = uVar2 != param_3 - 1;\n      uVar2 = uVar2 + 1;\n    } while (bVar3);\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf(param_1,"\n    ");\n      }\n      if (iVar1 < (int)(param_3 - 1)) {\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      bVar3 = uVar2 != param_3 - 1;\n      uVar2 = uVar2 + 1;\n    } while (bVar3);" do (compound_statement "{\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf(param_1,"\n    ");\n      }\n      if (iVar1 < (int)(param_3 - 1)) {\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      bVar3 = uVar2 != param_3 - 1;\n      uVar2 = uVar2 + 1;\n    }" { (expression_statement "iVar1 = (int)uVar2;" (assignment_expression "iVar1 = (int)uVar2" identifier = (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf(param_1,"\n    ");\n      }" if (parenthesized_expression "((iVar1 / 10) * 10 == iVar1)" ( (binary_expression "(iVar1 / 10) * 10 == iVar1" (binary_expression "(iVar1 / 10) * 10" (parenthesized_expression "(iVar1 / 10)" ( (binary_expression "iVar1 / 10" identifier / number_literal) )) * number_literal) == identifier) )) (compound_statement "{\n        BIO_printf(param_1,"\n    ");\n      }" { (expression_statement "BIO_printf(param_1,"\n    ");" (call_expression "BIO_printf(param_1,"\n    ")" identifier (argument_list "(param_1,"\n    ")" ( identifier , (string_literal ""\n    "" " escape_sequence string_content ") ))) ;) })) (if_statement "if (iVar1 < (int)(param_3 - 1)) {\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }" if (parenthesized_expression "(iVar1 < (int)(param_3 - 1))" ( (binary_expression "iVar1 < (int)(param_3 - 1)" identifier < (cast_expression "(int)(param_3 - 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_3 - 1)" ( (binary_expression "param_3 - 1" identifier - number_literal) )))) )) (compound_statement "{\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }" { (expression_statement "BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));" (call_expression "BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2))" identifier (argument_list "(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2))" ( identifier , (string_literal ""0x%02X, "" " string_content ") , (binary_expression "(ulong)*(byte *)(param_4 + uVar2)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(byte *)(param_4 + uVar2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + uVar2)" ( (binary_expression "param_4 + uVar2" identifier + identifier) )))) ))) ;) }) (else_clause "else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }" else (compound_statement "{\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }" { (expression_statement "BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));" (call_expression "BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2))" identifier (argument_list "(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2))" ( identifier , (string_literal ""0x%02X"" " string_content ") , (binary_expression "(ulong)*(byte *)(param_4 + uVar2)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(byte *)(param_4 + uVar2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + uVar2)" ( (binary_expression "param_4 + uVar2" identifier + identifier) )))) ))) ;) }))) (expression_statement "bVar3 = uVar2 != param_3 - 1;" (assignment_expression "bVar3 = uVar2 != param_3 - 1" identifier = (binary_expression "uVar2 != param_3 - 1" identifier != (binary_expression "param_3 - 1" identifier - number_literal))) ;) (expression_statement "uVar2 = uVar2 + 1;" (assignment_expression "uVar2 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar3)" ( identifier )) ;) })) (expression_statement "BIO_printf(param_1,"\n};\n");" (call_expression "BIO_printf(param_1,"\n};\n")" identifier (argument_list "(param_1,"\n};\n")" ( identifier , (string_literal ""\n};\n"" " escape_sequence string_content escape_sequence ") ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT / LIT) )) * LIT) == IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " escape_sequence string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - LIT) )))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ))) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT != (binary_expression IDENT - LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " escape_sequence string_content escape_sequence ") ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0017bbe7(BIO *param_1,undefined8 param_2,uint param_3,long param_4)\n\n{\n  int iVar1;\n  ulong uVar2;\n  bool bVar3;\n  \n  BIO_printf(param_1,"unsigned char %s[%d] = {",param_2,(ulong)param_3);\n  if (0 < (int)param_3) {\n    uVar2 = 0;\n    do {\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf(param_1,"\n    ");\n      }\n      if (iVar1 < (int)(param_3 - 1)) {\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      bVar3 = uVar2 != param_3 - 1;\n      uVar2 = uVar2 + 1;\n    } while (bVar3);\n  }\n  BIO_printf(param_1,"\n};\n");\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0017bbe7(BIO *param_1,undefined8 param_2,uint param_3,long param_4)" (identifier "FUN_0017bbe7") (parameter_list "(BIO *param_1,undefined8 param_2,uint param_3,long param_4)" (( "(") (parameter_declaration "BIO *param_1" (type_identifier "BIO") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "long param_4" (sized_type_specifier "long" (long "long")) (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  ulong uVar2;\n  bool bVar3;\n  \n  BIO_printf(param_1,"unsigned char %s[%d] = {",param_2,(ulong)param_3);\n  if (0 < (int)param_3) {\n    uVar2 = 0;\n    do {\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf(param_1,"\n    ");\n      }\n      if (iVar1 < (int)(param_3 - 1)) {\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      bVar3 = uVar2 != param_3 - 1;\n      uVar2 = uVar2 + 1;\n    } while (bVar3);\n  }\n  BIO_printf(param_1,"\n};\n");\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "ulong uVar2;" (type_identifier "ulong") (identifier "uVar2") (; ";")) (declaration "bool bVar3;" (primitive_type "bool") (identifier "bVar3") (; ";")) (expression_statement "BIO_printf(param_1,"unsigned char %s[%d] = {",param_2,(ulong)param_3);" (call_expression "BIO_printf(param_1,"unsigned char %s[%d] = {",param_2,(ulong)param_3)" (identifier "BIO_printf") (argument_list "(param_1,"unsigned char %s[%d] = {",param_2,(ulong)param_3)" (( "(") (identifier "param_1") (, ",") (string_literal ""unsigned char %s[%d] = {"" (" """) (string_content "unsigned char %s[%d] = {") (" """)) (, ",") (identifier "param_2") (, ",") (cast_expression "(ulong)param_3" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "param_3")) () ")"))) (; ";")) (if_statement "if (0 < (int)param_3) {\n    uVar2 = 0;\n    do {\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf(param_1,"\n    ");\n      }\n      if (iVar1 < (int)(param_3 - 1)) {\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      bVar3 = uVar2 != param_3 - 1;\n      uVar2 = uVar2 + 1;\n    } while (bVar3);\n  }" (if "if") (parenthesized_expression "(0 < (int)param_3)" (( "(") (binary_expression "0 < (int)param_3" (number_literal "0") (< "<") (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3"))) () ")")) (compound_statement "{\n    uVar2 = 0;\n    do {\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf(param_1,"\n    ");\n      }\n      if (iVar1 < (int)(param_3 - 1)) {\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      bVar3 = uVar2 != param_3 - 1;\n      uVar2 = uVar2 + 1;\n    } while (bVar3);\n  }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf(param_1,"\n    ");\n      }\n      if (iVar1 < (int)(param_3 - 1)) {\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      bVar3 = uVar2 != param_3 - 1;\n      uVar2 = uVar2 + 1;\n    } while (bVar3);" (do "do") (compound_statement "{\n      iVar1 = (int)uVar2;\n      if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf(param_1,"\n    ");\n      }\n      if (iVar1 < (int)(param_3 - 1)) {\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      bVar3 = uVar2 != param_3 - 1;\n      uVar2 = uVar2 + 1;\n    }" ({ "{") (expression_statement "iVar1 = (int)uVar2;" (assignment_expression "iVar1 = (int)uVar2" (identifier "iVar1") (= "=") (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2"))) (; ";")) (if_statement "if ((iVar1 / 10) * 10 == iVar1) {\n        BIO_printf(param_1,"\n    ");\n      }" (if "if") (parenthesized_expression "((iVar1 / 10) * 10 == iVar1)" (( "(") (binary_expression "(iVar1 / 10) * 10 == iVar1" (binary_expression "(iVar1 / 10) * 10" (parenthesized_expression "(iVar1 / 10)" (( "(") (binary_expression "iVar1 / 10" (identifier "iVar1") (/ "/") (number_literal "10")) () ")")) (* "*") (number_literal "10")) (== "==") (identifier "iVar1")) () ")")) (compound_statement "{\n        BIO_printf(param_1,"\n    ");\n      }" ({ "{") (expression_statement "BIO_printf(param_1,"\n    ");" (call_expression "BIO_printf(param_1,"\n    ")" (identifier "BIO_printf") (argument_list "(param_1,"\n    ")" (( "(") (identifier "param_1") (, ",") (string_literal ""\n    "" (" """) (escape_sequence "\n") (string_content "    ") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (iVar1 < (int)(param_3 - 1)) {\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }\n      else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }" (if "if") (parenthesized_expression "(iVar1 < (int)(param_3 - 1))" (( "(") (binary_expression "iVar1 < (int)(param_3 - 1)" (identifier "iVar1") (< "<") (cast_expression "(int)(param_3 - 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_3 - 1)" (( "(") (binary_expression "param_3 - 1" (identifier "param_3") (- "-") (number_literal "1")) () ")")))) () ")")) (compound_statement "{\n        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));\n      }" ({ "{") (expression_statement "BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));" (call_expression "BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2))" (identifier "BIO_printf") (argument_list "(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2))" (( "(") (identifier "param_1") (, ",") (string_literal ""0x%02X, "" (" """) (string_content "0x%02X, ") (" """)) (, ",") (binary_expression "(ulong)*(byte *)(param_4 + uVar2)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (cast_expression "(byte *)(param_4 + uVar2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + uVar2)" (( "(") (binary_expression "param_4 + uVar2" (identifier "param_4") (+ "+") (identifier "uVar2")) () ")")))) () ")"))) (; ";")) (} "}")) (else_clause "else {\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }" (else "else") (compound_statement "{\n        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));\n      }" ({ "{") (expression_statement "BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));" (call_expression "BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2))" (identifier "BIO_printf") (argument_list "(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2))" (( "(") (identifier "param_1") (, ",") (string_literal ""0x%02X"" (" """) (string_content "0x%02X") (" """)) (, ",") (binary_expression "(ulong)*(byte *)(param_4 + uVar2)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (cast_expression "(byte *)(param_4 + uVar2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + uVar2)" (( "(") (binary_expression "param_4 + uVar2" (identifier "param_4") (+ "+") (identifier "uVar2")) () ")")))) () ")"))) (; ";")) (} "}")))) (expression_statement "bVar3 = uVar2 != param_3 - 1;" (assignment_expression "bVar3 = uVar2 != param_3 - 1" (identifier "bVar3") (= "=") (binary_expression "uVar2 != param_3 - 1" (identifier "uVar2") (!= "!=") (binary_expression "param_3 - 1" (identifier "param_3") (- "-") (number_literal "1")))) (; ";")) (expression_statement "uVar2 = uVar2 + 1;" (assignment_expression "uVar2 = uVar2 + 1" (identifier "uVar2") (= "=") (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar3)" (( "(") (identifier "bVar3") () ")")) (; ";")) (} "}"))) (expression_statement "BIO_printf(param_1,"\n};\n");" (call_expression "BIO_printf(param_1,"\n};\n")" (identifier "BIO_printf") (argument_list "(param_1,"\n};\n")" (( "(") (identifier "param_1") (, ",") (string_literal ""\n};\n"" (" """) (escape_sequence "\n") (string_content "};") (escape_sequence "\n") (" """)) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *out,char *title,int var_2,type_2 *d)

{
  int var_3;
  type_3 var_4;
  bool bVar3;
  
  var_1((type_1 *)out,"unsigned char %s[%d] = {",title,(type_3)(type_4)var_2);
  if (0 < var_2) {
    var_4 = 0;
    do {
      var_3 = (int)var_4;
      if ((var_3 / 10) * 10 == var_3) {
        var_1((type_1 *)out,"\n    ");
      }
      if (var_3 < var_2 + -1) {
        var_1((type_1 *)out,"0x%02X, ",(type_3)d[var_4]);
      }
      else {
        var_1((type_1 *)out,"0x%02X",(type_3)d[var_4]);
      }
      bVar3 = var_4 != var_2 - 1;
      var_4 = var_4 + 1;
    } while (bVar3);
  }
  var_1((type_1 *)out,"\n};\n");
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (identifier) (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (escape_sequence) (string_content))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (escape_sequence) (string_content) (escape_sequence))))) (return_statement))))

void MASKED(BIO *param_1,undefined8 param_2,uint param_3,long param_4)

{
  int iVar1;
  ulong uVar2;
  bool bVar3;
  
  BIO_printf(param_1,"unsigned char %s[%d] = {",param_2,(ulong)param_3);
  if (0 < (int)param_3) {
    uVar2 = 0;
    do {
      iVar1 = (int)uVar2;
      if ((iVar1 / 10) * 10 == iVar1) {
        BIO_printf(param_1,"\n    ");
      }
      if (iVar1 < (int)(param_3 - 1)) {
        BIO_printf(param_1,"0x%02X, ",(ulong)*(byte *)(param_4 + uVar2));
      }
      else {
        BIO_printf(param_1,"0x%02X",(ulong)*(byte *)(param_4 + uVar2));
      }
      bVar3 = uVar2 != param_3 - 1;
      uVar2 = uVar2 + 1;
    } while (bVar3);
  }
  BIO_printf(param_1,"\n};\n");
  return;
}

