// File: /workspace/github_c_makefile_star2_O1/jsummers[P]deark/modules/rar.c
// Function: de_run_rar
static void de_run_rar(deark *c, de_module_params *mparams)
{
	de_arch_lctx *d = NULL;

	d = de_arch_create_lctx(c);
	d->is_le = 1;
	d->input_encoding = de_get_input_encoding(c, NULL, DE_ENCODING_CP437);
	d->data_startpos = 0;

	d->fmtver = rar_get_fmtver(c->infile, d->data_startpos);
	if(d->fmtver==0 && c->module_disposition==DE_MODDISP_EXPLICIT) {
		if(rar_search_for_archive(c, d, &d->data_startpos)) {
			de_dbg(c, "likely RAR data found at %"I64_FMT, d->data_startpos);
			d->fmtver = rar_get_fmtver(c->infile, d->data_startpos);
		}
	}

	if(d->fmtver==0) {
		de_err(c, "Not a RAR file");
		goto done;
	}

	if(d->fmtver==1) {
		do_rar_old(c, d);
	}
	else if(d->fmtver==4) {
		do_rar_v4(c, d);
	}
	else {
		do_rar_v5(c, d);
	}

done:
	de_arch_destroy_lctx(c, d);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdi, %rbx
callq 0xfdb0a
movq %rax, %r15
movq %rax, %r14
movl $0x1, 0x10(%rax)
movq %rbx, %rdi
xorl %esi, %esi
movl $0xd, %edx
callq 0xeb7d1
movl %eax, 0x18(%r15)
movq $0x0, 0x48(%r15)
movq 0x18(%rbx), %rdi
xorl %esi, %esi
callq 0xe3583
movl %eax, 0x58(%r15)
testl %eax, %eax
jne 0xe2359
cmpl $0x2, 0x24(%rbx)
jne 0xe2359
addq $0x48, %r15
movq 0x18(%rbx), %rdi
movq 0x18(%rdi), %r8
leaq 0x6297a(%rip), %rsi     # 0x144c78
movl $0x6, %edx
xorl %ecx, %ecx
movq %r15, %r9
callq 0xf1a9c
testl %eax, %eax
jne 0xe2333
movq 0x18(%rbx), %rdi
movq 0x18(%rdi), %r8
leaq 0x62a34(%rip), %rsi     # 0x144d54
movl $0x4, %edx
xorl %ecx, %ecx
movq %r15, %r9
callq 0xf1a9c
testl %eax, %eax
je 0xe2359
movq 0x48(%r14), %rdx
leaq 0x629ea(%rip), %rsi     # 0x144d28
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %rdi
movq 0x48(%r14), %rsi
callq 0xe3583
movl %eax, 0x58(%r14)
movl 0x58(%r14), %eax
cmpl $0x4, %eax
movq %r14, 0x8(%rsp)
je 0xe279e
cmpl $0x1, %eax
je 0xe238e
testl %eax, %eax
jne 0xe284f
leaq 0x629c6(%rip), %rsi     # 0x144d45
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9df7
jmp 0xe352e
movq 0x48(%r14), %rax
leaq 0x10(%rsp), %r14
movq %rax, (%r14)
leaq 0x34(%rsp), %rsi
movq %rbx, %rdi
callq 0xe958c
leaq 0x629ab(%rip), %rsi     # 0x144d59
movq %rbx, %rdi
callq 0xeb6d6
movq (%r14), %r15
leaq 0x40a65(%rip), %rsi     # 0x122e25
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
addq $0x4, (%r14)
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xef1ed
movq %rax, %r12
leaq 0x43da9(%rip), %rsi     # 0x12619d
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %rdi
movq %r14, %rsi
movq 0x8(%rsp), %r14
callq 0xef14d
movzbl %al, %edx
movl %edx, 0x60(%r14)
leaq 0x4d94a(%rip), %rsi     # 0x12fd6a
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9226
testb $0x2, 0x60(%r14)
je 0xe2497
movq 0x18(%rbx), %rdi
leaq 0x10(%rsp), %r13
movq %r13, %rsi
callq 0xef1ed
movq %r14, %rbp
movq %rax, %r14
movq (%r13), %rdx
movl 0x60(%rbp), %r8d
shrl $0x4, %r8d
andl $0x1, %r8d
leaq 0x62907(%rip), %rsi     # 0x144d66
movq %rbx, %rdi
movq %rax, %rcx
xorl %eax, %eax
callq 0xe9226
testb $0x10, 0x60(%rbp)
jne 0xe248d
movq 0x10(%rsp), %rsi
movq 0x8(%rsp), %rax
movl 0x18(%rax), %ecx
movq %rbx, %rdi
movq %r14, %rdx
xorl %r8d, %r8d
callq 0xe35e2
addq %r14, 0x10(%rsp)
movq 0x8(%rsp), %r14
testb $0x20, 0x60(%r14)
je 0xe24d1
movq 0x18(%rbx), %rdi
leaq 0x10(%rsp), %r14
movq %r14, %rsi
callq 0xef1ed
movq %rax, %r13
movq (%r14), %rdx
leaq 0x628d9(%rip), %rsi     # 0x144d95
movq %rbx, %rdi
movq %rax, %rcx
xorl %eax, %eax
callq 0xe9226
addq %r13, (%r14)
movq 0x8(%rsp), %r14
movl 0x34(%rsp), %esi
movq %rbx, %rdi
callq 0xe9595
addq %r15, %r12
movq %r12, 0x10(%rsp)
movq 0x18(%rbx), %rax
cmpq 0x18(%rax), %r12
jge 0xe34f5
leaq 0x20(%rsp), %r13
leaq 0x628c7(%rip), %r15     # 0x144dc6
xorl %r12d, %r12d
testq %r12, %r12
je 0xe2512
movq %rbx, %rdi
movq %r12, %rsi
callq 0xfdab8
movq %rbx, %rdi
movq %r14, %rsi
callq 0xfda6c
movq %rax, %r12
movq 0x10(%rsp), %rax
movq %rax, 0x18(%r12)
movq %rax, 0x20(%rsp)
movq %rbx, %rdi
leaq 0x40(%rsp), %rsi
callq 0xe958c
movq 0x18(%r12), %rdx
movq %rbx, %rdi
leaq 0x43a2d(%rip), %rsi     # 0x125f78
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movq %r12, %rdi
movq %r13, %rsi
callq 0xfdbe0
movq %r12, %rdi
movq %r13, %rsi
callq 0xfdb9b
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0xef1ed
movq %rbx, %rdi
leaq 0x3fffc(%rip), %rsi     # 0x122587
movl %eax, %edx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0xef1ed
movq %rax, %rbp
movq %rbx, %rdi
movq %r15, %rsi
movl %ebp, %edx
xorl %eax, %eax
callq 0xe9226
cmpq $0xb, %rbp
jg 0xe25c5
movl $0x1, 0x38(%r14)
jmp 0xe275c
movq 0x30(%r12), %rax
addq %rbp, %rax
movq %rax, 0x28(%r12)
movq 0x50(%r12), %rsi
addq $0x18, %rsi
movq %r14, %rdi
leaq 0x35ab9(%rip), %rdx     # 0x11809e
movl $0x4, %ecx
movq %r13, %r8
callq 0xfdc9b
movq %r12, %rdi
movq %r13, %rsi
callq 0xfdc7e
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0xef14d
movzbl %al, %edx
movl %edx, 0x94(%r12)
movq %rbx, %rdi
leaq 0x4d74c(%rip), %rsi     # 0x12fd6a
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0xef14d
movzbl %al, %edx
movq %rbx, %rdi
leaq 0x62794(%rip), %rsi     # 0x144dd2
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0xef14d
movl %eax, %r14d
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0xef14d
movzbl %al, %edx
movl %edx, 0x90(%r12)
leaq 0x497f7(%rip), %rcx     # 0x12be69
cmpb $0x5, %dl
ja 0xe2684
movl %edx, %eax
leaq 0xac050(%rip), %rcx     # 0x18e6d0
movq (%rcx,%rax,8), %rcx
movzbl %r14b, %r14d
movq %rbx, %rdi
leaq 0x6275d(%rip), %rsi     # 0x144def
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %rdi
movq 0x20(%rsp), %rsi
movq 0x58(%r12), %rcx
movq 0x8(%rsp), %rax
movl 0x18(%rax), %r9d
movq %r14, %rdx
xorl %r8d, %r8d
callq 0xf01b0
movq 0x58(%r12), %rdi
callq 0xf7557
movq %rbx, %rdi
leaq 0x59305(%rip), %rsi     # 0x13b9d4
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
addq %r14, 0x20(%rsp)
testb $0x8, 0x94(%r12)
je 0xe2734
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0xef1ed
movq %rax, %r14
movq 0x20(%rsp), %rdx
movq %rbx, %rdi
leaq 0x626fe(%rip), %rsi     # 0x144e05
movq %rax, %rcx
xorl %eax, %eax
callq 0xe9226
movq 0x20(%rsp), %rsi
movq 0x8(%rsp), %rax
movl 0x18(%rax), %ecx
movq %rbx, %rdi
movq %r14, %rdx
movl $0x1, %r8d
callq 0xe35e2
addq %r14, 0x20(%rsp)
addq 0x18(%r12), %rbp
movq %rbp, 0x40(%r12)
movq 0x30(%r12), %rcx
movq %rbx, %rdi
leaq 0x626d5(%rip), %rsi     # 0x144e22
movq %rbp, %rdx
xorl %eax, %eax
callq 0xe9226
movq 0x8(%rsp), %r14
movl 0x40(%rsp), %esi
movq %rbx, %rdi
callq 0xe9595
cmpl $0x0, 0x38(%r14)
jne 0xe34f8
movq 0x28(%r12), %rax
testq %rax, %rax
jle 0xe34f8
addq 0x10(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x18(%rbx), %rcx
cmpq 0x18(%rcx), %rax
jl 0xe2502
jmp 0xe34f8
movq %r14, %r15
movq 0x48(%r14), %r14
leaq 0x626a3(%rip), %rsi     # 0x144e4f
movq %rbx, %rdi
callq 0xeb6d6
movq %rbx, %rdi
movl $0x10, %esi
callq 0xeba56
movq %rax, 0x30(%r15)
movq 0x18(%rbx), %rax
cmpq 0x18(%rax), %r14
jge 0xe3516
xorl %r15d, %r15d
testq %r15, %r15
je 0xe27e6
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe9752
movl $0x50, %esi
movq %rbx, %rdi
callq 0xe969b
movq %rax, %r15
movq %r14, (%rax)
movq 0x18(%rbx), %rax
movq 0x18(%rax), %rax
movq %rax, 0x8(%r15)
movb $0x0, 0x19(%r15)
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
movq %r15, %rdx
callq 0xe36b8
cmpb $0x0, 0x1a(%r15)
je 0xe3519
cmpb $0x0, 0x1b(%r15)
jne 0xe3519
movq 0x48(%r15), %rax
testq %rax, %rax
jle 0xe3519
addq %rax, %r14
movq 0x18(%rbx), %rax
cmpq 0x18(%rax), %r14
jl 0xe27d6
jmp 0xe3519
movq 0x48(%r14), %r12
leaq 0x6283c(%rip), %rsi     # 0x145096
movq %rbx, %rdi
callq 0xeb6d6
movq %rbx, %rdi
movl $0x10, %esi
callq 0xeba56
movq %rax, 0x30(%r14)
addq $0x8, %r12
movq 0x18(%rbx), %rax
cmpq 0x18(%rax), %r12
jge 0xe3548
leaq 0x40(%rsp), %rbp
xorl %r15d, %r15d
testq %r15, %r15
je 0xe289d
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe9752
movl $0x48, %esi
movq %rbx, %rdi
callq 0xe969b
movq %rax, %r14
movq %rbx, %rdi
leaq 0x4c(%rsp), %rsi
callq 0xe958c
movq %r12, (%r14)
movq %r12, 0x40(%rsp)
xorl %r15d, %r15d
movq %rbx, %rdi
leaq 0x4e7ae(%rip), %rsi     # 0x13107d
movq %r12, 0x70(%rsp)
movq %r12, %rdx
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movq 0x18(%rbx), %rdi
movq %rbp, %rsi
callq 0xef3a0
movq %r14, 0x18(%rsp)
movl %eax, 0x10(%r14)
movq %rbx, %rdi
leaq 0x35923(%rip), %rsi     # 0x11822d
movl %eax, %edx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %r14
xorl %r12d, %r12d
cmpl $0x3f, %r15d
jbe 0xe2927
xorl %r12d, %r12d
xorl %eax, %eax
jmp 0xe294a
movq %r14, %rdi
movq %rbp, %rsi
callq 0xef14d
movl %eax, %ecx
andb $0x7f, %cl
movzbl %cl, %edx
movl %r15d, %ecx
shlq %cl, %rdx
orq %rdx, %r12
addl $0x7, %r15d
shrb $0x7, %al
testb %al, %al
jne 0xe291a
testq %r12, %r12
movl $0x0, %r13d
cmovgq %r12, %r13
movq %rbx, %rdi
leaq 0x4924e(%rip), %rsi     # 0x12bbb3
movq %r13, %rdx
xorl %eax, %eax
callq 0xe9226
cmpq $0x1fffff, %r12         # imm = 0x1FFFFF
movq 0x18(%rsp), %r15
jg 0xe34a6
movq 0x40(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x18(%rbx), %r14
xorl %r12d, %r12d
xorl %r15d, %r15d
cmpl $0x3f, %r12d
jbe 0xe29a2
xorl %r15d, %r15d
xorl %eax, %eax
jmp 0xe29c5
movq %r14, %rdi
movq %rbp, %rsi
callq 0xef14d
movl %eax, %ecx
andb $0x7f, %cl
movzbl %cl, %edx
movl %r12d, %ecx
shlq %cl, %rdx
orq %rdx, %r15
addl $0x7, %r12d
shrb $0x7, %al
testb %al, %al
jne 0xe2995
movq 0x18(%rsp), %rax
movl %r15d, 0x14(%rax)
leal -0x1(%r15), %eax
leaq 0x4948c(%rip), %rcx     # 0x12be69
cmpl $0x4, %eax
movq 0x8(%rsp), %r14
ja 0xe29f7
movl %eax, %eax
leaq 0x622bc(%rip), %rdx     # 0x144cac
movslq (%rdx,%rax,4), %rcx
addq %rdx, %rcx
movq %rbx, %rdi
leaq 0x6269d(%rip), %rsi     # 0x14509e
movl %r15d, %edx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rsp), %rax
cmpl $0x5, 0x14(%rax)
jne 0xe2a1e
movl $0x1, 0x50(%r14)
movq 0x18(%rbx), %r15
xorl %r12d, %r12d
xorl %r14d, %r14d
cmpl $0x3f, %r12d
jbe 0xe2a35
xorl %r14d, %r14d
xorl %eax, %eax
jmp 0xe2a58
movq %r15, %rdi
movq %rbp, %rsi
callq 0xef14d
movl %eax, %ecx
andb $0x7f, %cl
movzbl %cl, %edx
movl %r12d, %ecx
shlq %cl, %rdx
orq %rdx, %r14
addl $0x7, %r12d
shrb $0x7, %al
testb %al, %al
jne 0xe2a28
movq 0x18(%rsp), %r15
movl %r14d, 0x18(%r15)
movq %rbx, %rdi
leaq 0x62641(%rip), %rsi     # 0x1450b0
movl %r14d, %edx
xorl %eax, %eax
callq 0xe9226
testb $0x1, 0x18(%r15)
je 0xe2afc
movq 0x18(%rbx), %r14
xorl %r12d, %r12d
xorl %r15d, %r15d
cmpl $0x3f, %r12d
jbe 0xe2a97
xorl %r15d, %r15d
xorl %eax, %eax
jmp 0xe2aba
movq %r14, %rdi
movq %rbp, %rsi
callq 0xef14d
movl %eax, %ecx
andb $0x7f, %cl
movzbl %cl, %edx
movl %r12d, %ecx
shlq %cl, %rdx
orq %rdx, %r15
addl $0x7, %r12d
shrb $0x7, %al
testb %al, %al
jne 0xe2a8a
testq %r15, %r15
movl $0x0, %eax
cmovleq %rax, %r15
movq 0x18(%rsp), %rax
movq %r15, 0x28(%rax)
movq %rbx, %rdi
leaq 0x625e1(%rip), %rsi     # 0x1450be
movq %r15, %rdx
movq %rax, %r15
xorl %eax, %eax
callq 0xe9226
movq 0x28(%r15), %rax
movq 0x18(%rbx), %rcx
cmpq 0x18(%rcx), %rax
jg 0xe34a6
testb $0x2, 0x18(%r15)
je 0xe2b7f
movq 0x18(%rbx), %r14
xorl %r12d, %r12d
xorl %r15d, %r15d
cmpl $0x3f, %r12d
jbe 0xe2b1a
xorl %r15d, %r15d
xorl %eax, %eax
jmp 0xe2b3d
movq %r14, %rdi
movq %rbp, %rsi
callq 0xef14d
movl %eax, %ecx
andb $0x7f, %cl
movzbl %cl, %edx
movl %r12d, %ecx
shlq %cl, %rdx
orq %rdx, %r15
addl $0x7, %r12d
shrb $0x7, %al
testb %al, %al
jne 0xe2b0d
testq %r15, %r15
movl $0x0, %eax
cmovleq %rax, %r15
movq 0x18(%rsp), %rax
movq %r15, 0x38(%rax)
movq %rbx, %rdi
leaq 0x62572(%rip), %rsi     # 0x1450d2
movq %r15, %rdx
movq %rax, %r15
xorl %eax, %eax
callq 0xe9226
movq 0x38(%r15), %rax
movq 0x18(%rbx), %rcx
cmpq 0x18(%rcx), %rax
jg 0xe34a6
movq 0x40(%rsp), %rax
movq %rax, 0x40(%r15)
movq 0x28(%rsp), %rcx
addq %r13, %rcx
movq %rcx, 0x30(%r15)
addq 0x38(%r15), %rcx
movq 0x18(%rbx), %rax
cmpq 0x18(%rax), %rcx
jg 0xe34a6
movq 0x8(%rsp), %r14
movq 0x30(%r14), %rdi
callq 0xebdc3
movq 0x30(%r14), %rdi
movq 0x18(%rbx), %rsi
movq (%r15), %rdx
movq 0x30(%r15), %rcx
addq $0x4, %rdx
subq %rdx, %rcx
callq 0xebf09
movq 0x30(%r14), %rdi
callq 0xebe2a
movl %eax, %r14d
movq %rbx, %rdi
leaq 0x35669(%rip), %rsi     # 0x11824e
movl %eax, %edx
xorl %eax, %eax
callq 0xe9226
cmpl 0x10(%r15), %r14d
jne 0xe34a6
movq 0x30(%r15), %rdx
movq 0x38(%r15), %rax
addq %rdx, %rax
subq (%r15), %rax
movq %rax, 0x8(%r15)
subq 0x28(%r15), %rdx
movq %rdx, 0x20(%r15)
testb $0x1, 0x18(%r15)
je 0xe2c2a
movq %rbx, %rdi
leaq 0x624c2(%rip), %rsi     # 0x1450e5
xorl %eax, %eax
callq 0xe9226
testb $0x2, 0x18(%r15)
leaq 0x20(%rsp), %r12
je 0xe2c4b
movq 0x30(%r15), %rdx
movq %rbx, %rdi
leaq 0x362c8(%rip), %rsi     # 0x118f0c
xorl %eax, %eax
callq 0xe9226
movl 0x14(%r15), %eax
leal -0x2(%rax), %ecx
cmpl $0x2, %ecx
movq 0x8(%rsp), %r14
jae 0xe3093
movl $0x40, %esi
movq %rbx, %rdi
callq 0xe969b
movq %rax, %r13
movq 0x40(%r15), %rax
movq %rax, 0x20(%rsp)
cmpl $0x2, 0x14(%r15)
jne 0xe2ca8
movq 0x68(%r14), %rsi
testq %rsi, %rsi
je 0xe2c99
movq %rbx, %rdi
callq 0xfdab8
movq $0x0, 0x68(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0xfda6c
movq %rax, 0x68(%r14)
movq %r13, 0x28(%rsp)
movq 0x18(%rbx), %r14
xorl %r15d, %r15d
xorl %r13d, %r13d
cmpl $0x3f, %r15d
jbe 0xe2cc4
xorl %r13d, %r13d
xorl %eax, %eax
jmp 0xe2ce7
movq %r14, %rdi
movq %r12, %rsi
callq 0xef14d
movl %eax, %ecx
andb $0x7f, %cl
movzbl %cl, %edx
movl %r15d, %ecx
shlq %cl, %rdx
orq %rdx, %r13
addl $0x7, %r15d
shrb $0x7, %al
testb %al, %al
jne 0xe2cb7
movq 0x28(%rsp), %rax
movl %r13d, (%rax)
xorl %r15d, %r15d
movq %rbx, %rdi
leaq 0x62419(%rip), %rsi     # 0x145119
movl %r13d, %edx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %r14
xorl %r13d, %r13d
cmpl $0x3f, %r15d
jbe 0xe2d1e
xorl %r13d, %r13d
xorl %eax, %eax
jmp 0xe2d41
movq %r14, %rdi
movq %r12, %rsi
callq 0xef14d
movl %eax, %ecx
andb $0x7f, %cl
movzbl %cl, %edx
movl %r15d, %ecx
shlq %cl, %rdx
orq %rdx, %r13
addl $0x7, %r15d
shrb $0x7, %al
testb %al, %al
jne 0xe2d11
xorl %r15d, %r15d
testq %r13, %r13
cmovleq %r15, %r13
movq 0x28(%rsp), %rax
leaq 0x10(%rax), %r14
movq %r13, 0x10(%rax)
movq %rbx, %rdi
leaq 0x3534e(%rip), %rsi     # 0x1180b4
movq %r13, %rdx
xorl %eax, %eax
callq 0xe9226
movq %r14, 0x38(%rsp)
movq %r14, %rdi
callq 0xec0d1
movq 0x18(%rbx), %r12
xorl %r14d, %r14d
cmpl $0x3f, %r15d
jbe 0xe2d91
xorl %r14d, %r14d
xorl %eax, %eax
jmp 0xe2db6
movq %r12, %rdi
leaq 0x20(%rsp), %rsi
callq 0xef14d
movl %eax, %ecx
andb $0x7f, %cl
movzbl %cl, %edx
movl %r15d, %ecx
shlq %cl, %rdx
orq %rdx, %r14
addl $0x7, %r15d
shrb $0x7, %al
testb %al, %al
jne 0xe2d84
movq 0x28(%rsp), %r15
movq %r14, 0x8(%r15)
movq %rbx, %rdi
leaq 0x6235d(%rip), %rsi     # 0x14512a
movq %r14, %rdx
xorl %eax, %eax
callq 0xe9226
testb $0x2, (%r15)
leaq 0x20(%rsp), %r12
je 0xe2e02
movq %r15, %rsi
addq $0x28, %rsi
movq 0x8(%rsp), %rdi
leaq 0x352a9(%rip), %rdx     # 0x11809e
movl $0x2, %ecx
movq %r12, %r8
callq 0xfdc9b
testb $0x4, (%r15)
je 0xe2e2b
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xef3a0
movl %eax, 0x18(%r15)
movq %rbx, %rdi
leaq 0x62317(%rip), %rsi     # 0x145139
movl %eax, %edx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %r14
xorl %r15d, %r15d
xorl %r13d, %r13d
cmpl $0x3f, %r15d
jbe 0xe2e42
xorl %r13d, %r13d
xorl %eax, %eax
jmp 0xe2e65
movq %r14, %rdi
movq %r12, %rsi
callq 0xef14d
movl %eax, %ecx
andb $0x7f, %cl
movzbl %cl, %edx
movl %r15d, %ecx
shlq %cl, %rdx
orq %rdx, %r13
addl $0x7, %r15d
shrb $0x7, %al
testb %al, %al
jne 0xe2e35
movq 0x28(%rsp), %r14
movl %r13d, 0x1c(%r14)
xorl %r15d, %r15d
movq %rbx, %rdi
leaq 0x622cb(%rip), %rsi     # 0x14514a
movl %r13d, %edx
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movl 0x1c(%r14), %edx
andl $0x3f, %edx
movq %rbx, %rdi
leaq 0x53b13(%rip), %rsi     # 0x1369ba
xorl %eax, %eax
callq 0xe9226
movl 0x1c(%r14), %edx
shrl $0x6, %edx
andl $0x1, %edx
movq %rbx, %rdi
leaq 0x62298(%rip), %rsi     # 0x14515a
xorl %eax, %eax
callq 0xe9226
movl 0x1c(%r14), %edx
shrl $0x7, %edx
andl $0x7, %edx
movl %edx, 0x20(%r14)
movq %rbx, %rdi
leaq 0x42da1(%rip), %rsi     # 0x125c82
xorl %eax, %eax
callq 0xe9226
movl 0x1c(%r14), %ecx
shrl $0xa, %ecx
andl $0xf, %ecx
movl $0x80, %eax
shll %cl, %eax
movq %rbx, %rdi
leaq 0x62261(%rip), %rsi     # 0x145164
movl %ecx, %edx
movl %eax, %ecx
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
movq 0x18(%rbx), %r13
xorl %r14d, %r14d
cmpl $0x3f, %r15d
jbe 0xe2f2f
xorl %r14d, %r14d
xorl %eax, %eax
jmp 0xe2f52
movq %r13, %rdi
movq %r12, %rsi
callq 0xef14d
movl %eax, %ecx
andb $0x7f, %cl
movzbl %cl, %edx
movl %r15d, %ecx
shlq %cl, %rdx
orq %rdx, %r14
addl $0x7, %r15d
shrb $0x7, %al
testb %al, %al
jne 0xe2f22
movq 0x28(%rsp), %rax
movl %r14d, 0x24(%rax)
xorl %r13d, %r13d
movq %rbx, %rdi
leaq 0x6220c(%rip), %rsi     # 0x145178
movl %r14d, %edx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %r14
xorl %r15d, %r15d
cmpl $0x3f, %r13d
jbe 0xe2f8a
xorl %r15d, %r15d
xorl %eax, %eax
jmp 0xe2fad
movq %r14, %rdi
movq %r12, %rsi
callq 0xef14d
movl %eax, %ecx
andb $0x7f, %cl
movzbl %cl, %edx
movl %r13d, %ecx
shlq %cl, %rdx
orq %rdx, %r15
addl $0x7, %r13d
shrb $0x7, %al
testb %al, %al
jne 0xe2f7d
cmpq $0xffff, %r15           # imm = 0xFFFF
movq 0x28(%rsp), %r14
jg 0xe3075
testq %r15, %r15
movl $0x0, %eax
cmovleq %rax, %r15
movq 0x18(%rbx), %rdi
movq 0x20(%rsp), %rsi
movq %r15, %rdx
movq %r15, %rcx
xorl %r8d, %r8d
movl $0x2, %r9d
callq 0xefe67
movq %rax, 0x38(%r14)
movq 0x18(%rax), %rdi
callq 0xf7557
movq %rbx, %rdi
leaq 0x3f570(%rip), %rsi     # 0x122573
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rsp), %rax
cmpl $0x3, 0x14(%rax)
jne 0xe3075
movq 0x38(%r14), %rax
movq 0x8(%rax), %rdi
leaq 0x62158(%rip), %rsi     # 0x14517f
callq 0x181a0
testl %eax, %eax
jne 0xe3075
cmpl $0x0, 0x20(%r14)
jne 0xe306e
movq 0x18(%rsp), %rax
movq 0x38(%rax), %rdi
movq 0x38(%rsp), %rax
movq (%rax), %rsi
callq 0xea792
testq %rax, %rax
jle 0xe306e
movq 0x18(%rsp), %rcx
movq 0x30(%rcx), %rsi
movq %rbx, %rdi
movq %rax, %rdx
movl $0x2, %ecx
xorl %r8d, %r8d
callq 0xe35e2
xorl %edi, %edi
callq 0xf6bb0
movq 0x38(%r14), %rsi
movq %rbx, %rdi
callq 0xf00aa
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe9752
movq 0x18(%rsp), %r15
jmp 0xe30a0
cmpl $0x4, %eax
jne 0xe30a0
movl $0x1, 0x50(%r14)
movq 0x20(%r15), %rax
movq %rax, 0x10(%rsp)
movq 0x30(%r15), %rax
movq %rax, 0x28(%rsp)
movq %rbx, %rdi
leaq 0x34(%rsp), %rsi
callq 0xe958c
movl $0x58, %esi
movq %rbx, %rdi
callq 0xe969b
movq %rax, 0x38(%rsp)
movq 0x28(%r15), %rcx
testq %rcx, %rcx
jle 0xe348d
movq 0x20(%r15), %rdx
movq %rbx, %rdi
leaq 0x62097(%rip), %rsi     # 0x145183
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movq 0x10(%rsp), %rdx
cmpq 0x28(%rsp), %rdx
jge 0xe348d
movq 0x38(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x60(%rsp)
leaq 0x18(%rax), %rcx
movq %rcx, 0x58(%rsp)
addq $0x28, %rax
movq %rax, 0x50(%rsp)
xorl %r15d, %r15d
movq %rbx, %rdi
leaq 0x312aa(%rip), %rsi     # 0x1143e7
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movq 0x18(%rbx), %r14
xorl %r13d, %r13d
cmpl $0x3f, %r15d
jbe 0xe3165
xorl %r13d, %r13d
xorl %eax, %eax
jmp 0xe318a
movq %r14, %rdi
leaq 0x10(%rsp), %rsi
callq 0xef14d
movl %eax, %ecx
andb $0x7f, %cl
movzbl %cl, %edx
movl %r15d, %ecx
shlq %cl, %rdx
orq %rdx, %r13
addl $0x7, %r15d
shrb $0x7, %al
testb %al, %al
jne 0xe3158
testq %r13, %r13
movl $0x0, %eax
cmovleq %rax, %r13
movq %rbx, %rdi
leaq 0x61ffa(%rip), %rsi     # 0x14519e
movq %r13, %rdx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rsp), %r15
cmpq 0x28(%r15), %r13
jg 0xe348d
addq 0x10(%rsp), %r13
cmpq 0x28(%rsp), %r13
jg 0xe348d
movq 0x18(%rbx), %r14
xorl %r12d, %r12d
xorl %r15d, %r15d
cmpl $0x3f, %r12d
jbe 0xe31e4
xorl %r15d, %r15d
xorl %eax, %eax
jmp 0xe3209
movq %r14, %rdi
leaq 0x10(%rsp), %rsi
callq 0xef14d
movl %eax, %ecx
andb $0x7f, %cl
movzbl %cl, %edx
movl %r12d, %ecx
shlq %cl, %rdx
orq %rdx, %r15
addl $0x7, %r12d
shrb $0x7, %al
testb %al, %al
jne 0xe31d7
movq 0x18(%rsp), %rax
movl 0x14(%rax), %eax
movl %eax, %ecx
andl $-0x2, %ecx
cmpl $0x2, %ecx
jne 0xe3241
leal -0x1(%r15), %eax
leaq 0x48c3f(%rip), %rcx     # 0x12be69
cmpl $0x7, %eax
jae 0xe325e
movl %eax, %eax
leaq 0x61a88(%rip), %rdx     # 0x144cc0
movslq (%rdx,%rax,4), %rcx
addq %rdx, %rcx
jmp 0xe325e
xorl $0x1, %eax
movl %r15d, %ecx
xorl $0x1, %ecx
orl %eax, %ecx
leaq 0x48c16(%rip), %rcx     # 0x12be69
leaq 0x4d681(%rip), %rax     # 0x1308db
cmoveq %rax, %rcx
movq %rbx, %rdi
leaq 0x61f46(%rip), %rsi     # 0x1451ae
movl %r15d, %edx
xorl %eax, %eax
callq 0xe9226
movq 0x10(%rsp), %r14
movq %r13, %r12
subq %r14, %r12
movq %rbx, %rdi
leaq 0x61f3c(%rip), %rsi     # 0x1451c3
movq %r14, %rdx
movq %r12, %rcx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rsp), %rax
movl 0x14(%rax), %ecx
cmpl $0x2, %ecx
jne 0xe32a9
movb $0x1, %al
cmpl $0x3, %r15d
jmp 0xe32b5
xorl $0x3, %ecx
xorl $0x3, %r15d
movb $0x1, %al
orl %ecx, %r15d
movq 0x18(%rsp), %r15
jne 0xe343b
movq %r14, 0x20(%rsp)
movq %r12, 0x68(%rsp)
testq %r12, %r12
jle 0xe3434
movq 0x38(%rsp), %rax
movb $0x1, (%rax)
movq 0x18(%rbx), %r14
xorl %r12d, %r12d
xorl %r15d, %r15d
cmpl $0x3f, %r12d
jbe 0xe32f2
xorl %r15d, %r15d
xorl %eax, %eax
jmp 0xe3317
movq %r14, %rdi
leaq 0x20(%rsp), %rsi
callq 0xef14d
movl %eax, %ecx
andb $0x7f, %cl
movzbl %cl, %edx
movl %r12d, %ecx
shlq %cl, %rdx
orq %rdx, %r15
addl $0x7, %r12d
shrb $0x7, %al
testb %al, %al
jne 0xe32e5
movq %rbx, %rdi
leaq 0x61df9(%rip), %rsi     # 0x14511e
movl %r15d, %edx
xorl %eax, %eax
callq 0xe9226
xorl %eax, %eax
testb $0x1, %r15b
sete %al
leal 0x2(,%rax,4), %r14d
testb $0x2, %r15b
leaq 0x20(%rsp), %r12
je 0xe3367
movq 0x8(%rsp), %rdi
movq 0x60(%rsp), %rsi
leaq 0x34d42(%rip), %rdx     # 0x11809e
movl %r14d, %ecx
movq %r12, %r8
callq 0xfdc9b
testb $0x4, %r15b
je 0xe3389
movq 0x8(%rsp), %rdi
movq 0x58(%rsp), %rsi
leaq 0x34e68(%rip), %rdx     # 0x1181e6
movl %r14d, %ecx
movq %r12, %r8
callq 0xfdc9b
testb $0x8, %r15b
je 0xe33ab
movq 0x8(%rsp), %rdi
movq 0x50(%rsp), %rsi
leaq 0x321fc(%rip), %rdx     # 0x11559c
movl %r14d, %ecx
movq %r12, %r8
callq 0xfdc9b
notl %r15d
testb $0x13, %r15b
jne 0xe33d7
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xef3a0
cvtsi2sd %rax, %xmm0
divsd 0x3763b(%rip), %xmm0    # 0x11aa08
movq 0x60(%rsp), %rdi
callq 0xead3a
testb $0x15, %r15b
jne 0xe3403
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xef3a0
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
divsd 0x3760f(%rip), %xmm0    # 0x11aa08
movq 0x58(%rsp), %rdi
callq 0xead3a
testb $0x19, %r15b
movq 0x18(%rsp), %r15
jne 0xe3434
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0xef3a0
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
divsd 0x375de(%rip), %xmm0    # 0x11aa08
movq 0x50(%rsp), %rdi
callq 0xead3a
xorl %eax, %eax
movq 0x68(%rsp), %r12
testq %r12, %r12
setle %cl
xorb $0x1, %al
orb %cl, %al
jne 0xe346b
movq 0x18(%rbx), %rsi
movq 0x10(%rsp), %rdx
movl $0x1, (%rsp)
movl $0x100, %r8d            # imm = 0x100
movq %rbx, %rdi
movq %r12, %rcx
xorl %r9d, %r9d
callq 0xe975a
movq %r13, 0x10(%rsp)
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
movq 0x10(%rsp), %rdx
cmpq 0x28(%rsp), %rdx
jl 0xe3130
movq %rbx, %rdi
movq 0x38(%rsp), %rsi
callq 0xe9752
movl 0x34(%rsp), %esi
movq %rbx, %rdi
callq 0xe9595
cmpq $0x0, 0x8(%r15)
movq 0x8(%rsp), %r14
jne 0xe34ba
movl $0x1, 0x38(%r14)
movl 0x4c(%rsp), %esi
movq %rbx, %rdi
callq 0xe9595
cmpl $0x0, 0x38(%r14)
movq 0x70(%rsp), %r12
jne 0xe354b
cmpl $0x0, 0x50(%r14)
jne 0xe354b
movq 0x8(%r15), %rax
testq %rax, %rax
jle 0xe354b
addq %rax, %r12
movq 0x18(%rbx), %rax
cmpq 0x18(%rax), %r12
jl 0xe288d
jmp 0xe354b
xorl %r12d, %r12d
testq %r12, %r12
je 0xe3508
movq %rbx, %rdi
movq %r12, %rsi
callq 0xfdab8
movl 0x34(%rsp), %esi
movq %rbx, %rdi
callq 0xe9595
jmp 0xe352e
xorl %r15d, %r15d
testq %r15, %r15
movq 0x8(%rsp), %r14
je 0xe352e
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe9752
movq %rbx, %rdi
movq %r14, %rsi
callq 0xfdb25
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r15d, %r15d
movq 0x68(%r14), %rsi
testq %rsi, %rsi
je 0xe3564
movq %rbx, %rdi
callq 0xfdab8
movq $0x0, 0x68(%r14)
testq %r15, %r15
jne 0xe3523
jmp 0xe352e