	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LISTBOX_HandleTimer
_LISTBOX_HandleTimer:                   ## @LISTBOX_HandleTimer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdi, %rbx
	addl	$-128, %edx
	cmpl	$4, %edx
	ja	LBB0_7
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	(%rbx), %rax
	xorl	%esi, %esi
	subq	$1, %rax
	cmovaeq	%rax, %rsi
	cmpq	16(%rbx), %rsi
	je	LBB0_8
	jmp	LBB0_9
LBB0_6:
	movq	8(%rbx), %rax
	addq	%rsi, %rax
	cmpq	24(%rbx), %rax
	cmovlq	%rax, %rsi
	cmpq	16(%rbx), %rsi
	je	LBB0_8
	jmp	LBB0_9
LBB0_3:
	cmpq	$0, (%rbx)
	je	LBB0_7
## %bb.4:
	subq	8(%rbx), %rsi
LBB0_7:
	cmpq	16(%rbx), %rsi
	jne	LBB0_9
LBB0_8:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_5:
	movq	(%rbx), %r14
	movq	%rbx, %rdi
	callq	_LISTBOX_GetCurrentPageSize
	addq	%r14, %rax
	xorl	%ecx, %ecx
	cmpq	16(%rbx), %rax
	sete	%cl
	addq	%rax, %rcx
	movq	24(%rbx), %rax
	leaq	-1(%rax), %rsi
	cmpq	%rax, %rcx
	cmovlq	%rcx, %rsi
	cmpq	16(%rbx), %rsi
	je	LBB0_8
LBB0_9:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_LISTBOX_MoveCaret
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_LISTBOX_HandleTimer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LISTBOX_HandleTimer
_LISTBOX_HandleTimer:                   ; @LISTBOX_HandleTimer
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	sub	w8, w2, #128
	cmp	w8, #4
	b.hi	LBB0_7
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	x8, [x19]
	sub	x9, x8, #1
	cmp	x8, #0
	csel	x1, xzr, x9, eq
	b	LBB0_7
LBB0_3:
	ldr	x8, [x19, #8]
	ldr	x9, [x19, #24]
	add	x8, x8, x1
	cmp	x8, x9
	csel	x1, x8, x1, lt
	b	LBB0_7
LBB0_4:
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	x8, [x19, #8]
	sub	x1, x1, x8
	b	LBB0_7
LBB0_6:
	ldr	x20, [x19]
	mov	x0, x19
	bl	_LISTBOX_GetCurrentPageSize
	ldp	x8, x9, [x19, #16]
	add	x10, x0, x20
	cmp	x10, x8
	cinc	x8, x10, eq
	sub	x10, x9, #1
	cmp	x8, x9
	csel	x1, x8, x10, lt
LBB0_7:
	ldr	x9, [x19, #16]
Lloh2:
	adrp	x8, _FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	cmp	x1, x9
	b.eq	LBB0_9
; %bb.8:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_LISTBOX_MoveCaret
Lloh4:
	adrp	x8, _TRUE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_LISTBOX_HandleTimer
.subsections_via_symbols
