	.file	"extr_hwcontext_opencl.c_opencl_device_create.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	".%d"
.LC1:
	.string	"%d.%d"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"Invalid OpenCL platform/device index specification \"%s\".\n"
	.text
	.p2align 4
	.type	opencl_device_create, @function
opencl_device_create:
.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
	sub	rsp, 88
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	lea	rax, opencl_filter_device[rip]
	mov	QWORD PTR 56[rsp], rdx
	mov	QWORD PTR 24[rsp], rax
	lea	rax, opencl_enumerate_devices[rip]
	mov	QWORD PTR 32[rsp], rax
	lea	rax, opencl_filter_platform[rip]
	mov	QWORD PTR 40[rsp], rax
	lea	rax, opencl_enumerate_platforms[rip]
	mov	QWORD PTR 16[rsp], 0
	mov	QWORD PTR 48[rsp], rax
	test	rsi, rsi
	je	.L2
	movzx	eax, BYTE PTR [rsi]
	mov	r12, rsi
	test	al, al
	je	.L2
	mov	DWORD PTR 8[rsp], -1
	mov	DWORD PTR 12[rsp], -1
	cmp	al, 46
	je	.L17
	lea	rcx, 8[rsp]
	lea	rdx, 12[rsp]
	mov	rdi, r12
	xor	eax, eax
	lea	rsi, .LC1[rip]
	call	sscanf@PLT
.L4:
	test	eax, eax
	jle	.L18
	mov	eax, DWORD PTR 12[rsp]
	mov	DWORD PTR 16[rsp], eax
	mov	eax, DWORD PTR 8[rsp]
	mov	DWORD PTR 20[rsp], eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L2:
	mov	QWORD PTR 16[rsp], -1
.L7:
	lea	rsi, 16[rsp]
	xor	edx, edx
	mov	rdi, rbp
	call	opencl_device_create_internal@PLT
.L1:
	mov	rcx, QWORD PTR 72[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L19
	add	rsp, 88
	.cfi_remember_state
	.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
.L17:
	.cfi_restore_state
	lea	rdx, 8[rsp]
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	xor	eax, eax
	call	sscanf@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L18:
	mov	esi, DWORD PTR AV_LOG_ERROR[rip]
	mov	rdi, rbp
	mov	rcx, r12
	lea	rdx, .LC2[rip]
	call	av_log@PLT
	mov	edi, DWORD PTR EINVAL[rip]
	call	AVERROR@PLT
	jmp	.L1
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	opencl_device_create, .-opencl_device_create
	.comm	opencl_filter_platform,4,4
	.comm	opencl_filter_device,4,4
	.comm	opencl_enumerate_platforms,4,4
	.comm	opencl_enumerate_devices,4,4
	.comm	EINVAL,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
	.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_device_create.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	".%d\000"
	.align	2
.LC1:
	.ascii	"%d.%d\000"
	.align	2
.LC2:
	.ascii	"Invalid OpenCL platform/device index specification "
	.ascii	"\"%s\".\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	opencl_device_create, %function
opencl_device_create:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	push	{r4, r5, lr}
	sub	sp, sp, #44
	ldr	r3, .L20
	str	r2, [sp, #32]
	ldr	r2, .L20+4
	ldr	lr, .L20+8
	ldr	r2, [r2]
	str	r2, [sp, #36]
	mov	r2,#0
	ldr	r2, .L20+12
	str	r3, [sp, #16]
	ldr	r3, .L20+16
	subs	r4, r1, #0
	mov	r5, r0
	str	ip, [sp, #8]
	str	ip, [sp, #12]
	str	lr, [sp, #20]
	str	r2, [sp, #24]
	str	r3, [sp, #28]
	beq	.L2
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, ip
	beq	.L2
	mvn	r2, #0
	cmp	r3, #46
	str	r2, [sp]
	str	r2, [sp, #4]
	beq	.L17
	mov	r3, sp
	mov	r0, r4
	ldr	r1, .L20+20
	add	r2, sp, #4
	bl	sscanf
.L4:
	cmp	r0, #0
	ble	.L18
	ldr	r2, [sp, #4]
	ldr	r3, [sp]
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	b	.L7
.L2:
	mvn	r3, #0
	str	r3, [sp, #8]
	str	r3, [sp, #12]
.L7:
	mov	r0, r5
	mov	r2, #0
	add	r1, sp, #8
	bl	opencl_device_create_internal
.L1:
	ldr	r3, .L20+4
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, pc}
.L17:
	mov	r2, sp
	mov	r0, r4
	ldr	r1, .L20+24
	bl	sscanf
	b	.L4
.L18:
	ldr	r2, .L20+28
	mov	r3, r4
	ldr	r1, [r2]
	mov	r0, r5
	ldr	r2, .L20+32
	bl	av_log
	ldr	r3, .L20+36
	ldr	r0, [r3]
	bl	AVERROR
	b	.L1
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	opencl_filter_device
	.word	.LC3
	.word	opencl_enumerate_devices
	.word	opencl_filter_platform
	.word	opencl_enumerate_platforms
	.word	.LC1
	.word	.LC0
	.word	AV_LOG_ERROR
	.word	.LC2
	.word	EINVAL
	.size	opencl_device_create, .-opencl_device_create
	.comm	opencl_filter_platform,4,4
	.comm	opencl_filter_device,4,4
	.comm	opencl_enumerate_platforms,4,4
	.comm	opencl_enumerate_devices,4,4
	.comm	EINVAL,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
