	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_kp_find_key
_omap_kp_find_key:                      ## @omap_kp_find_key
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%edx, %edx
	callq	_KEY
	movl	%eax, %ecx
	movq	_keymap@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	(%rsi), %edx
	movl	$-1, %eax
	testl	%edx, %edx
	je	LBB0_5
## %bb.1:
	addq	$4, %rsi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edx, %edi
	andl	$-16777216, %edi                ## imm = 0xFF000000
	cmpl	%ecx, %edi
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rsi), %edx
	addq	$4, %rsi
	testl	%edx, %edx
	jne	LBB0_3
LBB0_5:
	popq	%rbp
	retq
LBB0_4:
	andl	$16777215, %edx                 ## imm = 0xFFFFFF
	movl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_keymap,8,3                     ## @keymap
	.no_dead_strip	_omap_kp_find_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_kp_find_key
_omap_kp_find_key:                      ; @omap_kp_find_key
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w2, #0
	bl	_KEY
Lloh0:
	adrp	x8, _keymap@GOTPAGE
Lloh1:
	ldr	x8, [x8, _keymap@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	ldr	w8, [x9]
	cbz	w8, LBB0_4
; %bb.1:
	add	x9, x9, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	and	w10, w8, #0xff000000
	cmp	w10, w0
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x9], #4
	cbnz	w8, LBB0_2
LBB0_4:
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	and	w0, w8, #0xffffff
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_keymap,8,3                     ; @keymap
	.no_dead_strip	_omap_kp_find_key
.subsections_via_symbols
