	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wacom_equivalent_usage         ## -- Begin function wacom_equivalent_usage
	.p2align	4, 0x90
_wacom_equivalent_usage:                ## @wacom_equivalent_usage
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	movq	_HID_USAGE_PAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%edi, %ecx
	movq	_WACOM_HID_UP_WACOMDIGITIZER@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_17
## %bb.1:
	movl	%eax, %ecx
	shll	$8, %ecx
	andl	$16711680, %ecx                 ## imm = 0xFF0000
	movq	_WACOM_HID_SP_PAD@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_22
## %bb.2:
	movq	_WACOM_HID_SP_BUTTON@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_22
## %bb.3:
	movq	_WACOM_HID_SP_DIGITIZER@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_22
## %bb.4:
	movq	_WACOM_HID_SP_DIGITIZERINFO@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_22
## %bb.5:
	movq	_WACOM_HID_WD_SENSE@GOTPCREL(%rip), %rdx
	cmpl	%eax, (%rdx)
	je	LBB0_22
## %bb.6:
	movq	_WACOM_HID_WD_SERIALHI@GOTPCREL(%rip), %rdx
	cmpl	%eax, (%rdx)
	je	LBB0_22
## %bb.7:
	movq	_WACOM_HID_WD_TOOLTYPE@GOTPCREL(%rip), %rdx
	cmpl	%eax, (%rdx)
	je	LBB0_22
## %bb.8:
	movq	_WACOM_HID_WD_DISTANCE@GOTPCREL(%rip), %rdx
	cmpl	%eax, (%rdx)
	je	LBB0_22
## %bb.9:
	movq	_WACOM_HID_WD_TOUCHSTRIP@GOTPCREL(%rip), %rdx
	cmpl	%eax, (%rdx)
	je	LBB0_22
## %bb.10:
	movq	_WACOM_HID_WD_TOUCHSTRIP2@GOTPCREL(%rip), %rdx
	cmpl	%eax, (%rdx)
	je	LBB0_22
## %bb.11:
	movq	_WACOM_HID_WD_TOUCHRING@GOTPCREL(%rip), %rdx
	cmpl	%eax, (%rdx)
	je	LBB0_22
## %bb.12:
	movq	_WACOM_HID_WD_TOUCHRINGSTATUS@GOTPCREL(%rip), %rdx
	cmpl	%eax, (%rdx)
	je	LBB0_22
## %bb.13:
	movq	_WACOM_HID_WD_REPORT_VALID@GOTPCREL(%rip), %rdx
	cmpl	%eax, (%rdx)
	je	LBB0_22
## %bb.14:
	movzbl	%al, %eax
	movq	_HID_UP_UNDEFINED@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_16
## %bb.15:
	movq	_HID_UP_DIGITIZER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_16:
	orl	%eax, %ecx
	movl	%ecx, %eax
	popq	%rbp
	retq
LBB0_17:
	movq	_WACOM_HID_UP_WACOMTOUCH@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_22
## %bb.18:
	movq	_WACOM_HID_WT_REPORT_VALID@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	je	LBB0_22
## %bb.19:
	movzbl	%al, %ecx
	shll	$8, %eax
	andl	$16711680, %eax                 ## imm = 0xFF0000
	movq	_HID_UP_UNDEFINED@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jne	LBB0_21
## %bb.20:
	movq	_WACOM_HID_SP_DIGITIZER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_21:
	orl	%ecx, %eax
LBB0_22:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HID_USAGE_PAGE,4,2             ## @HID_USAGE_PAGE
	.comm	_WACOM_HID_UP_WACOMDIGITIZER,4,2 ## @WACOM_HID_UP_WACOMDIGITIZER
	.comm	_WACOM_HID_SP_PAD,4,2           ## @WACOM_HID_SP_PAD
	.comm	_WACOM_HID_SP_BUTTON,4,2        ## @WACOM_HID_SP_BUTTON
	.comm	_WACOM_HID_SP_DIGITIZER,4,2     ## @WACOM_HID_SP_DIGITIZER
	.comm	_WACOM_HID_SP_DIGITIZERINFO,4,2 ## @WACOM_HID_SP_DIGITIZERINFO
	.comm	_WACOM_HID_WD_SENSE,4,2         ## @WACOM_HID_WD_SENSE
	.comm	_WACOM_HID_WD_SERIALHI,4,2      ## @WACOM_HID_WD_SERIALHI
	.comm	_WACOM_HID_WD_TOOLTYPE,4,2      ## @WACOM_HID_WD_TOOLTYPE
	.comm	_WACOM_HID_WD_DISTANCE,4,2      ## @WACOM_HID_WD_DISTANCE
	.comm	_WACOM_HID_WD_TOUCHSTRIP,4,2    ## @WACOM_HID_WD_TOUCHSTRIP
	.comm	_WACOM_HID_WD_TOUCHSTRIP2,4,2   ## @WACOM_HID_WD_TOUCHSTRIP2
	.comm	_WACOM_HID_WD_TOUCHRING,4,2     ## @WACOM_HID_WD_TOUCHRING
	.comm	_WACOM_HID_WD_TOUCHRINGSTATUS,4,2 ## @WACOM_HID_WD_TOUCHRINGSTATUS
	.comm	_WACOM_HID_WD_REPORT_VALID,4,2  ## @WACOM_HID_WD_REPORT_VALID
	.comm	_HID_UP_UNDEFINED,4,2           ## @HID_UP_UNDEFINED
	.comm	_HID_UP_DIGITIZER,4,2           ## @HID_UP_DIGITIZER
	.comm	_WACOM_HID_UP_WACOMTOUCH,4,2    ## @WACOM_HID_UP_WACOMTOUCH
	.comm	_WACOM_HID_WT_REPORT_VALID,4,2  ## @WACOM_HID_WT_REPORT_VALID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wacom_equivalent_usage         ; -- Begin function wacom_equivalent_usage
	.p2align	2
_wacom_equivalent_usage:                ; @wacom_equivalent_usage
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _HID_USAGE_PAGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HID_USAGE_PAGE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh3:
	adrp	x9, _WACOM_HID_UP_WACOMDIGITIZER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WACOM_HID_UP_WACOMDIGITIZER@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_15
; %bb.1:
	lsl	w8, w0, #8
	and	w8, w8, #0xff0000
Lloh6:
	adrp	x9, _WACOM_HID_SP_PAD@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WACOM_HID_SP_PAD@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_17
; %bb.2:
Lloh9:
	adrp	x9, _WACOM_HID_SP_BUTTON@GOTPAGE
Lloh10:
	ldr	x9, [x9, _WACOM_HID_SP_BUTTON@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_17
; %bb.3:
Lloh12:
	adrp	x9, _WACOM_HID_SP_DIGITIZER@GOTPAGE
Lloh13:
	ldr	x9, [x9, _WACOM_HID_SP_DIGITIZER@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_17
; %bb.4:
Lloh15:
	adrp	x9, _WACOM_HID_SP_DIGITIZERINFO@GOTPAGE
Lloh16:
	ldr	x9, [x9, _WACOM_HID_SP_DIGITIZERINFO@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_17
; %bb.5:
Lloh18:
	adrp	x9, _WACOM_HID_WD_SENSE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _WACOM_HID_WD_SENSE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	w9, w0
	b.eq	LBB0_17
; %bb.6:
Lloh21:
	adrp	x9, _WACOM_HID_WD_SERIALHI@GOTPAGE
Lloh22:
	ldr	x9, [x9, _WACOM_HID_WD_SERIALHI@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w9, w0
	b.eq	LBB0_17
; %bb.7:
Lloh24:
	adrp	x9, _WACOM_HID_WD_TOOLTYPE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _WACOM_HID_WD_TOOLTYPE@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	cmp	w9, w0
	b.eq	LBB0_17
; %bb.8:
Lloh27:
	adrp	x9, _WACOM_HID_WD_DISTANCE@GOTPAGE
Lloh28:
	ldr	x9, [x9, _WACOM_HID_WD_DISTANCE@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	cmp	w9, w0
	b.eq	LBB0_17
; %bb.9:
Lloh30:
	adrp	x9, _WACOM_HID_WD_TOUCHSTRIP@GOTPAGE
Lloh31:
	ldr	x9, [x9, _WACOM_HID_WD_TOUCHSTRIP@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	cmp	w9, w0
	b.eq	LBB0_17
; %bb.10:
Lloh33:
	adrp	x9, _WACOM_HID_WD_TOUCHSTRIP2@GOTPAGE
Lloh34:
	ldr	x9, [x9, _WACOM_HID_WD_TOUCHSTRIP2@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	cmp	w9, w0
	b.eq	LBB0_17
; %bb.11:
Lloh36:
	adrp	x9, _WACOM_HID_WD_TOUCHRING@GOTPAGE
Lloh37:
	ldr	x9, [x9, _WACOM_HID_WD_TOUCHRING@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	cmp	w9, w0
	b.eq	LBB0_17
; %bb.12:
Lloh39:
	adrp	x9, _WACOM_HID_WD_TOUCHRINGSTATUS@GOTPAGE
Lloh40:
	ldr	x9, [x9, _WACOM_HID_WD_TOUCHRINGSTATUS@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	cmp	w9, w0
	b.eq	LBB0_17
; %bb.13:
Lloh42:
	adrp	x9, _WACOM_HID_WD_REPORT_VALID@GOTPAGE
Lloh43:
	ldr	x9, [x9, _WACOM_HID_WD_REPORT_VALID@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	cmp	w9, w0
	b.eq	LBB0_17
; %bb.14:
	and	w9, w0, #0xff
Lloh45:
	adrp	x10, _HID_UP_UNDEFINED@GOTPAGE
Lloh46:
	ldr	x10, [x10, _HID_UP_UNDEFINED@GOTPAGEOFF]
Lloh47:
	ldr	w10, [x10]
Lloh48:
	adrp	x11, _HID_UP_DIGITIZER@GOTPAGE
Lloh49:
	ldr	x11, [x11, _HID_UP_DIGITIZER@GOTPAGEOFF]
Lloh50:
	ldr	w11, [x11]
	cmp	w8, w10
	csel	w8, w11, w8, eq
	orr	w0, w8, w9
	ret
LBB0_15:
Lloh51:
	adrp	x9, _WACOM_HID_UP_WACOMTOUCH@GOTPAGE
Lloh52:
	ldr	x9, [x9, _WACOM_HID_UP_WACOMTOUCH@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
Lloh54:
	adrp	x10, _WACOM_HID_WT_REPORT_VALID@GOTPAGE
Lloh55:
	ldr	x10, [x10, _WACOM_HID_WT_REPORT_VALID@GOTPAGEOFF]
Lloh56:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w10, w0, #4, eq
	b.eq	LBB0_17
; %bb.16:
	and	w8, w0, #0xff
	lsl	w9, w0, #8
	and	w9, w9, #0xff0000
Lloh57:
	adrp	x10, _HID_UP_UNDEFINED@GOTPAGE
Lloh58:
	ldr	x10, [x10, _HID_UP_UNDEFINED@GOTPAGEOFF]
Lloh59:
	ldr	w10, [x10]
Lloh60:
	adrp	x11, _WACOM_HID_SP_DIGITIZER@GOTPAGE
Lloh61:
	ldr	x11, [x11, _WACOM_HID_SP_DIGITIZER@GOTPAGEOFF]
Lloh62:
	ldr	w11, [x11]
	cmp	w9, w10
	csel	w9, w11, w9, eq
	orr	w0, w9, w8
LBB0_17:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.cfi_endproc
                                        ; -- End function
	.comm	_HID_USAGE_PAGE,4,2             ; @HID_USAGE_PAGE
	.comm	_WACOM_HID_UP_WACOMDIGITIZER,4,2 ; @WACOM_HID_UP_WACOMDIGITIZER
	.comm	_WACOM_HID_SP_PAD,4,2           ; @WACOM_HID_SP_PAD
	.comm	_WACOM_HID_SP_BUTTON,4,2        ; @WACOM_HID_SP_BUTTON
	.comm	_WACOM_HID_SP_DIGITIZER,4,2     ; @WACOM_HID_SP_DIGITIZER
	.comm	_WACOM_HID_SP_DIGITIZERINFO,4,2 ; @WACOM_HID_SP_DIGITIZERINFO
	.comm	_WACOM_HID_WD_SENSE,4,2         ; @WACOM_HID_WD_SENSE
	.comm	_WACOM_HID_WD_SERIALHI,4,2      ; @WACOM_HID_WD_SERIALHI
	.comm	_WACOM_HID_WD_TOOLTYPE,4,2      ; @WACOM_HID_WD_TOOLTYPE
	.comm	_WACOM_HID_WD_DISTANCE,4,2      ; @WACOM_HID_WD_DISTANCE
	.comm	_WACOM_HID_WD_TOUCHSTRIP,4,2    ; @WACOM_HID_WD_TOUCHSTRIP
	.comm	_WACOM_HID_WD_TOUCHSTRIP2,4,2   ; @WACOM_HID_WD_TOUCHSTRIP2
	.comm	_WACOM_HID_WD_TOUCHRING,4,2     ; @WACOM_HID_WD_TOUCHRING
	.comm	_WACOM_HID_WD_TOUCHRINGSTATUS,4,2 ; @WACOM_HID_WD_TOUCHRINGSTATUS
	.comm	_WACOM_HID_WD_REPORT_VALID,4,2  ; @WACOM_HID_WD_REPORT_VALID
	.comm	_HID_UP_UNDEFINED,4,2           ; @HID_UP_UNDEFINED
	.comm	_HID_UP_DIGITIZER,4,2           ; @HID_UP_DIGITIZER
	.comm	_WACOM_HID_UP_WACOMTOUCH,4,2    ; @WACOM_HID_UP_WACOMTOUCH
	.comm	_WACOM_HID_WT_REPORT_VALID,4,2  ; @WACOM_HID_WT_REPORT_VALID
.subsections_via_symbols
