
/* WARNING: Unknown calling convention */

int rc5_test(void)

{
  int iVar1;
  anon_struct_32_3_a3e14be4 *key_00;
  int which;
  long in_FS_OFFSET;
  uchar tmp [2] [8];
  symmetric_key key;
  long local_40;
  
  which = 0;
  key_00 = rc5_test::tests;
  local_40 = *(long *)(in_FS_OFFSET + 0x28);
  do {
    iVar1 = rc5_setup(key_00->key,0x10,0xc,&key);
    if (iVar1 != 0) break;
    rc5_ecb_encrypt(key_00->pt,tmp[0],&key);
    rc5_ecb_decrypt(tmp[0],tmp[1],&key);
    iVar1 = compare_testvector(tmp,8,key_00->ct,8,"RC5 Encrypt",which);
    if (iVar1 != 0) {
LAB_00124822:
      iVar1 = 5;
      break;
    }
    iVar1 = compare_testvector(tmp + 1,8,key_00->pt,8,"RC5 Decrypt",which);
    if (iVar1 != 0) goto LAB_00124822;
    tmp[0][0] = '\0';
    tmp[0][1] = '\0';
    tmp[0][2] = '\0';
    tmp[0][3] = '\0';
    tmp[0][4] = '\0';
    tmp[0][5] = '\0';
    tmp[0][6] = '\0';
    tmp[0][7] = '\0';
    iVar1 = 1000;
    do {
      rc5_ecb_encrypt(tmp[0],tmp[0],&key);
      rc5_ecb_encrypt(tmp[0],tmp[0],&key);
      rc5_ecb_encrypt(tmp[0],tmp[0],&key);
      rc5_ecb_encrypt(tmp[0],tmp[0],&key);
      rc5_ecb_encrypt(tmp[0],tmp[0],&key);
      rc5_ecb_encrypt(tmp[0],tmp[0],&key);
      rc5_ecb_encrypt(tmp[0],tmp[0],&key);
      rc5_ecb_encrypt(tmp[0],tmp[0],&key);
      iVar1 = iVar1 + -8;
    } while (iVar1 != 0);
    iVar1 = 1000;
    do {
      rc5_ecb_decrypt(tmp[0],tmp[0],&key);
      rc5_ecb_decrypt(tmp[0],tmp[0],&key);
      rc5_ecb_decrypt(tmp[0],tmp[0],&key);
      rc5_ecb_decrypt(tmp[0],tmp[0],&key);
      rc5_ecb_decrypt(tmp[0],tmp[0],&key);
      rc5_ecb_decrypt(tmp[0],tmp[0],&key);
      rc5_ecb_decrypt(tmp[0],tmp[0],&key);
      rc5_ecb_decrypt(tmp[0],tmp[0],&key);
      iVar1 = iVar1 + -8;
    } while (iVar1 != 0);
    if (((((((tmp[0][0] != '\0' || tmp[0][1] != '\0') || tmp[0][2] != '\0') || tmp[0][3] != '\0') ||
          tmp[0][4] != '\0') || tmp[0][5] != '\0') || tmp[0][6] != '\0') || tmp[0][7] != '\0')
    goto LAB_00124822;
    which = which + 1;
    key_00 = key_00 + 1;
    iVar1 = 0;
  } while (which != 3);
  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {
    return iVar1;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}



int rc5_test(void)

{
  int iVar1;
  undefined *puVar2;
  int iVar3;
  long in_FS_OFFSET;
  undefined8 local_10f8;
  undefined1 local_10f0 [8];
  undefined1 local_10e8 [4264];
  long local_40;
  
  iVar3 = 0;
  puVar2 = &DAT_001b74c0;
  local_40 = *(long *)(in_FS_OFFSET + 0x28);
  do {
    iVar1 = rc5_setup(puVar2,0x10,0xc,local_10e8);
    if (iVar1 != 0) break;
    rc5_ecb_encrypt(puVar2 + 0x10,&local_10f8,local_10e8);
    rc5_ecb_decrypt(&local_10f8,local_10f0,local_10e8);
    iVar1 = compare_testvector(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3);
    if (iVar1 != 0) {
LAB_00124822:
      iVar1 = 5;
      break;
    }
    iVar1 = compare_testvector(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3);
    if (iVar1 != 0) goto LAB_00124822;
    local_10f8 = 0;
    iVar1 = 1000;
    do {
      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);
      iVar1 = iVar1 + -8;
    } while (iVar1 != 0);
    iVar1 = 1000;
    do {
      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);
      iVar1 = iVar1 + -8;
    } while (iVar1 != 0);
    if ((((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||
           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||
        local_10f8._6_1_ != '\0') || local_10f8._7_1_ != '\0') goto LAB_00124822;
    iVar3 = iVar3 + 1;
    puVar2 = puVar2 + 0x20;
    iVar1 = 0;
  } while (iVar3 != 3);
  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {
    return iVar1;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}


PUSH R15
XOR R15D,R15D
PUSH R14
PUSH R13
LEA R13,[0x1b74c0]
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x10c8
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RSP + 0x10b8],RAX
XOR EAX,EAX
LEA RBP,[RSP + 0x10]
MOV RBX,RSP
MOV RCX,RBP
MOV EDX,0xc
MOV ESI,0x10
MOV RDI,R13
CALL 0x00113830
MOV R14D,EAX
TEST EAX,EAX
JNZ 0x001247fa
LEA R14,[R13 + 0x10]
MOV RDX,RBP
LEA R12,[RBX + 0x8]
MOV RSI,RBX
MOV RDI,R14
CALL 0x00114790
MOV RDX,RBP
MOV RSI,R12
MOV RDI,RBX
CALL 0x00114500
LEA RDX,[R13 + 0x18]
MOV R9D,R15D
MOV RDI,RBX
LEA R8,[0x1b74a2]
MOV ECX,0x8
MOV ESI,0x8
CALL 0x001143c0
TEST EAX,EAX
JNZ 0x00124822
MOV RDX,R14
MOV R9D,R15D
LEA R8,[0x1b74ae]
MOV RDI,R12
MOV ECX,0x8
MOV ESI,0x8
CALL 0x001143c0
MOV R14D,EAX
TEST EAX,EAX
JNZ 0x00124822
MOV qword ptr [RSP],0x0
MOV R12D,0x3e8
NOP word ptr [RAX + RAX*0x1]
MOV RDX,RBP
MOV RSI,RBX
MOV RDI,RBX
CALL 0x00114790
MOV RDX,RBP
MOV RSI,RBX
MOV RDI,RBX
CALL 0x00114790
MOV RDX,RBP
MOV RSI,RBX
MOV RDI,RBX
CALL 0x00114790
MOV RDX,RBP
MOV RSI,RBX
MOV RDI,RBX
CALL 0x00114790
MOV RDX,RBP
MOV RSI,RBX
MOV RDI,RBX
CALL 0x00114790
MOV RDX,RBP
MOV RSI,RBX
MOV RDI,RBX
CALL 0x00114790
MOV RDX,RBP
MOV RSI,RBX
MOV RDI,RBX
CALL 0x00114790
MOV RDX,RBP
MOV RSI,RBX
MOV RDI,RBX
CALL 0x00114790
SUB R12D,0x8
JNZ 0x001246d0
MOV R12D,0x3e8
NOP dword ptr [RAX]
MOV RDX,RBP
MOV RSI,RBX
MOV RDI,RBX
CALL 0x00114500
MOV RDX,RBP
MOV RSI,RBX
MOV RDI,RBX
CALL 0x00114500
MOV RDX,RBP
MOV RSI,RBX
MOV RDI,RBX
CALL 0x00114500
MOV RDX,RBP
MOV RSI,RBX
MOV RDI,RBX
CALL 0x00114500
MOV RDX,RBP
MOV RSI,RBX
MOV RDI,RBX
CALL 0x00114500
MOV RDX,RBP
MOV RSI,RBX
MOV RDI,RBX
CALL 0x00114500
MOV RDX,RBP
MOV RSI,RBX
MOV RDI,RBX
CALL 0x00114500
MOV RDX,RBP
MOV RSI,RBX
MOV RDI,RBX
CALL 0x00114500
SUB R12D,0x8
JNZ 0x00124750
MOVZX EAX,byte ptr [RSP]
OR AL,byte ptr [RSP + 0x1]
OR AL,byte ptr [RSP + 0x2]
OR AL,byte ptr [RSP + 0x3]
OR AL,byte ptr [RSP + 0x4]
OR AL,byte ptr [RSP + 0x5]
OR AL,byte ptr [RSP + 0x6]
OR AL,byte ptr [RSP + 0x7]
JNZ 0x00124822
ADD R15D,0x1
ADD R13,0x20
CMP R15D,0x3
JNZ 0x00124626
MOV RCX,qword ptr [RSP + 0x10b8]
XOR RCX,qword ptr FS:[0x28]
MOV EAX,R14D
JNZ 0x0012482a
ADD RSP,0x10c8
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV R14D,0x5
JMP 0x001247fa
CALL 0x00113880
(translation_unit "int rc5_test(void)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  long in_FS_OFFSET;\n  undefined8 local_10f8;\n  undefined1 local_10f0 [8];\n  undefined1 local_10e8 [4264];\n  long local_40;\n  \n  iVar3 = 0;\n  puVar2 = &DAT_001b74c0;\n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  do {\n    iVar1 = rc5_setup(puVar2,0x10,0xc,local_10e8);\n    if (iVar1 != 0) break;\n    rc5_ecb_encrypt(puVar2 + 0x10,&local_10f8,local_10e8);\n    rc5_ecb_decrypt(&local_10f8,local_10f0,local_10e8);\n    iVar1 = compare_testvector(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3);\n    if (iVar1 != 0) {\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }\n    iVar1 = compare_testvector(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3);\n    if (iVar1 != 0) goto LAB_00124822;\n    local_10f8 = 0;\n    iVar1 = 1000;\n    do {\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    iVar1 = 1000;\n    do {\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    if ((((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0') || local_10f8._7_1_ != '\0') goto LAB_00124822;\n    iVar3 = iVar3 + 1;\n    puVar2 = puVar2 + 0x20;\n    iVar1 = 0;\n  } while (iVar3 != 3);\n  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" (function_definition "int rc5_test(void)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  long in_FS_OFFSET;\n  undefined8 local_10f8;\n  undefined1 local_10f0 [8];\n  undefined1 local_10e8 [4264];\n  long local_40;\n  \n  iVar3 = 0;\n  puVar2 = &DAT_001b74c0;\n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  do {\n    iVar1 = rc5_setup(puVar2,0x10,0xc,local_10e8);\n    if (iVar1 != 0) break;\n    rc5_ecb_encrypt(puVar2 + 0x10,&local_10f8,local_10e8);\n    rc5_ecb_decrypt(&local_10f8,local_10f0,local_10e8);\n    iVar1 = compare_testvector(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3);\n    if (iVar1 != 0) {\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }\n    iVar1 = compare_testvector(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3);\n    if (iVar1 != 0) goto LAB_00124822;\n    local_10f8 = 0;\n    iVar1 = 1000;\n    do {\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    iVar1 = 1000;\n    do {\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    if ((((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0') || local_10f8._7_1_ != '\0') goto LAB_00124822;\n    iVar3 = iVar3 + 1;\n    puVar2 = puVar2 + 0x20;\n    iVar1 = 0;\n  } while (iVar3 != 3);\n  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" primitive_type (function_declarator "rc5_test(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  long in_FS_OFFSET;\n  undefined8 local_10f8;\n  undefined1 local_10f0 [8];\n  undefined1 local_10e8 [4264];\n  long local_40;\n  \n  iVar3 = 0;\n  puVar2 = &DAT_001b74c0;\n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  do {\n    iVar1 = rc5_setup(puVar2,0x10,0xc,local_10e8);\n    if (iVar1 != 0) break;\n    rc5_ecb_encrypt(puVar2 + 0x10,&local_10f8,local_10e8);\n    rc5_ecb_decrypt(&local_10f8,local_10f0,local_10e8);\n    iVar1 = compare_testvector(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3);\n    if (iVar1 != 0) {\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }\n    iVar1 = compare_testvector(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3);\n    if (iVar1 != 0) goto LAB_00124822;\n    local_10f8 = 0;\n    iVar1 = 1000;\n    do {\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    iVar1 = 1000;\n    do {\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    if ((((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0') || local_10f8._7_1_ != '\0') goto LAB_00124822;\n    iVar3 = iVar3 + 1;\n    puVar2 = puVar2 + 0x20;\n    iVar1 = 0;\n  } while (iVar3 != 3);\n  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 local_10f8;" type_identifier identifier ;) (declaration "undefined1 local_10f0 [8];" type_identifier (array_declarator "local_10f0 [8]" identifier [ number_literal ]) ;) (declaration "undefined1 local_10e8 [4264];" type_identifier (array_declarator "local_10e8 [4264]" identifier [ number_literal ]) ;) (declaration "long local_40;" (sized_type_specifier "long" long) identifier ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "puVar2 = &DAT_001b74c0;" (assignment_expression "puVar2 = &DAT_001b74c0" identifier = (pointer_expression "&DAT_001b74c0" & identifier)) ;) (expression_statement "local_40 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_40 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (do_statement "do {\n    iVar1 = rc5_setup(puVar2,0x10,0xc,local_10e8);\n    if (iVar1 != 0) break;\n    rc5_ecb_encrypt(puVar2 + 0x10,&local_10f8,local_10e8);\n    rc5_ecb_decrypt(&local_10f8,local_10f0,local_10e8);\n    iVar1 = compare_testvector(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3);\n    if (iVar1 != 0) {\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }\n    iVar1 = compare_testvector(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3);\n    if (iVar1 != 0) goto LAB_00124822;\n    local_10f8 = 0;\n    iVar1 = 1000;\n    do {\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    iVar1 = 1000;\n    do {\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    if ((((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0') || local_10f8._7_1_ != '\0') goto LAB_00124822;\n    iVar3 = iVar3 + 1;\n    puVar2 = puVar2 + 0x20;\n    iVar1 = 0;\n  } while (iVar3 != 3);" do (compound_statement "{\n    iVar1 = rc5_setup(puVar2,0x10,0xc,local_10e8);\n    if (iVar1 != 0) break;\n    rc5_ecb_encrypt(puVar2 + 0x10,&local_10f8,local_10e8);\n    rc5_ecb_decrypt(&local_10f8,local_10f0,local_10e8);\n    iVar1 = compare_testvector(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3);\n    if (iVar1 != 0) {\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }\n    iVar1 = compare_testvector(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3);\n    if (iVar1 != 0) goto LAB_00124822;\n    local_10f8 = 0;\n    iVar1 = 1000;\n    do {\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    iVar1 = 1000;\n    do {\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    if ((((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0') || local_10f8._7_1_ != '\0') goto LAB_00124822;\n    iVar3 = iVar3 + 1;\n    puVar2 = puVar2 + 0x20;\n    iVar1 = 0;\n  }" { (expression_statement "iVar1 = rc5_setup(puVar2,0x10,0xc,local_10e8);" (assignment_expression "iVar1 = rc5_setup(puVar2,0x10,0xc,local_10e8)" identifier = (call_expression "rc5_setup(puVar2,0x10,0xc,local_10e8)" identifier (argument_list "(puVar2,0x10,0xc,local_10e8)" ( identifier , number_literal , number_literal , identifier )))) ;) (if_statement "if (iVar1 != 0) break;" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "rc5_ecb_encrypt(puVar2 + 0x10,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(puVar2 + 0x10,&local_10f8,local_10e8)" identifier (argument_list "(puVar2 + 0x10,&local_10f8,local_10e8)" ( (binary_expression "puVar2 + 0x10" identifier + number_literal) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_decrypt(&local_10f8,local_10f0,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,local_10f0,local_10e8)" identifier (argument_list "(&local_10f8,local_10f0,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , identifier , identifier ))) ;) (expression_statement "iVar1 = compare_testvector(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3);" (assignment_expression "iVar1 = compare_testvector(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3)" identifier = (call_expression "compare_testvector(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3)" identifier (argument_list "(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3)" ( (pointer_expression "&local_10f8" & identifier) , number_literal , (binary_expression "puVar2 + 0x18" identifier + number_literal) , number_literal , (string_literal ""RC5 Encrypt"" " string_content ") , identifier )))) ;) (if_statement "if (iVar1 != 0) {\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }" { (labeled_statement "LAB_00124822:\n      iVar1 = 5;" statement_identifier : (expression_statement "iVar1 = 5;" (assignment_expression "iVar1 = 5" identifier = number_literal) ;)) (break_statement "break;" break ;) })) (expression_statement "iVar1 = compare_testvector(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3);" (assignment_expression "iVar1 = compare_testvector(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3)" identifier = (call_expression "compare_testvector(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3)" identifier (argument_list "(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3)" ( identifier , number_literal , (binary_expression "puVar2 + 0x10" identifier + number_literal) , number_literal , (string_literal ""RC5 Decrypt"" " string_content ") , identifier )))) ;) (if_statement "if (iVar1 != 0) goto LAB_00124822;" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00124822;" goto statement_identifier ;)) (expression_statement "local_10f8 = 0;" (assignment_expression "local_10f8 = 0" identifier = number_literal) ;) (expression_statement "iVar1 = 1000;" (assignment_expression "iVar1 = 1000" identifier = number_literal) ;) (do_statement "do {\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);" do (compound_statement "{\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    }" { (expression_statement "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "iVar1 = iVar1 + -8;" (assignment_expression "iVar1 = iVar1 + -8" identifier = (binary_expression "iVar1 + -8" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) ;) (expression_statement "iVar1 = 1000;" (assignment_expression "iVar1 = 1000" identifier = number_literal) ;) (do_statement "do {\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);" do (compound_statement "{\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    }" { (expression_statement "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "iVar1 = iVar1 + -8;" (assignment_expression "iVar1 = iVar1 + -8" identifier = (binary_expression "iVar1 + -8" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) ;) (if_statement "if ((((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0') || local_10f8._7_1_ != '\0') goto LAB_00124822;" if (parenthesized_expression "((((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0') || local_10f8._7_1_ != '\0')" ( (binary_expression "(((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0') || local_10f8._7_1_ != '\0'" (parenthesized_expression "(((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0')" ( (binary_expression "((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0'" (parenthesized_expression "((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0')" ( (binary_expression "(((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0'" (parenthesized_expression "(((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0')" ( (binary_expression "((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0'" (parenthesized_expression "((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0')" ( (binary_expression "(((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0'" (parenthesized_expression "(((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0')" ( (binary_expression "((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0'" (parenthesized_expression "((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0')" ( (binary_expression "(char)local_10f8 != '\0' || local_10f8._1_1_ != '\0'" (binary_expression "(char)local_10f8 != '\0'" (cast_expression "(char)local_10f8" ( (type_descriptor "char" primitive_type) ) identifier) != (char_literal "'\0'" ' escape_sequence ')) || (binary_expression "local_10f8._1_1_ != '\0'" (field_expression "local_10f8._1_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence '))) )) || (binary_expression "local_10f8._2_1_ != '\0'" (field_expression "local_10f8._2_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence '))) )) || (binary_expression "local_10f8._3_1_ != '\0'" (field_expression "local_10f8._3_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence '))) )) || (binary_expression "local_10f8._4_1_ != '\0'" (field_expression "local_10f8._4_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence '))) )) || (binary_expression "local_10f8._5_1_ != '\0'" (field_expression "local_10f8._5_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence '))) )) || (binary_expression "local_10f8._6_1_ != '\0'" (field_expression "local_10f8._6_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence '))) )) || (binary_expression "local_10f8._7_1_ != '\0'" (field_expression "local_10f8._7_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence '))) )) (goto_statement "goto LAB_00124822;" goto statement_identifier ;)) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "puVar2 = puVar2 + 0x20;" (assignment_expression "puVar2 = puVar2 + 0x20" identifier = (binary_expression "puVar2 + 0x20" identifier + number_literal)) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) }) while (parenthesized_expression "(iVar3 != 3)" ( (binary_expression "iVar3 != 3" identifier != number_literal) )) ;) (if_statement "if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar1;\n  }" if (parenthesized_expression "(local_40 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_40 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return iVar1;\n  }" { (return_statement "return iVar1;" return identifier ;) })) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint rc5_test(void)\n\n{\n  int iVar1;\n  anon_struct_32_3_a3e14be4 *key_00;\n  int which;\n  long in_FS_OFFSET;\n  uchar tmp [2] [8];\n  symmetric_key key;\n  long local_40;\n  \n  which = 0;\n  key_00 = rc5_test::tests;\n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  do {\n    iVar1 = rc5_setup(key_00->key,0x10,0xc,&key);\n    if (iVar1 != 0) break;\n    rc5_ecb_encrypt(key_00->pt,tmp[0],&key);\n    rc5_ecb_decrypt(tmp[0],tmp[1],&key);\n    iVar1 = compare_testvector(tmp,8,key_00->ct,8,"RC5 Encrypt",which);\n    if (iVar1 != 0) {\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }\n    iVar1 = compare_testvector(tmp + 1,8,key_00->pt,8,"RC5 Decrypt",which);\n    if (iVar1 != 0) goto LAB_00124822;\n    tmp[0][0] = '\0';\n    tmp[0][1] = '\0';\n    tmp[0][2] = '\0';\n    tmp[0][3] = '\0';\n    tmp[0][4] = '\0';\n    tmp[0][5] = '\0';\n    tmp[0][6] = '\0';\n    tmp[0][7] = '\0';\n    iVar1 = 1000;\n    do {\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    iVar1 = 1000;\n    do {\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    if (((((((tmp[0][0] != '\0' || tmp[0][1] != '\0') || tmp[0][2] != '\0') || tmp[0][3] != '\0') ||\n          tmp[0][4] != '\0') || tmp[0][5] != '\0') || tmp[0][6] != '\0') || tmp[0][7] != '\0')\n    goto LAB_00124822;\n    which = which + 1;\n    key_00 = key_00 + 1;\n    iVar1 = 0;\n  } while (which != 3);\n  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" comment (function_definition "int rc5_test(void)\n\n{\n  int iVar1;\n  anon_struct_32_3_a3e14be4 *key_00;\n  int which;\n  long in_FS_OFFSET;\n  uchar tmp [2] [8];\n  symmetric_key key;\n  long local_40;\n  \n  which = 0;\n  key_00 = rc5_test::tests;\n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  do {\n    iVar1 = rc5_setup(key_00->key,0x10,0xc,&key);\n    if (iVar1 != 0) break;\n    rc5_ecb_encrypt(key_00->pt,tmp[0],&key);\n    rc5_ecb_decrypt(tmp[0],tmp[1],&key);\n    iVar1 = compare_testvector(tmp,8,key_00->ct,8,"RC5 Encrypt",which);\n    if (iVar1 != 0) {\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }\n    iVar1 = compare_testvector(tmp + 1,8,key_00->pt,8,"RC5 Decrypt",which);\n    if (iVar1 != 0) goto LAB_00124822;\n    tmp[0][0] = '\0';\n    tmp[0][1] = '\0';\n    tmp[0][2] = '\0';\n    tmp[0][3] = '\0';\n    tmp[0][4] = '\0';\n    tmp[0][5] = '\0';\n    tmp[0][6] = '\0';\n    tmp[0][7] = '\0';\n    iVar1 = 1000;\n    do {\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    iVar1 = 1000;\n    do {\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    if (((((((tmp[0][0] != '\0' || tmp[0][1] != '\0') || tmp[0][2] != '\0') || tmp[0][3] != '\0') ||\n          tmp[0][4] != '\0') || tmp[0][5] != '\0') || tmp[0][6] != '\0') || tmp[0][7] != '\0')\n    goto LAB_00124822;\n    which = which + 1;\n    key_00 = key_00 + 1;\n    iVar1 = 0;\n  } while (which != 3);\n  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" primitive_type (function_declarator "rc5_test(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  anon_struct_32_3_a3e14be4 *key_00;\n  int which;\n  long in_FS_OFFSET;\n  uchar tmp [2] [8];\n  symmetric_key key;\n  long local_40;\n  \n  which = 0;\n  key_00 = rc5_test::tests;\n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  do {\n    iVar1 = rc5_setup(key_00->key,0x10,0xc,&key);\n    if (iVar1 != 0) break;\n    rc5_ecb_encrypt(key_00->pt,tmp[0],&key);\n    rc5_ecb_decrypt(tmp[0],tmp[1],&key);\n    iVar1 = compare_testvector(tmp,8,key_00->ct,8,"RC5 Encrypt",which);\n    if (iVar1 != 0) {\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }\n    iVar1 = compare_testvector(tmp + 1,8,key_00->pt,8,"RC5 Decrypt",which);\n    if (iVar1 != 0) goto LAB_00124822;\n    tmp[0][0] = '\0';\n    tmp[0][1] = '\0';\n    tmp[0][2] = '\0';\n    tmp[0][3] = '\0';\n    tmp[0][4] = '\0';\n    tmp[0][5] = '\0';\n    tmp[0][6] = '\0';\n    tmp[0][7] = '\0';\n    iVar1 = 1000;\n    do {\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    iVar1 = 1000;\n    do {\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    if (((((((tmp[0][0] != '\0' || tmp[0][1] != '\0') || tmp[0][2] != '\0') || tmp[0][3] != '\0') ||\n          tmp[0][4] != '\0') || tmp[0][5] != '\0') || tmp[0][6] != '\0') || tmp[0][7] != '\0')\n    goto LAB_00124822;\n    which = which + 1;\n    key_00 = key_00 + 1;\n    iVar1 = 0;\n  } while (which != 3);\n  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "anon_struct_32_3_a3e14be4 *key_00;" type_identifier (pointer_declarator "*key_00" * identifier) ;) (declaration "int which;" primitive_type identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "uchar tmp [2] [8];" type_identifier (array_declarator "tmp [2] [8]" (array_declarator "tmp [2]" identifier [ number_literal ]) [ number_literal ]) ;) (declaration "symmetric_key key;" type_identifier identifier ;) (declaration "long local_40;" (sized_type_specifier "long" long) identifier ;) (expression_statement "which = 0;" (assignment_expression "which = 0" identifier = number_literal) ;) (expression_statement "key_00 = rc5_test::tests;" (assignment_expression "key_00 = rc5_test" identifier = identifier) (ERROR "::tests" : : identifier) ;) (expression_statement "local_40 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_40 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (do_statement "do {\n    iVar1 = rc5_setup(key_00->key,0x10,0xc,&key);\n    if (iVar1 != 0) break;\n    rc5_ecb_encrypt(key_00->pt,tmp[0],&key);\n    rc5_ecb_decrypt(tmp[0],tmp[1],&key);\n    iVar1 = compare_testvector(tmp,8,key_00->ct,8,"RC5 Encrypt",which);\n    if (iVar1 != 0) {\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }\n    iVar1 = compare_testvector(tmp + 1,8,key_00->pt,8,"RC5 Decrypt",which);\n    if (iVar1 != 0) goto LAB_00124822;\n    tmp[0][0] = '\0';\n    tmp[0][1] = '\0';\n    tmp[0][2] = '\0';\n    tmp[0][3] = '\0';\n    tmp[0][4] = '\0';\n    tmp[0][5] = '\0';\n    tmp[0][6] = '\0';\n    tmp[0][7] = '\0';\n    iVar1 = 1000;\n    do {\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    iVar1 = 1000;\n    do {\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    if (((((((tmp[0][0] != '\0' || tmp[0][1] != '\0') || tmp[0][2] != '\0') || tmp[0][3] != '\0') ||\n          tmp[0][4] != '\0') || tmp[0][5] != '\0') || tmp[0][6] != '\0') || tmp[0][7] != '\0')\n    goto LAB_00124822;\n    which = which + 1;\n    key_00 = key_00 + 1;\n    iVar1 = 0;\n  } while (which != 3);" do (compound_statement "{\n    iVar1 = rc5_setup(key_00->key,0x10,0xc,&key);\n    if (iVar1 != 0) break;\n    rc5_ecb_encrypt(key_00->pt,tmp[0],&key);\n    rc5_ecb_decrypt(tmp[0],tmp[1],&key);\n    iVar1 = compare_testvector(tmp,8,key_00->ct,8,"RC5 Encrypt",which);\n    if (iVar1 != 0) {\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }\n    iVar1 = compare_testvector(tmp + 1,8,key_00->pt,8,"RC5 Decrypt",which);\n    if (iVar1 != 0) goto LAB_00124822;\n    tmp[0][0] = '\0';\n    tmp[0][1] = '\0';\n    tmp[0][2] = '\0';\n    tmp[0][3] = '\0';\n    tmp[0][4] = '\0';\n    tmp[0][5] = '\0';\n    tmp[0][6] = '\0';\n    tmp[0][7] = '\0';\n    iVar1 = 1000;\n    do {\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    iVar1 = 1000;\n    do {\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    if (((((((tmp[0][0] != '\0' || tmp[0][1] != '\0') || tmp[0][2] != '\0') || tmp[0][3] != '\0') ||\n          tmp[0][4] != '\0') || tmp[0][5] != '\0') || tmp[0][6] != '\0') || tmp[0][7] != '\0')\n    goto LAB_00124822;\n    which = which + 1;\n    key_00 = key_00 + 1;\n    iVar1 = 0;\n  }" { (expression_statement "iVar1 = rc5_setup(key_00->key,0x10,0xc,&key);" (assignment_expression "iVar1 = rc5_setup(key_00->key,0x10,0xc,&key)" identifier = (call_expression "rc5_setup(key_00->key,0x10,0xc,&key)" identifier (argument_list "(key_00->key,0x10,0xc,&key)" ( (field_expression "key_00->key" identifier -> field_identifier) , number_literal , number_literal , (pointer_expression "&key" & identifier) )))) ;) (if_statement "if (iVar1 != 0) break;" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "rc5_ecb_encrypt(key_00->pt,tmp[0],&key);" (call_expression "rc5_ecb_encrypt(key_00->pt,tmp[0],&key)" identifier (argument_list "(key_00->pt,tmp[0],&key)" ( (field_expression "key_00->pt" identifier -> field_identifier) , (subscript_expression "tmp[0]" identifier [ number_literal ]) , (pointer_expression "&key" & identifier) ))) ;) (expression_statement "rc5_ecb_decrypt(tmp[0],tmp[1],&key);" (call_expression "rc5_ecb_decrypt(tmp[0],tmp[1],&key)" identifier (argument_list "(tmp[0],tmp[1],&key)" ( (subscript_expression "tmp[0]" identifier [ number_literal ]) , (subscript_expression "tmp[1]" identifier [ number_literal ]) , (pointer_expression "&key" & identifier) ))) ;) (expression_statement "iVar1 = compare_testvector(tmp,8,key_00->ct,8,"RC5 Encrypt",which);" (assignment_expression "iVar1 = compare_testvector(tmp,8,key_00->ct,8,"RC5 Encrypt",which)" identifier = (call_expression "compare_testvector(tmp,8,key_00->ct,8,"RC5 Encrypt",which)" identifier (argument_list "(tmp,8,key_00->ct,8,"RC5 Encrypt",which)" ( identifier , number_literal , (field_expression "key_00->ct" identifier -> field_identifier) , number_literal , (string_literal ""RC5 Encrypt"" " string_content ") , identifier )))) ;) (if_statement "if (iVar1 != 0) {\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }" { (labeled_statement "LAB_00124822:\n      iVar1 = 5;" statement_identifier : (expression_statement "iVar1 = 5;" (assignment_expression "iVar1 = 5" identifier = number_literal) ;)) (break_statement "break;" break ;) })) (expression_statement "iVar1 = compare_testvector(tmp + 1,8,key_00->pt,8,"RC5 Decrypt",which);" (assignment_expression "iVar1 = compare_testvector(tmp + 1,8,key_00->pt,8,"RC5 Decrypt",which)" identifier = (call_expression "compare_testvector(tmp + 1,8,key_00->pt,8,"RC5 Decrypt",which)" identifier (argument_list "(tmp + 1,8,key_00->pt,8,"RC5 Decrypt",which)" ( (binary_expression "tmp + 1" identifier + number_literal) , number_literal , (field_expression "key_00->pt" identifier -> field_identifier) , number_literal , (string_literal ""RC5 Decrypt"" " string_content ") , identifier )))) ;) (if_statement "if (iVar1 != 0) goto LAB_00124822;" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00124822;" goto statement_identifier ;)) (expression_statement "tmp[0][0] = '\0';" (assignment_expression "tmp[0][0] = '\0'" (subscript_expression "tmp[0][0]" (subscript_expression "tmp[0]" identifier [ number_literal ]) [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "tmp[0][1] = '\0';" (assignment_expression "tmp[0][1] = '\0'" (subscript_expression "tmp[0][1]" (subscript_expression "tmp[0]" identifier [ number_literal ]) [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "tmp[0][2] = '\0';" (assignment_expression "tmp[0][2] = '\0'" (subscript_expression "tmp[0][2]" (subscript_expression "tmp[0]" identifier [ number_literal ]) [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "tmp[0][3] = '\0';" (assignment_expression "tmp[0][3] = '\0'" (subscript_expression "tmp[0][3]" (subscript_expression "tmp[0]" identifier [ number_literal ]) [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "tmp[0][4] = '\0';" (assignment_expression "tmp[0][4] = '\0'" (subscript_expression "tmp[0][4]" (subscript_expression "tmp[0]" identifier [ number_literal ]) [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "tmp[0][5] = '\0';" (assignment_expression "tmp[0][5] = '\0'" (subscript_expression "tmp[0][5]" (subscript_expression "tmp[0]" identifier [ number_literal ]) [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "tmp[0][6] = '\0';" (assignment_expression "tmp[0][6] = '\0'" (subscript_expression "tmp[0][6]" (subscript_expression "tmp[0]" identifier [ number_literal ]) [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "tmp[0][7] = '\0';" (assignment_expression "tmp[0][7] = '\0'" (subscript_expression "tmp[0][7]" (subscript_expression "tmp[0]" identifier [ number_literal ]) [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar1 = 1000;" (assignment_expression "iVar1 = 1000" identifier = number_literal) ;) (do_statement "do {\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);" do (compound_statement "{\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_encrypt(tmp[0],tmp[0],&key);\n      iVar1 = iVar1 + -8;\n    }" { (expression_statement "rc5_ecb_encrypt(tmp[0],tmp[0],&key);" (call_expression "rc5_ecb_encrypt(tmp[0],tmp[0],&key)" identifier (argument_list "(tmp[0],tmp[0],&key)" ( (subscript_expression "tmp[0]" identifier [ number_literal ]) , (subscript_expression "tmp[0]" identifier [ number_literal ]) , (pointer_expression "&key" & identifier) ))) ;) (expression_statement "rc5_ecb_encrypt(tmp[0],tmp[0],&key);" (call_expression "rc5_ecb_encrypt(tmp[0],tmp[0],&key)" identifier (argument_list "(tmp[0],tmp[0],&key)" ( (subscript_expression "tmp[0]" identifier [ number_literal ]) , (subscript_expression "tmp[0]" identifier [ number_literal ]) , (pointer_expression "&key" & identifier) ))) ;) (expression_statement "rc5_ecb_encrypt(tmp[0],tmp[0],&key);" (call_expression "rc5_ecb_encrypt(tmp[0],tmp[0],&key)" identifier (argument_list "(tmp[0],tmp[0],&key)" ( (subscript_expression "tmp[0]" identifier [ number_literal ]) , (subscript_expression "tmp[0]" identifier [ number_literal ]) , (pointer_expression "&key" & identifier) ))) ;) (expression_statement "rc5_ecb_encrypt(tmp[0],tmp[0],&key);" (call_expression "rc5_ecb_encrypt(tmp[0],tmp[0],&key)" identifier (argument_list "(tmp[0],tmp[0],&key)" ( (subscript_expression "tmp[0]" identifier [ number_literal ]) , (subscript_expression "tmp[0]" identifier [ number_literal ]) , (pointer_expression "&key" & identifier) ))) ;) (expression_statement "rc5_ecb_encrypt(tmp[0],tmp[0],&key);" (call_expression "rc5_ecb_encrypt(tmp[0],tmp[0],&key)" identifier (argument_list "(tmp[0],tmp[0],&key)" ( (subscript_expression "tmp[0]" identifier [ number_literal ]) , (subscript_expression "tmp[0]" identifier [ number_literal ]) , (pointer_expression "&key" & identifier) ))) ;) (expression_statement "rc5_ecb_encrypt(tmp[0],tmp[0],&key);" (call_expression "rc5_ecb_encrypt(tmp[0],tmp[0],&key)" identifier (argument_list "(tmp[0],tmp[0],&key)" ( (subscript_expression "tmp[0]" identifier [ number_literal ]) , (subscript_expression "tmp[0]" identifier [ number_literal ]) , (pointer_expression "&key" & identifier) ))) ;) (expression_statement "rc5_ecb_encrypt(tmp[0],tmp[0],&key);" (call_expression "rc5_ecb_encrypt(tmp[0],tmp[0],&key)" identifier (argument_list "(tmp[0],tmp[0],&key)" ( (subscript_expression "tmp[0]" identifier [ number_literal ]) , (subscript_expression "tmp[0]" identifier [ number_literal ]) , (pointer_expression "&key" & identifier) ))) ;) (expression_statement "rc5_ecb_encrypt(tmp[0],tmp[0],&key);" (call_expression "rc5_ecb_encrypt(tmp[0],tmp[0],&key)" identifier (argument_list "(tmp[0],tmp[0],&key)" ( (subscript_expression "tmp[0]" identifier [ number_literal ]) , (subscript_expression "tmp[0]" identifier [ number_literal ]) , (pointer_expression "&key" & identifier) ))) ;) (expression_statement "iVar1 = iVar1 + -8;" (assignment_expression "iVar1 = iVar1 + -8" identifier = (binary_expression "iVar1 + -8" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) ;) (expression_statement "iVar1 = 1000;" (assignment_expression "iVar1 = 1000" identifier = number_literal) ;) (do_statement "do {\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);" do (compound_statement "{\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      rc5_ecb_decrypt(tmp[0],tmp[0],&key);\n      iVar1 = iVar1 + -8;\n    }" { (expression_statement "rc5_ecb_decrypt(tmp[0],tmp[0],&key);" (call_expression "rc5_ecb_decrypt(tmp[0],tmp[0],&key)" identifier (argument_list "(tmp[0],tmp[0],&key)" ( (subscript_expression "tmp[0]" identifier [ number_literal ]) , (subscript_expression "tmp[0]" identifier [ number_literal ]) , (pointer_expression "&key" & identifier) ))) ;) (expression_statement "rc5_ecb_decrypt(tmp[0],tmp[0],&key);" (call_expression "rc5_ecb_decrypt(tmp[0],tmp[0],&key)" identifier (argument_list "(tmp[0],tmp[0],&key)" ( (subscript_expression "tmp[0]" identifier [ number_literal ]) , (subscript_expression "tmp[0]" identifier [ number_literal ]) , (pointer_expression "&key" & identifier) ))) ;) (expression_statement "rc5_ecb_decrypt(tmp[0],tmp[0],&key);" (call_expression "rc5_ecb_decrypt(tmp[0],tmp[0],&key)" identifier (argument_list "(tmp[0],tmp[0],&key)" ( (subscript_expression "tmp[0]" identifier [ number_literal ]) , (subscript_expression "tmp[0]" identifier [ number_literal ]) , (pointer_expression "&key" & identifier) ))) ;) (expression_statement "rc5_ecb_decrypt(tmp[0],tmp[0],&key);" (call_expression "rc5_ecb_decrypt(tmp[0],tmp[0],&key)" identifier (argument_list "(tmp[0],tmp[0],&key)" ( (subscript_expression "tmp[0]" identifier [ number_literal ]) , (subscript_expression "tmp[0]" identifier [ number_literal ]) , (pointer_expression "&key" & identifier) ))) ;) (expression_statement "rc5_ecb_decrypt(tmp[0],tmp[0],&key);" (call_expression "rc5_ecb_decrypt(tmp[0],tmp[0],&key)" identifier (argument_list "(tmp[0],tmp[0],&key)" ( (subscript_expression "tmp[0]" identifier [ number_literal ]) , (subscript_expression "tmp[0]" identifier [ number_literal ]) , (pointer_expression "&key" & identifier) ))) ;) (expression_statement "rc5_ecb_decrypt(tmp[0],tmp[0],&key);" (call_expression "rc5_ecb_decrypt(tmp[0],tmp[0],&key)" identifier (argument_list "(tmp[0],tmp[0],&key)" ( (subscript_expression "tmp[0]" identifier [ number_literal ]) , (subscript_expression "tmp[0]" identifier [ number_literal ]) , (pointer_expression "&key" & identifier) ))) ;) (expression_statement "rc5_ecb_decrypt(tmp[0],tmp[0],&key);" (call_expression "rc5_ecb_decrypt(tmp[0],tmp[0],&key)" identifier (argument_list "(tmp[0],tmp[0],&key)" ( (subscript_expression "tmp[0]" identifier [ number_literal ]) , (subscript_expression "tmp[0]" identifier [ number_literal ]) , (pointer_expression "&key" & identifier) ))) ;) (expression_statement "rc5_ecb_decrypt(tmp[0],tmp[0],&key);" (call_expression "rc5_ecb_decrypt(tmp[0],tmp[0],&key)" identifier (argument_list "(tmp[0],tmp[0],&key)" ( (subscript_expression "tmp[0]" identifier [ number_literal ]) , (subscript_expression "tmp[0]" identifier [ number_literal ]) , (pointer_expression "&key" & identifier) ))) ;) (expression_statement "iVar1 = iVar1 + -8;" (assignment_expression "iVar1 = iVar1 + -8" identifier = (binary_expression "iVar1 + -8" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) ;) (if_statement "if (((((((tmp[0][0] != '\0' || tmp[0][1] != '\0') || tmp[0][2] != '\0') || tmp[0][3] != '\0') ||\n          tmp[0][4] != '\0') || tmp[0][5] != '\0') || tmp[0][6] != '\0') || tmp[0][7] != '\0')\n    goto LAB_00124822;" if (parenthesized_expression "(((((((tmp[0][0] != '\0' || tmp[0][1] != '\0') || tmp[0][2] != '\0') || tmp[0][3] != '\0') ||\n          tmp[0][4] != '\0') || tmp[0][5] != '\0') || tmp[0][6] != '\0') || tmp[0][7] != '\0')" ( (binary_expression "((((((tmp[0][0] != '\0' || tmp[0][1] != '\0') || tmp[0][2] != '\0') || tmp[0][3] != '\0') ||\n          tmp[0][4] != '\0') || tmp[0][5] != '\0') || tmp[0][6] != '\0') || tmp[0][7] != '\0'" (parenthesized_expression "((((((tmp[0][0] != '\0' || tmp[0][1] != '\0') || tmp[0][2] != '\0') || tmp[0][3] != '\0') ||\n          tmp[0][4] != '\0') || tmp[0][5] != '\0') || tmp[0][6] != '\0')" ( (binary_expression "(((((tmp[0][0] != '\0' || tmp[0][1] != '\0') || tmp[0][2] != '\0') || tmp[0][3] != '\0') ||\n          tmp[0][4] != '\0') || tmp[0][5] != '\0') || tmp[0][6] != '\0'" (parenthesized_expression "(((((tmp[0][0] != '\0' || tmp[0][1] != '\0') || tmp[0][2] != '\0') || tmp[0][3] != '\0') ||\n          tmp[0][4] != '\0') || tmp[0][5] != '\0')" ( (binary_expression "((((tmp[0][0] != '\0' || tmp[0][1] != '\0') || tmp[0][2] != '\0') || tmp[0][3] != '\0') ||\n          tmp[0][4] != '\0') || tmp[0][5] != '\0'" (parenthesized_expression "((((tmp[0][0] != '\0' || tmp[0][1] != '\0') || tmp[0][2] != '\0') || tmp[0][3] != '\0') ||\n          tmp[0][4] != '\0')" ( (binary_expression "(((tmp[0][0] != '\0' || tmp[0][1] != '\0') || tmp[0][2] != '\0') || tmp[0][3] != '\0') ||\n          tmp[0][4] != '\0'" (parenthesized_expression "(((tmp[0][0] != '\0' || tmp[0][1] != '\0') || tmp[0][2] != '\0') || tmp[0][3] != '\0')" ( (binary_expression "((tmp[0][0] != '\0' || tmp[0][1] != '\0') || tmp[0][2] != '\0') || tmp[0][3] != '\0'" (parenthesized_expression "((tmp[0][0] != '\0' || tmp[0][1] != '\0') || tmp[0][2] != '\0')" ( (binary_expression "(tmp[0][0] != '\0' || tmp[0][1] != '\0') || tmp[0][2] != '\0'" (parenthesized_expression "(tmp[0][0] != '\0' || tmp[0][1] != '\0')" ( (binary_expression "tmp[0][0] != '\0' || tmp[0][1] != '\0'" (binary_expression "tmp[0][0] != '\0'" (subscript_expression "tmp[0][0]" (subscript_expression "tmp[0]" identifier [ number_literal ]) [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) || (binary_expression "tmp[0][1] != '\0'" (subscript_expression "tmp[0][1]" (subscript_expression "tmp[0]" identifier [ number_literal ]) [ number_literal ]) != (char_literal "'\0'" ' escape_sequence '))) )) || (binary_expression "tmp[0][2] != '\0'" (subscript_expression "tmp[0][2]" (subscript_expression "tmp[0]" identifier [ number_literal ]) [ number_literal ]) != (char_literal "'\0'" ' escape_sequence '))) )) || (binary_expression "tmp[0][3] != '\0'" (subscript_expression "tmp[0][3]" (subscript_expression "tmp[0]" identifier [ number_literal ]) [ number_literal ]) != (char_literal "'\0'" ' escape_sequence '))) )) || (binary_expression "tmp[0][4] != '\0'" (subscript_expression "tmp[0][4]" (subscript_expression "tmp[0]" identifier [ number_literal ]) [ number_literal ]) != (char_literal "'\0'" ' escape_sequence '))) )) || (binary_expression "tmp[0][5] != '\0'" (subscript_expression "tmp[0][5]" (subscript_expression "tmp[0]" identifier [ number_literal ]) [ number_literal ]) != (char_literal "'\0'" ' escape_sequence '))) )) || (binary_expression "tmp[0][6] != '\0'" (subscript_expression "tmp[0][6]" (subscript_expression "tmp[0]" identifier [ number_literal ]) [ number_literal ]) != (char_literal "'\0'" ' escape_sequence '))) )) || (binary_expression "tmp[0][7] != '\0'" (subscript_expression "tmp[0][7]" (subscript_expression "tmp[0]" identifier [ number_literal ]) [ number_literal ]) != (char_literal "'\0'" ' escape_sequence '))) )) (goto_statement "goto LAB_00124822;" goto statement_identifier ;)) (expression_statement "which = which + 1;" (assignment_expression "which = which + 1" identifier = (binary_expression "which + 1" identifier + number_literal)) ;) (expression_statement "key_00 = key_00 + 1;" (assignment_expression "key_00 = key_00 + 1" identifier = (binary_expression "key_00 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) }) while (parenthesized_expression "(which != 3)" ( (binary_expression "which != 3" identifier != number_literal) )) ;) (if_statement "if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar1;\n  }" if (parenthesized_expression "(local_40 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_40 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return iVar1;\n  }" { (return_statement "return iVar1;" return identifier ;) })) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "int rc5_test(void)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  long in_FS_OFFSET;\n  undefined8 local_10f8;\n  undefined1 local_10f0 [8];\n  undefined1 local_10e8 [4264];\n  long local_40;\n  \n  iVar3 = 0;\n  puVar2 = &DAT_001b74c0;\n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  do {\n    iVar1 = rc5_setup(puVar2,0x10,0xc,local_10e8);\n    if (iVar1 != 0) break;\n    rc5_ecb_encrypt(puVar2 + 0x10,&local_10f8,local_10e8);\n    rc5_ecb_decrypt(&local_10f8,local_10f0,local_10e8);\n    iVar1 = compare_testvector(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3);\n    if (iVar1 != 0) {\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }\n    iVar1 = compare_testvector(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3);\n    if (iVar1 != 0) goto LAB_00124822;\n    local_10f8 = 0;\n    iVar1 = 1000;\n    do {\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    iVar1 = 1000;\n    do {\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    if ((((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0') || local_10f8._7_1_ != '\0') goto LAB_00124822;\n    iVar3 = iVar3 + 1;\n    puVar2 = puVar2 + 0x20;\n    iVar1 = 0;\n  } while (iVar3 != 3);\n  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar1;\n  }\n                    \n  __stack_chk_fail();\n}\n\n" (function_definition "int rc5_test(void)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  long in_FS_OFFSET;\n  undefined8 local_10f8;\n  undefined1 local_10f0 [8];\n  undefined1 local_10e8 [4264];\n  long local_40;\n  \n  iVar3 = 0;\n  puVar2 = &DAT_001b74c0;\n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  do {\n    iVar1 = rc5_setup(puVar2,0x10,0xc,local_10e8);\n    if (iVar1 != 0) break;\n    rc5_ecb_encrypt(puVar2 + 0x10,&local_10f8,local_10e8);\n    rc5_ecb_decrypt(&local_10f8,local_10f0,local_10e8);\n    iVar1 = compare_testvector(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3);\n    if (iVar1 != 0) {\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }\n    iVar1 = compare_testvector(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3);\n    if (iVar1 != 0) goto LAB_00124822;\n    local_10f8 = 0;\n    iVar1 = 1000;\n    do {\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    iVar1 = 1000;\n    do {\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    if ((((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0') || local_10f8._7_1_ != '\0') goto LAB_00124822;\n    iVar3 = iVar3 + 1;\n    puVar2 = puVar2 + 0x20;\n    iVar1 = 0;\n  } while (iVar3 != 3);\n  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar1;\n  }\n                    \n  __stack_chk_fail();\n}" primitive_type (function_declarator "rc5_test(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  long in_FS_OFFSET;\n  undefined8 local_10f8;\n  undefined1 local_10f0 [8];\n  undefined1 local_10e8 [4264];\n  long local_40;\n  \n  iVar3 = 0;\n  puVar2 = &DAT_001b74c0;\n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  do {\n    iVar1 = rc5_setup(puVar2,0x10,0xc,local_10e8);\n    if (iVar1 != 0) break;\n    rc5_ecb_encrypt(puVar2 + 0x10,&local_10f8,local_10e8);\n    rc5_ecb_decrypt(&local_10f8,local_10f0,local_10e8);\n    iVar1 = compare_testvector(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3);\n    if (iVar1 != 0) {\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }\n    iVar1 = compare_testvector(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3);\n    if (iVar1 != 0) goto LAB_00124822;\n    local_10f8 = 0;\n    iVar1 = 1000;\n    do {\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    iVar1 = 1000;\n    do {\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    if ((((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0') || local_10f8._7_1_ != '\0') goto LAB_00124822;\n    iVar3 = iVar3 + 1;\n    puVar2 = puVar2 + 0x20;\n    iVar1 = 0;\n  } while (iVar3 != 3);\n  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar1;\n  }\n                    \n  __stack_chk_fail();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 local_10f8;" type_identifier identifier ;) (declaration "undefined1 local_10f0 [8];" type_identifier (array_declarator "local_10f0 [8]" identifier [ number_literal ]) ;) (declaration "undefined1 local_10e8 [4264];" type_identifier (array_declarator "local_10e8 [4264]" identifier [ number_literal ]) ;) (declaration "long local_40;" (sized_type_specifier "long" long) identifier ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "puVar2 = &DAT_001b74c0;" (assignment_expression "puVar2 = &DAT_001b74c0" identifier = (pointer_expression "&DAT_001b74c0" & identifier)) ;) (expression_statement "local_40 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_40 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (do_statement "do {\n    iVar1 = rc5_setup(puVar2,0x10,0xc,local_10e8);\n    if (iVar1 != 0) break;\n    rc5_ecb_encrypt(puVar2 + 0x10,&local_10f8,local_10e8);\n    rc5_ecb_decrypt(&local_10f8,local_10f0,local_10e8);\n    iVar1 = compare_testvector(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3);\n    if (iVar1 != 0) {\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }\n    iVar1 = compare_testvector(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3);\n    if (iVar1 != 0) goto LAB_00124822;\n    local_10f8 = 0;\n    iVar1 = 1000;\n    do {\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    iVar1 = 1000;\n    do {\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    if ((((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0') || local_10f8._7_1_ != '\0') goto LAB_00124822;\n    iVar3 = iVar3 + 1;\n    puVar2 = puVar2 + 0x20;\n    iVar1 = 0;\n  } while (iVar3 != 3);" do (compound_statement "{\n    iVar1 = rc5_setup(puVar2,0x10,0xc,local_10e8);\n    if (iVar1 != 0) break;\n    rc5_ecb_encrypt(puVar2 + 0x10,&local_10f8,local_10e8);\n    rc5_ecb_decrypt(&local_10f8,local_10f0,local_10e8);\n    iVar1 = compare_testvector(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3);\n    if (iVar1 != 0) {\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }\n    iVar1 = compare_testvector(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3);\n    if (iVar1 != 0) goto LAB_00124822;\n    local_10f8 = 0;\n    iVar1 = 1000;\n    do {\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    iVar1 = 1000;\n    do {\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    if ((((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0') || local_10f8._7_1_ != '\0') goto LAB_00124822;\n    iVar3 = iVar3 + 1;\n    puVar2 = puVar2 + 0x20;\n    iVar1 = 0;\n  }" { (expression_statement "iVar1 = rc5_setup(puVar2,0x10,0xc,local_10e8);" (assignment_expression "iVar1 = rc5_setup(puVar2,0x10,0xc,local_10e8)" identifier = (call_expression "rc5_setup(puVar2,0x10,0xc,local_10e8)" identifier (argument_list "(puVar2,0x10,0xc,local_10e8)" ( identifier , number_literal , number_literal , identifier )))) ;) (if_statement "if (iVar1 != 0) break;" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "rc5_ecb_encrypt(puVar2 + 0x10,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(puVar2 + 0x10,&local_10f8,local_10e8)" identifier (argument_list "(puVar2 + 0x10,&local_10f8,local_10e8)" ( (binary_expression "puVar2 + 0x10" identifier + number_literal) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_decrypt(&local_10f8,local_10f0,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,local_10f0,local_10e8)" identifier (argument_list "(&local_10f8,local_10f0,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , identifier , identifier ))) ;) (expression_statement "iVar1 = compare_testvector(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3);" (assignment_expression "iVar1 = compare_testvector(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3)" identifier = (call_expression "compare_testvector(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3)" identifier (argument_list "(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3)" ( (pointer_expression "&local_10f8" & identifier) , number_literal , (binary_expression "puVar2 + 0x18" identifier + number_literal) , number_literal , (string_literal ""RC5 Encrypt"" " string_content ") , identifier )))) ;) (if_statement "if (iVar1 != 0) {\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }" { (labeled_statement "LAB_00124822:\n      iVar1 = 5;" statement_identifier : (expression_statement "iVar1 = 5;" (assignment_expression "iVar1 = 5" identifier = number_literal) ;)) (break_statement "break;" break ;) })) (expression_statement "iVar1 = compare_testvector(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3);" (assignment_expression "iVar1 = compare_testvector(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3)" identifier = (call_expression "compare_testvector(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3)" identifier (argument_list "(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3)" ( identifier , number_literal , (binary_expression "puVar2 + 0x10" identifier + number_literal) , number_literal , (string_literal ""RC5 Decrypt"" " string_content ") , identifier )))) ;) (if_statement "if (iVar1 != 0) goto LAB_00124822;" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00124822;" goto statement_identifier ;)) (expression_statement "local_10f8 = 0;" (assignment_expression "local_10f8 = 0" identifier = number_literal) ;) (expression_statement "iVar1 = 1000;" (assignment_expression "iVar1 = 1000" identifier = number_literal) ;) (do_statement "do {\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);" do (compound_statement "{\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    }" { (expression_statement "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "iVar1 = iVar1 + -8;" (assignment_expression "iVar1 = iVar1 + -8" identifier = (binary_expression "iVar1 + -8" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) ;) (expression_statement "iVar1 = 1000;" (assignment_expression "iVar1 = 1000" identifier = number_literal) ;) (do_statement "do {\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);" do (compound_statement "{\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    }" { (expression_statement "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8)" identifier (argument_list "(&local_10f8,&local_10f8,local_10e8)" ( (pointer_expression "&local_10f8" & identifier) , (pointer_expression "&local_10f8" & identifier) , identifier ))) ;) (expression_statement "iVar1 = iVar1 + -8;" (assignment_expression "iVar1 = iVar1 + -8" identifier = (binary_expression "iVar1 + -8" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) ;) (if_statement "if ((((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0') || local_10f8._7_1_ != '\0') goto LAB_00124822;" if (parenthesized_expression "((((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0') || local_10f8._7_1_ != '\0')" ( (binary_expression "(((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0') || local_10f8._7_1_ != '\0'" (parenthesized_expression "(((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0')" ( (binary_expression "((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0'" (parenthesized_expression "((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0')" ( (binary_expression "(((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0'" (parenthesized_expression "(((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0')" ( (binary_expression "((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0'" (parenthesized_expression "((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0')" ( (binary_expression "(((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0'" (parenthesized_expression "(((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0')" ( (binary_expression "((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0'" (parenthesized_expression "((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0')" ( (binary_expression "(char)local_10f8 != '\0' || local_10f8._1_1_ != '\0'" (binary_expression "(char)local_10f8 != '\0'" (cast_expression "(char)local_10f8" ( (type_descriptor "char" primitive_type) ) identifier) != (char_literal "'\0'" ' escape_sequence ')) || (binary_expression "local_10f8._1_1_ != '\0'" (field_expression "local_10f8._1_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence '))) )) || (binary_expression "local_10f8._2_1_ != '\0'" (field_expression "local_10f8._2_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence '))) )) || (binary_expression "local_10f8._3_1_ != '\0'" (field_expression "local_10f8._3_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence '))) )) || (binary_expression "local_10f8._4_1_ != '\0'" (field_expression "local_10f8._4_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence '))) )) || (binary_expression "local_10f8._5_1_ != '\0'" (field_expression "local_10f8._5_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence '))) )) || (binary_expression "local_10f8._6_1_ != '\0'" (field_expression "local_10f8._6_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence '))) )) || (binary_expression "local_10f8._7_1_ != '\0'" (field_expression "local_10f8._7_1_" identifier . field_identifier) != (char_literal "'\0'" ' escape_sequence '))) )) (goto_statement "goto LAB_00124822;" goto statement_identifier ;)) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "puVar2 = puVar2 + 0x20;" (assignment_expression "puVar2 = puVar2 + 0x20" identifier = (binary_expression "puVar2 + 0x20" identifier + number_literal)) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) }) while (parenthesized_expression "(iVar3 != 3)" ( (binary_expression "iVar3 != 3" identifier != number_literal) )) ;) (if_statement "if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar1;\n  }" if (parenthesized_expression "(local_40 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_40 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return iVar1;\n  }" { (return_statement "return iVar1;" return identifier ;) })) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT , (binary_expression IDENT + LIT) , LIT , (string_literal " string_content ") , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , (binary_expression IDENT + LIT) , LIT , (string_literal " string_content ") , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) != (char_literal ' escape_sequence ')) || (binary_expression (field_expression IDENT . field_identifier) != (char_literal ' escape_sequence '))) )) || (binary_expression (field_expression IDENT . field_identifier) != (char_literal ' escape_sequence '))) )) || (binary_expression (field_expression IDENT . field_identifier) != (char_literal ' escape_sequence '))) )) || (binary_expression (field_expression IDENT . field_identifier) != (char_literal ' escape_sequence '))) )) || (binary_expression (field_expression IDENT . field_identifier) != (char_literal ' escape_sequence '))) )) || (binary_expression (field_expression IDENT . field_identifier) != (char_literal ' escape_sequence '))) )) || (binary_expression (field_expression IDENT . field_identifier) != (char_literal ' escape_sequence '))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "int rc5_test(void)\n\n{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  long in_FS_OFFSET;\n  undefined8 local_10f8;\n  undefined1 local_10f0 [8];\n  undefined1 local_10e8 [4264];\n  long local_40;\n  \n  iVar3 = 0;\n  puVar2 = &DAT_001b74c0;\n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  do {\n    iVar1 = rc5_setup(puVar2,0x10,0xc,local_10e8);\n    if (iVar1 != 0) break;\n    rc5_ecb_encrypt(puVar2 + 0x10,&local_10f8,local_10e8);\n    rc5_ecb_decrypt(&local_10f8,local_10f0,local_10e8);\n    iVar1 = compare_testvector(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3);\n    if (iVar1 != 0) {\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }\n    iVar1 = compare_testvector(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3);\n    if (iVar1 != 0) goto LAB_00124822;\n    local_10f8 = 0;\n    iVar1 = 1000;\n    do {\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    iVar1 = 1000;\n    do {\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    if ((((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0') || local_10f8._7_1_ != '\0') goto LAB_00124822;\n    iVar3 = iVar3 + 1;\n    puVar2 = puVar2 + 0x20;\n    iVar1 = 0;\n  } while (iVar3 != 3);\n  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar1;\n  }\n                    \n  __stack_chk_fail();\n}" (primitive_type "int") (function_declarator "rc5_test(void)" (identifier "rc5_test") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined *puVar2;\n  int iVar3;\n  long in_FS_OFFSET;\n  undefined8 local_10f8;\n  undefined1 local_10f0 [8];\n  undefined1 local_10e8 [4264];\n  long local_40;\n  \n  iVar3 = 0;\n  puVar2 = &DAT_001b74c0;\n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  do {\n    iVar1 = rc5_setup(puVar2,0x10,0xc,local_10e8);\n    if (iVar1 != 0) break;\n    rc5_ecb_encrypt(puVar2 + 0x10,&local_10f8,local_10e8);\n    rc5_ecb_decrypt(&local_10f8,local_10f0,local_10e8);\n    iVar1 = compare_testvector(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3);\n    if (iVar1 != 0) {\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }\n    iVar1 = compare_testvector(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3);\n    if (iVar1 != 0) goto LAB_00124822;\n    local_10f8 = 0;\n    iVar1 = 1000;\n    do {\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    iVar1 = 1000;\n    do {\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    if ((((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0') || local_10f8._7_1_ != '\0') goto LAB_00124822;\n    iVar3 = iVar3 + 1;\n    puVar2 = puVar2 + 0x20;\n    iVar1 = 0;\n  } while (iVar3 != 3);\n  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar1;\n  }\n                    \n  __stack_chk_fail();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" (long "long")) (identifier "in_FS_OFFSET") (; ";")) (declaration "undefined8 local_10f8;" (type_identifier "undefined8") (identifier "local_10f8") (; ";")) (declaration "undefined1 local_10f0 [8];" (type_identifier "undefined1") (array_declarator "local_10f0 [8]" (identifier "local_10f0") ([ "[") (number_literal "8") (] "]")) (; ";")) (declaration "undefined1 local_10e8 [4264];" (type_identifier "undefined1") (array_declarator "local_10e8 [4264]" (identifier "local_10e8") ([ "[") (number_literal "4264") (] "]")) (; ";")) (declaration "long local_40;" (sized_type_specifier "long" (long "long")) (identifier "local_40") (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2 = &DAT_001b74c0;" (assignment_expression "puVar2 = &DAT_001b74c0" (identifier "puVar2") (= "=") (pointer_expression "&DAT_001b74c0" (& "&") (identifier "DAT_001b74c0"))) (; ";")) (expression_statement "local_40 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_40 = *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_40") (= "=") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (do_statement "do {\n    iVar1 = rc5_setup(puVar2,0x10,0xc,local_10e8);\n    if (iVar1 != 0) break;\n    rc5_ecb_encrypt(puVar2 + 0x10,&local_10f8,local_10e8);\n    rc5_ecb_decrypt(&local_10f8,local_10f0,local_10e8);\n    iVar1 = compare_testvector(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3);\n    if (iVar1 != 0) {\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }\n    iVar1 = compare_testvector(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3);\n    if (iVar1 != 0) goto LAB_00124822;\n    local_10f8 = 0;\n    iVar1 = 1000;\n    do {\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    iVar1 = 1000;\n    do {\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    if ((((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0') || local_10f8._7_1_ != '\0') goto LAB_00124822;\n    iVar3 = iVar3 + 1;\n    puVar2 = puVar2 + 0x20;\n    iVar1 = 0;\n  } while (iVar3 != 3);" (do "do") (compound_statement "{\n    iVar1 = rc5_setup(puVar2,0x10,0xc,local_10e8);\n    if (iVar1 != 0) break;\n    rc5_ecb_encrypt(puVar2 + 0x10,&local_10f8,local_10e8);\n    rc5_ecb_decrypt(&local_10f8,local_10f0,local_10e8);\n    iVar1 = compare_testvector(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3);\n    if (iVar1 != 0) {\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }\n    iVar1 = compare_testvector(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3);\n    if (iVar1 != 0) goto LAB_00124822;\n    local_10f8 = 0;\n    iVar1 = 1000;\n    do {\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    iVar1 = 1000;\n    do {\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);\n    if ((((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0') || local_10f8._7_1_ != '\0') goto LAB_00124822;\n    iVar3 = iVar3 + 1;\n    puVar2 = puVar2 + 0x20;\n    iVar1 = 0;\n  }" ({ "{") (expression_statement "iVar1 = rc5_setup(puVar2,0x10,0xc,local_10e8);" (assignment_expression "iVar1 = rc5_setup(puVar2,0x10,0xc,local_10e8)" (identifier "iVar1") (= "=") (call_expression "rc5_setup(puVar2,0x10,0xc,local_10e8)" (identifier "rc5_setup") (argument_list "(puVar2,0x10,0xc,local_10e8)" (( "(") (identifier "puVar2") (, ",") (number_literal "0x10") (, ",") (number_literal "0xc") (, ",") (identifier "local_10e8") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) break;" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "rc5_ecb_encrypt(puVar2 + 0x10,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(puVar2 + 0x10,&local_10f8,local_10e8)" (identifier "rc5_ecb_encrypt") (argument_list "(puVar2 + 0x10,&local_10f8,local_10e8)" (( "(") (binary_expression "puVar2 + 0x10" (identifier "puVar2") (+ "+") (number_literal "0x10")) (, ",") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (identifier "local_10e8") () ")"))) (; ";")) (expression_statement "rc5_ecb_decrypt(&local_10f8,local_10f0,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,local_10f0,local_10e8)" (identifier "rc5_ecb_decrypt") (argument_list "(&local_10f8,local_10f0,local_10e8)" (( "(") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (identifier "local_10f0") (, ",") (identifier "local_10e8") () ")"))) (; ";")) (expression_statement "iVar1 = compare_testvector(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3);" (assignment_expression "iVar1 = compare_testvector(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3)" (identifier "iVar1") (= "=") (call_expression "compare_testvector(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3)" (identifier "compare_testvector") (argument_list "(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3)" (( "(") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (number_literal "8") (, ",") (binary_expression "puVar2 + 0x18" (identifier "puVar2") (+ "+") (number_literal "0x18")) (, ",") (number_literal "8") (, ",") (string_literal ""RC5 Encrypt"" (" """) (string_content "RC5 Encrypt") (" """)) (, ",") (identifier "iVar3") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00124822:\n      iVar1 = 5;\n      break;\n    }" ({ "{") (labeled_statement "LAB_00124822:\n      iVar1 = 5;" (statement_identifier "LAB_00124822") (: ":") (expression_statement "iVar1 = 5;" (assignment_expression "iVar1 = 5" (identifier "iVar1") (= "=") (number_literal "5")) (; ";"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "iVar1 = compare_testvector(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3);" (assignment_expression "iVar1 = compare_testvector(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3)" (identifier "iVar1") (= "=") (call_expression "compare_testvector(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3)" (identifier "compare_testvector") (argument_list "(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3)" (( "(") (identifier "local_10f0") (, ",") (number_literal "8") (, ",") (binary_expression "puVar2 + 0x10" (identifier "puVar2") (+ "+") (number_literal "0x10")) (, ",") (number_literal "8") (, ",") (string_literal ""RC5 Decrypt"" (" """) (string_content "RC5 Decrypt") (" """)) (, ",") (identifier "iVar3") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) goto LAB_00124822;" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00124822;" (goto "goto") (statement_identifier "LAB_00124822") (; ";"))) (expression_statement "local_10f8 = 0;" (assignment_expression "local_10f8 = 0" (identifier "local_10f8") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar1 = 1000;" (assignment_expression "iVar1 = 1000" (identifier "iVar1") (= "=") (number_literal "1000")) (; ";")) (do_statement "do {\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);" (do "do") (compound_statement "{\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    }" ({ "{") (expression_statement "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8)" (identifier "rc5_ecb_encrypt") (argument_list "(&local_10f8,&local_10f8,local_10e8)" (( "(") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (identifier "local_10e8") () ")"))) (; ";")) (expression_statement "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8)" (identifier "rc5_ecb_encrypt") (argument_list "(&local_10f8,&local_10f8,local_10e8)" (( "(") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (identifier "local_10e8") () ")"))) (; ";")) (expression_statement "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8)" (identifier "rc5_ecb_encrypt") (argument_list "(&local_10f8,&local_10f8,local_10e8)" (( "(") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (identifier "local_10e8") () ")"))) (; ";")) (expression_statement "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8)" (identifier "rc5_ecb_encrypt") (argument_list "(&local_10f8,&local_10f8,local_10e8)" (( "(") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (identifier "local_10e8") () ")"))) (; ";")) (expression_statement "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8)" (identifier "rc5_ecb_encrypt") (argument_list "(&local_10f8,&local_10f8,local_10e8)" (( "(") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (identifier "local_10e8") () ")"))) (; ";")) (expression_statement "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8)" (identifier "rc5_ecb_encrypt") (argument_list "(&local_10f8,&local_10f8,local_10e8)" (( "(") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (identifier "local_10e8") () ")"))) (; ";")) (expression_statement "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8)" (identifier "rc5_ecb_encrypt") (argument_list "(&local_10f8,&local_10f8,local_10e8)" (( "(") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (identifier "local_10e8") () ")"))) (; ";")) (expression_statement "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8)" (identifier "rc5_ecb_encrypt") (argument_list "(&local_10f8,&local_10f8,local_10e8)" (( "(") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (identifier "local_10e8") () ")"))) (; ";")) (expression_statement "iVar1 = iVar1 + -8;" (assignment_expression "iVar1 = iVar1 + -8" (identifier "iVar1") (= "=") (binary_expression "iVar1 + -8" (identifier "iVar1") (+ "+") (number_literal "-8"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "iVar1 = 1000;" (assignment_expression "iVar1 = 1000" (identifier "iVar1") (= "=") (number_literal "1000")) (; ";")) (do_statement "do {\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    } while (iVar1 != 0);" (do "do") (compound_statement "{\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);\n      iVar1 = iVar1 + -8;\n    }" ({ "{") (expression_statement "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8)" (identifier "rc5_ecb_decrypt") (argument_list "(&local_10f8,&local_10f8,local_10e8)" (( "(") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (identifier "local_10e8") () ")"))) (; ";")) (expression_statement "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8)" (identifier "rc5_ecb_decrypt") (argument_list "(&local_10f8,&local_10f8,local_10e8)" (( "(") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (identifier "local_10e8") () ")"))) (; ";")) (expression_statement "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8)" (identifier "rc5_ecb_decrypt") (argument_list "(&local_10f8,&local_10f8,local_10e8)" (( "(") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (identifier "local_10e8") () ")"))) (; ";")) (expression_statement "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8)" (identifier "rc5_ecb_decrypt") (argument_list "(&local_10f8,&local_10f8,local_10e8)" (( "(") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (identifier "local_10e8") () ")"))) (; ";")) (expression_statement "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8)" (identifier "rc5_ecb_decrypt") (argument_list "(&local_10f8,&local_10f8,local_10e8)" (( "(") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (identifier "local_10e8") () ")"))) (; ";")) (expression_statement "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8)" (identifier "rc5_ecb_decrypt") (argument_list "(&local_10f8,&local_10f8,local_10e8)" (( "(") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (identifier "local_10e8") () ")"))) (; ";")) (expression_statement "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8)" (identifier "rc5_ecb_decrypt") (argument_list "(&local_10f8,&local_10f8,local_10e8)" (( "(") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (identifier "local_10e8") () ")"))) (; ";")) (expression_statement "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);" (call_expression "rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8)" (identifier "rc5_ecb_decrypt") (argument_list "(&local_10f8,&local_10f8,local_10e8)" (( "(") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (pointer_expression "&local_10f8" (& "&") (identifier "local_10f8")) (, ",") (identifier "local_10e8") () ")"))) (; ";")) (expression_statement "iVar1 = iVar1 + -8;" (assignment_expression "iVar1 = iVar1 + -8" (identifier "iVar1") (= "=") (binary_expression "iVar1 + -8" (identifier "iVar1") (+ "+") (number_literal "-8"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (; ";")) (if_statement "if ((((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0') || local_10f8._7_1_ != '\0') goto LAB_00124822;" (if "if") (parenthesized_expression "((((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0') || local_10f8._7_1_ != '\0')" (( "(") (binary_expression "(((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0') || local_10f8._7_1_ != '\0'" (parenthesized_expression "(((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0')" (( "(") (binary_expression "((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||\n        local_10f8._6_1_ != '\0'" (parenthesized_expression "((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0')" (( "(") (binary_expression "(((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0'" (parenthesized_expression "(((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0')" (( "(") (binary_expression "((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0'" (parenthesized_expression "((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0')" (( "(") (binary_expression "(((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||\n           local_10f8._3_1_ != '\0'" (parenthesized_expression "(((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0')" (( "(") (binary_expression "((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0'" (parenthesized_expression "((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0')" (( "(") (binary_expression "(char)local_10f8 != '\0' || local_10f8._1_1_ != '\0'" (binary_expression "(char)local_10f8 != '\0'" (cast_expression "(char)local_10f8" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_10f8")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (|| "||") (binary_expression "local_10f8._1_1_ != '\0'" (field_expression "local_10f8._1_1_" (identifier "local_10f8") (. ".") (field_identifier "_1_1_")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")")) (|| "||") (binary_expression "local_10f8._2_1_ != '\0'" (field_expression "local_10f8._2_1_" (identifier "local_10f8") (. ".") (field_identifier "_2_1_")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")")) (|| "||") (binary_expression "local_10f8._3_1_ != '\0'" (field_expression "local_10f8._3_1_" (identifier "local_10f8") (. ".") (field_identifier "_3_1_")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")")) (|| "||") (binary_expression "local_10f8._4_1_ != '\0'" (field_expression "local_10f8._4_1_" (identifier "local_10f8") (. ".") (field_identifier "_4_1_")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")")) (|| "||") (binary_expression "local_10f8._5_1_ != '\0'" (field_expression "local_10f8._5_1_" (identifier "local_10f8") (. ".") (field_identifier "_5_1_")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")")) (|| "||") (binary_expression "local_10f8._6_1_ != '\0'" (field_expression "local_10f8._6_1_" (identifier "local_10f8") (. ".") (field_identifier "_6_1_")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")")) (|| "||") (binary_expression "local_10f8._7_1_ != '\0'" (field_expression "local_10f8._7_1_" (identifier "local_10f8") (. ".") (field_identifier "_7_1_")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")")) (goto_statement "goto LAB_00124822;" (goto "goto") (statement_identifier "LAB_00124822") (; ";"))) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar2 = puVar2 + 0x20;" (assignment_expression "puVar2 = puVar2 + 0x20" (identifier "puVar2") (= "=") (binary_expression "puVar2 + 0x20" (identifier "puVar2") (+ "+") (number_literal "0x20"))) (; ";")) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 != 3)" (( "(") (binary_expression "iVar3 != 3" (identifier "iVar3") (!= "!=") (number_literal "3")) () ")")) (; ";")) (if_statement "if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar1;\n  }" (if "if") (parenthesized_expression "(local_40 == *(long *)(in_FS_OFFSET + 0x28))" (( "(") (binary_expression "local_40 == *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_40") (== "==") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (compound_statement "{\n    return iVar1;\n  }" ({ "{") (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" (identifier "__stack_chk_fail") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

int function_1(void)

{
  int var_3;
  type_1 *var_9;
  int var_8;
  long var_1;
  type_2 var_7 [2] [8];
  type_3 key;
  long var_10;
  
  var_8 = 0;
  var_9 = function_1::tests;
  var_10 = *(long *)(var_1 + 0x28);
  do {
    var_3 = var_2(var_9->key,0x10,0xc,&key);
    if (var_3 != 0) break;
    var_4(var_9->pt,var_7[0],&key);
    var_5(var_7[0],var_7[1],&key);
    var_3 = var_6(var_7,8,var_9->ct,8,"RC5 Encrypt",var_8);
    if (var_3 != 0) {
LAB_00124822:
      var_3 = 5;
      break;
    }
    var_3 = var_6(var_7 + 1,8,var_9->pt,8,"RC5 Decrypt",var_8);
    if (var_3 != 0) goto LAB_00124822;
    var_7[0][0] = '\0';
    var_7[0][1] = '\0';
    var_7[0][2] = '\0';
    var_7[0][3] = '\0';
    var_7[0][4] = '\0';
    var_7[0][5] = '\0';
    var_7[0][6] = '\0';
    var_7[0][7] = '\0';
    var_3 = 1000;
    do {
      var_4(var_7[0],var_7[0],&key);
      var_4(var_7[0],var_7[0],&key);
      var_4(var_7[0],var_7[0],&key);
      var_4(var_7[0],var_7[0],&key);
      var_4(var_7[0],var_7[0],&key);
      var_4(var_7[0],var_7[0],&key);
      var_4(var_7[0],var_7[0],&key);
      var_4(var_7[0],var_7[0],&key);
      var_3 = var_3 + -8;
    } while (var_3 != 0);
    var_3 = 1000;
    do {
      var_5(var_7[0],var_7[0],&key);
      var_5(var_7[0],var_7[0],&key);
      var_5(var_7[0],var_7[0],&key);
      var_5(var_7[0],var_7[0],&key);
      var_5(var_7[0],var_7[0],&key);
      var_5(var_7[0],var_7[0],&key);
      var_5(var_7[0],var_7[0],&key);
      var_5(var_7[0],var_7[0],&key);
      var_3 = var_3 + -8;
    } while (var_3 != 0);
    if (((((((var_7[0][0] != '\0' || var_7[0][1] != '\0') || var_7[0][2] != '\0') || var_7[0][3] != '\0') ||
          var_7[0][4] != '\0') || var_7[0][5] != '\0') || var_7[0][6] != '\0') || var_7[0][7] != '\0')
    goto LAB_00124822;
    var_8 = var_8 + 1;
    var_9 = var_9 + 1;
    var_3 = 0;
  } while (var_8 != 3);
  if (var_10 == *(long *)(var_1 + 0x28)) {
    return var_3;
  }
                    /* WARNING: Subroutine does not return */
  var_11();
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (sized_type_specifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (string_literal (string_content)) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (break_statement))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (string_literal (string_content)) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (escape_sequence))) right: (binary_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (char_literal (escape_sequence))))) right: (binary_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (char_literal (escape_sequence))))) right: (binary_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (char_literal (escape_sequence))))) right: (binary_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (char_literal (escape_sequence))))) right: (binary_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (char_literal (escape_sequence))))) right: (binary_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (char_literal (escape_sequence))))) right: (binary_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (char_literal (escape_sequence))))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_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)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

int MASKED(void)

{
  int iVar1;
  undefined *puVar2;
  int iVar3;
  long in_FS_OFFSET;
  undefined8 local_10f8;
  undefined1 local_10f0 [8];
  undefined1 local_10e8 [4264];
  long local_40;
  
  iVar3 = 0;
  puVar2 = &DAT_001b74c0;
  local_40 = *(long *)(in_FS_OFFSET + 0x28);
  do {
    iVar1 = rc5_setup(puVar2,0x10,0xc,local_10e8);
    if (iVar1 != 0) break;
    rc5_ecb_encrypt(puVar2 + 0x10,&local_10f8,local_10e8);
    rc5_ecb_decrypt(&local_10f8,local_10f0,local_10e8);
    iVar1 = compare_testvector(&local_10f8,8,puVar2 + 0x18,8,"RC5 Encrypt",iVar3);
    if (iVar1 != 0) {
LAB_00124822:
      iVar1 = 5;
      break;
    }
    iVar1 = compare_testvector(local_10f0,8,puVar2 + 0x10,8,"RC5 Decrypt",iVar3);
    if (iVar1 != 0) goto LAB_00124822;
    local_10f8 = 0;
    iVar1 = 1000;
    do {
      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_encrypt(&local_10f8,&local_10f8,local_10e8);
      iVar1 = iVar1 + -8;
    } while (iVar1 != 0);
    iVar1 = 1000;
    do {
      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);
      rc5_ecb_decrypt(&local_10f8,&local_10f8,local_10e8);
      iVar1 = iVar1 + -8;
    } while (iVar1 != 0);
    if ((((((((char)local_10f8 != '\0' || local_10f8._1_1_ != '\0') || local_10f8._2_1_ != '\0') ||
           local_10f8._3_1_ != '\0') || local_10f8._4_1_ != '\0') || local_10f8._5_1_ != '\0') ||
        local_10f8._6_1_ != '\0') || local_10f8._7_1_ != '\0') goto LAB_00124822;
    iVar3 = iVar3 + 1;
    puVar2 = puVar2 + 0x20;
    iVar1 = 0;
  } while (iVar3 != 3);
  if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {
    return iVar1;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}

