// File: /workspace/github_cpp_makefile_star2_O3/donfreiday[P]gb/./imgui/imgui.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;

    ImGuiState& 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 + style.FramePadding.x*2, label_size.y + style.FramePadding.y*2));
    const ImRect total_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w + style.FramePadding.x*2 + (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, NULL))
        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, ImGuiAlign_VCenter);
    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 $0x68, %rsp
movq 0x3f492(%rip), %r14     # 0x55480
movq 0x1758(%r14), %r12
movb $0x1, 0x72(%r12)
cmpb $0x0, 0x74(%r12)
jne 0x16199
movq %rdx, %r13
movq %rsi, %r15
movq %rdi, %rbx
callq 0x14877
movss %xmm0, -0x40(%rbp)
movss 0x2737a(%rip), %xmm0    # 0x3d39c
movq %rbx, %rdi
xorl %esi, %esi
movl $0x1, %edx
callq 0xe505
movaps %xmm0, %xmm1
movss 0x1408(%r14), %xmm2
movss 0x140c(%r14), %xmm0
addss %xmm2, %xmm2
addss -0x40(%rbp), %xmm2
movaps %xmm1, %xmm4
shufps $0x55, %xmm1, %xmm4     # xmm4 = xmm4[1,1],xmm1[1,1]
movaps %xmm0, %xmm3
addss %xmm0, %xmm3
movaps %xmm4, %xmm6
addss %xmm3, %xmm6
movss 0xac(%r12), %xmm5
movss 0xa8(%r12), %xmm7
addss %xmm2, %xmm7
addss %xmm5, %xmm6
movaps %xmm7, -0x40(%rbp)
unpcklps %xmm6, %xmm7            # xmm7 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
movq 0xa8(%r12), %rax
movq %rax, -0x50(%rbp)
movlps %xmm7, -0x48(%rbp)
movq %rax, %rcx
shrq $0x20, %rcx
xorps %xmm7, %xmm7
ucomiss %xmm7, %xmm1
movd %eax, %xmm6
movd %ecx, %xmm8
jbe 0x160b8
movss 0x141c(%r14), %xmm7
addss %xmm7, %xmm2
addss %xmm6, %xmm2
addss %xmm5, %xmm3
addss %xmm1, %xmm2
addss %xmm4, %xmm3
movaps %xmm2, %xmm1
unpcklps %xmm3, %xmm1            # xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
leaq -0x78(%rbp), %r12
movq %rax, (%r12)
movlps %xmm1, 0x8(%r12)
subss %xmm6, %xmm2
subss %xmm8, %xmm3
unpcklps %xmm3, %xmm2            # xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
leaq -0x68(%rbp), %rdi
movlps %xmm2, (%rdi)
movaps %xmm8, -0x60(%rbp)
callq 0xa99d
movq %r12, %rdi
xorl %esi, %esi
callq 0xaaef
testb %al, %al
je 0x16199
leaq -0x48(%rbp), %r12
movq %r13, %rcx
leaq 0x2df2(%r14), %r13
movl $0xc01, %esi            # imm = 0xC01
movq %r13, %rdi
movq %r15, %rdx
callq 0x74d0
movb $0x0, 0x39f2(%r14)
cmpl $-0x1, %eax
movl $0xc01, %ecx            # imm = 0xC01
cmovnel %eax, %ecx
movslq %ecx, %rax
leaq (%r14,%rax), %rcx
addq $0x2df2, %rcx           # imm = 0x2DF2
xorps %xmm0, %xmm0
movups %xmm0, (%rsp)
leaq -0x50(%rbp), %rdi
movq %r12, %rsi
movq %r13, %rdx
xorl %r8d, %r8d
movl $0x10, %r9d
callq 0xe23a
movaps -0x40(%rbp), %xmm0
addss 0x141c(%r14), %xmm0
movaps -0x60(%rbp), %xmm1
addss 0x140c(%r14), %xmm1
unpcklps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movq %rbx, %rdi
xorl %esi, %esi
movl $0x1, %edx
callq 0xdecf
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq