	.file	"extr_flac.c_ff_flac_is_extradata_valid.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"extradata NULL or too small.\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"extradata contains %d bytes too many.\n"
	.section	.rodata.str1.1
.LC3:
	.string	"extradata too small.\n"
	.text
	.p2align 4
	.globl	ff_flac_is_extradata_valid
	.type	ff_flac_is_extradata_valid, @function
ff_flac_is_extradata_valid:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rdi, QWORD PTR 8[rdi]
	test	rdi, rdi
	je	.L2
	mov	rax, QWORD PTR FLAC_STREAMINFO_SIZE[rip]
	cmp	QWORD PTR 0[rbp], rax
	jge	.L3
.L2:
	lea	rdx, .LC0[rip]
.L12:
	mov	esi, DWORD PTR AV_LOG_ERROR[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	av_log@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	r12, rsi
	mov	rbx, rdx
	call	AV_RL32@PLT
	mov	edx, 67
	mov	esi, 97
	movss	xmm0, DWORD PTR .LC1[rip]
	mov	edi, 76
	mov	r13, rax
	call	MKTAG@PLT
	cmp	r13, rax
	je	.L5
	mov	rax, QWORD PTR 0[rbp]
	mov	rcx, QWORD PTR FLAC_STREAMINFO_SIZE[rip]
	cmp	rax, rcx
	jne	.L14
.L6:
	mov	eax, DWORD PTR FLAC_EXTRADATA_FORMAT_STREAMINFO[rip]
	mov	DWORD PTR [r12], eax
	mov	rax, QWORD PTR 8[rbp]
	mov	QWORD PTR [rbx], rax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	esi, DWORD PTR AV_LOG_WARNING[rip]
	sub	rcx, rax
	lea	rdx, .LC2[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	av_log@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR FLAC_STREAMINFO_SIZE[rip]
	add	rax, 7
	cmp	rax, QWORD PTR 0[rbp]
	jge	.L15
	mov	eax, DWORD PTR FLAC_EXTRADATA_FORMAT_FULL_HEADER[rip]
	mov	DWORD PTR [r12], eax
	mov	rax, QWORD PTR 8[rbp]
	add	rax, 32
	mov	QWORD PTR [rbx], rax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	lea	rdx, .LC3[rip]
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	ff_flac_is_extradata_valid, .-ff_flac_is_extradata_valid
	.comm	FLAC_STREAMINFO_SIZE,8,8
	.comm	FLAC_EXTRADATA_FORMAT_STREAMINFO,4,4
	.comm	FLAC_EXTRADATA_FORMAT_FULL_HEADER,4,4
	.comm	AV_LOG_WARNING,4,4
	.comm	AV_LOG_ERROR,4,4
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC1:
	.long	1120665600
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_flac.c_ff_flac_is_extradata_valid.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"extradata NULL or too small.\012\000"
	.align	2
.LC1:
	.ascii	"extradata contains %d bytes too many.\012\000"
	.align	2
.LC2:
	.ascii	"extradata too small.\012\000"
	.text
	.align	2
	.global	ff_flac_is_extradata_valid
	.syntax unified
	.arm
	.fpu softvfp
	.type	ff_flac_is_extradata_valid, %function
ff_flac_is_extradata_valid:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r0, [r0, #4]
	cmp	r0, #0
	beq	.L2
	ldr	r5, .L15
	mov	r6, r2
	ldr	r3, [r5]
	ldr	r2, [r4]
	cmp	r2, r3
	bge	.L3
.L2:
	ldr	r3, .L15+4
	mov	r0, r4
	ldr	r1, [r3]
	ldr	r2, .L15+8
	bl	av_log
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	mov	r7, r1
	bl	AV_RL32
	mov	r3, #67
	mov	r8, r0
	mov	r2, #97
	mov	r1, #76
	ldr	r0, .L15+12
	bl	MKTAG
	cmp	r8, r0
	beq	.L5
	ldr	r2, [r5]
	ldr	r3, [r4]
	cmp	r3, r2
	bne	.L13
.L6:
	ldr	r2, .L15+16
	ldr	r3, [r4, #4]
	ldr	r2, [r2]
	mov	r0, #1
	str	r2, [r7]
	str	r3, [r6]
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	ldr	r1, .L15+20
	sub	r3, r2, r3
	mov	r0, r4
	ldr	r1, [r1]
	ldr	r2, .L15+24
	bl	av_log
	b	.L6
.L5:
	ldr	r3, [r5]
	ldr	r2, [r4]
	add	r3, r3, #7
	cmp	r3, r2
	bge	.L14
	ldr	r2, .L15+28
	ldr	r3, [r4, #4]
	ldr	r2, [r2]
	add	r3, r3, #32
	str	r2, [r7]
	mov	r0, #1
	str	r3, [r6]
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	ldr	r3, .L15+4
	mov	r0, r4
	ldr	r1, [r3]
	ldr	r2, .L15+32
	bl	av_log
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	.align	2
.L15:
	.word	FLAC_STREAMINFO_SIZE
	.word	AV_LOG_ERROR
	.word	.LC0
	.word	1120665600
	.word	FLAC_EXTRADATA_FORMAT_STREAMINFO
	.word	AV_LOG_WARNING
	.word	.LC1
	.word	FLAC_EXTRADATA_FORMAT_FULL_HEADER
	.word	.LC2
	.size	ff_flac_is_extradata_valid, .-ff_flac_is_extradata_valid
	.comm	FLAC_STREAMINFO_SIZE,4,4
	.comm	FLAC_EXTRADATA_FORMAT_STREAMINFO,4,4
	.comm	FLAC_EXTRADATA_FORMAT_FULL_HEADER,4,4
	.comm	AV_LOG_WARNING,4,4
	.comm	AV_LOG_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
