	.file	"extr_h264_direct.c_await_reference_mb_row.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	await_reference_mb_row, @function
await_reference_mb_row:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR HAVE_THREADS[rip]
	test	eax, eax
	je	.L1
	mov	rax, QWORD PTR 8[rdi]
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR FF_THREAD_FRAME[rip], eax
	jne	.L10
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR 8[rsi]
	cmp	DWORD PTR [rsi], 1
	mov	esi, DWORD PTR [rdi]
	mov	ecx, DWORD PTR [rax]
	setne	al
	xor	r12d, r12d
	test	ecx, ecx
	setne	r12b
	sal	esi, 4
	sal	edx, 4
	sar	esi, cl
	and	r12d, eax
	sar	edx, cl
	sub	esi, 1
	mov	edi, edx
	call	FFMIN@PLT
	mov	rdi, QWORD PTR 8[rbx]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	edx, r12d
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 16
	mov	esi, eax
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 8
	add	rdi, 4
	jmp	ff_thread_await_progress@PLT
	.cfi_endproc
.LFE0:
	.size	await_reference_mb_row, .-await_reference_mb_row
	.comm	HAVE_THREADS,4,4
	.comm	FF_THREAD_FRAME,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_h264_direct.c_await_reference_mb_row.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	await_reference_mb_row, %function
await_reference_mb_row:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L13
	ldr	r3, [r3]
	cmp	r3, #0
	bxeq	lr
	ldr	ip, [r0, #4]
	ldr	r3, .L13+4
	ldr	ip, [ip]
	ldr	r3, [r3]
	tst	ip, r3
	bxeq	lr
	push	{r4, r5, r6, lr}
	ldr	r5, [r1, #4]
	ldr	r3, [r0]
	ldr	r6, [r5], #4
	lsl	r3, r3, #4
	lsl	r2, r2, #4
	ldr	r4, [r1]
	asr	r1, r3, r6
	asr	r0, r2, r6
	sub	r1, r1, #1
	bl	FFMIN
	subs	r4, r4, #1
	movne	r4, #1
	cmp	r6, #0
	mov	r1, r0
	movne	r2, r4
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	moveq	r2, #0
	b	ff_thread_await_progress
.L14:
	.align	2
.L13:
	.word	HAVE_THREADS
	.word	FF_THREAD_FRAME
	.size	await_reference_mb_row, .-await_reference_mb_row
	.comm	HAVE_THREADS,4,4
	.comm	FF_THREAD_FRAME,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
