// File: /workspace/github_cpp_makefile_star2_O3/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 0x38a23(%rip), %rcx     # 0x55480
movq 0x1758(%rcx), %rax
movb $0x1, 0x72(%rax)
cmpb $0x0, 0x74(%rax)
je 0x1ca75
xorl %ebx, %ebx
jmp 0x1cc85
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 0x16f0c
callq 0x1b560
movl $0x2, %edi
callq 0x1b714
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 0x243b1(%rip), %rax     # 0x40e7b
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 0x2183d(%rip), %rdi     # 0x3e32e
movss 0x20897(%rip), %xmm3    # 0x3d390
movq %r14, %rsi
movss -0x2c(%rbp), %xmm0
callq 0x1c08e
movl %eax, -0x30(%rbp)
cvttss2si (%r14), %eax
movl %eax, (%r15)
callq 0x9db1
movq -0x40(%rbp), %rax
movss 0x141c(%rax), %xmm0
movq 0x38957(%rip), %rcx     # 0x55480
movq 0x1758(%rcx), %rax
movb $0x1, 0x72(%rax)
cmpb $0x0, 0x74(%rax)
jne 0x1cb74
xorps %xmm1, %xmm1
ucomiss %xmm0, %xmm1
jbe 0x1cb4a
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 0x1cb91
movss 0x208cd(%rip), %xmm2    # 0x3d45c
jmp 0x1cb99
xorps %xmm2, %xmm2
cvtsi2ss %r13d, %xmm2
movq -0x38(%rbp), %rsi
cmovll %edx, %eax
testq %rcx, %rcx
cmovneq %rcx, %r12
testq %r12, %r12
leaq 0x242ca(%rip), %rcx     # 0x40e7b
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 0x2175e(%rip), %rdi     # 0x3e334
movss 0x207b2(%rip), %xmm3    # 0x3d390
movq %r14, %rsi
movss -0x2c(%rbp), %xmm0
movq %r12, %rdx
callq 0x1c08e
movl %eax, %ebx
cvttss2si (%r14), %eax
movl %eax, (%r15)
callq 0x9db1
movq -0x40(%rbp), %rax
movss 0x141c(%rax), %xmm0
movq 0x38870(%rip), %rcx     # 0x55480
movq 0x1758(%rcx), %rax
movb $0x1, 0x72(%rax)
cmpb $0x0, 0x74(%rax)
movq -0x48(%rbp), %r14
jne 0x1cc5f
xorps %xmm1, %xmm1
ucomiss %xmm0, %xmm1
jbe 0x1cc35
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 0xdfc4
movq %r14, %rdi
movq %rax, %rsi
callq 0xd741
callq 0x1b97c
callq 0x16b19
movl %ebx, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq