	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcm_shutdown
_pcm_shutdown:                          ## @pcm_shutdown
	.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	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_DBGEV
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	cmpq	$0, (%rbx)
	je	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	callq	_DBGPV
	movq	_READ_INTR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_pcm_shutdown_port
LBB0_3:
	testq	%r15, %r15
	je	LBB0_6
## %bb.4:
	cmpq	$0, (%r15)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	callq	_DBGPV
	movq	_WRITE_INTR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_pcm_shutdown_port
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DBGRV                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(devc=0x%p, rport=0x%p, wport=0x%p)\n"

L_.str.1:                               ## @.str.1
	.asciz	"shutting down rport\n"

	.comm	_READ_INTR_MASK,4,2             ## @READ_INTR_MASK
L_.str.2:                               ## @.str.2
	.asciz	"shutting down wport\n"

	.comm	_WRITE_INTR_MASK,4,2            ## @WRITE_INTR_MASK
	.no_dead_strip	_pcm_shutdown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcm_shutdown
_pcm_shutdown:                          ; @pcm_shutdown
	.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, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x21
	mov	x3, x19
	bl	_DBGEV
	cbz	x21, LBB0_3
; %bb.1:
	ldr	x8, [x21]
	cbz	x8, LBB0_3
; %bb.2:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DBGPV
Lloh4:
	adrp	x8, _READ_INTR_MASK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _READ_INTR_MASK@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_pcm_shutdown_port
LBB0_3:
	cbz	x19, LBB0_6
; %bb.4:
	ldr	x8, [x19]
	cbz	x8, LBB0_6
; %bb.5:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DBGPV
Lloh9:
	adrp	x8, _WRITE_INTR_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WRITE_INTR_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_pcm_shutdown_port
LBB0_6:
	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
	b	_DBGRV
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(devc=0x%p, rport=0x%p, wport=0x%p)\n"

l_.str.1:                               ; @.str.1
	.asciz	"shutting down rport\n"

	.comm	_READ_INTR_MASK,4,2             ; @READ_INTR_MASK
l_.str.2:                               ; @.str.2
	.asciz	"shutting down wport\n"

	.comm	_WRITE_INTR_MASK,4,2            ; @WRITE_INTR_MASK
	.no_dead_strip	_pcm_shutdown
.subsections_via_symbols
