// File: /workspace/github_cpp_makefile_star2_O1/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 $0x98, %rsp
movq %r8, 0x58(%rsp)
movq %rcx, %r14
movl %edx, %r15d
movl %esi, %r13d
movq %rdi, %rbx
callq 0x1a658
leaq 0x30ef4(%rip), %rax     # 0x36540
movq %rax, (%rbx)
leaq 0x60(%rbx), %rax
movq %rax, 0x90(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0xc(%rbx)
movups %xmm0, 0x1c(%rbx)
movups %xmm0, 0x2c(%rbx)
movups %xmm0, 0x3c(%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)
xorl %r12d, %r12d
movl %r12d, 0xc8(%rbx)
leaq 0xd0(%rbx), %rdi
leaq 0x218(%rbx), %rbp
leaq 0x230(%rbx), %rax
movq %rax, 0x48(%rsp)
leaq 0x248(%rbx), %rax
movq %rax, 0x40(%rsp)
leaq 0x260(%rbx), %rax
movq %rax, 0x38(%rsp)
leaq 0x278(%rbx), %rax
movq %rax, 0x30(%rsp)
leaq 0x290(%rbx), %rax
movq %rax, 0x28(%rsp)
leaq 0x2a8(%rbx), %rax
movq %rax, 0x20(%rsp)
leaq 0x2c0(%rbx), %rax
movq %rax, 0x18(%rsp)
leaq 0x2d8(%rbx), %rax
movq %rax, 0x10(%rsp)
leaq 0x2f0(%rbx), %rax
movq %rax, 0x8(%rsp)
leaq 0x308(%rbx), %rax
movq %rax, 0x88(%rsp)
leaq 0x320(%rbx), %rax
movq %rax, 0x80(%rsp)
leaq 0x338(%rbx), %rax
movq %rax, 0x78(%rsp)
leaq 0x350(%rbx), %rax
movq %rax, 0x70(%rsp)
leaq 0x368(%rbx), %rax
movq %rax, 0x68(%rsp)
leaq 0x380(%rbx), %rax
movq %rax, 0x60(%rsp)
movl $0x141, %edx            # imm = 0x141
xorl %esi, %esi
callq 0x4140
movl $0x1b1, %edx            # imm = 0x1B1
movq %rbp, 0x50(%rsp)
movq %rbp, %rdi
xorl %esi, %esi
callq 0x4140
movl $0x2, %eax
movl %eax, 0x3cc(%rbx)
movq %r12, 0x3d0(%rbx)
movabsq $0x3fe0000000000000, %rcx # imm = 0x3FE0000000000000
movq %rcx, 0x3d8(%rbx)
movq $0x1, 0x3e0(%rbx)
movl %r12d, 0x3e8(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x3f0(%rbx)
movq %r12, 0x400(%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), %r12
leaq 0x460(%rbx), %rbp
movups %xmm0, 0x448(%rbx)
movups %xmm0, 0x458(%rbx)
movups %xmm0, 0x468(%rbx)
movaps 0x217db(%rip), %xmm0    # 0x27010
movups %xmm0, 0x478(%rbx)
movb $0x1, 0x488(%rbx)
movl %r13d, 0xc(%rbx)
movslq %r15d, %rsi
movq %rbx, %rdi
callq 0x6288
movq (%rbx), %rax
movq %rbx, %rdi
movq %r14, %rsi
movq 0x58(%rsp), %rdx
callq *0xb0(%rax)
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, 0x58(%rsp)
movq %rbp, %rdi
callq 0x136aa
movq %r12, %rdi
callq 0x136aa
movq 0x428(%rbx), %rdi
testq %rdi, %rdi
je 0x589e
callq 0x4230
movq 0x410(%rbx), %rdi
testq %rdi, %rdi
je 0x58af
callq 0x4230
movq 0x60(%rsp), %rdi
callq 0x136aa
movq 0x68(%rsp), %rdi
callq 0x136aa
movq 0x70(%rsp), %rdi
callq 0x136aa
movq 0x78(%rsp), %rdi
callq 0x136aa
movq 0x80(%rsp), %rdi
callq 0x136aa
movq 0x88(%rsp), %rdi
callq 0x136aa
movq 0x8(%rsp), %rdi
callq 0x136e4
movq 0x10(%rsp), %rdi
callq 0x136e4
movq 0x18(%rsp), %rdi
callq 0x136e4
movq 0x20(%rsp), %rdi
callq 0x136e4
movq 0x28(%rsp), %rdi
callq 0x136e4
movq 0x30(%rsp), %rdi
callq 0x136e4
movq 0x38(%rsp), %rdi
callq 0x136e4
movq 0x40(%rsp), %rdi
callq 0x136e4
movq 0x48(%rsp), %rdi
callq 0x136e4
movq 0x50(%rsp), %rdi
callq 0x136e4
movq 0x1f8(%rbx), %rdi
testq %rdi, %rdi
je 0x5966
callq 0x4230
leaq 0x1e0(%rbx), %rdi
leaq 0x1c8(%rbx), %r15
leaq 0x1b0(%rbx), %r12
leaq 0x198(%rbx), %r13
leaq 0x180(%rbx), %rbp
leaq 0x168(%rbx), %r14
leaq 0x150(%rbx), %rax
movq %rax, 0x8(%rsp)
leaq 0x138(%rbx), %rax
movq %rax, 0x10(%rsp)
leaq 0x120(%rbx), %rax
movq %rax, 0x18(%rsp)
leaq 0x108(%rbx), %rax
movq %rax, 0x20(%rsp)
leaq 0xf0(%rbx), %rax
movq %rax, 0x28(%rsp)
leaq 0xd8(%rbx), %rax
movq %rax, 0x30(%rsp)
leaq 0xa8(%rbx), %rax
movq %rax, 0x38(%rsp)
leaq 0x90(%rbx), %rax
movq %rax, 0x40(%rsp)
leaq 0x78(%rbx), %rax
movq %rax, 0x48(%rsp)
leaq 0x40(%rbx), %rax
movq %rax, 0x50(%rsp)
callq 0x136e4
movq %r15, %rdi
callq 0x136e4
movq %r12, %rdi
callq 0x136e4
movq %r13, %rdi
callq 0x136e4
movq %rbp, %rdi
callq 0x136e4
movq %r14, %rdi
callq 0x136e4
movq 0x8(%rsp), %rdi
callq 0x136e4
movq 0x10(%rsp), %rdi
callq 0x136e4
movq 0x18(%rsp), %rdi
callq 0x1371e
movq 0x20(%rsp), %rdi
callq 0x13758
movq 0x28(%rsp), %rdi
callq 0x136aa
movq 0x30(%rsp), %rdi
callq 0x136aa
movq 0x38(%rsp), %rdi
callq 0x136e4
movq 0x40(%rsp), %rdi
callq 0x136e4
movq 0x48(%rsp), %rdi
callq 0x136aa
movq 0x90(%rsp), %rdi
callq 0x136aa
movq 0x50(%rsp), %rdi
callq 0x13792
movq %rbx, %rdi
callq 0x1a67c
movq 0x58(%rsp), %rdi
callq 0x43e0