	.file	"extr_container_reader.c_reader_container_seek.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	reader_container_seek, @function
reader_container_seek:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 16[rdi]
	mov	rbx, QWORD PTR [rax]
	mov	eax, DWORD PTR 4[rsi]
	mov	DWORD PTR 4[rsp], eax
	mov	eax, DWORD PTR [rsi]
	mov	r12d, eax
	and	r12d, DWORD PTR MMAL_PARAM_SEEK_FLAG_PRECISE[rip]
	cmovne	r12d, DWORD PTR VC_CONTAINER_SEEK_FLAG_PRECISE[rip]
	test	DWORD PTR MMAL_PARAM_SEEK_FLAG_FORWARD[rip], eax
	je	.L3
	or	r12d, DWORD PTR VC_CONTAINER_SEEK_FLAG_FORWARD[rip]
.L3:
	mov	rdi, rbp
	call	mmal_component_action_lock@PLT
	mov	eax, DWORD PTR 0[rbp]
	test	eax, eax
	je	.L4
	mov	rdx, QWORD PTR 8[rbp]
	lea	ecx, -1[rax]
	mov	edi, DWORD PTR MMAL_FALSE[rip]
	mov	esi, DWORD PTR MMAL_TRUE[rip]
	lea	rax, 8[rdx]
	lea	rcx, [rax+rcx*8]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L18:
	add	rax, 8
.L5:
	mov	rdx, QWORD PTR [rdx]
	mov	rdx, QWORD PTR [rdx]
	mov	rdx, QWORD PTR [rdx]
	mov	DWORD PTR 4[rdx], edi
	mov	DWORD PTR [rdx], esi
	mov	rdx, rax
	cmp	rax, rcx
	jne	.L18
.L4:
	mov	edx, DWORD PTR VC_CONTAINER_SEEK_MODE_TIME[rip]
	mov	edi, DWORD PTR [rbx]
	mov	ecx, r12d
	lea	rsi, 4[rsp]
	call	vc_container_seek@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	mmal_component_action_unlock@PLT
	mov	edi, r12d
	call	container_map_to_mmal_status@PLT
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L19
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L19:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	reader_container_seek, .-reader_container_seek
	.comm	VC_CONTAINER_SEEK_MODE_TIME,4,4
	.comm	VC_CONTAINER_SEEK_FLAG_PRECISE,4,4
	.comm	VC_CONTAINER_SEEK_FLAG_FORWARD,4,4
	.comm	MMAL_TRUE,4,4
	.comm	MMAL_PARAM_SEEK_FLAG_PRECISE,4,4
	.comm	MMAL_PARAM_SEEK_FLAG_FORWARD,4,4
	.comm	MMAL_FALSE,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_container_reader.c_reader_container_seek.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	reader_container_seek, %function
reader_container_seek:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r3, .L20
	ldr	r2, [r1]
	ldr	r6, [r3]
	ldr	r0, [r0, #8]
	ldr	r3, [r1, #4]
	ldr	r1, .L20+4
	ands	r6, r2, r6
	sub	sp, sp, #8
	ldr	r5, [r0]
	ldr	r1, [r1]
	str	r1, [sp, #4]
	mov	r1,#0
	str	r3, [sp]
	ldrne	r3, .L20+8
	mov	r0, r4
	ldrne	r6, [r3]
	ldr	r3, .L20+12
	ldr	r3, [r3]
	tst	r2, r3
	ldrne	r3, .L20+16
	ldrne	r3, [r3]
	orrne	r6, r6, r3
	bl	mmal_component_action_lock
	ldr	ip, [r4]
	cmp	ip, #0
	beq	.L4
	ldr	r2, [r4, #4]
	ldr	r1, .L20+20
	ldr	r3, .L20+24
	add	ip, r2, ip, lsl #2
	ldr	r0, [r1]
	ldr	r3, [r3]
	sub	ip, ip, #4
	sub	r2, r2, #4
.L5:
	ldr	r1, [r2, #4]!
	ldr	r1, [r1]
	cmp	r2, ip
	ldr	r1, [r1]
	str	r0, [r1, #4]
	str	r3, [r1]
	bne	.L5
.L4:
	ldr	r2, .L20+28
	mov	r1, sp
	ldr	r2, [r2]
	mov	r3, r6
	ldr	r0, [r5]
	bl	vc_container_seek
	mov	r3, r0
	mov	r0, r4
	mov	r4, r3
	bl	mmal_component_action_unlock
	mov	r0, r4
	bl	container_map_to_mmal_status
	ldr	r3, .L20+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	MMAL_PARAM_SEEK_FLAG_PRECISE
	.word	.LC0
	.word	VC_CONTAINER_SEEK_FLAG_PRECISE
	.word	MMAL_PARAM_SEEK_FLAG_FORWARD
	.word	VC_CONTAINER_SEEK_FLAG_FORWARD
	.word	MMAL_FALSE
	.word	MMAL_TRUE
	.word	VC_CONTAINER_SEEK_MODE_TIME
	.size	reader_container_seek, .-reader_container_seek
	.comm	VC_CONTAINER_SEEK_MODE_TIME,4,4
	.comm	VC_CONTAINER_SEEK_FLAG_PRECISE,4,4
	.comm	VC_CONTAINER_SEEK_FLAG_FORWARD,4,4
	.comm	MMAL_TRUE,4,4
	.comm	MMAL_PARAM_SEEK_FLAG_PRECISE,4,4
	.comm	MMAL_PARAM_SEEK_FLAG_FORWARD,4,4
	.comm	MMAL_FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
