	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ca0106_interrupt
_snd_ca0106_interrupt:                  ## @snd_ca0106_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, %rbx
	movq	_IPR@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	(%rsi), %rdi
	callq	_inl
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %r14d
	movq	_EXTENDED_INT@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_snd_ca0106_ptr_read
	movl	%eax, %r15d
	movq	56(%rbx), %rax
	testb	$17, %r15b
	je	LBB0_5
## %bb.3:
	cmpq	$0, 8(%rax)
	je	LBB0_5
## %bb.4:
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_snd_pcm_period_elapsed
	movq	56(%rbx), %rax
LBB0_5:
	testb	$34, %r15b
	je	LBB0_8
## %bb.6:
	cmpq	$0, 24(%rax)
	je	LBB0_8
## %bb.7:
	movq	16(%rax), %rax
	movl	(%rax), %edi
	callq	_snd_pcm_period_elapsed
	movq	56(%rbx), %rax
LBB0_8:
	testb	$68, %r15b
	je	LBB0_11
## %bb.9:
	cmpq	$0, 40(%rax)
	je	LBB0_11
## %bb.10:
	movq	32(%rax), %rax
	movl	(%rax), %edi
	callq	_snd_pcm_period_elapsed
	movq	56(%rbx), %rax
LBB0_11:
	testb	$-120, %r15b
	je	LBB0_14
## %bb.12:
	cmpq	$0, 56(%rax)
	je	LBB0_14
## %bb.13:
	movq	48(%rax), %rax
	movl	(%rax), %edi
	callq	_snd_pcm_period_elapsed
LBB0_14:
	movq	48(%rbx), %rax
	testl	$1114112, %r15d                 ## imm = 0x110000
	je	LBB0_17
## %bb.15:
	cmpq	$0, 8(%rax)
	je	LBB0_17
## %bb.16:
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_snd_pcm_period_elapsed
	movq	48(%rbx), %rax
LBB0_17:
	testl	$2228224, %r15d                 ## imm = 0x220000
	je	LBB0_20
## %bb.18:
	cmpq	$0, 24(%rax)
	je	LBB0_20
## %bb.19:
	movq	16(%rax), %rax
	movl	(%rax), %edi
	callq	_snd_pcm_period_elapsed
	movq	48(%rbx), %rax
LBB0_20:
	testl	$4456448, %r15d                 ## imm = 0x440000
	je	LBB0_23
## %bb.21:
	cmpq	$0, 40(%rax)
	je	LBB0_23
## %bb.22:
	movq	32(%rax), %rax
	movl	(%rax), %edi
	callq	_snd_pcm_period_elapsed
	movq	48(%rbx), %rax
LBB0_23:
	testl	$8912896, %r15d                 ## imm = 0x880000
	je	LBB0_26
## %bb.24:
	cmpq	$0, 56(%rax)
	je	LBB0_26
## %bb.25:
	movq	48(%rax), %rax
	movl	(%rax), %edi
	callq	_snd_pcm_period_elapsed
LBB0_26:
	movl	(%r13), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	%r15d, %ecx
	callq	_snd_ca0106_ptr_write
	cmpq	$0, 40(%rbx)
	je	LBB0_31
## %bb.27:
	movl	12(%rbx), %eax
	orl	8(%rbx), %eax
	testl	%r14d, %eax
	je	LBB0_31
## %bb.28:
	leaq	8(%rbx), %rdi
	movq	32(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_30
## %bb.29:
	movl	%r14d, %esi
	callq	*%rax
	jmp	LBB0_31
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_30:
	movl	20(%rbx), %esi
	orl	16(%rbx), %esi
	callq	*24(%rbx)
LBB0_31:
	movq	(%r12), %rsi
	addq	(%rbx), %rsi
	movl	%r14d, %edi
	callq	_outl
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_32:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPR,8,3                        ## @IPR
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_EXTENDED_INT,4,2               ## @EXTENDED_INT
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_snd_ca0106_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_ca0106_interrupt
_snd_ca0106_interrupt:                  ; @snd_ca0106_interrupt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	ldr	x8, [x1]
Lloh0:
	adrp	x22, _IPR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _IPR@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_inl
	cbz	w0, LBB0_29
; %bb.1:
	mov	x20, x0
Lloh2:
	adrp	x23, _EXTENDED_INT@GOTPAGE
Lloh3:
	ldr	x23, [x23, _EXTENDED_INT@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #0
	bl	_snd_ca0106_ptr_read
	mov	x21, x0
	ldr	x8, [x19, #56]
	mov	w9, #17
	tst	w0, w9
	b.eq	LBB0_4
; %bb.2:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_4
; %bb.3:
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_snd_pcm_period_elapsed
	ldr	x8, [x19, #56]
LBB0_4:
	mov	w9, #34
	tst	w21, w9
	b.eq	LBB0_7
; %bb.5:
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_7
; %bb.6:
	ldr	x8, [x8, #16]
	ldr	w0, [x8]
	bl	_snd_pcm_period_elapsed
	ldr	x8, [x19, #56]
LBB0_7:
	mov	w9, #68
	tst	w21, w9
	b.eq	LBB0_10
; %bb.8:
	ldr	x9, [x8, #40]
	cbz	x9, LBB0_10
; %bb.9:
	ldr	x8, [x8, #32]
	ldr	w0, [x8]
	bl	_snd_pcm_period_elapsed
	ldr	x8, [x19, #56]
LBB0_10:
	mov	w9, #136
	tst	w21, w9
	b.eq	LBB0_13
; %bb.11:
	ldr	x9, [x8, #56]
	cbz	x9, LBB0_13
; %bb.12:
	ldr	x8, [x8, #48]
	ldr	w0, [x8]
	bl	_snd_pcm_period_elapsed
LBB0_13:
	ldr	x8, [x19, #48]
	mov	w9, #1114112
	tst	w21, w9
	b.eq	LBB0_16
; %bb.14:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_16
; %bb.15:
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_snd_pcm_period_elapsed
	ldr	x8, [x19, #48]
LBB0_16:
	mov	w9, #2228224
	tst	w21, w9
	b.eq	LBB0_19
; %bb.17:
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_19
; %bb.18:
	ldr	x8, [x8, #16]
	ldr	w0, [x8]
	bl	_snd_pcm_period_elapsed
	ldr	x8, [x19, #48]
LBB0_19:
	mov	w9, #4456448
	tst	w21, w9
	b.eq	LBB0_22
; %bb.20:
	ldr	x9, [x8, #40]
	cbz	x9, LBB0_22
; %bb.21:
	ldr	x8, [x8, #32]
	ldr	w0, [x8]
	bl	_snd_pcm_period_elapsed
	ldr	x8, [x19, #48]
LBB0_22:
	mov	w9, #8912896
	tst	w21, w9
	b.eq	LBB0_25
; %bb.23:
	ldr	x9, [x8, #56]
	cbz	x9, LBB0_25
; %bb.24:
	ldr	x8, [x8, #48]
	ldr	w0, [x8]
	bl	_snd_pcm_period_elapsed
LBB0_25:
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #0
	mov	x3, x21
	bl	_snd_ca0106_ptr_write
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_32
; %bb.26:
	ldp	w8, w9, [x19, #8]
	orr	w8, w9, w8
	tst	w8, w20
	b.eq	LBB0_32
; %bb.27:
	add	x0, x19, #8
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_30
; %bb.28:
	mov	x1, x20
	b	LBB0_31
LBB0_29:
Lloh4:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_33
LBB0_30:
	ldr	x8, [x19, #24]
	ldp	w9, w10, [x19, #16]
	orr	w1, w10, w9
LBB0_31:
	blr	x8
LBB0_32:
	ldr	x8, [x19]
	ldr	x9, [x22]
	add	x1, x9, x8
	mov	x0, x20
	bl	_outl
Lloh6:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_33:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IPR,8,3                        ; @IPR
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_EXTENDED_INT,4,2               ; @EXTENDED_INT
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_snd_ca0106_interrupt
.subsections_via_symbols
