
/* WARNING: Type propagation algorithm not settling */
/* DWARF original prototype: Task * find_runnable_in_list(Workqueue * this, Task_list * tasks) */

Task * __thiscall gold::Workqueue::find_runnable_in_list(Workqueue *this,Task_list *tasks)

{
  Task *pTVar1;
  size_type sVar2;
  _func_int_varargs **pp_Var3;
  int iVar4;
  _func_int_varargs *p_Var5;
  undefined4 extraout_var;
  Task *pTVar6;
  
  pTVar1 = tasks->head_;
  do {
    if (pTVar1 == (Task *)0x0) {
      return (Task *)0x0;
    }
    pTVar6 = pTVar1->list_next_;
    if (tasks->tail_ == pTVar1) {
      if (pTVar6 != (Task *)0x0) {
                    /* WARNING: Subroutine does not return */
        do_gold_unreachable("../../gold/workqueue.cc",0x53,"pop_front");
      }
      pp_Var3 = pTVar1->_vptr_Task;
      tasks->head_ = (Task *)0x0;
      tasks->tail_ = (Task *)0x0;
      p_Var5 = pp_Var3[2];
      if (p_Var5 == Task_function::is_runnable) goto LAB_00289849;
LAB_002898bd:
      iVar4 = (*p_Var5)(pTVar1);
      pTVar6 = (Task *)CONCAT44(extraout_var,iVar4);
      if (pTVar6 == (Task *)0x0) {
        return pTVar1;
      }
    }
    else {
      tasks->head_ = pTVar6;
      if (pTVar6 == (Task *)0x0) {
                    /* WARNING: Subroutine does not return */
        do_gold_unreachable("../../gold/workqueue.cc",0x5a,"pop_front");
      }
      pTVar1->list_next_ = (Task *)0x0;
      p_Var5 = pTVar1->_vptr_Task[2];
      if (p_Var5 != Task_function::is_runnable) goto LAB_002898bd;
LAB_00289849:
      pTVar6 = pTVar1[1].list_next_;
      if (*(char *)&pTVar6->_vptr_Task == '\0') {
                    /* WARNING: Subroutine does not return */
        do_gold_unreachable("../../gold/token.h",0xab,"is_blocked");
      }
      if (*(int *)((long)&pTVar6->_vptr_Task + 4) < 1) {
        return pTVar1;
      }
    }
    if (pTVar1->list_next_ != (Task *)0x0) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/workqueue.cc",0x29,"push_back");
    }
    if ((pTVar6->name_)._M_dataplus._M_p == (pointer)0x0) {
      (pTVar6->name_)._M_dataplus._M_p = (pointer)pTVar1;
      (pTVar6->name_)._M_string_length = (size_type)pTVar1;
      pTVar1 = tasks->head_;
      this->waiting_ = this->waiting_ + 1;
    }
    else {
      sVar2 = (pTVar6->name_)._M_string_length;
      if (*(long *)(sVar2 + 8) != 0) {
                    /* WARNING: Subroutine does not return */
        do_gold_unreachable("../../gold/workqueue.h",0x5a,"set_list_next");
      }
      *(Task **)(sVar2 + 8) = pTVar1;
      (pTVar6->name_)._M_string_length = (size_type)pTVar1;
      pTVar1 = tasks->head_;
      this->waiting_ = this->waiting_ + 1;
    }
  } while( true );
}



long * FUN_002897d0(long param_1,long *param_2)

{
  long *plVar1;
  long lVar2;
  code *pcVar3;
  char *pcVar4;
  
  plVar1 = (long *)*param_2;
  do {
    if (plVar1 == (long *)0x0) {
      return (long *)0x0;
    }
    lVar2 = plVar1[1];
    if ((long *)param_2[1] == plVar1) {
      if (lVar2 != 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");
      }
      lVar2 = *plVar1;
      *param_2 = 0;
      param_2[1] = 0;
      pcVar3 = *(code **)(lVar2 + 0x10);
      if (pcVar3 == FUN_0017eaf0) goto LAB_00289849;
LAB_002898bd:
      pcVar4 = (char *)(*pcVar3)(plVar1);
      if (pcVar4 == (char *)0x0) {
        return plVar1;
      }
    }
    else {
      *param_2 = lVar2;
      if (lVar2 == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");
      }
      plVar1[1] = 0;
      pcVar3 = *(code **)(*plVar1 + 0x10);
      if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;
LAB_00289849:
      pcVar4 = (char *)plVar1[8];
      if (*pcVar4 == '\0') {
                    /* WARNING: Subroutine does not return */
        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");
      }
      if (*(int *)(pcVar4 + 4) < 1) {
        return plVar1;
      }
    }
    if (plVar1[1] != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back");
    }
    if (*(long *)(pcVar4 + 0x10) == 0) {
      *(long **)(pcVar4 + 0x10) = plVar1;
      *(long **)(pcVar4 + 0x18) = plVar1;
      plVar1 = (long *)*param_2;
      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;
    }
    else {
      if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");
      }
      *(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;
      *(long **)(pcVar4 + 0x18) = plVar1;
      plVar1 = (long *)*param_2;
      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;
    }
  } while( true );
}


PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x8
MOV RBX,qword ptr [RSI]
TEST RBX,RBX
JZ 0x00289882
MOV R12,RDI
MOV RBP,RSI
LEA R13,[0x17eaf0]
JMP 0x0028981e
MOV RDX,qword ptr [RAX + 0x18]
CMP qword ptr [RDX + 0x8],0x0
JNZ 0x0028991d
MOV qword ptr [RDX + 0x8],RBX
MOV qword ptr [RAX + 0x18],RBX
MOV RBX,qword ptr [RBP]
ADD dword ptr [R12 + 0x2c],0x1
TEST RBX,RBX
JZ 0x00289882
MOV RAX,qword ptr [RBX + 0x8]
CMP qword ptr [RBP + 0x8],RBX
JZ 0x00289898
MOV qword ptr [RBP],RAX
TEST RAX,RAX
JZ 0x00289905
MOV RAX,qword ptr [RBX]
MOV qword ptr [RBX + 0x8],0x0
MOV RAX,qword ptr [RAX + 0x10]
CMP RAX,R13
JNZ 0x002898bd
MOV RAX,qword ptr [RBX + 0x40]
CMP byte ptr [RAX],0x0
JZ 0x002898ed
MOV EDX,dword ptr [RAX + 0x4]
TEST EDX,EDX
JLE 0x00289884
CMP qword ptr [RBX + 0x8],0x0
JNZ 0x002898d5
CMP qword ptr [RAX + 0x10],0x0
JNZ 0x002897f8
MOV qword ptr [RAX + 0x10],RBX
MOV qword ptr [RAX + 0x18],RBX
MOV RBX,qword ptr [RBP]
ADD dword ptr [R12 + 0x2c],0x1
TEST RBX,RBX
JNZ 0x0028981e
XOR EBX,EBX
ADD RSP,0x8
MOV RAX,RBX
POP RBX
POP RBP
POP R12
POP R13
RET
TEST RAX,RAX
JNZ 0x00289935
MOV RAX,qword ptr [RBX]
MOV qword ptr [RBP],0x0
MOV qword ptr [RBP + 0x8],0x0
MOV RAX,qword ptr [RAX + 0x10]
CMP RAX,R13
JZ 0x00289849
MOV RDI,RBX
CALL RAX
TEST RAX,RAX
JNZ 0x0028985d
ADD RSP,0x8
MOV RAX,RBX
POP RBX
POP RBP
POP R12
POP R13
RET
LEA RDX,[0x387868]
MOV ESI,0x29
LEA RDI,[0x387770]
CALL 0x0017c650
LEA RDX,[0x387898]
MOV ESI,0xab
LEA RDI,[0x36b5e5]
CALL 0x0017c650
LEA RDX,[0x387858]
MOV ESI,0x5a
LEA RDI,[0x387770]
CALL 0x0017c650
LEA RDX,[0x387878]
MOV ESI,0x5a
LEA RDI,[0x372c32]
CALL 0x0017c650
LEA RDX,[0x387858]
MOV ESI,0x53
LEA RDI,[0x387770]
CALL 0x0017c650
(translation_unit "long * FUN_002897d0(long param_1,long *param_2)\n\n{\n  long *plVar1;\n  long lVar2;\n  code *pcVar3;\n  char *pcVar4;\n  \n  plVar1 = (long *)*param_2;\n  do {\n    if (plVar1 == (long *)0x0) {\n      return (long *)0x0;\n    }\n    lVar2 = plVar1[1];\n    if ((long *)param_2[1] == plVar1) {\n      if (lVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      lVar2 = *plVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(lVar2 + 0x10);\n      if (pcVar3 == FUN_0017eaf0) goto LAB_00289849;\nLAB_002898bd:\n      pcVar4 = (char *)(*pcVar3)(plVar1);\n      if (pcVar4 == (char *)0x0) {\n        return plVar1;\n      }\n    }\n    else {\n      *param_2 = lVar2;\n      if (lVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      plVar1[1] = 0;\n      pcVar3 = *(code **)(*plVar1 + 0x10);\n      if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;\nLAB_00289849:\n      pcVar4 = (char *)plVar1[8];\n      if (*pcVar4 == '\0') {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }\n    }\n    if (plVar1[1] != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(long *)(pcVar4 + 0x10) == 0) {\n      *(long **)(pcVar4 + 0x10) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n    else {\n      if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n  } while( true );\n}\n\n" (function_definition "long * FUN_002897d0(long param_1,long *param_2)\n\n{\n  long *plVar1;\n  long lVar2;\n  code *pcVar3;\n  char *pcVar4;\n  \n  plVar1 = (long *)*param_2;\n  do {\n    if (plVar1 == (long *)0x0) {\n      return (long *)0x0;\n    }\n    lVar2 = plVar1[1];\n    if ((long *)param_2[1] == plVar1) {\n      if (lVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      lVar2 = *plVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(lVar2 + 0x10);\n      if (pcVar3 == FUN_0017eaf0) goto LAB_00289849;\nLAB_002898bd:\n      pcVar4 = (char *)(*pcVar3)(plVar1);\n      if (pcVar4 == (char *)0x0) {\n        return plVar1;\n      }\n    }\n    else {\n      *param_2 = lVar2;\n      if (lVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      plVar1[1] = 0;\n      pcVar3 = *(code **)(*plVar1 + 0x10);\n      if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;\nLAB_00289849:\n      pcVar4 = (char *)plVar1[8];\n      if (*pcVar4 == '\0') {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }\n    }\n    if (plVar1[1] != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(long *)(pcVar4 + 0x10) == 0) {\n      *(long **)(pcVar4 + 0x10) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n    else {\n      if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n  } while( true );\n}" (sized_type_specifier "long" long) (pointer_declarator "* FUN_002897d0(long param_1,long *param_2)" * (function_declarator "FUN_002897d0(long param_1,long *param_2)" identifier (parameter_list "(long param_1,long *param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  long *plVar1;\n  long lVar2;\n  code *pcVar3;\n  char *pcVar4;\n  \n  plVar1 = (long *)*param_2;\n  do {\n    if (plVar1 == (long *)0x0) {\n      return (long *)0x0;\n    }\n    lVar2 = plVar1[1];\n    if ((long *)param_2[1] == plVar1) {\n      if (lVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      lVar2 = *plVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(lVar2 + 0x10);\n      if (pcVar3 == FUN_0017eaf0) goto LAB_00289849;\nLAB_002898bd:\n      pcVar4 = (char *)(*pcVar3)(plVar1);\n      if (pcVar4 == (char *)0x0) {\n        return plVar1;\n      }\n    }\n    else {\n      *param_2 = lVar2;\n      if (lVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      plVar1[1] = 0;\n      pcVar3 = *(code **)(*plVar1 + 0x10);\n      if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;\nLAB_00289849:\n      pcVar4 = (char *)plVar1[8];\n      if (*pcVar4 == '\0') {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }\n    }\n    if (plVar1[1] != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(long *)(pcVar4 + 0x10) == 0) {\n      *(long **)(pcVar4 + 0x10) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n    else {\n      if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n  } while( true );\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "plVar1 = (long *)*param_2;" (assignment_expression "plVar1 = (long *)*param_2" identifier = (cast_expression "(long *)*param_2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (do_statement "do {\n    if (plVar1 == (long *)0x0) {\n      return (long *)0x0;\n    }\n    lVar2 = plVar1[1];\n    if ((long *)param_2[1] == plVar1) {\n      if (lVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      lVar2 = *plVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(lVar2 + 0x10);\n      if (pcVar3 == FUN_0017eaf0) goto LAB_00289849;\nLAB_002898bd:\n      pcVar4 = (char *)(*pcVar3)(plVar1);\n      if (pcVar4 == (char *)0x0) {\n        return plVar1;\n      }\n    }\n    else {\n      *param_2 = lVar2;\n      if (lVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      plVar1[1] = 0;\n      pcVar3 = *(code **)(*plVar1 + 0x10);\n      if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;\nLAB_00289849:\n      pcVar4 = (char *)plVar1[8];\n      if (*pcVar4 == '\0') {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }\n    }\n    if (plVar1[1] != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(long *)(pcVar4 + 0x10) == 0) {\n      *(long **)(pcVar4 + 0x10) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n    else {\n      if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n  } while( true );" do (compound_statement "{\n    if (plVar1 == (long *)0x0) {\n      return (long *)0x0;\n    }\n    lVar2 = plVar1[1];\n    if ((long *)param_2[1] == plVar1) {\n      if (lVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      lVar2 = *plVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(lVar2 + 0x10);\n      if (pcVar3 == FUN_0017eaf0) goto LAB_00289849;\nLAB_002898bd:\n      pcVar4 = (char *)(*pcVar3)(plVar1);\n      if (pcVar4 == (char *)0x0) {\n        return plVar1;\n      }\n    }\n    else {\n      *param_2 = lVar2;\n      if (lVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      plVar1[1] = 0;\n      pcVar3 = *(code **)(*plVar1 + 0x10);\n      if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;\nLAB_00289849:\n      pcVar4 = (char *)plVar1[8];\n      if (*pcVar4 == '\0') {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }\n    }\n    if (plVar1[1] != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(long *)(pcVar4 + 0x10) == 0) {\n      *(long **)(pcVar4 + 0x10) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n    else {\n      if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n  }" { (if_statement "if (plVar1 == (long *)0x0) {\n      return (long *)0x0;\n    }" if (parenthesized_expression "(plVar1 == (long *)0x0)" ( (binary_expression "plVar1 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return (long *)0x0;\n    }" { (return_statement "return (long *)0x0;" return (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "lVar2 = plVar1[1];" (assignment_expression "lVar2 = plVar1[1]" identifier = (subscript_expression "plVar1[1]" identifier [ number_literal ])) ;) (if_statement "if ((long *)param_2[1] == plVar1) {\n      if (lVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      lVar2 = *plVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(lVar2 + 0x10);\n      if (pcVar3 == FUN_0017eaf0) goto LAB_00289849;\nLAB_002898bd:\n      pcVar4 = (char *)(*pcVar3)(plVar1);\n      if (pcVar4 == (char *)0x0) {\n        return plVar1;\n      }\n    }\n    else {\n      *param_2 = lVar2;\n      if (lVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      plVar1[1] = 0;\n      pcVar3 = *(code **)(*plVar1 + 0x10);\n      if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;\nLAB_00289849:\n      pcVar4 = (char *)plVar1[8];\n      if (*pcVar4 == '\0') {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }\n    }" if (parenthesized_expression "((long *)param_2[1] == plVar1)" ( (binary_expression "(long *)param_2[1] == plVar1" (cast_expression "(long *)param_2[1]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ])) == identifier) )) (compound_statement "{\n      if (lVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      lVar2 = *plVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(lVar2 + 0x10);\n      if (pcVar3 == FUN_0017eaf0) goto LAB_00289849;\nLAB_002898bd:\n      pcVar4 = (char *)(*pcVar3)(plVar1);\n      if (pcVar4 == (char *)0x0) {\n        return plVar1;\n      }\n    }" { (if_statement "if (lVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }" if (parenthesized_expression "(lVar2 != 0)" ( (binary_expression "lVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }" { comment (expression_statement "FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");" (call_expression "FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front")" identifier (argument_list "("../../gold/workqueue.cc",0x53,"pop_front")" ( (string_literal ""../../gold/workqueue.cc"" " string_content ") , number_literal , (string_literal ""pop_front"" " string_content ") ))) ;) })) (expression_statement "lVar2 = *plVar1;" (assignment_expression "lVar2 = *plVar1" identifier = (pointer_expression "*plVar1" * identifier)) ;) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pcVar3 = *(code **)(lVar2 + 0x10);" (assignment_expression "pcVar3 = *(code **)(lVar2 + 0x10)" identifier = (pointer_expression "*(code **)(lVar2 + 0x10)" * (cast_expression "(code **)(lVar2 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar2 + 0x10)" ( (binary_expression "lVar2 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (pcVar3 == FUN_0017eaf0) goto LAB_00289849;" if (parenthesized_expression "(pcVar3 == FUN_0017eaf0)" ( (binary_expression "pcVar3 == FUN_0017eaf0" identifier == identifier) )) (goto_statement "goto LAB_00289849;" goto statement_identifier ;)) (labeled_statement "LAB_002898bd:\n      pcVar4 = (char *)(*pcVar3)(plVar1);" statement_identifier : (expression_statement "pcVar4 = (char *)(*pcVar3)(plVar1);" (assignment_expression "pcVar4 = (char *)(*pcVar3)(plVar1)" identifier = (cast_expression "(char *)(*pcVar3)(plVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar3)(plVar1)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(plVar1)" ( identifier ))))) ;)) (if_statement "if (pcVar4 == (char *)0x0) {\n        return plVar1;\n      }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return plVar1;\n      }" { (return_statement "return plVar1;" return identifier ;) })) }) (else_clause "else {\n      *param_2 = lVar2;\n      if (lVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      plVar1[1] = 0;\n      pcVar3 = *(code **)(*plVar1 + 0x10);\n      if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;\nLAB_00289849:\n      pcVar4 = (char *)plVar1[8];\n      if (*pcVar4 == '\0') {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }\n    }" else (compound_statement "{\n      *param_2 = lVar2;\n      if (lVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      plVar1[1] = 0;\n      pcVar3 = *(code **)(*plVar1 + 0x10);\n      if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;\nLAB_00289849:\n      pcVar4 = (char *)plVar1[8];\n      if (*pcVar4 == '\0') {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }\n    }" { (expression_statement "*param_2 = lVar2;" (assignment_expression "*param_2 = lVar2" (pointer_expression "*param_2" * identifier) = identifier) ;) (if_statement "if (lVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }" if (parenthesized_expression "(lVar2 == 0)" ( (binary_expression "lVar2 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }" { comment (expression_statement "FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");" (call_expression "FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front")" identifier (argument_list "("../../gold/workqueue.cc",0x5a,"pop_front")" ( (string_literal ""../../gold/workqueue.cc"" " string_content ") , number_literal , (string_literal ""pop_front"" " string_content ") ))) ;) })) (expression_statement "plVar1[1] = 0;" (assignment_expression "plVar1[1] = 0" (subscript_expression "plVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pcVar3 = *(code **)(*plVar1 + 0x10);" (assignment_expression "pcVar3 = *(code **)(*plVar1 + 0x10)" identifier = (pointer_expression "*(code **)(*plVar1 + 0x10)" * (cast_expression "(code **)(*plVar1 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x10)" ( (binary_expression "*plVar1 + 0x10" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) ;) (if_statement "if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;" if (parenthesized_expression "(pcVar3 != FUN_0017eaf0)" ( (binary_expression "pcVar3 != FUN_0017eaf0" identifier != identifier) )) (goto_statement "goto LAB_002898bd;" goto statement_identifier ;)) (labeled_statement "LAB_00289849:\n      pcVar4 = (char *)plVar1[8];" statement_identifier : (expression_statement "pcVar4 = (char *)plVar1[8];" (assignment_expression "pcVar4 = (char *)plVar1[8]" identifier = (cast_expression "(char *)plVar1[8]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[8]" identifier [ number_literal ]))) ;)) (if_statement "if (*pcVar4 == '\0') {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }" if (parenthesized_expression "(*pcVar4 == '\0')" ( (binary_expression "*pcVar4 == '\0'" (pointer_expression "*pcVar4" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }" { comment (expression_statement "FUN_0017c650("../../gold/token.h",0xab,"is_blocked");" (call_expression "FUN_0017c650("../../gold/token.h",0xab,"is_blocked")" identifier (argument_list "("../../gold/token.h",0xab,"is_blocked")" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""is_blocked"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }" if (parenthesized_expression "(*(int *)(pcVar4 + 4) < 1)" ( (binary_expression "*(int *)(pcVar4 + 4) < 1" (pointer_expression "*(int *)(pcVar4 + 4)" * (cast_expression "(int *)(pcVar4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar4 + 4)" ( (binary_expression "pcVar4 + 4" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n        return plVar1;\n      }" { (return_statement "return plVar1;" return identifier ;) })) }))) (if_statement "if (plVar1[1] != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back");\n    }" if (parenthesized_expression "(plVar1[1] != 0)" ( (binary_expression "plVar1[1] != 0" (subscript_expression "plVar1[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back");\n    }" { comment (expression_statement "FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back");" (call_expression "FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back")" identifier (argument_list "("../../gold/workqueue.cc",0x29,"push_back")" ( (string_literal ""../../gold/workqueue.cc"" " string_content ") , number_literal , (string_literal ""push_back"" " string_content ") ))) ;) })) (if_statement "if (*(long *)(pcVar4 + 0x10) == 0) {\n      *(long **)(pcVar4 + 0x10) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n    else {\n      if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }" if (parenthesized_expression "(*(long *)(pcVar4 + 0x10) == 0)" ( (binary_expression "*(long *)(pcVar4 + 0x10) == 0" (pointer_expression "*(long *)(pcVar4 + 0x10)" * (cast_expression "(long *)(pcVar4 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar4 + 0x10)" ( (binary_expression "pcVar4 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      *(long **)(pcVar4 + 0x10) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }" { (expression_statement "*(long **)(pcVar4 + 0x10) = plVar1;" (assignment_expression "*(long **)(pcVar4 + 0x10) = plVar1" (pointer_expression "*(long **)(pcVar4 + 0x10)" * (cast_expression "(long **)(pcVar4 + 0x10)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar4 + 0x10)" ( (binary_expression "pcVar4 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(long **)(pcVar4 + 0x18) = plVar1;" (assignment_expression "*(long **)(pcVar4 + 0x18) = plVar1" (pointer_expression "*(long **)(pcVar4 + 0x18)" * (cast_expression "(long **)(pcVar4 + 0x18)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar4 + 0x18)" ( (binary_expression "pcVar4 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "plVar1 = (long *)*param_2;" (assignment_expression "plVar1 = (long *)*param_2" identifier = (cast_expression "(long *)*param_2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;" (assignment_expression "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x2c) + 1" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + number_literal)) ;) }) (else_clause "else {\n      if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }" else (compound_statement "{\n      if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }" { (if_statement "if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }" if (parenthesized_expression "(*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0)" ( (binary_expression "*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0" (pointer_expression "*(long *)(*(long *)(pcVar4 + 0x18) + 8)" * (cast_expression "(long *)(*(long *)(pcVar4 + 0x18) + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(pcVar4 + 0x18) + 8)" ( (binary_expression "*(long *)(pcVar4 + 0x18) + 8" (pointer_expression "*(long *)(pcVar4 + 0x18)" * (cast_expression "(long *)(pcVar4 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar4 + 0x18)" ( (binary_expression "pcVar4 + 0x18" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }" { comment (expression_statement "FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");" (call_expression "FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next")" identifier (argument_list "("../../gold/workqueue.h",0x5a,"set_list_next")" ( (string_literal ""../../gold/workqueue.h"" " string_content ") , number_literal , (string_literal ""set_list_next"" " string_content ") ))) ;) })) (expression_statement "*(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;" (assignment_expression "*(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1" (pointer_expression "*(long **)(*(long *)(pcVar4 + 0x18) + 8)" * (cast_expression "(long **)(*(long *)(pcVar4 + 0x18) + 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(pcVar4 + 0x18) + 8)" ( (binary_expression "*(long *)(pcVar4 + 0x18) + 8" (pointer_expression "*(long *)(pcVar4 + 0x18)" * (cast_expression "(long *)(pcVar4 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar4 + 0x18)" ( (binary_expression "pcVar4 + 0x18" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) (expression_statement "*(long **)(pcVar4 + 0x18) = plVar1;" (assignment_expression "*(long **)(pcVar4 + 0x18) = plVar1" (pointer_expression "*(long **)(pcVar4 + 0x18)" * (cast_expression "(long **)(pcVar4 + 0x18)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar4 + 0x18)" ( (binary_expression "pcVar4 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "plVar1 = (long *)*param_2;" (assignment_expression "plVar1 = (long *)*param_2" identifier = (cast_expression "(long *)*param_2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;" (assignment_expression "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x2c) + 1" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + number_literal)) ;) }))) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Type propagation algorithm not settling */\n/* DWARF original prototype: Task * find_runnable_in_list(Workqueue * this, Task_list * tasks) */\n\nTask * __thiscall gold::Workqueue::find_runnable_in_list(Workqueue *this,Task_list *tasks)\n\n{\n  Task *pTVar1;\n  size_type sVar2;\n  _func_int_varargs **pp_Var3;\n  int iVar4;\n  _func_int_varargs *p_Var5;\n  undefined4 extraout_var;\n  Task *pTVar6;\n  \n  pTVar1 = tasks->head_;\n  do {\n    if (pTVar1 == (Task *)0x0) {\n      return (Task *)0x0;\n    }\n    pTVar6 = pTVar1->list_next_;\n    if (tasks->tail_ == pTVar1) {\n      if (pTVar6 != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      pp_Var3 = pTVar1->_vptr_Task;\n      tasks->head_ = (Task *)0x0;\n      tasks->tail_ = (Task *)0x0;\n      p_Var5 = pp_Var3[2];\n      if (p_Var5 == Task_function::is_runnable) goto LAB_00289849;\nLAB_002898bd:\n      iVar4 = (*p_Var5)(pTVar1);\n      pTVar6 = (Task *)CONCAT44(extraout_var,iVar4);\n      if (pTVar6 == (Task *)0x0) {\n        return pTVar1;\n      }\n    }\n    else {\n      tasks->head_ = pTVar6;\n      if (pTVar6 == (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      pTVar1->list_next_ = (Task *)0x0;\n      p_Var5 = pTVar1->_vptr_Task[2];\n      if (p_Var5 != Task_function::is_runnable) goto LAB_002898bd;\nLAB_00289849:\n      pTVar6 = pTVar1[1].list_next_;\n      if (*(char *)&pTVar6->_vptr_Task == '\0') {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)((long)&pTVar6->_vptr_Task + 4) < 1) {\n        return pTVar1;\n      }\n    }\n    if (pTVar1->list_next_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if ((pTVar6->name_)._M_dataplus._M_p == (pointer)0x0) {\n      (pTVar6->name_)._M_dataplus._M_p = (pointer)pTVar1;\n      (pTVar6->name_)._M_string_length = (size_type)pTVar1;\n      pTVar1 = tasks->head_;\n      this->waiting_ = this->waiting_ + 1;\n    }\n    else {\n      sVar2 = (pTVar6->name_)._M_string_length;\n      if (*(long *)(sVar2 + 8) != 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(Task **)(sVar2 + 8) = pTVar1;\n      (pTVar6->name_)._M_string_length = (size_type)pTVar1;\n      pTVar1 = tasks->head_;\n      this->waiting_ = this->waiting_ + 1;\n    }\n  } while( true );\n}\n\n" comment comment (ERROR "Task * __thiscall gold::Workqueue::find_runnable_in_list(Workqueue *this,Task_list *tasks)" (binary_expression "Task * __thiscall gold::Workqueue::find_runnable_in_list(Workqueue *this,Task_list *tasks" (binary_expression "Task * __thiscall gold::Workqueue::find_runnable_in_list(Workqueue *this" (binary_expression "Task * __thiscall" identifier * identifier) (ERROR "gold::Workqueue::find_runnable_in_list(Workqueue" identifier : : identifier : : identifier ( identifier) * identifier) (ERROR ",Task_list" , identifier) * identifier) )) (compound_statement "{\n  Task *pTVar1;\n  size_type sVar2;\n  _func_int_varargs **pp_Var3;\n  int iVar4;\n  _func_int_varargs *p_Var5;\n  undefined4 extraout_var;\n  Task *pTVar6;\n  \n  pTVar1 = tasks->head_;\n  do {\n    if (pTVar1 == (Task *)0x0) {\n      return (Task *)0x0;\n    }\n    pTVar6 = pTVar1->list_next_;\n    if (tasks->tail_ == pTVar1) {\n      if (pTVar6 != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      pp_Var3 = pTVar1->_vptr_Task;\n      tasks->head_ = (Task *)0x0;\n      tasks->tail_ = (Task *)0x0;\n      p_Var5 = pp_Var3[2];\n      if (p_Var5 == Task_function::is_runnable) goto LAB_00289849;\nLAB_002898bd:\n      iVar4 = (*p_Var5)(pTVar1);\n      pTVar6 = (Task *)CONCAT44(extraout_var,iVar4);\n      if (pTVar6 == (Task *)0x0) {\n        return pTVar1;\n      }\n    }\n    else {\n      tasks->head_ = pTVar6;\n      if (pTVar6 == (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      pTVar1->list_next_ = (Task *)0x0;\n      p_Var5 = pTVar1->_vptr_Task[2];\n      if (p_Var5 != Task_function::is_runnable) goto LAB_002898bd;\nLAB_00289849:\n      pTVar6 = pTVar1[1].list_next_;\n      if (*(char *)&pTVar6->_vptr_Task == '\0') {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)((long)&pTVar6->_vptr_Task + 4) < 1) {\n        return pTVar1;\n      }\n    }\n    if (pTVar1->list_next_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if ((pTVar6->name_)._M_dataplus._M_p == (pointer)0x0) {\n      (pTVar6->name_)._M_dataplus._M_p = (pointer)pTVar1;\n      (pTVar6->name_)._M_string_length = (size_type)pTVar1;\n      pTVar1 = tasks->head_;\n      this->waiting_ = this->waiting_ + 1;\n    }\n    else {\n      sVar2 = (pTVar6->name_)._M_string_length;\n      if (*(long *)(sVar2 + 8) != 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(Task **)(sVar2 + 8) = pTVar1;\n      (pTVar6->name_)._M_string_length = (size_type)pTVar1;\n      pTVar1 = tasks->head_;\n      this->waiting_ = this->waiting_ + 1;\n    }\n  } while( true );\n}" { (declaration "Task *pTVar1;" type_identifier (pointer_declarator "*pTVar1" * identifier) ;) (declaration "size_type sVar2;" type_identifier identifier ;) (declaration "_func_int_varargs **pp_Var3;" type_identifier (pointer_declarator "**pp_Var3" * (pointer_declarator "*pp_Var3" * identifier)) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "_func_int_varargs *p_Var5;" type_identifier (pointer_declarator "*p_Var5" * identifier) ;) (declaration "undefined4 extraout_var;" type_identifier identifier ;) (declaration "Task *pTVar6;" type_identifier (pointer_declarator "*pTVar6" * identifier) ;) (expression_statement "pTVar1 = tasks->head_;" (assignment_expression "pTVar1 = tasks->head_" identifier = (field_expression "tasks->head_" identifier -> field_identifier)) ;) (do_statement "do {\n    if (pTVar1 == (Task *)0x0) {\n      return (Task *)0x0;\n    }\n    pTVar6 = pTVar1->list_next_;\n    if (tasks->tail_ == pTVar1) {\n      if (pTVar6 != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      pp_Var3 = pTVar1->_vptr_Task;\n      tasks->head_ = (Task *)0x0;\n      tasks->tail_ = (Task *)0x0;\n      p_Var5 = pp_Var3[2];\n      if (p_Var5 == Task_function::is_runnable) goto LAB_00289849;\nLAB_002898bd:\n      iVar4 = (*p_Var5)(pTVar1);\n      pTVar6 = (Task *)CONCAT44(extraout_var,iVar4);\n      if (pTVar6 == (Task *)0x0) {\n        return pTVar1;\n      }\n    }\n    else {\n      tasks->head_ = pTVar6;\n      if (pTVar6 == (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      pTVar1->list_next_ = (Task *)0x0;\n      p_Var5 = pTVar1->_vptr_Task[2];\n      if (p_Var5 != Task_function::is_runnable) goto LAB_002898bd;\nLAB_00289849:\n      pTVar6 = pTVar1[1].list_next_;\n      if (*(char *)&pTVar6->_vptr_Task == '\0') {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)((long)&pTVar6->_vptr_Task + 4) < 1) {\n        return pTVar1;\n      }\n    }\n    if (pTVar1->list_next_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if ((pTVar6->name_)._M_dataplus._M_p == (pointer)0x0) {\n      (pTVar6->name_)._M_dataplus._M_p = (pointer)pTVar1;\n      (pTVar6->name_)._M_string_length = (size_type)pTVar1;\n      pTVar1 = tasks->head_;\n      this->waiting_ = this->waiting_ + 1;\n    }\n    else {\n      sVar2 = (pTVar6->name_)._M_string_length;\n      if (*(long *)(sVar2 + 8) != 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(Task **)(sVar2 + 8) = pTVar1;\n      (pTVar6->name_)._M_string_length = (size_type)pTVar1;\n      pTVar1 = tasks->head_;\n      this->waiting_ = this->waiting_ + 1;\n    }\n  } while( true );" do (compound_statement "{\n    if (pTVar1 == (Task *)0x0) {\n      return (Task *)0x0;\n    }\n    pTVar6 = pTVar1->list_next_;\n    if (tasks->tail_ == pTVar1) {\n      if (pTVar6 != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      pp_Var3 = pTVar1->_vptr_Task;\n      tasks->head_ = (Task *)0x0;\n      tasks->tail_ = (Task *)0x0;\n      p_Var5 = pp_Var3[2];\n      if (p_Var5 == Task_function::is_runnable) goto LAB_00289849;\nLAB_002898bd:\n      iVar4 = (*p_Var5)(pTVar1);\n      pTVar6 = (Task *)CONCAT44(extraout_var,iVar4);\n      if (pTVar6 == (Task *)0x0) {\n        return pTVar1;\n      }\n    }\n    else {\n      tasks->head_ = pTVar6;\n      if (pTVar6 == (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      pTVar1->list_next_ = (Task *)0x0;\n      p_Var5 = pTVar1->_vptr_Task[2];\n      if (p_Var5 != Task_function::is_runnable) goto LAB_002898bd;\nLAB_00289849:\n      pTVar6 = pTVar1[1].list_next_;\n      if (*(char *)&pTVar6->_vptr_Task == '\0') {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)((long)&pTVar6->_vptr_Task + 4) < 1) {\n        return pTVar1;\n      }\n    }\n    if (pTVar1->list_next_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if ((pTVar6->name_)._M_dataplus._M_p == (pointer)0x0) {\n      (pTVar6->name_)._M_dataplus._M_p = (pointer)pTVar1;\n      (pTVar6->name_)._M_string_length = (size_type)pTVar1;\n      pTVar1 = tasks->head_;\n      this->waiting_ = this->waiting_ + 1;\n    }\n    else {\n      sVar2 = (pTVar6->name_)._M_string_length;\n      if (*(long *)(sVar2 + 8) != 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(Task **)(sVar2 + 8) = pTVar1;\n      (pTVar6->name_)._M_string_length = (size_type)pTVar1;\n      pTVar1 = tasks->head_;\n      this->waiting_ = this->waiting_ + 1;\n    }\n  }" { (if_statement "if (pTVar1 == (Task *)0x0) {\n      return (Task *)0x0;\n    }" if (parenthesized_expression "(pTVar1 == (Task *)0x0)" ( (binary_expression "pTVar1 == (Task *)0x0" identifier == (cast_expression "(Task *)0x0" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return (Task *)0x0;\n    }" { (return_statement "return (Task *)0x0;" return (cast_expression "(Task *)0x0" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "pTVar6 = pTVar1->list_next_;" (assignment_expression "pTVar6 = pTVar1->list_next_" identifier = (field_expression "pTVar1->list_next_" identifier -> field_identifier)) ;) (if_statement "if (tasks->tail_ == pTVar1) {\n      if (pTVar6 != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      pp_Var3 = pTVar1->_vptr_Task;\n      tasks->head_ = (Task *)0x0;\n      tasks->tail_ = (Task *)0x0;\n      p_Var5 = pp_Var3[2];\n      if (p_Var5 == Task_function::is_runnable) goto LAB_00289849;\nLAB_002898bd:\n      iVar4 = (*p_Var5)(pTVar1);\n      pTVar6 = (Task *)CONCAT44(extraout_var,iVar4);\n      if (pTVar6 == (Task *)0x0) {\n        return pTVar1;\n      }\n    }\n    else {\n      tasks->head_ = pTVar6;\n      if (pTVar6 == (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      pTVar1->list_next_ = (Task *)0x0;\n      p_Var5 = pTVar1->_vptr_Task[2];\n      if (p_Var5 != Task_function::is_runnable) goto LAB_002898bd;\nLAB_00289849:\n      pTVar6 = pTVar1[1].list_next_;\n      if (*(char *)&pTVar6->_vptr_Task == '\0') {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)((long)&pTVar6->_vptr_Task + 4) < 1) {\n        return pTVar1;\n      }\n    }" if (parenthesized_expression "(tasks->tail_ == pTVar1)" ( (binary_expression "tasks->tail_ == pTVar1" (field_expression "tasks->tail_" identifier -> field_identifier) == identifier) )) (compound_statement "{\n      if (pTVar6 != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      pp_Var3 = pTVar1->_vptr_Task;\n      tasks->head_ = (Task *)0x0;\n      tasks->tail_ = (Task *)0x0;\n      p_Var5 = pp_Var3[2];\n      if (p_Var5 == Task_function::is_runnable) goto LAB_00289849;\nLAB_002898bd:\n      iVar4 = (*p_Var5)(pTVar1);\n      pTVar6 = (Task *)CONCAT44(extraout_var,iVar4);\n      if (pTVar6 == (Task *)0x0) {\n        return pTVar1;\n      }\n    }" { (if_statement "if (pTVar6 != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.cc",0x53,"pop_front");\n      }" if (parenthesized_expression "(pTVar6 != (Task *)0x0)" ( (binary_expression "pTVar6 != (Task *)0x0" 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/workqueue.cc",0x53,"pop_front");\n      }" { comment (expression_statement "do_gold_unreachable("../../gold/workqueue.cc",0x53,"pop_front");" (call_expression "do_gold_unreachable("../../gold/workqueue.cc",0x53,"pop_front")" identifier (argument_list "("../../gold/workqueue.cc",0x53,"pop_front")" ( (string_literal ""../../gold/workqueue.cc"" " string_content ") , number_literal , (string_literal ""pop_front"" " string_content ") ))) ;) })) (expression_statement "pp_Var3 = pTVar1->_vptr_Task;" (assignment_expression "pp_Var3 = pTVar1->_vptr_Task" identifier = (field_expression "pTVar1->_vptr_Task" identifier -> field_identifier)) ;) (expression_statement "tasks->head_ = (Task *)0x0;" (assignment_expression "tasks->head_ = (Task *)0x0" (field_expression "tasks->head_" identifier -> field_identifier) = (cast_expression "(Task *)0x0" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "tasks->tail_ = (Task *)0x0;" (assignment_expression "tasks->tail_ = (Task *)0x0" (field_expression "tasks->tail_" identifier -> field_identifier) = (cast_expression "(Task *)0x0" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "p_Var5 = pp_Var3[2];" (assignment_expression "p_Var5 = pp_Var3[2]" identifier = (subscript_expression "pp_Var3[2]" identifier [ number_literal ])) ;) (if_statement "if (p_Var5 == Task_function::is_runnable) goto LAB_00289849;" if (parenthesized_expression "(p_Var5 == Task_function::is_runnable)" ( (binary_expression "p_Var5 == Task_function" identifier == identifier) (ERROR "::is_runnable" : : identifier) )) (goto_statement "goto LAB_00289849;" goto statement_identifier ;)) (labeled_statement "LAB_002898bd:\n      iVar4 = (*p_Var5)(pTVar1);" statement_identifier : (expression_statement "iVar4 = (*p_Var5)(pTVar1);" (assignment_expression "iVar4 = (*p_Var5)(pTVar1)" identifier = (call_expression "(*p_Var5)(pTVar1)" (parenthesized_expression "(*p_Var5)" ( (pointer_expression "*p_Var5" * identifier) )) (argument_list "(pTVar1)" ( identifier )))) ;)) (expression_statement "pTVar6 = (Task *)CONCAT44(extraout_var,iVar4);" (assignment_expression "pTVar6 = (Task *)CONCAT44(extraout_var,iVar4)" identifier = (cast_expression "(Task *)CONCAT44(extraout_var,iVar4)" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "CONCAT44(extraout_var,iVar4)" identifier (argument_list "(extraout_var,iVar4)" ( identifier , identifier ))))) ;) (if_statement "if (pTVar6 == (Task *)0x0) {\n        return pTVar1;\n      }" if (parenthesized_expression "(pTVar6 == (Task *)0x0)" ( (binary_expression "pTVar6 == (Task *)0x0" identifier == (cast_expression "(Task *)0x0" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return pTVar1;\n      }" { (return_statement "return pTVar1;" return identifier ;) })) }) (else_clause "else {\n      tasks->head_ = pTVar6;\n      if (pTVar6 == (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      pTVar1->list_next_ = (Task *)0x0;\n      p_Var5 = pTVar1->_vptr_Task[2];\n      if (p_Var5 != Task_function::is_runnable) goto LAB_002898bd;\nLAB_00289849:\n      pTVar6 = pTVar1[1].list_next_;\n      if (*(char *)&pTVar6->_vptr_Task == '\0') {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)((long)&pTVar6->_vptr_Task + 4) < 1) {\n        return pTVar1;\n      }\n    }" else (compound_statement "{\n      tasks->head_ = pTVar6;\n      if (pTVar6 == (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      pTVar1->list_next_ = (Task *)0x0;\n      p_Var5 = pTVar1->_vptr_Task[2];\n      if (p_Var5 != Task_function::is_runnable) goto LAB_002898bd;\nLAB_00289849:\n      pTVar6 = pTVar1[1].list_next_;\n      if (*(char *)&pTVar6->_vptr_Task == '\0') {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)((long)&pTVar6->_vptr_Task + 4) < 1) {\n        return pTVar1;\n      }\n    }" { (expression_statement "tasks->head_ = pTVar6;" (assignment_expression "tasks->head_ = pTVar6" (field_expression "tasks->head_" identifier -> field_identifier) = identifier) ;) (if_statement "if (pTVar6 == (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.cc",0x5a,"pop_front");\n      }" if (parenthesized_expression "(pTVar6 == (Task *)0x0)" ( (binary_expression "pTVar6 == (Task *)0x0" 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/workqueue.cc",0x5a,"pop_front");\n      }" { comment (expression_statement "do_gold_unreachable("../../gold/workqueue.cc",0x5a,"pop_front");" (call_expression "do_gold_unreachable("../../gold/workqueue.cc",0x5a,"pop_front")" identifier (argument_list "("../../gold/workqueue.cc",0x5a,"pop_front")" ( (string_literal ""../../gold/workqueue.cc"" " string_content ") , number_literal , (string_literal ""pop_front"" " string_content ") ))) ;) })) (expression_statement "pTVar1->list_next_ = (Task *)0x0;" (assignment_expression "pTVar1->list_next_ = (Task *)0x0" (field_expression "pTVar1->list_next_" identifier -> field_identifier) = (cast_expression "(Task *)0x0" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "p_Var5 = pTVar1->_vptr_Task[2];" (assignment_expression "p_Var5 = pTVar1->_vptr_Task[2]" identifier = (subscript_expression "pTVar1->_vptr_Task[2]" (field_expression "pTVar1->_vptr_Task" identifier -> field_identifier) [ number_literal ])) ;) (if_statement "if (p_Var5 != Task_function::is_runnable) goto LAB_002898bd;" if (parenthesized_expression "(p_Var5 != Task_function::is_runnable)" ( (binary_expression "p_Var5 != Task_function" identifier != identifier) (ERROR "::is_runnable" : : identifier) )) (goto_statement "goto LAB_002898bd;" goto statement_identifier ;)) (labeled_statement "LAB_00289849:\n      pTVar6 = pTVar1[1].list_next_;" statement_identifier : (expression_statement "pTVar6 = pTVar1[1].list_next_;" (assignment_expression "pTVar6 = pTVar1[1].list_next_" identifier = (field_expression "pTVar1[1].list_next_" (subscript_expression "pTVar1[1]" identifier [ number_literal ]) . field_identifier)) ;)) (if_statement "if (*(char *)&pTVar6->_vptr_Task == '\0') {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0xab,"is_blocked");\n      }" if (parenthesized_expression "(*(char *)&pTVar6->_vptr_Task == '\0')" ( (binary_expression "*(char *)&pTVar6->_vptr_Task == '\0'" (pointer_expression "*(char *)&pTVar6->_vptr_Task" * (cast_expression "(char *)&pTVar6->_vptr_Task" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pTVar6->_vptr_Task" & (field_expression "pTVar6->_vptr_Task" identifier -> field_identifier)))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0xab,"is_blocked");\n      }" { comment (expression_statement "do_gold_unreachable("../../gold/token.h",0xab,"is_blocked");" (call_expression "do_gold_unreachable("../../gold/token.h",0xab,"is_blocked")" identifier (argument_list "("../../gold/token.h",0xab,"is_blocked")" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""is_blocked"" " string_content ") ))) ;) })) (if_statement "if (*(int *)((long)&pTVar6->_vptr_Task + 4) < 1) {\n        return pTVar1;\n      }" if (parenthesized_expression "(*(int *)((long)&pTVar6->_vptr_Task + 4) < 1)" ( (binary_expression "*(int *)((long)&pTVar6->_vptr_Task + 4) < 1" (pointer_expression "*(int *)((long)&pTVar6->_vptr_Task + 4)" * (cast_expression "(int *)((long)&pTVar6->_vptr_Task + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&pTVar6->_vptr_Task + 4)" ( (binary_expression "(long)&pTVar6->_vptr_Task + 4" (cast_expression "(long)&pTVar6->_vptr_Task" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&pTVar6->_vptr_Task" & (field_expression "pTVar6->_vptr_Task" identifier -> field_identifier))) + number_literal) )))) < number_literal) )) (compound_statement "{\n        return pTVar1;\n      }" { (return_statement "return pTVar1;" return identifier ;) })) }))) (if_statement "if (pTVar1->list_next_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/workqueue.cc",0x29,"push_back");\n    }" if (parenthesized_expression "(pTVar1->list_next_ != (Task *)0x0)" ( (binary_expression "pTVar1->list_next_ != (Task *)0x0" (field_expression "pTVar1->list_next_" 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/workqueue.cc",0x29,"push_back");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/workqueue.cc",0x29,"push_back");" (call_expression "do_gold_unreachable("../../gold/workqueue.cc",0x29,"push_back")" identifier (argument_list "("../../gold/workqueue.cc",0x29,"push_back")" ( (string_literal ""../../gold/workqueue.cc"" " string_content ") , number_literal , (string_literal ""push_back"" " string_content ") ))) ;) })) (if_statement "if ((pTVar6->name_)._M_dataplus._M_p == (pointer)0x0) {\n      (pTVar6->name_)._M_dataplus._M_p = (pointer)pTVar1;\n      (pTVar6->name_)._M_string_length = (size_type)pTVar1;\n      pTVar1 = tasks->head_;\n      this->waiting_ = this->waiting_ + 1;\n    }\n    else {\n      sVar2 = (pTVar6->name_)._M_string_length;\n      if (*(long *)(sVar2 + 8) != 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(Task **)(sVar2 + 8) = pTVar1;\n      (pTVar6->name_)._M_string_length = (size_type)pTVar1;\n      pTVar1 = tasks->head_;\n      this->waiting_ = this->waiting_ + 1;\n    }" if (parenthesized_expression "((pTVar6->name_)._M_dataplus._M_p == (pointer)0x0)" ( (binary_expression "(pTVar6->name_)._M_dataplus._M_p == (pointer)0x0" (field_expression "(pTVar6->name_)._M_dataplus._M_p" (field_expression "(pTVar6->name_)._M_dataplus" (parenthesized_expression "(pTVar6->name_)" ( (field_expression "pTVar6->name_" identifier -> field_identifier) )) . field_identifier) . field_identifier) == (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) )) (compound_statement "{\n      (pTVar6->name_)._M_dataplus._M_p = (pointer)pTVar1;\n      (pTVar6->name_)._M_string_length = (size_type)pTVar1;\n      pTVar1 = tasks->head_;\n      this->waiting_ = this->waiting_ + 1;\n    }" { (expression_statement "(pTVar6->name_)._M_dataplus._M_p = (pointer)pTVar1;" (assignment_expression "(pTVar6->name_)._M_dataplus._M_p = (pointer)pTVar1" (field_expression "(pTVar6->name_)._M_dataplus._M_p" (field_expression "(pTVar6->name_)._M_dataplus" (parenthesized_expression "(pTVar6->name_)" ( (field_expression "pTVar6->name_" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (cast_expression "(pointer)pTVar1" ( (type_descriptor "pointer" type_identifier) ) identifier)) ;) (expression_statement "(pTVar6->name_)._M_string_length = (size_type)pTVar1;" (assignment_expression "(pTVar6->name_)._M_string_length = (size_type)pTVar1" (field_expression "(pTVar6->name_)._M_string_length" (parenthesized_expression "(pTVar6->name_)" ( (field_expression "pTVar6->name_" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(size_type)pTVar1" ( (type_descriptor "size_type" type_identifier) ) identifier)) ;) (expression_statement "pTVar1 = tasks->head_;" (assignment_expression "pTVar1 = tasks->head_" identifier = (field_expression "tasks->head_" identifier -> field_identifier)) ;) (expression_statement "this->waiting_ = this->waiting_ + 1;" (assignment_expression "this->waiting_ = this->waiting_ + 1" (field_expression "this->waiting_" identifier -> field_identifier) = (binary_expression "this->waiting_ + 1" (field_expression "this->waiting_" identifier -> field_identifier) + number_literal)) ;) }) (else_clause "else {\n      sVar2 = (pTVar6->name_)._M_string_length;\n      if (*(long *)(sVar2 + 8) != 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(Task **)(sVar2 + 8) = pTVar1;\n      (pTVar6->name_)._M_string_length = (size_type)pTVar1;\n      pTVar1 = tasks->head_;\n      this->waiting_ = this->waiting_ + 1;\n    }" else (compound_statement "{\n      sVar2 = (pTVar6->name_)._M_string_length;\n      if (*(long *)(sVar2 + 8) != 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(Task **)(sVar2 + 8) = pTVar1;\n      (pTVar6->name_)._M_string_length = (size_type)pTVar1;\n      pTVar1 = tasks->head_;\n      this->waiting_ = this->waiting_ + 1;\n    }" { (expression_statement "sVar2 = (pTVar6->name_)._M_string_length;" (assignment_expression "sVar2 = (pTVar6->name_)._M_string_length" identifier = (field_expression "(pTVar6->name_)._M_string_length" (parenthesized_expression "(pTVar6->name_)" ( (field_expression "pTVar6->name_" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (*(long *)(sVar2 + 8) != 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.h",0x5a,"set_list_next");\n      }" if (parenthesized_expression "(*(long *)(sVar2 + 8) != 0)" ( (binary_expression "*(long *)(sVar2 + 8) != 0" (pointer_expression "*(long *)(sVar2 + 8)" * (cast_expression "(long *)(sVar2 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(sVar2 + 8)" ( (binary_expression "sVar2 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.h",0x5a,"set_list_next");\n      }" { comment (expression_statement "do_gold_unreachable("../../gold/workqueue.h",0x5a,"set_list_next");" (call_expression "do_gold_unreachable("../../gold/workqueue.h",0x5a,"set_list_next")" identifier (argument_list "("../../gold/workqueue.h",0x5a,"set_list_next")" ( (string_literal ""../../gold/workqueue.h"" " string_content ") , number_literal , (string_literal ""set_list_next"" " string_content ") ))) ;) })) (expression_statement "*(Task **)(sVar2 + 8) = pTVar1;" (assignment_expression "*(Task **)(sVar2 + 8) = pTVar1" (pointer_expression "*(Task **)(sVar2 + 8)" * (cast_expression "(Task **)(sVar2 + 8)" ( (type_descriptor "Task **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(sVar2 + 8)" ( (binary_expression "sVar2 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "(pTVar6->name_)._M_string_length = (size_type)pTVar1;" (assignment_expression "(pTVar6->name_)._M_string_length = (size_type)pTVar1" (field_expression "(pTVar6->name_)._M_string_length" (parenthesized_expression "(pTVar6->name_)" ( (field_expression "pTVar6->name_" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(size_type)pTVar1" ( (type_descriptor "size_type" type_identifier) ) identifier)) ;) (expression_statement "pTVar1 = tasks->head_;" (assignment_expression "pTVar1 = tasks->head_" identifier = (field_expression "tasks->head_" identifier -> field_identifier)) ;) (expression_statement "this->waiting_ = this->waiting_ + 1;" (assignment_expression "this->waiting_ = this->waiting_ + 1" (field_expression "this->waiting_" identifier -> field_identifier) = (binary_expression "this->waiting_ + 1" (field_expression "this->waiting_" identifier -> field_identifier) + number_literal)) ;) }))) }) while (parenthesized_expression "( true )" ( true )) ;) }))
(translation_unit "long * FUN_002897d0(long param_1,long *param_2)\n\n{\n  long *plVar1;\n  long lVar2;\n  code *pcVar3;\n  char *pcVar4;\n  \n  plVar1 = (long *)*param_2;\n  do {\n    if (plVar1 == (long *)0x0) {\n      return (long *)0x0;\n    }\n    lVar2 = plVar1[1];\n    if ((long *)param_2[1] == plVar1) {\n      if (lVar2 != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      lVar2 = *plVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(lVar2 + 0x10);\n      if (pcVar3 == FUN_0017eaf0) goto LAB_00289849;\nLAB_002898bd:\n      pcVar4 = (char *)(*pcVar3)(plVar1);\n      if (pcVar4 == (char *)0x0) {\n        return plVar1;\n      }\n    }\n    else {\n      *param_2 = lVar2;\n      if (lVar2 == 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      plVar1[1] = 0;\n      pcVar3 = *(code **)(*plVar1 + 0x10);\n      if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;\nLAB_00289849:\n      pcVar4 = (char *)plVar1[8];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }\n    }\n    if (plVar1[1] != 0) {\n                    \n      FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(long *)(pcVar4 + 0x10) == 0) {\n      *(long **)(pcVar4 + 0x10) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n    else {\n      if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n  } while( true );\n}\n\n" (function_definition "long * FUN_002897d0(long param_1,long *param_2)\n\n{\n  long *plVar1;\n  long lVar2;\n  code *pcVar3;\n  char *pcVar4;\n  \n  plVar1 = (long *)*param_2;\n  do {\n    if (plVar1 == (long *)0x0) {\n      return (long *)0x0;\n    }\n    lVar2 = plVar1[1];\n    if ((long *)param_2[1] == plVar1) {\n      if (lVar2 != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      lVar2 = *plVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(lVar2 + 0x10);\n      if (pcVar3 == FUN_0017eaf0) goto LAB_00289849;\nLAB_002898bd:\n      pcVar4 = (char *)(*pcVar3)(plVar1);\n      if (pcVar4 == (char *)0x0) {\n        return plVar1;\n      }\n    }\n    else {\n      *param_2 = lVar2;\n      if (lVar2 == 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      plVar1[1] = 0;\n      pcVar3 = *(code **)(*plVar1 + 0x10);\n      if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;\nLAB_00289849:\n      pcVar4 = (char *)plVar1[8];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }\n    }\n    if (plVar1[1] != 0) {\n                    \n      FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(long *)(pcVar4 + 0x10) == 0) {\n      *(long **)(pcVar4 + 0x10) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n    else {\n      if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n  } while( true );\n}" (sized_type_specifier "long" long) (pointer_declarator "* FUN_002897d0(long param_1,long *param_2)" * (function_declarator "FUN_002897d0(long param_1,long *param_2)" identifier (parameter_list "(long param_1,long *param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  long *plVar1;\n  long lVar2;\n  code *pcVar3;\n  char *pcVar4;\n  \n  plVar1 = (long *)*param_2;\n  do {\n    if (plVar1 == (long *)0x0) {\n      return (long *)0x0;\n    }\n    lVar2 = plVar1[1];\n    if ((long *)param_2[1] == plVar1) {\n      if (lVar2 != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      lVar2 = *plVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(lVar2 + 0x10);\n      if (pcVar3 == FUN_0017eaf0) goto LAB_00289849;\nLAB_002898bd:\n      pcVar4 = (char *)(*pcVar3)(plVar1);\n      if (pcVar4 == (char *)0x0) {\n        return plVar1;\n      }\n    }\n    else {\n      *param_2 = lVar2;\n      if (lVar2 == 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      plVar1[1] = 0;\n      pcVar3 = *(code **)(*plVar1 + 0x10);\n      if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;\nLAB_00289849:\n      pcVar4 = (char *)plVar1[8];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }\n    }\n    if (plVar1[1] != 0) {\n                    \n      FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(long *)(pcVar4 + 0x10) == 0) {\n      *(long **)(pcVar4 + 0x10) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n    else {\n      if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n  } while( true );\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "plVar1 = (long *)*param_2;" (assignment_expression "plVar1 = (long *)*param_2" identifier = (cast_expression "(long *)*param_2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (do_statement "do {\n    if (plVar1 == (long *)0x0) {\n      return (long *)0x0;\n    }\n    lVar2 = plVar1[1];\n    if ((long *)param_2[1] == plVar1) {\n      if (lVar2 != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      lVar2 = *plVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(lVar2 + 0x10);\n      if (pcVar3 == FUN_0017eaf0) goto LAB_00289849;\nLAB_002898bd:\n      pcVar4 = (char *)(*pcVar3)(plVar1);\n      if (pcVar4 == (char *)0x0) {\n        return plVar1;\n      }\n    }\n    else {\n      *param_2 = lVar2;\n      if (lVar2 == 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      plVar1[1] = 0;\n      pcVar3 = *(code **)(*plVar1 + 0x10);\n      if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;\nLAB_00289849:\n      pcVar4 = (char *)plVar1[8];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }\n    }\n    if (plVar1[1] != 0) {\n                    \n      FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(long *)(pcVar4 + 0x10) == 0) {\n      *(long **)(pcVar4 + 0x10) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n    else {\n      if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n  } while( true );" do (compound_statement "{\n    if (plVar1 == (long *)0x0) {\n      return (long *)0x0;\n    }\n    lVar2 = plVar1[1];\n    if ((long *)param_2[1] == plVar1) {\n      if (lVar2 != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      lVar2 = *plVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(lVar2 + 0x10);\n      if (pcVar3 == FUN_0017eaf0) goto LAB_00289849;\nLAB_002898bd:\n      pcVar4 = (char *)(*pcVar3)(plVar1);\n      if (pcVar4 == (char *)0x0) {\n        return plVar1;\n      }\n    }\n    else {\n      *param_2 = lVar2;\n      if (lVar2 == 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      plVar1[1] = 0;\n      pcVar3 = *(code **)(*plVar1 + 0x10);\n      if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;\nLAB_00289849:\n      pcVar4 = (char *)plVar1[8];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }\n    }\n    if (plVar1[1] != 0) {\n                    \n      FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(long *)(pcVar4 + 0x10) == 0) {\n      *(long **)(pcVar4 + 0x10) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n    else {\n      if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n  }" { (if_statement "if (plVar1 == (long *)0x0) {\n      return (long *)0x0;\n    }" if (parenthesized_expression "(plVar1 == (long *)0x0)" ( (binary_expression "plVar1 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return (long *)0x0;\n    }" { (return_statement "return (long *)0x0;" return (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "lVar2 = plVar1[1];" (assignment_expression "lVar2 = plVar1[1]" identifier = (subscript_expression "plVar1[1]" identifier [ number_literal ])) ;) (if_statement "if ((long *)param_2[1] == plVar1) {\n      if (lVar2 != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      lVar2 = *plVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(lVar2 + 0x10);\n      if (pcVar3 == FUN_0017eaf0) goto LAB_00289849;\nLAB_002898bd:\n      pcVar4 = (char *)(*pcVar3)(plVar1);\n      if (pcVar4 == (char *)0x0) {\n        return plVar1;\n      }\n    }\n    else {\n      *param_2 = lVar2;\n      if (lVar2 == 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      plVar1[1] = 0;\n      pcVar3 = *(code **)(*plVar1 + 0x10);\n      if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;\nLAB_00289849:\n      pcVar4 = (char *)plVar1[8];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }\n    }" if (parenthesized_expression "((long *)param_2[1] == plVar1)" ( (binary_expression "(long *)param_2[1] == plVar1" (cast_expression "(long *)param_2[1]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ])) == identifier) )) (compound_statement "{\n      if (lVar2 != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      lVar2 = *plVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(lVar2 + 0x10);\n      if (pcVar3 == FUN_0017eaf0) goto LAB_00289849;\nLAB_002898bd:\n      pcVar4 = (char *)(*pcVar3)(plVar1);\n      if (pcVar4 == (char *)0x0) {\n        return plVar1;\n      }\n    }" { (if_statement "if (lVar2 != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }" if (parenthesized_expression "(lVar2 != 0)" ( (binary_expression "lVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }" { (expression_statement "FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");" (call_expression "FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front")" identifier (argument_list "("../../gold/workqueue.cc",0x53,"pop_front")" ( (string_literal ""../../gold/workqueue.cc"" " string_content ") , number_literal , (string_literal ""pop_front"" " string_content ") ))) ;) })) (expression_statement "lVar2 = *plVar1;" (assignment_expression "lVar2 = *plVar1" identifier = (pointer_expression "*plVar1" * identifier)) ;) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pcVar3 = *(code **)(lVar2 + 0x10);" (assignment_expression "pcVar3 = *(code **)(lVar2 + 0x10)" identifier = (pointer_expression "*(code **)(lVar2 + 0x10)" * (cast_expression "(code **)(lVar2 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar2 + 0x10)" ( (binary_expression "lVar2 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (pcVar3 == FUN_0017eaf0) goto LAB_00289849;" if (parenthesized_expression "(pcVar3 == FUN_0017eaf0)" ( (binary_expression "pcVar3 == FUN_0017eaf0" identifier == identifier) )) (goto_statement "goto LAB_00289849;" goto statement_identifier ;)) (labeled_statement "LAB_002898bd:\n      pcVar4 = (char *)(*pcVar3)(plVar1);" statement_identifier : (expression_statement "pcVar4 = (char *)(*pcVar3)(plVar1);" (assignment_expression "pcVar4 = (char *)(*pcVar3)(plVar1)" identifier = (cast_expression "(char *)(*pcVar3)(plVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar3)(plVar1)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(plVar1)" ( identifier ))))) ;)) (if_statement "if (pcVar4 == (char *)0x0) {\n        return plVar1;\n      }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return plVar1;\n      }" { (return_statement "return plVar1;" return identifier ;) })) }) (else_clause "else {\n      *param_2 = lVar2;\n      if (lVar2 == 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      plVar1[1] = 0;\n      pcVar3 = *(code **)(*plVar1 + 0x10);\n      if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;\nLAB_00289849:\n      pcVar4 = (char *)plVar1[8];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }\n    }" else (compound_statement "{\n      *param_2 = lVar2;\n      if (lVar2 == 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      plVar1[1] = 0;\n      pcVar3 = *(code **)(*plVar1 + 0x10);\n      if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;\nLAB_00289849:\n      pcVar4 = (char *)plVar1[8];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }\n    }" { (expression_statement "*param_2 = lVar2;" (assignment_expression "*param_2 = lVar2" (pointer_expression "*param_2" * identifier) = identifier) ;) (if_statement "if (lVar2 == 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }" if (parenthesized_expression "(lVar2 == 0)" ( (binary_expression "lVar2 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }" { (expression_statement "FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");" (call_expression "FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front")" identifier (argument_list "("../../gold/workqueue.cc",0x5a,"pop_front")" ( (string_literal ""../../gold/workqueue.cc"" " string_content ") , number_literal , (string_literal ""pop_front"" " string_content ") ))) ;) })) (expression_statement "plVar1[1] = 0;" (assignment_expression "plVar1[1] = 0" (subscript_expression "plVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pcVar3 = *(code **)(*plVar1 + 0x10);" (assignment_expression "pcVar3 = *(code **)(*plVar1 + 0x10)" identifier = (pointer_expression "*(code **)(*plVar1 + 0x10)" * (cast_expression "(code **)(*plVar1 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x10)" ( (binary_expression "*plVar1 + 0x10" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) ;) (if_statement "if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;" if (parenthesized_expression "(pcVar3 != FUN_0017eaf0)" ( (binary_expression "pcVar3 != FUN_0017eaf0" identifier != identifier) )) (goto_statement "goto LAB_002898bd;" goto statement_identifier ;)) (labeled_statement "LAB_00289849:\n      pcVar4 = (char *)plVar1[8];" statement_identifier : (expression_statement "pcVar4 = (char *)plVar1[8];" (assignment_expression "pcVar4 = (char *)plVar1[8]" identifier = (cast_expression "(char *)plVar1[8]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[8]" identifier [ number_literal ]))) ;)) (if_statement "if (*pcVar4 == '\0') {\n                    \n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }" if (parenthesized_expression "(*pcVar4 == '\0')" ( (binary_expression "*pcVar4 == '\0'" (pointer_expression "*pcVar4" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    \n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }" { (expression_statement "FUN_0017c650("../../gold/token.h",0xab,"is_blocked");" (call_expression "FUN_0017c650("../../gold/token.h",0xab,"is_blocked")" identifier (argument_list "("../../gold/token.h",0xab,"is_blocked")" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""is_blocked"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }" if (parenthesized_expression "(*(int *)(pcVar4 + 4) < 1)" ( (binary_expression "*(int *)(pcVar4 + 4) < 1" (pointer_expression "*(int *)(pcVar4 + 4)" * (cast_expression "(int *)(pcVar4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar4 + 4)" ( (binary_expression "pcVar4 + 4" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n        return plVar1;\n      }" { (return_statement "return plVar1;" return identifier ;) })) }))) (if_statement "if (plVar1[1] != 0) {\n                    \n      FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back");\n    }" if (parenthesized_expression "(plVar1[1] != 0)" ( (binary_expression "plVar1[1] != 0" (subscript_expression "plVar1[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                    \n      FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back");\n    }" { (expression_statement "FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back");" (call_expression "FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back")" identifier (argument_list "("../../gold/workqueue.cc",0x29,"push_back")" ( (string_literal ""../../gold/workqueue.cc"" " string_content ") , number_literal , (string_literal ""push_back"" " string_content ") ))) ;) })) (if_statement "if (*(long *)(pcVar4 + 0x10) == 0) {\n      *(long **)(pcVar4 + 0x10) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n    else {\n      if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }" if (parenthesized_expression "(*(long *)(pcVar4 + 0x10) == 0)" ( (binary_expression "*(long *)(pcVar4 + 0x10) == 0" (pointer_expression "*(long *)(pcVar4 + 0x10)" * (cast_expression "(long *)(pcVar4 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar4 + 0x10)" ( (binary_expression "pcVar4 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      *(long **)(pcVar4 + 0x10) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }" { (expression_statement "*(long **)(pcVar4 + 0x10) = plVar1;" (assignment_expression "*(long **)(pcVar4 + 0x10) = plVar1" (pointer_expression "*(long **)(pcVar4 + 0x10)" * (cast_expression "(long **)(pcVar4 + 0x10)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar4 + 0x10)" ( (binary_expression "pcVar4 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(long **)(pcVar4 + 0x18) = plVar1;" (assignment_expression "*(long **)(pcVar4 + 0x18) = plVar1" (pointer_expression "*(long **)(pcVar4 + 0x18)" * (cast_expression "(long **)(pcVar4 + 0x18)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar4 + 0x18)" ( (binary_expression "pcVar4 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "plVar1 = (long *)*param_2;" (assignment_expression "plVar1 = (long *)*param_2" identifier = (cast_expression "(long *)*param_2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;" (assignment_expression "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x2c) + 1" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + number_literal)) ;) }) (else_clause "else {\n      if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }" else (compound_statement "{\n      if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }" { (if_statement "if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }" if (parenthesized_expression "(*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0)" ( (binary_expression "*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0" (pointer_expression "*(long *)(*(long *)(pcVar4 + 0x18) + 8)" * (cast_expression "(long *)(*(long *)(pcVar4 + 0x18) + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(pcVar4 + 0x18) + 8)" ( (binary_expression "*(long *)(pcVar4 + 0x18) + 8" (pointer_expression "*(long *)(pcVar4 + 0x18)" * (cast_expression "(long *)(pcVar4 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar4 + 0x18)" ( (binary_expression "pcVar4 + 0x18" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n                    \n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }" { (expression_statement "FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");" (call_expression "FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next")" identifier (argument_list "("../../gold/workqueue.h",0x5a,"set_list_next")" ( (string_literal ""../../gold/workqueue.h"" " string_content ") , number_literal , (string_literal ""set_list_next"" " string_content ") ))) ;) })) (expression_statement "*(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;" (assignment_expression "*(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1" (pointer_expression "*(long **)(*(long *)(pcVar4 + 0x18) + 8)" * (cast_expression "(long **)(*(long *)(pcVar4 + 0x18) + 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(pcVar4 + 0x18) + 8)" ( (binary_expression "*(long *)(pcVar4 + 0x18) + 8" (pointer_expression "*(long *)(pcVar4 + 0x18)" * (cast_expression "(long *)(pcVar4 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar4 + 0x18)" ( (binary_expression "pcVar4 + 0x18" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) (expression_statement "*(long **)(pcVar4 + 0x18) = plVar1;" (assignment_expression "*(long **)(pcVar4 + 0x18) = plVar1" (pointer_expression "*(long **)(pcVar4 + 0x18)" * (cast_expression "(long **)(pcVar4 + 0x18)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar4 + 0x18)" ( (binary_expression "pcVar4 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "plVar1 = (long *)*param_2;" (assignment_expression "plVar1 = (long *)*param_2" identifier = (cast_expression "(long *)*param_2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;" (assignment_expression "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x2c) + 1" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + number_literal)) ;) }))) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition (sized_type_specifier long) (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) )))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) == 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 ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return IDENT ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < LIT) )) (compound_statement { (return_statement return IDENT ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression (subscript_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 (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) }))) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "long * FUN_002897d0(long param_1,long *param_2)\n\n{\n  long *plVar1;\n  long lVar2;\n  code *pcVar3;\n  char *pcVar4;\n  \n  plVar1 = (long *)*param_2;\n  do {\n    if (plVar1 == (long *)0x0) {\n      return (long *)0x0;\n    }\n    lVar2 = plVar1[1];\n    if ((long *)param_2[1] == plVar1) {\n      if (lVar2 != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      lVar2 = *plVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(lVar2 + 0x10);\n      if (pcVar3 == FUN_0017eaf0) goto LAB_00289849;\nLAB_002898bd:\n      pcVar4 = (char *)(*pcVar3)(plVar1);\n      if (pcVar4 == (char *)0x0) {\n        return plVar1;\n      }\n    }\n    else {\n      *param_2 = lVar2;\n      if (lVar2 == 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      plVar1[1] = 0;\n      pcVar3 = *(code **)(*plVar1 + 0x10);\n      if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;\nLAB_00289849:\n      pcVar4 = (char *)plVar1[8];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }\n    }\n    if (plVar1[1] != 0) {\n                    \n      FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(long *)(pcVar4 + 0x10) == 0) {\n      *(long **)(pcVar4 + 0x10) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n    else {\n      if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n  } while( true );\n}" (sized_type_specifier "long" (long "long")) (pointer_declarator "* FUN_002897d0(long param_1,long *param_2)" (* "*") (function_declarator "FUN_002897d0(long param_1,long *param_2)" (identifier "FUN_002897d0") (parameter_list "(long param_1,long *param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "long *param_2" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")")))) (compound_statement "{\n  long *plVar1;\n  long lVar2;\n  code *pcVar3;\n  char *pcVar4;\n  \n  plVar1 = (long *)*param_2;\n  do {\n    if (plVar1 == (long *)0x0) {\n      return (long *)0x0;\n    }\n    lVar2 = plVar1[1];\n    if ((long *)param_2[1] == plVar1) {\n      if (lVar2 != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      lVar2 = *plVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(lVar2 + 0x10);\n      if (pcVar3 == FUN_0017eaf0) goto LAB_00289849;\nLAB_002898bd:\n      pcVar4 = (char *)(*pcVar3)(plVar1);\n      if (pcVar4 == (char *)0x0) {\n        return plVar1;\n      }\n    }\n    else {\n      *param_2 = lVar2;\n      if (lVar2 == 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      plVar1[1] = 0;\n      pcVar3 = *(code **)(*plVar1 + 0x10);\n      if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;\nLAB_00289849:\n      pcVar4 = (char *)plVar1[8];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }\n    }\n    if (plVar1[1] != 0) {\n                    \n      FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(long *)(pcVar4 + 0x10) == 0) {\n      *(long **)(pcVar4 + 0x10) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n    else {\n      if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n  } while( true );\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "code *pcVar3;" (type_identifier "code") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (expression_statement "plVar1 = (long *)*param_2;" (assignment_expression "plVar1 = (long *)*param_2" (identifier "plVar1") (= "=") (cast_expression "(long *)*param_2" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (do_statement "do {\n    if (plVar1 == (long *)0x0) {\n      return (long *)0x0;\n    }\n    lVar2 = plVar1[1];\n    if ((long *)param_2[1] == plVar1) {\n      if (lVar2 != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      lVar2 = *plVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(lVar2 + 0x10);\n      if (pcVar3 == FUN_0017eaf0) goto LAB_00289849;\nLAB_002898bd:\n      pcVar4 = (char *)(*pcVar3)(plVar1);\n      if (pcVar4 == (char *)0x0) {\n        return plVar1;\n      }\n    }\n    else {\n      *param_2 = lVar2;\n      if (lVar2 == 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      plVar1[1] = 0;\n      pcVar3 = *(code **)(*plVar1 + 0x10);\n      if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;\nLAB_00289849:\n      pcVar4 = (char *)plVar1[8];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }\n    }\n    if (plVar1[1] != 0) {\n                    \n      FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(long *)(pcVar4 + 0x10) == 0) {\n      *(long **)(pcVar4 + 0x10) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n    else {\n      if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n  } while( true );" (do "do") (compound_statement "{\n    if (plVar1 == (long *)0x0) {\n      return (long *)0x0;\n    }\n    lVar2 = plVar1[1];\n    if ((long *)param_2[1] == plVar1) {\n      if (lVar2 != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      lVar2 = *plVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(lVar2 + 0x10);\n      if (pcVar3 == FUN_0017eaf0) goto LAB_00289849;\nLAB_002898bd:\n      pcVar4 = (char *)(*pcVar3)(plVar1);\n      if (pcVar4 == (char *)0x0) {\n        return plVar1;\n      }\n    }\n    else {\n      *param_2 = lVar2;\n      if (lVar2 == 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      plVar1[1] = 0;\n      pcVar3 = *(code **)(*plVar1 + 0x10);\n      if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;\nLAB_00289849:\n      pcVar4 = (char *)plVar1[8];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }\n    }\n    if (plVar1[1] != 0) {\n                    \n      FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(long *)(pcVar4 + 0x10) == 0) {\n      *(long **)(pcVar4 + 0x10) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n    else {\n      if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n  }" ({ "{") (if_statement "if (plVar1 == (long *)0x0) {\n      return (long *)0x0;\n    }" (if "if") (parenthesized_expression "(plVar1 == (long *)0x0)" (( "(") (binary_expression "plVar1 == (long *)0x0" (identifier "plVar1") (== "==") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return (long *)0x0;\n    }" ({ "{") (return_statement "return (long *)0x0;" (return "return") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (expression_statement "lVar2 = plVar1[1];" (assignment_expression "lVar2 = plVar1[1]" (identifier "lVar2") (= "=") (subscript_expression "plVar1[1]" (identifier "plVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if ((long *)param_2[1] == plVar1) {\n      if (lVar2 != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      lVar2 = *plVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(lVar2 + 0x10);\n      if (pcVar3 == FUN_0017eaf0) goto LAB_00289849;\nLAB_002898bd:\n      pcVar4 = (char *)(*pcVar3)(plVar1);\n      if (pcVar4 == (char *)0x0) {\n        return plVar1;\n      }\n    }\n    else {\n      *param_2 = lVar2;\n      if (lVar2 == 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      plVar1[1] = 0;\n      pcVar3 = *(code **)(*plVar1 + 0x10);\n      if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;\nLAB_00289849:\n      pcVar4 = (char *)plVar1[8];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }\n    }" (if "if") (parenthesized_expression "((long *)param_2[1] == plVar1)" (( "(") (binary_expression "(long *)param_2[1] == plVar1" (cast_expression "(long *)param_2[1]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (== "==") (identifier "plVar1")) () ")")) (compound_statement "{\n      if (lVar2 != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }\n      lVar2 = *plVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(lVar2 + 0x10);\n      if (pcVar3 == FUN_0017eaf0) goto LAB_00289849;\nLAB_002898bd:\n      pcVar4 = (char *)(*pcVar3)(plVar1);\n      if (pcVar4 == (char *)0x0) {\n        return plVar1;\n      }\n    }" ({ "{") (if_statement "if (lVar2 != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }" (if "if") (parenthesized_expression "(lVar2 != 0)" (( "(") (binary_expression "lVar2 != 0" (identifier "lVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");\n      }" ({ "{") (expression_statement "FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");" (call_expression "FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front")" (identifier "FUN_0017c650") (argument_list "("../../gold/workqueue.cc",0x53,"pop_front")" (( "(") (string_literal ""../../gold/workqueue.cc"" (" """) (string_content "../../gold/workqueue.cc") (" """)) (, ",") (number_literal "0x53") (, ",") (string_literal ""pop_front"" (" """) (string_content "pop_front") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "lVar2 = *plVar1;" (assignment_expression "lVar2 = *plVar1" (identifier "lVar2") (= "=") (pointer_expression "*plVar1" (* "*") (identifier "plVar1"))) (; ";")) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar3 = *(code **)(lVar2 + 0x10);" (assignment_expression "pcVar3 = *(code **)(lVar2 + 0x10)" (identifier "pcVar3") (= "=") (pointer_expression "*(code **)(lVar2 + 0x10)" (* "*") (cast_expression "(code **)(lVar2 + 0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar2 + 0x10)" (( "(") (binary_expression "lVar2 + 0x10" (identifier "lVar2") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (pcVar3 == FUN_0017eaf0) goto LAB_00289849;" (if "if") (parenthesized_expression "(pcVar3 == FUN_0017eaf0)" (( "(") (binary_expression "pcVar3 == FUN_0017eaf0" (identifier "pcVar3") (== "==") (identifier "FUN_0017eaf0")) () ")")) (goto_statement "goto LAB_00289849;" (goto "goto") (statement_identifier "LAB_00289849") (; ";"))) (labeled_statement "LAB_002898bd:\n      pcVar4 = (char *)(*pcVar3)(plVar1);" (statement_identifier "LAB_002898bd") (: ":") (expression_statement "pcVar4 = (char *)(*pcVar3)(plVar1);" (assignment_expression "pcVar4 = (char *)(*pcVar3)(plVar1)" (identifier "pcVar4") (= "=") (cast_expression "(char *)(*pcVar3)(plVar1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*pcVar3)(plVar1)" (parenthesized_expression "(*pcVar3)" (( "(") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) () ")")) (argument_list "(plVar1)" (( "(") (identifier "plVar1") () ")"))))) (; ";"))) (if_statement "if (pcVar4 == (char *)0x0) {\n        return plVar1;\n      }" (if "if") (parenthesized_expression "(pcVar4 == (char *)0x0)" (( "(") (binary_expression "pcVar4 == (char *)0x0" (identifier "pcVar4") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        return plVar1;\n      }" ({ "{") (return_statement "return plVar1;" (return "return") (identifier "plVar1") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      *param_2 = lVar2;\n      if (lVar2 == 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      plVar1[1] = 0;\n      pcVar3 = *(code **)(*plVar1 + 0x10);\n      if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;\nLAB_00289849:\n      pcVar4 = (char *)plVar1[8];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }\n    }" (else "else") (compound_statement "{\n      *param_2 = lVar2;\n      if (lVar2 == 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      plVar1[1] = 0;\n      pcVar3 = *(code **)(*plVar1 + 0x10);\n      if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;\nLAB_00289849:\n      pcVar4 = (char *)plVar1[8];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }\n    }" ({ "{") (expression_statement "*param_2 = lVar2;" (assignment_expression "*param_2 = lVar2" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "lVar2")) (; ";")) (if_statement "if (lVar2 == 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }" (if "if") (parenthesized_expression "(lVar2 == 0)" (( "(") (binary_expression "lVar2 == 0" (identifier "lVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");\n      }" ({ "{") (expression_statement "FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");" (call_expression "FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front")" (identifier "FUN_0017c650") (argument_list "("../../gold/workqueue.cc",0x5a,"pop_front")" (( "(") (string_literal ""../../gold/workqueue.cc"" (" """) (string_content "../../gold/workqueue.cc") (" """)) (, ",") (number_literal "0x5a") (, ",") (string_literal ""pop_front"" (" """) (string_content "pop_front") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "plVar1[1] = 0;" (assignment_expression "plVar1[1] = 0" (subscript_expression "plVar1[1]" (identifier "plVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar3 = *(code **)(*plVar1 + 0x10);" (assignment_expression "pcVar3 = *(code **)(*plVar1 + 0x10)" (identifier "pcVar3") (= "=") (pointer_expression "*(code **)(*plVar1 + 0x10)" (* "*") (cast_expression "(code **)(*plVar1 + 0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar1 + 0x10)" (( "(") (binary_expression "*plVar1 + 0x10" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;" (if "if") (parenthesized_expression "(pcVar3 != FUN_0017eaf0)" (( "(") (binary_expression "pcVar3 != FUN_0017eaf0" (identifier "pcVar3") (!= "!=") (identifier "FUN_0017eaf0")) () ")")) (goto_statement "goto LAB_002898bd;" (goto "goto") (statement_identifier "LAB_002898bd") (; ";"))) (labeled_statement "LAB_00289849:\n      pcVar4 = (char *)plVar1[8];" (statement_identifier "LAB_00289849") (: ":") (expression_statement "pcVar4 = (char *)plVar1[8];" (assignment_expression "pcVar4 = (char *)plVar1[8]" (identifier "pcVar4") (= "=") (cast_expression "(char *)plVar1[8]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "plVar1[8]" (identifier "plVar1") ([ "[") (number_literal "8") (] "]")))) (; ";"))) (if_statement "if (*pcVar4 == '\0') {\n                    \n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }" (if "if") (parenthesized_expression "(*pcVar4 == '\0')" (( "(") (binary_expression "*pcVar4 == '\0'" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n                    \n        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");\n      }" ({ "{") (expression_statement "FUN_0017c650("../../gold/token.h",0xab,"is_blocked");" (call_expression "FUN_0017c650("../../gold/token.h",0xab,"is_blocked")" (identifier "FUN_0017c650") (argument_list "("../../gold/token.h",0xab,"is_blocked")" (( "(") (string_literal ""../../gold/token.h"" (" """) (string_content "../../gold/token.h") (" """)) (, ",") (number_literal "0xab") (, ",") (string_literal ""is_blocked"" (" """) (string_content "is_blocked") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(pcVar4 + 4) < 1) {\n        return plVar1;\n      }" (if "if") (parenthesized_expression "(*(int *)(pcVar4 + 4) < 1)" (( "(") (binary_expression "*(int *)(pcVar4 + 4) < 1" (pointer_expression "*(int *)(pcVar4 + 4)" (* "*") (cast_expression "(int *)(pcVar4 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar4 + 4)" (( "(") (binary_expression "pcVar4 + 4" (identifier "pcVar4") (+ "+") (number_literal "4")) () ")")))) (< "<") (number_literal "1")) () ")")) (compound_statement "{\n        return plVar1;\n      }" ({ "{") (return_statement "return plVar1;" (return "return") (identifier "plVar1") (; ";")) (} "}"))) (} "}")))) (if_statement "if (plVar1[1] != 0) {\n                    \n      FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back");\n    }" (if "if") (parenthesized_expression "(plVar1[1] != 0)" (( "(") (binary_expression "plVar1[1] != 0" (subscript_expression "plVar1[1]" (identifier "plVar1") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back");\n    }" ({ "{") (expression_statement "FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back");" (call_expression "FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back")" (identifier "FUN_0017c650") (argument_list "("../../gold/workqueue.cc",0x29,"push_back")" (( "(") (string_literal ""../../gold/workqueue.cc"" (" """) (string_content "../../gold/workqueue.cc") (" """)) (, ",") (number_literal "0x29") (, ",") (string_literal ""push_back"" (" """) (string_content "push_back") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(long *)(pcVar4 + 0x10) == 0) {\n      *(long **)(pcVar4 + 0x10) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }\n    else {\n      if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }" (if "if") (parenthesized_expression "(*(long *)(pcVar4 + 0x10) == 0)" (( "(") (binary_expression "*(long *)(pcVar4 + 0x10) == 0" (pointer_expression "*(long *)(pcVar4 + 0x10)" (* "*") (cast_expression "(long *)(pcVar4 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar4 + 0x10)" (( "(") (binary_expression "pcVar4 + 0x10" (identifier "pcVar4") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *(long **)(pcVar4 + 0x10) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }" ({ "{") (expression_statement "*(long **)(pcVar4 + 0x10) = plVar1;" (assignment_expression "*(long **)(pcVar4 + 0x10) = plVar1" (pointer_expression "*(long **)(pcVar4 + 0x10)" (* "*") (cast_expression "(long **)(pcVar4 + 0x10)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar4 + 0x10)" (( "(") (binary_expression "pcVar4 + 0x10" (identifier "pcVar4") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "plVar1")) (; ";")) (expression_statement "*(long **)(pcVar4 + 0x18) = plVar1;" (assignment_expression "*(long **)(pcVar4 + 0x18) = plVar1" (pointer_expression "*(long **)(pcVar4 + 0x18)" (* "*") (cast_expression "(long **)(pcVar4 + 0x18)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar4 + 0x18)" (( "(") (binary_expression "pcVar4 + 0x18" (identifier "pcVar4") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "plVar1")) (; ";")) (expression_statement "plVar1 = (long *)*param_2;" (assignment_expression "plVar1 = (long *)*param_2" (identifier "plVar1") (= "=") (cast_expression "(long *)*param_2" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (expression_statement "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;" (assignment_expression "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1" (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x2c) + 1" (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n      if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }" (else "else") (compound_statement "{\n      if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;\n      *(long **)(pcVar4 + 0x18) = plVar1;\n      plVar1 = (long *)*param_2;\n      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    }" ({ "{") (if_statement "if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {\n                    \n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }" (if "if") (parenthesized_expression "(*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0)" (( "(") (binary_expression "*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0" (pointer_expression "*(long *)(*(long *)(pcVar4 + 0x18) + 8)" (* "*") (cast_expression "(long *)(*(long *)(pcVar4 + 0x18) + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(pcVar4 + 0x18) + 8)" (( "(") (binary_expression "*(long *)(pcVar4 + 0x18) + 8" (pointer_expression "*(long *)(pcVar4 + 0x18)" (* "*") (cast_expression "(long *)(pcVar4 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar4 + 0x18)" (( "(") (binary_expression "pcVar4 + 0x18" (identifier "pcVar4") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");\n      }" ({ "{") (expression_statement "FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");" (call_expression "FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next")" (identifier "FUN_0017c650") (argument_list "("../../gold/workqueue.h",0x5a,"set_list_next")" (( "(") (string_literal ""../../gold/workqueue.h"" (" """) (string_content "../../gold/workqueue.h") (" """)) (, ",") (number_literal "0x5a") (, ",") (string_literal ""set_list_next"" (" """) (string_content "set_list_next") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "*(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;" (assignment_expression "*(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1" (pointer_expression "*(long **)(*(long *)(pcVar4 + 0x18) + 8)" (* "*") (cast_expression "(long **)(*(long *)(pcVar4 + 0x18) + 8)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(pcVar4 + 0x18) + 8)" (( "(") (binary_expression "*(long *)(pcVar4 + 0x18) + 8" (pointer_expression "*(long *)(pcVar4 + 0x18)" (* "*") (cast_expression "(long *)(pcVar4 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar4 + 0x18)" (( "(") (binary_expression "pcVar4 + 0x18" (identifier "pcVar4") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "plVar1")) (; ";")) (expression_statement "*(long **)(pcVar4 + 0x18) = plVar1;" (assignment_expression "*(long **)(pcVar4 + 0x18) = plVar1" (pointer_expression "*(long **)(pcVar4 + 0x18)" (* "*") (cast_expression "(long **)(pcVar4 + 0x18)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar4 + 0x18)" (( "(") (binary_expression "pcVar4 + 0x18" (identifier "pcVar4") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "plVar1")) (; ";")) (expression_statement "plVar1 = (long *)*param_2;" (assignment_expression "plVar1 = (long *)*param_2" (identifier "plVar1") (= "=") (cast_expression "(long *)*param_2" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (expression_statement "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;" (assignment_expression "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1" (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x2c) + 1" (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

/* WARNING: Type propagation algorithm not settling */
/* DWARF original prototype: Task * find_runnable_in_list(Workqueue * this, Task_list * tasks) */

type_1 * __thiscall gold::Workqueue::find_runnable_in_list(Workqueue *this,Task_list *tasks)

{
  type_1 *var_1;
  type_2 var_7;
  type_3 **pp_Var3;
  int iVar4;
  type_3 *var_4;
  type_4 extraout_var;
  type_1 *var_2;
  
  var_1 = tasks->head_;
  do {
    if (var_1 == (type_1 *)0x0) {
      return (type_1 *)0x0;
    }
    var_2 = var_1->list_next_;
    if (tasks->tail_ == var_1) {
      if (var_2 != (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
        var_3("../../gold/workqueue.cc",0x53,"pop_front");
      }
      pp_Var3 = var_1->_vptr_Task;
      tasks->head_ = (type_1 *)0x0;
      tasks->tail_ = (type_1 *)0x0;
      var_4 = pp_Var3[2];
      if (var_4 == var_5::is_runnable) goto LAB_00289849;
LAB_002898bd:
      iVar4 = (*var_4)(var_1);
      var_2 = (type_1 *)var_6(extraout_var,iVar4);
      if (var_2 == (type_1 *)0x0) {
        return var_1;
      }
    }
    else {
      tasks->head_ = var_2;
      if (var_2 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
        var_3("../../gold/workqueue.cc",0x5a,"pop_front");
      }
      var_1->list_next_ = (type_1 *)0x0;
      var_4 = var_1->_vptr_Task[2];
      if (var_4 != var_5::is_runnable) goto LAB_002898bd;
LAB_00289849:
      var_2 = var_1[1].list_next_;
      if (*(char *)&var_2->_vptr_Task == '\0') {
                    /* WARNING: Subroutine does not return */
        var_3("../../gold/token.h",0xab,"is_blocked");
      }
      if (*(int *)((long)&var_2->_vptr_Task + 4) < 1) {
        return var_1;
      }
    }
    if (var_1->list_next_ != (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
      var_3("../../gold/workqueue.cc",0x29,"push_back");
    }
    if ((var_2->name_)._M_dataplus._M_p == (type_5)0x0) {
      (var_2->name_)._M_dataplus._M_p = (type_5)var_1;
      (var_2->name_)._M_string_length = (type_2)var_1;
      var_1 = tasks->head_;
      this->waiting_ = this->waiting_ + 1;
    }
    else {
      var_7 = (var_2->name_)._M_string_length;
      if (*(long *)(var_7 + 8) != 0) {
                    /* WARNING: Subroutine does not return */
        var_3("../../gold/workqueue.h",0x5a,"set_list_next");
      }
      *(type_1 **)(var_7 + 8) = var_1;
      (var_2->name_)._M_string_length = (type_2)var_1;
      var_1 = tasks->head_;
      this->waiting_ = this->waiting_ + 1;
    }
  } while( true );
}


(translation_unit (function_definition type: (sized_type_specifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier))) consequence: (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)) (number_literal) (string_literal (string_content))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (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)) (number_literal) (string_literal (string_content))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) 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: (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 (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (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: (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 (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_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: (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))))) alternative: (else_clause (compound_statement (if_statement condition: (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: (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: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (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: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_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: (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)))))))) condition: (parenthesized_expression (true))))))

long * MASKED(long param_1,long *param_2)

{
  long *plVar1;
  long lVar2;
  code *pcVar3;
  char *pcVar4;
  
  plVar1 = (long *)*param_2;
  do {
    if (plVar1 == (long *)0x0) {
      return (long *)0x0;
    }
    lVar2 = plVar1[1];
    if ((long *)param_2[1] == plVar1) {
      if (lVar2 != 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0017c650("../../gold/workqueue.cc",0x53,"pop_front");
      }
      lVar2 = *plVar1;
      *param_2 = 0;
      param_2[1] = 0;
      pcVar3 = *(code **)(lVar2 + 0x10);
      if (pcVar3 == FUN_0017eaf0) goto LAB_00289849;
LAB_002898bd:
      pcVar4 = (char *)(*pcVar3)(plVar1);
      if (pcVar4 == (char *)0x0) {
        return plVar1;
      }
    }
    else {
      *param_2 = lVar2;
      if (lVar2 == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0017c650("../../gold/workqueue.cc",0x5a,"pop_front");
      }
      plVar1[1] = 0;
      pcVar3 = *(code **)(*plVar1 + 0x10);
      if (pcVar3 != FUN_0017eaf0) goto LAB_002898bd;
LAB_00289849:
      pcVar4 = (char *)plVar1[8];
      if (*pcVar4 == '\0') {
                    /* WARNING: Subroutine does not return */
        FUN_0017c650("../../gold/token.h",0xab,"is_blocked");
      }
      if (*(int *)(pcVar4 + 4) < 1) {
        return plVar1;
      }
    }
    if (plVar1[1] != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0017c650("../../gold/workqueue.cc",0x29,"push_back");
    }
    if (*(long *)(pcVar4 + 0x10) == 0) {
      *(long **)(pcVar4 + 0x10) = plVar1;
      *(long **)(pcVar4 + 0x18) = plVar1;
      plVar1 = (long *)*param_2;
      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;
    }
    else {
      if (*(long *)(*(long *)(pcVar4 + 0x18) + 8) != 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0017c650("../../gold/workqueue.h",0x5a,"set_list_next");
      }
      *(long **)(*(long *)(pcVar4 + 0x18) + 8) = plVar1;
      *(long **)(pcVar4 + 0x18) = plVar1;
      plVar1 = (long *)*param_2;
      *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;
    }
  } while( true );
}

