	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_streaminfo
_parse_streaminfo:                      ## @parse_streaminfo
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_FLAC_STREAMINFO_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	addl	$8, %ecx
	xorl	%eax, %eax
	cmpl	%edx, %ecx
	jg	LBB0_7
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	16(%rsi), %rdi
	leaq	-32(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	xorl	%esi, %esi
	callq	_flac_parse_block_header
	movl	-32(%rbp), %eax
	movq	_FLAC_METADATA_TYPE_STREAMINFO@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.2:
	movl	-28(%rbp), %eax
	cmpl	(%r15), %eax
	jne	LBB0_3
## %bb.4:
	movq	16(%r14), %rdi
	leaq	4(%r14), %rsi
	addq	$32, %rbx
	movq	%rbx, %rdx
	callq	_ff_flac_parse_streaminfo
	testl	%eax, %eax
	js	LBB0_7
## %bb.5:
	movq	%r14, %rdi
	callq	_allocate_buffers
	testl	%eax, %eax
	js	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_flac_set_bps
	leaq	24(%r14), %rdi
	movq	16(%r14), %rax
	movl	(%rax), %esi
	movl	4(%r14), %ecx
	movl	8(%r14), %edx
	callq	_ff_flacdsp_init
	movl	$1, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_3:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAC_STREAMINFO_SIZE,4,2       ## @FLAC_STREAMINFO_SIZE
	.comm	_FLAC_METADATA_TYPE_STREAMINFO,4,2 ## @FLAC_METADATA_TYPE_STREAMINFO
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_parse_streaminfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_streaminfo
_parse_streaminfo:                      ; @parse_streaminfo
	.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	x21, _FLAC_STREAMINFO_SIZE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _FLAC_STREAMINFO_SIZE@GOTPAGEOFF]
	ldr	w8, [x21]
	add	w8, w8, #8
	cmp	w8, w2
	b.le	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_8
LBB0_2:
	mov	x20, x1
	mov	x19, x0
	add	x0, x1, #16
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x1, #0
	bl	_flac_parse_block_header
	ldr	w8, [sp, #12]
Lloh2:
	adrp	x9, _FLAC_METADATA_TYPE_STREAMINFO@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FLAC_METADATA_TYPE_STREAMINFO@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.3:
	ldr	w8, [sp, #8]
	ldr	w9, [x21]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.4:
	ldr	x0, [x19, #16]
	add	x1, x19, #4
	add	x2, x20, #32
	bl	_ff_flac_parse_streaminfo
	tbnz	w0, #31, LBB0_8
; %bb.5:
	mov	x0, x19
	bl	_allocate_buffers
	tbnz	w0, #31, LBB0_8
; %bb.6:
	mov	x0, x19
	bl	_flac_set_bps
	add	x0, x19, #24
	ldr	x8, [x19, #16]
	ldr	w1, [x8]
	ldp	w3, w2, [x19, #4]
	bl	_ff_flacdsp_init
	mov	w0, #0
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_8
LBB0_7:
Lloh5:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_8:
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAC_STREAMINFO_SIZE,4,2       ; @FLAC_STREAMINFO_SIZE
	.comm	_FLAC_METADATA_TYPE_STREAMINFO,4,2 ; @FLAC_METADATA_TYPE_STREAMINFO
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_parse_streaminfo
.subsections_via_symbols
