// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imgui_widgets.cpp
// Function: ImGui::LabelTextV(char const*, char const*, __va_list_tag*)
void ImGui::LabelTextV(const char* label, const char* fmt, va_list args)
{
    ImGuiWindow* window = GetCurrentWindow();
    if (window->SkipItems)
        return;

    ImGuiContext& g = *GImGui;
    const ImGuiStyle& style = g.Style;
    const float w = CalcItemWidth();

    const ImVec2 label_size = CalcTextSize(label, NULL, true);
    const ImRect value_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w, label_size.y + style.FramePadding.y * 2));
    const ImRect total_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w + (label_size.x > 0.0f ? style.ItemInnerSpacing.x : 0.0f), style.FramePadding.y * 2) + label_size);
    ItemSize(total_bb, style.FramePadding.y);
    if (!ItemAdd(total_bb, 0))
        return;

    // Render
    const char* value_text_begin = &g.TempBuffer[0];
    const char* value_text_end = value_text_begin + ImFormatStringV(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), fmt, args);
    RenderTextClipped(value_bb.Min, value_bb.Max, value_text_begin, value_text_end, NULL, ImVec2(0.0f, 0.5f));
    if (label_size.x > 0.0f)
        RenderText(ImVec2(value_bb.Max.x + style.ItemInnerSpacing.x, value_bb.Min.y + style.FramePadding.y), label);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
leaq 0x6b52a(%rip), %rax     # 0xfbcd0
movq (%rax), %rbx
movq 0x1ae0(%rbx), %r12
movb $0x1, 0x90(%r12)
cmpb $0x0, 0x93(%r12)
jne 0x90935
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r13
callq 0x5614d
movaps %xmm0, -0x50(%rbp)
movss 0x247ee(%rip), %xmm0    # 0xb4fd0
movq %r13, %rdi
xorl %esi, %esi
movl $0x1, %edx
callq 0x44a23
movaps -0x50(%rbp), %xmm7
movaps %xmm0, %xmm6
movaps %xmm0, %xmm1
shufps $0x55, %xmm0, %xmm1     # xmm1 = xmm1[1,1],xmm0[1,1]
movss 0x159c(%rbx), %xmm0
movaps %xmm0, %xmm2
addss %xmm0, %xmm2
movaps %xmm1, %xmm3
addss %xmm2, %xmm3
movss 0xd8(%r12), %xmm4
addss 0xdc(%r12), %xmm3
addss %xmm7, %xmm4
unpcklps %xmm3, %xmm4            # xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
movq 0xd8(%r12), %rax
movq %rax, -0x38(%rbp)
movlps %xmm4, -0x30(%rbp)
movq %rax, %rcx
shrq $0x20, %rcx
xorps %xmm5, %xmm5
ucomiss %xmm5, %xmm6
movd %eax, %xmm3
movd %ecx, %xmm4
jbe 0x9085f
movss 0x15b0(%rbx), %xmm5
addss %xmm5, %xmm7
addss %xmm3, %xmm7
addss %xmm4, %xmm2
addss %xmm6, %xmm7
addss %xmm1, %xmm2
unpcklps %xmm2, %xmm7            # xmm7 = xmm7[0],xmm2[0],xmm7[1],xmm2[1]
leaq -0x68(%rbp), %r12
movq %rax, (%r12)
movlps %xmm7, 0x8(%r12)
movq %r12, %rdi
movaps %xmm6, -0x50(%rbp)
callq 0x559be
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x524a8
testb %al, %al
je 0x90935
leaq -0x30(%rbp), %r12
movq %r14, %rcx
movq %r13, %r14
leaq 0x3378(%rbx), %r13
movl $0xc01, %esi            # imm = 0xC01
movq %r13, %rdi
movq %r15, %rdx
callq 0x41fc7
cltq
leaq (%rbx,%rax), %rcx
addq $0x3378, %rcx           # imm = 0x3378
movabsq $0x3f00000000000000, %rax # imm = 0x3F00000000000000
leaq -0x58(%rbp), %r9
movq %rax, (%r9)
movq $0x0, (%rsp)
leaq -0x38(%rbp), %rdi
movq %r12, %rsi
movq %r13, %rdx
xorl %r8d, %r8d
callq 0x44ac2
xorps %xmm0, %xmm0
movaps -0x50(%rbp), %xmm1
ucomiss %xmm0, %xmm1
jbe 0x90935
movss -0x30(%rbp), %xmm0
addss 0x15b0(%rbx), %xmm0
movss -0x34(%rbp), %xmm1
addss 0x159c(%rbx), %xmm1
unpcklps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movq %r14, %rdi
xorl %esi, %esi
movl $0x1, %edx
callq 0x44476
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq