	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function snd_ac97_pcm_close
LCPI0_0:
	.long	4294967287                      ## 0xfffffff7
	.long	4294967287                      ## 0xfffffff7
	.long	4294967287                      ## 0xfffffff7
	.long	4294967287                      ## 0xfffffff7
LCPI0_1:
	.long	4294967279                      ## 0xffffffef
	.long	4294967279                      ## 0xffffffef
	.long	4294967279                      ## 0xffffffef
	.long	4294967279                      ## 0xffffffef
LCPI0_2:
	.long	4294967263                      ## 0xffffffdf
	.long	4294967263                      ## 0xffffffdf
	.long	4294967263                      ## 0xffffffdf
	.long	4294967263                      ## 0xffffffdf
LCPI0_3:
	.long	4294967231                      ## 0xffffffbf
	.long	4294967231                      ## 0xffffffbf
	.long	4294967231                      ## 0xffffffbf
	.long	4294967231                      ## 0xffffffbf
LCPI0_4:
	.long	4294967167                      ## 0xffffff7f
	.long	4294967167                      ## 0xffffff7f
	.long	4294967167                      ## 0xffffff7f
	.long	4294967167                      ## 0xffffff7f
LCPI0_5:
	.long	4294967039                      ## 0xfffffeff
	.long	4294967039                      ## 0xfffffeff
	.long	4294967039                      ## 0xfffffeff
	.long	4294967039                      ## 0xfffffeff
LCPI0_6:
	.long	4294966783                      ## 0xfffffdff
	.long	4294966783                      ## 0xfffffdff
	.long	4294966783                      ## 0xfffffdff
	.long	4294966783                      ## 0xfffffdff
LCPI0_7:
	.long	4294966271                      ## 0xfffffbff
	.long	4294966271                      ## 0xfffffbff
	.long	4294966271                      ## 0xfffffbff
	.long	4294966271                      ## 0xfffffbff
LCPI0_8:
	.long	4294965247                      ## 0xfffff7ff
	.long	4294965247                      ## 0xfffff7ff
	.long	4294965247                      ## 0xfffff7ff
	.long	4294965247                      ## 0xfffff7ff
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_snd_ac97_pcm_close
	.p2align	4, 0x90
_snd_ac97_pcm_close:                    ## @snd_ac97_pcm_close
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movzwl	(%rdi), %ebx
	movq	16(%rdi), %r14
	leaq	8(%r14), %rdi
	callq	_spin_lock_irq
	testb	$8, %bl
	jne	LBB0_1
## %bb.2:
	testb	$16, %bl
	jne	LBB0_3
LBB0_4:
	testb	$32, %bl
	jne	LBB0_5
LBB0_6:
	testb	$64, %bl
	jne	LBB0_7
LBB0_8:
	testb	$-128, %bl
	jne	LBB0_9
LBB0_10:
	testl	$256, %ebx                      ## imm = 0x100
	jne	LBB0_11
LBB0_12:
	testl	$512, %ebx                      ## imm = 0x200
	jne	LBB0_13
LBB0_14:
	testl	$1024, %ebx                     ## imm = 0x400
	jne	LBB0_15
LBB0_16:
	testl	$2048, %ebx                     ## imm = 0x800
	je	LBB0_18
LBB0_17:
	movq	(%r14), %rax
	movq	8(%r15), %rcx
	movq	(%rax,%rcx,8), %rax
	movups	(%rax), %xmm0
	andps	LCPI0_8(%rip), %xmm0
	movups	%xmm0, (%rax)
LBB0_18:
	movw	$0, (%r15)
	movl	$0, 4(%r15)
	movq	16(%r15), %rdi
	addq	$8, %rdi
	callq	_spin_unlock_irq
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	(%r14), %rax
	movq	8(%r15), %rcx
	movq	(%rax,%rcx,8), %rax
	movups	(%rax), %xmm0
	andps	LCPI0_0(%rip), %xmm0
	movups	%xmm0, (%rax)
	testb	$16, %bl
	je	LBB0_4
LBB0_3:
	movq	(%r14), %rax
	movq	8(%r15), %rcx
	movq	(%rax,%rcx,8), %rax
	movups	(%rax), %xmm0
	andps	LCPI0_1(%rip), %xmm0
	movups	%xmm0, (%rax)
	testb	$32, %bl
	je	LBB0_6
LBB0_5:
	movq	(%r14), %rax
	movq	8(%r15), %rcx
	movq	(%rax,%rcx,8), %rax
	movups	(%rax), %xmm0
	andps	LCPI0_2(%rip), %xmm0
	movups	%xmm0, (%rax)
	testb	$64, %bl
	je	LBB0_8
LBB0_7:
	movq	(%r14), %rax
	movq	8(%r15), %rcx
	movq	(%rax,%rcx,8), %rax
	movups	(%rax), %xmm0
	andps	LCPI0_3(%rip), %xmm0
	movups	%xmm0, (%rax)
	testb	$-128, %bl
	je	LBB0_10
LBB0_9:
	movq	(%r14), %rax
	movq	8(%r15), %rcx
	movq	(%rax,%rcx,8), %rax
	movups	(%rax), %xmm0
	andps	LCPI0_4(%rip), %xmm0
	movups	%xmm0, (%rax)
	testl	$256, %ebx                      ## imm = 0x100
	je	LBB0_12
LBB0_11:
	movq	(%r14), %rax
	movq	8(%r15), %rcx
	movq	(%rax,%rcx,8), %rax
	movups	(%rax), %xmm0
	andps	LCPI0_5(%rip), %xmm0
	movups	%xmm0, (%rax)
	testl	$512, %ebx                      ## imm = 0x200
	je	LBB0_14
LBB0_13:
	movq	(%r14), %rax
	movq	8(%r15), %rcx
	movq	(%rax,%rcx,8), %rax
	movups	(%rax), %xmm0
	andps	LCPI0_6(%rip), %xmm0
	movups	%xmm0, (%rax)
	testl	$1024, %ebx                     ## imm = 0x400
	je	LBB0_16
LBB0_15:
	movq	(%r14), %rax
	movq	8(%r15), %rcx
	movq	(%rax,%rcx,8), %rax
	movups	(%rax), %xmm0
	andps	LCPI0_7(%rip), %xmm0
	movups	%xmm0, (%rax)
	testl	$2048, %ebx                     ## imm = 0x800
	jne	LBB0_17
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_ac97_pcm_close             ; -- Begin function snd_ac97_pcm_close
	.p2align	2
_snd_ac97_pcm_close:                    ; @snd_ac97_pcm_close
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldrh	w21, [x0]
	ldr	x20, [x0, #16]
	add	x0, x20, #8
	bl	_spin_lock_irq
	tbnz	w21, #3, LBB0_11
; %bb.1:
	tbnz	w21, #4, LBB0_12
LBB0_2:
	tbnz	w21, #5, LBB0_13
LBB0_3:
	tbnz	w21, #6, LBB0_14
LBB0_4:
	tbnz	w21, #7, LBB0_15
LBB0_5:
	tbnz	w21, #8, LBB0_16
LBB0_6:
	tbnz	w21, #9, LBB0_17
LBB0_7:
	tbnz	w21, #10, LBB0_18
LBB0_8:
	tbz	w21, #11, LBB0_10
LBB0_9:
	ldr	x8, [x20]
	ldr	x9, [x19, #8]
	ldr	x8, [x8, x9, lsl #3]
	ldr	q0, [x8]
	bic.4s	v0, #8, lsl #8
	str	q0, [x8]
LBB0_10:
	strh	wzr, [x19]
	str	wzr, [x19, #4]
	ldr	x8, [x19, #16]
	add	x0, x8, #8
	bl	_spin_unlock_irq
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldr	x8, [x20]
	ldr	x9, [x19, #8]
	ldr	x8, [x8, x9, lsl #3]
	ldr	q0, [x8]
	bic.4s	v0, #8
	str	q0, [x8]
	tbz	w21, #4, LBB0_2
LBB0_12:
	ldr	x8, [x20]
	ldr	x9, [x19, #8]
	ldr	x8, [x8, x9, lsl #3]
	ldr	q0, [x8]
	bic.4s	v0, #16
	str	q0, [x8]
	tbz	w21, #5, LBB0_3
LBB0_13:
	ldr	x8, [x20]
	ldr	x9, [x19, #8]
	ldr	x8, [x8, x9, lsl #3]
	ldr	q0, [x8]
	bic.4s	v0, #32
	str	q0, [x8]
	tbz	w21, #6, LBB0_4
LBB0_14:
	ldr	x8, [x20]
	ldr	x9, [x19, #8]
	ldr	x8, [x8, x9, lsl #3]
	ldr	q0, [x8]
	bic.4s	v0, #64
	str	q0, [x8]
	tbz	w21, #7, LBB0_5
LBB0_15:
	ldr	x8, [x20]
	ldr	x9, [x19, #8]
	ldr	x8, [x8, x9, lsl #3]
	ldr	q0, [x8]
	bic.4s	v0, #128
	str	q0, [x8]
	tbz	w21, #8, LBB0_6
LBB0_16:
	ldr	x8, [x20]
	ldr	x9, [x19, #8]
	ldr	x8, [x8, x9, lsl #3]
	ldr	q0, [x8]
	bic.4s	v0, #1, lsl #8
	str	q0, [x8]
	tbz	w21, #9, LBB0_7
LBB0_17:
	ldr	x8, [x20]
	ldr	x9, [x19, #8]
	ldr	x8, [x8, x9, lsl #3]
	ldr	q0, [x8]
	bic.4s	v0, #2, lsl #8
	str	q0, [x8]
	tbz	w21, #10, LBB0_8
LBB0_18:
	ldr	x8, [x20]
	ldr	x9, [x19, #8]
	ldr	x8, [x8, x9, lsl #3]
	ldr	q0, [x8]
	bic.4s	v0, #4, lsl #8
	str	q0, [x8]
	tbnz	w21, #11, LBB0_9
	b	LBB0_10
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
