	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_format_fbo_compat_info
_init_format_fbo_compat_info:           ## @init_format_fbo_compat_info
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r15
	movq	64(%r15), %rax
	movq	_ARB_INTERNALFORMAT_QUERY2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_32
## %bb.1:
	cmpl	$0, (%r15)
	je	LBB0_45
## %bb.2:
	xorl	%r12d, %r12d
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r12
	movl	(%r15), %eax
	cmpq	%rax, %r12
	jae	LBB0_45
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	32(%r15), %rbx
	leaq	(%r12,%r12,4), %r14
	cmpq	$0, 8(%rbx,%r14,8)
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%rbx,%r14,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%rbx,%r14,8), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	16(%rbx,%r14,8), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_28
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rax
	leaq	(%rbx,%r14,8), %r13
	addq	$8, %r13
	xorl	%r12d, %r12d
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_9 Depth=2
	leaq	L_.str.8(%rip), %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_WARN
	movq	_WINED3DFMT_FLAG_SRGB_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_format_clear_flag
	movq	8(%r13), %rdi
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=2
	incq	%r12
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	cmpq	%rax, %r12
	jae	LBB0_29
LBB0_9:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	56(%r15), %r14
	movl	%r12d, %edi
	callq	_wined3d_gl_type_to_enum
	movq	(%r13), %rsi
	movq	_GL_FRAMEBUFFER_RENDERABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	movq	%r15, %rbx
	leaq	-56(%rbp), %r15
	movq	%r15, %r8
	callq	*%r14
	movq	-56(%rbp), %rax
	movq	_GL_FULL_SUPPORT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movl	24(%r13), %edi
	callq	_debug_d3dformat
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_TRACE
	movq	_WINED3DFMT_FLAG_FBO_ATTACHABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r13), %rcx
	orl	%eax, (%rcx,%r12,4)
	movq	(%r13), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	56(%rbx), %rbx
	movl	%r12d, %edi
	callq	_wined3d_gl_type_to_enum
	movq	(%r13), %rsi
	movq	_GL_FRAMEBUFFER_BLEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	movq	%r15, %r8
	callq	*%rbx
	movq	-56(%rbp), %r14
	movq	_GL_FULL_SUPPORT@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	24(%r13), %edi
	callq	_debug_d3dformat
	cmpq	%rbx, %r14
	jne	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=2
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_TRACE
	movq	_WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r13), %rcx
	orl	%eax, (%rcx,%r12,4)
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	56(%r15), %r14
	movl	%r12d, %edi
	callq	_wined3d_gl_type_to_enum
	movq	_GL_FRAMEBUFFER_RENDERABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movq	%rbx, %rsi
	movl	$1, %ecx
	leaq	-56(%rbp), %r8
	callq	*%r14
	movq	-56(%rbp), %r14
	movq	_GL_FULL_SUPPORT@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	24(%r13), %edi
	callq	_debug_d3dformat
	cmpq	%rbx, %r14
	jne	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=2
	leaq	L_.str.5(%rip), %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_TRACE
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=2
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_TRACE
	movq	_WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	8(%r13), %rcx
	andl	%eax, (%rcx,%r12,4)
	jmp	LBB0_21
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	8(%r13), %rax
	movq	_WINED3DFMT_FLAG_RENDERTARGET@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	andl	(%rax,%r12,4), %ebx
	movl	24(%r13), %edi
	callq	_debug_d3dformat
	testl	%ebx, %ebx
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_9 Depth=2
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_WARN
	movl	(%r14), %eax
	notl	%eax
	movq	8(%r13), %rcx
	andl	%eax, (%rcx,%r12,4)
	jmp	LBB0_20
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=2
	leaq	L_.str.6(%rip), %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_WARN
	movq	_WINED3DFMT_FLAG_RENDERTARGET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	8(%r13), %rcx
	andl	%eax, (%rcx,%r12,4)
	jmp	LBB0_22
LBB0_19:                                ##   in Loop: Header=BB0_9 Depth=2
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_TRACE
LBB0_20:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	(%r13), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_21:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	-72(%rbp), %r15                 ## 8-byte Reload
LBB0_22:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	(%r13), %rax
	cmpq	16(%r13), %rax
	jne	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	8(%r13), %rdi
	movl	(%rdi,%r12,4), %eax
	movq	_WINED3DFMT_FLAG_FBO_ATTACHABLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.24:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	_WINED3DFMT_FLAG_FBO_ATTACHABLE_SRGB@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rdi,%r12,4)
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	56(%r15), %rbx
	movl	%r12d, %edi
	callq	_wined3d_gl_type_to_enum
	movq	16(%r13), %rsi
	movq	_GL_FRAMEBUFFER_RENDERABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	leaq	-56(%rbp), %r8
	callq	*%rbx
	movq	-56(%rbp), %r14
	movq	_GL_FULL_SUPPORT@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	24(%r13), %edi
	callq	_debug_d3dformat
	cmpq	%rbx, %r14
	jne	LBB0_7
## %bb.26:                              ##   in Loop: Header=BB0_9 Depth=2
	leaq	L_.str.7(%rip), %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_TRACE
	movq	_WINED3DFMT_FLAG_FBO_ATTACHABLE_SRGB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r13), %rdi
	orl	%eax, (%rdi,%r12,4)
	movq	64(%r15), %rax
	movq	_EXT_TEXTURE_SRGB_DECODE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_8
## %bb.27:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	16(%r13), %rax
	movq	%rax, (%r13)
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
LBB0_29:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	movq	_WINED3DFMT_FLAG_RENDERTARGET@GOTPCREL(%rip), %r14
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_3
## %bb.30:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_3
## %bb.31:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	32(%rax,%rcx,8), %edi
	callq	_debug_d3dformat
	leaq	L_.str.9(%rip), %rdi
	movl	%eax, %esi
	callq	_FIXME
	movq	_WINED3DFMT_FLAG_FBO_ATTACHABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%r14), %esi
	movq	_WINED3DFMT_FLAG_FBO_ATTACHABLE_SRGB@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_format_clear_flag
	jmp	LBB0_3
LBB0_32:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_wined3d_settings@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ORM_FBO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_34
## %bb.33:
	leaq	-60(%rbp), %rsi
	movl	$1, %edi
	callq	*24(%r15)
	movq	_GL_FRAMEBUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-60(%rbp), %esi
	callq	*16(%r15)
	movq	_GL_COLOR_ATTACHMENT0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	*48(%r15)
	movl	(%rbx), %edi
	callq	*40(%r15)
LBB0_34:
	cmpl	$0, (%r15)
	je	LBB0_43
## %bb.35:
	movq	_WINED3DFMT_FLAG_COMPRESSED@GOTPCREL(%rip), %r13
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_38 Depth=1
	movl	32(%rbx,%r12), %edi
	callq	_debug_d3dformat
	leaq	L_.str.10(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_TRACE
LBB0_37:                                ##   in Loop: Header=BB0_38 Depth=1
	incq	%r14
	movl	(%r15), %eax
	addq	$40, %r12
	cmpq	%rax, %r14
	jae	LBB0_43
LBB0_38:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%r15), %rbx
	movq	8(%rbx,%r12), %rax
	testq	%rax, %rax
	je	LBB0_37
## %bb.39:                              ##   in Loop: Header=BB0_38 Depth=1
	movq	16(%rbx,%r12), %rcx
	movq	_WINED3D_GL_RES_TYPE_TEX_2D@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%r13), %esi
	testl	%esi, (%rcx,%rdx,4)
	jne	LBB0_36
## %bb.40:                              ##   in Loop: Header=BB0_38 Depth=1
	movq	_wined3d_settings@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_ORM_FBO@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_38 Depth=1
	movl	32(%rbx,%r12), %edi
	addq	%r12, %rbx
	callq	_debug_d3dformat
	leaq	L_.str.11(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_TRACE
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_check_fbo_compat
	jmp	LBB0_37
LBB0_42:                                ##   in Loop: Header=BB0_38 Depth=1
	movq	%rax, (%rbx,%r12)
	jmp	LBB0_37
LBB0_43:
	movq	_wined3d_settings@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ORM_FBO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_45
## %bb.44:
	leaq	-60(%rbp), %rsi
	movl	$1, %edi
	callq	*8(%r15)
LBB0_45:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARB_INTERNALFORMAT_QUERY2,8,3  ## @ARB_INTERNALFORMAT_QUERY2
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_GL_FRAMEBUFFER_RENDERABLE,4,2  ## @GL_FRAMEBUFFER_RENDERABLE
	.comm	_GL_FULL_SUPPORT,8,3            ## @GL_FULL_SUPPORT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Format %s is supported as FBO color attachment, resource type %u.\n"

	.comm	_WINED3DFMT_FLAG_FBO_ATTACHABLE,4,2 ## @WINED3DFMT_FLAG_FBO_ATTACHABLE
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_GL_FRAMEBUFFER_BLEND,4,2       ## @GL_FRAMEBUFFER_BLEND
L_.str.1:                               ## @.str.1
	.asciz	"Format %s supports post-pixelshader blending, resource type %u.\n"

	.comm	_WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING,4,2 ## @WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING
L_.str.2:                               ## @.str.2
	.asciz	"Format %s doesn't support post-pixelshader blending, resource typed %u.\n"

	.comm	_WINED3DFMT_FLAG_RENDERTARGET,4,2 ## @WINED3DFMT_FLAG_RENDERTARGET
L_.str.3:                               ## @.str.3
	.asciz	"Format %s with rendertarget flag is not supported as FBO color attachment and no fallback specified, resource type %u.\n"

L_.str.4:                               ## @.str.4
	.asciz	"Format %s is not supported as FBO color attachment, resource type %u.\n"

L_.str.5:                               ## @.str.5
	.asciz	"Format %s rtInternal format is supported as FBO color attachment, resource type %u.\n"

L_.str.6:                               ## @.str.6
	.asciz	"Format %s rtInternal format is not supported as FBO color attachment, resource type %u.\n"

L_.str.7:                               ## @.str.7
	.asciz	"Format %s's sRGB format is FBO attachable, resource type %u.\n"

	.comm	_WINED3DFMT_FLAG_FBO_ATTACHABLE_SRGB,4,2 ## @WINED3DFMT_FLAG_FBO_ATTACHABLE_SRGB
	.comm	_EXT_TEXTURE_SRGB_DECODE,8,3    ## @EXT_TEXTURE_SRGB_DECODE
L_.str.8:                               ## @.str.8
	.asciz	"Format %s's sRGB format is not FBO attachable, resource type %u.\n"

	.comm	_WINED3DFMT_FLAG_SRGB_WRITE,4,2 ## @WINED3DFMT_FLAG_SRGB_WRITE
L_.str.9:                               ## @.str.9
	.asciz	"Format %s needs different render target formats for different resource types.\n"

	.comm	_wined3d_settings,8,3           ## @wined3d_settings
	.comm	_ORM_FBO,8,3                    ## @ORM_FBO
	.comm	_GL_FRAMEBUFFER,4,2             ## @GL_FRAMEBUFFER
	.comm	_GL_COLOR_ATTACHMENT0,4,2       ## @GL_COLOR_ATTACHMENT0
	.comm	_WINED3D_GL_RES_TYPE_TEX_2D,8,3 ## @WINED3D_GL_RES_TYPE_TEX_2D
	.comm	_WINED3DFMT_FLAG_COMPRESSED,4,2 ## @WINED3DFMT_FLAG_COMPRESSED
L_.str.10:                              ## @.str.10
	.asciz	"Skipping format %s because it's a compressed format.\n"

L_.str.11:                              ## @.str.11
	.asciz	"Checking if format %s is supported as FBO color attachment...\n"

	.no_dead_strip	_init_format_fbo_compat_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_format_fbo_compat_info
_init_format_fbo_compat_info:           ; @init_format_fbo_compat_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x27, [x0]
	ldr	x8, [x27, #64]
Lloh0:
	adrp	x9, _ARB_INTERNALFORMAT_QUERY2@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ARB_INTERNALFORMAT_QUERY2@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_31
; %bb.1:
	ldr	w8, [x27]
	cbz	w8, LBB0_44
; %bb.2:
	mov	x20, #0
	mov	w21, #40
Lloh3:
	adrp	x28, _GL_FULL_SUPPORT@GOTPAGE
Lloh4:
	ldr	x28, [x28, _GL_FULL_SUPPORT@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	ldr	w8, [x27]
	cmp	x20, x8
	b.hs	LBB0_44
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x26, [x27, #32]
	madd	x23, x20, x21, x26
	mov	x9, x23
	ldr	x8, [x9, #8]!
	cbz	x8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	stp	x8, x9, [sp, #48]               ; 16-byte Folded Spill
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh7:
	ldr	x19, [x8]
	madd	x25, x20, x21, x26
	ldr	x0, [x25, #16]!
	bl	_ARRAY_SIZE
	stp	x26, x20, [sp, #16]             ; 16-byte Folded Spill
	str	x23, [sp, #64]                  ; 8-byte Folded Spill
	cbz	w0, LBB0_28
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x26
	mov	x26, #0
	madd	x8, x20, x21, x8
	add	x9, x8, #32
	str	x9, [sp, #72]                   ; 8-byte Folded Spill
	add	x22, x8, #24
	stp	x19, x22, [sp, #32]             ; 16-byte Folded Spill
	mov	x23, x19
	ldr	x19, [sp, #56]                  ; 8-byte Folded Reload
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
Lloh8:
	adrp	x0, l_.str.8@PAGE
Lloh9:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	x2, x26
	bl	_WARN
Lloh10:
	adrp	x8, _WINED3DFMT_FLAG_SRGB_WRITE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WINED3DFMT_FLAG_SRGB_WRITE@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	ldr	x0, [sp, #64]                   ; 8-byte Folded Reload
	bl	_format_clear_flag
	ldr	x0, [x25]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	x26, x26, #1
	bl	_ARRAY_SIZE
	cmp	x26, w0, uxtw
	b.hs	LBB0_29
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x21, [x27, #56]
	mov	x0, x26
	bl	_wined3d_gl_type_to_enum
	ldr	x1, [x19]
Lloh13:
	adrp	x8, _GL_FRAMEBUFFER_RENDERABLE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GL_FRAMEBUFFER_RENDERABLE@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	add	x4, sp, #80
	mov	w3, #1
	blr	x21
	ldr	x8, [sp, #80]
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x20, x28
	mov	x28, x27
	ldr	x24, [sp, #72]                  ; 8-byte Folded Reload
	ldr	w0, [x24]
	bl	_debug_d3dformat
	mov	x1, x0
	str	x26, [sp]
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
Lloh18:
	adrp	x8, _WINED3DFMT_FLAG_FBO_ATTACHABLE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _WINED3DFMT_FLAG_FBO_ATTACHABLE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	mov	x23, x25
	ldr	x9, [x25]
	lsl	x21, x26, #2
	ldr	w10, [x9, x21]
	orr	w8, w10, w8
	str	w8, [x9, x21]
	ldr	x8, [x19]
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	str	x8, [x9]
Lloh21:
	adrp	x8, _TRUE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh23:
	ldr	x22, [x8]
	ldr	x25, [x27, #56]
	mov	x0, x26
	bl	_wined3d_gl_type_to_enum
	ldr	x1, [x19]
Lloh24:
	adrp	x8, _GL_FRAMEBUFFER_BLEND@GOTPAGE
Lloh25:
	ldr	x8, [x8, _GL_FRAMEBUFFER_BLEND@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	add	x4, sp, #80
	mov	w3, #1
	blr	x25
	ldr	x25, [sp, #80]
	mov	x28, x20
	ldr	x20, [x20]
	ldr	w0, [x24]
	bl	_debug_d3dformat
	mov	x1, x0
	cmp	x25, x20
	b.ne	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	str	x26, [sp]
Lloh27:
	adrp	x0, l_.str.1@PAGE
Lloh28:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
Lloh29:
	adrp	x8, _WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING@GOTPAGE
Lloh30:
	ldr	x8, [x8, _WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	ldr	x9, [x23]
	ldr	w10, [x9, x21]
	orr	w8, w10, w8
	b	LBB0_16
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	x21, [sp, #48]                  ; 8-byte Folded Reload
	cbz	x21, LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x20, [x27, #56]
	mov	x0, x26
	bl	_wined3d_gl_type_to_enum
Lloh32:
	adrp	x8, _GL_FRAMEBUFFER_RENDERABLE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _GL_FRAMEBUFFER_RENDERABLE@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
	add	x4, sp, #80
	mov	x1, x21
	mov	w3, #1
	blr	x20
	ldp	x8, x20, [sp, #72]              ; 8-byte Folded Reload
	ldr	x21, [x28]
	ldr	w0, [x8]
	bl	_debug_d3dformat
	mov	x1, x0
	cmp	x20, x21
	b.ne	LBB0_19
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=2
	str	x26, [sp]
Lloh35:
	adrp	x0, l_.str.5@PAGE
Lloh36:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_TRACE
Lloh37:
	adrp	x8, _TRUE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	b	LBB0_22
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=2
	str	x26, [sp]
Lloh40:
	adrp	x0, l_.str.2@PAGE
Lloh41:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_TRACE
Lloh42:
	adrp	x8, _WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING@GOTPAGE
Lloh43:
	ldr	x8, [x8, _WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	ldr	x9, [x23]
	ldr	w10, [x9, x21]
	bic	w8, w10, w8
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=2
	str	w8, [x9, x21]
	mov	x25, x23
	mov	x23, x22
	ldr	x19, [sp, #56]                  ; 8-byte Folded Reload
	ldr	x22, [sp, #40]                  ; 8-byte Folded Reload
	b	LBB0_22
LBB0_17:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [x25]
	ldr	w8, [x8, x26, lsl #2]
Lloh45:
	adrp	x9, _WINED3DFMT_FLAG_RENDERTARGET@GOTPAGE
Lloh46:
	ldr	x9, [x9, _WINED3DFMT_FLAG_RENDERTARGET@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	and	w20, w9, w8
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	ldr	w0, [x8]
	bl	_debug_d3dformat
	mov	x1, x0
	cbz	w20, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_9 Depth=2
Lloh48:
	adrp	x0, l_.str.3@PAGE
Lloh49:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x2, x26
	bl	_WARN
Lloh50:
	adrp	x8, _WINED3DFMT_FLAG_RENDERTARGET@GOTPAGE
Lloh51:
	ldr	x8, [x8, _WINED3DFMT_FLAG_RENDERTARGET@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	ldr	x9, [x25]
	lsl	x10, x26, #2
	ldr	w11, [x9, x10]
	bic	w8, w11, w8
	str	w8, [x9, x10]
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_9 Depth=2
Lloh53:
	adrp	x0, l_.str.6@PAGE
Lloh54:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x2, x26
	bl	_WARN
Lloh55:
	adrp	x8, _WINED3DFMT_FLAG_RENDERTARGET@GOTPAGE
Lloh56:
	ldr	x8, [x8, _WINED3DFMT_FLAG_RENDERTARGET@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	ldr	x9, [x25]
	lsl	x10, x26, #2
	ldr	w11, [x9, x10]
	bic	w8, w11, w8
	str	w8, [x9, x10]
	b	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_9 Depth=2
	str	x26, [sp]
Lloh58:
	adrp	x0, l_.str.4@PAGE
Lloh59:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_TRACE
LBB0_21:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [x19]
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	str	x8, [x9]
LBB0_22:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [x19]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x0, [x25]
	ldr	w8, [x0, x26, lsl #2]
Lloh60:
	adrp	x9, _WINED3DFMT_FLAG_FBO_ATTACHABLE@GOTPAGE
Lloh61:
	ldr	x9, [x9, _WINED3DFMT_FLAG_FBO_ATTACHABLE@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.24:                               ;   in Loop: Header=BB0_9 Depth=2
Lloh63:
	adrp	x9, _WINED3DFMT_FLAG_FBO_ATTACHABLE_SRGB@GOTPAGE
Lloh64:
	ldr	x9, [x9, _WINED3DFMT_FLAG_FBO_ATTACHABLE_SRGB@GOTPAGEOFF]
Lloh65:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x0, x26, lsl #2]
	b	LBB0_8
LBB0_25:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	x20, [x27, #56]
	mov	x0, x26
	bl	_wined3d_gl_type_to_enum
	ldr	x1, [x22]
Lloh66:
	adrp	x8, _GL_FRAMEBUFFER_RENDERABLE@GOTPAGE
Lloh67:
	ldr	x8, [x8, _GL_FRAMEBUFFER_RENDERABLE@GOTPAGEOFF]
Lloh68:
	ldr	w2, [x8]
	add	x4, sp, #80
	mov	w3, #1
	blr	x20
	ldp	x8, x20, [sp, #72]              ; 8-byte Folded Reload
	ldr	x21, [x28]
	ldr	w0, [x8]
	bl	_debug_d3dformat
	mov	x1, x0
	cmp	x20, x21
	b.ne	LBB0_7
; %bb.26:                               ;   in Loop: Header=BB0_9 Depth=2
	str	x26, [sp]
Lloh69:
	adrp	x0, l_.str.7@PAGE
Lloh70:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_TRACE
Lloh71:
	adrp	x8, _WINED3DFMT_FLAG_FBO_ATTACHABLE_SRGB@GOTPAGE
Lloh72:
	ldr	x8, [x8, _WINED3DFMT_FLAG_FBO_ATTACHABLE_SRGB@GOTPAGEOFF]
Lloh73:
	ldr	w8, [x8]
	ldr	x0, [x25]
	lsl	x9, x26, #2
	ldr	w10, [x0, x9]
	orr	w8, w10, w8
	str	w8, [x0, x9]
	ldr	x8, [x27, #64]
Lloh74:
	adrp	x9, _EXT_TEXTURE_SRGB_DECODE@GOTPAGE
Lloh75:
	ldr	x9, [x9, _EXT_TEXTURE_SRGB_DECODE@GOTPAGEOFF]
Lloh76:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_8
; %bb.27:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [x22]
	str	x8, [x19]
	b	LBB0_8
LBB0_28:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x19, [sp, #32]                  ; 8-byte Folded Spill
	mov	x23, x19
LBB0_29:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	x20, x8, [sp, #24]              ; 16-byte Folded Reload
	cmp	x8, #0
	ccmp	x23, #0, #4, ne
	mov	w21, #40
	ldr	x19, [sp, #64]                  ; 8-byte Folded Reload
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	b.eq	LBB0_3
; %bb.30:                               ;   in Loop: Header=BB0_4 Depth=1
	madd	x8, x20, x21, x8
	ldr	w0, [x8, #32]
	bl	_debug_d3dformat
	mov	x1, x0
Lloh77:
	adrp	x0, l_.str.9@PAGE
Lloh78:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_FIXME
Lloh79:
	adrp	x8, _WINED3DFMT_FLAG_RENDERTARGET@GOTPAGE
Lloh80:
	ldr	x8, [x8, _WINED3DFMT_FLAG_RENDERTARGET@GOTPAGEOFF]
Lloh81:
	ldr	w8, [x8]
Lloh82:
	adrp	x9, _WINED3DFMT_FLAG_FBO_ATTACHABLE@GOTPAGE
Lloh83:
	ldr	x9, [x9, _WINED3DFMT_FLAG_FBO_ATTACHABLE@GOTPAGEOFF]
Lloh84:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh85:
	adrp	x9, _WINED3DFMT_FLAG_FBO_ATTACHABLE_SRGB@GOTPAGE
Lloh86:
	ldr	x9, [x9, _WINED3DFMT_FLAG_FBO_ATTACHABLE_SRGB@GOTPAGEOFF]
Lloh87:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh88:
	adrp	x9, _WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING@GOTPAGE
Lloh89:
	ldr	x9, [x9, _WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING@GOTPAGEOFF]
Lloh90:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x19
	bl	_format_clear_flag
	b	LBB0_3
LBB0_31:
	mov	x19, x0
Lloh91:
	adrp	x23, _wined3d_settings@GOTPAGE
Lloh92:
	ldr	x23, [x23, _wined3d_settings@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh93:
	adrp	x24, _ORM_FBO@GOTPAGE
Lloh94:
	ldr	x24, [x24, _ORM_FBO@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_33
; %bb.32:
	ldr	x8, [x27, #24]
	sub	x1, x29, #84
	mov	w0, #1
	blr	x8
	ldr	x8, [x27, #16]
Lloh95:
	adrp	x9, _GL_FRAMEBUFFER@GOTPAGE
Lloh96:
	ldr	x9, [x9, _GL_FRAMEBUFFER@GOTPAGEOFF]
Lloh97:
	ldr	w0, [x9]
	ldur	w1, [x29, #-84]
	blr	x8
	ldr	x8, [x27, #48]
Lloh98:
	adrp	x20, _GL_COLOR_ATTACHMENT0@GOTPAGE
Lloh99:
	ldr	x20, [x20, _GL_COLOR_ATTACHMENT0@GOTPAGEOFF]
	ldr	w0, [x20]
	blr	x8
	ldr	x8, [x27, #40]
	ldr	w0, [x20]
	blr	x8
LBB0_33:
	ldr	w8, [x27]
	cbz	w8, LBB0_42
; %bb.34:
	mov	x25, #0
	mov	x26, #0
Lloh100:
	adrp	x28, _WINED3D_GL_RES_TYPE_TEX_2D@GOTPAGE
Lloh101:
	ldr	x28, [x28, _WINED3D_GL_RES_TYPE_TEX_2D@GOTPAGEOFF]
Lloh102:
	adrp	x20, _WINED3DFMT_FLAG_COMPRESSED@GOTPAGE
Lloh103:
	ldr	x20, [x20, _WINED3DFMT_FLAG_COMPRESSED@GOTPAGEOFF]
Lloh104:
	adrp	x21, l_.str.10@PAGE
Lloh105:
	add	x21, x21, l_.str.10@PAGEOFF
	b	LBB0_37
LBB0_35:                                ;   in Loop: Header=BB0_37 Depth=1
	add	x8, x8, x25
	ldr	w0, [x8, #32]
	bl	_debug_d3dformat
	mov	x1, x0
	mov	x0, x21
	bl	_TRACE
LBB0_36:                                ;   in Loop: Header=BB0_37 Depth=1
	add	x26, x26, #1
	ldr	w8, [x27]
	add	x25, x25, #40
	cmp	x26, x8
	b.hs	LBB0_42
LBB0_37:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x27, #32]
	add	x22, x8, x25
	ldr	x9, [x22, #8]
	cbz	x9, LBB0_36
; %bb.38:                               ;   in Loop: Header=BB0_37 Depth=1
	ldr	x10, [x22, #16]
	ldr	x11, [x28]
	ldr	w10, [x10, x11, lsl #2]
	ldr	w11, [x20]
	tst	w11, w10
	b.ne	LBB0_35
; %bb.39:                               ;   in Loop: Header=BB0_37 Depth=1
	ldr	x10, [x23]
	ldr	x11, [x24]
	cmp	x10, x11
	b.ne	LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_37 Depth=1
	add	x8, x8, x25
	ldr	w0, [x8, #32]
	bl	_debug_d3dformat
	mov	x1, x0
Lloh106:
	adrp	x0, l_.str.11@PAGE
Lloh107:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_TRACE
	mov	x0, x19
	mov	x1, x22
	bl	_check_fbo_compat
	b	LBB0_36
LBB0_41:                                ;   in Loop: Header=BB0_37 Depth=1
	str	x9, [x8, x25]
	b	LBB0_36
LBB0_42:
	ldr	x8, [x23]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_44
; %bb.43:
	ldr	x8, [x27, #8]
	sub	x1, x29, #84
	mov	w0, #1
	blr	x8
LBB0_44:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGot	Lloh91, Lloh92
	.loh AdrpLdrGot	Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpAdd	Lloh104, Lloh105
	.loh AdrpLdrGot	Lloh102, Lloh103
	.loh AdrpLdrGot	Lloh100, Lloh101
	.loh AdrpAdd	Lloh106, Lloh107
	.cfi_endproc
                                        ; -- End function
	.comm	_ARB_INTERNALFORMAT_QUERY2,8,3  ; @ARB_INTERNALFORMAT_QUERY2
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_GL_FRAMEBUFFER_RENDERABLE,4,2  ; @GL_FRAMEBUFFER_RENDERABLE
	.comm	_GL_FULL_SUPPORT,8,3            ; @GL_FULL_SUPPORT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Format %s is supported as FBO color attachment, resource type %u.\n"

	.comm	_WINED3DFMT_FLAG_FBO_ATTACHABLE,4,2 ; @WINED3DFMT_FLAG_FBO_ATTACHABLE
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_GL_FRAMEBUFFER_BLEND,4,2       ; @GL_FRAMEBUFFER_BLEND
l_.str.1:                               ; @.str.1
	.asciz	"Format %s supports post-pixelshader blending, resource type %u.\n"

	.comm	_WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING,4,2 ; @WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING
l_.str.2:                               ; @.str.2
	.asciz	"Format %s doesn't support post-pixelshader blending, resource typed %u.\n"

	.comm	_WINED3DFMT_FLAG_RENDERTARGET,4,2 ; @WINED3DFMT_FLAG_RENDERTARGET
l_.str.3:                               ; @.str.3
	.asciz	"Format %s with rendertarget flag is not supported as FBO color attachment and no fallback specified, resource type %u.\n"

l_.str.4:                               ; @.str.4
	.asciz	"Format %s is not supported as FBO color attachment, resource type %u.\n"

l_.str.5:                               ; @.str.5
	.asciz	"Format %s rtInternal format is supported as FBO color attachment, resource type %u.\n"

l_.str.6:                               ; @.str.6
	.asciz	"Format %s rtInternal format is not supported as FBO color attachment, resource type %u.\n"

l_.str.7:                               ; @.str.7
	.asciz	"Format %s's sRGB format is FBO attachable, resource type %u.\n"

	.comm	_WINED3DFMT_FLAG_FBO_ATTACHABLE_SRGB,4,2 ; @WINED3DFMT_FLAG_FBO_ATTACHABLE_SRGB
	.comm	_EXT_TEXTURE_SRGB_DECODE,8,3    ; @EXT_TEXTURE_SRGB_DECODE
l_.str.8:                               ; @.str.8
	.asciz	"Format %s's sRGB format is not FBO attachable, resource type %u.\n"

	.comm	_WINED3DFMT_FLAG_SRGB_WRITE,4,2 ; @WINED3DFMT_FLAG_SRGB_WRITE
l_.str.9:                               ; @.str.9
	.asciz	"Format %s needs different render target formats for different resource types.\n"

	.comm	_wined3d_settings,8,3           ; @wined3d_settings
	.comm	_ORM_FBO,8,3                    ; @ORM_FBO
	.comm	_GL_FRAMEBUFFER,4,2             ; @GL_FRAMEBUFFER
	.comm	_GL_COLOR_ATTACHMENT0,4,2       ; @GL_COLOR_ATTACHMENT0
	.comm	_WINED3D_GL_RES_TYPE_TEX_2D,8,3 ; @WINED3D_GL_RES_TYPE_TEX_2D
	.comm	_WINED3DFMT_FLAG_COMPRESSED,4,2 ; @WINED3DFMT_FLAG_COMPRESSED
l_.str.10:                              ; @.str.10
	.asciz	"Skipping format %s because it's a compressed format.\n"

l_.str.11:                              ; @.str.11
	.asciz	"Checking if format %s is supported as FBO color attachment...\n"

	.no_dead_strip	_init_format_fbo_compat_info
.subsections_via_symbols
