// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_font_atlas_cleanup
NK_API void
nk_font_atlas_cleanup(struct nk_font_atlas *atlas)
{
    NK_ASSERT(atlas);
    NK_ASSERT(atlas->temporary.alloc);
    NK_ASSERT(atlas->temporary.free);
    NK_ASSERT(atlas->permanent.alloc);
    NK_ASSERT(atlas->permanent.free);
    if (!atlas || !atlas->permanent.alloc || !atlas->permanent.free) return;
    if (atlas->config) {
        struct nk_font_config *iter;
        for (iter = atlas->config; iter; iter = iter->next) {
            struct nk_font_config *i;
            for (i = iter->n; i != iter; i = i->n) {
                atlas->permanent.free(atlas->permanent.userdata, i->ttf_blob);
                i->ttf_blob = 0;
            }
            atlas->permanent.free(atlas->permanent.userdata, iter->ttf_blob);
            iter->ttf_blob = 0;
        }
    }
}

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
cmpq $0x0, 0x10(%rsp)
jne 0x4bd24
movq 0x792f8(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x6569e(%rip), %rsi     # 0xb13a0
leaq 0x656b5(%rip), %rdx     # 0xb13be
movl $0x45b9, %ecx           # imm = 0x45B9
movb $0x0, %al
callq 0x13ec0
movq 0x792d4(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x4bd26
jmp 0x4bd28
movq 0x10(%rsp), %rax
cmpq $0x0, 0x30(%rax)
jne 0x4bd67
movq 0x792b5(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x6565b(%rip), %rsi     # 0xb13a0
leaq 0x65672(%rip), %rdx     # 0xb13be
movl $0x45ba, %ecx           # imm = 0x45BA
movb $0x0, %al
callq 0x13ec0
movq 0x79291(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x4bd69
jmp 0x4bd6b
movq 0x10(%rsp), %rax
cmpq $0x0, 0x38(%rax)
jne 0x4bdaa
movq 0x79272(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x65618(%rip), %rsi     # 0xb13a0
leaq 0x6562f(%rip), %rdx     # 0xb13be
movl $0x45bb, %ecx           # imm = 0x45BB
movb $0x0, %al
callq 0x13ec0
movq 0x7924e(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x4bdac
jmp 0x4bdae
movq 0x10(%rsp), %rax
cmpq $0x0, 0x18(%rax)
jne 0x4bded
movq 0x7922f(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x655d5(%rip), %rsi     # 0xb13a0
leaq 0x655ec(%rip), %rdx     # 0xb13be
movl $0x45bc, %ecx           # imm = 0x45BC
movb $0x0, %al
callq 0x13ec0
movq 0x7920b(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x4bdef
jmp 0x4bdf1
movq 0x10(%rsp), %rax
cmpq $0x0, 0x20(%rax)
jne 0x4be30
movq 0x791ec(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x65592(%rip), %rsi     # 0xb13a0
leaq 0x655a9(%rip), %rdx     # 0xb13be
movl $0x45bd, %ecx           # imm = 0x45BD
movb $0x0, %al
callq 0x13ec0
movq 0x791c8(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x4be32
cmpq $0x0, 0x10(%rsp)
je 0x4be52
movq 0x10(%rsp), %rax
cmpq $0x0, 0x18(%rax)
je 0x4be52
movq 0x10(%rsp), %rax
cmpq $0x0, 0x20(%rax)
jne 0x4be57
jmp 0x4bf13
movq 0x10(%rsp), %rax
cmpq $0x0, 0x180(%rax)
je 0x4bf13
movq 0x10(%rsp), %rax
movq 0x180(%rax), %rax
movq %rax, 0x8(%rsp)
cmpq $0x0, 0x8(%rsp)
je 0x4bf11
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rax
movq %rax, (%rsp)
movq (%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x4bed5
movq 0x10(%rsp), %rax
movq 0x20(%rax), %rax
movq 0x10(%rsp), %rcx
movq (%rsp), %rdx
movq 0x8(%rdx), %rsi
movq 0x10(%rcx), %rdi
callq *%rax
movq (%rsp), %rax
movq $0x0, 0x8(%rax)
movq (%rsp), %rax
movq 0x48(%rax), %rax
movq %rax, (%rsp)
jmp 0x4be94
movq 0x10(%rsp), %rax
movq 0x20(%rax), %rax
movq 0x10(%rsp), %rcx
movq 0x8(%rsp), %rdx
movq 0x8(%rdx), %rsi
movq 0x10(%rcx), %rdi
callq *%rax
movq 0x8(%rsp), %rax
movq $0x0, 0x8(%rax)
movq 0x8(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x8(%rsp)
jmp 0x4be7b
jmp 0x4bf13
addq $0x18, %rsp
retq
nopl (%rax,%rax)