	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_emu10k1_fx8010_unregister_irq_handler ## -- Begin function snd_emu10k1_fx8010_unregister_irq_handler
	.p2align	4, 0x90
_snd_emu10k1_fx8010_unregister_irq_handler: ## @snd_emu10k1_fx8010_unregister_irq_handler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_spin_lock_irqsave
	movq	8(%r14), %rcx
	cmpq	%rbx, %rcx
	je	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rcx, %rax
	movq	(%rcx), %rcx
	cmpq	%rbx, %rcx
	jne	LBB0_3
## %bb.5:
	movq	(%rbx), %rcx
	movq	%rcx, (%rax)
	jmp	LBB0_6
LBB0_1:
	movq	(%rbx), %rax
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	movq	_INTE_FXDSPENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_snd_emu10k1_intr_disable
	movq	$0, 16(%r14)
LBB0_6:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	callq	_kfree
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTE_FXDSPENABLE,4,2           ## @INTE_FXDSPENABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_emu10k1_fx8010_unregister_irq_handler ; -- Begin function snd_emu10k1_fx8010_unregister_irq_handler
	.p2align	2
_snd_emu10k1_fx8010_unregister_irq_handler: ; @snd_emu10k1_fx8010_unregister_irq_handler
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	bl	_spin_lock_irqsave
	ldr	x8, [x20, #8]
	cmp	x8, x19
	b.eq	LBB0_4
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x8, LBB0_6
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x9, x8
	ldr	x8, [x8]
	cmp	x8, x19
	b.ne	LBB0_1
; %bb.3:
	ldr	x8, [x19]
	str	x8, [x9]
	b	LBB0_6
LBB0_4:
	ldr	x8, [x19]
	str	x8, [x20, #8]
	cbnz	x8, LBB0_6
; %bb.5:
Lloh0:
	adrp	x8, _INTE_FXDSPENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTE_FXDSPENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_snd_emu10k1_intr_disable
	str	xzr, [x20, #16]
LBB0_6:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	bl	_kfree
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INTE_FXDSPENABLE,4,2           ; @INTE_FXDSPENABLE
.subsections_via_symbols
