	.file	"extr_hwcontext_opencl.c_opencl_frames_init_command_queue.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed to retain frame command queue: %d.\n"
	.text
	.p2align 4
	.type	opencl_frames_init_command_queue, @function
opencl_frames_init_command_queue:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rdx, QWORD PTR 16[rdi]
	mov	rbp, rdi
	mov	rax, QWORD PTR [rdi]
	mov	rdi, QWORD PTR [rdx]
	mov	rax, QWORD PTR [rax]
	test	rdi, rdi
	jne	.L2
	mov	rdx, QWORD PTR 8[rbp]
	mov	rdx, QWORD PTR [rdx]
	mov	rdx, QWORD PTR [rdx]
	mov	rdi, QWORD PTR [rdx]
.L2:
	mov	QWORD PTR [rax], rdi
	call	clRetainCommandQueue@PLT
	cmp	QWORD PTR CL_SUCCESS[rip], rax
	jne	.L6
	xor	eax, eax
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	esi, DWORD PTR AV_LOG_ERROR[rip]
	mov	rdi, rbp
	mov	rcx, rax
	lea	rdx, .LC0[rip]
	call	av_log@PLT
	mov	edi, DWORD PTR EIO[rip]
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	AVERROR@PLT
	.cfi_endproc
.LFE0:
	.size	opencl_frames_init_command_queue, .-opencl_frames_init_command_queue
	.comm	EIO,4,4
	.comm	CL_SUCCESS,8,8
	.comm	AV_LOG_ERROR,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_hwcontext_opencl.c_opencl_frames_init_command_queue.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to retain frame command queue: %d.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	opencl_frames_init_command_queue, %function
opencl_frames_init_command_queue:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r2, [r0, #8]
	ldr	r3, [r0]
	ldr	r0, [r2]
	ldr	r3, [r3]
	cmp	r0, #0
	ldreq	r2, [r4, #4]
	ldreq	r2, [r2]
	ldreq	r2, [r2]
	ldreq	r0, [r2]
	str	r0, [r3]
	bl	clRetainCommandQueue
	ldr	r2, .L7
	ldr	r2, [r2]
	cmp	r2, r0
	bne	.L6
	mov	r0, #0
	pop	{r4, pc}
.L6:
	ldr	r2, .L7+4
	mov	r3, r0
	ldr	r1, [r2]
	mov	r0, r4
	ldr	r2, .L7+8
	bl	av_log
	pop	{r4, lr}
	ldr	r3, .L7+12
	ldr	r0, [r3]
	b	AVERROR
.L8:
	.align	2
.L7:
	.word	CL_SUCCESS
	.word	AV_LOG_ERROR
	.word	.LC0
	.word	EIO
	.size	opencl_frames_init_command_queue, .-opencl_frames_init_command_queue
	.comm	EIO,4,4
	.comm	CL_SUCCESS,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
