// File: /workspace/github_cpp_makefile_star2_O3/gkosae[P]ArduinoNeuralNet/main.cpp
// Function: main
int main(int argc, char* argv[]) {
    Layer input_layer{10, 10};
    Layer hidden_layer{2, 10};
    Layer output_layer{2, 2};

    NeuralNet network{};
    network.addLayer(input_layer);
    network.addLayer(hidden_layer);
    network.addLayer(output_layer);

    network.train(createInputSamples(), createOutputSamples());
    network.printNetworkInfo();
    network.generateArduinoCode();
    testNetwork(network);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x220, %rsp            # imm = 0x220
leaq 0x1f0(%rsp), %rdi
movl $0xa, %esi
movl $0xa, %edx
callq 0x2bd0
leaq 0x1c0(%rsp), %rdi
movl $0x2, %esi
movl $0xa, %edx
callq 0x2bd0
leaq 0x190(%rsp), %rdi
movl $0x2, %esi
movl $0x2, %edx
callq 0x2bd0
movaps 0x1e48(%rip), %xmm0     # 0x74d0
movaps %xmm0, 0x100(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x118(%rsp)
movups %xmm0, 0x128(%rsp)
movups %xmm0, 0x138(%rsp)
movups %xmm0, 0x148(%rsp)
movups %xmm0, 0x158(%rsp)
movups %xmm0, 0x168(%rsp)
movl $0x0, 0x178(%rsp)
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
movq %rax, 0x180(%rsp)
leaq 0xd0(%rsp), %rdi
leaq 0x1f0(%rsp), %rsi
callq 0x2ee4
leaq 0xe8(%rsp), %r15
leaq 0x208(%rsp), %rbx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x665a
leaq 0x118(%rsp), %r14
leaq 0xd0(%rsp), %rsi
movq %r14, %rdi
callq 0x635c
movq %r15, %rdi
callq 0x2e90
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0x574d
movq 0xe0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2180
leaq 0xa0(%rsp), %rdi
leaq 0x1c0(%rsp), %rsi
callq 0x2ee4
leaq 0xb8(%rsp), %r12
leaq 0x1d8(%rsp), %r15
movq %r12, %rdi
movq %r15, %rsi
callq 0x665a
leaq 0xa0(%rsp), %rsi
movq %r14, %rdi
callq 0x635c
movq %r12, %rdi
callq 0x2e90
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x57b2
movq 0xb0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2180
leaq 0x70(%rsp), %rdi
leaq 0x190(%rsp), %rsi
callq 0x2ee4
leaq 0x88(%rsp), %r13
leaq 0x1a8(%rsp), %r12
movq %r13, %rdi
movq %r12, %rsi
callq 0x665a
leaq 0x70(%rsp), %rsi
movq %r14, %rdi
callq 0x635c
movq %r13, %rdi
callq 0x2e90
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x580e
movq 0x80(%rsp), %rsi
subq %rdi, %rsi
callq 0x2180
leaq 0x58(%rsp), %rdi
callq 0x5ad4
leaq 0x40(%rsp), %rdi
callq 0x5d63
leaq 0x100(%rsp), %rdi
leaq 0x58(%rsp), %rsi
leaq 0x40(%rsp), %rdx
movsd 0x1cb4(%rip), %xmm0     # 0x74f0
movsd 0x1cb4(%rip), %xmm1     # 0x74f8
movl $0xc350, %ecx           # imm = 0xC350
callq 0x30a4
leaq 0x40(%rsp), %rdi
callq 0x532c
leaq 0x58(%rsp), %rdi
callq 0x532c
leaq 0x30(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x1c8e(%rip), %rsi      # 0x7500
leaq 0x1c95(%rip), %rdx      # 0x750e
leaq 0x20(%rsp), %rdi
callq 0x28b2
leaq 0x100(%rsp), %rdi
leaq 0x20(%rsp), %rsi
callq 0x3efc
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x58ac
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2180
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x1c53(%rip), %rsi      # 0x750f
leaq 0x1c5a(%rip), %rdx      # 0x751d
movq %rsp, %rdi
callq 0x28b2
leaq 0x100(%rsp), %rdi
movq %rsp, %rsi
callq 0x458e
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x58f1
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2180
leaq 0x100(%rsp), %rdi
callq 0x5eae
leaq 0x160(%rsp), %rdi
callq 0x532c
leaq 0x148(%rsp), %rdi
callq 0x532c
leaq 0x130(%rsp), %rdi
callq 0x532c
movq %r14, %rdi
callq 0x67b4
movq %r12, %rdi
callq 0x2e90
movq 0x190(%rsp), %rdi
testq %rdi, %rdi
je 0x5952
movq 0x1a0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2180
movq %r15, %rdi
callq 0x2e90
movq 0x1c0(%rsp), %rdi
testq %rdi, %rdi
je 0x5977
movq 0x1d0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2180
movq %rbx, %rdi
callq 0x2e90
movq 0x1f0(%rsp), %rdi
testq %rdi, %rdi
je 0x599c
movq 0x200(%rsp), %rsi
subq %rdi, %rsi
callq 0x2180
xorl %eax, %eax
addq $0x220, %rsp            # imm = 0x220
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x5a98
movq 0x10(%rsp), %rsi
jmp 0x59e1
jmp 0x5a95
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x5a98
movq 0x30(%rsp), %rsi
incq %rsi
jmp 0x5a84
jmp 0x5a95
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x532c
jmp 0x5a00
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
callq 0x532c
jmp 0x5a98
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
jmp 0x5a62
movq %rax, %rbx
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x5a98
movq 0x80(%rsp), %rsi
jmp 0x5a81
movq %rax, %rbx
leaq 0xa0(%rsp), %rdi
jmp 0x5a62
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x5a98
movq 0xb0(%rsp), %rsi
jmp 0x5a81
movq %rax, %rbx
leaq 0xd0(%rsp), %rdi
callq 0x629a
jmp 0x5a98
movq %rax, %rbx
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0x5a98
movq 0xe0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2180
jmp 0x5a98
movq %rax, %rbx
jmp 0x5ab2
movq %rax, %rbx
jmp 0x5abf
movq %rax, %rbx
leaq 0x100(%rsp), %rdi
callq 0x62be
leaq 0x190(%rsp), %rdi
callq 0x629a
leaq 0x1c0(%rsp), %rdi
callq 0x629a
leaq 0x1f0(%rsp), %rdi
callq 0x629a
movq %rbx, %rdi
callq 0x2260