// File: /workspace/github_cpp_makefile_star2_O1/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 0x2b84
leaq 0x1c0(%rsp), %rdi
movl $0x2, %esi
movl $0xa, %edx
callq 0x2b84
leaq 0x190(%rsp), %rdi
movl $0x2, %esi
movl $0x2, %edx
callq 0x2b84
movabsq $0x3e45798ee2308c3a, %rax # imm = 0x3E45798EE2308C3A
movq %rax, 0x108(%rsp)
movabsq $0x4008000000000000, %rax # imm = 0x4008000000000000
movq %rax, 0x110(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x120(%rsp)
movups %xmm0, 0x130(%rsp)
movups %xmm0, 0x140(%rsp)
movups %xmm0, 0x150(%rsp)
movups %xmm0, 0x160(%rsp)
movups %xmm0, 0x170(%rsp)
movl $0x0, 0x180(%rsp)
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
movq %rax, 0x188(%rsp)
leaq 0xd8(%rsp), %rdi
leaq 0x1f0(%rsp), %rsi
callq 0x2e86
leaq 0xf0(%rsp), %r15
leaq 0x208(%rsp), %rbx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x65cc
leaq 0x120(%rsp), %r14
leaq 0xd8(%rsp), %rsi
movq %r14, %rdi
callq 0x62be
movq %r15, %rdi
callq 0x2e38
movq 0xd8(%rsp), %rdi
testq %rdi, %rdi
je 0x568a
movq 0xe8(%rsp), %rsi
subq %rdi, %rsi
callq 0x2180
leaq 0xa8(%rsp), %rdi
leaq 0x1c0(%rsp), %rsi
callq 0x2e86
leaq 0xc0(%rsp), %r12
leaq 0x1d8(%rsp), %r15
movq %r12, %rdi
movq %r15, %rsi
callq 0x65cc
leaq 0xa8(%rsp), %rsi
movq %r14, %rdi
callq 0x62be
movq %r12, %rdi
callq 0x2e38
movq 0xa8(%rsp), %rdi
testq %rdi, %rdi
je 0x56ef
movq 0xb8(%rsp), %rsi
subq %rdi, %rsi
callq 0x2180
leaq 0x78(%rsp), %rdi
leaq 0x190(%rsp), %rsi
callq 0x2e86
leaq 0x90(%rsp), %r13
leaq 0x1a8(%rsp), %r12
movq %r13, %rdi
movq %r12, %rsi
callq 0x65cc
leaq 0x78(%rsp), %rsi
movq %r14, %rdi
callq 0x62be
movq %r13, %rdi
callq 0x2e38
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x574b
movq 0x88(%rsp), %rsi
subq %rdi, %rsi
callq 0x2180
leaq 0x60(%rsp), %rdi
callq 0x5a17
leaq 0x48(%rsp), %rdi
callq 0x5ca5
leaq 0x108(%rsp), %rdi
leaq 0x60(%rsp), %rsi
leaq 0x48(%rsp), %rdx
movsd 0x1d27(%rip), %xmm0     # 0x74a0
movsd 0x1d27(%rip), %xmm1     # 0x74a8
movl $0xc350, %ecx           # imm = 0xC350
callq 0x3048
leaq 0x48(%rsp), %rdi
callq 0x5268
leaq 0x60(%rsp), %rdi
callq 0x5268
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x1d01(%rip), %rsi      # 0x74b0
leaq 0x1d08(%rip), %rdx      # 0x74be
leaq 0x28(%rsp), %rdi
callq 0x2850
leaq 0x108(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x3e54
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x57e9
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2180
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x1cc6(%rip), %rsi      # 0x74bf
leaq 0x1ccd(%rip), %rdx      # 0x74cd
leaq 0x8(%rsp), %rdi
callq 0x2850
leaq 0x108(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x44e6
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x5833
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2180
leaq 0x108(%rsp), %rdi
callq 0x5e11
leaq 0x168(%rsp), %rdi
callq 0x5268
leaq 0x150(%rsp), %rdi
callq 0x5268
leaq 0x138(%rsp), %rdi
callq 0x5268
movq %r14, %rdi
callq 0x6726
movq %r12, %rdi
callq 0x2e38
movq 0x190(%rsp), %rdi
testq %rdi, %rdi
je 0x5894
movq 0x1a0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2180
movq %r15, %rdi
callq 0x2e38
movq 0x1c0(%rsp), %rdi
testq %rdi, %rdi
je 0x58b9
movq 0x1d0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2180
movq %rbx, %rdi
callq 0x2e38
movq 0x1f0(%rsp), %rdi
testq %rdi, %rdi
je 0x58de
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 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x59db
movq 0x18(%rsp), %rsi
jmp 0x5924
jmp 0x59d8
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x59db
movq 0x38(%rsp), %rsi
incq %rsi
jmp 0x59c7
jmp 0x59d8
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x5268
jmp 0x5943
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0x5268
jmp 0x59db
movq %rax, %rbx
leaq 0x78(%rsp), %rdi
jmp 0x59a5
movq %rax, %rbx
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x59db
movq 0x88(%rsp), %rsi
jmp 0x59c4
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
jmp 0x59a5
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
testq %rdi, %rdi
je 0x59db
movq 0xb8(%rsp), %rsi
jmp 0x59c4
movq %rax, %rbx
leaq 0xd8(%rsp), %rdi
callq 0x61fc
jmp 0x59db
movq %rax, %rbx
movq 0xd8(%rsp), %rdi
testq %rdi, %rdi
je 0x59db
movq 0xe8(%rsp), %rsi
subq %rdi, %rsi
callq 0x2180
jmp 0x59db
movq %rax, %rbx
jmp 0x59f5
movq %rax, %rbx
jmp 0x5a02
movq %rax, %rbx
leaq 0x108(%rsp), %rdi
callq 0x6220
leaq 0x190(%rsp), %rdi
callq 0x61fc
leaq 0x1c0(%rsp), %rdi
callq 0x61fc
leaq 0x1f0(%rsp), %rdi
callq 0x61fc
movq %rbx, %rdi
callq 0x2260