	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function saa7134_alsa_irq
_saa7134_alsa_irq:                      ## @saa7134_alsa_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), %r14
	movq	_SAA7134_IRQ_REPORT@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_saa_readl
	movq	%rax, %r15
	movq	_SAA7134_IRQ_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_saa_readl
	movq	%rax, %rbx
	movq	_SAA7134_IRQ_REPORT_DONE_RA3@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%r15, %rsi
	je	LBB0_1
## %bb.3:
	movl	$10, %r13d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_saa_writel
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_saa7134_irq_alsa_done
	decl	%r13d
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r12), %edi
	callq	_saa_readl
	movq	%rax, %r15
	movq	_SAA7134_IRQ_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_saa_readl
	movq	%rax, %rbx
	movq	_SAA7134_IRQ_REPORT_DONE_RA3@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%r15, %rsi
	jne	LBB0_4
	jmp	LBB0_6
LBB0_1:
	xorl	%edi, %edi
	jmp	LBB0_7
LBB0_5:
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
LBB0_6:
	movl	$1, %edi
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IRQ_RETVAL                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SAA7134_IRQ_REPORT,4,2         ## @SAA7134_IRQ_REPORT
	.comm	_SAA7134_IRQ_STATUS,4,2         ## @SAA7134_IRQ_STATUS
	.comm	_SAA7134_IRQ_REPORT_DONE_RA3,8,3 ## @SAA7134_IRQ_REPORT_DONE_RA3
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error! looping IRQ!"

	.no_dead_strip	_saa7134_alsa_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function saa7134_alsa_irq
_saa7134_alsa_irq:                      ; @saa7134_alsa_irq
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x19, [x1]
Lloh0:
	adrp	x22, _SAA7134_IRQ_REPORT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SAA7134_IRQ_REPORT@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_saa_readl
	mov	x21, x0
Lloh2:
	adrp	x23, _SAA7134_IRQ_STATUS@GOTPAGE
Lloh3:
	ldr	x23, [x23, _SAA7134_IRQ_STATUS@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_saa_readl
Lloh4:
	adrp	x24, _SAA7134_IRQ_REPORT_DONE_RA3@GOTPAGE
Lloh5:
	ldr	x24, [x24, _SAA7134_IRQ_REPORT_DONE_RA3@GOTPAGEOFF]
	ldr	x1, [x24]
	tst	x1, x21
	b.eq	LBB0_4
; %bb.1:
	mov	x20, x0
	mov	w25, #10
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	bl	_saa_writel
	mov	x0, x19
	mov	x1, x20
	bl	_saa7134_irq_alsa_done
	subs	w25, w25, #1
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x22]
	bl	_saa_readl
	mov	x21, x0
	ldr	w0, [x23]
	bl	_saa_readl
	mov	x20, x0
	ldr	x1, [x24]
	tst	x1, x21
	b.ne	LBB0_2
	b	LBB0_6
LBB0_4:
	mov	w0, #0
	b	LBB0_7
LBB0_5:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
LBB0_6:
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_IRQ_RETVAL
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SAA7134_IRQ_REPORT,4,2         ; @SAA7134_IRQ_REPORT
	.comm	_SAA7134_IRQ_STATUS,4,2         ; @SAA7134_IRQ_STATUS
	.comm	_SAA7134_IRQ_REPORT_DONE_RA3,8,3 ; @SAA7134_IRQ_REPORT_DONE_RA3
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error! looping IRQ!"

	.no_dead_strip	_saa7134_alsa_irq
.subsections_via_symbols
