// File: /workspace/github_c_makefile_star2_O3/Tarsnap[P]spiped/spipe/main.c
// Function: main
int
main(int argc, char * argv[])
{
	/* Command-line parameters. */
	const char * opt_b = NULL;
	int opt_f = 0;
	int opt_g = 0;
	int opt_j = 0;
	const char * opt_k = NULL;
	int opt_o_set = 0;
	double opt_o = 0.0;
	const char * opt_t = NULL;

	/* Working variables. */
	struct events_threads ET;
	struct sock_addr * sa_b = NULL;
	struct sock_addr ** sas_t;
	struct proto_secret * K;
	const char * ch;
	int s[2];
	void * conn_cookie;
	int rc;

	WARNP_INIT;

	/* Parse the command line. */
	while ((ch = GETOPT(argc, argv)) != NULL) {
		GETOPT_SWITCH(ch) {
		GETOPT_OPTARG("-b"):
			if (opt_b)
				usage();
			opt_b = optarg;
			break;
		GETOPT_OPT("-f"):
			if (opt_f)
				usage();
			opt_f = 1;
			break;
		GETOPT_OPT("-g"):
			if (opt_g)
				usage();
			opt_g = 1;
			break;
		GETOPT_OPT("-j"):
			if (opt_j)
				usage();
			opt_j = 1;
			break;
		GETOPT_OPTARG("-k"):
			if (opt_k)
				usage();
			opt_k = optarg;
			break;
		GETOPT_OPTARG("-o"):
			if (opt_o_set)
				usage();
			opt_o_set = 1;
			if (PARSENUM(&opt_o, optarg, 0, INFINITY))
				OPT_EPARSE(ch, optarg);
			break;
		GETOPT_OPTARG("-t"):
			if (opt_t)
				usage();
			opt_t = optarg;
			break;
		GETOPT_OPT("-v"):
			fprintf(stderr, "spipe @VERSION@\n");
			exit(0);
		GETOPT_MISSING_ARG:
			warn0("Missing argument to %s", ch);
			usage();
		GETOPT_DEFAULT:
			warn0("illegal option -- %s", ch);
			usage();
		}
	}
	argc -= optind;
	argv += optind;

	/* We should have processed all the arguments. */
	if (argc != 0)
		usage();
	(void)argv; /* argv is not used beyond this point. */

	/* Set defaults. */
	if (opt_o == 0.0)
		opt_o = 5.0;

	/* Sanity-check options. */
	if (opt_f && opt_g)
		usage();
	if (opt_k == NULL)
		usage();
	if (!(opt_o > 0.0))
		usage();
	if ((opt_t == NULL) || sock_addr_validate(opt_t))
		usage();
	if (opt_b && sock_addr_validate(opt_b))
		usage();

	/* Initialize the "events & threads" cookie. */
	ET.conndone = 0;
	ET.connection_error = 0;
	ET.stopped = 0;

	/* Resolve target address. */
	if ((sas_t = sock_resolve(opt_t)) == NULL) {
		warnp("Error resolving socket address: %s", opt_t);
		goto err0;
	}
	if (sas_t[0] == NULL) {
		warn0("No addresses found for %s", opt_t);
		goto err1;
	}

	/* Resolve bind address (if applicable). */
	if (opt_b && ((sa_b = sock_resolve_one(opt_b, 1)) == NULL)) {
		warnp("Failed to get bind address");
		goto err1;
	}

	/* Load the keying data. */
	if ((K = proto_crypt_secret(opt_k)) == NULL) {
		warnp("Error reading shared secret");
		goto err2;
	}

	/*
	 * Create a socket pair to push bits through.  The spiped protocol
	 * code expects to be handed a socket to read/write bits to, and our
	 * stdin/stdout might not be sockets (in fact, almost certainly aren't
	 * sockets); so we'll hand one end of the socket pair to the spiped
	 * protocol code and shuttle bits between stdin/stdout and the other
	 * end of the socket pair ourselves.
	 */
	if (socketpair(AF_UNIX, SOCK_STREAM, 0, s)) {
		warnp("socketpair");
		goto err3;
	}

	/* Set up a connection. */
	if ((conn_cookie = proto_conn_create(s[1], sas_t, sa_b, 0, opt_f,
	    opt_g, opt_j, K, opt_o, callback_conndied, &ET)) == NULL) {
		warnp("Could not set up connection");
		goto err4;
	}

	/* sas_t and s[1] are now owned by proto_conn. */
	sas_t = NULL;
	s[1] = -1;

	/* Push bits from the socket to stdout. */
	if (pushbits(s[0], STDOUT_FILENO, &ET.threads[1])) {
		warnp("Could not push bits");
		goto err5;
	}

	/* Push bits from stdin into the socket. */
	if (pushbits(STDIN_FILENO, s[0], &ET.threads[0])) {
		warnp("Could not push bits");
		goto err6;
	}

	/* Register a handler for SIGTERM. */
	if (graceful_shutdown_initialize(&callback_graceful_shutdown, &ET)) {
		warn0("Failed to start graceful_shutdown timer");
		goto err7;
	}

	/* Loop until we're done with the connection. */
	if (events_spin(&ET.conndone)) {
		warnp("Error running event loop");
		goto err5;
	}

	/* Wait for threads to finish (if necessary) */
	if (ET.stopped == 0) {
		if ((rc = pthread_join(ET.threads[0], NULL)) != 0) {
			warn0("pthread_join: %s", strerror(rc));
			goto err3;
		}
		if ((rc = pthread_join(ET.threads[1], NULL)) != 0) {
			warn0("pthread_join: %s", strerror(rc));
			goto err3;
		}
	}

	/* Clean up. */
	if (close(s[0]))
		warnp("close");
	proto_crypt_secret_free(K);
	sock_addr_free(sa_b);

	/* Handle a connection error. */
	if (ET.connection_error)
		goto err0;

	/* Success! */
	exit(0);

err7:
	if ((rc = pthread_cancel(ET.threads[0])) != 0)
		warn0("pthread_cancel: %s", strerror(rc));
	if ((rc = pthread_join(ET.threads[0], NULL)) != 0)
		warn0("pthread_join: %s", strerror(rc));
err6:
	if ((rc = pthread_cancel(ET.threads[1])) != 0)
		warn0("pthread_cancel: %s", strerror(rc));
	if ((rc = pthread_join(ET.threads[1], NULL)) != 0)
		warn0("pthread_join: %s", strerror(rc));
err5:
	proto_conn_drop(conn_cookie, PROTO_CONN_CANCELLED);
err4:
	if ((s[1] != -1) && close(s[1]))
		warnp("close");
	if (close(s[0]))
		warnp("close");
err3:
	proto_crypt_secret_free(K);
err2:
	sock_addr_free(sa_b);
err1:
	sock_addr_freelist(sas_t);
err0:
	/* Failure! */
	exit(1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movl %edi, 0x50(%rsp)
movq %rsi, 0x60(%rsp)
movq (%rsi), %rdi
testq %rdi, %rdi
je 0x3be3
callq 0x77d4
movl 0x50(%rsp), %edi
movq 0x60(%rsp), %rsi
callq 0x5e3c
testq %rax, %rax
jne 0x3d12
xorpd %xmm0, %xmm0
movapd %xmm0, 0x70(%rsp)
xorl %ebp, %ebp
xorl %r12d, %r12d
movq $0x0, 0x20(%rsp)
movq $0x0, 0x18(%rsp)
movl $0x0, 0xc(%rsp)
xorl %r14d, %r14d
leaq 0x1397b(%rip), %rax     # 0x175a8
movl 0x50(%rsp), %ecx
cmpl %ecx, (%rax)
jne 0x4136
movl 0xc(%rsp), %r13d
testl %r13d, %r13d
setne %al
testl %ebp, %ebp
setne %cl
andb %al, %cl
cmpb $0x1, %cl
je 0x4136
cmpq $0x0, 0x20(%rsp)
je 0x4136
xorpd %xmm2, %xmm2
movapd 0x70(%rsp), %xmm1
cmpeqsd %xmm1, %xmm2
movsd 0xc391(%rip), %xmm0     # 0x10008
andpd %xmm2, %xmm0
andnpd %xmm1, %xmm2
orpd %xmm0, %xmm2
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm2
jbe 0x4136
movapd %xmm2, 0x50(%rsp)
movq 0x18(%rsp), %rbx
testq %rbx, %rbx
je 0x4136
movq %rbx, %rdi
callq 0x776e
testl %eax, %eax
jne 0x4136
testq %r14, %r14
je 0x3cca
movq %r14, %rdi
callq 0x776e
testl %eax, %eax
jne 0x4136
movq $0x0, 0x40(%rsp)
movl $0x0, 0x48(%rsp)
movq %rbx, %rdi
callq 0x67d0
testq %rax, %rax
jne 0x420b
callq 0x3400
cmpl $0x0, (%rax)
jne 0x4235
leaq 0xc3b7(%rip), %rdi      # 0x100b8
movq 0x18(%rsp), %rsi
xorl %eax, %eax
callq 0x7973
jmp 0x4156
movq %rax, %rbx
xorl %r15d, %r15d
leaq 0x23a71(%rip), %r13     # 0x27790
movl $0x0, 0xc(%rsp)
movq $0x0, 0x18(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x70(%rsp)
movl $0x0, 0x28(%rsp)
movq $0x0, 0x20(%rsp)
xorl %r12d, %r12d
xorl %ebp, %ebp
movq $0x9d, (%rsp)
movq (%rsp), %rax
decq %rax
movq %rax, 0x68(%rsp)
movl $0x0, 0x2c(%rsp)
leaq 0xc2d2(%rip), %r14      # 0x10045
cmpl $0x0, (%r13)
je 0x3d88
movq %rbx, %rdi
callq 0x6183
addq (%rsp), %rax
jmp 0x3d96
movq 0x68(%rsp), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x68(%rsp)
cmpq $0xb6, %rax
jg 0x3dee
cmpq $0xa7, %rax
jle 0x3e2c
cmpq $0xa8, %rax
je 0x3ef1
cmpq $0xad, %rax
je 0x3eaa
cmpq $0xb2, %rax
jne 0x3f3d
cmpl $0x0, (%r13)
jne 0x4097
movl $0xb2, %esi
subq (%rsp), %rsi
leaq 0xc268(%rip), %rdi      # 0x10051
jmp 0x3ee2
cmpq $0xc2, %rax
jle 0x3e60
cmpq $0xc3, %rax
je 0x3f0e
cmpq $0xc6, %rax
jne 0x3f35
cmpl $0x0, (%r13)
jne 0x40ea
movl $0xc6, %edi
subq (%rsp), %rdi
callq 0x6351
jmp 0x3d73
cmpq $0x9e, %rax
je 0x3e91
cmpq $0xa3, %rax
jne 0x3f3d
cmpl $0x0, (%r13)
jne 0x3f7e
movl $0xa3, %esi
subq (%rsp), %rsi
leaq 0xc1ed(%rip), %rdi      # 0x10048
jmp 0x3f29
cmpq $0xb7, %rax
je 0x3ec7
cmpq $0xbe, %rax
jne 0x3f3d
cmpl $0x0, (%r13)
jne 0x3fba
movl $0xbe, %esi
subq (%rsp), %rsi
leaq 0xc1e6(%rip), %rdi      # 0x10075
jmp 0x3ee2
cmpl $0x0, (%r13)
jne 0x3f99
movl $0x9e, %esi
subq (%rsp), %rsi
movq %r14, %rdi
jmp 0x3ee2
cmpl $0x0, (%r13)
jne 0x4084
movl $0xad, %esi
subq (%rsp), %rsi
leaq 0xc189(%rip), %rdi      # 0x1004e
jmp 0x3f29
cmpl $0x0, (%r13)
jne 0x3fe6
movl $0xb7, %esi
subq (%rsp), %rsi
leaq 0xc172(%rip), %rdi      # 0x10054
movl $0x1, %edx
callq 0x6240
jmp 0x3d73
cmpl $0x0, (%r13)
jne 0x40bc
movl $0xa8, %esi
subq (%rsp), %rsi
leaq 0xc13f(%rip), %rdi      # 0x1004b
jmp 0x3f29
cmpl $0x0, (%r13)
jne 0x40f3
movl $0xc3, %esi
subq (%rsp), %rsi
leaq 0xc14f(%rip), %rdi      # 0x10078
xorl %edx, %edx
callq 0x6240
jmp 0x3d73
cmpq $0xc9, %rax
je 0x3f6e
cmpl $0x0, (%r13)
jne 0x411a
cmpl $0x0, 0x2c(%rsp)
jne 0x3d73
movl $0xc9, %edi
subq (%rsp), %rdi
callq 0x6391
movl $0x1, 0x2c(%rsp)
jmp 0x3d73
movl $0x1, (%r13)
movq %r15, %r14
jmp 0x40c8
movq %r15, %r14
cmpl $0x0, 0xc(%rsp)
movl $0x1, 0xc(%rsp)
je 0x40c8
jmp 0x4136
leaq 0x237e8(%rip), %rax     # 0x27788
movq (%rax), %r14
testq %r14, %r14
je 0x4160
testq %r15, %r15
je 0x40c8
jmp 0x4136
leaq 0x237c7(%rip), %rax     # 0x27788
movq (%rax), %rax
testq %rax, %rax
je 0x417f
movq %r15, %r14
cmpq $0x0, 0x18(%rsp)
movq %rax, 0x18(%rsp)
je 0x40c8
jmp 0x4136
movq %rbp, 0x88(%rsp)
movq %r12, %rbp
leaq 0x23790(%rip), %rax     # 0x27788
movq (%rax), %r12
testq %r12, %r12
je 0x419e
cmpl $0x0, 0x28(%rsp)
jne 0x4136
callq 0x3400
movq %rax, %r14
movl $0x0, (%rax)
movq %r12, %rdi
leaq 0x90(%rsp), %rsi
callq 0x35f0
movapd %xmm0, 0x70(%rsp)
movq 0x90(%rsp), %rcx
movl $0x16, %eax
cmpq %r12, %rcx
je 0x41e1
cmpb $0x0, (%rcx)
jne 0x41e1
xorpd %xmm0, %xmm0
ucomisd 0x70(%rsp), %xmm0
ja 0x41dc
cmpl $0x0, (%r14)
jne 0x41e4
movl $0x1, 0x28(%rsp)
movq %r15, %r14
movq %rbp, %r12
movq 0x88(%rsp), %rbp
jmp 0x40c8
movq %r15, %r14
testl %r12d, %r12d
movl $0x1, %r12d
je 0x40c8
jmp 0x4136
leaq 0x236ea(%rip), %rax     # 0x27788
movq (%rax), %rax
testq %rax, %rax
je 0x41bd
movq %r15, %r14
cmpq $0x0, 0x20(%rsp)
movq %rax, 0x20(%rsp)
je 0x40c8
jmp 0x4136
movq %r15, %r14
testl %ebp, %ebp
movl $0x1, %ebp
jne 0x4136
movl 0x50(%rsp), %edi
movq 0x60(%rsp), %rsi
callq 0x5e3c
movq %rax, %rbx
movq %r14, %r15
testq %rax, %rax
jne 0x3d50
jmp 0x3c26
leaq 0xbf9b(%rip), %rdi      # 0x1008c
jmp 0x4121
movq 0x12ef6(%rip), %rax     # 0x16ff0
movq (%rax), %rcx
leaq 0xbf77(%rip), %rdi      # 0x1007b
movl $0x10, %esi
movl $0x1, %edx
callq 0x34f0
xorl %edi, %edi
callq 0x3110
leaq 0xbf82(%rip), %rdi      # 0x100a3
movq %rbx, %rsi
xorl %eax, %eax
callq 0x7973
callq 0x3400
movl $0x0, (%rax)
movq 0x12eb3(%rip), %rax     # 0x16ff0
movq (%rax), %rcx
leaq 0xc085(%rip), %rdi      # 0x101cc
movl $0x7f, %esi
movl $0x1, %edx
callq 0x34f0
movl $0x1, %edi
callq 0x3110
leaq 0xbeb1(%rip), %rdi      # 0x10018
leaq 0xbeb9(%rip), %rsi      # 0x10027
leaq 0xbeb9(%rip), %rcx      # 0x1002e
movl $0x9e, %edx
callq 0x3120
leaq 0xbe92(%rip), %rdi      # 0x10018
leaq 0xbe9a(%rip), %rsi      # 0x10027
leaq 0xbe9a(%rip), %rcx      # 0x1002e
movl $0xbe, %edx
callq 0x3120
leaq 0xbe73(%rip), %rdi      # 0x10018
leaq 0xbe7b(%rip), %rsi      # 0x10027
leaq 0xbe7b(%rip), %rcx      # 0x1002e
movl $0xb7, %edx
callq 0x3120
leaq 0xbe54(%rip), %rdi      # 0x10018
leaq 0xbe5c(%rip), %rsi      # 0x10027
leaq 0xbe5c(%rip), %rcx      # 0x1002e
movl $0xb2, %edx
callq 0x3120
movl $0x22, %eax
movl %eax, (%r14)
leaq 0x2359d(%rip), %rax     # 0x27788
movq (%rax), %rdx
leaq 0xbe62(%rip), %rdi      # 0x10057
movq %rbx, %rsi
xorl %eax, %eax
callq 0x7854
movl $0x0, (%r14)
jmp 0x4156
movq %rax, %r15
cmpq $0x0, (%rax)
jne 0x4256
leaq 0xbec0(%rip), %rdi      # 0x100db
movq %rbx, %rsi
xorl %eax, %eax
callq 0x7973
callq 0x3400
movl $0x0, (%rax)
jmp 0x4675
movq %rax, %rbx
leaq 0xbe79(%rip), %rdi      # 0x100b8
movq 0x18(%rsp), %rsi
xorl %eax, %eax
callq 0x7854
movl $0x0, (%rbx)
jmp 0x4156
testq %r14, %r14
jne 0x425f
xorl %ebx, %ebx
jmp 0x4295
movq %r14, %rdi
movl $0x1, %esi
callq 0x6d73
movq %rax, %rbx
testq %rax, %rax
jne 0x4295
callq 0x3400
cmpl $0x0, (%rax)
jne 0x4373
leaq 0xbe6c(%rip), %rdi      # 0x100f5
xorl %eax, %eax
callq 0x7973
jmp 0x4675
movq 0x20(%rsp), %rdi
callq 0x8024
testq %rax, %rax
jne 0x42c5
callq 0x3400
cmpl $0x0, (%rax)
jne 0x433c
leaq 0xbe57(%rip), %rdi      # 0x10110
xorl %eax, %eax
callq 0x7973
jmp 0x466d
movq %rax, %r14
leaq 0x10(%rsp), %rcx
movl $0x1, %edi
movl $0x1, %esi
xorl %edx, %edx
callq 0x32f0
testl %eax, %eax
jne 0x4359
movl 0x14(%rsp), %edi
leaq 0x30(%rsp), %rax
leaq 0x415(%rip), %r10       # 0x4707
movq %r15, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
movl %r13d, %r8d
movl %ebp, %r9d
movapd 0x50(%rsp), %xmm0
pushq %rax
pushq %r10
pushq %r14
pushq %r12
callq 0x7baa
addq $0x20, %rsp
testq %rax, %rax
jne 0x438f
callq 0x3400
cmpl $0x0, (%rax)
jne 0x4468
leaq 0xbe07(%rip), %rdi      # 0x10137
xorl %eax, %eax
callq 0x7973
jmp 0x45e0
movq %rax, %r14
leaq 0xbdca(%rip), %rdi      # 0x10110
xorl %eax, %eax
callq 0x7854
movl $0x0, (%r14)
jmp 0x466d
callq 0x3400
cmpl $0x0, (%rax)
jne 0x4459
leaq 0xbdbe(%rip), %rdi      # 0x1012c
jmp 0x4643
movq %rax, %rbx
leaq 0xbd78(%rip), %rdi      # 0x100f5
xorl %eax, %eax
callq 0x7854
movl $0x0, (%rbx)
jmp 0x4675
movq %rax, %r12
movl $0xffffffff, 0x14(%rsp) # imm = 0xFFFFFFFF
movl 0x10(%rsp), %edi
leaq 0x38(%rsp), %rdx
movl $0x1, %esi
callq 0x4800
testl %eax, %eax
jne 0x4486
movl 0x10(%rsp), %esi
leaq 0x30(%rsp), %rdx
xorl %edi, %edi
callq 0x4800
testl %eax, %eax
jne 0x44a3
leaq 0x38b(%rip), %rdi       # 0x475f
leaq 0x30(%rsp), %rsi
callq 0x8eb4
testl %eax, %eax
jne 0x44e1
leaq 0x40(%rsp), %rdi
callq 0x4c91
testl %eax, %eax
jne 0x4682
cmpl $0x0, 0x48(%rsp)
jne 0x4427
movq 0x30(%rsp), %rdi
xorl %esi, %esi
callq 0x3030
testl %eax, %eax
jne 0x46a7
movq 0x38(%rsp), %rdi
xorl %esi, %esi
callq 0x3030
testl %eax, %eax
jne 0x46a7
movl 0x10(%rsp), %edi
callq 0x30a0
testl %eax, %eax
je 0x46e7
callq 0x3400
cmpl $0x0, (%rax)
jne 0x46cf
leaq 0xc8d6(%rip), %rdi      # 0x10d23
xorl %eax, %eax
callq 0x7973
jmp 0x46e7
movq %rax, %r12
leaq 0xbcc9(%rip), %rdi      # 0x1012c
jmp 0x4656
movq %rax, %r12
leaq 0xbcc5(%rip), %rdi      # 0x10137
xorl %eax, %eax
callq 0x7854
movl $0x0, (%r12)
jmp 0x45e0
callq 0x3400
cmpl $0x0, (%rax)
jne 0x44c4
leaq 0xbcbc(%rip), %rdi      # 0x10153
xorl %eax, %eax
callq 0x7973
jmp 0x45d0
callq 0x3400
cmpl $0x0, (%rax)
jne 0x4554
leaq 0xbc9b(%rip), %rdi      # 0x10153
xorl %eax, %eax
callq 0x7973
jmp 0x456c
movq %rax, %r15
leaq 0xbc85(%rip), %rdi      # 0x10153
xorl %eax, %eax
callq 0x7854
movl $0x0, (%r15)
jmp 0x45d0
leaq 0xbc7f(%rip), %rdi      # 0x10167
xorl %eax, %eax
callq 0x7973
callq 0x3400
movq %rax, %r15
movl $0x0, (%rax)
movq 0x30(%rsp), %rdi
callq 0x3390
testl %eax, %eax
je 0x452a
movl %eax, %edi
callq 0x32e0
leaq 0xbca0(%rip), %rdi      # 0x101b9
movq %rax, %rsi
xorl %eax, %eax
callq 0x7973
movl $0x0, (%r15)
movq 0x30(%rsp), %rdi
xorl %esi, %esi
callq 0x3030
testl %eax, %eax
je 0x456c
movl %eax, %edi
callq 0x32e0
leaq 0xbc60(%rip), %rdi      # 0x101a8
movq %rax, %rsi
xorl %eax, %eax
callq 0x7973
jmp 0x4565
movq %rax, %r15
leaq 0xbbf5(%rip), %rdi      # 0x10153
xorl %eax, %eax
callq 0x7854
movl $0x0, (%r15)
movq 0x38(%rsp), %rdi
callq 0x3390
testl %eax, %eax
je 0x459d
movl %eax, %edi
callq 0x32e0
leaq 0xbc31(%rip), %rdi      # 0x101b9
movq %rax, %rsi
xorl %eax, %eax
callq 0x7973
callq 0x3400
movl $0x0, (%rax)
movq 0x38(%rsp), %rdi
xorl %esi, %esi
callq 0x3030
testl %eax, %eax
je 0x45d0
movl %eax, %edi
callq 0x32e0
leaq 0xbbed(%rip), %rdi      # 0x101a8
movq %rax, %rsi
xorl %eax, %eax
callq 0x7973
callq 0x3400
movl $0x0, (%rax)
movq %r12, %rdi
movl $0x1, %esi
callq 0x7a98
xorl %r15d, %r15d
movl 0x14(%rsp), %edi
cmpl $-0x1, %edi
je 0x4625
callq 0x30a0
testl %eax, %eax
je 0x4625
callq 0x3400
cmpl $0x0, (%rax)
jne 0x460c
leaq 0xc720(%rip), %rdi      # 0x10d23
xorl %eax, %eax
callq 0x7973
jmp 0x4625
movq %rax, %r12
leaq 0xc70d(%rip), %rdi      # 0x10d23
xorl %eax, %eax
callq 0x7854
movl $0x0, (%r12)
movl 0x10(%rsp), %edi
callq 0x30a0
testl %eax, %eax
je 0x4665
callq 0x3400
cmpl $0x0, (%rax)
jne 0x464c
leaq 0xc6e0(%rip), %rdi      # 0x10d23
xorl %eax, %eax
callq 0x7973
jmp 0x4665
movq %rax, %r12
leaq 0xc6cd(%rip), %rdi      # 0x10d23
xorl %eax, %eax
callq 0x7854
movl $0x0, (%r12)
movq %r14, %rdi
callq 0x825f
movq %rbx, %rdi
callq 0x6ec6
movq %r15, %rdi
callq 0x6ee2
jmp 0x4156
callq 0x3400
cmpl $0x0, (%rax)
jne 0x4698
leaq 0xbafc(%rip), %rdi      # 0x1018f
jmp 0x4497
movq %rax, %r15
leaq 0xbaed(%rip), %rdi      # 0x1018f
jmp 0x44ce
movl %eax, %edi
callq 0x32e0
leaq 0xbaf3(%rip), %rdi      # 0x101a8
xorl %r15d, %r15d
movq %rax, %rsi
xorl %eax, %eax
callq 0x7973
callq 0x3400
movl $0x0, (%rax)
jmp 0x4665
movq %rax, %r15
leaq 0xc64a(%rip), %rdi      # 0x10d23
xorl %eax, %eax
callq 0x7854
movl $0x0, (%r15)
movq %r14, %rdi
callq 0x825f
movq %rbx, %rdi
callq 0x6ec6
cmpl $0x0, 0x44(%rsp)
je 0x4113
jmp 0x4156