// File: /workspace/github_c_makefile_star2_O2/Tarsnap[P]spiped/spiped/main.c
// Function: main
int
main(int argc, char * argv[])
{
	/* Command-line parameters. */
	const char * opt_b = NULL;
	int opt_d = 0;
	int opt_D = 0;
	int opt_e = 0;
	int opt_f = 0;
	int opt_g = 0;
	int opt_F = 0;
	int opt_j = 0;
	const char * opt_k = NULL;
	int opt_n_set = 0;
	size_t opt_n = 0;
	int opt_o_set = 0;
	double opt_o = 0.0;
	const char * opt_p = NULL;
	int opt_r_set = 0;
	double opt_r = 0.0;
	int opt_R = 0;
	int opt_syslog = 0;
	const char * opt_s = NULL;
	const char * opt_t = NULL;
	const char * opt_u = NULL;

	/* Working variables. */
	struct sock_addr * sa_s;
	struct sock_addr * sa_b = NULL;
	struct sock_addr ** sas_t;
	struct proto_secret * K;
	const char * ch;
	char * pidfilename = NULL;
	int s;
	void * dispatch_cookie = NULL;
	int conndone = 0;

	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("-d"):
			if (opt_d || opt_e)
				usage();
			opt_d = 1;
			break;
		GETOPT_OPT("-D"):
			if (opt_D)
				usage();
			opt_D = 1;
			break;
		GETOPT_OPT("-e"):
			if (opt_d || opt_e)
				usage();
			opt_e = 1;
			break;
		GETOPT_OPT("-f"):
			if (opt_f)
				usage();
			opt_f = 1;
			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("-n"):
			if (opt_n_set)
				usage();
			opt_n_set = 1;
			if (PARSENUM(&opt_n, optarg))
				OPT_EPARSE(ch, optarg);
			if (opt_n == 0)
				opt_n = SIZE_MAX;
			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("-p"):
			if (opt_p)
				usage();
			opt_p = optarg;
			break;
		GETOPT_OPTARG("-r"):
			if (opt_r_set)
				usage();
			opt_r_set = 1;
			if (PARSENUM(&opt_r, optarg, 0, INFINITY))
				OPT_EPARSE(ch, optarg);
			break;
		GETOPT_OPT("-R"):
			if (opt_R)
				usage();
			opt_R = 1;
			break;
		GETOPT_OPTARG("-s"):
			if (opt_s)
				usage();
			opt_s = optarg;
			break;
		GETOPT_OPT("--syslog"):
			if (opt_syslog)
				usage();
			opt_syslog = 1;
			break;
		GETOPT_OPTARG("-t"):
			if (opt_t)
				usage();
			opt_t = optarg;
			break;
		GETOPT_OPTARG("-u"):
			if (opt_u != NULL)
				usage();
			opt_u = optarg;
			break;
		GETOPT_OPT("-v"):
			fprintf(stderr, "spiped @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_n_set)
		opt_n = 100;
	if (opt_o == 0.0)
		opt_o = 5.0;
	if (opt_r == 0.0)
		opt_r = 60.0;

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

	/*
	 * A limit of SIZE_MAX connections is equivalent to any larger limit;
	 * we'll be unable to allocate memory for socket bookkeeping before we
	 * reach either.
	 */
	if (opt_n > SIZE_MAX)
		opt_n = SIZE_MAX;

	/* Figure out where our pid should be written. */
	if (asprintf(&pidfilename, (opt_p != NULL) ? "%s" : "%s.pid",
	    (opt_p != NULL) ? opt_p : opt_s) == -1) {
		warnp("asprintf");
		goto err0;
	}

	/* Check whether we are running as init (e.g., inside a container). */
	if (getpid() == 1) {
		/* https://github.com/docker/docker/issues/7086 */
		warn0("WARNING: Applying workaround for Docker signal-handling bug");

		/* Bind an explicit signal handler for SIGINT. */
		if (signal(SIGINT, diediedie_handler) == SIG_ERR) {
			warnp("Failed to bind SIGINT signal handler");
		}
	}

	/* Daemonize early if we're going to wait for DNS to be ready. */
	if (opt_D && !opt_F) {
		if (daemonize(pidfilename)) {
			warnp("Failed to daemonize");
			goto err1;
		}

		/* Send to syslog (if applicable). */
		if (opt_syslog)
			warnp_syslog(1);
	}

	/* Resolve source address. */
	while ((sa_s = sock_resolve_one(opt_s, 0)) == NULL) {
		if (!opt_D) {
			warnp("Error resolving socket address: %s", opt_s);
			goto err1;
		}
		sleep(1);
	}

	/* Resolve target address. */
	while ((sas_t = sock_resolve(opt_t)) == NULL) {
		if (!opt_D) {
			warnp("Error resolving socket address: %s", opt_t);
			goto err2;
		}
		sleep(1);
	}
	if (sas_t[0] == NULL) {
		warn0("No addresses found for %s", opt_t);
		goto err3;
	}

	/* Resolve bind address (if applicable). */
	if (opt_b) {
		while ((sa_b = sock_resolve_one(opt_b, 1)) == NULL) {
			if (!opt_D) {
				warnp("Error resolving socket address: %s",
				    opt_b);
				goto err3;
			}
			sleep(1);
		}
	}

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

	/* Create and bind a socket, and mark it as listening. */
	if ((s = sock_listener(sa_s)) == -1)
		goto err5;

	/* Daemonize and write pid. */
	if (!opt_D && !opt_F) {
		if (daemonize(pidfilename)) {
			warnp("Failed to daemonize");
			goto err6;
		}
		/* Send to syslog (if applicable). */
		if (opt_syslog)
			warnp_syslog(1);
	}

	/* Drop privileges (if applicable). */
	if (opt_u && setuidgid(opt_u, SETUIDGID_SGROUP_LEAVE_WARN)) {
		warnp("Failed to drop privileges");
		goto err7;
	}

	/* Start accepting connections. */
	if ((dispatch_cookie = dispatch_accept(s, opt_t, opt_R ? 0.0 : opt_r,
	    sas_t, sa_b, opt_d, opt_f, opt_g, opt_j, K, opt_n, opt_o,
	    &conndone)) == NULL) {
		warnp("Failed to initialize connection acceptor");
		goto err7;
	}

	/* dispatch is now maintaining sas_t and s. */
	sas_t = NULL;
	s = -1;

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

	/*
	 * Loop until an error occurs, or a connection closes if the
	 * command-line argument -1 was given.
	 */
	if (events_spin(&conndone)) {
		warnp("Error running event loop");
		goto err7;
	}

	/* Stop accepting connections and shut down the dispatcher. */
	dispatch_shutdown(dispatch_cookie);

	/* Free the protocol secret structure. */
	proto_crypt_secret_free(K);

	/* Free arrays of resolved addresses. */
	sock_addr_free(sa_s);
	sock_addr_free(sa_b);

	/* Free pid filename. */
	free(pidfilename);

	/* Success! */
	exit(0);

err7:
	dispatch_shutdown(dispatch_cookie);
err6:
	if ((s != -1) && close(s))
		warnp("close");
err5:
	proto_crypt_secret_free(K);
err4:
	sock_addr_free(sa_b);
err3:
	sock_addr_freelist(sas_t);
err2:
	sock_addr_free(sa_s);
err1:
	free(pidfilename);
err0:
	/* Failure! */
	exit(1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
andq $0x0, 0x50(%rsp)
andl $0x0, 0x64(%rsp)
movq %rsi, %r12
movl %edi, %r13d
movq (%rsi), %rdi
testq %rdi, %rdi
je 0x37db
callq 0x8314
xorpd %xmm0, %xmm0
movapd %xmm0, 0xe0(%rsp)
movq $0x0, 0x48(%rsp)
leaq 0x24fe8(%rip), %r15     # 0x287e0
pushq $0x1
popq %rbp
movapd %xmm0, 0xd0(%rsp)
movl $0x0, 0x80(%rsp)
movl $0x0, 0x24(%rsp)
movl $0x0, %eax
movq %rax, 0x78(%rsp)
movl $0x0, 0x1c(%rsp)
movl $0x0, %eax
movq %rax, 0x98(%rsp)
movl $0x0, %eax
movq %rax, 0x70(%rsp)
movl $0x0, 0x3c(%rsp)
movl $0x0, %eax
movq %rax, 0xb8(%rsp)
movl $0x0, 0x5c(%rsp)
movq $0x0, 0x90(%rsp)
movl $0x0, 0x58(%rsp)
movl $0x0, 0x20(%rsp)
movl $0x0, 0x18(%rsp)
movq $0x0, 0x40(%rsp)
movq $0x0, 0x28(%rsp)
movq $0x0, 0x68(%rsp)
movl $0x0, 0x10(%rsp)
movq $0x0, 0x30(%rsp)
movl %r13d, 0xa0(%rsp)
movl %r13d, %edi
movq %r12, %rsi
callq 0x629c
testq %rax, %rax
je 0x4004
movq %rax, %r14
movq $0x6a, 0x8(%rsp)
movq 0x8(%rsp), %rax
decq %rax
movq %rax, 0xc0(%rsp)
movl $0x0, 0x60(%rsp)
cmpl $0x0, (%r15)
je 0x3902
movq %r14, %rdi
callq 0x66b1
addq 0x8(%rsp), %rax
jmp 0x3916
movq 0xc0(%rsp), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0xc0(%rsp)
cmpq $0x6b, %rax
je 0x3b57
cmpq $0x70, %rax
je 0x3c2b
cmpq $0x75, %rax
je 0x3a59
cmpq $0x7a, %rax
je 0x3c10
cmpq $0x7f, %rax
je 0x3c8a
cmpq $0x84, %rax
je 0x3c6d
cmpq $0x89, %rax
je 0x3a39
cmpq $0x8e, %rax
je 0x3ab7
cmpq $0x93, %rax
je 0x3c46
cmpq $0x98, %rax
je 0x3a77
cmpq $0xa1, %rax
je 0x3b37
cmpq $0xa8, %rax
je 0x3b93
cmpq $0xad, %rax
je 0x3ad7
cmpq $0xb4, %rax
je 0x3af7
cmpq $0xb9, %rax
je 0x3bd3
cmpq $0xbe, %rax
je 0x3a97
cmpq $0xc3, %rax
je 0x3b17
cmpq $0xc8, %rax
je 0x3bb3
cmpq $0xcd, %rax
je 0x3bf0
cmpq $0xd0, %rax
je 0x3b75
cmpq $0xd3, %rax
je 0x3caf
cmpl $0x0, (%r15)
jne 0x3fe6
cmpl $0x0, 0x60(%rsp)
jne 0x38ed
movl $0xd3, %edi
subq 0x8(%rsp), %rdi
callq 0x6a1e
movl $0x1, 0x60(%rsp)
jmp 0x38ed
cmpl $0x0, (%r15)
jne 0x3f26
movl $0x89, %esi
subq 0x8(%rsp), %rsi
leaq 0xc603(%rip), %rdi      # 0x10057
jmp 0x3ca3
cmpl $0x0, (%r15)
jne 0x3e1a
pushq $0x75
popq %rsi
subq 0x8(%rsp), %rsi
leaq 0xc5d9(%rip), %rdi      # 0x1004b
jmp 0x3ca3
cmpl $0x0, (%r15)
jne 0x3d96
movl $0x98, %esi
subq 0x8(%rsp), %rsi
leaq 0xc5ce(%rip), %rdi      # 0x10060
jmp 0x3c61
cmpl $0x0, (%r15)
jne 0x3e31
movl $0xbe, %esi
subq 0x8(%rsp), %rsi
leaq 0xc5de(%rip), %rdi      # 0x10090
jmp 0x3ca3
cmpl $0x0, (%r15)
jne 0x3e6a
movl $0x8e, %esi
subq 0x8(%rsp), %rsi
leaq 0xc588(%rip), %rdi      # 0x1005a
jmp 0x3ca3
cmpl $0x0, (%r15)
jne 0x3d50
movl $0xad, %esi
subq 0x8(%rsp), %rsi
leaq 0xc595(%rip), %rdi      # 0x10087
jmp 0x3c61
cmpl $0x0, (%r15)
jne 0x3f12
movl $0xb4, %esi
subq 0x8(%rsp), %rsi
leaq 0xc578(%rip), %rdi      # 0x1008a
jmp 0x3ca3
cmpl $0x0, (%r15)
jne 0x3cbb
movl $0xc3, %esi
subq 0x8(%rsp), %rsi
leaq 0xc567(%rip), %rdi      # 0x10099
jmp 0x3c61
cmpl $0x0, (%r15)
jne 0x3f3d
movl $0xa1, %esi
subq 0x8(%rsp), %rsi
leaq 0xc52f(%rip), %rdi      # 0x10081
jmp 0x3c61
cmpl $0x0, (%r15)
jne 0x3e87
pushq $0x6b
popq %rsi
subq 0x8(%rsp), %rsi
leaq 0xc4d5(%rip), %rdi      # 0x10045
jmp 0x3c61
cmpl $0x0, (%r15)
jne 0x3fba
movl $0xd0, %edi
subq 0x8(%rsp), %rdi
callq 0x6993
jmp 0x38ed
cmpl $0x0, (%r15)
jne 0x3d0d
movl $0xa8, %esi
subq 0x8(%rsp), %rsi
leaq 0xc4d6(%rip), %rdi      # 0x10084
jmp 0x3c61
cmpl $0x0, (%r15)
jne 0x3ed5
movl $0xc8, %esi
subq 0x8(%rsp), %rsi
leaq 0xc4ce(%rip), %rdi      # 0x1009c
jmp 0x3c61
cmpl $0x0, (%r15)
jne 0x3ce4
movl $0xb9, %esi
subq 0x8(%rsp), %rsi
leaq 0xc49f(%rip), %rdi      # 0x1008d
jmp 0x3c61
cmpl $0x0, (%r15)
jne 0x3fc3
movl $0xcd, %esi
subq 0x8(%rsp), %rsi
leaq 0xc494(%rip), %rdi      # 0x1009f
jmp 0x3ca3
cmpl $0x0, (%r15)
jne 0x3e45
pushq $0x7a
popq %rsi
subq 0x8(%rsp), %rsi
leaq 0xc425(%rip), %rdi      # 0x1004e
jmp 0x3ca3
cmpl $0x0, (%r15)
jne 0x3eb0
pushq $0x70
popq %rsi
subq 0x8(%rsp), %rsi
leaq 0xc404(%rip), %rdi      # 0x10048
jmp 0x3ca3
cmpl $0x0, (%r15)
jne 0x3f91
movl $0x93, %esi
subq 0x8(%rsp), %rsi
leaq 0xc3fc(%rip), %rdi      # 0x1005d
movl %ebp, %edx
callq 0x67c9
jmp 0x38ed
cmpl $0x0, (%r15)
jne 0x3efe
movl $0x84, %esi
subq 0x8(%rsp), %rsi
leaq 0xc3cc(%rip), %rdi      # 0x10054
jmp 0x3ca3
cmpl $0x0, (%r15)
jne 0x3d3c
pushq $0x7f
popq %rsi
subq 0x8(%rsp), %rsi
leaq 0xc3ae(%rip), %rdi      # 0x10051
xorl %edx, %edx
callq 0x67c9
jmp 0x38ed
movl $0x1, (%r15)
jmp 0x38b5
leaq 0x24b16(%rip), %rax     # 0x287d8
movq (%rax), %rax
testq %rax, %rax
je 0x41b0
cmpq $0x0, 0x28(%rsp)
movq %rax, 0x28(%rsp)
je 0x38b5
jmp 0x4185
leaq 0x24aed(%rip), %rax     # 0x287d8
movq (%rax), %rax
testq %rax, %rax
je 0x41cf
cmpq $0x0, 0x40(%rsp)
movq %rax, 0x40(%rsp)
je 0x38b5
jmp 0x4185
leaq 0x24ac4(%rip), %rax     # 0x287d8
movq (%rax), %rax
testq %rax, %rax
je 0x41ee
cmpq $0x0, 0x90(%rsp)
movq %rax, 0x90(%rsp)
je 0x38b5
jmp 0x4185
cmpl $0x0, 0x24(%rsp)
movl %ebp, 0x24(%rsp)
je 0x38b5
jmp 0x4185
leaq 0x24a81(%rip), %rax     # 0x287d8
movq (%rax), %r13
testq %r13, %r13
je 0x420d
cmpl $0x0, 0x58(%rsp)
jne 0x4185
callq 0x3480
movq %rax, %rbx
andl $0x0, (%rax)
movq %r13, %rdi
callq 0x4824
movapd %xmm0, 0xd0(%rsp)
cmpl $0x0, (%rbx)
movl %ebp, 0x58(%rsp)
jmp 0x3f7e
leaq 0x24a3b(%rip), %rax     # 0x287d8
movq (%rax), %r13
testq %r13, %r13
je 0x422c
cmpl $0x0, 0x3c(%rsp)
jne 0x4185
callq 0x3480
movq %rax, %rbx
andl $0x0, (%rax)
movq %r13, %rdi
leaq 0xc8(%rsp), %rsi
xorl %edx, %edx
callq 0x3040
movq 0xc8(%rsp), %rcx
cmpq %r13, %rcx
je 0x3de3
cmpb $0x0, (%rcx)
je 0x3de9
movl $0x16, (%rbx)
cmpl $0x0, (%rbx)
movl 0xa0(%rsp), %r13d
jne 0x418a
cmpq $0x1, %rax
movl $0x0, %ecx
sbbq %rcx, %rcx
orq %rax, %rcx
movq %rcx, 0xb8(%rsp)
movl %ebp, 0x3c(%rsp)
jmp 0x38b5
cmpl $0x0, 0x48(%rsp)
movl %ebp, %eax
movq %rax, 0x48(%rsp)
je 0x38b5
jmp 0x4185
cmpl $0x0, 0x18(%rsp)
movl %ebp, 0x18(%rsp)
je 0x38b5
jmp 0x4185
movl 0x80(%rsp), %eax
orl %eax, 0x10(%rsp)
movl %ebp, 0x80(%rsp)
movl $0x0, 0x10(%rsp)
je 0x38b5
jmp 0x4185
cmpl $0x0, 0x98(%rsp)
movl %ebp, %eax
movq %rax, 0x98(%rsp)
je 0x38b5
jmp 0x4185
leaq 0x2494a(%rip), %rax     # 0x287d8
movq (%rax), %rax
testq %rax, %rax
je 0x424b
cmpq $0x0, 0x30(%rsp)
movq %rax, 0x30(%rsp)
je 0x38b5
jmp 0x4185
movl 0x80(%rsp), %eax
orl %eax, 0x10(%rsp)
movl $0x0, 0x80(%rsp)
movl %ebp, 0x10(%rsp)
je 0x38b5
jmp 0x4185
leaq 0x248fc(%rip), %rax     # 0x287d8
movq (%rax), %rax
testq %rax, %rax
je 0x42a6
cmpq $0x0, 0x68(%rsp)
movq %rax, 0x68(%rsp)
je 0x38b5
jmp 0x4185
cmpl $0x0, 0x1c(%rsp)
movl %ebp, 0x1c(%rsp)
je 0x38b5
jmp 0x4185
cmpl $0x0, 0x20(%rsp)
movl %ebp, 0x20(%rsp)
je 0x38b5
jmp 0x4185
cmpl $0x0, 0x78(%rsp)
movl %ebp, %eax
movq %rax, 0x78(%rsp)
je 0x38b5
jmp 0x4185
leaq 0x24894(%rip), %rax     # 0x287d8
movq (%rax), %r13
testq %r13, %r13
je 0x4268
cmpl $0x0, 0x5c(%rsp)
jne 0x4185
callq 0x3480
movq %rax, %rbx
andl $0x0, (%rax)
movq %r13, %rdi
callq 0x4824
movapd %xmm0, 0xe0(%rsp)
cmpl $0x0, (%rbx)
movl %ebp, 0x5c(%rsp)
movl 0xa0(%rsp), %r13d
je 0x38b5
jmp 0x418a
leaq 0x24840(%rip), %rax     # 0x287d8
movq (%rax), %rax
testq %rax, %rax
je 0x4287
cmpq $0x0, 0x70(%rsp)
movq %rax, 0x70(%rsp)
je 0x38b5
jmp 0x4185
leaq 0xc0f3(%rip), %rdi      # 0x100b4
jmp 0x3fed
movq 0x14026(%rip), %rax     # 0x17ff0
movq (%rax), %rcx
leaq 0xc0ce(%rip), %rdi      # 0x100a2
pushq $0x11
popq %rsi
pushq $0x1
popq %rdx
callq 0x3570
xorl %edi, %edi
callq 0x3140
leaq 0xc0de(%rip), %rdi      # 0x100cb
movq %r14, %rsi
xorl %eax, %eax
callq 0x8520
callq 0x3480
andl $0x0, (%rax)
callq 0x47fd
leaq 0x145ed(%rip), %rax     # 0x185f8
cmpl %r13d, (%rax)
jne 0x4185
cmpl $0x0, 0x3c(%rsp)
pushq $0x64
popq %rax
movq 0xb8(%rsp), %r13
cmoveq %rax, %r13
movl 0x80(%rsp), %eax
orl 0x10(%rsp), %eax
je 0x4185
cmpl $0x0, 0x24(%rsp)
setne %al
cmpl $0x0, 0x78(%rsp)
setne %cl
andb %al, %cl
cmpb $0x1, %cl
je 0x4185
cmpq $0x0, 0x70(%rsp)
je 0x4185
xorpd %xmm3, %xmm3
movapd 0xe0(%rsp), %xmm1
movapd %xmm1, %xmm2
cmpeqsd %xmm3, %xmm2
movsd 0xbf8a(%rip), %xmm0     # 0x10008
andpd %xmm2, %xmm0
andnpd %xmm1, %xmm2
orpd %xmm0, %xmm2
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm2
jbe 0x4185
movapd 0xd0(%rsp), %xmm1
cmpeqsd %xmm1, %xmm3
movsd 0xbf62(%rip), %xmm0     # 0x10010
andpd %xmm3, %xmm0
andnpd %xmm1, %xmm3
orpd %xmm0, %xmm3
ucomisd 0xbf4e(%rip), %xmm3     # 0x10010
setp %al
setne %cl
orb %al, %cl
cmpl $0x0, 0x20(%rsp)
setne %al
andb %cl, %al
cmpb $0x1, %al
je 0x4185
movapd %xmm3, 0xa0(%rsp)
movapd %xmm2, 0x80(%rsp)
movq 0x40(%rsp), %rbx
testq %rbx, %rbx
je 0x4185
movq %rbx, %rdi
callq 0x82b3
testl %eax, %eax
jne 0x4185
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x4185
callq 0x82b3
testl %eax, %eax
jne 0x4185
cmpq $0x0, 0x30(%rsp)
je 0x4131
movq 0x30(%rsp), %rdi
callq 0x82b3
testl %eax, %eax
jne 0x4185
movq 0x90(%rsp), %rdx
testq %rdx, %rdx
leaq 0xbf9d(%rip), %rax      # 0x100e0
leaq 0xbf93(%rip), %rsi      # 0x100dd
cmoveq %rax, %rsi
cmoveq %rbx, %rdx
leaq 0x50(%rsp), %rdi
xorl %eax, %eax
callq 0x5fc4
cmpl $-0x1, %eax
jne 0x42c5
callq 0x3480
cmpl $0x0, (%rax)
jne 0x4312
leaq 0xbf6b(%rip), %rdi      # 0x100e7
xorl %eax, %eax
callq 0x8520
jmp 0x41a8
callq 0x47fd
leaq 0x24647(%rip), %rax     # 0x287d8
movq (%rax), %rdx
leaq 0xbec8(%rip), %rdi      # 0x10063
movq %r14, %rsi
xorl %eax, %eax
callq 0x8391
andl $0x0, (%rbx)
pushq $0x1
popq %rdi
callq 0x3140
leaq 0xbe61(%rip), %rdi      # 0x10018
leaq 0xbe69(%rip), %rsi      # 0x10027
leaq 0xbe69(%rip), %rcx      # 0x1002e
movl $0xc3, %edx
callq 0x3150
leaq 0xbe42(%rip), %rdi      # 0x10018
leaq 0xbe4a(%rip), %rsi      # 0x10027
leaq 0xbe4a(%rip), %rcx      # 0x1002e
movl $0xb9, %edx
callq 0x3150
leaq 0xbe23(%rip), %rdi      # 0x10018
leaq 0xbe2b(%rip), %rsi      # 0x10027
leaq 0xbe2b(%rip), %rcx      # 0x1002e
movl $0xa8, %edx
callq 0x3150
leaq 0xbe04(%rip), %rdi      # 0x10018
leaq 0xbe0c(%rip), %rsi      # 0x10027
leaq 0xbe0c(%rip), %rcx      # 0x1002e
movl $0xad, %edx
callq 0x3150
leaq 0xbde5(%rip), %rdi      # 0x10018
leaq 0xbded(%rip), %rsi      # 0x10027
leaq 0xbded(%rip), %rcx      # 0x1002e
movl $0x98, %edx
callq 0x3150
leaq 0xbdc6(%rip), %rdi      # 0x10018
leaq 0xbdce(%rip), %rsi      # 0x10027
leaq 0xbdce(%rip), %rcx      # 0x1002e
pushq $0x6b
popq %rdx
callq 0x3150
leaq 0xbda9(%rip), %rdi      # 0x10018
leaq 0xbdb1(%rip), %rsi      # 0x10027
leaq 0xbdb1(%rip), %rcx      # 0x1002e
movl $0xa1, %edx
callq 0x3150
leaq 0xbd8a(%rip), %rdi      # 0x10018
leaq 0xbd92(%rip), %rsi      # 0x10027
leaq 0xbd92(%rip), %rcx      # 0x1002e
movl $0x93, %edx
callq 0x3150
leaq 0xbd6b(%rip), %rdi      # 0x10018
leaq 0xbd73(%rip), %rsi      # 0x10027
leaq 0xbd73(%rip), %rcx      # 0x1002e
movl $0xc8, %edx
callq 0x3150
callq 0x3220
cmpl $0x1, %eax
jne 0x4339
leaq 0xbe1a(%rip), %rdi      # 0x100f0
xorl %eax, %eax
callq 0x8520
callq 0x3480
movq %rax, %rbx
andl $0x0, (%rax)
leaq 0x5a8(%rip), %rsi       # 0x4897
pushq $0x2
popq %rdi
callq 0x3050
cmpq $-0x1, %rax
jne 0x4339
cmpl $0x0, (%rbx)
jne 0x4328
leaq 0xbe23(%rip), %rdi      # 0x1012c
xorl %eax, %eax
callq 0x8520
jmp 0x4339
movq %rax, %rbx
leaq 0xbdcb(%rip), %rdi      # 0x100e7
xorl %eax, %eax
callq 0x8391
jmp 0x41a5
leaq 0xbdfd(%rip), %rdi      # 0x1012c
xorl %eax, %eax
callq 0x8391
andl $0x0, (%rbx)
cmpl $0x0, 0x48(%rsp)
sete %al
cmpl $0x0, 0x1c(%rsp)
setne %cl
orb %al, %cl
jne 0x436e
movq 0x50(%rsp), %rdi
callq 0x60b8
testl %eax, %eax
jne 0x43e4
cmpl $0x0, 0x18(%rsp)
je 0x436e
pushq $0x1
popq %rdi
callq 0x867f
pushq $0x1
popq %rbp
movq 0x48(%rsp), %r15
movq 0x40(%rsp), %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x7943
testq %rax, %rax
jne 0x4398
testl %r15d, %r15d
je 0x43be
movl %ebp, %edi
callq 0x3320
jmp 0x437b
movq %rax, %rbx
pushq $0x1
popq %rbp
movq 0x28(%rsp), %r12
movq %r12, %rdi
callq 0x749c
testq %rax, %rax
jne 0x4401
testl %r15d, %r15d
je 0x442a
movl %ebp, %edi
callq 0x3320
jmp 0x43a3
callq 0x3480
cmpl $0x0, (%rax)
jne 0x444c
leaq 0xbd92(%rip), %rdi      # 0x10165
movq 0x40(%rsp), %rsi
xorl %eax, %eax
callq 0x8520
jmp 0x47ee
callq 0x3480
cmpl $0x0, (%rax)
jne 0x4464
leaq 0xbd5c(%rip), %rdi      # 0x10151
xorl %eax, %eax
callq 0x8520
jmp 0x47ee
movq %rax, %r14
cmpq $0x0, (%rax)
jne 0x447d
leaq 0xbd77(%rip), %rdi      # 0x10188
movq 0x28(%rsp), %rsi
xorl %eax, %eax
callq 0x8520
callq 0x3480
andl $0x0, (%rax)
jmp 0x47de
callq 0x3480
cmpl $0x0, (%rax)
jne 0x448a
leaq 0xbd2a(%rip), %rdi      # 0x10165
movq 0x28(%rsp), %rsi
xorl %eax, %eax
callq 0x8520
jmp 0x47e6
movq %rax, %rbx
leaq 0xbd0f(%rip), %rdi      # 0x10165
movq 0x40(%rsp), %rsi
xorl %eax, %eax
callq 0x8391
jmp 0x4475
movq %rax, %rbx
leaq 0xbce3(%rip), %rdi      # 0x10151
xorl %eax, %eax
callq 0x8391
andl $0x0, (%rbx)
jmp 0x47ee
cmpq $0x0, 0x30(%rsp)
jne 0x44a9
xorl %r15d, %r15d
jmp 0x44d7
movq %rax, %r14
leaq 0xbcd1(%rip), %rdi      # 0x10165
movq 0x28(%rsp), %rsi
xorl %eax, %eax
callq 0x8391
andl $0x0, (%r14)
jmp 0x47e6
pushq $0x1
popq %rbp
movq 0x48(%rsp), %r12
movq 0x30(%rsp), %rdi
movl %ebp, %esi
callq 0x7943
testq %rax, %rax
jne 0x44d4
testl %r12d, %r12d
je 0x45ca
movl %ebp, %edi
callq 0x3320
jmp 0x44b1
movq %rax, %r15
movq 0x70(%rsp), %rdi
callq 0x93e4
testq %rax, %rax
jne 0x4507
callq 0x3480
cmpl $0x0, (%rax)
jne 0x45ec
leaq 0xbca7(%rip), %rdi      # 0x101a2
xorl %eax, %eax
callq 0x8520
jmp 0x47d6
movq %rax, %r12
movq %rbx, %rdi
callq 0x7acd
cmpl $-0x1, %eax
je 0x47ce
movl %eax, %ebp
movq 0x48(%rsp), %rax
orl 0x1c(%rsp), %eax
je 0x4626
cmpq $0x0, 0x68(%rsp)
je 0x4549
pushq $0x1
popq %rsi
movq 0x68(%rsp), %rdi
callq 0x7074
testl %eax, %eax
jne 0x46c5
xorpd %xmm0, %xmm0
cmpl $0x0, 0x20(%rsp)
jne 0x455d
movapd 0xa0(%rsp), %xmm0
subq $0x8, %rsp
leaq 0x6c(%rsp), %rax
movl %ebp, %edi
movq 0x30(%rsp), %rsi
movq %r14, %rdx
movq %r15, %rcx
movl 0x18(%rsp), %r8d
movl 0x2c(%rsp), %r9d
movapd 0x88(%rsp), %xmm1
pushq %rax
pushq %r13
pushq %r12
pushq 0xb8(%rsp)
pushq 0xa0(%rsp)
callq 0x48ac
addq $0x30, %rsp
movq %rax, 0x10(%rsp)
testq %rax, %rax
jne 0x464c
callq 0x3480
cmpl $0x0, (%rax)
jne 0x46eb
leaq 0xbc13(%rip), %rdi      # 0x101d8
jmp 0x46d6
callq 0x3480
cmpl $0x0, (%rax)
jne 0x4607
leaq 0xbb8a(%rip), %rdi      # 0x10165
movq 0x30(%rsp), %rsi
xorl %eax, %eax
callq 0x8520
jmp 0x47de
movq %rax, %r12
leaq 0xbbac(%rip), %rdi      # 0x101a2
xorl %eax, %eax
callq 0x8391
andl $0x0, (%r12)
jmp 0x47d6
movq %rax, %r15
leaq 0xbb54(%rip), %rdi      # 0x10165
movq 0x30(%rsp), %rsi
xorl %eax, %eax
callq 0x8391
andl $0x0, (%r15)
jmp 0x47de
movq 0x50(%rsp), %rdi
callq 0x60b8
testl %eax, %eax
jne 0x46a8
cmpl $0x0, 0x18(%rsp)
je 0x452c
pushq $0x1
popq %rdi
callq 0x867f
jmp 0x452c
leaq 0x24c(%rip), %rdi       # 0x489f
movq 0x10(%rsp), %rsi
callq 0xa174
testl %eax, %eax
jne 0x46f7
leaq 0x64(%rsp), %rdi
callq 0x5013
testl %eax, %eax
jne 0x474b
movq 0x10(%rsp), %rdi
callq 0x4a61
movq %r12, %rdi
callq 0x95e2
movq %rbx, %rdi
callq 0x7a7f
movq %r15, %rdi
callq 0x7a7f
movq 0x50(%rsp), %rdi
callq 0x32b0
jmp 0x3fdf
callq 0x3480
cmpl $0x0, (%rax)
jne 0x4712
leaq 0xba98(%rip), %rdi      # 0x10151
xorl %eax, %eax
callq 0x8520
jmp 0x4793
callq 0x3480
cmpl $0x0, (%rax)
jne 0x472a
leaq 0xbae8(%rip), %rdi      # 0x101be
movq $0x0, 0x10(%rsp)
xorl %eax, %eax
callq 0x8520
jmp 0x4784
movq %rax, %r13
leaq 0xbae3(%rip), %rdi      # 0x101d8
jmp 0x4734
leaq 0xbb03(%rip), %rdi      # 0x10201
xorl %r14d, %r14d
xorl %eax, %eax
callq 0x8520
callq 0x3480
andl $0x0, (%rax)
jmp 0x4781
movq %rax, %r13
leaq 0xba35(%rip), %rdi      # 0x10151
xorl %eax, %eax
callq 0x8391
andl $0x0, (%r13)
jmp 0x4793
movq %rax, %r13
leaq 0xba8a(%rip), %rdi      # 0x101be
movq $0x0, 0x10(%rsp)
xorl %eax, %eax
callq 0x8391
andl $0x0, (%r13)
jmp 0x4784
callq 0x3480
cmpl $0x0, (%rax)
jne 0x4768
leaq 0xbacd(%rip), %rdi      # 0x10229
xorl %r14d, %r14d
xorl %eax, %eax
callq 0x8520
jmp 0x4781
movq %rax, %r13
leaq 0xbab7(%rip), %rdi      # 0x10229
xorl %r14d, %r14d
xorl %eax, %eax
callq 0x8391
andl $0x0, (%r13)
pushq $-0x1
popq %rbp
movq 0x10(%rsp), %rdi
callq 0x4a61
cmpl $-0x1, %ebp
je 0x47ce
movl %ebp, %edi
callq 0x30d0
testl %eax, %eax
je 0x47ce
callq 0x3480
cmpl $0x0, (%rax)
jne 0x47b8
leaq 0xbf7e(%rip), %rdi      # 0x1072d
xorl %eax, %eax
callq 0x8520
jmp 0x47ce
movq %rax, %r13
leaq 0xbf6b(%rip), %rdi      # 0x1072d
xorl %eax, %eax
callq 0x8391
andl $0x0, (%r13)
movq %r12, %rdi
callq 0x95e2
movq %r15, %rdi
callq 0x7a7f
movq %r14, %rdi
callq 0x7a9b
movq %rbx, %rdi
callq 0x7a7f
movq 0x50(%rsp), %rdi
callq 0x32b0
jmp 0x41a8