// File: /workspace/github_cpp_makefile_star2_O1/bonetblai[P]mdp-engine/ctp3/../engine/aot.h
// Function: Online::Policy::AOT::aot_t<state_t>::propagate(Online::Policy::AOT::state_node_t<state_t>*) const
void propagate(state_node_t<T> *s_node) const {
        std::deque<state_node_t<T>*> queue;
        queue.push_back(s_node);
        s_node->in_queue_ = true;
        while( !queue.empty() ) {
            state_node_t<T> *s_node = queue.front();
            queue.pop_front();
            s_node->in_queue_ = false;
            float old_value = s_node->value_;
            if( !s_node->is_leaf() ) s_node->update_value();
            if( s_node->is_leaf() || (old_value != s_node->value_) ) {
                for( int i = 0, isz = s_node->parents_.size(); i < isz; ++i ) {
                    action_node_t<T> *a_node = s_node->parents_[i].second;
                    float old_value = a_node->value_;
                    a_node->update_value(problem_.discount());
                    assert(a_node->parent_ != 0);
                    if( !a_node->parent_->in_queue_ && (old_value != a_node->value_) ) {
                        queue.push_back(a_node->parent_);
                        a_node->parent_->in_queue_ = true;
                    }
                }
            }
        }
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdi, %rbx
movq %rsi, 0x8(%rsp)
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %r14
movaps %xmm0, 0x40(%r14)
movaps %xmm0, 0x30(%r14)
movaps %xmm0, 0x20(%r14)
movaps %xmm0, 0x10(%r14)
movaps %xmm0, (%r14)
movq %r14, %rdi
xorl %esi, %esi
callq 0x26296
movq 0x30(%r14), %rax
movq 0x40(%r14), %rcx
addq $-0x8, %rcx
cmpq %rcx, %rax
je 0x2803d
movq 0x8(%rsp), %rcx
movq %rcx, (%rax)
addq $0x8, 0x40(%rsp)
jmp 0x2804c
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x26582
movq 0x8(%rsp), %rax
movb $0x1, 0x15(%rax)
movq 0x20(%rsp), %rax
cmpq %rax, 0x40(%rsp)
je 0x281e5
leaq 0x10(%rsp), %r14
movq (%rax), %r15
movq 0x30(%rsp), %rcx
addq $-0x8, %rcx
cmpq %rcx, %rax
je 0x28081
addq $0x8, %rax
jmp 0x280ae
movq 0x28(%rsp), %rdi
callq 0x6260
movq 0x38(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x38(%rsp)
movq 0x8(%rax), %rax
movq %rax, 0x28(%rsp)
leaq 0x200(%rax), %rcx
movq %rcx, 0x30(%rsp)
movq %rax, 0x20(%rsp)
movb $0x0, 0x15(%r15)
movss 0x8(%r15), %xmm0
cmpb $0x0, 0x89(%r15)
jne 0x280f6
cmpb $0x0, 0x88(%r15)
jne 0x280f6
movq 0xa8(%r15), %rax
cmpq 0xb0(%r15), %rax
je 0x280f6
movq %r15, %rdi
movss %xmm0, 0x4(%rsp)
callq 0x28234
movss 0x4(%rsp), %xmm0
cmpb $0x0, 0x89(%r15)
jne 0x28125
cmpb $0x0, 0x88(%r15)
jne 0x28125
movq 0xa8(%r15), %rax
cmpq 0xb0(%r15), %rax
je 0x28125
ucomiss 0x8(%r15), %xmm0
je 0x281d5
movq 0x98(%r15), %r13
subq 0x90(%r15), %r13
shrq $0x4, %r13
testl %r13d, %r13d
jle 0x281d5
andl $0x7fffffff, %r13d      # imm = 0x7FFFFFFF
movl $0x8, %ebp
movq 0x90(%r15), %rax
movq (%rax,%rbp), %r12
movss 0x8(%r12), %xmm0
movss %xmm0, 0x4(%rsp)
movq 0x8(%rbx), %rax
movss 0x8(%rax), %xmm0
movq %r12, %rdi
callq 0x282dc
movq 0x20(%r12), %rax
testq %rax, %rax
je 0x281fe
cmpb $0x0, 0x15(%rax)
jne 0x281c8
movss 0x4(%rsp), %xmm0
ucomiss 0x8(%r12), %xmm0
je 0x281c8
addq $0x20, %r12
movq 0x40(%rsp), %rcx
movq 0x50(%rsp), %rdx
addq $-0x8, %rdx
cmpq %rdx, %rcx
je 0x281b5
movq %rax, (%rcx)
addq $0x8, 0x40(%rsp)
jmp 0x281c0
movq %r14, %rdi
movq %r12, %rsi
callq 0x26582
movq (%r12), %rax
movb $0x1, 0x15(%rax)
addq $0x10, %rbp
decq %r13
jne 0x2814c
movq 0x20(%rsp), %rax
cmpq %rax, 0x40(%rsp)
jne 0x2806a
leaq 0x10(%rsp), %rdi
callq 0x269b6
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x7a84(%rip), %rdi      # 0x2fc89
leaq 0x67d9(%rip), %rsi      # 0x2e9e5
leaq 0x7ae7(%rip), %rcx      # 0x2fcfa
movl $0x2d1, %edx            # imm = 0x2D1
callq 0x61c0
jmp 0x2821f
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x269b6
movq %rbx, %rdi
callq 0x6410