	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wiimod_keys_in_keys
_wiimod_keys_in_keys:                   ## @wiimod_keys_in_keys
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movq	_wiimod_keys_map@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_WIIPROTO_KEY_LEFT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	(%r14), %edx
	andl	$1, %edx
	callq	_input_report_key
	movl	(%rbx), %edi
	movq	(%r15), %rax
	movq	_WIIPROTO_KEY_RIGHT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	(%r14), %edx
	shrl	%edx
	andl	$1, %edx
	callq	_input_report_key
	movl	(%rbx), %edi
	movq	(%r15), %rax
	movq	_WIIPROTO_KEY_DOWN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	(%r14), %edx
	shrl	$2, %edx
	andl	$1, %edx
	callq	_input_report_key
	movl	(%rbx), %edi
	movq	(%r15), %rax
	movq	_WIIPROTO_KEY_UP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	(%r14), %edx
	shrl	$3, %edx
	andl	$1, %edx
	callq	_input_report_key
	movl	(%rbx), %edi
	movq	(%r15), %rax
	movq	_WIIPROTO_KEY_PLUS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	(%r14), %edx
	shrl	$4, %edx
	andl	$1, %edx
	callq	_input_report_key
	movl	(%rbx), %edi
	movq	(%r15), %rax
	movq	_WIIPROTO_KEY_TWO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	4(%r14), %edx
	andl	$1, %edx
	callq	_input_report_key
	movl	(%rbx), %edi
	movq	(%r15), %rax
	movq	_WIIPROTO_KEY_ONE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	4(%r14), %edx
	shrl	%edx
	andl	$1, %edx
	callq	_input_report_key
	movl	(%rbx), %edi
	movq	(%r15), %rax
	movq	_WIIPROTO_KEY_B@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	4(%r14), %edx
	shrl	$2, %edx
	andl	$1, %edx
	callq	_input_report_key
	movl	(%rbx), %edi
	movq	(%r15), %rax
	movq	_WIIPROTO_KEY_A@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	4(%r14), %edx
	shrl	$3, %edx
	andl	$1, %edx
	callq	_input_report_key
	movl	(%rbx), %edi
	movq	(%r15), %rax
	movq	_WIIPROTO_KEY_MINUS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	4(%r14), %edx
	shrl	$4, %edx
	andl	$1, %edx
	callq	_input_report_key
	movl	(%rbx), %edi
	movq	(%r15), %rax
	movq	_WIIPROTO_KEY_HOME@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	4(%r14), %edx
	shrl	$7, %edx
	andl	$1, %edx
	callq	_input_report_key
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_input_sync                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_wiimod_keys_map,8,3            ## @wiimod_keys_map
	.comm	_WIIPROTO_KEY_LEFT,8,3          ## @WIIPROTO_KEY_LEFT
	.comm	_WIIPROTO_KEY_RIGHT,8,3         ## @WIIPROTO_KEY_RIGHT
	.comm	_WIIPROTO_KEY_DOWN,8,3          ## @WIIPROTO_KEY_DOWN
	.comm	_WIIPROTO_KEY_UP,8,3            ## @WIIPROTO_KEY_UP
	.comm	_WIIPROTO_KEY_PLUS,8,3          ## @WIIPROTO_KEY_PLUS
	.comm	_WIIPROTO_KEY_TWO,8,3           ## @WIIPROTO_KEY_TWO
	.comm	_WIIPROTO_KEY_ONE,8,3           ## @WIIPROTO_KEY_ONE
	.comm	_WIIPROTO_KEY_B,8,3             ## @WIIPROTO_KEY_B
	.comm	_WIIPROTO_KEY_A,8,3             ## @WIIPROTO_KEY_A
	.comm	_WIIPROTO_KEY_MINUS,8,3         ## @WIIPROTO_KEY_MINUS
	.comm	_WIIPROTO_KEY_HOME,8,3          ## @WIIPROTO_KEY_HOME
	.no_dead_strip	_wiimod_keys_in_keys
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wiimod_keys_in_keys
_wiimod_keys_in_keys:                   ; @wiimod_keys_in_keys
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x21, _wiimod_keys_map@GOTPAGE
Lloh1:
	ldr	x21, [x21, _wiimod_keys_map@GOTPAGEOFF]
Lloh2:
	adrp	x8, _WIIPROTO_KEY_LEFT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WIIPROTO_KEY_LEFT@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh4:
	ldr	x8, [x8]
	ldr	w1, [x9, x8, lsl #2]
	ldr	w8, [x20]
	and	w2, w8, #0x1
	bl	_input_report_key
	ldr	w0, [x19]
Lloh5:
	adrp	x8, _WIIPROTO_KEY_RIGHT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WIIPROTO_KEY_RIGHT@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh7:
	ldr	x8, [x8]
	ldr	w1, [x9, x8, lsl #2]
	ldr	w8, [x20]
	ubfx	w2, w8, #1, #1
	bl	_input_report_key
	ldr	w0, [x19]
Lloh8:
	adrp	x8, _WIIPROTO_KEY_DOWN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WIIPROTO_KEY_DOWN@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh10:
	ldr	x8, [x8]
	ldr	w1, [x9, x8, lsl #2]
	ldr	w8, [x20]
	ubfx	w2, w8, #2, #1
	bl	_input_report_key
	ldr	w0, [x19]
Lloh11:
	adrp	x8, _WIIPROTO_KEY_UP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WIIPROTO_KEY_UP@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh13:
	ldr	x8, [x8]
	ldr	w1, [x9, x8, lsl #2]
	ldr	w8, [x20]
	ubfx	w2, w8, #3, #1
	bl	_input_report_key
	ldr	w0, [x19]
Lloh14:
	adrp	x8, _WIIPROTO_KEY_PLUS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WIIPROTO_KEY_PLUS@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh16:
	ldr	x8, [x8]
	ldr	w1, [x9, x8, lsl #2]
	ldr	w8, [x20]
	ubfx	w2, w8, #4, #1
	bl	_input_report_key
	ldr	w0, [x19]
Lloh17:
	adrp	x8, _WIIPROTO_KEY_TWO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _WIIPROTO_KEY_TWO@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh19:
	ldr	x8, [x8]
	ldr	w1, [x9, x8, lsl #2]
	ldr	w8, [x20, #4]
	and	w2, w8, #0x1
	bl	_input_report_key
	ldr	w0, [x19]
Lloh20:
	adrp	x8, _WIIPROTO_KEY_ONE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _WIIPROTO_KEY_ONE@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh22:
	ldr	x8, [x8]
	ldr	w1, [x9, x8, lsl #2]
	ldr	w8, [x20, #4]
	ubfx	w2, w8, #1, #1
	bl	_input_report_key
	ldr	w0, [x19]
Lloh23:
	adrp	x8, _WIIPROTO_KEY_B@GOTPAGE
Lloh24:
	ldr	x8, [x8, _WIIPROTO_KEY_B@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh25:
	ldr	x8, [x8]
	ldr	w1, [x9, x8, lsl #2]
	ldr	w8, [x20, #4]
	ubfx	w2, w8, #2, #1
	bl	_input_report_key
	ldr	w0, [x19]
Lloh26:
	adrp	x8, _WIIPROTO_KEY_A@GOTPAGE
Lloh27:
	ldr	x8, [x8, _WIIPROTO_KEY_A@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh28:
	ldr	x8, [x8]
	ldr	w1, [x9, x8, lsl #2]
	ldr	w8, [x20, #4]
	ubfx	w2, w8, #3, #1
	bl	_input_report_key
	ldr	w0, [x19]
Lloh29:
	adrp	x8, _WIIPROTO_KEY_MINUS@GOTPAGE
Lloh30:
	ldr	x8, [x8, _WIIPROTO_KEY_MINUS@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh31:
	ldr	x8, [x8]
	ldr	w1, [x9, x8, lsl #2]
	ldr	w8, [x20, #4]
	ubfx	w2, w8, #4, #1
	bl	_input_report_key
	ldr	w0, [x19]
Lloh32:
	adrp	x8, _WIIPROTO_KEY_HOME@GOTPAGE
Lloh33:
	ldr	x8, [x8, _WIIPROTO_KEY_HOME@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh34:
	ldr	x8, [x8]
	ldr	w1, [x9, x8, lsl #2]
	ldr	w8, [x20, #4]
	ubfx	w2, w8, #7, #1
	bl	_input_report_key
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_input_sync
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_wiimod_keys_map,8,3            ; @wiimod_keys_map
	.comm	_WIIPROTO_KEY_LEFT,8,3          ; @WIIPROTO_KEY_LEFT
	.comm	_WIIPROTO_KEY_RIGHT,8,3         ; @WIIPROTO_KEY_RIGHT
	.comm	_WIIPROTO_KEY_DOWN,8,3          ; @WIIPROTO_KEY_DOWN
	.comm	_WIIPROTO_KEY_UP,8,3            ; @WIIPROTO_KEY_UP
	.comm	_WIIPROTO_KEY_PLUS,8,3          ; @WIIPROTO_KEY_PLUS
	.comm	_WIIPROTO_KEY_TWO,8,3           ; @WIIPROTO_KEY_TWO
	.comm	_WIIPROTO_KEY_ONE,8,3           ; @WIIPROTO_KEY_ONE
	.comm	_WIIPROTO_KEY_B,8,3             ; @WIIPROTO_KEY_B
	.comm	_WIIPROTO_KEY_A,8,3             ; @WIIPROTO_KEY_A
	.comm	_WIIPROTO_KEY_MINUS,8,3         ; @WIIPROTO_KEY_MINUS
	.comm	_WIIPROTO_KEY_HOME,8,3          ; @WIIPROTO_KEY_HOME
	.no_dead_strip	_wiimod_keys_in_keys
.subsections_via_symbols
