	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function RB_UpdateSunFlareVis
_RB_UpdateSunFlareVis:                  ## @RB_UpdateSunFlareVis
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	$0, -8(%rbp)
	movq	_glRefConfig@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_tr@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rax
	xorq	$1, %rax
	movl	%eax, (%rcx)
	movq	16(%rcx), %rdx
	cmpl	$0, (%rdx,%rax,4)
	je	LBB0_1
## %bb.3:
	movq	8(%rcx), %rcx
	movl	(%rcx,%rax,4), %edi
	movq	_GL_QUERY_RESULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-8(%rbp), %rdx
	callq	_qglGetQueryObjectuiv
	xorl	%eax, %eax
	cmpq	$0, -8(%rbp)
	setg	%al
	jmp	LBB0_4
LBB0_1:
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_glRefConfig,4,2                ## @glRefConfig
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_tr,24,3                        ## @tr
	.comm	_GL_QUERY_RESULT,4,2            ## @GL_QUERY_RESULT
	.comm	_GL_QUERY_RESULT_AVAILABLE,4,2  ## @GL_QUERY_RESULT_AVAILABLE
	.comm	_PRINT_DEVELOPER,4,2            ## @PRINT_DEVELOPER
	.comm	_ri,8,3                         ## @ri
	.no_dead_strip	_RB_UpdateSunFlareVis
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function RB_UpdateSunFlareVis
_RB_UpdateSunFlareVis:                  ; @RB_UpdateSunFlareVis
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _glRefConfig@GOTPAGE
Lloh1:
	ldr	x8, [x8, _glRefConfig@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _tr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tr@GOTPAGEOFF]
	ldrsw	x9, [x8]
	eor	x9, x9, #0x1
	str	w9, [x8]
	ldr	x10, [x8, #16]
	ldr	w10, [x10, x9, lsl #2]
	cbz	w10, LBB0_3
; %bb.2:
	ldr	x8, [x8, #8]
	ldr	w0, [x8, x9, lsl #2]
Lloh5:
	adrp	x8, _GL_QUERY_RESULT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GL_QUERY_RESULT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_qglGetQueryObjectuiv
	ldr	x8, [sp, #8]
	cmp	x8, #0
	cset	w0, gt
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _qtrue@GOTPAGE
Lloh9:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_glRefConfig,4,2                ; @glRefConfig
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_tr,24,3                        ; @tr
	.comm	_GL_QUERY_RESULT,4,2            ; @GL_QUERY_RESULT
	.comm	_GL_QUERY_RESULT_AVAILABLE,4,2  ; @GL_QUERY_RESULT_AVAILABLE
	.comm	_PRINT_DEVELOPER,4,2            ; @PRINT_DEVELOPER
	.comm	_ri,8,3                         ; @ri
	.no_dead_strip	_RB_UpdateSunFlareVis
.subsections_via_symbols
