
/* DWARF original prototype: int sessionChangeEqual(SessionTable * pTab, int bLeftPkOnly, u8 *
   aLeft, int bRightPkOnly, u8 * aRight, SessionTable * pTab) */

int sessionChangeEqual(SessionTable *pTab,int bLeftPkOnly,u8 *aLeft,int bRightPkOnly,u8 *aRight,
                      SessionTable *pTab_1)

{
  int iVar1;
  int iVar2;
  undefined4 in_register_0000000c;
  u8 *a;
  undefined4 in_register_00000034;
  size_t __n;
  long lVar3;
  
  if (0 < *(int *)&pTab->pNext) {
    a = (u8 *)CONCAT44(in_register_0000000c,bRightPkOnly);
    lVar3 = 0;
    do {
      while (*(char *)(*(long *)CONCAT44(in_register_00000034,bLeftPkOnly) + lVar3) != '\0') {
        iVar1 = sessionSerialLen(a);
        iVar2 = sessionSerialLen((u8 *)pTab_1);
        __n = (size_t)iVar1;
        if ((iVar1 != iVar2) || (iVar1 = memcmp(a,pTab_1,__n), iVar1 != 0)) {
          return 0;
        }
        lVar3 = lVar3 + 1;
        a = a + __n;
        pTab_1 = (SessionTable *)((long)&pTab_1->pNext + __n);
        if (*(int *)&pTab->pNext <= (int)lVar3) {
          return 1;
        }
      }
      if ((int)aLeft == 0) {
        iVar1 = sessionSerialLen(a);
        a = a + iVar1;
      }
      if ((int)aRight == 0) {
        iVar1 = sessionSerialLen((u8 *)pTab_1);
        pTab_1 = (SessionTable *)((long)&pTab_1->pNext + (long)iVar1);
      }
      lVar3 = lVar3 + 1;
    } while ((int)lVar3 < *(int *)&pTab->pNext);
  }
  return 1;
}



undefined8
FUN_0012ab00(int *param_1,long *param_2,int param_3,void *param_4,int param_5,void *param_6)

{
  int iVar1;
  int iVar2;
  size_t __n;
  long lVar3;
  
  if (0 < *param_1) {
    lVar3 = 0;
    do {
      while (*(char *)(*param_2 + lVar3) != '\0') {
        iVar1 = FUN_00126820(param_4);
        iVar2 = FUN_00126820(param_6);
        __n = (size_t)iVar1;
        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {
          return 0;
        }
        lVar3 = lVar3 + 1;
        param_4 = (void *)((long)param_4 + __n);
        param_6 = (void *)((long)param_6 + __n);
        if (*param_1 <= (int)lVar3) {
          return 1;
        }
      }
      if (param_3 == 0) {
        iVar1 = FUN_00126820(param_4);
        param_4 = (void *)((long)param_4 + (long)iVar1);
      }
      if (param_5 == 0) {
        iVar1 = FUN_00126820(param_6);
        param_6 = (void *)((long)param_6 + (long)iVar1);
      }
      lVar3 = lVar3 + 1;
    } while ((int)lVar3 < *param_1);
  }
  return 1;
}


PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x18
MOV dword ptr [RSP + 0x4],EDX
MOV EDX,dword ptr [RDI]
TEST EDX,EDX
JLE 0x0012aba0
MOV R12,RDI
MOV R13,RSI
MOV RBX,RCX
MOV R15D,R8D
MOV RBP,R9
XOR R14D,R14D
JMP 0x0012ab4b
MOV EAX,dword ptr [RSP + 0x4]
TEST EAX,EAX
JZ 0x0012abd0
TEST R15D,R15D
JZ 0x0012abb8
ADD R14,0x1
CMP dword ptr [R12],R14D
JLE 0x0012aba0
MOV RAX,qword ptr [R13]
CMP byte ptr [RAX + R14*0x1],0x0
JZ 0x0012ab30
MOV RDI,RBX
CALL 0x00126820
MOV RDI,RBP
MOV dword ptr [RSP + 0x8],EAX
CALL 0x00126820
MOVSXD R8,dword ptr [RSP + 0x8]
CMP R8D,EAX
JNZ 0x0012abe8
MOV RDX,R8
MOV RSI,RBP
MOV RDI,RBX
MOV qword ptr [RSP + 0x8],R8
CALL 0x0010a1e0
TEST EAX,EAX
JNZ 0x0012abe8
MOV R8,qword ptr [RSP + 0x8]
ADD R14,0x1
ADD RBX,R8
ADD RBP,R8
CMP dword ptr [R12],R14D
JG 0x0012ab4b
ADD RSP,0x18
MOV EAX,0x1
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV RDI,RBP
CALL 0x00126820
CDQE
ADD RBP,RAX
JMP 0x0012ab41
MOV RDI,RBX
CALL 0x00126820
CDQE
ADD RBX,RAX
JMP 0x0012ab3c
ADD RSP,0x18
XOR EAX,EAX
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
(translation_unit "undefined8\nFUN_0012ab00(int *param_1,long *param_2,int param_3,void *param_4,int param_5,void *param_6)\n\n{\n  int iVar1;\n  int iVar2;\n  size_t __n;\n  long lVar3;\n  \n  if (0 < *param_1) {\n    lVar3 = 0;\n    do {\n      while (*(char *)(*param_2 + lVar3) != '\0') {\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if (param_3 == 0) {\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }\n      if (param_5 == 0) {\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < *param_1);\n  }\n  return 1;\n}\n\n" (function_definition "undefined8\nFUN_0012ab00(int *param_1,long *param_2,int param_3,void *param_4,int param_5,void *param_6)\n\n{\n  int iVar1;\n  int iVar2;\n  size_t __n;\n  long lVar3;\n  \n  if (0 < *param_1) {\n    lVar3 = 0;\n    do {\n      while (*(char *)(*param_2 + lVar3) != '\0') {\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if (param_3 == 0) {\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }\n      if (param_5 == 0) {\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < *param_1);\n  }\n  return 1;\n}" type_identifier (function_declarator "FUN_0012ab00(int *param_1,long *param_2,int param_3,void *param_4,int param_5,void *param_6)" identifier (parameter_list "(int *param_1,long *param_2,int param_3,void *param_4,int param_5,void *param_6)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "void *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "void *param_6" primitive_type (pointer_declarator "*param_6" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  size_t __n;\n  long lVar3;\n  \n  if (0 < *param_1) {\n    lVar3 = 0;\n    do {\n      while (*(char *)(*param_2 + lVar3) != '\0') {\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if (param_3 == 0) {\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }\n      if (param_5 == 0) {\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < *param_1);\n  }\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (0 < *param_1) {\n    lVar3 = 0;\n    do {\n      while (*(char *)(*param_2 + lVar3) != '\0') {\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if (param_3 == 0) {\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }\n      if (param_5 == 0) {\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < *param_1);\n  }" if (parenthesized_expression "(0 < *param_1)" ( (binary_expression "0 < *param_1" number_literal < (pointer_expression "*param_1" * identifier)) )) (compound_statement "{\n    lVar3 = 0;\n    do {\n      while (*(char *)(*param_2 + lVar3) != '\0') {\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if (param_3 == 0) {\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }\n      if (param_5 == 0) {\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < *param_1);\n  }" { (expression_statement "lVar3 = 0;" (assignment_expression "lVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      while (*(char *)(*param_2 + lVar3) != '\0') {\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if (param_3 == 0) {\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }\n      if (param_5 == 0) {\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < *param_1);" do (compound_statement "{\n      while (*(char *)(*param_2 + lVar3) != '\0') {\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if (param_3 == 0) {\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }\n      if (param_5 == 0) {\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    }" { (while_statement "while (*(char *)(*param_2 + lVar3) != '\0') {\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }" while (parenthesized_expression "(*(char *)(*param_2 + lVar3) != '\0')" ( (binary_expression "*(char *)(*param_2 + lVar3) != '\0'" (pointer_expression "*(char *)(*param_2 + lVar3)" * (cast_expression "(char *)(*param_2 + lVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + lVar3)" ( (binary_expression "*param_2 + lVar3" (pointer_expression "*param_2" * identifier) + identifier) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }" { (expression_statement "iVar1 = FUN_00126820(param_4);" (assignment_expression "iVar1 = FUN_00126820(param_4)" identifier = (call_expression "FUN_00126820(param_4)" identifier (argument_list "(param_4)" ( identifier )))) ;) (expression_statement "iVar2 = FUN_00126820(param_6);" (assignment_expression "iVar2 = FUN_00126820(param_6)" identifier = (call_expression "FUN_00126820(param_6)" identifier (argument_list "(param_6)" ( identifier )))) ;) (expression_statement "__n = (size_t)iVar1;" (assignment_expression "__n = (size_t)iVar1" identifier = (cast_expression "(size_t)iVar1" ( (type_descriptor "size_t" primitive_type) ) identifier)) ;) (if_statement "if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }" if (parenthesized_expression "((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0))" ( (binary_expression "(iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)" (parenthesized_expression "(iVar1 != iVar2)" ( (binary_expression "iVar1 != iVar2" identifier != identifier) )) || (parenthesized_expression "(iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)" ( (comma_expression "iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0" (assignment_expression "iVar1 = memcmp(param_4,param_6,__n)" identifier = (call_expression "memcmp(param_4,param_6,__n)" identifier (argument_list "(param_4,param_6,__n)" ( identifier , identifier , identifier )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "lVar3 = lVar3 + 1;" (assignment_expression "lVar3 = lVar3 + 1" identifier = (binary_expression "lVar3 + 1" identifier + number_literal)) ;) (expression_statement "param_4 = (void *)((long)param_4 + __n);" (assignment_expression "param_4 = (void *)((long)param_4 + __n)" identifier = (cast_expression "(void *)((long)param_4 + __n)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_4 + __n)" ( (binary_expression "(long)param_4 + __n" (cast_expression "(long)param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) ;) (expression_statement "param_6 = (void *)((long)param_6 + __n);" (assignment_expression "param_6 = (void *)((long)param_6 + __n)" identifier = (cast_expression "(void *)((long)param_6 + __n)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_6 + __n)" ( (binary_expression "(long)param_6 + __n" (cast_expression "(long)param_6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) ;) (if_statement "if (*param_1 <= (int)lVar3) {\n          return 1;\n        }" if (parenthesized_expression "(*param_1 <= (int)lVar3)" ( (binary_expression "*param_1 <= (int)lVar3" (pointer_expression "*param_1" * identifier) <= (cast_expression "(int)lVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) })) (if_statement "if (param_3 == 0) {\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }" { (expression_statement "iVar1 = FUN_00126820(param_4);" (assignment_expression "iVar1 = FUN_00126820(param_4)" identifier = (call_expression "FUN_00126820(param_4)" identifier (argument_list "(param_4)" ( identifier )))) ;) (expression_statement "param_4 = (void *)((long)param_4 + (long)iVar1);" (assignment_expression "param_4 = (void *)((long)param_4 + (long)iVar1)" identifier = (cast_expression "(void *)((long)param_4 + (long)iVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_4 + (long)iVar1)" ( (binary_expression "(long)param_4 + (long)iVar1" (cast_expression "(long)param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(long)iVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) ;) })) (if_statement "if (param_5 == 0) {\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }" { (expression_statement "iVar1 = FUN_00126820(param_6);" (assignment_expression "iVar1 = FUN_00126820(param_6)" identifier = (call_expression "FUN_00126820(param_6)" identifier (argument_list "(param_6)" ( identifier )))) ;) (expression_statement "param_6 = (void *)((long)param_6 + (long)iVar1);" (assignment_expression "param_6 = (void *)((long)param_6 + (long)iVar1)" identifier = (cast_expression "(void *)((long)param_6 + (long)iVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_6 + (long)iVar1)" ( (binary_expression "(long)param_6 + (long)iVar1" (cast_expression "(long)param_6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(long)iVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) ;) })) (expression_statement "lVar3 = lVar3 + 1;" (assignment_expression "lVar3 = lVar3 + 1" identifier = (binary_expression "lVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int)lVar3 < *param_1)" ( (binary_expression "(int)lVar3 < *param_1" (cast_expression "(int)lVar3" ( (type_descriptor "int" primitive_type) ) identifier) < (pointer_expression "*param_1" * identifier)) )) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* DWARF original prototype: int sessionChangeEqual(SessionTable * pTab, int bLeftPkOnly, u8 *\n   aLeft, int bRightPkOnly, u8 * aRight, SessionTable * pTab) */\n\nint sessionChangeEqual(SessionTable *pTab,int bLeftPkOnly,u8 *aLeft,int bRightPkOnly,u8 *aRight,\n                      SessionTable *pTab_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 in_register_0000000c;\n  u8 *a;\n  undefined4 in_register_00000034;\n  size_t __n;\n  long lVar3;\n  \n  if (0 < *(int *)&pTab->pNext) {\n    a = (u8 *)CONCAT44(in_register_0000000c,bRightPkOnly);\n    lVar3 = 0;\n    do {\n      while (*(char *)(*(long *)CONCAT44(in_register_00000034,bLeftPkOnly) + lVar3) != '\0') {\n        iVar1 = sessionSerialLen(a);\n        iVar2 = sessionSerialLen((u8 *)pTab_1);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(a,pTab_1,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        a = a + __n;\n        pTab_1 = (SessionTable *)((long)&pTab_1->pNext + __n);\n        if (*(int *)&pTab->pNext <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if ((int)aLeft == 0) {\n        iVar1 = sessionSerialLen(a);\n        a = a + iVar1;\n      }\n      if ((int)aRight == 0) {\n        iVar1 = sessionSerialLen((u8 *)pTab_1);\n        pTab_1 = (SessionTable *)((long)&pTab_1->pNext + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < *(int *)&pTab->pNext);\n  }\n  return 1;\n}\n\n" comment (function_definition "int sessionChangeEqual(SessionTable *pTab,int bLeftPkOnly,u8 *aLeft,int bRightPkOnly,u8 *aRight,\n                      SessionTable *pTab_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 in_register_0000000c;\n  u8 *a;\n  undefined4 in_register_00000034;\n  size_t __n;\n  long lVar3;\n  \n  if (0 < *(int *)&pTab->pNext) {\n    a = (u8 *)CONCAT44(in_register_0000000c,bRightPkOnly);\n    lVar3 = 0;\n    do {\n      while (*(char *)(*(long *)CONCAT44(in_register_00000034,bLeftPkOnly) + lVar3) != '\0') {\n        iVar1 = sessionSerialLen(a);\n        iVar2 = sessionSerialLen((u8 *)pTab_1);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(a,pTab_1,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        a = a + __n;\n        pTab_1 = (SessionTable *)((long)&pTab_1->pNext + __n);\n        if (*(int *)&pTab->pNext <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if ((int)aLeft == 0) {\n        iVar1 = sessionSerialLen(a);\n        a = a + iVar1;\n      }\n      if ((int)aRight == 0) {\n        iVar1 = sessionSerialLen((u8 *)pTab_1);\n        pTab_1 = (SessionTable *)((long)&pTab_1->pNext + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < *(int *)&pTab->pNext);\n  }\n  return 1;\n}" primitive_type (function_declarator "sessionChangeEqual(SessionTable *pTab,int bLeftPkOnly,u8 *aLeft,int bRightPkOnly,u8 *aRight,\n                      SessionTable *pTab_1)" identifier (parameter_list "(SessionTable *pTab,int bLeftPkOnly,u8 *aLeft,int bRightPkOnly,u8 *aRight,\n                      SessionTable *pTab_1)" ( (parameter_declaration "SessionTable *pTab" type_identifier (pointer_declarator "*pTab" * identifier)) , (parameter_declaration "int bLeftPkOnly" primitive_type identifier) , (parameter_declaration "u8 *aLeft" type_identifier (pointer_declarator "*aLeft" * identifier)) , (parameter_declaration "int bRightPkOnly" primitive_type identifier) , (parameter_declaration "u8 *aRight" type_identifier (pointer_declarator "*aRight" * identifier)) , (parameter_declaration "SessionTable *pTab_1" type_identifier (pointer_declarator "*pTab_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 in_register_0000000c;\n  u8 *a;\n  undefined4 in_register_00000034;\n  size_t __n;\n  long lVar3;\n  \n  if (0 < *(int *)&pTab->pNext) {\n    a = (u8 *)CONCAT44(in_register_0000000c,bRightPkOnly);\n    lVar3 = 0;\n    do {\n      while (*(char *)(*(long *)CONCAT44(in_register_00000034,bLeftPkOnly) + lVar3) != '\0') {\n        iVar1 = sessionSerialLen(a);\n        iVar2 = sessionSerialLen((u8 *)pTab_1);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(a,pTab_1,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        a = a + __n;\n        pTab_1 = (SessionTable *)((long)&pTab_1->pNext + __n);\n        if (*(int *)&pTab->pNext <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if ((int)aLeft == 0) {\n        iVar1 = sessionSerialLen(a);\n        a = a + iVar1;\n      }\n      if ((int)aRight == 0) {\n        iVar1 = sessionSerialLen((u8 *)pTab_1);\n        pTab_1 = (SessionTable *)((long)&pTab_1->pNext + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < *(int *)&pTab->pNext);\n  }\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 in_register_0000000c;" type_identifier identifier ;) (declaration "u8 *a;" type_identifier (pointer_declarator "*a" * identifier) ;) (declaration "undefined4 in_register_00000034;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (0 < *(int *)&pTab->pNext) {\n    a = (u8 *)CONCAT44(in_register_0000000c,bRightPkOnly);\n    lVar3 = 0;\n    do {\n      while (*(char *)(*(long *)CONCAT44(in_register_00000034,bLeftPkOnly) + lVar3) != '\0') {\n        iVar1 = sessionSerialLen(a);\n        iVar2 = sessionSerialLen((u8 *)pTab_1);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(a,pTab_1,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        a = a + __n;\n        pTab_1 = (SessionTable *)((long)&pTab_1->pNext + __n);\n        if (*(int *)&pTab->pNext <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if ((int)aLeft == 0) {\n        iVar1 = sessionSerialLen(a);\n        a = a + iVar1;\n      }\n      if ((int)aRight == 0) {\n        iVar1 = sessionSerialLen((u8 *)pTab_1);\n        pTab_1 = (SessionTable *)((long)&pTab_1->pNext + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < *(int *)&pTab->pNext);\n  }" if (parenthesized_expression "(0 < *(int *)&pTab->pNext)" ( (binary_expression "0 < *(int *)&pTab->pNext" number_literal < (pointer_expression "*(int *)&pTab->pNext" * (cast_expression "(int *)&pTab->pNext" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pTab->pNext" & (field_expression "pTab->pNext" identifier -> field_identifier))))) )) (compound_statement "{\n    a = (u8 *)CONCAT44(in_register_0000000c,bRightPkOnly);\n    lVar3 = 0;\n    do {\n      while (*(char *)(*(long *)CONCAT44(in_register_00000034,bLeftPkOnly) + lVar3) != '\0') {\n        iVar1 = sessionSerialLen(a);\n        iVar2 = sessionSerialLen((u8 *)pTab_1);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(a,pTab_1,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        a = a + __n;\n        pTab_1 = (SessionTable *)((long)&pTab_1->pNext + __n);\n        if (*(int *)&pTab->pNext <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if ((int)aLeft == 0) {\n        iVar1 = sessionSerialLen(a);\n        a = a + iVar1;\n      }\n      if ((int)aRight == 0) {\n        iVar1 = sessionSerialLen((u8 *)pTab_1);\n        pTab_1 = (SessionTable *)((long)&pTab_1->pNext + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < *(int *)&pTab->pNext);\n  }" { (expression_statement "a = (u8 *)CONCAT44(in_register_0000000c,bRightPkOnly);" (assignment_expression "a = (u8 *)CONCAT44(in_register_0000000c,bRightPkOnly)" identifier = (cast_expression "(u8 *)CONCAT44(in_register_0000000c,bRightPkOnly)" ( (type_descriptor "u8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "CONCAT44(in_register_0000000c,bRightPkOnly)" identifier (argument_list "(in_register_0000000c,bRightPkOnly)" ( identifier , identifier ))))) ;) (expression_statement "lVar3 = 0;" (assignment_expression "lVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      while (*(char *)(*(long *)CONCAT44(in_register_00000034,bLeftPkOnly) + lVar3) != '\0') {\n        iVar1 = sessionSerialLen(a);\n        iVar2 = sessionSerialLen((u8 *)pTab_1);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(a,pTab_1,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        a = a + __n;\n        pTab_1 = (SessionTable *)((long)&pTab_1->pNext + __n);\n        if (*(int *)&pTab->pNext <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if ((int)aLeft == 0) {\n        iVar1 = sessionSerialLen(a);\n        a = a + iVar1;\n      }\n      if ((int)aRight == 0) {\n        iVar1 = sessionSerialLen((u8 *)pTab_1);\n        pTab_1 = (SessionTable *)((long)&pTab_1->pNext + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < *(int *)&pTab->pNext);" do (compound_statement "{\n      while (*(char *)(*(long *)CONCAT44(in_register_00000034,bLeftPkOnly) + lVar3) != '\0') {\n        iVar1 = sessionSerialLen(a);\n        iVar2 = sessionSerialLen((u8 *)pTab_1);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(a,pTab_1,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        a = a + __n;\n        pTab_1 = (SessionTable *)((long)&pTab_1->pNext + __n);\n        if (*(int *)&pTab->pNext <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if ((int)aLeft == 0) {\n        iVar1 = sessionSerialLen(a);\n        a = a + iVar1;\n      }\n      if ((int)aRight == 0) {\n        iVar1 = sessionSerialLen((u8 *)pTab_1);\n        pTab_1 = (SessionTable *)((long)&pTab_1->pNext + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    }" { (while_statement "while (*(char *)(*(long *)CONCAT44(in_register_00000034,bLeftPkOnly) + lVar3) != '\0') {\n        iVar1 = sessionSerialLen(a);\n        iVar2 = sessionSerialLen((u8 *)pTab_1);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(a,pTab_1,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        a = a + __n;\n        pTab_1 = (SessionTable *)((long)&pTab_1->pNext + __n);\n        if (*(int *)&pTab->pNext <= (int)lVar3) {\n          return 1;\n        }\n      }" while (parenthesized_expression "(*(char *)(*(long *)CONCAT44(in_register_00000034,bLeftPkOnly) + lVar3) != '\0')" ( (binary_expression "*(char *)(*(long *)CONCAT44(in_register_00000034,bLeftPkOnly) + lVar3) != '\0'" (pointer_expression "*(char *)(*(long *)CONCAT44(in_register_00000034,bLeftPkOnly) + lVar3)" * (cast_expression "(char *)(*(long *)CONCAT44(in_register_00000034,bLeftPkOnly) + lVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)CONCAT44(in_register_00000034,bLeftPkOnly) + lVar3)" ( (binary_expression "*(long *)CONCAT44(in_register_00000034,bLeftPkOnly) + lVar3" (pointer_expression "*(long *)CONCAT44(in_register_00000034,bLeftPkOnly)" * (cast_expression "(long *)CONCAT44(in_register_00000034,bLeftPkOnly)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "CONCAT44(in_register_00000034,bLeftPkOnly)" identifier (argument_list "(in_register_00000034,bLeftPkOnly)" ( identifier , identifier ))))) + identifier) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar1 = sessionSerialLen(a);\n        iVar2 = sessionSerialLen((u8 *)pTab_1);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(a,pTab_1,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        a = a + __n;\n        pTab_1 = (SessionTable *)((long)&pTab_1->pNext + __n);\n        if (*(int *)&pTab->pNext <= (int)lVar3) {\n          return 1;\n        }\n      }" { (expression_statement "iVar1 = sessionSerialLen(a);" (assignment_expression "iVar1 = sessionSerialLen(a)" identifier = (call_expression "sessionSerialLen(a)" identifier (argument_list "(a)" ( identifier )))) ;) (expression_statement "iVar2 = sessionSerialLen((u8 *)pTab_1);" (assignment_expression "iVar2 = sessionSerialLen((u8 *)pTab_1)" identifier = (call_expression "sessionSerialLen((u8 *)pTab_1)" identifier (argument_list "((u8 *)pTab_1)" ( (cast_expression "(u8 *)pTab_1" ( (type_descriptor "u8 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "__n = (size_t)iVar1;" (assignment_expression "__n = (size_t)iVar1" identifier = (cast_expression "(size_t)iVar1" ( (type_descriptor "size_t" primitive_type) ) identifier)) ;) (if_statement "if ((iVar1 != iVar2) || (iVar1 = memcmp(a,pTab_1,__n), iVar1 != 0)) {\n          return 0;\n        }" if (parenthesized_expression "((iVar1 != iVar2) || (iVar1 = memcmp(a,pTab_1,__n), iVar1 != 0))" ( (binary_expression "(iVar1 != iVar2) || (iVar1 = memcmp(a,pTab_1,__n), iVar1 != 0)" (parenthesized_expression "(iVar1 != iVar2)" ( (binary_expression "iVar1 != iVar2" identifier != identifier) )) || (parenthesized_expression "(iVar1 = memcmp(a,pTab_1,__n), iVar1 != 0)" ( (comma_expression "iVar1 = memcmp(a,pTab_1,__n), iVar1 != 0" (assignment_expression "iVar1 = memcmp(a,pTab_1,__n)" identifier = (call_expression "memcmp(a,pTab_1,__n)" identifier (argument_list "(a,pTab_1,__n)" ( identifier , identifier , identifier )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "lVar3 = lVar3 + 1;" (assignment_expression "lVar3 = lVar3 + 1" identifier = (binary_expression "lVar3 + 1" identifier + number_literal)) ;) (expression_statement "a = a + __n;" (assignment_expression "a = a + __n" identifier = (binary_expression "a + __n" identifier + identifier)) ;) (expression_statement "pTab_1 = (SessionTable *)((long)&pTab_1->pNext + __n);" (assignment_expression "pTab_1 = (SessionTable *)((long)&pTab_1->pNext + __n)" identifier = (cast_expression "(SessionTable *)((long)&pTab_1->pNext + __n)" ( (type_descriptor "SessionTable *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&pTab_1->pNext + __n)" ( (binary_expression "(long)&pTab_1->pNext + __n" (cast_expression "(long)&pTab_1->pNext" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&pTab_1->pNext" & (field_expression "pTab_1->pNext" identifier -> field_identifier))) + identifier) )))) ;) (if_statement "if (*(int *)&pTab->pNext <= (int)lVar3) {\n          return 1;\n        }" if (parenthesized_expression "(*(int *)&pTab->pNext <= (int)lVar3)" ( (binary_expression "*(int *)&pTab->pNext <= (int)lVar3" (pointer_expression "*(int *)&pTab->pNext" * (cast_expression "(int *)&pTab->pNext" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pTab->pNext" & (field_expression "pTab->pNext" identifier -> field_identifier)))) <= (cast_expression "(int)lVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) })) (if_statement "if ((int)aLeft == 0) {\n        iVar1 = sessionSerialLen(a);\n        a = a + iVar1;\n      }" if (parenthesized_expression "((int)aLeft == 0)" ( (binary_expression "(int)aLeft == 0" (cast_expression "(int)aLeft" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal) )) (compound_statement "{\n        iVar1 = sessionSerialLen(a);\n        a = a + iVar1;\n      }" { (expression_statement "iVar1 = sessionSerialLen(a);" (assignment_expression "iVar1 = sessionSerialLen(a)" identifier = (call_expression "sessionSerialLen(a)" identifier (argument_list "(a)" ( identifier )))) ;) (expression_statement "a = a + iVar1;" (assignment_expression "a = a + iVar1" identifier = (binary_expression "a + iVar1" identifier + identifier)) ;) })) (if_statement "if ((int)aRight == 0) {\n        iVar1 = sessionSerialLen((u8 *)pTab_1);\n        pTab_1 = (SessionTable *)((long)&pTab_1->pNext + (long)iVar1);\n      }" if (parenthesized_expression "((int)aRight == 0)" ( (binary_expression "(int)aRight == 0" (cast_expression "(int)aRight" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal) )) (compound_statement "{\n        iVar1 = sessionSerialLen((u8 *)pTab_1);\n        pTab_1 = (SessionTable *)((long)&pTab_1->pNext + (long)iVar1);\n      }" { (expression_statement "iVar1 = sessionSerialLen((u8 *)pTab_1);" (assignment_expression "iVar1 = sessionSerialLen((u8 *)pTab_1)" identifier = (call_expression "sessionSerialLen((u8 *)pTab_1)" identifier (argument_list "((u8 *)pTab_1)" ( (cast_expression "(u8 *)pTab_1" ( (type_descriptor "u8 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "pTab_1 = (SessionTable *)((long)&pTab_1->pNext + (long)iVar1);" (assignment_expression "pTab_1 = (SessionTable *)((long)&pTab_1->pNext + (long)iVar1)" identifier = (cast_expression "(SessionTable *)((long)&pTab_1->pNext + (long)iVar1)" ( (type_descriptor "SessionTable *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&pTab_1->pNext + (long)iVar1)" ( (binary_expression "(long)&pTab_1->pNext + (long)iVar1" (cast_expression "(long)&pTab_1->pNext" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&pTab_1->pNext" & (field_expression "pTab_1->pNext" identifier -> field_identifier))) + (cast_expression "(long)iVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) ;) })) (expression_statement "lVar3 = lVar3 + 1;" (assignment_expression "lVar3 = lVar3 + 1" identifier = (binary_expression "lVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int)lVar3 < *(int *)&pTab->pNext)" ( (binary_expression "(int)lVar3 < *(int *)&pTab->pNext" (cast_expression "(int)lVar3" ( (type_descriptor "int" primitive_type) ) identifier) < (pointer_expression "*(int *)&pTab->pNext" * (cast_expression "(int *)&pTab->pNext" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pTab->pNext" & (field_expression "pTab->pNext" identifier -> field_identifier))))) )) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined8\nFUN_0012ab00(int *param_1,long *param_2,int param_3,void *param_4,int param_5,void *param_6)\n\n{\n  int iVar1;\n  int iVar2;\n  size_t __n;\n  long lVar3;\n  \n  if (0 < *param_1) {\n    lVar3 = 0;\n    do {\n      while (*(char *)(*param_2 + lVar3) != '\0') {\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if (param_3 == 0) {\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }\n      if (param_5 == 0) {\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < *param_1);\n  }\n  return 1;\n}\n\n" (function_definition "undefined8\nFUN_0012ab00(int *param_1,long *param_2,int param_3,void *param_4,int param_5,void *param_6)\n\n{\n  int iVar1;\n  int iVar2;\n  size_t __n;\n  long lVar3;\n  \n  if (0 < *param_1) {\n    lVar3 = 0;\n    do {\n      while (*(char *)(*param_2 + lVar3) != '\0') {\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if (param_3 == 0) {\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }\n      if (param_5 == 0) {\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < *param_1);\n  }\n  return 1;\n}" type_identifier (function_declarator "FUN_0012ab00(int *param_1,long *param_2,int param_3,void *param_4,int param_5,void *param_6)" identifier (parameter_list "(int *param_1,long *param_2,int param_3,void *param_4,int param_5,void *param_6)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "void *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "void *param_6" primitive_type (pointer_declarator "*param_6" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  size_t __n;\n  long lVar3;\n  \n  if (0 < *param_1) {\n    lVar3 = 0;\n    do {\n      while (*(char *)(*param_2 + lVar3) != '\0') {\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if (param_3 == 0) {\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }\n      if (param_5 == 0) {\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < *param_1);\n  }\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (0 < *param_1) {\n    lVar3 = 0;\n    do {\n      while (*(char *)(*param_2 + lVar3) != '\0') {\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if (param_3 == 0) {\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }\n      if (param_5 == 0) {\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < *param_1);\n  }" if (parenthesized_expression "(0 < *param_1)" ( (binary_expression "0 < *param_1" number_literal < (pointer_expression "*param_1" * identifier)) )) (compound_statement "{\n    lVar3 = 0;\n    do {\n      while (*(char *)(*param_2 + lVar3) != '\0') {\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if (param_3 == 0) {\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }\n      if (param_5 == 0) {\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < *param_1);\n  }" { (expression_statement "lVar3 = 0;" (assignment_expression "lVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      while (*(char *)(*param_2 + lVar3) != '\0') {\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if (param_3 == 0) {\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }\n      if (param_5 == 0) {\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < *param_1);" do (compound_statement "{\n      while (*(char *)(*param_2 + lVar3) != '\0') {\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if (param_3 == 0) {\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }\n      if (param_5 == 0) {\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    }" { (while_statement "while (*(char *)(*param_2 + lVar3) != '\0') {\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }" while (parenthesized_expression "(*(char *)(*param_2 + lVar3) != '\0')" ( (binary_expression "*(char *)(*param_2 + lVar3) != '\0'" (pointer_expression "*(char *)(*param_2 + lVar3)" * (cast_expression "(char *)(*param_2 + lVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + lVar3)" ( (binary_expression "*param_2 + lVar3" (pointer_expression "*param_2" * identifier) + identifier) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }" { (expression_statement "iVar1 = FUN_00126820(param_4);" (assignment_expression "iVar1 = FUN_00126820(param_4)" identifier = (call_expression "FUN_00126820(param_4)" identifier (argument_list "(param_4)" ( identifier )))) ;) (expression_statement "iVar2 = FUN_00126820(param_6);" (assignment_expression "iVar2 = FUN_00126820(param_6)" identifier = (call_expression "FUN_00126820(param_6)" identifier (argument_list "(param_6)" ( identifier )))) ;) (expression_statement "__n = (size_t)iVar1;" (assignment_expression "__n = (size_t)iVar1" identifier = (cast_expression "(size_t)iVar1" ( (type_descriptor "size_t" primitive_type) ) identifier)) ;) (if_statement "if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }" if (parenthesized_expression "((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0))" ( (binary_expression "(iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)" (parenthesized_expression "(iVar1 != iVar2)" ( (binary_expression "iVar1 != iVar2" identifier != identifier) )) || (parenthesized_expression "(iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)" ( (comma_expression "iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0" (assignment_expression "iVar1 = memcmp(param_4,param_6,__n)" identifier = (call_expression "memcmp(param_4,param_6,__n)" identifier (argument_list "(param_4,param_6,__n)" ( identifier , identifier , identifier )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "lVar3 = lVar3 + 1;" (assignment_expression "lVar3 = lVar3 + 1" identifier = (binary_expression "lVar3 + 1" identifier + number_literal)) ;) (expression_statement "param_4 = (void *)((long)param_4 + __n);" (assignment_expression "param_4 = (void *)((long)param_4 + __n)" identifier = (cast_expression "(void *)((long)param_4 + __n)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_4 + __n)" ( (binary_expression "(long)param_4 + __n" (cast_expression "(long)param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) ;) (expression_statement "param_6 = (void *)((long)param_6 + __n);" (assignment_expression "param_6 = (void *)((long)param_6 + __n)" identifier = (cast_expression "(void *)((long)param_6 + __n)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_6 + __n)" ( (binary_expression "(long)param_6 + __n" (cast_expression "(long)param_6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) ;) (if_statement "if (*param_1 <= (int)lVar3) {\n          return 1;\n        }" if (parenthesized_expression "(*param_1 <= (int)lVar3)" ( (binary_expression "*param_1 <= (int)lVar3" (pointer_expression "*param_1" * identifier) <= (cast_expression "(int)lVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) })) (if_statement "if (param_3 == 0) {\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }" { (expression_statement "iVar1 = FUN_00126820(param_4);" (assignment_expression "iVar1 = FUN_00126820(param_4)" identifier = (call_expression "FUN_00126820(param_4)" identifier (argument_list "(param_4)" ( identifier )))) ;) (expression_statement "param_4 = (void *)((long)param_4 + (long)iVar1);" (assignment_expression "param_4 = (void *)((long)param_4 + (long)iVar1)" identifier = (cast_expression "(void *)((long)param_4 + (long)iVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_4 + (long)iVar1)" ( (binary_expression "(long)param_4 + (long)iVar1" (cast_expression "(long)param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(long)iVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) ;) })) (if_statement "if (param_5 == 0) {\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }" { (expression_statement "iVar1 = FUN_00126820(param_6);" (assignment_expression "iVar1 = FUN_00126820(param_6)" identifier = (call_expression "FUN_00126820(param_6)" identifier (argument_list "(param_6)" ( identifier )))) ;) (expression_statement "param_6 = (void *)((long)param_6 + (long)iVar1);" (assignment_expression "param_6 = (void *)((long)param_6 + (long)iVar1)" identifier = (cast_expression "(void *)((long)param_6 + (long)iVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_6 + (long)iVar1)" ( (binary_expression "(long)param_6 + (long)iVar1" (cast_expression "(long)param_6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(long)iVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) ;) })) (expression_statement "lVar3 = lVar3 + 1;" (assignment_expression "lVar3 = lVar3 + 1" identifier = (binary_expression "lVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int)lVar3 < *param_1)" ( (binary_expression "(int)lVar3 < *param_1" (cast_expression "(int)lVar3" ( (type_descriptor "int" primitive_type) ) identifier) < (pointer_expression "*param_1" * identifier)) )) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) <= (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (return_statement return LIT ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (pointer_expression * IDENT)) )) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined8\nFUN_0012ab00(int *param_1,long *param_2,int param_3,void *param_4,int param_5,void *param_6)\n\n{\n  int iVar1;\n  int iVar2;\n  size_t __n;\n  long lVar3;\n  \n  if (0 < *param_1) {\n    lVar3 = 0;\n    do {\n      while (*(char *)(*param_2 + lVar3) != '\0') {\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if (param_3 == 0) {\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }\n      if (param_5 == 0) {\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < *param_1);\n  }\n  return 1;\n}" (type_identifier "undefined8") (function_declarator "FUN_0012ab00(int *param_1,long *param_2,int param_3,void *param_4,int param_5,void *param_6)" (identifier "FUN_0012ab00") (parameter_list "(int *param_1,long *param_2,int param_3,void *param_4,int param_5,void *param_6)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long *param_2" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "void *param_4" (primitive_type "void") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) (, ",") (parameter_declaration "void *param_6" (primitive_type "void") (pointer_declarator "*param_6" (* "*") (identifier "param_6"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  size_t __n;\n  long lVar3;\n  \n  if (0 < *param_1) {\n    lVar3 = 0;\n    do {\n      while (*(char *)(*param_2 + lVar3) != '\0') {\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if (param_3 == 0) {\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }\n      if (param_5 == 0) {\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < *param_1);\n  }\n  return 1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (if_statement "if (0 < *param_1) {\n    lVar3 = 0;\n    do {\n      while (*(char *)(*param_2 + lVar3) != '\0') {\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if (param_3 == 0) {\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }\n      if (param_5 == 0) {\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < *param_1);\n  }" (if "if") (parenthesized_expression "(0 < *param_1)" (( "(") (binary_expression "0 < *param_1" (number_literal "0") (< "<") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")")) (compound_statement "{\n    lVar3 = 0;\n    do {\n      while (*(char *)(*param_2 + lVar3) != '\0') {\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if (param_3 == 0) {\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }\n      if (param_5 == 0) {\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < *param_1);\n  }" ({ "{") (expression_statement "lVar3 = 0;" (assignment_expression "lVar3 = 0" (identifier "lVar3") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      while (*(char *)(*param_2 + lVar3) != '\0') {\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if (param_3 == 0) {\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }\n      if (param_5 == 0) {\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < *param_1);" (do "do") (compound_statement "{\n      while (*(char *)(*param_2 + lVar3) != '\0') {\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }\n      if (param_3 == 0) {\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }\n      if (param_5 == 0) {\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }\n      lVar3 = lVar3 + 1;\n    }" ({ "{") (while_statement "while (*(char *)(*param_2 + lVar3) != '\0') {\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }" (while "while") (parenthesized_expression "(*(char *)(*param_2 + lVar3) != '\0')" (( "(") (binary_expression "*(char *)(*param_2 + lVar3) != '\0'" (pointer_expression "*(char *)(*param_2 + lVar3)" (* "*") (cast_expression "(char *)(*param_2 + lVar3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_2 + lVar3)" (( "(") (binary_expression "*param_2 + lVar3" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (identifier "lVar3")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        iVar1 = FUN_00126820(param_4);\n        iVar2 = FUN_00126820(param_6);\n        __n = (size_t)iVar1;\n        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }\n        lVar3 = lVar3 + 1;\n        param_4 = (void *)((long)param_4 + __n);\n        param_6 = (void *)((long)param_6 + __n);\n        if (*param_1 <= (int)lVar3) {\n          return 1;\n        }\n      }" ({ "{") (expression_statement "iVar1 = FUN_00126820(param_4);" (assignment_expression "iVar1 = FUN_00126820(param_4)" (identifier "iVar1") (= "=") (call_expression "FUN_00126820(param_4)" (identifier "FUN_00126820") (argument_list "(param_4)" (( "(") (identifier "param_4") () ")")))) (; ";")) (expression_statement "iVar2 = FUN_00126820(param_6);" (assignment_expression "iVar2 = FUN_00126820(param_6)" (identifier "iVar2") (= "=") (call_expression "FUN_00126820(param_6)" (identifier "FUN_00126820") (argument_list "(param_6)" (( "(") (identifier "param_6") () ")")))) (; ";")) (expression_statement "__n = (size_t)iVar1;" (assignment_expression "__n = (size_t)iVar1" (identifier "__n") (= "=") (cast_expression "(size_t)iVar1" (( "(") (type_descriptor "size_t" (primitive_type "size_t")) () ")") (identifier "iVar1"))) (; ";")) (if_statement "if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {\n          return 0;\n        }" (if "if") (parenthesized_expression "((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0))" (( "(") (binary_expression "(iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)" (parenthesized_expression "(iVar1 != iVar2)" (( "(") (binary_expression "iVar1 != iVar2" (identifier "iVar1") (!= "!=") (identifier "iVar2")) () ")")) (|| "||") (parenthesized_expression "(iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)" (( "(") (comma_expression "iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0" (assignment_expression "iVar1 = memcmp(param_4,param_6,__n)" (identifier "iVar1") (= "=") (call_expression "memcmp(param_4,param_6,__n)" (identifier "memcmp") (argument_list "(param_4,param_6,__n)" (( "(") (identifier "param_4") (, ",") (identifier "param_6") (, ",") (identifier "__n") () ")")))) (, ",") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n          return 0;\n        }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "lVar3 = lVar3 + 1;" (assignment_expression "lVar3 = lVar3 + 1" (identifier "lVar3") (= "=") (binary_expression "lVar3 + 1" (identifier "lVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_4 = (void *)((long)param_4 + __n);" (assignment_expression "param_4 = (void *)((long)param_4 + __n)" (identifier "param_4") (= "=") (cast_expression "(void *)((long)param_4 + __n)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_4 + __n)" (( "(") (binary_expression "(long)param_4 + __n" (cast_expression "(long)param_4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_4")) (+ "+") (identifier "__n")) () ")")))) (; ";")) (expression_statement "param_6 = (void *)((long)param_6 + __n);" (assignment_expression "param_6 = (void *)((long)param_6 + __n)" (identifier "param_6") (= "=") (cast_expression "(void *)((long)param_6 + __n)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_6 + __n)" (( "(") (binary_expression "(long)param_6 + __n" (cast_expression "(long)param_6" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_6")) (+ "+") (identifier "__n")) () ")")))) (; ";")) (if_statement "if (*param_1 <= (int)lVar3) {\n          return 1;\n        }" (if "if") (parenthesized_expression "(*param_1 <= (int)lVar3)" (( "(") (binary_expression "*param_1 <= (int)lVar3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (<= "<=") (cast_expression "(int)lVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar3"))) () ")")) (compound_statement "{\n          return 1;\n        }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}"))) (if_statement "if (param_3 == 0) {\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar1 = FUN_00126820(param_4);\n        param_4 = (void *)((long)param_4 + (long)iVar1);\n      }" ({ "{") (expression_statement "iVar1 = FUN_00126820(param_4);" (assignment_expression "iVar1 = FUN_00126820(param_4)" (identifier "iVar1") (= "=") (call_expression "FUN_00126820(param_4)" (identifier "FUN_00126820") (argument_list "(param_4)" (( "(") (identifier "param_4") () ")")))) (; ";")) (expression_statement "param_4 = (void *)((long)param_4 + (long)iVar1);" (assignment_expression "param_4 = (void *)((long)param_4 + (long)iVar1)" (identifier "param_4") (= "=") (cast_expression "(void *)((long)param_4 + (long)iVar1)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_4 + (long)iVar1)" (( "(") (binary_expression "(long)param_4 + (long)iVar1" (cast_expression "(long)param_4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_4")) (+ "+") (cast_expression "(long)iVar1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar1"))) () ")")))) (; ";")) (} "}"))) (if_statement "if (param_5 == 0) {\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }" (if "if") (parenthesized_expression "(param_5 == 0)" (( "(") (binary_expression "param_5 == 0" (identifier "param_5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar1 = FUN_00126820(param_6);\n        param_6 = (void *)((long)param_6 + (long)iVar1);\n      }" ({ "{") (expression_statement "iVar1 = FUN_00126820(param_6);" (assignment_expression "iVar1 = FUN_00126820(param_6)" (identifier "iVar1") (= "=") (call_expression "FUN_00126820(param_6)" (identifier "FUN_00126820") (argument_list "(param_6)" (( "(") (identifier "param_6") () ")")))) (; ";")) (expression_statement "param_6 = (void *)((long)param_6 + (long)iVar1);" (assignment_expression "param_6 = (void *)((long)param_6 + (long)iVar1)" (identifier "param_6") (= "=") (cast_expression "(void *)((long)param_6 + (long)iVar1)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_6 + (long)iVar1)" (( "(") (binary_expression "(long)param_6 + (long)iVar1" (cast_expression "(long)param_6" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_6")) (+ "+") (cast_expression "(long)iVar1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar1"))) () ")")))) (; ";")) (} "}"))) (expression_statement "lVar3 = lVar3 + 1;" (assignment_expression "lVar3 = lVar3 + 1" (identifier "lVar3") (= "=") (binary_expression "lVar3 + 1" (identifier "lVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((int)lVar3 < *param_1)" (( "(") (binary_expression "(int)lVar3 < *param_1" (cast_expression "(int)lVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar3")) (< "<") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")")) (; ";")) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

/* DWARF original prototype: int sessionChangeEqual(SessionTable * pTab, int bLeftPkOnly, u8 *
   aLeft, int bRightPkOnly, u8 * aRight, SessionTable * pTab) */

int function_1(type_1 *pTab,int bLeftPkOnly,type_2 *aLeft,int bRightPkOnly,type_2 *aRight,
                      type_1 *pTab_1)

{
  int var_4;
  int var_5;
  type_3 in_register_0000000c;
  type_2 *var_7;
  type_3 in_register_00000034;
  size_t var_8;
  long var_2;
  
  if (0 < *(int *)&pTab->pNext) {
    var_7 = (type_2 *)var_1(in_register_0000000c,bRightPkOnly);
    var_2 = 0;
    do {
      while (*(char *)(*(long *)var_1(in_register_00000034,bLeftPkOnly) + var_2) != '\0') {
        var_4 = var_3(var_7);
        var_5 = var_3((type_2 *)pTab_1);
        var_8 = (size_t)var_4;
        if ((var_4 != var_5) || (var_4 = var_6(var_7,pTab_1,var_8), var_4 != 0)) {
          return 0;
        }
        var_2 = var_2 + 1;
        var_7 = var_7 + var_8;
        pTab_1 = (type_1 *)((long)&pTab_1->pNext + var_8);
        if (*(int *)&pTab->pNext <= (int)var_2) {
          return 1;
        }
      }
      if ((int)aLeft == 0) {
        var_4 = var_3(var_7);
        var_7 = var_7 + var_4;
      }
      if ((int)aRight == 0) {
        var_4 = var_3((type_2 *)pTab_1);
        pTab_1 = (type_1 *)((long)&pTab_1->pNext + (long)var_4);
      }
      var_2 = var_2 + 1;
    } while ((int)var_2 < *(int *)&pTab->pNext);
  }
  return 1;
}


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

undefined8
MASKED(int *param_1,long *param_2,int param_3,void *param_4,int param_5,void *param_6)

{
  int iVar1;
  int iVar2;
  size_t __n;
  long lVar3;
  
  if (0 < *param_1) {
    lVar3 = 0;
    do {
      while (*(char *)(*param_2 + lVar3) != '\0') {
        iVar1 = FUN_00126820(param_4);
        iVar2 = FUN_00126820(param_6);
        __n = (size_t)iVar1;
        if ((iVar1 != iVar2) || (iVar1 = memcmp(param_4,param_6,__n), iVar1 != 0)) {
          return 0;
        }
        lVar3 = lVar3 + 1;
        param_4 = (void *)((long)param_4 + __n);
        param_6 = (void *)((long)param_6 + __n);
        if (*param_1 <= (int)lVar3) {
          return 1;
        }
      }
      if (param_3 == 0) {
        iVar1 = FUN_00126820(param_4);
        param_4 = (void *)((long)param_4 + (long)iVar1);
      }
      if (param_5 == 0) {
        iVar1 = FUN_00126820(param_6);
        param_6 = (void *)((long)param_6 + (long)iVar1);
      }
      lVar3 = lVar3 + 1;
    } while ((int)lVar3 < *param_1);
  }
  return 1;
}

