// File: /workspace/github_c_makefile_star2_O1/jsummers[P]deark/src/deark-char.c
// Function: de_char_output_to_file
void de_char_output_to_file(deark *c, struct de_char_context *charctx)
{
	i64 i;
	const char *s;
	int n;
	struct charextractx *ectx = NULL;

	ectx = de_malloc(c, sizeof(struct charextractx));

	de_char_decide_output_format(c, charctx);

	if(charctx->prefer_9col_mode) {
		ectx->vga_9col_mode = 1;
	}

	s = de_get_ext_option(c, "char:charwidth");
	if(s) {
		n = de_atoi(s);
		if(n>=9) {
			ectx->vga_9col_mode = 1;
		}
		else if(n>=1) {
			ectx->vga_9col_mode = 0;
		}
	}

	ectx->scrstats = de_mallocarray(c, charctx->nscreens, sizeof(struct screen_stats));

	for(i=0; i<charctx->nscreens; i++) {
		do_prescan_screen(c, charctx, ectx, i);
	}

	switch(charctx->outfmt) {
	case 1:
		de_char_output_to_image_files(c, charctx, ectx);
		break;
	default:
		de_char_output_to_html_file(c, charctx, ectx);
	}

	if(ectx) {
		de_free(c, ectx->scrstats);
	}
	de_free(c, ectx);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rsi, %rbp
movq %rdi, %r14
movl $0x50, %esi
callq 0xe969b
movq %rax, %r13
movq %r14, %rdi
movq %rbp, %rsi
callq 0xf44ef
cmpb $0x0, 0x1(%rbp)
je 0xf4595
movb $0x1, (%r13)
leaq 0x54b90(%rip), %rsi     # 0x14912c
movq %r14, %rdi
callq 0xea6cb
testq %rax, %rax
je 0xf45c2
movq %rax, %rdi
callq 0xea781
movb $0x1, %cl
cmpl $0x8, %eax
jg 0xf45be
testl %eax, %eax
jle 0xf45c2
xorl %ecx, %ecx
movb %cl, (%r13)
movq 0x10(%rbp), %rsi
movl $0x88, %edx
movq %r14, %rdi
callq 0xea259
movq %rax, 0x48(%r13)
cmpq $0x0, 0x10(%rbp)
jle 0xf4732
xorl %eax, %eax
xorl %ecx, %ecx
movq 0x18(%rbp), %rdx
movq (%rdx,%rcx,8), %rdx
cmpq $0x0, 0x8(%rdx)
jle 0xf46c3
movq %rcx, %rsi
shlq $0x7, %rsi
leaq (%rsi,%rcx,8), %rsi
xorl %edi, %edi
cmpq $0x0, (%rdx)
jle 0xf46b6
movl $0x12, %r8d
xorl %r9d, %r9d
movq 0x10(%rdx), %r10
testq %r10, %r10
je 0xf46a6
movq (%r10,%rdi,8), %r10
testq %r10, %r10
je 0xf46a6
movl -0xa(%r10,%r8), %r11d
cmpq $0xf, %r11
ja 0xf4652
movb $0x1, 0x6(%r13,%r11)
movq 0x48(%r13), %r11
addq %rsi, %r11
movl -0xa(%r10,%r8), %ebx
incl (%r11,%rbx,4)
jmp 0xf4657
movb $0x1, 0x5(%r13)
movl -0x6(%r10,%r8), %r11d
cmpq $0xf, %r11
ja 0xf467b
movb $0x1, 0x16(%r13,%r11)
movl -0x6(%r10,%r8), %r11d
movq 0x48(%r13), %rbx
addq %rsi, %rbx
incl 0x40(%rbx,%r11,4)
jmp 0xf4680
movb $0x1, 0x5(%r13)
cmpb $0x0, -0x2(%r10,%r8)
je 0xf468d
movb $0x1, 0x2(%r13)
cmpb $0x0, -0x1(%r10,%r8)
je 0xf469a
movb $0x1, 0x3(%r13)
cmpb $0x0, (%r10,%r8)
je 0xf46a6
movb $0x1, 0x4(%r13)
incq %r9
addq $0x14, %r8
cmpq %r9, (%rdx)
jg 0xf4619
incq %rdi
cmpq %rdi, 0x8(%rdx)
jg 0xf4606
movq 0x48(%r13), %rdx
movq %rcx, %rsi
shlq $0x7, %rsi
leaq (%rsi,%rcx,8), %rsi
movl (%rdx,%rsi), %edi
movl 0x40(%rdx,%rsi), %r9d
movq $0x0, 0x80(%rdx)
leaq (%rdx,%rax), %rsi
movl $0x1, %r8d
movl (%rsi,%r8,4), %r10d
cmpl %edi, %r10d
jbe 0xf4702
movl %r8d, 0x80(%rdx)
movl %r10d, %edi
movl 0x40(%rsi,%r8,4), %r10d
cmpl %r9d, %r10d
jbe 0xf4716
movl %r8d, 0x84(%rdx)
movl %r10d, %r9d
incq %r8
cmpq $0x10, %r8
jne 0xf46ef
incq %rcx
addq $0x88, %rax
cmpq 0x10(%rbp), %rcx
jl 0xf45e6
cmpl $0x1, 0x8(%rbp)
movq %r14, 0x30(%rsp)
movq %r13, 0x10(%rsp)
movq %rbp, 0x18(%rsp)
jne 0xf4776
cmpb $0x0, 0x4(%r13)
je 0xf475f
leaq 0x549e6(%rip), %rsi     # 0x14913b
movq %r14, %rdi
xorl %eax, %eax
callq 0xe9b27
movq 0x60(%rbp), %rax
testq %rax, %rax
je 0xf4ed4
movb $0x1, 0x1(%r13)
jmp 0xf4ff4
cmpq $0x0, 0x60(%rbp)
je 0xf4794
cmpb $0x0, 0x4(%rbp)
jne 0xf4794
leaq 0x54a00(%rip), %rsi     # 0x14918a
movq %r14, %rdi
xorl %eax, %eax
callq 0xe9b27
cmpb $0x0, 0x5(%r13)
je 0xf47ac
leaq 0x54a2f(%rip), %rsi     # 0x1491d1
movq %r14, %rdi
xorl %eax, %eax
callq 0xe9ef5
leaq 0x4b8ff(%rip), %rsi     # 0x1400b2
movq %r14, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xf037a
movq %rax, (%rsp)
movq %rax, %rdi
callq 0xf0e3f
movb $0x1, %bl
cmpq $0x0, 0x68(%rbp)
jne 0xf47ec
cmpq $0x0, 0x70(%rbp)
jne 0xf47ec
cmpq $0x0, 0x78(%rbp)
jne 0xf47ec
cmpb $0x0, 0x80(%rbp)
setne %bl
cmpb $0x0, 0xcc(%r14)
je 0xf480e
cmpb $0x0, 0xce(%r14)
jne 0xf480e
movq (%rsp), %rdi
movl $0xfeff, %esi           # imm = 0xFEFF
callq 0xec81c
leaq 0x4ca21(%rip), %rsi     # 0x141236
movq (%rsp), %r12
movq %r12, %rdi
callq 0xf16f0
leaq 0x4ca1f(%rip), %rsi     # 0x141247
movq %r12, %rdi
callq 0xf16f0
leaq 0x4ca18(%rip), %rsi     # 0x14124f
movq %r12, %rdi
callq 0xf16f0
cmpb $0x0, 0xce(%r14)
leaq 0x2f88b(%rip), %rax     # 0x1240d9
leaq 0x4ca17(%rip), %rdx     # 0x14126c
cmoveq %rax, %rdx
leaq 0x4c9f7(%rip), %rsi     # 0x141257
movq %r12, %rdi
xorl %eax, %eax
callq 0xf0ec4
leaq 0x549cc(%rip), %rsi     # 0x14923d
movq %r12, %rdi
callq 0xf16f0
movq 0x68(%rbp), %rsi
movq %r14, %rdi
movq %r12, %rdx
callq 0xf5364
leaq 0x4c9ed(%rip), %rsi     # 0x14127c
movq %r12, %rdi
callq 0xf16f0
leaq 0x4c9e8(%rip), %rsi     # 0x141286
movq %r12, %rdi
callq 0xf16f0
leaq 0x54998(%rip), %rsi     # 0x149245
movq %r12, %rdi
callq 0xf16f0
leaq 0x54a84(%rip), %rsi     # 0x149340
movq %r12, %rdi
callq 0xf16f0
testb %bl, %bl
jne 0xf48d2
cmpq $0x0, 0x90(%rbp)
je 0xf4936
leaq 0x54a97(%rip), %rsi     # 0x149370
movq %r12, %rdi
callq 0xf16f0
leaq 0x54ad2(%rip), %rsi     # 0x1493ba
movq %r12, %rdi
callq 0xf16f0
cmpq $0x0, 0x90(%rbp)
je 0xf4918
leaq 0x54aef(%rip), %rsi     # 0x1493f0
movq %r12, %rdi
callq 0xf16f0
leaq 0x54b3a(%rip), %rsi     # 0x14944a
movq %r12, %rdi
callq 0xf16f0
leaq 0x54b63(%rip), %rsi     # 0x149482
movq %r12, %rdi
callq 0xf16f0
leaq 0x54b7e(%rip), %rsi     # 0x1494ac
movq %r12, %rdi
callq 0xf16f0
leaq 0x20(%rbp), %r15
leaq 0x6(%r13), %r8
leaq 0x54b7d(%rip), %rdx     # 0x1494c2
leaq 0x215ca(%rip), %rcx     # 0x115f16
movq %r12, %rdi
movq %r15, %rsi
callq 0xf542b
leaq 0x16(%r13), %r8
leaq 0x54b63(%rip), %rdx     # 0x1494c5
leaq 0x54b5f(%rip), %rcx     # 0x1494c8
movq %r12, %rdi
movq %r15, %rsi
callq 0xf542b
cmpb $0x0, 0x2(%r13)
je 0xf498a
leaq 0x54b57(%rip), %rsi     # 0x1494d9
movq %r12, %rdi
callq 0xf16f0
cmpb $0x0, 0x3(%r13)
je 0xf49a1
leaq 0x54b65(%rip), %rsi     # 0x1494fd
movq (%rsp), %rdi
callq 0xf16f0
cmpb $0x0, 0x4(%r13)
movq (%rsp), %r15
je 0xf49bb
leaq 0x54b71(%rip), %rsi     # 0x149524
movq %r15, %rdi
callq 0xf16f0
leaq 0x4ca10(%rip), %rsi     # 0x1413d2
movq %r15, %rdi
callq 0xf16f0
leaq 0x4ca0b(%rip), %rsi     # 0x1413dc
movq %r15, %rdi
callq 0xf16f0
leaq 0x4ca05(%rip), %rsi     # 0x1413e5
movq %r15, %rdi
callq 0xf16f0
testb %bl, %bl
je 0xf4ab7
leaq 0x54bfd(%rip), %rsi     # 0x1495f4
movq (%rsp), %rbx
movq %rbx, %rdi
callq 0xf16f0
movq 0x68(%rbp), %rcx
leaq 0x353e3(%rip), %rdx     # 0x129df1
movq %r14, %rdi
movq %rbx, %rsi
callq 0xf54a9
movq 0x78(%rbp), %rcx
leaq 0x54be7(%rip), %rdx     # 0x14960b
movq %r14, %rdi
movq %rbx, %rsi
callq 0xf54a9
movq 0x70(%rbp), %rcx
leaq 0x47fea(%rip), %rdx     # 0x13ca24
movq %r14, %rdi
movq %rbx, %rsi
callq 0xf54a9
movq %r14, %rdi
callq 0xf6870
movq %rax, %r15
cmpb $0x0, 0x80(%rbp)
je 0xf4a87
leaq 0x80(%rbp), %rdi
leaq 0x80(%rsp), %r13
movl $0x40, %edx
movq %r13, %rsi
xorl %ecx, %ecx
callq 0xeb4f8
movq %r15, %rdi
movq %r13, %rsi
movl $0x2, %edx
callq 0xf6a40
leaq 0x352c6(%rip), %rdx     # 0x129d54
movq %r14, %rdi
movq (%rsp), %rbx
movq %rbx, %rsi
movq %r15, %rcx
callq 0xf54a9
movq %r15, %rdi
callq 0xf6bb0
leaq 0x54c2e(%rip), %rsi     # 0x1496dd
movq %rbx, %rdi
callq 0xf16f0
movq 0x90(%rbp), %rdi
callq 0xf6bea
testl %eax, %eax
jne 0xf4b69
leaq 0x54b22(%rip), %rsi     # 0x1495f4
movq (%rsp), %rbx
movq %rbx, %rdi
callq 0xf16f0
leaq 0x54b8b(%rip), %rsi     # 0x149670
movq %rbx, %rdi
callq 0xf16f0
leaq 0x54b8c(%rip), %rsi     # 0x149680
movq %rbx, %rdi
xorl %eax, %eax
callq 0xf0ec4
leaq 0x54b64(%rip), %r15     # 0x149669
movq %rbx, %rdi
movq %r15, %rsi
callq 0xf16f0
leaq 0x54b89(%rip), %rsi     # 0x1496a0
movq %rbx, %rdi
callq 0xf16f0
leaq 0x54b33(%rip), %rsi     # 0x149659
movq %rbx, %rdi
callq 0xf16f0
movq 0x90(%rbp), %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq 0xf5364
leaq 0x54b51(%rip), %rsi     # 0x149698
movq %rbx, %rdi
callq 0xf16f0
movq %rbx, %rdi
movq %r15, %rsi
callq 0xf16f0
leaq 0x54b7c(%rip), %rsi     # 0x1496dd
movq %rbx, %rdi
callq 0xf16f0
cmpq $0x0, 0x10(%rbp)
movq (%rsp), %rbx
jle 0xf4eb3
xorl %r12d, %r12d
xorl %r15d, %r15d
movq %r15, 0x68(%rsp)
movl %r15d, 0x70(%rsp)
movq %r15, 0x20(%rsp)
movl %r15d, 0x28(%rsp)
movq 0x18(%rbp), %rax
movq (%rax,%r12,8), %rbp
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movl %r15d, 0x90(%rsp)
movabsq $0x2000000020, %rax     # imm = 0x2000000020
movq %rax, 0x80(%rsp)
movq %rbx, %rdi
leaq 0x54ae7(%rip), %rsi     # 0x1496b0
callq 0xf16f0
movq %rbx, %rdi
leaq 0x54af2(%rip), %rsi     # 0x1496ca
callq 0xf16f0
movq 0x10(%rsp), %rax
movq 0x48(%rax), %rax
movq %r12, %rcx
shlq $0x7, %rcx
movq %r12, 0x78(%rsp)
leaq (%rcx,%r12,8), %rdx
movl 0x80(%rax,%rdx), %ecx
movl %ecx, 0x68(%rsp)
movq %rdx, 0x60(%rsp)
movl 0x84(%rax,%rdx), %eax
movl %eax, 0x6c(%rsp)
movq %rbx, %rdi
leaq 0x68(%rsp), %rsi
xorl %edx, %edx
callq 0xf553b
cmpq %r15, 0x8(%rbp)
jle 0xf4e46
movq $0x0, 0x58(%rsp)
movq $0x0, 0x38(%rsp)
movq $0x0, 0x40(%rsp)
movq $0x0, 0x48(%rsp)
movl $0x0, 0x50(%rsp)
movl $0x0, 0x8(%rsp)
xorl %r14d, %r14d
xorl %eax, %eax
leaq 0x80(%rsp), %rdx
cmpq $0x0, (%rbp)
jle 0xf4e1d
testl %eax, %eax
sete %al
xorl %r12d, %r12d
xorl %r13d, %r13d
movq 0x10(%rbp), %rcx
movq %rdx, %rbx
testq %rcx, %rcx
je 0xf4ca1
movq 0x58(%rsp), %rsi
movq (%rcx,%rsi,8), %rcx
leaq (%rcx,%r12), %rbx
testq %rcx, %rcx
cmoveq %rdx, %rbx
movzbl 0x13(%rbx), %ecx
testb $0x8, %cl
jne 0xf4cb4
testb $0x20, %cl
jne 0xf4cb4
movl 0x4(%rbx), %ecx
jmp 0xf4cb9
movl $0x20, %ecx
movl $0x20, %edx
testl %ecx, %ecx
je 0xf4cc4
movl %ecx, %edx
movl $0x3f, %r15d
cmpl $0x20, %edx
jl 0xf4cd2
movl %edx, %r15d
movl %r15d, %ecx
andl $0xffffff7f, %ecx       # imm = 0xFFFFFF7F
cmpl $0x20, %ecx
jne 0xf4cea
cmpb $0x0, 0x10(%rbx)
je 0xf4e0c
xorl %ecx, %ecx
testb $0x1, %al
jne 0xf4d42
movl 0x8(%rsp), %eax
cmpl %eax, 0x8(%rbx)
sete %al
orb %cl, %al
testb $0x1, %al
je 0xf4d2b
movl 0x50(%rsp), %eax
cmpl %eax, 0xc(%rbx)
jne 0xf4d2b
movq 0x48(%rsp), %rax
cmpb %al, 0x10(%rbx)
jne 0xf4d2b
movq 0x40(%rsp), %rax
cmpb %al, 0x11(%rbx)
jne 0xf4d2b
movq 0x38(%rsp), %rax
cmpb %al, 0x12(%rbx)
je 0xf4dc1
cmpb $0x0, 0x2b(%rsp)
jne 0xf4d42
movq (%rsp), %rdi
leaq 0x5495b(%rip), %rsi     # 0x149698
callq 0xf16f0
testl %r14d, %r14d
movq (%rsp), %r14
je 0xf4d5a
movq %r14, %rdi
leaq 0x1b446(%rip), %rsi     # 0x11019b
callq 0xf16f0
movl 0x8(%rbx), %eax
movl %eax, 0x20(%rsp)
movl 0xc(%rbx), %eax
movl %eax, 0x24(%rsp)
movb 0x10(%rbx), %al
movb %al, 0x28(%rsp)
movb 0x11(%rbx), %al
movb %al, 0x29(%rsp)
movb 0x12(%rbx), %al
movb %al, 0x2a(%rsp)
movq 0x10(%rsp), %rax
movq 0x48(%rax), %rdx
addq 0x60(%rsp), %rdx
movq %r14, %rdi
leaq 0x20(%rsp), %rsi
callq 0xf553b
movl 0x8(%rbx), %eax
movl %eax, 0x8(%rsp)
movl 0xc(%rbx), %eax
movl %eax, 0x50(%rsp)
movb 0x10(%rbx), %al
movq %rax, 0x48(%rsp)
movb 0x11(%rbx), %al
movq %rax, 0x40(%rsp)
movb 0x12(%rbx), %al
movq %rax, 0x38(%rsp)
xorl %r14d, %r14d
testl %r14d, %r14d
movq (%rsp), %rbx
je 0xf4dd9
movq %rbx, %rdi
leaq 0x1b3c7(%rip), %rsi     # 0x11019b
callq 0xf16f0
movq 0x30(%rsp), %rdi
movq %rbx, %rsi
movl %r15d, %edx
callq 0xed0ce
incq %r13
addq $0x14, %r12
xorl %r14d, %r14d
movl $0x0, %eax
cmpq %r13, (%rbp)
leaq 0x80(%rsp), %rdx
jg 0xf4c81
jmp 0xf4e18
cmpb $0x0, 0x11(%rbx)
sete %cl
jmp 0xf4cec
movl $0x1, %eax
movq 0x58(%rsp), %rsi
incq %rsi
movl $0x1, %r14d
movq %rsi, 0x58(%rsp)
cmpq %rsi, 0x8(%rbp)
jg 0xf4c6b
testl %eax, %eax
setne %al
movq 0x30(%rsp), %r14
jmp 0xf4e48
xorl %eax, %eax
testb %al, %al
movq 0x18(%rsp), %rbp
je 0xf4e68
cmpb $0x0, 0x2b(%rsp)
jne 0xf4e68
movq (%rsp), %rdi
leaq 0x54835(%rip), %rsi     # 0x149698
callq 0xf16f0
cmpb $0x0, 0x73(%rsp)
jne 0xf4e7f
movq (%rsp), %rdi
leaq 0x5481e(%rip), %rsi     # 0x149698
callq 0xf16f0
movq (%rsp), %rbx
movq %rbx, %rdi
leaq 0x54843(%rip), %rsi     # 0x1496d0
callq 0xf16f0
movq %rbx, %rdi
leaq 0x5483b(%rip), %rsi     # 0x1496d7
callq 0xf16f0
movq 0x78(%rsp), %r12
incq %r12
cmpq 0x10(%rbp), %r12
jl 0xf4b7b
leaq 0x4c892(%rip), %rsi     # 0x14174c
movq %rbx, %rdi
callq 0xf16f0
movq %rbx, %rdi
callq 0xf0b13
movq 0x10(%rsp), %r13
jmp 0xf52ac
movb $0x0, 0x1(%r13)
movq %r14, %rdi
callq 0xf57ec
movq %rax, %r15
movq %rax, 0x28(%r13)
callq 0xecca2
movq %rax, %r12
movq $0x10d, 0x18(%r15)      # imm = 0x10D
movabsq $0x1000000008, %rax     # imm = 0x1000000008
movq %rax, (%r15)
movw $0x101, 0x10(%r15)      # imm = 0x101
movl $0x10d, %esi            # imm = 0x10D
movl $0x28, %edx
movq %r14, %rdi
callq 0xea259
movq %rax, 0x20(%r15)
movq 0x18(%r15), %rcx
testq %rcx, %rcx
jle 0xf4f4c
movl (%r15), %edx
movl 0x4(%r15), %esi
addq $0x18, %rax
movl %edx, -0x10(%rax)
movl %esi, -0xc(%rax)
movq $0x1, (%rax)
addq $0x28, %rax
decq %rcx
jne 0xf4f36
leaq 0x80(%rsp), %rdi
movl $0xd, %esi
callq 0xec207
cmpq $0x0, 0x18(%r15)
jle 0xf4f9e
xorl %ebx, %ebx
leaq 0x80(%rsp), %r13
xorl %ebp, %ebp
movq 0x20(%r15), %r14
movl %ebp, (%r14,%rbx)
movl %ebp, %edi
movq %r13, %rsi
callq 0xec6fd
movl %eax, 0x4(%r14,%rbx)
movq %r12, 0x20(%r14,%rbx)
incq %rbp
addq $0x10, %r12
addq $0x28, %rbx
cmpq 0x18(%r15), %rbp
jl 0xf4f71
movl $0x2800, %eax           # imm = 0x2800
addq 0x20(%r15), %rax
leaq 0x547b2(%rip), %rcx     # 0x149760
xorl %edx, %edx
leaq 0x54769(%rip), %rsi     # 0x149720
movl $0xfffffff, (%rax)      # imm = 0xFFFFFFF
movl (%rdx,%rsi), %edi
movl %edi, 0x4(%rax)
movq %rcx, 0x20(%rax)
addq $0x4, %rdx
addq $0x10, %rcx
addq $0x28, %rax
cmpq $0x34, %rdx
jne 0xf4fb7
movq $0x100, 0x8(%r15)       # imm = 0x100
movq 0x10(%rsp), %r13
movq 0x28(%r13), %rax
movq 0x30(%rsp), %r14
movq 0x18(%rsp), %rbp
movq %rax, 0x30(%r13)
movl $0x9, %eax
cmpb $0x0, (%r13)
jne 0xf500b
movq 0x30(%r13), %rax
movslq (%rax), %rax
movq %rax, 0x38(%r13)
movq 0x30(%r13), %rax
movslq 0x4(%rax), %rax
movq %rax, 0x40(%r13)
cmpq $0x0, 0x10(%rbp)
jle 0xf528b
leaq 0x80(%rbp), %rax
movq %rax, 0x60(%rsp)
xorl %ecx, %ecx
movq 0x18(%rbp), %rax
movq %rcx, 0x40(%rsp)
movq (%rax,%rcx,8), %r15
movq 0x38(%r13), %rbx
movq 0x40(%r13), %r12
imulq (%r15), %rbx
imulq 0x8(%r15), %r12
movq %r14, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0xf241d
testl %eax, %eax
je 0xf5261
movq %r14, %rdi
movq %rbx, %rsi
movq %r12, %rdx
movl $0x3, %ecx
callq 0xf2cab
movq %rax, %rbx
movq %r14, %rdi
callq 0xea9a9
movq %rax, %rcx
cmpb $0x0, 0x3(%rbp)
jne 0xf50d6
cmpq $0x10, 0x40(%r13)
jne 0xf50d6
movq 0x38(%r13), %rax
movsd 0x254ce(%rip), %xmm0    # 0x11a570
cmpq $0x8, %rax
je 0xf50b6
cmpq $0x9, %rax
jne 0xf50d6
movsd 0x5405a(%rip), %xmm0    # 0x149110
movl $0x1, 0x78(%rcx)
movsd %xmm0, 0x80(%rcx)
movabsq $0x4079000000000000, %rax # imm = 0x4079000000000000
movq %rax, 0x88(%rcx)
movq %rbx, 0x8(%rsp)
movq 0x60(%rsp), %rax
cmpb $0x0, (%rax)
je 0xf50ec
movups (%rax), %xmm0
movups %xmm0, 0x68(%rcx)
movq %rcx, 0x38(%rsp)
cmpq $0x0, 0x8(%r15)
jle 0xf523e
xorl %ebx, %ebx
movq %r15, 0x48(%rsp)
cmpq $0x0, (%r15)
jle 0xf5231
xorl %r12d, %r12d
xorl %ebp, %ebp
movq 0x10(%r15), %rax
movq (%rax,%rbx,8), %r13
testq %r13, %r13
je 0xf5221
leaq (%r12,%r13), %rax
movzbl 0x13(%r13,%r12), %r11d
xorl %r10d, %r10d
movq 0x10(%rsp), %r15
cmpb $0x0, 0x1(%r15)
sete %r10b
movl (%rax,%r10,4), %eax
movq %rax, 0x50(%rsp)
movl 0x8(%r13,%r12), %eax
movl 0xc(%r13,%r12), %r14d
subq $0x8, %rsp
movq 0x38(%rsp), %rdi
movq 0x20(%rsp), %rsi
movq %r15, %rdx
movq 0x10(%rsp), %rcx
movq %rbp, %r8
movq %rbx, %r9
movq %r11, 0x8(%rsp)
pushq %r11
pushq %r14
movq 0x48(%rsp), %r14
pushq %rax
pushq %r10
pushq 0x78(%rsp)
callq 0xf52da
addq $0x30, %rsp
cmpb $0x0, 0x10(%r13,%r12)
je 0xf51d1
movl 0x8(%r13,%r12), %eax
movl 0xc(%r13,%r12), %r10d
movq (%rsp), %r11
orl $0x1, %r11d
subq $0x8, %rsp
movq %r14, %rdi
movq 0x20(%rsp), %rsi
movq %r15, %rdx
movq 0x10(%rsp), %rcx
movq %rbp, %r8
movq %rbx, %r9
pushq %r11
pushq %r10
pushq %rax
pushq $0x1
pushq $0x5f
callq 0xf52da
addq $0x30, %rsp
movq (%rsp), %rcx
cmpb $0x0, 0x11(%r13,%r12)
movq 0x48(%rsp), %r15
je 0xf5221
movl 0x8(%r13,%r12), %eax
movl 0xc(%r13,%r12), %r10d
movq %rcx, %r11
orl $0x1, %r11d
subq $0x8, %rsp
movq %r14, %rdi
movq 0x20(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x10(%rsp), %rcx
movq %rbp, %r8
movq %rbx, %r9
pushq %r11
pushq %r10
pushq %rax
pushq $0x1
pushq $0x2d
callq 0xf52da
addq $0x30, %rsp
incq %rbp
addq $0x14, %r12
cmpq %rbp, (%r15)
jg 0xf5112
incq %rbx
cmpq %rbx, 0x8(%r15)
jg 0xf5103
movq 0x8(%rsp), %r15
movq %r15, %rdi
movq 0x38(%rsp), %rbx
movq %rbx, %rsi
xorl %edx, %edx
callq 0xf2917
movq 0x10(%rsp), %r13
movq 0x18(%rsp), %rbp
jmp 0xf5266
xorl %ebx, %ebx
xorl %r15d, %r15d
movq %r15, %rdi
callq 0xf28d4
movq %r14, %rdi
movq %rbx, %rsi
callq 0xea9b3
movq 0x40(%rsp), %rcx
incq %rcx
cmpq 0x10(%rbp), %rcx
jl 0xf5034
movq 0x28(%r13), %rax
testq %rax, %rax
je 0xf52ac
movq 0x20(%rax), %rsi
movq %r14, %rdi
callq 0xe9752
movq 0x28(%r13), %rsi
movq %r14, %rdi
callq 0xf5801
testq %r13, %r13
je 0xf52bd
movq 0x48(%r13), %rsi
movq %r14, %rdi
callq 0xe9752
movq %r14, %rdi
movq %r13, %rsi
callq 0xe9752
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq