	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LISTBOX_HandleHScroll
_LISTBOX_HandleHScroll:                 ## @LISTBOX_HandleHScroll
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %rbx
	movq	_LBS_MULTICOLUMN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_13
## %bb.1:
	addl	$-128, %esi
	cmpl	$7, %esi
	ja	LBB0_26
## %bb.2:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_10:
	movl	$16, -24(%rbp)
	movq	_SIF_TRACKPOS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movl	32(%rbx), %edi
	movq	_SB_VERT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	callq	_GetScrollInfo
	movl	8(%rbx), %esi
	imull	-20(%rbp), %esi
	jmp	LBB0_6
LBB0_13:
	movl	24(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_26
## %bb.14:
	addl	$-128, %esi
	cmpl	$7, %esi
	ja	LBB0_26
## %bb.15:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rsi,4), %rsi
	addq	%rcx, %rsi
	jmpq	*%rsi
LBB0_22:
	movl	$16, -24(%rbp)
	movq	_SIF_TRACKPOS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movl	32(%rbx), %edi
	movq	_SB_HORZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	callq	_GetScrollInfo
	movl	-20(%rbp), %esi
	movq	%rbx, %rdi
	jmp	LBB0_25
LBB0_9:
	imull	8(%rbx), %edx
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rbx, %rdi
	movl	%edx, %esi
	movl	%eax, %edx
	callq	_LISTBOX_SetTopItem
	jmp	LBB0_26
LBB0_12:
	movl	20(%rbx), %esi
	jmp	LBB0_6
LBB0_8:
	movl	12(%rbx), %eax
	cltd
	idivl	16(%rbx)
	cmpl	$2, %eax
	movl	$1, %esi
	cmovgel	%eax, %esi
	imull	8(%rbx), %esi
	jmp	LBB0_5
LBB0_7:
	movl	4(%rbx), %esi
	movl	12(%rbx), %eax
	cltd
	idivl	16(%rbx)
	cmpl	$2, %eax
	movl	$1, %ecx
	cmovgel	%eax, %ecx
	imull	8(%rbx), %ecx
	subl	%ecx, %esi
	jmp	LBB0_6
LBB0_4:
	movl	8(%rbx), %esi
LBB0_5:
	addl	4(%rbx), %esi
	jmp	LBB0_6
LBB0_3:
	movl	4(%rbx), %esi
	subl	8(%rbx), %esi
LBB0_6:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_LISTBOX_SetTopItem
	jmp	LBB0_26
LBB0_11:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_LISTBOX_SetTopItem
	jmp	LBB0_26
LBB0_21:
	movq	%rbx, %rdi
	movl	%edx, %esi
	jmp	LBB0_25
LBB0_24:
	subl	12(%rbx), %eax
	movq	%rbx, %rdi
	movl	%eax, %esi
	jmp	LBB0_25
LBB0_20:
	movl	12(%rbx), %esi
	addl	28(%rbx), %esi
	movq	%rbx, %rdi
	jmp	LBB0_25
LBB0_19:
	movl	28(%rbx), %esi
	subl	12(%rbx), %esi
	movq	%rbx, %rdi
	jmp	LBB0_25
LBB0_18:
	movl	28(%rbx), %esi
	incl	%esi
	movq	%rbx, %rdi
	jmp	LBB0_25
LBB0_16:
	movl	28(%rbx), %esi
	decl	%esi
	movq	%rbx, %rdi
	jmp	LBB0_25
LBB0_23:
	movq	%rbx, %rdi
	xorl	%esi, %esi
LBB0_25:
	callq	_LISTBOX_SetHorizontalPos
LBB0_26:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_12
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_11
.set L0_1_set_22, LBB0_22-LJTI0_1
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_24, LBB0_24-LJTI0_1
.set L0_1_set_20, LBB0_20-LJTI0_1
.set L0_1_set_19, LBB0_19-LJTI0_1
.set L0_1_set_18, LBB0_18-LJTI0_1
.set L0_1_set_16, LBB0_16-LJTI0_1
.set L0_1_set_23, LBB0_23-LJTI0_1
LJTI0_1:
	.long	L0_1_set_22
	.long	L0_1_set_21
	.long	L0_1_set_24
	.long	L0_1_set_20
	.long	L0_1_set_19
	.long	L0_1_set_18
	.long	L0_1_set_16
	.long	L0_1_set_23
	.end_data_region
                                        ## -- End function
	.comm	_LBS_MULTICOLUMN,4,2            ## @LBS_MULTICOLUMN
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_SIF_TRACKPOS,8,3               ## @SIF_TRACKPOS
	.comm	_SB_VERT,4,2                    ## @SB_VERT
	.comm	_SB_HORZ,4,2                    ## @SB_HORZ
	.no_dead_strip	_LISTBOX_HandleHScroll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LISTBOX_HandleHScroll
_LISTBOX_HandleHScroll:                 ; @LISTBOX_HandleHScroll
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _LBS_MULTICOLUMN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LBS_MULTICOLUMN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	sub	w8, w1, #128
	cmp	w8, #7
	b.hi	LBB0_24
; %bb.2:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	mov	w8, #16
	str	w8, [sp]
Lloh5:
	adrp	x8, _SIF_TRACKPOS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SIF_TRACKPOS@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	ldr	w0, [x19, #32]
Lloh8:
	adrp	x8, _SB_VERT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SB_VERT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_GetScrollInfo
	ldr	w8, [sp, #4]
	ldr	w9, [x19, #8]
	mul	w1, w9, w8
	b	LBB0_14
LBB0_4:
	ldr	w8, [x19, #24]
	cbz	w8, LBB0_24
; %bb.5:
	sub	w9, w1, #128
	cmp	w9, #7
	b.hi	LBB0_24
; %bb.6:
Lloh11:
	adrp	x10, lJTI0_1@PAGE
Lloh12:
	add	x10, x10, lJTI0_1@PAGEOFF
	adr	x11, LBB0_7
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_7:
	mov	w8, #16
	str	w8, [sp]
Lloh13:
	adrp	x8, _SIF_TRACKPOS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SIF_TRACKPOS@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	ldr	w0, [x19, #32]
Lloh16:
	adrp	x8, _SB_HORZ@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SB_HORZ@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_GetScrollInfo
	ldr	w1, [sp, #4]
	b	LBB0_22
LBB0_8:
	ldr	w8, [x19, #8]
	mul	w1, w8, w2
	b	LBB0_14
LBB0_9:
	ldr	w1, [x19, #20]
	b	LBB0_14
LBB0_10:
	ldp	w8, w9, [x19, #12]
	sdiv	w8, w8, w9
	cmp	w8, #1
	csinc	w8, w8, wzr, gt
	ldp	w9, w10, [x19, #4]
	madd	w1, w10, w8, w9
	b	LBB0_14
LBB0_11:
	ldp	w8, w9, [x19, #12]
	sdiv	w8, w8, w9
	cmp	w8, #1
	csinc	w8, w8, wzr, gt
	ldp	w9, w10, [x19, #4]
	msub	w1, w10, w8, w9
	b	LBB0_14
LBB0_12:
	ldp	w8, w9, [x19, #4]
	add	w1, w9, w8
	b	LBB0_14
LBB0_13:
	ldp	w8, w9, [x19, #4]
	sub	w1, w8, w9
LBB0_14:
Lloh19:
	adrp	x8, _TRUE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_LISTBOX_SetTopItem
	b	LBB0_24
LBB0_15:
Lloh22:
	adrp	x8, _TRUE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_LISTBOX_SetTopItem
	b	LBB0_24
LBB0_16:
	mov	x0, x19
	mov	x1, x2
	b	LBB0_23
LBB0_17:
	ldr	w8, [x19, #28]
	ldr	w9, [x19, #12]
	add	w1, w9, w8
	b	LBB0_22
LBB0_18:
	ldr	w8, [x19, #28]
LBB0_19:
	ldr	w9, [x19, #12]
	sub	w1, w8, w9
	b	LBB0_22
LBB0_20:
	ldr	w8, [x19, #28]
	add	w1, w8, #1
	b	LBB0_22
LBB0_21:
	ldr	w8, [x19, #28]
	sub	w1, w8, #1
LBB0_22:
	mov	x0, x19
LBB0_23:
	bl	_LISTBOX_SetHorizontalPos
LBB0_24:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_25:
	mov	x0, x19
	mov	w1, #0
	b	LBB0_23
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
lJTI0_1:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_16-LBB0_7)>>2
	.byte	(LBB0_19-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_18-LBB0_7)>>2
	.byte	(LBB0_20-LBB0_7)>>2
	.byte	(LBB0_21-LBB0_7)>>2
	.byte	(LBB0_25-LBB0_7)>>2
                                        ; -- End function
	.comm	_LBS_MULTICOLUMN,4,2            ; @LBS_MULTICOLUMN
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_SIF_TRACKPOS,8,3               ; @SIF_TRACKPOS
	.comm	_SB_VERT,4,2                    ; @SB_VERT
	.comm	_SB_HORZ,4,2                    ; @SB_HORZ
	.no_dead_strip	_LISTBOX_HandleHScroll
.subsections_via_symbols
