	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LISTBOX_HandleMouseMove
_LISTBOX_HandleMouseMove:               ## @LISTBOX_HandleMouseMove
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, 52(%rdi)
	je	LBB0_21
## %bb.1:
	movq	%rdi, %rbx
	movq	_LB_TIMER_NONE@GOTPCREL(%rip), %r15
	movq	(%r15), %r14
	movq	_LBS_MULTICOLUMN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_9
## %bb.2:
	testq	%rdx, %rdx
	js	LBB0_3
## %bb.4:
	movq	16(%rbx), %rax
	imulq	8(%rbx), %rax
	leaq	-1(%rax), %rcx
	cmpq	%rdx, %rax
	cmovleq	%rcx, %rdx
	testq	%rsi, %rsi
	js	LBB0_6
LBB0_7:
	movq	24(%rbx), %rax
	cmpq	%rsi, %rax
	jg	LBB0_14
## %bb.8:
	movq	_LB_TIMER_RIGHT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	decq	%rax
	movq	%rax, %rsi
	jmp	LBB0_14
LBB0_9:
	testq	%rdx, %rdx
	js	LBB0_10
## %bb.11:
	cmpq	%rdx, 32(%rbx)
	jg	LBB0_14
## %bb.12:
	movq	_LB_TIMER_DOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_3:
	xorl	%edx, %edx
	testq	%rsi, %rsi
	jns	LBB0_7
LBB0_6:
	movq	_LB_TIMER_LEFT@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	xorl	%esi, %esi
	jmp	LBB0_14
LBB0_10:
	movq	_LB_TIMER_UP@GOTPCREL(%rip), %rax
LBB0_13:
	movq	(%rax), %r14
LBB0_14:
	movq	%rbx, %rdi
	callq	_LISTBOX_GetItemFromPoint
	cmpq	$-1, %rax
	jne	LBB0_16
## %bb.15:
	movq	40(%rbx), %rax
LBB0_16:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_LISTBOX_HandleTimer
	testl	%eax, %eax
	movq	(%r15), %rax
	cmoveq	%rax, %r14
	cmpq	%rax, %r14
	jne	LBB0_17
## %bb.18:
	movq	_LISTBOX_Timer@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	je	LBB0_20
## %bb.19:
	movl	48(%rbx), %edi
	movq	_LB_TIMER_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_KillSystemTimer
	jmp	LBB0_20
LBB0_17:
	movl	48(%rbx), %edi
	movq	_LB_TIMER_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LB_SCROLL_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_SetSystemTimer
LBB0_20:
	movq	_LISTBOX_Timer@GOTPCREL(%rip), %rax
	movq	%r14, (%rax)
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LB_TIMER_NONE,8,3              ## @LB_TIMER_NONE
	.comm	_LBS_MULTICOLUMN,4,2            ## @LBS_MULTICOLUMN
	.comm	_LB_TIMER_LEFT,8,3              ## @LB_TIMER_LEFT
	.comm	_LB_TIMER_RIGHT,8,3             ## @LB_TIMER_RIGHT
	.comm	_LB_TIMER_UP,8,3                ## @LB_TIMER_UP
	.comm	_LB_TIMER_DOWN,8,3              ## @LB_TIMER_DOWN
	.comm	_LB_TIMER_ID,4,2                ## @LB_TIMER_ID
	.comm	_LB_SCROLL_TIMEOUT,4,2          ## @LB_SCROLL_TIMEOUT
	.comm	_LISTBOX_Timer,8,3              ## @LISTBOX_Timer
	.no_dead_strip	_LISTBOX_HandleMouseMove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LISTBOX_HandleMouseMove
_LISTBOX_HandleMouseMove:               ; @LISTBOX_HandleMouseMove
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	w8, [x0, #52]
	cbz	w8, LBB0_19
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x21, _LB_TIMER_NONE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _LB_TIMER_NONE@GOTPAGEOFF]
	ldr	x20, [x21]
	ldr	w8, [x0]
Lloh2:
	adrp	x9, _LBS_MULTICOLUMN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LBS_MULTICOLUMN@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.2:
	tbnz	x2, #63, LBB0_8
; %bb.3:
	ldp	x8, x9, [x19, #8]
	mul	x8, x9, x8
	sub	x9, x8, #1
	cmp	x8, x2
	csel	x2, x2, x9, gt
	tbnz	x1, #63, LBB0_9
LBB0_4:
	ldr	x8, [x19, #24]
	cmp	x8, x1
	b.gt	LBB0_12
; %bb.5:
Lloh5:
	adrp	x9, _LB_TIMER_RIGHT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _LB_TIMER_RIGHT@GOTPAGEOFF]
Lloh7:
	ldr	x20, [x9]
	sub	x1, x8, #1
	b	LBB0_12
LBB0_6:
	tbnz	x2, #63, LBB0_10
; %bb.7:
	ldr	x8, [x19, #32]
Lloh8:
	adrp	x9, _LB_TIMER_DOWN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _LB_TIMER_DOWN@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x2
	csel	x20, x20, x9, gt
	b	LBB0_12
LBB0_8:
	mov	x2, #0
	tbz	x1, #63, LBB0_4
LBB0_9:
	mov	x1, #0
Lloh11:
	adrp	x8, _LB_TIMER_LEFT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LB_TIMER_LEFT@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh13:
	adrp	x8, _LB_TIMER_UP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LB_TIMER_UP@GOTPAGEOFF]
LBB0_11:
	ldr	x20, [x8]
LBB0_12:
	mov	x0, x19
	bl	_LISTBOX_GetItemFromPoint
	mov	x1, x0
	cmn	x0, #1
	b.ne	LBB0_14
; %bb.13:
	ldr	x1, [x19, #40]
LBB0_14:
	mov	x0, x19
	mov	x2, x20
	bl	_LISTBOX_HandleTimer
	ldr	x8, [x21]
	cmp	w0, #0
	csel	x20, x8, x20, eq
Lloh15:
	adrp	x21, _LISTBOX_Timer@GOTPAGE
Lloh16:
	ldr	x21, [x21, _LISTBOX_Timer@GOTPAGEOFF]
	cmp	x20, x8
	b.ne	LBB0_17
; %bb.15:
	ldr	x9, [x21]
	cmp	x9, x8
	b.eq	LBB0_18
; %bb.16:
	ldr	w0, [x19, #48]
Lloh17:
	adrp	x8, _LB_TIMER_ID@GOTPAGE
Lloh18:
	ldr	x8, [x8, _LB_TIMER_ID@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_KillSystemTimer
	b	LBB0_18
LBB0_17:
	ldr	w0, [x19, #48]
Lloh20:
	adrp	x8, _LB_TIMER_ID@GOTPAGE
Lloh21:
	ldr	x8, [x8, _LB_TIMER_ID@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x8, _LB_SCROLL_TIMEOUT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _LB_SCROLL_TIMEOUT@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x3, #0
	bl	_SetSystemTimer
LBB0_18:
	str	x20, [x21]
LBB0_19:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_LB_TIMER_NONE,8,3              ; @LB_TIMER_NONE
	.comm	_LBS_MULTICOLUMN,4,2            ; @LBS_MULTICOLUMN
	.comm	_LB_TIMER_LEFT,8,3              ; @LB_TIMER_LEFT
	.comm	_LB_TIMER_RIGHT,8,3             ; @LB_TIMER_RIGHT
	.comm	_LB_TIMER_UP,8,3                ; @LB_TIMER_UP
	.comm	_LB_TIMER_DOWN,8,3              ; @LB_TIMER_DOWN
	.comm	_LB_TIMER_ID,4,2                ; @LB_TIMER_ID
	.comm	_LB_SCROLL_TIMEOUT,4,2          ; @LB_SCROLL_TIMEOUT
	.comm	_LISTBOX_Timer,8,3              ; @LISTBOX_Timer
	.no_dead_strip	_LISTBOX_HandleMouseMove
.subsections_via_symbols
