	.file	"extr_direct3d11.c_BogusZeroCopy.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	BogusZeroCopy, @function
BogusZeroCopy:
.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
	mov	rbx, rdi
	sub	rsp, 56
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [rdi]
	mov	edi, DWORD PTR [rax]
	call	D3D11DeviceAdapter@PLT
	test	rax, rax
	je	.L4
	mov	rdi, rax
	lea	rsi, 16[rsp]
	mov	rbp, rax
	call	IDXGIAdapter_GetDesc@PLT
	mov	edi, eax
	call	FAILED@PLT
	test	rax, rax
	je	.L16
.L4:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L17
	add	rsp, 56
	.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
.L16:
	.cfi_restore_state
	mov	rdi, rbp
	call	IDXGIAdapter_Release@PLT
	mov	rsi, QWORD PTR GPU_MANUFACTURER_AMD[rip]
	cmp	QWORD PTR 16[rsp], rsi
	jne	.L4
	mov	edx, DWORD PTR 24[rsp]
	cmp	edx, 26723
	je	.L5
	cmp	edx, 26751
	je	.L5
	xor	eax, eax
	cmp	edx, 5597
	jne	.L1
.L5:
	mov	rdi, QWORD PTR [rbx]
	lea	rdx, 12[rsp]
	mov	DWORD PTR 12[rsp], 14011
	call	D3D11CheckDriverVersion@PLT
	cmp	DWORD PTR VLC_SUCCESS[rip], eax
	setne	al
	movzx	eax, al
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	BogusZeroCopy, .-BogusZeroCopy
	.comm	VLC_SUCCESS,4,4
	.comm	GPU_MANUFACTURER_AMD,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_direct3d11.c_BogusZeroCopy.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	BogusZeroCopy, %function
BogusZeroCopy:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, [r0]
	ldr	r2, .L11
	sub	sp, sp, #16
	mov	r6, r0
	ldr	r0, [r3]
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	bl	D3D11DeviceAdapter
	subs	r5, r0, #0
	beq	.L4
	add	r1, sp, #4
	bl	IDXGIAdapter_GetDesc
	bl	FAILED
	subs	r4, r0, #0
	beq	.L9
.L4:
	mov	r4, #0
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L9:
	mov	r0, r5
	bl	IDXGIAdapter_Release
	ldr	r2, .L11+4
	ldr	r3, [sp, #4]
	ldr	r1, [r2]
	cmp	r3, r1
	bne	.L4
	ldr	r3, [sp, #8]
	ldr	r2, .L11+8
	cmp	r3, r2
	beq	.L5
	add	r2, r2, #28
	cmp	r3, r2
	beq	.L5
	ldr	r2, .L11+12
	cmp	r3, r2
	bne	.L1
.L5:
	ldr	r3, .L11+16
	mov	r2, sp
	ldr	r0, [r6]
	str	r3, [sp]
	bl	D3D11CheckDriverVersion
	ldr	r3, .L11+20
	ldr	r4, [r3]
	subs	r4, r4, r0
	movne	r4, #1
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	GPU_MANUFACTURER_AMD
	.word	26723
	.word	5597
	.word	14011
	.word	VLC_SUCCESS
	.size	BogusZeroCopy, .-BogusZeroCopy
	.comm	VLC_SUCCESS,4,4
	.comm	GPU_MANUFACTURER_AMD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
