	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ca0132_playback_pcm_cleanup
_ca0132_playback_pcm_cleanup:           ## @ca0132_playback_pcm_cleanup
	.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	(%rbx), %rax
	movq	_DSP_DOWNLOADING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.1:
	movq	%rsi, %r14
	movq	16(%rbx), %rax
	movq	_PLAY_ENHANCEMENT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_EFFECT_START_NID@GOTPCREL(%rip), %rdx
	subq	(%rdx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_3
## %bb.2:
	movl	$50, %edi
	callq	_msleep
LBB0_3:
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ca0132_cleanup_stream
LBB0_4:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DSP_DOWNLOADING,8,3            ## @DSP_DOWNLOADING
	.comm	_PLAY_ENHANCEMENT,8,3           ## @PLAY_ENHANCEMENT
	.comm	_EFFECT_START_NID,8,3           ## @EFFECT_START_NID
	.no_dead_strip	_ca0132_playback_pcm_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ca0132_playback_pcm_cleanup
_ca0132_playback_pcm_cleanup:           ; @ca0132_playback_pcm_cleanup
	.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
	ldr	x20, [x1]
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _DSP_DOWNLOADING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DSP_DOWNLOADING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.1:
	mov	x19, x1
	ldr	x8, [x20, #16]
Lloh3:
	adrp	x9, _PLAY_ENHANCEMENT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PLAY_ENHANCEMENT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _EFFECT_START_NID@GOTPAGE
Lloh7:
	ldr	x10, [x10, _EFFECT_START_NID@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	sub	x9, x9, x10
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_3
; %bb.2:
	mov	w0, #50
	bl	_msleep
LBB0_3:
	ldr	x8, [x20, #8]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ca0132_cleanup_stream
LBB0_4:
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DSP_DOWNLOADING,8,3            ; @DSP_DOWNLOADING
	.comm	_PLAY_ENHANCEMENT,8,3           ; @PLAY_ENHANCEMENT
	.comm	_EFFECT_START_NID,8,3           ; @EFFECT_START_NID
	.no_dead_strip	_ca0132_playback_pcm_cleanup
.subsections_via_symbols
