	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wacom_parse_hid
_wacom_parse_hid:                       ## @wacom_parse_hid
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r13
	callq	_interface_to_usbdev
	movq	%rax, %r14
	movq	_WCM_UNDEFINED@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, %rcx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_46
## %bb.1:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	_USB_DIR_IN@GOTPCREL(%rip), %r15
	movq	_HID_DEVICET_REPORT@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_usb_rcvctrlpipe
	movq	_USB_REQ_GET_DESCRIPTOR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	(%r15), %ecx
	movq	_USB_RECIP_INTERFACE@GOTPCREL(%rip), %rsi
	orl	(%rsi), %ecx
	movl	(%r12), %r8d
	shll	$8, %r8d
	movq	(%r13), %rsi
	movl	(%rsi), %r9d
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rsi), %r10d
	subq	$8, %rsp
	movq	%r14, %rdi
	movl	%eax, %esi
	pushq	$5000                           ## imm = 0x1388
	pushq	%r10
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	callq	_usb_control_msg
	addq	$32, %rsp
	testl	%eax, %eax
	jns	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%rbx), %ecx
	cmpb	$5, %bl
	movl	%ecx, %ebx
	jb	LBB0_2
LBB0_4:
	testl	%eax, %eax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	js	LBB0_45
## %bb.5:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	jle	LBB0_45
## %bb.6:
	xorl	%r8d, %r8d
	leaq	LJTI0_0(%rip), %rdx
	movq	_WCM_DESKTOP@GOTPCREL(%rip), %rsi
	movq	_WCM_DIGITIZER@GOTPCREL(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_9 Depth=1
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	incl	%r13d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpl	(%rax), %r13d
	jge	LBB0_45
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r13d, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movzbl	(%rax,%r14), %eax
	cmpb	$-120, %al
	je	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpb	$-121, %al
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpb	$-123, %al
	jne	LBB0_8
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movzbl	1(%rax,%r14), %eax
	incq	%r14
	cmpb	$-124, %al
	je	LBB0_21
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpb	$-125, %al
	jne	LBB0_8
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	(%rdi), %r15d
	movl	%r14d, %r13d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movzbl	1(%rax,%r14), %ecx
	addb	$-128, %cl
	cmpb	$6, %cl
	ja	LBB0_8
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	1(%r14), %rax
	movzbl	%cl, %ecx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=1
	cmpl	(%rsi), %r15d
	jne	LBB0_8
## %bb.18:                              ##   in Loop: Header=BB0_9 Depth=1
	testl	%r12d, %r12d
	je	LBB0_31
## %bb.19:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	_BTN_TOOL_FINGER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movl	32(%rbx), %eax
	movq	_TABLETPC2FG@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_40
## %bb.20:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_WACOM_PKGLEN_TPC2FG@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movq	%rbx, %r12
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%r14,%rbx), %rdi
	addq	$3, %rdi
	callq	_wacom_le16_to_cpu
	movq	%rax, 8(%r12)
	leaq	(%r14,%rbx), %rdi
	addq	$6, %rdi
	movq	%r12, %rbx
	callq	_wacom_le16_to_cpu
	movq	%rax, 40(%r12)
	addl	$7, %r14d
	jmp	LBB0_41
LBB0_21:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	(%rsi), %r15d
	movl	%r14d, %r13d
	jmp	LBB0_8
LBB0_22:                                ##   in Loop: Header=BB0_9 Depth=1
	cmpl	(%rsi), %r15d
	jne	LBB0_29
## %bb.23:                              ##   in Loop: Header=BB0_9 Depth=1
	testl	%r12d, %r12d
	je	LBB0_35
## %bb.24:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	_BTN_TOOL_FINGER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movl	32(%rbx), %eax
	movq	_TABLETPC2FG@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_WACOM_PKGLEN_TPC2FG@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
LBB0_26:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %r12
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%r14,%rbx), %rdi
	addq	$3, %rdi
	callq	_wacom_le16_to_cpu
	movq	%rax, 48(%r12)
	leaq	(%r14,%rbx), %rdi
	addq	$6, %rdi
	callq	_wacom_le16_to_cpu
	movq	%rax, 56(%r12)
	movzbl	9(%r14,%rbx), %eax
	movb	%al, (%r12)
	movzbl	11(%r14,%rbx), %eax
	movq	%r12, %rbx
	movb	%al, 1(%r12)
	addl	$12, %r13d
	movl	$1, %r12d
	jmp	LBB0_42
LBB0_27:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	$1, %r8d
	movl	%eax, %r13d
	jmp	LBB0_8
LBB0_28:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	$1, %r12d
	movl	%eax, %r13d
	jmp	LBB0_8
LBB0_29:                                ##   in Loop: Header=BB0_9 Depth=1
	cmpl	(%rdi), %r15d
	jne	LBB0_8
## %bb.30:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	$255, 4(%rbx)
	addl	$4, %r13d
	jmp	LBB0_8
LBB0_31:                                ##   in Loop: Header=BB0_9 Depth=1
	xorl	%r12d, %r12d
	testl	%r8d, %r8d
	je	LBB0_44
## %bb.32:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	32(%rbx), %eax
	movq	_TABLETPC2FG@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_WACOM_PKGLEN_PENABLED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
LBB0_34:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_BTN_TOOL_PEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r14,%rax), %rdi
	addq	$3, %rdi
	callq	_wacom_le16_to_cpu
	movq	%rax, 8(%rbx)
	addl	$4, %r14d
	movl	$1, %r8d
	movl	%r14d, %r13d
	jmp	LBB0_39
LBB0_35:                                ##   in Loop: Header=BB0_9 Depth=1
	xorl	%r12d, %r12d
	testl	%r8d, %r8d
	je	LBB0_44
## %bb.36:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	32(%rbx), %eax
	movq	_TABLETPC2FG@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_WACOM_PKGLEN_PENABLED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
LBB0_38:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_BTN_TOOL_PEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r14,%rax), %rdi
	addq	$3, %rdi
	callq	_wacom_le16_to_cpu
	movq	%rax, 48(%rbx)
	addl	$4, %r13d
	movl	$1, %r8d
LBB0_39:                                ##   in Loop: Header=BB0_9 Depth=1
	leaq	LJTI0_0(%rip), %rdx
	movq	_WCM_DESKTOP@GOTPCREL(%rip), %rsi
	movq	_WCM_DIGITIZER@GOTPCREL(%rip), %rdi
	jmp	LBB0_8
LBB0_40:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	48(%rbx), %rax
	movq	%rax, 8(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r14,%rax), %rdi
	addq	$3, %rdi
	callq	_wacom_le16_to_cpu
	movq	%rax, 40(%rbx)
	addl	$4, %r14d
LBB0_41:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	$1, %r12d
	movl	%r14d, %r13d
LBB0_42:                                ##   in Loop: Header=BB0_9 Depth=1
	leaq	LJTI0_0(%rip), %rdx
	movq	_WCM_DESKTOP@GOTPCREL(%rip), %rsi
	movq	_WCM_DIGITIZER@GOTPCREL(%rip), %rdi
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	jmp	LBB0_8
LBB0_44:                                ##   in Loop: Header=BB0_9 Depth=1
	xorl	%r8d, %r8d
	jmp	LBB0_8
LBB0_45:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
	xorl	%eax, %eax
	jmp	LBB0_47
LBB0_46:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_47:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_22
	.long	L0_0_set_27
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_28
	.end_data_region
                                        ## -- End function
	.comm	_WCM_UNDEFINED,4,2              ## @WCM_UNDEFINED
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_USB_REQ_GET_DESCRIPTOR,4,2     ## @USB_REQ_GET_DESCRIPTOR
	.comm	_USB_RECIP_INTERFACE,4,2        ## @USB_RECIP_INTERFACE
	.comm	_USB_DIR_IN,4,2                 ## @USB_DIR_IN
	.comm	_HID_DEVICET_REPORT,4,2         ## @HID_DEVICET_REPORT
	.comm	_WCM_DIGITIZER,4,2              ## @WCM_DIGITIZER
	.comm	_WCM_DESKTOP,4,2                ## @WCM_DESKTOP
	.comm	_BTN_TOOL_FINGER,8,3            ## @BTN_TOOL_FINGER
	.comm	_TABLETPC2FG,4,2                ## @TABLETPC2FG
	.comm	_WACOM_PKGLEN_TPC2FG,8,3        ## @WACOM_PKGLEN_TPC2FG
	.comm	_WACOM_PKGLEN_PENABLED,8,3      ## @WACOM_PKGLEN_PENABLED
	.comm	_BTN_TOOL_PEN,8,3               ## @BTN_TOOL_PEN
	.no_dead_strip	_wacom_parse_hid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wacom_parse_hid
_wacom_parse_hid:                       ; @wacom_parse_hid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	bl	_interface_to_usbdev
	mov	x23, x0
Lloh0:
	adrp	x8, _WCM_UNDEFINED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WCM_UNDEFINED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	ldr	w0, [x20]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_kzalloc
	cbz	x0, LBB0_44
; %bb.1:
	mov	x21, x0
	str	x19, [sp, #16]                  ; 8-byte Folded Spill
	mov	w25, #0
Lloh6:
	adrp	x26, _USB_REQ_GET_DESCRIPTOR@GOTPAGE
Lloh7:
	ldr	x26, [x26, _USB_REQ_GET_DESCRIPTOR@GOTPAGEOFF]
Lloh8:
	adrp	x27, _USB_RECIP_INTERFACE@GOTPAGE
Lloh9:
	ldr	x27, [x27, _USB_RECIP_INTERFACE@GOTPAGEOFF]
Lloh10:
	adrp	x28, _USB_DIR_IN@GOTPAGE
Lloh11:
	ldr	x28, [x28, _USB_DIR_IN@GOTPAGEOFF]
	mov	w19, #5000
Lloh12:
	adrp	x24, _HID_DEVICET_REPORT@GOTPAGE
Lloh13:
	ldr	x24, [x24, _HID_DEVICET_REPORT@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	w1, #0
	bl	_usb_rcvctrlpipe
	mov	x1, x0
	ldr	w2, [x26]
	ldr	w8, [x27]
	ldr	w9, [x28]
	orr	w3, w9, w8
	ldr	w8, [x24]
	lsl	w4, w8, #8
	ldr	x8, [x22]
	ldr	w5, [x8]
	ldr	w7, [x20]
	str	w19, [sp]
	mov	x0, x23
	mov	x6, x21
	bl	_usb_control_msg
	tbz	w0, #31, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w25, #1
	cmp	w25, #5
	mov	x25, x8
	b.lo	LBB0_2
LBB0_4:
	ldr	x24, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w23, [sp, #28]                  ; 4-byte Folded Reload
	tbnz	w0, #31, LBB0_43
; %bb.5:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_43
; %bb.6:
	mov	w28, #0
	mov	w8, #0
	mov	w25, #0
Lloh14:
	adrp	x22, _WCM_DESKTOP@GOTPAGE
Lloh15:
	ldr	x22, [x22, _WCM_DESKTOP@GOTPAGEOFF]
Lloh16:
	adrp	x27, lJTI0_0@PAGE
Lloh17:
	add	x27, x27, lJTI0_0@PAGEOFF
Lloh18:
	adrp	x26, _WCM_DIGITIZER@GOTPAGE
Lloh19:
	ldr	x26, [x26, _WCM_DIGITIZER@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	w23, [x22]
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x25, x9
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	w25, w25, #1
	ldr	w9, [x20]
	cmp	w25, w9
	b.ge	LBB0_43
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	sxtw	x9, w25
	ldrb	w10, [x21, x9]
	cmp	w10, #136
	b.eq	LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	cmp	w10, #135
	b.eq	LBB0_18
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	cmp	w10, #133
	b.ne	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x9, x9, #1
	ldrb	w10, [x21, x9]
	cmp	w10, #132
	b.eq	LBB0_7
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	cmp	w10, #131
	b.ne	LBB0_9
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w23, [x26]
	b	LBB0_8
LBB0_16:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	w23, #0
LBB0_17:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	w8, #0
	b	LBB0_9
LBB0_18:                                ;   in Loop: Header=BB0_10 Depth=1
	add	x10, x9, #1
	ldrb	w11, [x21, x10]
	sub	w11, w11, #128
	cmp	w11, #6
	b.hi	LBB0_9
; %bb.19:                               ;   in Loop: Header=BB0_10 Depth=1
	adr	x12, LBB0_9
	ldrb	w13, [x27, x11]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_20:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w10, [x22]
	cmp	w23, w10
	b.ne	LBB0_9
; %bb.21:                               ;   in Loop: Header=BB0_10 Depth=1
	cbz	w8, LBB0_33
; %bb.22:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh20:
	adrp	x8, _BTN_TOOL_FINGER@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BTN_TOOL_FINGER@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	str	x8, [x24, #16]
	ldr	w8, [x24, #32]
Lloh23:
	adrp	x10, _TABLETPC2FG@GOTPAGE
Lloh24:
	ldr	x10, [x10, _TABLETPC2FG@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	cmp	w8, w10
	b.ne	LBB0_42
; %bb.23:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh26:
	adrp	x8, _WACOM_PKGLEN_TPC2FG@GOTPAGE
Lloh27:
	ldr	x8, [x8, _WACOM_PKGLEN_TPC2FG@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	str	x8, [x24, #24]
	add	x19, x9, x21
	add	x0, x19, #3
	bl	_wacom_le16_to_cpu
	str	x0, [x24, #8]
	add	x0, x19, #6
	bl	_wacom_le16_to_cpu
	str	x0, [x24, #40]
	add	w25, w25, #7
	mov	w8, #1
	b	LBB0_9
LBB0_24:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w10, [x22]
	cmp	w23, w10
	b.ne	LBB0_31
; %bb.25:                               ;   in Loop: Header=BB0_10 Depth=1
	cbz	w8, LBB0_37
; %bb.26:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh29:
	adrp	x8, _BTN_TOOL_FINGER@GOTPAGE
Lloh30:
	ldr	x8, [x8, _BTN_TOOL_FINGER@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	str	x8, [x24, #16]
	ldr	w8, [x24, #32]
Lloh32:
	adrp	x10, _TABLETPC2FG@GOTPAGE
Lloh33:
	ldr	x10, [x10, _TABLETPC2FG@GOTPAGEOFF]
Lloh34:
	ldr	w10, [x10]
	cmp	w8, w10
	b.ne	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh35:
	adrp	x8, _WACOM_PKGLEN_TPC2FG@GOTPAGE
Lloh36:
	ldr	x8, [x8, _WACOM_PKGLEN_TPC2FG@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	str	x8, [x24, #24]
LBB0_28:                                ;   in Loop: Header=BB0_10 Depth=1
	add	x19, x9, x21
	add	x0, x19, #3
	bl	_wacom_le16_to_cpu
	str	x0, [x24, #48]
	add	x0, x19, #6
	bl	_wacom_le16_to_cpu
	str	x0, [x24, #56]
	ldrb	w8, [x19, #9]
	strb	w8, [x24]
	ldrb	w8, [x19, #11]
	strb	w8, [x24, #1]
	add	w25, w25, #12
	mov	w8, #1
	b	LBB0_9
LBB0_29:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	w28, #1
	mov	x25, x10
	b	LBB0_9
LBB0_30:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	w8, #1
	mov	x25, x10
	b	LBB0_9
LBB0_31:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w9, [x26]
	cmp	w23, w9
	b.ne	LBB0_9
; %bb.32:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w9, #255
	str	w9, [x24, #4]
	add	w25, w25, #4
	b	LBB0_9
LBB0_33:                                ;   in Loop: Header=BB0_10 Depth=1
	cbz	w28, LBB0_17
; %bb.34:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x24, #32]
Lloh38:
	adrp	x10, _TABLETPC2FG@GOTPAGE
Lloh39:
	ldr	x10, [x10, _TABLETPC2FG@GOTPAGEOFF]
Lloh40:
	ldr	w10, [x10]
	cmp	w8, w10
	b.ne	LBB0_36
; %bb.35:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh41:
	adrp	x8, _WACOM_PKGLEN_PENABLED@GOTPAGE
Lloh42:
	ldr	x8, [x8, _WACOM_PKGLEN_PENABLED@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
	str	x8, [x24, #24]
LBB0_36:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh44:
	adrp	x8, _BTN_TOOL_PEN@GOTPAGE
Lloh45:
	ldr	x8, [x8, _BTN_TOOL_PEN@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
	str	x8, [x24, #16]
	add	x8, x9, x21
	add	x0, x8, #3
	bl	_wacom_le16_to_cpu
	mov	w8, #0
	str	x0, [x24, #8]
	b	LBB0_41
LBB0_37:                                ;   in Loop: Header=BB0_10 Depth=1
	cbz	w28, LBB0_17
; %bb.38:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x24, #32]
Lloh47:
	adrp	x10, _TABLETPC2FG@GOTPAGE
Lloh48:
	ldr	x10, [x10, _TABLETPC2FG@GOTPAGEOFF]
Lloh49:
	ldr	w10, [x10]
	cmp	w8, w10
	b.ne	LBB0_40
; %bb.39:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh50:
	adrp	x8, _WACOM_PKGLEN_PENABLED@GOTPAGE
Lloh51:
	ldr	x8, [x8, _WACOM_PKGLEN_PENABLED@GOTPAGEOFF]
Lloh52:
	ldr	x8, [x8]
	str	x8, [x24, #24]
LBB0_40:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh53:
	adrp	x8, _BTN_TOOL_PEN@GOTPAGE
Lloh54:
	ldr	x8, [x8, _BTN_TOOL_PEN@GOTPAGEOFF]
Lloh55:
	ldr	x8, [x8]
	str	x8, [x24, #16]
	add	x8, x9, x21
	add	x0, x8, #3
	bl	_wacom_le16_to_cpu
	mov	w8, #0
	str	x0, [x24, #48]
LBB0_41:                                ;   in Loop: Header=BB0_10 Depth=1
	add	w25, w25, #4
	mov	w28, #1
	b	LBB0_9
LBB0_42:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x24, #48]
	str	x8, [x24, #8]
	add	x8, x9, x21
	add	x0, x8, #3
	bl	_wacom_le16_to_cpu
	str	x0, [x24, #40]
	add	w25, w25, #4
	mov	w8, #1
	b	LBB0_9
LBB0_43:
	mov	x0, x21
	bl	_kfree
	mov	w0, #0
	b	LBB0_45
LBB0_44:
Lloh56:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh57:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_45:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_20-LBB0_9)>>2
	.byte	(LBB0_24-LBB0_9)>>2
	.byte	(LBB0_29-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_30-LBB0_9)>>2
                                        ; -- End function
	.comm	_WCM_UNDEFINED,4,2              ; @WCM_UNDEFINED
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_USB_REQ_GET_DESCRIPTOR,4,2     ; @USB_REQ_GET_DESCRIPTOR
	.comm	_USB_RECIP_INTERFACE,4,2        ; @USB_RECIP_INTERFACE
	.comm	_USB_DIR_IN,4,2                 ; @USB_DIR_IN
	.comm	_HID_DEVICET_REPORT,4,2         ; @HID_DEVICET_REPORT
	.comm	_WCM_DIGITIZER,4,2              ; @WCM_DIGITIZER
	.comm	_WCM_DESKTOP,4,2                ; @WCM_DESKTOP
	.comm	_BTN_TOOL_FINGER,8,3            ; @BTN_TOOL_FINGER
	.comm	_TABLETPC2FG,4,2                ; @TABLETPC2FG
	.comm	_WACOM_PKGLEN_TPC2FG,8,3        ; @WACOM_PKGLEN_TPC2FG
	.comm	_WACOM_PKGLEN_PENABLED,8,3      ; @WACOM_PKGLEN_PENABLED
	.comm	_BTN_TOOL_PEN,8,3               ; @BTN_TOOL_PEN
	.no_dead_strip	_wacom_parse_hid
.subsections_via_symbols
