
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void RandomComponentTerminus(void)

{
  if (random_semaphore == (SemaphoreInfo *)0x0) {
    ActivateSemaphoreInfo(&random_semaphore);
  }
  RelinquishSemaphoreInfo(&random_semaphore);
  return;
}



void FUN_002a24f1(void)

{
  if (DAT_007263d0 == 0) {
    ActivateSemaphoreInfo(&DAT_007263d0);
  }
  RelinquishSemaphoreInfo(&DAT_007263d0);
  return;
}


SUB RSP,0x8
CMP qword ptr [0x007263d0],0x0
JZ 0x002a2510
LEA RDI,[0x7263d0]
CALL 0x00149bb0
ADD RSP,0x8
RET
LEA RDI,[0x7263d0]
CALL 0x0014b000
JMP 0x002a24ff
(translation_unit "void FUN_002a24f1(void)\n\n{\n  if (DAT_007263d0 == 0) {\n    ActivateSemaphoreInfo(&DAT_007263d0);\n  }\n  RelinquishSemaphoreInfo(&DAT_007263d0);\n  return;\n}\n\n" (function_definition "void FUN_002a24f1(void)\n\n{\n  if (DAT_007263d0 == 0) {\n    ActivateSemaphoreInfo(&DAT_007263d0);\n  }\n  RelinquishSemaphoreInfo(&DAT_007263d0);\n  return;\n}" primitive_type (function_declarator "FUN_002a24f1(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (DAT_007263d0 == 0) {\n    ActivateSemaphoreInfo(&DAT_007263d0);\n  }\n  RelinquishSemaphoreInfo(&DAT_007263d0);\n  return;\n}" { (if_statement "if (DAT_007263d0 == 0) {\n    ActivateSemaphoreInfo(&DAT_007263d0);\n  }" if (parenthesized_expression "(DAT_007263d0 == 0)" ( (binary_expression "DAT_007263d0 == 0" identifier == number_literal) )) (compound_statement "{\n    ActivateSemaphoreInfo(&DAT_007263d0);\n  }" { (expression_statement "ActivateSemaphoreInfo(&DAT_007263d0);" (call_expression "ActivateSemaphoreInfo(&DAT_007263d0)" identifier (argument_list "(&DAT_007263d0)" ( (pointer_expression "&DAT_007263d0" & identifier) ))) ;) })) (expression_statement "RelinquishSemaphoreInfo(&DAT_007263d0);" (call_expression "RelinquishSemaphoreInfo(&DAT_007263d0)" identifier (argument_list "(&DAT_007263d0)" ( (pointer_expression "&DAT_007263d0" & identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid RandomComponentTerminus(void)\n\n{\n  if (random_semaphore == (SemaphoreInfo *)0x0) {\n    ActivateSemaphoreInfo(&random_semaphore);\n  }\n  RelinquishSemaphoreInfo(&random_semaphore);\n  return;\n}\n\n" comment (function_definition "void RandomComponentTerminus(void)\n\n{\n  if (random_semaphore == (SemaphoreInfo *)0x0) {\n    ActivateSemaphoreInfo(&random_semaphore);\n  }\n  RelinquishSemaphoreInfo(&random_semaphore);\n  return;\n}" primitive_type (function_declarator "RandomComponentTerminus(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (random_semaphore == (SemaphoreInfo *)0x0) {\n    ActivateSemaphoreInfo(&random_semaphore);\n  }\n  RelinquishSemaphoreInfo(&random_semaphore);\n  return;\n}" { (if_statement "if (random_semaphore == (SemaphoreInfo *)0x0) {\n    ActivateSemaphoreInfo(&random_semaphore);\n  }" if (parenthesized_expression "(random_semaphore == (SemaphoreInfo *)0x0)" ( (binary_expression "random_semaphore == (SemaphoreInfo *)0x0" identifier == (cast_expression "(SemaphoreInfo *)0x0" ( (type_descriptor "SemaphoreInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    ActivateSemaphoreInfo(&random_semaphore);\n  }" { (expression_statement "ActivateSemaphoreInfo(&random_semaphore);" (call_expression "ActivateSemaphoreInfo(&random_semaphore)" identifier (argument_list "(&random_semaphore)" ( (pointer_expression "&random_semaphore" & identifier) ))) ;) })) (expression_statement "RelinquishSemaphoreInfo(&random_semaphore);" (call_expression "RelinquishSemaphoreInfo(&random_semaphore)" identifier (argument_list "(&random_semaphore)" ( (pointer_expression "&random_semaphore" & identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002a24f1(void)\n\n{\n  if (DAT_007263d0 == 0) {\n    ActivateSemaphoreInfo(&DAT_007263d0);\n  }\n  RelinquishSemaphoreInfo(&DAT_007263d0);\n  return;\n}\n\n" (function_definition "void FUN_002a24f1(void)\n\n{\n  if (DAT_007263d0 == 0) {\n    ActivateSemaphoreInfo(&DAT_007263d0);\n  }\n  RelinquishSemaphoreInfo(&DAT_007263d0);\n  return;\n}" primitive_type (function_declarator "FUN_002a24f1(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (DAT_007263d0 == 0) {\n    ActivateSemaphoreInfo(&DAT_007263d0);\n  }\n  RelinquishSemaphoreInfo(&DAT_007263d0);\n  return;\n}" { (if_statement "if (DAT_007263d0 == 0) {\n    ActivateSemaphoreInfo(&DAT_007263d0);\n  }" if (parenthesized_expression "(DAT_007263d0 == 0)" ( (binary_expression "DAT_007263d0 == 0" identifier == number_literal) )) (compound_statement "{\n    ActivateSemaphoreInfo(&DAT_007263d0);\n  }" { (expression_statement "ActivateSemaphoreInfo(&DAT_007263d0);" (call_expression "ActivateSemaphoreInfo(&DAT_007263d0)" identifier (argument_list "(&DAT_007263d0)" ( (pointer_expression "&DAT_007263d0" & identifier) ))) ;) })) (expression_statement "RelinquishSemaphoreInfo(&DAT_007263d0);" (call_expression "RelinquishSemaphoreInfo(&DAT_007263d0)" identifier (argument_list "(&DAT_007263d0)" ( (pointer_expression "&DAT_007263d0" & identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_002a24f1(void)\n\n{\n  if (DAT_007263d0 == 0) {\n    ActivateSemaphoreInfo(&DAT_007263d0);\n  }\n  RelinquishSemaphoreInfo(&DAT_007263d0);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002a24f1(void)" (identifier "FUN_002a24f1") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  if (DAT_007263d0 == 0) {\n    ActivateSemaphoreInfo(&DAT_007263d0);\n  }\n  RelinquishSemaphoreInfo(&DAT_007263d0);\n  return;\n}" ({ "{") (if_statement "if (DAT_007263d0 == 0) {\n    ActivateSemaphoreInfo(&DAT_007263d0);\n  }" (if "if") (parenthesized_expression "(DAT_007263d0 == 0)" (( "(") (binary_expression "DAT_007263d0 == 0" (identifier "DAT_007263d0") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    ActivateSemaphoreInfo(&DAT_007263d0);\n  }" ({ "{") (expression_statement "ActivateSemaphoreInfo(&DAT_007263d0);" (call_expression "ActivateSemaphoreInfo(&DAT_007263d0)" (identifier "ActivateSemaphoreInfo") (argument_list "(&DAT_007263d0)" (( "(") (pointer_expression "&DAT_007263d0" (& "&") (identifier "DAT_007263d0")) () ")"))) (; ";")) (} "}"))) (expression_statement "RelinquishSemaphoreInfo(&DAT_007263d0);" (call_expression "RelinquishSemaphoreInfo(&DAT_007263d0)" (identifier "RelinquishSemaphoreInfo") (argument_list "(&DAT_007263d0)" (( "(") (pointer_expression "&DAT_007263d0" (& "&") (identifier "DAT_007263d0")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  if (var_1 == (type_1 *)0x0) {
    var_2(&var_1);
  }
  var_3(&var_1);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) 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 (pointer_expression argument: (identifier))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))) (return_statement))))

void MASKED(void)

{
  if (DAT_007263d0 == 0) {
    ActivateSemaphoreInfo(&DAT_007263d0);
  }
  RelinquishSemaphoreInfo(&DAT_007263d0);
  return;
}

