
void set_join_field(size_t *var,size_t val)

{
  size_t sVar1;
  undefined8 uVar2;
  long lVar3;
  
  sVar1 = *var;
  if ((sVar1 != val) && (sVar1 != 0xffffffffffffffff)) {
    uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);
    lVar3 = 1;
    error(1,0,uVar2,sVar1 + 1,val + 1);
    if (lVar3 != 0) {
      free(*(void **)(lVar3 + 0x28));
      *(undefined8 *)(lVar3 + 0x28) = 0;
      free(*(void **)(lVar3 + 0x10));
      *(undefined8 *)(lVar3 + 0x10) = 0;
      return;
    }
    return;
  }
  *var = val;
  return;
}



void FUN_0010252e(long *param_1,long param_2)

{
  long lVar1;
  undefined8 uVar2;
  long lVar3;
  
  lVar1 = *param_1;
  if ((lVar1 != param_2) && (lVar1 != -1)) {
    uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);
    lVar3 = 1;
    error(1,0,uVar2,lVar1 + 1,param_2 + 1);
    if (lVar3 != 0) {
      free(*(void **)(lVar3 + 0x28));
      *(undefined8 *)(lVar3 + 0x28) = 0;
      free(*(void **)(lVar3 + 0x10));
      *(undefined8 *)(lVar3 + 0x10) = 0;
      return;
    }
    return;
  }
  *param_1 = param_2;
  return;
}


PUSH RBP
PUSH RBX
SUB RSP,0x8
MOV RBX,qword ptr [RDI]
CMP RBX,RSI
JZ 0x00102542
CMP RBX,-0x1
JNZ 0x0010254c
MOV qword ptr [RDI],RSI
ADD RSP,0x8
POP RBX
POP RBP
RET
MOV RBP,RSI
MOV EDX,0x5
LEA RSI,[0x1081f0]
MOV EDI,0x0
CALL 0x001020f0
LEA RCX,[RBX + 0x1]
LEA R8,[RBP + 0x1]
MOV RDX,RAX
MOV ESI,0x0
MOV EDI,0x1
MOV EAX,0x0
CALL 0x001022e0
(translation_unit "void FUN_0010252e(long *param_1,long param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  lVar1 = *param_1;\n  if ((lVar1 != param_2) && (lVar1 != -1)) {\n    uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);\n    lVar3 = 1;\n    error(1,0,uVar2,lVar1 + 1,param_2 + 1);\n    if (lVar3 != 0) {\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }\n    return;\n  }\n  *param_1 = param_2;\n  return;\n}\n\n" (function_definition "void FUN_0010252e(long *param_1,long param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  lVar1 = *param_1;\n  if ((lVar1 != param_2) && (lVar1 != -1)) {\n    uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);\n    lVar3 = 1;\n    error(1,0,uVar2,lVar1 + 1,param_2 + 1);\n    if (lVar3 != 0) {\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }\n    return;\n  }\n  *param_1 = param_2;\n  return;\n}" primitive_type (function_declarator "FUN_0010252e(long *param_1,long param_2)" identifier (parameter_list "(long *param_1,long param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  lVar1 = *param_1;\n  if ((lVar1 != param_2) && (lVar1 != -1)) {\n    uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);\n    lVar3 = 1;\n    error(1,0,uVar2,lVar1 + 1,param_2 + 1);\n    if (lVar3 != 0) {\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }\n    return;\n  }\n  *param_1 = param_2;\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = *param_1;" (assignment_expression "lVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if ((lVar1 != param_2) && (lVar1 != -1)) {\n    uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);\n    lVar3 = 1;\n    error(1,0,uVar2,lVar1 + 1,param_2 + 1);\n    if (lVar3 != 0) {\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }\n    return;\n  }" if (parenthesized_expression "((lVar1 != param_2) && (lVar1 != -1))" ( (binary_expression "(lVar1 != param_2) && (lVar1 != -1)" (parenthesized_expression "(lVar1 != param_2)" ( (binary_expression "lVar1 != param_2" identifier != identifier) )) && (parenthesized_expression "(lVar1 != -1)" ( (binary_expression "lVar1 != -1" identifier != number_literal) ))) )) (compound_statement "{\n    uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);\n    lVar3 = 1;\n    error(1,0,uVar2,lVar1 + 1,param_2 + 1);\n    if (lVar3 != 0) {\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }\n    return;\n  }" { (expression_statement "uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);" (assignment_expression "uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5)" identifier = (call_expression "dcgettext(0,"incompatible join fields %lu, %lu",5)" identifier (argument_list "(0,"incompatible join fields %lu, %lu",5)" ( number_literal , (string_literal ""incompatible join fields %lu, %lu"" " string_content ") , number_literal )))) ;) (expression_statement "lVar3 = 1;" (assignment_expression "lVar3 = 1" identifier = number_literal) ;) (expression_statement "error(1,0,uVar2,lVar1 + 1,param_2 + 1);" (call_expression "error(1,0,uVar2,lVar1 + 1,param_2 + 1)" identifier (argument_list "(1,0,uVar2,lVar1 + 1,param_2 + 1)" ( number_literal , number_literal , identifier , (binary_expression "lVar1 + 1" identifier + number_literal) , (binary_expression "param_2 + 1" identifier + number_literal) ))) ;) (if_statement "if (lVar3 != 0) {\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }" { (expression_statement "free(*(void **)(lVar3 + 0x28));" (call_expression "free(*(void **)(lVar3 + 0x28))" identifier (argument_list "(*(void **)(lVar3 + 0x28))" ( (pointer_expression "*(void **)(lVar3 + 0x28)" * (cast_expression "(void **)(lVar3 + 0x28)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar3 + 0x28)" ( (binary_expression "lVar3 + 0x28" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined8 *)(lVar3 + 0x28) = 0;" (assignment_expression "*(undefined8 *)(lVar3 + 0x28) = 0" (pointer_expression "*(undefined8 *)(lVar3 + 0x28)" * (cast_expression "(undefined8 *)(lVar3 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x28)" ( (binary_expression "lVar3 + 0x28" identifier + number_literal) )))) = number_literal) ;) (expression_statement "free(*(void **)(lVar3 + 0x10));" (call_expression "free(*(void **)(lVar3 + 0x10))" identifier (argument_list "(*(void **)(lVar3 + 0x10))" ( (pointer_expression "*(void **)(lVar3 + 0x10)" * (cast_expression "(void **)(lVar3 + 0x10)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar3 + 0x10)" ( (binary_expression "lVar3 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined8 *)(lVar3 + 0x10) = 0;" (assignment_expression "*(undefined8 *)(lVar3 + 0x10) = 0" (pointer_expression "*(undefined8 *)(lVar3 + 0x10)" * (cast_expression "(undefined8 *)(lVar3 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x10)" ( (binary_expression "lVar3 + 0x10" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void set_join_field(size_t *var,size_t val)\n\n{\n  size_t sVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  sVar1 = *var;\n  if ((sVar1 != val) && (sVar1 != 0xffffffffffffffff)) {\n    uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);\n    lVar3 = 1;\n    error(1,0,uVar2,sVar1 + 1,val + 1);\n    if (lVar3 != 0) {\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }\n    return;\n  }\n  *var = val;\n  return;\n}\n\n" (function_definition "void set_join_field(size_t *var,size_t val)\n\n{\n  size_t sVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  sVar1 = *var;\n  if ((sVar1 != val) && (sVar1 != 0xffffffffffffffff)) {\n    uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);\n    lVar3 = 1;\n    error(1,0,uVar2,sVar1 + 1,val + 1);\n    if (lVar3 != 0) {\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }\n    return;\n  }\n  *var = val;\n  return;\n}" primitive_type (function_declarator "set_join_field(size_t *var,size_t val)" identifier (parameter_list "(size_t *var,size_t val)" ( (parameter_declaration "size_t *var" primitive_type (pointer_declarator "*var" * identifier)) , (parameter_declaration "size_t val" primitive_type identifier) ))) (compound_statement "{\n  size_t sVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  sVar1 = *var;\n  if ((sVar1 != val) && (sVar1 != 0xffffffffffffffff)) {\n    uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);\n    lVar3 = 1;\n    error(1,0,uVar2,sVar1 + 1,val + 1);\n    if (lVar3 != 0) {\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }\n    return;\n  }\n  *var = val;\n  return;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (expression_statement "sVar1 = *var;" (assignment_expression "sVar1 = *var" identifier = (pointer_expression "*var" * identifier)) ;) (if_statement "if ((sVar1 != val) && (sVar1 != 0xffffffffffffffff)) {\n    uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);\n    lVar3 = 1;\n    error(1,0,uVar2,sVar1 + 1,val + 1);\n    if (lVar3 != 0) {\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }\n    return;\n  }" if (parenthesized_expression "((sVar1 != val) && (sVar1 != 0xffffffffffffffff))" ( (binary_expression "(sVar1 != val) && (sVar1 != 0xffffffffffffffff)" (parenthesized_expression "(sVar1 != val)" ( (binary_expression "sVar1 != val" identifier != identifier) )) && (parenthesized_expression "(sVar1 != 0xffffffffffffffff)" ( (binary_expression "sVar1 != 0xffffffffffffffff" identifier != number_literal) ))) )) (compound_statement "{\n    uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);\n    lVar3 = 1;\n    error(1,0,uVar2,sVar1 + 1,val + 1);\n    if (lVar3 != 0) {\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }\n    return;\n  }" { (expression_statement "uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);" (assignment_expression "uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5)" identifier = (call_expression "dcgettext(0,"incompatible join fields %lu, %lu",5)" identifier (argument_list "(0,"incompatible join fields %lu, %lu",5)" ( number_literal , (string_literal ""incompatible join fields %lu, %lu"" " string_content ") , number_literal )))) ;) (expression_statement "lVar3 = 1;" (assignment_expression "lVar3 = 1" identifier = number_literal) ;) (expression_statement "error(1,0,uVar2,sVar1 + 1,val + 1);" (call_expression "error(1,0,uVar2,sVar1 + 1,val + 1)" identifier (argument_list "(1,0,uVar2,sVar1 + 1,val + 1)" ( number_literal , number_literal , identifier , (binary_expression "sVar1 + 1" identifier + number_literal) , (binary_expression "val + 1" identifier + number_literal) ))) ;) (if_statement "if (lVar3 != 0) {\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }" { (expression_statement "free(*(void **)(lVar3 + 0x28));" (call_expression "free(*(void **)(lVar3 + 0x28))" identifier (argument_list "(*(void **)(lVar3 + 0x28))" ( (pointer_expression "*(void **)(lVar3 + 0x28)" * (cast_expression "(void **)(lVar3 + 0x28)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar3 + 0x28)" ( (binary_expression "lVar3 + 0x28" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined8 *)(lVar3 + 0x28) = 0;" (assignment_expression "*(undefined8 *)(lVar3 + 0x28) = 0" (pointer_expression "*(undefined8 *)(lVar3 + 0x28)" * (cast_expression "(undefined8 *)(lVar3 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x28)" ( (binary_expression "lVar3 + 0x28" identifier + number_literal) )))) = number_literal) ;) (expression_statement "free(*(void **)(lVar3 + 0x10));" (call_expression "free(*(void **)(lVar3 + 0x10))" identifier (argument_list "(*(void **)(lVar3 + 0x10))" ( (pointer_expression "*(void **)(lVar3 + 0x10)" * (cast_expression "(void **)(lVar3 + 0x10)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar3 + 0x10)" ( (binary_expression "lVar3 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined8 *)(lVar3 + 0x10) = 0;" (assignment_expression "*(undefined8 *)(lVar3 + 0x10) = 0" (pointer_expression "*(undefined8 *)(lVar3 + 0x10)" * (cast_expression "(undefined8 *)(lVar3 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x10)" ( (binary_expression "lVar3 + 0x10" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })) (expression_statement "*var = val;" (assignment_expression "*var = val" (pointer_expression "*var" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0010252e(long *param_1,long param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  lVar1 = *param_1;\n  if ((lVar1 != param_2) && (lVar1 != -1)) {\n    uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);\n    lVar3 = 1;\n    error(1,0,uVar2,lVar1 + 1,param_2 + 1);\n    if (lVar3 != 0) {\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }\n    return;\n  }\n  *param_1 = param_2;\n  return;\n}\n\n" (function_definition "void FUN_0010252e(long *param_1,long param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  lVar1 = *param_1;\n  if ((lVar1 != param_2) && (lVar1 != -1)) {\n    uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);\n    lVar3 = 1;\n    error(1,0,uVar2,lVar1 + 1,param_2 + 1);\n    if (lVar3 != 0) {\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }\n    return;\n  }\n  *param_1 = param_2;\n  return;\n}" primitive_type (function_declarator "FUN_0010252e(long *param_1,long param_2)" identifier (parameter_list "(long *param_1,long param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  lVar1 = *param_1;\n  if ((lVar1 != param_2) && (lVar1 != -1)) {\n    uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);\n    lVar3 = 1;\n    error(1,0,uVar2,lVar1 + 1,param_2 + 1);\n    if (lVar3 != 0) {\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }\n    return;\n  }\n  *param_1 = param_2;\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = *param_1;" (assignment_expression "lVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if ((lVar1 != param_2) && (lVar1 != -1)) {\n    uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);\n    lVar3 = 1;\n    error(1,0,uVar2,lVar1 + 1,param_2 + 1);\n    if (lVar3 != 0) {\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }\n    return;\n  }" if (parenthesized_expression "((lVar1 != param_2) && (lVar1 != -1))" ( (binary_expression "(lVar1 != param_2) && (lVar1 != -1)" (parenthesized_expression "(lVar1 != param_2)" ( (binary_expression "lVar1 != param_2" identifier != identifier) )) && (parenthesized_expression "(lVar1 != -1)" ( (binary_expression "lVar1 != -1" identifier != number_literal) ))) )) (compound_statement "{\n    uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);\n    lVar3 = 1;\n    error(1,0,uVar2,lVar1 + 1,param_2 + 1);\n    if (lVar3 != 0) {\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }\n    return;\n  }" { (expression_statement "uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);" (assignment_expression "uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5)" identifier = (call_expression "dcgettext(0,"incompatible join fields %lu, %lu",5)" identifier (argument_list "(0,"incompatible join fields %lu, %lu",5)" ( number_literal , (string_literal ""incompatible join fields %lu, %lu"" " string_content ") , number_literal )))) ;) (expression_statement "lVar3 = 1;" (assignment_expression "lVar3 = 1" identifier = number_literal) ;) (expression_statement "error(1,0,uVar2,lVar1 + 1,param_2 + 1);" (call_expression "error(1,0,uVar2,lVar1 + 1,param_2 + 1)" identifier (argument_list "(1,0,uVar2,lVar1 + 1,param_2 + 1)" ( number_literal , number_literal , identifier , (binary_expression "lVar1 + 1" identifier + number_literal) , (binary_expression "param_2 + 1" identifier + number_literal) ))) ;) (if_statement "if (lVar3 != 0) {\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }" { (expression_statement "free(*(void **)(lVar3 + 0x28));" (call_expression "free(*(void **)(lVar3 + 0x28))" identifier (argument_list "(*(void **)(lVar3 + 0x28))" ( (pointer_expression "*(void **)(lVar3 + 0x28)" * (cast_expression "(void **)(lVar3 + 0x28)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar3 + 0x28)" ( (binary_expression "lVar3 + 0x28" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined8 *)(lVar3 + 0x28) = 0;" (assignment_expression "*(undefined8 *)(lVar3 + 0x28) = 0" (pointer_expression "*(undefined8 *)(lVar3 + 0x28)" * (cast_expression "(undefined8 *)(lVar3 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x28)" ( (binary_expression "lVar3 + 0x28" identifier + number_literal) )))) = number_literal) ;) (expression_statement "free(*(void **)(lVar3 + 0x10));" (call_expression "free(*(void **)(lVar3 + 0x10))" identifier (argument_list "(*(void **)(lVar3 + 0x10))" ( (pointer_expression "*(void **)(lVar3 + 0x10)" * (cast_expression "(void **)(lVar3 + 0x10)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar3 + 0x10)" ( (binary_expression "lVar3 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined8 *)(lVar3 + 0x10) = 0;" (assignment_expression "*(undefined8 *)(lVar3 + 0x10) = 0" (pointer_expression "*(undefined8 *)(lVar3 + 0x10)" * (cast_expression "(undefined8 *)(lVar3 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x10)" ( (binary_expression "lVar3 + 0x10" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , LIT , IDENT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })) (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_0010252e(long *param_1,long param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  lVar1 = *param_1;\n  if ((lVar1 != param_2) && (lVar1 != -1)) {\n    uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);\n    lVar3 = 1;\n    error(1,0,uVar2,lVar1 + 1,param_2 + 1);\n    if (lVar3 != 0) {\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }\n    return;\n  }\n  *param_1 = param_2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0010252e(long *param_1,long param_2)" (identifier "FUN_0010252e") (parameter_list "(long *param_1,long param_2)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) () ")"))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  lVar1 = *param_1;\n  if ((lVar1 != param_2) && (lVar1 != -1)) {\n    uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);\n    lVar3 = 1;\n    error(1,0,uVar2,lVar1 + 1,param_2 + 1);\n    if (lVar3 != 0) {\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }\n    return;\n  }\n  *param_1 = param_2;\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (expression_statement "lVar1 = *param_1;" (assignment_expression "lVar1 = *param_1" (identifier "lVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if ((lVar1 != param_2) && (lVar1 != -1)) {\n    uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);\n    lVar3 = 1;\n    error(1,0,uVar2,lVar1 + 1,param_2 + 1);\n    if (lVar3 != 0) {\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }\n    return;\n  }" (if "if") (parenthesized_expression "((lVar1 != param_2) && (lVar1 != -1))" (( "(") (binary_expression "(lVar1 != param_2) && (lVar1 != -1)" (parenthesized_expression "(lVar1 != param_2)" (( "(") (binary_expression "lVar1 != param_2" (identifier "lVar1") (!= "!=") (identifier "param_2")) () ")")) (&& "&&") (parenthesized_expression "(lVar1 != -1)" (( "(") (binary_expression "lVar1 != -1" (identifier "lVar1") (!= "!=") (number_literal "-1")) () ")"))) () ")")) (compound_statement "{\n    uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);\n    lVar3 = 1;\n    error(1,0,uVar2,lVar1 + 1,param_2 + 1);\n    if (lVar3 != 0) {\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }\n    return;\n  }" ({ "{") (expression_statement "uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);" (assignment_expression "uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,"incompatible join fields %lu, %lu",5)" (identifier "dcgettext") (argument_list "(0,"incompatible join fields %lu, %lu",5)" (( "(") (number_literal "0") (, ",") (string_literal ""incompatible join fields %lu, %lu"" (" """) (string_content "incompatible join fields %lu, %lu") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "lVar3 = 1;" (assignment_expression "lVar3 = 1" (identifier "lVar3") (= "=") (number_literal "1")) (; ";")) (expression_statement "error(1,0,uVar2,lVar1 + 1,param_2 + 1);" (call_expression "error(1,0,uVar2,lVar1 + 1,param_2 + 1)" (identifier "error") (argument_list "(1,0,uVar2,lVar1 + 1,param_2 + 1)" (( "(") (number_literal "1") (, ",") (number_literal "0") (, ",") (identifier "uVar2") (, ",") (binary_expression "lVar1 + 1" (identifier "lVar1") (+ "+") (number_literal "1")) (, ",") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) () ")"))) (; ";")) (if_statement "if (lVar3 != 0) {\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }" (if "if") (parenthesized_expression "(lVar3 != 0)" (( "(") (binary_expression "lVar3 != 0" (identifier "lVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      free(*(void **)(lVar3 + 0x28));\n      *(undefined8 *)(lVar3 + 0x28) = 0;\n      free(*(void **)(lVar3 + 0x10));\n      *(undefined8 *)(lVar3 + 0x10) = 0;\n      return;\n    }" ({ "{") (expression_statement "free(*(void **)(lVar3 + 0x28));" (call_expression "free(*(void **)(lVar3 + 0x28))" (identifier "free") (argument_list "(*(void **)(lVar3 + 0x28))" (( "(") (pointer_expression "*(void **)(lVar3 + 0x28)" (* "*") (cast_expression "(void **)(lVar3 + 0x28)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar3 + 0x28)" (( "(") (binary_expression "lVar3 + 0x28" (identifier "lVar3") (+ "+") (number_literal "0x28")) () ")")))) () ")"))) (; ";")) (expression_statement "*(undefined8 *)(lVar3 + 0x28) = 0;" (assignment_expression "*(undefined8 *)(lVar3 + 0x28) = 0" (pointer_expression "*(undefined8 *)(lVar3 + 0x28)" (* "*") (cast_expression "(undefined8 *)(lVar3 + 0x28)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x28)" (( "(") (binary_expression "lVar3 + 0x28" (identifier "lVar3") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "free(*(void **)(lVar3 + 0x10));" (call_expression "free(*(void **)(lVar3 + 0x10))" (identifier "free") (argument_list "(*(void **)(lVar3 + 0x10))" (( "(") (pointer_expression "*(void **)(lVar3 + 0x10)" (* "*") (cast_expression "(void **)(lVar3 + 0x10)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar3 + 0x10)" (( "(") (binary_expression "lVar3 + 0x10" (identifier "lVar3") (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")) (expression_statement "*(undefined8 *)(lVar3 + 0x10) = 0;" (assignment_expression "*(undefined8 *)(lVar3 + 0x10) = 0" (pointer_expression "*(undefined8 *)(lVar3 + 0x10)" (* "*") (cast_expression "(undefined8 *)(lVar3 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x10)" (( "(") (binary_expression "lVar3 + 0x10" (identifier "lVar3") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(size_t *var,size_t var_2)

{
  size_t var_1;
  type_1 uVar2;
  long var_5;
  
  var_1 = *var;
  if ((var_1 != var_2) && (var_1 != 0xffffffffffffffff)) {
    uVar2 = var_3(0,"incompatible join fields %lu, %lu",5);
    var_5 = 1;
    var_4(1,0,uVar2,var_1 + 1,var_2 + 1);
    if (var_5 != 0) {
      var_6(*(void **)(var_5 + 0x28));
      *(type_1 *)(var_5 + 0x28) = 0;
      var_6(*(void **)(var_5 + 0x10));
      *(type_1 *)(var_5 + 0x10) = 0;
      return;
    }
    return;
  }
  *var = var_2;
  return;
}


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

void MASKED(long *param_1,long param_2)

{
  long lVar1;
  undefined8 uVar2;
  long lVar3;
  
  lVar1 = *param_1;
  if ((lVar1 != param_2) && (lVar1 != -1)) {
    uVar2 = dcgettext(0,"incompatible join fields %lu, %lu",5);
    lVar3 = 1;
    error(1,0,uVar2,lVar1 + 1,param_2 + 1);
    if (lVar3 != 0) {
      free(*(void **)(lVar3 + 0x28));
      *(undefined8 *)(lVar3 + 0x28) = 0;
      free(*(void **)(lVar3 + 0x10));
      *(undefined8 *)(lVar3 + 0x10) = 0;
      return;
    }
    return;
  }
  *param_1 = param_2;
  return;
}

