	.file	"extr_surface.c_fbo_blitter_supported.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fbo_blitter_supported, @function
fbo_blitter_supported:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR ORM_FBO[rip]
	cmp	QWORD PTR wined3d_settings[rip], rax
	je	.L38
.L34:
	mov	eax, DWORD PTR FALSE[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L38:
	mov	eax, DWORD PTR [rsi]
	test	eax, eax
	je	.L34
	mov	eax, DWORD PTR [r8]
	and	eax, DWORD PTR WINED3D_RESOURCE_ACCESS_GPU[rip]
	test	DWORD PTR [rdx], eax
	je	.L34
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbx, QWORD PTR 8[rdx]
	mov	rbp, QWORD PTR 8[r8]
	cmp	edi, 128
	je	.L5
	mov	eax, DWORD PTR FALSE[rip]
	cmp	edi, 129
	je	.L39
.L1:
	add	rsp, 8
	.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
.L39:
	.cfi_restore_state
	mov	rax, QWORD PTR WINED3D_GL_RES_TYPE_TEX_2D[rip]
	mov	rsi, QWORD PTR [rbx]
	mov	ecx, DWORD PTR WINED3DFMT_FLAG_FBO_ATTACHABLE[rip]
	test	DWORD PTR [rsi+rax*4], ecx
	jne	.L7
	mov	edx, DWORD PTR 4[rdx]
	test	DWORD PTR WINED3DUSAGE_RENDERTARGET[rip], edx
	je	.L14
.L7:
	mov	rdx, QWORD PTR 0[rbp]
	test	DWORD PTR [rdx+rax*4], ecx
	jne	.L8
	mov	eax, DWORD PTR 4[r8]
	test	DWORD PTR WINED3DUSAGE_RENDERTARGET[rip], eax
	je	.L14
.L8:
	mov	eax, DWORD PTR 12[rbp]
	cmp	DWORD PTR 12[rbx], eax
	jne	.L9
	cmp	DWORD PTR WINED3D_LOCATION_DRAWABLE[rip], r9d
	jne	.L10
.L9:
	mov	edi, DWORD PTR 8[rbx]
	call	is_identity_fixup@PLT
	test	eax, eax
	je	.L14
	mov	edi, DWORD PTR 8[rbp]
	call	is_identity_fixup@PLT
	test	eax, eax
	jne	.L10
.L14:
	mov	eax, DWORD PTR FALSE[rip]
	add	rsp, 8
	.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
.L5:
	.cfi_restore_state
	mov	rdx, QWORD PTR WINED3D_GL_RES_TYPE_TEX_2D[rip]
	mov	rcx, QWORD PTR [rbx]
	mov	eax, DWORD PTR WINED3DFMT_FLAG_DEPTH[rip]
	or	eax, DWORD PTR WINED3DFMT_FLAG_STENCIL[rip]
	test	DWORD PTR [rcx+rdx*4], eax
	je	.L14
	mov	rcx, QWORD PTR 0[rbp]
	test	DWORD PTR [rcx+rdx*4], eax
	je	.L14
	mov	edi, DWORD PTR 8[rbx]
	call	is_complex_fixup@PLT
	test	eax, eax
	jne	.L14
	mov	edi, DWORD PTR 8[rbp]
	call	is_complex_fixup@PLT
	test	eax, eax
	jne	.L14
	mov	edi, DWORD PTR 8[rbx]
	call	is_scaling_fixup@PLT
	test	eax, eax
	jne	.L14
	mov	edi, DWORD PTR 8[rbp]
	call	is_scaling_fixup@PLT
	test	eax, eax
	jne	.L14
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, DWORD PTR TRUE[rip]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	fbo_blitter_supported, .-fbo_blitter_supported
	.comm	wined3d_settings,8,8
	.comm	WINED3D_RESOURCE_ACCESS_GPU,4,4
	.comm	WINED3D_LOCATION_DRAWABLE,4,4
	.comm	WINED3D_GL_RES_TYPE_TEX_2D,8,8
	.comm	WINED3DUSAGE_RENDERTARGET,4,4
	.comm	WINED3DFMT_FLAG_STENCIL,4,4
	.comm	WINED3DFMT_FLAG_FBO_ATTACHABLE,4,4
	.comm	WINED3DFMT_FLAG_DEPTH,4,4
	.comm	TRUE,4,4
	.comm	ORM_FBO,8,8
	.comm	FALSE,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_surface.c_fbo_blitter_supported.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fbo_blitter_supported, %function
fbo_blitter_supported:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, .L39
	ldr	r3, .L39+4
	ldr	ip, [ip]
	ldr	r3, [r3]
	cmp	ip, r3
	beq	.L37
.L34:
	ldr	r3, .L39+8
	ldr	r0, [r3]
	bx	lr
.L37:
	ldr	r3, [r1]
	cmp	r3, #0
	beq	.L34
	push	{r4, r5, r6, lr}
	ldr	r1, .L39+12
	ldr	r3, [sp, #16]
	ldr	ip, [r1]
	ldr	r3, [r3]
	ldr	r1, [r2]
	and	r3, r3, ip
	tst	r3, r1
	beq	.L6
	ldr	r3, [sp, #16]
	cmp	r0, #128
	ldr	r4, [r2, #8]
	ldr	r5, [r3, #8]
	beq	.L5
	cmp	r0, #129
	beq	.L38
.L6:
	ldr	r3, .L39+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L38:
	ldr	r3, .L39+16
	ldr	r0, [r4]
	ldr	r1, [r3]
	ldr	r3, .L39+20
	ldr	r0, [r0, r1, lsl #2]
	ldr	r3, [r3]
	tst	r3, r0
	bne	.L7
	ldr	ip, .L39+24
	ldr	r0, [r2, #4]
	ldr	r2, [ip]
	tst	r0, r2
	beq	.L6
.L7:
	ldr	r2, [r5]
	ldr	r2, [r2, r1, lsl #2]
	tst	r3, r2
	bne	.L8
	ldr	r3, .L39+24
	ldr	r2, [sp, #16]
	ldr	r3, [r3]
	ldr	r2, [r2, #4]
	tst	r2, r3
	beq	.L6
.L8:
	ldr	r2, [r4, #8]
	ldr	r3, [r5, #8]
	cmp	r2, r3
	bne	.L9
	ldr	r3, .L39+28
	ldr	r2, [sp, #20]
	ldr	r3, [r3]
	cmp	r3, r2
	bne	.L10
.L9:
	ldr	r0, [r4, #4]
	bl	is_identity_fixup
	cmp	r0, #0
	beq	.L6
	ldr	r0, [r5, #4]
	bl	is_identity_fixup
	cmp	r0, #0
	bne	.L10
	b	.L6
.L5:
	ldr	r2, .L39+16
	ldr	r3, .L39+32
	ldr	r0, .L39+36
	ldr	r2, [r2]
	ldr	r1, [r4]
	ldr	r3, [r3]
	ldr	r0, [r0]
	ldr	r1, [r1, r2, lsl #2]
	orr	r3, r3, r0
	tst	r3, r1
	beq	.L6
	ldr	r1, [r5]
	ldr	r2, [r1, r2, lsl #2]
	tst	r3, r2
	beq	.L6
	ldr	r0, [r4, #4]
	bl	is_complex_fixup
	cmp	r0, #0
	bne	.L6
	ldr	r0, [r5, #4]
	bl	is_complex_fixup
	cmp	r0, #0
	bne	.L6
	ldr	r0, [r4, #4]
	bl	is_scaling_fixup
	cmp	r0, #0
	bne	.L6
	ldr	r0, [r5, #4]
	bl	is_scaling_fixup
	cmp	r0, #0
	bne	.L6
.L10:
	ldr	r3, .L39+40
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L40:
	.align	2
.L39:
	.word	wined3d_settings
	.word	ORM_FBO
	.word	FALSE
	.word	WINED3D_RESOURCE_ACCESS_GPU
	.word	WINED3D_GL_RES_TYPE_TEX_2D
	.word	WINED3DFMT_FLAG_FBO_ATTACHABLE
	.word	WINED3DUSAGE_RENDERTARGET
	.word	WINED3D_LOCATION_DRAWABLE
	.word	WINED3DFMT_FLAG_DEPTH
	.word	WINED3DFMT_FLAG_STENCIL
	.word	TRUE
	.size	fbo_blitter_supported, .-fbo_blitter_supported
	.comm	wined3d_settings,4,4
	.comm	WINED3D_RESOURCE_ACCESS_GPU,4,4
	.comm	WINED3D_LOCATION_DRAWABLE,4,4
	.comm	WINED3D_GL_RES_TYPE_TEX_2D,4,4
	.comm	WINED3DUSAGE_RENDERTARGET,4,4
	.comm	WINED3DFMT_FLAG_STENCIL,4,4
	.comm	WINED3DFMT_FLAG_FBO_ATTACHABLE,4,4
	.comm	WINED3DFMT_FLAG_DEPTH,4,4
	.comm	TRUE,4,4
	.comm	ORM_FBO,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
