	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sis_interrupt
_sis_interrupt:                         ## @sis_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %r12
	movq	_SIS_GISR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%r12, %rdi
	callq	_inl
	movq	_SIS_GISR_AUDIO_PLAY_DMA_IRQ_STATUS@GOTPCREL(%rip), %rcx
	movq	_SIS_GISR_AUDIO_RECORD_DMA_IRQ_STATUS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx), %ebx
	andl	%eax, %ebx
	je	LBB0_1
## %bb.2:
	movq	_SIS_PISR_A@GOTPCREL(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_SIS_RISR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r12, %rsi
	movl	%r15d, %edi
	callq	_outl
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_SIS_GISR@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	addq	%r12, %rsi
	movl	%ebx, %edi
	callq	_outl
	movq	(%r15), %rdi
	addq	%r12, %rdi
	callq	_inl
	movq	_SIS_GISR_AUDIO_RECORD_DMA_IRQ_STATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	_SIS_GISR_AUDIO_PLAY_DMA_IRQ_STATUS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	andl	%eax, %ebx
	je	LBB0_12
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rdi
	addq	%r12, %rdi
	callq	_inl
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r15d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rsi
	movl	%r15d, %edi
	callq	_sis_voice_irq
	movq	(%r13), %rsi
	addq	%r12, %rsi
	movl	%r15d, %edi
	callq	_outl
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_SIS_PISR_B@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	%r12, %rdi
	callq	_inl
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r15d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rsi
	subq	$-128, %rsi
	movl	%r15d, %edi
	callq	_sis_voice_irq
	movq	(%r14), %rsi
	addq	%r12, %rsi
	movl	%r15d, %edi
	callq	_outl
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_SIS_RISR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%r12, %rdi
	callq	_inl
	testl	%eax, %eax
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r15d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, 12(%rax)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	callq	_snd_pcm_period_elapsed
	jmp	LBB0_10
LBB0_12:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIS_GISR,8,3                   ## @SIS_GISR
	.comm	_SIS_GISR_AUDIO_PLAY_DMA_IRQ_STATUS,4,2 ## @SIS_GISR_AUDIO_PLAY_DMA_IRQ_STATUS
	.comm	_SIS_GISR_AUDIO_RECORD_DMA_IRQ_STATUS,4,2 ## @SIS_GISR_AUDIO_RECORD_DMA_IRQ_STATUS
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_SIS_PISR_A,8,3                 ## @SIS_PISR_A
	.comm	_SIS_PISR_B,8,3                 ## @SIS_PISR_B
	.comm	_SIS_RISR,8,3                   ## @SIS_RISR
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_sis_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sis_interrupt
_sis_interrupt:                         ; @sis_interrupt
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	ldr	x22, [x1]
Lloh0:
	adrp	x23, _SIS_GISR@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SIS_GISR@GOTPAGEOFF]
	ldr	x8, [x23]
	add	x0, x8, x22
	bl	_inl
Lloh2:
	adrp	x24, _SIS_GISR_AUDIO_PLAY_DMA_IRQ_STATUS@GOTPAGE
Lloh3:
	ldr	x24, [x24, _SIS_GISR_AUDIO_PLAY_DMA_IRQ_STATUS@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh4:
	adrp	x25, _SIS_GISR_AUDIO_RECORD_DMA_IRQ_STATUS@GOTPAGE
Lloh5:
	ldr	x25, [x25, _SIS_GISR_AUDIO_RECORD_DMA_IRQ_STATUS@GOTPAGEOFF]
	ldr	w9, [x25]
	orr	w8, w9, w8
	ands	w20, w8, w0
	b.eq	LBB0_12
; %bb.1:
Lloh6:
	adrp	x27, _SIS_PISR_A@GOTPAGE
Lloh7:
	ldr	x27, [x27, _SIS_PISR_A@GOTPAGEOFF]
Lloh8:
	adrp	x28, _SIS_PISR_B@GOTPAGE
Lloh9:
	ldr	x28, [x28, _SIS_PISR_B@GOTPAGEOFF]
Lloh10:
	adrp	x26, _SIS_RISR@GOTPAGE
Lloh11:
	ldr	x26, [x26, _SIS_RISR@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26]
	add	x1, x8, x22
	mov	x0, x21
	bl	_outl
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	add	x1, x8, x22
	mov	x0, x20
	bl	_outl
	ldr	x8, [x23]
	add	x0, x8, x22
	bl	_inl
	ldr	w8, [x24]
	ldr	w9, [x25]
	orr	w8, w9, w8
	ands	w20, w8, w0
	b.eq	LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x27]
	add	x0, x8, x22
	bl	_inl
	cbz	w0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x0
	ldr	x1, [x19, #16]
	bl	_sis_voice_irq
	ldr	x8, [x27]
	add	x1, x8, x22
	mov	x0, x21
	bl	_outl
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28]
	add	x0, x8, x22
	bl	_inl
	cbz	w0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x0
	ldr	x8, [x19, #16]
	add	x1, x8, #128
	bl	_sis_voice_irq
	ldr	x8, [x28]
	add	x1, x8, x22
	mov	x0, x21
	bl	_outl
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26]
	add	x0, x8, x22
	bl	_inl
	cbz	w0, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x0
	ldr	w8, [x19, #12]
	cbnz	w8, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19, #8]
	bl	_snd_pcm_period_elapsed
	b	LBB0_2
LBB0_11:
Lloh12:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh14:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_SIS_GISR,8,3                   ; @SIS_GISR
	.comm	_SIS_GISR_AUDIO_PLAY_DMA_IRQ_STATUS,4,2 ; @SIS_GISR_AUDIO_PLAY_DMA_IRQ_STATUS
	.comm	_SIS_GISR_AUDIO_RECORD_DMA_IRQ_STATUS,4,2 ; @SIS_GISR_AUDIO_RECORD_DMA_IRQ_STATUS
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_SIS_PISR_A,8,3                 ; @SIS_PISR_A
	.comm	_SIS_PISR_B,8,3                 ; @SIS_PISR_B
	.comm	_SIS_RISR,8,3                   ; @SIS_RISR
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_sis_interrupt
.subsections_via_symbols
