// File: /workspace/github_cpp_makefile_star2_O2/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, %r13
movq %rdi, %r12
cmpb $0x1, 0xb8(%rdi)
jne 0x7cb6
pushq $0x48
popq %rdi
callq 0x2170
leaq 0x28(%r13), %rsi
movq %rax, (%rsp)
movq %rax, %rdi
callq 0x37c0
leaq 0x78(%r12), %rbx
leaq 0x8(%rsp), %rbp
movq (%rbx), %rbx
testq %rbx, %rbx
je 0x7d1d
movl 0x8(%rbx), %edi
callq 0x5a32
ucomisd 0x20(%r13), %xmm0
jb 0x7c11
movq %r12, %r14
pushq $0x48
popq %rdi
callq 0x2170
movq %rax, %r12
movl 0x8(%rbx), %r15d
leaq 0x10(%rbx), %rsi
movq %rbp, %rdi
callq 0x21d0
movq %r12, %rdi
movl %r15d, %esi
movq %rbp, %rdx
callq 0x391e
movq %rbp, %rdi
callq 0x20a0
pushq $0x38
popq %rdi
callq 0x2170
leaq 0x8548(%rip), %rdx      # 0x101b8
movq (%rdx), %rcx
movq %rcx, (%rax)
incq %rcx
movq %rcx, (%rdx)
xorpd %xmm0, %xmm0
movupd %xmm0, 0x8(%rax)
leaq -0x960(%rip), %rcx      # 0x732c
movq %rcx, 0x18(%rax)
andq $0x0, 0x20(%rax)
movq %r12, 0x28(%rax)
andq $0x0, 0x30(%rax)
movq (%rsp), %rdi
movq (%rdi), %rcx
movq %r14, %r12
movq %r14, %rsi
movq %rax, %rdx
callq *0x8(%rcx)
jmp 0x7c11
movq 0xc8(%r12), %rax
testq %rax, %rax
je 0x7d37
cmpb $0x1, 0x60(%r12)
jne 0x7d7c
movq 0x28(%rax), %r15
pushq $0x38
popq %rdi
callq 0x2170
leaq 0x84d6(%rip), %rcx      # 0x101b8
movq (%rcx), %rdx
movq %rdx, (%rax)
incq %rdx
movq %rdx, (%rcx)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
leaq -0x12e(%rip), %rcx      # 0x7bce
movq %rcx, 0x18(%rax)
andq $0x0, 0x20(%rax)
movq %r13, 0x28(%rax)
andq $0x0, 0x30(%rax)
movq (%r15), %rcx
movq 0x8(%rcx), %rcx
movq %r15, %rdi
jmp 0x7dc2
pushq $0x38
popq %rsi
movq %r13, %rdi
callq 0x2180
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x60
popq %rdi
callq 0x2170
movq %rax, %r15
movq %r12, %rdi
callq 0x6a96
movaps %xmm0, %xmm1
movsd 0x2673(%rip), %xmm0     # 0xa3c8
pushq $0x4
popq %rsi
movq %r15, %rdi
movq %r13, %rdx
callq 0x9472
movq %r12, %rdi
movq %r15, %rsi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x7228
pushq $0x38
popq %rdi
callq 0x2170
leaq 0x842d(%rip), %rcx      # 0x101b8
movq (%rcx), %rdx
movq %rdx, (%rax)
incq %rdx
movq %rdx, (%rcx)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
leaq -0x1d7(%rip), %rcx      # 0x7bce
movq %rcx, 0x18(%rax)
andq $0x0, 0x20(%rax)
movq %r13, 0x28(%rax)
andq $0x0, 0x30(%rax)
movq (%r12), %rcx
movq 0x48(%rcx), %rcx
movq %r12, %rdi
movq %r12, %rsi
movq %rax, %rdx
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rcx
movq %rax, %rbx
pushq $0x48
popq %rsi
movq (%rsp), %rdi
jmp 0x7dfc
movq %rax, %rbx
jmp 0x7df6
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x20a0
pushq $0x48
popq %rsi
movq %r12, %rdi
callq 0x2180
movq %rbx, %rdi
callq 0x2290
nop