	.file	"extr_converter_vdpau.c_DecoderDeviceOpen.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	DecoderDeviceOpen, @function
DecoderDeviceOpen:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	test	rsi, rsi
	je	.L11
	mov	rbp, rdi
	mov	rdi, rsi
	mov	rbx, rsi
	call	VLC_OBJECT@PLT
	mov	edi, eax
	call	vlc_xlib_init@PLT
	test	eax, eax
	jne	.L13
.L11:
	mov	eax, DWORD PTR VLC_EGENERIC[rip]
.L1:
	mov	rdx, QWORD PTR 24[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	lea	rcx, 12[rsp]
	lea	rdx, 16[rsp]
	mov	esi, -1
	call	vdp_get_x11@PLT
	cmp	rax, QWORD PTR VDP_STATUS_OK[rip]
	jne	.L11
	lea	rax, dev_ops[rip]
	mov	QWORD PTR 16[rbp], rax
	mov	eax, DWORD PTR VLC_DECODER_DEVICE_VDPAU[rip]
	mov	DWORD PTR 8[rbp], eax
	mov	rax, QWORD PTR 16[rsp]
	mov	QWORD PTR 0[rbp], rax
	mov	eax, DWORD PTR VLC_SUCCESS[rip]
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	DecoderDeviceOpen, .-DecoderDeviceOpen
	.comm	dev_ops,4,4
	.comm	VLC_SUCCESS,4,4
	.comm	VLC_EGENERIC,4,4
	.comm	VLC_DECODER_DEVICE_VDPAU,4,4
	.comm	VDP_STATUS_OK,8,8
	.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_converter_vdpau.c_DecoderDeviceOpen.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	DecoderDeviceOpen, %function
DecoderDeviceOpen:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L15
	sub	sp, sp, #20
	subs	r4, r1, #0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	beq	.L11
	mov	r5, r0
	mov	r0, r4
	bl	VLC_OBJECT
	bl	vlc_xlib_init
	cmp	r0, #0
	bne	.L13
.L11:
	ldr	r3, .L15+4
	ldr	r0, [r3]
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L13:
	add	r3, sp, #8
	mvn	r1, #0
	ldr	r0, [r4]
	add	r2, sp, #4
	bl	vdp_get_x11
	ldr	r3, .L15+8
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L11
	ldr	r3, .L15+12
	ldr	r0, .L15+16
	ldr	r1, [r3]
	ldr	r2, .L15+20
	ldr	r3, [sp, #4]
	ldr	r0, [r0]
	stmib	r5, {r1, r2}
	str	r3, [r5]
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	VLC_EGENERIC
	.word	VDP_STATUS_OK
	.word	VLC_DECODER_DEVICE_VDPAU
	.word	VLC_SUCCESS
	.word	dev_ops
	.size	DecoderDeviceOpen, .-DecoderDeviceOpen
	.comm	dev_ops,4,4
	.comm	VLC_SUCCESS,4,4
	.comm	VLC_EGENERIC,4,4
	.comm	VLC_DECODER_DEVICE_VDPAU,4,4
	.comm	VDP_STATUS_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
