	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flac_decoder_internal_reset
_flac_decoder_internal_reset:           ## @flac_decoder_internal_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	$0, 8(%rdi)
	movl	(%rdi), %edi
	movq	_flac_decoder_error_callback_static@GOTPCREL(%rip), %rax
	movq	_flac_decoder_metadata_callback_static@GOTPCREL(%rip), %r10
	movq	_flac_decoder_write_callback_static@GOTPCREL(%rip), %r11
	movq	_flac_decoder_read_callback_static@GOTPCREL(%rip), %rsi
	movq	_flac_decoder_tell_callback_static@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rbx
	pushq	%rax
	pushq	%r10
	pushq	%r11
	callq	_FLAC__stream_decoder_init_stream
	addq	$32, %rsp
	movq	_FLAC__STREAM_DECODER_INIT_STATUS_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_FLAC__stream_decoder_process_until_end_of_metadata ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_flac_decoder_read_callback_static,4,2 ## @flac_decoder_read_callback_static
	.comm	_flac_decoder_tell_callback_static,4,2 ## @flac_decoder_tell_callback_static
	.comm	_flac_decoder_write_callback_static,4,2 ## @flac_decoder_write_callback_static
	.comm	_flac_decoder_metadata_callback_static,4,2 ## @flac_decoder_metadata_callback_static
	.comm	_flac_decoder_error_callback_static,4,2 ## @flac_decoder_error_callback_static
	.comm	_FLAC__STREAM_DECODER_INIT_STATUS_OK,8,3 ## @FLAC__STREAM_DECODER_INIT_STATUS_OK
	.no_dead_strip	_flac_decoder_internal_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flac_decoder_internal_reset
_flac_decoder_internal_reset:           ; @flac_decoder_internal_reset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	str	xzr, [x0, #8]
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _flac_decoder_error_callback_static@GOTPAGE
Lloh1:
	ldr	x8, [x8, _flac_decoder_error_callback_static@GOTPAGEOFF]
	stp	x8, x19, [sp]
Lloh2:
	adrp	x1, _flac_decoder_read_callback_static@GOTPAGE
Lloh3:
	ldr	x1, [x1, _flac_decoder_read_callback_static@GOTPAGEOFF]
Lloh4:
	adrp	x3, _flac_decoder_tell_callback_static@GOTPAGE
Lloh5:
	ldr	x3, [x3, _flac_decoder_tell_callback_static@GOTPAGEOFF]
Lloh6:
	adrp	x6, _flac_decoder_write_callback_static@GOTPAGE
Lloh7:
	ldr	x6, [x6, _flac_decoder_write_callback_static@GOTPAGEOFF]
Lloh8:
	adrp	x7, _flac_decoder_metadata_callback_static@GOTPAGE
Lloh9:
	ldr	x7, [x7, _flac_decoder_metadata_callback_static@GOTPAGEOFF]
	mov	x2, #0
	mov	x4, #0
	mov	x5, #0
	bl	_FLAC__stream_decoder_init_stream
Lloh10:
	adrp	x8, _FLAC__STREAM_DECODER_INIT_STATUS_OK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FLAC__STREAM_DECODER_INIT_STATUS_OK@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_FLAC__stream_decoder_process_until_end_of_metadata
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_flac_decoder_read_callback_static,4,2 ; @flac_decoder_read_callback_static
	.comm	_flac_decoder_tell_callback_static,4,2 ; @flac_decoder_tell_callback_static
	.comm	_flac_decoder_write_callback_static,4,2 ; @flac_decoder_write_callback_static
	.comm	_flac_decoder_metadata_callback_static,4,2 ; @flac_decoder_metadata_callback_static
	.comm	_flac_decoder_error_callback_static,4,2 ; @flac_decoder_error_callback_static
	.comm	_FLAC__STREAM_DECODER_INIT_STATUS_OK,8,3 ; @FLAC__STREAM_DECODER_INIT_STATUS_OK
	.no_dead_strip	_flac_decoder_internal_reset
.subsections_via_symbols
