	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bfin_kpad_find_key
_bfin_kpad_find_key:                    ## @bfin_kpad_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
	movq	(%rsi), %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.1:
	movq	(%rdi), %rsi
	movq	%rcx, %rdi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, (%rsi,%rcx,8)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$8, %rsi
	decq	%rdi
	jne	LBB0_2
LBB0_5:
	popq	%rbp
	retq
LBB0_3:
	movl	(%rsi), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bfin_kpad_find_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bfin_kpad_find_key
_bfin_kpad_find_key:                    ; @bfin_kpad_find_key
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x9, [x0]
	mov	x10, x8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9, x8, lsl #3]
	cmp	x11, x2
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #8
	subs	x10, x10, #1
	b.ne	LBB0_2
LBB0_4:
	mov	w0, #-1
	ret
LBB0_5:
	ldr	w0, [x9]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bfin_kpad_find_key
.subsections_via_symbols
