	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function RB_ShadowFinish
LCPI0_0:
	.long	0x3f19999a                      ## float 0.600000024
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_RB_ShadowFinish
	.p2align	4, 0x90
_RB_ShadowFinish:                       ## @RB_ShadowFinish
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_r_shadows@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$2, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_glConfig@GOTPCREL(%rip), %rax
	cmpl	$4, (%rax)
	jl	LBB0_2
## %bb.3:
	movq	_GL_STENCIL_TEST@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_qglEnable
	movq	_GL_NOTEQUAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	movl	$255, %edx
	callq	_qglStencilFunc
	movq	_GL_CLIP_PLANE0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_qglDisable
	movq	_CT_TWO_SIDED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GL_Cull
	movq	_tr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GL_Bind
	xorl	%eax, %eax
	callq	_qglLoadIdentity
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movaps	%xmm0, %xmm1
	movaps	%xmm0, %xmm2
	callq	_qglColor3f
	movq	_GLS_DEPTHMASK_TRUE@GOTPCREL(%rip), %rax
	movq	_GLS_SRCBLEND_DST_COLOR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_GLS_DSTBLEND_ZERO@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_GL_State
	movq	_GL_QUADS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_qglBegin
	movl	$-100, %edi
	movl	$100, %esi
	movl	$-10, %edx
	callq	_qglVertex3f
	movl	$100, %edi
	movl	$100, %esi
	movl	$-10, %edx
	callq	_qglVertex3f
	movl	$100, %edi
	movl	$-100, %esi
	movl	$-10, %edx
	callq	_qglVertex3f
	movl	$-100, %edi
	movl	$-100, %esi
	movl	$-10, %edx
	callq	_qglVertex3f
	xorl	%eax, %eax
	callq	_qglEnd
	movl	$1, %edi
	movl	$1, %esi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_qglColor4f
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_qglDisable                     ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_r_shadows,8,3                  ## @r_shadows
	.comm	_glConfig,4,2                   ## @glConfig
	.comm	_GL_STENCIL_TEST,4,2            ## @GL_STENCIL_TEST
	.comm	_GL_NOTEQUAL,4,2                ## @GL_NOTEQUAL
	.comm	_GL_CLIP_PLANE0,4,2             ## @GL_CLIP_PLANE0
	.comm	_CT_TWO_SIDED,4,2               ## @CT_TWO_SIDED
	.comm	_tr,4,2                         ## @tr
	.comm	_GLS_DEPTHMASK_TRUE,4,2         ## @GLS_DEPTHMASK_TRUE
	.comm	_GLS_SRCBLEND_DST_COLOR,4,2     ## @GLS_SRCBLEND_DST_COLOR
	.comm	_GLS_DSTBLEND_ZERO,4,2          ## @GLS_DSTBLEND_ZERO
	.comm	_GL_QUADS,4,2                   ## @GL_QUADS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RB_ShadowFinish                ; -- Begin function RB_ShadowFinish
	.p2align	2
_RB_ShadowFinish:                       ; @RB_ShadowFinish
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _r_shadows@GOTPAGE
Lloh1:
	ldr	x8, [x8, _r_shadows@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _glConfig@GOTPAGE
Lloh4:
	ldr	x9, [x9, _glConfig@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, #2
	ccmp	w9, #4, #8, eq
	b.ge	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh6:
	adrp	x19, _GL_STENCIL_TEST@GOTPAGE
Lloh7:
	ldr	x19, [x19, _GL_STENCIL_TEST@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_qglEnable
Lloh8:
	adrp	x8, _GL_NOTEQUAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GL_NOTEQUAL@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	w1, #0
	mov	w2, #255
	bl	_qglStencilFunc
Lloh11:
	adrp	x8, _GL_CLIP_PLANE0@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GL_CLIP_PLANE0@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_qglDisable
Lloh14:
	adrp	x8, _CT_TWO_SIDED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CT_TWO_SIDED@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_GL_Cull
Lloh17:
	adrp	x8, _tr@GOTPAGE
Lloh18:
	ldr	x8, [x8, _tr@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_GL_Bind
	bl	_qglLoadIdentity
	mov	w8, #39322
	movk	w8, #16153, lsl #16
	fmov	s0, w8
	fmov	s1, s0
	fmov	s2, s0
	bl	_qglColor3f
Lloh20:
	adrp	x8, _GLS_DEPTHMASK_TRUE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GLS_DEPTHMASK_TRUE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _GLS_SRCBLEND_DST_COLOR@GOTPAGE
Lloh24:
	ldr	x9, [x9, _GLS_SRCBLEND_DST_COLOR@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh26:
	adrp	x9, _GLS_DSTBLEND_ZERO@GOTPAGE
Lloh27:
	ldr	x9, [x9, _GLS_DSTBLEND_ZERO@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w0, w8, w9
	bl	_GL_State
Lloh29:
	adrp	x8, _GL_QUADS@GOTPAGE
Lloh30:
	ldr	x8, [x8, _GL_QUADS@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	bl	_qglBegin
	mov	w0, #-100
	mov	w1, #100
	mov	w2, #-10
	bl	_qglVertex3f
	mov	w0, #100
	mov	w1, #100
	mov	w2, #-10
	bl	_qglVertex3f
	mov	w0, #100
	mov	w1, #-100
	mov	w2, #-10
	bl	_qglVertex3f
	mov	w0, #-100
	mov	w1, #-100
	mov	w2, #-10
	bl	_qglVertex3f
	bl	_qglEnd
	mov	w0, #1
	mov	w1, #1
	mov	w2, #1
	mov	w3, #1
	bl	_qglColor4f
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_qglDisable
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_r_shadows,8,3                  ; @r_shadows
	.comm	_glConfig,4,2                   ; @glConfig
	.comm	_GL_STENCIL_TEST,4,2            ; @GL_STENCIL_TEST
	.comm	_GL_NOTEQUAL,4,2                ; @GL_NOTEQUAL
	.comm	_GL_CLIP_PLANE0,4,2             ; @GL_CLIP_PLANE0
	.comm	_CT_TWO_SIDED,4,2               ; @CT_TWO_SIDED
	.comm	_tr,4,2                         ; @tr
	.comm	_GLS_DEPTHMASK_TRUE,4,2         ; @GLS_DEPTHMASK_TRUE
	.comm	_GLS_SRCBLEND_DST_COLOR,4,2     ; @GLS_SRCBLEND_DST_COLOR
	.comm	_GLS_DSTBLEND_ZERO,4,2          ; @GLS_DSTBLEND_ZERO
	.comm	_GL_QUADS,4,2                   ; @GL_QUADS
.subsections_via_symbols
