	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_rme96_interrupt
_snd_rme96_interrupt:                   ## @snd_rme96_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	_RME96_IO_CONTROL_REGISTER@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rsi), %rdi
	callq	_readl
	movl	%eax, (%rbx)
	movq	_RME96_RCR_IRQ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.3:
	movl	20(%rbx), %edi
	callq	_snd_pcm_period_elapsed
	movq	_RME96_IO_CONFIRM_PLAY_IRQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_RME96_RCR_IRQ_2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movq	_RME96_RCR_IRQ_2@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
LBB0_4:
	movl	16(%rbx), %edi
	callq	_snd_pcm_period_elapsed
	movq	_RME96_IO_CONFIRM_REC_IRQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
LBB0_5:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_RME96_IO_CONTROL_REGISTER,8,3  ## @RME96_IO_CONTROL_REGISTER
	.comm	_RME96_RCR_IRQ,4,2              ## @RME96_RCR_IRQ
	.comm	_RME96_RCR_IRQ_2,4,2            ## @RME96_RCR_IRQ_2
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_RME96_IO_CONFIRM_PLAY_IRQ,8,3  ## @RME96_IO_CONFIRM_PLAY_IRQ
	.comm	_RME96_IO_CONFIRM_REC_IRQ,8,3   ## @RME96_IO_CONFIRM_REC_IRQ
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_snd_rme96_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_rme96_interrupt
_snd_rme96_interrupt:                   ; @snd_rme96_interrupt
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x8, [x1, #8]
Lloh0:
	adrp	x9, _RME96_IO_CONTROL_REGISTER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RME96_IO_CONTROL_REGISTER@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	str	w0, [x19]
Lloh3:
	adrp	x8, _RME96_RCR_IRQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RME96_RCR_IRQ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x19, #20]
	bl	_snd_pcm_period_elapsed
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _RME96_IO_CONFIRM_PLAY_IRQ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RME96_IO_CONFIRM_PLAY_IRQ@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	w8, [x19]
Lloh9:
	adrp	x9, _RME96_RCR_IRQ_2@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RME96_RCR_IRQ_2@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
	b	LBB0_4
LBB0_2:
Lloh12:
	adrp	x8, _RME96_RCR_IRQ_2@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RME96_RCR_IRQ_2@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_6
LBB0_3:
	ldr	w0, [x19, #16]
	bl	_snd_pcm_period_elapsed
	ldr	x8, [x19, #8]
Lloh15:
	adrp	x9, _RME96_IO_CONFIRM_REC_IRQ@GOTPAGE
Lloh16:
	ldr	x9, [x9, _RME96_IO_CONFIRM_REC_IRQ@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
LBB0_4:
Lloh18:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh20:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_RME96_IO_CONTROL_REGISTER,8,3  ; @RME96_IO_CONTROL_REGISTER
	.comm	_RME96_RCR_IRQ,4,2              ; @RME96_RCR_IRQ
	.comm	_RME96_RCR_IRQ_2,4,2            ; @RME96_RCR_IRQ_2
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_RME96_IO_CONFIRM_PLAY_IRQ,8,3  ; @RME96_IO_CONFIRM_PLAY_IRQ
	.comm	_RME96_IO_CONFIRM_REC_IRQ,8,3   ; @RME96_IO_CONFIRM_REC_IRQ
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_snd_rme96_interrupt
.subsections_via_symbols
