	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function apple_setup_input
_apple_setup_input:                     ## @apple_setup_input
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_KEY_NUMLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_set_bit
	movq	_apple_fn_keys@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	cmpq	$0, 8(%rbx)
	je	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movl	(%r14), %esi
	callq	_set_bit
	cmpq	$0, 24(%rbx)
	leaq	16(%rbx), %rbx
	jne	LBB0_1
LBB0_2:
	movq	_powerbook_fn_keys@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	cmpq	$0, 8(%rbx)
	je	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movl	(%r14), %esi
	callq	_set_bit
	cmpq	$0, 24(%rbx)
	leaq	16(%rbx), %rbx
	jne	LBB0_3
LBB0_4:
	movq	_powerbook_numlock_keys@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	cmpq	$0, 8(%rbx)
	je	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movl	(%r14), %esi
	callq	_set_bit
	cmpq	$0, 24(%rbx)
	leaq	16(%rbx), %rbx
	jne	LBB0_5
LBB0_6:
	movq	_apple_iso_keyboard@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	cmpq	$0, 8(%rbx)
	je	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movl	(%r14), %esi
	callq	_set_bit
	cmpq	$0, 24(%rbx)
	leaq	16(%rbx), %rbx
	jne	LBB0_7
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KEY_NUMLOCK,4,2                ## @KEY_NUMLOCK
	.comm	_apple_fn_keys,8,3              ## @apple_fn_keys
	.comm	_powerbook_fn_keys,8,3          ## @powerbook_fn_keys
	.comm	_powerbook_numlock_keys,8,3     ## @powerbook_numlock_keys
	.comm	_apple_iso_keyboard,8,3         ## @apple_iso_keyboard
	.no_dead_strip	_apple_setup_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apple_setup_input
_apple_setup_input:                     ; @apple_setup_input
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _KEY_NUMLOCK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KEY_NUMLOCK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_set_bit
Lloh3:
	adrp	x8, _apple_fn_keys@GOTPAGE
Lloh4:
	ldr	x8, [x8, _apple_fn_keys@GOTPAGEOFF]
Lloh5:
	ldr	x20, [x8]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	ldr	w1, [x19]
	bl	_set_bit
	ldr	x8, [x20, #24]
	add	x20, x20, #16
	cbnz	x8, LBB0_1
LBB0_2:
Lloh6:
	adrp	x8, _powerbook_fn_keys@GOTPAGE
Lloh7:
	ldr	x8, [x8, _powerbook_fn_keys@GOTPAGEOFF]
Lloh8:
	ldr	x20, [x8]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	ldr	w1, [x19]
	bl	_set_bit
	ldr	x8, [x20, #24]
	add	x20, x20, #16
	cbnz	x8, LBB0_3
LBB0_4:
Lloh9:
	adrp	x8, _powerbook_numlock_keys@GOTPAGE
Lloh10:
	ldr	x8, [x8, _powerbook_numlock_keys@GOTPAGEOFF]
Lloh11:
	ldr	x20, [x8]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_6
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	ldr	w1, [x19]
	bl	_set_bit
	ldr	x8, [x20, #24]
	add	x20, x20, #16
	cbnz	x8, LBB0_5
LBB0_6:
Lloh12:
	adrp	x8, _apple_iso_keyboard@GOTPAGE
Lloh13:
	ldr	x8, [x8, _apple_iso_keyboard@GOTPAGEOFF]
Lloh14:
	ldr	x20, [x8]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	ldr	w1, [x19]
	bl	_set_bit
	ldr	x8, [x20, #24]
	add	x20, x20, #16
	cbnz	x8, LBB0_7
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_KEY_NUMLOCK,4,2                ; @KEY_NUMLOCK
	.comm	_apple_fn_keys,8,3              ; @apple_fn_keys
	.comm	_powerbook_fn_keys,8,3          ; @powerbook_fn_keys
	.comm	_powerbook_numlock_keys,8,3     ; @powerbook_numlock_keys
	.comm	_apple_iso_keyboard,8,3         ; @apple_iso_keyboard
	.no_dead_strip	_apple_setup_input
.subsections_via_symbols
