	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function Slider_Draw
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_Slider_Draw:                           ## @Slider_Draw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	24(%rdi), %r12d
	movl	28(%rdi), %r14d
	movq	_QMF_GRAYED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 40(%rdi)
	je	LBB0_2
## %bb.1:
	movq	_UI_SMALLFONT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_text_color_disabled@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	movq	48(%rbx), %rax
	movq	(%rax), %rax
	movq	_UI_SMALLFONT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	cmpq	32(%rbx), %rax
	jne	LBB0_3
## %bb.4:
	movq	_UI_PULSE@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_text_color_highlight@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_text_color_normal@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%rax), %r15
	movq	_SMALLCHAR_WIDTH@GOTPCREL(%rip), %r13
	movl	%r12d, %edi
	subl	(%r13), %edi
	movl	44(%rbx), %edx
	movq	_UI_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	orl	%esi, %ecx
	movl	%r14d, %esi
	movq	%r15, %r8
	callq	_UI_DrawString
	movq	%r15, %rdi
	callq	_UI_SetColor
	movl	(%r13), %edi
	movq	%r12, %r15
	addl	%r12d, %edi
	movq	_sliderBar@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r14d, %esi
	movl	$96, %edx
	movl	$16, %ecx
	callq	_UI_DrawHandlePic
	xorl	%edi, %edi
	callq	_UI_SetColor
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	subq	%rcx, %rax
	jle	LBB0_9
## %bb.6:
	movss	20(%rbx), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	cvtsi2ss	%rcx, %xmm1
	subss	%xmm1, %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2ss	%rax, %xmm1
	divss	%xmm1, %xmm0
	movss	%xmm0, 16(%rbx)
	xorps	%xmm1, %xmm1
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_7
LBB0_9:
	movl	$0, 16(%rbx)
	xorps	%xmm0, %xmm0
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
LBB0_10:
	movq	_UI_PULSE@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	jne	LBB0_11
## %bb.12:
	movq	_sliderButton_0@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_11:
	movq	_sliderButton_1@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%r13), %ecx
	leal	(%r15,%rcx,2), %edx
	xorps	%xmm1, %xmm1
	cvtsi2ss	%edx, %xmm1
	movl	(%rax), %r8d
	movq	_SLIDER_RANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	imull	%ecx, %eax
	cvtsi2ss	%eax, %xmm2
	mulss	%xmm0, %xmm2
	addss	%xmm1, %xmm2
	cvttss2si	%xmm2, %edi
	addl	$-2, %edi
	addl	$-2, %r14d
	movl	%r14d, %esi
	movl	$12, %edx
	movl	$20, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_UI_DrawHandlePic               ## TAILCALL
LBB0_7:
	ucomiss	LCPI0_0(%rip), %xmm0
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	jbe	LBB0_10
## %bb.8:
	movl	$1065353216, 16(%rbx)           ## imm = 0x3F800000
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_QMF_GRAYED,4,2                 ## @QMF_GRAYED
	.comm	_text_color_disabled,8,3        ## @text_color_disabled
	.comm	_UI_SMALLFONT,4,2               ## @UI_SMALLFONT
	.comm	_text_color_highlight,8,3       ## @text_color_highlight
	.comm	_UI_PULSE,4,2                   ## @UI_PULSE
	.comm	_text_color_normal,8,3          ## @text_color_normal
	.comm	_SMALLCHAR_WIDTH,4,2            ## @SMALLCHAR_WIDTH
	.comm	_UI_RIGHT,4,2                   ## @UI_RIGHT
	.comm	_sliderBar,4,2                  ## @sliderBar
	.comm	_sliderButton_1,4,2             ## @sliderButton_1
	.comm	_sliderButton_0,4,2             ## @sliderButton_0
	.comm	_SLIDER_RANGE,4,2               ## @SLIDER_RANGE
	.no_dead_strip	_Slider_Draw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Slider_Draw
_Slider_Draw:                           ; @Slider_Draw
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
	ldp	w22, w19, [x0, #24]
	ldr	w8, [x0, #40]
Lloh0:
	adrp	x9, _QMF_GRAYED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QMF_GRAYED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x23, _UI_PULSE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _UI_PULSE@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _UI_SMALLFONT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UI_SMALLFONT@GOTPAGEOFF]
Lloh7:
	ldr	w24, [x8]
Lloh8:
	adrp	x8, _text_color_disabled@GOTPAGE
Lloh9:
	ldr	x8, [x8, _text_color_disabled@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	ldr	x8, [x20, #48]
	ldr	x8, [x8]
	ldr	x9, [x20, #32]
Lloh10:
	adrp	x10, _UI_SMALLFONT@GOTPAGE
Lloh11:
	ldr	x10, [x10, _UI_SMALLFONT@GOTPAGEOFF]
Lloh12:
	ldr	w24, [x10]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	w8, [x23]
	orr	w24, w8, w24
Lloh13:
	adrp	x8, _text_color_highlight@GOTPAGE
Lloh14:
	ldr	x8, [x8, _text_color_highlight@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh15:
	adrp	x8, _text_color_normal@GOTPAGE
Lloh16:
	ldr	x8, [x8, _text_color_normal@GOTPAGEOFF]
LBB0_5:
	ldr	x21, [x8]
Lloh17:
	adrp	x25, _SMALLCHAR_WIDTH@GOTPAGE
Lloh18:
	ldr	x25, [x25, _SMALLCHAR_WIDTH@GOTPAGEOFF]
	ldr	w8, [x25]
	sub	w0, w22, w8
	ldr	w2, [x20, #44]
Lloh19:
	adrp	x8, _UI_RIGHT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _UI_RIGHT@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	orr	w3, w8, w24
	mov	x1, x19
	mov	x4, x21
	bl	_UI_DrawString
	mov	x0, x21
	bl	_UI_SetColor
	ldr	w8, [x25]
	add	w0, w8, w22
Lloh22:
	adrp	x8, _sliderBar@GOTPAGE
Lloh23:
	ldr	x8, [x8, _sliderBar@GOTPAGEOFF]
Lloh24:
	ldr	w4, [x8]
	mov	x1, x19
	mov	w2, #96
	mov	w3, #16
	bl	_UI_DrawHandlePic
	mov	x0, #0
	bl	_UI_SetColor
	ldp	x8, x9, [x20]
	subs	x8, x8, x9
	b.le	LBB0_7
; %bb.6:
	ldr	s0, [x20, #20]
	scvtf	s1, x9
	fsub	s0, s0, s1
	scvtf	s1, x8
	fdiv	s0, s0, s1
	str	s0, [x20, #16]
	fcmp	s0, #0.0
	b.pl	LBB0_9
LBB0_7:
	str	wzr, [x20, #16]
	movi	d0, #0000000000000000
LBB0_8:
	ldr	w8, [x23]
Lloh25:
	adrp	x9, _sliderButton_0@GOTPAGE
Lloh26:
	ldr	x9, [x9, _sliderButton_0@GOTPAGEOFF]
Lloh27:
	adrp	x10, _sliderButton_1@GOTPAGE
Lloh28:
	ldr	x10, [x10, _sliderButton_1@GOTPAGEOFF]
	tst	w8, w24
	csel	x8, x9, x10, eq
	ldr	w9, [x25]
	add	w10, w22, w9, lsl #1
	scvtf	s1, w10
	ldr	w4, [x8]
Lloh29:
	adrp	x8, _SLIDER_RANGE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SLIDER_RANGE@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	sub	w8, w8, #1
	mul	w8, w8, w9
	scvtf	s2, w8
	fmadd	s0, s2, s0, s1
	fcvtzs	w8, s0
	sub	w0, w8, #2
	sub	w1, w19, #2
	mov	w2, #12
	mov	w3, #20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_UI_DrawHandlePic
LBB0_9:
	fmov	s1, #1.00000000
	fcmp	s0, s1
	b.le	LBB0_8
; %bb.10:
	mov	w8, #1065353216
	str	w8, [x20, #16]
	fmov	s0, #1.00000000
	b	LBB0_8
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_QMF_GRAYED,4,2                 ; @QMF_GRAYED
	.comm	_text_color_disabled,8,3        ; @text_color_disabled
	.comm	_UI_SMALLFONT,4,2               ; @UI_SMALLFONT
	.comm	_text_color_highlight,8,3       ; @text_color_highlight
	.comm	_UI_PULSE,4,2                   ; @UI_PULSE
	.comm	_text_color_normal,8,3          ; @text_color_normal
	.comm	_SMALLCHAR_WIDTH,4,2            ; @SMALLCHAR_WIDTH
	.comm	_UI_RIGHT,4,2                   ; @UI_RIGHT
	.comm	_sliderBar,4,2                  ; @sliderBar
	.comm	_sliderButton_1,4,2             ; @sliderButton_1
	.comm	_sliderButton_0,4,2             ; @sliderButton_0
	.comm	_SLIDER_RANGE,4,2               ; @SLIDER_RANGE
	.no_dead_strip	_Slider_Draw
.subsections_via_symbols
