// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_font_atlas_add_compressed_base85
NK_API struct nk_font*
nk_font_atlas_add_compressed_base85(struct nk_font_atlas *atlas,
    const char *data_base85, float height, const struct nk_font_config *config)
{
    int compressed_size;
    void *compressed_data;
    struct nk_font *font;

    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(data_base85);
    if (!atlas || !data_base85 || !atlas->temporary.alloc || !atlas->temporary.free ||
        !atlas->permanent.alloc || !atlas->permanent.free)
        return 0;

    compressed_size = (((int)nk_strlen(data_base85) + 4) / 5) * 4;
    compressed_data = atlas->temporary.alloc(atlas->temporary.userdata,0, (nk_size)compressed_size);
    NK_ASSERT(compressed_data);
    if (!compressed_data) return 0;
    nk_decode_85((unsigned char*)compressed_data, (const unsigned char*)data_base85);
    font = nk_font_atlas_add_compressed(atlas, compressed_data,
                    (nk_size)compressed_size, height, config);
    atlas->temporary.free(atlas->temporary.userdata, compressed_data);
    return font;
}

// Assembly:
subq $0x48, %rsp
movq %rdi, 0x38(%rsp)
movq %rsi, 0x30(%rsp)
movss %xmm0, 0x2c(%rsp)
movq %rdx, 0x20(%rsp)
cmpq $0x0, 0x38(%rsp)
jne 0x48b24
movq 0x7c4f8(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x6889e(%rip), %rsi     # 0xb13a0
leaq 0x688b5(%rip), %rdx     # 0xb13be
movl $0x44f2, %ecx           # imm = 0x44F2
movb $0x0, %al
callq 0x13ec0
movq 0x7c4d4(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x48b26
jmp 0x48b28
movq 0x38(%rsp), %rax
cmpq $0x0, 0x30(%rax)
jne 0x48b67
movq 0x7c4b5(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x6885b(%rip), %rsi     # 0xb13a0
leaq 0x68872(%rip), %rdx     # 0xb13be
movl $0x44f3, %ecx           # imm = 0x44F3
movb $0x0, %al
callq 0x13ec0
movq 0x7c491(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x48b69
jmp 0x48b6b
movq 0x38(%rsp), %rax
cmpq $0x0, 0x38(%rax)
jne 0x48baa
movq 0x7c472(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x68818(%rip), %rsi     # 0xb13a0
leaq 0x6882f(%rip), %rdx     # 0xb13be
movl $0x44f4, %ecx           # imm = 0x44F4
movb $0x0, %al
callq 0x13ec0
movq 0x7c44e(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x48bac
jmp 0x48bae
movq 0x38(%rsp), %rax
cmpq $0x0, 0x18(%rax)
jne 0x48bed
movq 0x7c42f(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x687d5(%rip), %rsi     # 0xb13a0
leaq 0x687ec(%rip), %rdx     # 0xb13be
movl $0x44f5, %ecx           # imm = 0x44F5
movb $0x0, %al
callq 0x13ec0
movq 0x7c40b(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x48bef
jmp 0x48bf1
movq 0x38(%rsp), %rax
cmpq $0x0, 0x20(%rax)
jne 0x48c30
movq 0x7c3ec(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x68792(%rip), %rsi     # 0xb13a0
leaq 0x687a9(%rip), %rdx     # 0xb13be
movl $0x44f6, %ecx           # imm = 0x44F6
movb $0x0, %al
callq 0x13ec0
movq 0x7c3c8(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x48c32
jmp 0x48c34
cmpq $0x0, 0x30(%rsp)
jne 0x48c6f
movq 0x7c3ad(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x68753(%rip), %rsi     # 0xb13a0
leaq 0x6876a(%rip), %rdx     # 0xb13be
movl $0x44f8, %ecx           # imm = 0x44F8
movb $0x0, %al
callq 0x13ec0
movq 0x7c389(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x48c71
cmpq $0x0, 0x38(%rsp)
je 0x48cb1
cmpq $0x0, 0x30(%rsp)
je 0x48cb1
movq 0x38(%rsp), %rax
cmpq $0x0, 0x30(%rax)
je 0x48cb1
movq 0x38(%rsp), %rax
cmpq $0x0, 0x38(%rax)
je 0x48cb1
movq 0x38(%rsp), %rax
cmpq $0x0, 0x18(%rax)
je 0x48cb1
movq 0x38(%rsp), %rax
cmpq $0x0, 0x20(%rax)
jne 0x48cbf
movq $0x0, 0x40(%rsp)
jmp 0x48da3
movq 0x30(%rsp), %rdi
callq 0x14050
addl $0x4, %eax
movl $0x5, %ecx
cltd
idivl %ecx
shll $0x2, %eax
movl %eax, 0x1c(%rsp)
movq 0x38(%rsp), %rax
movq 0x30(%rax), %rax
movq 0x38(%rsp), %rcx
movslq 0x1c(%rsp), %rdx
movq 0x28(%rcx), %rdi
xorl %ecx, %ecx
movl %ecx, %esi
callq *%rax
movq %rax, 0x10(%rsp)
cmpq $0x0, 0x10(%rsp)
jne 0x48d38
movq 0x7c2e4(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x6868a(%rip), %rsi     # 0xb13a0
leaq 0x686a1(%rip), %rdx     # 0xb13be
movl $0x44ff, %ecx           # imm = 0x44FF
movb $0x0, %al
callq 0x13ec0
movq 0x7c2c0(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x48d3a
cmpq $0x0, 0x10(%rsp)
jne 0x48d4d
movq $0x0, 0x40(%rsp)
jmp 0x48da3
movq 0x10(%rsp), %rdi
movq 0x30(%rsp), %rsi
callq 0x48db0
movq 0x38(%rsp), %rdi
movq 0x10(%rsp), %rsi
movslq 0x1c(%rsp), %rdx
movss 0x2c(%rsp), %xmm0
movq 0x20(%rsp), %rcx
callq 0x142a0
movq %rax, 0x8(%rsp)
movq 0x38(%rsp), %rax
movq 0x38(%rax), %rax
movq 0x38(%rsp), %rcx
movq 0x10(%rsp), %rsi
movq 0x28(%rcx), %rdi
callq *%rax
movq 0x8(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x40(%rsp), %rax
addq $0x48, %rsp
retq
nopl (%rax)