	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pas_audio_close
_pas_audio_close:                       ## @pas_audio_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_printk
	movl	%eax, %edi
	callq	_DEB
	movq	_pas_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	%ebx, %edi
	callq	_pas_audio_reset
	movq	_PAS_PCM_INTRBITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pas_remove_intr
	movq	_PCM_NON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_pcm_mode@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_pcm_busy@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pas2_pcm.c: static void pas_audio_close(void)\n"

	.comm	_pas_lock,4,2                   ## @pas_lock
	.comm	_PAS_PCM_INTRBITS,4,2           ## @PAS_PCM_INTRBITS
	.comm	_PCM_NON,4,2                    ## @PCM_NON
	.comm	_pcm_mode,4,2                   ## @pcm_mode
	.comm	_pcm_busy,8,3                   ## @pcm_busy
	.no_dead_strip	_pas_audio_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pas_audio_close
_pas_audio_close:                       ; @pas_audio_close
	.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, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
	bl	_DEB
Lloh2:
	adrp	x20, _pas_lock@GOTPAGE
Lloh3:
	ldr	x20, [x20, _pas_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_pas_audio_reset
Lloh4:
	adrp	x8, _PAS_PCM_INTRBITS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PAS_PCM_INTRBITS@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_pas_remove_intr
Lloh7:
	adrp	x8, _PCM_NON@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PCM_NON@GOTPAGEOFF]
Lloh9:
	adrp	x9, _pcm_mode@GOTPAGE
Lloh10:
	ldr	x9, [x9, _pcm_mode@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	str	w8, [x9]
Lloh13:
	adrp	x8, _pcm_busy@GOTPAGE
Lloh14:
	ldr	x8, [x8, _pcm_busy@GOTPAGEOFF]
Lloh15:
	str	xzr, [x8]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh11
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pas2_pcm.c: static void pas_audio_close(void)\n"

	.comm	_pas_lock,4,2                   ; @pas_lock
	.comm	_PAS_PCM_INTRBITS,4,2           ; @PAS_PCM_INTRBITS
	.comm	_PCM_NON,4,2                    ; @PCM_NON
	.comm	_pcm_mode,4,2                   ; @pcm_mode
	.comm	_pcm_busy,8,3                   ; @pcm_busy
	.no_dead_strip	_pas_audio_close
.subsections_via_symbols
