
/* DWARF original prototype: void ~Workqueue(Workqueue * this, int __in_chrg) */

void __thiscall gold::Workqueue::~Workqueue(Workqueue *this,int __in_chrg)

{
  Condvar::~Condvar(&this->condvar_,__in_chrg);
  if (((this->tasks_).head_ != (Task *)0x0) || ((this->tasks_).tail_ != (Task *)0x0)) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");
  }
  if (((this->first_tasks_).head_ == (Task *)0x0) && ((this->first_tasks_).tail_ == (Task *)0x0)) {
    Lock::~Lock(&this->lock_,__in_chrg);
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");
}



void FUN_00289510(long param_1)

{
  FUN_0017f2c0(param_1 + 0x30);
  if ((*(long *)(param_1 + 0x18) != 0) || (*(long *)(param_1 + 0x20) != 0)) {
                    /* WARNING: Subroutine does not return */
    FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");
  }
  if ((*(long *)(param_1 + 8) == 0) && (*(long *)(param_1 + 0x10) == 0)) {
    FUN_0017f1d0(param_1);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");
}


PUSH RBX
MOV RBX,RDI
ADD RDI,0x30
CALL 0x0017f2c0
CMP qword ptr [RBX + 0x18],0x0
JNZ 0x00289542
CMP qword ptr [RBX + 0x20],0x0
JNZ 0x00289542
CMP qword ptr [RBX + 0x8],0x0
JNZ 0x0028955a
CMP qword ptr [RBX + 0x10],0x0
JNZ 0x0028955a
MOV RDI,RBX
POP RBX
JMP 0x0017f1d0
LEA RDX,[0x3878c8]
MOV ESI,0x2c
LEA RDI,[0x36b5e5]
CALL 0x0017c650
LEA RDX,[0x3878c8]
MOV ESI,0x2c
LEA RDI,[0x36b5e5]
CALL 0x0017c650
(translation_unit "void FUN_00289510(long param_1)\n\n{\n  FUN_0017f2c0(param_1 + 0x30);\n  if ((*(long *)(param_1 + 0x18) != 0) || (*(long *)(param_1 + 0x20) != 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");\n  }\n  if ((*(long *)(param_1 + 8) == 0) && (*(long *)(param_1 + 0x10) == 0)) {\n    FUN_0017f1d0(param_1);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");\n}\n\n" (function_definition "void FUN_00289510(long param_1)\n\n{\n  FUN_0017f2c0(param_1 + 0x30);\n  if ((*(long *)(param_1 + 0x18) != 0) || (*(long *)(param_1 + 0x20) != 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");\n  }\n  if ((*(long *)(param_1 + 8) == 0) && (*(long *)(param_1 + 0x10) == 0)) {\n    FUN_0017f1d0(param_1);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");\n}" primitive_type (function_declarator "FUN_00289510(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  FUN_0017f2c0(param_1 + 0x30);\n  if ((*(long *)(param_1 + 0x18) != 0) || (*(long *)(param_1 + 0x20) != 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");\n  }\n  if ((*(long *)(param_1 + 8) == 0) && (*(long *)(param_1 + 0x10) == 0)) {\n    FUN_0017f1d0(param_1);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");\n}" { (expression_statement "FUN_0017f2c0(param_1 + 0x30);" (call_expression "FUN_0017f2c0(param_1 + 0x30)" identifier (argument_list "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))) ;) (if_statement "if ((*(long *)(param_1 + 0x18) != 0) || (*(long *)(param_1 + 0x20) != 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");\n  }" if (parenthesized_expression "((*(long *)(param_1 + 0x18) != 0) || (*(long *)(param_1 + 0x20) != 0))" ( (binary_expression "(*(long *)(param_1 + 0x18) != 0) || (*(long *)(param_1 + 0x20) != 0)" (parenthesized_expression "(*(long *)(param_1 + 0x18) != 0)" ( (binary_expression "*(long *)(param_1 + 0x18) != 0" (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) != number_literal) )) || (parenthesized_expression "(*(long *)(param_1 + 0x20) != 0)" ( (binary_expression "*(long *)(param_1 + 0x20) != 0" (pointer_expression "*(long *)(param_1 + 0x20)" * (cast_expression "(long *)(param_1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");\n  }" { comment (expression_statement "FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");" (call_expression "FUN_0017c650("../../gold/token.h",0x2c,"~Task_list")" identifier (argument_list "("../../gold/token.h",0x2c,"~Task_list")" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""~Task_list"" " string_content ") ))) ;) })) (if_statement "if ((*(long *)(param_1 + 8) == 0) && (*(long *)(param_1 + 0x10) == 0)) {\n    FUN_0017f1d0(param_1);\n    return;\n  }" if (parenthesized_expression "((*(long *)(param_1 + 8) == 0) && (*(long *)(param_1 + 0x10) == 0))" ( (binary_expression "(*(long *)(param_1 + 8) == 0) && (*(long *)(param_1 + 0x10) == 0)" (parenthesized_expression "(*(long *)(param_1 + 8) == 0)" ( (binary_expression "*(long *)(param_1 + 8) == 0" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(long *)(param_1 + 0x10) == 0)" ( (binary_expression "*(long *)(param_1 + 0x10) == 0" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n    FUN_0017f1d0(param_1);\n    return;\n  }" { (expression_statement "FUN_0017f1d0(param_1);" (call_expression "FUN_0017f1d0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");" (call_expression "FUN_0017c650("../../gold/token.h",0x2c,"~Task_list")" identifier (argument_list "("../../gold/token.h",0x2c,"~Task_list")" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""~Task_list"" " string_content ") ))) ;) })))
(translation_unit "/* DWARF original prototype: void ~Workqueue(Workqueue * this, int __in_chrg) */\n\nvoid __thiscall gold::Workqueue::~Workqueue(Workqueue *this,int __in_chrg)\n\n{\n  Condvar::~Condvar(&this->condvar_,__in_chrg);\n  if (((this->tasks_).head_ != (Task *)0x0) || ((this->tasks_).tail_ != (Task *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");\n  }\n  if (((this->first_tasks_).head_ == (Task *)0x0) && ((this->first_tasks_).tail_ == (Task *)0x0)) {\n    Lock::~Lock(&this->lock_,__in_chrg);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");\n}\n\n" comment (function_definition "void __thiscall gold::Workqueue::~Workqueue(Workqueue *this,int __in_chrg)\n\n{\n  Condvar::~Condvar(&this->condvar_,__in_chrg);\n  if (((this->tasks_).head_ != (Task *)0x0) || ((this->tasks_).tail_ != (Task *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");\n  }\n  if (((this->first_tasks_).head_ == (Task *)0x0) && ((this->first_tasks_).tail_ == (Task *)0x0)) {\n    Lock::~Lock(&this->lock_,__in_chrg);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Workqueue::~" identifier : : identifier : : ~) (function_declarator "Workqueue(Workqueue *this,int __in_chrg)" identifier (parameter_list "(Workqueue *this,int __in_chrg)" ( (parameter_declaration "Workqueue *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "int __in_chrg" primitive_type identifier) ))) (compound_statement "{\n  Condvar::~Condvar(&this->condvar_,__in_chrg);\n  if (((this->tasks_).head_ != (Task *)0x0) || ((this->tasks_).tail_ != (Task *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");\n  }\n  if (((this->first_tasks_).head_ == (Task *)0x0) && ((this->first_tasks_).tail_ == (Task *)0x0)) {\n    Lock::~Lock(&this->lock_,__in_chrg);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");\n}" { (labeled_statement "Condvar::~Condvar(&this->condvar_,__in_chrg);" statement_identifier : (ERROR ":" :) (expression_statement "~Condvar(&this->condvar_,__in_chrg);" (unary_expression "~Condvar(&this->condvar_,__in_chrg)" ~ (call_expression "Condvar(&this->condvar_,__in_chrg)" identifier (argument_list "(&this->condvar_,__in_chrg)" ( (pointer_expression "&this->condvar_" & (field_expression "this->condvar_" identifier -> field_identifier)) , identifier )))) ;)) (if_statement "if (((this->tasks_).head_ != (Task *)0x0) || ((this->tasks_).tail_ != (Task *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");\n  }" if (parenthesized_expression "(((this->tasks_).head_ != (Task *)0x0) || ((this->tasks_).tail_ != (Task *)0x0))" ( (binary_expression "((this->tasks_).head_ != (Task *)0x0) || ((this->tasks_).tail_ != (Task *)0x0)" (parenthesized_expression "((this->tasks_).head_ != (Task *)0x0)" ( (binary_expression "(this->tasks_).head_ != (Task *)0x0" (field_expression "(this->tasks_).head_" (parenthesized_expression "(this->tasks_)" ( (field_expression "this->tasks_" identifier -> field_identifier) )) . field_identifier) != (cast_expression "(Task *)0x0" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "((this->tasks_).tail_ != (Task *)0x0)" ( (binary_expression "(this->tasks_).tail_ != (Task *)0x0" (field_expression "(this->tasks_).tail_" (parenthesized_expression "(this->tasks_)" ( (field_expression "this->tasks_" identifier -> field_identifier) )) . field_identifier) != (cast_expression "(Task *)0x0" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");" (call_expression "do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list")" identifier (argument_list "("../../gold/token.h",0x2c,"~Task_list")" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""~Task_list"" " string_content ") ))) ;) })) (if_statement "if (((this->first_tasks_).head_ == (Task *)0x0) && ((this->first_tasks_).tail_ == (Task *)0x0)) {\n    Lock::~Lock(&this->lock_,__in_chrg);\n    return;\n  }" if (parenthesized_expression "(((this->first_tasks_).head_ == (Task *)0x0) && ((this->first_tasks_).tail_ == (Task *)0x0))" ( (binary_expression "((this->first_tasks_).head_ == (Task *)0x0) && ((this->first_tasks_).tail_ == (Task *)0x0)" (parenthesized_expression "((this->first_tasks_).head_ == (Task *)0x0)" ( (binary_expression "(this->first_tasks_).head_ == (Task *)0x0" (field_expression "(this->first_tasks_).head_" (parenthesized_expression "(this->first_tasks_)" ( (field_expression "this->first_tasks_" identifier -> field_identifier) )) . field_identifier) == (cast_expression "(Task *)0x0" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((this->first_tasks_).tail_ == (Task *)0x0)" ( (binary_expression "(this->first_tasks_).tail_ == (Task *)0x0" (field_expression "(this->first_tasks_).tail_" (parenthesized_expression "(this->first_tasks_)" ( (field_expression "this->first_tasks_" identifier -> field_identifier) )) . field_identifier) == (cast_expression "(Task *)0x0" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    Lock::~Lock(&this->lock_,__in_chrg);\n    return;\n  }" { (labeled_statement "Lock::~Lock(&this->lock_,__in_chrg);" statement_identifier : (ERROR ":" :) (expression_statement "~Lock(&this->lock_,__in_chrg);" (unary_expression "~Lock(&this->lock_,__in_chrg)" ~ (call_expression "Lock(&this->lock_,__in_chrg)" identifier (argument_list "(&this->lock_,__in_chrg)" ( (pointer_expression "&this->lock_" & (field_expression "this->lock_" identifier -> field_identifier)) , identifier )))) ;)) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");" (call_expression "do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list")" identifier (argument_list "("../../gold/token.h",0x2c,"~Task_list")" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""~Task_list"" " string_content ") ))) ;) })))
(translation_unit "void FUN_00289510(long param_1)\n\n{\n  FUN_0017f2c0(param_1 + 0x30);\n  if ((*(long *)(param_1 + 0x18) != 0) || (*(long *)(param_1 + 0x20) != 0)) {\n                    \n    FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");\n  }\n  if ((*(long *)(param_1 + 8) == 0) && (*(long *)(param_1 + 0x10) == 0)) {\n    FUN_0017f1d0(param_1);\n    return;\n  }\n                    \n  FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");\n}\n\n" (function_definition "void FUN_00289510(long param_1)\n\n{\n  FUN_0017f2c0(param_1 + 0x30);\n  if ((*(long *)(param_1 + 0x18) != 0) || (*(long *)(param_1 + 0x20) != 0)) {\n                    \n    FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");\n  }\n  if ((*(long *)(param_1 + 8) == 0) && (*(long *)(param_1 + 0x10) == 0)) {\n    FUN_0017f1d0(param_1);\n    return;\n  }\n                    \n  FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");\n}" primitive_type (function_declarator "FUN_00289510(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  FUN_0017f2c0(param_1 + 0x30);\n  if ((*(long *)(param_1 + 0x18) != 0) || (*(long *)(param_1 + 0x20) != 0)) {\n                    \n    FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");\n  }\n  if ((*(long *)(param_1 + 8) == 0) && (*(long *)(param_1 + 0x10) == 0)) {\n    FUN_0017f1d0(param_1);\n    return;\n  }\n                    \n  FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");\n}" { (expression_statement "FUN_0017f2c0(param_1 + 0x30);" (call_expression "FUN_0017f2c0(param_1 + 0x30)" identifier (argument_list "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))) ;) (if_statement "if ((*(long *)(param_1 + 0x18) != 0) || (*(long *)(param_1 + 0x20) != 0)) {\n                    \n    FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");\n  }" if (parenthesized_expression "((*(long *)(param_1 + 0x18) != 0) || (*(long *)(param_1 + 0x20) != 0))" ( (binary_expression "(*(long *)(param_1 + 0x18) != 0) || (*(long *)(param_1 + 0x20) != 0)" (parenthesized_expression "(*(long *)(param_1 + 0x18) != 0)" ( (binary_expression "*(long *)(param_1 + 0x18) != 0" (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) != number_literal) )) || (parenthesized_expression "(*(long *)(param_1 + 0x20) != 0)" ( (binary_expression "*(long *)(param_1 + 0x20) != 0" (pointer_expression "*(long *)(param_1 + 0x20)" * (cast_expression "(long *)(param_1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n                    \n    FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");\n  }" { (expression_statement "FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");" (call_expression "FUN_0017c650("../../gold/token.h",0x2c,"~Task_list")" identifier (argument_list "("../../gold/token.h",0x2c,"~Task_list")" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""~Task_list"" " string_content ") ))) ;) })) (if_statement "if ((*(long *)(param_1 + 8) == 0) && (*(long *)(param_1 + 0x10) == 0)) {\n    FUN_0017f1d0(param_1);\n    return;\n  }" if (parenthesized_expression "((*(long *)(param_1 + 8) == 0) && (*(long *)(param_1 + 0x10) == 0))" ( (binary_expression "(*(long *)(param_1 + 8) == 0) && (*(long *)(param_1 + 0x10) == 0)" (parenthesized_expression "(*(long *)(param_1 + 8) == 0)" ( (binary_expression "*(long *)(param_1 + 8) == 0" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(long *)(param_1 + 0x10) == 0)" ( (binary_expression "*(long *)(param_1 + 0x10) == 0" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n    FUN_0017f1d0(param_1);\n    return;\n  }" { (expression_statement "FUN_0017f1d0(param_1);" (call_expression "FUN_0017f1d0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");" (call_expression "FUN_0017c650("../../gold/token.h",0x2c,"~Task_list")" identifier (argument_list "("../../gold/token.h",0x2c,"~Task_list")" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""~Task_list"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "void FUN_00289510(long param_1)\n\n{\n  FUN_0017f2c0(param_1 + 0x30);\n  if ((*(long *)(param_1 + 0x18) != 0) || (*(long *)(param_1 + 0x20) != 0)) {\n                    \n    FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");\n  }\n  if ((*(long *)(param_1 + 8) == 0) && (*(long *)(param_1 + 0x10) == 0)) {\n    FUN_0017f1d0(param_1);\n    return;\n  }\n                    \n  FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");\n}" (primitive_type "void") (function_declarator "FUN_00289510(long param_1)" (identifier "FUN_00289510") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  FUN_0017f2c0(param_1 + 0x30);\n  if ((*(long *)(param_1 + 0x18) != 0) || (*(long *)(param_1 + 0x20) != 0)) {\n                    \n    FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");\n  }\n  if ((*(long *)(param_1 + 8) == 0) && (*(long *)(param_1 + 0x10) == 0)) {\n    FUN_0017f1d0(param_1);\n    return;\n  }\n                    \n  FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");\n}" ({ "{") (expression_statement "FUN_0017f2c0(param_1 + 0x30);" (call_expression "FUN_0017f2c0(param_1 + 0x30)" (identifier "FUN_0017f2c0") (argument_list "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")"))) (; ";")) (if_statement "if ((*(long *)(param_1 + 0x18) != 0) || (*(long *)(param_1 + 0x20) != 0)) {\n                    \n    FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");\n  }" (if "if") (parenthesized_expression "((*(long *)(param_1 + 0x18) != 0) || (*(long *)(param_1 + 0x20) != 0))" (( "(") (binary_expression "(*(long *)(param_1 + 0x18) != 0) || (*(long *)(param_1 + 0x20) != 0)" (parenthesized_expression "(*(long *)(param_1 + 0x18) != 0)" (( "(") (binary_expression "*(long *)(param_1 + 0x18) != 0" (pointer_expression "*(long *)(param_1 + 0x18)" (* "*") (cast_expression "(long *)(param_1 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(long *)(param_1 + 0x20) != 0)" (( "(") (binary_expression "*(long *)(param_1 + 0x20) != 0" (pointer_expression "*(long *)(param_1 + 0x20)" (* "*") (cast_expression "(long *)(param_1 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n                    \n    FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");\n  }" ({ "{") (expression_statement "FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");" (call_expression "FUN_0017c650("../../gold/token.h",0x2c,"~Task_list")" (identifier "FUN_0017c650") (argument_list "("../../gold/token.h",0x2c,"~Task_list")" (( "(") (string_literal ""../../gold/token.h"" (" """) (string_content "../../gold/token.h") (" """)) (, ",") (number_literal "0x2c") (, ",") (string_literal ""~Task_list"" (" """) (string_content "~Task_list") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if ((*(long *)(param_1 + 8) == 0) && (*(long *)(param_1 + 0x10) == 0)) {\n    FUN_0017f1d0(param_1);\n    return;\n  }" (if "if") (parenthesized_expression "((*(long *)(param_1 + 8) == 0) && (*(long *)(param_1 + 0x10) == 0))" (( "(") (binary_expression "(*(long *)(param_1 + 8) == 0) && (*(long *)(param_1 + 0x10) == 0)" (parenthesized_expression "(*(long *)(param_1 + 8) == 0)" (( "(") (binary_expression "*(long *)(param_1 + 8) == 0" (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(long *)(param_1 + 0x10) == 0)" (( "(") (binary_expression "*(long *)(param_1 + 0x10) == 0" (pointer_expression "*(long *)(param_1 + 0x10)" (* "*") (cast_expression "(long *)(param_1 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    FUN_0017f1d0(param_1);\n    return;\n  }" ({ "{") (expression_statement "FUN_0017f1d0(param_1);" (call_expression "FUN_0017f1d0(param_1)" (identifier "FUN_0017f1d0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");" (call_expression "FUN_0017c650("../../gold/token.h",0x2c,"~Task_list")" (identifier "FUN_0017c650") (argument_list "("../../gold/token.h",0x2c,"~Task_list")" (( "(") (string_literal ""../../gold/token.h"" (" """) (string_content "../../gold/token.h") (" """)) (, ",") (number_literal "0x2c") (, ",") (string_literal ""~Task_list"" (" """) (string_content "~Task_list") (" """)) () ")"))) (; ";")) (} "}")))

/* DWARF original prototype: void ~Workqueue(Workqueue * this, int __in_chrg) */

void __thiscall gold::function_1::~function_1(function_1 *this,int __in_chrg)

{
  Condvar::~var_1(&this->condvar_,__in_chrg);
  if (((this->tasks_).head_ != (type_1 *)0x0) || ((this->tasks_).tail_ != (type_1 *)0x0)) {
                    /* WARNING: Subroutine does not return */
    var_2("../../gold/token.h",0x2c,"~Task_list");
  }
  if (((this->first_tasks_).head_ == (type_1 *)0x0) && ((this->first_tasks_).tail_ == (type_1 *)0x0)) {
    Lock::~var_3(&this->lock_,__in_chrg);
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_2("../../gold/token.h",0x2c,"~Task_list");
}


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

void MASKED(long param_1)

{
  FUN_0017f2c0(param_1 + 0x30);
  if ((*(long *)(param_1 + 0x18) != 0) || (*(long *)(param_1 + 0x20) != 0)) {
                    /* WARNING: Subroutine does not return */
    FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");
  }
  if ((*(long *)(param_1 + 8) == 0) && (*(long *)(param_1 + 0x10) == 0)) {
    FUN_0017f1d0(param_1);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0017c650("../../gold/token.h",0x2c,"~Task_list");
}

