// File: /workspace/github_c_makefile_star2_O3/jsummers[P]deark/modules/grasp.c
// Function: de_run_graspfont
static void de_run_graspfont(deark *c, de_module_params *mparams)
{
	if(gfont_is_new_format(c)) {
		de_declare_fmt(c, "GRASP font (new)");
		de_run_graspfont_newfmt(c);
	}
	else {
		de_declare_fmt(c, "GRASP font (old)");
		de_run_graspfont_oldfmt(c);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdi, %rbp
callq 0x53b52
testl %eax, %eax
je 0x5387c
leaq 0xccdb2(%rip), %rsi     # 0x12030c
movq %rbp, %rdi
callq 0xeb125
leaq 0xe6185(%rip), %rsi     # 0x1396ee
movl $0x0, 0x10(%rsp)
movq %rbp, %rdi
xorl %edx, %edx
xorl %eax, %eax
callq 0xe8617
movq %rbp, %rdi
movl $0x1, %esi
callq 0xe8a15
movq %rbp, %rdi
callq 0xf5358
movq %rax, %r14
movb $0x1, 0x10(%rax)
movq %rbp, %rdi
callq 0xf6410
movq %rax, %rbx
movq 0x18(%rbp), %rdi
movl $0x1, %esi
movl $0xd, %edx
movq %rax, %rcx
movl $0x1, %r8d
movl $0x1, %r9d
callq 0xefbd7
movq %rbx, 0x28(%rsp)
movq %rbx, %rdi
callq 0xf705c
leaq 0xcf1a1(%rip), %rsi     # 0x12277b
movq %rbp, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe8617
movq 0x18(%rbp), %rdi
movl $0x10, %esi
callq 0xeead3
movzbl %al, %edx
movq %rdx, 0x18(%r14)
leaq 0xccd2b(%rip), %rsi     # 0x12032e
movq %rbp, %rdi
xorl %eax, %eax
callq 0xe8617
movq 0x18(%rbp), %rdi
movl $0x13, %esi
callq 0xeead3
movzbl %al, %edx
leaq 0xccd1e(%rip), %rsi     # 0x120343
movq %rbp, %rdi
xorl %eax, %eax
callq 0xe8617
movq 0x18(%rbp), %rdi
movl $0x14, %esi
callq 0xeead3
movzbl %al, %edx
movl %edx, 0x4(%r14)
leaq 0xc3b81(%rip), %rsi     # 0x1171cc
movq %rbp, %rdi
xorl %eax, %eax
callq 0xe8617
movq 0x18(%rbp), %rdi
movl $0x15, %esi
callq 0xeead3
movl %eax, %r15d
movq %rbp, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe8a15
movq 0x18(%r14), %rax
addq %rax, %rax
cmpq $0xbf, %rax
movl $0xbe, %ecx
cmovgeq %rax, %rcx
movq %rcx, 0x20(%rsp)
addl $0x3b, %ecx
leaq 0xcccba(%rip), %rsi     # 0x120352
movq %rbp, %rdi
movl $0x3b, %edx
xorl %eax, %eax
callq 0xe8617
movq %rbp, %rdi
movl $0x1, %esi
callq 0xe8a15
movq 0x18(%r14), %rsi
movl $0x28, %edx
movq %rbp, %rdi
callq 0xe96f7
movq %rax, 0x20(%r14)
movq %r14, 0x8(%rsp)
cmpq $0x0, 0x18(%r14)
jle 0x537cc
movzbl %r15b, %eax
movq %rax, 0x30(%rsp)
addq $0x3c, 0x20(%rsp)
movl $0x3d, %r12d
xorl %ebx, %ebx
xorl %r15d, %r15d
movl $0x0, 0x10(%rsp)
movq 0x8(%rsp), %rax
movq 0x20(%rax), %r14
leal 0x21(%r15), %eax
movl %eax, (%r14,%rbx)
movq 0x18(%rbp), %rdi
movq %r12, %rsi
callq 0xeebc8
movq %rax, %r13
movq 0x18(%rbp), %rdi
movq 0x20(%rsp), %rax
leaq (%rax,%r15), %rsi
callq 0xeead3
movzbl %al, %r8d
movl %r8d, 0x8(%r14,%rbx)
movl (%r14,%rbx), %ecx
movq %rbp, %rdi
leaq 0xccc3b(%rip), %rsi     # 0x12037f
movl %r15d, %edx
movq %r13, 0x18(%rsp)
movl %r13d, %r9d
xorl %eax, %eax
callq 0xe87e4
movl 0x8(%r14,%rbx), %eax
testl %eax, %eax
jle 0x537b2
movl 0x10(%rsp), %ecx
cmpl %ecx, %eax
cmovgl %eax, %ecx
movl %ecx, 0x10(%rsp)
movq %rbp, %r13
movq 0x8(%rsp), %rax
movslq 0x4(%rax), %rbp
movl %ebp, 0xc(%r14,%rbx)
movq 0x30(%rsp), %rax
movq %rax, 0x18(%r14,%rbx)
imulq %rax, %rbp
movq %r13, %rdi
movq %rbp, %rsi
callq 0xe8b2b
movq %rax, 0x20(%r14,%rbx)
movq 0x18(%r13), %rdi
movq %rax, %rsi
movq 0x18(%rsp), %rdx
movq %rbp, %rcx
movq %r13, %rbp
callq 0xee8d4
incq %r15
addq $0x2, %r12
addq $0x28, %rbx
movq 0x8(%rsp), %rax
cmpq 0x18(%rax), %r15
jl 0x536fb
movq %rbp, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe8a15
leaq 0xccbcd(%rip), %rsi     # 0x1203ad
movq %rbp, %rdi
movl 0x10(%rsp), %ebx
movl %ebx, %edx
xorl %eax, %eax
callq 0xe8617
movq 0x8(%rsp), %r14
movl %ebx, (%r14)
movq %rbp, %rdi
movq %r14, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xf576f
movq 0x20(%r14), %rsi
testq %rsi, %rsi
je 0x53857
movq 0x8(%rsp), %rax
cmpq $0x0, 0x18(%rax)
jle 0x5384f
movl $0x20, %ebx
xorl %r14d, %r14d
movq 0x8(%rsp), %r15
movq 0x20(%r15), %rax
movq (%rax,%rbx), %rsi
movq %rbp, %rdi
callq 0xe8be2
incq %r14
addq $0x28, %rbx
cmpq 0x18(%r15), %r14
jl 0x53829
movq 0x8(%rsp), %rax
movq 0x20(%rax), %rsi
movq %rbp, %rdi
callq 0xe8be2
movq %rbp, %rdi
movq 0x8(%rsp), %rsi
callq 0xf536d
movq 0x28(%rsp), %rdi
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xf6753
leaq 0xcca9a(%rip), %rsi     # 0x12031d
movq %rbp, %rdi
callq 0xeb125
movq %rbp, %rdi
callq 0xf5358
movq %rax, %r14
movq 0x18(%rbp), %rdi
xorl %esi, %esi
callq 0xeebc8
leaq 0xccb22(%rip), %rsi     # 0x1203ca
movq %rbp, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xe8617
movw $0x101, 0x10(%r14)      # imm = 0x101
movq 0x18(%rbp), %rdi
movl $0x2, %esi
callq 0xeead3
movzbl %al, %eax
testb %al, %al
movl $0x100, %ecx            # imm = 0x100
cmovneq %rax, %rcx
movq %rcx, 0x18(%r14)
movq 0x18(%rbp), %rdi
movl $0x3, %esi
callq 0xeead3
movzbl %al, %r12d
movq 0x18(%rbp), %rdi
movl $0x4, %esi
callq 0xeead3
movzbl %al, %eax
movl %eax, (%r14)
movq 0x18(%rbp), %rdi
movl $0x5, %esi
callq 0xeead3
movzbl %al, %eax
movl %eax, 0x4(%r14)
movq 0x18(%rbp), %rdi
movl $0x6, %esi
callq 0xeead3
movzbl %al, %r15d
movl 0x18(%r14), %edx
leaq 0xccaae(%rip), %rsi     # 0x1203e1
movq %rbp, %rdi
movl %r12d, %ecx
xorl %eax, %eax
callq 0xe8617
movl (%r14), %edx
movl 0x4(%r14), %ecx
leaq 0xccabd(%rip), %rsi     # 0x12040b
movq %rbp, %rdi
movl %r15d, %r8d
xorl %eax, %eax
callq 0xe8617
movl (%r14), %edx
leal 0x7(%rdx), %ecx
leal 0xe(%rdx), %eax
testl %ecx, %ecx
cmovnsl %ecx, %eax
movslq 0x4(%r14), %rcx
testq %rcx, %rcx
jle 0x53a62
testl %edx, %edx
jle 0x53a62
sarl $0x3, %eax
cltq
imulq %rax, %rcx
cmpq %r15, %rcx
jg 0x53a62
movq 0x18(%r14), %rsi
movl $0x28, %edx
movq %rbp, %rdi
movq %rax, 0x8(%rsp)
callq 0xe96f7
movq %rax, 0x20(%r14)
movq %rbp, %rbx
movq 0x18(%r14), %rbp
imulq %r15, %rbp
movq %rbx, %rdi
movq %rbp, %rsi
callq 0xe8b2b
movq %rax, %r13
leaq 0x38(%rsp), %rdi
movl $0xd, %esi
callq 0xebbf7
movq %rbx, 0x10(%rsp)
movq 0x18(%rbx), %rdi
movl $0x7, %edx
movq %r13, 0x18(%rsp)
movq %r13, %rsi
movq %rbp, %rcx
callq 0xee8d4
cmpq $0x0, 0x18(%r14)
jle 0x53a47
movq %r15, %r13
movq 0x20(%r14), %rcx
xorl %ebx, %ebx
movq 0x18(%rsp), %r15
xorl %ebp, %ebp
movq (%r14), %rax
movq %rax, 0x8(%rcx,%rbx)
movq 0x8(%rsp), %rax
movq %rax, 0x18(%rcx,%rbx)
leal (%r12,%rbp), %edi
movl %edi, (%rcx,%rbx)
leaq 0x38(%rsp), %rsi
callq 0xec0ad
movq 0x20(%r14), %rcx
movl %eax, 0x4(%rcx,%rbx)
movq %r15, 0x20(%rcx,%rbx)
incq %rbp
addq $0x28, %rbx
addq %r13, %r15
cmpq 0x18(%r14), %rbp
jl 0x53a07
movq 0x10(%rsp), %rbp
movq %rbp, %rdi
movq %r14, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xf576f
movq 0x18(%rsp), %rbx
jmp 0x53a75
leaq 0xcc9ce(%rip), %rsi     # 0x120437
xorl %ebx, %ebx
movq %rbp, %rdi
xorl %eax, %eax
callq 0xe9295
movq 0x20(%r14), %rsi
testq %rsi, %rsi
je 0x53a86
movq %rbp, %rdi
callq 0xe8be2
movq %rbp, %rdi
movq %r14, %rsi
callq 0xf536d
movq %rbp, %rdi
movq %rbx, %rsi
callq 0xe8be2
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq