	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcm_hw_free
_pcm_hw_free:                           ## @pcm_hw_free
	.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, %r14
	callq	_snd_pcm_substream_chip
	movq	%rax, %r15
	movq	(%r14), %rax
	movq	(%rax), %rbx
	movq	%r15, %rdi
	callq	_spin_lock_irq
	movq	(%rbx), %rdi
	callq	_DE_HWP
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_free_pipes
	movq	8(%r15), %rax
	movq	(%rbx), %rcx
	movq	$0, (%rax,%rcx,8)
	movq	$-1, (%rbx)
	movq	%r15, %rdi
	callq	_spin_unlock_irq
	leaq	L_.str.1(%rip), %rdi
	callq	_DE_HWP
	movq	%r14, %rdi
	callq	_snd_pcm_lib_free_pages
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"pcm_hw_freed\n"

	.no_dead_strip	_pcm_hw_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcm_hw_free
_pcm_hw_free:                           ; @pcm_hw_free
	.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
	bl	_snd_pcm_substream_chip
	mov	x20, x0
	ldr	x8, [x19]
	ldr	x21, [x8]
	bl	_spin_lock_irq
	ldr	x0, [x21]
	bl	_DE_HWP
	mov	x0, x20
	mov	x1, x21
	bl	_free_pipes
	ldr	x8, [x20, #8]
	ldr	x9, [x21]
	str	xzr, [x8, x9, lsl #3]
	mov	x8, #-1
	str	x8, [x21]
	mov	x0, x20
	bl	_spin_unlock_irq
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DE_HWP
	mov	x0, x19
	bl	_snd_pcm_lib_free_pages
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"pcm_hw_freed\n"

	.no_dead_strip	_pcm_hw_free
.subsections_via_symbols
