	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx25821_irq
_cx25821_irq:                           ## @cx25821_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	%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, %r12
	movq	_AUD_A_INT_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cx_read
	movq	%rax, %r15
	movq	_AUD_A_INT_MSK@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_cx_read
	movq	%rax, %rbx
	movq	_PCI_INT_STAT@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_cx_read
	movl	(%r13), %edi
	callq	_cx_read
	movl	(%r13), %edi
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%rax, %rsi
	callq	_cx_write
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	jmp	LBB0_5
LBB0_1:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	callq	_cx_read
	movq	%rax, %rbx
	movq	_AUD_A_INT_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cx_read
	movq	%rax, %r15
	movl	(%r14), %edi
	callq	_cx_read
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.3:
	movq	%rax, %r12
	movl	(%r13), %edi
	movq	%rbx, %rsi
	callq	_cx_write
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r12, %rdx
LBB0_5:
	callq	_cx25821_aud_irq
	movl	(%r13), %edi
	callq	_cx_read
	movl	(%r13), %edi
	movq	%rax, %rsi
	callq	_cx_write
	movl	$1, %edi
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IRQ_RETVAL                     ## TAILCALL
LBB0_2:
	xorl	%edi, %edi
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_AUD_A_INT_STAT,4,2             ## @AUD_A_INT_STAT
	.comm	_AUD_A_INT_MSK,4,2              ## @AUD_A_INT_MSK
	.comm	_PCI_INT_STAT,4,2               ## @PCI_INT_STAT
	.no_dead_strip	_cx25821_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx25821_irq
_cx25821_irq:                           ; @cx25821_irq
	.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
Lloh0:
	adrp	x22, _AUD_A_INT_STAT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AUD_A_INT_STAT@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_cx_read
	mov	x20, x0
Lloh2:
	adrp	x24, _AUD_A_INT_MSK@GOTPAGE
Lloh3:
	ldr	x24, [x24, _AUD_A_INT_MSK@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_cx_read
	mov	x21, x0
Lloh4:
	adrp	x23, _PCI_INT_STAT@GOTPAGE
Lloh5:
	ldr	x23, [x23, _PCI_INT_STAT@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_cx_read
	ldr	w0, [x23]
	bl	_cx_read
	mov	x1, x0
	ldr	w0, [x23]
	cbz	x1, LBB0_2
; %bb.1:
	bl	_cx_write
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	b	LBB0_4
LBB0_2:
	bl	_cx_read
	mov	x20, x0
	ldr	w0, [x22]
	bl	_cx_read
	mov	x21, x0
	ldr	w0, [x24]
	bl	_cx_read
	cbz	x20, LBB0_6
; %bb.3:
	mov	x22, x0
	ldr	w0, [x23]
	mov	x1, x20
	bl	_cx_write
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
LBB0_4:
	bl	_cx25821_aud_irq
	ldr	w0, [x23]
	bl	_cx_read
	mov	x1, x0
	ldr	w0, [x23]
	bl	_cx_write
	mov	w0, #1
LBB0_5:
	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
	b	_IRQ_RETVAL
LBB0_6:
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AUD_A_INT_STAT,4,2             ; @AUD_A_INT_STAT
	.comm	_AUD_A_INT_MSK,4,2              ; @AUD_A_INT_MSK
	.comm	_PCI_INT_STAT,4,2               ; @PCI_INT_STAT
	.no_dead_strip	_cx25821_irq
.subsections_via_symbols
