// File: /workspace/github_cpp_makefile_star2_O3/kiudee[P]VAHD-Projekt/Node.cpp
// Function: Node::TriggerDataTransfer(IdObj*)
Action Node::TriggerDataTransfer(IdObj *ido)
{
    //std::cout << num << "<-TriggerDataTransfer(" << ido->num << ")\n";

    if (isReal) {
        Relay *temprelay = new Relay(ido->id);
        for (HashMap::iterator it = data.begin(); it != data.end(); ++it) {
            if (g(it->first) >= ido->num) {//WAAAAAAAAAAAAAAAAAAAAAAHHHHHHHHHH!!!!!!!!!!!!!
                DateObj *dob = new DateObj(it->first, it->second);
                temprelay->call(Node::DataInsert, dob);//routing unnecessary (ido is the target)
            }
        }
        //delete temprelay;
        delete ido;
    } else {
        if (left == NULL) {
            SearchJob *newsj = new SearchJob(MAX, DATATRANSFER,
                                             Node::calcRoutingBound(), ido);
            Search(newsj);
        } else if (leftstable) {
            left->out->call(Node::TriggerDataTransfer, ido);
        } else {
            call(Node::TriggerDataTransfer, ido);
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r12
movq %rdi, %r13
cmpb $0x1, 0xb8(%rdi)
jne 0x969e
movl $0x48, %edi
callq 0x2160
leaq 0x28(%r12), %rsi
movq %rax, (%rsp)
movq %rax, %rdi
callq 0x3dfc
movq 0x78(%r13), %rbx
testq %rbx, %rbx
je 0x9682
leaq 0x8(%rsp), %r14
movl 0x8(%rbx), %edi
callq 0x60ea
ucomisd 0x20(%r12), %xmm0
jb 0x9676
movq %r12, %r15
movq %r13, %r12
movl $0x48, %edi
callq 0x2160
movq %rax, %r13
movl 0x8(%rbx), %ebp
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x10(%rbx), %rsi
movq 0x18(%rbx), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0xb930
movq %r13, %rdi
movl %ebp, %esi
movq %r14, %rdx
callq 0x3f6a
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x9621
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2170
movl $0x38, %edi
callq 0x2160
leaq 0x7b76(%rip), %rdx      # 0x111a8
movq (%rdx), %rcx
movq %rcx, (%rax)
incq %rcx
movq %rcx, (%rdx)
xorpd %xmm0, %xmm0
movupd %xmm0, 0x8(%rax)
leaq -0xdd8(%rip), %rcx      # 0x8876
movq %rcx, 0x18(%rax)
xorl %ecx, %ecx
movq %rcx, 0x20(%rax)
movq %r13, 0x28(%rax)
movq %rcx, 0x30(%rax)
movq (%rsp), %rdi
movq (%rdi), %rcx
movq %r12, %r13
movq %r12, %rsi
movq %rax, %rdx
callq *0x8(%rcx)
movq %r15, %r12
movq (%rbx), %rbx
testq %rbx, %rbx
jne 0x95b0
movl $0x38, %esi
movq %r12, %rdi
callq 0x2170
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0xc8(%r13), %rax
testq %rax, %rax
je 0x9705
cmpb $0x1, 0x60(%r13)
jne 0x97a5
movq 0x28(%rax), %r15
movl $0x38, %edi
callq 0x2160
leaq 0x7ade(%rip), %rcx      # 0x111a8
movq (%rcx), %rdx
movq %rdx, (%rax)
incq %rdx
movq %rdx, (%rcx)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
leaq -0x182(%rip), %rcx      # 0x9562
movq %rcx, 0x18(%rax)
xorl %ecx, %ecx
movq %rcx, 0x20(%rax)
movq %r12, 0x28(%rax)
movq %rcx, 0x30(%rax)
movq (%r15), %rcx
movq 0x8(%rcx), %rcx
movq %r15, %rdi
jmp 0x97ed
movl $0x60, %edi
callq 0x2160
movq %rax, %r15
movq %r13, %rdi
callq 0x7a80
leaq 0x7a67(%rip), %rax      # 0x11188
movq (%rax), %rcx
movq %rcx, (%r15)
incq %rcx
movq %rcx, (%rax)
xorps %xmm1, %xmm1
movups %xmm1, 0x8(%r15)
movq $0x0, 0x18(%r15)
leaq 0x7a5c(%rip), %rax      # 0x111a0
movq (%rax), %rax
testq %rax, %rax
je 0x9756
movq %r15, %rcx
addq $0x8, %rcx
movq %rax, (%rcx)
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
movq %rax, 0x20(%r15)
xorl %eax, %eax
movq %rax, 0x28(%r15)
movq %r12, 0x30(%r15)
movl $0x4, 0x38(%r15)
movsd %xmm0, 0x40(%r15)
movq %rax, 0x48(%r15)
movl $0x0, 0x50(%r15)
movq %rax, 0x58(%r15)
movq %r13, %rdi
movq %r15, %rsi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x8774
movl $0x38, %edi
callq 0x2160
leaq 0x79f2(%rip), %rcx      # 0x111a8
movq (%rcx), %rdx
movq %rdx, (%rax)
incq %rdx
movq %rdx, (%rcx)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
leaq -0x26e(%rip), %rcx      # 0x9562
movq %rcx, 0x18(%rax)
xorl %ecx, %ecx
movq %rcx, 0x20(%rax)
movq %r12, 0x28(%rax)
movq %rcx, 0x30(%rax)
movq (%r13), %rcx
movq 0x48(%rcx), %rcx
movq %r13, %rdi
movq %r13, %rsi
movq %rax, %rdx
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rcx
movq %rax, %r14
movl $0x48, %esi
movq (%rsp), %rdi
jmp 0x983d
movq %rax, %r14
jmp 0x9835
movq %rax, %r14
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x9835
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2170
movl $0x48, %esi
movq %r13, %rdi
callq 0x2170
movq %r14, %rdi
callq 0x2280