	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function wacom_retrieve_hid_descriptor
LCPI0_0:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_wacom_retrieve_hid_descriptor:         ## @wacom_retrieve_hid_descriptor
	.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	%rsi, %rbx
	movq	%rdi, %r14
	callq	_hid_get_drvdata
	movq	(%rax), %rax
	movq	$0, 32(%rbx)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [4,4,1,1]
	movups	%xmm0, (%rbx)
	movq	16(%rbx), %rcx
	movq	_WIRELESS@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.1:
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.4:
	movq	_WACOM_DEVICETYPE_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_5:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wacom_parse_hid                ## TAILCALL
LBB0_2:
	movq	_WACOM_DEVICETYPE_WL_MONITOR@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WIRELESS,8,3                   ## @WIRELESS
	.comm	_WACOM_DEVICETYPE_WL_MONITOR,4,2 ## @WACOM_DEVICETYPE_WL_MONITOR
	.comm	_WACOM_DEVICETYPE_NONE,4,2      ## @WACOM_DEVICETYPE_NONE
	.no_dead_strip	_wacom_retrieve_hid_descriptor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wacom_retrieve_hid_descriptor
_wacom_retrieve_hid_descriptor:         ; @wacom_retrieve_hid_descriptor
	.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, x1
	mov	x20, x0
	bl	_hid_get_drvdata
	ldr	x8, [x0]
	movi.2s	v0, #4
	str	xzr, [x19, #32]
	movi.2s	v1, #1
	stp	d0, d1, [x19]
	ldr	x9, [x19, #16]
Lloh0:
	adrp	x10, _WIRELESS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _WIRELESS@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _WACOM_DEVICETYPE_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WACOM_DEVICETYPE_NONE@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wacom_parse_hid
LBB0_4:
Lloh5:
	adrp	x8, _WACOM_DEVICETYPE_WL_MONITOR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WACOM_DEVICETYPE_WL_MONITOR@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_WIRELESS,8,3                   ; @WIRELESS
	.comm	_WACOM_DEVICETYPE_WL_MONITOR,4,2 ; @WACOM_DEVICETYPE_WL_MONITOR
	.comm	_WACOM_DEVICETYPE_NONE,4,2      ; @WACOM_DEVICETYPE_NONE
	.no_dead_strip	_wacom_retrieve_hid_descriptor
.subsections_via_symbols
