
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* 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;
  _func_int_varargs *p_Var4;
  Task *pTVar5;
  
  pTVar1 = tasks->head_;
  do {
    if (pTVar1 == (Task *)0x0) {
      return (Task *)0x0;
    }
    pTVar5 = pTVar1->list_next_;
    if (tasks->tail_ == pTVar1) {
      if (pTVar5 != (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_Var4 = pp_Var3[2];
      if (p_Var4 == Task_function::is_runnable) goto LAB_00135050;
LAB_001350ae:
      pTVar5 = (Task *)(*p_Var4)(pTVar1);
      if (pTVar5 == (Task *)0x0) {
        return pTVar1;
      }
    }
    else {
      tasks->head_ = pTVar5;
      if (pTVar5 == (Task *)0x0) {
                    /* WARNING: Subroutine does not return */
        do_gold_unreachable("../../gold/workqueue.cc",0x5a,"pop_front");
      }
      pTVar1->list_next_ = (Task *)0x0;
      p_Var4 = pTVar1->_vptr_Task[2];
      if (p_Var4 != Task_function::is_runnable) goto LAB_001350ae;
LAB_00135050:
      pTVar5 = pTVar1[1].list_next_;
      if (*(char *)&pTVar5->_vptr_Task == '\0') {
                    /* WARNING: Subroutine does not return */
        do_gold_unreachable("../../gold/token.h",0xab,"is_blocked");
      }
      if ((int)pTVar5->list_next_ < 1) {
        return pTVar1;
      }
    }
    if (pTVar1->list_next_ != (Task *)0x0) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/workqueue.cc",0x29,"push_back");
    }
    if ((pTVar5->name_)._M_string_length == 0) {
      (pTVar5->name_)._M_string_length = (size_type)pTVar1;
      *(Task **)&(pTVar5->name_).field_2 = pTVar1;
      pTVar1 = tasks->head_;
      this->waiting_ = this->waiting_ + 1;
    }
    else {
      sVar2 = (pTVar5->name_).field_2._M_allocated_capacity;
      if (*(int *)(sVar2 + 4) != 0) {
                    /* WARNING: Subroutine does not return */
        do_gold_unreachable("../../gold/workqueue.h",0x5a,"set_list_next");
      }
      *(Task **)(sVar2 + 4) = pTVar1;
      *(Task **)&(pTVar5->name_).field_2 = pTVar1;
      pTVar1 = tasks->head_;
      this->waiting_ = this->waiting_ + 1;
    }
  } while( true );
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

int * FUN_00134fe0(int param_1,int *param_2)

{
  int *piVar1;
  int iVar2;
  code *pcVar3;
  char *pcVar4;
  
  piVar1 = (int *)*param_2;
  do {
    if (piVar1 == (int *)0x0) {
      return (int *)0x0;
    }
    iVar2 = piVar1[1];
    if ((int *)param_2[1] == piVar1) {
      if (iVar2 != 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);
      }
      iVar2 = *piVar1;
      *param_2 = 0;
      param_2[1] = 0;
      pcVar3 = *(code **)(iVar2 + 8);
      if (pcVar3 == FUN_000617b0) goto LAB_00135050;
LAB_001350ae:
      pcVar4 = (char *)(*pcVar3)(piVar1);
      if (pcVar4 == (char *)0x0) {
        return piVar1;
      }
    }
    else {
      *param_2 = iVar2;
      if (iVar2 == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");
      }
      piVar1[1] = 0;
      pcVar3 = *(code **)(*piVar1 + 8);
      if (pcVar3 != FUN_000617b0) goto LAB_001350ae;
LAB_00135050:
      pcVar4 = (char *)piVar1[10];
      if (*pcVar4 == '\0') {
                    /* WARNING: Subroutine does not return */
        FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");
      }
      if (*(int *)(pcVar4 + 4) < 1) {
        return piVar1;
      }
    }
    if (piVar1[1] != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back");
    }
    if (*(int *)(pcVar4 + 0xc) == 0) {
      *(int **)(pcVar4 + 0xc) = piVar1;
      *(int **)(pcVar4 + 0x10) = piVar1;
      piVar1 = (int *)*param_2;
      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;
    }
    else {
      if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");
      }
      *(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;
      *(int **)(pcVar4 + 0x10) = piVar1;
      piVar1 = (int *)*param_2;
      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;
    }
  } while( true );
}


CALL 0x0004fb76
ADD EAX,0x1cd01b
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
LEA EBX,[EAX + 0xffd5f7b0]
MOV EDI,dword ptr [ESP + 0x34]
MOV EBP,dword ptr [ESP + 0x30]
MOV dword ptr [ESP + 0xc],EAX
MOV ESI,dword ptr [EDI]
TEST ESI,ESI
JNZ 0x0013502e
JMP 0x00135081
MOV ECX,dword ptr [EAX + 0x10]
MOV EDX,dword ptr [ECX + 0x4]
TEST EDX,EDX
JNZ 0x0013511c
MOV dword ptr [ECX + 0x4],ESI
MOV dword ptr [EAX + 0x10],ESI
MOV ESI,dword ptr [EDI]
ADD dword ptr [EBP + 0x18],0x1
TEST ESI,ESI
JZ 0x00135081
MOV EAX,dword ptr [ESI + 0x4]
CMP dword ptr [EDI + 0x4],ESI
JZ 0x00135090
MOV dword ptr [EDI],EAX
TEST EAX,EAX
JZ 0x00135100
MOV EAX,dword ptr [ESI]
MOV dword ptr [ESI + 0x4],0x0
MOV EAX,dword ptr [EAX + 0x8]
CMP EAX,EBX
JNZ 0x001350ae
MOV EAX,dword ptr [ESI + 0x28]
CMP byte ptr [EAX],0x0
JZ 0x001350e1
MOV ECX,dword ptr [EAX + 0x4]
TEST ECX,ECX
JLE 0x00135083
MOV EDX,dword ptr [ESI + 0x4]
TEST EDX,EDX
JNZ 0x001350c5
MOV ECX,dword ptr [EAX + 0xc]
TEST ECX,ECX
JNZ 0x00135010
MOV dword ptr [EAX + 0xc],ESI
MOV dword ptr [EAX + 0x10],ESI
MOV ESI,dword ptr [EDI]
ADD dword ptr [EBP + 0x18],0x1
TEST ESI,ESI
JNZ 0x0013502e
XOR ESI,ESI
ADD ESP,0x1c
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
TEST EAX,EAX
JNZ 0x00135138
MOV EAX,dword ptr [ESI]
MOV dword ptr [EDI],0x0
MOV dword ptr [EDI + 0x4],0x0
MOV EAX,dword ptr [EAX + 0x8]
CMP EAX,EBX
JZ 0x00135050
SUB ESP,0xc
PUSH ESI
CALL EAX
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00135063
ADD ESP,0x1c
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
MOV EBX,dword ptr [ESP + 0x10]
LEA EAX,[EBX + 0xfff2f598]
PUSH EAX
LEA EAX,[EBX + 0xfff2f4ae]
PUSH 0x29
PUSH EAX
CALL 0x0005f0b0
SUB ESP,0x4
MOV EBX,dword ptr [ESP + 0x10]
LEA EAX,[EBX + 0xfff2f5c0]
PUSH EAX
LEA EAX,[EBX + 0xfff185bd]
PUSH 0xab
PUSH EAX
CALL 0x0005f0b0
SUB ESP,0x4
MOV EBX,dword ptr [ESP + 0x10]
LEA EAX,[EBX + 0xfff2f58c]
PUSH EAX
LEA EAX,[EBX + 0xfff2f4ae]
PUSH 0x5a
PUSH EAX
CALL 0x0005f0b0
SUB ESP,0x4
MOV EBX,dword ptr [ESP + 0x10]
LEA EAX,[EBX + 0xfff2f5a4]
PUSH EAX
LEA EAX,[EBX + 0xfff1eea2]
PUSH 0x5a
PUSH EAX
CALL 0x0005f0b0
PUSH EBX
MOV EBX,dword ptr [ESP + 0x10]
LEA EAX,[EBX + 0xfff2f58c]
PUSH EAX
LEA EAX,[EBX + 0xfff2f4ae]
PUSH 0x53
PUSH EAX
CALL 0x0005f0b0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nint * FUN_00134fe0(int param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  code *pcVar3;\n  char *pcVar4;\n  \n  piVar1 = (int *)*param_2;\n  do {\n    if (piVar1 == (int *)0x0) {\n      return (int *)0x0;\n    }\n    iVar2 = piVar1[1];\n    if ((int *)param_2[1] == piVar1) {\n      if (iVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }\n      iVar2 = *piVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(iVar2 + 8);\n      if (pcVar3 == FUN_000617b0) goto LAB_00135050;\nLAB_001350ae:\n      pcVar4 = (char *)(*pcVar3)(piVar1);\n      if (pcVar4 == (char *)0x0) {\n        return piVar1;\n      }\n    }\n    else {\n      *param_2 = iVar2;\n      if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      piVar1[1] = 0;\n      pcVar3 = *(code **)(*piVar1 + 8);\n      if (pcVar3 != FUN_000617b0) goto LAB_001350ae;\nLAB_00135050:\n      pcVar4 = (char *)piVar1[10];\n      if (*pcVar4 == '\0') {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return piVar1;\n      }\n    }\n    if (piVar1[1] != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(int *)(pcVar4 + 0xc) == 0) {\n      *(int **)(pcVar4 + 0xc) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n    else {\n      if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n  } while( true );\n}\n\n" comment (function_definition "int * FUN_00134fe0(int param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  code *pcVar3;\n  char *pcVar4;\n  \n  piVar1 = (int *)*param_2;\n  do {\n    if (piVar1 == (int *)0x0) {\n      return (int *)0x0;\n    }\n    iVar2 = piVar1[1];\n    if ((int *)param_2[1] == piVar1) {\n      if (iVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }\n      iVar2 = *piVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(iVar2 + 8);\n      if (pcVar3 == FUN_000617b0) goto LAB_00135050;\nLAB_001350ae:\n      pcVar4 = (char *)(*pcVar3)(piVar1);\n      if (pcVar4 == (char *)0x0) {\n        return piVar1;\n      }\n    }\n    else {\n      *param_2 = iVar2;\n      if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      piVar1[1] = 0;\n      pcVar3 = *(code **)(*piVar1 + 8);\n      if (pcVar3 != FUN_000617b0) goto LAB_001350ae;\nLAB_00135050:\n      pcVar4 = (char *)piVar1[10];\n      if (*pcVar4 == '\0') {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return piVar1;\n      }\n    }\n    if (piVar1[1] != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(int *)(pcVar4 + 0xc) == 0) {\n      *(int **)(pcVar4 + 0xc) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n    else {\n      if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n  } while( true );\n}" primitive_type (pointer_declarator "* FUN_00134fe0(int param_1,int *param_2)" * (function_declarator "FUN_00134fe0(int param_1,int *param_2)" identifier (parameter_list "(int param_1,int *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  code *pcVar3;\n  char *pcVar4;\n  \n  piVar1 = (int *)*param_2;\n  do {\n    if (piVar1 == (int *)0x0) {\n      return (int *)0x0;\n    }\n    iVar2 = piVar1[1];\n    if ((int *)param_2[1] == piVar1) {\n      if (iVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }\n      iVar2 = *piVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(iVar2 + 8);\n      if (pcVar3 == FUN_000617b0) goto LAB_00135050;\nLAB_001350ae:\n      pcVar4 = (char *)(*pcVar3)(piVar1);\n      if (pcVar4 == (char *)0x0) {\n        return piVar1;\n      }\n    }\n    else {\n      *param_2 = iVar2;\n      if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      piVar1[1] = 0;\n      pcVar3 = *(code **)(*piVar1 + 8);\n      if (pcVar3 != FUN_000617b0) goto LAB_001350ae;\nLAB_00135050:\n      pcVar4 = (char *)piVar1[10];\n      if (*pcVar4 == '\0') {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return piVar1;\n      }\n    }\n    if (piVar1[1] != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(int *)(pcVar4 + 0xc) == 0) {\n      *(int **)(pcVar4 + 0xc) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n    else {\n      if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n  } while( true );\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "piVar1 = (int *)*param_2;" (assignment_expression "piVar1 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (do_statement "do {\n    if (piVar1 == (int *)0x0) {\n      return (int *)0x0;\n    }\n    iVar2 = piVar1[1];\n    if ((int *)param_2[1] == piVar1) {\n      if (iVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }\n      iVar2 = *piVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(iVar2 + 8);\n      if (pcVar3 == FUN_000617b0) goto LAB_00135050;\nLAB_001350ae:\n      pcVar4 = (char *)(*pcVar3)(piVar1);\n      if (pcVar4 == (char *)0x0) {\n        return piVar1;\n      }\n    }\n    else {\n      *param_2 = iVar2;\n      if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      piVar1[1] = 0;\n      pcVar3 = *(code **)(*piVar1 + 8);\n      if (pcVar3 != FUN_000617b0) goto LAB_001350ae;\nLAB_00135050:\n      pcVar4 = (char *)piVar1[10];\n      if (*pcVar4 == '\0') {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return piVar1;\n      }\n    }\n    if (piVar1[1] != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(int *)(pcVar4 + 0xc) == 0) {\n      *(int **)(pcVar4 + 0xc) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n    else {\n      if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n  } while( true );" do (compound_statement "{\n    if (piVar1 == (int *)0x0) {\n      return (int *)0x0;\n    }\n    iVar2 = piVar1[1];\n    if ((int *)param_2[1] == piVar1) {\n      if (iVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }\n      iVar2 = *piVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(iVar2 + 8);\n      if (pcVar3 == FUN_000617b0) goto LAB_00135050;\nLAB_001350ae:\n      pcVar4 = (char *)(*pcVar3)(piVar1);\n      if (pcVar4 == (char *)0x0) {\n        return piVar1;\n      }\n    }\n    else {\n      *param_2 = iVar2;\n      if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      piVar1[1] = 0;\n      pcVar3 = *(code **)(*piVar1 + 8);\n      if (pcVar3 != FUN_000617b0) goto LAB_001350ae;\nLAB_00135050:\n      pcVar4 = (char *)piVar1[10];\n      if (*pcVar4 == '\0') {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return piVar1;\n      }\n    }\n    if (piVar1[1] != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(int *)(pcVar4 + 0xc) == 0) {\n      *(int **)(pcVar4 + 0xc) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n    else {\n      if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n  }" { (if_statement "if (piVar1 == (int *)0x0) {\n      return (int *)0x0;\n    }" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return (int *)0x0;\n    }" { (return_statement "return (int *)0x0;" return (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "iVar2 = piVar1[1];" (assignment_expression "iVar2 = piVar1[1]" identifier = (subscript_expression "piVar1[1]" identifier [ number_literal ])) ;) (if_statement "if ((int *)param_2[1] == piVar1) {\n      if (iVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }\n      iVar2 = *piVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(iVar2 + 8);\n      if (pcVar3 == FUN_000617b0) goto LAB_00135050;\nLAB_001350ae:\n      pcVar4 = (char *)(*pcVar3)(piVar1);\n      if (pcVar4 == (char *)0x0) {\n        return piVar1;\n      }\n    }\n    else {\n      *param_2 = iVar2;\n      if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      piVar1[1] = 0;\n      pcVar3 = *(code **)(*piVar1 + 8);\n      if (pcVar3 != FUN_000617b0) goto LAB_001350ae;\nLAB_00135050:\n      pcVar4 = (char *)piVar1[10];\n      if (*pcVar4 == '\0') {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return piVar1;\n      }\n    }" if (parenthesized_expression "((int *)param_2[1] == piVar1)" ( (binary_expression "(int *)param_2[1] == piVar1" (cast_expression "(int *)param_2[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ])) == identifier) )) (compound_statement "{\n      if (iVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }\n      iVar2 = *piVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(iVar2 + 8);\n      if (pcVar3 == FUN_000617b0) goto LAB_00135050;\nLAB_001350ae:\n      pcVar4 = (char *)(*pcVar3)(piVar1);\n      if (pcVar4 == (char *)0x0) {\n        return piVar1;\n      }\n    }" { (if_statement "if (iVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }" { comment (expression_statement "FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);" (call_expression "FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0)" identifier (argument_list "("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0)" ( (string_literal ""../../gold/workqueue.cc"" " string_content ") , number_literal , (string_literal ""pop_front"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * 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 **)(iVar2 + 8);" (assignment_expression "pcVar3 = *(code **)(iVar2 + 8)" identifier = (pointer_expression "*(code **)(iVar2 + 8)" * (cast_expression "(code **)(iVar2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) ;) (if_statement "if (pcVar3 == FUN_000617b0) goto LAB_00135050;" if (parenthesized_expression "(pcVar3 == FUN_000617b0)" ( (binary_expression "pcVar3 == FUN_000617b0" identifier == identifier) )) (goto_statement "goto LAB_00135050;" goto statement_identifier ;)) (labeled_statement "LAB_001350ae:\n      pcVar4 = (char *)(*pcVar3)(piVar1);" statement_identifier : (expression_statement "pcVar4 = (char *)(*pcVar3)(piVar1);" (assignment_expression "pcVar4 = (char *)(*pcVar3)(piVar1)" identifier = (cast_expression "(char *)(*pcVar3)(piVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar3)(piVar1)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(piVar1)" ( identifier ))))) ;)) (if_statement "if (pcVar4 == (char *)0x0) {\n        return piVar1;\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 piVar1;\n      }" { (return_statement "return piVar1;" return identifier ;) })) }) (else_clause "else {\n      *param_2 = iVar2;\n      if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      piVar1[1] = 0;\n      pcVar3 = *(code **)(*piVar1 + 8);\n      if (pcVar3 != FUN_000617b0) goto LAB_001350ae;\nLAB_00135050:\n      pcVar4 = (char *)piVar1[10];\n      if (*pcVar4 == '\0') {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return piVar1;\n      }\n    }" else (compound_statement "{\n      *param_2 = iVar2;\n      if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      piVar1[1] = 0;\n      pcVar3 = *(code **)(*piVar1 + 8);\n      if (pcVar3 != FUN_000617b0) goto LAB_001350ae;\nLAB_00135050:\n      pcVar4 = (char *)piVar1[10];\n      if (*pcVar4 == '\0') {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return piVar1;\n      }\n    }" { (expression_statement "*param_2 = iVar2;" (assignment_expression "*param_2 = iVar2" (pointer_expression "*param_2" * identifier) = identifier) ;) (if_statement "if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }" { comment (expression_statement "FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");" (call_expression "FUN_0005f0b0("../../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 "piVar1[1] = 0;" (assignment_expression "piVar1[1] = 0" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pcVar3 = *(code **)(*piVar1 + 8);" (assignment_expression "pcVar3 = *(code **)(*piVar1 + 8)" identifier = (pointer_expression "*(code **)(*piVar1 + 8)" * (cast_expression "(code **)(*piVar1 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 8)" ( (binary_expression "*piVar1 + 8" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) ;) (if_statement "if (pcVar3 != FUN_000617b0) goto LAB_001350ae;" if (parenthesized_expression "(pcVar3 != FUN_000617b0)" ( (binary_expression "pcVar3 != FUN_000617b0" identifier != identifier) )) (goto_statement "goto LAB_001350ae;" goto statement_identifier ;)) (labeled_statement "LAB_00135050:\n      pcVar4 = (char *)piVar1[10];" statement_identifier : (expression_statement "pcVar4 = (char *)piVar1[10];" (assignment_expression "pcVar4 = (char *)piVar1[10]" identifier = (cast_expression "(char *)piVar1[10]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[10]" identifier [ number_literal ]))) ;)) (if_statement "if (*pcVar4 == '\0') {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../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_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }" { comment (expression_statement "FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");" (call_expression "FUN_0005f0b0("../../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 piVar1;\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 piVar1;\n      }" { (return_statement "return piVar1;" return identifier ;) })) }))) (if_statement "if (piVar1[1] != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back");\n    }" if (parenthesized_expression "(piVar1[1] != 0)" ( (binary_expression "piVar1[1] != 0" (subscript_expression "piVar1[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back");\n    }" { comment (expression_statement "FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back");" (call_expression "FUN_0005f0b0("../../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 (*(int *)(pcVar4 + 0xc) == 0) {\n      *(int **)(pcVar4 + 0xc) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n    else {\n      if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }" if (parenthesized_expression "(*(int *)(pcVar4 + 0xc) == 0)" ( (binary_expression "*(int *)(pcVar4 + 0xc) == 0" (pointer_expression "*(int *)(pcVar4 + 0xc)" * (cast_expression "(int *)(pcVar4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar4 + 0xc)" ( (binary_expression "pcVar4 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      *(int **)(pcVar4 + 0xc) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }" { (expression_statement "*(int **)(pcVar4 + 0xc) = piVar1;" (assignment_expression "*(int **)(pcVar4 + 0xc) = piVar1" (pointer_expression "*(int **)(pcVar4 + 0xc)" * (cast_expression "(int **)(pcVar4 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar4 + 0xc)" ( (binary_expression "pcVar4 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(pcVar4 + 0x10) = piVar1;" (assignment_expression "*(int **)(pcVar4 + 0x10) = piVar1" (pointer_expression "*(int **)(pcVar4 + 0x10)" * (cast_expression "(int **)(pcVar4 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar4 + 0x10)" ( (binary_expression "pcVar4 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "piVar1 = (int *)*param_2;" (assignment_expression "piVar1 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "*(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;" (assignment_expression "*(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x18) + 1" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + number_literal)) ;) }) (else_clause "else {\n      if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }" else (compound_statement "{\n      if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }" { (if_statement "if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }" if (parenthesized_expression "(*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0)" ( (binary_expression "*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0" (pointer_expression "*(int *)(*(int *)(pcVar4 + 0x10) + 4)" * (cast_expression "(int *)(*(int *)(pcVar4 + 0x10) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar4 + 0x10) + 4)" ( (binary_expression "*(int *)(pcVar4 + 0x10) + 4" (pointer_expression "*(int *)(pcVar4 + 0x10)" * (cast_expression "(int *)(pcVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar4 + 0x10)" ( (binary_expression "pcVar4 + 0x10" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }" { comment (expression_statement "FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");" (call_expression "FUN_0005f0b0("../../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 "*(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;" (assignment_expression "*(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1" (pointer_expression "*(int **)(*(int *)(pcVar4 + 0x10) + 4)" * (cast_expression "(int **)(*(int *)(pcVar4 + 0x10) + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(pcVar4 + 0x10) + 4)" ( (binary_expression "*(int *)(pcVar4 + 0x10) + 4" (pointer_expression "*(int *)(pcVar4 + 0x10)" * (cast_expression "(int *)(pcVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar4 + 0x10)" ( (binary_expression "pcVar4 + 0x10" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(pcVar4 + 0x10) = piVar1;" (assignment_expression "*(int **)(pcVar4 + 0x10) = piVar1" (pointer_expression "*(int **)(pcVar4 + 0x10)" * (cast_expression "(int **)(pcVar4 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar4 + 0x10)" ( (binary_expression "pcVar4 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "piVar1 = (int *)*param_2;" (assignment_expression "piVar1 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "*(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;" (assignment_expression "*(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x18) + 1" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + number_literal)) ;) }))) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\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  _func_int_varargs *p_Var4;\n  Task *pTVar5;\n  \n  pTVar1 = tasks->head_;\n  do {\n    if (pTVar1 == (Task *)0x0) {\n      return (Task *)0x0;\n    }\n    pTVar5 = pTVar1->list_next_;\n    if (tasks->tail_ == pTVar1) {\n      if (pTVar5 != (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_Var4 = pp_Var3[2];\n      if (p_Var4 == Task_function::is_runnable) goto LAB_00135050;\nLAB_001350ae:\n      pTVar5 = (Task *)(*p_Var4)(pTVar1);\n      if (pTVar5 == (Task *)0x0) {\n        return pTVar1;\n      }\n    }\n    else {\n      tasks->head_ = pTVar5;\n      if (pTVar5 == (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_Var4 = pTVar1->_vptr_Task[2];\n      if (p_Var4 != Task_function::is_runnable) goto LAB_001350ae;\nLAB_00135050:\n      pTVar5 = pTVar1[1].list_next_;\n      if (*(char *)&pTVar5->_vptr_Task == '\0') {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0xab,"is_blocked");\n      }\n      if ((int)pTVar5->list_next_ < 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 ((pTVar5->name_)._M_string_length == 0) {\n      (pTVar5->name_)._M_string_length = (size_type)pTVar1;\n      *(Task **)&(pTVar5->name_).field_2 = pTVar1;\n      pTVar1 = tasks->head_;\n      this->waiting_ = this->waiting_ + 1;\n    }\n    else {\n      sVar2 = (pTVar5->name_).field_2._M_allocated_capacity;\n      if (*(int *)(sVar2 + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(Task **)(sVar2 + 4) = pTVar1;\n      *(Task **)&(pTVar5->name_).field_2 = 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  _func_int_varargs *p_Var4;\n  Task *pTVar5;\n  \n  pTVar1 = tasks->head_;\n  do {\n    if (pTVar1 == (Task *)0x0) {\n      return (Task *)0x0;\n    }\n    pTVar5 = pTVar1->list_next_;\n    if (tasks->tail_ == pTVar1) {\n      if (pTVar5 != (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_Var4 = pp_Var3[2];\n      if (p_Var4 == Task_function::is_runnable) goto LAB_00135050;\nLAB_001350ae:\n      pTVar5 = (Task *)(*p_Var4)(pTVar1);\n      if (pTVar5 == (Task *)0x0) {\n        return pTVar1;\n      }\n    }\n    else {\n      tasks->head_ = pTVar5;\n      if (pTVar5 == (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_Var4 = pTVar1->_vptr_Task[2];\n      if (p_Var4 != Task_function::is_runnable) goto LAB_001350ae;\nLAB_00135050:\n      pTVar5 = pTVar1[1].list_next_;\n      if (*(char *)&pTVar5->_vptr_Task == '\0') {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0xab,"is_blocked");\n      }\n      if ((int)pTVar5->list_next_ < 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 ((pTVar5->name_)._M_string_length == 0) {\n      (pTVar5->name_)._M_string_length = (size_type)pTVar1;\n      *(Task **)&(pTVar5->name_).field_2 = pTVar1;\n      pTVar1 = tasks->head_;\n      this->waiting_ = this->waiting_ + 1;\n    }\n    else {\n      sVar2 = (pTVar5->name_).field_2._M_allocated_capacity;\n      if (*(int *)(sVar2 + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(Task **)(sVar2 + 4) = pTVar1;\n      *(Task **)&(pTVar5->name_).field_2 = 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 "_func_int_varargs *p_Var4;" type_identifier (pointer_declarator "*p_Var4" * identifier) ;) (declaration "Task *pTVar5;" type_identifier (pointer_declarator "*pTVar5" * 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    pTVar5 = pTVar1->list_next_;\n    if (tasks->tail_ == pTVar1) {\n      if (pTVar5 != (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_Var4 = pp_Var3[2];\n      if (p_Var4 == Task_function::is_runnable) goto LAB_00135050;\nLAB_001350ae:\n      pTVar5 = (Task *)(*p_Var4)(pTVar1);\n      if (pTVar5 == (Task *)0x0) {\n        return pTVar1;\n      }\n    }\n    else {\n      tasks->head_ = pTVar5;\n      if (pTVar5 == (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_Var4 = pTVar1->_vptr_Task[2];\n      if (p_Var4 != Task_function::is_runnable) goto LAB_001350ae;\nLAB_00135050:\n      pTVar5 = pTVar1[1].list_next_;\n      if (*(char *)&pTVar5->_vptr_Task == '\0') {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0xab,"is_blocked");\n      }\n      if ((int)pTVar5->list_next_ < 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 ((pTVar5->name_)._M_string_length == 0) {\n      (pTVar5->name_)._M_string_length = (size_type)pTVar1;\n      *(Task **)&(pTVar5->name_).field_2 = pTVar1;\n      pTVar1 = tasks->head_;\n      this->waiting_ = this->waiting_ + 1;\n    }\n    else {\n      sVar2 = (pTVar5->name_).field_2._M_allocated_capacity;\n      if (*(int *)(sVar2 + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(Task **)(sVar2 + 4) = pTVar1;\n      *(Task **)&(pTVar5->name_).field_2 = 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    pTVar5 = pTVar1->list_next_;\n    if (tasks->tail_ == pTVar1) {\n      if (pTVar5 != (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_Var4 = pp_Var3[2];\n      if (p_Var4 == Task_function::is_runnable) goto LAB_00135050;\nLAB_001350ae:\n      pTVar5 = (Task *)(*p_Var4)(pTVar1);\n      if (pTVar5 == (Task *)0x0) {\n        return pTVar1;\n      }\n    }\n    else {\n      tasks->head_ = pTVar5;\n      if (pTVar5 == (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_Var4 = pTVar1->_vptr_Task[2];\n      if (p_Var4 != Task_function::is_runnable) goto LAB_001350ae;\nLAB_00135050:\n      pTVar5 = pTVar1[1].list_next_;\n      if (*(char *)&pTVar5->_vptr_Task == '\0') {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0xab,"is_blocked");\n      }\n      if ((int)pTVar5->list_next_ < 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 ((pTVar5->name_)._M_string_length == 0) {\n      (pTVar5->name_)._M_string_length = (size_type)pTVar1;\n      *(Task **)&(pTVar5->name_).field_2 = pTVar1;\n      pTVar1 = tasks->head_;\n      this->waiting_ = this->waiting_ + 1;\n    }\n    else {\n      sVar2 = (pTVar5->name_).field_2._M_allocated_capacity;\n      if (*(int *)(sVar2 + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(Task **)(sVar2 + 4) = pTVar1;\n      *(Task **)&(pTVar5->name_).field_2 = 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 "pTVar5 = pTVar1->list_next_;" (assignment_expression "pTVar5 = pTVar1->list_next_" identifier = (field_expression "pTVar1->list_next_" identifier -> field_identifier)) ;) (if_statement "if (tasks->tail_ == pTVar1) {\n      if (pTVar5 != (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_Var4 = pp_Var3[2];\n      if (p_Var4 == Task_function::is_runnable) goto LAB_00135050;\nLAB_001350ae:\n      pTVar5 = (Task *)(*p_Var4)(pTVar1);\n      if (pTVar5 == (Task *)0x0) {\n        return pTVar1;\n      }\n    }\n    else {\n      tasks->head_ = pTVar5;\n      if (pTVar5 == (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_Var4 = pTVar1->_vptr_Task[2];\n      if (p_Var4 != Task_function::is_runnable) goto LAB_001350ae;\nLAB_00135050:\n      pTVar5 = pTVar1[1].list_next_;\n      if (*(char *)&pTVar5->_vptr_Task == '\0') {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0xab,"is_blocked");\n      }\n      if ((int)pTVar5->list_next_ < 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 (pTVar5 != (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_Var4 = pp_Var3[2];\n      if (p_Var4 == Task_function::is_runnable) goto LAB_00135050;\nLAB_001350ae:\n      pTVar5 = (Task *)(*p_Var4)(pTVar1);\n      if (pTVar5 == (Task *)0x0) {\n        return pTVar1;\n      }\n    }" { (if_statement "if (pTVar5 != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.cc",0x53,"pop_front");\n      }" if (parenthesized_expression "(pTVar5 != (Task *)0x0)" ( (binary_expression "pTVar5 != (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_Var4 = pp_Var3[2];" (assignment_expression "p_Var4 = pp_Var3[2]" identifier = (subscript_expression "pp_Var3[2]" identifier [ number_literal ])) ;) (if_statement "if (p_Var4 == Task_function::is_runnable) goto LAB_00135050;" if (parenthesized_expression "(p_Var4 == Task_function::is_runnable)" ( (binary_expression "p_Var4 == Task_function" identifier == identifier) (ERROR "::is_runnable" : : identifier) )) (goto_statement "goto LAB_00135050;" goto statement_identifier ;)) (labeled_statement "LAB_001350ae:\n      pTVar5 = (Task *)(*p_Var4)(pTVar1);" statement_identifier : (expression_statement "pTVar5 = (Task *)(*p_Var4)(pTVar1);" (assignment_expression "pTVar5 = (Task *)(*p_Var4)(pTVar1)" identifier = (cast_expression "(Task *)(*p_Var4)(pTVar1)" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*p_Var4)(pTVar1)" (parenthesized_expression "(*p_Var4)" ( (pointer_expression "*p_Var4" * identifier) )) (argument_list "(pTVar1)" ( identifier ))))) ;)) (if_statement "if (pTVar5 == (Task *)0x0) {\n        return pTVar1;\n      }" if (parenthesized_expression "(pTVar5 == (Task *)0x0)" ( (binary_expression "pTVar5 == (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_ = pTVar5;\n      if (pTVar5 == (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_Var4 = pTVar1->_vptr_Task[2];\n      if (p_Var4 != Task_function::is_runnable) goto LAB_001350ae;\nLAB_00135050:\n      pTVar5 = pTVar1[1].list_next_;\n      if (*(char *)&pTVar5->_vptr_Task == '\0') {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0xab,"is_blocked");\n      }\n      if ((int)pTVar5->list_next_ < 1) {\n        return pTVar1;\n      }\n    }" else (compound_statement "{\n      tasks->head_ = pTVar5;\n      if (pTVar5 == (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_Var4 = pTVar1->_vptr_Task[2];\n      if (p_Var4 != Task_function::is_runnable) goto LAB_001350ae;\nLAB_00135050:\n      pTVar5 = pTVar1[1].list_next_;\n      if (*(char *)&pTVar5->_vptr_Task == '\0') {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0xab,"is_blocked");\n      }\n      if ((int)pTVar5->list_next_ < 1) {\n        return pTVar1;\n      }\n    }" { (expression_statement "tasks->head_ = pTVar5;" (assignment_expression "tasks->head_ = pTVar5" (field_expression "tasks->head_" identifier -> field_identifier) = identifier) ;) (if_statement "if (pTVar5 == (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.cc",0x5a,"pop_front");\n      }" if (parenthesized_expression "(pTVar5 == (Task *)0x0)" ( (binary_expression "pTVar5 == (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_Var4 = pTVar1->_vptr_Task[2];" (assignment_expression "p_Var4 = 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_Var4 != Task_function::is_runnable) goto LAB_001350ae;" if (parenthesized_expression "(p_Var4 != Task_function::is_runnable)" ( (binary_expression "p_Var4 != Task_function" identifier != identifier) (ERROR "::is_runnable" : : identifier) )) (goto_statement "goto LAB_001350ae;" goto statement_identifier ;)) (labeled_statement "LAB_00135050:\n      pTVar5 = pTVar1[1].list_next_;" statement_identifier : (expression_statement "pTVar5 = pTVar1[1].list_next_;" (assignment_expression "pTVar5 = pTVar1[1].list_next_" identifier = (field_expression "pTVar1[1].list_next_" (subscript_expression "pTVar1[1]" identifier [ number_literal ]) . field_identifier)) ;)) (if_statement "if (*(char *)&pTVar5->_vptr_Task == '\0') {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0xab,"is_blocked");\n      }" if (parenthesized_expression "(*(char *)&pTVar5->_vptr_Task == '\0')" ( (binary_expression "*(char *)&pTVar5->_vptr_Task == '\0'" (pointer_expression "*(char *)&pTVar5->_vptr_Task" * (cast_expression "(char *)&pTVar5->_vptr_Task" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pTVar5->_vptr_Task" & (field_expression "pTVar5->_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)pTVar5->list_next_ < 1) {\n        return pTVar1;\n      }" if (parenthesized_expression "((int)pTVar5->list_next_ < 1)" ( (binary_expression "(int)pTVar5->list_next_ < 1" (cast_expression "(int)pTVar5->list_next_" ( (type_descriptor "int" primitive_type) ) (field_expression "pTVar5->list_next_" identifier -> field_identifier)) < 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 ((pTVar5->name_)._M_string_length == 0) {\n      (pTVar5->name_)._M_string_length = (size_type)pTVar1;\n      *(Task **)&(pTVar5->name_).field_2 = pTVar1;\n      pTVar1 = tasks->head_;\n      this->waiting_ = this->waiting_ + 1;\n    }\n    else {\n      sVar2 = (pTVar5->name_).field_2._M_allocated_capacity;\n      if (*(int *)(sVar2 + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(Task **)(sVar2 + 4) = pTVar1;\n      *(Task **)&(pTVar5->name_).field_2 = pTVar1;\n      pTVar1 = tasks->head_;\n      this->waiting_ = this->waiting_ + 1;\n    }" if (parenthesized_expression "((pTVar5->name_)._M_string_length == 0)" ( (binary_expression "(pTVar5->name_)._M_string_length == 0" (field_expression "(pTVar5->name_)._M_string_length" (parenthesized_expression "(pTVar5->name_)" ( (field_expression "pTVar5->name_" identifier -> field_identifier) )) . field_identifier) == number_literal) )) (compound_statement "{\n      (pTVar5->name_)._M_string_length = (size_type)pTVar1;\n      *(Task **)&(pTVar5->name_).field_2 = pTVar1;\n      pTVar1 = tasks->head_;\n      this->waiting_ = this->waiting_ + 1;\n    }" { (expression_statement "(pTVar5->name_)._M_string_length = (size_type)pTVar1;" (assignment_expression "(pTVar5->name_)._M_string_length = (size_type)pTVar1" (field_expression "(pTVar5->name_)._M_string_length" (parenthesized_expression "(pTVar5->name_)" ( (field_expression "pTVar5->name_" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(size_type)pTVar1" ( (type_descriptor "size_type" type_identifier) ) identifier)) ;) (expression_statement "*(Task **)&(pTVar5->name_).field_2 = pTVar1;" (assignment_expression "*(Task **)&(pTVar5->name_).field_2 = pTVar1" (pointer_expression "*(Task **)&(pTVar5->name_).field_2" * (cast_expression "(Task **)&(pTVar5->name_).field_2" ( (type_descriptor "Task **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&(pTVar5->name_).field_2" & (field_expression "(pTVar5->name_).field_2" (parenthesized_expression "(pTVar5->name_)" ( (field_expression "pTVar5->name_" identifier -> field_identifier) )) . field_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 = (pTVar5->name_).field_2._M_allocated_capacity;\n      if (*(int *)(sVar2 + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(Task **)(sVar2 + 4) = pTVar1;\n      *(Task **)&(pTVar5->name_).field_2 = pTVar1;\n      pTVar1 = tasks->head_;\n      this->waiting_ = this->waiting_ + 1;\n    }" else (compound_statement "{\n      sVar2 = (pTVar5->name_).field_2._M_allocated_capacity;\n      if (*(int *)(sVar2 + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(Task **)(sVar2 + 4) = pTVar1;\n      *(Task **)&(pTVar5->name_).field_2 = pTVar1;\n      pTVar1 = tasks->head_;\n      this->waiting_ = this->waiting_ + 1;\n    }" { (expression_statement "sVar2 = (pTVar5->name_).field_2._M_allocated_capacity;" (assignment_expression "sVar2 = (pTVar5->name_).field_2._M_allocated_capacity" identifier = (field_expression "(pTVar5->name_).field_2._M_allocated_capacity" (field_expression "(pTVar5->name_).field_2" (parenthesized_expression "(pTVar5->name_)" ( (field_expression "pTVar5->name_" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (if_statement "if (*(int *)(sVar2 + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/workqueue.h",0x5a,"set_list_next");\n      }" if (parenthesized_expression "(*(int *)(sVar2 + 4) != 0)" ( (binary_expression "*(int *)(sVar2 + 4) != 0" (pointer_expression "*(int *)(sVar2 + 4)" * (cast_expression "(int *)(sVar2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(sVar2 + 4)" ( (binary_expression "sVar2 + 4" 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 + 4) = pTVar1;" (assignment_expression "*(Task **)(sVar2 + 4) = pTVar1" (pointer_expression "*(Task **)(sVar2 + 4)" * (cast_expression "(Task **)(sVar2 + 4)" ( (type_descriptor "Task **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(sVar2 + 4)" ( (binary_expression "sVar2 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(Task **)&(pTVar5->name_).field_2 = pTVar1;" (assignment_expression "*(Task **)&(pTVar5->name_).field_2 = pTVar1" (pointer_expression "*(Task **)&(pTVar5->name_).field_2" * (cast_expression "(Task **)&(pTVar5->name_).field_2" ( (type_descriptor "Task **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&(pTVar5->name_).field_2" & (field_expression "(pTVar5->name_).field_2" (parenthesized_expression "(pTVar5->name_)" ( (field_expression "pTVar5->name_" identifier -> field_identifier) )) . field_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 "int * FUN_00134fe0(int param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  code *pcVar3;\n  char *pcVar4;\n  \n  piVar1 = (int *)*param_2;\n  do {\n    if (piVar1 == (int *)0x0) {\n      return (int *)0x0;\n    }\n    iVar2 = piVar1[1];\n    if ((int *)param_2[1] == piVar1) {\n      if (iVar2 != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }\n      iVar2 = *piVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(iVar2 + 8);\n      if (pcVar3 == FUN_000617b0) goto LAB_00135050;\nLAB_001350ae:\n      pcVar4 = (char *)(*pcVar3)(piVar1);\n      if (pcVar4 == (char *)0x0) {\n        return piVar1;\n      }\n    }\n    else {\n      *param_2 = iVar2;\n      if (iVar2 == 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      piVar1[1] = 0;\n      pcVar3 = *(code **)(*piVar1 + 8);\n      if (pcVar3 != FUN_000617b0) goto LAB_001350ae;\nLAB_00135050:\n      pcVar4 = (char *)piVar1[10];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return piVar1;\n      }\n    }\n    if (piVar1[1] != 0) {\n                    \n      FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(int *)(pcVar4 + 0xc) == 0) {\n      *(int **)(pcVar4 + 0xc) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n    else {\n      if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n  } while( true );\n}\n\n" (function_definition "int * FUN_00134fe0(int param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  code *pcVar3;\n  char *pcVar4;\n  \n  piVar1 = (int *)*param_2;\n  do {\n    if (piVar1 == (int *)0x0) {\n      return (int *)0x0;\n    }\n    iVar2 = piVar1[1];\n    if ((int *)param_2[1] == piVar1) {\n      if (iVar2 != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }\n      iVar2 = *piVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(iVar2 + 8);\n      if (pcVar3 == FUN_000617b0) goto LAB_00135050;\nLAB_001350ae:\n      pcVar4 = (char *)(*pcVar3)(piVar1);\n      if (pcVar4 == (char *)0x0) {\n        return piVar1;\n      }\n    }\n    else {\n      *param_2 = iVar2;\n      if (iVar2 == 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      piVar1[1] = 0;\n      pcVar3 = *(code **)(*piVar1 + 8);\n      if (pcVar3 != FUN_000617b0) goto LAB_001350ae;\nLAB_00135050:\n      pcVar4 = (char *)piVar1[10];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return piVar1;\n      }\n    }\n    if (piVar1[1] != 0) {\n                    \n      FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(int *)(pcVar4 + 0xc) == 0) {\n      *(int **)(pcVar4 + 0xc) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n    else {\n      if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n  } while( true );\n}" primitive_type (pointer_declarator "* FUN_00134fe0(int param_1,int *param_2)" * (function_declarator "FUN_00134fe0(int param_1,int *param_2)" identifier (parameter_list "(int param_1,int *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  code *pcVar3;\n  char *pcVar4;\n  \n  piVar1 = (int *)*param_2;\n  do {\n    if (piVar1 == (int *)0x0) {\n      return (int *)0x0;\n    }\n    iVar2 = piVar1[1];\n    if ((int *)param_2[1] == piVar1) {\n      if (iVar2 != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }\n      iVar2 = *piVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(iVar2 + 8);\n      if (pcVar3 == FUN_000617b0) goto LAB_00135050;\nLAB_001350ae:\n      pcVar4 = (char *)(*pcVar3)(piVar1);\n      if (pcVar4 == (char *)0x0) {\n        return piVar1;\n      }\n    }\n    else {\n      *param_2 = iVar2;\n      if (iVar2 == 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      piVar1[1] = 0;\n      pcVar3 = *(code **)(*piVar1 + 8);\n      if (pcVar3 != FUN_000617b0) goto LAB_001350ae;\nLAB_00135050:\n      pcVar4 = (char *)piVar1[10];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return piVar1;\n      }\n    }\n    if (piVar1[1] != 0) {\n                    \n      FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(int *)(pcVar4 + 0xc) == 0) {\n      *(int **)(pcVar4 + 0xc) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n    else {\n      if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n  } while( true );\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "piVar1 = (int *)*param_2;" (assignment_expression "piVar1 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (do_statement "do {\n    if (piVar1 == (int *)0x0) {\n      return (int *)0x0;\n    }\n    iVar2 = piVar1[1];\n    if ((int *)param_2[1] == piVar1) {\n      if (iVar2 != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }\n      iVar2 = *piVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(iVar2 + 8);\n      if (pcVar3 == FUN_000617b0) goto LAB_00135050;\nLAB_001350ae:\n      pcVar4 = (char *)(*pcVar3)(piVar1);\n      if (pcVar4 == (char *)0x0) {\n        return piVar1;\n      }\n    }\n    else {\n      *param_2 = iVar2;\n      if (iVar2 == 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      piVar1[1] = 0;\n      pcVar3 = *(code **)(*piVar1 + 8);\n      if (pcVar3 != FUN_000617b0) goto LAB_001350ae;\nLAB_00135050:\n      pcVar4 = (char *)piVar1[10];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return piVar1;\n      }\n    }\n    if (piVar1[1] != 0) {\n                    \n      FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(int *)(pcVar4 + 0xc) == 0) {\n      *(int **)(pcVar4 + 0xc) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n    else {\n      if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n  } while( true );" do (compound_statement "{\n    if (piVar1 == (int *)0x0) {\n      return (int *)0x0;\n    }\n    iVar2 = piVar1[1];\n    if ((int *)param_2[1] == piVar1) {\n      if (iVar2 != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }\n      iVar2 = *piVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(iVar2 + 8);\n      if (pcVar3 == FUN_000617b0) goto LAB_00135050;\nLAB_001350ae:\n      pcVar4 = (char *)(*pcVar3)(piVar1);\n      if (pcVar4 == (char *)0x0) {\n        return piVar1;\n      }\n    }\n    else {\n      *param_2 = iVar2;\n      if (iVar2 == 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      piVar1[1] = 0;\n      pcVar3 = *(code **)(*piVar1 + 8);\n      if (pcVar3 != FUN_000617b0) goto LAB_001350ae;\nLAB_00135050:\n      pcVar4 = (char *)piVar1[10];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return piVar1;\n      }\n    }\n    if (piVar1[1] != 0) {\n                    \n      FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(int *)(pcVar4 + 0xc) == 0) {\n      *(int **)(pcVar4 + 0xc) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n    else {\n      if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n  }" { (if_statement "if (piVar1 == (int *)0x0) {\n      return (int *)0x0;\n    }" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return (int *)0x0;\n    }" { (return_statement "return (int *)0x0;" return (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "iVar2 = piVar1[1];" (assignment_expression "iVar2 = piVar1[1]" identifier = (subscript_expression "piVar1[1]" identifier [ number_literal ])) ;) (if_statement "if ((int *)param_2[1] == piVar1) {\n      if (iVar2 != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }\n      iVar2 = *piVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(iVar2 + 8);\n      if (pcVar3 == FUN_000617b0) goto LAB_00135050;\nLAB_001350ae:\n      pcVar4 = (char *)(*pcVar3)(piVar1);\n      if (pcVar4 == (char *)0x0) {\n        return piVar1;\n      }\n    }\n    else {\n      *param_2 = iVar2;\n      if (iVar2 == 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      piVar1[1] = 0;\n      pcVar3 = *(code **)(*piVar1 + 8);\n      if (pcVar3 != FUN_000617b0) goto LAB_001350ae;\nLAB_00135050:\n      pcVar4 = (char *)piVar1[10];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return piVar1;\n      }\n    }" if (parenthesized_expression "((int *)param_2[1] == piVar1)" ( (binary_expression "(int *)param_2[1] == piVar1" (cast_expression "(int *)param_2[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ])) == identifier) )) (compound_statement "{\n      if (iVar2 != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }\n      iVar2 = *piVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(iVar2 + 8);\n      if (pcVar3 == FUN_000617b0) goto LAB_00135050;\nLAB_001350ae:\n      pcVar4 = (char *)(*pcVar3)(piVar1);\n      if (pcVar4 == (char *)0x0) {\n        return piVar1;\n      }\n    }" { (if_statement "if (iVar2 != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }" { (expression_statement "FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);" (call_expression "FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0)" identifier (argument_list "("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0)" ( (string_literal ""../../gold/workqueue.cc"" " string_content ") , number_literal , (string_literal ""pop_front"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * 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 **)(iVar2 + 8);" (assignment_expression "pcVar3 = *(code **)(iVar2 + 8)" identifier = (pointer_expression "*(code **)(iVar2 + 8)" * (cast_expression "(code **)(iVar2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) ;) (if_statement "if (pcVar3 == FUN_000617b0) goto LAB_00135050;" if (parenthesized_expression "(pcVar3 == FUN_000617b0)" ( (binary_expression "pcVar3 == FUN_000617b0" identifier == identifier) )) (goto_statement "goto LAB_00135050;" goto statement_identifier ;)) (labeled_statement "LAB_001350ae:\n      pcVar4 = (char *)(*pcVar3)(piVar1);" statement_identifier : (expression_statement "pcVar4 = (char *)(*pcVar3)(piVar1);" (assignment_expression "pcVar4 = (char *)(*pcVar3)(piVar1)" identifier = (cast_expression "(char *)(*pcVar3)(piVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar3)(piVar1)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(piVar1)" ( identifier ))))) ;)) (if_statement "if (pcVar4 == (char *)0x0) {\n        return piVar1;\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 piVar1;\n      }" { (return_statement "return piVar1;" return identifier ;) })) }) (else_clause "else {\n      *param_2 = iVar2;\n      if (iVar2 == 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      piVar1[1] = 0;\n      pcVar3 = *(code **)(*piVar1 + 8);\n      if (pcVar3 != FUN_000617b0) goto LAB_001350ae;\nLAB_00135050:\n      pcVar4 = (char *)piVar1[10];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return piVar1;\n      }\n    }" else (compound_statement "{\n      *param_2 = iVar2;\n      if (iVar2 == 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      piVar1[1] = 0;\n      pcVar3 = *(code **)(*piVar1 + 8);\n      if (pcVar3 != FUN_000617b0) goto LAB_001350ae;\nLAB_00135050:\n      pcVar4 = (char *)piVar1[10];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return piVar1;\n      }\n    }" { (expression_statement "*param_2 = iVar2;" (assignment_expression "*param_2 = iVar2" (pointer_expression "*param_2" * identifier) = identifier) ;) (if_statement "if (iVar2 == 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }" { (expression_statement "FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");" (call_expression "FUN_0005f0b0("../../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 "piVar1[1] = 0;" (assignment_expression "piVar1[1] = 0" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pcVar3 = *(code **)(*piVar1 + 8);" (assignment_expression "pcVar3 = *(code **)(*piVar1 + 8)" identifier = (pointer_expression "*(code **)(*piVar1 + 8)" * (cast_expression "(code **)(*piVar1 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 8)" ( (binary_expression "*piVar1 + 8" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) ;) (if_statement "if (pcVar3 != FUN_000617b0) goto LAB_001350ae;" if (parenthesized_expression "(pcVar3 != FUN_000617b0)" ( (binary_expression "pcVar3 != FUN_000617b0" identifier != identifier) )) (goto_statement "goto LAB_001350ae;" goto statement_identifier ;)) (labeled_statement "LAB_00135050:\n      pcVar4 = (char *)piVar1[10];" statement_identifier : (expression_statement "pcVar4 = (char *)piVar1[10];" (assignment_expression "pcVar4 = (char *)piVar1[10]" identifier = (cast_expression "(char *)piVar1[10]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[10]" identifier [ number_literal ]))) ;)) (if_statement "if (*pcVar4 == '\0') {\n                    \n        FUN_0005f0b0("../../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_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }" { (expression_statement "FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");" (call_expression "FUN_0005f0b0("../../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 piVar1;\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 piVar1;\n      }" { (return_statement "return piVar1;" return identifier ;) })) }))) (if_statement "if (piVar1[1] != 0) {\n                    \n      FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back");\n    }" if (parenthesized_expression "(piVar1[1] != 0)" ( (binary_expression "piVar1[1] != 0" (subscript_expression "piVar1[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                    \n      FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back");\n    }" { (expression_statement "FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back");" (call_expression "FUN_0005f0b0("../../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 (*(int *)(pcVar4 + 0xc) == 0) {\n      *(int **)(pcVar4 + 0xc) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n    else {\n      if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }" if (parenthesized_expression "(*(int *)(pcVar4 + 0xc) == 0)" ( (binary_expression "*(int *)(pcVar4 + 0xc) == 0" (pointer_expression "*(int *)(pcVar4 + 0xc)" * (cast_expression "(int *)(pcVar4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar4 + 0xc)" ( (binary_expression "pcVar4 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      *(int **)(pcVar4 + 0xc) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }" { (expression_statement "*(int **)(pcVar4 + 0xc) = piVar1;" (assignment_expression "*(int **)(pcVar4 + 0xc) = piVar1" (pointer_expression "*(int **)(pcVar4 + 0xc)" * (cast_expression "(int **)(pcVar4 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar4 + 0xc)" ( (binary_expression "pcVar4 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(pcVar4 + 0x10) = piVar1;" (assignment_expression "*(int **)(pcVar4 + 0x10) = piVar1" (pointer_expression "*(int **)(pcVar4 + 0x10)" * (cast_expression "(int **)(pcVar4 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar4 + 0x10)" ( (binary_expression "pcVar4 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "piVar1 = (int *)*param_2;" (assignment_expression "piVar1 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "*(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;" (assignment_expression "*(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x18) + 1" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + number_literal)) ;) }) (else_clause "else {\n      if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }" else (compound_statement "{\n      if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }" { (if_statement "if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }" if (parenthesized_expression "(*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0)" ( (binary_expression "*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0" (pointer_expression "*(int *)(*(int *)(pcVar4 + 0x10) + 4)" * (cast_expression "(int *)(*(int *)(pcVar4 + 0x10) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar4 + 0x10) + 4)" ( (binary_expression "*(int *)(pcVar4 + 0x10) + 4" (pointer_expression "*(int *)(pcVar4 + 0x10)" * (cast_expression "(int *)(pcVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar4 + 0x10)" ( (binary_expression "pcVar4 + 0x10" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n                    \n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }" { (expression_statement "FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");" (call_expression "FUN_0005f0b0("../../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 "*(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;" (assignment_expression "*(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1" (pointer_expression "*(int **)(*(int *)(pcVar4 + 0x10) + 4)" * (cast_expression "(int **)(*(int *)(pcVar4 + 0x10) + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(pcVar4 + 0x10) + 4)" ( (binary_expression "*(int *)(pcVar4 + 0x10) + 4" (pointer_expression "*(int *)(pcVar4 + 0x10)" * (cast_expression "(int *)(pcVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar4 + 0x10)" ( (binary_expression "pcVar4 + 0x10" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(pcVar4 + 0x10) = piVar1;" (assignment_expression "*(int **)(pcVar4 + 0x10) = piVar1" (pointer_expression "*(int **)(pcVar4 + 0x10)" * (cast_expression "(int **)(pcVar4 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar4 + 0x10)" ( (binary_expression "pcVar4 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "piVar1 = (int *)*param_2;" (assignment_expression "piVar1 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "*(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;" (assignment_expression "*(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x18) + 1" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + number_literal)) ;) }))) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (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 ") , IDENT ))) ;) })) (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 TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (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 TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (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 TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (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 "int * FUN_00134fe0(int param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  code *pcVar3;\n  char *pcVar4;\n  \n  piVar1 = (int *)*param_2;\n  do {\n    if (piVar1 == (int *)0x0) {\n      return (int *)0x0;\n    }\n    iVar2 = piVar1[1];\n    if ((int *)param_2[1] == piVar1) {\n      if (iVar2 != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }\n      iVar2 = *piVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(iVar2 + 8);\n      if (pcVar3 == FUN_000617b0) goto LAB_00135050;\nLAB_001350ae:\n      pcVar4 = (char *)(*pcVar3)(piVar1);\n      if (pcVar4 == (char *)0x0) {\n        return piVar1;\n      }\n    }\n    else {\n      *param_2 = iVar2;\n      if (iVar2 == 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      piVar1[1] = 0;\n      pcVar3 = *(code **)(*piVar1 + 8);\n      if (pcVar3 != FUN_000617b0) goto LAB_001350ae;\nLAB_00135050:\n      pcVar4 = (char *)piVar1[10];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return piVar1;\n      }\n    }\n    if (piVar1[1] != 0) {\n                    \n      FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(int *)(pcVar4 + 0xc) == 0) {\n      *(int **)(pcVar4 + 0xc) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n    else {\n      if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n  } while( true );\n}" (primitive_type "int") (pointer_declarator "* FUN_00134fe0(int param_1,int *param_2)" (* "*") (function_declarator "FUN_00134fe0(int param_1,int *param_2)" (identifier "FUN_00134fe0") (parameter_list "(int param_1,int *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")")))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  code *pcVar3;\n  char *pcVar4;\n  \n  piVar1 = (int *)*param_2;\n  do {\n    if (piVar1 == (int *)0x0) {\n      return (int *)0x0;\n    }\n    iVar2 = piVar1[1];\n    if ((int *)param_2[1] == piVar1) {\n      if (iVar2 != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }\n      iVar2 = *piVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(iVar2 + 8);\n      if (pcVar3 == FUN_000617b0) goto LAB_00135050;\nLAB_001350ae:\n      pcVar4 = (char *)(*pcVar3)(piVar1);\n      if (pcVar4 == (char *)0x0) {\n        return piVar1;\n      }\n    }\n    else {\n      *param_2 = iVar2;\n      if (iVar2 == 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      piVar1[1] = 0;\n      pcVar3 = *(code **)(*piVar1 + 8);\n      if (pcVar3 != FUN_000617b0) goto LAB_001350ae;\nLAB_00135050:\n      pcVar4 = (char *)piVar1[10];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return piVar1;\n      }\n    }\n    if (piVar1[1] != 0) {\n                    \n      FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(int *)(pcVar4 + 0xc) == 0) {\n      *(int **)(pcVar4 + 0xc) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n    else {\n      if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n  } while( true );\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "code *pcVar3;" (type_identifier "code") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (expression_statement "piVar1 = (int *)*param_2;" (assignment_expression "piVar1 = (int *)*param_2" (identifier "piVar1") (= "=") (cast_expression "(int *)*param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (do_statement "do {\n    if (piVar1 == (int *)0x0) {\n      return (int *)0x0;\n    }\n    iVar2 = piVar1[1];\n    if ((int *)param_2[1] == piVar1) {\n      if (iVar2 != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }\n      iVar2 = *piVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(iVar2 + 8);\n      if (pcVar3 == FUN_000617b0) goto LAB_00135050;\nLAB_001350ae:\n      pcVar4 = (char *)(*pcVar3)(piVar1);\n      if (pcVar4 == (char *)0x0) {\n        return piVar1;\n      }\n    }\n    else {\n      *param_2 = iVar2;\n      if (iVar2 == 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      piVar1[1] = 0;\n      pcVar3 = *(code **)(*piVar1 + 8);\n      if (pcVar3 != FUN_000617b0) goto LAB_001350ae;\nLAB_00135050:\n      pcVar4 = (char *)piVar1[10];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return piVar1;\n      }\n    }\n    if (piVar1[1] != 0) {\n                    \n      FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(int *)(pcVar4 + 0xc) == 0) {\n      *(int **)(pcVar4 + 0xc) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n    else {\n      if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n  } while( true );" (do "do") (compound_statement "{\n    if (piVar1 == (int *)0x0) {\n      return (int *)0x0;\n    }\n    iVar2 = piVar1[1];\n    if ((int *)param_2[1] == piVar1) {\n      if (iVar2 != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }\n      iVar2 = *piVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(iVar2 + 8);\n      if (pcVar3 == FUN_000617b0) goto LAB_00135050;\nLAB_001350ae:\n      pcVar4 = (char *)(*pcVar3)(piVar1);\n      if (pcVar4 == (char *)0x0) {\n        return piVar1;\n      }\n    }\n    else {\n      *param_2 = iVar2;\n      if (iVar2 == 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      piVar1[1] = 0;\n      pcVar3 = *(code **)(*piVar1 + 8);\n      if (pcVar3 != FUN_000617b0) goto LAB_001350ae;\nLAB_00135050:\n      pcVar4 = (char *)piVar1[10];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return piVar1;\n      }\n    }\n    if (piVar1[1] != 0) {\n                    \n      FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back");\n    }\n    if (*(int *)(pcVar4 + 0xc) == 0) {\n      *(int **)(pcVar4 + 0xc) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n    else {\n      if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n  }" ({ "{") (if_statement "if (piVar1 == (int *)0x0) {\n      return (int *)0x0;\n    }" (if "if") (parenthesized_expression "(piVar1 == (int *)0x0)" (( "(") (binary_expression "piVar1 == (int *)0x0" (identifier "piVar1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return (int *)0x0;\n    }" ({ "{") (return_statement "return (int *)0x0;" (return "return") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (expression_statement "iVar2 = piVar1[1];" (assignment_expression "iVar2 = piVar1[1]" (identifier "iVar2") (= "=") (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if ((int *)param_2[1] == piVar1) {\n      if (iVar2 != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }\n      iVar2 = *piVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(iVar2 + 8);\n      if (pcVar3 == FUN_000617b0) goto LAB_00135050;\nLAB_001350ae:\n      pcVar4 = (char *)(*pcVar3)(piVar1);\n      if (pcVar4 == (char *)0x0) {\n        return piVar1;\n      }\n    }\n    else {\n      *param_2 = iVar2;\n      if (iVar2 == 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      piVar1[1] = 0;\n      pcVar3 = *(code **)(*piVar1 + 8);\n      if (pcVar3 != FUN_000617b0) goto LAB_001350ae;\nLAB_00135050:\n      pcVar4 = (char *)piVar1[10];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return piVar1;\n      }\n    }" (if "if") (parenthesized_expression "((int *)param_2[1] == piVar1)" (( "(") (binary_expression "(int *)param_2[1] == piVar1" (cast_expression "(int *)param_2[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (== "==") (identifier "piVar1")) () ")")) (compound_statement "{\n      if (iVar2 != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }\n      iVar2 = *piVar1;\n      *param_2 = 0;\n      param_2[1] = 0;\n      pcVar3 = *(code **)(iVar2 + 8);\n      if (pcVar3 == FUN_000617b0) goto LAB_00135050;\nLAB_001350ae:\n      pcVar4 = (char *)(*pcVar3)(piVar1);\n      if (pcVar4 == (char *)0x0) {\n        return piVar1;\n      }\n    }" ({ "{") (if_statement "if (iVar2 != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);\n      }" ({ "{") (expression_statement "FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);" (call_expression "FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0)" (identifier "FUN_0005f0b0") (argument_list "("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0)" (( "(") (string_literal ""../../gold/workqueue.cc"" (" """) (string_content "../../gold/workqueue.cc") (" """)) (, ",") (number_literal "0x53") (, ",") (string_literal ""pop_front"" (" """) (string_content "pop_front") (" """)) (, ",") (identifier "FUN_000617b0") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" (identifier "iVar2") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (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 **)(iVar2 + 8);" (assignment_expression "pcVar3 = *(code **)(iVar2 + 8)" (identifier "pcVar3") (= "=") (pointer_expression "*(code **)(iVar2 + 8)" (* "*") (cast_expression "(code **)(iVar2 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (pcVar3 == FUN_000617b0) goto LAB_00135050;" (if "if") (parenthesized_expression "(pcVar3 == FUN_000617b0)" (( "(") (binary_expression "pcVar3 == FUN_000617b0" (identifier "pcVar3") (== "==") (identifier "FUN_000617b0")) () ")")) (goto_statement "goto LAB_00135050;" (goto "goto") (statement_identifier "LAB_00135050") (; ";"))) (labeled_statement "LAB_001350ae:\n      pcVar4 = (char *)(*pcVar3)(piVar1);" (statement_identifier "LAB_001350ae") (: ":") (expression_statement "pcVar4 = (char *)(*pcVar3)(piVar1);" (assignment_expression "pcVar4 = (char *)(*pcVar3)(piVar1)" (identifier "pcVar4") (= "=") (cast_expression "(char *)(*pcVar3)(piVar1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*pcVar3)(piVar1)" (parenthesized_expression "(*pcVar3)" (( "(") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) () ")")) (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")"))))) (; ";"))) (if_statement "if (pcVar4 == (char *)0x0) {\n        return piVar1;\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 piVar1;\n      }" ({ "{") (return_statement "return piVar1;" (return "return") (identifier "piVar1") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      *param_2 = iVar2;\n      if (iVar2 == 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      piVar1[1] = 0;\n      pcVar3 = *(code **)(*piVar1 + 8);\n      if (pcVar3 != FUN_000617b0) goto LAB_001350ae;\nLAB_00135050:\n      pcVar4 = (char *)piVar1[10];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return piVar1;\n      }\n    }" (else "else") (compound_statement "{\n      *param_2 = iVar2;\n      if (iVar2 == 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }\n      piVar1[1] = 0;\n      pcVar3 = *(code **)(*piVar1 + 8);\n      if (pcVar3 != FUN_000617b0) goto LAB_001350ae;\nLAB_00135050:\n      pcVar4 = (char *)piVar1[10];\n      if (*pcVar4 == '\0') {\n                    \n        FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }\n      if (*(int *)(pcVar4 + 4) < 1) {\n        return piVar1;\n      }\n    }" ({ "{") (expression_statement "*param_2 = iVar2;" (assignment_expression "*param_2 = iVar2" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "iVar2")) (; ";")) (if_statement "if (iVar2 == 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");\n      }" ({ "{") (expression_statement "FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");" (call_expression "FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front")" (identifier "FUN_0005f0b0") (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 "piVar1[1] = 0;" (assignment_expression "piVar1[1] = 0" (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar3 = *(code **)(*piVar1 + 8);" (assignment_expression "pcVar3 = *(code **)(*piVar1 + 8)" (identifier "pcVar3") (= "=") (pointer_expression "*(code **)(*piVar1 + 8)" (* "*") (cast_expression "(code **)(*piVar1 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 8)" (( "(") (binary_expression "*piVar1 + 8" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (pcVar3 != FUN_000617b0) goto LAB_001350ae;" (if "if") (parenthesized_expression "(pcVar3 != FUN_000617b0)" (( "(") (binary_expression "pcVar3 != FUN_000617b0" (identifier "pcVar3") (!= "!=") (identifier "FUN_000617b0")) () ")")) (goto_statement "goto LAB_001350ae;" (goto "goto") (statement_identifier "LAB_001350ae") (; ";"))) (labeled_statement "LAB_00135050:\n      pcVar4 = (char *)piVar1[10];" (statement_identifier "LAB_00135050") (: ":") (expression_statement "pcVar4 = (char *)piVar1[10];" (assignment_expression "pcVar4 = (char *)piVar1[10]" (identifier "pcVar4") (= "=") (cast_expression "(char *)piVar1[10]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[10]" (identifier "piVar1") ([ "[") (number_literal "10") (] "]")))) (; ";"))) (if_statement "if (*pcVar4 == '\0') {\n                    \n        FUN_0005f0b0("../../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_0005f0b0("../../gold/token.h",0xab,"is_blocked");\n      }" ({ "{") (expression_statement "FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");" (call_expression "FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked")" (identifier "FUN_0005f0b0") (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 piVar1;\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 piVar1;\n      }" ({ "{") (return_statement "return piVar1;" (return "return") (identifier "piVar1") (; ";")) (} "}"))) (} "}")))) (if_statement "if (piVar1[1] != 0) {\n                    \n      FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back");\n    }" (if "if") (parenthesized_expression "(piVar1[1] != 0)" (( "(") (binary_expression "piVar1[1] != 0" (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back");\n    }" ({ "{") (expression_statement "FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back");" (call_expression "FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back")" (identifier "FUN_0005f0b0") (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 (*(int *)(pcVar4 + 0xc) == 0) {\n      *(int **)(pcVar4 + 0xc) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }\n    else {\n      if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }" (if "if") (parenthesized_expression "(*(int *)(pcVar4 + 0xc) == 0)" (( "(") (binary_expression "*(int *)(pcVar4 + 0xc) == 0" (pointer_expression "*(int *)(pcVar4 + 0xc)" (* "*") (cast_expression "(int *)(pcVar4 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar4 + 0xc)" (( "(") (binary_expression "pcVar4 + 0xc" (identifier "pcVar4") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *(int **)(pcVar4 + 0xc) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }" ({ "{") (expression_statement "*(int **)(pcVar4 + 0xc) = piVar1;" (assignment_expression "*(int **)(pcVar4 + 0xc) = piVar1" (pointer_expression "*(int **)(pcVar4 + 0xc)" (* "*") (cast_expression "(int **)(pcVar4 + 0xc)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar4 + 0xc)" (( "(") (binary_expression "pcVar4 + 0xc" (identifier "pcVar4") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "piVar1")) (; ";")) (expression_statement "*(int **)(pcVar4 + 0x10) = piVar1;" (assignment_expression "*(int **)(pcVar4 + 0x10) = piVar1" (pointer_expression "*(int **)(pcVar4 + 0x10)" (* "*") (cast_expression "(int **)(pcVar4 + 0x10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar4 + 0x10)" (( "(") (binary_expression "pcVar4 + 0x10" (identifier "pcVar4") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "piVar1")) (; ";")) (expression_statement "piVar1 = (int *)*param_2;" (assignment_expression "piVar1 = (int *)*param_2" (identifier "piVar1") (= "=") (cast_expression "(int *)*param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (expression_statement "*(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;" (assignment_expression "*(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x18) + 1" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n      if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }" (else "else") (compound_statement "{\n      if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }\n      *(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;\n      *(int **)(pcVar4 + 0x10) = piVar1;\n      piVar1 = (int *)*param_2;\n      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;\n    }" ({ "{") (if_statement "if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {\n                    \n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }" (if "if") (parenthesized_expression "(*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0)" (( "(") (binary_expression "*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0" (pointer_expression "*(int *)(*(int *)(pcVar4 + 0x10) + 4)" (* "*") (cast_expression "(int *)(*(int *)(pcVar4 + 0x10) + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar4 + 0x10) + 4)" (( "(") (binary_expression "*(int *)(pcVar4 + 0x10) + 4" (pointer_expression "*(int *)(pcVar4 + 0x10)" (* "*") (cast_expression "(int *)(pcVar4 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar4 + 0x10)" (( "(") (binary_expression "pcVar4 + 0x10" (identifier "pcVar4") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");\n      }" ({ "{") (expression_statement "FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");" (call_expression "FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next")" (identifier "FUN_0005f0b0") (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 "*(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;" (assignment_expression "*(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1" (pointer_expression "*(int **)(*(int *)(pcVar4 + 0x10) + 4)" (* "*") (cast_expression "(int **)(*(int *)(pcVar4 + 0x10) + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(pcVar4 + 0x10) + 4)" (( "(") (binary_expression "*(int *)(pcVar4 + 0x10) + 4" (pointer_expression "*(int *)(pcVar4 + 0x10)" (* "*") (cast_expression "(int *)(pcVar4 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar4 + 0x10)" (( "(") (binary_expression "pcVar4 + 0x10" (identifier "pcVar4") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "piVar1")) (; ";")) (expression_statement "*(int **)(pcVar4 + 0x10) = piVar1;" (assignment_expression "*(int **)(pcVar4 + 0x10) = piVar1" (pointer_expression "*(int **)(pcVar4 + 0x10)" (* "*") (cast_expression "(int **)(pcVar4 + 0x10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar4 + 0x10)" (( "(") (binary_expression "pcVar4 + 0x10" (identifier "pcVar4") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "piVar1")) (; ";")) (expression_statement "piVar1 = (int *)*param_2;" (assignment_expression "piVar1 = (int *)*param_2" (identifier "piVar1") (= "=") (cast_expression "(int *)*param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (expression_statement "*(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;" (assignment_expression "*(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x18) + 1" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* 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_6;
  type_3 **pp_Var3;
  type_3 *var_4;
  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_00135050;
LAB_001350ae:
      var_2 = (type_1 *)(*var_4)(var_1);
      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_001350ae;
LAB_00135050:
      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)var_2->list_next_ < 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_string_length == 0) {
      (var_2->name_)._M_string_length = (type_2)var_1;
      *(type_1 **)&(var_2->name_).field_2 = var_1;
      var_1 = tasks->head_;
      this->waiting_ = this->waiting_ + 1;
    }
    else {
      var_6 = (var_2->name_).field_2._M_allocated_capacity;
      if (*(int *)(var_6 + 4) != 0) {
                    /* WARNING: Subroutine does not return */
        var_3("../../gold/workqueue.h",0x5a,"set_list_next");
      }
      *(type_1 **)(var_6 + 4) = var_1;
      *(type_1 **)&(var_2->name_).field_2 = var_1;
      var_1 = tasks->head_;
      this->waiting_ = this->waiting_ + 1;
    }
  } while( true );
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) 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: (primitive_type) 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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement (cast_expression type: (type_descriptor type: (primitive_type) 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: (primitive_type) 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)) (identifier)))))) (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: (primitive_type) 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: (primitive_type) 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: (primitive_type) 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: (primitive_type) 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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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))))) 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: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (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))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) 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: (primitive_type) 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))))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

int * MASKED(int param_1,int *param_2)

{
  int *piVar1;
  int iVar2;
  code *pcVar3;
  char *pcVar4;
  
  piVar1 = (int *)*param_2;
  do {
    if (piVar1 == (int *)0x0) {
      return (int *)0x0;
    }
    iVar2 = piVar1[1];
    if ((int *)param_2[1] == piVar1) {
      if (iVar2 != 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0005f0b0("../../gold/workqueue.cc",0x53,"pop_front",FUN_000617b0);
      }
      iVar2 = *piVar1;
      *param_2 = 0;
      param_2[1] = 0;
      pcVar3 = *(code **)(iVar2 + 8);
      if (pcVar3 == FUN_000617b0) goto LAB_00135050;
LAB_001350ae:
      pcVar4 = (char *)(*pcVar3)(piVar1);
      if (pcVar4 == (char *)0x0) {
        return piVar1;
      }
    }
    else {
      *param_2 = iVar2;
      if (iVar2 == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0005f0b0("../../gold/workqueue.cc",0x5a,"pop_front");
      }
      piVar1[1] = 0;
      pcVar3 = *(code **)(*piVar1 + 8);
      if (pcVar3 != FUN_000617b0) goto LAB_001350ae;
LAB_00135050:
      pcVar4 = (char *)piVar1[10];
      if (*pcVar4 == '\0') {
                    /* WARNING: Subroutine does not return */
        FUN_0005f0b0("../../gold/token.h",0xab,"is_blocked");
      }
      if (*(int *)(pcVar4 + 4) < 1) {
        return piVar1;
      }
    }
    if (piVar1[1] != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0005f0b0("../../gold/workqueue.cc",0x29,"push_back");
    }
    if (*(int *)(pcVar4 + 0xc) == 0) {
      *(int **)(pcVar4 + 0xc) = piVar1;
      *(int **)(pcVar4 + 0x10) = piVar1;
      piVar1 = (int *)*param_2;
      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;
    }
    else {
      if (*(int *)(*(int *)(pcVar4 + 0x10) + 4) != 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0005f0b0("../../gold/workqueue.h",0x5a,"set_list_next");
      }
      *(int **)(*(int *)(pcVar4 + 0x10) + 4) = piVar1;
      *(int **)(pcVar4 + 0x10) = piVar1;
      piVar1 = (int *)*param_2;
      *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + 1;
    }
  } while( true );
}

