	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_intel8x0_interrupt
_snd_intel8x0_interrupt:                ## @snd_intel8x0_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, %r13
	leaq	8(%rsi), %r14
	movq	%r14, %rdi
	callq	_spin_lock
	movl	12(%r13), %esi
	movq	%r13, %rdi
	callq	_igetdword
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %r15d
	movl	(%r13), %ecx
	andl	%eax, %ecx
	je	LBB0_5
## %bb.3:
	movl	4(%r13), %eax
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rbx
	testl	%eax, %eax
	je	LBB0_4
## %bb.6:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%r12
	movl	%eax, %ecx
	addq	$4, %rbx
	cmpq	%rcx, %r12
	jae	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rsi
	testl	%r15d, (%rsi,%rbx)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	addq	%rbx, %rsi
	movq	%r13, %rdi
	callq	_snd_intel8x0_update
	movl	4(%r13), %eax
	jmp	LBB0_9
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rbx
	jmp	LBB0_12
LBB0_10:
	movl	(%r13), %eax
	andl	%eax, %r15d
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rbx
	jmp	LBB0_11
LBB0_5:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rbx
	testl	%r15d, %r15d
	jne	LBB0_11
	jmp	LBB0_12
LBB0_4:
	movl	%ecx, %r15d
LBB0_11:
	movl	12(%r13), %esi
	movq	%r13, %rdi
	movl	%r15d, %edx
	callq	_iputdword
LBB0_12:
	movq	%r14, %rdi
	callq	_spin_unlock
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_snd_intel8x0_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_intel8x0_interrupt
_snd_intel8x0_interrupt:                ; @snd_intel8x0_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	x20, x1
	add	x19, x1, #8
	mov	x0, x19
	bl	_spin_lock
	ldr	w1, [x20, #12]
	mov	x0, x20
	bl	_igetdword
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.1:
	mov	x21, x0
	ldr	w8, [x20]
	ands	w9, w8, w0
	b.eq	LBB0_9
; %bb.2:
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_10
; %bb.3:
	mov	x22, #0
	mov	x23, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	add	x22, x22, #4
	cmp	x23, w8, uxtw
	b.hs	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #16]
	add	x1, x9, x22
	ldr	w9, [x1]
	tst	w9, w21
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_snd_intel8x0_update
	ldr	w8, [x20, #4]
	b	LBB0_4
LBB0_7:
Lloh0:
	adrp	x22, _IRQ_NONE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_12
LBB0_8:
	ldr	w8, [x20]
	and	w21, w8, w21
Lloh2:
	adrp	x22, _IRQ_HANDLED@GOTPAGE
Lloh3:
	ldr	x22, [x22, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
Lloh4:
	adrp	x22, _IRQ_NONE@GOTPAGE
Lloh5:
	ldr	x22, [x22, _IRQ_NONE@GOTPAGEOFF]
	cbnz	w21, LBB0_11
	b	LBB0_12
LBB0_10:
Lloh6:
	adrp	x22, _IRQ_HANDLED@GOTPAGE
Lloh7:
	ldr	x22, [x22, _IRQ_HANDLED@GOTPAGEOFF]
	mov	x21, x9
LBB0_11:
	ldr	w1, [x20, #12]
	mov	x0, x20
	mov	x2, x21
	bl	_iputdword
LBB0_12:
	mov	x0, x19
	bl	_spin_unlock
	ldr	w0, [x22]
	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	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_snd_intel8x0_interrupt
.subsections_via_symbols
