	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ad1889_interrupt
_snd_ad1889_interrupt:                  ## @snd_ad1889_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	_AD_DMA_DISR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_ad1889_readl
	movq	%rax, %rbx
	movl	(%r15), %esi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_ad1889_writel
	movq	_AD_INTR_MASK@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	andq	(%rax), %rbx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %r15
	jmp	LBB0_10
LBB0_2:
	movq	_AD_DMA_DISR_PMAI@GOTPCREL(%rip), %rax
	movq	_AD_DMA_DISR_PTAI@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	orq	(%rax), %rcx
	testq	%rbx, %rcx
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_ad1889_debug
LBB0_4:
	movq	_AD_DMA_DISR_WAVI@GOTPCREL(%rip), %rax
	testq	%rbx, (%rax)
	je	LBB0_7
## %bb.5:
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_snd_pcm_period_elapsed
LBB0_7:
	movq	_AD_DMA_DISR_ADCI@GOTPCREL(%rip), %rax
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r15
	testq	%rbx, (%rax)
	je	LBB0_10
## %bb.8:
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_snd_pcm_period_elapsed
LBB0_10:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AD_DMA_DISR,4,2                ## @AD_DMA_DISR
	.comm	_AD_INTR_MASK,8,3               ## @AD_INTR_MASK
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_AD_DMA_DISR_PMAI,8,3           ## @AD_DMA_DISR_PMAI
	.comm	_AD_DMA_DISR_PTAI,8,3           ## @AD_DMA_DISR_PTAI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected master or target abort interrupt!\n"

	.comm	_AD_DMA_DISR_WAVI,8,3           ## @AD_DMA_DISR_WAVI
	.comm	_AD_DMA_DISR_ADCI,8,3           ## @AD_DMA_DISR_ADCI
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_snd_ad1889_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_ad1889_interrupt
_snd_ad1889_interrupt:                  ; @snd_ad1889_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
Lloh0:
	adrp	x21, _AD_DMA_DISR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _AD_DMA_DISR@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_ad1889_readl
	mov	x20, x0
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_ad1889_writel
Lloh2:
	adrp	x8, _AD_INTR_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AD_INTR_MASK@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ands	x20, x8, x20
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_11
LBB0_2:
Lloh7:
	adrp	x8, _AD_DMA_DISR_PMAI@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AD_DMA_DISR_PMAI@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
Lloh10:
	adrp	x9, _AD_DMA_DISR_PTAI@GOTPAGE
Lloh11:
	ldr	x9, [x9, _AD_DMA_DISR_PTAI@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	orr	x8, x9, x8
	tst	x8, x20
	b.eq	LBB0_4
; %bb.3:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ad1889_debug
LBB0_4:
Lloh15:
	adrp	x8, _AD_DMA_DISR_WAVI@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AD_DMA_DISR_WAVI@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	tst	x8, x20
	b.eq	LBB0_7
; %bb.5:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_snd_pcm_period_elapsed
LBB0_7:
Lloh18:
	adrp	x8, _AD_DMA_DISR_ADCI@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AD_DMA_DISR_ADCI@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	tst	x8, x20
	b.eq	LBB0_10
; %bb.8:
	ldr	x0, [x19]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_snd_pcm_period_elapsed
LBB0_10:
Lloh21:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_AD_DMA_DISR,4,2                ; @AD_DMA_DISR
	.comm	_AD_INTR_MASK,8,3               ; @AD_INTR_MASK
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_AD_DMA_DISR_PMAI,8,3           ; @AD_DMA_DISR_PMAI
	.comm	_AD_DMA_DISR_PTAI,8,3           ; @AD_DMA_DISR_PTAI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected master or target abort interrupt!\n"

	.comm	_AD_DMA_DISR_WAVI,8,3           ; @AD_DMA_DISR_WAVI
	.comm	_AD_DMA_DISR_ADCI,8,3           ; @AD_DMA_DISR_ADCI
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_snd_ad1889_interrupt
.subsections_via_symbols
