	.file	"extr_extradata.c_av1_extradata_builder_Feed.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	av1_extradata_builder_Feed, @function
av1_extradata_builder_Feed:
.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
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR 8[rdi], 0
	je	.L12
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L12:
	.cfi_restore_state
	lea	rbp, 4[rsp]
	mov	rbx, rdi
	lea	r13, 16[rsp]
	mov	rdi, rbp
	lea	r12, 8[rsp]
	call	AV1_OBU_iterator_init@PLT
.L3:
	mov	rdx, r13
	mov	rsi, r12
	mov	rdi, rbp
	call	AV1_OBU_iterate_next@PLT
	test	rax, rax
	je	.L1
	mov	rdi, QWORD PTR 8[rsp]
	call	AV1_OBUGetType@PLT
	cmp	eax, DWORD PTR AV1_OBU_SEQUENCE_HEADER[rip]
	jne	.L3
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, QWORD PTR 8[rsp]
	call	AV1_OBU_parse_sequence_header@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L1
	mov	rdi, rbx
	mov	r8, r13
	mov	rcx, r12
	mov	edx, 1
	mov	rsi, rax
	call	AV1_create_DecoderConfigurationRecord@PLT
	mov	rdi, rbp
	mov	QWORD PTR 8[rbx], rax
	call	AV1_release_sequence_header@PLT
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	av1_extradata_builder_Feed, .-av1_extradata_builder_Feed
	.comm	AV1_OBU_SEQUENCE_HEADER,4,4
	.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_extradata.c_av1_extradata_builder_Feed.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	av1_extradata_builder_Feed, %function
av1_extradata_builder_Feed:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, [r0, #4]
	mov	r4, r0
	ldr	r0, .L14
	sub	sp, sp, #28
	cmp	r3, #0
	ldr	r0, [r0]
	str	r0, [sp, #20]
	mov	r0,#0
	beq	.L12
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L12:
	add	r0, sp, #8
	bl	AV1_OBU_iterator_init
	ldr	r5, .L14+4
.L3:
	add	r2, sp, #16
	add	r1, sp, #12
	add	r0, sp, #8
	bl	AV1_OBU_iterate_next
	cmp	r0, #0
	beq	.L1
	ldr	r0, [sp, #12]
	bl	AV1_OBUGetType
	ldr	r3, [r5]
	cmp	r0, r3
	bne	.L3
	ldr	r1, [sp, #16]
	ldr	r0, [sp, #12]
	bl	AV1_OBU_parse_sequence_header
	subs	r5, r0, #0
	beq	.L1
	add	r3, sp, #16
	str	r3, [sp]
	mov	r2, #1
	add	r3, sp, #12
	mov	r1, r5
	mov	r0, r4
	bl	AV1_create_DecoderConfigurationRecord
	mov	r3, r0
	mov	r0, r5
	str	r3, [r4, #4]
	bl	AV1_release_sequence_header
	b	.L1
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	AV1_OBU_SEQUENCE_HEADER
	.size	av1_extradata_builder_Feed, .-av1_extradata_builder_Feed
	.comm	AV1_OBU_SEQUENCE_HEADER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
