
/* WARNING: Unknown calling convention */

Elf_Word gold::Layout::section_flags_to_segment(Elf_Xword flags)

{
  uint uVar1;
  
  uVar1 = (-(uint)((flags & 1) == 0) & 0xfffffffe) + 6;
  if ((flags & 4) != 0) {
    uVar1 = uVar1 | 1;
  }
  return uVar1;
}



uint FUN_0007b810(uint param_1)

{
  uint uVar1;
  
  uVar1 = (-(uint)((param_1 & 1) == 0) & 0xfffffffe) + 6;
  if ((param_1 & 4) != 0) {
    uVar1 = uVar1 | 1;
  }
  return uVar1;
}


MOV EDX,dword ptr [ESP + 0x4]
MOV EAX,EDX
AND EAX,0x1
CMP EAX,0x1
SBB EAX,EAX
AND EAX,0xfffffffe
ADD EAX,0x6
MOV ECX,EAX
OR ECX,0x1
AND EDX,0x4
CMOVNZ EAX,ECX
RET
(translation_unit "uint FUN_0007b810(uint param_1)\n\n{\n  uint uVar1;\n  \n  uVar1 = (-(uint)((param_1 & 1) == 0) & 0xfffffffe) + 6;\n  if ((param_1 & 4) != 0) {\n    uVar1 = uVar1 | 1;\n  }\n  return uVar1;\n}\n\n" (function_definition "uint FUN_0007b810(uint param_1)\n\n{\n  uint uVar1;\n  \n  uVar1 = (-(uint)((param_1 & 1) == 0) & 0xfffffffe) + 6;\n  if ((param_1 & 4) != 0) {\n    uVar1 = uVar1 | 1;\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0007b810(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = (-(uint)((param_1 & 1) == 0) & 0xfffffffe) + 6;\n  if ((param_1 & 4) != 0) {\n    uVar1 = uVar1 | 1;\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = (-(uint)((param_1 & 1) == 0) & 0xfffffffe) + 6;" (assignment_expression "uVar1 = (-(uint)((param_1 & 1) == 0) & 0xfffffffe) + 6" identifier = (binary_expression "(-(uint)((param_1 & 1) == 0) & 0xfffffffe) + 6" (parenthesized_expression "(-(uint)((param_1 & 1) == 0) & 0xfffffffe)" ( (binary_expression "-(uint)((param_1 & 1) == 0) & 0xfffffffe" (unary_expression "-(uint)((param_1 & 1) == 0)" - (call_expression "(uint)((param_1 & 1) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((param_1 & 1) == 0)" ( (binary_expression "(param_1 & 1) == 0" (parenthesized_expression "(param_1 & 1)" ( (binary_expression "param_1 & 1" identifier & number_literal) )) == number_literal) )))) & number_literal) )) + number_literal)) ;) (if_statement "if ((param_1 & 4) != 0) {\n    uVar1 = uVar1 | 1;\n  }" if (parenthesized_expression "((param_1 & 4) != 0)" ( (binary_expression "(param_1 & 4) != 0" (parenthesized_expression "(param_1 & 4)" ( (binary_expression "param_1 & 4" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar1 = uVar1 | 1;\n  }" { (expression_statement "uVar1 = uVar1 | 1;" (assignment_expression "uVar1 = uVar1 | 1" identifier = (binary_expression "uVar1 | 1" identifier | number_literal)) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nElf_Word gold::Layout::section_flags_to_segment(Elf_Xword flags)\n\n{\n  uint uVar1;\n  \n  uVar1 = (-(uint)((flags & 1) == 0) & 0xfffffffe) + 6;\n  if ((flags & 4) != 0) {\n    uVar1 = uVar1 | 1;\n  }\n  return uVar1;\n}\n\n" comment (function_definition "Elf_Word gold::Layout::section_flags_to_segment(Elf_Xword flags)\n\n{\n  uint uVar1;\n  \n  uVar1 = (-(uint)((flags & 1) == 0) & 0xfffffffe) + 6;\n  if ((flags & 4) != 0) {\n    uVar1 = uVar1 | 1;\n  }\n  return uVar1;\n}" type_identifier (ERROR "gold::Layout::" identifier : : identifier : :) (function_declarator "section_flags_to_segment(Elf_Xword flags)" identifier (parameter_list "(Elf_Xword flags)" ( (parameter_declaration "Elf_Xword flags" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = (-(uint)((flags & 1) == 0) & 0xfffffffe) + 6;\n  if ((flags & 4) != 0) {\n    uVar1 = uVar1 | 1;\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = (-(uint)((flags & 1) == 0) & 0xfffffffe) + 6;" (assignment_expression "uVar1 = (-(uint)((flags & 1) == 0) & 0xfffffffe) + 6" identifier = (binary_expression "(-(uint)((flags & 1) == 0) & 0xfffffffe) + 6" (parenthesized_expression "(-(uint)((flags & 1) == 0) & 0xfffffffe)" ( (binary_expression "-(uint)((flags & 1) == 0) & 0xfffffffe" (unary_expression "-(uint)((flags & 1) == 0)" - (call_expression "(uint)((flags & 1) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((flags & 1) == 0)" ( (binary_expression "(flags & 1) == 0" (parenthesized_expression "(flags & 1)" ( (binary_expression "flags & 1" identifier & number_literal) )) == number_literal) )))) & number_literal) )) + number_literal)) ;) (if_statement "if ((flags & 4) != 0) {\n    uVar1 = uVar1 | 1;\n  }" if (parenthesized_expression "((flags & 4) != 0)" ( (binary_expression "(flags & 4) != 0" (parenthesized_expression "(flags & 4)" ( (binary_expression "flags & 4" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar1 = uVar1 | 1;\n  }" { (expression_statement "uVar1 = uVar1 | 1;" (assignment_expression "uVar1 = uVar1 | 1" identifier = (binary_expression "uVar1 | 1" identifier | number_literal)) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "uint FUN_0007b810(uint param_1)\n\n{\n  uint uVar1;\n  \n  uVar1 = (-(uint)((param_1 & 1) == 0) & 0xfffffffe) + 6;\n  if ((param_1 & 4) != 0) {\n    uVar1 = uVar1 | 1;\n  }\n  return uVar1;\n}\n\n" (function_definition "uint FUN_0007b810(uint param_1)\n\n{\n  uint uVar1;\n  \n  uVar1 = (-(uint)((param_1 & 1) == 0) & 0xfffffffe) + 6;\n  if ((param_1 & 4) != 0) {\n    uVar1 = uVar1 | 1;\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0007b810(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = (-(uint)((param_1 & 1) == 0) & 0xfffffffe) + 6;\n  if ((param_1 & 4) != 0) {\n    uVar1 = uVar1 | 1;\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = (-(uint)((param_1 & 1) == 0) & 0xfffffffe) + 6;" (assignment_expression "uVar1 = (-(uint)((param_1 & 1) == 0) & 0xfffffffe) + 6" identifier = (binary_expression "(-(uint)((param_1 & 1) == 0) & 0xfffffffe) + 6" (parenthesized_expression "(-(uint)((param_1 & 1) == 0) & 0xfffffffe)" ( (binary_expression "-(uint)((param_1 & 1) == 0) & 0xfffffffe" (unary_expression "-(uint)((param_1 & 1) == 0)" - (call_expression "(uint)((param_1 & 1) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((param_1 & 1) == 0)" ( (binary_expression "(param_1 & 1) == 0" (parenthesized_expression "(param_1 & 1)" ( (binary_expression "param_1 & 1" identifier & number_literal) )) == number_literal) )))) & number_literal) )) + number_literal)) ;) (if_statement "if ((param_1 & 4) != 0) {\n    uVar1 = uVar1 | 1;\n  }" if (parenthesized_expression "((param_1 & 4) != 0)" ( (binary_expression "(param_1 & 4) != 0" (parenthesized_expression "(param_1 & 4)" ( (binary_expression "param_1 & 4" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar1 = uVar1 | 1;\n  }" { (expression_statement "uVar1 = uVar1 | 1;" (assignment_expression "uVar1 = uVar1 | 1" identifier = (binary_expression "uVar1 | 1" identifier | number_literal)) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )))) & LIT) )) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) })) (return_statement return IDENT ;) })))
(function_definition "uint FUN_0007b810(uint param_1)\n\n{\n  uint uVar1;\n  \n  uVar1 = (-(uint)((param_1 & 1) == 0) & 0xfffffffe) + 6;\n  if ((param_1 & 4) != 0) {\n    uVar1 = uVar1 | 1;\n  }\n  return uVar1;\n}" (type_identifier "uint") (function_declarator "FUN_0007b810(uint param_1)" (identifier "FUN_0007b810") (parameter_list "(uint param_1)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = (-(uint)((param_1 & 1) == 0) & 0xfffffffe) + 6;\n  if ((param_1 & 4) != 0) {\n    uVar1 = uVar1 | 1;\n  }\n  return uVar1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = (-(uint)((param_1 & 1) == 0) & 0xfffffffe) + 6;" (assignment_expression "uVar1 = (-(uint)((param_1 & 1) == 0) & 0xfffffffe) + 6" (identifier "uVar1") (= "=") (binary_expression "(-(uint)((param_1 & 1) == 0) & 0xfffffffe) + 6" (parenthesized_expression "(-(uint)((param_1 & 1) == 0) & 0xfffffffe)" (( "(") (binary_expression "-(uint)((param_1 & 1) == 0) & 0xfffffffe" (unary_expression "-(uint)((param_1 & 1) == 0)" (- "-") (call_expression "(uint)((param_1 & 1) == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((param_1 & 1) == 0)" (( "(") (binary_expression "(param_1 & 1) == 0" (parenthesized_expression "(param_1 & 1)" (( "(") (binary_expression "param_1 & 1" (identifier "param_1") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")))) (& "&") (number_literal "0xfffffffe")) () ")")) (+ "+") (number_literal "6"))) (; ";")) (if_statement "if ((param_1 & 4) != 0) {\n    uVar1 = uVar1 | 1;\n  }" (if "if") (parenthesized_expression "((param_1 & 4) != 0)" (( "(") (binary_expression "(param_1 & 4) != 0" (parenthesized_expression "(param_1 & 4)" (( "(") (binary_expression "param_1 & 4" (identifier "param_1") (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = uVar1 | 1;\n  }" ({ "{") (expression_statement "uVar1 = uVar1 | 1;" (assignment_expression "uVar1 = uVar1 | 1" (identifier "uVar1") (= "=") (binary_expression "uVar1 | 1" (identifier "uVar1") (| "|") (number_literal "1"))) (; ";")) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

type_1 gold::Layout::function_1(type_2 var_1)

{
  type_3 var_2;
  
  var_2 = (-(type_3)((var_1 & 1) == 0) & 0xfffffffe) + 6;
  if ((var_1 & 4) != 0) {
    var_2 = var_2 | 1;
  }
  return var_2;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))) right: (number_literal))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))))

uint MASKED(uint param_1)

{
  uint uVar1;
  
  uVar1 = (-(uint)((param_1 & 1) == 0) & 0xfffffffe) + 6;
  if ((param_1 & 4) != 0) {
    uVar1 = uVar1 | 1;
  }
  return uVar1;
}

