	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wacom_bpt_irq
_wacom_bpt_irq:                         ## @wacom_bpt_irq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_INTUOSHT2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_WACOM_DEVICETYPE_PEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rdi)
	je	LBB0_2
## %bb.7:
	popq	%rbp
	jmp	_wacom_intuos_irq               ## TAILCALL
LBB0_2:
	movq	_WACOM_PKGLEN_BBTOUCH@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_3
## %bb.8:
	popq	%rbp
	jmp	_wacom_bpt_touch                ## TAILCALL
LBB0_3:
	movq	_WACOM_PKGLEN_BBTOUCH3@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_4
## %bb.9:
	popq	%rbp
	jmp	_wacom_bpt3_touch               ## TAILCALL
LBB0_4:
	movq	_WACOM_PKGLEN_BBFUN@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_10
## %bb.5:
	movq	_WACOM_PKGLEN_BBPEN@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_10
## %bb.6:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_10:
	popq	%rbp
	jmp	_wacom_bpt_pen                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_INTUOSHT2,8,3                  ## @INTUOSHT2
	.comm	_WACOM_DEVICETYPE_PEN,4,2       ## @WACOM_DEVICETYPE_PEN
	.comm	_WACOM_PKGLEN_BBTOUCH,8,3       ## @WACOM_PKGLEN_BBTOUCH
	.comm	_WACOM_PKGLEN_BBTOUCH3,8,3      ## @WACOM_PKGLEN_BBTOUCH3
	.comm	_WACOM_PKGLEN_BBFUN,8,3         ## @WACOM_PKGLEN_BBFUN
	.comm	_WACOM_PKGLEN_BBPEN,8,3         ## @WACOM_PKGLEN_BBPEN
	.no_dead_strip	_wacom_bpt_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wacom_bpt_irq
_wacom_bpt_irq:                         ; @wacom_bpt_irq
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _INTUOSHT2@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INTUOSHT2@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x0, #8]
Lloh3:
	adrp	x9, _WACOM_DEVICETYPE_PEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WACOM_DEVICETYPE_PEN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	b	_wacom_intuos_irq
LBB0_3:
Lloh6:
	adrp	x8, _WACOM_PKGLEN_BBTOUCH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WACOM_PKGLEN_BBTOUCH@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_5
; %bb.4:
	b	_wacom_bpt_touch
LBB0_5:
Lloh9:
	adrp	x8, _WACOM_PKGLEN_BBTOUCH3@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WACOM_PKGLEN_BBTOUCH3@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_7
; %bb.6:
	b	_wacom_bpt3_touch
LBB0_7:
Lloh12:
	adrp	x8, _WACOM_PKGLEN_BBFUN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WACOM_PKGLEN_BBFUN@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _WACOM_PKGLEN_BBPEN@GOTPAGE
Lloh16:
	ldr	x9, [x9, _WACOM_PKGLEN_BBPEN@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x1
	ccmp	x9, x1, #4, ne
	b.ne	LBB0_9
; %bb.8:
	b	_wacom_bpt_pen
LBB0_9:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_INTUOSHT2,8,3                  ; @INTUOSHT2
	.comm	_WACOM_DEVICETYPE_PEN,4,2       ; @WACOM_DEVICETYPE_PEN
	.comm	_WACOM_PKGLEN_BBTOUCH,8,3       ; @WACOM_PKGLEN_BBTOUCH
	.comm	_WACOM_PKGLEN_BBTOUCH3,8,3      ; @WACOM_PKGLEN_BBTOUCH3
	.comm	_WACOM_PKGLEN_BBFUN,8,3         ; @WACOM_PKGLEN_BBFUN
	.comm	_WACOM_PKGLEN_BBPEN,8,3         ; @WACOM_PKGLEN_BBPEN
	.no_dead_strip	_wacom_bpt_irq
.subsections_via_symbols
