	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PsndClear                      ## -- Begin function PsndClear
	.p2align	4, 0x90
_PsndClear:                             ## @PsndClear
	.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	_PsndLen@GOTPCREL(%rip), %rax
	movq	_PsndLen_exc_add@GOTPCREL(%rip), %rcx
	cmpq	$1, (%rcx)
	movl	(%rax), %ebx
	sbbl	$-1, %ebx
	movq	_PicoOpt@GOTPCREL(%rip), %rax
	movq	_POPT_EN_STEREO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.6:
	movq	_PsndOut@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_memset32                       ## TAILCALL
LBB0_1:
	movq	_PsndOut@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	testb	$2, %r14b
	je	LBB0_3
## %bb.2:
	movw	$0, (%r14)
	addq	$2, %r14
	decl	%ebx
LBB0_3:
	movl	%ebx, %edx
	shrl	$31, %edx
	addl	%ebx, %edx
	sarl	%edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_memset32
	testb	$1, %bl
	je	LBB0_5
## %bb.4:
	movslq	%ebx, %rax
	movw	$0, -2(%r14,%rax,2)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PsndLen,4,2                    ## @PsndLen
	.comm	_PsndLen_exc_add,8,3            ## @PsndLen_exc_add
	.comm	_PicoOpt,4,2                    ## @PicoOpt
	.comm	_POPT_EN_STEREO,4,2             ## @POPT_EN_STEREO
	.comm	_PsndOut,8,3                    ## @PsndOut
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PsndClear                      ; -- Begin function PsndClear
	.p2align	2
_PsndClear:                             ; @PsndClear
	.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
Lloh0:
	adrp	x8, _PsndLen@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PsndLen@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PsndLen_exc_add@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PsndLen_exc_add@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, #0
Lloh6:
	adrp	x9, _PicoOpt@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PicoOpt@GOTPAGEOFF]
	cinc	w19, w8, ne
Lloh8:
	ldr	w8, [x9]
Lloh9:
	adrp	x9, _POPT_EN_STEREO@GOTPAGE
Lloh10:
	ldr	x9, [x9, _POPT_EN_STEREO@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _PsndOut@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PsndOut@GOTPAGEOFF]
Lloh14:
	ldr	x0, [x8]
	mov	w1, #0
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_memset32
LBB0_2:
Lloh15:
	adrp	x8, _PsndOut@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PsndOut@GOTPAGEOFF]
Lloh17:
	ldr	x20, [x8]
	tbz	w20, #1, LBB0_4
; %bb.3:
	strh	wzr, [x20], #2
	sub	w19, w19, #1
LBB0_4:
	cmp	w19, #0
	cinc	w8, w19, lt
	asr	w2, w8, #1
	mov	x0, x20
	mov	w1, #0
	bl	_memset32
	tbz	w19, #0, LBB0_6
; %bb.5:
	sub	w8, w19, #1
	strh	wzr, [x20, w8, sxtw #1]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_PsndLen,4,2                    ; @PsndLen
	.comm	_PsndLen_exc_add,8,3            ; @PsndLen_exc_add
	.comm	_PicoOpt,4,2                    ; @PicoOpt
	.comm	_POPT_EN_STEREO,4,2             ; @POPT_EN_STEREO
	.comm	_PsndOut,8,3                    ; @PsndOut
.subsections_via_symbols
