// File: /workspace/github_cpp_makefile_star2_O1/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 0x2c47
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 0x2b3c
movq 0x6492(%rip), %rcx      # 0x8fc0
cmpb $0x0, (%rcx)
je 0x2b38
incl 0x8(%rax)
jmp 0x2b3c
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 0x2b5b
callq 0x349c
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x2b91
movq 0x6454(%rip), %rax      # 0x8fc0
cmpb $0x0, (%rax)
je 0x2b7c
movl 0xc(%rdi), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0xc(%rdi)
jmp 0x2b86
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
lock
xaddl %eax, 0xc(%rdi)
cmpl $0x1, %eax
jne 0x2b91
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 0x2bec
movq 0x63e2(%rip), %rcx      # 0x8fc0
cmpb $0x0, (%rcx)
je 0x2be8
incl 0xc(%rax)
jmp 0x2bec
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 0x2c11
callq 0x349c
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x2c47
movq 0x639e(%rip), %rax      # 0x8fc0
cmpb $0x0, (%rax)
je 0x2c32
movl 0xc(%rdi), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0xc(%rdi)
jmp 0x2c3c
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
lock
xaddl %eax, 0xc(%rdi)
cmpl $0x1, %eax
jne 0x2c47
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 0x2d42
movl $0x1, %r13d
xorl %ebp, %ebp
leaq 0x10(%rsp), %r14
movq %rsp, %r15
movq 0x6345(%rip), %r12      # 0x8fc0
movq (%rax,%rbp), %rcx
movq 0x10(%rax,%rbp), %rdi
movq %rcx, 0x10(%rsp)
movq 0x8(%rax,%rbp), %rax
movq %rax, 0x18(%rsp)
testq %rax, %rax
je 0x2ca8
cmpb $0x0, (%r12)
je 0x2ca4
incl 0xc(%rax)
jmp 0x2ca8
lock
incl 0xc(%rax)
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 0x2cd4
cmpb $0x0, (%r12)
je 0x2cd0
incl 0x8(%rax)
jmp 0x2cd4
lock
incl 0x8(%rax)
movq (%rdi), %rax
movq %r14, %rsi
movq %r15, %rdx
callq *0x20(%rax)
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x2cef
callq 0x349c
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x2d20
cmpb $0x0, (%r12)
je 0x2d0b
movl 0xc(%rdi), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0xc(%rdi)
jmp 0x2d15
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
lock
xaddl %eax, 0xc(%rdi)
cmpl $0x1, %eax
jne 0x2d20
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 0x2c7b
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 0x2d63
callq 0x349c
movq 0x28(%rsp), %rdi
jmp 0x2d81
movq %rax, %rbx
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x2d7c
callq 0x349c
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x2dd5
movq 0x6233(%rip), %rax      # 0x8fc0
cmpb $0x0, (%rax)
je 0x2dc0
movl 0xc(%rdi), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0xc(%rdi)
jmp 0x2dca
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x2daf
callq 0x349c
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x2dd5
cmpb $0x0, (%r12)
jne 0x2d92
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
lock
xaddl %eax, 0xc(%rdi)
cmpl $0x1, %eax
jne 0x2dd5
movq (%rdi), %rax
callq *0x18(%rax)
movq %rbx, %rdi
callq 0x2200
nop