	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_find_keyboard_layout_map       ## -- Begin function find_keyboard_layout_map
	.p2align	4, 0x90
_find_keyboard_layout_map:              ## @find_keyboard_layout_map
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.1:
	movl	%ecx, %eax
	leal	(,%rsi,8), %ecx
	negb	%cl
	movl	$-1, %r8d
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	cmpq	%rax, %r9
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, 4(%rdx,%rax,8)
	jne	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rdx,%rax,8), %ecx
	xorl	%edi, %ecx
	testl	%r8d, %ecx
	jne	LBB0_2
## %bb.5:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_6:
	movl	$-1, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_find_keyboard_layout_map       ; -- Begin function find_keyboard_layout_map
	.p2align	2
_find_keyboard_layout_map:              ; @find_keyboard_layout_map
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	w0, #-1
	cmp	w3, #1
	b.lt	LBB0_5
; %bb.1:
	lsl	w9, w1, #3
	neg	w9, w9
	lsr	w9, w0, w9
	mov	w10, w3
	add	x11, x2, #4
	mov	x0, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x0, #1
	add	x11, x11, #8
	cmp	x10, x0
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11]
	cmp	w12, w1
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w12, [x11, #-4]
	eor	w12, w12, w8
	tst	w12, w9
	b.ne	LBB0_2
LBB0_5:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_6:
	mov	w0, #-1
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
