	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Item_HandleKey                 ## -- Begin function Item_HandleKey
	.p2align	4, 0x90
_Item_HandleKey:                        ## @Item_HandleKey
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	_itemCapture@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.6:
	callq	_Item_StopCapture
	movq	$0, (%rbx)
	movq	_captureFunc@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_captureData@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	testq	%r12, %r12
	jne	LBB0_7
	jmp	LBB0_15
LBB0_1:
	testq	%r12, %r12
	je	LBB0_15
## %bb.2:
	movq	_K_MOUSE1@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	je	LBB0_5
## %bb.3:
	movq	_K_MOUSE2@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_K_MOUSE3@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_7
LBB0_5:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_Item_StartCapture
LBB0_7:
	movl	(%r15), %eax
	addl	$-128, %eax
	cmpl	$11, %eax
	ja	LBB0_15
## %bb.8:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_15:
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%r15, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Item_YesNo_HandleKey           ## TAILCALL
LBB0_14:
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%r12, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Item_Slider_HandleKey          ## TAILCALL
LBB0_11:
	movq	%r15, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Item_Multi_HandleKey           ## TAILCALL
LBB0_9:
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%r12, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Item_ListBox_HandleKey         ## TAILCALL
LBB0_13:
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%r12, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Item_Bind_HandleKey            ## TAILCALL
LBB0_12:
	movq	%r15, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Item_OwnerDraw_HandleKey       ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_12
	.long	L0_0_set_15
	.long	L0_0_set_11
	.long	L0_0_set_9
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.comm	_itemCapture,8,3                ## @itemCapture
	.comm	_captureFunc,8,3                ## @captureFunc
	.comm	_captureData,8,3                ## @captureData
	.comm	_K_MOUSE1,4,2                   ## @K_MOUSE1
	.comm	_K_MOUSE2,4,2                   ## @K_MOUSE2
	.comm	_K_MOUSE3,4,2                   ## @K_MOUSE3
	.comm	_qfalse,8,3                     ## @qfalse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Item_HandleKey                 ; -- Begin function Item_HandleKey
	.p2align	2
_Item_HandleKey:                        ; @Item_HandleKey
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _itemCapture@GOTPAGE
Lloh1:
	ldr	x22, [x22, _itemCapture@GOTPAGEOFF]
	ldr	x0, [x22]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_Item_StopCapture
	str	xzr, [x22]
Lloh2:
	adrp	x8, _captureFunc@GOTPAGE
Lloh3:
	ldr	x8, [x8, _captureFunc@GOTPAGEOFF]
Lloh4:
	str	xzr, [x8]
Lloh5:
	adrp	x8, _captureData@GOTPAGE
Lloh6:
	ldr	x8, [x8, _captureData@GOTPAGEOFF]
Lloh7:
	str	xzr, [x8]
	cbnz	x20, LBB0_5
	b	LBB0_7
LBB0_2:
	cbz	x20, LBB0_7
; %bb.3:
Lloh8:
	adrp	x8, _K_MOUSE1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _K_MOUSE1@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _K_MOUSE2@GOTPAGE
Lloh12:
	ldr	x9, [x9, _K_MOUSE2@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, _K_MOUSE3@GOTPAGE
Lloh15:
	ldr	x10, [x10, _K_MOUSE3@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	cmp	w8, w19
	ccmp	w9, w19, #4, ne
	ccmp	w10, w19, #4, ne
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x21
	mov	x1, x19
	bl	_Item_StartCapture
LBB0_5:
	ldr	w8, [x21]
	sub	w8, w8, #128
	cmp	w8, #11
	b.hi	LBB0_7
; %bb.6:
Lloh17:
	adrp	x9, lJTI0_0@PAGE
Lloh18:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
Lloh19:
	adrp	x8, _qfalse@GOTPAGE
Lloh20:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh21:
	ldr	x0, [x8]
	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
LBB0_8:
	mov	x0, x21
	mov	x1, x19
	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
	b	_Item_YesNo_HandleKey
LBB0_9:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	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
	b	_Item_Slider_HandleKey
LBB0_10:
	mov	x0, x21
	mov	x1, x19
	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
	b	_Item_Multi_HandleKey
LBB0_11:
Lloh22:
	adrp	x8, _qfalse@GOTPAGE
Lloh23:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh24:
	ldr	x3, [x8]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	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
	b	_Item_ListBox_HandleKey
LBB0_12:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	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
	b	_Item_Bind_HandleKey
LBB0_13:
	mov	x0, x21
	mov	x1, x19
	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
	b	_Item_OwnerDraw_HandleKey
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_11-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_12-LBB0_7)>>2
                                        ; -- End function
	.comm	_itemCapture,8,3                ; @itemCapture
	.comm	_captureFunc,8,3                ; @captureFunc
	.comm	_captureData,8,3                ; @captureData
	.comm	_K_MOUSE1,4,2                   ; @K_MOUSE1
	.comm	_K_MOUSE2,4,2                   ; @K_MOUSE2
	.comm	_K_MOUSE3,4,2                   ; @K_MOUSE3
	.comm	_qfalse,8,3                     ; @qfalse
.subsections_via_symbols
