
int der_decode_integer(uchar *in,ulong inlen,void *num)

{
  ulong uVar1;
  byte bVar2;
  code *pcVar3;
  ushort uVar4;
  uint3 uVar5;
  undefined *puVar6;
  int iVar7;
  undefined4 uVar8;
  ulong uVar9;
  ulong uVar10;
  uchar *puVar11;
  long in_FS_OFFSET;
  void *tmp;
  long local_20;
  
  puVar6 = PTR_ltc_mp_001ddec0;
  local_20 = *(long *)(in_FS_OFFSET + 0x28);
  if (num == (void *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);
  }
  if (in == (uchar *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);
  }
  iVar7 = 7;
  if ((inlen < 3) || ((*in & 0x1f) != 2)) goto LAB_00170bc0;
  bVar2 = in[1];
  if ((char)bVar2 < '\0') {
    uVar9 = (ulong)(bVar2 & 0x7f);
    uVar1 = uVar9 + 2;
    if ((inlen < uVar1) || (3 < uVar9 - 1)) goto LAB_00170bc0;
    uVar10 = (ulong)in[2];
    if (uVar9 != 1) {
      uVar4 = CONCAT11(in[2],in[3]);
      uVar10 = (ulong)uVar4;
      if (uVar9 != 2) {
        uVar5 = CONCAT21(uVar4,in[4]);
        uVar10 = (ulong)uVar5;
        if (uVar9 != 3) {
          uVar10 = (ulong)CONCAT31(uVar5,in[5]);
        }
      }
    }
    iVar7 = 7;
    if (inlen < uVar1 + uVar10) goto LAB_00170bc0;
    puVar11 = in + uVar1;
  }
  else {
    puVar11 = in + 2;
    if (inlen < (ulong)bVar2 + 2) goto LAB_00170bc0;
  }
  iVar7 = (**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(num,puVar11);
  if ((iVar7 == 0) && (iVar7 = 0, (char)*puVar11 < '\0')) {
    iVar7 = (**(code **)(puVar6 + 0x10))(&tmp);
    if (iVar7 == 0) {
      pcVar3 = *(code **)(puVar6 + 0x78);
      uVar8 = (**(code **)(puVar6 + 0x68))(num);
      iVar7 = (*pcVar3)(tmp,uVar8);
      if (iVar7 == 0) {
        iVar7 = (**(code **)(puVar6 + 0xb8))(num,tmp,num);
        if (iVar7 == 0) {
          (**(code **)(puVar6 + 0x20))(tmp);
          iVar7 = 0;
          goto LAB_00170bc0;
        }
      }
      (**(code **)(puVar6 + 0x20))(tmp);
    }
    iVar7 = 0xd;
  }
LAB_00170bc0:
  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {
    return iVar7;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}



undefined8 der_decode_integer(byte *param_1,ulong param_2,long param_3)

{
  ulong uVar1;
  byte bVar2;
  code *pcVar3;
  ushort uVar4;
  uint3 uVar5;
  undefined *puVar6;
  int iVar7;
  undefined4 uVar8;
  undefined8 uVar9;
  ulong uVar10;
  ulong uVar11;
  long in_FS_OFFSET;
  undefined8 local_28;
  long local_20;
  
  puVar6 = PTR_ltc_mp_001ddec0;
  local_20 = *(long *)(in_FS_OFFSET + 0x28);
  if (param_3 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);
  }
  if (param_1 == (byte *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);
  }
  uVar9 = 7;
  if ((param_2 < 3) || ((*param_1 & 0x1f) != 2)) goto LAB_00170bc0;
  bVar2 = param_1[1];
  if ((char)bVar2 < '\0') {
    uVar10 = (ulong)(bVar2 & 0x7f);
    uVar1 = uVar10 + 2;
    if ((param_2 < uVar1) || (3 < uVar10 - 1)) goto LAB_00170bc0;
    uVar11 = (ulong)param_1[2];
    if (uVar10 != 1) {
      uVar4 = CONCAT11(param_1[2],param_1[3]);
      uVar11 = (ulong)uVar4;
      if (uVar10 != 2) {
        uVar5 = CONCAT21(uVar4,param_1[4]);
        uVar11 = (ulong)uVar5;
        if (uVar10 != 3) {
          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);
        }
      }
    }
    uVar9 = 7;
    if (param_2 < uVar1 + uVar11) goto LAB_00170bc0;
    param_1 = param_1 + uVar1;
  }
  else {
    param_1 = param_1 + 2;
    if (param_2 < (ulong)bVar2 + 2) goto LAB_00170bc0;
  }
  uVar9 = (**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(param_3,param_1);
  if (((int)uVar9 == 0) && (uVar9 = 0, (char)*param_1 < '\0')) {
    iVar7 = (**(code **)(puVar6 + 0x10))(&local_28);
    if (iVar7 == 0) {
      pcVar3 = *(code **)(puVar6 + 0x78);
      uVar8 = (**(code **)(puVar6 + 0x68))(param_3);
      iVar7 = (*pcVar3)(local_28,uVar8);
      if (iVar7 == 0) {
        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);
        if (iVar7 == 0) {
          (**(code **)(puVar6 + 0x20))(local_28);
          uVar9 = 0;
          goto LAB_00170bc0;
        }
      }
      (**(code **)(puVar6 + 0x20))(local_28);
    }
    uVar9 = 0xd;
  }
LAB_00170bc0:
  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {
    return uVar9;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}


PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x20
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RSP + 0x18],RAX
XOR EAX,EAX
TEST RDX,RDX
JZ 0x00170ce1
TEST RDI,RDI
JZ 0x00170cc9
MOV EAX,0x7
CMP RSI,0x2
JBE 0x00170bc0
MOV RBP,RDX
MOVZX EDX,byte ptr [RDI]
AND EDX,0x1f
CMP DL,0x2
JNZ 0x00170bc0
MOVZX EDX,byte ptr [RDI + 0x1]
TEST DL,DL
JS 0x00170be0
LEA R12,[RDX + 0x2]
LEA RBX,[RDI + 0x2]
CMP R12,RSI
JA 0x00170bc0
MOV R12,qword ptr [0x001ddec0]
MOV RSI,RBX
MOV RDI,RBP
CALL qword ptr [R12 + 0xa0]
TEST EAX,EAX
JNZ 0x00170bc0
XOR EAX,EAX
CMP byte ptr [RBX],0x0
JS 0x00170c50
NOP dword ptr [RAX]
MOV RCX,qword ptr [RSP + 0x18]
XOR RCX,qword ptr FS:[0x28]
JNZ 0x00170cc4
ADD RSP,0x20
POP RBX
POP RBP
POP R12
RET
MOV RCX,RDX
AND ECX,0x7f
LEA RBX,[RCX + 0x2]
CMP RBX,RSI
JA 0x00170bc0
LEA R8,[RCX + -0x1]
CMP R8,0x3
JA 0x00170bc0
MOVZX EDX,byte ptr [RDI + 0x2]
TEST R8,R8
JZ 0x00170c31
MOVZX EAX,byte ptr [RDI + 0x3]
SHL RDX,0x8
OR RDX,RAX
CMP RCX,0x2
JZ 0x00170c31
MOVZX R9D,byte ptr [RDI + 0x4]
SHL RDX,0x8
OR RDX,R9
CMP RCX,0x3
JZ 0x00170c31
MOVZX R10D,byte ptr [RDI + 0x5]
SHL RDX,0x8
OR RDX,R10
LEA R11,[RBX + RDX*0x1]
MOV EAX,0x7
CMP R11,RSI
JA 0x00170bc0
ADD RBX,RDI
JMP 0x00170b98
LEA RDI,[RSP + 0x10]
CALL qword ptr [R12 + 0x10]
TEST EAX,EAX
JNZ 0x00170cba
MOV RDI,RBP
MOV RBX,qword ptr [R12 + 0x78]
CALL qword ptr [R12 + 0x68]
MOV RDI,qword ptr [RSP + 0x10]
MOV ESI,EAX
CALL RBX
TEST EAX,EAX
JNZ 0x00170cb0
MOV RDX,RBP
MOV RSI,qword ptr [RSP + 0x10]
MOV RDI,RBP
CALL qword ptr [R12 + 0xb8]
TEST EAX,EAX
MOV dword ptr [RSP + 0xc],EAX
JNZ 0x00170cb0
MOV RDI,qword ptr [RSP + 0x10]
CALL qword ptr [R12 + 0x20]
MOV EAX,dword ptr [RSP + 0xc]
JMP 0x00170bc0
MOV RDI,qword ptr [RSP + 0x10]
CALL qword ptr [R12 + 0x20]
MOV EAX,0xd
JMP 0x00170bc0
CALL 0x00113880
MOV EDX,0x20
LEA RSI,[0x1c32f0]
LEA RDI,[0x1a8790]
CALL 0x00114270
MOV EDX,0x1f
LEA RSI,[0x1c32f0]
LEA RDI,[0x1c331d]
CALL 0x00114270
(translation_unit "undefined8 der_decode_integer(byte *param_1,ulong param_2,long param_3)\n\n{\n  ulong uVar1;\n  byte bVar2;\n  code *pcVar3;\n  ushort uVar4;\n  uint3 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  undefined4 uVar8;\n  undefined8 uVar9;\n  ulong uVar10;\n  ulong uVar11;\n  long in_FS_OFFSET;\n  undefined8 local_28;\n  long local_20;\n  \n  puVar6 = PTR_ltc_mp_001ddec0;\n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_3 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);\n  }\n  if (param_1 == (byte *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);\n  }\n  uVar9 = 7;\n  if ((param_2 < 3) || ((*param_1 & 0x1f) != 2)) goto LAB_00170bc0;\n  bVar2 = param_1[1];\n  if ((char)bVar2 < '\0') {\n    uVar10 = (ulong)(bVar2 & 0x7f);\n    uVar1 = uVar10 + 2;\n    if ((param_2 < uVar1) || (3 < uVar10 - 1)) goto LAB_00170bc0;\n    uVar11 = (ulong)param_1[2];\n    if (uVar10 != 1) {\n      uVar4 = CONCAT11(param_1[2],param_1[3]);\n      uVar11 = (ulong)uVar4;\n      if (uVar10 != 2) {\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }\n    }\n    uVar9 = 7;\n    if (param_2 < uVar1 + uVar11) goto LAB_00170bc0;\n    param_1 = param_1 + uVar1;\n  }\n  else {\n    param_1 = param_1 + 2;\n    if (param_2 < (ulong)bVar2 + 2) goto LAB_00170bc0;\n  }\n  uVar9 = (**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(param_3,param_1);\n  if (((int)uVar9 == 0) && (uVar9 = 0, (char)*param_1 < '\0')) {\n    iVar7 = (**(code **)(puVar6 + 0x10))(&local_28);\n    if (iVar7 == 0) {\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(param_3);\n      iVar7 = (*pcVar3)(local_28,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(local_28);\n    }\n    uVar9 = 0xd;\n  }\nLAB_00170bc0:\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return uVar9;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" (function_definition "undefined8 der_decode_integer(byte *param_1,ulong param_2,long param_3)\n\n{\n  ulong uVar1;\n  byte bVar2;\n  code *pcVar3;\n  ushort uVar4;\n  uint3 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  undefined4 uVar8;\n  undefined8 uVar9;\n  ulong uVar10;\n  ulong uVar11;\n  long in_FS_OFFSET;\n  undefined8 local_28;\n  long local_20;\n  \n  puVar6 = PTR_ltc_mp_001ddec0;\n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_3 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);\n  }\n  if (param_1 == (byte *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);\n  }\n  uVar9 = 7;\n  if ((param_2 < 3) || ((*param_1 & 0x1f) != 2)) goto LAB_00170bc0;\n  bVar2 = param_1[1];\n  if ((char)bVar2 < '\0') {\n    uVar10 = (ulong)(bVar2 & 0x7f);\n    uVar1 = uVar10 + 2;\n    if ((param_2 < uVar1) || (3 < uVar10 - 1)) goto LAB_00170bc0;\n    uVar11 = (ulong)param_1[2];\n    if (uVar10 != 1) {\n      uVar4 = CONCAT11(param_1[2],param_1[3]);\n      uVar11 = (ulong)uVar4;\n      if (uVar10 != 2) {\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }\n    }\n    uVar9 = 7;\n    if (param_2 < uVar1 + uVar11) goto LAB_00170bc0;\n    param_1 = param_1 + uVar1;\n  }\n  else {\n    param_1 = param_1 + 2;\n    if (param_2 < (ulong)bVar2 + 2) goto LAB_00170bc0;\n  }\n  uVar9 = (**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(param_3,param_1);\n  if (((int)uVar9 == 0) && (uVar9 = 0, (char)*param_1 < '\0')) {\n    iVar7 = (**(code **)(puVar6 + 0x10))(&local_28);\n    if (iVar7 == 0) {\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(param_3);\n      iVar7 = (*pcVar3)(local_28,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(local_28);\n    }\n    uVar9 = 0xd;\n  }\nLAB_00170bc0:\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return uVar9;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" type_identifier (function_declarator "der_decode_integer(byte *param_1,ulong param_2,long param_3)" identifier (parameter_list "(byte *param_1,ulong param_2,long param_3)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "ulong param_2" type_identifier identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  ulong uVar1;\n  byte bVar2;\n  code *pcVar3;\n  ushort uVar4;\n  uint3 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  undefined4 uVar8;\n  undefined8 uVar9;\n  ulong uVar10;\n  ulong uVar11;\n  long in_FS_OFFSET;\n  undefined8 local_28;\n  long local_20;\n  \n  puVar6 = PTR_ltc_mp_001ddec0;\n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_3 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);\n  }\n  if (param_1 == (byte *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);\n  }\n  uVar9 = 7;\n  if ((param_2 < 3) || ((*param_1 & 0x1f) != 2)) goto LAB_00170bc0;\n  bVar2 = param_1[1];\n  if ((char)bVar2 < '\0') {\n    uVar10 = (ulong)(bVar2 & 0x7f);\n    uVar1 = uVar10 + 2;\n    if ((param_2 < uVar1) || (3 < uVar10 - 1)) goto LAB_00170bc0;\n    uVar11 = (ulong)param_1[2];\n    if (uVar10 != 1) {\n      uVar4 = CONCAT11(param_1[2],param_1[3]);\n      uVar11 = (ulong)uVar4;\n      if (uVar10 != 2) {\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }\n    }\n    uVar9 = 7;\n    if (param_2 < uVar1 + uVar11) goto LAB_00170bc0;\n    param_1 = param_1 + uVar1;\n  }\n  else {\n    param_1 = param_1 + 2;\n    if (param_2 < (ulong)bVar2 + 2) goto LAB_00170bc0;\n  }\n  uVar9 = (**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(param_3,param_1);\n  if (((int)uVar9 == 0) && (uVar9 = 0, (char)*param_1 < '\0')) {\n    iVar7 = (**(code **)(puVar6 + 0x10))(&local_28);\n    if (iVar7 == 0) {\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(param_3);\n      iVar7 = (*pcVar3)(local_28,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(local_28);\n    }\n    uVar9 = 0xd;\n  }\nLAB_00170bc0:\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return uVar9;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "ushort uVar4;" type_identifier identifier ;) (declaration "uint3 uVar5;" type_identifier identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined8 uVar9;" type_identifier identifier ;) (declaration "ulong uVar10;" type_identifier identifier ;) (declaration "ulong uVar11;" type_identifier identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 local_28;" type_identifier identifier ;) (declaration "long local_20;" (sized_type_specifier "long" long) identifier ;) (expression_statement "puVar6 = PTR_ltc_mp_001ddec0;" (assignment_expression "puVar6 = PTR_ltc_mp_001ddec0" identifier = identifier) ;) (expression_statement "local_20 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_20 = *(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) ))))) ;) (if_statement "if (param_3 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);\n  }" { comment (expression_statement "crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);" (call_expression "crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f)" identifier (argument_list "("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f)" ( (string_literal ""num != NULL"" " string_content ") , (string_literal ""src/pk/asn1/der/integer/der_decode_integer.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_1 == (byte *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);\n  }" if (parenthesized_expression "(param_1 == (byte *)0x0)" ( (binary_expression "param_1 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);\n  }" { comment (expression_statement "crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);" (call_expression "crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20)" identifier (argument_list "("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20)" ( (string_literal ""in != NULL"" " string_content ") , (string_literal ""src/pk/asn1/der/integer/der_decode_integer.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "uVar9 = 7;" (assignment_expression "uVar9 = 7" identifier = number_literal) ;) (if_statement "if ((param_2 < 3) || ((*param_1 & 0x1f) != 2)) goto LAB_00170bc0;" if (parenthesized_expression "((param_2 < 3) || ((*param_1 & 0x1f) != 2))" ( (binary_expression "(param_2 < 3) || ((*param_1 & 0x1f) != 2)" (parenthesized_expression "(param_2 < 3)" ( (binary_expression "param_2 < 3" identifier < number_literal) )) || (parenthesized_expression "((*param_1 & 0x1f) != 2)" ( (binary_expression "(*param_1 & 0x1f) != 2" (parenthesized_expression "(*param_1 & 0x1f)" ( (binary_expression "*param_1 & 0x1f" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) ))) )) (goto_statement "goto LAB_00170bc0;" goto statement_identifier ;)) (expression_statement "bVar2 = param_1[1];" (assignment_expression "bVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if ((char)bVar2 < '\0') {\n    uVar10 = (ulong)(bVar2 & 0x7f);\n    uVar1 = uVar10 + 2;\n    if ((param_2 < uVar1) || (3 < uVar10 - 1)) goto LAB_00170bc0;\n    uVar11 = (ulong)param_1[2];\n    if (uVar10 != 1) {\n      uVar4 = CONCAT11(param_1[2],param_1[3]);\n      uVar11 = (ulong)uVar4;\n      if (uVar10 != 2) {\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }\n    }\n    uVar9 = 7;\n    if (param_2 < uVar1 + uVar11) goto LAB_00170bc0;\n    param_1 = param_1 + uVar1;\n  }\n  else {\n    param_1 = param_1 + 2;\n    if (param_2 < (ulong)bVar2 + 2) goto LAB_00170bc0;\n  }" if (parenthesized_expression "((char)bVar2 < '\0')" ( (binary_expression "(char)bVar2 < '\0'" (cast_expression "(char)bVar2" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar10 = (ulong)(bVar2 & 0x7f);\n    uVar1 = uVar10 + 2;\n    if ((param_2 < uVar1) || (3 < uVar10 - 1)) goto LAB_00170bc0;\n    uVar11 = (ulong)param_1[2];\n    if (uVar10 != 1) {\n      uVar4 = CONCAT11(param_1[2],param_1[3]);\n      uVar11 = (ulong)uVar4;\n      if (uVar10 != 2) {\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }\n    }\n    uVar9 = 7;\n    if (param_2 < uVar1 + uVar11) goto LAB_00170bc0;\n    param_1 = param_1 + uVar1;\n  }" { (expression_statement "uVar10 = (ulong)(bVar2 & 0x7f);" (assignment_expression "uVar10 = (ulong)(bVar2 & 0x7f)" identifier = (call_expression "(ulong)(bVar2 & 0x7f)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(bVar2 & 0x7f)" ( (binary_expression "bVar2 & 0x7f" identifier & number_literal) )))) ;) (expression_statement "uVar1 = uVar10 + 2;" (assignment_expression "uVar1 = uVar10 + 2" identifier = (binary_expression "uVar10 + 2" identifier + number_literal)) ;) (if_statement "if ((param_2 < uVar1) || (3 < uVar10 - 1)) goto LAB_00170bc0;" if (parenthesized_expression "((param_2 < uVar1) || (3 < uVar10 - 1))" ( (binary_expression "(param_2 < uVar1) || (3 < uVar10 - 1)" (parenthesized_expression "(param_2 < uVar1)" ( (binary_expression "param_2 < uVar1" identifier < identifier) )) || (parenthesized_expression "(3 < uVar10 - 1)" ( (binary_expression "3 < uVar10 - 1" number_literal < (binary_expression "uVar10 - 1" identifier - number_literal)) ))) )) (goto_statement "goto LAB_00170bc0;" goto statement_identifier ;)) (expression_statement "uVar11 = (ulong)param_1[2];" (assignment_expression "uVar11 = (ulong)param_1[2]" identifier = (cast_expression "(ulong)param_1[2]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (if_statement "if (uVar10 != 1) {\n      uVar4 = CONCAT11(param_1[2],param_1[3]);\n      uVar11 = (ulong)uVar4;\n      if (uVar10 != 2) {\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }\n    }" if (parenthesized_expression "(uVar10 != 1)" ( (binary_expression "uVar10 != 1" identifier != number_literal) )) (compound_statement "{\n      uVar4 = CONCAT11(param_1[2],param_1[3]);\n      uVar11 = (ulong)uVar4;\n      if (uVar10 != 2) {\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }\n    }" { (expression_statement "uVar4 = CONCAT11(param_1[2],param_1[3]);" (assignment_expression "uVar4 = CONCAT11(param_1[2],param_1[3])" identifier = (call_expression "CONCAT11(param_1[2],param_1[3])" identifier (argument_list "(param_1[2],param_1[3])" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (subscript_expression "param_1[3]" identifier [ number_literal ]) )))) ;) (expression_statement "uVar11 = (ulong)uVar4;" (assignment_expression "uVar11 = (ulong)uVar4" identifier = (cast_expression "(ulong)uVar4" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (if_statement "if (uVar10 != 2) {\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }" if (parenthesized_expression "(uVar10 != 2)" ( (binary_expression "uVar10 != 2" identifier != number_literal) )) (compound_statement "{\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }" { (expression_statement "uVar5 = CONCAT21(uVar4,param_1[4]);" (assignment_expression "uVar5 = CONCAT21(uVar4,param_1[4])" identifier = (call_expression "CONCAT21(uVar4,param_1[4])" identifier (argument_list "(uVar4,param_1[4])" ( identifier , (subscript_expression "param_1[4]" identifier [ number_literal ]) )))) ;) (expression_statement "uVar11 = (ulong)uVar5;" (assignment_expression "uVar11 = (ulong)uVar5" identifier = (cast_expression "(ulong)uVar5" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (if_statement "if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }" if (parenthesized_expression "(uVar10 != 3)" ( (binary_expression "uVar10 != 3" identifier != number_literal) )) (compound_statement "{\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }" { (expression_statement "uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);" (assignment_expression "uVar11 = (ulong)CONCAT31(uVar5,param_1[5])" identifier = (cast_expression "(ulong)CONCAT31(uVar5,param_1[5])" ( (type_descriptor "ulong" type_identifier) ) (call_expression "CONCAT31(uVar5,param_1[5])" identifier (argument_list "(uVar5,param_1[5])" ( identifier , (subscript_expression "param_1[5]" identifier [ number_literal ]) ))))) ;) })) })) })) (expression_statement "uVar9 = 7;" (assignment_expression "uVar9 = 7" identifier = number_literal) ;) (if_statement "if (param_2 < uVar1 + uVar11) goto LAB_00170bc0;" if (parenthesized_expression "(param_2 < uVar1 + uVar11)" ( (binary_expression "param_2 < uVar1 + uVar11" identifier < (binary_expression "uVar1 + uVar11" identifier + identifier)) )) (goto_statement "goto LAB_00170bc0;" goto statement_identifier ;)) (expression_statement "param_1 = param_1 + uVar1;" (assignment_expression "param_1 = param_1 + uVar1" identifier = (binary_expression "param_1 + uVar1" identifier + identifier)) ;) }) (else_clause "else {\n    param_1 = param_1 + 2;\n    if (param_2 < (ulong)bVar2 + 2) goto LAB_00170bc0;\n  }" else (compound_statement "{\n    param_1 = param_1 + 2;\n    if (param_2 < (ulong)bVar2 + 2) goto LAB_00170bc0;\n  }" { (expression_statement "param_1 = param_1 + 2;" (assignment_expression "param_1 = param_1 + 2" identifier = (binary_expression "param_1 + 2" identifier + number_literal)) ;) (if_statement "if (param_2 < (ulong)bVar2 + 2) goto LAB_00170bc0;" if (parenthesized_expression "(param_2 < (ulong)bVar2 + 2)" ( (binary_expression "param_2 < (ulong)bVar2 + 2" identifier < (binary_expression "(ulong)bVar2 + 2" (cast_expression "(ulong)bVar2" ( (type_descriptor "ulong" type_identifier) ) identifier) + number_literal)) )) (goto_statement "goto LAB_00170bc0;" goto statement_identifier ;)) }))) (expression_statement "uVar9 = (**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(param_3,param_1);" (assignment_expression "uVar9 = (**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(param_3,param_1)" identifier = (call_expression "(**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(param_3,param_1)" (parenthesized_expression "(**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))" ( (pointer_expression "**(code **)(PTR_ltc_mp_001ddec0 + 0xa0)" * (pointer_expression "*(code **)(PTR_ltc_mp_001ddec0 + 0xa0)" * (cast_expression "(code **)(PTR_ltc_mp_001ddec0 + 0xa0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_ltc_mp_001ddec0 + 0xa0)" ( (binary_expression "PTR_ltc_mp_001ddec0 + 0xa0" identifier + number_literal) ))))) )) (argument_list "(param_3,param_1)" ( identifier , identifier )))) ;) (if_statement "if (((int)uVar9 == 0) && (uVar9 = 0, (char)*param_1 < '\0')) {\n    iVar7 = (**(code **)(puVar6 + 0x10))(&local_28);\n    if (iVar7 == 0) {\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(param_3);\n      iVar7 = (*pcVar3)(local_28,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(local_28);\n    }\n    uVar9 = 0xd;\n  }" if (parenthesized_expression "(((int)uVar9 == 0) && (uVar9 = 0, (char)*param_1 < '\0'))" ( (binary_expression "((int)uVar9 == 0) && (uVar9 = 0, (char)*param_1 < '\0')" (parenthesized_expression "((int)uVar9 == 0)" ( (binary_expression "(int)uVar9 == 0" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal) )) && (parenthesized_expression "(uVar9 = 0, (char)*param_1 < '\0')" ( (comma_expression "uVar9 = 0, (char)*param_1 < '\0'" (assignment_expression "uVar9 = 0" identifier = number_literal) , (binary_expression "(char)*param_1 < '\0'" (cast_expression "(char)*param_1" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*param_1" * identifier)) < (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n    iVar7 = (**(code **)(puVar6 + 0x10))(&local_28);\n    if (iVar7 == 0) {\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(param_3);\n      iVar7 = (*pcVar3)(local_28,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(local_28);\n    }\n    uVar9 = 0xd;\n  }" { (expression_statement "iVar7 = (**(code **)(puVar6 + 0x10))(&local_28);" (assignment_expression "iVar7 = (**(code **)(puVar6 + 0x10))(&local_28)" identifier = (call_expression "(**(code **)(puVar6 + 0x10))(&local_28)" (parenthesized_expression "(**(code **)(puVar6 + 0x10))" ( (pointer_expression "**(code **)(puVar6 + 0x10)" * (pointer_expression "*(code **)(puVar6 + 0x10)" * (cast_expression "(code **)(puVar6 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x10)" ( (binary_expression "puVar6 + 0x10" identifier + number_literal) ))))) )) (argument_list "(&local_28)" ( (pointer_expression "&local_28" & identifier) )))) ;) (if_statement "if (iVar7 == 0) {\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(param_3);\n      iVar7 = (*pcVar3)(local_28,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(local_28);\n    }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(param_3);\n      iVar7 = (*pcVar3)(local_28,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(local_28);\n    }" { (expression_statement "pcVar3 = *(code **)(puVar6 + 0x78);" (assignment_expression "pcVar3 = *(code **)(puVar6 + 0x78)" identifier = (pointer_expression "*(code **)(puVar6 + 0x78)" * (cast_expression "(code **)(puVar6 + 0x78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x78)" ( (binary_expression "puVar6 + 0x78" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = (**(code **)(puVar6 + 0x68))(param_3);" (assignment_expression "uVar8 = (**(code **)(puVar6 + 0x68))(param_3)" identifier = (call_expression "(**(code **)(puVar6 + 0x68))(param_3)" (parenthesized_expression "(**(code **)(puVar6 + 0x68))" ( (pointer_expression "**(code **)(puVar6 + 0x68)" * (pointer_expression "*(code **)(puVar6 + 0x68)" * (cast_expression "(code **)(puVar6 + 0x68)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x68)" ( (binary_expression "puVar6 + 0x68" identifier + number_literal) ))))) )) (argument_list "(param_3)" ( identifier )))) ;) (expression_statement "iVar7 = (*pcVar3)(local_28,uVar8);" (assignment_expression "iVar7 = (*pcVar3)(local_28,uVar8)" identifier = (call_expression "(*pcVar3)(local_28,uVar8)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(local_28,uVar8)" ( identifier , identifier )))) ;) (if_statement "if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }" { (expression_statement "iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);" (assignment_expression "iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3)" identifier = (call_expression "(**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3)" (parenthesized_expression "(**(code **)(puVar6 + 0xb8))" ( (pointer_expression "**(code **)(puVar6 + 0xb8)" * (pointer_expression "*(code **)(puVar6 + 0xb8)" * (cast_expression "(code **)(puVar6 + 0xb8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xb8)" ( (binary_expression "puVar6 + 0xb8" identifier + number_literal) ))))) )) (argument_list "(param_3,local_28,param_3)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }" { (expression_statement "(**(code **)(puVar6 + 0x20))(local_28);" (call_expression "(**(code **)(puVar6 + 0x20))(local_28)" (parenthesized_expression "(**(code **)(puVar6 + 0x20))" ( (pointer_expression "**(code **)(puVar6 + 0x20)" * (pointer_expression "*(code **)(puVar6 + 0x20)" * (cast_expression "(code **)(puVar6 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x20)" ( (binary_expression "puVar6 + 0x20" identifier + number_literal) ))))) )) (argument_list "(local_28)" ( identifier ))) ;) (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00170bc0;" goto statement_identifier ;) })) })) (expression_statement "(**(code **)(puVar6 + 0x20))(local_28);" (call_expression "(**(code **)(puVar6 + 0x20))(local_28)" (parenthesized_expression "(**(code **)(puVar6 + 0x20))" ( (pointer_expression "**(code **)(puVar6 + 0x20)" * (pointer_expression "*(code **)(puVar6 + 0x20)" * (cast_expression "(code **)(puVar6 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x20)" ( (binary_expression "puVar6 + 0x20" identifier + number_literal) ))))) )) (argument_list "(local_28)" ( identifier ))) ;) })) (expression_statement "uVar9 = 0xd;" (assignment_expression "uVar9 = 0xd" identifier = number_literal) ;) })) (labeled_statement "LAB_00170bc0:\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return uVar9;\n  }" statement_identifier : (if_statement "if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return uVar9;\n  }" if (parenthesized_expression "(local_20 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_20 == *(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 uVar9;\n  }" { (return_statement "return uVar9;" return identifier ;) }))) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "int der_decode_integer(uchar *in,ulong inlen,void *num)\n\n{\n  ulong uVar1;\n  byte bVar2;\n  code *pcVar3;\n  ushort uVar4;\n  uint3 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  undefined4 uVar8;\n  ulong uVar9;\n  ulong uVar10;\n  uchar *puVar11;\n  long in_FS_OFFSET;\n  void *tmp;\n  long local_20;\n  \n  puVar6 = PTR_ltc_mp_001ddec0;\n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (num == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);\n  }\n  if (in == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);\n  }\n  iVar7 = 7;\n  if ((inlen < 3) || ((*in & 0x1f) != 2)) goto LAB_00170bc0;\n  bVar2 = in[1];\n  if ((char)bVar2 < '\0') {\n    uVar9 = (ulong)(bVar2 & 0x7f);\n    uVar1 = uVar9 + 2;\n    if ((inlen < uVar1) || (3 < uVar9 - 1)) goto LAB_00170bc0;\n    uVar10 = (ulong)in[2];\n    if (uVar9 != 1) {\n      uVar4 = CONCAT11(in[2],in[3]);\n      uVar10 = (ulong)uVar4;\n      if (uVar9 != 2) {\n        uVar5 = CONCAT21(uVar4,in[4]);\n        uVar10 = (ulong)uVar5;\n        if (uVar9 != 3) {\n          uVar10 = (ulong)CONCAT31(uVar5,in[5]);\n        }\n      }\n    }\n    iVar7 = 7;\n    if (inlen < uVar1 + uVar10) goto LAB_00170bc0;\n    puVar11 = in + uVar1;\n  }\n  else {\n    puVar11 = in + 2;\n    if (inlen < (ulong)bVar2 + 2) goto LAB_00170bc0;\n  }\n  iVar7 = (**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(num,puVar11);\n  if ((iVar7 == 0) && (iVar7 = 0, (char)*puVar11 < '\0')) {\n    iVar7 = (**(code **)(puVar6 + 0x10))(&tmp);\n    if (iVar7 == 0) {\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(num);\n      iVar7 = (*pcVar3)(tmp,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(num,tmp,num);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(tmp);\n          iVar7 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(tmp);\n    }\n    iVar7 = 0xd;\n  }\nLAB_00170bc0:\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar7;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" (function_definition "int der_decode_integer(uchar *in,ulong inlen,void *num)\n\n{\n  ulong uVar1;\n  byte bVar2;\n  code *pcVar3;\n  ushort uVar4;\n  uint3 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  undefined4 uVar8;\n  ulong uVar9;\n  ulong uVar10;\n  uchar *puVar11;\n  long in_FS_OFFSET;\n  void *tmp;\n  long local_20;\n  \n  puVar6 = PTR_ltc_mp_001ddec0;\n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (num == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);\n  }\n  if (in == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);\n  }\n  iVar7 = 7;\n  if ((inlen < 3) || ((*in & 0x1f) != 2)) goto LAB_00170bc0;\n  bVar2 = in[1];\n  if ((char)bVar2 < '\0') {\n    uVar9 = (ulong)(bVar2 & 0x7f);\n    uVar1 = uVar9 + 2;\n    if ((inlen < uVar1) || (3 < uVar9 - 1)) goto LAB_00170bc0;\n    uVar10 = (ulong)in[2];\n    if (uVar9 != 1) {\n      uVar4 = CONCAT11(in[2],in[3]);\n      uVar10 = (ulong)uVar4;\n      if (uVar9 != 2) {\n        uVar5 = CONCAT21(uVar4,in[4]);\n        uVar10 = (ulong)uVar5;\n        if (uVar9 != 3) {\n          uVar10 = (ulong)CONCAT31(uVar5,in[5]);\n        }\n      }\n    }\n    iVar7 = 7;\n    if (inlen < uVar1 + uVar10) goto LAB_00170bc0;\n    puVar11 = in + uVar1;\n  }\n  else {\n    puVar11 = in + 2;\n    if (inlen < (ulong)bVar2 + 2) goto LAB_00170bc0;\n  }\n  iVar7 = (**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(num,puVar11);\n  if ((iVar7 == 0) && (iVar7 = 0, (char)*puVar11 < '\0')) {\n    iVar7 = (**(code **)(puVar6 + 0x10))(&tmp);\n    if (iVar7 == 0) {\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(num);\n      iVar7 = (*pcVar3)(tmp,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(num,tmp,num);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(tmp);\n          iVar7 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(tmp);\n    }\n    iVar7 = 0xd;\n  }\nLAB_00170bc0:\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar7;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" primitive_type (function_declarator "der_decode_integer(uchar *in,ulong inlen,void *num)" identifier (parameter_list "(uchar *in,ulong inlen,void *num)" ( (parameter_declaration "uchar *in" type_identifier (pointer_declarator "*in" * identifier)) , (parameter_declaration "ulong inlen" type_identifier identifier) , (parameter_declaration "void *num" primitive_type (pointer_declarator "*num" * identifier)) ))) (compound_statement "{\n  ulong uVar1;\n  byte bVar2;\n  code *pcVar3;\n  ushort uVar4;\n  uint3 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  undefined4 uVar8;\n  ulong uVar9;\n  ulong uVar10;\n  uchar *puVar11;\n  long in_FS_OFFSET;\n  void *tmp;\n  long local_20;\n  \n  puVar6 = PTR_ltc_mp_001ddec0;\n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (num == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);\n  }\n  if (in == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);\n  }\n  iVar7 = 7;\n  if ((inlen < 3) || ((*in & 0x1f) != 2)) goto LAB_00170bc0;\n  bVar2 = in[1];\n  if ((char)bVar2 < '\0') {\n    uVar9 = (ulong)(bVar2 & 0x7f);\n    uVar1 = uVar9 + 2;\n    if ((inlen < uVar1) || (3 < uVar9 - 1)) goto LAB_00170bc0;\n    uVar10 = (ulong)in[2];\n    if (uVar9 != 1) {\n      uVar4 = CONCAT11(in[2],in[3]);\n      uVar10 = (ulong)uVar4;\n      if (uVar9 != 2) {\n        uVar5 = CONCAT21(uVar4,in[4]);\n        uVar10 = (ulong)uVar5;\n        if (uVar9 != 3) {\n          uVar10 = (ulong)CONCAT31(uVar5,in[5]);\n        }\n      }\n    }\n    iVar7 = 7;\n    if (inlen < uVar1 + uVar10) goto LAB_00170bc0;\n    puVar11 = in + uVar1;\n  }\n  else {\n    puVar11 = in + 2;\n    if (inlen < (ulong)bVar2 + 2) goto LAB_00170bc0;\n  }\n  iVar7 = (**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(num,puVar11);\n  if ((iVar7 == 0) && (iVar7 = 0, (char)*puVar11 < '\0')) {\n    iVar7 = (**(code **)(puVar6 + 0x10))(&tmp);\n    if (iVar7 == 0) {\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(num);\n      iVar7 = (*pcVar3)(tmp,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(num,tmp,num);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(tmp);\n          iVar7 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(tmp);\n    }\n    iVar7 = 0xd;\n  }\nLAB_00170bc0:\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar7;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "ushort uVar4;" type_identifier identifier ;) (declaration "uint3 uVar5;" type_identifier identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "ulong uVar9;" type_identifier identifier ;) (declaration "ulong uVar10;" type_identifier identifier ;) (declaration "uchar *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "void *tmp;" primitive_type (pointer_declarator "*tmp" * identifier) ;) (declaration "long local_20;" (sized_type_specifier "long" long) identifier ;) (expression_statement "puVar6 = PTR_ltc_mp_001ddec0;" (assignment_expression "puVar6 = PTR_ltc_mp_001ddec0" identifier = identifier) ;) (expression_statement "local_20 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_20 = *(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) ))))) ;) (if_statement "if (num == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);\n  }" if (parenthesized_expression "(num == (void *)0x0)" ( (binary_expression "num == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);\n  }" { comment (expression_statement "crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);" (call_expression "crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f)" identifier (argument_list "("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f)" ( (string_literal ""num != NULL"" " string_content ") , (string_literal ""src/pk/asn1/der/integer/der_decode_integer.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (in == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);\n  }" if (parenthesized_expression "(in == (uchar *)0x0)" ( (binary_expression "in == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);\n  }" { comment (expression_statement "crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);" (call_expression "crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20)" identifier (argument_list "("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20)" ( (string_literal ""in != NULL"" " string_content ") , (string_literal ""src/pk/asn1/der/integer/der_decode_integer.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "iVar7 = 7;" (assignment_expression "iVar7 = 7" identifier = number_literal) ;) (if_statement "if ((inlen < 3) || ((*in & 0x1f) != 2)) goto LAB_00170bc0;" if (parenthesized_expression "((inlen < 3) || ((*in & 0x1f) != 2))" ( (binary_expression "(inlen < 3) || ((*in & 0x1f) != 2)" (parenthesized_expression "(inlen < 3)" ( (binary_expression "inlen < 3" identifier < number_literal) )) || (parenthesized_expression "((*in & 0x1f) != 2)" ( (binary_expression "(*in & 0x1f) != 2" (parenthesized_expression "(*in & 0x1f)" ( (binary_expression "*in & 0x1f" (pointer_expression "*in" * identifier) & number_literal) )) != number_literal) ))) )) (goto_statement "goto LAB_00170bc0;" goto statement_identifier ;)) (expression_statement "bVar2 = in[1];" (assignment_expression "bVar2 = in[1]" identifier = (subscript_expression "in[1]" identifier [ number_literal ])) ;) (if_statement "if ((char)bVar2 < '\0') {\n    uVar9 = (ulong)(bVar2 & 0x7f);\n    uVar1 = uVar9 + 2;\n    if ((inlen < uVar1) || (3 < uVar9 - 1)) goto LAB_00170bc0;\n    uVar10 = (ulong)in[2];\n    if (uVar9 != 1) {\n      uVar4 = CONCAT11(in[2],in[3]);\n      uVar10 = (ulong)uVar4;\n      if (uVar9 != 2) {\n        uVar5 = CONCAT21(uVar4,in[4]);\n        uVar10 = (ulong)uVar5;\n        if (uVar9 != 3) {\n          uVar10 = (ulong)CONCAT31(uVar5,in[5]);\n        }\n      }\n    }\n    iVar7 = 7;\n    if (inlen < uVar1 + uVar10) goto LAB_00170bc0;\n    puVar11 = in + uVar1;\n  }\n  else {\n    puVar11 = in + 2;\n    if (inlen < (ulong)bVar2 + 2) goto LAB_00170bc0;\n  }" if (parenthesized_expression "((char)bVar2 < '\0')" ( (binary_expression "(char)bVar2 < '\0'" (cast_expression "(char)bVar2" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar9 = (ulong)(bVar2 & 0x7f);\n    uVar1 = uVar9 + 2;\n    if ((inlen < uVar1) || (3 < uVar9 - 1)) goto LAB_00170bc0;\n    uVar10 = (ulong)in[2];\n    if (uVar9 != 1) {\n      uVar4 = CONCAT11(in[2],in[3]);\n      uVar10 = (ulong)uVar4;\n      if (uVar9 != 2) {\n        uVar5 = CONCAT21(uVar4,in[4]);\n        uVar10 = (ulong)uVar5;\n        if (uVar9 != 3) {\n          uVar10 = (ulong)CONCAT31(uVar5,in[5]);\n        }\n      }\n    }\n    iVar7 = 7;\n    if (inlen < uVar1 + uVar10) goto LAB_00170bc0;\n    puVar11 = in + uVar1;\n  }" { (expression_statement "uVar9 = (ulong)(bVar2 & 0x7f);" (assignment_expression "uVar9 = (ulong)(bVar2 & 0x7f)" identifier = (call_expression "(ulong)(bVar2 & 0x7f)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(bVar2 & 0x7f)" ( (binary_expression "bVar2 & 0x7f" identifier & number_literal) )))) ;) (expression_statement "uVar1 = uVar9 + 2;" (assignment_expression "uVar1 = uVar9 + 2" identifier = (binary_expression "uVar9 + 2" identifier + number_literal)) ;) (if_statement "if ((inlen < uVar1) || (3 < uVar9 - 1)) goto LAB_00170bc0;" if (parenthesized_expression "((inlen < uVar1) || (3 < uVar9 - 1))" ( (binary_expression "(inlen < uVar1) || (3 < uVar9 - 1)" (parenthesized_expression "(inlen < uVar1)" ( (binary_expression "inlen < uVar1" identifier < identifier) )) || (parenthesized_expression "(3 < uVar9 - 1)" ( (binary_expression "3 < uVar9 - 1" number_literal < (binary_expression "uVar9 - 1" identifier - number_literal)) ))) )) (goto_statement "goto LAB_00170bc0;" goto statement_identifier ;)) (expression_statement "uVar10 = (ulong)in[2];" (assignment_expression "uVar10 = (ulong)in[2]" identifier = (cast_expression "(ulong)in[2]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "in[2]" identifier [ number_literal ]))) ;) (if_statement "if (uVar9 != 1) {\n      uVar4 = CONCAT11(in[2],in[3]);\n      uVar10 = (ulong)uVar4;\n      if (uVar9 != 2) {\n        uVar5 = CONCAT21(uVar4,in[4]);\n        uVar10 = (ulong)uVar5;\n        if (uVar9 != 3) {\n          uVar10 = (ulong)CONCAT31(uVar5,in[5]);\n        }\n      }\n    }" if (parenthesized_expression "(uVar9 != 1)" ( (binary_expression "uVar9 != 1" identifier != number_literal) )) (compound_statement "{\n      uVar4 = CONCAT11(in[2],in[3]);\n      uVar10 = (ulong)uVar4;\n      if (uVar9 != 2) {\n        uVar5 = CONCAT21(uVar4,in[4]);\n        uVar10 = (ulong)uVar5;\n        if (uVar9 != 3) {\n          uVar10 = (ulong)CONCAT31(uVar5,in[5]);\n        }\n      }\n    }" { (expression_statement "uVar4 = CONCAT11(in[2],in[3]);" (assignment_expression "uVar4 = CONCAT11(in[2],in[3])" identifier = (call_expression "CONCAT11(in[2],in[3])" identifier (argument_list "(in[2],in[3])" ( (subscript_expression "in[2]" identifier [ number_literal ]) , (subscript_expression "in[3]" identifier [ number_literal ]) )))) ;) (expression_statement "uVar10 = (ulong)uVar4;" (assignment_expression "uVar10 = (ulong)uVar4" identifier = (cast_expression "(ulong)uVar4" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (if_statement "if (uVar9 != 2) {\n        uVar5 = CONCAT21(uVar4,in[4]);\n        uVar10 = (ulong)uVar5;\n        if (uVar9 != 3) {\n          uVar10 = (ulong)CONCAT31(uVar5,in[5]);\n        }\n      }" if (parenthesized_expression "(uVar9 != 2)" ( (binary_expression "uVar9 != 2" identifier != number_literal) )) (compound_statement "{\n        uVar5 = CONCAT21(uVar4,in[4]);\n        uVar10 = (ulong)uVar5;\n        if (uVar9 != 3) {\n          uVar10 = (ulong)CONCAT31(uVar5,in[5]);\n        }\n      }" { (expression_statement "uVar5 = CONCAT21(uVar4,in[4]);" (assignment_expression "uVar5 = CONCAT21(uVar4,in[4])" identifier = (call_expression "CONCAT21(uVar4,in[4])" identifier (argument_list "(uVar4,in[4])" ( identifier , (subscript_expression "in[4]" identifier [ number_literal ]) )))) ;) (expression_statement "uVar10 = (ulong)uVar5;" (assignment_expression "uVar10 = (ulong)uVar5" identifier = (cast_expression "(ulong)uVar5" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (if_statement "if (uVar9 != 3) {\n          uVar10 = (ulong)CONCAT31(uVar5,in[5]);\n        }" if (parenthesized_expression "(uVar9 != 3)" ( (binary_expression "uVar9 != 3" identifier != number_literal) )) (compound_statement "{\n          uVar10 = (ulong)CONCAT31(uVar5,in[5]);\n        }" { (expression_statement "uVar10 = (ulong)CONCAT31(uVar5,in[5]);" (assignment_expression "uVar10 = (ulong)CONCAT31(uVar5,in[5])" identifier = (cast_expression "(ulong)CONCAT31(uVar5,in[5])" ( (type_descriptor "ulong" type_identifier) ) (call_expression "CONCAT31(uVar5,in[5])" identifier (argument_list "(uVar5,in[5])" ( identifier , (subscript_expression "in[5]" identifier [ number_literal ]) ))))) ;) })) })) })) (expression_statement "iVar7 = 7;" (assignment_expression "iVar7 = 7" identifier = number_literal) ;) (if_statement "if (inlen < uVar1 + uVar10) goto LAB_00170bc0;" if (parenthesized_expression "(inlen < uVar1 + uVar10)" ( (binary_expression "inlen < uVar1 + uVar10" identifier < (binary_expression "uVar1 + uVar10" identifier + identifier)) )) (goto_statement "goto LAB_00170bc0;" goto statement_identifier ;)) (expression_statement "puVar11 = in + uVar1;" (assignment_expression "puVar11 = in + uVar1" identifier = (binary_expression "in + uVar1" identifier + identifier)) ;) }) (else_clause "else {\n    puVar11 = in + 2;\n    if (inlen < (ulong)bVar2 + 2) goto LAB_00170bc0;\n  }" else (compound_statement "{\n    puVar11 = in + 2;\n    if (inlen < (ulong)bVar2 + 2) goto LAB_00170bc0;\n  }" { (expression_statement "puVar11 = in + 2;" (assignment_expression "puVar11 = in + 2" identifier = (binary_expression "in + 2" identifier + number_literal)) ;) (if_statement "if (inlen < (ulong)bVar2 + 2) goto LAB_00170bc0;" if (parenthesized_expression "(inlen < (ulong)bVar2 + 2)" ( (binary_expression "inlen < (ulong)bVar2 + 2" identifier < (binary_expression "(ulong)bVar2 + 2" (cast_expression "(ulong)bVar2" ( (type_descriptor "ulong" type_identifier) ) identifier) + number_literal)) )) (goto_statement "goto LAB_00170bc0;" goto statement_identifier ;)) }))) (expression_statement "iVar7 = (**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(num,puVar11);" (assignment_expression "iVar7 = (**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(num,puVar11)" identifier = (call_expression "(**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(num,puVar11)" (parenthesized_expression "(**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))" ( (pointer_expression "**(code **)(PTR_ltc_mp_001ddec0 + 0xa0)" * (pointer_expression "*(code **)(PTR_ltc_mp_001ddec0 + 0xa0)" * (cast_expression "(code **)(PTR_ltc_mp_001ddec0 + 0xa0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_ltc_mp_001ddec0 + 0xa0)" ( (binary_expression "PTR_ltc_mp_001ddec0 + 0xa0" identifier + number_literal) ))))) )) (argument_list "(num,puVar11)" ( identifier , identifier )))) ;) (if_statement "if ((iVar7 == 0) && (iVar7 = 0, (char)*puVar11 < '\0')) {\n    iVar7 = (**(code **)(puVar6 + 0x10))(&tmp);\n    if (iVar7 == 0) {\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(num);\n      iVar7 = (*pcVar3)(tmp,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(num,tmp,num);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(tmp);\n          iVar7 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(tmp);\n    }\n    iVar7 = 0xd;\n  }" if (parenthesized_expression "((iVar7 == 0) && (iVar7 = 0, (char)*puVar11 < '\0'))" ( (binary_expression "(iVar7 == 0) && (iVar7 = 0, (char)*puVar11 < '\0')" (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar7 = 0, (char)*puVar11 < '\0')" ( (comma_expression "iVar7 = 0, (char)*puVar11 < '\0'" (assignment_expression "iVar7 = 0" identifier = number_literal) , (binary_expression "(char)*puVar11 < '\0'" (cast_expression "(char)*puVar11" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*puVar11" * identifier)) < (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n    iVar7 = (**(code **)(puVar6 + 0x10))(&tmp);\n    if (iVar7 == 0) {\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(num);\n      iVar7 = (*pcVar3)(tmp,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(num,tmp,num);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(tmp);\n          iVar7 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(tmp);\n    }\n    iVar7 = 0xd;\n  }" { (expression_statement "iVar7 = (**(code **)(puVar6 + 0x10))(&tmp);" (assignment_expression "iVar7 = (**(code **)(puVar6 + 0x10))(&tmp)" identifier = (call_expression "(**(code **)(puVar6 + 0x10))(&tmp)" (parenthesized_expression "(**(code **)(puVar6 + 0x10))" ( (pointer_expression "**(code **)(puVar6 + 0x10)" * (pointer_expression "*(code **)(puVar6 + 0x10)" * (cast_expression "(code **)(puVar6 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x10)" ( (binary_expression "puVar6 + 0x10" identifier + number_literal) ))))) )) (argument_list "(&tmp)" ( (pointer_expression "&tmp" & identifier) )))) ;) (if_statement "if (iVar7 == 0) {\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(num);\n      iVar7 = (*pcVar3)(tmp,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(num,tmp,num);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(tmp);\n          iVar7 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(tmp);\n    }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(num);\n      iVar7 = (*pcVar3)(tmp,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(num,tmp,num);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(tmp);\n          iVar7 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(tmp);\n    }" { (expression_statement "pcVar3 = *(code **)(puVar6 + 0x78);" (assignment_expression "pcVar3 = *(code **)(puVar6 + 0x78)" identifier = (pointer_expression "*(code **)(puVar6 + 0x78)" * (cast_expression "(code **)(puVar6 + 0x78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x78)" ( (binary_expression "puVar6 + 0x78" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = (**(code **)(puVar6 + 0x68))(num);" (assignment_expression "uVar8 = (**(code **)(puVar6 + 0x68))(num)" identifier = (call_expression "(**(code **)(puVar6 + 0x68))(num)" (parenthesized_expression "(**(code **)(puVar6 + 0x68))" ( (pointer_expression "**(code **)(puVar6 + 0x68)" * (pointer_expression "*(code **)(puVar6 + 0x68)" * (cast_expression "(code **)(puVar6 + 0x68)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x68)" ( (binary_expression "puVar6 + 0x68" identifier + number_literal) ))))) )) (argument_list "(num)" ( identifier )))) ;) (expression_statement "iVar7 = (*pcVar3)(tmp,uVar8);" (assignment_expression "iVar7 = (*pcVar3)(tmp,uVar8)" identifier = (call_expression "(*pcVar3)(tmp,uVar8)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(tmp,uVar8)" ( identifier , identifier )))) ;) (if_statement "if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(num,tmp,num);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(tmp);\n          iVar7 = 0;\n          goto LAB_00170bc0;\n        }\n      }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar7 = (**(code **)(puVar6 + 0xb8))(num,tmp,num);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(tmp);\n          iVar7 = 0;\n          goto LAB_00170bc0;\n        }\n      }" { (expression_statement "iVar7 = (**(code **)(puVar6 + 0xb8))(num,tmp,num);" (assignment_expression "iVar7 = (**(code **)(puVar6 + 0xb8))(num,tmp,num)" identifier = (call_expression "(**(code **)(puVar6 + 0xb8))(num,tmp,num)" (parenthesized_expression "(**(code **)(puVar6 + 0xb8))" ( (pointer_expression "**(code **)(puVar6 + 0xb8)" * (pointer_expression "*(code **)(puVar6 + 0xb8)" * (cast_expression "(code **)(puVar6 + 0xb8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xb8)" ( (binary_expression "puVar6 + 0xb8" identifier + number_literal) ))))) )) (argument_list "(num,tmp,num)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(tmp);\n          iVar7 = 0;\n          goto LAB_00170bc0;\n        }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n          (**(code **)(puVar6 + 0x20))(tmp);\n          iVar7 = 0;\n          goto LAB_00170bc0;\n        }" { (expression_statement "(**(code **)(puVar6 + 0x20))(tmp);" (call_expression "(**(code **)(puVar6 + 0x20))(tmp)" (parenthesized_expression "(**(code **)(puVar6 + 0x20))" ( (pointer_expression "**(code **)(puVar6 + 0x20)" * (pointer_expression "*(code **)(puVar6 + 0x20)" * (cast_expression "(code **)(puVar6 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x20)" ( (binary_expression "puVar6 + 0x20" identifier + number_literal) ))))) )) (argument_list "(tmp)" ( identifier ))) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00170bc0;" goto statement_identifier ;) })) })) (expression_statement "(**(code **)(puVar6 + 0x20))(tmp);" (call_expression "(**(code **)(puVar6 + 0x20))(tmp)" (parenthesized_expression "(**(code **)(puVar6 + 0x20))" ( (pointer_expression "**(code **)(puVar6 + 0x20)" * (pointer_expression "*(code **)(puVar6 + 0x20)" * (cast_expression "(code **)(puVar6 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x20)" ( (binary_expression "puVar6 + 0x20" identifier + number_literal) ))))) )) (argument_list "(tmp)" ( identifier ))) ;) })) (expression_statement "iVar7 = 0xd;" (assignment_expression "iVar7 = 0xd" identifier = number_literal) ;) })) (labeled_statement "LAB_00170bc0:\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar7;\n  }" statement_identifier : (if_statement "if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar7;\n  }" if (parenthesized_expression "(local_20 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_20 == *(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 iVar7;\n  }" { (return_statement "return iVar7;" return identifier ;) }))) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "undefined8 der_decode_integer(byte *param_1,ulong param_2,long param_3)\n\n{\n  ulong uVar1;\n  byte bVar2;\n  code *pcVar3;\n  ushort uVar4;\n  uint3 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  undefined4 uVar8;\n  undefined8 uVar9;\n  ulong uVar10;\n  ulong uVar11;\n  long in_FS_OFFSET;\n  undefined8 local_28;\n  long local_20;\n  \n  puVar6 = PTR_ltc_mp_001ddec0;\n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_3 == 0) {\n                    \n    crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);\n  }\n  if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);\n  }\n  uVar9 = 7;\n  if ((param_2 < 3) || ((*param_1 & 0x1f) != 2)) goto LAB_00170bc0;\n  bVar2 = param_1[1];\n  if ((char)bVar2 < '\0') {\n    uVar10 = (ulong)(bVar2 & 0x7f);\n    uVar1 = uVar10 + 2;\n    if ((param_2 < uVar1) || (3 < uVar10 - 1)) goto LAB_00170bc0;\n    uVar11 = (ulong)param_1[2];\n    if (uVar10 != 1) {\n      uVar4 = CONCAT11(param_1[2],param_1[3]);\n      uVar11 = (ulong)uVar4;\n      if (uVar10 != 2) {\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }\n    }\n    uVar9 = 7;\n    if (param_2 < uVar1 + uVar11) goto LAB_00170bc0;\n    param_1 = param_1 + uVar1;\n  }\n  else {\n    param_1 = param_1 + 2;\n    if (param_2 < (ulong)bVar2 + 2) goto LAB_00170bc0;\n  }\n  uVar9 = (**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(param_3,param_1);\n  if (((int)uVar9 == 0) && (uVar9 = 0, (char)*param_1 < '\0')) {\n    iVar7 = (**(code **)(puVar6 + 0x10))(&local_28);\n    if (iVar7 == 0) {\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(param_3);\n      iVar7 = (*pcVar3)(local_28,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(local_28);\n    }\n    uVar9 = 0xd;\n  }\nLAB_00170bc0:\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return uVar9;\n  }\n                    \n  __stack_chk_fail();\n}\n\n" (function_definition "undefined8 der_decode_integer(byte *param_1,ulong param_2,long param_3)\n\n{\n  ulong uVar1;\n  byte bVar2;\n  code *pcVar3;\n  ushort uVar4;\n  uint3 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  undefined4 uVar8;\n  undefined8 uVar9;\n  ulong uVar10;\n  ulong uVar11;\n  long in_FS_OFFSET;\n  undefined8 local_28;\n  long local_20;\n  \n  puVar6 = PTR_ltc_mp_001ddec0;\n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_3 == 0) {\n                    \n    crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);\n  }\n  if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);\n  }\n  uVar9 = 7;\n  if ((param_2 < 3) || ((*param_1 & 0x1f) != 2)) goto LAB_00170bc0;\n  bVar2 = param_1[1];\n  if ((char)bVar2 < '\0') {\n    uVar10 = (ulong)(bVar2 & 0x7f);\n    uVar1 = uVar10 + 2;\n    if ((param_2 < uVar1) || (3 < uVar10 - 1)) goto LAB_00170bc0;\n    uVar11 = (ulong)param_1[2];\n    if (uVar10 != 1) {\n      uVar4 = CONCAT11(param_1[2],param_1[3]);\n      uVar11 = (ulong)uVar4;\n      if (uVar10 != 2) {\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }\n    }\n    uVar9 = 7;\n    if (param_2 < uVar1 + uVar11) goto LAB_00170bc0;\n    param_1 = param_1 + uVar1;\n  }\n  else {\n    param_1 = param_1 + 2;\n    if (param_2 < (ulong)bVar2 + 2) goto LAB_00170bc0;\n  }\n  uVar9 = (**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(param_3,param_1);\n  if (((int)uVar9 == 0) && (uVar9 = 0, (char)*param_1 < '\0')) {\n    iVar7 = (**(code **)(puVar6 + 0x10))(&local_28);\n    if (iVar7 == 0) {\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(param_3);\n      iVar7 = (*pcVar3)(local_28,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(local_28);\n    }\n    uVar9 = 0xd;\n  }\nLAB_00170bc0:\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return uVar9;\n  }\n                    \n  __stack_chk_fail();\n}" type_identifier (function_declarator "der_decode_integer(byte *param_1,ulong param_2,long param_3)" identifier (parameter_list "(byte *param_1,ulong param_2,long param_3)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "ulong param_2" type_identifier identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  ulong uVar1;\n  byte bVar2;\n  code *pcVar3;\n  ushort uVar4;\n  uint3 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  undefined4 uVar8;\n  undefined8 uVar9;\n  ulong uVar10;\n  ulong uVar11;\n  long in_FS_OFFSET;\n  undefined8 local_28;\n  long local_20;\n  \n  puVar6 = PTR_ltc_mp_001ddec0;\n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_3 == 0) {\n                    \n    crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);\n  }\n  if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);\n  }\n  uVar9 = 7;\n  if ((param_2 < 3) || ((*param_1 & 0x1f) != 2)) goto LAB_00170bc0;\n  bVar2 = param_1[1];\n  if ((char)bVar2 < '\0') {\n    uVar10 = (ulong)(bVar2 & 0x7f);\n    uVar1 = uVar10 + 2;\n    if ((param_2 < uVar1) || (3 < uVar10 - 1)) goto LAB_00170bc0;\n    uVar11 = (ulong)param_1[2];\n    if (uVar10 != 1) {\n      uVar4 = CONCAT11(param_1[2],param_1[3]);\n      uVar11 = (ulong)uVar4;\n      if (uVar10 != 2) {\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }\n    }\n    uVar9 = 7;\n    if (param_2 < uVar1 + uVar11) goto LAB_00170bc0;\n    param_1 = param_1 + uVar1;\n  }\n  else {\n    param_1 = param_1 + 2;\n    if (param_2 < (ulong)bVar2 + 2) goto LAB_00170bc0;\n  }\n  uVar9 = (**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(param_3,param_1);\n  if (((int)uVar9 == 0) && (uVar9 = 0, (char)*param_1 < '\0')) {\n    iVar7 = (**(code **)(puVar6 + 0x10))(&local_28);\n    if (iVar7 == 0) {\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(param_3);\n      iVar7 = (*pcVar3)(local_28,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(local_28);\n    }\n    uVar9 = 0xd;\n  }\nLAB_00170bc0:\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return uVar9;\n  }\n                    \n  __stack_chk_fail();\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "ushort uVar4;" type_identifier identifier ;) (declaration "uint3 uVar5;" type_identifier identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined8 uVar9;" type_identifier identifier ;) (declaration "ulong uVar10;" type_identifier identifier ;) (declaration "ulong uVar11;" type_identifier identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 local_28;" type_identifier identifier ;) (declaration "long local_20;" (sized_type_specifier "long" long) identifier ;) (expression_statement "puVar6 = PTR_ltc_mp_001ddec0;" (assignment_expression "puVar6 = PTR_ltc_mp_001ddec0" identifier = identifier) ;) (expression_statement "local_20 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_20 = *(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) ))))) ;) (if_statement "if (param_3 == 0) {\n                    \n    crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);\n  }" { (expression_statement "crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);" (call_expression "crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f)" identifier (argument_list "("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f)" ( (string_literal ""num != NULL"" " string_content ") , (string_literal ""src/pk/asn1/der/integer/der_decode_integer.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);\n  }" if (parenthesized_expression "(param_1 == (byte *)0x0)" ( (binary_expression "param_1 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);\n  }" { (expression_statement "crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);" (call_expression "crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20)" identifier (argument_list "("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20)" ( (string_literal ""in != NULL"" " string_content ") , (string_literal ""src/pk/asn1/der/integer/der_decode_integer.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "uVar9 = 7;" (assignment_expression "uVar9 = 7" identifier = number_literal) ;) (if_statement "if ((param_2 < 3) || ((*param_1 & 0x1f) != 2)) goto LAB_00170bc0;" if (parenthesized_expression "((param_2 < 3) || ((*param_1 & 0x1f) != 2))" ( (binary_expression "(param_2 < 3) || ((*param_1 & 0x1f) != 2)" (parenthesized_expression "(param_2 < 3)" ( (binary_expression "param_2 < 3" identifier < number_literal) )) || (parenthesized_expression "((*param_1 & 0x1f) != 2)" ( (binary_expression "(*param_1 & 0x1f) != 2" (parenthesized_expression "(*param_1 & 0x1f)" ( (binary_expression "*param_1 & 0x1f" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) ))) )) (goto_statement "goto LAB_00170bc0;" goto statement_identifier ;)) (expression_statement "bVar2 = param_1[1];" (assignment_expression "bVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if ((char)bVar2 < '\0') {\n    uVar10 = (ulong)(bVar2 & 0x7f);\n    uVar1 = uVar10 + 2;\n    if ((param_2 < uVar1) || (3 < uVar10 - 1)) goto LAB_00170bc0;\n    uVar11 = (ulong)param_1[2];\n    if (uVar10 != 1) {\n      uVar4 = CONCAT11(param_1[2],param_1[3]);\n      uVar11 = (ulong)uVar4;\n      if (uVar10 != 2) {\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }\n    }\n    uVar9 = 7;\n    if (param_2 < uVar1 + uVar11) goto LAB_00170bc0;\n    param_1 = param_1 + uVar1;\n  }\n  else {\n    param_1 = param_1 + 2;\n    if (param_2 < (ulong)bVar2 + 2) goto LAB_00170bc0;\n  }" if (parenthesized_expression "((char)bVar2 < '\0')" ( (binary_expression "(char)bVar2 < '\0'" (cast_expression "(char)bVar2" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar10 = (ulong)(bVar2 & 0x7f);\n    uVar1 = uVar10 + 2;\n    if ((param_2 < uVar1) || (3 < uVar10 - 1)) goto LAB_00170bc0;\n    uVar11 = (ulong)param_1[2];\n    if (uVar10 != 1) {\n      uVar4 = CONCAT11(param_1[2],param_1[3]);\n      uVar11 = (ulong)uVar4;\n      if (uVar10 != 2) {\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }\n    }\n    uVar9 = 7;\n    if (param_2 < uVar1 + uVar11) goto LAB_00170bc0;\n    param_1 = param_1 + uVar1;\n  }" { (expression_statement "uVar10 = (ulong)(bVar2 & 0x7f);" (assignment_expression "uVar10 = (ulong)(bVar2 & 0x7f)" identifier = (call_expression "(ulong)(bVar2 & 0x7f)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(bVar2 & 0x7f)" ( (binary_expression "bVar2 & 0x7f" identifier & number_literal) )))) ;) (expression_statement "uVar1 = uVar10 + 2;" (assignment_expression "uVar1 = uVar10 + 2" identifier = (binary_expression "uVar10 + 2" identifier + number_literal)) ;) (if_statement "if ((param_2 < uVar1) || (3 < uVar10 - 1)) goto LAB_00170bc0;" if (parenthesized_expression "((param_2 < uVar1) || (3 < uVar10 - 1))" ( (binary_expression "(param_2 < uVar1) || (3 < uVar10 - 1)" (parenthesized_expression "(param_2 < uVar1)" ( (binary_expression "param_2 < uVar1" identifier < identifier) )) || (parenthesized_expression "(3 < uVar10 - 1)" ( (binary_expression "3 < uVar10 - 1" number_literal < (binary_expression "uVar10 - 1" identifier - number_literal)) ))) )) (goto_statement "goto LAB_00170bc0;" goto statement_identifier ;)) (expression_statement "uVar11 = (ulong)param_1[2];" (assignment_expression "uVar11 = (ulong)param_1[2]" identifier = (cast_expression "(ulong)param_1[2]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (if_statement "if (uVar10 != 1) {\n      uVar4 = CONCAT11(param_1[2],param_1[3]);\n      uVar11 = (ulong)uVar4;\n      if (uVar10 != 2) {\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }\n    }" if (parenthesized_expression "(uVar10 != 1)" ( (binary_expression "uVar10 != 1" identifier != number_literal) )) (compound_statement "{\n      uVar4 = CONCAT11(param_1[2],param_1[3]);\n      uVar11 = (ulong)uVar4;\n      if (uVar10 != 2) {\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }\n    }" { (expression_statement "uVar4 = CONCAT11(param_1[2],param_1[3]);" (assignment_expression "uVar4 = CONCAT11(param_1[2],param_1[3])" identifier = (call_expression "CONCAT11(param_1[2],param_1[3])" identifier (argument_list "(param_1[2],param_1[3])" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (subscript_expression "param_1[3]" identifier [ number_literal ]) )))) ;) (expression_statement "uVar11 = (ulong)uVar4;" (assignment_expression "uVar11 = (ulong)uVar4" identifier = (cast_expression "(ulong)uVar4" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (if_statement "if (uVar10 != 2) {\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }" if (parenthesized_expression "(uVar10 != 2)" ( (binary_expression "uVar10 != 2" identifier != number_literal) )) (compound_statement "{\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }" { (expression_statement "uVar5 = CONCAT21(uVar4,param_1[4]);" (assignment_expression "uVar5 = CONCAT21(uVar4,param_1[4])" identifier = (call_expression "CONCAT21(uVar4,param_1[4])" identifier (argument_list "(uVar4,param_1[4])" ( identifier , (subscript_expression "param_1[4]" identifier [ number_literal ]) )))) ;) (expression_statement "uVar11 = (ulong)uVar5;" (assignment_expression "uVar11 = (ulong)uVar5" identifier = (cast_expression "(ulong)uVar5" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (if_statement "if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }" if (parenthesized_expression "(uVar10 != 3)" ( (binary_expression "uVar10 != 3" identifier != number_literal) )) (compound_statement "{\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }" { (expression_statement "uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);" (assignment_expression "uVar11 = (ulong)CONCAT31(uVar5,param_1[5])" identifier = (cast_expression "(ulong)CONCAT31(uVar5,param_1[5])" ( (type_descriptor "ulong" type_identifier) ) (call_expression "CONCAT31(uVar5,param_1[5])" identifier (argument_list "(uVar5,param_1[5])" ( identifier , (subscript_expression "param_1[5]" identifier [ number_literal ]) ))))) ;) })) })) })) (expression_statement "uVar9 = 7;" (assignment_expression "uVar9 = 7" identifier = number_literal) ;) (if_statement "if (param_2 < uVar1 + uVar11) goto LAB_00170bc0;" if (parenthesized_expression "(param_2 < uVar1 + uVar11)" ( (binary_expression "param_2 < uVar1 + uVar11" identifier < (binary_expression "uVar1 + uVar11" identifier + identifier)) )) (goto_statement "goto LAB_00170bc0;" goto statement_identifier ;)) (expression_statement "param_1 = param_1 + uVar1;" (assignment_expression "param_1 = param_1 + uVar1" identifier = (binary_expression "param_1 + uVar1" identifier + identifier)) ;) }) (else_clause "else {\n    param_1 = param_1 + 2;\n    if (param_2 < (ulong)bVar2 + 2) goto LAB_00170bc0;\n  }" else (compound_statement "{\n    param_1 = param_1 + 2;\n    if (param_2 < (ulong)bVar2 + 2) goto LAB_00170bc0;\n  }" { (expression_statement "param_1 = param_1 + 2;" (assignment_expression "param_1 = param_1 + 2" identifier = (binary_expression "param_1 + 2" identifier + number_literal)) ;) (if_statement "if (param_2 < (ulong)bVar2 + 2) goto LAB_00170bc0;" if (parenthesized_expression "(param_2 < (ulong)bVar2 + 2)" ( (binary_expression "param_2 < (ulong)bVar2 + 2" identifier < (binary_expression "(ulong)bVar2 + 2" (cast_expression "(ulong)bVar2" ( (type_descriptor "ulong" type_identifier) ) identifier) + number_literal)) )) (goto_statement "goto LAB_00170bc0;" goto statement_identifier ;)) }))) (expression_statement "uVar9 = (**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(param_3,param_1);" (assignment_expression "uVar9 = (**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(param_3,param_1)" identifier = (call_expression "(**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(param_3,param_1)" (parenthesized_expression "(**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))" ( (pointer_expression "**(code **)(PTR_ltc_mp_001ddec0 + 0xa0)" * (pointer_expression "*(code **)(PTR_ltc_mp_001ddec0 + 0xa0)" * (cast_expression "(code **)(PTR_ltc_mp_001ddec0 + 0xa0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_ltc_mp_001ddec0 + 0xa0)" ( (binary_expression "PTR_ltc_mp_001ddec0 + 0xa0" identifier + number_literal) ))))) )) (argument_list "(param_3,param_1)" ( identifier , identifier )))) ;) (if_statement "if (((int)uVar9 == 0) && (uVar9 = 0, (char)*param_1 < '\0')) {\n    iVar7 = (**(code **)(puVar6 + 0x10))(&local_28);\n    if (iVar7 == 0) {\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(param_3);\n      iVar7 = (*pcVar3)(local_28,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(local_28);\n    }\n    uVar9 = 0xd;\n  }" if (parenthesized_expression "(((int)uVar9 == 0) && (uVar9 = 0, (char)*param_1 < '\0'))" ( (binary_expression "((int)uVar9 == 0) && (uVar9 = 0, (char)*param_1 < '\0')" (parenthesized_expression "((int)uVar9 == 0)" ( (binary_expression "(int)uVar9 == 0" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal) )) && (parenthesized_expression "(uVar9 = 0, (char)*param_1 < '\0')" ( (comma_expression "uVar9 = 0, (char)*param_1 < '\0'" (assignment_expression "uVar9 = 0" identifier = number_literal) , (binary_expression "(char)*param_1 < '\0'" (cast_expression "(char)*param_1" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*param_1" * identifier)) < (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n    iVar7 = (**(code **)(puVar6 + 0x10))(&local_28);\n    if (iVar7 == 0) {\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(param_3);\n      iVar7 = (*pcVar3)(local_28,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(local_28);\n    }\n    uVar9 = 0xd;\n  }" { (expression_statement "iVar7 = (**(code **)(puVar6 + 0x10))(&local_28);" (assignment_expression "iVar7 = (**(code **)(puVar6 + 0x10))(&local_28)" identifier = (call_expression "(**(code **)(puVar6 + 0x10))(&local_28)" (parenthesized_expression "(**(code **)(puVar6 + 0x10))" ( (pointer_expression "**(code **)(puVar6 + 0x10)" * (pointer_expression "*(code **)(puVar6 + 0x10)" * (cast_expression "(code **)(puVar6 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x10)" ( (binary_expression "puVar6 + 0x10" identifier + number_literal) ))))) )) (argument_list "(&local_28)" ( (pointer_expression "&local_28" & identifier) )))) ;) (if_statement "if (iVar7 == 0) {\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(param_3);\n      iVar7 = (*pcVar3)(local_28,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(local_28);\n    }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(param_3);\n      iVar7 = (*pcVar3)(local_28,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(local_28);\n    }" { (expression_statement "pcVar3 = *(code **)(puVar6 + 0x78);" (assignment_expression "pcVar3 = *(code **)(puVar6 + 0x78)" identifier = (pointer_expression "*(code **)(puVar6 + 0x78)" * (cast_expression "(code **)(puVar6 + 0x78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x78)" ( (binary_expression "puVar6 + 0x78" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = (**(code **)(puVar6 + 0x68))(param_3);" (assignment_expression "uVar8 = (**(code **)(puVar6 + 0x68))(param_3)" identifier = (call_expression "(**(code **)(puVar6 + 0x68))(param_3)" (parenthesized_expression "(**(code **)(puVar6 + 0x68))" ( (pointer_expression "**(code **)(puVar6 + 0x68)" * (pointer_expression "*(code **)(puVar6 + 0x68)" * (cast_expression "(code **)(puVar6 + 0x68)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x68)" ( (binary_expression "puVar6 + 0x68" identifier + number_literal) ))))) )) (argument_list "(param_3)" ( identifier )))) ;) (expression_statement "iVar7 = (*pcVar3)(local_28,uVar8);" (assignment_expression "iVar7 = (*pcVar3)(local_28,uVar8)" identifier = (call_expression "(*pcVar3)(local_28,uVar8)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(local_28,uVar8)" ( identifier , identifier )))) ;) (if_statement "if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }" { (expression_statement "iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);" (assignment_expression "iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3)" identifier = (call_expression "(**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3)" (parenthesized_expression "(**(code **)(puVar6 + 0xb8))" ( (pointer_expression "**(code **)(puVar6 + 0xb8)" * (pointer_expression "*(code **)(puVar6 + 0xb8)" * (cast_expression "(code **)(puVar6 + 0xb8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xb8)" ( (binary_expression "puVar6 + 0xb8" identifier + number_literal) ))))) )) (argument_list "(param_3,local_28,param_3)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }" { (expression_statement "(**(code **)(puVar6 + 0x20))(local_28);" (call_expression "(**(code **)(puVar6 + 0x20))(local_28)" (parenthesized_expression "(**(code **)(puVar6 + 0x20))" ( (pointer_expression "**(code **)(puVar6 + 0x20)" * (pointer_expression "*(code **)(puVar6 + 0x20)" * (cast_expression "(code **)(puVar6 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x20)" ( (binary_expression "puVar6 + 0x20" identifier + number_literal) ))))) )) (argument_list "(local_28)" ( identifier ))) ;) (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00170bc0;" goto statement_identifier ;) })) })) (expression_statement "(**(code **)(puVar6 + 0x20))(local_28);" (call_expression "(**(code **)(puVar6 + 0x20))(local_28)" (parenthesized_expression "(**(code **)(puVar6 + 0x20))" ( (pointer_expression "**(code **)(puVar6 + 0x20)" * (pointer_expression "*(code **)(puVar6 + 0x20)" * (cast_expression "(code **)(puVar6 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x20)" ( (binary_expression "puVar6 + 0x20" identifier + number_literal) ))))) )) (argument_list "(local_28)" ( identifier ))) ;) })) (expression_statement "uVar9 = 0xd;" (assignment_expression "uVar9 = 0xd" identifier = number_literal) ;) })) (labeled_statement "LAB_00170bc0:\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return uVar9;\n  }" statement_identifier : (if_statement "if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return uVar9;\n  }" if (parenthesized_expression "(local_20 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_20 == *(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 uVar9;\n  }" { (return_statement "return uVar9;" 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 (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = 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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) != LIT) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) || (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT - LIT)) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) ))))) ;) })) })) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression IDENT + IDENT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT)) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) < (char_literal ' escape_sequence '))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) })) (labeled_statement statement_identifier : (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 "undefined8 der_decode_integer(byte *param_1,ulong param_2,long param_3)\n\n{\n  ulong uVar1;\n  byte bVar2;\n  code *pcVar3;\n  ushort uVar4;\n  uint3 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  undefined4 uVar8;\n  undefined8 uVar9;\n  ulong uVar10;\n  ulong uVar11;\n  long in_FS_OFFSET;\n  undefined8 local_28;\n  long local_20;\n  \n  puVar6 = PTR_ltc_mp_001ddec0;\n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_3 == 0) {\n                    \n    crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);\n  }\n  if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);\n  }\n  uVar9 = 7;\n  if ((param_2 < 3) || ((*param_1 & 0x1f) != 2)) goto LAB_00170bc0;\n  bVar2 = param_1[1];\n  if ((char)bVar2 < '\0') {\n    uVar10 = (ulong)(bVar2 & 0x7f);\n    uVar1 = uVar10 + 2;\n    if ((param_2 < uVar1) || (3 < uVar10 - 1)) goto LAB_00170bc0;\n    uVar11 = (ulong)param_1[2];\n    if (uVar10 != 1) {\n      uVar4 = CONCAT11(param_1[2],param_1[3]);\n      uVar11 = (ulong)uVar4;\n      if (uVar10 != 2) {\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }\n    }\n    uVar9 = 7;\n    if (param_2 < uVar1 + uVar11) goto LAB_00170bc0;\n    param_1 = param_1 + uVar1;\n  }\n  else {\n    param_1 = param_1 + 2;\n    if (param_2 < (ulong)bVar2 + 2) goto LAB_00170bc0;\n  }\n  uVar9 = (**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(param_3,param_1);\n  if (((int)uVar9 == 0) && (uVar9 = 0, (char)*param_1 < '\0')) {\n    iVar7 = (**(code **)(puVar6 + 0x10))(&local_28);\n    if (iVar7 == 0) {\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(param_3);\n      iVar7 = (*pcVar3)(local_28,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(local_28);\n    }\n    uVar9 = 0xd;\n  }\nLAB_00170bc0:\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return uVar9;\n  }\n                    \n  __stack_chk_fail();\n}" (type_identifier "undefined8") (function_declarator "der_decode_integer(byte *param_1,ulong param_2,long param_3)" (identifier "der_decode_integer") (parameter_list "(byte *param_1,ulong param_2,long param_3)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "ulong param_2" (type_identifier "ulong") (identifier "param_2")) (, ",") (parameter_declaration "long param_3" (sized_type_specifier "long" (long "long")) (identifier "param_3")) () ")"))) (compound_statement "{\n  ulong uVar1;\n  byte bVar2;\n  code *pcVar3;\n  ushort uVar4;\n  uint3 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  undefined4 uVar8;\n  undefined8 uVar9;\n  ulong uVar10;\n  ulong uVar11;\n  long in_FS_OFFSET;\n  undefined8 local_28;\n  long local_20;\n  \n  puVar6 = PTR_ltc_mp_001ddec0;\n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_3 == 0) {\n                    \n    crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);\n  }\n  if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);\n  }\n  uVar9 = 7;\n  if ((param_2 < 3) || ((*param_1 & 0x1f) != 2)) goto LAB_00170bc0;\n  bVar2 = param_1[1];\n  if ((char)bVar2 < '\0') {\n    uVar10 = (ulong)(bVar2 & 0x7f);\n    uVar1 = uVar10 + 2;\n    if ((param_2 < uVar1) || (3 < uVar10 - 1)) goto LAB_00170bc0;\n    uVar11 = (ulong)param_1[2];\n    if (uVar10 != 1) {\n      uVar4 = CONCAT11(param_1[2],param_1[3]);\n      uVar11 = (ulong)uVar4;\n      if (uVar10 != 2) {\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }\n    }\n    uVar9 = 7;\n    if (param_2 < uVar1 + uVar11) goto LAB_00170bc0;\n    param_1 = param_1 + uVar1;\n  }\n  else {\n    param_1 = param_1 + 2;\n    if (param_2 < (ulong)bVar2 + 2) goto LAB_00170bc0;\n  }\n  uVar9 = (**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(param_3,param_1);\n  if (((int)uVar9 == 0) && (uVar9 = 0, (char)*param_1 < '\0')) {\n    iVar7 = (**(code **)(puVar6 + 0x10))(&local_28);\n    if (iVar7 == 0) {\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(param_3);\n      iVar7 = (*pcVar3)(local_28,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(local_28);\n    }\n    uVar9 = 0xd;\n  }\nLAB_00170bc0:\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return uVar9;\n  }\n                    \n  __stack_chk_fail();\n}" ({ "{") (declaration "ulong uVar1;" (type_identifier "ulong") (identifier "uVar1") (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "code *pcVar3;" (type_identifier "code") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "ushort uVar4;" (type_identifier "ushort") (identifier "uVar4") (; ";")) (declaration "uint3 uVar5;" (type_identifier "uint3") (identifier "uVar5") (; ";")) (declaration "undefined *puVar6;" (type_identifier "undefined") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "undefined8 uVar9;" (type_identifier "undefined8") (identifier "uVar9") (; ";")) (declaration "ulong uVar10;" (type_identifier "ulong") (identifier "uVar10") (; ";")) (declaration "ulong uVar11;" (type_identifier "ulong") (identifier "uVar11") (; ";")) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" (long "long")) (identifier "in_FS_OFFSET") (; ";")) (declaration "undefined8 local_28;" (type_identifier "undefined8") (identifier "local_28") (; ";")) (declaration "long local_20;" (sized_type_specifier "long" (long "long")) (identifier "local_20") (; ";")) (expression_statement "puVar6 = PTR_ltc_mp_001ddec0;" (assignment_expression "puVar6 = PTR_ltc_mp_001ddec0" (identifier "puVar6") (= "=") (identifier "PTR_ltc_mp_001ddec0")) (; ";")) (expression_statement "local_20 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_20 = *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_20") (= "=") (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")) () ")"))))) (; ";")) (if_statement "if (param_3 == 0) {\n                    \n    crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);\n  }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);\n  }" ({ "{") (expression_statement "crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);" (call_expression "crypt_argchk("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f)" (identifier "crypt_argchk") (argument_list "("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f)" (( "(") (string_literal ""num != NULL"" (" """) (string_content "num != NULL") (" """)) (, ",") (string_literal ""src/pk/asn1/der/integer/der_decode_integer.c"" (" """) (string_content "src/pk/asn1/der/integer/der_decode_integer.c") (" """)) (, ",") (number_literal "0x1f") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);\n  }" (if "if") (parenthesized_expression "(param_1 == (byte *)0x0)" (( "(") (binary_expression "param_1 == (byte *)0x0" (identifier "param_1") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);\n  }" ({ "{") (expression_statement "crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);" (call_expression "crypt_argchk("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20)" (identifier "crypt_argchk") (argument_list "("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20)" (( "(") (string_literal ""in != NULL"" (" """) (string_content "in != NULL") (" """)) (, ",") (string_literal ""src/pk/asn1/der/integer/der_decode_integer.c"" (" """) (string_content "src/pk/asn1/der/integer/der_decode_integer.c") (" """)) (, ",") (number_literal "0x20") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar9 = 7;" (assignment_expression "uVar9 = 7" (identifier "uVar9") (= "=") (number_literal "7")) (; ";")) (if_statement "if ((param_2 < 3) || ((*param_1 & 0x1f) != 2)) goto LAB_00170bc0;" (if "if") (parenthesized_expression "((param_2 < 3) || ((*param_1 & 0x1f) != 2))" (( "(") (binary_expression "(param_2 < 3) || ((*param_1 & 0x1f) != 2)" (parenthesized_expression "(param_2 < 3)" (( "(") (binary_expression "param_2 < 3" (identifier "param_2") (< "<") (number_literal "3")) () ")")) (|| "||") (parenthesized_expression "((*param_1 & 0x1f) != 2)" (( "(") (binary_expression "(*param_1 & 0x1f) != 2" (parenthesized_expression "(*param_1 & 0x1f)" (( "(") (binary_expression "*param_1 & 0x1f" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (& "&") (number_literal "0x1f")) () ")")) (!= "!=") (number_literal "2")) () ")"))) () ")")) (goto_statement "goto LAB_00170bc0;" (goto "goto") (statement_identifier "LAB_00170bc0") (; ";"))) (expression_statement "bVar2 = param_1[1];" (assignment_expression "bVar2 = param_1[1]" (identifier "bVar2") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if ((char)bVar2 < '\0') {\n    uVar10 = (ulong)(bVar2 & 0x7f);\n    uVar1 = uVar10 + 2;\n    if ((param_2 < uVar1) || (3 < uVar10 - 1)) goto LAB_00170bc0;\n    uVar11 = (ulong)param_1[2];\n    if (uVar10 != 1) {\n      uVar4 = CONCAT11(param_1[2],param_1[3]);\n      uVar11 = (ulong)uVar4;\n      if (uVar10 != 2) {\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }\n    }\n    uVar9 = 7;\n    if (param_2 < uVar1 + uVar11) goto LAB_00170bc0;\n    param_1 = param_1 + uVar1;\n  }\n  else {\n    param_1 = param_1 + 2;\n    if (param_2 < (ulong)bVar2 + 2) goto LAB_00170bc0;\n  }" (if "if") (parenthesized_expression "((char)bVar2 < '\0')" (( "(") (binary_expression "(char)bVar2 < '\0'" (cast_expression "(char)bVar2" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar2")) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    uVar10 = (ulong)(bVar2 & 0x7f);\n    uVar1 = uVar10 + 2;\n    if ((param_2 < uVar1) || (3 < uVar10 - 1)) goto LAB_00170bc0;\n    uVar11 = (ulong)param_1[2];\n    if (uVar10 != 1) {\n      uVar4 = CONCAT11(param_1[2],param_1[3]);\n      uVar11 = (ulong)uVar4;\n      if (uVar10 != 2) {\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }\n    }\n    uVar9 = 7;\n    if (param_2 < uVar1 + uVar11) goto LAB_00170bc0;\n    param_1 = param_1 + uVar1;\n  }" ({ "{") (expression_statement "uVar10 = (ulong)(bVar2 & 0x7f);" (assignment_expression "uVar10 = (ulong)(bVar2 & 0x7f)" (identifier "uVar10") (= "=") (call_expression "(ulong)(bVar2 & 0x7f)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(bVar2 & 0x7f)" (( "(") (binary_expression "bVar2 & 0x7f" (identifier "bVar2") (& "&") (number_literal "0x7f")) () ")")))) (; ";")) (expression_statement "uVar1 = uVar10 + 2;" (assignment_expression "uVar1 = uVar10 + 2" (identifier "uVar1") (= "=") (binary_expression "uVar10 + 2" (identifier "uVar10") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if ((param_2 < uVar1) || (3 < uVar10 - 1)) goto LAB_00170bc0;" (if "if") (parenthesized_expression "((param_2 < uVar1) || (3 < uVar10 - 1))" (( "(") (binary_expression "(param_2 < uVar1) || (3 < uVar10 - 1)" (parenthesized_expression "(param_2 < uVar1)" (( "(") (binary_expression "param_2 < uVar1" (identifier "param_2") (< "<") (identifier "uVar1")) () ")")) (|| "||") (parenthesized_expression "(3 < uVar10 - 1)" (( "(") (binary_expression "3 < uVar10 - 1" (number_literal "3") (< "<") (binary_expression "uVar10 - 1" (identifier "uVar10") (- "-") (number_literal "1"))) () ")"))) () ")")) (goto_statement "goto LAB_00170bc0;" (goto "goto") (statement_identifier "LAB_00170bc0") (; ";"))) (expression_statement "uVar11 = (ulong)param_1[2];" (assignment_expression "uVar11 = (ulong)param_1[2]" (identifier "uVar11") (= "=") (cast_expression "(ulong)param_1[2]" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (if_statement "if (uVar10 != 1) {\n      uVar4 = CONCAT11(param_1[2],param_1[3]);\n      uVar11 = (ulong)uVar4;\n      if (uVar10 != 2) {\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }\n    }" (if "if") (parenthesized_expression "(uVar10 != 1)" (( "(") (binary_expression "uVar10 != 1" (identifier "uVar10") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n      uVar4 = CONCAT11(param_1[2],param_1[3]);\n      uVar11 = (ulong)uVar4;\n      if (uVar10 != 2) {\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }\n    }" ({ "{") (expression_statement "uVar4 = CONCAT11(param_1[2],param_1[3]);" (assignment_expression "uVar4 = CONCAT11(param_1[2],param_1[3])" (identifier "uVar4") (= "=") (call_expression "CONCAT11(param_1[2],param_1[3])" (identifier "CONCAT11") (argument_list "(param_1[2],param_1[3])" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) () ")")))) (; ";")) (expression_statement "uVar11 = (ulong)uVar4;" (assignment_expression "uVar11 = (ulong)uVar4" (identifier "uVar11") (= "=") (cast_expression "(ulong)uVar4" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar4"))) (; ";")) (if_statement "if (uVar10 != 2) {\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }" (if "if") (parenthesized_expression "(uVar10 != 2)" (( "(") (binary_expression "uVar10 != 2" (identifier "uVar10") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n        uVar5 = CONCAT21(uVar4,param_1[4]);\n        uVar11 = (ulong)uVar5;\n        if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }\n      }" ({ "{") (expression_statement "uVar5 = CONCAT21(uVar4,param_1[4]);" (assignment_expression "uVar5 = CONCAT21(uVar4,param_1[4])" (identifier "uVar5") (= "=") (call_expression "CONCAT21(uVar4,param_1[4])" (identifier "CONCAT21") (argument_list "(uVar4,param_1[4])" (( "(") (identifier "uVar4") (, ",") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) () ")")))) (; ";")) (expression_statement "uVar11 = (ulong)uVar5;" (assignment_expression "uVar11 = (ulong)uVar5" (identifier "uVar11") (= "=") (cast_expression "(ulong)uVar5" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar5"))) (; ";")) (if_statement "if (uVar10 != 3) {\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }" (if "if") (parenthesized_expression "(uVar10 != 3)" (( "(") (binary_expression "uVar10 != 3" (identifier "uVar10") (!= "!=") (number_literal "3")) () ")")) (compound_statement "{\n          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);\n        }" ({ "{") (expression_statement "uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);" (assignment_expression "uVar11 = (ulong)CONCAT31(uVar5,param_1[5])" (identifier "uVar11") (= "=") (cast_expression "(ulong)CONCAT31(uVar5,param_1[5])" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (call_expression "CONCAT31(uVar5,param_1[5])" (identifier "CONCAT31") (argument_list "(uVar5,param_1[5])" (( "(") (identifier "uVar5") (, ",") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) () ")"))))) (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "uVar9 = 7;" (assignment_expression "uVar9 = 7" (identifier "uVar9") (= "=") (number_literal "7")) (; ";")) (if_statement "if (param_2 < uVar1 + uVar11) goto LAB_00170bc0;" (if "if") (parenthesized_expression "(param_2 < uVar1 + uVar11)" (( "(") (binary_expression "param_2 < uVar1 + uVar11" (identifier "param_2") (< "<") (binary_expression "uVar1 + uVar11" (identifier "uVar1") (+ "+") (identifier "uVar11"))) () ")")) (goto_statement "goto LAB_00170bc0;" (goto "goto") (statement_identifier "LAB_00170bc0") (; ";"))) (expression_statement "param_1 = param_1 + uVar1;" (assignment_expression "param_1 = param_1 + uVar1" (identifier "param_1") (= "=") (binary_expression "param_1 + uVar1" (identifier "param_1") (+ "+") (identifier "uVar1"))) (; ";")) (} "}")) (else_clause "else {\n    param_1 = param_1 + 2;\n    if (param_2 < (ulong)bVar2 + 2) goto LAB_00170bc0;\n  }" (else "else") (compound_statement "{\n    param_1 = param_1 + 2;\n    if (param_2 < (ulong)bVar2 + 2) goto LAB_00170bc0;\n  }" ({ "{") (expression_statement "param_1 = param_1 + 2;" (assignment_expression "param_1 = param_1 + 2" (identifier "param_1") (= "=") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if (param_2 < (ulong)bVar2 + 2) goto LAB_00170bc0;" (if "if") (parenthesized_expression "(param_2 < (ulong)bVar2 + 2)" (( "(") (binary_expression "param_2 < (ulong)bVar2 + 2" (identifier "param_2") (< "<") (binary_expression "(ulong)bVar2 + 2" (cast_expression "(ulong)bVar2" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "bVar2")) (+ "+") (number_literal "2"))) () ")")) (goto_statement "goto LAB_00170bc0;" (goto "goto") (statement_identifier "LAB_00170bc0") (; ";"))) (} "}")))) (expression_statement "uVar9 = (**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(param_3,param_1);" (assignment_expression "uVar9 = (**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(param_3,param_1)" (identifier "uVar9") (= "=") (call_expression "(**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(param_3,param_1)" (parenthesized_expression "(**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))" (( "(") (pointer_expression "**(code **)(PTR_ltc_mp_001ddec0 + 0xa0)" (* "*") (pointer_expression "*(code **)(PTR_ltc_mp_001ddec0 + 0xa0)" (* "*") (cast_expression "(code **)(PTR_ltc_mp_001ddec0 + 0xa0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_ltc_mp_001ddec0 + 0xa0)" (( "(") (binary_expression "PTR_ltc_mp_001ddec0 + 0xa0" (identifier "PTR_ltc_mp_001ddec0") (+ "+") (number_literal "0xa0")) () ")"))))) () ")")) (argument_list "(param_3,param_1)" (( "(") (identifier "param_3") (, ",") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (((int)uVar9 == 0) && (uVar9 = 0, (char)*param_1 < '\0')) {\n    iVar7 = (**(code **)(puVar6 + 0x10))(&local_28);\n    if (iVar7 == 0) {\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(param_3);\n      iVar7 = (*pcVar3)(local_28,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(local_28);\n    }\n    uVar9 = 0xd;\n  }" (if "if") (parenthesized_expression "(((int)uVar9 == 0) && (uVar9 = 0, (char)*param_1 < '\0'))" (( "(") (binary_expression "((int)uVar9 == 0) && (uVar9 = 0, (char)*param_1 < '\0')" (parenthesized_expression "((int)uVar9 == 0)" (( "(") (binary_expression "(int)uVar9 == 0" (cast_expression "(int)uVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar9")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(uVar9 = 0, (char)*param_1 < '\0')" (( "(") (comma_expression "uVar9 = 0, (char)*param_1 < '\0'" (assignment_expression "uVar9 = 0" (identifier "uVar9") (= "=") (number_literal "0")) (, ",") (binary_expression "(char)*param_1 < '\0'" (cast_expression "(char)*param_1" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")"))) () ")")) (compound_statement "{\n    iVar7 = (**(code **)(puVar6 + 0x10))(&local_28);\n    if (iVar7 == 0) {\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(param_3);\n      iVar7 = (*pcVar3)(local_28,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(local_28);\n    }\n    uVar9 = 0xd;\n  }" ({ "{") (expression_statement "iVar7 = (**(code **)(puVar6 + 0x10))(&local_28);" (assignment_expression "iVar7 = (**(code **)(puVar6 + 0x10))(&local_28)" (identifier "iVar7") (= "=") (call_expression "(**(code **)(puVar6 + 0x10))(&local_28)" (parenthesized_expression "(**(code **)(puVar6 + 0x10))" (( "(") (pointer_expression "**(code **)(puVar6 + 0x10)" (* "*") (pointer_expression "*(code **)(puVar6 + 0x10)" (* "*") (cast_expression "(code **)(puVar6 + 0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x10)" (( "(") (binary_expression "puVar6 + 0x10" (identifier "puVar6") (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (argument_list "(&local_28)" (( "(") (pointer_expression "&local_28" (& "&") (identifier "local_28")) () ")")))) (; ";")) (if_statement "if (iVar7 == 0) {\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(param_3);\n      iVar7 = (*pcVar3)(local_28,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(local_28);\n    }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      pcVar3 = *(code **)(puVar6 + 0x78);\n      uVar8 = (**(code **)(puVar6 + 0x68))(param_3);\n      iVar7 = (*pcVar3)(local_28,uVar8);\n      if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }\n      (**(code **)(puVar6 + 0x20))(local_28);\n    }" ({ "{") (expression_statement "pcVar3 = *(code **)(puVar6 + 0x78);" (assignment_expression "pcVar3 = *(code **)(puVar6 + 0x78)" (identifier "pcVar3") (= "=") (pointer_expression "*(code **)(puVar6 + 0x78)" (* "*") (cast_expression "(code **)(puVar6 + 0x78)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x78)" (( "(") (binary_expression "puVar6 + 0x78" (identifier "puVar6") (+ "+") (number_literal "0x78")) () ")"))))) (; ";")) (expression_statement "uVar8 = (**(code **)(puVar6 + 0x68))(param_3);" (assignment_expression "uVar8 = (**(code **)(puVar6 + 0x68))(param_3)" (identifier "uVar8") (= "=") (call_expression "(**(code **)(puVar6 + 0x68))(param_3)" (parenthesized_expression "(**(code **)(puVar6 + 0x68))" (( "(") (pointer_expression "**(code **)(puVar6 + 0x68)" (* "*") (pointer_expression "*(code **)(puVar6 + 0x68)" (* "*") (cast_expression "(code **)(puVar6 + 0x68)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x68)" (( "(") (binary_expression "puVar6 + 0x68" (identifier "puVar6") (+ "+") (number_literal "0x68")) () ")"))))) () ")")) (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (; ";")) (expression_statement "iVar7 = (*pcVar3)(local_28,uVar8);" (assignment_expression "iVar7 = (*pcVar3)(local_28,uVar8)" (identifier "iVar7") (= "=") (call_expression "(*pcVar3)(local_28,uVar8)" (parenthesized_expression "(*pcVar3)" (( "(") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) () ")")) (argument_list "(local_28,uVar8)" (( "(") (identifier "local_28") (, ",") (identifier "uVar8") () ")")))) (; ";")) (if_statement "if (iVar7 == 0) {\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);\n        if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }\n      }" ({ "{") (expression_statement "iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);" (assignment_expression "iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3)" (identifier "iVar7") (= "=") (call_expression "(**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3)" (parenthesized_expression "(**(code **)(puVar6 + 0xb8))" (( "(") (pointer_expression "**(code **)(puVar6 + 0xb8)" (* "*") (pointer_expression "*(code **)(puVar6 + 0xb8)" (* "*") (cast_expression "(code **)(puVar6 + 0xb8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0xb8)" (( "(") (binary_expression "puVar6 + 0xb8" (identifier "puVar6") (+ "+") (number_literal "0xb8")) () ")"))))) () ")")) (argument_list "(param_3,local_28,param_3)" (( "(") (identifier "param_3") (, ",") (identifier "local_28") (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (iVar7 == 0) {\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          (**(code **)(puVar6 + 0x20))(local_28);\n          uVar9 = 0;\n          goto LAB_00170bc0;\n        }" ({ "{") (expression_statement "(**(code **)(puVar6 + 0x20))(local_28);" (call_expression "(**(code **)(puVar6 + 0x20))(local_28)" (parenthesized_expression "(**(code **)(puVar6 + 0x20))" (( "(") (pointer_expression "**(code **)(puVar6 + 0x20)" (* "*") (pointer_expression "*(code **)(puVar6 + 0x20)" (* "*") (cast_expression "(code **)(puVar6 + 0x20)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x20)" (( "(") (binary_expression "puVar6 + 0x20" (identifier "puVar6") (+ "+") (number_literal "0x20")) () ")"))))) () ")")) (argument_list "(local_28)" (( "(") (identifier "local_28") () ")"))) (; ";")) (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" (identifier "uVar9") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_00170bc0;" (goto "goto") (statement_identifier "LAB_00170bc0") (; ";")) (} "}"))) (} "}"))) (expression_statement "(**(code **)(puVar6 + 0x20))(local_28);" (call_expression "(**(code **)(puVar6 + 0x20))(local_28)" (parenthesized_expression "(**(code **)(puVar6 + 0x20))" (( "(") (pointer_expression "**(code **)(puVar6 + 0x20)" (* "*") (pointer_expression "*(code **)(puVar6 + 0x20)" (* "*") (cast_expression "(code **)(puVar6 + 0x20)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x20)" (( "(") (binary_expression "puVar6 + 0x20" (identifier "puVar6") (+ "+") (number_literal "0x20")) () ")"))))) () ")")) (argument_list "(local_28)" (( "(") (identifier "local_28") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar9 = 0xd;" (assignment_expression "uVar9 = 0xd" (identifier "uVar9") (= "=") (number_literal "0xd")) (; ";")) (} "}"))) (labeled_statement "LAB_00170bc0:\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return uVar9;\n  }" (statement_identifier "LAB_00170bc0") (: ":") (if_statement "if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return uVar9;\n  }" (if "if") (parenthesized_expression "(local_20 == *(long *)(in_FS_OFFSET + 0x28))" (( "(") (binary_expression "local_20 == *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_20") (== "==") (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 uVar9;\n  }" ({ "{") (return_statement "return uVar9;" (return "return") (identifier "uVar9") (; ";")) (} "}")))) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" (identifier "__stack_chk_fail") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

int function_1(type_1 *var_4,type_2 var_5,void *var_2)

{
  type_2 var_8;
  type_3 var_6;
  type_4 *pcVar3;
  type_5 uVar4;
  type_6 uVar5;
  type_7 *var_15;
  int var_14;
  type_8 uVar8;
  type_2 var_7;
  type_2 var_12;
  type_1 *puVar11;
  long var_1;
  void *tmp;
  long var_16;
  
  var_15 = var_13;
  var_16 = *(long *)(var_1 + 0x28);
  if (var_2 == (void *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("num != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x1f);
  }
  if (var_4 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("in != NULL","src/pk/asn1/der/integer/der_decode_integer.c",0x20);
  }
  var_14 = 7;
  if ((var_5 < 3) || ((*var_4 & 0x1f) != 2)) goto LAB_00170bc0;
  var_6 = var_4[1];
  if ((char)var_6 < '\0') {
    var_7 = (type_2)(var_6 & 0x7f);
    var_8 = var_7 + 2;
    if ((var_5 < var_8) || (3 < var_7 - 1)) goto LAB_00170bc0;
    var_12 = (type_2)var_4[2];
    if (var_7 != 1) {
      uVar4 = var_9(var_4[2],var_4[3]);
      var_12 = (type_2)uVar4;
      if (var_7 != 2) {
        uVar5 = var_10(uVar4,var_4[4]);
        var_12 = (type_2)uVar5;
        if (var_7 != 3) {
          var_12 = (type_2)var_11(uVar5,var_4[5]);
        }
      }
    }
    var_14 = 7;
    if (var_5 < var_8 + var_12) goto LAB_00170bc0;
    puVar11 = var_4 + var_8;
  }
  else {
    puVar11 = var_4 + 2;
    if (var_5 < (type_2)var_6 + 2) goto LAB_00170bc0;
  }
  var_14 = (**(type_4 **)(var_13 + 0xa0))(var_2,puVar11);
  if ((var_14 == 0) && (var_14 = 0, (char)*puVar11 < '\0')) {
    var_14 = (**(type_4 **)(var_15 + 0x10))(&tmp);
    if (var_14 == 0) {
      pcVar3 = *(type_4 **)(var_15 + 0x78);
      uVar8 = (**(type_4 **)(var_15 + 0x68))(var_2);
      var_14 = (*pcVar3)(tmp,uVar8);
      if (var_14 == 0) {
        var_14 = (**(type_4 **)(var_15 + 0xb8))(var_2,tmp,var_2);
        if (var_14 == 0) {
          (**(type_4 **)(var_15 + 0x20))(tmp);
          var_14 = 0;
          goto LAB_00170bc0;
        }
      }
      (**(type_4 **)(var_15 + 0x20))(tmp);
    }
    var_14 = 0xd;
  }
LAB_00170bc0:
  if (var_16 == *(long *)(var_1 + 0x28)) {
    return var_14;
  }
                    /* WARNING: Subroutine does not return */
  var_17();
}


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

undefined8 MASKED(byte *param_1,ulong param_2,long param_3)

{
  ulong uVar1;
  byte bVar2;
  code *pcVar3;
  ushort uVar4;
  uint3 uVar5;
  undefined *puVar6;
  int iVar7;
  undefined4 uVar8;
  undefined8 uVar9;
  ulong uVar10;
  ulong uVar11;
  long in_FS_OFFSET;
  undefined8 local_28;
  long local_20;
  
  puVar6 = PTR_ltc_mp_001ddec0;
  local_20 = *(long *)(in_FS_OFFSET + 0x28);
  if (param_3 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("num != NULL","src/pk/asn1/der/integer/MASKED.c",0x1f);
  }
  if (param_1 == (byte *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("in != NULL","src/pk/asn1/der/integer/MASKED.c",0x20);
  }
  uVar9 = 7;
  if ((param_2 < 3) || ((*param_1 & 0x1f) != 2)) goto LAB_00170bc0;
  bVar2 = param_1[1];
  if ((char)bVar2 < '\0') {
    uVar10 = (ulong)(bVar2 & 0x7f);
    uVar1 = uVar10 + 2;
    if ((param_2 < uVar1) || (3 < uVar10 - 1)) goto LAB_00170bc0;
    uVar11 = (ulong)param_1[2];
    if (uVar10 != 1) {
      uVar4 = CONCAT11(param_1[2],param_1[3]);
      uVar11 = (ulong)uVar4;
      if (uVar10 != 2) {
        uVar5 = CONCAT21(uVar4,param_1[4]);
        uVar11 = (ulong)uVar5;
        if (uVar10 != 3) {
          uVar11 = (ulong)CONCAT31(uVar5,param_1[5]);
        }
      }
    }
    uVar9 = 7;
    if (param_2 < uVar1 + uVar11) goto LAB_00170bc0;
    param_1 = param_1 + uVar1;
  }
  else {
    param_1 = param_1 + 2;
    if (param_2 < (ulong)bVar2 + 2) goto LAB_00170bc0;
  }
  uVar9 = (**(code **)(PTR_ltc_mp_001ddec0 + 0xa0))(param_3,param_1);
  if (((int)uVar9 == 0) && (uVar9 = 0, (char)*param_1 < '\0')) {
    iVar7 = (**(code **)(puVar6 + 0x10))(&local_28);
    if (iVar7 == 0) {
      pcVar3 = *(code **)(puVar6 + 0x78);
      uVar8 = (**(code **)(puVar6 + 0x68))(param_3);
      iVar7 = (*pcVar3)(local_28,uVar8);
      if (iVar7 == 0) {
        iVar7 = (**(code **)(puVar6 + 0xb8))(param_3,local_28,param_3);
        if (iVar7 == 0) {
          (**(code **)(puVar6 + 0x20))(local_28);
          uVar9 = 0;
          goto LAB_00170bc0;
        }
      }
      (**(code **)(puVar6 + 0x20))(local_28);
    }
    uVar9 = 0xd;
  }
LAB_00170bc0:
  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {
    return uVar9;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}

