// File: /workspace/github_c_makefile_star2_O3/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_font_atlas_add_compressed
NK_API struct nk_font*
nk_font_atlas_add_compressed(struct nk_font_atlas *atlas,
    void *compressed_data, nk_size compressed_size, float height,
    const struct nk_font_config *config)
{
    unsigned int decompressed_size;
    void *decompressed_data;
    struct nk_font_config cfg;

    NK_ASSERT(atlas);
    NK_ASSERT(atlas->temporary.alloc);
    NK_ASSERT(atlas->temporary.free);
    NK_ASSERT(atlas->permanent.alloc);
    NK_ASSERT(atlas->permanent.free);

    NK_ASSERT(compressed_data);
    NK_ASSERT(compressed_size);
    if (!atlas || !compressed_data || !atlas->temporary.alloc || !atlas->temporary.free ||
        !atlas->permanent.alloc || !atlas->permanent.free)
        return 0;

    decompressed_size = nk_decompress_length((unsigned char*)compressed_data);
    decompressed_data = atlas->permanent.alloc(atlas->permanent.userdata,0,decompressed_size);
    NK_ASSERT(decompressed_data);
    if (!decompressed_data) return 0;
    nk_decompress((unsigned char*)decompressed_data, (unsigned char*)compressed_data,
        (unsigned int)compressed_size);

    cfg = (config) ? *config: nk_font_config(height);
    cfg.ttf_blob = decompressed_data;
    cfg.ttf_size = decompressed_size;
    cfg.size = height;
    cfg.ttf_data_owned_by_atlas = 1;
    return nk_font_atlas_add(atlas, &cfg);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rcx, %r14
movss %xmm0, 0x4(%rsp)
movq %rdx, %rbp
movq %rsi, %r12
movq %rdi, %rbx
testq %rdi, %rdi
jne 0x34229
movq 0x52dec(%rip), %r15     # 0x86ff0
movq (%r15), %rdi
leaq 0x3cb8e(%rip), %rsi     # 0x70d9c
leaq 0x3cba5(%rip), %rdx     # 0x70dba
movl $0x44d0, %ecx           # imm = 0x44D0
xorl %eax, %eax
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
cmpq $0x0, 0x30(%rbx)
jne 0x3425c
movq 0x52db9(%rip), %r15     # 0x86ff0
movq (%r15), %rdi
leaq 0x3cb5b(%rip), %rsi     # 0x70d9c
leaq 0x3cb72(%rip), %rdx     # 0x70dba
movl $0x44d1, %ecx           # imm = 0x44D1
xorl %eax, %eax
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
cmpq $0x0, 0x38(%rbx)
jne 0x3428f
movq 0x52d86(%rip), %r15     # 0x86ff0
movq (%r15), %rdi
leaq 0x3cb28(%rip), %rsi     # 0x70d9c
leaq 0x3cb3f(%rip), %rdx     # 0x70dba
movl $0x44d2, %ecx           # imm = 0x44D2
xorl %eax, %eax
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
cmpq $0x0, 0x18(%rbx)
jne 0x342c2
movq 0x52d53(%rip), %r15     # 0x86ff0
movq (%r15), %rdi
leaq 0x3caf5(%rip), %rsi     # 0x70d9c
leaq 0x3cb0c(%rip), %rdx     # 0x70dba
movl $0x44d3, %ecx           # imm = 0x44D3
xorl %eax, %eax
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
cmpq $0x0, 0x20(%rbx)
jne 0x342f5
movq 0x52d20(%rip), %r15     # 0x86ff0
movq (%r15), %rdi
leaq 0x3cac2(%rip), %rsi     # 0x70d9c
leaq 0x3cad9(%rip), %rdx     # 0x70dba
movl $0x44d4, %ecx           # imm = 0x44D4
xorl %eax, %eax
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
testq %r12, %r12
jne 0x34326
movq 0x52cef(%rip), %r15     # 0x86ff0
movq (%r15), %rdi
leaq 0x3ca91(%rip), %rsi     # 0x70d9c
leaq 0x3caa8(%rip), %rdx     # 0x70dba
movl $0x44d6, %ecx           # imm = 0x44D6
xorl %eax, %eax
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
testq %rbp, %rbp
jne 0x34357
movq 0x52cbe(%rip), %r15     # 0x86ff0
movq (%r15), %rdi
leaq 0x3ca60(%rip), %rsi     # 0x70d9c
leaq 0x3ca77(%rip), %rdx     # 0x70dba
movl $0x44d7, %ecx           # imm = 0x44D7
xorl %eax, %eax
callq 0x12d80
movq (%r15), %rdi
callq 0x13780
testq %r12, %r12
sete %al
testq %rbx, %rbx
sete %cl
orb %al, %cl
jne 0x343e0
cmpq $0x0, 0x30(%rbx)
je 0x343e0
cmpq $0x0, 0x38(%rbx)
je 0x343e0
movq 0x18(%rbx), %rax
testq %rax, %rax
je 0x343e0
cmpq $0x0, 0x20(%rbx)
je 0x343e0
movl 0x8(%r12), %r15d
bswapl %r15d
movq 0x10(%rbx), %rdi
xorl %esi, %esi
movq %r15, %rdx
callq *%rax
testq %rax, %rax
je 0x343f4
movq %rax, 0x18(%rsp)
movq %r15, 0x10(%rsp)
movl (%r12), %eax
bswapl %eax
cmpl $0x57bc0000, %eax       # imm = 0x57BC0000
movss 0x4(%rsp), %xmm0
jne 0x343c9
movl 0x4(%r12), %eax
bswapl %eax
testl %eax, %eax
je 0x34462
leaq 0x20(%rsp), %rdi
testq %r14, %r14
je 0x34424
movl $0xb, %ecx
movq %r14, %rsi
rep  movsq (%rsi), %es:(%rdi)
jmp 0x34435
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x52bf5(%rip), %r14     # 0x86ff0
movq (%r14), %rdi
leaq 0x3c997(%rip), %rsi     # 0x70d9c
leaq 0x3c9ae(%rip), %rdx     # 0x70dba
xorl %ebx, %ebx
movl $0x44de, %ecx           # imm = 0x44DE
xorl %eax, %eax
callq 0x12d80
movq (%r14), %rdi
callq 0x13780
jmp 0x343e2
movss 0x4(%rsp), %xmm0
callq 0x12520
movss 0x4(%rsp), %xmm0
movq 0x10(%rsp), %rax
leaq 0x20(%rsp), %rsi
movq 0x18(%rsp), %rcx
movq %rcx, 0x8(%rsi)
movq %rax, 0x10(%rsi)
movss %xmm0, 0x20(%rsi)
movb $0x1, 0x18(%rsi)
movq %rbx, %rdi
callq 0x139e0
movq %rax, %rbx
jmp 0x343e2
movl 0x8(%r12), %ecx
bswapl %ecx
movq %r12, 0x53ca8(%rip)     # 0x88118
movl %ebp, %eax
addq %r12, %rax
movq %rax, 0x53ca4(%rip)     # 0x88120
movq 0x18(%rsp), %rdi
movq %rdi, %r13
movq %rcx, 0x8(%rsp)
addq %rcx, %r13
movq %r13, 0x53c95(%rip)     # 0x88128
movq %rdi, 0x53c96(%rip)     # 0x88130
addq $0x10, %r12
movq %rdi, 0x53c93(%rip)     # 0x88138
movq 0x52b44(%rip), %rbp     # 0x86ff0
movzbl (%r12), %esi
cmpl $0x20, %esi
jb 0x344fb
testb %sil, %sil
js 0x34580
cmpb $0x40, %sil
jb 0x345a9
shll $0x8, %esi
movzbl 0x1(%r12), %eax
addl %esi, %eax
addl $0xffffc001, %eax       # imm = 0xFFFFC001
subq %rax, %rdi
movzbl 0x2(%r12), %esi
incl %esi
callq 0x5668a
addq $0x3, %r12
movq %r12, %r15
movss 0x4(%rsp), %xmm0
jmp 0x34656
cmpb $0x18, %sil
jb 0x34538
shll $0x10, %esi
movzbl 0x1(%r12), %eax
shll $0x8, %eax
movzbl 0x2(%r12), %ecx
orl %esi, %ecx
addl %ecx, %eax
addl $0xffe80001, %eax       # imm = 0xFFE80001
subq %rax, %rdi
movzbl 0x3(%r12), %esi
incl %esi
callq 0x5668a
movss 0x4(%rsp), %xmm0
addq $0x4, %r12
jmp 0x345a1
cmpb $0x10, %sil
jb 0x345c4
shll $0x10, %esi
movzbl 0x1(%r12), %eax
shll $0x8, %eax
movzbl 0x2(%r12), %ecx
orl %esi, %ecx
addl %ecx, %eax
addl $0xfff00001, %eax       # imm = 0xFFF00001
subq %rax, %rdi
movzwl 0x3(%r12), %eax
rolw $0x8, %ax
movzwl %ax, %esi
incl %esi
callq 0x5668a
movss 0x4(%rsp), %xmm0
addq $0x5, %r12
jmp 0x345a1
movzbl 0x1(%r12), %eax
notq %rax
addq %rdi, %rax
addl $-0x7f, %esi
movq %rax, %rdi
callq 0x5668a
movss 0x4(%rsp), %xmm0
addq $0x2, %r12
movq %r12, %r15
jmp 0x34656
leaq 0x1(%r12), %rdi
addl $-0x1f, %esi
callq 0x56730
movzbl (%r12), %eax
movq $-0x1e, %r15
jmp 0x34641
cmpb $0x8, %sil
jb 0x345fa
leaq 0x2(%r12), %rdi
shll $0x8, %esi
movzbl 0x1(%r12), %eax
addl %eax, %esi
addl $0xfffff801, %esi       # imm = 0xFFFFF801
callq 0x56730
movzwl (%r12), %eax
rolw $0x8, %ax
movzwl %ax, %eax
movq $-0x7fd, %r15           # imm = 0xF803
jmp 0x34641
cmpl $0x4, %esi
je 0x346d6
cmpl $0x6, %esi
je 0x346a7
cmpl $0x7, %esi
jne 0x34721
leaq 0x3(%r12), %rdi
movzwl 0x1(%r12), %eax
rolw $0x8, %ax
movzwl %ax, %esi
incl %esi
callq 0x56730
movzwl 0x1(%r12), %eax
rolw $0x8, %ax
movzwl %ax, %eax
movl $0x4, %r15d
addq %r12, %r15
addq %rax, %r15
cmpq %r12, %r15
movss 0x4(%rsp), %xmm0
je 0x3471d
movq 0x53adb(%rip), %rdi     # 0x88138
cmpq %r13, %rdi
jbe 0x34696
movq (%rbp), %rdi
leaq 0x3c72f(%rip), %rsi     # 0x70d9c
leaq 0x3c746(%rip), %rdx     # 0x70dba
movl $0x43cc, %ecx           # imm = 0x43CC
xorl %eax, %eax
callq 0x12d80
movq (%rbp), %rdi
callq 0x13780
movss 0x4(%rsp), %xmm0
movq 0x53aa2(%rip), %rdi     # 0x88138
movq %r15, %r12
cmpq %r13, %rdi
jbe 0x344ac
jmp 0x343c9
movzbl 0x1(%r12), %eax
shll $0x10, %eax
movzbl 0x2(%r12), %ecx
shll $0x8, %ecx
movzbl 0x3(%r12), %edx
orq %rax, %rdx
orq %rcx, %rdx
notq %rdx
addq %rdx, %rdi
movzbl 0x4(%r12), %esi
jmp 0x3456d
movzbl 0x1(%r12), %eax
shll $0x10, %eax
movzbl 0x2(%r12), %ecx
shll $0x8, %ecx
movzbl 0x3(%r12), %edx
orq %rax, %rdx
orq %rcx, %rdx
notq %rdx
addq %rdx, %rdi
movzwl 0x4(%r12), %eax
rolw $0x8, %ax
movzwl %ax, %esi
incl %esi
callq 0x5668a
movss 0x4(%rsp), %xmm0
addq $0x6, %r12
jmp 0x345a1
movb (%r12), %sil
cmpb $0x5, %sil
jne 0x347cd
cmpb $-0x6, 0x1(%r12)
jne 0x347cd
cmpq %r13, 0x539fa(%rip)     # 0x88138
je 0x3477a
movq (%rbp), %rdi
leaq 0x3c651(%rip), %rsi     # 0x70d9c
leaq 0x3c668(%rip), %rdx     # 0x70dba
movl $0x43c2, %ecx           # imm = 0x43C2
xorl %eax, %eax
callq 0x12d80
movq (%rbp), %rdi
callq 0x13780
movss 0x4(%rsp), %xmm0
cmpq %r13, 0x539c4(%rip)     # 0x88138
jne 0x343c9
cmpl $0x0, 0x8(%rsp)
je 0x343c9
movq 0x8(%rsp), %rdx
movl %edx, %eax
imulq $0x5e6ea9af, %rax, %rax # imm = 0x5E6EA9AF
shrq $0x2b, %rax
imull $0x15b0, %eax, %ecx     # imm = 0x15B0
movl %edx, %eax
subl %ecx, %eax
cmpq $0x8, %rax
jb 0x347b5
movl $0x7, %ecx
addq $0x8, %rcx
cmpq %rax, %rcx
jb 0x347ac
movq 0x8(%rsp), %rcx
subl %eax, %ecx
movq %rcx, 0x8(%rsp)
movl $0x15b0, %eax           # imm = 0x15B0
jne 0x347a1
jmp 0x343c9
movq (%rbp), %rdi
leaq 0x3c5c4(%rip), %rsi     # 0x70d9c
leaq 0x3c5db(%rip), %rdx     # 0x70dba
movl $0x43c8, %ecx           # imm = 0x43C8
xorl %eax, %eax
callq 0x12d80
movq (%rbp), %rdi
callq 0x13780
movss 0x4(%rsp), %xmm0
jmp 0x343c9