	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atmel_wm97xx_channel_b_interrupt
_atmel_wm97xx_channel_b_interrupt:      ## @atmel_wm97xx_channel_b_interrupt
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	8(%rsi), %r12
	movq	_CBSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ac97c_readl
	movq	_AC97C_OVRUN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	8(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	_CBRHR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ac97c_readl
LBB0_13:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r15
LBB0_14:
	movl	(%r15), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_AC97C_RXRDY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.4:
	movq	_CBRHR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ac97c_readl
	movl	%eax, %r15d
	movl	%eax, %r14d
	movq	_WM97XX_ADCSRC_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r15d, %eax
	movq	_WM97XX_PEN_DOWN@GOTPCREL(%rip), %rcx
	andl	(%rcx), %r15d
	andl	$4095, %r14d                    ## imm = 0xFFF
	movq	_WM97XX_ADCSEL_X@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
## %bb.5:
	movl	%r14d, (%rbx)
LBB0_6:
	movq	_WM97XX_ADCSEL_Y@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_7
## %bb.11:
	movl	%r14d, 4(%rbx)
	movq	_pressure@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_8
## %bb.12:
	sarl	$8, %r15d
	movl	(%r12), %edi
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	callq	_input_report_abs
	movl	(%r12), %edi
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %edx
	callq	_input_report_abs
	movl	(%r12), %edi
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	callq	_input_report_key
	movl	(%r12), %edi
	callq	_input_sync
	jmp	LBB0_13
LBB0_3:
	movq	_IRQ_NONE@GOTPCREL(%rip), %r15
	jmp	LBB0_14
LBB0_7:
	movq	_pressure@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
LBB0_8:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r15
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.9:
	movq	_WM97XX_ADCSEL_PRES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_14
## %bb.10:
	movl	(%r12), %edi
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	callq	_input_report_abs
	movl	(%r12), %edi
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %edx
	callq	_input_report_abs
	movl	(%r12), %edi
	movq	_ABS_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edx
	callq	_input_report_abs
	movl	(%r12), %edi
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edx
	callq	_input_report_key
	movl	(%r12), %edi
	callq	_input_sync
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_CBSR,4,2                       ## @CBSR
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_AC97C_OVRUN,4,2                ## @AC97C_OVRUN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AC97C overrun\n"

	.comm	_CBRHR,4,2                      ## @CBRHR
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_AC97C_RXRDY,4,2                ## @AC97C_RXRDY
	.comm	_WM97XX_ADCSRC_MASK,4,2         ## @WM97XX_ADCSRC_MASK
	.comm	_WM97XX_PEN_DOWN,4,2            ## @WM97XX_PEN_DOWN
	.comm	_WM97XX_ADCSEL_X,4,2            ## @WM97XX_ADCSEL_X
	.comm	_WM97XX_ADCSEL_Y,4,2            ## @WM97XX_ADCSEL_Y
	.comm	_pressure,8,3                   ## @pressure
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_ABS_Y,4,2                      ## @ABS_Y
	.comm	_BTN_TOUCH,4,2                  ## @BTN_TOUCH
	.comm	_WM97XX_ADCSEL_PRES,4,2         ## @WM97XX_ADCSEL_PRES
	.comm	_ABS_PRESSURE,4,2               ## @ABS_PRESSURE
	.no_dead_strip	_atmel_wm97xx_channel_b_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atmel_wm97xx_channel_b_interrupt
_atmel_wm97xx_channel_b_interrupt:      ; @atmel_wm97xx_channel_b_interrupt
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	ldr	x21, [x1, #8]
Lloh0:
	adrp	x8, _CBSR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CBSR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ac97c_readl
Lloh3:
	adrp	x8, _AC97C_OVRUN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AC97C_OVRUN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.1:
	ldr	x0, [x21, #8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
Lloh8:
	adrp	x8, _CBRHR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CBRHR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ac97c_readl
LBB0_2:
Lloh11:
	adrp	x9, _IRQ_HANDLED@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x9]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh13:
	adrp	x8, _AC97C_RXRDY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AC97C_RXRDY@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_10
; %bb.5:
Lloh16:
	adrp	x8, _CBRHR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CBRHR@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ac97c_readl
	and	w20, w0, #0xfff
Lloh19:
	adrp	x8, _WM97XX_ADCSRC_MASK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _WM97XX_ADCSRC_MASK@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _WM97XX_PEN_DOWN@GOTPAGE
Lloh23:
	ldr	x9, [x9, _WM97XX_PEN_DOWN@GOTPAGEOFF]
	and	w8, w8, w0
Lloh24:
	ldr	w9, [x9]
Lloh25:
	adrp	x10, _WM97XX_ADCSEL_X@GOTPAGE
Lloh26:
	ldr	x10, [x10, _WM97XX_ADCSEL_X@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
	cmp	w8, w10
	b.ne	LBB0_7
; %bb.6:
	str	w20, [x19]
LBB0_7:
Lloh28:
	adrp	x10, _WM97XX_ADCSEL_Y@GOTPAGE
Lloh29:
	ldr	x10, [x10, _WM97XX_ADCSEL_Y@GOTPAGEOFF]
Lloh30:
	ldr	w10, [x10]
	cmp	w8, w10
	b.ne	LBB0_11
; %bb.8:
	str	w20, [x19, #4]
Lloh31:
	adrp	x10, _pressure@GOTPAGE
Lloh32:
	ldr	x10, [x10, _pressure@GOTPAGEOFF]
Lloh33:
	ldr	x10, [x10]
	cbnz	x10, LBB0_12
; %bb.9:
	and	w8, w9, w0
	asr	w20, w8, #8
	ldr	w0, [x21]
Lloh34:
	adrp	x8, _ABS_X@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ABS_X@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	ldr	w2, [x19]
	bl	_input_report_abs
	ldr	w0, [x21]
Lloh37:
	adrp	x8, _ABS_Y@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ABS_Y@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	ldr	w2, [x19, #4]
	b	LBB0_15
LBB0_10:
Lloh40:
	adrp	x9, _IRQ_NONE@GOTPAGE
Lloh41:
	ldr	x9, [x9, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_3
LBB0_11:
Lloh42:
	adrp	x9, _pressure@GOTPAGE
Lloh43:
	ldr	x9, [x9, _pressure@GOTPAGEOFF]
Lloh44:
	ldr	x10, [x9]
LBB0_12:
Lloh45:
	adrp	x9, _IRQ_HANDLED@GOTPAGE
Lloh46:
	ldr	x9, [x9, _IRQ_HANDLED@GOTPAGEOFF]
	cbz	x10, LBB0_3
; %bb.13:
Lloh47:
	adrp	x10, _WM97XX_ADCSEL_PRES@GOTPAGE
Lloh48:
	ldr	x10, [x10, _WM97XX_ADCSEL_PRES@GOTPAGEOFF]
Lloh49:
	ldr	w10, [x10]
	cmp	w8, w10
	b.ne	LBB0_3
; %bb.14:
	ldr	w0, [x21]
Lloh50:
	adrp	x8, _ABS_X@GOTPAGE
Lloh51:
	ldr	x8, [x8, _ABS_X@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	ldr	w2, [x19]
	bl	_input_report_abs
	ldr	w0, [x21]
Lloh53:
	adrp	x8, _ABS_Y@GOTPAGE
Lloh54:
	ldr	x8, [x8, _ABS_Y@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	ldr	w2, [x19, #4]
	bl	_input_report_abs
	ldr	w0, [x21]
Lloh56:
	adrp	x8, _ABS_PRESSURE@GOTPAGE
Lloh57:
	ldr	x8, [x8, _ABS_PRESSURE@GOTPAGEOFF]
Lloh58:
	ldr	w1, [x8]
	mov	x2, x20
LBB0_15:
	bl	_input_report_abs
	ldr	w0, [x21]
Lloh59:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh60:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_input_report_key
	ldr	w0, [x21]
	bl	_input_sync
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.cfi_endproc
                                        ; -- End function
	.comm	_CBSR,4,2                       ; @CBSR
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_AC97C_OVRUN,4,2                ; @AC97C_OVRUN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AC97C overrun\n"

	.comm	_CBRHR,4,2                      ; @CBRHR
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_AC97C_RXRDY,4,2                ; @AC97C_RXRDY
	.comm	_WM97XX_ADCSRC_MASK,4,2         ; @WM97XX_ADCSRC_MASK
	.comm	_WM97XX_PEN_DOWN,4,2            ; @WM97XX_PEN_DOWN
	.comm	_WM97XX_ADCSEL_X,4,2            ; @WM97XX_ADCSEL_X
	.comm	_WM97XX_ADCSEL_Y,4,2            ; @WM97XX_ADCSEL_Y
	.comm	_pressure,8,3                   ; @pressure
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_ABS_Y,4,2                      ; @ABS_Y
	.comm	_BTN_TOUCH,4,2                  ; @BTN_TOUCH
	.comm	_WM97XX_ADCSEL_PRES,4,2         ; @WM97XX_ADCSEL_PRES
	.comm	_ABS_PRESSURE,4,2               ; @ABS_PRESSURE
	.no_dead_strip	_atmel_wm97xx_channel_b_interrupt
.subsections_via_symbols
