// File: /workspace/github_cpp_makefile_star2_O2/roberty65[P]bServer/frame/testClient/testForward.cpp
// Function: main
int main(int argc, char **argv)
{
	if (argc < 2) {
		fprintf(stderr, "Usage: %s host [cmd]\n", argv[0]);
		exit(0);
	}

	srandom(time(NULL));	
	setbuf(stdout, NULL);

	host = argv[1];
	if (argc >= 3) cmd = atoi(argv[2]);

	test001_sync_req_rsp();

	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
cmpl $0x1, %edi
jle 0x161e
movl %edi, %ebp
xorl %edi, %edi
callq 0x1150
movl %eax, %edi
callq 0x1060
movq 0x3c1b(%rip), %rax      # 0x4fc8
movq (%rax), %rdi
xorl %esi, %esi
callq 0x11e0
movq 0x8(%rbx), %rax
movq %rax, 0x10(%rsp)
cmpl $0x2, %ebp
je 0x13d4
movq 0x10(%rbx), %rdi
callq 0x1220
movl %eax, 0x3d7c(%rip)      # 0x5150
movq 0x3bed(%rip), %rax      # 0x4fc8
movq (%rax), %rdi
leaq 0x1c4b(%rip), %rsi      # 0x3030
leaq 0x1c2e(%rip), %rdx      # 0x301a
xorl %eax, %eax
callq 0x11f0
pushq $-0x1
popq %r13
xorl %r14d, %r14d
testl %r13d, %r13d
jns 0x143b
movl $0x7530, %edx           # imm = 0x7530
movq 0x10(%rsp), %rdi
movl $0x800, %esi            # imm = 0x800
callq 0x1e4f
movl %eax, %r13d
movq 0x3bab(%rip), %rax      # 0x4fc8
movq (%rax), %rcx
testl %r13d, %r13d
js 0x15fc
leaq 0x1c24(%rip), %rdi      # 0x3054
pushq $0xb
popq %rsi
pushq $0x1
popq %rdx
callq 0x1260
movl %r14d, 0x4(%rsp)
andl $0x3, %r14d
movl %r14d, %eax
leaq 0x1ca2(%rip), %rcx      # 0x30f0
movl (%rcx,%rax,4), %ebx
leaq 0x38(%rsp), %rdi
xorl %esi, %esi
callq 0x1240
movzwl 0x3ceb(%rip), %r15d     # 0x5150
movq %rbx, 0x8(%rsp)
addl $0x10, %ebx
movslq %ebx, %rbp
movq %rbp, %rdi
callq 0x1030
movq %rax, %r12
movl %ebp, (%rax)
movw %r15w, 0x4(%rax)
movw $0x1, 0x6(%rax)
movabsq $0x300000002, %rax      # imm = 0x300000002
movq %rax, 0x8(%r12)
testl %r14d, %r14d
je 0x14b0
callq 0x10c0
cqto
movl $0xbb8, %ecx            # imm = 0xBB8
idivq %rcx
movl %edx, 0x10(%r12)
movl $0x1388, %ecx           # imm = 0x1388
movl %r13d, %edi
movq %r12, %rsi
movq %rbp, %rdx
callq 0x16e8
cmpq %rbp, %rax
jne 0x1594
movq %r12, %rdi
callq 0x11c0
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x1240
movq %rbp, %rdi
callq 0x1030
movq %rax, %r12
movl $0x1388, %ecx           # imm = 0x1388
movl %r13d, %edi
movq %rax, %rsi
movq %rbp, %rdx
callq 0x18bc
cmpq %rbp, %rax
movl 0x4(%rsp), %r14d
jne 0x15bf
movq %r12, %rdi
callq 0x11c0
leaq 0x18(%rsp), %rdi
xorl %esi, %esi
callq 0x1240
movq 0x3aa1(%rip), %rax      # 0x4fc8
movq (%rax), %rdi
movq 0x28(%rsp), %rcx
movq %rcx, %rdx
subq 0x38(%rsp), %rdx
movq 0x30(%rsp), %rsi
movq %rsi, %rax
subq 0x40(%rsp), %rax
imulq $0x3e8, %rdx, %r8       # imm = 0x3E8
cqto
movl $0x3e8, %r10d           # imm = 0x3E8
idivq %r10
addq %rax, %r8
movq 0x18(%rsp), %rdx
movq 0x20(%rsp), %rax
subq %rcx, %rdx
imulq $0x3e8, %rdx, %r9       # imm = 0x3E8
subq %rsi, %rax
cqto
idivq %r10
addq %rax, %r9
leaq 0x1ae1(%rip), %rsi      # 0x3060
leaq 0x1a94(%rip), %rdx      # 0x301a
movq 0x8(%rsp), %rcx
xorl %eax, %eax
callq 0x11f0
jmp 0x15f4
movq 0x3a2d(%rip), %rax      # 0x4fc8
movq (%rax), %rdi
leaq 0x1af0(%rip), %rsi      # 0x3095
leaq 0x1a6e(%rip), %rdx      # 0x301a
movq 0x8(%rsp), %rcx
xorl %eax, %eax
callq 0x11f0
movl 0x4(%rsp), %r14d
jmp 0x15e0
movq 0x3a02(%rip), %rax      # 0x4fc8
movq (%rax), %rdi
leaq 0x1af1(%rip), %rsi      # 0x30c1
leaq 0x1a43(%rip), %rdx      # 0x301a
movl %ebx, %ecx
xorl %eax, %eax
callq 0x11f0
movl %r13d, %edi
callq 0x1270
pushq $0x1
popq %rdi
callq 0x1110
pushq $-0x1
popq %r13
incl %r14d
jmp 0x13fa
movq %rcx, %rdi
leaq 0x1a37(%rip), %rsi      # 0x303d
leaq 0x1a0d(%rip), %rdx      # 0x301a
xorl %eax, %eax
callq 0x11f0
pushq $0x1
popq %rdi
callq 0x1110
jmp 0x15f4
movq 0x39bb(%rip), %rax      # 0x4fe0
movq (%rax), %rdi
movq (%rbx), %rdx
leaq 0x19d2(%rip), %rsi      # 0x3004
xorl %eax, %eax
callq 0x11f0
xorl %edi, %edi
callq 0x11a0