	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wacom_probe
_wacom_probe:                           ## @wacom_probe
	.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, %r14
	movq	%rdi, %r15
	movl	16(%rdi), %edi
	callq	_to_usb_interface
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_interface_to_usbdev
	cmpq	$0, (%r14)
	je	LBB0_1
## %bb.3:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_HID_QUIRK_NO_INIT_REPORTS@GOTPCREL(%rip), %rax
	movl	20(%r15), %ecx
	orl	(%rax), %ecx
	leaq	16(%r15), %rdi
	movq	_HID_QUIRK_NOGET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ecx, %eax
	movl	%eax, 20(%r15)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	$80, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r13
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_hid_set_drvdata
	movq	%r15, 72(%r13)
	movq	(%r14), %rax
	movups	(%rax), %xmm0
	movups	%xmm0, 56(%r13)
	cmpq	$0, 64(%r13)
	je	LBB0_8
## %bb.6:
	leaq	56(%r13), %rax
	movq	(%rax), %rax
	cmpq	(%r15), %rax
	jne	LBB0_7
LBB0_8:
	leaq	48(%r13), %rdi
	movq	_WACOM_PKGLEN_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	callq	_kfifo_alloc
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_16
## %bb.9:
	movq	$-1, 40(%r13)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 32(%r13)
	movq	%r12, 24(%r13)
	leaq	20(%r13), %rdi
	callq	_mutex_init
	leaq	16(%r13), %rdi
	movq	_wacom_init_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	leaq	12(%r13), %rdi
	movq	_wacom_wireless_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	8(%r13), %rdi
	movq	_wacom_battery_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	%r13, %rdi
	addq	$4, %rdi
	movq	_wacom_remote_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	_wacom_mode_change_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_INIT_WORK
	movq	%r15, %rdi
	callq	_hid_parse
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_hid_err
	jmp	LBB0_16
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_7:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_16:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_wacom_parse_and_register
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_16
## %bb.12:
	movq	8(%r15), %rax
	movq	_BUS_BLUETOOTH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.13:
	movq	_dev_attr_speed@GOTPCREL(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_device_create_file
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_hid_warn
LBB0_15:
	xorl	%ebx, %ebx
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_HID_QUIRK_NO_INIT_REPORTS,4,2  ## @HID_QUIRK_NO_INIT_REPORTS
	.comm	_HID_QUIRK_NOGET,4,2            ## @HID_QUIRK_NOGET
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_WACOM_PKGLEN_MAX,4,2           ## @WACOM_PKGLEN_MAX
	.comm	_wacom_init_work,4,2            ## @wacom_init_work
	.comm	_wacom_wireless_work,4,2        ## @wacom_wireless_work
	.comm	_wacom_battery_work,4,2         ## @wacom_battery_work
	.comm	_wacom_remote_work,4,2          ## @wacom_remote_work
	.comm	_wacom_mode_change_work,4,2     ## @wacom_mode_change_work
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"parse failed\n"

	.comm	_BUS_BLUETOOTH,8,3              ## @BUS_BLUETOOTH
	.comm	_dev_attr_speed,4,2             ## @dev_attr_speed
L_.str.1:                               ## @.str.1
	.asciz	"can't create sysfs speed attribute err: %d\n"

	.no_dead_strip	_wacom_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wacom_probe
_wacom_probe:                           ; @wacom_probe
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x24, x1
	mov	x19, x0
	mov	x20, x0
	ldr	w0, [x20, #16]!
	bl	_to_usb_interface
	mov	x22, x0
	bl	_interface_to_usbdev
	ldr	x8, [x24]
	cbz	x8, LBB0_7
; %bb.1:
	mov	x23, x0
Lloh0:
	adrp	x8, _HID_QUIRK_NO_INIT_REPORTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HID_QUIRK_NO_INIT_REPORTS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19, #20]
	orr	w8, w9, w8
Lloh3:
	adrp	x9, _HID_QUIRK_NOGET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HID_QUIRK_NOGET@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x19, #20]
Lloh6:
	adrp	x25, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x25, [x25, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x0, x20
	mov	w1, #80
	bl	_devm_kzalloc
	cbz	x0, LBB0_8
; %bb.2:
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_hid_set_drvdata
	str	x19, [x21, #72]
	ldr	x8, [x24]
	ldr	q0, [x8]
	stur	q0, [x21, #56]
	ldr	x8, [x21, #64]
	cbz	x8, LBB0_4
; %bb.3:
	add	x8, x21, #56
	ldr	x8, [x8]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_9
LBB0_4:
	add	x0, x21, #48
Lloh8:
	adrp	x8, _WACOM_PKGLEN_MAX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WACOM_PKGLEN_MAX@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w2, [x25]
	bl	_kfifo_alloc
	mov	x24, x0
	cbnz	w0, LBB0_11
; %bb.5:
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x21, #40]
	stp	x22, x23, [x21, #24]
	add	x0, x21, #20
	bl	_mutex_init
	add	x0, x21, #16
Lloh11:
	adrp	x8, _wacom_init_work@GOTPAGE
Lloh12:
	ldr	x8, [x8, _wacom_init_work@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	add	x0, x21, #12
Lloh14:
	adrp	x8, _wacom_wireless_work@GOTPAGE
Lloh15:
	ldr	x8, [x8, _wacom_wireless_work@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x21, #8
Lloh17:
	adrp	x8, _wacom_battery_work@GOTPAGE
Lloh18:
	ldr	x8, [x8, _wacom_battery_work@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x21, #4
Lloh20:
	adrp	x8, _wacom_remote_work@GOTPAGE
Lloh21:
	ldr	x8, [x8, _wacom_remote_work@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_INIT_WORK
Lloh23:
	adrp	x8, _wacom_mode_change_work@GOTPAGE
Lloh24:
	ldr	x8, [x8, _wacom_mode_change_work@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_INIT_WORK
	mov	x0, x19
	bl	_hid_parse
	cbz	w0, LBB0_12
; %bb.6:
	mov	x24, x0
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_hid_err
	b	LBB0_11
LBB0_7:
Lloh28:
	adrp	x8, _EINVAL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh30:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh32:
	adrp	x8, _ENODEV@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_11:
	mov	x0, x24
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	x0, x21
	mov	w1, #0
	bl	_wacom_parse_and_register
	mov	x24, x0
	cbnz	w0, LBB0_11
; %bb.13:
	ldr	x8, [x19, #8]
Lloh34:
	adrp	x9, _BUS_BLUETOOTH@GOTPAGE
Lloh35:
	ldr	x9, [x9, _BUS_BLUETOOTH@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.14:
Lloh37:
	adrp	x1, _dev_attr_speed@GOTPAGE
Lloh38:
	ldr	x1, [x1, _dev_attr_speed@GOTPAGEOFF]
	mov	x0, x20
	bl	_device_create_file
	cbz	w0, LBB0_16
; %bb.15:
	mov	x2, x0
Lloh39:
	adrp	x1, l_.str.1@PAGE
Lloh40:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_hid_warn
LBB0_16:
	mov	w24, #0
	b	LBB0_11
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_HID_QUIRK_NO_INIT_REPORTS,4,2  ; @HID_QUIRK_NO_INIT_REPORTS
	.comm	_HID_QUIRK_NOGET,4,2            ; @HID_QUIRK_NOGET
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_WACOM_PKGLEN_MAX,4,2           ; @WACOM_PKGLEN_MAX
	.comm	_wacom_init_work,4,2            ; @wacom_init_work
	.comm	_wacom_wireless_work,4,2        ; @wacom_wireless_work
	.comm	_wacom_battery_work,4,2         ; @wacom_battery_work
	.comm	_wacom_remote_work,4,2          ; @wacom_remote_work
	.comm	_wacom_mode_change_work,4,2     ; @wacom_mode_change_work
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"parse failed\n"

	.comm	_BUS_BLUETOOTH,8,3              ; @BUS_BLUETOOTH
	.comm	_dev_attr_speed,4,2             ; @dev_attr_speed
l_.str.1:                               ; @.str.1
	.asciz	"can't create sysfs speed attribute err: %d\n"

	.no_dead_strip	_wacom_probe
.subsections_via_symbols
