	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ml403_ac97cr_irq
_snd_ml403_ac97cr_irq:                  ## @snd_ml403_ac97cr_irq
	.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	_IRQ_NONE@GOTPCREL(%rip), %r12
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.1:
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	32(%rsi), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	cmpl	%r14d, %eax
	jne	LBB0_4
## %bb.2:
	cmpq	$0, 24(%rbx)
	je	LBB0_7
## %bb.3:
	movl	20(%rbx), %edi
	addq	$16, %rbx
	movq	_snd_ml403_ac97cr_playback_ind2_copy@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_snd_ml403_ac97cr_playback_ind2_zero@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rsi
	callq	_snd_pcm_indirect2_playback_interrupt
	jmp	LBB0_8
LBB0_4:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_platform_get_irq
	cmpl	%r14d, %eax
	jne	LBB0_9
## %bb.5:
	cmpq	$0, 8(%rbx)
	je	LBB0_7
## %bb.6:
	movl	4(%rbx), %edi
	movq	_snd_ml403_ac97cr_capture_ind2_copy@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_snd_ml403_ac97cr_capture_ind2_null@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rsi
	callq	_snd_pcm_indirect2_capture_interrupt
	jmp	LBB0_8
LBB0_7:
	movq	_INIT_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_PDEBUG
	movl	%r14d, %edi
	callq	_disable_irq_nosync
LBB0_8:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r12
LBB0_9:
	movl	(%r12), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_snd_ml403_ac97cr_playback_ind2_copy,4,2 ## @snd_ml403_ac97cr_playback_ind2_copy
	.comm	_snd_ml403_ac97cr_playback_ind2_zero,4,2 ## @snd_ml403_ac97cr_playback_ind2_zero
	.comm	_snd_ml403_ac97cr_capture_ind2_copy,4,2 ## @snd_ml403_ac97cr_capture_ind2_copy
	.comm	_snd_ml403_ac97cr_capture_ind2_null,4,2 ## @snd_ml403_ac97cr_capture_ind2_null
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_INIT_INFO,4,2                  ## @INIT_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"irq(): irq %d is meant to be disabled! So, now try to disable it _really_!\n"

	.no_dead_strip	_snd_ml403_ac97cr_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_ml403_ac97cr_irq
_snd_ml403_ac97cr_irq:                  ; @snd_ml403_ac97cr_irq
	.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
	cbz	x1, LBB0_7
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x1, #32]
	mov	x0, x21
	mov	w1, #0
	bl	_platform_get_irq
	cmp	w0, w20
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_8
; %bb.3:
	ldr	w0, [x19, #20]
	add	x1, x19, #16
Lloh0:
	adrp	x8, _snd_ml403_ac97cr_playback_ind2_copy@GOTPAGE
Lloh1:
	ldr	x8, [x8, _snd_ml403_ac97cr_playback_ind2_copy@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _snd_ml403_ac97cr_playback_ind2_zero@GOTPAGE
Lloh4:
	ldr	x8, [x8, _snd_ml403_ac97cr_playback_ind2_zero@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	bl	_snd_pcm_indirect2_playback_interrupt
	b	LBB0_9
LBB0_4:
	mov	x0, x21
	mov	w1, #1
	bl	_platform_get_irq
	cmp	w0, w20
	b.ne	LBB0_7
; %bb.5:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	w0, [x19, #4]
Lloh6:
	adrp	x8, _snd_ml403_ac97cr_capture_ind2_copy@GOTPAGE
Lloh7:
	ldr	x8, [x8, _snd_ml403_ac97cr_capture_ind2_copy@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _snd_ml403_ac97cr_capture_ind2_null@GOTPAGE
Lloh10:
	ldr	x8, [x8, _snd_ml403_ac97cr_capture_ind2_null@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x1, x19
	bl	_snd_pcm_indirect2_capture_interrupt
	b	LBB0_9
LBB0_7:
Lloh12:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh14:
	adrp	x8, _INIT_INFO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _INIT_INFO@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_PDEBUG
	mov	x0, x20
	bl	_disable_irq_nosync
LBB0_9:
Lloh19:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_10:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_snd_ml403_ac97cr_playback_ind2_copy,4,2 ; @snd_ml403_ac97cr_playback_ind2_copy
	.comm	_snd_ml403_ac97cr_playback_ind2_zero,4,2 ; @snd_ml403_ac97cr_playback_ind2_zero
	.comm	_snd_ml403_ac97cr_capture_ind2_copy,4,2 ; @snd_ml403_ac97cr_capture_ind2_copy
	.comm	_snd_ml403_ac97cr_capture_ind2_null,4,2 ; @snd_ml403_ac97cr_capture_ind2_null
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_INIT_INFO,4,2                  ; @INIT_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"irq(): irq %d is meant to be disabled! So, now try to disable it _really_!\n"

	.no_dead_strip	_snd_ml403_ac97cr_irq
.subsections_via_symbols
