// File: /workspace/github_cpp_makefile_star2_O1/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 0x65a35(%rip), %rax     # 0xfdcd0
movq (%rax), %r13
movq 0x1ae0(%r13), %rax
movb $0x1, 0x90(%rax)
cmpb $0x0, 0x93(%rax)
je 0x982bd
xorl %r15d, %r15d
jmp 0x9843c
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 0x55c36
callq 0x5752d
callq 0x57252
movl $0x2, %edi
callq 0x56ef3
movaps -0x70(%rbp), %xmm3
movss -0x2c(%rbp), %xmm2
ucomiss %xmm2, %xmm3
movaps %xmm2, %xmm0
cmpless %xmm3, %xmm0
movss 0x1f59d(%rip), %xmm1    # 0xb78a8
andps %xmm0, %xmm1
andnps %xmm3, %xmm0
orps %xmm1, %xmm0
movss %xmm0, -0x38(%rbp)
movss (%r15), %xmm1
movq %r15, -0x48(%rbp)
jae 0x9832b
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 0x3b646(%rip), %rdi     # 0xd3996
leaq -0x38(%rbp), %rcx
movl $0x8, %esi
movq %r12, %rdx
movss -0x34(%rbp), %xmm0
movq %r14, %r9
callq 0x978bf
movl %eax, %r15d
callq 0x571b8
movss 0x15b0(%r13), %xmm1
xorps %xmm0, %xmm0
callq 0x569e1
movaps -0x70(%rbp), %xmm3
movss -0x2c(%rbp), %xmm2
ucomiss %xmm2, %xmm3
movss (%r12), %xmm0
jae 0x983ac
movaps %xmm0, %xmm1
cmpless %xmm3, %xmm1
andps %xmm1, %xmm3
andnps %xmm0, %xmm1
orps %xmm3, %xmm1
movaps %xmm1, %xmm0
jmp 0x983b4
movss 0x1f48c(%rip), %xmm2    # 0xb7840
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 0x3b5b0(%rip), %rdi     # 0xd399c
movl $0x8, %esi
movq -0x48(%rbp), %rdx
movss -0x34(%rbp), %xmm0
movq %r14, %r9
callq 0x978bf
orb %al, %r15b
callq 0x571b8
movss 0x15b0(%r13), %xmm1
xorps %xmm0, %xmm0
callq 0x569e1
movq %rbx, %rdi
xorl %esi, %esi
callq 0x44e8b
movq %rbx, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x91b8c
callq 0x56723
callq 0x56188
movl %r15d, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq