	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wacom_set_shared_values
_wacom_set_shared_values:               ## @wacom_set_shared_values
	.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, %rbx
	movq	_WACOM_DEVICETYPE_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 24(%rdi)
	je	LBB0_2
## %bb.1:
	movl	28(%rbx), %eax
	movq	(%rbx), %rcx
	movl	%eax, 16(%rcx)
	movq	16(%rbx), %rax
	movq	%rax, 8(%rcx)
LBB0_2:
	cmpq	$0, 8(%rbx)
	movq	(%rbx), %rax
	je	LBB0_4
## %bb.3:
	movabsq	$4294967297, %rcx               ## imm = 0x100000001
	movq	%rcx, (%rax)
	jmp	LBB0_5
LBB0_4:
	cmpl	$0, (%rax)
	je	LBB0_6
LBB0_5:
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	_EV_SW@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	(%rax), %esi
	callq	_set_bit
	movq	(%rbx), %rax
	movq	8(%rax), %rdi
	movl	(%r14), %esi
	movq	_SW_MUTE_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_input_set_capability           ## TAILCALL
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WACOM_DEVICETYPE_TOUCH,4,2     ## @WACOM_DEVICETYPE_TOUCH
	.comm	_EV_SW,4,2                      ## @EV_SW
	.comm	_SW_MUTE_DEVICE,4,2             ## @SW_MUTE_DEVICE
	.no_dead_strip	_wacom_set_shared_values
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wacom_set_shared_values
_wacom_set_shared_values:               ; @wacom_set_shared_values
	.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
	ldr	w8, [x0, #24]
Lloh0:
	adrp	x9, _WACOM_DEVICETYPE_TOUCH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WACOM_DEVICETYPE_TOUCH@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x19, #28]
	ldr	x9, [x19]
	str	w8, [x9, #16]
	ldr	x8, [x19, #16]
	str	x8, [x9, #8]
LBB0_2:
	ldp	x8, x9, [x19]
	cbz	x9, LBB0_4
; %bb.3:
	movi.2s	v0, #1
	str	d0, [x8]
	b	LBB0_5
LBB0_4:
	ldr	w9, [x8]
	cbz	w9, LBB0_7
LBB0_5:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_7
; %bb.6:
Lloh3:
	adrp	x20, _EV_SW@GOTPAGE
Lloh4:
	ldr	x20, [x20, _EV_SW@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	w1, [x8]
	bl	_set_bit
	ldr	x8, [x19]
	ldr	x0, [x8, #8]
	ldr	w1, [x20]
Lloh5:
	adrp	x8, _SW_MUTE_DEVICE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SW_MUTE_DEVICE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_input_set_capability
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_WACOM_DEVICETYPE_TOUCH,4,2     ; @WACOM_DEVICETYPE_TOUCH
	.comm	_EV_SW,4,2                      ; @EV_SW
	.comm	_SW_MUTE_DEVICE,4,2             ; @SW_MUTE_DEVICE
	.no_dead_strip	_wacom_set_shared_values
.subsections_via_symbols
