// File: /workspace/github_c_makefile_star2_O0/Tarsnap[P]kivaloo/lbs-dynamodb-init/main.c
// Function: main
int
main(int argc, char * argv[])
{

	/* Command-line parameters. */
	size_t opt_b = 0;
	char * opt_k = NULL;
	char * opt_m = NULL;
	char * opt_r = NULL;
	char * opt_t = NULL;

	/* Working variables. */
	char * dynamodb_host;
	char * key_id;
	char * key_secret;
	struct sock_addr ** sas_ddb;
	const char * ch;
	uint8_t tableid[32];

	WARNP_INIT;

	/* Parse the command line. */
	while ((ch = GETOPT(argc, argv)) != NULL) {
		GETOPT_SWITCH(ch) {
		GETOPT_OPTARG("-b"):
			if (opt_b != 0)
				usage();
			if (PARSENUM(&opt_b, optarg, 512, 8192))
				OPT_EPARSE(ch, optarg);
			break;
		GETOPT_OPTARG("-k"):
			if (opt_k != NULL)
				usage();
			if ((opt_k = strdup(optarg)) == NULL)
				OPT_EPARSE(ch, optarg);
			break;
		GETOPT_OPTARG("-m"):
			if (opt_m != NULL)
				usage();
			if ((opt_m = strdup(optarg)) == NULL)
				OPT_EPARSE(ch, optarg);
			break;
		GETOPT_OPTARG("-r"):
			if (opt_r != NULL)
				usage();
			if ((opt_r = strdup(optarg)) == NULL)
				OPT_EPARSE(ch, optarg);
			break;
		GETOPT_OPTARG("-t"):
			if (opt_t != NULL)
				usage();
			if ((opt_t = strdup(optarg)) == NULL)
				OPT_EPARSE(ch, optarg);
			break;
		GETOPT_OPT("--version"):
			fprintf(stderr, "kivaloo-lbs-dynamodb-init @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. */

	/* Sanity-check options. */
	if (opt_b == 0)
		usage();
	if (opt_k == NULL)
		usage();
	if (opt_m == NULL)
		usage();
	if (opt_r == NULL)
		usage();
	if (opt_t == NULL)
		usage();

	/* Warn about poor choices of block sizes. */
	if (opt_b % 1024) {
		warn0("DynamoDB item size is unlikely to be optimal: %zu",
		    opt_b);
	}

	/* Construct the DynamoDB endpoint host name. */
	if (asprintf(&dynamodb_host, "dynamodb.%s.amazonaws.com:443",
	    opt_r) == -1) {
		warnp("asprintf");
		exit(1);
	}

	/* Resolve the DynamoDB endpoint. */
	if ((sas_ddb = sock_resolve(dynamodb_host)) == NULL) {
		warnp("Error resolving DynamoDB host: %s", dynamodb_host);
		exit(1);
	}

	/* Read the key file. */
	if (aws_readkeys(opt_k, &key_id, &key_secret)) {
		warnp("Error reading AWS keys from %s", opt_k);
		exit(1);
	}

	/* Create the data and metadata tables. */
	if (createtable(key_id, key_secret, opt_r, sas_ddb, opt_t)) {
		warnp("Failed to create DynamoDB table: %s", opt_t);
		exit(1);
	}
	if (createtable(key_id, key_secret, opt_r, sas_ddb, opt_m)) {
		warnp("Failed to create DynamoDB table: %s", opt_m);
		exit(1);
	}

	/* Generate a random table ID. */
	if (entropy_read(tableid, 32)) {
		warnp("Error generating table ID");
		exit(1);
	}

	/* Record the table ID in the data table. */
	if (storetableid(key_id, key_secret, opt_r, sas_ddb, opt_t, tableid)) {
		warnp("Failed to store table ID");
		exit(1);
	}

	/* Store a metadata blob in the metadata table. */
	if (createmetadata(key_id, key_secret, opt_r, sas_ddb, opt_m,
	    opt_b, tableid)) {
		warnp("Failed to store metadata");
		exit(1);
	}

	/* Free the address structures. */
	sock_addr_freelist(sas_ddb);

	/* Free string allocated by asprintf. */
	free(dynamodb_host);

	/* Free key strings. */
	free(key_id);
	insecure_memzero(key_secret, strlen(key_secret));
	free(key_secret);

	/* Free option strings. */
	free(opt_k);
	free(opt_m);
	free(opt_r);
	free(opt_t);

	/* Success! */
	exit(0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movl $0x0, -0x4(%rbp)
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq $0x0, -0x18(%rbp)
movq $0x0, -0x20(%rbp)
movq $0x0, -0x28(%rbp)
movq $0x0, -0x30(%rbp)
movq $0x0, -0x38(%rbp)
movq -0x10(%rbp), %rax
cmpq $0x0, (%rax)
je 0x2707
movq -0x10(%rbp), %rax
movq (%rax), %rdi
callq 0x9c70
jmp 0x2709
jmp 0x270b
movl -0x8(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x6790
movq %rax, -0x60(%rbp)
cmpq $0x0, %rax
je 0x2edc
movq $0x14d, -0x88(%rbp) # imm = 0x14D
movq -0x88(%rbp), %rax
decq %rax
movq %rax, -0x90(%rbp)
movl $0x0, -0x94(%rbp)
leaq 0x7(%rip), %rax         # 0x2759
movq %rax, -0xa0(%rbp)
leaq 0x31ff0(%rip), %rax     # 0x34750
cmpl $0x0, (%rax)
je 0x2781
movq -0x60(%rbp), %rdi
callq 0x6e50
movq -0x88(%rbp), %rcx
addq %rcx, %rax
movq %rax, -0xa8(%rbp)
jmp 0x279d
movq -0x90(%rbp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, -0x90(%rbp)
movq %rax, -0xa8(%rbp)
movq -0xa8(%rbp), %rax
addq $-0x14e, %rax           # imm = 0xFEB2
movq %rax, -0xb0(%rbp)
subq $0x24, %rax
ja 0x2e69
movq -0xb0(%rbp), %rax
leaq 0x19857(%rip), %rcx     # 0x1c020
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x31f77(%rip), %rax     # 0x34750
cmpl $0x0, (%rax)
je 0x280e
leaq 0x31f63(%rip), %rax     # 0x34748
cmpq $0x0, (%rax)
je 0x27ed
jmp 0x280c
leaq 0x198c0(%rip), %rdi     # 0x1c0b4
leaq 0x198c8(%rip), %rsi     # 0x1c0c3
movl $0x14e, %edx            # imm = 0x14E
leaq 0x198c3(%rip), %rcx     # 0x1c0ca
callq 0x2200
jmp 0x2841
movq -0x88(%rbp), %rax
movl $0x14e, %esi            # imm = 0x14E
subq %rax, %rsi
leaq 0x198bd(%rip), %rdi     # 0x1c0e1
movl $0x1, %edx
callq 0x6fa0
movq -0xa0(%rbp), %rax
movq %rax, -0xb8(%rbp)
jmp 0x32f9
cmpq $0x0, -0x18(%rbp)
je 0x284d
callq 0x3310
callq 0x2040
movl $0x0, (%rax)
movq $0x1, -0x18(%rbp)
movq -0x18(%rbp), %rax
shrq %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, %rax
jbe 0x28c1
leaq 0x31ed0(%rip), %rax     # 0x34748
movq (%rax), %rdi
movsd 0x19785(%rip), %xmm0    # 0x1c008
movsd 0x19785(%rip), %xmm1    # 0x1c010
xorl %esi, %esi
callq 0x3380
movaps %xmm0, %xmm1
cvttsd2si %xmm1, %rax
movq %rax, %rdx
sarq $0x3f, %rdx
movsd 0x1976f(%rip), %xmm1    # 0x1c018
subsd %xmm1, %xmm0
cvttsd2si %xmm0, %rcx
andq %rdx, %rcx
orq %rcx, %rax
movq %rax, -0x18(%rbp)
jmp 0x2954
movq $-0x1, -0x18(%rbp)
xorl %eax, %eax
testb $0x1, %al
jne 0x28d1
jmp 0x291d
leaq 0x31e70(%rip), %rax     # 0x34748
movq (%rax), %rdi
movq -0x18(%rbp), %rdx
xorl %eax, %eax
movl $0x200, %ecx            # imm = 0x200
cmpq $0x0, %rdx
cmovbel %ecx, %eax
movslq %eax, %rsi
movq -0x18(%rbp), %rdx
xorl %eax, %eax
movl $0x2000, %ecx           # imm = 0x2000
cmpq $0x0, %rdx
cmovbel %ecx, %eax
movslq %eax, %rdx
xorl %r8d, %r8d
movl %r8d, %ecx
callq 0x3430
movq %rax, -0x18(%rbp)
movq %rax, -0xc0(%rbp)
jmp 0x294d
leaq 0x31e24(%rip), %rax     # 0x34748
movq (%rax), %rdi
movq -0x18(%rbp), %rcx
movl $0x200, %esi            # imm = 0x200
movl $0x2000, %edx           # imm = 0x2000
xorl %r9d, %r9d
movl %r9d, %r8d
callq 0x34f0
movq %rax, -0x18(%rbp)
xorl %eax, %eax
movq %rax, -0xc0(%rbp)
movq -0xc0(%rbp), %rax
callq 0x2040
cmpl $0x0, (%rax)
je 0x29bd
jmp 0x2960
jmp 0x2962
callq 0x2040
cmpl $0x0, (%rax)
je 0x2995
movq -0x60(%rbp), %rsi
leaq 0x31dd1(%rip), %rax     # 0x34748
movq (%rax), %rdx
leaq 0x19763(%rip), %rdi     # 0x1c0e4
movb $0x0, %al
callq 0x9d30
callq 0x2040
movl $0x0, (%rax)
jmp 0x29b1
movq -0x60(%rbp), %rsi
leaq 0x31da8(%rip), %rax     # 0x34748
movq (%rax), %rdx
leaq 0x1973a(%rip), %rdi     # 0x1c0e4
movb $0x0, %al
callq 0x9f80
jmp 0x29b3
movl $0x1, %edi
callq 0x2400
jmp 0x2ed7
leaq 0x31d87(%rip), %rax     # 0x34750
cmpl $0x0, (%rax)
je 0x29fe
leaq 0x31d73(%rip), %rax     # 0x34748
cmpq $0x0, (%rax)
je 0x29dd
jmp 0x29fc
leaq 0x196d0(%rip), %rdi     # 0x1c0b4
leaq 0x196d8(%rip), %rsi     # 0x1c0c3
movl $0x154, %edx            # imm = 0x154
leaq 0x196d3(%rip), %rcx     # 0x1c0ca
callq 0x2200
jmp 0x2a31
movq -0x88(%rbp), %rax
movl $0x154, %esi            # imm = 0x154
subq %rax, %rsi
leaq 0x196ee(%rip), %rdi     # 0x1c102
movl $0x1, %edx
callq 0x6fa0
movq -0xa0(%rbp), %rax
movq %rax, -0xb8(%rbp)
jmp 0x32f9
cmpq $0x0, -0x20(%rbp)
je 0x2a3d
callq 0x3310
leaq 0x31d04(%rip), %rax     # 0x34748
movq (%rax), %rdi
callq 0x2540
movq %rax, -0x20(%rbp)
cmpq $0x0, %rax
jne 0x2ab5
jmp 0x2a58
jmp 0x2a5a
callq 0x2040
cmpl $0x0, (%rax)
je 0x2a8d
movq -0x60(%rbp), %rsi
leaq 0x31cd9(%rip), %rax     # 0x34748
movq (%rax), %rdx
leaq 0x1966b(%rip), %rdi     # 0x1c0e4
movb $0x0, %al
callq 0x9d30
callq 0x2040
movl $0x0, (%rax)
jmp 0x2aa9
movq -0x60(%rbp), %rsi
leaq 0x31cb0(%rip), %rax     # 0x34748
movq (%rax), %rdx
leaq 0x19642(%rip), %rdi     # 0x1c0e4
movb $0x0, %al
callq 0x9f80
jmp 0x2aab
movl $0x1, %edi
callq 0x2400
jmp 0x2ed7
leaq 0x31c8f(%rip), %rax     # 0x34750
cmpl $0x0, (%rax)
je 0x2af6
leaq 0x31c7b(%rip), %rax     # 0x34748
cmpq $0x0, (%rax)
je 0x2ad5
jmp 0x2af4
leaq 0x195d8(%rip), %rdi     # 0x1c0b4
leaq 0x195e0(%rip), %rsi     # 0x1c0c3
movl $0x15a, %edx            # imm = 0x15A
leaq 0x195db(%rip), %rcx     # 0x1c0ca
callq 0x2200
jmp 0x2b29
movq -0x88(%rbp), %rax
movl $0x15a, %esi            # imm = 0x15A
subq %rax, %rsi
leaq 0x195f9(%rip), %rdi     # 0x1c105
movl $0x1, %edx
callq 0x6fa0
movq -0xa0(%rbp), %rax
movq %rax, -0xb8(%rbp)
jmp 0x32f9
cmpq $0x0, -0x28(%rbp)
je 0x2b35
callq 0x3310
leaq 0x31c0c(%rip), %rax     # 0x34748
movq (%rax), %rdi
callq 0x2540
movq %rax, -0x28(%rbp)
cmpq $0x0, %rax
jne 0x2bad
jmp 0x2b50
jmp 0x2b52
callq 0x2040
cmpl $0x0, (%rax)
je 0x2b85
movq -0x60(%rbp), %rsi
leaq 0x31be1(%rip), %rax     # 0x34748
movq (%rax), %rdx
leaq 0x19573(%rip), %rdi     # 0x1c0e4
movb $0x0, %al
callq 0x9d30
callq 0x2040
movl $0x0, (%rax)
jmp 0x2ba1
movq -0x60(%rbp), %rsi
leaq 0x31bb8(%rip), %rax     # 0x34748
movq (%rax), %rdx
leaq 0x1954a(%rip), %rdi     # 0x1c0e4
movb $0x0, %al
callq 0x9f80
jmp 0x2ba3
movl $0x1, %edi
callq 0x2400
jmp 0x2ed7
leaq 0x31b97(%rip), %rax     # 0x34750
cmpl $0x0, (%rax)
je 0x2bee
leaq 0x31b83(%rip), %rax     # 0x34748
cmpq $0x0, (%rax)
je 0x2bcd
jmp 0x2bec
leaq 0x194e0(%rip), %rdi     # 0x1c0b4
leaq 0x194e8(%rip), %rsi     # 0x1c0c3
movl $0x160, %edx            # imm = 0x160
leaq 0x194e3(%rip), %rcx     # 0x1c0ca
callq 0x2200
jmp 0x2c21
movq -0x88(%rbp), %rax
movl $0x160, %esi            # imm = 0x160
subq %rax, %rsi
leaq 0x19504(%rip), %rdi     # 0x1c108
movl $0x1, %edx
callq 0x6fa0
movq -0xa0(%rbp), %rax
movq %rax, -0xb8(%rbp)
jmp 0x32f9
cmpq $0x0, -0x30(%rbp)
je 0x2c2d
callq 0x3310
leaq 0x31b14(%rip), %rax     # 0x34748
movq (%rax), %rdi
callq 0x2540
movq %rax, -0x30(%rbp)
cmpq $0x0, %rax
jne 0x2ca5
jmp 0x2c48
jmp 0x2c4a
callq 0x2040
cmpl $0x0, (%rax)
je 0x2c7d
movq -0x60(%rbp), %rsi
leaq 0x31ae9(%rip), %rax     # 0x34748
movq (%rax), %rdx
leaq 0x1947b(%rip), %rdi     # 0x1c0e4
movb $0x0, %al
callq 0x9d30
callq 0x2040
movl $0x0, (%rax)
jmp 0x2c99
movq -0x60(%rbp), %rsi
leaq 0x31ac0(%rip), %rax     # 0x34748
movq (%rax), %rdx
leaq 0x19452(%rip), %rdi     # 0x1c0e4
movb $0x0, %al
callq 0x9f80
jmp 0x2c9b
movl $0x1, %edi
callq 0x2400
jmp 0x2ed7
leaq 0x31a9f(%rip), %rax     # 0x34750
cmpl $0x0, (%rax)
je 0x2ce6
leaq 0x31a8b(%rip), %rax     # 0x34748
cmpq $0x0, (%rax)
je 0x2cc5
jmp 0x2ce4
leaq 0x193e8(%rip), %rdi     # 0x1c0b4
leaq 0x193f0(%rip), %rsi     # 0x1c0c3
movl $0x166, %edx            # imm = 0x166
leaq 0x193eb(%rip), %rcx     # 0x1c0ca
callq 0x2200
jmp 0x2d19
movq -0x88(%rbp), %rax
movl $0x166, %esi            # imm = 0x166
subq %rax, %rsi
leaq 0x1940f(%rip), %rdi     # 0x1c10b
movl $0x1, %edx
callq 0x6fa0
movq -0xa0(%rbp), %rax
movq %rax, -0xb8(%rbp)
jmp 0x32f9
cmpq $0x0, -0x38(%rbp)
je 0x2d25
callq 0x3310
leaq 0x31a1c(%rip), %rax     # 0x34748
movq (%rax), %rdi
callq 0x2540
movq %rax, -0x38(%rbp)
cmpq $0x0, %rax
jne 0x2d9d
jmp 0x2d40
jmp 0x2d42
callq 0x2040
cmpl $0x0, (%rax)
je 0x2d75
movq -0x60(%rbp), %rsi
leaq 0x319f1(%rip), %rax     # 0x34748
movq (%rax), %rdx
leaq 0x19383(%rip), %rdi     # 0x1c0e4
movb $0x0, %al
callq 0x9d30
callq 0x2040
movl $0x0, (%rax)
jmp 0x2d91
movq -0x60(%rbp), %rsi
leaq 0x319c8(%rip), %rax     # 0x34748
movq (%rax), %rdx
leaq 0x1935a(%rip), %rdi     # 0x1c0e4
movb $0x0, %al
callq 0x9f80
jmp 0x2d93
movl $0x1, %edi
callq 0x2400
jmp 0x2ed7
leaq 0x319a7(%rip), %rax     # 0x34750
cmpl $0x0, (%rax)
je 0x2db0
jmp 0x2de0
movq -0x88(%rbp), %rax
movl $0x16c, %esi            # imm = 0x16C
subq %rax, %rsi
leaq 0x19348(%rip), %rdi     # 0x1c10e
xorl %edx, %edx
callq 0x6fa0
movq -0xa0(%rbp), %rax
movq %rax, -0xb8(%rbp)
jmp 0x32f9
movq 0x211f9(%rip), %rax     # 0x23fe0
movq (%rax), %rdi
leaq 0x19327(%rip), %rsi     # 0x1c118
movb $0x0, %al
callq 0x24a0
xorl %edi, %edi
callq 0x2400
leaq 0x3194a(%rip), %rax     # 0x34750
cmpl $0x0, (%rax)
je 0x2e0d
jmp 0x2e34
movq -0x88(%rbp), %rax
movl $0x16f, %edi            # imm = 0x16F
subq %rax, %rdi
callq 0x7230
movq -0xa0(%rbp), %rax
movq %rax, -0xb8(%rbp)
jmp 0x32f9
jmp 0x2e36
movq -0x60(%rbp), %rsi
leaq 0x192fc(%rip), %rdi     # 0x1c13d
movb $0x0, %al
callq 0x9f80
callq 0x2040
movl $0x0, (%rax)
callq 0x3310
jmp 0x2eb3
leaq 0x318ef(%rip), %rax     # 0x34750
movl $0x1, (%rax)
jmp 0x2ed7
leaq 0x318e0(%rip), %rax     # 0x34750
cmpl $0x0, (%rax)
je 0x2e77
jmp 0x2eb3
movl -0x94(%rbp), %eax
cmpl $0x0, %eax
jne 0x2ea0
movq -0x88(%rbp), %rax
movl $0x172, %edi            # imm = 0x172
subq %rax, %rdi
callq 0x72f0
movl $0x1, -0x94(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0xb8(%rbp)
jmp 0x32f9
jmp 0x2eb5
movq -0x60(%rbp), %rsi
leaq 0x19294(%rip), %rdi     # 0x1c154
movb $0x0, %al
callq 0x9f80
callq 0x2040
movl $0x0, (%rax)
callq 0x3310
jmp 0x270b
leaq 0x21695(%rip), %rax     # 0x24578
movl (%rax), %ecx
movl -0x8(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x8(%rbp)
leaq 0x21684(%rip), %rax     # 0x24578
movl (%rax), %ecx
movq -0x10(%rbp), %rax
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, -0x10(%rbp)
cmpl $0x0, -0x8(%rbp)
je 0x2f13
callq 0x3310
cmpq $0x0, -0x18(%rbp)
jne 0x2f1f
callq 0x3310
cmpq $0x0, -0x20(%rbp)
jne 0x2f2b
callq 0x3310
cmpq $0x0, -0x28(%rbp)
jne 0x2f37
callq 0x3310
cmpq $0x0, -0x30(%rbp)
jne 0x2f43
callq 0x3310
cmpq $0x0, -0x38(%rbp)
jne 0x2f4f
callq 0x3310
movq -0x18(%rbp), %rax
andq $0x3ff, %rax            # imm = 0x3FF
cmpq $0x0, %rax
je 0x2f80
jmp 0x2f61
movq -0x18(%rbp), %rsi
leaq 0x191fd(%rip), %rdi     # 0x1c169
movb $0x0, %al
callq 0x9f80
callq 0x2040
movl $0x0, (%rax)
jmp 0x2f80
movq -0x30(%rbp), %rdx
leaq -0x40(%rbp), %rdi
leaq 0x1920c(%rip), %rsi     # 0x1c19b
movb $0x0, %al
callq 0x62a0
cmpl $-0x1, %eax
jne 0x2fdc
jmp 0x2f9d
callq 0x2040
cmpl $0x0, (%rax)
je 0x2fc2
leaq 0x1920b(%rip), %rdi     # 0x1c1b9
movb $0x0, %al
callq 0x9d30
callq 0x2040
movl $0x0, (%rax)
jmp 0x2fd0
leaq 0x191f0(%rip), %rdi     # 0x1c1b9
movb $0x0, %al
callq 0x9f80
jmp 0x2fd2
movl $0x1, %edi
callq 0x2400
movq -0x40(%rbp), %rdi
callq 0x80c0
movq %rax, -0x58(%rbp)
cmpq $0x0, %rax
jne 0x3038
jmp 0x2ff1
callq 0x2040
cmpl $0x0, (%rax)
je 0x301a
movq -0x40(%rbp), %rsi
leaq 0x191bc(%rip), %rdi     # 0x1c1c2
movb $0x0, %al
callq 0x9d30
callq 0x2040
movl $0x0, (%rax)
jmp 0x302c
movq -0x40(%rbp), %rsi
leaq 0x1919d(%rip), %rdi     # 0x1c1c2
movb $0x0, %al
callq 0x9f80
jmp 0x302e
movl $0x1, %edi
callq 0x2400
movq -0x20(%rbp), %rdi
leaq -0x48(%rbp), %rsi
leaq -0x50(%rbp), %rdx
callq 0x4010
cmpl $0x0, %eax
je 0x3097
jmp 0x3050
callq 0x2040
cmpl $0x0, (%rax)
je 0x3079
movq -0x20(%rbp), %rsi
leaq 0x1917f(%rip), %rdi     # 0x1c1e4
movb $0x0, %al
callq 0x9d30
callq 0x2040
movl $0x0, (%rax)
jmp 0x308b
movq -0x20(%rbp), %rsi
leaq 0x19160(%rip), %rdi     # 0x1c1e4
movb $0x0, %al
callq 0x9f80
jmp 0x308d
movl $0x1, %edi
callq 0x2400
movq -0x48(%rbp), %rdi
movq -0x50(%rbp), %rsi
movq -0x30(%rbp), %rdx
movq -0x58(%rbp), %rcx
movq -0x38(%rbp), %r8
callq 0x35b0
cmpl $0x0, %eax
je 0x30fe
jmp 0x30b7
callq 0x2040
cmpl $0x0, (%rax)
je 0x30e0
movq -0x38(%rbp), %rsi
leaq 0x19137(%rip), %rdi     # 0x1c203
movb $0x0, %al
callq 0x9d30
callq 0x2040
movl $0x0, (%rax)
jmp 0x30f2
movq -0x38(%rbp), %rsi
leaq 0x19118(%rip), %rdi     # 0x1c203
movb $0x0, %al
callq 0x9f80
jmp 0x30f4
movl $0x1, %edi
callq 0x2400
movq -0x48(%rbp), %rdi
movq -0x50(%rbp), %rsi
movq -0x30(%rbp), %rdx
movq -0x58(%rbp), %rcx
movq -0x28(%rbp), %r8
callq 0x35b0
cmpl $0x0, %eax
je 0x3165
jmp 0x311e
callq 0x2040
cmpl $0x0, (%rax)
je 0x3147
movq -0x28(%rbp), %rsi
leaq 0x190d0(%rip), %rdi     # 0x1c203
movb $0x0, %al
callq 0x9d30
callq 0x2040
movl $0x0, (%rax)
jmp 0x3159
movq -0x28(%rbp), %rsi
leaq 0x190b1(%rip), %rdi     # 0x1c203
movb $0x0, %al
callq 0x9f80
jmp 0x315b
movl $0x1, %edi
callq 0x2400
leaq -0x80(%rbp), %rdi
movl $0x20, %esi
callq 0x66a0
cmpl $0x0, %eax
je 0x31b9
jmp 0x317a
callq 0x2040
cmpl $0x0, (%rax)
je 0x319f
leaq 0x1909c(%rip), %rdi     # 0x1c227
movb $0x0, %al
callq 0x9d30
callq 0x2040
movl $0x0, (%rax)
jmp 0x31ad
leaq 0x19081(%rip), %rdi     # 0x1c227
movb $0x0, %al
callq 0x9f80
jmp 0x31af
movl $0x1, %edi
callq 0x2400
movq -0x48(%rbp), %rdi
movq -0x50(%rbp), %rsi
movq -0x30(%rbp), %rdx
movq -0x58(%rbp), %rcx
movq -0x38(%rbp), %r8
leaq -0x80(%rbp), %r9
callq 0x38d0
cmpl $0x0, %eax
je 0x321c
jmp 0x31dd
callq 0x2040
cmpl $0x0, (%rax)
je 0x3202
leaq 0x19053(%rip), %rdi     # 0x1c241
movb $0x0, %al
callq 0x9d30
callq 0x2040
movl $0x0, (%rax)
jmp 0x3210
leaq 0x19038(%rip), %rdi     # 0x1c241
movb $0x0, %al
callq 0x9f80
jmp 0x3212
movl $0x1, %edi
callq 0x2400
movq -0x48(%rbp), %rdi
movq -0x50(%rbp), %rsi
movq -0x30(%rbp), %rdx
movq -0x58(%rbp), %rcx
movq -0x28(%rbp), %r8
movq -0x18(%rbp), %r9
leaq -0x80(%rbp), %rax
movq %rax, (%rsp)
callq 0x3a20
cmpl $0x0, %eax
je 0x3287
jmp 0x3248
callq 0x2040
cmpl $0x0, (%rax)
je 0x326d
leaq 0x19001(%rip), %rdi     # 0x1c25a
movb $0x0, %al
callq 0x9d30
callq 0x2040
movl $0x0, (%rax)
jmp 0x327b
leaq 0x18fe6(%rip), %rdi     # 0x1c25a
movb $0x0, %al
callq 0x9f80
jmp 0x327d
movl $0x1, %edi
callq 0x2400
movq -0x58(%rbp), %rdi
callq 0x8cf0
movq -0x40(%rbp), %rdi
callq 0x23e0
movq -0x48(%rbp), %rdi
callq 0x23e0
movq -0x50(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0x50(%rbp), %rdi
callq 0x2150
movq -0xc8(%rbp), %rdi
movq %rax, %rsi
callq 0x3c30
movq -0x50(%rbp), %rdi
callq 0x23e0
movq -0x20(%rbp), %rdi
callq 0x23e0
movq -0x28(%rbp), %rdi
callq 0x23e0
movq -0x30(%rbp), %rdi
callq 0x23e0
movq -0x38(%rbp), %rdi
callq 0x23e0
xorl %edi, %edi
callq 0x2400
movq -0xb8(%rbp), %rax
jmpq *%rax
nopw %cs:(%rax,%rax)