	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wacom_poke
_wacom_poke:                            ## @wacom_poke
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_hid_get_drvdata
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movw	$3, -42(%rbp)
	movl	$-3, %r15d
	movq	_HID_FEATURE_REPORT@GOTPCREL(%rip), %r13
	leaq	-42(%rbp), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %ecx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$2, %edx
	callq	*(%r14)
	testl	%eax, %eax
	jns	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	1(%r15), %ecx
	testl	%r15d, %r15d
	movl	%ecx, %r15d
	jne	LBB0_1
LBB0_3:
	testl	%eax, %eax
	js	LBB0_9
## %bb.4:
	movq	%rbx, %r15
	cmpq	$1, %rbx
	movb	$6, %al
	sbbb	$0, %al
	movb	%al, -42(%rbp)
	movb	$0, -41(%rbp)
	movl	$-3, %ebx
	leaq	-42(%rbp), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %ecx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$2, %edx
	callq	*(%r14)
	testl	%eax, %eax
	jns	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	leal	1(%rbx), %ecx
	testl	%ebx, %ebx
	movl	%ecx, %ebx
	jne	LBB0_5
LBB0_7:
	testl	%eax, %eax
	js	LBB0_9
## %bb.8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, (%rax)
	jmp	LBB0_10
LBB0_9:
	addq	$8, %r14
	movsbl	-42(%rbp), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %ecx
	callq	_dev_warn
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HID_FEATURE_REPORT,4,2         ## @HID_FEATURE_REPORT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to poke device, command %d, err %d\n"

	.no_dead_strip	_wacom_poke
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wacom_poke
_wacom_poke:                            ; @wacom_poke
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x20, x0
	bl	_hid_get_drvdata
	mov	x21, x0
	mov	w8, #3
	strh	w8, [sp, #14]
	ldr	x8, [x20]
Lloh0:
	adrp	x22, _HID_FEATURE_REPORT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _HID_FEATURE_REPORT@GOTPAGEOFF]
	ldr	w3, [x22]
	add	x1, sp, #14
	mov	x0, x20
	mov	w2, #2
	blr	x8
	mov	x3, x0
	tbz	w0, #31, LBB0_3
; %bb.1:
	ldr	x8, [x20]
	ldr	w3, [x22]
	add	x1, sp, #14
	mov	x0, x20
	mov	w2, #2
	blr	x8
	mov	x3, x0
	tbz	w0, #31, LBB0_3
; %bb.2:
	ldr	x8, [x20]
	ldr	w3, [x22]
	add	x1, sp, #14
	mov	x0, x20
	mov	w2, #2
	blr	x8
	mov	x3, x0
	tbnz	w0, #31, LBB0_10
LBB0_3:
	tbnz	w3, #31, LBB0_11
LBB0_4:
	cmp	x19, #0
	mov	w8, #5
	cinc	w8, w8, ne
	strb	w8, [sp, #14]
	strb	wzr, [sp, #15]
	ldr	x8, [x20]
	ldr	w3, [x22]
	add	x1, sp, #14
	mov	x0, x20
	mov	w2, #2
	blr	x8
	mov	x3, x0
	tbz	w0, #31, LBB0_8
; %bb.5:
	ldr	x8, [x20]
	ldr	w3, [x22]
	add	x1, sp, #14
	mov	x0, x20
	mov	w2, #2
	blr	x8
	mov	x3, x0
	tbz	w0, #31, LBB0_8
; %bb.6:
	ldr	x8, [x20]
	ldr	w3, [x22]
	add	x1, sp, #14
	mov	x0, x20
	mov	w2, #2
	blr	x8
	mov	x3, x0
	tbz	w0, #31, LBB0_8
; %bb.7:
	ldr	x8, [x20]
	ldr	w3, [x22]
	add	x1, sp, #14
	mov	x0, x20
	mov	w2, #2
	blr	x8
	mov	x3, x0
LBB0_8:
	tbnz	w3, #31, LBB0_11
; %bb.9:
	str	x19, [x21]
	b	LBB0_12
LBB0_10:
	ldr	x8, [x20]
	ldr	w3, [x22]
	add	x1, sp, #14
	mov	x0, x20
	mov	w2, #2
	blr	x8
	mov	x3, x0
	tbz	w3, #31, LBB0_4
LBB0_11:
	add	x0, x20, #8
	ldrsb	w2, [sp, #14]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_HID_FEATURE_REPORT,4,2         ; @HID_FEATURE_REPORT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to poke device, command %d, err %d\n"

	.no_dead_strip	_wacom_poke
.subsections_via_symbols
