	.file	"extr_d3d11_fmt.c_ReleaseD3D11PictureSys.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ReleaseD3D11PictureSys
	.type	ReleaseD3D11PictureSys, @function
ReleaseD3D11PictureSys:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR D3D11_MAX_SHADER_VIEW[rip]
	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
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	test	eax, eax
	jle	.L2
	xor	ebx, ebx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 24[rbp]
	mov	rdi, QWORD PTR [rax+r12]
	test	rdi, rdi
	jne	.L24
.L4:
	add	rbx, 1
	cmp	DWORD PTR D3D11_MAX_SHADER_VIEW[rip], ebx
	jle	.L2
.L5:
	mov	rax, QWORD PTR 32[rbp]
	lea	r12, 0[0+rbx*8]
	mov	rdi, QWORD PTR [rax+rbx*8]
	test	rdi, rdi
	je	.L3
	call	ID3D11ShaderResourceView_Release@PLT
	mov	rax, QWORD PTR 24[rbp]
	mov	rdi, QWORD PTR [rax+r12]
	test	rdi, rdi
	je	.L4
.L24:
	call	ID3D11Texture2D_Release@PLT
	add	rbx, 1
	cmp	DWORD PTR D3D11_MAX_SHADER_VIEW[rip], ebx
	jg	.L5
.L2:
	mov	rdi, QWORD PTR 16[rbp]
	test	rdi, rdi
	jne	.L25
	mov	rdi, QWORD PTR 8[rbp]
	test	rdi, rdi
	jne	.L26
.L7:
	mov	rdi, QWORD PTR 0[rbp]
	test	rdi, rdi
	jne	.L27
.L1:
	pop	rbx
	.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
.L25:
	.cfi_restore_state
	call	ID3D11DeviceContext_Release@PLT
	mov	rdi, QWORD PTR 8[rbp]
	test	rdi, rdi
	je	.L7
.L26:
	call	ID3D11VideoProcessorInputView_Release@PLT
	mov	rdi, QWORD PTR 0[rbp]
	test	rdi, rdi
	je	.L1
.L27:
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ID3D11VideoProcessorOutputView_Release@PLT
	.cfi_endproc
.LFE0:
	.size	ReleaseD3D11PictureSys, .-ReleaseD3D11PictureSys
	.comm	D3D11_MAX_SHADER_VIEW,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_d3d11_fmt.c_ReleaseD3D11PictureSys.c"
	.text
	.align	2
	.global	ReleaseD3D11PictureSys
	.syntax unified
	.arm
	.fpu softvfp
	.type	ReleaseD3D11PictureSys, %function
ReleaseD3D11PictureSys:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L27
	mov	r5, r0
	ldr	r3, [r7]
	cmp	r3, #0
	ble	.L2
	mov	r4, #0
	b	.L5
.L3:
	ldr	r3, [r5, #12]
	ldr	r0, [r3, r6]
	cmp	r0, #0
	bne	.L24
.L4:
	ldr	r3, [r7]
	cmp	r3, r4
	ble	.L2
.L5:
	ldr	r3, [r5, #16]
	lsl	r6, r4, #2
	ldr	r0, [r3, r4, lsl #2]
	add	r4, r4, #1
	cmp	r0, #0
	beq	.L3
	bl	ID3D11ShaderResourceView_Release
	ldr	r3, [r5, #12]
	ldr	r0, [r3, r6]
	cmp	r0, #0
	beq	.L4
.L24:
	bl	ID3D11Texture2D_Release
	ldr	r3, [r7]
	cmp	r3, r4
	bgt	.L5
.L2:
	ldr	r0, [r5, #8]
	cmp	r0, #0
	bne	.L25
.L6:
	ldr	r0, [r5, #4]
	cmp	r0, #0
	bne	.L26
.L7:
	ldr	r0, [r5]
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	pop	{r4, r5, r6, r7, r8, lr}
	b	ID3D11VideoProcessorOutputView_Release
.L26:
	bl	ID3D11VideoProcessorInputView_Release
	b	.L7
.L25:
	bl	ID3D11DeviceContext_Release
	b	.L6
.L28:
	.align	2
.L27:
	.word	D3D11_MAX_SHADER_VIEW
	.size	ReleaseD3D11PictureSys, .-ReleaseD3D11PictureSys
	.comm	D3D11_MAX_SHADER_VIEW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
