// File: /workspace/github_cpp_makefile_star2_O1/leonn[P]neuralNet/data/xor/source/xordatagenerate.cpp
// Function: main
int main(int argc, char const *argv[]){
	srand(time(NULL));
	int inputs_number=atoi(argv[1]);
	//cout << inputs_number<<argc<<endl;

	cout<<"topology: 2 4 1"<<endl;
	cout << "eta: 0.8" << endl;
	cout << "momentum: 0.45" << endl;
	cout << "transfer_function: th" << endl;
	for (int i = 0; i < inputs_number; i++){
		int n1= (int)(2.0*rand() / double(RAND_MAX));
		int n2= (int)(2.0*rand() / double(RAND_MAX));
		int t = n1 ^ n2;
		cout<<"in: "<<n1<<".0 "<<n2<<".0 "<<endl;
		cout<<"out: "<<t<<".0"<<endl;
	}

	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
xorl %edi, %edi
callq 0x1070
movl %eax, %edi
callq 0x1080
movq 0x8(%rbx), %rdi
callq 0x10c0
movl %eax, %ebx
movq 0x2d8b(%rip), %r14      # 0x3fd8
leaq 0xdbc(%rip), %rsi       # 0x2010
movl $0xf, %edx
movq %r14, %rdi
callq 0x10a0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x1090
movsbl %al, %esi
movq %r14, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1050
leaq 0xd91(%rip), %rsi       # 0x2020
movl $0x8, %edx
movq %r14, %rdi
callq 0x10a0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x1090
movsbl %al, %esi
movq %r14, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1050
leaq 0xd5f(%rip), %rsi       # 0x2029
movl $0xe, %edx
movq %r14, %rdi
callq 0x10a0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x1090
movsbl %al, %esi
movq %r14, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1050
leaq 0xd33(%rip), %rsi       # 0x2038
movl $0x15, %edx
movq %r14, %rdi
callq 0x10a0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x1090
movsbl %al, %esi
movq %r14, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1050
testl %ebx, %ebx
jle 0x1475
movl %ebx, -0x2c(%rbp)
callq 0x1040
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
addsd %xmm0, %xmm0
movsd 0xcac(%rip), %xmm1      # 0x2008
divsd %xmm1, %xmm0
cvttsd2si %xmm0, %r15d
callq 0x1040
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
addsd %xmm0, %xmm0
divsd 0xc8b(%rip), %xmm0      # 0x2008
cvttsd2si %xmm0, %r13d
movl %r13d, %r12d
xorl %r15d, %r12d
movl $0x4, %edx
movq 0x2c44(%rip), %rbx      # 0x3fd8
movq %rbx, %rdi
leaq 0xcb0(%rip), %rsi       # 0x204e
callq 0x10a0
movq %rbx, %rdi
movl %r15d, %esi
callq 0x10d0
movq %rax, %r15
movl $0x3, %edx
movq %rax, %rdi
leaq 0xc93(%rip), %r14       # 0x2053
movq %r14, %rsi
callq 0x10a0
movq %r15, %rdi
movl %r13d, %esi
callq 0x10d0
movq %rax, %r15
movl $0x3, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x10a0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x1090
movsbl %al, %esi
movq %r15, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1050
movl $0x5, %edx
movq %rbx, %rdi
leaq 0xc3b(%rip), %rsi       # 0x2057
callq 0x10a0
movq %rbx, %rdi
movl -0x2c(%rbp), %ebx
movl %r12d, %esi
callq 0x10d0
movq %rax, %r15
movl $0x2, %edx
movq %rax, %rdi
leaq 0xc1c(%rip), %rsi       # 0x205d
callq 0x10a0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x1090
movsbl %al, %esi
movq %r15, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1050
decl %ebx
jne 0x1341
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq