	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ad1816a_interrupt
_snd_ad1816a_interrupt:                 ## @snd_ad1816a_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, %rbx
	movq	%rsi, %rdi
	callq	_spin_lock
	movq	_AD1816A_INTERRUPT_STATUS@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_snd_ad1816a_in
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_spin_unlock
	movq	_AD1816A_PLAYBACK_IRQ_PENDING@GOTPCREL(%rip), %rax
	testb	%r14b, (%rax)
	je	LBB0_3
## %bb.1:
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_snd_pcm_period_elapsed
LBB0_3:
	movq	_AD1816A_CAPTURE_IRQ_PENDING@GOTPCREL(%rip), %rax
	testb	%r14b, (%rax)
	je	LBB0_6
## %bb.4:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_snd_pcm_period_elapsed
LBB0_6:
	movq	_AD1816A_TIMER_IRQ_PENDING@GOTPCREL(%rip), %rax
	testb	%r14b, (%rax)
	je	LBB0_9
## %bb.7:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	movl	(%rdi), %esi
	callq	_snd_timer_interrupt
LBB0_9:
	movq	%rbx, %rdi
	callq	_spin_lock
	movl	(%r15), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_snd_ad1816a_out
	movq	%rbx, %rdi
	callq	_spin_unlock
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AD1816A_INTERRUPT_STATUS,4,2   ## @AD1816A_INTERRUPT_STATUS
	.comm	_AD1816A_PLAYBACK_IRQ_PENDING,1,0 ## @AD1816A_PLAYBACK_IRQ_PENDING
	.comm	_AD1816A_CAPTURE_IRQ_PENDING,1,0 ## @AD1816A_CAPTURE_IRQ_PENDING
	.comm	_AD1816A_TIMER_IRQ_PENDING,1,0  ## @AD1816A_TIMER_IRQ_PENDING
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_snd_ad1816a_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_ad1816a_interrupt
_snd_ad1816a_interrupt:                 ; @snd_ad1816a_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
	mov	x0, x1
	bl	_spin_lock
Lloh0:
	adrp	x21, _AD1816A_INTERRUPT_STATUS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _AD1816A_INTERRUPT_STATUS@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_snd_ad1816a_in
	mov	x20, x0
	mov	x0, x19
	bl	_spin_unlock
Lloh2:
	adrp	x8, _AD1816A_PLAYBACK_IRQ_PENDING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AD1816A_PLAYBACK_IRQ_PENDING@GOTPAGEOFF]
	ldrb	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_3
; %bb.1:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_snd_pcm_period_elapsed
LBB0_3:
Lloh4:
	adrp	x8, _AD1816A_CAPTURE_IRQ_PENDING@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AD1816A_CAPTURE_IRQ_PENDING@GOTPAGEOFF]
	ldrb	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.4:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_snd_pcm_period_elapsed
LBB0_6:
Lloh6:
	adrp	x8, _AD1816A_TIMER_IRQ_PENDING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AD1816A_TIMER_IRQ_PENDING@GOTPAGEOFF]
	ldrb	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_9
; %bb.7:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w1, [x0]
	bl	_snd_timer_interrupt
LBB0_9:
	mov	x0, x19
	bl	_spin_lock
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #0
	bl	_snd_ad1816a_out
	mov	x0, x19
	bl	_spin_unlock
Lloh8:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh10:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_AD1816A_INTERRUPT_STATUS,4,2   ; @AD1816A_INTERRUPT_STATUS
	.comm	_AD1816A_PLAYBACK_IRQ_PENDING,1,0 ; @AD1816A_PLAYBACK_IRQ_PENDING
	.comm	_AD1816A_CAPTURE_IRQ_PENDING,1,0 ; @AD1816A_CAPTURE_IRQ_PENDING
	.comm	_AD1816A_TIMER_IRQ_PENDING,1,0  ; @AD1816A_TIMER_IRQ_PENDING
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_snd_ad1816a_interrupt
.subsections_via_symbols
