
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int GetDistributeCachePort(DistributeCacheInfo *server_info)

{
  if (server_info == (DistributeCacheInfo *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",
                  0x446,"GetDistributeCachePort");
  }
  if (server_info->signature == 0xabacadab) {
    return server_info->port;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",
                0x447,"GetDistributeCachePort");
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 FUN_00098040(int param_1)

{
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",
                  0x446,"GetDistributeCachePort");
  }
  if (*(int *)(param_1 + 0x1010) == -0x54535255) {
    return *(undefined4 *)(param_1 + 0x1008);
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",
                0x447,"GetDistributeCachePort");
}


PUSH EBX
CALL 0x00039d70
ADD EBX,0x385fba
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
TEST EAX,EAX
JZ 0x0009806e
CMP dword ptr [EAX + 0x1010],0xabacadab
JNZ 0x0009808d
MOV EAX,dword ptr [EAX + 0x1008]
ADD ESP,0x8
POP EBX
RET
LEA EAX,[EBX + 0xffed35e0]
PUSH EAX
LEA EAX,[EBX + 0xffed33d9]
PUSH 0x446
PUSH EAX
LEA EAX,[EBX + 0xffed36e4]
PUSH EAX
CALL 0x000313d0
LEA EAX,[EBX + 0xffed35e0]
PUSH EAX
LEA EAX,[EBX + 0xffed33d9]
PUSH 0x447
PUSH EAX
LEA EAX,[EBX + 0xffed36b4]
PUSH EAX
CALL 0x000313d0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00098040(int param_1)\n\n{\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort");\n  }\n  if (*(int *)(param_1 + 0x1010) == -0x54535255) {\n    return *(undefined4 *)(param_1 + 0x1008);\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",\n                0x447,"GetDistributeCachePort");\n}\n\n" comment (function_definition "undefined4 FUN_00098040(int param_1)\n\n{\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort");\n  }\n  if (*(int *)(param_1 + 0x1010) == -0x54535255) {\n    return *(undefined4 *)(param_1 + 0x1008);\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",\n                0x447,"GetDistributeCachePort");\n}" type_identifier (function_declarator "FUN_00098040(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort");\n  }\n  if (*(int *)(param_1 + 0x1010) == -0x54535255) {\n    return *(undefined4 *)(param_1 + 0x1008);\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",\n                0x447,"GetDistributeCachePort");\n}" { (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort");\n  }" { comment (expression_statement "__assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort");" (call_expression "__assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort")" identifier (argument_list "("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort")" ( (string_literal ""server_info != (DistributeCacheInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/distribute-cache.c"" " string_content ") , number_literal , (string_literal ""GetDistributeCachePort"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x1010) == -0x54535255) {\n    return *(undefined4 *)(param_1 + 0x1008);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x1010) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x1010) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x1010)" * (cast_expression "(int *)(param_1 + 0x1010)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1010)" ( (binary_expression "param_1 + 0x1010" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    return *(undefined4 *)(param_1 + 0x1008);\n  }" { (return_statement "return *(undefined4 *)(param_1 + 0x1008);" return (pointer_expression "*(undefined4 *)(param_1 + 0x1008)" * (cast_expression "(undefined4 *)(param_1 + 0x1008)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1008)" ( (binary_expression "param_1 + 0x1008" identifier + number_literal) )))) ;) })) comment (expression_statement "__assert_fail("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",\n                0x447,"GetDistributeCachePort");" (call_expression "__assert_fail("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",\n                0x447,"GetDistributeCachePort")" identifier (argument_list "("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",\n                0x447,"GetDistributeCachePort")" ( (string_literal ""server_info->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/distribute-cache.c"" " string_content ") , number_literal , (string_literal ""GetDistributeCachePort"" " string_content ") ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint GetDistributeCachePort(DistributeCacheInfo *server_info)\n\n{\n  if (server_info == (DistributeCacheInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort");\n  }\n  if (server_info->signature == 0xabacadab) {\n    return server_info->port;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",\n                0x447,"GetDistributeCachePort");\n}\n\n" comment comment (function_definition "int GetDistributeCachePort(DistributeCacheInfo *server_info)\n\n{\n  if (server_info == (DistributeCacheInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort");\n  }\n  if (server_info->signature == 0xabacadab) {\n    return server_info->port;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",\n                0x447,"GetDistributeCachePort");\n}" primitive_type (function_declarator "GetDistributeCachePort(DistributeCacheInfo *server_info)" identifier (parameter_list "(DistributeCacheInfo *server_info)" ( (parameter_declaration "DistributeCacheInfo *server_info" type_identifier (pointer_declarator "*server_info" * identifier)) ))) (compound_statement "{\n  if (server_info == (DistributeCacheInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort");\n  }\n  if (server_info->signature == 0xabacadab) {\n    return server_info->port;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",\n                0x447,"GetDistributeCachePort");\n}" { (if_statement "if (server_info == (DistributeCacheInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort");\n  }" if (parenthesized_expression "(server_info == (DistributeCacheInfo *)0x0)" ( (binary_expression "server_info == (DistributeCacheInfo *)0x0" identifier == (cast_expression "(DistributeCacheInfo *)0x0" ( (type_descriptor "DistributeCacheInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort");\n  }" { comment (expression_statement "__assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort");" (call_expression "__assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort")" identifier (argument_list "("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort")" ( (string_literal ""server_info != (DistributeCacheInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/distribute-cache.c"" " string_content ") , number_literal , (string_literal ""GetDistributeCachePort"" " string_content ") ))) ;) })) (if_statement "if (server_info->signature == 0xabacadab) {\n    return server_info->port;\n  }" if (parenthesized_expression "(server_info->signature == 0xabacadab)" ( (binary_expression "server_info->signature == 0xabacadab" (field_expression "server_info->signature" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    return server_info->port;\n  }" { (return_statement "return server_info->port;" return (field_expression "server_info->port" identifier -> field_identifier) ;) })) comment (expression_statement "__assert_fail("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",\n                0x447,"GetDistributeCachePort");" (call_expression "__assert_fail("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",\n                0x447,"GetDistributeCachePort")" identifier (argument_list "("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",\n                0x447,"GetDistributeCachePort")" ( (string_literal ""server_info->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/distribute-cache.c"" " string_content ") , number_literal , (string_literal ""GetDistributeCachePort"" " string_content ") ))) ;) })))
(translation_unit "undefined4 FUN_00098040(int param_1)\n\n{\n  if (param_1 == 0) {\n                    \n    __assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort");\n  }\n  if (*(int *)(param_1 + 0x1010) == -0x54535255) {\n    return *(undefined4 *)(param_1 + 0x1008);\n  }\n                    \n  __assert_fail("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",\n                0x447,"GetDistributeCachePort");\n}\n\n" (function_definition "undefined4 FUN_00098040(int param_1)\n\n{\n  if (param_1 == 0) {\n                    \n    __assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort");\n  }\n  if (*(int *)(param_1 + 0x1010) == -0x54535255) {\n    return *(undefined4 *)(param_1 + 0x1008);\n  }\n                    \n  __assert_fail("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",\n                0x447,"GetDistributeCachePort");\n}" type_identifier (function_declarator "FUN_00098040(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (param_1 == 0) {\n                    \n    __assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort");\n  }\n  if (*(int *)(param_1 + 0x1010) == -0x54535255) {\n    return *(undefined4 *)(param_1 + 0x1008);\n  }\n                    \n  __assert_fail("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",\n                0x447,"GetDistributeCachePort");\n}" { (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort");\n  }" { (expression_statement "__assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort");" (call_expression "__assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort")" identifier (argument_list "("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort")" ( (string_literal ""server_info != (DistributeCacheInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/distribute-cache.c"" " string_content ") , number_literal , (string_literal ""GetDistributeCachePort"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x1010) == -0x54535255) {\n    return *(undefined4 *)(param_1 + 0x1008);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x1010) == -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x1010) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x1010)" * (cast_expression "(int *)(param_1 + 0x1010)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1010)" ( (binary_expression "param_1 + 0x1010" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    return *(undefined4 *)(param_1 + 0x1008);\n  }" { (return_statement "return *(undefined4 *)(param_1 + 0x1008);" return (pointer_expression "*(undefined4 *)(param_1 + 0x1008)" * (cast_expression "(undefined4 *)(param_1 + 0x1008)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1008)" ( (binary_expression "param_1 + 0x1008" identifier + number_literal) )))) ;) })) (expression_statement "__assert_fail("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",\n                0x447,"GetDistributeCachePort");" (call_expression "__assert_fail("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",\n                0x447,"GetDistributeCachePort")" identifier (argument_list "("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",\n                0x447,"GetDistributeCachePort")" ( (string_literal ""server_info->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/distribute-cache.c"" " string_content ") , number_literal , (string_literal ""GetDistributeCachePort"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "undefined4 FUN_00098040(int param_1)\n\n{\n  if (param_1 == 0) {\n                    \n    __assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort");\n  }\n  if (*(int *)(param_1 + 0x1010) == -0x54535255) {\n    return *(undefined4 *)(param_1 + 0x1008);\n  }\n                    \n  __assert_fail("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",\n                0x447,"GetDistributeCachePort");\n}" (type_identifier "undefined4") (function_declarator "FUN_00098040(int param_1)" (identifier "FUN_00098040") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  if (param_1 == 0) {\n                    \n    __assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort");\n  }\n  if (*(int *)(param_1 + 0x1010) == -0x54535255) {\n    return *(undefined4 *)(param_1 + 0x1008);\n  }\n                    \n  __assert_fail("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",\n                0x447,"GetDistributeCachePort");\n}" ({ "{") (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort");\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    __assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort");\n  }" ({ "{") (expression_statement "__assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort");" (call_expression "__assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort")" (identifier "__assert_fail") (argument_list "("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",\n                  0x446,"GetDistributeCachePort")" (( "(") (string_literal ""server_info != (DistributeCacheInfo *) NULL"" (" """) (string_content "server_info != (DistributeCacheInfo *) NULL") (" """)) (, ",") (string_literal ""MagickCore/distribute-cache.c"" (" """) (string_content "MagickCore/distribute-cache.c") (" """)) (, ",") (number_literal "0x446") (, ",") (string_literal ""GetDistributeCachePort"" (" """) (string_content "GetDistributeCachePort") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x1010) == -0x54535255) {\n    return *(undefined4 *)(param_1 + 0x1008);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x1010) == -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x1010) == -0x54535255" (pointer_expression "*(int *)(param_1 + 0x1010)" (* "*") (cast_expression "(int *)(param_1 + 0x1010)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1010)" (( "(") (binary_expression "param_1 + 0x1010" (identifier "param_1") (+ "+") (number_literal "0x1010")) () ")")))) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n    return *(undefined4 *)(param_1 + 0x1008);\n  }" ({ "{") (return_statement "return *(undefined4 *)(param_1 + 0x1008);" (return "return") (pointer_expression "*(undefined4 *)(param_1 + 0x1008)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1008)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1008)" (( "(") (binary_expression "param_1 + 0x1008" (identifier "param_1") (+ "+") (number_literal "0x1008")) () ")")))) (; ";")) (} "}"))) (expression_statement "__assert_fail("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",\n                0x447,"GetDistributeCachePort");" (call_expression "__assert_fail("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",\n                0x447,"GetDistributeCachePort")" (identifier "__assert_fail") (argument_list "("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",\n                0x447,"GetDistributeCachePort")" (( "(") (string_literal ""server_info->signature == MagickCoreSignature"" (" """) (string_content "server_info->signature == MagickCoreSignature") (" """)) (, ",") (string_literal ""MagickCore/distribute-cache.c"" (" """) (string_content "MagickCore/distribute-cache.c") (" """)) (, ",") (number_literal "0x447") (, ",") (string_literal ""GetDistributeCachePort"" (" """) (string_content "GetDistributeCachePort") (" """)) () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int function_1(type_1 *var_1)

{
  if (var_1 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",
                  0x446,"GetDistributeCachePort");
  }
  if (var_1->signature == 0xabacadab) {
    return var_1->port;
  }
                    /* WARNING: Subroutine does not return */
  var_2("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",
                0x447,"GetDistributeCachePort");
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 MASKED(int param_1)

{
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("server_info != (DistributeCacheInfo *) NULL","MagickCore/distribute-cache.c",
                  0x446,"GetDistributeCachePort");
  }
  if (*(int *)(param_1 + 0x1010) == -0x54535255) {
    return *(undefined4 *)(param_1 + 0x1008);
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("server_info->signature == MagickCoreSignature","MagickCore/distribute-cache.c",
                0x447,"GetDistributeCachePort");
}

