	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wacom_hid_set_device_mode
_wacom_hid_set_device_mode:             ## @wacom_hid_set_device_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_hid_get_drvdata
	movq	(%rax), %rcx
	movq	(%rbx), %rdx
	movq	_HID_FEATURE_REPORT@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	(%rdx,%rsi,8), %rdx
	movq	(%rdx,%rcx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	(%rsi), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	8(%rax), %rax
	movl	$2, (%rcx,%rax,4)
	movq	_HID_REQ_SET_REPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_hid_hw_request
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HID_FEATURE_REPORT,8,3         ## @HID_FEATURE_REPORT
	.comm	_HID_REQ_SET_REPORT,4,2         ## @HID_REQ_SET_REPORT
	.no_dead_strip	_wacom_hid_set_device_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wacom_hid_set_device_mode
_wacom_hid_set_device_mode:             ; @wacom_hid_set_device_mode
	.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
	bl	_hid_get_drvdata
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _HID_FEATURE_REPORT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HID_FEATURE_REPORT@GOTPAGEOFF]
	ldr	x10, [x19]
Lloh2:
	ldr	x9, [x9]
	ldr	x9, [x10, x9, lsl #3]
	ldr	x1, [x9, x8, lsl #3]
	cbz	x1, LBB0_2
; %bb.1:
	ldr	x8, [x1]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x9, [x0, #8]
	mov	w10, #2
	str	w10, [x8, x9, lsl #2]
Lloh3:
	adrp	x8, _HID_REQ_SET_REPORT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HID_REQ_SET_REPORT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_hid_hw_request
LBB0_2:
	mov	w0, #0
	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	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HID_FEATURE_REPORT,8,3         ; @HID_FEATURE_REPORT
	.comm	_HID_REQ_SET_REPORT,4,2         ; @HID_REQ_SET_REPORT
	.no_dead_strip	_wacom_hid_set_device_mode
.subsections_via_symbols
