// File: /workspace/github_c_makefile_star2_O3/agl[P]obstcp/obstcp-cli.c
// Function: main
int
main(int argc, char **argv) {
  if (argc != 3) return usage(argv[0]);

  struct in_addr inaddr;
  if (inet_aton(argv[1], &inaddr) == 0) return usage(argv[0]);
  return client(inaddr.s_addr, argv[2]);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x4358, %rsp           # imm = 0x4358
movq %rsi, %rbx
cmpl $0x3, %edi
jne 0x1354
movq 0x8(%rbx), %rdi
leaq 0x10(%rsp), %rsi
callq 0x1100
testl %eax, %eax
jne 0x1361
movq %rbx, %rdi
callq 0x120c
jmp 0x141d
movq %rbx, %rdi
callq 0x11a0
jmp 0x141d
movl 0x10(%rsp), %r15d
movq 0x10(%rbx), %r14
leaq 0x5cdc(%rip), %rdi      # 0x704d
xorl %esi, %esi
xorl %eax, %eax
callq 0x1130
testl %eax, %eax
jns 0x138a
leaq 0x5cab(%rip), %rdi      # 0x7030
jmp 0x1418
movl %eax, %ebx
leaq 0x18(%rsp), %rdi
callq 0x1ef2
leaq 0x30(%rsp), %rsi
movl $0x20, %edx
movl %ebx, %edi
callq 0x10d0
cmpq $0x20, %rax
jne 0x1411
leaq 0x18(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x1efa
testl %eax, %eax
jne 0x13c9
leaq 0x5c93(%rip), %rdi      # 0x705a
jmp 0x1418
leaq 0x20(%rsp), %rsi
movl $0x10, %edx
movl %ebx, %edi
callq 0x10d0
cmpq $0x10, %rax
jne 0x1411
movq %r14, %rdi
callq 0x1090
leaq 0xc8(%rsp), %rdi
leaq 0x18(%rsp), %rsi
leaq 0x20(%rsp), %r8
movq %r14, %rdx
movl %eax, %ecx
callq 0x2820
testl %eax, %eax
jne 0x1436
leaq 0x5c5f(%rip), %rdi      # 0x706e
jmp 0x1418
leaq 0x5c28(%rip), %rdi      # 0x7040
callq 0x1140
movl $0x1, %ebx
movl %ebx, %eax
addq $0x4358, %rsp           # imm = 0x4358
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r14, %rdi
callq 0x1090
movl $0x1, %ebx
leaq 0x14(%rsp), %rcx
movq %r14, %rdi
movl %eax, %esi
movl $0x1, %edx
xorl %r8d, %r8d
xorl %eax, %eax
callq 0x1bdb
testl %eax, %eax
jne 0x146c
leaq 0x5c1e(%rip), %rdi      # 0x7085
jmp 0x1593
movl $0x1, %ebx
movl $0x2, %edi
movl $0x1, %esi
xorl %edx, %edx
callq 0x1180
movl %eax, %ebp
leaq 0x50(%rsp), %rsi
movq $0x0, 0x8(%rsi)
movw $0x2, (%rsi)
movzwl 0x14(%rsp), %eax
rolw $0x8, %ax
movw %ax, 0x2(%rsi)
movl %r15d, 0x4(%rsi)
movl %ebp, %edi
movl $0x10, %edx
callq 0x1160
testl %eax, %eax
jne 0x14f7
leaq 0xc8(%rsp), %rdi
leaq 0x90(%rsp), %rbx
movq %rbx, %rsi
callq 0x2afe
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movl %ebp, %edi
callq 0x1080
movl $0x2, %edi
callq 0x1150
testl %eax, %eax
jns 0x1503
leaq 0x5baf(%rip), %rdi      # 0x70a1
jmp 0x1418
leaq 0x5b9b(%rip), %rdi      # 0x7099
jmp 0x1593
movl %eax, %r14d
leaq 0x4(%rsp), %rcx
movl $0x0, 0x8(%rcx)
movq $0x1, (%rcx)
movl $0x1, %ebx
movl %eax, %edi
movl $0x1, %esi
xorl %edx, %edx
callq 0x10c0
testl %eax, %eax
jne 0x158c
leaq 0x4(%rsp), %rcx
movl %ebp, 0x4(%rcx)
movl $0x1, %ebx
movl %r14d, %edi
movl $0x1, %esi
movl %ebp, %edx
callq 0x10c0
testl %eax, %eax
jne 0x158c
leaq 0x60(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x33c9
leaq 0x4(%rsp), %rsi
movl $0x1, %ebx
movl %r14d, %edi
movl $0x1, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x1120
cmpl $-0x1, %eax
jne 0x159d
leaq 0x5b2e(%rip), %rdi      # 0x70b8
jmp 0x1593
leaq 0x5b1b(%rip), %rdi      # 0x70ae
callq 0x1140
jmp 0x1422
leaq 0x2350(%rsp), %r15
leaq 0x350(%rsp), %r13
leaq 0x4(%rsp), %r12
movl %r14d, (%rsp)
cmpl $0x0, 0x8(%rsp)
je 0x1603
movl $0x2000, %ecx           # imm = 0x2000
leaq 0x60(%rsp), %rdi
movl %ebp, %esi
movq %r13, %rdx
callq 0x3817
testq %rax, %rax
je 0x16d8
js 0x16e4
movl $0x1, %edi
movq %r13, %rsi
movq %rax, %rdx
callq 0x1080
jmp 0x169c
callq 0x1050
cmpl $0x4, (%rax)
jne 0x16cc
movl $0x2000, %edx           # imm = 0x2000
xorl %edi, %edi
movq %r15, %rsi
callq 0x10d0
cmpq $-0x1, %rax
je 0x15f5
movq %rax, %r12
testq %rax, %rax
je 0x16bf
js 0x16cc
movq %r13, %r14
leaq 0xc8(%rsp), %r13
movq %r13, %rdi
movq %r15, %rsi
movq %r15, %rdx
movq %r12, %rcx
callq 0x2d02
movq %r13, %rdi
movq %r14, %r13
movq %r14, %rsi
callq 0x2d17
testl %eax, %eax
je 0x1686
cmpl $-0x1, %eax
movl (%rsp), %r14d
je 0x16f0
movq %r15, 0x360(%rsp)
movq %r12, 0x368(%rsp)
movl %ebp, %edi
movq %r13, %rsi
movl $0x2, %edx
callq 0x1070
jmp 0x1697
movl %ebp, %edi
movq %r15, %rsi
movq %r12, %rdx
callq 0x1080
movl (%rsp), %r14d
leaq 0x4(%rsp), %r12
movl %r14d, %edi
movq %r12, %rsi
movl $0x1, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x1120
cmpl $-0x1, %eax
jne 0x15b6
jmp 0x1583
movl %r14d, %edi
movq %r15, %rsi
callq 0x11dd
jmp 0x1697
leaq 0x5a02(%rip), %rdi      # 0x70d5
jmp 0x1418
callq 0x11bb
xorl %ebx, %ebx
jmp 0x1422
leaq 0x5a24(%rip), %rdi      # 0x710f
jmp 0x1418
leaq 0x59f1(%rip), %rdi      # 0x70e8
jmp 0x1418