	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_rme32_interrupt
_snd_rme32_interrupt:                   ## @snd_rme32_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	_RME32_IO_CONTROL_REGISTER@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rsi), %rdi
	callq	_readl
	movl	%eax, (%rbx)
	movq	_RME32_RCR_IRQ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.2:
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_snd_pcm_period_elapsed
LBB0_4:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_snd_pcm_period_elapsed
LBB0_6:
	movq	_RME32_IO_CONFIRM_ACTION_IRQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RME32_IO_CONTROL_REGISTER,8,3  ## @RME32_IO_CONTROL_REGISTER
	.comm	_RME32_RCR_IRQ,4,2              ## @RME32_RCR_IRQ
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_RME32_IO_CONFIRM_ACTION_IRQ,8,3 ## @RME32_IO_CONFIRM_ACTION_IRQ
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_snd_rme32_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_rme32_interrupt
_snd_rme32_interrupt:                   ; @snd_rme32_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, _RME32_IO_CONTROL_REGISTER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RME32_IO_CONTROL_REGISTER@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	str	w0, [x19]
Lloh3:
	adrp	x8, _RME32_RCR_IRQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RME32_RCR_IRQ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_6
; %bb.1:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_snd_pcm_period_elapsed
LBB0_3:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_snd_pcm_period_elapsed
LBB0_5:
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _RME32_IO_CONFIRM_ACTION_IRQ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RME32_IO_CONFIRM_ACTION_IRQ@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
Lloh9:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh11:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_RME32_IO_CONTROL_REGISTER,8,3  ; @RME32_IO_CONTROL_REGISTER
	.comm	_RME32_RCR_IRQ,4,2              ; @RME32_RCR_IRQ
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_RME32_IO_CONFIRM_ACTION_IRQ,8,3 ; @RME32_IO_CONFIRM_ACTION_IRQ
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_snd_rme32_interrupt
.subsections_via_symbols
