// File: /workspace/github_cpp_makefile_star2_O2/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 %rbx
subq $0x230, %rsp            # imm = 0x230
leaq 0x200(%rsp), %rdi
pushq $0xa
popq %rbx
movl %ebx, %esi
movl %ebx, %edx
callq 0x2bd8
leaq 0x1d0(%rsp), %rdi
pushq $0x2
popq %rsi
movl %ebx, %edx
callq 0x2bd8
leaq 0x1a0(%rsp), %rdi
pushq $0x2
popq %rdx
movl %edx, %esi
callq 0x2bd8
movaps 0x173d(%rip), %xmm0     # 0x6490
movaps %xmm0, 0x80(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x98(%rsp)
movups %xmm0, 0xa8(%rsp)
movups %xmm0, 0xb8(%rsp)
movups %xmm0, 0xc8(%rsp)
andl $0x0, 0xf8(%rsp)
movups %xmm0, 0xd8(%rsp)
movups %xmm0, 0xe8(%rsp)
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
movq %rax, 0x100(%rsp)
leaq 0x170(%rsp), %rdi
leaq 0x200(%rsp), %rsi
callq 0x5564
leaq 0x98(%rsp), %rbx
leaq 0x170(%rsp), %rsi
movq %rbx, %rdi
callq 0x5642
leaq 0x170(%rsp), %rdi
callq 0x559e
leaq 0x140(%rsp), %rdi
leaq 0x1d0(%rsp), %rsi
callq 0x5564
leaq 0x140(%rsp), %rsi
movq %rbx, %rdi
callq 0x5642
leaq 0x140(%rsp), %rdi
callq 0x559e
leaq 0x110(%rsp), %rdi
leaq 0x1a0(%rsp), %rsi
callq 0x5564
leaq 0x110(%rsp), %rsi
movq %rbx, %rdi
callq 0x5642
leaq 0x110(%rsp), %rdi
callq 0x559e
leaq 0x28(%rsp), %rdi
callq 0x4ffa
leaq 0x10(%rsp), %rdi
callq 0x51c9
leaq 0x80(%rsp), %rdi
leaq 0x28(%rsp), %rsi
leaq 0x10(%rsp), %rdx
movsd 0x163c(%rip), %xmm0     # 0x64b0
movsd 0x163c(%rip), %xmm1     # 0x64b8
movl $0xc350, %ecx           # imm = 0xC350
callq 0x30ac
leaq 0x10(%rsp), %rdi
callq 0x473e
leaq 0x28(%rsp), %rdi
callq 0x473e
leaq 0x161f(%rip), %rsi      # 0x64c0
leaq 0x60(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x2742
leaq 0x80(%rsp), %rdi
leaq 0x60(%rsp), %rsi
callq 0x3a16
leaq 0x60(%rsp), %rdi
callq 0x2080
leaq 0x15fc(%rip), %rsi      # 0x64cf
leaq 0x40(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x2742
leaq 0x80(%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0x3e68
leaq 0x40(%rsp), %rdi
callq 0x2080
leaq 0x80(%rsp), %rdi
callq 0x52a2
leaq 0x80(%rsp), %rdi
callq 0x55b4
leaq 0x1a0(%rsp), %rdi
callq 0x559e
leaq 0x1d0(%rsp), %rdi
callq 0x559e
leaq 0x200(%rsp), %rdi
callq 0x559e
xorl %eax, %eax
addq $0x230, %rsp            # imm = 0x230
popq %rbx
retq
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
jmp 0x4f5e
jmp 0x4fbb
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0x2080
jmp 0x4fbe
jmp 0x4fbb
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x473e
jmp 0x4f79
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x473e
jmp 0x4fbe
movq %rax, %rbx
leaq 0x110(%rsp), %rdi
jmp 0x4faa
movq %rax, %rbx
leaq 0x140(%rsp), %rdi
jmp 0x4faa
movq %rax, %rbx
leaq 0x170(%rsp), %rdi
callq 0x559e
jmp 0x4fbe
movq %rax, %rbx
jmp 0x4fd8
movq %rax, %rbx
jmp 0x4fe5
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x55b4
leaq 0x1a0(%rsp), %rdi
callq 0x559e
leaq 0x1d0(%rsp), %rdi
callq 0x559e
leaq 0x200(%rsp), %rdi
callq 0x559e
movq %rbx, %rdi
callq 0x2260