// File: /workspace/github_cpp_makefile_star2_O2/xbai0624[P]dnn/src/ConstructLayer.cpp
// Function: ConstructLayer::ConstructLayer(LayerType, int, std::pair<unsigned long, unsigned long>)
ConstructLayer::ConstructLayer(LayerType t, int n_kernels, std::pair<size_t, size_t> d)
{
    // for cnn and pooling layer
    __type = t;
    SetNumberOfKernelsCNN((size_t)n_kernels);
    // kernel size
    SetKernelSizeCNN(d);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %r8, %r15
movq %rcx, %r13
movl %edx, %r14d
movl %esi, %r12d
movq %rdi, %rbx
callq 0x17558
leaq 0x2d18c(%rip), %rax     # 0x32548
movq %rax, (%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, 0x30(%rbx)
movups %xmm0, 0x40(%rbx)
movups %xmm0, 0x4c(%rbx)
movups %xmm0, 0x60(%rbx)
movups %xmm0, 0x70(%rbx)
movups %xmm0, 0x80(%rbx)
movups %xmm0, 0x90(%rbx)
movups %xmm0, 0xa0(%rbx)
movups %xmm0, 0xb0(%rbx)
movabsq $0x3fb999999999999a, %rax # imm = 0x3FB999999999999A
movq %rax, 0xc0(%rbx)
andl $0x0, 0xc8(%rbx)
leaq 0x60(%rbx), %rax
movq %rax, 0x100(%rsp)
leaq 0xd0(%rbx), %rdi
leaq 0x218(%rbx), %rbp
movl $0x141, %edx            # imm = 0x141
xorl %esi, %esi
callq 0x4160
movl $0x1b1, %edx            # imm = 0x1B1
movq %rbp, 0xf8(%rsp)
movq %rbp, %rdi
xorl %esi, %esi
callq 0x4160
pushq $0x2
popq %rax
movl %eax, 0x3cc(%rbx)
andq $0x0, 0x3d0(%rbx)
movabsq $0x3fe0000000000000, %rcx # imm = 0x3FE0000000000000
movq %rcx, 0x3d8(%rbx)
movq $0x1, 0x3e0(%rbx)
andl $0x0, 0x3e8(%rbx)
andq $0x0, 0x400(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x3f0(%rbx)
movl %eax, 0x408(%rbx)
movups %xmm0, 0x40c(%rbx)
movups %xmm0, 0x41c(%rbx)
movups %xmm0, 0x42c(%rbx)
movabsq $0x100000000, %rax      # imm = 0x100000000
movq %rax, 0x43c(%rbx)
leaq 0x448(%rbx), %rbp
movups %xmm0, 0x448(%rbx)
movups %xmm0, 0x458(%rbx)
movups %xmm0, 0x468(%rbx)
movaps 0x1bb2c(%rip), %xmm0    # 0x21010
movups %xmm0, 0x478(%rbx)
movb $0x1, 0x488(%rbx)
movl %r12d, 0xc(%rbx)
movslq %r14d, %rsi
movq %rbx, %rdi
callq 0x5fc8
movq (%rbx), %rax
movq %rbx, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq *0xb0(%rax)
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, 0xf0(%rsp)
leaq 0x460(%rbx), %rdi
leaq 0x428(%rbx), %r14
leaq 0x410(%rbx), %r13
leaq 0x380(%rbx), %r15
leaq 0x368(%rbx), %r12
leaq 0x350(%rbx), %rax
movq %rax, (%rsp)
leaq 0x338(%rbx), %rax
movq %rax, 0x8(%rsp)
leaq 0x320(%rbx), %rax
movq %rax, 0x10(%rsp)
leaq 0x308(%rbx), %rax
movq %rax, 0x18(%rsp)
leaq 0x2f0(%rbx), %rax
movq %rax, 0x20(%rsp)
leaq 0x2d8(%rbx), %rax
movq %rax, 0x28(%rsp)
leaq 0x2c0(%rbx), %rax
movq %rax, 0x30(%rsp)
leaq 0x2a8(%rbx), %rax
movq %rax, 0x38(%rsp)
leaq 0x290(%rbx), %rax
movq %rax, 0x40(%rsp)
leaq 0x278(%rbx), %rax
movq %rax, 0x48(%rsp)
leaq 0x260(%rbx), %rax
movq %rax, 0x50(%rsp)
leaq 0x248(%rbx), %rax
movq %rax, 0x58(%rsp)
leaq 0x230(%rbx), %rax
movq %rax, 0x60(%rsp)
leaq 0x1f8(%rbx), %rax
movq %rax, 0x68(%rsp)
leaq 0x1e0(%rbx), %rax
movq %rax, 0x70(%rsp)
leaq 0x1c8(%rbx), %rax
movq %rax, 0x78(%rsp)
leaq 0x1b0(%rbx), %rax
movq %rax, 0x80(%rsp)
leaq 0x198(%rbx), %rax
movq %rax, 0x88(%rsp)
leaq 0x180(%rbx), %rax
movq %rax, 0x90(%rsp)
leaq 0x168(%rbx), %rax
movq %rax, 0x98(%rsp)
leaq 0x150(%rbx), %rax
movq %rax, 0xa0(%rsp)
leaq 0x138(%rbx), %rax
movq %rax, 0xa8(%rsp)
leaq 0x120(%rbx), %rax
movq %rax, 0xb0(%rsp)
leaq 0x108(%rbx), %rax
movq %rax, 0xb8(%rsp)
leaq 0xf0(%rbx), %rax
movq %rax, 0xc0(%rsp)
leaq 0xd8(%rbx), %rax
movq %rax, 0xc8(%rsp)
leaq 0xa8(%rbx), %rax
movq %rax, 0xd0(%rsp)
leaq 0x90(%rbx), %rax
movq %rax, 0xd8(%rsp)
leaq 0x78(%rbx), %rax
movq %rax, 0xe0(%rsp)
leaq 0x40(%rbx), %rax
movq %rax, 0xe8(%rsp)
callq 0x110e4
movq %rbp, %rdi
callq 0x110e4
movq %r14, %rdi
callq 0x127dc
movq %r13, %rdi
callq 0x127dc
movq %r15, %rdi
callq 0x110e4
movq %r12, %rdi
callq 0x110e4
movq (%rsp), %rdi
callq 0x110e4
movq 0x8(%rsp), %rdi
callq 0x110e4
movq 0x10(%rsp), %rdi
callq 0x110e4
movq 0x18(%rsp), %rdi
callq 0x110e4
movq 0x20(%rsp), %rdi
callq 0x11106
movq 0x28(%rsp), %rdi
callq 0x11106
movq 0x30(%rsp), %rdi
callq 0x11106
movq 0x38(%rsp), %rdi
callq 0x11106
movq 0x40(%rsp), %rdi
callq 0x11106
movq 0x48(%rsp), %rdi
callq 0x11106
movq 0x50(%rsp), %rdi
callq 0x11106
movq 0x58(%rsp), %rdi
callq 0x11106
movq 0x60(%rsp), %rdi
callq 0x11106
movq 0xf8(%rsp), %rdi
callq 0x11106
movq 0x68(%rsp), %rdi
callq 0x127dc
movq 0x70(%rsp), %rdi
callq 0x11106
movq 0x78(%rsp), %rdi
callq 0x11106
movq 0x80(%rsp), %rdi
callq 0x11106
movq 0x88(%rsp), %rdi
callq 0x11106
movq 0x90(%rsp), %rdi
callq 0x11106
movq 0x98(%rsp), %rdi
callq 0x11106
movq 0xa0(%rsp), %rdi
callq 0x11106
movq 0xa8(%rsp), %rdi
callq 0x11106
movq 0xb0(%rsp), %rdi
callq 0x11128
movq 0xb8(%rsp), %rdi
callq 0x1114a
movq 0xc0(%rsp), %rdi
callq 0x110e4
movq 0xc8(%rsp), %rdi
callq 0x110e4
movq 0xd0(%rsp), %rdi
callq 0x11106
movq 0xd8(%rsp), %rdi
callq 0x11106
movq 0xe0(%rsp), %rdi
callq 0x110e4
movq 0x100(%rsp), %rdi
callq 0x110e4
movq 0xe8(%rsp), %rdi
callq 0x1116c
movq %rbx, %rdi
callq 0x17574
movq 0xf0(%rsp), %rdi
callq 0x43b0