	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function FLAC__stream_decoder_reset
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_FLAC__stream_decoder_reset
	.p2align	4, 0x90
_FLAC__stream_decoder_reset:            ## @FLAC__stream_decoder_reset
	.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	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_FLAC__ASSERT
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	setne	%dil
	callq	_FLAC__ASSERT
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	setne	%dil
	callq	_FLAC__ASSERT
	movq	%rbx, %rdi
	callq	_FLAC__stream_decoder_flush
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	movq	(%rbx), %rax
	cmpl	$0, (%rax)
	je	LBB0_2
## %bb.6:
	movl	$0, (%rax)
LBB0_7:
	movq	_FLAC__STREAM_DECODER_SEARCH_FOR_METADATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	8(%rbx), %rdx
	movl	%ecx, 4(%rdx)
	movl	$0, 24(%rax)
	movq	80(%rax), %rdi
	callq	_free
	movq	(%rbx), %rdi
	movq	$0, 80(%rdi)
	movl	$0, 28(%rdi)
	movq	8(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rdi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%rdi)
	addq	$48, %rdi
	callq	_FLAC__MD5Init
	movq	(%rbx), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rax)
	movl	$1, %r14d
LBB0_8:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	8(%rax), %rcx
	movq	_stdin@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_8
## %bb.3:
	movq	16(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.4:
	movl	88(%rax), %edx
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	*%rcx
	movq	_FLAC__STREAM_DECODER_SEEK_STATUS_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.5:
	movq	(%rbx), %rax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_stdin,8,3                      ## @stdin
	.comm	_FLAC__STREAM_DECODER_SEEK_STATUS_ERROR,8,3 ## @FLAC__STREAM_DECODER_SEEK_STATUS_ERROR
	.comm	_FLAC__STREAM_DECODER_SEARCH_FOR_METADATA,4,2 ## @FLAC__STREAM_DECODER_SEARCH_FOR_METADATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FLAC__stream_decoder_reset     ; -- Begin function FLAC__stream_decoder_reset
	.p2align	2
_FLAC__stream_decoder_reset:            ; @FLAC__stream_decoder_reset
	.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
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_FLAC__ASSERT
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, ne
	bl	_FLAC__ASSERT
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, ne
	bl	_FLAC__ASSERT
	mov	x0, x19
	bl	_FLAC__stream_decoder_flush
	cbz	w0, LBB0_4
; %bb.1:
	ldr	x8, [x19]
	ldr	w9, [x8]
	cbz	w9, LBB0_5
; %bb.2:
	str	wzr, [x8]
LBB0_3:
Lloh0:
	adrp	x9, _FLAC__STREAM_DECODER_SEARCH_FOR_METADATA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FLAC__STREAM_DECODER_SEARCH_FOR_METADATA@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldr	x10, [x19, #8]
	str	w9, [x10, #4]
	str	wzr, [x8, #24]
	ldr	x0, [x8, #80]
	bl	_free
	ldp	x8, x9, [x19]
	str	xzr, [x8, #80]
	str	wzr, [x8, #28]
	ldr	w9, [x9]
	str	w9, [x8, #72]
	add	x0, x8, #48
	stp	xzr, xzr, [x8, #56]
	bl	_FLAC__MD5Init
	ldr	x8, [x19]
	stp	xzr, xzr, [x8, #32]
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x9, [x8, #8]
Lloh3:
	adrp	x10, _stdin@GOTPAGE
Lloh4:
	ldr	x10, [x10, _stdin@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_7
; %bb.6:
	mov	w0, #0
	b	LBB0_4
LBB0_7:
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_3
; %bb.8:
	ldr	w2, [x8, #88]
	mov	x0, x19
	mov	w1, #0
	blr	x9
	mov	x8, x0
	mov	w0, #0
Lloh6:
	adrp	x9, _FLAC__STREAM_DECODER_SEEK_STATUS_ERROR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FLAC__STREAM_DECODER_SEEK_STATUS_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.9:
	ldr	x8, [x19]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_stdin,8,3                      ; @stdin
	.comm	_FLAC__STREAM_DECODER_SEEK_STATUS_ERROR,8,3 ; @FLAC__STREAM_DECODER_SEEK_STATUS_ERROR
	.comm	_FLAC__STREAM_DECODER_SEARCH_FOR_METADATA,4,2 ; @FLAC__STREAM_DECODER_SEARCH_FOR_METADATA
.subsections_via_symbols
