	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ScrollList_Draw                ## -- Begin function ScrollList_Draw
	.p2align	4, 0x90
_ScrollList_Draw:                       ## @ScrollList_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	jle	LBB0_18
## %bb.1:
	movq	%rdi, %r15
	movq	64(%rdi), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	40(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	8(%rdi), %eax
	movl	48(%rdi), %r14d
	xorl	%esi, %esi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %ecx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%r15), %edx
	addl	20(%r15), %edx
	movq	_SMALLCHAR_WIDTH@GOTPCREL(%rip), %rdi
	imull	(%rdi), %edx
	addl	%edx, %r14d
	incl	%esi
	cmpl	%ecx, %esi
	jge	LBB0_18
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	testl	%eax, %eax
	jle	LBB0_17
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r13d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	imull	%esi, %r13d
	addl	4(%r15), %r13d
	cmpl	12(%r15), %r13d
	jge	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	-2(%r14), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movslq	%r13d, %r12
	movl	52(%r15), %ebx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	16(%r15), %r12d
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	_QMF_CENTER_JUSTIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SMALLCHAR_WIDTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	imull	20(%r15), %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %edi
	testl	%eax, 56(%r15)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	%edx, %edi
	shrl	$31, %edi
	addl	%edx, %edi
	sarl	%edi
	notl	%edi
	addl	%ecx, %edi
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=2
	movq	_SMALLCHAR_HEIGHT@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	addq	$2, %rcx
	movq	_listbar_color@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%ebx, %esi
	callq	_UI_FillRect
	movq	_text_color_highlight@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, -64(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	_UI_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_UI_PULSE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_UI_SMALLFONT@GOTPCREL(%rip), %rcx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	_text_color_normal@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	_UI_SMALLFONT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_UI_LEFT@GOTPCREL(%rip), %rcx
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=2
	orl	(%rcx), %eax
	movq	_QMF_CENTER_JUSTIFY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	56(%r15), %ecx
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	_UI_CENTER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=2
	orl	%eax, %ecx
	movq	32(%r15), %rax
	movl	(%rax,%r12,4), %edx
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_UI_DrawString
	incq	%r12
	movl	8(%r15), %eax
	leal	(%rax,%r13), %ecx
	movslq	%ecx, %rcx
	cmpq	%rcx, %r12
	jge	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	_SMALLCHAR_HEIGHT@GOTPCREL(%rip), %rcx
	addl	(%rcx), %ebx
	movslq	12(%r15), %rcx
	cmpq	%rcx, %r12
	jl	LBB0_6
	jmp	LBB0_16
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QMF_CENTER_JUSTIFY,4,2         ## @QMF_CENTER_JUSTIFY
	.comm	_SMALLCHAR_WIDTH,4,2            ## @SMALLCHAR_WIDTH
	.comm	_SMALLCHAR_HEIGHT,8,3           ## @SMALLCHAR_HEIGHT
	.comm	_listbar_color,4,2              ## @listbar_color
	.comm	_text_color_highlight,8,3       ## @text_color_highlight
	.comm	_UI_PULSE,4,2                   ## @UI_PULSE
	.comm	_UI_LEFT,4,2                    ## @UI_LEFT
	.comm	_UI_SMALLFONT,4,2               ## @UI_SMALLFONT
	.comm	_text_color_normal,8,3          ## @text_color_normal
	.comm	_UI_CENTER,4,2                  ## @UI_CENTER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ScrollList_Draw                ; -- Begin function ScrollList_Draw
	.p2align	2
_ScrollList_Draw:                       ; @ScrollList_Draw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w9, [x0]
	cmp	w9, #1
	b.lt	LBB0_16
; %bb.1:
	mov	x19, x0
	mov	w22, #0
	ldr	x8, [x0, #64]
	ldr	x10, [x8]
	ldr	x8, [x0, #40]
	stp	x8, x10, [sp]                   ; 16-byte Folded Spill
	ldr	w20, [x0, #48]
Lloh0:
	adrp	x25, _QMF_CENTER_JUSTIFY@GOTPAGE
Lloh1:
	ldr	x25, [x25, _QMF_CENTER_JUSTIFY@GOTPAGEOFF]
Lloh2:
	adrp	x27, _SMALLCHAR_HEIGHT@GOTPAGE
Lloh3:
	ldr	x27, [x27, _SMALLCHAR_HEIGHT@GOTPAGEOFF]
	ldr	w8, [x0, #8]
Lloh4:
	adrp	x23, _UI_CENTER@GOTPAGE
Lloh5:
	ldr	x23, [x23, _UI_CENTER@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x19]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	w10, w11, [x19, #20]
	add	w10, w11, w10
Lloh6:
	adrp	x11, _SMALLCHAR_WIDTH@GOTPAGE
Lloh7:
	ldr	x11, [x11, _SMALLCHAR_WIDTH@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	madd	w20, w10, w11, w20
	add	w22, w22, #1
	cmp	w22, w9
	b.ge	LBB0_16
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x19, #4]
	madd	w24, w8, w22, w9
	ldr	w9, [x19, #12]
	cmp	w24, w9
	b.ge	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w28, w20, #2
	sxtw	x26, w24
	ldr	w21, [x19, #52]
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x19, #16]
	cmp	w26, w8
	b.ne	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	w8, [x19, #56]
	ldr	w9, [x25]
	ldr	w10, [x19, #20]
Lloh9:
	adrp	x11, _SMALLCHAR_WIDTH@GOTPAGE
Lloh10:
	ldr	x11, [x11, _SMALLCHAR_WIDTH@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	mul	w2, w11, w10
	mov	x0, x28
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	cmp	w2, #0
	cinc	w8, w2, lt
	mov	w9, #-1
	eor	w8, w9, w8, asr #1
	add	w0, w28, w8
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x27]
	add	x3, x8, #2
Lloh12:
	adrp	x8, _listbar_color@GOTPAGE
Lloh13:
	ldr	x8, [x8, _listbar_color@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
	mov	x1, x21
	bl	_UI_FillRect
Lloh15:
	adrp	x8, _text_color_highlight@GOTPAGE
Lloh16:
	ldr	x8, [x8, _text_color_highlight@GOTPAGEOFF]
Lloh17:
	ldr	x4, [x8]
	ldp	x9, x8, [sp]                    ; 16-byte Folded Reload
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=2
Lloh18:
	adrp	x8, _UI_PULSE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _UI_PULSE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _UI_LEFT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _UI_LEFT@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh24:
	adrp	x9, _UI_SMALLFONT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _UI_SMALLFONT@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=2
Lloh26:
	adrp	x8, _text_color_normal@GOTPAGE
Lloh27:
	ldr	x8, [x8, _text_color_normal@GOTPAGEOFF]
Lloh28:
	ldr	x4, [x8]
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=2
Lloh29:
	adrp	x8, _UI_SMALLFONT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _UI_SMALLFONT@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _UI_LEFT@GOTPAGE
Lloh33:
	ldr	x9, [x9, _UI_LEFT@GOTPAGEOFF]
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x19, #56]
	ldr	w10, [x25]
	ldr	w11, [x23]
	tst	w10, w9
	csel	w9, wzr, w11, eq
	orr	w3, w9, w8
	ldr	x8, [x19, #32]
	ldr	w2, [x8, x26, lsl #2]
	mov	x0, x20
	mov	x1, x21
	bl	_UI_DrawString
	add	x26, x26, #1
	ldr	w8, [x19, #8]
	add	w9, w8, w24
	cmp	x26, w9, sxtw
	b.ge	LBB0_2
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=2
	ldr	w9, [x27]
	add	w21, w21, w9
	ldrsw	x9, [x19, #12]
	cmp	x26, x9
	b.lt	LBB0_7
	b	LBB0_2
LBB0_16:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_QMF_CENTER_JUSTIFY,4,2         ; @QMF_CENTER_JUSTIFY
	.comm	_SMALLCHAR_WIDTH,4,2            ; @SMALLCHAR_WIDTH
	.comm	_SMALLCHAR_HEIGHT,8,3           ; @SMALLCHAR_HEIGHT
	.comm	_listbar_color,4,2              ; @listbar_color
	.comm	_text_color_highlight,8,3       ; @text_color_highlight
	.comm	_UI_PULSE,4,2                   ; @UI_PULSE
	.comm	_UI_LEFT,4,2                    ; @UI_LEFT
	.comm	_UI_SMALLFONT,4,2               ; @UI_SMALLFONT
	.comm	_text_color_normal,8,3          ; @text_color_normal
	.comm	_UI_CENTER,4,2                  ; @UI_CENTER
.subsections_via_symbols
