	.file	"extr_video.c_vc_iterate.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Error decoding video: %s"
	.text
	.p2align 4
	.globl	vc_iterate
	.type	vc_iterate, @function
vc_iterate:
.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
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	je	.L1
	mov	rbx, rdi
	mov	edi, DWORD PTR [rdi]
	call	pthread_mutex_lock@PLT
	mov	edi, DWORD PTR 36[rbx]
	lea	rsi, 8[rsp]
	call	rb_read@PLT
	mov	edi, DWORD PTR [rbx]
	test	rax, rax
	jne	.L23
	call	pthread_mutex_unlock@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L24
	add	rsp, 32
	.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
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	call	pthread_mutex_unlock@PLT
	mov	rax, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR 32[rbx]
	xor	ecx, ecx
	mov	r8d, DWORD PTR MAX_DECODE_TIME_US[rip]
	mov	esi, DWORD PTR 4[rax]
	mov	edx, DWORD PTR [rax]
	call	vpx_codec_decode@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	ebp, eax
	call	free@PLT
	cmp	DWORD PTR VPX_CODEC_OK[rip], ebp
	je	.L4
	mov	edi, ebp
	call	vpx_codec_err_to_string@PLT
	lea	rdi, .LC0[rip]
	mov	esi, eax
	call	LOGGER_ERROR@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	QWORD PTR 16[rsp], 0
	lea	r12, 16[rsp]
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L25:
	mov	r10, QWORD PTR 16[rbx]
	test	r10, r10
	je	.L6
	mov	rdx, QWORD PTR [rax]
	mov	r8d, DWORD PTR 8[rbx]
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	mov	rax, QWORD PTR 8[rax]
	mov	r11d, DWORD PTR 20[rbp]
	mov	ecx, DWORD PTR 16[rbp]
	mov	esi, DWORD PTR 24[rbx]
	mov	r9, QWORD PTR 8[rax]
	mov	edi, DWORD PTR 28[rbx]
	push	r8
	.cfi_def_cfa_offset 80
	mov	r8d, DWORD PTR 8[rdx]
	push	r8
	.cfi_def_cfa_offset 88
	mov	r8d, DWORD PTR 4[rdx]
	push	r8
	.cfi_def_cfa_offset 96
	mov	edx, DWORD PTR [rdx]
	mov	r8, QWORD PTR [rax]
	push	rdx
	.cfi_def_cfa_offset 104
	mov	edx, r11d
	push	QWORD PTR 16[rax]
	.cfi_def_cfa_offset 112
	call	r10
	add	rsp, 48
	.cfi_def_cfa_offset 64
.L6:
	mov	rdi, rbp
	call	vpx_img_free@PLT
.L21:
	mov	edi, DWORD PTR 32[rbx]
	mov	rsi, r12
	call	vpx_codec_get_frame@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L25
	jmp	.L1
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	vc_iterate, .-vc_iterate
	.comm	VPX_CODEC_OK,4,4
	.comm	MAX_DECODE_TIME_US,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_video.c_vc_iterate.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Error decoding video: %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	vc_iterate
	.syntax unified
	.arm
	.fpu softvfp
	.type	vc_iterate, %function
vc_iterate:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L24
	sub	sp, sp, #48
	subs	r4, r0, #0
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	beq	.L1
	ldr	r0, [r4]
	bl	pthread_mutex_lock
	ldr	r0, [r4, #24]
	add	r1, sp, #36
	bl	rb_read
	cmp	r0, #0
	ldr	r0, [r4]
	bne	.L22
	bl	pthread_mutex_unlock
.L1:
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L23
	add	sp, sp, #48
	@ sp needed
	pop	{r4, r5, r6, pc}
.L22:
	bl	pthread_mutex_unlock
	ldr	r3, [sp, #36]
	ldr	r0, .L24+4
	ldr	r2, [r3]
	ldr	r1, [r3, #4]
	ldr	r3, [r0]
	str	r3, [sp]
	ldr	r0, [r4, #20]
	mov	r3, #0
	bl	vpx_codec_decode
	mov	r5, r0
	ldr	r0, [sp, #36]
	bl	free
	ldr	r3, .L24+8
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L4
	mov	r0, r5
	bl	vpx_codec_err_to_string
	mov	r1, r0
	ldr	r0, .L24+12
	bl	LOGGER_ERROR
	b	.L1
.L4:
	mov	r3, #0
	ldr	r0, [r4, #20]
	add	r1, sp, #40
	str	r3, [sp, #40]
	bl	vpx_codec_get_frame
	subs	r5, r0, #0
	beq	.L1
.L7:
	ldr	r6, [r4, #8]
	cmp	r6, #0
	beq	.L6
	ldm	r5, {r1, ip}
	ldr	r0, [r4, #4]
	ldr	r3, [r5, #8]
	ldr	r2, [r5, #12]
	str	r0, [sp, #24]
	ldr	r0, [r1, #8]
	str	r0, [sp, #20]
	ldr	r0, [r1, #4]
	str	r0, [sp, #16]
	ldr	r0, [r1]
	ldr	r1, [r4, #12]
	str	r0, [sp, #12]
	ldr	lr, [ip, #8]
	ldr	r0, [r4, #16]
	str	lr, [sp, #8]
	ldr	lr, [ip, #4]
	str	lr, [sp, #4]
	ldr	ip, [ip]
	str	ip, [sp]
	blx	r6
.L6:
	mov	r0, r5
	bl	vpx_img_free
	ldr	r0, [r4, #20]
	add	r1, sp, #40
	bl	vpx_codec_get_frame
	subs	r5, r0, #0
	bne	.L7
	b	.L1
.L23:
	bl	__stack_chk_fail
.L25:
	.align	2
.L24:
	.word	.LC1
	.word	MAX_DECODE_TIME_US
	.word	VPX_CODEC_OK
	.word	.LC0
	.size	vc_iterate, .-vc_iterate
	.comm	VPX_CODEC_OK,4,4
	.comm	MAX_DECODE_TIME_US,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
