// File: /workspace/github_cpp_makefile_star2_O3/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 0x1665
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
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
xorl %r14d, %r14d
testl %r15d, %r15d
jns 0x1441
movl $0x7530, %edx           # imm = 0x7530
movq 0x10(%rsp), %rdi
movl $0x800, %esi            # imm = 0x800
callq 0x1fd7
movl %eax, %r15d
movq 0x3ba9(%rip), %rax      # 0x4fc8
movq (%rax), %rcx
testl %r15d, %r15d
js 0x1641
movl $0xb, %esi
movl $0x1, %edx
leaq 0x1c18(%rip), %rdi      # 0x3054
callq 0x1260
movl %r14d, 0x4(%rsp)
andl $0x3, %r14d
movl %r14d, %eax
leaq 0x1c9c(%rip), %rcx      # 0x30f0
movl (%rcx,%rax,4), %ebx
leaq 0x38(%rsp), %rdi
xorl %esi, %esi
callq 0x1240
movzwl 0x3ce6(%rip), %ebp      # 0x5150
movq %rbx, 0x8(%rsp)
leal 0x10(%rbx), %r12d
movslq %r12d, %rbx
movq %rbx, %rdi
callq 0x1030
movq %rax, %r13
movl %ebx, (%rax)
movw %bp, 0x4(%rax)
movw $0x1, 0x6(%rax)
movabsq $0x300000002, %rax      # imm = 0x300000002
movq %rax, 0x8(%r13)
testl %r14d, %r14d
je 0x14d1
callq 0x10c0
movq %rax, %rcx
movabsq $-0x513cc1e098ead65b, %rdx # imm = 0xAEC33E1F671529A5
imulq %rdx
addq %rcx, %rdx
movq %rdx, %rax
shrq $0x3f, %rax
shrq $0xb, %rdx
addl %eax, %edx
imull $0xbb8, %edx, %eax      # imm = 0xBB8
subl %eax, %ecx
movl %ecx, 0x10(%r13)
movl $0x1388, %ecx           # imm = 0x1388
movl %r15d, %edi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x1743
cmpq %rbx, %rax
jne 0x15d4
movq %r13, %rdi
callq 0x11c0
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x1240
movq %rbx, %rdi
callq 0x1030
movq %rax, %r13
movl $0x1388, %ecx           # imm = 0x1388
movl %r15d, %edi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x193d
cmpq %rbx, %rax
movl 0x4(%rsp), %r14d
jne 0x15ff
movq %r13, %rdi
callq 0x11c0
leaq 0x18(%rsp), %rdi
xorl %esi, %esi
callq 0x1240
movq 0x3a80(%rip), %rax      # 0x4fc8
movq (%rax), %rdi
movq 0x28(%rsp), %rax
movq 0x30(%rsp), %rdx
movq 0x18(%rsp), %rsi
subq %rax, %rsi
movq %rax, %r8
subq 0x38(%rsp), %r8
movq 0x20(%rsp), %rcx
subq %rdx, %rcx
movq %rdx, %rax
subq 0x40(%rsp), %rax
imulq $0x3e8, %r8, %r9        # imm = 0x3E8
movabsq $0x20c49ba5e353f7cf, %r10 # imm = 0x20C49BA5E353F7CF
imulq %r10
movq %rdx, %r8
shrq $0x3f, %r8
sarq $0x7, %rdx
addq %rdx, %r8
addq %r9, %r8
imulq $0x3e8, %rsi, %rsi      # imm = 0x3E8
movq %rcx, %rax
imulq %r10
movq %rdx, %r9
shrq $0x3f, %r9
sarq $0x7, %rdx
addq %rdx, %r9
addq %rsi, %r9
leaq 0x1aa1(%rip), %rsi      # 0x3060
leaq 0x1a54(%rip), %rdx      # 0x301a
movq 0x8(%rsp), %rcx
xorl %eax, %eax
callq 0x11f0
jmp 0x1639
movq 0x39ed(%rip), %rax      # 0x4fc8
movq (%rax), %rdi
leaq 0x1ab0(%rip), %rsi      # 0x3095
leaq 0x1a2e(%rip), %rdx      # 0x301a
movq 0x8(%rsp), %rcx
xorl %eax, %eax
callq 0x11f0
movl 0x4(%rsp), %r14d
jmp 0x1621
movq 0x39c2(%rip), %rax      # 0x4fc8
movq (%rax), %rdi
leaq 0x1ab1(%rip), %rsi      # 0x30c1
leaq 0x1a03(%rip), %rdx      # 0x301a
movl %r12d, %ecx
xorl %eax, %eax
callq 0x11f0
movl %r15d, %edi
callq 0x1270
movl $0x1, %edi
callq 0x1110
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
incl %r14d
jmp 0x13fc
movq %rcx, %rdi
leaq 0x19f2(%rip), %rsi      # 0x303d
leaq 0x19c8(%rip), %rdx      # 0x301a
xorl %eax, %eax
callq 0x11f0
movl $0x1, %edi
callq 0x1110
jmp 0x1639
movq 0x3974(%rip), %rax      # 0x4fe0
movq (%rax), %rdi
movq (%rbx), %rdx
leaq 0x198b(%rip), %rsi      # 0x3004
xorl %eax, %eax
callq 0x11f0
xorl %edi, %edi
callq 0x11a0
nop