// File: /workspace/github_c_makefile_star2_O1/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 0x53c13
testl %eax, %eax
je 0x53936
leaq 0xccbce(%rip), %rsi     # 0x1201e4
movq %rbp, %rdi
callq 0xeb6d6
leaq 0xe5d39(%rip), %rsi     # 0x13935e
movl $0x0, 0x10(%rsp)
movq %rbp, %rdi
xorl %edx, %edx
xorl %eax, %eax
callq 0xe9226
movq %rbp, %rdi
movl $0x1, %esi
callq 0xe9585
movq %rbp, %rdi
callq 0xf57ec
movq %rax, %r14
movb $0x1, 0x10(%rax)
movq %rbp, %rdi
callq 0xf6870
movq %rax, %rbx
movq 0x18(%rbp), %rdi
movl $0x1, %esi
movl $0xd, %edx
movq %rax, %rcx
movl $0x1, %r8d
movl $0x1, %r9d
callq 0xf01b0
movq %rbx, 0x28(%rsp)
movq %rbx, %rdi
callq 0xf74bd
leaq 0xceedd(%rip), %rsi     # 0x122573
movq %rbp, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbp), %rdi
movl $0x10, %esi
callq 0xef0d5
movzbl %al, %edx
movq %rdx, 0x18(%r14)
leaq 0xccb47(%rip), %rsi     # 0x120206
movq %rbp, %rdi
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbp), %rdi
movl $0x13, %esi
callq 0xef0d5
movzbl %al, %edx
leaq 0xccb3a(%rip), %rsi     # 0x12021b
movq %rbp, %rdi
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbp), %rdi
movl $0x14, %esi
callq 0xef0d5
movzbl %al, %edx
movl %edx, 0x4(%r14)
leaq 0xc3a25(%rip), %rsi     # 0x11712c
movq %rbp, %rdi
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbp), %rdi
movl $0x15, %esi
callq 0xef0d5
movl %eax, %r15d
movq %rbp, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
movq 0x18(%r14), %rax
addq %rax, %rax
cmpq $0xbf, %rax
movl $0xbe, %ecx
cmovgeq %rax, %rcx
movq %rcx, 0x20(%rsp)
addl $0x3b, %ecx
leaq 0xccad6(%rip), %rsi     # 0x12022a
movq %rbp, %rdi
movl $0x3b, %edx
xorl %eax, %eax
callq 0xe9226
movq %rbp, %rdi
movl $0x1, %esi
callq 0xe9585
movq 0x18(%r14), %rsi
movl $0x28, %edx
movq %rbp, %rdi
callq 0xea259
movq %rax, 0x20(%r14)
movq %r14, 0x8(%rsp)
cmpq $0x0, 0x18(%r14)
jle 0x53888
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 0xef1ca
movq %rax, %r13
movq 0x18(%rbp), %rdi
movq 0x20(%rsp), %rax
leaq (%rax,%r15), %rsi
callq 0xef0d5
movzbl %al, %r8d
movl %r8d, 0x8(%r14,%rbx)
movl (%r14,%rbx), %ecx
movq %rbp, %rdi
leaq 0xcca57(%rip), %rsi     # 0x120257
movl %r15d, %edx
movq %r13, 0x18(%rsp)
movl %r13d, %r9d
xorl %eax, %eax
callq 0xe93cf
movl 0x8(%r14,%rbx), %eax
testl %eax, %eax
jle 0x5386e
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 0xe969b
movq %rax, 0x20(%r14,%rbx)
movq 0x18(%r13), %rdi
movq %rax, %rsi
movq 0x18(%rsp), %rdx
movq %rbp, %rcx
movq %r13, %rbp
callq 0xeeee8
incq %r15
addq $0x2, %r12
addq $0x28, %rbx
movq 0x8(%rsp), %rax
cmpq 0x18(%rax), %r15
jl 0x537b7
movq %rbp, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
leaq 0xcc9e9(%rip), %rsi     # 0x120285
movq %rbp, %rdi
movl 0x10(%rsp), %ebx
movl %ebx, %edx
xorl %eax, %eax
callq 0xe9226
movq 0x8(%rsp), %r14
movl %ebx, (%r14)
movq %rbp, %rdi
movq %r14, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xf5c29
cmpq $0x0, 0x20(%r14)
je 0x53911
movq 0x8(%rsp), %rax
cmpq $0x0, 0x18(%rax)
jle 0x53900
movl $0x20, %ebx
xorl %r14d, %r14d
movq 0x8(%rsp), %r15
movq 0x20(%r15), %rax
movq (%rax,%rbx), %rsi
movq %rbp, %rdi
callq 0xe9752
incq %r14
addq $0x28, %rbx
cmpq 0x18(%r15), %r14
jl 0x538e3
movq 0x8(%rsp), %rax
movq 0x20(%rax), %rsi
movq %rbp, %rdi
callq 0xe9752
movq %rbp, %rdi
movq 0x8(%rsp), %rsi
callq 0xf5801
movq 0x28(%rsp), %rdi
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xf6bb0
leaq 0xcc8b8(%rip), %rsi     # 0x1201f5
movq %rbp, %rdi
callq 0xeb6d6
movq %rbp, %rdi
callq 0xf57ec
movq %rax, %r14
movq 0x18(%rbp), %rdi
xorl %esi, %esi
callq 0xef1ca
leaq 0xcc940(%rip), %rsi     # 0x1202a2
movq %rbp, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xe9226
movw $0x101, 0x10(%r14)      # imm = 0x101
movq 0x18(%rbp), %rdi
movl $0x2, %esi
callq 0xef0d5
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 0xef0d5
movzbl %al, %r12d
movq 0x18(%rbp), %rdi
movl $0x4, %esi
callq 0xef0d5
movzbl %al, %eax
movl %eax, (%r14)
movq 0x18(%rbp), %rdi
movl $0x5, %esi
callq 0xef0d5
movzbl %al, %eax
movl %eax, 0x4(%r14)
movq 0x18(%rbp), %rdi
movl $0x6, %esi
callq 0xef0d5
movzbl %al, %r15d
movl 0x18(%r14), %edx
leaq 0xcc8cc(%rip), %rsi     # 0x1202b9
movq %rbp, %rdi
movl %r12d, %ecx
xorl %eax, %eax
callq 0xe9226
movl (%r14), %edx
movl 0x4(%r14), %ecx
leaq 0xcc8db(%rip), %rsi     # 0x1202e3
movq %rbp, %rdi
movl %r15d, %r8d
xorl %eax, %eax
callq 0xe9226
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 0x53b23
testl %edx, %edx
jle 0x53b23
sarl $0x3, %eax
cltq
imulq %rax, %rcx
cmpq %r15, %rcx
jg 0x53b23
movq 0x18(%r14), %rsi
movl $0x28, %edx
movq %rbp, %rdi
movq %rax, 0x8(%rsp)
callq 0xea259
movq %rax, 0x20(%r14)
movq %rbp, %rbx
movq 0x18(%r14), %rbp
imulq %r15, %rbp
movq %rbx, %rdi
movq %rbp, %rsi
callq 0xe969b
movq %rax, %r13
leaq 0x38(%rsp), %rdi
movl $0xd, %esi
callq 0xec207
movq %rbx, 0x10(%rsp)
movq 0x18(%rbx), %rdi
movl $0x7, %edx
movq %r13, 0x18(%rsp)
movq %r13, %rsi
movq %rbp, %rcx
callq 0xeeee8
cmpq $0x0, 0x18(%r14)
jle 0x53b08
movq %r15, %r13
xorl %ebx, %ebx
movq 0x18(%rsp), %r15
xorl %ebp, %ebp
movl (%r14), %eax
movq 0x20(%r14), %rcx
movl %eax, 0x8(%rcx,%rbx)
movl 0x4(%r14), %eax
movl %eax, 0xc(%rcx,%rbx)
movq 0x8(%rsp), %rax
movq %rax, 0x18(%rcx,%rbx)
leal (%r12,%rbp), %edi
movl %edi, (%rcx,%rbx)
leaq 0x38(%rsp), %rsi
callq 0xec6fd
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 0x53abd
movq 0x10(%rsp), %rbp
movq %rbp, %rdi
movq %r14, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xf5c29
movq 0x18(%rsp), %rbx
jmp 0x53b36
leaq 0xcc7e5(%rip), %rsi     # 0x12030f
xorl %ebx, %ebx
movq %rbp, %rdi
xorl %eax, %eax
callq 0xe9df7
movq 0x20(%r14), %rsi
testq %rsi, %rsi
je 0x53b47
movq %rbp, %rdi
callq 0xe9752
movq %rbp, %rdi
movq %r14, %rsi
callq 0xf5801
movq %rbp, %rdi
movq %rbx, %rsi
callq 0xe9752
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq