	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FLAC__stream_decoder_delete    ## -- Begin function FLAC__stream_decoder_delete
	.p2align	4, 0x90
_FLAC__stream_decoder_delete:           ## @FLAC__stream_decoder_delete
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	xorl	%edi, %edi
	cmpq	$0, 16(%r15)
	setne	%dil
	callq	_FLAC__ASSERT
	xorl	%edi, %edi
	cmpq	$0, 24(%r15)
	setne	%dil
	callq	_FLAC__ASSERT
	movq	24(%r15), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	setne	%dil
	callq	_FLAC__ASSERT
	movq	%r15, %rdi
	callq	_FLAC__stream_decoder_finish
	movq	24(%r15), %rax
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_free
	movq	24(%r15), %rax
LBB0_3:
	movq	(%rax), %rdi
	callq	_FLAC__bitreader_delete
	movq	_FLAC__MAX_CHANNELS@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	je	LBB0_6
## %bb.4:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rax
	movq	32(%rax), %rdi
	addq	%r12, %rdi
	callq	_FLAC__format_entropy_coding_method_partitioned_rice_contents_clear
	incq	%rbx
	movl	(%r14), %eax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jb	LBB0_5
LBB0_6:
	movq	24(%r15), %rdi
	callq	_free
	movq	16(%r15), %rdi
	callq	_free
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_7:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAC__MAX_CHANNELS,4,2         ## @FLAC__MAX_CHANNELS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FLAC__stream_decoder_delete    ; -- Begin function FLAC__stream_decoder_delete
	.p2align	2
_FLAC__stream_decoder_delete:           ; @FLAC__stream_decoder_delete
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_7
; %bb.1:
	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, x0
	ldr	x8, [x0, #16]
	cmp	x8, #0
	cset	w0, ne
	bl	_FLAC__ASSERT
	ldr	x8, [x19, #24]
	cmp	x8, #0
	cset	w0, ne
	bl	_FLAC__ASSERT
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, ne
	bl	_FLAC__ASSERT
	mov	x0, x19
	bl	_FLAC__stream_decoder_finish
	ldr	x8, [x19, #24]
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_free
	ldr	x8, [x19, #24]
LBB0_3:
	ldr	x0, [x8]
	bl	_FLAC__bitreader_delete
Lloh0:
	adrp	x20, _FLAC__MAX_CHANNELS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _FLAC__MAX_CHANNELS@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_6
; %bb.4:
	mov	x21, #0
	mov	x22, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	x8, [x8, #32]
	add	x0, x8, x21
	bl	_FLAC__format_entropy_coding_method_partitioned_rice_contents_clear
	add	x22, x22, #1
	ldr	w8, [x20]
	add	x21, x21, #4
	cmp	x22, x8
	b.lo	LBB0_5
LBB0_6:
	ldr	x0, [x19, #24]
	bl	_free
	ldr	x0, [x19, #16]
	bl	_free
	mov	x0, x19
	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	_free
LBB0_7:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAC__MAX_CHANNELS,4,2         ; @FLAC__MAX_CHANNELS
.subsections_via_symbols
