	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atkbd_need_xlate
_atkbd_need_xlate:                      ## @atkbd_need_xlate
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, -40(%rbp)
	movq	_ATKBD_RET_EMUL0@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	cmpb	%r15b, (%rax)
	je	LBB0_7
## %bb.1:
	movq	_ATKBD_RET_EMUL1@GOTPCREL(%rip), %rax
	cmpb	%r15b, (%rax)
	je	LBB0_7
## %bb.2:
	movq	_xl_table@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	movl	$1, %r14d
	testl	%eax, %eax
	jle	LBB0_7
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	cmpb	%r15b, (%rdi,%rbx)
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_4
	jmp	LBB0_7
LBB0_5:
	leaq	-40(%rbp), %rsi
	movl	%ebx, %edi
	callq	_test_bit
	movl	%eax, %r14d
LBB0_7:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATKBD_RET_EMUL0,1,0            ## @ATKBD_RET_EMUL0
	.comm	_ATKBD_RET_EMUL1,1,0            ## @ATKBD_RET_EMUL1
	.comm	_xl_table,8,3                   ## @xl_table
	.no_dead_strip	_atkbd_need_xlate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atkbd_need_xlate
_atkbd_need_xlate:                      ; @atkbd_need_xlate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	str	x0, [sp, #8]
Lloh0:
	adrp	x8, _ATKBD_RET_EMUL0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATKBD_RET_EMUL0@GOTPAGEOFF]
	ldrb	w8, [x8]
Lloh2:
	adrp	x9, _ATKBD_RET_EMUL1@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ATKBD_RET_EMUL1@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w8, w1
	ccmp	w9, w1, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_8
LBB0_2:
	mov	x19, x1
Lloh4:
	adrp	x21, _xl_table@GOTPAGE
Lloh5:
	ldr	x21, [x21, _xl_table@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.3:
	mov	x20, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21]
	ldrb	w8, [x0, x20]
	cmp	w8, w19
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	bl	_ARRAY_SIZE
	cmp	x20, w0, sxtw
	b.lt	LBB0_4
LBB0_6:
	mov	w0, #1
	b	LBB0_8
LBB0_7:
	add	x1, sp, #8
	mov	x0, x20
	bl	_test_bit
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ATKBD_RET_EMUL0,1,0            ; @ATKBD_RET_EMUL0
	.comm	_ATKBD_RET_EMUL1,1,0            ; @ATKBD_RET_EMUL1
	.comm	_xl_table,8,3                   ; @xl_table
	.no_dead_strip	_atkbd_need_xlate
.subsections_via_symbols
