	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ov_clear                       ## -- Begin function ov_clear
	.p2align	4, 0x90
_ov_clear:                              ## @ov_clear
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.1:
	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	%rdi, %r14
	addq	$88, %rdi
	callq	_vorbis_block_clear
	leaq	84(%r14), %rdi
	callq	_vorbis_dsp_clear
	movl	80(%r14), %edi
	callq	_ogg_stream_destroy
	movq	72(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.2:
	cmpl	$0, (%r14)
	je	LBB0_7
## %bb.3:
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	addq	%rbx, %rdi
	callq	_vorbis_info_clear
	movq	64(%r14), %rdi
	addq	%rbx, %rdi
	callq	_vorbis_comment_clear
	incq	%rbx
	movslq	(%r14), %rax
	movq	72(%r14), %rdi
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	callq	__ogg_free
	movq	64(%r14), %rdi
	callq	__ogg_free
LBB0_7:
	movq	56(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	callq	__ogg_free
LBB0_9:
	movq	48(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	callq	__ogg_free
LBB0_11:
	movq	40(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.12:
	callq	__ogg_free
LBB0_13:
	movq	32(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:
	callq	__ogg_free
LBB0_15:
	movl	24(%r14), %edi
	callq	_ogg_sync_destroy
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.16:
	callq	*16(%r14)
LBB0_17:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$96, %edx
	callq	_memset
	popq	%rbx
	popq	%r14
	popq	%rbp
LBB0_18:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ov_clear                       ; -- Begin function ov_clear
	.p2align	2
_ov_clear:                              ; @ov_clear
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_18
; %bb.1:
	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
	mov	x19, x0
	add	x0, x0, #88
	bl	_vorbis_block_clear
	add	x0, x19, #84
	bl	_vorbis_dsp_clear
	ldr	w0, [x19, #80]
	bl	_ogg_stream_destroy
	ldr	x0, [x19, #72]
	cbz	x0, LBB0_7
; %bb.2:
	ldr	w8, [x19]
	cbz	w8, LBB0_7
; %bb.3:
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x20, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x0, x20
	bl	_vorbis_info_clear
	ldr	x8, [x19, #64]
	add	x0, x20, x8
	bl	_vorbis_comment_clear
	add	x20, x20, #1
	ldrsw	x8, [x19]
	ldr	x0, [x19, #72]
	cmp	x20, x8
	b.lt	LBB0_5
LBB0_6:
	bl	__ogg_free
	ldr	x0, [x19, #64]
	bl	__ogg_free
LBB0_7:
	ldr	x0, [x19, #56]
	cbz	x0, LBB0_9
; %bb.8:
	bl	__ogg_free
LBB0_9:
	ldr	x0, [x19, #48]
	cbz	x0, LBB0_11
; %bb.10:
	bl	__ogg_free
LBB0_11:
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_13
; %bb.12:
	bl	__ogg_free
LBB0_13:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_15
; %bb.14:
	bl	__ogg_free
LBB0_15:
	ldr	w0, [x19, #24]
	bl	_ogg_sync_destroy
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_17
; %bb.16:
	ldr	x8, [x19, #16]
	blr	x8
LBB0_17:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #96
	bl	_memset
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
LBB0_18:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
