// File: /workspace/github_cpp_makefile_star2_O1/donfreiday[P]gb/./imgui/imgui.cpp
// Function: ImGui::DragIntRange2(char const*, int*, int*, float, int, int, char const*, char const*)
bool ImGui::DragIntRange2(const char* label, int* v_current_min, int* v_current_max, float v_speed, int v_min, int v_max, const char* display_format, const char* display_format_max)
{
    ImGuiWindow* window = GetCurrentWindow();
    if (window->SkipItems)
        return false;

    ImGuiState& g = *GImGui;
    ImGui::PushID(label);
    ImGui::BeginGroup();
    PushMultiItemsWidths(2);

    bool value_changed = ImGui::DragInt("##min", v_current_min, v_speed, (v_min >= v_max) ? IM_INT_MIN : v_min, (v_min >= v_max) ? *v_current_max : ImMin(v_max, *v_current_max), display_format);
    ImGui::PopItemWidth();
    ImGui::SameLine(0, g.Style.ItemInnerSpacing.x);
    value_changed |= ImGui::DragInt("##max", v_current_max, v_speed, (v_min >= v_max) ? *v_current_min : ImMax(v_min, *v_current_min), (v_min >= v_max) ? IM_INT_MAX : v_max, display_format_max ? display_format_max : display_format);
    ImGui::PopItemWidth();
    ImGui::SameLine(0, g.Style.ItemInnerSpacing.x);

    ImGui::TextUnformatted(label, FindTextDisplayEnd(label));
    ImGui::EndGroup();
    ImGui::PopID();

    return value_changed;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %ecx, %ebx
movq 0x3862f(%rip), %rcx     # 0x55490
movq 0x1758(%rcx), %rax
movb $0x1, 0x72(%rax)
cmpb $0x0, 0x74(%rax)
je 0x1ce79
xorl %ebx, %ebx
jmp 0x1d089
movq %r9, %r12
movl %r8d, %r13d
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, -0x48(%rbp)
movq %rcx, -0x40(%rbp)
movss %xmm0, -0x2c(%rbp)
callq 0x173b3
callq 0x1b900
movl $0x2, %edi
callq 0x1bac1
movq %r14, -0x38(%rbp)
movl (%r14), %eax
cmpl %eax, %r13d
movl %eax, %ecx
cmovll %r13d, %ecx
cmpl %r13d, %ebx
movl $0x80000000, %esi       # imm = 0x80000000
cmovll %ebx, %esi
cmovgel %eax, %ecx
testq %r12, %r12
leaq 0x2402d(%rip), %rax     # 0x40efb
movq %r12, %rdx
cmoveq %rax, %rdx
xorps %xmm0, %xmm0
cvtsi2ssl (%r15), %xmm0
leaq -0x4c(%rbp), %r14
cvtsi2ss %esi, %xmm1
movss %xmm0, (%r14)
cvtsi2ss %ecx, %xmm2
leaq 0x21409(%rip), %rdi     # 0x3e2fe
movss 0x20483(%rip), %xmm3    # 0x3d380
movq %r14, %rsi
movss -0x2c(%rbp), %xmm0
callq 0x1c4a4
movl %eax, -0x30(%rbp)
cvttss2si (%r14), %eax
movl %eax, (%r15)
callq 0x9e68
movq -0x40(%rbp), %rax
movss 0x141c(%rax), %xmm0
movq 0x38563(%rip), %rcx     # 0x55490
movq 0x1758(%rcx), %rax
movb $0x1, 0x72(%rax)
cmpb $0x0, 0x74(%rax)
jne 0x1cf78
xorps %xmm1, %xmm1
ucomiss %xmm0, %xmm1
jbe 0x1cf4e
movss 0x1414(%rcx), %xmm0
addss 0xb0(%rax), %xmm0
movl 0xb4(%rax), %ecx
movq 0xd0(%rax), %rdx
movq %rdx, 0xc8(%rax)
movss %xmm0, 0xa8(%rax)
movl %ecx, 0xac(%rax)
movq 0x10(%rbp), %rcx
movl (%r15), %eax
cmpl %eax, %ebx
movl %eax, %edx
cmovgl %ebx, %edx
cmpl %r13d, %ebx
jl 0x1cf95
movss 0x204b9(%rip), %xmm2    # 0x3d44c
jmp 0x1cf9d
xorps %xmm2, %xmm2
cvtsi2ss %r13d, %xmm2
movq -0x38(%rbp), %rsi
cmovll %edx, %eax
testq %rcx, %rcx
cmovneq %rcx, %r12
testq %r12, %r12
leaq 0x23f46(%rip), %rcx     # 0x40efb
cmoveq %rcx, %r12
xorps %xmm0, %xmm0
cvtsi2ssl (%rsi), %xmm0
movq %rsi, %r15
leaq -0x50(%rbp), %r14
movss %xmm0, (%r14)
xorps %xmm1, %xmm1
cvtsi2ss %eax, %xmm1
leaq 0x2132a(%rip), %rdi     # 0x3e304
movss 0x2039e(%rip), %xmm3    # 0x3d380
movq %r14, %rsi
movss -0x2c(%rbp), %xmm0
movq %r12, %rdx
callq 0x1c4a4
movl %eax, %ebx
cvttss2si (%r14), %eax
movl %eax, (%r15)
callq 0x9e68
movq -0x40(%rbp), %rax
movss 0x141c(%rax), %xmm0
movq 0x3847c(%rip), %rcx     # 0x55490
movq 0x1758(%rcx), %rax
movb $0x1, 0x72(%rax)
cmpb $0x0, 0x74(%rax)
movq -0x48(%rbp), %r14
jne 0x1d063
xorps %xmm1, %xmm1
ucomiss %xmm0, %xmm1
jbe 0x1d039
movss 0x1414(%rcx), %xmm0
addss 0xb0(%rax), %xmm0
movl 0xb4(%rax), %ecx
movq 0xd0(%rax), %rdx
movq %rdx, 0xc8(%rax)
movss %xmm0, 0xa8(%rax)
movl %ecx, 0xac(%rax)
movl -0x30(%rbp), %eax
orb %bl, %al
movl %eax, %ebx
movq %r14, %rdi
xorl %esi, %esi
callq 0xe1e7
movq %r14, %rdi
movq %rax, %rsi
callq 0xd93a
callq 0x1bd59
callq 0x16fc0
movl %ebx, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq