// File: /workspace/github_cpp_makefile_star2_O3/kiudee[P]VAHD-Projekt/./Subjects1-6.h
// Function: Subject::_process()
int Subject::_process()
{
    _Message *m;
    int busy;

    busy = 0;
    if (_child != NULL) {  // relay subject
        busy = _child->_process();
    } else {               // bad relay subject or standard subject
        if (_activeSubjects != NULL) {            // standard subject
            busy = _activeSubjects->process();      // first, process children
            _activeSubject = this;
            busy = busy | _activeRelays->process(); // then active relays
            m = _sink->_oQueue->dequeue();          // then subject itself
            if (m != NULL) {
                if (DEBUG) {
                    std::cout << "-- Executing message " << m->debugID << " in subject " << _debugID << ".\n";
                }
                source = m->source + _debugID;        // create local ID of source
                sink = m->sink;                       // set sink to sink of message
                if (m->ObjPtr != NULL) {
                    m->ObjPtr->_owner = this;    // set new owner of object
                }
                if (m->ObjPtr == NULL || m->ObjPtr->_sink == NULL || m->ObjPtr->_sink->_home == this) {
                    (this->*(m->VerbPtr))(m->ObjPtr);    // execute message
                } else {
                    if (WARNING) {
                        std::cout << "-- Warning! Message " << m->debugID << " not meant for subject " << _debugID << ".\n";
                    }
                }
                delete m;
                busy = 1;
            }
        }
    }
    return busy;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x18(%rdi), %rdi
testq %rdi, %rdi
je 0x421f
movq (%rdi), %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmpq *0x8(%rax)
movq 0x48(%rbx), %rax
testq %rax, %rax
je 0x4309
movq (%rax), %r14
xorl %ebp, %ebp
movl $0x0, %r15d
testq %r14, %r14
je 0x4254
xorl %r15d, %r15d
movq (%r14), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
orl %eax, %r15d
movq 0x8(%r14), %r14
testq %r14, %r14
jne 0x423f
leaq 0xcf45(%rip), %rax      # 0x111a0
movq %rbx, (%rax)
movq 0x38(%rbx), %rax
movq (%rax), %r14
testq %r14, %r14
je 0x4280
xorl %ebp, %ebp
movq (%r14), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
orl %eax, %ebp
movq 0x8(%r14), %r14
testq %r14, %r14
jne 0x426c
movq 0x20(%rbx), %rax
movq 0x38(%rax), %rax
movq (%rax), %r14
testq %r14, %r14
je 0x430d
movq 0x30(%r14), %rcx
movq %rcx, (%rax)
testq %rcx, %rcx
jne 0x42a4
movq $0x0, 0x8(%rax)
movq $0x0, 0x30(%r14)
movq 0x8(%rbx), %rax
addq 0x8(%r14), %rax
movq %rax, 0x50(%rbx)
movq 0x10(%r14), %rax
movq %rax, 0x58(%rbx)
movq 0x28(%r14), %rsi
testq %rsi, %rsi
je 0x42dc
movq %rbx, 0x8(%rsi)
movq 0x18(%rsi), %rax
testq %rax, %rax
je 0x42dc
cmpq %rbx, 0x18(%rax)
jne 0x42f5
movq 0x18(%r14), %rax
addq 0x20(%r14), %rbx
testb $0x1, %al
je 0x42f0
movq (%rbx), %rcx
movq -0x1(%rcx,%rax), %rax
movq %rbx, %rdi
callq *%rax
movl $0x38, %esi
movq %r14, %rdi
callq 0x2170
movl $0x1, %ebp
jmp 0x4310
xorl %ebp, %ebp
jmp 0x4310
orl %r15d, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop