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

	d = de_malloc(c, sizeof(lctx));
	if(de_get_ext_option(c, "palm:le")) {
		d->is_le = 1;
	}
	if(de_get_ext_option(c, "palm:nocolortable")) {
		// Enables a hack, for files that apparently set the hasColorTable flag
		// incorrectly
		d->ignore_color_table_flag = 1;
	}
	do_palm_BitmapType(c, d, 0, c->infile->len);
	de_free(c, d);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x538, %rsp            # imm = 0x538
movq %rdi, %rbx
movl $0x8, %esi
callq 0xe969b
movq %rax, %r13
leaq 0x88478(%rip), %rsi     # 0x134afb
movq %rbx, %rdi
callq 0xea6cb
testq %rax, %rax
je 0xac698
movl $0x1, (%r13)
leaq 0x88464(%rip), %rsi     # 0x134b03
movq %rbx, %rdi
callq 0xea6cb
testq %rax, %rax
je 0xac6b4
movl $0x1, 0x4(%r13)
movq 0x18(%rbx), %rax
movq 0x18(%rax), %rax
movq %rax, 0x60(%rsp)
addq $-0x10, %rax
movq %rax, 0xd8(%rsp)
leaq 0xc(%rsp), %r14
leaq 0xe0(%rsp), %r12
xorl %ebp, %ebp
movq 0x18(%rbx), %rdi
leaq 0x8(%rbp), %rsi
callq 0xef0d5
movq %r13, %r15
cmpb $-0x1, %al
jne 0xac707
movq %rbx, %rdi
leaq 0x8841b(%rip), %rsi     # 0x134b15
movl %ebp, %edx
xorl %eax, %eax
callq 0xe9226
addq $0x10, %rbp
cmpq 0xd8(%rsp), %rbp
jg 0xada77
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe958c
movl $0x450, %esi            # imm = 0x450
movq %rbx, %rdi
callq 0xe969b
movq %rax, %r13
movq %rbx, %rdi
leaq 0x8841a(%rip), %rsi     # 0x134b54
movq %rbp, %rdx
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movq %rbx, %rdi
leaq 0x84e40(%rip), %rsi     # 0x13159b
movq %rbp, %rdx
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movq 0x18(%rbx), %rdi
leaq 0x9(%rbp), %rsi
callq 0xef0d5
movb %al, 0x2c(%r13)
movzbl %al, %edx
movq %rbx, %rdi
leaq 0x883e2(%rip), %rsi     # 0x134b72
xorl %eax, %eax
callq 0xe9226
movzbl 0x2c(%r13), %edx
cmpl $0x4, %edx
movq %rbp, 0x20(%rsp)
jb 0xac7cb
movq %rbx, %rdi
leaq 0x883b6(%rip), %rsi     # 0x134b66
xorl %eax, %eax
callq 0xe9df7
movq $0x0, 0x50(%rsp)
movq %r13, %rbp
movq %r15, %r13
jmp 0xacdcf
movq 0x18(%rbx), %rdi
movl (%r15), %edx
movq %rbp, %rsi
callq 0xef5b7
movq %rax, (%r13)
movq 0x18(%rbx), %rdi
leaq 0x2(%rbp), %rsi
movl (%r15), %edx
callq 0xef5b7
movq %rax, 0x8(%r13)
movq (%r13), %rsi
movq %rbx, %rdi
movq %rax, %rdx
callq 0xe9b05
movq 0x18(%rbx), %rdi
leaq 0x4(%rbp), %rsi
movl (%r15), %edx
callq 0xef570
movq %r13, 0x28(%rsp)
movq %rax, 0x18(%r13)
movq %r15, %r13
movq %rbx, %rdi
leaq 0x8835e(%rip), %rsi     # 0x134b85
movl %eax, %edx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %rdi
leaq 0x6(%rbp), %rsi
movl (%r15), %edx
callq 0xef570
movq %rax, %r15
movq %rbx, %rdi
callq 0xf6870
movq %rax, %r14
testw %r15w, %r15w
jns 0xac863
movq %r14, %rdi
leaq 0x76073(%rip), %rsi     # 0x1228d1
callq 0xf7566
btl $0xe, %r15d
jae 0xac879
movq %r14, %rdi
leaq 0x8831e(%rip), %rsi     # 0x134b92
callq 0xf7566
btl $0xd, %r15d
movq 0x28(%rsp), %rbp
jae 0xac894
movq %r14, %rdi
leaq 0x88311(%rip), %rsi     # 0x134ba0
callq 0xf7566
btl $0xa, %r15d
jae 0xac8aa
movq %r14, %rdi
leaq 0x8830b(%rip), %rsi     # 0x134bb0
callq 0xf7566
testl %r15d, %r15d
jne 0xac8be
movq %r14, %rdi
leaq 0x63e6c(%rip), %rsi     # 0x110725
callq 0xf7566
movq %r14, %rdi
callq 0xf74bd
movq %rbx, %rdi
leaq 0x882ec(%rip), %rsi     # 0x134bbc
movl %r15d, %edx
movq %rax, %rcx
xorl %eax, %eax
callq 0xe9226
movq %r14, %rdi
callq 0xf6bb0
btl $0xe, %r15d
jae 0xac8ff
cmpl $0x0, 0x4(%r13)
leal -0x4000(%r15), %eax
cmovel %r15d, %eax
movl %eax, %r15d
movq 0x20(%rsp), %rax
btl $0xe, %r15d
jae 0xac929
cmpb $0x0, 0x2c(%rbp)
jne 0xac929
movq %rbx, %rdi
leaq 0x882bb(%rip), %rsi     # 0x134bd6
xorl %edx, %edx
xorl %eax, %eax
callq 0xe9b27
movq 0x20(%rsp), %rax
cmpb $0x0, 0x2c(%rbp)
movq %r15, 0x10(%rsp)
je 0xac990
movq 0x18(%rbx), %rdi
leaq 0x8(%rax), %rsi
callq 0xef0d5
movl %eax, %r14d
movzbl %al, %r15d
movq %rbx, %rdi
leaq 0x882b5(%rip), %rsi     # 0x134c07
movl %r15d, %edx
xorl %eax, %eax
callq 0xe9226
movzbl 0x2c(%rbp), %edx
cmpl $0x2, %edx
setae %al
cmpb $0x8, %r15b
setne %cl
orb %al, %cl
jne 0xac987
movq %rbx, %rdi
leaq 0x882b3(%rip), %rsi     # 0x134c2e
movl $0x8, %ecx
xorl %eax, %eax
callq 0xe9b27
leaq 0x88287(%rip), %rcx     # 0x134c15
jmp 0xac99a
xorl %r14d, %r14d
leaq 0x98236(%rip), %rcx     # 0x144bd0
movzbl %r14b, %eax
cmpb $0x2, %al
movl %eax, %edx
movl $0x1, %esi
cmovbl %esi, %edx
testb %al, %al
movzbl %dl, %edx
leaq 0x7fb0a(%rip), %rax     # 0x12c4c0
cmoveq %rax, %rcx
movq %rdx, 0x10(%rbp)
movq %rbx, %rdi
leaq 0x88296(%rip), %rsi     # 0x134c5e
xorl %eax, %eax
callq 0xe9226
movb 0x2c(%rbp), %al
decb %al
cmpb $0x1, %al
ja 0xaca1f
movq 0x18(%rbx), %rdi
movq 0x20(%rsp), %rbp
leaq 0xa(%rbp), %rsi
movl (%r13), %edx
callq 0xef570
movq %rax, %r14
leaq (,%rax,4), %r15
testq %rax, %rax
je 0xaca24
leal (%r15,%rbp), %r9d
movl $0x50, %esi
movq %r12, %rdi
leaq 0x88261(%rip), %rdx     # 0x134c72
movl %ebp, %ecx
movl %r14d, %r8d
xorl %eax, %eax
callq 0xe8d67
jmp 0xaca3a
xorl %r15d, %r15d
jmp 0xaca56
movl $0x50, %esi
movq %r12, %rdi
leaq 0x63cf2(%rip), %rdx     # 0x110725
xorl %eax, %eax
callq 0xe8d67
movq %rbx, %rdi
leaq 0x8823e(%rip), %rsi     # 0x134c82
movl %r14d, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0xe9226
movq 0x28(%rsp), %rbp
movl $0x10, %eax
movq %rax, 0x18(%rsp)
cmpb $0x3, 0x2c(%rbp)
jb 0xaca91
movq 0x18(%rbx), %rdi
movq 0x20(%rsp), %rax
leaq 0xa(%rax), %rsi
callq 0xef0d5
movzbl %al, %edx
movq %rbx, %rdi
leaq 0x7acb1(%rip), %rsi     # 0x127736
movq %rdx, 0x18(%rsp)
xorl %eax, %eax
callq 0xe9226
xorl %r12d, %r12d
cmpb $0x3, 0x2c(%rbp)
movq 0x20(%rsp), %rax
jne 0xacac9
movq 0x18(%rbx), %rdi
leaq 0xb(%rax), %rsi
callq 0xef0d5
movzbl %al, %r12d
movq %rbx, %rdi
leaq 0x6bcfd(%rip), %rsi     # 0x1187b7
movl %r12d, %edx
xorl %eax, %eax
callq 0xe9226
movq 0x20(%rsp), %rax
btl $0xd, 0x10(%rsp)
jae 0xacb07
cmpb $0x2, 0x2c(%rbp)
jne 0xacb07
movl $0x1, 0x20(%rbp)
movq 0x18(%rbx), %rdi
leaq 0xc(%rax), %rsi
callq 0xef0d5
movzbl %al, %edx
movl %edx, 0x24(%rbp)
movq %rbx, %rdi
leaq 0x881a0(%rip), %rsi     # 0x134c9b
xorl %eax, %eax
callq 0xe9226
movq 0x20(%rsp), %rax
cmpw $0x0, 0x10(%rsp)
js 0xacb18
movl $0x1, 0x38(%rbp)
jmp 0xacb72
cmpb $0x2, 0x2c(%rbp)
jb 0xacb6b
movq 0x18(%rbx), %rdi
leaq 0xd(%rax), %rsi
callq 0xef0d5
movzbl %al, %edx
movl %edx, 0x34(%rbp)
movq %rbx, %rdi
leaq 0x88195(%rip), %rsi     # 0x134cd0
xorl %eax, %eax
callq 0xe9226
movl 0x34(%rbp), %eax
cmpl $0x2, %eax
je 0xacd84
cmpl $0x1, %eax
je 0xacd7b
testl %eax, %eax
jne 0xacd94
movl $0x2, 0x38(%rbp)
jmp 0xacd9b
movl $0x2, 0x38(%rbp)
leaq 0x861a2(%rip), %rcx     # 0x132d1b
movl 0x38(%rbp), %eax
decl %eax
leaq 0x7f2e4(%rip), %rdx     # 0x12be69
cmpl $0x4, %eax
ja 0xacb9a
movl %eax, %eax
leaq 0x87f39(%rip), %rsi     # 0x134acc
movslq (%rsi,%rax,4), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
leaq 0x88176(%rip), %rsi     # 0x134d1a
xorl %eax, %eax
callq 0xe9226
cmpb $0x3, 0x2c(%rbp)
jne 0xacbda
movq 0x18(%rbx), %rdi
movq 0x20(%rsp), %rax
leaq 0xe(%rax), %rsi
movl (%r13), %edx
callq 0xef570
movq %rbx, %rdi
leaq 0x8816c(%rip), %rsi     # 0x134d3d
movl %eax, %edx
xorl %eax, %eax
callq 0xe9226
cmpb $0x3, 0x2c(%rbp)
movq 0x18(%rsp), %rax
jne 0xacc2a
btl $0xd, 0x10(%rsp)
jae 0xacc2a
cmpl $0x14, %eax
jb 0xacc2a
movl $0x1, 0x20(%rbp)
movq 0x18(%rbx), %rdi
movq 0x20(%rsp), %rax
leaq 0x10(%rax), %rsi
movl (%r13), %edx
callq 0xef614
movl %eax, 0x24(%rbp)
movq %rbx, %rdi
leaq 0x8812d(%rip), %rsi     # 0x134d49
movl %eax, %edx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rsp), %rax
cmpl $0x18, %eax
jb 0xaccc4
cmpb $0x3, 0x2c(%rbp)
jne 0xaccc4
movq 0x18(%rbx), %rdi
movq 0x20(%rsp), %rbp
leaq 0x14(%rbp), %rsi
movq %r13, %r14
movl (%r13), %edx
callq 0xef614
movq %rax, %r15
testq %rax, %rax
je 0xacc87
leal (%r15,%rbp), %r9d
movl $0x50, %esi
leaq 0xe0(%rsp), %r13
movq %r13, %rdi
leaq 0x880ea(%rip), %rdx     # 0x134d63
movl %ebp, %ecx
movl %r15d, %r8d
xorl %eax, %eax
callq 0xe8d67
jmp 0xacca5
movl $0x50, %esi
leaq 0xe0(%rsp), %r13
movq %r13, %rdi
leaq 0x63a87(%rip), %rdx     # 0x110725
xorl %eax, %eax
callq 0xe8d67
movq %rbx, %rdi
leaq 0x880c1(%rip), %rsi     # 0x134d70
movl %r15d, %edx
movq %r13, %rcx
xorl %eax, %eax
callq 0xe9226
movq 0x28(%rsp), %rbp
movq %r14, %r13
movq (%rbp), %rsi
movq 0x18(%rbp), %rdx
movq 0x10(%rbp), %rcx
imulq %rsi, %rcx
leaq 0x7(%rcx), %rax
addq $0xe, %rcx
testq %rax, %rax
cmovnsq %rax, %rcx
sarq $0x3, %rcx
cmpq %rcx, %rdx
movq %r15, 0x50(%rsp)
jge 0xacd07
movq %rbx, %rdi
leaq 0x8808f(%rip), %rsi     # 0x134d8a
xorl %eax, %eax
callq 0xe9df7
jmp 0xacdc2
movq 0x8(%rbp), %rdx
movq %rbx, %rdi
callq 0xf241d
testl %eax, %eax
je 0xacdc2
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
btl $0xa, 0x10(%rsp)
jae 0xacd51
movl $0x1, 0x28(%rbp)
movzbl 0x2c(%rbp), %edx
cmpl $0x1, %edx
ja 0xacd51
movq %rbx, %rdi
leaq 0x8808b(%rip), %rsi     # 0x134dd5
xorl %eax, %eax
callq 0xe9b27
movb 0x2c(%rbp), %al
cmpb $0x3, %al
jb 0xace23
cmpl $0x1, %r12d
ja 0xacdae
testb $0x1, %r12b
je 0xacda7
cmpq $0x10, 0x10(%rbp)
jne 0xacdae
movl $0x1, 0x28(%rbp)
jmp 0xace23
movl $0x3, 0x38(%rbp)
jmp 0xacd9b
cmpq $0x10, 0x10(%rbp)
jne 0xace06
movl $0x5, 0x38(%rbp)
jmp 0xace0d
movl $0x0, 0x38(%rbp)
leaq 0x87f0f(%rip), %rcx     # 0x134cb1
jmp 0xacb79
cmpq $0x8, 0x10(%rbp)
jle 0xace19
movq %rbx, %rdi
leaq 0x8804a(%rip), %rsi     # 0x134e02
movl %r12d, %edx
xorl %eax, %eax
callq 0xe9df7
leaq 0xc(%rsp), %r14
leaq 0xe0(%rsp), %r12
movl 0xc(%rsp), %esi
movq %rbx, %rdi
callq 0xe9595
testq %rbp, %rbp
je 0xacdeb
movq %rbx, %rdi
movq %rbp, %rsi
callq 0xe9752
movq 0x20(%rsp), %rbp
movq 0x50(%rsp), %rax
addq %rax, %rbp
testq %rax, %rax
jg 0xac6dc
jmp 0xada8b
movl $0x4, 0x38(%rbp)
leaq 0x87edb(%rip), %rcx     # 0x134cef
jmp 0xacb79
cmpl $0x1, %r12d
je 0xacd68
cmpb $0x2, %al
jne 0xace50
testl $0x4400, 0x10(%rsp)     # imm = 0x4400
jne 0xace50
cmpq $0x10, 0x10(%rbp)
jne 0xace50
movl $0x1, 0x28(%rbp)
movq %rbx, %rdi
leaq 0x87fe5(%rip), %rsi     # 0x134e2e
xorl %eax, %eax
callq 0xe9b27
movq 0x10(%rbp), %rdx
cmpq $0x10, %rdx
leaq 0xc(%rsp), %r14
ja 0xacf5a
movl $0x10116, %eax          # imm = 0x10116
btq %rdx, %rax
jae 0xacf5a
xorl %eax, %eax
cmpq $0x10, %rdx
setne %al
xorl %ecx, %ecx
cmpq $0x9, %rdx
setge %cl
cmpl $0x0, 0x28(%rbp)
cmovel %ecx, %eax
cmpb $0x1, %al
jne 0xacea5
movq %rbx, %rdi
leaq 0x87fea(%rip), %rsi     # 0x134e83
xorl %eax, %eax
callq 0xe9df7
jmp 0xacdc7
movq 0x60(%rsp), %rsi
movq %rsi, %rax
movq 0x20(%rsp), %rcx
subq %rcx, %rax
movq 0x18(%rsp), %r12
cmpq %rax, %r12
jge 0xacdc7
movq %r12, %rdx
addq %rcx, %rdx
btl $0xe, 0x10(%rsp)
leaq 0xe0(%rsp), %r12
jae 0xad07b
movq %rbx, %rdi
leaq 0x72c41(%rip), %rsi     # 0x11fb28
movq %rdx, %r14
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movq 0x18(%rbx), %rdi
movl (%r13), %edx
movq %r14, %r15
movq %r14, %rsi
callq 0xef570
movq %rax, %r14
movq %rax, %r12
cmpq $0x101, %rax            # imm = 0x101
jl 0xacf3f
movl $0x100, %r12d           # imm = 0x100
cmpq $0x1000, %r14           # imm = 0x1000
je 0xacf3f
movq %rbx, %rdi
leaq 0x87f83(%rip), %rsi     # 0x134ebb
xorl %eax, %eax
callq 0xe9b27
movq %rbx, %rdi
cmpq %r14, %r12
jne 0xacf70
leaq 0x69a80(%rip), %rsi     # 0x1169ce
movl %r12d, %edx
xorl %eax, %eax
callq 0xe9226
jmp 0xacf84
movq %rbx, %rdi
leaq 0x66823(%rip), %rsi     # 0x113787
xorl %eax, %eax
callq 0xe9df7
jmp 0xacdc7
leaq 0x87f83(%rip), %rsi     # 0x134efa
movl %r14d, %edx
movl %r12d, %ecx
xorl %eax, %eax
callq 0xe9226
movq %r13, 0x40(%rsp)
testq %r12, %r12
jle 0xacf95
movl $0x1, 0x30(%rbp)
addq $0x2, %r15
movq %r15, 0x18(%rsp)
movq %r12, 0x30(%rsp)
testq %r12, %r12
leaq 0x130(%rsp), %rbp
jle 0xad037
movq 0x30(%rsp), %rax
leaq -0x1(%rax), %r13
movl $0xff, %eax
cmpq %rax, %r13
cmovaeq %rax, %r13
incq %r13
movq 0x18(%rsp), %r15
xorl %r14d, %r14d
movq 0x18(%rbx), %rdi
movq %r15, %rsi
callq 0xef0d5
movzbl %al, %r12d
movl $0x20, %esi
movq %rbp, %rdi
leaq 0x87f2f(%rip), %rdx     # 0x134f22
movl %r12d, %ecx
xorl %eax, %eax
callq 0xe8d67
movq 0x18(%rbx), %rdi
leaq 0x1(%r15), %rsi
xorl %edx, %edx
callq 0xefa60
movq 0x28(%rsp), %rcx
movl %eax, 0x50(%rcx,%r12,4)
movq %rbx, %rdi
movq %r14, %rsi
movl %eax, %edx
xorl %ecx, %ecx
movq %rbp, %r8
xorl %r9d, %r9d
callq 0xe9c1e
incq %r14
addq $0x4, %r15
cmpq %r14, %r13
jne 0xacfd4
movq 0x30(%rsp), %r14
shlq $0x2, %r14
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
movq 0x18(%rsp), %rdx
addq %r14, %rdx
movq 0x60(%rsp), %rsi
leaq 0xc(%rsp), %r14
leaq 0xe0(%rsp), %r12
movq 0x20(%rsp), %rcx
movq 0x28(%rsp), %rbp
movq 0x40(%rsp), %r13
movq 0x50(%rsp), %r15
btl $0xa, 0x10(%rsp)
jae 0xad1c0
cmpb $0x2, 0x2c(%rbp)
ja 0xad1c0
movq %rbx, %rdi
leaq 0x87e8f(%rip), %rsi     # 0x134f2a
movq %rdx, %r14
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xef0d5
movl %eax, %r12d
movq 0x18(%rbx), %rdi
leaq 0x1(%r14), %rsi
callq 0xef0d5
movl %eax, %r15d
movq 0x18(%rbx), %rdi
leaq 0x2(%r14), %rsi
callq 0xef0d5
movzbl %r12b, %edx
movzbl %r15b, %ecx
movzbl %al, %r8d
movq %rbx, %rdi
leaq 0x87e5b(%rip), %rsi     # 0x134f4f
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %rdi
leaq 0x4(%r14), %rsi
callq 0xef0d5
movb %al, 0x10(%rsp)
movq 0x18(%rbx), %rdi
leaq 0x5(%r14), %rsi
callq 0xef0d5
movl %eax, %r15d
movq 0x18(%rbx), %rdi
leaq 0x6(%r14), %rsi
callq 0xef0d5
movl %eax, %r12d
movq 0x18(%rbx), %rdi
movq %r14, 0x18(%rsp)
leaq 0x7(%r14), %rsi
callq 0xef0d5
movzbl %r15b, %r15d
movzbl %r12b, %r12d
movzbl %al, %r14d
movzbl 0x10(%rsp), %r9d
movq %rbx, %rdi
leaq 0x87e0e(%rip), %rsi     # 0x134f68
movl %r15d, %edx
movl %r12d, %ecx
movl %r14d, %r8d
xorl %eax, %eax
callq 0xe9226
cmpl $0x0, 0x20(%rbp)
je 0xad18e
shll $0x8, %r15d
andl $0xf800, %r15d          # imm = 0xF800
andl $-0x4, %r12d
leal (%r15,%r12,8), %eax
shrl $0x3, %r14d
orl %eax, %r14d
movl %r14d, 0x24(%rbp)
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
movq 0x18(%rsp), %rdx
addq $0x8, %rdx
leaq 0xc(%rsp), %r14
leaq 0xe0(%rsp), %r12
movq 0x20(%rsp), %rcx
movq 0x60(%rsp), %rsi
movq 0x50(%rsp), %r15
cmpq %rsi, %rdx
jge 0xad1d5
movq %rdx, 0x18(%rsp)
testq %r15, %r15
jle 0xad1eb
leaq (%r15,%rcx), %rax
jmp 0xad1f3
movq %rbx, %rdi
leaq 0x65b25(%rip), %rsi     # 0x112d04
xorl %eax, %eax
callq 0xe9df7
jmp 0xacdcf
movq 0x18(%rbx), %rax
movq 0x18(%rax), %rax
movq %rax, 0x40(%rbp)
movq %rbx, %rdi
leaq 0x72c78(%rip), %rsi     # 0x11fe79
movq 0x18(%rsp), %r14
movl %r14d, %edx
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movq 0x18(%rbx), %r15
movq 0x40(%rbp), %rcx
movq 0x8(%rbp), %rax
imulq 0x18(%rbp), %rax
subq %r14, %rcx
movq %rcx, %r14
movq %rax, 0x48(%rbp)
cmpl $0x1, 0x38(%rbp)
jne 0xad261
cmpq %r14, %rax
jle 0xad284
movq %rbx, %rdi
leaq 0x87d3f(%rip), %rsi     # 0x134f8c
xorl %eax, %eax
callq 0xe9df7
xorl %r15d, %r15d
leaq 0xc(%rsp), %r14
jmp 0xada5d
movq %rbx, 0x38(%rsp)
cmpb $0x3, 0x2c(%rbp)
movl (%r13), %edx
movq %r15, %rdi
jb 0xad29c
movq 0x18(%rsp), %rsi
callq 0xef614
movl $0x4, %ebx
jmp 0xad2ab
movq %r15, %rdi
movq 0x18(%rsp), %rsi
movq %r14, %rdx
callq 0xf1988
movq %rax, %r15
jmp 0xad6fc
movq 0x18(%rsp), %rsi
callq 0xef570
movl $0x2, %ebx
movq 0x38(%rsp), %r12
movq %r12, %rdi
leaq 0x87cec(%rip), %rsi     # 0x134fa6
movl %eax, %edx
xorl %eax, %eax
callq 0xe9226
subq %rbx, %r14
js 0xad4f5
addq 0x18(%rsp), %rbx
movq 0x48(%rbp), %rsi
movq %r12, %rdi
movl $0x1, %edx
callq 0xf0faf
movq %r14, 0x58(%rsp)
movq %rax, %r14
movq %r12, %rdi
leaq 0x68(%rsp), %rsi
leaq 0x88(%rsp), %rdx
leaq 0x130(%rsp), %rcx
callq 0xfa6e0
movq %r15, 0x68(%rsp)
movq %r14, %r15
movq %rbx, 0x70(%rsp)
movq 0x58(%rsp), %rax
movq %rax, 0x78(%rsp)
movq %r14, 0x88(%rsp)
movq 0x48(%rbp), %rax
movq %rax, 0x98(%rsp)
movb $0x1, 0x90(%rsp)
movl 0x38(%rbp), %eax
addl $-0x2, %eax
cmpl $0x3, %eax
ja 0xad61b
leaq 0x87730(%rip), %rcx     # 0x134a80
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
leaq 0xe0(%rsp), %r12
movq %r15, 0x30(%rsp)
jmpq *%rax
cmpq $0x0, 0x8(%rbp)
jle 0xad659
movq 0x18(%rbp), %rdx
leaq 0x7(%rdx), %rax
movq %rdx, 0xa0(%rsp)
addq $0xe, %rdx
testq %rax, %rax
cmovnsq %rax, %rdx
sarq $0x3, %rdx
cmpq $0x2, %rdx
movl $0x1, %eax
cmovlq %rax, %rdx
movq %rdx, 0xc0(%rsp)
xorl %r14d, %r14d
xorl %eax, %eax
movq %r13, 0x40(%rsp)
movq %rax, 0xb8(%rsp)
cmpq $0x0, 0xa0(%rsp)
setle %al
movq 0x98(%rsp), %rcx
movq %rcx, 0xa8(%rsp)
cmpq %rcx, %r14
setge %cl
orb %al, %cl
movq %r14, 0xb0(%rsp)
jne 0xad4b6
xorl %r15d, %r15d
xorl %eax, %eax
movq %rax, 0x10(%rsp)
movq 0x68(%rsp), %rdi
leaq 0x1(%rbx), %rax
movq %rax, 0x18(%rsp)
movq %rbx, %rsi
callq 0xef0d5
movzbl %al, %r13d
leaq 0x8(%r14), %rax
movq %rax, 0xc8(%rsp)
leaq 0x8(%r15), %rax
movq %rax, 0xd0(%rsp)
movl $0x7, %ebp
movq 0x18(%rsp), %rbx
movq 0x28(%rsp), %rax
movq 0x18(%rax), %rax
cmpq %rax, %r15
jge 0xad4a0
btl %ebp, %r13d
jae 0xad461
movq 0x68(%rsp), %rdi
leaq 0x1(%rbx), %r12
movq %rbx, %rsi
callq 0xef0d5
movq %r12, %rbx
leaq 0xe0(%rsp), %r12
jmp 0xad475
movq 0x88(%rsp), %rdi
movq 0x18(%rdi), %rsi
subq %rax, %rsi
callq 0xef0d5
movq 0x88(%rsp), %rdi
movzbl %al, %esi
callq 0xf11be
incq %r15
incq %r14
addl $-0x1, %ebp
jb 0xad42f
movq 0xc8(%rsp), %r14
movq 0xd0(%rsp), %r15
movq 0x10(%rsp), %rax
incq %rax
cmpq 0xc0(%rsp), %rax
jne 0xad3ee
movq 0xa8(%rsp), %rax
cmpq %rax, 0xb0(%rsp)
movq 0x30(%rsp), %r15
movq 0xb8(%rsp), %rax
jge 0xad64f
incq %rax
movq 0x28(%rsp), %rbp
cmpq 0x8(%rbp), %rax
movq 0x40(%rsp), %r13
jl 0xad3af
jmp 0xad659
movq $0x0, 0x10(%rsp)
xorl %r15d, %r15d
movq %r12, %rbx
jmp 0xad63d
movq %r15, %rdi
callq 0xf0e3f
movq 0x38(%rsp), %rbx
movq %rbx, %rdi
leaq 0x68(%rsp), %rsi
leaq 0x88(%rsp), %rdx
leaq 0x130(%rsp), %rcx
xorl %r8d, %r8d
jmp 0xad565
movl $0x2, 0x48(%rsp)
movq %r15, %rdi
callq 0xf0e3f
movq 0x38(%rsp), %rbx
movq %rbx, %rdi
leaq 0x68(%rsp), %rsi
leaq 0x88(%rsp), %rdx
leaq 0x130(%rsp), %rcx
leaq 0x48(%rsp), %r8
callq 0xfacff
jmp 0xad673
movq %r15, %rdi
callq 0xf0e3f
movq 0x70(%rsp), %rax
movq %rax, 0x48(%rsp)
xorl %r15d, %r15d
leaq 0x48(%rsp), %rbx
movq 0x70(%rsp), %rax
movq 0x78(%rsp), %rcx
addq %rcx, %rax
addq $-0x2, %rax
cmpq %rax, 0x48(%rsp)
jg 0xad5ed
movq 0x98(%rsp), %r12
movq %r15, %r14
cmpq %r12, %r15
jg 0xad5e5
movq 0x68(%rsp), %rdi
movq %rbx, %rsi
callq 0xef14d
movzbl %al, %r14d
movq 0x68(%rsp), %rdi
movq %rbx, %rsi
callq 0xef14d
movq 0x88(%rsp), %rdi
movzbl %al, %esi
movq %r14, %rdx
callq 0xf14bd
addq %r15, %r14
cmpq %r12, %r15
movq %r14, %r15
jle 0xad589
movq 0x48(%rsp), %rax
subq 0x70(%rsp), %rax
movq %rax, 0x138(%rsp)
movb $0x1, 0x134(%rsp)
movq 0x38(%rsp), %rbx
leaq 0xe0(%rsp), %r12
movq 0x30(%rsp), %r15
jmp 0xad673
movl 0x34(%rbp), %edx
movq $0x0, 0x10(%rsp)
movq 0x38(%rsp), %rbx
movq %rbx, %rdi
leaq 0x6a48d(%rip), %rsi     # 0x117ac3
xorl %eax, %eax
callq 0xe9df7
leaq 0xc(%rsp), %r14
leaq 0xe0(%rsp), %r12
jmp 0xad6f1
movq 0x40(%rsp), %r13
movq 0x28(%rsp), %rbp
subq 0x70(%rsp), %rbx
movq %rbx, 0x138(%rsp)
movb $0x1, 0x134(%rsp)
movq 0x38(%rsp), %rbx
movq %r15, %rdi
callq 0xf0ea4
cmpl $0x0, 0x130(%rsp)
leaq 0xc(%rsp), %r14
je 0xad6b9
movq %rbx, %rdi
leaq 0x130(%rsp), %rsi
callq 0xfa6a8
movq $0x0, 0x10(%rsp)
movq %rbx, %rdi
leaq 0x67602(%rip), %rsi     # 0x114caf
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9df7
jmp 0xad6f1
cmpb $0x0, 0x134(%rsp)
je 0xad6d0
movq 0x138(%rsp), %rax
movq %rax, 0x58(%rsp)
movq 0x18(%r15), %rcx
movq %rbx, %rdi
leaq 0x6cfad(%rip), %rsi     # 0x11a68b
movq 0x58(%rsp), %rdx
xorl %eax, %eax
callq 0xe9226
movb $0x1, %al
movq %rax, 0x10(%rsp)
cmpb $0x0, 0x10(%rsp)
je 0xada5d
movq %r13, %r14
movl $0x400, %edx            # imm = 0x400
leaq 0x130(%rsp), %rdi
xorl %esi, %esi
callq 0x18140
movq 0x10(%rbp), %rcx
movb $0x1, %bpl
cmpq $0x4, %rcx
jg 0xad72d
movq 0x28(%rsp), %rax
cmpl $0x0, 0x30(%rax)
setne %bpl
cmpq $0x1, %rcx
setne %al
orb %bpl, %al
testb $0x1, %al
je 0xad831
movq 0x28(%rsp), %r13
movq 0x18(%r13), %rax
shlq $0x3, %rax
cqto
idivq %rcx
movq (%r13), %rsi
movq 0x8(%r13), %rcx
cmpq %rsi, %rax
cmovleq %rsi, %rax
movzbl %bpl, %edi
xorl %edx, %edx
cmpl $0x0, 0x20(%r13)
setne %dl
leal 0x1(%rdx,%rdi,2), %r8d
movq %rbx, %rdi
movq %rax, 0x18(%rsp)
movq %rax, %rdx
callq 0xf2ce6
movq 0x10(%r13), %rcx
cmpq $0x10, %rcx
movq %r14, 0x40(%rsp)
movq %r15, 0x30(%rsp)
movq %rax, 0x10(%rsp)
jne 0xad869
cmpq $0x0, 0x8(%r13)
movq %r13, %rbp
jle 0xada27
xorl %r12d, %r12d
cmpq $0x0, 0x18(%rsp)
jle 0xad823
xorl %r13d, %r13d
xorl %r15d, %r15d
movq 0x18(%rbp), %rsi
imulq %r12, %rsi
addq %r13, %rsi
movq 0x30(%rsp), %rdi
callq 0xef169
movq %rax, %r14
movl %r14d, %edi
callq 0xece9d
movq 0x10(%rsp), %rdi
movq %r15, %rsi
movq %r12, %rdx
movl %eax, %ecx
callq 0xf2afd
cmpl $0x0, 0x20(%rbp)
je 0xad815
cmpl %r14d, 0x24(%rbp)
jne 0xad815
movl $0x3, %ecx
movq 0x10(%rsp), %rdi
movq %r15, %rsi
movq %r12, %rdx
xorl %r8d, %r8d
callq 0xf299c
incq %r15
addq $0x2, %r13
cmpq %r15, 0x18(%rsp)
jne 0xad7bf
incq %r12
cmpq 0x8(%rbp), %r12
jl 0xad7b1
jmp 0xada27
movq 0x28(%rsp), %rbp
movq (%rbp), %rdx
movq 0x8(%rbp), %rcx
movq 0x18(%rbp), %r8
movq %r15, %rdi
xorl %esi, %esi
movl $0x1, %r9d
pushq $0x0
pushq $0x0
callq 0xf319c
addq $0x10, %rsp
xorl %eax, %eax
movq %r14, %r13
leaq 0xc(%rsp), %r14
jmp 0xada55
testb %bpl, %bpl
je 0xad8d2
movq 0x28(%rsp), %r13
cmpl $0x0, 0x30(%r13)
movabsq $-0x5555555555555555, %r9 # imm = 0xAAAAAAAAAAAAAAAB
leaq 0x8772a(%rip), %r10     # 0x134fb3
movabsq $-0x684bda12f684bda1, %r11 # imm = 0x97B425ED097B425F
movl $0xaaaaaaab, %r15d      # imm = 0xAAAAAAAB
leaq 0x871f0(%rip), %r12     # 0x134a90
movl $0xff000000, %ebp       # imm = 0xFF000000
je 0xad909
leaq 0x50(%r13), %rsi
movl $0x400, %edx            # imm = 0x400
leaq 0x130(%rsp), %r14
movq %r14, %rdi
callq 0x181e0
movq %r13, %rbp
movq 0x30(%rsp), %r15
movq 0x10(%rsp), %r9
jmp 0xad9ef
cmpq $0x8, %rcx
movq 0x28(%rsp), %rbp
jg 0xad85c
movl $0x1, %esi
shlq %cl, %rsi
leaq 0x130(%rsp), %r14
movq %r14, %rdi
movl $0x1, %edx
movq %rax, %r12
callq 0xf41f4
movq %r12, %r9
jmp 0xad9ef
xorl %ecx, %ecx
leaq 0x130(%rsp), %r14
movl %ecx, %eax
imulq $0x38e38e39, %rax, %rax # imm = 0x38E38E39
shrq $0x22, %rax
addl %eax, %eax
leal (%rax,%rax,8), %esi
movq %rcx, %rax
mulq %r9
shrq %rdx
andq $-0x2, %rdx
leaq (%rdx,%rdx,2), %rdi
movq %r10, %r8
movq %rcx, %rax
mulq %r11
subq %rdi, %r8
shrq $0x6, %rdx
imull $-0x6c, %edx, %eax
addl %ecx, %eax
imulq $0x38e38e39, %rax, %rax # imm = 0x38E38E39
shrq $0x22, %rax
movzbl (%r8,%rcx), %edx
movl %ecx, %edi
shrl $0x2, %edi
imulq $0x4bda12f7, %rdi, %rdi # imm = 0x4BDA12F7
shrq $0x23, %rdi
leaq (%rdi,%rdi,2), %rdi
movl %ecx, %r8d
subl %esi, %r8d
imulq %r15, %r8
shrq $0x22, %r8
addq %rdi, %r8
movzbl (%r10,%r8), %esi
movzbl (%rax,%r10), %eax
shll $0x10, %eax
shll $0x8, %edx
orl %eax, %edx
orl %esi, %edx
orl $0xff000000, %edx       # imm = 0xFF000000
movl %edx, 0x130(%rsp,%rcx,4)
incq %rcx
cmpq $0xd7, %rcx
jne 0xad913
xorl %eax, %eax
movq 0x30(%rsp), %r15
movl (%rax,%r12), %ecx
orl %ebp, %ecx
movl %ecx, 0x48c(%rsp,%rax)
addq $0x4, %rax
cmpq $0x3c, %rax
jne 0xad9b8
xorl %eax, %eax
movq 0x28(%rsp), %rbp
movq 0x10(%rsp), %r9
movl $0xff000000, 0x4c8(%rsp,%rax,4) # imm = 0xFF000000
incq %rax
cmpq $0x1a, %rax
jne 0xad9db
cmpl $0x0, 0x20(%rbp)
je 0xada08
movl 0x24(%rbp), %eax
cmpq $0xff, %rax
ja 0xada08
movb $0x0, 0x133(%rsp,%rax,4)
movq 0x10(%rbp), %rdx
movq 0x18(%rbp), %rcx
subq $0x8, %rsp
movq %r15, %rdi
xorl %esi, %esi
movq %r14, %r8
pushq $0x0
callq 0xf35b8
addq $0x10, %rsp
movq 0x10(%rsp), %r14
movq %r14, %rdi
xorl %esi, %esi
movl $0x2, %edx
callq 0xf2923
movq %r14, %rax
leaq 0xc(%rsp), %r14
leaq 0xe0(%rsp), %r12
movq 0x40(%rsp), %r13
movq 0x30(%rsp), %r15
movq %rax, %rdi
callq 0xf28d4
movq %r15, %rdi
callq 0xf0b13
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
jmp 0xacdcf
leaq 0x870bc(%rip), %rsi     # 0x134b3a
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9df7
movq %r15, %r13
movq %rbx, %rdi
movq %r13, %rsi
callq 0xe9752
addq $0x538, %rsp            # imm = 0x538
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq