	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_dev_g4                   ## -- Begin function input_dev_g4
	.p2align	4, 0x90
_input_dev_g4:                          ## @input_dev_g4
	.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	%rdi, %r15
	movq	_EV_MSC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_MASK
	movq	(%r15), %rcx
	orl	%eax, (%rcx)
	movq	_MSC_SERIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_MASK
	movq	8(%r15), %rcx
	orl	%eax, (%rcx)
	movq	_BTN_TOOL_FINGER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_MASK
	movl	%eax, %r14d
	movq	16(%r15), %rbx
	movq	_BTN_DIGI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_WORD
	orl	%r14d, (%rbx,%rax,4)
	movq	_BTN_0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_MASK
	movl	%eax, %r14d
	movq	_BTN_4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_MASK
	movl	%eax, %ebx
	orl	%r14d, %ebx
	movq	16(%r15), %r14
	movq	_BTN_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_WORD
	orl	%ebx, (%r14,%rax,4)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EV_MSC,4,2                     ## @EV_MSC
	.comm	_MSC_SERIAL,4,2                 ## @MSC_SERIAL
	.comm	_BTN_TOOL_FINGER,4,2            ## @BTN_TOOL_FINGER
	.comm	_BTN_DIGI,4,2                   ## @BTN_DIGI
	.comm	_BTN_0,4,2                      ## @BTN_0
	.comm	_BTN_4,4,2                      ## @BTN_4
	.comm	_BTN_MISC,4,2                   ## @BTN_MISC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_dev_g4                   ; -- Begin function input_dev_g4
	.p2align	2
_input_dev_g4:                          ; @input_dev_g4
	.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, _EV_MSC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EV_MSC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_BIT_MASK
	ldr	x8, [x19]
	ldr	w9, [x8]
	orr	w9, w9, w0
	str	w9, [x8]
Lloh3:
	adrp	x8, _MSC_SERIAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSC_SERIAL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_BIT_MASK
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	orr	w9, w9, w0
	str	w9, [x8]
Lloh6:
	adrp	x8, _BTN_TOOL_FINGER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BTN_TOOL_FINGER@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_BIT_MASK
	mov	x20, x0
	ldr	x21, [x19, #16]
Lloh9:
	adrp	x8, _BTN_DIGI@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BTN_DIGI@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_BIT_WORD
	lsl	x8, x0, #2
	ldr	w9, [x21, x8]
	orr	w9, w9, w20
	str	w9, [x21, x8]
Lloh12:
	adrp	x8, _BTN_0@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BTN_0@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_BIT_MASK
	mov	x20, x0
Lloh15:
	adrp	x8, _BTN_4@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BTN_4@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_BIT_MASK
	orr	w20, w0, w20
	ldr	x19, [x19, #16]
Lloh18:
	adrp	x8, _BTN_MISC@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BTN_MISC@GOTPAGEOFF]
Lloh20:
	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	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EV_MSC,4,2                     ; @EV_MSC
	.comm	_MSC_SERIAL,4,2                 ; @MSC_SERIAL
	.comm	_BTN_TOOL_FINGER,4,2            ; @BTN_TOOL_FINGER
	.comm	_BTN_DIGI,4,2                   ; @BTN_DIGI
	.comm	_BTN_0,4,2                      ; @BTN_0
	.comm	_BTN_4,4,2                      ; @BTN_4
	.comm	_BTN_MISC,4,2                   ; @BTN_MISC
.subsections_via_symbols
