// File: /workspace/github_cpp_makefile_star2_O1/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 0x1671
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 0x1fe3
movl %eax, %r15d
movq 0x3ba9(%rip), %rax      # 0x4fc8
movq (%rax), %rcx
testl %r15d, %r15d
js 0x164d
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)
addl $0x10, %ebx
movslq %ebx, %r12
movq %r12, %rdi
callq 0x1030
movq %rax, %r13
movl %r12d, (%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 %r12, %rdx
callq 0x174f
movq %rax, %r14
cmpq %r12, %rax
jne 0x14f6
movq %r13, %rdi
callq 0x11c0
jmp 0x151a
movq 0x3acb(%rip), %rax      # 0x4fc8
movq (%rax), %rdi
leaq 0x1b8e(%rip), %rsi      # 0x3095
leaq 0x1b0c(%rip), %rdx      # 0x301a
movq 0x8(%rsp), %rcx
xorl %eax, %eax
callq 0x11f0
cmpq %r12, %r14
jne 0x1628
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x1240
movq %r12, %rdi
callq 0x1030
movq %rax, %r14
movl $0x1388, %ecx           # imm = 0x1388
movl %r15d, %edi
movq %rax, %rsi
movq %r12, %rdx
callq 0x194d
movq %rax, %r13
cmpq %r12, %rax
jne 0x155f
movq %r14, %rdi
callq 0x11c0
jmp 0x1580
movq 0x3a62(%rip), %rax      # 0x4fc8
movq (%rax), %rdi
leaq 0x1b51(%rip), %rsi      # 0x30c1
leaq 0x1aa3(%rip), %rdx      # 0x301a
movl %ebx, %ecx
xorl %eax, %eax
callq 0x11f0
cmpq %r12, %r13
jne 0x1628
leaq 0x18(%rsp), %rdi
xorl %esi, %esi
callq 0x1240
movq 0x3a2c(%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 0x1a4d(%rip), %rsi      # 0x3060
leaq 0x1a00(%rip), %rdx      # 0x301a
movq 0x8(%rsp), %rcx
xorl %eax, %eax
callq 0x11f0
jmp 0x1640
movl %r15d, %edi
callq 0x1270
movl $0x1, %edi
callq 0x1110
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
movl 0x4(%rsp), %r14d
incl %r14d
jmp 0x13fc
movq %rcx, %rdi
leaq 0x19e6(%rip), %rsi      # 0x303d
leaq 0x19bc(%rip), %rdx      # 0x301a
xorl %eax, %eax
callq 0x11f0
movl $0x1, %edi
callq 0x1110
jmp 0x1645
movq 0x3968(%rip), %rax      # 0x4fe0
movq (%rax), %rdi
movq (%rbx), %rdx
leaq 0x197f(%rip), %rsi      # 0x3004
xorl %eax, %eax
callq 0x11f0
xorl %edi, %edi
callq 0x11a0
nop