	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ScrollList_Init
_ScrollList_Init:                       ## @ScrollList_Init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%rdi)
	movq	$0, 72(%rdi)
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	je	LBB0_1
## %bb.2:
	movl	4(%rdi), %edx
	testl	%edx, %edx
	jne	LBB0_4
## %bb.3:
	movl	$3, 4(%rdi)
	movl	$3, %edx
	jmp	LBB0_4
LBB0_1:
	movq	$1, (%rdi)
	xorl	%edx, %edx
	movl	$1, %ecx
LBB0_4:
	movl	8(%rdi), %eax
	addl	%edx, %eax
	imull	%ecx, %eax
	subl	%edx, %eax
	movq	_SMALLCHAR_WIDTH@GOTPCREL(%rip), %rcx
	imull	(%rcx), %eax
	movl	20(%rdi), %ecx
	movl	%ecx, 16(%rdi)
	movq	32(%rdi), %rsi
	movq	%rsi, 48(%rdi)
	leal	(%rax,%rcx), %r9d
	movl	%r9d, 24(%rdi)
	movslq	12(%rdi), %r8
	movq	_SMALLCHAR_HEIGHT@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	imulq	%r8, %rdx
	addq	%rsi, %rdx
	movq	%rdx, 40(%rdi)
	movq	_QMF_CENTER_JUSTIFY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, 28(%rdi)
	je	LBB0_6
## %bb.5:
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%eax, %edx
	sarl	%edx
	subl	%edx, %ecx
	movl	%ecx, 16(%rdi)
	subl	%edx, %r9d
	movl	%r9d, 24(%rdi)
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SMALLCHAR_WIDTH,4,2            ## @SMALLCHAR_WIDTH
	.comm	_SMALLCHAR_HEIGHT,4,2           ## @SMALLCHAR_HEIGHT
	.comm	_QMF_CENTER_JUSTIFY,4,2         ## @QMF_CENTER_JUSTIFY
	.no_dead_strip	_ScrollList_Init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ScrollList_Init
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ScrollList_Init:                       ; @ScrollList_Init
	.cfi_startproc
; %bb.0:
	stp	xzr, xzr, [x0, #56]
	str	xzr, [x0, #72]
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	w9, [x0, #4]
	cbnz	w9, LBB0_4
; %bb.2:
	mov	w9, #3
	str	w9, [x0, #4]
	b	LBB0_4
LBB0_3:
	mov	w9, #0
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x0]
	mov	w8, #1
LBB0_4:
	ldp	w10, w11, [x0, #8]
                                        ; kill: def $w11 killed $w11 def $x11
	sxtw	x11, w11
	add	w10, w9, w10
	neg	w9, w9
	madd	w8, w10, w8, w9
Lloh2:
	adrp	x9, _SMALLCHAR_WIDTH@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SMALLCHAR_WIDTH@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	mul	w10, w8, w9
	ldr	w9, [x0, #20]
	str	w9, [x0, #16]
	ldr	x12, [x0, #32]
	add	w8, w10, w9
	str	w8, [x0, #24]
Lloh5:
	adrp	x13, _SMALLCHAR_HEIGHT@GOTPAGE
Lloh6:
	ldr	x13, [x13, _SMALLCHAR_HEIGHT@GOTPAGEOFF]
Lloh7:
	ldrsw	x13, [x13]
	madd	x11, x13, x11, x12
	stp	x11, x12, [x0, #40]
	ldr	w11, [x0, #28]
Lloh8:
	adrp	x12, _QMF_CENTER_JUSTIFY@GOTPAGE
Lloh9:
	ldr	x12, [x12, _QMF_CENTER_JUSTIFY@GOTPAGEOFF]
Lloh10:
	ldr	w12, [x12]
	tst	w12, w11
	b.eq	LBB0_6
; %bb.5:
	cmp	w10, #0
	cinc	w10, w10, lt
	asr	w10, w10, #1
	sub	w9, w9, w10
	str	w9, [x0, #16]
	sub	w8, w8, w10
	str	w8, [x0, #24]
LBB0_6:
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SMALLCHAR_WIDTH,4,2            ; @SMALLCHAR_WIDTH
	.comm	_SMALLCHAR_HEIGHT,4,2           ; @SMALLCHAR_HEIGHT
	.comm	_QMF_CENTER_JUSTIFY,4,2         ; @QMF_CENTER_JUSTIFY
	.no_dead_strip	_ScrollList_Init
.subsections_via_symbols
