// File: /workspace/github_cpp_makefile_star2_O3/theolepage[P]prophecy/src/model/model.hh
// Function: Model<float>::compile(float)
void compile(T learning_rate)
    {
        learning_rate_ = learning_rate;
        compiled_ = true;

        if (layers_.size() >= 2)
        {
            int last = layers_.size() - 1;
            layers_[0]->compile(std::weak_ptr<Layer<T>>(), layers_[1]);
            layers_[last]->compile(layers_[last - 1], nullptr);
        }
        for (size_t i = 1; i < layers_.size() - 1; i++)
            layers_[i]->compile(layers_[i - 1], layers_[i + 1]);
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdi, %rbx
movss %xmm0, 0xc(%rdi)
movb $0x1, 0x8(%rdi)
movq 0x10(%rdi), %rax
movq 0x18(%rdi), %r14
subq %rax, %r14
cmpq $0x11, %r14
jb 0x2cc7
movq (%rax), %rdi
xorps %xmm0, %xmm0
movaps %xmm0, 0x40(%rsp)
movq 0x10(%rax), %rcx
movq %rcx, 0x30(%rsp)
movq 0x18(%rax), %rax
movq %rax, 0x38(%rsp)
testq %rax, %rax
je 0x2bbc
movq 0x6412(%rip), %rcx      # 0x8fc0
cmpb $0x0, (%rcx)
je 0x2bb8
incl 0x8(%rax)
jmp 0x2bbc
lock
incl 0x8(%rax)
movq (%rdi), %rax
leaq 0x40(%rsp), %rsi
leaq 0x30(%rsp), %rdx
callq *0x20(%rax)
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x2bdb
callq 0x350c
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x2c11
movq 0x63d4(%rip), %rax      # 0x8fc0
cmpb $0x0, (%rax)
je 0x2bfc
movl 0xc(%rdi), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0xc(%rdi)
jmp 0x2c06
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
lock
xaddl %eax, 0xc(%rdi)
cmpl $0x1, %eax
jne 0x2c11
movq (%rdi), %rax
callq *0x18(%rax)
shlq $0x1c, %r14
movabsq $-0x100000000, %rax     # imm = 0xFFFFFFFF00000000
addq %r14, %rax
movq 0x10(%rbx), %rcx
sarq $0x1c, %rax
movq (%rcx,%rax), %rdi
movabsq $-0x200000000, %rax     # imm = 0xFFFFFFFE00000000
addq %r14, %rax
sarq $0x1c, %rax
movq (%rcx,%rax), %rdx
movq %rdx, 0x20(%rsp)
movq 0x8(%rcx,%rax), %rax
movq %rax, 0x28(%rsp)
testq %rax, %rax
je 0x2c6c
movq 0x6362(%rip), %rcx      # 0x8fc0
cmpb $0x0, (%rcx)
je 0x2c68
incl 0xc(%rax)
jmp 0x2c6c
lock
incl 0xc(%rax)
xorps %xmm0, %xmm0
leaq 0x50(%rsp), %rdx
movaps %xmm0, (%rdx)
movq (%rdi), %rax
leaq 0x20(%rsp), %rsi
callq *0x20(%rax)
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x2c91
callq 0x350c
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x2cc7
movq 0x631e(%rip), %rax      # 0x8fc0
cmpb $0x0, (%rax)
je 0x2cb2
movl 0xc(%rdi), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0xc(%rdi)
jmp 0x2cbc
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
lock
xaddl %eax, 0xc(%rdi)
cmpl $0x1, %eax
jne 0x2cc7
movq (%rdi), %rax
callq *0x18(%rax)
movq 0x10(%rbx), %rax
movq 0x18(%rbx), %rcx
subq %rax, %rcx
sarq $0x4, %rcx
addq $-0x3, %rcx
cmpq $-0x3, %rcx
ja 0x2dc2
movl $0x1, %r13d
xorl %ebp, %ebp
leaq 0x10(%rsp), %r14
movq %rsp, %r15
movq 0x62c5(%rip), %r12      # 0x8fc0
movq (%rax,%rbp), %rcx
movq 0x10(%rax,%rbp), %rdi
movq %rcx, 0x10(%rsp)
movq 0x8(%rax,%rbp), %rcx
movq %rcx, 0x18(%rsp)
testq %rcx, %rcx
je 0x2d2c
cmpb $0x0, (%r12)
je 0x2d24
incl 0xc(%rcx)
jmp 0x2d2c
lock
incl 0xc(%rcx)
movq 0x10(%rbx), %rax
movq 0x20(%rax,%rbp), %rcx
movq %rcx, (%rsp)
movq 0x28(%rax,%rbp), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
je 0x2d54
cmpb $0x0, (%r12)
je 0x2d50
incl 0x8(%rax)
jmp 0x2d54
lock
incl 0x8(%rax)
movq (%rdi), %rax
movq %r14, %rsi
movq %r15, %rdx
callq *0x20(%rax)
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x2d6f
callq 0x350c
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x2da0
cmpb $0x0, (%r12)
je 0x2d8b
movl 0xc(%rdi), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0xc(%rdi)
jmp 0x2d95
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
lock
xaddl %eax, 0xc(%rdi)
cmpl $0x1, %eax
jne 0x2da0
movq (%rdi), %rax
callq *0x18(%rax)
incq %r13
movq 0x10(%rbx), %rax
movq 0x18(%rbx), %rcx
subq %rax, %rcx
sarq $0x4, %rcx
decq %rcx
addq $0x10, %rbp
cmpq %rcx, %r13
jb 0x2cfb
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x2de3
callq 0x350c
movq 0x28(%rsp), %rdi
jmp 0x2e01
movq %rax, %rbx
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x2dfc
callq 0x350c
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x2e55
movq 0x61b3(%rip), %rax      # 0x8fc0
cmpb $0x0, (%rax)
je 0x2e40
movl 0xc(%rdi), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0xc(%rdi)
jmp 0x2e4a
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x2e2f
callq 0x350c
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x2e55
cmpb $0x0, (%r12)
jne 0x2e12
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
lock
xaddl %eax, 0xc(%rdi)
cmpl $0x1, %eax
jne 0x2e55
movq (%rdi), %rax
callq *0x18(%rax)
movq %rbx, %rdi
callq 0x2200
nop