	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_dev_c21ux2               ## -- Begin function input_dev_c21ux2
	.p2align	4, 0x90
_input_dev_c21ux2:                      ## @input_dev_c21ux2
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_BTN_A@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_MASK
	movl	%eax, %r15d
	movq	_BTN_B@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_MASK
	movl	%eax, %ebx
	orl	%r15d, %ebx
	movq	_BTN_C@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_MASK
	movl	%eax, %r15d
	orl	%ebx, %r15d
	movq	(%r14), %rbx
	movq	_BTN_GAMEPAD@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_BIT_WORD
	orl	%r15d, (%rbx,%rax,4)
	movq	_BTN_X@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_MASK
	movl	%eax, %r15d
	movq	_BTN_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_MASK
	movl	%eax, %r12d
	orl	%r15d, %r12d
	movq	_BTN_Z@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_MASK
	movl	%eax, %ebx
	orl	%r12d, %ebx
	movq	(%r14), %r15
	movl	(%r13), %edi
	callq	_BIT_WORD
	orl	%ebx, (%r15,%rax,4)
	movq	_BTN_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_MASK
	movl	%eax, %r15d
	movq	_BTN_BASE2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_MASK
	movl	%eax, %ebx
	orl	%r15d, %ebx
	movq	(%r14), %r14
	movq	_BTN_JOYSTICK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_WORD
	orl	%ebx, (%r14,%rax,4)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BTN_A,4,2                      ## @BTN_A
	.comm	_BTN_B,4,2                      ## @BTN_B
	.comm	_BTN_C,4,2                      ## @BTN_C
	.comm	_BTN_GAMEPAD,4,2                ## @BTN_GAMEPAD
	.comm	_BTN_X,4,2                      ## @BTN_X
	.comm	_BTN_Y,4,2                      ## @BTN_Y
	.comm	_BTN_Z,4,2                      ## @BTN_Z
	.comm	_BTN_BASE,4,2                   ## @BTN_BASE
	.comm	_BTN_BASE2,4,2                  ## @BTN_BASE2
	.comm	_BTN_JOYSTICK,4,2               ## @BTN_JOYSTICK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_dev_c21ux2               ; -- Begin function input_dev_c21ux2
	.p2align	2
_input_dev_c21ux2:                      ; @input_dev_c21ux2
	.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	x19, x0
Lloh0:
	adrp	x8, _BTN_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BTN_A@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_BIT_MASK
	mov	x20, x0
Lloh3:
	adrp	x8, _BTN_B@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BTN_B@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_BIT_MASK
	orr	w20, w0, w20
Lloh6:
	adrp	x8, _BTN_C@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BTN_C@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_BIT_MASK
	orr	w20, w20, w0
	ldr	x21, [x19]
Lloh9:
	adrp	x22, _BTN_GAMEPAD@GOTPAGE
Lloh10:
	ldr	x22, [x22, _BTN_GAMEPAD@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_BIT_WORD
	lsl	x8, x0, #2
	ldr	w9, [x21, x8]
	orr	w9, w20, w9
	str	w9, [x21, x8]
Lloh11:
	adrp	x8, _BTN_X@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BTN_X@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_BIT_MASK
	mov	x20, x0
Lloh14:
	adrp	x8, _BTN_Y@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BTN_Y@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_BIT_MASK
	orr	w20, w0, w20
Lloh17:
	adrp	x8, _BTN_Z@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BTN_Z@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_BIT_MASK
	orr	w20, w20, w0
	ldr	x21, [x19]
	ldr	w0, [x22]
	bl	_BIT_WORD
	lsl	x8, x0, #2
	ldr	w9, [x21, x8]
	orr	w9, w20, w9
	str	w9, [x21, x8]
Lloh20:
	adrp	x8, _BTN_BASE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BTN_BASE@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_BIT_MASK
	mov	x20, x0
Lloh23:
	adrp	x8, _BTN_BASE2@GOTPAGE
Lloh24:
	ldr	x8, [x8, _BTN_BASE2@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_BIT_MASK
	orr	w20, w0, w20
	ldr	x19, [x19]
Lloh26:
	adrp	x8, _BTN_JOYSTICK@GOTPAGE
Lloh27:
	ldr	x8, [x8, _BTN_JOYSTICK@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_BIT_WORD
	lsl	x8, x0, #2
	ldr	w9, [x19, x8]
	orr	w9, w20, w9
	str	w9, [x19, x8]
	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
	ret
	.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 AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BTN_A,4,2                      ; @BTN_A
	.comm	_BTN_B,4,2                      ; @BTN_B
	.comm	_BTN_C,4,2                      ; @BTN_C
	.comm	_BTN_GAMEPAD,4,2                ; @BTN_GAMEPAD
	.comm	_BTN_X,4,2                      ; @BTN_X
	.comm	_BTN_Y,4,2                      ; @BTN_Y
	.comm	_BTN_Z,4,2                      ; @BTN_Z
	.comm	_BTN_BASE,4,2                   ; @BTN_BASE
	.comm	_BTN_BASE2,4,2                  ; @BTN_BASE2
	.comm	_BTN_JOYSTICK,4,2               ; @BTN_JOYSTICK
.subsections_via_symbols
