	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function ff_flac_is_extradata_valid
LCPI0_0:
	.long	0x42cc0000                      ## float 102
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ff_flac_is_extradata_valid
	.p2align	4, 0x90
_ff_flac_is_extradata_valid:            ## @ff_flac_is_extradata_valid
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	8(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	(%r12), %rax
	movq	_FLAC_STREAMINFO_SIZE@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jge	LBB0_4
LBB0_2:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
LBB0_3:
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_12
LBB0_4:
	movq	%rdx, %r14
	movq	%rsi, %r15
	callq	_AV_RL32
	movq	%rax, %r13
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movl	$76, %edi
	movl	$97, %esi
	movl	$67, %edx
	callq	_MKTAG
	movq	(%r12), %rdx
	movq	(%rbx), %rcx
	cmpq	%rax, %r13
	jne	LBB0_5
## %bb.8:
	addq	$8, %rcx
	cmpq	%rcx, %rdx
	jge	LBB0_10
## %bb.9:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_3
LBB0_5:
	subq	%rdx, %rcx
	je	LBB0_7
## %bb.6:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_av_log
LBB0_7:
	movq	_FLAC_EXTRADATA_FORMAT_STREAMINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	8(%r12), %rax
	jmp	LBB0_11
LBB0_10:
	movq	_FLAC_EXTRADATA_FORMAT_FULL_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	8(%r12), %rax
	addq	$32, %rax
LBB0_11:
	movq	%rax, (%r14)
	movl	$1, %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAC_STREAMINFO_SIZE,8,3       ## @FLAC_STREAMINFO_SIZE
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"extradata NULL or too small.\n"

	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.1:                               ## @.str.1
	.asciz	"extradata contains %d bytes too many.\n"

	.comm	_FLAC_EXTRADATA_FORMAT_STREAMINFO,4,2 ## @FLAC_EXTRADATA_FORMAT_STREAMINFO
L_.str.2:                               ## @.str.2
	.asciz	"extradata too small.\n"

	.comm	_FLAC_EXTRADATA_FORMAT_FULL_HEADER,4,2 ## @FLAC_EXTRADATA_FORMAT_FULL_HEADER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_flac_is_extradata_valid     ; -- Begin function ff_flac_is_extradata_valid
	.p2align	2
_ff_flac_is_extradata_valid:            ; @ff_flac_is_extradata_valid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20]
Lloh0:
	adrp	x23, _FLAC_STREAMINFO_SIZE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _FLAC_STREAMINFO_SIZE@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ge	LBB0_4
LBB0_2:
Lloh2:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
LBB0_3:
	mov	x0, x20
	bl	_av_log
	mov	w0, #0
	b	LBB0_12
LBB0_4:
	mov	x19, x2
	mov	x21, x1
	bl	_AV_RL32
	mov	x22, x0
	mov	w8, #1120665600
	fmov	s0, w8
	mov	w0, #76
	mov	w1, #97
	mov	w2, #67
	bl	_MKTAG
	ldr	x8, [x20]
	ldr	x9, [x23]
	cmp	x22, x0
	b.ne	LBB0_7
; %bb.5:
	add	x9, x9, #8
	cmp	x8, x9
	b.ge	LBB0_10
; %bb.6:
Lloh7:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_3
LBB0_7:
	subs	x8, x9, x8
	b.eq	LBB0_9
; %bb.8:
Lloh12:
	adrp	x9, _AV_LOG_WARNING@GOTPAGE
Lloh13:
	ldr	x9, [x9, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x9]
	str	x8, [sp]
Lloh15:
	adrp	x2, l_.str.1@PAGE
Lloh16:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_av_log
LBB0_9:
Lloh17:
	adrp	x8, _FLAC_EXTRADATA_FORMAT_STREAMINFO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FLAC_EXTRADATA_FORMAT_STREAMINFO@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x21]
	ldr	x8, [x20, #8]
	b	LBB0_11
LBB0_10:
Lloh20:
	adrp	x8, _FLAC_EXTRADATA_FORMAT_FULL_HEADER@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FLAC_EXTRADATA_FORMAT_FULL_HEADER@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [x21]
	ldr	x8, [x20, #8]
	add	x8, x8, #32
LBB0_11:
	str	x8, [x19]
	mov	w0, #1
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAC_STREAMINFO_SIZE,8,3       ; @FLAC_STREAMINFO_SIZE
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"extradata NULL or too small.\n"

	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.1:                               ; @.str.1
	.asciz	"extradata contains %d bytes too many.\n"

	.comm	_FLAC_EXTRADATA_FORMAT_STREAMINFO,4,2 ; @FLAC_EXTRADATA_FORMAT_STREAMINFO
l_.str.2:                               ; @.str.2
	.asciz	"extradata too small.\n"

	.comm	_FLAC_EXTRADATA_FORMAT_FULL_HEADER,4,2 ; @FLAC_EXTRADATA_FORMAT_FULL_HEADER
.subsections_via_symbols
