	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_sb8dsp_interrupt           ## -- Begin function snd_sb8dsp_interrupt
	.p2align	4, 0x90
_snd_sb8dsp_interrupt:                  ## @snd_sb8dsp_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_snd_sb_ack_8bit
	movl	(%rbx), %eax
	cmpl	$129, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_7
## %bb.2:
	movq	24(%rbx), %r14
	movl	16(%rbx), %eax
	movq	_SB_DSP_OUTPUT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
## %bb.3:
	movq	_SNDRV_PCM_TRIGGER_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_snd_sb8_playback_trigger
	jmp	LBB0_6
LBB0_4:
	movq	8(%rbx), %r14
	movl	4(%rbx), %eax
	movq	_SB_DSP_INPUT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
## %bb.5:
	movq	_SNDRV_PCM_TRIGGER_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_snd_sb8_capture_trigger
LBB0_6:
	movq	%r14, %rdi
	callq	_snd_pcm_period_elapsed
LBB0_7:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SB_DSP_OUTPUT,4,2              ## @SB_DSP_OUTPUT
	.comm	_SNDRV_PCM_TRIGGER_START,4,2    ## @SNDRV_PCM_TRIGGER_START
	.comm	_SB_DSP_INPUT,4,2               ## @SB_DSP_INPUT
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_sb8dsp_interrupt           ; -- Begin function snd_sb8dsp_interrupt
	.p2align	2
_snd_sb8dsp_interrupt:                  ; @snd_sb8dsp_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	x20, x0
	bl	_snd_sb_ack_8bit
	ldr	w8, [x20]
	cmp	w8, #129
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.2:
	ldr	x19, [x20, #24]
	ldr	w8, [x20, #16]
Lloh0:
	adrp	x9, _SB_DSP_OUTPUT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SB_DSP_OUTPUT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _SNDRV_PCM_TRIGGER_START@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SNDRV_PCM_TRIGGER_START@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_snd_sb8_playback_trigger
	b	LBB0_6
LBB0_4:
	ldr	x19, [x20, #8]
	ldr	w8, [x20, #4]
Lloh6:
	adrp	x9, _SB_DSP_INPUT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SB_DSP_INPUT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.5:
Lloh9:
	adrp	x8, _SNDRV_PCM_TRIGGER_START@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SNDRV_PCM_TRIGGER_START@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_snd_sb8_capture_trigger
LBB0_6:
	mov	x0, x19
	bl	_snd_pcm_period_elapsed
LBB0_7:
Lloh12:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SB_DSP_OUTPUT,4,2              ; @SB_DSP_OUTPUT
	.comm	_SNDRV_PCM_TRIGGER_START,4,2    ; @SNDRV_PCM_TRIGGER_START
	.comm	_SB_DSP_INPUT,4,2               ; @SB_DSP_INPUT
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
.subsections_via_symbols
