// File: /workspace/github_c_makefile_star2_O1/jsummers[P]deark/modules/palmpdb.c
// Function: de_run_pdb_or_prc
static void de_run_pdb_or_prc(deark *c, de_module_params *mparams)
{
	const char *s;
	lctx *d = NULL;

	d = de_malloc(c, sizeof(lctx));
	s = de_get_ext_option(c, "palm:timestampfmt");
	if(s) {
		if(!de_strcmp(s, "macbe"))
			d->timestampfmt = TIMESTAMPFMT_MACBE;
		else if(!de_strcmp(s, "unixbe"))
			d->timestampfmt = TIMESTAMPFMT_UNIXBE;
		else if(!de_strcmp(s, "macle"))
			d->timestampfmt = TIMESTAMPFMT_MACLE;
	}

	if(!do_read_pdb_prc_header(c, d)) goto done;
	if(!do_read_pdb_prc_records(c, d, 72)) goto done;
	do_app_info_block(c, d);
	do_sort_info_block(c, d);
done:
	free_lctx(c, d);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x148, %rsp            # imm = 0x148
movq %rdi, %rbx
movl $0xc8, %esi
callq 0xe969b
movq %rax, %r12
leaq 0x8743a(%rip), %rsi     # 0x135048
movq %rbx, %rdi
callq 0xea6cb
testq %rax, %rax
je 0xadc6f
movq %rax, %r14
leaq 0x87435(%rip), %rsi     # 0x13505a
movq %rax, %rdi
callq 0x181a0
testl %eax, %eax
je 0xadc5e
leaq 0x87428(%rip), %rsi     # 0x135060
movq %r14, %rdi
callq 0x181a0
testl %eax, %eax
je 0xadc65
leaq 0x8741c(%rip), %rsi     # 0x135067
movq %r14, %rdi
callq 0x181a0
testl %eax, %eax
jne 0xadc6f
movl $0x3, %eax
jmp 0xadc6a
movl $0x1, %eax
jmp 0xadc6a
movl $0x2, %eax
movl %eax, 0x8(%r12)
leaq 0x8b6e8(%rip), %rsi     # 0x13935e
movq %rbx, %rdi
xorl %edx, %edx
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movq %rbx, %rdi
callq 0xf6870
movq %rax, %r15
movq 0x18(%rbx), %rdi
movl $0x20, %edx
xorl %esi, %esi
movq %rax, %rcx
movl $0x1, %r8d
movl $0x13, %r9d
callq 0xf01b0
movq %r15, %rdi
callq 0xf74bd
leaq 0x748ab(%rip), %rsi     # 0x122573
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %rdi
movl $0x20, %esi
callq 0xef169
movq %rax, %r14
andl $0x1, %eax
incl %eax
movq %r12, 0x10(%rsp)
movl %eax, (%r12)
movq %rbx, 0x18(%rsp)
movq %rbx, %rdi
callq 0xf6870
movq %rax, %r12
movl $0x8, %ebx
leaq 0xd8150(%rip), %r13     # 0x185e60
testl %r14d, -0x8(%rbx,%r13)
je 0xadd23
movq (%rbx,%r13), %rsi
movq %r12, %rdi
callq 0xf7566
addq $0x10, %rbx
cmpq $0xd8, %rbx
jne 0xadd10
testl %r14d, %r14d
jne 0xadd44
leaq 0x629e9(%rip), %rsi     # 0x110725
movq %r12, %rdi
callq 0xf7566
movq %r12, %rdi
callq 0xf74bd
leaq 0x95657(%rip), %rsi     # 0x1433aa
movq 0x18(%rsp), %rbx
movq %rbx, %rdi
movl %r14d, %edx
movq %rax, %rcx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %rdi
movl $0x22, %esi
callq 0xef169
leaq 0x872f0(%rip), %rsi     # 0x13506d
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xe9226
leaq 0x72cf0(%rip), %rcx     # 0x120a80
movl $0x24, %edx
movq %rbx, %rdi
movq 0x10(%rsp), %r14
movq %r14, %rsi
xorl %r8d, %r8d
callq 0xaf3b7
leaq 0x80(%r14), %r8
leaq 0x72ce0(%rip), %rcx     # 0x120a96
movl $0x28, %edx
movq %rbx, %rdi
movq %r14, %rsi
movq %r8, 0x50(%rsp)
callq 0xaf3b7
leaq 0x68d97(%rip), %rcx     # 0x116b69
movl $0x2c, %edx
movq %rbx, %rdi
movq %r14, %rsi
xorl %r8d, %r8d
callq 0xaf3b7
movq 0x18(%rbx), %rdi
movl $0x30, %esi
callq 0xef32a
leaq 0x87283(%rip), %rsi     # 0x13507d
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %rdi
movl $0x34, %esi
callq 0xef32a
movq %rax, 0x90(%r14)
leaq 0x8726a(%rip), %rsi     # 0x13508c
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %rdi
movl $0x38, %esi
callq 0xef32a
movq %rax, 0x98(%r14)
leaq 0x87253(%rip), %rsi     # 0x13509d
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %rdi
leaq 0x20(%r14), %rdx
movl $0x3c, %esi
movl $0x4, %ecx
xorl %r8d, %r8d
callq 0xf1d74
leaq 0x30(%r14), %rdx
leaq 0x79ee0(%rip), %rsi     # 0x127d5b
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %rdi
leaq 0x50(%r14), %rdx
movl $0x40, %esi
movl $0x4, %ecx
xorl %r8d, %r8d
callq 0xf1d74
leaq 0x60(%r14), %rdx
leaq 0x68984(%rip), %rsi     # 0x11682e
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9226
movl (%r14), %eax
cmpl $0x2, %eax
je 0xadf0d
cmpl $0x1, %eax
jne 0xadf26
leaq 0x8720f(%rip), %rax     # 0x1350d7
movq 0x10(%rsp), %rcx
movq %rax, 0x10(%rcx)
movl 0x24(%rcx), %eax
leaq 0x871f7(%rip), %rsi     # 0x1350d2
cmpl $0x76494d47, %eax       # imm = 0x76494D47
je 0xadf54
cmpl $0x70716120, %eax       # imm = 0x70716120
jne 0xadf74
movq 0x10(%rsp), %r13
cmpl $0x636c7072, 0x54(%r13) # imm = 0x636C7072
jne 0xadf4d
movl $0x1, 0x4(%r13)
leaq 0x871a4(%rip), %rsi     # 0x1350af
jmp 0xadf79
leaq 0x871cc(%rip), %rax     # 0x1350e0
movq 0x10(%rsp), %r13
movq %rax, 0x10(%r13)
leaq 0x871b7(%rip), %rsi     # 0x1350db
jmp 0xadf79
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
movq %r15, %rdi
callq 0xf6bb0
movq %r12, %rdi
callq 0xf6bb0
movq 0x10(%rsp), %r12
jmp 0xaf141
cmpl $0x76494d47, %eax       # imm = 0x76494D47
jne 0xadf74
movq 0x10(%rsp), %r13
cmpl $0x56696577, 0x54(%r13) # imm = 0x56696577
jne 0xadf79
movl $0x2, 0x4(%r13)
leaq 0x87146(%rip), %rsi     # 0x1350b8
jmp 0xadf79
movq 0x10(%rsp), %r13
movq %rbx, %rdi
callq 0xeb6d6
movq 0x18(%rbx), %rdi
movl $0x44, %esi
callq 0xef32a
leaq 0x8714e(%rip), %rsi     # 0x1350e4
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
movq %r15, %rdi
callq 0xf6bb0
movq %r12, %rdi
callq 0xf6bb0
movq 0x10(%r13), %rdx
leaq 0x8728a(%rip), %rsi     # 0x135254
movq %rbx, %rdi
movl $0x48, %ecx
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movq 0x18(%rbx), %rdi
movl $0x48, %esi
callq 0xef32a
movq %rax, %r14
leaq 0x8726b(%rip), %rsi     # 0x135269
movq %rbx, %rdi
movl %r14d, %edx
xorl %eax, %eax
callq 0xe9226
testq %r14, %r14
movq %r13, %r12
je 0xae024
leaq 0x87264(%rip), %rsi     # 0x13527e
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9b27
movq 0x18(%rbx), %rdi
movl $0x4c, %esi
callq 0xef169
movq %rax, 0xa0(%r12)
leaq 0x8592b(%rip), %rsi     # 0x13396c
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xe9226
xorl %eax, %eax
cmpl $0x2, (%r12)
sete %al
leaq 0x8(%rax,%rax), %rax
movq %rax, 0x18(%r12)
leaq 0x87258(%rip), %rsi     # 0x1352c0
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9226
movq 0xa0(%r12), %rsi
testq %rsi, %rsi
jle 0xae22a
movl $0x4, %edx
movq %rbx, %rdi
callq 0xea259
movq %rax, 0xa8(%r12)
movq 0xa0(%r12), %rsi
movl $0x8, %edx
movq %rbx, %rdi
callq 0xea259
movq %rax, 0xb0(%r12)
cmpq $0x0, 0xa0(%r12)
jle 0xae22a
xorl %r14d, %r14d
xorl %r15d, %r15d
movq 0xb0(%r12), %rax
movq %r15, (%rax,%r15,8)
movq %rbx, %rax
movl (%r12), %ebx
movq 0x18(%rax), %rdi
movq 0x18(%r12), %rsi
imulq %r15, %rsi
addq $0x4e, %rsi
callq 0xef32a
cmpl $0x2, %ebx
jne 0xae162
cmpl $0x7441494e, %eax       # imm = 0x7441494E
movq 0x18(%rsp), %rbx
jne 0xae13b
cmpq $0x0, 0xb8(%r12)
jne 0xae13b
testq %r15, %r15
je 0xae128
movq 0xb0(%r12), %rsi
leaq 0x8(%rsi), %rdi
movq %r14, %rdx
callq 0x18270
movq 0xb0(%r12), %rax
movq %r15, (%rax)
incq 0xb8(%r12)
movq 0x18(%rbx), %rdi
movq 0x18(%r12), %rsi
imulq %r15, %rsi
addq $0x54, %rsi
callq 0xef32a
movq 0xa8(%r12), %rcx
movl %eax, (%rcx,%r15,4)
jmp 0xae1e5
movq 0xa8(%r12), %rcx
movl %eax, (%rcx,%r15,4)
cmpl $0x0, 0xc(%r12)
movq 0x18(%rsp), %rbx
jne 0xae1e5
movq 0x18(%rbx), %rdi
movq 0x18(%r12), %rsi
imulq %r15, %rsi
addq $0x53, %rsi
callq 0xef0d5
movzbl %al, %ebx
shll $0x10, %ebx
movq 0x18(%rsp), %rax
movq 0x18(%rax), %rdi
movq 0x18(%r12), %rsi
imulq %r15, %rsi
addq $0x54, %rsi
callq 0xef0d5
movzbl %al, %ebp
shll $0x8, %ebp
orl %ebx, %ebp
movq 0x18(%rsp), %rbx
movq 0x18(%rbx), %rdi
movq 0x18(%r12), %rsi
imulq %r15, %rsi
addq $0x55, %rsi
callq 0xef0d5
movzbl %al, %eax
orl %ebp, %eax
je 0xae1e5
movl $0x1, 0xc(%r12)
movq 0xa8(%r12), %rax
movl (%rax,%r15,4), %ecx
movq 0x18(%rbx), %rdx
movq 0x18(%rdx), %r8
cmpq %rcx, %r8
jl 0xaedde
testq %r15, %r15
je 0xae215
movl -0x4(%rax,%r15,4), %r8d
cmpl %r8d, %ecx
jb 0xaeded
incq %r15
addq $0x8, %r14
cmpq 0xa0(%r12), %r15
jl 0xae0ca
leaq 0x870aa(%rip), %rsi     # 0x1352db
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9226
cmpq $0x0, 0xa0(%r12)
jle 0xaed7d
xorl %r15d, %r15d
movq 0xb0(%r12), %rax
movq %r15, 0x28(%rsp)
movq (%rax,%r15,8), %r13
movq 0x18(%r12), %r15
imulq %r13, %r15
cmpl $0x2, (%r12)
jne 0xae2d3
leaq 0x4e(%r15), %r14
movq %rbx, %rdi
leaq 0x85710(%rip), %rsi     # 0x13398c
movl %r13d, %edx
movl %r14d, %ecx
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movq 0x18(%rbx), %rdi
movq %r14, %rsi
leaq 0x60(%rsp), %rdx
movl $0x4, %ecx
xorl %r8d, %r8d
callq 0xf1d74
movl 0x64(%rsp), %eax
xorl %ebp, %ebp
leaq 0xd7c74(%rip), %rcx     # 0x185f30
cmpl %eax, (%rbp,%rcx)
je 0xae33f
addq $0x18, %rbp
cmpq $0x1c8, %rbp            # imm = 0x1C8
jne 0xae2bc
xorl %ebp, %ebp
jmp 0xae342
leal 0x4e(%r15), %ecx
movq %rbx, %rdi
leaq 0x856ab(%rip), %rsi     # 0x13398c
movl %r13d, %edx
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movq 0xa8(%r12), %rax
movl (%rax,%r13,4), %ebp
movq %rbx, %rdi
leaq 0x657bd(%rip), %rsi     # 0x113acb
movl %ebp, %edx
xorl %eax, %eax
callq 0xe9226
leaq 0x1(%r13), %rax
cmpq 0xa0(%r12), %rax
jge 0xae3f9
movq 0xa8(%r12), %rax
movl 0x4(%rax,%r13,4), %edx
subl (%rax,%r13,4), %edx
jmp 0xae410
addq %rcx, %rbp
testq %rbp, %rbp
je 0xae350
movq 0x8(%rbp), %rcx
testq %rcx, %rcx
jne 0xae357
leaq 0x7db12(%rip), %rcx     # 0x12be69
movq %rbx, %rdi
leaq 0x87002(%rip), %rsi     # 0x135363
leaq 0x70(%rsp), %rdx
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
callq 0xf6870
movq %rax, %r12
movq %rax, %rdi
leaq 0x68(%rsp), %rsi
movl $0x5, %edx
callq 0xf6a40
movq 0x18(%rbx), %rdi
addq $0x52, %r15
movq %r15, %rsi
callq 0xef169
movq %rbx, %rdi
leaq 0x7c6e9(%rip), %rsi     # 0x12aa8d
movl %eax, %edx
xorl %eax, %eax
callq 0xe9226
movq 0x10(%rsp), %r15
movq 0xa8(%r15), %rax
movl (%rax,%r13,4), %edx
movq %rbx, %rdi
leaq 0x65704(%rip), %rsi     # 0x113acb
movq %rdx, 0x20(%rsp)
xorl %eax, %eax
callq 0xe9226
leaq 0x1(%r13), %rax
cmpq 0xa0(%r15), %rax
jge 0xae596
movq 0xa8(%r15), %rax
movl 0x4(%rax,%r13,4), %r14d
subl (%rax,%r13,4), %r14d
jmp 0xae5ac
movq 0x18(%rbx), %rax
movq 0x18(%rax), %rdx
movq 0xa8(%r12), %rax
movl (%rax,%r13,4), %eax
subq %rax, %rdx
movq %rbx, %rdi
leaq 0x86f62(%rip), %rsi     # 0x13537c
movq %rdx, 0x20(%rsp)
xorl %eax, %eax
callq 0xe9226
movl $0x50, %esi
leaq 0x60(%rsp), %rdi
leaq 0x86ff4(%rip), %rdx     # 0x13542b
movl %r13d, %ecx
xorl %eax, %eax
callq 0xe8d67
movq 0x18(%rbx), %rdi
leaq 0x52(%r15), %rsi
callq 0xef0d5
movl %eax, %r14d
movq %rbx, %rdi
callq 0xf6870
movq %rax, %r12
testb $0x10, %r14b
je 0xae471
movq %r12, %rdi
leaq 0x86ffd(%rip), %rsi     # 0x135469
callq 0xf7566
testb $0x20, %r14b
leaq 0xb0(%rsp), %r13
je 0xae48e
movq %r12, %rdi
leaq 0x86fef(%rip), %rsi     # 0x135478
callq 0xf7566
testb $0x40, %r14b
je 0xae4a3
movq %r12, %rdi
leaq 0x86fe8(%rip), %rsi     # 0x135486
callq 0xf7566
testb %r14b, %r14b
jns 0xae4b7
movq %r12, %rdi
leaq 0x86fe3(%rip), %rsi     # 0x135495
callq 0xf7566
movzbl %r14b, %r14d
testl %r14d, %r14d
jne 0xae4cf
movq %r12, %rdi
leaq 0x6225b(%rip), %rsi     # 0x110725
callq 0xf7566
movq %r12, 0x58(%rsp)
movq %r12, %rdi
callq 0xf74bd
movq %rbx, %rdi
leaq 0x80590(%rip), %rsi     # 0x12ea76
movl %r14d, %edx
movq %rax, %rcx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %rdi
leaq 0x53(%r15), %rsi
callq 0xef0d5
movzbl %al, %ebx
shll $0x10, %ebx
movq 0x18(%rsp), %rax
movq 0x18(%rax), %rdi
leaq 0x54(%r15), %rsi
callq 0xef0d5
movzbl %al, %r12d
shll $0x8, %r12d
orl %ebx, %r12d
movq 0x18(%rsp), %rbx
movq 0x18(%rbx), %rdi
addq $0x55, %r15
movq %r15, %rsi
callq 0xef0d5
movzbl %al, %r14d
orl %r12d, %r14d
movq 0x10(%rsp), %r12
cmpl $0x2, 0x4(%r12)
jne 0xae61e
cmpl $0x6f8001, %r14d        # imm = 0x6F8001
leaq 0x7d90b(%rip), %rcx     # 0x12be69
leaq 0x86edd(%rip), %rax     # 0x135442
cmoveq %rax, %rcx
cmpl $0x6f8000, %r14d        # imm = 0x6F8000
leaq 0x86ebe(%rip), %rax     # 0x135435
cmoveq %rax, %rcx
movl $0x50, %esi
movq %r13, %rdi
leaq 0x7d59c(%rip), %rdx     # 0x12bb26
xorl %eax, %eax
callq 0xe8d67
jmp 0xae626
movq 0x18(%rbx), %rax
movq 0x18(%rax), %r14
movq 0xa8(%r15), %rax
movl (%rax,%r13,4), %eax
subq %rax, %r14
xorl %r13d, %r13d
movq %rbx, %rdi
leaq 0x86dc3(%rip), %rsi     # 0x13537c
movl %r14d, %edx
xorl %eax, %eax
callq 0xe9226
movb $0x1, %bl
movl 0x64(%rsp), %eax
cmpl $0x74414952, %eax       # imm = 0x74414952
jg 0xaea65
cmpl $0x54626d70, %eax       # imm = 0x54626D70
je 0xaeb6f
cmpl $0x74414942, %eax       # imm = 0x74414942
je 0xaeb90
cmpl $0x7441494e, %eax       # imm = 0x7441494E
jne 0xaea9a
xorl %r9d, %r9d
movq 0x10(%rsp), %rsi
cmpq $0x1, 0xb8(%rsi)
sete %r9b
movq 0x18(%rsp), %rdi
movq 0x20(%rsp), %rdx
movq %r14, %rcx
movq %rbp, %r8
jmp 0xaea95
movb $0x0, 0xb0(%rsp)
movq %rbx, %rdi
leaq 0x86e1e(%rip), %rsi     # 0x13544e
movl %r14d, %edx
movl %r14d, %ecx
movq %r13, %r8
xorl %eax, %eax
callq 0xe9226
cmpl $0x0, 0xc(%r12)
je 0xae663
movl $0x50, %esi
leaq 0x60(%rsp), %rdi
leaq 0x86e07(%rip), %rdx     # 0x135460
movl %r14d, %ecx
xorl %eax, %eax
callq 0xe8d67
movslq %ebp, %r13
cmpl $0x2, 0x4(%r12)
jne 0xaed2e
cmpl $0x6f8001, %r14d        # imm = 0x6F8001
je 0xaeaf7
cmpl $0x6f8000, %r14d        # imm = 0x6F8000
jne 0xaed2e
movl $0x30, %esi
movq %rbx, %rdi
callq 0xe969b
movq %rax, %r15
movq %rbx, %rdi
callq 0xea9a9
movq %rax, 0x20(%r15)
movq %rbx, %rdi
leaq 0x86df3(%rip), %rsi     # 0x1354a5
movl %ebp, %edx
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movq 0x20(%r15), %rax
movq 0x50(%rsp), %rcx
movups (%rcx), %xmm0
movups %xmm0, 0x68(%rax)
movq %rbx, %rdi
callq 0xf6870
movq %rax, %r14
movq 0x18(%rbx), %rdi
movl $0x20, %edx
movq %r13, %rsi
movq %rax, %rcx
movl $0x1, %r8d
movl $0x13, %r9d
callq 0xf01b0
movq %r14, %rdi
callq 0xf74bd
movq %rbx, %rdi
leaq 0x73e5e(%rip), %rsi     # 0x122573
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
cmpq $0x0, 0x10(%r14)
jle 0xae740
cmpb $0x0, 0xd0(%rbx)
je 0xae740
movq 0x20(%r15), %rsi
movq %rbx, %rdi
movq %r14, %rdx
xorl %ecx, %ecx
callq 0xea9e4
movq %r14, 0x48(%rsp)
leaq 0x20(%r13), %rsi
movq 0x18(%rbx), %rdi
callq 0xef0d5
movzbl %al, %ebp
movq %rbx, %rdi
leaq 0x83869(%rip), %rsi     # 0x131fc8
movl %ebp, %edx
xorl %eax, %eax
callq 0xe9226
movl %ebp, %r14d
andl $0x7, %r14d
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movq %rbx, %rdi
leaq 0x7dc65(%rip), %rsi     # 0x12c3eb
movl %r14d, 0x38(%rsp)
movl %r14d, %edx
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
cmpb $0x2, %bpl
jb 0xae7bb
movq %rbx, %rdi
leaq 0x86d06(%rip), %rsi     # 0x1354b8
movl %ebp, %edx
xorl %eax, %eax
callq 0xe9b27
leaq 0x21(%r13), %rsi
movq 0x18(%rbx), %rdi
leaq 0x22(%r13), %r14
callq 0xef0d5
movzbl %al, %ebp
movq %rbx, %rdi
leaq 0x77ce5(%rip), %rsi     # 0x1264be
movl %ebp, %edx
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
xorl %eax, %eax
cmpb $0x2, %bpl
sete %al
leaq (%rax,%rax,2), %rdx
incq %rdx
testb %bpl, %bpl
movl $0x2, %eax
cmoveq %rax, %rdx
movq %rdx, 0x10(%r15)
movq %rbx, %rdi
leaq 0x9742b(%rip), %rsi     # 0x145c44
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xef32a
movq %rbx, %rdi
leaq 0x86cc3(%rip), %rsi     # 0x135506
movl %eax, %edx
xorl %eax, %eax
callq 0xe9226
leaq 0x26(%r13), %rsi
movq 0x18(%rbx), %rdi
callq 0xef32a
movq %rbx, %rdi
leaq 0x86cb5(%rip), %rsi     # 0x135518
movl %eax, %edx
xorl %eax, %eax
callq 0xe9226
leaq 0x2a(%r13), %rsi
movq 0x18(%rbx), %rdi
callq 0xef169
movq %rax, %r14
leaq 0x2c(%r13), %rsi
movq 0x18(%rbx), %rdi
callq 0xef169
movq %r15, 0x30(%rsp)
leaq 0x2e(%r13), %r15
movq %rbx, %rdi
leaq 0x86c89(%rip), %rsi     # 0x135525
movl %r14d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %rdi
movq %r15, %rsi
callq 0xef32a
movq %rbx, %rdi
leaq 0x86c75(%rip), %rsi     # 0x135533
movl %eax, %edx
xorl %eax, %eax
callq 0xe9226
leaq 0x32(%r13), %rsi
movq 0x18(%rbx), %rdi
callq 0xef169
movq %rax, %r14
leaq 0x34(%r13), %rsi
movq 0x18(%rbx), %rdi
callq 0xef169
leaq 0x36(%r13), %r15
movq %rbx, %rdi
leaq 0x86c53(%rip), %rsi     # 0x135545
movl %r14d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %rdi
movq %r15, %rsi
movq 0x30(%rsp), %r15
callq 0xef169
movq %rax, (%r15)
leaq 0x38(%r13), %rsi
movq 0x18(%rbx), %rdi
callq 0xef169
movq %rax, 0x8(%r15)
movq (%r15), %rsi
movq %rbx, %rdi
movq %rax, %rdx
callq 0xe9b05
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0xf241d
testl %eax, %eax
je 0xaed00
movq 0x10(%r15), %rax
imulq (%r15), %rax
leaq 0x7(%rax), %rcx
addq $0xe, %rax
testq %rcx, %rcx
cmovnsq %rcx, %rax
leaq 0x3a(%r13), %r14
sarq $0x3, %rax
movq %rax, 0x18(%r15)
movq 0x20(%rsp), %rax
leaq -0x3a(%rax), %rbp
movq %rbx, %rdi
leaq 0x714fb(%rip), %rsi     # 0x11fe79
movl %r14d, %edx
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movq %r15, %rax
movq 0x18(%rbx), %r15
movq 0x8(%rax), %rsi
imulq 0x18(%rax), %rsi
cmpl $0x0, 0x38(%rsp)
je 0xaebfb
movq %r13, 0x38(%rsp)
movq %rbx, %rdi
movl $0x1, %edx
callq 0xf0faf
movq %rbp, %rcx
movq %rax, %rbp
movq %rcx, 0x40(%rsp)
testq %rcx, %rcx
jle 0xaea38
movq 0x20(%rsp), %rax
movq 0x38(%rsp), %rcx
leaq (%rax,%rcx), %rbx
leaq 0x1(%r14), %r12
movq %r15, %rdi
movq %r14, %rsi
callq 0xef0d5
movzbl %al, %r13d
cmpb $-0x7f, %al
jb 0xaea1a
addq $-0x7f, %r13
addq $0x2, %r14
movq %r15, %rdi
movq %r12, %rsi
callq 0xef0d5
movzbl %al, %esi
movq %rbp, %rdi
movq %r13, %rdx
callq 0xf14bd
jmp 0xaea33
leaq 0x1(%r13), %rdx
movq %r15, %rdi
movq %r12, %rsi
movq %rbp, %rcx
callq 0xefabc
leaq (%r12,%r13), %r14
incq %r14
cmpq %rbx, %r14
jl 0xae9e0
movl 0x18(%rbp), %ecx
movq 0x18(%rsp), %rbx
movq %rbx, %rdi
leaq 0x6299c(%rip), %rsi     # 0x1113e6
movq 0x40(%rsp), %rdx
xorl %eax, %eax
callq 0xe9226
movq 0x10(%rsp), %r12
movq 0x38(%rsp), %r13
jmp 0xaec22
cmpl $0x74414953, %eax       # imm = 0x74414953
je 0xaea7a
cmpl $0x74535452, %eax       # imm = 0x74535452
je 0xaea7a
cmpl $0x74766572, %eax       # imm = 0x74766572
jne 0xaea9a
xorl %r13d, %r13d
movq 0x18(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq %r14, %rcx
movq %rbp, %r8
xorl %r9d, %r9d
callq 0xaf58a
movq 0x28(%rsp), %r15
testb %bl, %bl
je 0xaeab7
movq %r12, %rdi
leaq 0x86983(%rip), %rsi     # 0x135430
movl $0x5, %edx
callq 0xf6a40
movl %r13d, (%rsp)
movq 0x18(%rsp), %rbx
movq %rbx, %rdi
movq 0x20(%rsp), %rsi
movq %r14, %rdx
xorl %ecx, %ecx
movq %r12, %r8
xorl %r9d, %r9d
callq 0xaf688
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
movq %r12, %rdi
callq 0xf6bb0
movq 0x10(%rsp), %r12
jmp 0xaed6c
cmpq $0x0, 0x20(%rsp)
jle 0xaed2e
movq %rbx, %rdi
callq 0xf6870
movq %rax, %r14
movq 0x18(%rbx), %rdi
movq %r13, %rsi
movq 0x20(%rsp), %rdx
movq %rax, %rcx
movl $0x1, %r8d
movl $0x13, %r9d
callq 0xf01b0
movq %rbx, %rdi
leaq 0x698c3(%rip), %rsi     # 0x1183fb
xorl %edx, %edx
movl $0x1, %ecx
callq 0xf037a
movq %rax, %r15
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
movl $0x1, %ecx
callq 0xf71f7
movq %r15, %rdi
callq 0xf0b13
movq %r14, %rdi
callq 0xf6bb0
jmp 0xaed2e
movq %r12, %rdi
leaq 0x86a5c(%rip), %rsi     # 0x1355d5
movl $0x5, %edx
callq 0xf6a40
movl $0x1, %r13d
xorl %ebx, %ebx
jmp 0xaea9a
movq 0x10(%rsp), %rax
cmpq $0x0, 0xc0(%rax)
movq 0x28(%rsp), %r15
je 0xaebda
movq 0x18(%rsp), %rax
cmpb $0x0, 0xd0(%rax)
je 0xaebda
movq %r12, %rdi
leaq 0x8c9fa(%rip), %rsi     # 0x13b5b6
movl $0x5, %edx
callq 0xf6a40
movq 0x10(%rsp), %rax
movq 0xc0(%rax), %rsi
movq %r12, %rdi
callq 0xf6969
movq %r12, %rdi
leaq 0x869f1(%rip), %rsi     # 0x1355d5
movl $0x5, %edx
callq 0xf6a40
movl $0x1, %r13d
xorl %ebx, %ebx
jmp 0xaea9f
cmpq %rbp, %rsi
jle 0xaec11
movq %rbx, %rdi
leaq 0x86382(%rip), %rsi     # 0x134f8c
xorl %eax, %eax
callq 0xe9b27
movq %r15, %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0xf1988
movq %rax, %rbp
movq 0x30(%rsp), %r15
movq 0x10(%r15), %rax
cmpq $0x4, %rax
je 0xaec6d
cmpq $0x2, %rax
je 0xaec6d
cmpq $0x1, %rax
jne 0xaec68
movq (%r15), %rdx
movq 0x8(%r15), %rcx
movq 0x18(%r15), %r8
movq 0x20(%r15), %rax
movl 0x28(%r15), %esi
movl %esi, 0x8(%rsp)
movq %rax, (%rsp)
movq %rbp, %rdi
xorl %esi, %esi
movl $0x1, %r9d
callq 0xf30d9
xorl %r14d, %r14d
jmp 0xaece3
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
movl $0x1, %ecx
callq 0xf2cab
movq %rax, %r14
movb 0x10(%r15), %cl
movl $0x1, %esi
shlq %cl, %rsi
leaq 0x100(%rsp), %r15
movq %r15, %rdi
movl $0x1, %edx
callq 0xf41f4
movq 0x30(%rsp), %rax
movq 0x10(%rax), %rdx
movq 0x30(%rsp), %rax
movq 0x18(%rax), %rcx
movl $0x0, (%rsp)
movq %rbp, %rdi
xorl %esi, %esi
movq %r15, %r8
movq 0x30(%rsp), %r15
movq %r14, %r9
callq 0xf35b8
movq 0x20(%r15), %rsi
movl 0x28(%r15), %edx
movq %r14, %rdi
callq 0xf2917
movq %r14, %rdi
callq 0xf28d4
movq %rbp, %rdi
callq 0xf0b13
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
movq 0x48(%rsp), %rdi
callq 0xf6bb0
movq 0x20(%r15), %rsi
movq %rbx, %rdi
callq 0xea9b3
movq %rbx, %rdi
movq %r15, %rsi
callq 0xe9752
movl $0x0, (%rsp)
movq %rbx, %rdi
movq %r13, %rsi
movq 0x20(%rsp), %rdx
leaq 0x60(%rsp), %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0xaf688
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
movq 0x58(%rsp), %rdi
callq 0xf6bb0
movq 0x28(%rsp), %r15
incq %r15
cmpq 0xa0(%r12), %r15
jl 0xae24d
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
movq 0x90(%r12), %rdx
testq %rdx, %rdx
je 0xaf09a
leaq 0x867b3(%rip), %rsi     # 0x135555
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movq 0x98(%r12), %r14
testq %r14, %r14
jne 0xaee0e
cmpq $0x0, 0xa0(%r12)
jle 0xaee06
movq 0xa8(%r12), %rax
movl (%rax), %r14d
jmp 0xaee0e
leaq 0x86516(%rip), %rsi     # 0x1352fb
movq %rbx, %rdi
movl %r15d, %edx
jmp 0xaedfa
leaq 0x86537(%rip), %rsi     # 0x13532b
movq %rbx, %rdi
movl %r15d, %edx
xorl %eax, %eax
callq 0xe9df7
jmp 0xaf134
movq 0x18(%rbx), %rax
movq 0x18(%rax), %r14
subq 0x90(%r12), %r14
leaq 0x8655f(%rip), %rsi     # 0x13537c
movq %rbx, %rdi
movl %r14d, %edx
xorl %eax, %eax
callq 0xe9226
testq %r14, %r14
jle 0xaf08d
movq 0x90(%r12), %rsi
movl $0x0, (%rsp)
leaq 0x86721(%rip), %rcx     # 0x13556a
movq %rbx, %rdi
movq %r14, %rdx
xorl %r8d, %r8d
movl $0x1, %r9d
callq 0xaf688
cmpl $0x1, 0x4(%r12)
jne 0xaf08d
movq 0x90(%r12), %rax
leaq 0x60(%rsp), %rsi
movq %rax, (%rsi)
movq 0x18(%rbx), %rdi
callq 0xef34e
cmpl $0x6c6e6368, %eax       # imm = 0x6C6E6368
jne 0xaf08d
leaq 0x866e2(%rip), %rsi     # 0x135576
movq %rbx, %rdi
movl $0x6c6e6368, %edx       # imm = 0x6C6E6368
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %rdi
leaq 0x60(%rsp), %r15
movq %r15, %rsi
callq 0xef193
leaq 0x866cb(%rip), %rsi     # 0x135586
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %rdi
movq %r15, %rsi
callq 0xef193
leaq 0x866bf(%rip), %rsi     # 0x135599
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
callq 0xf6870
movq %rax, %r12
movq 0x18(%rbx), %rdi
movq %r15, %rsi
callq 0xef193
movq %rax, %r14
movq 0x18(%rbx), %rdi
movq (%r15), %rsi
addq %rax, %r14
movl $0x13, %ebx
movl %ebx, (%rsp)
movl $0x1, %ebp
movl $0x1f4, %ecx            # imm = 0x1F4
movq %r14, %rdx
movq %r12, %r8
movl $0x1, %r9d
callq 0xf0203
movq %r12, %rdi
callq 0xf74bd
leaq 0x86670(%rip), %rsi     # 0x1355ac
movq 0x18(%rsp), %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
movq %r12, %rdi
callq 0xf6883
addq %r14, (%r15)
movq 0x18(%rsp), %rax
movq 0x18(%rax), %rdi
movq %r15, %rsi
callq 0xef193
movq %rax, %r14
movq 0x18(%rsp), %rax
movq 0x18(%rax), %rdi
movq (%r15), %rsi
addq %r14, %r14
movl %ebx, (%rsp)
movq 0x18(%rsp), %rbx
movl $0x1f4, %ecx            # imm = 0x1F4
movq %r14, %rdx
movq %r12, %r8
movl $0x1, %r9d
callq 0xf0203
movq %r12, %rdi
callq 0xf74bd
leaq 0x86613(%rip), %rsi     # 0x1355b9
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
movq %r12, %rdi
callq 0xf6883
addq %r14, (%r15)
leaq 0x75de5(%rip), %rsi     # 0x124daa
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movq 0x18(%rbx), %rdi
movq %r15, %rsi
callq 0xef193
movq %rax, %r14
movq (%r15), %rsi
addq %rax, %r14
movl %ebp, (%rsp)
leaq 0x865d6(%rip), %rcx     # 0x1355d1
movq %rbx, %rdi
movq %r14, %rdx
xorl %r8d, %r8d
movl $0x1, %r9d
callq 0xaf688
addq %r14, (%r15)
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
leaq 0x865a2(%rip), %rsi     # 0x1355c8
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movq 0x18(%rbx), %rdi
movq %r15, %rsi
callq 0xef193
movq %rax, %r14
movq (%r15), %rsi
addq %rax, %r14
movl %ebp, (%rsp)
leaq 0x86573(%rip), %rcx     # 0x1355cf
movq %rbx, %rdi
movq %r14, %rdx
xorl %r8d, %r8d
movl $0x1, %r9d
callq 0xaf688
addq %r14, (%r15)
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
movq %r12, %rdi
movq 0x10(%rsp), %r12
callq 0xf6bb0
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
movq 0x98(%r12), %rdx
testq %rdx, %rdx
je 0xaf141
leaq 0x86529(%rip), %rsi     # 0x1355db
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
cmpq $0x0, 0xa0(%r12)
jle 0xaf0e1
movq 0xa8(%r12), %rax
movl (%rax), %r14d
jmp 0xaf0e9
movq 0x18(%rbx), %rax
movq 0x18(%rax), %r14
subq 0x98(%r12), %r14
leaq 0x86284(%rip), %rsi     # 0x13537c
movq %rbx, %rdi
movl %r14d, %edx
xorl %eax, %eax
callq 0xe9226
testq %r14, %r14
jle 0xaf134
movq 0x98(%r12), %rsi
movl $0x0, (%rsp)
leaq 0x864d1(%rip), %rcx     # 0x1355f1
movq %rbx, %rdi
movq %r14, %rdx
xorl %r8d, %r8d
movl $0x1, %r9d
callq 0xaf688
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
testq %r12, %r12
je 0xaf17e
movq 0xa8(%r12), %rsi
movq %rbx, %rdi
callq 0xe9752
movq 0xb0(%r12), %rsi
movq %rbx, %rdi
callq 0xe9752
movq 0xc0(%r12), %rdi
callq 0xf6bb0
movq %rbx, %rdi
movq %r12, %rsi
callq 0xe9752
addq $0x148, %rsp            # imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq