	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Item_YesNo_HandleKey           ## -- Begin function Item_YesNo_HandleKey
	.p2align	4, 0x90
_Item_YesNo_HandleKey:                  ## @Item_YesNo_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
	movl	%esi, %r15d
	movq	%rdi, %rbx
	addq	$12, %rdi
	movq	_DC@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	16(%rax), %edx
	movl	20(%rax), %esi
	callq	_Rect_ContainsPoint
	movq	_qfalse@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	_WINDOW_HASFOCUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_8
## %bb.2:
	movq	(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_8
## %bb.3:
	movq	_K_MOUSE1@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_7
## %bb.4:
	movq	_K_ENTER@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_7
## %bb.5:
	movq	_K_MOUSE2@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_7
## %bb.6:
	movq	_K_MOUSE3@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_8
LBB0_7:
	movq	(%r12), %rax
	movq	8(%rax), %rbx
	movq	%r14, %rdi
	callq	*(%rax)
	xorl	%esi, %esi
	testl	%eax, %eax
	sete	%sil
	leaq	L_.str(%rip), %rdi
	callq	_va
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	*%rbx
	movq	_qtrue@GOTPCREL(%rip), %rcx
LBB0_8:
	movl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DC,8,3                         ## @DC
	.comm	_WINDOW_HASFOCUS,4,2            ## @WINDOW_HASFOCUS
	.comm	_K_MOUSE1,4,2                   ## @K_MOUSE1
	.comm	_K_ENTER,4,2                    ## @K_ENTER
	.comm	_K_MOUSE2,4,2                   ## @K_MOUSE2
	.comm	_K_MOUSE3,4,2                   ## @K_MOUSE3
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%i"

	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_qfalse,4,2                     ## @qfalse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Item_YesNo_HandleKey           ; -- Begin function Item_YesNo_HandleKey
	.p2align	2
_Item_YesNo_HandleKey:                  ; @Item_YesNo_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	x19, x1
	mov	x20, x0
	add	x0, x0, #12
Lloh0:
	adrp	x21, _DC@GOTPAGE
Lloh1:
	ldr	x21, [x21, _DC@GOTPAGEOFF]
	ldr	x8, [x21]
	ldp	w2, w1, [x8, #16]
	bl	_Rect_ContainsPoint
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w8, [x20, #8]
Lloh2:
	adrp	x9, _WINDOW_HASFOCUS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _WINDOW_HASFOCUS@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.2:
	ldr	x20, [x20]
	cbz	x20, LBB0_5
; %bb.3:
Lloh5:
	adrp	x8, _K_MOUSE1@GOTPAGE
Lloh6:
	ldr	x8, [x8, _K_MOUSE1@GOTPAGEOFF]
Lloh7:
	adrp	x9, _K_ENTER@GOTPAGE
Lloh8:
	ldr	x9, [x9, _K_ENTER@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, _K_MOUSE2@GOTPAGE
Lloh12:
	ldr	x10, [x10, _K_MOUSE2@GOTPAGEOFF]
Lloh13:
	adrp	x11, _K_MOUSE3@GOTPAGE
Lloh14:
	ldr	x11, [x11, _K_MOUSE3@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
Lloh16:
	ldr	w11, [x11]
	cmp	w8, w19
	ccmp	w9, w19, #4, ne
	ccmp	w10, w19, #4, ne
	ccmp	w11, w19, #4, ne
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [x21]
	ldp	x8, x19, [x8]
	mov	x0, x20
	blr	x8
	cmp	w0, #0
	cset	w1, eq
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	bl	_va
	mov	x1, x0
	mov	x0, x20
	blr	x19
Lloh19:
	adrp	x8, _qtrue@GOTPAGE
Lloh20:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh21:
	adrp	x8, _qfalse@GOTPAGE
Lloh22:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_DC,8,3                         ; @DC
	.comm	_WINDOW_HASFOCUS,4,2            ; @WINDOW_HASFOCUS
	.comm	_K_MOUSE1,4,2                   ; @K_MOUSE1
	.comm	_K_ENTER,4,2                    ; @K_ENTER
	.comm	_K_MOUSE2,4,2                   ; @K_MOUSE2
	.comm	_K_MOUSE3,4,2                   ; @K_MOUSE3
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%i"

	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_qfalse,4,2                     ; @qfalse
.subsections_via_symbols
