	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function RB_SetGL2D
LCPI0_0:
	.quad	0x3f50624dd2f1a9fc              ## double 0.001
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_RB_SetGL2D
	.p2align	4, 0x90
_RB_SetGL2D:                            ## @RB_SetGL2D
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_backEnd@GOTPCREL(%rip), %r14
	movl	%eax, 32(%r14)
	movq	16(%r14), %rax
	movq	%rax, 24(%r14)
	movq	_glConfig@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_qglViewport
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_qglScissor
	movq	_GL_PROJECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_qglMatrixMode
	xorl	%eax, %eax
	callq	_qglLoadIdentity
	cmpq	$0, 24(%r14)
	movl	(%rbx), %ecx
	movl	4(%rbx), %esi
	je	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	xorl	%edx, %edx
	jmp	LBB0_3
LBB0_2:
	xorl	%edi, %edi
	movl	%ecx, %edx
	xorl	%ecx, %ecx
LBB0_3:
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_qglOrtho
	movq	_GL_MODELVIEW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_qglMatrixMode
	xorl	%eax, %eax
	callq	_qglLoadIdentity
	movq	_GLS_DEPTHTEST_DISABLE@GOTPCREL(%rip), %rax
	movq	_GLS_SRCBLEND_SRC_ALPHA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_GLS_DSTBLEND_ONE_MINUS_SRC_ALPHA@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_GL_State
	movq	_CT_TWO_SIDED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GL_Cull
	movq	_GL_CLIP_PLANE0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_qglDisable
	movq	_ri@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	callq	*(%rcx)
	movsd	%xmm0, (%r14)
	mulsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, 8(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_backEnd,40,3                   ## @backEnd
	.comm	_glConfig,8,2                   ## @glConfig
	.comm	_GL_PROJECTION,4,2              ## @GL_PROJECTION
	.comm	_GL_MODELVIEW,4,2               ## @GL_MODELVIEW
	.comm	_GLS_DEPTHTEST_DISABLE,4,2      ## @GLS_DEPTHTEST_DISABLE
	.comm	_GLS_SRCBLEND_SRC_ALPHA,4,2     ## @GLS_SRCBLEND_SRC_ALPHA
	.comm	_GLS_DSTBLEND_ONE_MINUS_SRC_ALPHA,4,2 ## @GLS_DSTBLEND_ONE_MINUS_SRC_ALPHA
	.comm	_CT_TWO_SIDED,4,2               ## @CT_TWO_SIDED
	.comm	_GL_CLIP_PLANE0,4,2             ## @GL_CLIP_PLANE0
	.comm	_ri,8,3                         ## @ri
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RB_SetGL2D                     ; -- Begin function RB_SetGL2D
	.p2align	2
_RB_SetGL2D:                            ; @RB_SetGL2D
	.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, _qtrue@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x19, _backEnd@GOTPAGE
Lloh4:
	ldr	x19, [x19, _backEnd@GOTPAGEOFF]
	str	w8, [x19, #32]
	ldr	x8, [x19, #16]
	str	x8, [x19, #24]
Lloh5:
	adrp	x20, _glConfig@GOTPAGE
Lloh6:
	ldr	x20, [x20, _glConfig@GOTPAGEOFF]
	ldp	w3, w2, [x20]
	mov	w0, #0
	mov	w1, #0
	bl	_qglViewport
	ldp	w3, w2, [x20]
	mov	w0, #0
	mov	w1, #0
	bl	_qglScissor
Lloh7:
	adrp	x8, _GL_PROJECTION@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GL_PROJECTION@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_qglMatrixMode
	bl	_qglLoadIdentity
	ldr	x8, [x19, #24]
	ldp	w3, w1, [x20]
	mov	w0, #0
	cbz	x8, LBB0_2
; %bb.1:
	mov	w2, #0
	b	LBB0_3
LBB0_2:
	mov	x2, x3
	mov	w3, #0
LBB0_3:
	mov	w4, #0
	mov	w5, #1
	bl	_qglOrtho
Lloh10:
	adrp	x8, _GL_MODELVIEW@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GL_MODELVIEW@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_qglMatrixMode
	bl	_qglLoadIdentity
Lloh13:
	adrp	x8, _GLS_DEPTHTEST_DISABLE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GLS_DEPTHTEST_DISABLE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _GLS_SRCBLEND_SRC_ALPHA@GOTPAGE
Lloh17:
	ldr	x9, [x9, _GLS_SRCBLEND_SRC_ALPHA@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh19:
	adrp	x9, _GLS_DSTBLEND_ONE_MINUS_SRC_ALPHA@GOTPAGE
Lloh20:
	ldr	x9, [x9, _GLS_DSTBLEND_ONE_MINUS_SRC_ALPHA@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w0, w8, w9
	bl	_GL_State
Lloh22:
	adrp	x8, _CT_TWO_SIDED@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CT_TWO_SIDED@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_GL_Cull
Lloh25:
	adrp	x8, _GL_CLIP_PLANE0@GOTPAGE
Lloh26:
	ldr	x8, [x8, _GL_CLIP_PLANE0@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_qglDisable
Lloh28:
	adrp	x8, _ri@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ri@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	blr	x8
	mov	x8, #43516
	movk	x8, #54001, lsl #16
	movk	x8, #25165, lsl #32
	movk	x8, #16208, lsl #48
	fmov	d1, x8
	fmul	d1, d0, d1
	stp	d0, d1, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_backEnd,40,3                   ; @backEnd
	.comm	_glConfig,8,2                   ; @glConfig
	.comm	_GL_PROJECTION,4,2              ; @GL_PROJECTION
	.comm	_GL_MODELVIEW,4,2               ; @GL_MODELVIEW
	.comm	_GLS_DEPTHTEST_DISABLE,4,2      ; @GLS_DEPTHTEST_DISABLE
	.comm	_GLS_SRCBLEND_SRC_ALPHA,4,2     ; @GLS_SRCBLEND_SRC_ALPHA
	.comm	_GLS_DSTBLEND_ONE_MINUS_SRC_ALPHA,4,2 ; @GLS_DSTBLEND_ONE_MINUS_SRC_ALPHA
	.comm	_CT_TWO_SIDED,4,2               ; @CT_TWO_SIDED
	.comm	_GL_CLIP_PLANE0,4,2             ; @GL_CLIP_PLANE0
	.comm	_ri,8,3                         ; @ri
.subsections_via_symbols
