
/* DWARF original prototype: uint64_t uint_attribute(Dwarf_die * this, uint attr) */

uint64_t __thiscall gold::Dwarf_die::uint_attribute(Dwarf_die *this,uint attr)

{
  Attribute_value *pAVar1;
  uint64_t uVar2;
  
  pAVar1 = attribute(this,attr);
  if (pAVar1 != (Attribute_value *)0x0) {
    uVar2 = 0;
    if ((pAVar1->form < 0x21) &&
       (uVar2 = 1L << ((byte)pAVar1->form & 0x3f) & 0x1020098c0, uVar2 != 0)) {
      uVar2 = (pAVar1->val).intval;
    }
    return uVar2;
  }
  return 0;
}



ulong FUN_001616c0(void)

{
  long lVar1;
  ulong uVar2;
  
  lVar1 = FUN_001615d0();
  if (lVar1 != 0) {
    uVar2 = 0;
    if ((*(uint *)(lVar1 + 4) < 0x21) &&
       (uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0)) {
      uVar2 = *(ulong *)(lVar1 + 8);
    }
    return uVar2;
  }
  return 0;
}


SUB RSP,0x8
CALL 0x001615d0
TEST RAX,RAX
JZ 0x00161700
MOV ECX,dword ptr [RAX + 0x4]
XOR EDX,EDX
CMP ECX,0x20
JA 0x001616f3
MOV EDX,0x1
SHL RDX,CL
MOV RCX,0x1020098c0
AND RDX,RCX
JZ 0x001616f3
MOV RDX,qword ptr [RAX + 0x8]
MOV RAX,RDX
ADD RSP,0x8
RET
XOR EDX,EDX
ADD RSP,0x8
MOV RAX,RDX
RET
(translation_unit "ulong FUN_001616c0(void)\n\n{\n  long lVar1;\n  ulong uVar2;\n  \n  lVar1 = FUN_001615d0();\n  if (lVar1 != 0) {\n    uVar2 = 0;\n    if ((*(uint *)(lVar1 + 4) < 0x21) &&\n       (uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0)) {\n      uVar2 = *(ulong *)(lVar1 + 8);\n    }\n    return uVar2;\n  }\n  return 0;\n}\n\n" (function_definition "ulong FUN_001616c0(void)\n\n{\n  long lVar1;\n  ulong uVar2;\n  \n  lVar1 = FUN_001615d0();\n  if (lVar1 != 0) {\n    uVar2 = 0;\n    if ((*(uint *)(lVar1 + 4) < 0x21) &&\n       (uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0)) {\n      uVar2 = *(ulong *)(lVar1 + 8);\n    }\n    return uVar2;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_001616c0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  long lVar1;\n  ulong uVar2;\n  \n  lVar1 = FUN_001615d0();\n  if (lVar1 != 0) {\n    uVar2 = 0;\n    if ((*(uint *)(lVar1 + 4) < 0x21) &&\n       (uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0)) {\n      uVar2 = *(ulong *)(lVar1 + 8);\n    }\n    return uVar2;\n  }\n  return 0;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (expression_statement "lVar1 = FUN_001615d0();" (assignment_expression "lVar1 = FUN_001615d0()" identifier = (call_expression "FUN_001615d0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (lVar1 != 0) {\n    uVar2 = 0;\n    if ((*(uint *)(lVar1 + 4) < 0x21) &&\n       (uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0)) {\n      uVar2 = *(ulong *)(lVar1 + 8);\n    }\n    return uVar2;\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = 0;\n    if ((*(uint *)(lVar1 + 4) < 0x21) &&\n       (uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0)) {\n      uVar2 = *(ulong *)(lVar1 + 8);\n    }\n    return uVar2;\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if ((*(uint *)(lVar1 + 4) < 0x21) &&\n       (uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0)) {\n      uVar2 = *(ulong *)(lVar1 + 8);\n    }" if (parenthesized_expression "((*(uint *)(lVar1 + 4) < 0x21) &&\n       (uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0))" ( (binary_expression "(*(uint *)(lVar1 + 4) < 0x21) &&\n       (uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0)" (parenthesized_expression "(*(uint *)(lVar1 + 4) < 0x21)" ( (binary_expression "*(uint *)(lVar1 + 4) < 0x21" (pointer_expression "*(uint *)(lVar1 + 4)" * (cast_expression "(uint *)(lVar1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 4)" ( (binary_expression "lVar1 + 4" identifier + number_literal) )))) < number_literal) )) && (parenthesized_expression "(uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0)" ( (comma_expression "uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0" (assignment_expression "uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0" identifier = (binary_expression "1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0" (binary_expression "1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f)" number_literal << (parenthesized_expression "((byte)*(uint *)(lVar1 + 4) & 0x3f)" ( (binary_expression "(byte)*(uint *)(lVar1 + 4) & 0x3f" (binary_expression "(byte)*(uint *)(lVar1 + 4)" (parenthesized_expression "(byte)" ( identifier )) * (cast_expression "(uint *)(lVar1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 4)" ( (binary_expression "lVar1 + 4" identifier + number_literal) )))) & number_literal) ))) & number_literal)) , (binary_expression "uVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      uVar2 = *(ulong *)(lVar1 + 8);\n    }" { (expression_statement "uVar2 = *(ulong *)(lVar1 + 8);" (assignment_expression "uVar2 = *(ulong *)(lVar1 + 8)" identifier = (pointer_expression "*(ulong *)(lVar1 + 8)" * (cast_expression "(ulong *)(lVar1 + 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 8)" ( (binary_expression "lVar1 + 8" identifier + number_literal) ))))) ;) })) (return_statement "return uVar2;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* DWARF original prototype: uint64_t uint_attribute(Dwarf_die * this, uint attr) */\n\nuint64_t __thiscall gold::Dwarf_die::uint_attribute(Dwarf_die *this,uint attr)\n\n{\n  Attribute_value *pAVar1;\n  uint64_t uVar2;\n  \n  pAVar1 = attribute(this,attr);\n  if (pAVar1 != (Attribute_value *)0x0) {\n    uVar2 = 0;\n    if ((pAVar1->form < 0x21) &&\n       (uVar2 = 1L << ((byte)pAVar1->form & 0x3f) & 0x1020098c0, uVar2 != 0)) {\n      uVar2 = (pAVar1->val).intval;\n    }\n    return uVar2;\n  }\n  return 0;\n}\n\n" comment (function_definition "uint64_t __thiscall gold::Dwarf_die::uint_attribute(Dwarf_die *this,uint attr)\n\n{\n  Attribute_value *pAVar1;\n  uint64_t uVar2;\n  \n  pAVar1 = attribute(this,attr);\n  if (pAVar1 != (Attribute_value *)0x0) {\n    uVar2 = 0;\n    if ((pAVar1->form < 0x21) &&\n       (uVar2 = 1L << ((byte)pAVar1->form & 0x3f) & 0x1020098c0, uVar2 != 0)) {\n      uVar2 = (pAVar1->val).intval;\n    }\n    return uVar2;\n  }\n  return 0;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Dwarf_die::" identifier : : identifier : :) (function_declarator "uint_attribute(Dwarf_die *this,uint attr)" identifier (parameter_list "(Dwarf_die *this,uint attr)" ( (parameter_declaration "Dwarf_die *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint attr" type_identifier identifier) ))) (compound_statement "{\n  Attribute_value *pAVar1;\n  uint64_t uVar2;\n  \n  pAVar1 = attribute(this,attr);\n  if (pAVar1 != (Attribute_value *)0x0) {\n    uVar2 = 0;\n    if ((pAVar1->form < 0x21) &&\n       (uVar2 = 1L << ((byte)pAVar1->form & 0x3f) & 0x1020098c0, uVar2 != 0)) {\n      uVar2 = (pAVar1->val).intval;\n    }\n    return uVar2;\n  }\n  return 0;\n}" { (declaration "Attribute_value *pAVar1;" type_identifier (pointer_declarator "*pAVar1" * identifier) ;) (declaration "uint64_t uVar2;" primitive_type identifier ;) (expression_statement "pAVar1 = attribute(this,attr);" (assignment_expression "pAVar1 = attribute(this,attr)" identifier = (call_expression "attribute(this,attr)" identifier (argument_list "(this,attr)" ( identifier , identifier )))) ;) (if_statement "if (pAVar1 != (Attribute_value *)0x0) {\n    uVar2 = 0;\n    if ((pAVar1->form < 0x21) &&\n       (uVar2 = 1L << ((byte)pAVar1->form & 0x3f) & 0x1020098c0, uVar2 != 0)) {\n      uVar2 = (pAVar1->val).intval;\n    }\n    return uVar2;\n  }" if (parenthesized_expression "(pAVar1 != (Attribute_value *)0x0)" ( (binary_expression "pAVar1 != (Attribute_value *)0x0" identifier != (cast_expression "(Attribute_value *)0x0" ( (type_descriptor "Attribute_value *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar2 = 0;\n    if ((pAVar1->form < 0x21) &&\n       (uVar2 = 1L << ((byte)pAVar1->form & 0x3f) & 0x1020098c0, uVar2 != 0)) {\n      uVar2 = (pAVar1->val).intval;\n    }\n    return uVar2;\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if ((pAVar1->form < 0x21) &&\n       (uVar2 = 1L << ((byte)pAVar1->form & 0x3f) & 0x1020098c0, uVar2 != 0)) {\n      uVar2 = (pAVar1->val).intval;\n    }" if (parenthesized_expression "((pAVar1->form < 0x21) &&\n       (uVar2 = 1L << ((byte)pAVar1->form & 0x3f) & 0x1020098c0, uVar2 != 0))" ( (binary_expression "(pAVar1->form < 0x21) &&\n       (uVar2 = 1L << ((byte)pAVar1->form & 0x3f) & 0x1020098c0, uVar2 != 0)" (parenthesized_expression "(pAVar1->form < 0x21)" ( (binary_expression "pAVar1->form < 0x21" (field_expression "pAVar1->form" identifier -> field_identifier) < number_literal) )) && (parenthesized_expression "(uVar2 = 1L << ((byte)pAVar1->form & 0x3f) & 0x1020098c0, uVar2 != 0)" ( (comma_expression "uVar2 = 1L << ((byte)pAVar1->form & 0x3f) & 0x1020098c0, uVar2 != 0" (assignment_expression "uVar2 = 1L << ((byte)pAVar1->form & 0x3f) & 0x1020098c0" identifier = (binary_expression "1L << ((byte)pAVar1->form & 0x3f) & 0x1020098c0" (binary_expression "1L << ((byte)pAVar1->form & 0x3f)" number_literal << (parenthesized_expression "((byte)pAVar1->form & 0x3f)" ( (binary_expression "(byte)pAVar1->form & 0x3f" (cast_expression "(byte)pAVar1->form" ( (type_descriptor "byte" type_identifier) ) (field_expression "pAVar1->form" identifier -> field_identifier)) & number_literal) ))) & number_literal)) , (binary_expression "uVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      uVar2 = (pAVar1->val).intval;\n    }" { (expression_statement "uVar2 = (pAVar1->val).intval;" (assignment_expression "uVar2 = (pAVar1->val).intval" identifier = (field_expression "(pAVar1->val).intval" (parenthesized_expression "(pAVar1->val)" ( (field_expression "pAVar1->val" identifier -> field_identifier) )) . field_identifier)) ;) })) (return_statement "return uVar2;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "ulong FUN_001616c0(void)\n\n{\n  long lVar1;\n  ulong uVar2;\n  \n  lVar1 = FUN_001615d0();\n  if (lVar1 != 0) {\n    uVar2 = 0;\n    if ((*(uint *)(lVar1 + 4) < 0x21) &&\n       (uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0)) {\n      uVar2 = *(ulong *)(lVar1 + 8);\n    }\n    return uVar2;\n  }\n  return 0;\n}\n\n" (function_definition "ulong FUN_001616c0(void)\n\n{\n  long lVar1;\n  ulong uVar2;\n  \n  lVar1 = FUN_001615d0();\n  if (lVar1 != 0) {\n    uVar2 = 0;\n    if ((*(uint *)(lVar1 + 4) < 0x21) &&\n       (uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0)) {\n      uVar2 = *(ulong *)(lVar1 + 8);\n    }\n    return uVar2;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_001616c0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  long lVar1;\n  ulong uVar2;\n  \n  lVar1 = FUN_001615d0();\n  if (lVar1 != 0) {\n    uVar2 = 0;\n    if ((*(uint *)(lVar1 + 4) < 0x21) &&\n       (uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0)) {\n      uVar2 = *(ulong *)(lVar1 + 8);\n    }\n    return uVar2;\n  }\n  return 0;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (expression_statement "lVar1 = FUN_001615d0();" (assignment_expression "lVar1 = FUN_001615d0()" identifier = (call_expression "FUN_001615d0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (lVar1 != 0) {\n    uVar2 = 0;\n    if ((*(uint *)(lVar1 + 4) < 0x21) &&\n       (uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0)) {\n      uVar2 = *(ulong *)(lVar1 + 8);\n    }\n    return uVar2;\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = 0;\n    if ((*(uint *)(lVar1 + 4) < 0x21) &&\n       (uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0)) {\n      uVar2 = *(ulong *)(lVar1 + 8);\n    }\n    return uVar2;\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if ((*(uint *)(lVar1 + 4) < 0x21) &&\n       (uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0)) {\n      uVar2 = *(ulong *)(lVar1 + 8);\n    }" if (parenthesized_expression "((*(uint *)(lVar1 + 4) < 0x21) &&\n       (uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0))" ( (binary_expression "(*(uint *)(lVar1 + 4) < 0x21) &&\n       (uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0)" (parenthesized_expression "(*(uint *)(lVar1 + 4) < 0x21)" ( (binary_expression "*(uint *)(lVar1 + 4) < 0x21" (pointer_expression "*(uint *)(lVar1 + 4)" * (cast_expression "(uint *)(lVar1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 4)" ( (binary_expression "lVar1 + 4" identifier + number_literal) )))) < number_literal) )) && (parenthesized_expression "(uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0)" ( (comma_expression "uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0" (assignment_expression "uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0" identifier = (binary_expression "1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0" (binary_expression "1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f)" number_literal << (parenthesized_expression "((byte)*(uint *)(lVar1 + 4) & 0x3f)" ( (binary_expression "(byte)*(uint *)(lVar1 + 4) & 0x3f" (binary_expression "(byte)*(uint *)(lVar1 + 4)" (parenthesized_expression "(byte)" ( identifier )) * (cast_expression "(uint *)(lVar1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 4)" ( (binary_expression "lVar1 + 4" identifier + number_literal) )))) & number_literal) ))) & number_literal)) , (binary_expression "uVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      uVar2 = *(ulong *)(lVar1 + 8);\n    }" { (expression_statement "uVar2 = *(ulong *)(lVar1 + 8);" (assignment_expression "uVar2 = *(ulong *)(lVar1 + 8)" identifier = (pointer_expression "*(ulong *)(lVar1 + 8)" * (cast_expression "(ulong *)(lVar1 + 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 8)" ( (binary_expression "lVar1 + 8" identifier + number_literal) ))))) ;) })) (return_statement "return uVar2;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (binary_expression LIT << (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) ))) & LIT)) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "ulong FUN_001616c0(void)\n\n{\n  long lVar1;\n  ulong uVar2;\n  \n  lVar1 = FUN_001615d0();\n  if (lVar1 != 0) {\n    uVar2 = 0;\n    if ((*(uint *)(lVar1 + 4) < 0x21) &&\n       (uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0)) {\n      uVar2 = *(ulong *)(lVar1 + 8);\n    }\n    return uVar2;\n  }\n  return 0;\n}" (type_identifier "ulong") (function_declarator "FUN_001616c0(void)" (identifier "FUN_001616c0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  long lVar1;\n  ulong uVar2;\n  \n  lVar1 = FUN_001615d0();\n  if (lVar1 != 0) {\n    uVar2 = 0;\n    if ((*(uint *)(lVar1 + 4) < 0x21) &&\n       (uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0)) {\n      uVar2 = *(ulong *)(lVar1 + 8);\n    }\n    return uVar2;\n  }\n  return 0;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "ulong uVar2;" (type_identifier "ulong") (identifier "uVar2") (; ";")) (expression_statement "lVar1 = FUN_001615d0();" (assignment_expression "lVar1 = FUN_001615d0()" (identifier "lVar1") (= "=") (call_expression "FUN_001615d0()" (identifier "FUN_001615d0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (lVar1 != 0) {\n    uVar2 = 0;\n    if ((*(uint *)(lVar1 + 4) < 0x21) &&\n       (uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0)) {\n      uVar2 = *(ulong *)(lVar1 + 8);\n    }\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(lVar1 != 0)" (( "(") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = 0;\n    if ((*(uint *)(lVar1 + 4) < 0x21) &&\n       (uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0)) {\n      uVar2 = *(ulong *)(lVar1 + 8);\n    }\n    return uVar2;\n  }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((*(uint *)(lVar1 + 4) < 0x21) &&\n       (uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0)) {\n      uVar2 = *(ulong *)(lVar1 + 8);\n    }" (if "if") (parenthesized_expression "((*(uint *)(lVar1 + 4) < 0x21) &&\n       (uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0))" (( "(") (binary_expression "(*(uint *)(lVar1 + 4) < 0x21) &&\n       (uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0)" (parenthesized_expression "(*(uint *)(lVar1 + 4) < 0x21)" (( "(") (binary_expression "*(uint *)(lVar1 + 4) < 0x21" (pointer_expression "*(uint *)(lVar1 + 4)" (* "*") (cast_expression "(uint *)(lVar1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 4)" (( "(") (binary_expression "lVar1 + 4" (identifier "lVar1") (+ "+") (number_literal "4")) () ")")))) (< "<") (number_literal "0x21")) () ")")) (&& "&&") (parenthesized_expression "(uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0)" (( "(") (comma_expression "uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0" (assignment_expression "uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0" (identifier "uVar2") (= "=") (binary_expression "1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0" (binary_expression "1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f)" (number_literal "1L") (<< "<<") (parenthesized_expression "((byte)*(uint *)(lVar1 + 4) & 0x3f)" (( "(") (binary_expression "(byte)*(uint *)(lVar1 + 4) & 0x3f" (binary_expression "(byte)*(uint *)(lVar1 + 4)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (* "*") (cast_expression "(uint *)(lVar1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 4)" (( "(") (binary_expression "lVar1 + 4" (identifier "lVar1") (+ "+") (number_literal "4")) () ")")))) (& "&") (number_literal "0x3f")) () ")"))) (& "&") (number_literal "0x1020098c0"))) (, ",") (binary_expression "uVar2 != 0" (identifier "uVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      uVar2 = *(ulong *)(lVar1 + 8);\n    }" ({ "{") (expression_statement "uVar2 = *(ulong *)(lVar1 + 8);" (assignment_expression "uVar2 = *(ulong *)(lVar1 + 8)" (identifier "uVar2") (= "=") (pointer_expression "*(ulong *)(lVar1 + 8)" (* "*") (cast_expression "(ulong *)(lVar1 + 8)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 8)" (( "(") (binary_expression "lVar1 + 8" (identifier "lVar1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}"))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* DWARF original prototype: uint64_t uint_attribute(Dwarf_die * this, uint attr) */

uint64_t __thiscall gold::type_1::function_1(type_1 *this,type_2 attr)

{
  type_3 *var_2;
  uint64_t var_3;
  
  var_2 = var_1(this,attr);
  if (var_2 != (type_3 *)0x0) {
    var_3 = 0;
    if ((var_2->form < 0x21) &&
       (var_3 = 1L << ((type_4)var_2->form & 0x3f) & 0x1020098c0, var_3 != 0)) {
      var_3 = (var_2->val).intval;
    }
    return var_3;
  }
  return 0;
}


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

ulong MASKED(void)

{
  long lVar1;
  ulong uVar2;
  
  lVar1 = FUN_001615d0();
  if (lVar1 != 0) {
    uVar2 = 0;
    if ((*(uint *)(lVar1 + 4) < 0x21) &&
       (uVar2 = 1L << ((byte)*(uint *)(lVar1 + 4) & 0x3f) & 0x1020098c0, uVar2 != 0)) {
      uVar2 = *(ulong *)(lVar1 + 8);
    }
    return uVar2;
  }
  return 0;
}

