	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SNDWavDeInit
_SNDWavDeInit:                          ## @SNDWavDeInit
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_wavefp@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_ftell
	movq	%rax, %rbx
	movq	$0, -48(%rbp)
	movq	(%r15), %rdi
	movq	_SEEK_SET@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movl	$-4, %esi
	callq	_fseek
	addq	$-4, %rbx
	movq	%rbx, -40(%rbp)
	movq	(%r15), %r8
	leaq	-48(%rbp), %rbx
	leaq	-40(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	movl	$4, %ecx
	callq	_ywrite
	movq	(%r15), %rdi
	movl	(%r12), %edx
	movl	$12, %esi
	callq	_fseek
	addq	$-8, -40(%rbp)
	movq	(%r15), %r8
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	movl	$4, %ecx
	callq	_ywrite
	movq	(%r15), %rdi
	callq	_fclose
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wavefp,8,3                     ## @wavefp
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.no_dead_strip	_SNDWavDeInit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SNDWavDeInit
_SNDWavDeInit:                          ; @SNDWavDeInit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x20, _wavefp@GOTPAGE
Lloh1:
	ldr	x20, [x20, _wavefp@GOTPAGEOFF]
	ldr	x0, [x20]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_ftell
	mov	x19, x0
	str	xzr, [sp]
	ldr	x0, [x20]
Lloh2:
	adrp	x21, _SEEK_SET@GOTPAGE
Lloh3:
	ldr	x21, [x21, _SEEK_SET@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	w1, #-4
	bl	_fseek
	sub	x8, x19, #4
	str	x8, [sp, #8]
	ldr	x4, [x20]
	mov	x0, sp
	add	x1, sp, #8
	mov	w2, #1
	mov	w3, #4
	bl	_ywrite
	ldr	x0, [x20]
	ldr	w2, [x21]
	mov	w1, #12
	bl	_fseek
	ldr	x8, [sp, #8]
	sub	x8, x8, #8
	str	x8, [sp, #8]
	ldr	x4, [x20]
	mov	x0, sp
	add	x1, sp, #8
	mov	w2, #1
	mov	w3, #4
	bl	_ywrite
	ldr	x0, [x20]
	bl	_fclose
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_wavefp,8,3                     ; @wavefp
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.no_dead_strip	_SNDWavDeInit
.subsections_via_symbols
