	.file	"extr_utils.c_init_format_filter_info.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"No FBO support, or no FBO ORM, guessing filter info from GL caps\n"
	.align 8
.LC1:
	.string	"Nvidia card with texture_float support: Assuming float16 blending\n"
	.align 8
.LC2:
	.string	"More than 44 GLSL varyings - assuming d3d10 card with float16 blending\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"Assuming no float16 blending\n"
.LC4:
	.string	"Format %s supports filtering\n"
	.section	.rodata.str1.8
	.align 8
.LC5:
	.string	"Format %s does not support filtering\n"
	.text
	.p2align 4
	.type	init_format_filter_info, @function
init_format_filter_info:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR 16[rdi]
	mov	rdx, QWORD PTR ARB_INTERNALFORMAT_QUERY2[rip]
	cmp	QWORD PTR [rax+rdx*8], 0
	jne	.L21
	mov	rcx, QWORD PTR ORM_FBO[rip]
	cmp	QWORD PTR wined3d_settings[rip], rcx
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	jne	.L3
	mov	rdx, QWORD PTR WINED3D_GL_LEGACY_CONTEXT[rip]
	xor	ebp, ebp
	lea	r13, fmts16.1966[rip]
	cmp	QWORD PTR [rax+rdx*8], 0
	je	.L3
	mov	rdi, r13
	call	ARRAY_SIZE@PLT
	cmp	eax, ebp
	jbe	.L1
.L13:
	mov	r12d, DWORD PTR 0[r13+rbp*4]
	mov	edi, r12d
	call	get_format_idx@PLT
	mov	rdx, QWORD PTR [rbx]
	mov	eax, eax
	lea	r14, [rdx+rax*4]
	mov	esi, DWORD PTR [r14]
	test	esi, esi
	je	.L11
	mov	rdi, rbx
	call	check_filter@PLT
	mov	edi, r12d
	test	rax, rax
	je	.L12
	call	debug_d3dformat@PLT
	lea	rdi, .LC4[rip]
	mov	esi, eax
	xor	eax, eax
	call	TRACE@PLT
	mov	esi, DWORD PTR WINED3DFMT_FLAG_FILTERING[rip]
	mov	rdi, r14
	call	format_set_flag@PLT
.L11:
	mov	rdi, r13
	add	rbp, 1
	call	ARRAY_SIZE@PLT
	cmp	eax, ebp
	ja	.L13
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	WARN@PLT
	cmp	DWORD PTR HW_VENDOR_NVIDIA[rip], r12d
	je	.L25
.L5:
	cmp	DWORD PTR 8[rbx], 44
	jg	.L26
	lea	rdi, .LC3[rip]
	xor	eax, eax
	call	TRACE@PLT
	mov	rax, QWORD PTR FALSE[rip]
.L6:
	test	rax, rax
	je	.L1
	lea	r12, fmts16.1966[rip]
	xor	ebp, ebp
	mov	rdi, r12
	call	ARRAY_SIZE@PLT
	cmp	eax, ebp
	jbe	.L1
.L10:
	mov	edi, DWORD PTR [r12+rbp*4]
	add	rbp, 1
	call	get_format_idx@PLT
	mov	rdx, QWORD PTR [rbx]
	mov	esi, DWORD PTR WINED3DFMT_FLAG_FILTERING[rip]
	mov	eax, eax
	lea	rdi, [rdx+rax*4]
	call	format_set_flag@PLT
	mov	rdi, r12
	call	ARRAY_SIZE@PLT
	cmp	eax, ebp
	ja	.L10
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	.cfi_offset 6, -40
	.cfi_offset 12, -32
	.cfi_offset 13, -24
	.cfi_offset 14, -16
	call	debug_d3dformat@PLT
	lea	rdi, .LC5[rip]
	mov	esi, eax
	xor	eax, eax
	call	TRACE@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L26:
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	TRACE@PLT
	mov	rax, QWORD PTR TRUE[rip]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L25:
	mov	rax, QWORD PTR 16[rbx]
	mov	rdx, QWORD PTR ARB_TEXTURE_FLOAT[rip]
	cmp	QWORD PTR [rax+rdx*8], 0
	je	.L5
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	TRACE@PLT
	mov	rax, QWORD PTR TRUE[rip]
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	init_format_filter_info, .-init_format_filter_info
	.section	.rodata
	.align 8
	.type	fmts16.1966, @object
	.size	fmts16.1966, 12
fmts16.1966:
	.long	128
	.long	129
	.long	130
	.comm	wined3d_settings,8,8
	.comm	WINED3D_GL_LEGACY_CONTEXT,8,8
	.comm	WINED3DFMT_FLAG_FILTERING,4,4
	.comm	TRUE,8,8
	.comm	ORM_FBO,8,8
	.comm	HW_VENDOR_NVIDIA,4,4
	.comm	FALSE,8,8
	.comm	ARB_TEXTURE_FLOAT,8,8
	.comm	ARB_INTERNALFORMAT_QUERY2,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_utils.c_init_format_filter_info.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"No FBO support, or no FBO ORM, guessing filter info"
	.ascii	" from GL caps\012\000"
	.align	2
.LC1:
	.ascii	"Nvidia card with texture_float support: Assuming fl"
	.ascii	"oat16 blending\012\000"
	.align	2
.LC2:
	.ascii	"More than 44 GLSL varyings - assuming d3d10 card wi"
	.ascii	"th float16 blending\012\000"
	.align	2
.LC3:
	.ascii	"Assuming no float16 blending\012\000"
	.align	2
.LC4:
	.ascii	"Format %s supports filtering\012\000"
	.align	2
.LC5:
	.ascii	"Format %s does not support filtering\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_format_filter_info, %function
init_format_filter_info:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L32
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r2, [r2]
	ldr	r3, [r0, #8]
	ldr	r5, [r3, r2, lsl #2]
	cmp	r5, #0
	popne	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	mov	r6, r1
	ldr	r2, .L32+4
	ldr	r1, .L32+8
	ldr	r2, [r2]
	ldr	r1, [r1]
	mov	r4, r0
	cmp	r1, r2
	bne	.L3
	ldr	r2, .L32+12
	ldr	r2, [r2]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	beq	.L3
	ldr	r6, .L32+16
	ldr	r10, .L32+20
	mov	r7, r6
	ldr	r9, .L32+24
.L4:
	mov	r0, r7
	bl	ARRAY_SIZE
	cmp	r0, r5
	popls	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	ldr	r8, [r6], #4
	mov	r0, r8
	bl	get_format_idx
	ldr	fp, [r4]
	ldr	r1, [fp, r0, lsl #2]
	add	fp, fp, r0, lsl #2
	cmp	r1, #0
	beq	.L11
	mov	r0, r4
	bl	check_filter
	cmp	r0, #0
	mov	r0, r8
	beq	.L12
	bl	debug_d3dformat
	mov	r1, r0
	mov	r0, r9
	bl	TRACE
	ldr	r3, .L32+28
	mov	r0, fp
	ldr	r1, [r3]
	bl	format_set_flag
.L11:
	add	r5, r5, #1
	b	.L4
.L3:
	ldr	r0, .L32+32
	bl	WARN
	ldr	r3, .L32+36
	ldr	r3, [r3]
	cmp	r3, r6
	beq	.L29
.L5:
	ldr	r3, [r4, #4]
	cmp	r3, #44
	bgt	.L30
	ldr	r0, .L32+40
	bl	TRACE
	ldr	r3, .L32+44
	ldr	r3, [r3]
.L6:
	cmp	r3, #0
	popeq	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L31:
	ldr	r6, .L32+16
	mov	r5, #0
	mov	r7, r6
	ldr	r8, .L32+28
.L9:
	mov	r0, r7
	bl	ARRAY_SIZE
	cmp	r0, r5
	popls	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	ldr	r0, [r6], #4
	bl	get_format_idx
	ldr	r3, [r4]
	ldr	r1, [r8]
	add	r0, r3, r0, lsl #2
	bl	format_set_flag
	add	r5, r5, #1
	b	.L9
.L12:
	bl	debug_d3dformat
	mov	r1, r0
	mov	r0, r10
	bl	TRACE
	b	.L11
.L30:
	ldr	r0, .L32+48
	bl	TRACE
	ldr	r3, .L32+52
	ldr	r3, [r3]
	cmp	r3, #0
	popeq	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	b	.L31
.L29:
	ldr	r2, .L32+56
	ldr	r3, [r4, #8]
	ldr	r2, [r2]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	beq	.L5
	ldr	r0, .L32+60
	bl	TRACE
	ldr	r3, .L32+52
	ldr	r3, [r3]
	b	.L6
.L33:
	.align	2
.L32:
	.word	ARB_INTERNALFORMAT_QUERY2
	.word	ORM_FBO
	.word	wined3d_settings
	.word	WINED3D_GL_LEGACY_CONTEXT
	.word	.LANCHOR0
	.word	.LC5
	.word	.LC4
	.word	WINED3DFMT_FLAG_FILTERING
	.word	.LC0
	.word	HW_VENDOR_NVIDIA
	.word	.LC3
	.word	FALSE
	.word	.LC2
	.word	TRUE
	.word	ARB_TEXTURE_FLOAT
	.word	.LC1
	.size	init_format_filter_info, .-init_format_filter_info
	.comm	wined3d_settings,4,4
	.comm	WINED3D_GL_LEGACY_CONTEXT,4,4
	.comm	WINED3DFMT_FLAG_FILTERING,4,4
	.comm	TRUE,4,4
	.comm	ORM_FBO,4,4
	.comm	HW_VENDOR_NVIDIA,4,4
	.comm	FALSE,4,4
	.comm	ARB_TEXTURE_FLOAT,4,4
	.comm	ARB_INTERNALFORMAT_QUERY2,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	fmts16.4250, %object
	.size	fmts16.4250, 12
fmts16.4250:
	.word	128
	.word	129
	.word	130
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
