// File: /workspace/github_c_makefile_star2_O3/jsummers[P]deark/modules/zoo.c
// Function: de_run_zoo
static void de_run_zoo(deark *c, de_module_params *mparams)
{
	lctx *d = NULL;
	i64 pos = 0;
	int saved_indent_level;

	de_dbg_indent_save(c, &saved_indent_level);
	d = de_malloc(c, sizeof(lctx));
	d->da = de_arch_create_lctx(c);
	d->da->userdata = (void*)d;
	d->da->is_le = 1;

	d->da->input_encoding = de_get_input_encoding(c, NULL, DE_ENCODING_ASCII);
	d->undelete = de_get_ext_option_bool(c, "zoo:undelete", 0);
	d->extract_comments_to_files = (c->extract_level>=2);

	d->da->crco = de_crcobj_create(c, DE_CRCOBJ_CRC16_ARC);
	d->min_offset_found = c->infile->len;

	if(!do_global_header(c, d, pos)) {
		de_err(c, "Bad global header");
		goto done;
	}

	d->offsets_seen = de_inthashtable_create(c); // For protection against infinite loops
	pos = d->first_member_hdr_pos;
	while ( 1 ) {
		i64 next_member_hdr_pos;

		de_dbg_indent_restore(c, saved_indent_level);

		if(pos==0) break;

		if(pos >= c->infile->len) {
			de_err(c, "Unexpected EOF, expected member header at %"I64_FMT, pos);
			goto after_members;
		}

		if(!de_inthashtable_add_item(c, d->offsets_seen, pos, NULL)) {
			de_err(c, "Loop detected");
			goto after_members;
		}

		de_dbg(c, "entry at %"I64_FMT, pos);
		de_dbg_indent(c, 1);

		next_member_hdr_pos = 0;
		do_member(c, d, pos, &next_member_hdr_pos);
		pos = next_member_hdr_pos;
	}

after_members:
	check_for_orphaned_comment(c, d);

	if(d->num_deleted_files_found>0 && !d->undelete) {
		de_info(c, "Note: %d deleted file(s) found. Use \"-opt zoo:undelete\" "
			"to extract them.", d->num_deleted_files_found);
	}

done:
	if(d) {
		de_inthashtable_destroy(c, d->offsets_seen);
		de_arch_destroy_lctx(c, d->da);
		de_free(c, d);
	}
	de_dbg_indent_restore(c, saved_indent_level);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rdi, %rbx
leaq 0x14(%rsp), %rsi
callq 0xe8a1c
movl $0x48, %esi
movq %rbx, %rdi
callq 0xe8b2b
movq %rax, %r14
movq %rbx, %rdi
callq 0xfd4b2
movq %rax, (%r14)
movq %r14, 0x40(%rax)
movl $0x1, 0x10(%rax)
xorl %r12d, %r12d
movq %rbx, %rdi
xorl %esi, %esi
movl $0x1, %edx
callq 0xeb220
movq (%r14), %rcx
movl %eax, 0x18(%rcx)
leaq 0x64ad8(%rip), %rsi     # 0x144b3a
movq %rbx, %rdi
xorl %edx, %edx
callq 0xe9bd0
movl %eax, 0xc(%r14)
xorl %eax, %eax
cmpl $0x2, 0x90(%rbx)
setge %al
movl %eax, 0x8(%r14)
movq %rbx, %rdi
movl $0x21, %esi
callq 0xeb499
movq (%r14), %rcx
movq %rax, 0x30(%rcx)
movq 0x18(%rbx), %rax
movq 0x18(%rax), %rax
movq %rax, 0x40(%r14)
leaq 0x42f6b(%rip), %rsi     # 0x123012
movq %rbx, %rdi
xorl %edx, %edx
xorl %eax, %eax
callq 0xe8617
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe8a15
movq %rbx, %rdi
callq 0xf6410
movq %rax, %r15
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xeead3
testb %al, %al
je 0xe0104
movzbl %al, %ecx
cmpl $0x1a, %ecx
je 0xe0104
addb $-0x7f, %al
movl $0x5f, %edx
cmpb $-0x5f, %al
jb 0xe00f0
movl %ecx, %edx
movzbl %dl, %esi
movq %r15, %rdi
callq 0xf6542
incq %r12
cmpq $0x14, %r12
jne 0xe00cb
movq %r15, %rdi
callq 0xf70f6
leaq 0x64abd(%rip), %rsi     # 0x144bd0
xorl %ebp, %ebp
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe8617
leaq 0x50(%rsp), %rsi
movq $0x14, (%rsi)
movq 0x18(%rbx), %rdi
callq 0xeed83
cmpl $0xfdc4a7dc, %eax       # imm = 0xFDC4A7DC
jne 0xe0230
movq 0x18(%rbx), %rdi
leaq 0x50(%rsp), %r12
movq %r12, %rsi
callq 0xeed83
movq %rax, 0x18(%r14)
leaq 0x64a84(%rip), %rsi     # 0x144be2
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe8617
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xeed83
movq %rax, %r12
leaq 0x64a76(%rip), %rsi     # 0x144bf7
movq %rbx, %rdi
movl %r12d, %edx
xorl %eax, %eax
callq 0xe8617
subl 0x18(%r14), %ebp
cmpl %ebp, %r12d
je 0xe01ad
leaq 0x64a73(%rip), %rsi     # 0x144c11
movq %rbx, %rdi
movl %r12d, %edx
movl %ebp, %ecx
xorl %eax, %eax
callq 0xe8faa
movq 0x18(%rbx), %rdi
leaq 0x50(%rsp), %r12
movq %r12, %rsi
callq 0xeeb4b
movb %al, 0x20(%r14)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xeeb4b
movb %al, 0x21(%r14)
movzbl 0x20(%r14), %edx
movzbl %al, %ecx
leaq 0x64a75(%rip), %rsi     # 0x144c56
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe8617
cmpq $0x23, 0x18(%r14)
jl 0xe02d9
movq 0x18(%rbx), %rdi
leaq 0x50(%rsp), %rsi
callq 0xeeb4b
movb %al, 0x22(%r14)
movzbl %al, %edx
leaq 0x64a70(%rip), %rsi     # 0x144c82
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe8617
movb 0x22(%r14), %al
addb $-0x6, %al
cmpb $-0x6, %al
ja 0xe025b
movb $0x0, 0x22(%r14)
jmp 0xe02d9
movq %r15, %rdi
callq 0xf6753
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe8a15
leaq 0x648fb(%rip), %rsi     # 0x144b47
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9295
jmp 0xe0ec4
movq 0x18(%rbx), %rdi
leaq 0x50(%rsp), %r12
movq %r12, %rsi
callq 0xeed83
movq %rax, 0x28(%r14)
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xeebeb
movq %rax, 0x30(%r14)
movq 0x28(%r14), %rdx
leaq 0x64a22(%rip), %rsi     # 0x144cad
movq %rbx, %rdi
movl %eax, %ecx
xorl %eax, %eax
callq 0xe8617
movq 0x28(%r14), %rdx
movq 0x30(%r14), %rcx
movl 0x8(%r14), %r9d
leaq 0x64d89(%rip), %r8      # 0x145033
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe14e0
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xeeb4b
movb %al, 0x38(%r14)
movzbl %al, %edx
leaq 0x649ff(%rip), %rsi     # 0x144cce
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe8617
movq %r15, %rdi
callq 0xf6753
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe8a15
movq %rbx, %rdi
callq 0xeb2a9
movq %rax, 0x10(%r14)
movq 0x18(%r14), %r13
movl 0x14(%rsp), %esi
movq %rbx, %rdi
callq 0xe8a25
testq %r13, %r13
je 0xe0dfa
movl $0xfdc4a7dc, %ebp       # imm = 0xFDC4A7DC
movq %r14, 0x28(%rsp)
movq 0x18(%rbx), %rax
cmpq 0x18(%rax), %r13
jge 0xe0dd3
movq 0x10(%r14), %rsi
movq %rbx, %rdi
movq %r13, %rdx
xorl %ecx, %ecx
callq 0xeb3ad
testl %eax, %eax
je 0xe0de9
movq %rbx, %rdi
leaq 0x322ef(%rip), %rsi     # 0x11263d
movq %r13, %rdx
xorl %eax, %eax
callq 0xe8617
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe8a15
movq %rbx, %rdi
leaq 0x3c(%rsp), %rsi
callq 0xe8a1c
testq %r13, %r13
js 0xe0381
cmpq %r13, 0x40(%r14)
jle 0xe0381
movq %r13, 0x40(%r14)
movl $0x48, %esi
movq %rbx, %rdi
callq 0xe8b2b
movq %rax, %r12
movq (%r14), %rsi
movq %rbx, %rdi
callq 0xfd414
movq %rax, %r15
movq %r12, 0x88(%rax)
movq %r13, 0x18(%rax)
movq %r13, 0x8(%rsp)
movq 0x18(%rbx), %rdi
leaq 0x8(%rsp), %r13
movq %r13, %rsi
callq 0xeed83
movl %eax, %eax
movq %rax, 0x48(%rsp)
cmpq %rbp, %rax
jne 0xe0636
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0xeeb4b
movb %al, (%r12)
cmpb $0x2, %al
sete 0x2(%r12)
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0xeeb4b
movb %al, 0x1(%r12)
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0xeed83
movq %rax, 0x8(%r12)
movzbl (%r12), %edx
movq %rbx, %rdi
leaq 0x64979(%rip), %rsi     # 0x144d92
xorl %eax, %eax
callq 0xe8617
cmpq $0x0, 0x8(%r12)
leaq 0x6498f(%rip), %rdx     # 0x144dbc
leaq 0x50(%rsp), %rbp
je 0xe047f
movzbl 0x1(%r12), %edx
leaq 0x4bd10(%rip), %rcx     # 0x12c151
cmpl $0x2, %edx
ja 0xe0456
movl %edx, %eax
leaq 0x64cf9(%rip), %rsi     # 0x145148
movslq (%rsi,%rax,4), %rcx
addq %rsi, %rcx
movq %rbx, %rdi
leaq 0x63e3f(%rip), %rsi     # 0x14429f
xorl %eax, %eax
callq 0xe8617
cmpq $0x0, 0x8(%r12)
leaq 0x64c3c(%rip), %rdx     # 0x1450b0
leaq 0x64941(%rip), %rax     # 0x144dbc
cmoveq %rax, %rdx
movl $0x50, %esi
movq %rbp, %rdi
xorl %eax, %eax
callq 0xe8193
movq 0x8(%r12), %rdx
movq %rbx, %rdi
leaq 0x64944(%rip), %rsi     # 0x144de1
movq %rbp, %rcx
xorl %eax, %eax
callq 0xe8617
cmpq $0x0, 0x8(%r12)
je 0xe0655
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0xeed83
movq %rax, 0x40(%r15)
movq %rbx, %rdi
leaq 0x6492a(%rip), %rsi     # 0x144df7
movq %rax, %rdx
xorl %eax, %eax
callq 0xe8617
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0xeebeb
movl %eax, 0x20(%r12)
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0xeebeb
movl %eax, 0x24(%r12)
movl 0x20(%r12), %edx
movq %rbx, %rdi
leaq 0x64905(%rip), %rsi     # 0x144e0d
movl %eax, %ecx
xorl %eax, %eax
callq 0xe87e4
cmpb $0x0, 0x2(%r12)
jne 0xe052a
movb $0x7f, 0x37(%r12)
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe16c9
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0xeebeb
movl %eax, 0x48(%r15)
xorl %ebp, %ebp
movq %rbx, %rdi
leaq 0x648dc(%rip), %rsi     # 0x144e22
movl %eax, %edx
xorl %eax, %eax
callq 0xe8617
movq %r15, %rdi
movq %r13, %rsi
callq 0xfd538
movq %r15, %rdi
movq %r13, %rsi
callq 0xfd57d
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0xeeb4b
movb %al, 0x34(%r12)
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0xeeb4b
movb %al, 0x35(%r12)
movzbl 0x34(%r12), %edx
movzbl %al, %ecx
movq %rbx, %rdi
leaq 0x648a9(%rip), %rsi     # 0x144e43
xorl %eax, %eax
callq 0xe8617
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0xeeb4b
movb %al, 0x36(%r12)
movzbl %al, %edx
movq %rbx, %rdi
leaq 0x648a5(%rip), %rsi     # 0x144e64
xorl %eax, %eax
callq 0xe8617
incq 0x8(%rsp)
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0xeed83
movq %rax, 0x10(%r12)
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0xeebeb
movq %rax, 0x18(%r12)
movq 0x10(%r12), %rdx
movq %rbx, %rdi
leaq 0x646b9(%rip), %rsi     # 0x144cb5
movl %eax, %ecx
xorl %eax, %eax
callq 0xe8617
movq 0x10(%r12), %rdx
movq 0x18(%r12), %rcx
cmpl $0x0, 0x8(%r14)
je 0xe0704
cmpb $0x0, 0x36(%r12)
je 0xe06ff
xorl %ebp, %ebp
cmpl $0x0, 0xc(%r14)
setne %bpl
jmp 0xe0704
movq 0x18(%r15), %rdx
movq %rbx, %rdi
leaq 0x64722(%rip), %rsi     # 0x144d66
xorl %eax, %eax
callq 0xe9295
xorl %r13d, %r13d
xorl %ebp, %ebp
jmp 0xe09d4
movq 0x88(%r15), %r13
cmpb $0x0, 0x2(%r13)
je 0xe064b
movq 0x18(%r15), %rbp
movq 0x18(%rbx), %rdi
leaq 0x33(%rbp), %rsi
callq 0xeebc8
movq %rax, 0x30(%rsp)
movq %rbx, %rdi
leaq 0x64801(%rip), %rsi     # 0x144e84
movl %eax, %edx
xorl %eax, %eax
callq 0xe8617
movq 0x18(%rbx), %rdi
addq $0x36, %rbp
movq %rbp, %rsi
callq 0xeebc8
movl %eax, 0x2c(%r13)
movq %rbx, %rdi
leaq 0x64837(%rip), %rsi     # 0x144ee1
movl %eax, %edx
xorl %eax, %eax
callq 0xe8617
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq 0x30(%rsp), %rcx
callq 0xe17aa
movl 0x30(%r13), %edx
movq %rbx, %rdi
leaq 0x6482a(%rip), %rsi     # 0x144efe
xorl %eax, %eax
callq 0xe8617
movl 0x30(%r13), %eax
cmpl 0x2c(%r13), %eax
je 0xe064b
movq %rbx, %rdi
leaq 0x37cb0(%rip), %rsi     # 0x1183a3
xorl %eax, %eax
callq 0xe8faa
jmp 0xe064b
movl $0x1, %ebp
movq %rbx, %rdi
movq %r14, %rsi
leaq 0x64101(%rip), %r8      # 0x144812
movl %ebp, %r9d
callq 0xe14e0
movq %rbx, %rdi
callq 0xf6410
movq %rax, %rbp
movq 0x18(%rbx), %rdi
movq 0x8(%rsp), %rsi
movq (%r14), %rax
movl 0x18(%rax), %r9d
movl $0xd, %edx
movq %rbp, %rcx
movl $0x1, %r8d
callq 0xefbd7
movq %rbp, %rdi
callq 0xf705c
movq %rbx, %rdi
leaq 0x6471a(%rip), %rsi     # 0x144e73
movq %rax, %rdx
xorl %eax, %eax
callq 0xe8617
movq %rbp, %rdi
callq 0xf678d
testl %eax, %eax
je 0xe0783
movq %rbp, %rdi
leaq 0x4e20b(%rip), %rsi     # 0x12e984
movl $0x5, %edx
callq 0xf65e3
addq $0xd, 0x8(%rsp)
cmpb $0x0, 0x2(%r12)
je 0xe095b
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0xeebeb
movq %rax, %r13
movq %rbx, %rdi
leaq 0x646d6(%rip), %rsi     # 0x144e84
movl %r13d, %edx
xorl %eax, %eax
callq 0xe8617
movq 0x18(%rbx), %rdi
leaq 0x8(%rsp), %rsi
callq 0xeeb4b
movb %al, 0x37(%r12)
cmpb $0x7f, %al
movq %rbp, 0x30(%rsp)
jne 0xe07ef
movl $0x50, %edx
leaq 0x50(%rsp), %rbp
movq %rbp, %rdi
leaq 0x31cb4(%rip), %rsi     # 0x11249c
callq 0xe8219
jmp 0xe0843
movzbl %al, %ecx
cvtsi2sd %ecx, %xmm0
testb %al, %al
js 0xe0818
mulsd 0x642ce(%rip), %xmm0    # 0x144ad0
movl $0x50, %esi
leaq 0x50(%rsp), %rbp
movq %rbp, %rdi
leaq 0x646a1(%rip), %rdx     # 0x144eb7
jmp 0xe083c
addsd 0x642b8(%rip), %xmm0    # 0x144ad8
mulsd 0x642b8(%rip), %xmm0    # 0x144ae0
movl $0x50, %esi
leaq 0x50(%rsp), %rbp
movq %rbp, %rdi
leaq 0x64664(%rip), %rdx     # 0x144ea0
movb $0x1, %al
callq 0xe8193
movzbl 0x37(%r12), %edx
movq %rbx, %rdi
leaq 0x6467b(%rip), %rsi     # 0x144ece
movq %rbp, %rcx
xorl %eax, %eax
callq 0xe8617
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe16c9
movq 0x18(%rbx), %rdi
leaq 0x8(%rsp), %rsi
callq 0xeebeb
movl %eax, 0x2c(%r12)
movq %rbx, %rdi
leaq 0x6465c(%rip), %rsi     # 0x144ee1
movl %eax, %edx
xorl %eax, %eax
callq 0xe8617
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %r13, %rcx
callq 0xe17aa
movl 0x30(%r12), %edx
movq %rbx, %rdi
leaq 0x64650(%rip), %rsi     # 0x144efe
xorl %eax, %eax
callq 0xe8617
movl 0x30(%r12), %eax
cmpl 0x2c(%r12), %eax
je 0xe08d2
movq %rbx, %rdi
leaq 0x37ad8(%rip), %rsi     # 0x1183a3
xorl %eax, %eax
callq 0xe8faa
testq %r13, %r13
movq 0x30(%rsp), %rbp
jle 0xe095b
movq 0x8(%rsp), %r14
addq %r13, %r14
movq 0x18(%rbx), %rdi
leaq 0x8(%rsp), %rsi
callq 0xeeb4b
movzbl %al, %r13d
movq %rbx, %rdi
leaq 0x6461d(%rip), %rsi     # 0x144f1d
movl %r13d, %edx
xorl %eax, %eax
callq 0xe87e4
cmpq 0x8(%rsp), %r14
jle 0xe0960
movq 0x18(%rbx), %rdi
leaq 0x8(%rsp), %rsi
movq %r14, 0x20(%rsp)
callq 0xeeb4b
movzbl %al, %edx
movq %rbx, %rdi
leaq 0x645fe(%rip), %rsi     # 0x144f2f
movq %rdx, 0x18(%rsp)
xorl %eax, %eax
callq 0xe87e4
movq 0x20(%rsp), %rdx
movq 0x8(%rsp), %rax
movq %rdx, %rcx
subq %rax, %rcx
cmpq %r13, %rcx
movq 0x28(%rsp), %r14
jge 0xe0b77
xorl %r13d, %r13d
jmp 0xe0968
xorl %r13d, %r13d
movq 0x28(%rsp), %r14
movq 0x70(%r15), %rdi
callq 0xf67a3
testl %eax, %eax
je 0xe0997
movq 0x58(%r15), %rdi
movq 0x70(%r15), %rsi
callq 0xf6509
movq 0x58(%r15), %rdi
leaq 0x316f1(%rip), %rsi     # 0x11207e
movl $0x5, %edx
callq 0xf65e3
movq %r13, %rdi
callq 0xf67a3
testl %eax, %eax
movq 0x58(%r15), %rdi
movq %rbp, %rsi
cmovneq %r13, %rsi
callq 0xf6509
cmpb $0x0, 0x36(%r12)
je 0xe09d4
movq 0x58(%r15), %rdi
movl 0x3c(%r14), %ecx
movl $0x5, %esi
leaq 0x64601(%rip), %rdx     # 0x144fce
xorl %eax, %eax
callq 0xf6653
movq 0x58(%r15), %rdi
callq 0xf678d
testl %eax, %eax
je 0xe09f6
movq 0x58(%r15), %rdi
leaq 0x4df98(%rip), %rsi     # 0x12e984
movl $0x5, %edx
callq 0xf65e3
movq %rbp, %rdi
callq 0xf6753
movq %r13, %rdi
callq 0xf6753
movl $0xfdc4a7dc, %ebp       # imm = 0xFDC4A7DC
cmpl %ebp, 0x48(%rsp)
jne 0xe0a88
movq 0x30(%r15), %rcx
movq 0x40(%r15), %rdx
testq %rcx, %rcx
sete %al
testq %rdx, %rdx
sets %sil
orb %al, %sil
jne 0xe0a35
cmpq %rdx, 0x40(%r14)
jle 0xe0a35
movq %rdx, 0x40(%r14)
movq 0x8(%r12), %r13
testq %r13, %r13
je 0xe0a9c
cmpb $0x0, 0x36(%r12)
je 0xe0a52
cmpl $0x0, 0xc(%r14)
je 0xe0af9
cmpb $0x2, 0x34(%r12)
jbe 0xe0aa4
movq 0x58(%r15), %rdi
callq 0xf70f6
movzbl 0x34(%r12), %ecx
movzbl 0x35(%r12), %r8d
movq %rbx, %rdi
leaq 0x642a0(%rip), %rsi     # 0x144d19
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9295
jmp 0xe0b2f
movl $0x0, %r13d
testq %r12, %r12
jne 0xe0b2f
jmp 0xe0b46
xorl %r13d, %r13d
jmp 0xe0b2f
jne 0xe0aae
cmpb $0x2, 0x35(%r12)
jae 0xe0a5a
movq %rbx, %rdi
leaq 0x45773(%rip), %rsi     # 0x12622b
xorl %eax, %eax
callq 0xe8617
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe8a15
cmpb $0x3, 0x1(%r12)
jae 0xe0b0c
orb $0x1, 0x78(%r15)
movb $0x1, 0xa1(%r15)
leaq 0xb22(%rip), %rax       # 0xe160a
movq %rax, 0xa8(%r15)
movq %r15, %rdi
callq 0xfd85e
jmp 0xe0b2f
movq %rbx, %rdi
leaq 0x641ff(%rip), %rsi     # 0x144d02
xorl %eax, %eax
callq 0xe8617
jmp 0xe0b2f
movq 0x58(%r15), %rdi
callq 0xf70f6
movzbl 0x1(%r12), %ecx
movq %rbx, %rdi
leaq 0x6421a(%rip), %rsi     # 0x144d3f
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9295
cmpb $0x0, 0x36(%r12)
je 0xe0b3b
incl 0x3c(%r14)
movq %rbx, %rdi
movq %r12, %rsi
callq 0xe8be2
movq %rbx, %rdi
movq %r15, %rsi
callq 0xfd460
movl 0x3c(%rsp), %esi
movq %rbx, %rdi
callq 0xe8a25
movl 0x14(%rsp), %esi
movq %rbx, %rdi
callq 0xe8a25
testq %r13, %r13
jne 0xe031d
jmp 0xe0dfa
movq %r13, %rcx
testq %r13, %r13
je 0xe0bdf
movq %rbx, %rdi
movq %rcx, 0x40(%rsp)
callq 0xf6410
movq %rax, %r13
movq 0x18(%rbx), %rdi
movq 0x8(%rsp), %rsi
movq (%r14), %rax
movl 0x18(%rax), %r9d
movq 0x40(%rsp), %rdx
movq %r13, %rcx
movl $0x1, %r8d
callq 0xefbd7
movq %r13, %rdi
callq 0xf705c
movq %rbx, %rdi
leaq 0x6437c(%rip), %rsi     # 0x144f40
movq %rax, %rdx
xorl %eax, %eax
callq 0xe8617
movq 0x40(%rsp), %rcx
movq 0x20(%rsp), %rdx
movq 0x8(%rsp), %rax
jmp 0xe0be2
xorl %r13d, %r13d
addq %rcx, %rax
movq %rax, 0x8(%rsp)
movq %rdx, %rcx
subq %rax, %rcx
movq 0x18(%rsp), %rsi
cmpq %rsi, %rcx
jl 0xe0968
movq %rsi, %rcx
testq %rsi, %rsi
je 0xe0c61
movq %rbx, %rdi
callq 0xf6410
movq %rax, 0x70(%r15)
movq 0x18(%rbx), %rdi
movq 0x8(%rsp), %rsi
movq (%r14), %rcx
movl 0x18(%rcx), %r9d
movq 0x18(%rsp), %rdx
movq %rax, %rcx
movl $0x1, %r8d
callq 0xefbd7
movq 0x70(%r15), %rdi
callq 0xf705c
movq %rbx, %rdi
leaq 0x3dec8(%rip), %rsi     # 0x11eb10
movq %rax, %rdx
xorl %eax, %eax
callq 0xe8617
movq 0x18(%rsp), %rcx
movq 0x20(%rsp), %rdx
movq 0x8(%rsp), %rax
addq %rcx, %rax
movq %rax, 0x8(%rsp)
movq %rdx, %rcx
subq %rax, %rcx
cmpq $0x2, %rcx
jl 0xe0968
movq 0x18(%rbx), %rdi
leaq 0x8(%rsp), %rsi
callq 0xeebeb
movl %eax, 0x38(%r12)
movq %rbx, %rdi
leaq 0x642ba(%rip), %rsi     # 0x144f50
movl %eax, %edx
xorl %eax, %eax
callq 0xe8617
movq 0x8(%rsp), %rsi
movq 0x20(%rsp), %rax
subq %rsi, %rax
cmpq $0x3, %rax
jl 0xe0968
movq 0x18(%rbx), %rdi
movl $0x3, %edx
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0xef0f6
movl %eax, 0x3c(%r12)
addq $0x3, 0x8(%rsp)
movq %rbx, %rdi
leaq 0x6427d(%rip), %rsi     # 0x144f5e
movl %eax, %edx
xorl %eax, %eax
callq 0xe8617
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe8a15
movl 0x3c(%r12), %edx
shrl $0x16, %edx
movl %edx, 0x18(%rsp)
movq %rbx, %rdi
leaq 0x64261(%rip), %rsi     # 0x144f6e
xorl %eax, %eax
callq 0xe8617
cmpl $0x1, 0x18(%rsp)
jne 0xe0d52
movl 0x3c(%r12), %edx
movl $0x1ff, %eax            # imm = 0x1FF
andl %eax, %edx
movq %rbx, %rdi
leaq 0x6424e(%rip), %rsi     # 0x144f7f
xorl %eax, %eax
callq 0xe8617
movl 0x3c(%r12), %eax
andl $0x49, %eax
cmpl $0x1, %eax
movl $0x2, %eax
sbbl $0x0, %eax
movq 0x50(%r15), %rcx
orl %eax, 0x14(%rcx)
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe8a15
movq 0x20(%rsp), %rcx
cmpq 0x8(%rsp), %rcx
jle 0xe0968
movq 0x18(%rbx), %rdi
leaq 0x8(%rsp), %rsi
movq %rcx, %r14
callq 0xeeb4b
movb %al, 0x40(%r12)
movzbl %al, %edx
movq %rbx, %rdi
leaq 0x641fe(%rip), %rsi     # 0x144f90
xorl %eax, %eax
callq 0xe8617
subq 0x8(%rsp), %r14
cmpq $0x2, %r14
jl 0xe0963
movq 0x18(%rbx), %rdi
leaq 0x8(%rsp), %rsi
callq 0xeebeb
movl %eax, 0x44(%r12)
movq %rbx, %rdi
leaq 0x641f1(%rip), %rsi     # 0x144fb6
movl %eax, %edx
xorl %eax, %eax
callq 0xe8617
jmp 0xe0963
leaq 0x63d7f(%rip), %rsi     # 0x144b59
movq %rbx, %rdi
movq %r13, %rdx
xorl %eax, %eax
callq 0xe9295
jmp 0xe0dfa
leaq 0x6176c(%rip), %rsi     # 0x14255c
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9295
movq $0x0, 0x50(%rsp)
cmpb $0x1, 0x22(%r14)
jne 0xe0ea4
cmpq $0x0, 0x28(%r14)
je 0xe0ea4
cmpq $0x0, 0x30(%r14)
je 0xe0ea4
movq 0x40(%r14), %r15
cmpq $0x2b, %r15
jl 0xe0ea4
leaq -0x413(%r15), %rax
cmpq $-0x3e4, %rax           # imm = 0xFC1C
jb 0xe0ea4
movq 0x18(%rbx), %rdi
leaq -0x1(%r15), %rsi
callq 0xeead3
cmpb $0xa, %al
jne 0xe0ea4
addq $-0x2a, %r15
movq 0x18(%rbx), %rdi
leaq 0x50(%rsp), %r8
movl $0x2a, %edx
xorl %esi, %esi
movq %r15, %rcx
callq 0xefa77
testl %eax, %eax
jne 0xe0ea4
leaq 0x6417d(%rip), %rsi     # 0x144ff2
movl $0x2a, %edx
movq %rbx, %rdi
movq %r15, %rcx
xorl %eax, %eax
callq 0xe8617
leaq 0x6419c(%rip), %r8      # 0x14502a
movl $0x2a, %edx
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rcx
xorl %r9d, %r9d
callq 0xe14e0
movl 0x3c(%r14), %edx
testl %edx, %edx
jle 0xe0ec4
cmpl $0x0, 0xc(%r14)
jne 0xe0ec4
leaq 0x63ccd(%rip), %rsi     # 0x144b87
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9393
movq 0x10(%r14), %rsi
movq %rbx, %rdi
callq 0xeb2b3
movq (%r14), %rsi
movq %rbx, %rdi
callq 0xfd4cd
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe8be2
movl 0x14(%rsp), %esi
movq %rbx, %rdi
callq 0xe8a25
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq