	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_hotkey
_check_hotkey:                          ## @check_hotkey
	.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
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movslq	%esi, %rbx
	shlq	$4, %rbx
	xorl	%eax, %eax
	cmpq	$0, (%rdi,%rbx)
	setne	%al
	cmpl	%edx, %eax
	jne	LBB0_3
## %bb.1:
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_dlg_last_getc
	movq	_dialog_vars@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	$0, (%rcx)
	setne	%dl
	addq	%rbx, %r15
	movl	8(%r15,%rdx,4), %esi
	movl	%eax, %edi
	callq	_dlg_match_char
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_dialog_vars,8,3                ## @dialog_vars
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_check_hotkey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_hotkey
_check_hotkey:                          ; @check_hotkey
	.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
                                        ; kill: def $w1 killed $w1 def $x1
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	sbfiz	x8, x1, #4, #32
	ldr	x8, [x0, x8]
	cmp	x8, #0
	cset	w8, ne
	cmp	w8, w2
	b.ne	LBB0_2
; %bb.1:
	mov	x20, x0
	sxtw	x21, w1
	bl	_dlg_last_getc
Lloh3:
	adrp	x8, _dialog_vars@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dialog_vars@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x9, x20, x21, lsl #4
	add	x10, x9, #12
	add	x9, x9, #8
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	w1, [x8]
	bl	_dlg_match_char
Lloh6:
	adrp	x8, _TRUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w19, w19, w8, eq
LBB0_2:
	mov	x0, 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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_dialog_vars,8,3                ; @dialog_vars
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_check_hotkey
.subsections_via_symbols
