// File: /workspace/github_cpp_makefile_star2_O2/Ciaxur[P]yagb-emu/include/imgui/imgui_widgets.cpp
// Function: ImGui::DragFloatRange2(char const*, float*, float*, float, float, float, char const*, char const*, int)
bool ImGui::DragFloatRange2(const char* label, float* v_current_min, float* v_current_max, float v_speed, float v_min, float v_max, const char* format, const char* format_max, ImGuiSliderFlags flags)
{
    ImGuiWindow* window = GetCurrentWindow();
    if (window->SkipItems)
        return false;

    ImGuiContext& g = *GImGui;
    PushID(label);
    BeginGroup();
    PushMultiItemsWidths(2, CalcItemWidth());

    float min_min = (v_min >= v_max) ? -FLT_MAX : v_min;
    float min_max = (v_min >= v_max) ? *v_current_max : ImMin(v_max, *v_current_max);
    ImGuiSliderFlags min_flags = flags | ((min_min == min_max) ? ImGuiSliderFlags_ReadOnly : 0);
    bool value_changed = DragScalar("##min", ImGuiDataType_Float, v_current_min, v_speed, &min_min, &min_max, format, min_flags);
    PopItemWidth();
    SameLine(0, g.Style.ItemInnerSpacing.x);

    float max_min = (v_min >= v_max) ? *v_current_min : ImMax(v_min, *v_current_min);
    float max_max = (v_min >= v_max) ? FLT_MAX : v_max;
    ImGuiSliderFlags max_flags = flags | ((max_min == max_max) ? ImGuiSliderFlags_ReadOnly : 0);
    value_changed |= DragScalar("##max", ImGuiDataType_Float, v_current_max, v_speed, &max_min, &max_max, format_max ? format_max : format, max_flags);
    PopItemWidth();
    SameLine(0, g.Style.ItemInnerSpacing.x);

    TextEx(label, FindRenderedTextEnd(label));
    EndGroup();
    PopID();
    return value_changed;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %r9d, -0x30(%rbp)
movss %xmm0, -0x34(%rbp)
leaq 0x646ba(%rip), %rax     # 0xe3ce0
movq (%rax), %r13
movq 0x1ae0(%r13), %rax
movb $0x1, 0x90(%rax)
cmpb $0x0, 0x93(%rax)
je 0x7f648
xorl %r15d, %r15d
jmp 0x7f7c1
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movq %r8, -0x40(%rbp)
movss %xmm2, -0x2c(%rbp)
movaps %xmm1, -0x70(%rbp)
callq 0x42ea4
callq 0x43ff2
callq 0x43d17
pushq $0x2
popq %rdi
callq 0x43bdb
movaps -0x70(%rbp), %xmm3
movss -0x2c(%rbp), %xmm2
ucomiss %xmm2, %xmm3
movaps %xmm2, %xmm0
cmpless %xmm3, %xmm0
movss 0x1d244(%rip), %xmm1    # 0x9c8d8
andps %xmm0, %xmm1
andnps %xmm3, %xmm0
orps %xmm1, %xmm0
movss %xmm0, -0x38(%rbp)
movss (%r15), %xmm1
movq %r15, -0x48(%rbp)
jae 0x7f6b4
minss %xmm1, %xmm2
movaps %xmm2, %xmm1
leaq -0x54(%rbp), %r8
movss %xmm1, (%r8)
cmpeqss %xmm1, %xmm0
movd %xmm0, %eax
andl $0x1, %eax
shll $0x15, %eax
orl -0x30(%rbp), %eax
movl %eax, (%rsp)
leaq 0x394fd(%rip), %rdi     # 0xb8bd6
pushq $0x8
popq %rsi
leaq -0x38(%rbp), %rcx
movq %r12, %rdx
movss -0x34(%rbp), %xmm0
movq %r14, %r9
callq 0x7ed70
movl %eax, %r15d
callq 0x43cbe
movss 0x15b0(%r13), %xmm1
xorps %xmm0, %xmm0
callq 0x437ec
movaps -0x70(%rbp), %xmm3
movss -0x2c(%rbp), %xmm2
ucomiss %xmm2, %xmm3
movss (%r12), %xmm0
jae 0x7f733
movaps %xmm0, %xmm1
cmpless %xmm3, %xmm1
andps %xmm1, %xmm3
andnps %xmm0, %xmm1
orps %xmm3, %xmm1
movaps %xmm1, %xmm0
jmp 0x7f73b
movss 0x1d135(%rip), %xmm2    # 0x9c870
leaq -0x50(%rbp), %rcx
movss %xmm0, (%rcx)
leaq -0x4c(%rbp), %r8
movss %xmm2, (%r8)
cmpeqss %xmm2, %xmm0
movd %xmm0, %eax
andl $0x1, %eax
shll $0x15, %eax
orl -0x30(%rbp), %eax
movq -0x40(%rbp), %rdx
testq %rdx, %rdx
cmovneq %rdx, %r14
movl %eax, (%rsp)
leaq 0x39469(%rip), %rdi     # 0xb8bdc
pushq $0x8
popq %rsi
movq -0x48(%rbp), %rdx
movss -0x34(%rbp), %xmm0
movq %r14, %r9
callq 0x7ed70
orb %al, %r15b
callq 0x43cbe
movss 0x15b0(%r13), %xmm1
xorps %xmm0, %xmm0
callq 0x437ec
movq %rbx, %rdi
xorl %esi, %esi
callq 0x36123
movq %rbx, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x7911c
callq 0x4352b
callq 0x42fea
movl %r15d, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq