	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_apple_keyboard_find_any_key    ## -- Begin function apple_keyboard_find_any_key
	.p2align	4, 0x90
_apple_keyboard_find_any_key:           ## @apple_keyboard_find_any_key
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_apple_key_name_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	(%rcx), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	_apple_key_state@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	$1, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cltq
	cmpq	$0, (%rdx,%rax,8)
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%esi, %eax
	movl	(%rcx,%rax,4), %eax
	incl	%esi
	testl	%eax, %eax
	jne	LBB0_2
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_apple_key_name_map,8,3         ## @apple_key_name_map
	.comm	_apple_key_state,8,3            ## @apple_key_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_apple_keyboard_find_any_key    ; -- Begin function apple_keyboard_find_any_key
	.p2align	2
_apple_keyboard_find_any_key:           ; @apple_keyboard_find_any_key
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _apple_key_name_map@GOTPAGE
Lloh1:
	ldr	x8, [x8, _apple_key_name_map@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w9, [x8]
	cbz	w9, LBB0_4
; %bb.1:
Lloh3:
	adrp	x10, _apple_key_state@GOTPAGE
Lloh4:
	ldr	x10, [x10, _apple_key_state@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	mov	w11, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10, w9, sxtw #3]
	cbnz	x12, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [x8, w11, uxtw #2]
	add	w11, w11, #1
	cbnz	w9, LBB0_2
LBB0_4:
	mov	x0, #0
	ret
LBB0_5:
	sxtw	x0, w9
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_apple_key_name_map,8,3         ; @apple_key_name_map
	.comm	_apple_key_state,8,3            ; @apple_key_state
.subsections_via_symbols
