// File: /workspace/github_cpp_makefile_star2_O3/gchen98[P]macs/algorithm.cpp
// Function: GraphBuilder::invokeRecombination(GeneConversion*&)
void GraphBuilder::invokeRecombination(GeneConversionPtr & geneConversionPtr){
    double dSplitPoint=0.0;
    double dRandomSpot = pRandNumGenerator->unifRV() * dLastTreeLength;
    EdgePtr selectedXoverEdge = getRandomEdgeOnTree(dSplitPoint,dRandomSpot);
    xOverNode = NodePtr(new Node(Node::XOVER,
    selectedXoverEdge->getBottomNodeRef()->getPopulation(),dSplitPoint));
    // save old edge if gene conversion
    if (this->bBeginGeneConversion) geneConversionPtr->xOverNode = xOverNode;

    if(pConfig->bDebug){
         cerr<<"Adding xover point at "<<dSplitPoint<<
        " for edge "<<selectedXoverEdge->getBottomNodeRef()->getHeight()<<
        " to "<<selectedXoverEdge->getTopNodeRef()->getHeight()<<
        " of population "<<selectedXoverEdge->getBottomNodeRef()->getPopulation()<<endl;
    }
    EventPtr pXoverEventWrapper = EventPtr(new XoverEvent
    (Event::XOVER,dSplitPoint,xOverNode->getPopulation()));
    // insert the xover node at the selected edge
    insertNodeInEdge(xOverNode,selectedXoverEdge);

    // mark the edge above the xover.  this is the old coalescing line to prune.
    // set up a coalescing line that is visible to the
    // event building method
    NodePtr nodeAboveXover = NodePtr(new Node
    (Node::QUERY,xOverNode->getPopulation(),Node::MAX_HEIGHT));
    coalescingEdge = EdgePtr(new Edge(nodeAboveXover,xOverNode));
    nodeAboveXover->addNewEdge(Node::BOTTOM_EDGE,coalescingEdge);
    xOverNode->addNewEdge(Node::TOP_EDGE,coalescingEdge);
    // similarly, set up a line that runs straight up from the grandMRCA
    // in case migration events need to be inserted above the grandMRCA.
    NodePtr nodeAboveOrigin = NodePtr(new Node
    (Node::QUERY,grandMRCA->getPopulation(),Node::MAX_HEIGHT));
    originExtension = EdgePtr(new Edge(nodeAboveOrigin,grandMRCA));
    nodeAboveOrigin->addNewEdge(Node::BOTTOM_EDGE,originExtension);
    grandMRCA->addNewEdge(Node::TOP_EDGE,originExtension);
    // now initialize the parameters that will be sent to the event traversal routine
    EventPtr newCoalEvent;
    // Traverse the events to find the proper coalescent waiting time.
    if (pConfig->bDebug){
      cerr<<"Calling traverse events\n";
    }
    traverseEvents(true,xOverNode,newCoalEvent);
    if (pConfig->bDebug){
      cerr<<"Traverse events completed successfully\n";
    }
    dSplitPoint = newCoalEvent->getTime();
    bool bNewOrigin = false;
    EdgePtr selectedCoalEdge;
    if (dSplitPoint<this->grandMRCA->getHeight()){
        if(pConfig->bDebug) cerr<<"Coalescing at height "<<dSplitPoint<<endl;
        try{
            selectedCoalEdge = getRandomEdgeToCoalesce(
            coalescingEdge,dSplitPoint);
        }catch(unsigned int numEdges){
            printDataStructures();
            throw
             "Didn't find an edge to coalesce with, exiting\n";
        }
    }else{
        bNewOrigin = true;
    }
    NodePtr coalNode;
    // save the previous grand MRCA
    NodePtr oldGrandMRCA = grandMRCA;
    // discard the grandMRCA extending edge above the grandMRCA
    grandMRCA = originExtension->getBottomNodeRef();
    grandMRCA->clearTopEdges();
    if (bNewOrigin){
        coalNode = NodePtr(new Node(Node::COAL,
        grandMRCA->getPopulation(),dSplitPoint));
        if(pConfig->bDebug) cerr<<"Creating new grand ancestor at "<<
        coalNode->getHeight()<<endl;
        #ifdef DIAG
        if (grandMRCA->getPopulation()!=coalNode->getPopulation()){
            throw "Old grandMRCA and new grandMRCA don't match in pop\n";
        }
        #endif
        EdgePtr shortEdge = EdgePtr(new Edge(coalNode,grandMRCA));
        shortEdge->iGraphIteration=iGraphIteration;
        addEdge(shortEdge);
        grandMRCA->addNewEdge(Node::TOP_EDGE,shortEdge);
        grandMRCA = coalNode;
        grandMRCA->addNewEdge(Node::BOTTOM_EDGE,shortEdge);
    }else{
        coalNode = NodePtr(new Node(
        Node::COAL,coalescingEdge->getBottomNodeRef()->getPopulation(),
        dSplitPoint));
        insertNodeInEdge(coalNode,selectedCoalEdge);
    }
    // set the variable proposed grandMRCA so that marking current tree can reach at least this
    // height
    localMRCA = coalNode;
    coalNode->setEvent(newCoalEvent);
    EdgePtr coalEdgeCopy = coalescingEdge;
    coalescingEdge = EdgePtr(new Edge(coalNode,coalescingEdge->getBottomNodeRef()));
    coalescingEdge->iGraphIteration = coalEdgeCopy->iGraphIteration;
    coalescingEdge->getBottomNodeRef()->replaceOldWithNewEdge(Node::TOP_EDGE,
    coalEdgeCopy,coalescingEdge);
    coalescingEdge->getTopNodeRef()->addNewEdge(Node::BOTTOM_EDGE,
    coalescingEdge);
    addEdge(coalescingEdge);
    coalescingEdge->iGraphIteration=iGraphIteration;
    EdgePtr edgeBelowXover = xOverNode->getBottomEdgeByIndex(0);
    markEdgesBelow(edgeBelowXover);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x90(%rsp), %r15
movq $0x0, (%r15)
movq (%rdi), %rax
movq (%rax), %rdi
callq 0x10d90
mulsd 0x30(%r14), %xmm0
leaq 0x70(%rsp), %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x9aac
movl $0x78, %edi
callq 0x3260
movq %rax, %r12
movq 0x70(%rsp), %rax
testq %rax, %rax
je 0xb380
movq 0x20(%rax), %rax
testq %rax, %rax
je 0xb361
movswl 0x62(%rax), %edx
movsd 0x90(%rsp), %xmm0
movq %r12, %rdi
movl $0x1, %esi
movsd %xmm0, 0x18(%rsp)
callq 0x1224a
incq 0x8(%r12)
movq 0x48(%r14), %rdi
movq %r12, 0x48(%r14)
testq %rdi, %rdi
je 0xaa23
decq 0x8(%rdi)
jne 0xaa23
movq (%rdi), %rax
callq *0x8(%rax)
leaq 0x48(%r14), %r12
cmpb $0x1, 0xf8(%r14)
jne 0xaa40
movq (%rbx), %rdi
addq $0x10, %rdi
movq %r12, %rsi
callq 0x10770
movq 0x8(%r14), %rax
cmpb $0x1, 0x48(%rax)
jne 0xab5e
movq 0x1559b(%rip), %rdi     # 0x1fff0
leaq 0xe2f4(%rip), %rsi      # 0x18d50
movl $0x16, %edx
callq 0x32a0
movq 0x15583(%rip), %rdi     # 0x1fff0
movsd 0x18(%rsp), %xmm0
callq 0x3360
movq %rax, %rbx
leaq 0xe2e5(%rip), %rsi      # 0x18d67
movl $0xa, %edx
movq %rax, %rdi
callq 0x32a0
movq 0x70(%rsp), %rax
testq %rax, %rax
je 0xb380
movq 0x20(%rax), %rax
testq %rax, %rax
je 0xb361
movsd 0x70(%rax), %xmm0
movq %rbx, %rdi
callq 0x3360
movq %rax, %rbx
leaq 0xd5cf(%rip), %rsi      # 0x18090
movl $0x4, %edx
movq %rax, %rdi
callq 0x32a0
movq 0x70(%rsp), %rax
testq %rax, %rax
je 0xb380
movq 0x18(%rax), %rax
testq %rax, %rax
je 0xb361
movsd 0x70(%rax), %xmm0
movq %rbx, %rdi
callq 0x3360
movq %rax, %rbx
leaq 0xe272(%rip), %rsi      # 0x18d72
movl $0xf, %edx
movq %rax, %rdi
callq 0x32a0
movq 0x70(%rsp), %rax
testq %rax, %rax
je 0xb380
movq 0x20(%rax), %rax
testq %rax, %rax
je 0xb361
movswl 0x62(%rax), %esi
movq %rbx, %rdi
callq 0x3210
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3240
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31b0
movl $0x28, %edi
callq 0x3260
movq %rax, %rbx
movq (%r12), %rax
testq %rax, %rax
je 0xb361
movswl 0x62(%rax), %edx
movq %rbx, %rdi
movl $0x5, %esi
movsd 0x18(%rsp), %xmm0
callq 0x12482
incq 0x8(%rbx)
leaq 0x70(%rsp), %rdx
movq %r14, %rdi
movq %r12, %rsi
movq %rbx, 0x68(%rsp)
callq 0x13ec0
movl $0x78, %edi
callq 0x3260
movq %rax, %r13
movq (%r12), %rax
testq %rax, %rax
je 0xb361
movswl 0x62(%rax), %edx
leaq 0xc4eb(%rip), %rax      # 0x170b8
movsd (%rax), %xmm0
movq %r13, %rdi
movl $0x4, %esi
movsd %xmm0, 0x18(%rsp)
callq 0x1224a
movq %r13, 0x60(%rsp)
incq 0x8(%r13)
movl $0x30, %edi
callq 0x3260
movq %rax, %r13
leaq 0x60(%rsp), %rsi
movq %rax, %rdi
movq %r12, %rdx
callq 0x11eb4
leaq 0x40(%rsp), %rdi
movq %r13, %rsi
callq 0x1079c
leaq 0x28(%rsp), %rdi
leaq 0x48(%rsp), %r15
movapd -0x8(%r15), %xmm0
xorps %xmm1, %xmm1
movaps %xmm1, -0x8(%r15)
movupd 0x78(%r14), %xmm1
movupd %xmm0, 0x78(%r14)
movapd %xmm1, -0x8(%rdi)
callq 0x10d5e
movq %r15, %rdi
callq 0x10d5e
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0xb361
leaq 0x78(%r14), %r15
movl $0x1, %esi
movq %r15, %rdx
callq 0x1202e
movq (%r12), %rdi
testq %rdi, %rdi
je 0xb361
xorl %esi, %esi
movq %r15, %rdx
callq 0x1202e
movl $0x78, %edi
callq 0x3260
movq %rax, %r13
movq 0x38(%r14), %rax
testq %rax, %rax
je 0xb361
movswl 0x62(%rax), %edx
movq %r13, %rdi
movl $0x4, %esi
movsd 0x18(%rsp), %xmm0
callq 0x1224a
movq %r13, 0x58(%rsp)
incq 0x8(%r13)
movl $0x30, %edi
callq 0x3260
movq %rax, %rbp
leaq 0x38(%r14), %r13
leaq 0x58(%rsp), %rsi
movq %rax, %rdi
movq %r13, %rdx
callq 0x11eb4
leaq 0x40(%rsp), %rdi
movq %rbp, %rsi
callq 0x1079c
leaq 0x28(%rsp), %rdi
leaq 0x48(%rsp), %rbp
movapd -0x8(%rbp), %xmm0
xorpd %xmm1, %xmm1
movapd %xmm1, -0x8(%rbp)
movupd 0x88(%r14), %xmm1
movupd %xmm0, 0x88(%r14)
movapd %xmm1, -0x8(%rdi)
callq 0x10d5e
movq %rbp, %rdi
callq 0x10d5e
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0xb361
leaq 0x88(%r14), %rbp
movl $0x1, %esi
movq %rbp, %rdx
callq 0x1202e
movq (%r13), %rdi
testq %rdi, %rdi
je 0xb361
xorl %esi, %esi
movq %rbp, %rdx
callq 0x1202e
movq $0x0, 0x38(%rsp)
movq 0x8(%r14), %rax
cmpb $0x1, 0x48(%rax)
jne 0xad8b
movq 0x15276(%rip), %rdi     # 0x1fff0
leaq 0xe001(%rip), %rsi      # 0x18d82
movl $0x18, %edx
callq 0x32a0
leaq 0x38(%rsp), %rcx
movq %r14, %rdi
movl $0x1, %esi
movq %r12, %rdx
callq 0xb5c0
movq 0x8(%r14), %rax
cmpb $0x1, 0x48(%rax)
jne 0xadc2
movq 0x1523f(%rip), %rdi     # 0x1fff0
leaq 0xdfe3(%rip), %rsi      # 0x18d9b
movl $0x27, %edx
callq 0x32a0
movq 0x38(%rsp), %rax
testq %rax, %rax
je 0xb39f
movsd 0x18(%rax), %xmm1
movsd %xmm1, 0x90(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x40(%rsp)
movq (%r13), %r12
testq %r12, %r12
je 0xb361
movsd 0x70(%r12), %xmm0
movsd %xmm1, 0x18(%rsp)
movsd %xmm0, 0x98(%rsp)
ucomisd %xmm1, %xmm0
ja 0xae1f
movq $0x0, 0x10(%rsp)
jmp 0xaee9
movq 0x8(%r14), %rax
cmpb $0x1, 0x48(%rax)
jne 0xae7d
movq 0x151c0(%rip), %rdi     # 0x1fff0
leaq 0xdf8c(%rip), %rsi      # 0x18dc3
movl $0x15, %edx
callq 0x32a0
movq 0x151a8(%rip), %rdi     # 0x1fff0
movsd 0x18(%rsp), %xmm0
callq 0x3360
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x3240
movsbl %al, %esi
movq %r12, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31b0
leaq 0x80(%rsp), %rdi
movq %r14, %rsi
movq %r15, %rdx
movsd 0x18(%rsp), %xmm0
callq 0x9c3e
leaq 0x28(%rsp), %rdi
leaq 0x88(%rsp), %r12
movapd -0x8(%r12), %xmm0
xorpd %xmm1, %xmm1
movapd %xmm1, -0x8(%r12)
movapd 0x40(%rsp), %xmm1
movapd %xmm0, 0x40(%rsp)
movapd %xmm1, -0x8(%rdi)
callq 0x10d5e
movq %r12, %rdi
callq 0x10d5e
movq (%r13), %r12
movq $0x0, 0x10(%rsp)
testq %r12, %r12
je 0xb353
incq 0x8(%r12)
movl $0x0, 0xc(%rsp)
movq (%rbp), %rsi
testq %rsi, %rsi
je 0xb380
addq $0x20, %rsi
movq %r13, %rdi
callq 0x10770
movq (%r13), %rbx
testq %rbx, %rbx
je 0xb361
movsd 0x98(%rsp), %xmm0
ucomisd 0x18(%rsp), %xmm0
movw $0x0, 0x68(%rbx)
ja 0xb07f
movl $0x78, %edi
callq 0x3260
movq %rax, %rbp
movswl 0x62(%rbx), %edx
movq %rax, %rdi
xorl %esi, %esi
movsd 0x18(%rsp), %xmm0
callq 0x1224a
incq 0x8(%rbp)
movq 0x10(%rsp), %rdi
movq %rbp, 0x10(%rsp)
testq %rdi, %rdi
je 0xaf77
decq 0x8(%rdi)
jne 0xaf77
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x8(%r14), %rax
cmpb $0x1, 0x48(%rax)
jne 0xafe2
movq 0x15068(%rip), %rdi     # 0x1fff0
leaq 0xde79(%rip), %rsi      # 0x18e08
movl $0x1f, %edx
callq 0x32a0
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0xb361
movsd 0x70(%rax), %xmm0
movq 0x1503d(%rip), %rdi     # 0x1fff0
callq 0x3360
movq %rax, %rbp
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x3240
movsbl %al, %esi
movq %rbp, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31b0
movl $0x30, %edi
callq 0x3260
movq %rax, %rbp
leaq 0x10(%rsp), %rsi
movq %rax, %rdi
movq %r13, %rdx
callq 0x11eb4
leaq 0x20(%rsp), %rdi
movq %rbp, %rsi
callq 0x1079c
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0xb380
movl 0xd0(%r14), %ecx
movl %ecx, 0x14(%rax)
leaq 0x20(%rsp), %rsi
movq %r14, %rdi
callq 0x13a78
movq (%r13), %rdi
testq %rdi, %rdi
je 0xb361
leaq 0x20(%rsp), %rdx
xorl %esi, %esi
callq 0x1202e
leaq 0x10(%rsp), %rsi
movq %r13, %rdi
callq 0x10770
movq (%r13), %rdi
testq %rdi, %rdi
je 0xb361
leaq 0x20(%rsp), %rdx
movl $0x1, %esi
callq 0x1202e
leaq 0x28(%rsp), %rdi
callq 0x10d5e
jmp 0xb0ea
movl $0x78, %edi
callq 0x3260
movq %rax, %r13
movq (%r15), %rax
testq %rax, %rax
je 0xb380
movq 0x20(%rax), %rax
testq %rax, %rax
je 0xb361
movswl 0x62(%rax), %edx
movq %r13, %rdi
xorl %esi, %esi
movsd 0x18(%rsp), %xmm0
callq 0x1224a
incq 0x8(%r13)
movq 0x10(%rsp), %rdi
movq %r13, 0x10(%rsp)
testq %rdi, %rdi
je 0xb0d8
decq 0x8(%rdi)
jne 0xb0d8
movq (%rdi), %rax
callq *0x8(%rax)
leaq 0x10(%rsp), %rsi
leaq 0x40(%rsp), %rdx
movq %r14, %rdi
callq 0x13ec0
leaq 0x40(%r14), %rdi
leaq 0x10(%rsp), %rsi
callq 0x10770
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0xb361
movb $0x1, 0x60(%rdi)
addq $0x18, %rdi
leaq 0x38(%rsp), %rsi
callq 0x10a08
movq 0x78(%r14), %rax
movq %rax, 0x80(%rsp)
movq 0x80(%r14), %rax
movq %rax, 0x88(%rsp)
testq %rax, %rax
je 0xb13c
lock
incl 0x8(%rax)
leaq 0x88(%rsp), %r13
movl $0x30, %edi
callq 0x3260
movq (%r15), %rdx
testq %rdx, %rdx
je 0xb380
movq %rax, %rbp
addq $0x20, %rdx
leaq 0x10(%rsp), %rsi
movq %rax, %rdi
callq 0x11eb4
leaq 0xa0(%rsp), %rdi
movq %rbp, %rsi
callq 0x1079c
leaq 0x28(%rsp), %rdi
leaq 0xa8(%rsp), %rbp
movapd -0x8(%rbp), %xmm0
xorpd %xmm1, %xmm1
movapd %xmm1, -0x8(%rbp)
movupd (%r15), %xmm1
movupd %xmm0, (%r15)
movapd %xmm1, -0x8(%rdi)
callq 0x10d5e
movq %rbp, %rdi
callq 0x10d5e
movq 0x80(%rsp), %rax
testq %rax, %rax
je 0xb380
movq (%r15), %rcx
testq %rcx, %rcx
je 0xb380
movl 0x14(%rax), %eax
movl %eax, 0x14(%rcx)
movq 0x20(%rcx), %rdi
testq %rdi, %rdi
je 0xb361
leaq 0x80(%rsp), %rdx
xorl %esi, %esi
movq %r15, %rcx
callq 0x12098
movq (%r15), %rax
testq %rax, %rax
je 0xb380
movq 0x18(%rax), %rdi
testq %rdi, %rdi
je 0xb361
movl $0x1, %esi
movq %r15, %rdx
callq 0x1202e
movq %r14, %rdi
movq %r15, %rsi
callq 0x13a78
movq (%r15), %rax
testq %rax, %rax
je 0xb380
movl 0xd0(%r14), %ecx
movl %ecx, 0x14(%rax)
movq 0x48(%r14), %rcx
testq %rcx, %rcx
je 0xb361
movq $0x0, 0x20(%rsp)
movq 0x48(%rcx), %rdx
movq %rdx, 0x28(%rsp)
testq %rdx, %rdx
je 0xb287
movl 0x8(%rdx), %eax
testl %eax, %eax
je 0xb27e
leal 0x1(%rax), %esi
lock
cmpxchgl %esi, 0x8(%rdx)
jne 0xb265
movq 0x40(%rcx), %rax
movq %rax, 0x20(%rsp)
jmp 0xb287
movq $0x0, 0x28(%rsp)
leaq 0x28(%rsp), %rbp
leaq 0x20(%rsp), %rsi
movq %r14, %rdi
callq 0xa4f0
movq %rbp, %rdi
callq 0x10d5e
movq %r13, %rdi
callq 0x10d5e
cmpb $0x0, 0xc(%rsp)
jne 0xb2c1
decq 0x8(%r12)
jne 0xb2c1
movq (%r12), %rax
movq %r12, %rdi
callq *0x8(%rax)
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
movq 0x68(%rsp), %rbx
je 0xb2dc
decq 0x8(%rdi)
jne 0xb2dc
movq (%rdi), %rax
callq *0x8(%rax)
leaq 0x48(%rsp), %rdi
callq 0x10d5e
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0xb2fc
decq 0x8(%rdi)
jne 0xb2fc
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0xb312
decq 0x8(%rdi)
jne 0xb312
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0xb328
decq 0x8(%rdi)
jne 0xb328
movq (%rdi), %rax
callq *0x8(%rax)
decq 0x8(%rbx)
jne 0xb337
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
leaq 0x78(%rsp), %rdi
callq 0x10d5e
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movb $0x1, %al
movl %eax, 0xc(%rsp)
xorl %r12d, %r12d
jmp 0xaef6
leaq 0xd790(%rip), %rdi      # 0x18af8
leaq 0xd791(%rip), %rsi      # 0x18b00
leaq 0xe185(%rip), %rcx      # 0x194fb
movl $0xc7, %edx
callq 0x3170
leaq 0xd771(%rip), %rdi      # 0x18af8
leaq 0xe0d8(%rip), %rsi      # 0x19466
leaq 0xe0fd(%rip), %rcx      # 0x19492
movl $0x2d8, %edx            # imm = 0x2D8
callq 0x3170
leaq 0xd752(%rip), %rdi      # 0x18af8
leaq 0xd753(%rip), %rsi      # 0x18b00
leaq 0xd77b(%rip), %rcx      # 0x18b2f
jmp 0xb376
movq %rax, %r15
movl $0x30, %esi
jmp 0xb3d5
movq %rax, %r15
movl $0x78, %esi
movq %r13, %rdi
jmp 0xb3d8
movq %rax, %r15
movl $0x78, %esi
movq %rbp, %rdi
callq 0x3270
jmp 0xb519
jmp 0xb516
jmp 0xb516
movq %rax, %r15
cmpl $0x1, %edx
jne 0xb547
movq %r15, %rdi
callq 0x30d0
movq %r14, %rdi
callq 0x13154
movl $0x8, %edi
callq 0x3100
leaq 0xd9c0(%rip), %rcx      # 0x18dd9
movq %rcx, (%rax)
movq 0x14b8d(%rip), %rsi     # 0x1ffb0
movq %rax, %rdi
xorl %edx, %edx
callq 0x33d0
movq %rax, %r15
callq 0x3390
jmp 0xb547
movq %rax, %r15
movq %rbp, %rdi
callq 0x10d5e
jmp 0xb50c
movq %rax, %r15
movl $0x30, %esi
movq %rbp, %rdi
callq 0x3270
jmp 0xb50c
jmp 0xb516
movq %rax, %r15
movl $0x30, %esi
movq %rbp, %rdi
callq 0x3270
jmp 0xb567
movq %rax, %r15
movl $0x78, %esi
jmp 0xb48d
jmp 0xb504
movq %rax, %r15
movl $0x30, %esi
movq %r13, %rdi
callq 0x3270
jmp 0xb57d
movq %rax, %r15
movl $0x78, %esi
movq %r13, %rdi
callq 0x3270
jmp 0xb593
jmp 0xb4b1
movq %rax, %r15
jmp 0xb593
movq %rax, %r15
movl $0x28, %esi
movq %rbx, %rdi
jmp 0xb4d6
jmp 0xb5ab
movq %rax, %r15
movl $0x78, %esi
movq %r12, %rdi
callq 0x3270
jmp 0xb5ae
jmp 0xb5ab
movq %rax, %r15
jmp 0xb547
jmp 0xb509
movq %rax, %r15
leaq 0x28(%rsp), %rdi
jmp 0xb50f
movq %rax, %r15
jmp 0xb551
jmp 0xb4fd
movq %rax, %r15
jmp 0xb567
jmp 0xb504
movq %rax, %r15
jmp 0xb57d
movq %rax, %r15
movq %r13, %rdi
callq 0x10d5e
jmp 0xb519
movq %rax, %r15
cmpb $0x0, 0xc(%rsp)
jne 0xb531
decq 0x8(%r12)
jne 0xb531
movq (%r12), %rax
movq %r12, %rdi
callq *0x8(%rax)
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0xb547
decq 0x8(%rdi)
jne 0xb547
movq (%rdi), %rax
callq *0x8(%rax)
leaq 0x48(%rsp), %rdi
callq 0x10d5e
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0xb567
decq 0x8(%rdi)
jne 0xb567
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0xb57d
decq 0x8(%rdi)
jne 0xb57d
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0xb593
decq 0x8(%rdi)
jne 0xb593
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x68(%rsp), %rax
decq 0x8(%rax)
jne 0xb5ae
movq 0x68(%rsp), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
jmp 0xb5ae
movq %rax, %r15
leaq 0x78(%rsp), %rdi
callq 0x10d5e
movq %r15, %rdi
callq 0x33f0