	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FBO_Init                       ## -- Begin function FBO_Init
	.p2align	4, 0x90
_FBO_Init:                              ## @FBO_Init
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$0, -44(%rbp)
	movq	_ri@GOTPCREL(%rip), %r12
	movq	_PRINT_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	*8(%r12)
	movq	_glRefConfig@GOTPCREL(%rip), %rbx
	cmpl	$0, 24(%rbx)
	je	LBB0_48
## %bb.1:
	movq	_tr@GOTPCREL(%rip), %r15
	movq	$0, 224(%r15)
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_GL_CheckErrors
	xorl	%eax, %eax
	callq	_R_IssuePendingRenderCommands
	movq	_r_hdr@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	cmpq	$0, 16(%rbx)
	movq	_GL_RGBA8@GOTPCREL(%rip), %rax
	movq	%rax, %rdx
	je	LBB0_3
## %bb.2:
	movq	_GL_RGBA16F_ARB@GOTPCREL(%rip), %rdx
LBB0_3:
	cmpq	$0, (%rcx)
	cmovneq	%rdx, %rax
	movl	(%rax), %r14d
	cmpq	$0, (%rbx)
	je	LBB0_5
## %bb.4:
	movq	_GL_MAX_SAMPLES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-44(%rbp), %rsi
	callq	_qglGetIntegerv
	movl	-44(%rbp), %r13d
LBB0_5:
	movq	_r_ext_framebuffer_multisample@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	cmpl	%r13d, %ecx
	jge	LBB0_7
## %bb.6:
	movl	%ecx, -44(%rbp)
	movl	%ecx, %r13d
LBB0_7:
	cmpl	$2, %r13d
	jl	LBB0_9
## %bb.8:
	cmpl	$0, 8(%rbx)
	je	LBB0_9
## %bb.10:
	cmpl	(%rax), %r13d
	jne	LBB0_11
LBB0_12:
	testl	%r13d, %r13d
	jne	LBB0_13
	jmp	LBB0_15
LBB0_9:
	movl	$0, -44(%rbp)
	xorl	%r13d, %r13d
	cmpl	(%rax), %r13d
	je	LBB0_12
LBB0_11:
	cvtsi2ss	%r13d, %xmm0
	leaq	L_.str.1(%rip), %rdi
	callq	*(%r12)
	movl	-44(%rbp), %r13d
	testl	%r13d, %r13d
	je	LBB0_15
LBB0_13:
	cmpq	$0, (%rbx)
	je	LBB0_15
## %bb.14:
	movq	168(%r15), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_FBO_Create
	movq	%rax, 200(%r15)
	movl	-44(%rbp), %ecx
	movq	%rax, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_FBO_CreateBuffer
	movq	200(%r15), %rdi
	movq	_GL_DEPTH_COMPONENT24@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %ecx
	xorl	%edx, %edx
	callq	_FBO_CreateBuffer
	movq	200(%r15), %rdi
	callq	_R_CheckFBO
	movq	168(%r15), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	leaq	L_.str.3(%rip), %rdi
	callq	_FBO_Create
	movq	%rax, 216(%r15)
	leaq	216(%r15), %rbx
	jmp	LBB0_17
LBB0_15:
	movq	_r_hdr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_18
## %bb.16:
	movq	168(%r15), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_FBO_Create
	movq	%rax, 200(%r15)
	leaq	200(%r15), %rbx
LBB0_17:
	movq	208(%r15), %rsi
	movq	_GL_COLOR_ATTACHMENT0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	xorl	%ecx, %ecx
	callq	_FBO_AttachImage
	movq	(%rbx), %rdi
	movq	168(%r15), %rsi
	movq	_GL_DEPTH_ATTACHMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_FBO_AttachImage
	movq	(%rbx), %rdi
	callq	_R_CheckFBO
LBB0_18:
	movq	200(%r15), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	_GL_FRAMEBUFFER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	callq	_GL_BindFramebuffer
	movq	_GL_COLOR_BUFFER_BIT@GOTPCREL(%rip), %rax
	movq	_GL_DEPTH_BUFFER_BIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_qglClear
LBB0_20:
	movq	192(%r15), %rax
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	movl	(%rax), %edx
	movl	4(%rax), %esi
	leaq	L_.str.4(%rip), %rdi
	callq	_FBO_Create
	movq	%rax, 184(%r15)
	movq	192(%r15), %rsi
	movq	_GL_COLOR_ATTACHMENT0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	xorl	%ecx, %ecx
	callq	_FBO_AttachImage
	movq	168(%r15), %rsi
	movq	184(%r15), %rdi
	movq	_GL_DEPTH_ATTACHMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_FBO_AttachImage
	movq	184(%r15), %rdi
	callq	_R_CheckFBO
LBB0_22:
	cmpq	$0, 176(%r15)
	je	LBB0_24
## %bb.23:
	movq	168(%r15), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	leaq	L_.str.5(%rip), %rdi
	callq	_FBO_Create
	movq	%rax, 160(%r15)
	movq	176(%r15), %rsi
	movq	_GL_COLOR_ATTACHMENT0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	xorl	%ecx, %ecx
	callq	_FBO_AttachImage
	movq	160(%r15), %rdi
	movq	168(%r15), %rsi
	movq	_GL_DEPTH_ATTACHMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_FBO_AttachImage
	movq	160(%r15), %rdi
	callq	_R_CheckFBO
LBB0_24:
	movq	_MAX_DRAWN_PSHADOWS@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, %eax
	je	LBB0_29
## %bb.25:
	movq	152(%r15), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_29
## %bb.26:
	testl	%eax, %eax
	jle	LBB0_29
## %bb.27:
	xorl	%ebx, %ebx
	movq	_GL_RGBA8@GOTPCREL(%rip), %r13
	movq	_GL_DEPTH_ATTACHMENT@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	leaq	L_.str.6(%rip), %rdi
	movl	%ebx, %esi
	callq	_va
	movq	152(%r15), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movl	(%rcx), %edx
	movl	4(%rcx), %esi
	movq	%rax, %rdi
	callq	_FBO_Create
	movq	144(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	144(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	movl	(%r13), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_FBO_CreateBuffer
	movq	144(%r15), %rax
	movq	152(%r15), %rcx
	movq	(%rax,%rbx,8), %rdi
	movq	(%rcx,%rbx,8), %rsi
	movl	(%r12), %edx
	xorl	%ecx, %ecx
	callq	_FBO_AttachImage
	movq	144(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_R_CheckFBO
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_28
LBB0_29:
	movq	136(%r15), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:
	movl	(%rax), %edx
	movl	4(%rax), %esi
	leaq	L_.str.7(%rip), %r12
	movq	%r12, %rdi
	callq	_FBO_Create
	movq	128(%r15), %rcx
	movq	%rax, (%rcx)
	movq	128(%r15), %rax
	movq	(%rax), %rdi
	movq	_GL_RGBA8@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_FBO_CreateBuffer
	movq	128(%r15), %rax
	movq	136(%r15), %rcx
	movq	(%rax), %rdi
	movq	(%rcx), %rsi
	movq	_GL_DEPTH_ATTACHMENT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	xorl	%ecx, %ecx
	callq	_FBO_AttachImage
	movq	128(%r15), %rax
	movq	(%rax), %rdi
	callq	_R_CheckFBO
	movq	136(%r15), %rax
	movq	8(%rax), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r12, %rdi
	callq	_FBO_Create
	movq	128(%r15), %rcx
	movq	%rax, 8(%rcx)
	movq	128(%r15), %rax
	movq	8(%rax), %rdi
	movl	(%r14), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_FBO_CreateBuffer
	movq	128(%r15), %rax
	movq	136(%r15), %rcx
	movq	8(%rax), %rdi
	movq	8(%rcx), %rsi
	movl	(%rbx), %edx
	xorl	%ecx, %ecx
	callq	_FBO_AttachImage
	movq	128(%r15), %rax
	movq	8(%rax), %rdi
	callq	_R_CheckFBO
	movq	136(%r15), %rax
	movq	16(%rax), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r12, %rdi
	callq	_FBO_Create
	movq	128(%r15), %rcx
	movq	%rax, 16(%rcx)
	movq	128(%r15), %rax
	movq	16(%rax), %rdi
	movl	(%r14), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_FBO_CreateBuffer
	movq	128(%r15), %rax
	movq	136(%r15), %rcx
	movq	16(%rax), %rdi
	movq	16(%rcx), %rsi
	movl	(%rbx), %edx
	xorl	%ecx, %ecx
	callq	_FBO_AttachImage
	movq	128(%r15), %rax
	movq	16(%rax), %rdi
	callq	_R_CheckFBO
	movq	136(%r15), %rax
	movq	24(%rax), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r12, %rdi
	callq	_FBO_Create
	movq	128(%r15), %rcx
	movq	%rax, 24(%rcx)
	movq	128(%r15), %rax
	movq	24(%rax), %rdi
	movl	(%r14), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_FBO_CreateBuffer
	movq	128(%r15), %rax
	movq	136(%r15), %rcx
	movq	24(%rax), %rdi
	movq	24(%rcx), %rsi
	movl	(%rbx), %edx
	xorl	%ecx, %ecx
	callq	_FBO_AttachImage
	movq	128(%r15), %rax
	movq	24(%rax), %rdi
	callq	_R_CheckFBO
LBB0_31:
	movq	120(%r15), %rax
	testq	%rax, %rax
	je	LBB0_33
## %bb.32:
	movl	(%rax), %edx
	movl	4(%rax), %esi
	leaq	L_.str.8(%rip), %rdi
	callq	_FBO_Create
	movq	%rax, 112(%r15)
	movq	120(%r15), %rsi
	movq	_GL_COLOR_ATTACHMENT0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	xorl	%ecx, %ecx
	callq	_FBO_AttachImage
	movq	112(%r15), %rdi
	callq	_R_CheckFBO
LBB0_33:
	movq	104(%r15), %rax
	cmpq	$0, (%rax)
	je	LBB0_35
## %bb.34:
	leaq	L_.str.9(%rip), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_va
	movq	104(%r15), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %edx
	movl	4(%rcx), %esi
	movq	%rax, %rdi
	callq	_FBO_Create
	movq	96(%r15), %rcx
	movq	%rax, (%rcx)
	movq	96(%r15), %rax
	movq	104(%r15), %rcx
	movq	(%rax), %rdi
	movq	(%rcx), %rsi
	movq	_GL_COLOR_ATTACHMENT0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	xorl	%ecx, %ecx
	callq	_FBO_AttachImage
	movq	96(%r15), %rax
	movq	(%rax), %rdi
	callq	_R_CheckFBO
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_va
	movq	104(%r15), %rcx
	movq	8(%rcx), %rcx
	movl	(%rcx), %edx
	movl	4(%rcx), %esi
	movq	%rax, %rdi
	callq	_FBO_Create
	movq	96(%r15), %rcx
	movq	%rax, 8(%rcx)
	movq	96(%r15), %rax
	movq	104(%r15), %rcx
	movq	8(%rax), %rdi
	movq	8(%rcx), %rsi
	movl	(%rbx), %edx
	xorl	%ecx, %ecx
	callq	_FBO_AttachImage
	movq	96(%r15), %rax
	movq	8(%rax), %rdi
	callq	_R_CheckFBO
LBB0_35:
	movq	88(%r15), %rax
	testq	%rax, %rax
	je	LBB0_37
## %bb.36:
	movl	(%rax), %edx
	movl	4(%rax), %esi
	leaq	L_.str.10(%rip), %rdi
	callq	_FBO_Create
	movq	%rax, 80(%r15)
	movq	88(%r15), %rsi
	movq	_GL_COLOR_ATTACHMENT0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	xorl	%ecx, %ecx
	callq	_FBO_AttachImage
	movq	80(%r15), %rdi
	callq	_R_CheckFBO
LBB0_37:
	movq	72(%r15), %rax
	testq	%rax, %rax
	je	LBB0_39
## %bb.38:
	movl	(%rax), %edx
	movl	4(%rax), %esi
	leaq	L_.str.11(%rip), %rdi
	callq	_FBO_Create
	movq	%rax, 64(%r15)
	movq	72(%r15), %rsi
	movq	_GL_COLOR_ATTACHMENT0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	xorl	%ecx, %ecx
	callq	_FBO_AttachImage
	movq	64(%r15), %rdi
	callq	_R_CheckFBO
LBB0_39:
	movq	56(%r15), %rax
	cmpq	$0, (%rax)
	je	LBB0_41
## %bb.40:
	leaq	L_.str.12(%rip), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_va
	movq	56(%r15), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %edx
	movl	4(%rcx), %esi
	movq	%rax, %rdi
	callq	_FBO_Create
	movq	48(%r15), %rcx
	movq	%rax, (%rcx)
	movq	48(%r15), %rax
	movq	56(%r15), %rcx
	movq	(%rax), %rdi
	movq	(%rcx), %rsi
	movq	_GL_COLOR_ATTACHMENT0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	xorl	%ecx, %ecx
	callq	_FBO_AttachImage
	movq	48(%r15), %rax
	movq	(%rax), %rdi
	callq	_R_CheckFBO
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_va
	movq	56(%r15), %rcx
	movq	8(%rcx), %rcx
	movl	(%rcx), %edx
	movl	4(%rcx), %esi
	movq	%rax, %rdi
	callq	_FBO_Create
	movq	48(%r15), %rcx
	movq	%rax, 8(%rcx)
	movq	48(%r15), %rax
	movq	56(%r15), %rcx
	movq	8(%rax), %rdi
	movq	8(%rcx), %rsi
	movl	(%rbx), %edx
	xorl	%ecx, %ecx
	callq	_FBO_AttachImage
	movq	48(%r15), %rax
	movq	8(%rax), %rdi
	callq	_R_CheckFBO
LBB0_41:
	movq	40(%r15), %rax
	testq	%rax, %rax
	je	LBB0_43
## %bb.42:
	movl	(%rax), %edx
	movl	4(%rax), %esi
	leaq	L_.str.13(%rip), %rdi
	callq	_FBO_Create
	movq	%rax, 32(%r15)
	movq	40(%r15), %rsi
	movq	_GL_COLOR_ATTACHMENT0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	xorl	%ecx, %ecx
	callq	_FBO_AttachImage
	movq	32(%r15), %rdi
	callq	_R_CheckFBO
LBB0_43:
	movq	24(%r15), %rax
	testq	%rax, %rax
	je	LBB0_45
## %bb.44:
	movl	(%rax), %edx
	movl	4(%rax), %esi
	leaq	L_.str.14(%rip), %rdi
	callq	_FBO_Create
	movq	%rax, 16(%r15)
	movq	24(%r15), %rsi
	movq	_GL_COLOR_ATTACHMENT0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	xorl	%ecx, %ecx
	callq	_FBO_AttachImage
	movq	16(%r15), %rdi
	callq	_R_CheckFBO
LBB0_45:
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_47
## %bb.46:
	movl	(%rax), %edx
	movl	4(%rax), %esi
	leaq	L_.str.15(%rip), %rdi
	callq	_FBO_Create
	movq	%rax, (%r15)
	movq	8(%r15), %rsi
	movq	_GL_COLOR_ATTACHMENT0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	xorl	%ecx, %ecx
	callq	_FBO_AttachImage
	movq	(%r15), %rdi
	movq	_GL_DEPTH_COMPONENT24_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_FBO_CreateBuffer
	movq	(%r15), %rdi
	callq	_R_CheckFBO
LBB0_47:
	xorl	%eax, %eax
	callq	_GL_CheckErrors
	movq	_GL_FRAMEBUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_GL_BindFramebuffer
	movq	_glState@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_48:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ri,16,3                        ## @ri
	.comm	_PRINT_ALL,4,2                  ## @PRINT_ALL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"------- FBO_Init -------\n"

	.comm	_glRefConfig,32,3               ## @glRefConfig
	.comm	_tr,232,3                       ## @tr
	.comm	_GL_RGBA8,4,2                   ## @GL_RGBA8
	.comm	_r_hdr,8,3                      ## @r_hdr
	.comm	_GL_RGBA16F_ARB,4,2             ## @GL_RGBA16F_ARB
	.comm	_GL_MAX_SAMPLES,4,2             ## @GL_MAX_SAMPLES
	.comm	_r_ext_framebuffer_multisample,8,3 ## @r_ext_framebuffer_multisample
L_.str.1:                               ## @.str.1
	.asciz	"r_ext_framebuffer_multisample"

L_.str.2:                               ## @.str.2
	.asciz	"_render"

	.comm	_GL_DEPTH_COMPONENT24,4,2       ## @GL_DEPTH_COMPONENT24
L_.str.3:                               ## @.str.3
	.asciz	"_msaaResolve"

	.comm	_GL_COLOR_ATTACHMENT0,4,2       ## @GL_COLOR_ATTACHMENT0
	.comm	_GL_DEPTH_ATTACHMENT,4,2        ## @GL_DEPTH_ATTACHMENT
	.comm	_GL_FRAMEBUFFER,4,2             ## @GL_FRAMEBUFFER
	.comm	_GL_COLOR_BUFFER_BIT,4,2        ## @GL_COLOR_BUFFER_BIT
	.comm	_GL_DEPTH_BUFFER_BIT,4,2        ## @GL_DEPTH_BUFFER_BIT
L_.str.4:                               ## @.str.4
	.asciz	"screenScratch"

L_.str.5:                               ## @.str.5
	.asciz	"_sunRays"

	.comm	_MAX_DRAWN_PSHADOWS,4,2         ## @MAX_DRAWN_PSHADOWS
L_.str.6:                               ## @.str.6
	.asciz	"_shadowmap%d"

L_.str.7:                               ## @.str.7
	.asciz	"_sunshadowmap"

L_.str.8:                               ## @.str.8
	.asciz	"_screenshadow"

L_.str.9:                               ## @.str.9
	.asciz	"_texturescratch%d"

L_.str.10:                              ## @.str.10
	.asciz	"_calclevels"

L_.str.11:                              ## @.str.11
	.asciz	"_targetlevels"

L_.str.12:                              ## @.str.12
	.asciz	"_quarter%d"

L_.str.13:                              ## @.str.13
	.asciz	"_hdrDepth"

L_.str.14:                              ## @.str.14
	.asciz	"_screenssao"

L_.str.15:                              ## @.str.15
	.asciz	"_renderCubeFbo"

	.comm	_GL_DEPTH_COMPONENT24_ARB,4,2   ## @GL_DEPTH_COMPONENT24_ARB
	.comm	_glState,8,3                    ## @glState
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FBO_Init                       ; -- Begin function FBO_Init
	.p2align	2
_FBO_Init:                              ; @FBO_Init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	str	wzr, [sp, #12]
Lloh0:
	adrp	x22, _ri@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ri@GOTPAGEOFF]
	ldr	x8, [x22, #8]
Lloh2:
	adrp	x9, _PRINT_ALL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PRINT_ALL@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x9]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	blr	x8
Lloh7:
	adrp	x20, _glRefConfig@GOTPAGE
Lloh8:
	ldr	x20, [x20, _glRefConfig@GOTPAGEOFF]
	ldr	w8, [x20, #24]
	cbz	w8, LBB0_46
; %bb.1:
Lloh9:
	adrp	x21, _tr@GOTPAGE
Lloh10:
	ldr	x21, [x21, _tr@GOTPAGEOFF]
	str	xzr, [x21, #224]
	bl	_GL_CheckErrors
	bl	_R_IssuePendingRenderCommands
Lloh11:
	adrp	x23, _r_hdr@GOTPAGE
Lloh12:
	ldr	x23, [x23, _r_hdr@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x8, [x8]
	ldr	x9, [x20, #16]
	cmp	x9, #0
Lloh13:
	adrp	x9, _GL_RGBA16F_ARB@GOTPAGE
Lloh14:
	ldr	x9, [x9, _GL_RGBA16F_ARB@GOTPAGEOFF]
	ccmp	x8, #0, #4, ne
Lloh15:
	adrp	x24, _GL_RGBA8@GOTPAGE
Lloh16:
	ldr	x24, [x24, _GL_RGBA8@GOTPAGEOFF]
	csel	x8, x9, x24, ne
	ldr	w19, [x8]
	ldr	x8, [x20]
	cbz	x8, LBB0_3
; %bb.2:
Lloh17:
	adrp	x8, _GL_MAX_SAMPLES@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GL_MAX_SAMPLES@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	add	x1, sp, #12
	bl	_qglGetIntegerv
	ldr	w8, [sp, #12]
LBB0_3:
Lloh20:
	adrp	x9, _r_ext_framebuffer_multisample@GOTPAGE
Lloh21:
	ldr	x9, [x9, _r_ext_framebuffer_multisample@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	ldr	w10, [x9]
	cmp	w10, w8
	b.ge	LBB0_5
; %bb.4:
	str	w10, [sp, #12]
	mov	x8, x10
LBB0_5:
	cmp	w8, #2
	b.lt	LBB0_7
; %bb.6:
	ldr	w10, [x20, #8]
	cbnz	w10, LBB0_8
LBB0_7:
	mov	w8, #0
	str	wzr, [sp, #12]
LBB0_8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_10
; %bb.9:
	ldr	x9, [x22]
	scvtf	s0, w8
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	blr	x9
	ldr	w8, [sp, #12]
LBB0_10:
Lloh25:
	adrp	x22, _GL_COLOR_ATTACHMENT0@GOTPAGE
Lloh26:
	ldr	x22, [x22, _GL_COLOR_ATTACHMENT0@GOTPAGEOFF]
Lloh27:
	adrp	x25, _GL_DEPTH_ATTACHMENT@GOTPAGE
Lloh28:
	ldr	x25, [x25, _GL_DEPTH_ATTACHMENT@GOTPAGEOFF]
	cbz	w8, LBB0_13
; %bb.11:
	ldr	x8, [x20]
	cbz	x8, LBB0_13
; %bb.12:
	ldr	x8, [x21, #168]
	ldp	w2, w1, [x8]
Lloh29:
	adrp	x0, l_.str.2@PAGE
Lloh30:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_FBO_Create
	str	x0, [x21, #200]
	ldr	w3, [sp, #12]
	mov	x1, x19
	mov	w2, #0
	bl	_FBO_CreateBuffer
	ldr	x0, [x21, #200]
Lloh31:
	adrp	x8, _GL_DEPTH_COMPONENT24@GOTPAGE
Lloh32:
	ldr	x8, [x8, _GL_DEPTH_COMPONENT24@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	ldr	w3, [sp, #12]
	mov	w2, #0
	bl	_FBO_CreateBuffer
	ldr	x0, [x21, #200]
	bl	_R_CheckFBO
	ldr	x8, [x21, #168]
	ldp	w2, w1, [x8]
Lloh34:
	adrp	x0, l_.str.3@PAGE
Lloh35:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_FBO_Create
	mov	x19, x21
	str	x0, [x19, #216]!
	b	LBB0_15
LBB0_13:
	ldr	x8, [x23]
	ldr	x8, [x8]
	cbz	x8, LBB0_16
; %bb.14:
	ldr	x8, [x21, #168]
	ldp	w2, w1, [x8]
Lloh36:
	adrp	x0, l_.str.2@PAGE
Lloh37:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_FBO_Create
	mov	x19, x21
	str	x0, [x19, #200]!
LBB0_15:
	ldr	x1, [x21, #208]
	ldr	w2, [x22]
	mov	w3, #0
	bl	_FBO_AttachImage
	ldr	x0, [x19]
	ldr	x1, [x21, #168]
	ldr	w2, [x25]
	mov	w3, #0
	bl	_FBO_AttachImage
	ldr	x0, [x19]
	bl	_R_CheckFBO
LBB0_16:
	ldr	x8, [x21, #200]
Lloh38:
	adrp	x23, _GL_FRAMEBUFFER@GOTPAGE
Lloh39:
	ldr	x23, [x23, _GL_FRAMEBUFFER@GOTPAGEOFF]
	cbz	x8, LBB0_18
; %bb.17:
	ldr	w0, [x23]
	ldr	w1, [x8]
	bl	_GL_BindFramebuffer
Lloh40:
	adrp	x8, _GL_COLOR_BUFFER_BIT@GOTPAGE
Lloh41:
	ldr	x8, [x8, _GL_COLOR_BUFFER_BIT@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
Lloh43:
	adrp	x9, _GL_DEPTH_BUFFER_BIT@GOTPAGE
Lloh44:
	ldr	x9, [x9, _GL_DEPTH_BUFFER_BIT@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_qglClear
LBB0_18:
	ldr	x8, [x21, #192]
	cbz	x8, LBB0_20
; %bb.19:
	ldp	w2, w1, [x8]
Lloh46:
	adrp	x0, l_.str.4@PAGE
Lloh47:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_FBO_Create
	str	x0, [x21, #184]
	ldr	x1, [x21, #192]
	ldr	w2, [x22]
	mov	w3, #0
	bl	_FBO_AttachImage
	ldr	x0, [x21, #184]
	ldr	x1, [x21, #168]
	ldr	w2, [x25]
	mov	w3, #0
	bl	_FBO_AttachImage
	ldr	x0, [x21, #184]
	bl	_R_CheckFBO
LBB0_20:
	ldr	x8, [x21, #176]
	cbz	x8, LBB0_22
; %bb.21:
	ldr	x8, [x21, #168]
	ldp	w2, w1, [x8]
Lloh48:
	adrp	x0, l_.str.5@PAGE
Lloh49:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_FBO_Create
	str	x0, [x21, #160]
	ldr	x1, [x21, #176]
	ldr	w2, [x22]
	mov	w3, #0
	bl	_FBO_AttachImage
	ldp	x0, x1, [x21, #160]
	ldr	w2, [x25]
	mov	w3, #0
	bl	_FBO_AttachImage
	ldr	x0, [x21, #160]
	bl	_R_CheckFBO
LBB0_22:
Lloh50:
	adrp	x26, _MAX_DRAWN_PSHADOWS@GOTPAGE
Lloh51:
	ldr	x26, [x26, _MAX_DRAWN_PSHADOWS@GOTPAGEOFF]
	ldr	w8, [x26]
	cbz	w8, LBB0_27
; %bb.23:
	ldr	x9, [x21, #152]
	ldr	x9, [x9]
	cbz	x9, LBB0_27
; %bb.24:
	cmp	w8, #1
	b.lt	LBB0_27
; %bb.25:
	mov	x19, #0
Lloh52:
	adrp	x20, l_.str.6@PAGE
Lloh53:
	add	x20, x20, l_.str.6@PAGEOFF
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_va
	ldr	x8, [x21, #152]
	lsl	x27, x19, #3
	ldr	x8, [x8, x27]
	ldp	w2, w1, [x8]
	bl	_FBO_Create
	ldr	x8, [x21, #144]
	str	x0, [x8, x27]
	ldr	x8, [x21, #144]
	ldr	x0, [x8, x27]
	ldr	w1, [x24]
	mov	w2, #0
	mov	w3, #0
	bl	_FBO_CreateBuffer
	ldp	x8, x9, [x21, #144]
	ldr	x0, [x8, x27]
	ldr	x1, [x9, x27]
	ldr	w2, [x25]
	mov	w3, #0
	bl	_FBO_AttachImage
	ldr	x8, [x21, #144]
	ldr	x0, [x8, x27]
	bl	_R_CheckFBO
	add	x19, x19, #1
	ldrsw	x8, [x26]
	cmp	x19, x8
	b.lt	LBB0_26
LBB0_27:
	ldr	x8, [x21, #136]
	ldr	x8, [x8]
	cbz	x8, LBB0_29
; %bb.28:
	ldp	w2, w1, [x8]
Lloh54:
	adrp	x19, l_.str.7@PAGE
Lloh55:
	add	x19, x19, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_FBO_Create
	ldr	x8, [x21, #128]
	str	x0, [x8]
	ldr	x8, [x21, #128]
	ldr	x0, [x8]
	ldr	w1, [x24]
	mov	w2, #0
	mov	w3, #0
	bl	_FBO_CreateBuffer
	ldp	x8, x9, [x21, #128]
	ldr	x0, [x8]
	ldr	x1, [x9]
	ldr	w2, [x25]
	mov	w3, #0
	bl	_FBO_AttachImage
	ldr	x8, [x21, #128]
	ldr	x0, [x8]
	bl	_R_CheckFBO
	ldr	x8, [x21, #136]
	ldr	x8, [x8, #8]
	ldp	w2, w1, [x8]
	mov	x0, x19
	bl	_FBO_Create
	ldr	x8, [x21, #128]
	str	x0, [x8, #8]
	ldr	x8, [x21, #128]
	ldr	x0, [x8, #8]
	ldr	w1, [x24]
	mov	w2, #0
	mov	w3, #0
	bl	_FBO_CreateBuffer
	ldp	x8, x9, [x21, #128]
	ldr	x0, [x8, #8]
	ldr	x1, [x9, #8]
	ldr	w2, [x25]
	mov	w3, #0
	bl	_FBO_AttachImage
	ldr	x8, [x21, #128]
	ldr	x0, [x8, #8]
	bl	_R_CheckFBO
	ldr	x8, [x21, #136]
	ldr	x8, [x8, #16]
	ldp	w2, w1, [x8]
	mov	x0, x19
	bl	_FBO_Create
	ldr	x8, [x21, #128]
	str	x0, [x8, #16]
	ldr	x8, [x21, #128]
	ldr	x0, [x8, #16]
	ldr	w1, [x24]
	mov	w2, #0
	mov	w3, #0
	bl	_FBO_CreateBuffer
	ldp	x8, x9, [x21, #128]
	ldr	x0, [x8, #16]
	ldr	x1, [x9, #16]
	ldr	w2, [x25]
	mov	w3, #0
	bl	_FBO_AttachImage
	ldr	x8, [x21, #128]
	ldr	x0, [x8, #16]
	bl	_R_CheckFBO
	ldr	x8, [x21, #136]
	ldr	x8, [x8, #24]
	ldp	w2, w1, [x8]
	mov	x0, x19
	bl	_FBO_Create
	ldr	x8, [x21, #128]
	str	x0, [x8, #24]
	ldr	x8, [x21, #128]
	ldr	x0, [x8, #24]
	ldr	w1, [x24]
	mov	w2, #0
	mov	w3, #0
	bl	_FBO_CreateBuffer
	ldp	x8, x9, [x21, #128]
	ldr	x0, [x8, #24]
	ldr	x1, [x9, #24]
	ldr	w2, [x25]
	mov	w3, #0
	bl	_FBO_AttachImage
	ldr	x8, [x21, #128]
	ldr	x0, [x8, #24]
	bl	_R_CheckFBO
LBB0_29:
	ldr	x8, [x21, #120]
	cbz	x8, LBB0_31
; %bb.30:
	ldp	w2, w1, [x8]
Lloh56:
	adrp	x0, l_.str.8@PAGE
Lloh57:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_FBO_Create
	str	x0, [x21, #112]
	ldr	x1, [x21, #120]
	ldr	w2, [x22]
	mov	w3, #0
	bl	_FBO_AttachImage
	ldr	x0, [x21, #112]
	bl	_R_CheckFBO
LBB0_31:
	ldr	x8, [x21, #104]
	ldr	x8, [x8]
	cbz	x8, LBB0_33
; %bb.32:
Lloh58:
	adrp	x19, l_.str.9@PAGE
Lloh59:
	add	x19, x19, l_.str.9@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_va
	ldr	x8, [x21, #104]
	ldr	x8, [x8]
	ldp	w2, w1, [x8]
	bl	_FBO_Create
	ldr	x8, [x21, #96]
	str	x0, [x8]
	ldp	x8, x9, [x21, #96]
	ldr	x0, [x8]
	ldr	x1, [x9]
	ldr	w2, [x22]
	mov	w3, #0
	bl	_FBO_AttachImage
	ldr	x8, [x21, #96]
	ldr	x0, [x8]
	bl	_R_CheckFBO
	mov	x0, x19
	mov	w1, #1
	bl	_va
	ldr	x8, [x21, #104]
	ldr	x8, [x8, #8]
	ldp	w2, w1, [x8]
	bl	_FBO_Create
	ldr	x8, [x21, #96]
	str	x0, [x8, #8]
	ldp	x8, x9, [x21, #96]
	ldr	x0, [x8, #8]
	ldr	x1, [x9, #8]
	ldr	w2, [x22]
	mov	w3, #0
	bl	_FBO_AttachImage
	ldr	x8, [x21, #96]
	ldr	x0, [x8, #8]
	bl	_R_CheckFBO
LBB0_33:
	ldr	x8, [x21, #88]
	cbz	x8, LBB0_35
; %bb.34:
	ldp	w2, w1, [x8]
Lloh60:
	adrp	x0, l_.str.10@PAGE
Lloh61:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_FBO_Create
	str	x0, [x21, #80]
	ldr	x1, [x21, #88]
	ldr	w2, [x22]
	mov	w3, #0
	bl	_FBO_AttachImage
	ldr	x0, [x21, #80]
	bl	_R_CheckFBO
LBB0_35:
	ldr	x8, [x21, #72]
	cbz	x8, LBB0_37
; %bb.36:
	ldp	w2, w1, [x8]
Lloh62:
	adrp	x0, l_.str.11@PAGE
Lloh63:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_FBO_Create
	str	x0, [x21, #64]
	ldr	x1, [x21, #72]
	ldr	w2, [x22]
	mov	w3, #0
	bl	_FBO_AttachImage
	ldr	x0, [x21, #64]
	bl	_R_CheckFBO
LBB0_37:
	ldr	x8, [x21, #56]
	ldr	x8, [x8]
	cbz	x8, LBB0_39
; %bb.38:
Lloh64:
	adrp	x19, l_.str.12@PAGE
Lloh65:
	add	x19, x19, l_.str.12@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_va
	ldr	x8, [x21, #56]
	ldr	x8, [x8]
	ldp	w2, w1, [x8]
	bl	_FBO_Create
	ldr	x8, [x21, #48]
	str	x0, [x8]
	ldp	x8, x9, [x21, #48]
	ldr	x0, [x8]
	ldr	x1, [x9]
	ldr	w2, [x22]
	mov	w3, #0
	bl	_FBO_AttachImage
	ldr	x8, [x21, #48]
	ldr	x0, [x8]
	bl	_R_CheckFBO
	mov	x0, x19
	mov	w1, #1
	bl	_va
	ldr	x8, [x21, #56]
	ldr	x8, [x8, #8]
	ldp	w2, w1, [x8]
	bl	_FBO_Create
	ldr	x8, [x21, #48]
	str	x0, [x8, #8]
	ldp	x8, x9, [x21, #48]
	ldr	x0, [x8, #8]
	ldr	x1, [x9, #8]
	ldr	w2, [x22]
	mov	w3, #0
	bl	_FBO_AttachImage
	ldr	x8, [x21, #48]
	ldr	x0, [x8, #8]
	bl	_R_CheckFBO
LBB0_39:
	ldr	x8, [x21, #40]
	cbz	x8, LBB0_41
; %bb.40:
	ldp	w2, w1, [x8]
Lloh66:
	adrp	x0, l_.str.13@PAGE
Lloh67:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_FBO_Create
	str	x0, [x21, #32]
	ldr	x1, [x21, #40]
	ldr	w2, [x22]
	mov	w3, #0
	bl	_FBO_AttachImage
	ldr	x0, [x21, #32]
	bl	_R_CheckFBO
LBB0_41:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_43
; %bb.42:
	ldp	w2, w1, [x8]
Lloh68:
	adrp	x0, l_.str.14@PAGE
Lloh69:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_FBO_Create
	str	x0, [x21, #16]
	ldr	x1, [x21, #24]
	ldr	w2, [x22]
	mov	w3, #0
	bl	_FBO_AttachImage
	ldr	x0, [x21, #16]
	bl	_R_CheckFBO
LBB0_43:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_45
; %bb.44:
	ldp	w2, w1, [x8]
Lloh70:
	adrp	x0, l_.str.15@PAGE
Lloh71:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_FBO_Create
	str	x0, [x21]
	ldr	x1, [x21, #8]
	ldr	w2, [x22]
	mov	w3, #0
	bl	_FBO_AttachImage
	ldr	x0, [x21]
Lloh72:
	adrp	x8, _GL_DEPTH_COMPONENT24_ARB@GOTPAGE
Lloh73:
	ldr	x8, [x8, _GL_DEPTH_COMPONENT24_ARB@GOTPAGEOFF]
Lloh74:
	ldr	w1, [x8]
	mov	w2, #0
	mov	w3, #0
	bl	_FBO_CreateBuffer
	ldr	x0, [x21]
	bl	_R_CheckFBO
LBB0_45:
	bl	_GL_CheckErrors
	ldr	w0, [x23]
	mov	w1, #0
	bl	_GL_BindFramebuffer
Lloh75:
	adrp	x8, _glState@GOTPAGE
Lloh76:
	ldr	x8, [x8, _glState@GOTPAGEOFF]
Lloh77:
	str	xzr, [x8]
LBB0_46:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGotStr	Lloh75, Lloh76, Lloh77
	.cfi_endproc
                                        ; -- End function
	.comm	_ri,16,3                        ; @ri
	.comm	_PRINT_ALL,4,2                  ; @PRINT_ALL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"------- FBO_Init -------\n"

	.comm	_glRefConfig,32,3               ; @glRefConfig
	.comm	_tr,232,3                       ; @tr
	.comm	_GL_RGBA8,4,2                   ; @GL_RGBA8
	.comm	_r_hdr,8,3                      ; @r_hdr
	.comm	_GL_RGBA16F_ARB,4,2             ; @GL_RGBA16F_ARB
	.comm	_GL_MAX_SAMPLES,4,2             ; @GL_MAX_SAMPLES
	.comm	_r_ext_framebuffer_multisample,8,3 ; @r_ext_framebuffer_multisample
l_.str.1:                               ; @.str.1
	.asciz	"r_ext_framebuffer_multisample"

l_.str.2:                               ; @.str.2
	.asciz	"_render"

	.comm	_GL_DEPTH_COMPONENT24,4,2       ; @GL_DEPTH_COMPONENT24
l_.str.3:                               ; @.str.3
	.asciz	"_msaaResolve"

	.comm	_GL_COLOR_ATTACHMENT0,4,2       ; @GL_COLOR_ATTACHMENT0
	.comm	_GL_DEPTH_ATTACHMENT,4,2        ; @GL_DEPTH_ATTACHMENT
	.comm	_GL_FRAMEBUFFER,4,2             ; @GL_FRAMEBUFFER
	.comm	_GL_COLOR_BUFFER_BIT,4,2        ; @GL_COLOR_BUFFER_BIT
	.comm	_GL_DEPTH_BUFFER_BIT,4,2        ; @GL_DEPTH_BUFFER_BIT
l_.str.4:                               ; @.str.4
	.asciz	"screenScratch"

l_.str.5:                               ; @.str.5
	.asciz	"_sunRays"

	.comm	_MAX_DRAWN_PSHADOWS,4,2         ; @MAX_DRAWN_PSHADOWS
l_.str.6:                               ; @.str.6
	.asciz	"_shadowmap%d"

l_.str.7:                               ; @.str.7
	.asciz	"_sunshadowmap"

l_.str.8:                               ; @.str.8
	.asciz	"_screenshadow"

l_.str.9:                               ; @.str.9
	.asciz	"_texturescratch%d"

l_.str.10:                              ; @.str.10
	.asciz	"_calclevels"

l_.str.11:                              ; @.str.11
	.asciz	"_targetlevels"

l_.str.12:                              ; @.str.12
	.asciz	"_quarter%d"

l_.str.13:                              ; @.str.13
	.asciz	"_hdrDepth"

l_.str.14:                              ; @.str.14
	.asciz	"_screenssao"

l_.str.15:                              ; @.str.15
	.asciz	"_renderCubeFbo"

	.comm	_GL_DEPTH_COMPONENT24_ARB,4,2   ; @GL_DEPTH_COMPONENT24_ARB
	.comm	_glState,8,3                    ; @glState
.subsections_via_symbols
