// File: /workspace/github_c_makefile_star2_O2/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, %r15
callq 0x50feb
testl %eax, %eax
movq %r15, 0x8(%rsp)
je 0x50d46
leaq 0xc27ab(%rip), %rsi     # 0x11321a
movq %r15, %rdi
callq 0xe07f7
leaq 0xdb970(%rip), %rsi     # 0x12c3ee
movq %r15, %rdi
xorl %edx, %edx
xorl %eax, %eax
callq 0xde896
pushq $0x1
popq %rbp
movq %r15, %rdi
movl %ebp, %esi
callq 0xdeba7
movq %r15, %rdi
callq 0xe9d18
movq %rax, %r12
movb $0x1, 0x10(%rax)
movq %r15, %rdi
callq 0xeac74
movq %rax, %rbx
movq 0x18(%r15), %rdi
pushq $0x1
popq %rsi
pushq $0xd
popq %rdx
movq %rax, %rcx
movl %ebp, %r8d
movl %ebp, %r9d
callq 0xe4c9a
movq %rbx, 0x18(%rsp)
movq %rbx, %rdi
callq 0xeb7e4
leaq 0xc4ade(%rip), %rsi     # 0x1155bb
movq %r15, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
movq 0x18(%r15), %rdi
pushq $0x10
popq %rsi
callq 0xe3eb4
movzbl %al, %edx
movq %rdx, 0x18(%r12)
leaq 0xc2737(%rip), %rsi     # 0x11323c
movq %r15, %rdi
xorl %eax, %eax
callq 0xde896
movq 0x18(%r15), %rdi
pushq $0x13
popq %rsi
callq 0xe3eb4
movzbl %al, %edx
leaq 0xc272c(%rip), %rsi     # 0x113251
movq %r15, %rdi
xorl %eax, %eax
callq 0xde896
movq 0x18(%r15), %rdi
pushq $0x14
popq %rsi
callq 0xe3eb4
movzbl %al, %edx
movl %edx, 0x4(%r12)
leaq 0xb95f2(%rip), %rsi     # 0x10a13c
movq %r15, %rdi
xorl %eax, %eax
callq 0xde896
movq 0x18(%r15), %rdi
pushq $0x15
popq %rsi
callq 0xe3eb4
movzbl %al, %eax
movq %rax, 0x20(%rsp)
pushq $-0x1
popq %rsi
movq %r15, %rdi
callq 0xdeba7
movq 0x18(%r12), %rax
addq %rax, %rax
cmpq $0xbf, %rax
movl $0xbe, %ebx
cmovgeq %rax, %rbx
leal 0x3b(%rbx), %ecx
leaq 0xc26cc(%rip), %rsi     # 0x113260
pushq $0x3b
popq %rdx
movq %r15, %rdi
xorl %eax, %eax
callq 0xde896
movq %r15, %rdi
movl %ebp, %esi
callq 0xdeba7
movq 0x18(%r12), %rsi
pushq $0x28
popq %rdx
movq %r15, %rdi
callq 0xdf66f
movq %rax, 0x20(%r12)
addq $0x3c, %rbx
movq %rbx, 0x28(%rsp)
pushq $0x3d
popq %rsi
xorl %r14d, %r14d
movl $0x0, (%rsp)
xorl %r15d, %r15d
movq %r12, 0x30(%rsp)
cmpq 0x18(%r12), %r15
jge 0x50cb1
movq 0x20(%r12), %rbp
leal 0x21(%r15), %eax
movl %eax, (%rbp,%r14)
movq %r12, %rbx
movq 0x8(%rsp), %r12
movq 0x18(%r12), %rdi
movq %rsi, 0x10(%rsp)
callq 0xe3fa3
movq %rax, %r13
movq 0x18(%r12), %rdi
movq 0x28(%rsp), %rax
leaq (%rax,%r15), %rsi
callq 0xe3eb4
movzbl %al, %r8d
movl %r8d, 0x8(%rbp,%r14)
movl (%rbp,%r14), %ecx
movq %r12, %rdi
leaq 0xc2651(%rip), %rsi     # 0x11328d
movl %r15d, %edx
movl %r13d, %r9d
xorl %eax, %eax
callq 0xde9f1
movl 0x8(%rbp,%r14), %eax
testl %eax, %eax
jle 0x50c97
movl (%rsp), %ecx
cmpl %ecx, %eax
cmovgl %eax, %ecx
movl %ecx, (%rsp)
movslq 0x4(%rbx), %rbx
movl %ebx, 0xc(%rbp,%r14)
movq 0x20(%rsp), %rax
movq %rax, 0x18(%rbp,%r14)
imulq %rax, %rbx
movq %r12, %rdi
movq %rbx, %rsi
callq 0xdecaf
movq %rax, 0x20(%rbp,%r14)
movq 0x18(%r12), %rdi
movq %rax, %rsi
movq %r13, %rdx
movq %rbx, %rcx
callq 0xe3cb7
incq %r15
movq 0x10(%rsp), %rsi
addq $0x2, %rsi
addq $0x28, %r14
movq 0x30(%rsp), %r12
jmp 0x50bde
pushq $-0x1
popq %rsi
movq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0xdeba7
leaq 0xc25f3(%rip), %rsi     # 0x1132bb
movq %r15, %rdi
movl (%rsp), %ebx
movl %ebx, %edx
xorl %eax, %eax
callq 0xde896
movl %ebx, (%r12)
movq %r15, %rdi
movq %r12, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xea0f6
movq 0x20(%r12), %rsi
testq %rsi, %rsi
je 0x50d23
pushq $0x20
popq %rbx
xorl %r14d, %r14d
cmpq 0x18(%r12), %r14
jge 0x50d1b
movq (%rsi,%rbx), %rsi
movq %r15, %rdi
callq 0xded32
incq %r14
movq 0x20(%r12), %rsi
addq $0x28, %rbx
jmp 0x50cfa
movq %r15, %rdi
callq 0xded32
movq %r15, %rdi
movq %r12, %rsi
callq 0xe9d28
movq 0x18(%rsp), %rdi
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xeaf3c
leaq 0xc24de(%rip), %rsi     # 0x11322b
movq %r15, %rdi
callq 0xe07f7
movq %r15, %rdi
callq 0xe9d18
movq %rax, %r14
movq 0x18(%r15), %rdi
xorl %esi, %esi
callq 0xe3fa3
leaq 0xc2566(%rip), %rsi     # 0x1132d8
movq %r15, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
movw $0x101, 0x10(%r14)      # imm = 0x101
movq 0x18(%r15), %rdi
pushq $0x2
popq %rsi
callq 0xe3eb4
movzbl %al, %eax
testb %al, %al
movl $0x100, %ecx            # imm = 0x100
cmovneq %rax, %rcx
movq %rcx, 0x18(%r14)
movq 0x18(%r15), %rdi
pushq $0x3
popq %rsi
callq 0xe3eb4
movzbl %al, %ebx
movq 0x18(%r15), %rdi
pushq $0x4
popq %rsi
callq 0xe3eb4
movzbl %al, %eax
movl %eax, (%r14)
movq 0x18(%r15), %rdi
pushq $0x5
popq %rsi
callq 0xe3eb4
movzbl %al, %eax
movl %eax, 0x4(%r14)
movq 0x18(%r15), %rdi
pushq $0x6
popq %rsi
callq 0xe3eb4
movzbl %al, %r12d
movl 0x18(%r14), %edx
leaq 0xc24fd(%rip), %rsi     # 0x1132ef
movq %r15, %rdi
movq %rbx, 0x10(%rsp)
movl %ebx, %ecx
xorl %eax, %eax
callq 0xde896
movl (%r14), %edx
movl 0x4(%r14), %ecx
leaq 0xc2508(%rip), %rsi     # 0x113319
movq %r15, %rdi
movl %r12d, %r8d
xorl %eax, %eax
callq 0xde896
movl (%r14), %ecx
leal 0x7(%rcx), %eax
pushq $0x8
popq %rsi
cltd
idivl %esi
movslq 0x4(%r14), %rdx
testq %rdx, %rdx
jle 0x50f01
testl %ecx, %ecx
jle 0x50f01
movslq %eax, %r13
imulq %r13, %rdx
cmpq %r12, %rdx
jg 0x50f01
movq 0x18(%r14), %rsi
pushq $0x28
popq %rdx
movq %r15, %rdi
callq 0xdf66f
movq %rax, 0x20(%r14)
movq 0x18(%r14), %rbx
imulq %r12, %rbx
movq %r15, %rdi
movq %rbx, %rsi
callq 0xdecaf
movq %rax, %rbp
leaq 0x38(%rsp), %rdi
pushq $0xd
popq %rsi
callq 0xe11fc
movq 0x18(%r15), %rdi
pushq $0x7
popq %rdx
movq %rbp, %rsi
movq %rbx, %rcx
callq 0xe3cb7
xorl %ebx, %ebx
movq %rbp, (%rsp)
movq %rbp, %r15
xorl %ebp, %ebp
cmpq 0x18(%r14), %rbp
jge 0x50ee7
movq (%r14), %rax
movq 0x20(%r14), %rcx
movq %rax, 0x8(%rcx,%rbx)
movq %r13, 0x18(%rcx,%rbx)
movq 0x10(%rsp), %rax
leal (%rax,%rbp), %edi
movl %edi, (%rcx,%rbx)
leaq 0x38(%rsp), %rsi
callq 0xe1679
movq 0x20(%r14), %rcx
movl %eax, 0x4(%rcx,%rbx)
movq %r15, 0x20(%rcx,%rbx)
incq %rbp
addq $0x28, %rbx
addq %r12, %r15
jmp 0x50ea2
movq 0x8(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xea0f6
movq (%rsp), %rbx
jmp 0x50f14
leaq 0xc243d(%rip), %rsi     # 0x113345
xorl %ebx, %ebx
movq %r15, %rdi
xorl %eax, %eax
callq 0xdf2a5
movq 0x20(%r14), %rsi
testq %rsi, %rsi
je 0x50f25
movq %r15, %rdi
callq 0xded32
movq %r15, %rdi
movq %r14, %rsi
callq 0xe9d28
movq %r15, %rdi
movq %rbx, %rsi
callq 0xded32
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq