	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SpinControl_Draw
_SpinControl_Draw:                      ## @SpinControl_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
	movslq	16(%rdi), %r15
	movl	20(%rdi), %r14d
	movq	_UI_SMALLFONT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	72(%rdi), %rax
	movq	(%rax), %rcx
	movq	24(%rdi), %rdx
	movl	32(%rdi), %eax
	movq	_QMF_GRAYED@GOTPCREL(%rip), %rsi
	testl	%eax, (%rsi)
	je	LBB0_1
## %bb.4:
	movq	_text_color_disabled@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	cmpq	%rdx, %rcx
	je	LBB0_5
	jmp	LBB0_6
LBB0_1:
	cmpq	%rdx, %rcx
	jne	LBB0_3
## %bb.2:
	movq	_UI_PULSE@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_text_color_highlight@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
LBB0_5:
	movq	56(%rbx), %rdi
	movq	64(%rbx), %rdx
	subq	%rdi, %rdx
	incq	%rdx
	movq	40(%rbx), %rsi
	movq	48(%rbx), %rcx
	subq	%rsi, %rcx
	incq	%rcx
	movq	_listbar_color@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	callq	_UI_FillRect
	movq	_UI_CENTER@GOTPCREL(%rip), %rax
	movq	_UI_BLINK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_UI_SMALLFONT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	$13, %edx
	movq	%r13, %r8
	callq	_UI_DrawChar
	jmp	LBB0_6
LBB0_3:
	movq	_QMF_BLINK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_UI_BLINK@GOTPCREL(%rip), %rcx
	cmovnel	(%rcx), %eax
	movq	_text_color_highlight@GOTPCREL(%rip), %rcx
	cmoveq	_text_color_normal@GOTPCREL(%rip), %rcx
	orl	%eax, %r12d
	movq	(%rcx), %r13
LBB0_6:
	movq	_SMALLCHAR_WIDTH@GOTPCREL(%rip), %rax
	movq	%r15, %rdi
	subq	(%rax), %rdi
	movl	36(%rbx), %edx
	movq	_UI_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	orl	%r12d, %ecx
	movl	%r14d, %esi
	movq	%r13, %r8
	callq	_UI_DrawString
	movq	_SMALLCHAR_WIDTH@GOTPCREL(%rip), %rax
	addq	(%rax), %r15
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movl	(%rcx,%rax,4), %edx
	movq	_UI_LEFT@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%r12d, %ecx
	movq	%r13, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_UI_DrawString                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_UI_SMALLFONT,4,2               ## @UI_SMALLFONT
	.comm	_QMF_GRAYED,4,2                 ## @QMF_GRAYED
	.comm	_text_color_disabled,8,3        ## @text_color_disabled
	.comm	_text_color_highlight,8,3       ## @text_color_highlight
	.comm	_UI_PULSE,4,2                   ## @UI_PULSE
	.comm	_QMF_BLINK,4,2                  ## @QMF_BLINK
	.comm	_UI_BLINK,4,2                   ## @UI_BLINK
	.comm	_text_color_normal,8,3          ## @text_color_normal
	.comm	_listbar_color,4,2              ## @listbar_color
	.comm	_UI_CENTER,4,2                  ## @UI_CENTER
	.comm	_SMALLCHAR_WIDTH,8,3            ## @SMALLCHAR_WIDTH
	.comm	_UI_RIGHT,4,2                   ## @UI_RIGHT
	.comm	_UI_LEFT,4,2                    ## @UI_LEFT
	.no_dead_strip	_SpinControl_Draw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SpinControl_Draw
_SpinControl_Draw:                      ; @SpinControl_Draw
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x0
	ldp	w21, w19, [x0, #16]
                                        ; kill: def $w21 killed $w21 def $x21
	sxtw	x21, w21
Lloh0:
	adrp	x24, _UI_SMALLFONT@GOTPAGE
Lloh1:
	ldr	x24, [x24, _UI_SMALLFONT@GOTPAGEOFF]
	ldr	w23, [x24]
	ldr	x8, [x0, #72]
	ldr	x9, [x8]
	ldr	x10, [x0, #24]
	ldr	w8, [x0, #32]
Lloh2:
	adrp	x11, _QMF_GRAYED@GOTPAGE
Lloh3:
	ldr	x11, [x11, _QMF_GRAYED@GOTPAGEOFF]
Lloh4:
	ldr	w11, [x11]
	tst	w11, w8
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _text_color_disabled@GOTPAGE
Lloh6:
	ldr	x8, [x8, _text_color_disabled@GOTPAGEOFF]
Lloh7:
	ldr	x22, [x8]
	cmp	x9, x10
	b.eq	LBB0_4
	b	LBB0_6
LBB0_2:
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.3:
Lloh8:
	adrp	x8, _UI_PULSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _UI_PULSE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	orr	w23, w8, w23
Lloh11:
	adrp	x8, _text_color_highlight@GOTPAGE
Lloh12:
	ldr	x8, [x8, _text_color_highlight@GOTPAGEOFF]
Lloh13:
	ldr	x22, [x8]
LBB0_4:
	ldp	x0, x8, [x20, #56]
	sub	x8, x8, x0
	add	x2, x8, #1
	ldp	x1, x8, [x20, #40]
	sub	x8, x8, x1
	add	x3, x8, #1
Lloh14:
	adrp	x8, _listbar_color@GOTPAGE
Lloh15:
	ldr	x8, [x8, _listbar_color@GOTPAGEOFF]
Lloh16:
	ldr	w4, [x8]
	bl	_UI_FillRect
Lloh17:
	adrp	x8, _UI_CENTER@GOTPAGE
Lloh18:
	ldr	x8, [x8, _UI_CENTER@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _UI_BLINK@GOTPAGE
Lloh21:
	ldr	x9, [x9, _UI_BLINK@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x24]
	orr	w3, w8, w9
	mov	x0, x21
	mov	x1, x19
	mov	w2, #13
	mov	x4, x22
	bl	_UI_DrawChar
	b	LBB0_6
LBB0_5:
Lloh23:
	adrp	x9, _QMF_BLINK@GOTPAGE
Lloh24:
	ldr	x9, [x9, _QMF_BLINK@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
Lloh26:
	adrp	x10, _UI_BLINK@GOTPAGE
Lloh27:
	ldr	x10, [x10, _UI_BLINK@GOTPAGEOFF]
Lloh28:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w8, wzr, w10, eq
	orr	w23, w8, w23
Lloh29:
	adrp	x8, _text_color_normal@GOTPAGE
Lloh30:
	ldr	x8, [x8, _text_color_normal@GOTPAGEOFF]
Lloh31:
	adrp	x9, _text_color_highlight@GOTPAGE
Lloh32:
	ldr	x9, [x9, _text_color_highlight@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	x22, [x8]
LBB0_6:
Lloh33:
	adrp	x24, _SMALLCHAR_WIDTH@GOTPAGE
Lloh34:
	ldr	x24, [x24, _SMALLCHAR_WIDTH@GOTPAGEOFF]
	ldr	x8, [x24]
	sub	x0, x21, x8
	ldr	w2, [x20, #36]
Lloh35:
	adrp	x8, _UI_RIGHT@GOTPAGE
Lloh36:
	ldr	x8, [x8, _UI_RIGHT@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	orr	w3, w8, w23
	mov	x1, x19
	mov	x4, x22
	bl	_UI_DrawString
	ldr	x8, [x24]
	add	x0, x8, x21
	ldp	x9, x8, [x20]
	ldr	w2, [x8, x9, lsl #2]
Lloh38:
	adrp	x8, _UI_LEFT@GOTPAGE
Lloh39:
	ldr	x8, [x8, _UI_LEFT@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	orr	w3, w8, w23
	mov	x1, x19
	mov	x4, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_UI_DrawString
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_UI_SMALLFONT,4,2               ; @UI_SMALLFONT
	.comm	_QMF_GRAYED,4,2                 ; @QMF_GRAYED
	.comm	_text_color_disabled,8,3        ; @text_color_disabled
	.comm	_text_color_highlight,8,3       ; @text_color_highlight
	.comm	_UI_PULSE,4,2                   ; @UI_PULSE
	.comm	_QMF_BLINK,4,2                  ; @QMF_BLINK
	.comm	_UI_BLINK,4,2                   ; @UI_BLINK
	.comm	_text_color_normal,8,3          ; @text_color_normal
	.comm	_listbar_color,4,2              ; @listbar_color
	.comm	_UI_CENTER,4,2                  ; @UI_CENTER
	.comm	_SMALLCHAR_WIDTH,8,3            ; @SMALLCHAR_WIDTH
	.comm	_UI_RIGHT,4,2                   ; @UI_RIGHT
	.comm	_UI_LEFT,4,2                    ; @UI_LEFT
	.no_dead_strip	_SpinControl_Draw
.subsections_via_symbols
