// File: /workspace/github_cpp_makefile_star2_O1/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 0x5253
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 0x52e2
movq (%rax), %r14
xorl %ebp, %ebp
movl $0x0, %r15d
testq %r14, %r14
je 0x5288
xorl %r15d, %r15d
movq (%r14), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
orl %eax, %r15d
movq 0x8(%r14), %r14
testq %r14, %r14
jne 0x5273
leaq 0xcf11(%rip), %rax      # 0x121a0
movq %rbx, (%rax)
movq 0x38(%rbx), %rax
movq (%rax), %r14
testq %r14, %r14
je 0x52b4
xorl %ebp, %ebp
movq (%r14), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
orl %eax, %ebp
movq 0x8(%r14), %r14
testq %r14, %r14
jne 0x52a0
movq 0x20(%rbx), %rax
movq 0x38(%rax), %rax
movq (%rax), %r14
testq %r14, %r14
je 0x52e6
movq 0x30(%r14), %rcx
movq %rcx, (%rax)
testq %rcx, %rcx
jne 0x52d8
movq $0x0, 0x8(%rax)
movq $0x0, 0x30(%r14)
jmp 0x52e9
xorl %ebp, %ebp
jmp 0x534e
xorl %r14d, %r14d
testq %r14, %r14
je 0x534b
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 0x531e
movq %rbx, 0x8(%rsi)
movq 0x18(%rsi), %rax
testq %rax, %rax
je 0x531e
cmpq %rbx, 0x18(%rax)
jne 0x5337
movq 0x18(%r14), %rax
addq 0x20(%r14), %rbx
testb $0x1, %al
je 0x5332
movq (%rbx), %rcx
movq -0x1(%rcx,%rax), %rax
movq %rbx, %rdi
callq *%rax
movl $0x38, %esi
movq %r14, %rdi
callq 0x3170
movl $0x1, %ebp
jmp 0x534e
orl %r15d, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop