// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_font_query_font_glyph
NK_INTERN void
nk_font_query_font_glyph(nk_handle handle, float height,
    struct nk_user_font_glyph *glyph, nk_rune codepoint, nk_rune next_codepoint)
{
    float scale;
    const struct nk_font_glyph *g;
    struct nk_font *font;

    NK_ASSERT(glyph);
    NK_UNUSED(next_codepoint);

    font = (struct nk_font*)handle.ptr;
    NK_ASSERT(font);
    NK_ASSERT(font->glyphs);
    if (!font || !glyph)
        return;

    scale = height/font->info.height;
    g = nk_font_find_glyph(font, codepoint);
    glyph->width = (g->x1 - g->x0) * scale;
    glyph->height = (g->y1 - g->y0) * scale;
    glyph->offset = nk_vec2(g->x0 * scale, g->y0 * scale);
    glyph->xadvance = (g->xadvance * scale);
    glyph->uv[0] = nk_vec2(g->u0, g->v0);
    glyph->uv[1] = nk_vec2(g->u1, g->v1);
}

// Assembly:
subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movss %xmm0, 0x5c(%rsp)
movq %rsi, 0x50(%rsp)
movl %edx, 0x4c(%rsp)
movl %ecx, 0x48(%rsp)
cmpq $0x0, 0x50(%rsp)
jne 0x853c7
movq 0x3fc55(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x2bffb(%rip), %rsi     # 0xb13a0
leaq 0x2c012(%rip), %rdx     # 0xb13be
movl $0x427e, %ecx           # imm = 0x427E
movb $0x0, %al
callq 0x13ec0
movq 0x3fc31(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x853c9
movq 0x60(%rsp), %rax
movq %rax, 0x30(%rsp)
cmpq $0x0, 0x30(%rsp)
jne 0x8540e
movq 0x3fc0e(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x2bfb4(%rip), %rsi     # 0xb13a0
leaq 0x2bfcb(%rip), %rdx     # 0xb13be
movl $0x4282, %ecx           # imm = 0x4282
movb $0x0, %al
callq 0x13ec0
movq 0x3fbea(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x85410
jmp 0x85412
movq 0x30(%rsp), %rax
cmpq $0x0, 0x58(%rax)
jne 0x85451
movq 0x3fbcb(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x2bf71(%rip), %rsi     # 0xb13a0
leaq 0x2bf88(%rip), %rdx     # 0xb13be
movl $0x4283, %ecx           # imm = 0x4283
movb $0x0, %al
callq 0x13ec0
movq 0x3fba7(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x85453
cmpq $0x0, 0x30(%rsp)
je 0x85463
cmpq $0x0, 0x50(%rsp)
jne 0x85468
jmp 0x855a2
movss 0x5c(%rsp), %xmm0
movq 0x30(%rsp), %rax
movss 0x30(%rax), %xmm1
divss %xmm1, %xmm0
movss %xmm0, 0x44(%rsp)
movq 0x30(%rsp), %rdi
movl 0x4c(%rsp), %esi
callq 0x15260
movq %rax, 0x38(%rsp)
movq 0x38(%rsp), %rax
movss 0x8(%rax), %xmm1
movss 0x10(%rax), %xmm0
subss %xmm1, %xmm0
movss 0x44(%rsp), %xmm1
mulss %xmm1, %xmm0
movq 0x50(%rsp), %rax
movss %xmm0, 0x18(%rax)
movq 0x38(%rsp), %rax
movss 0xc(%rax), %xmm1
movss 0x14(%rax), %xmm0
subss %xmm1, %xmm0
movss 0x44(%rsp), %xmm1
mulss %xmm1, %xmm0
movq 0x50(%rsp), %rax
movss %xmm0, 0x1c(%rax)
movq 0x50(%rsp), %rax
movq %rax, (%rsp)
movq 0x38(%rsp), %rax
movss 0x44(%rsp), %xmm2
movss 0x8(%rax), %xmm0
movss 0xc(%rax), %xmm1
mulss %xmm2, %xmm0
mulss %xmm2, %xmm1
callq 0x13460
movq (%rsp), %rax
movlpd %xmm0, 0x28(%rsp)
movq 0x28(%rsp), %rcx
movq %rcx, 0x10(%rax)
movq 0x38(%rsp), %rax
movss 0x4(%rax), %xmm0
movss 0x44(%rsp), %xmm1
mulss %xmm1, %xmm0
movq 0x50(%rsp), %rax
movss %xmm0, 0x20(%rax)
movq 0x50(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x38(%rsp), %rax
movss 0x20(%rax), %xmm0
movss 0x24(%rax), %xmm1
callq 0x13460
movq 0x8(%rsp), %rax
movlpd %xmm0, 0x20(%rsp)
movq 0x20(%rsp), %rcx
movq %rcx, (%rax)
movq 0x50(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x38(%rsp), %rax
movss 0x28(%rax), %xmm0
movss 0x2c(%rax), %xmm1
callq 0x13460
movq 0x10(%rsp), %rax
movlpd %xmm0, 0x18(%rsp)
movq 0x18(%rsp), %rcx
movq %rcx, 0x8(%rax)
addq $0x68, %rsp
retq
nopw (%rax,%rax)