	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RB_ColorMask                   ## -- Begin function RB_ColorMask
	.p2align	4, 0x90
_RB_ColorMask:                          ## @RB_ColorMask
	.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	%rdi, %rbx
	movq	_tess@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_RB_EndSurface
LBB0_2:
	movq	_glRefConfig@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	(%rbx), %rax
	je	LBB0_4
## %bb.3:
	xorl	%ecx, %ecx
	cmpl	$0, (%rax)
	sete	%cl
	movq	_backEnd@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%ecx, (%rdx)
	xorl	%ecx, %ecx
	cmpl	$0, 4(%rax)
	sete	%cl
	movl	%ecx, 4(%rdx)
	xorl	%ecx, %ecx
	cmpl	$0, 8(%rax)
	sete	%cl
	movl	%ecx, 8(%rdx)
	xorl	%ecx, %ecx
	cmpl	$0, 12(%rax)
	sete	%cl
	movl	%ecx, 12(%rdx)
LBB0_4:
	movl	(%rax), %edi
	movl	4(%rax), %esi
	movl	8(%rax), %edx
	movl	12(%rax), %ecx
	callq	_qglColorMask
	addq	$8, %rbx
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tess,8,3                       ## @tess
	.comm	_glRefConfig,8,3                ## @glRefConfig
	.comm	_backEnd,8,3                    ## @backEnd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RB_ColorMask                   ; -- Begin function RB_ColorMask
	.p2align	2
_RB_ColorMask:                          ; @RB_ColorMask
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _tess@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tess@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_RB_EndSurface
LBB0_2:
Lloh3:
	adrp	x8, _glRefConfig@GOTPAGE
Lloh4:
	ldr	x8, [x8, _glRefConfig@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x8]
	ldr	x8, [x19]
	cbz	x9, LBB0_4
; %bb.3:
	ldr	w9, [x8]
	cmp	w9, #0
	cset	w9, eq
Lloh6:
	adrp	x10, _backEnd@GOTPAGE
Lloh7:
	ldr	x10, [x10, _backEnd@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	str	w9, [x10]
	ldr	w9, [x8, #4]
	cmp	w9, #0
	cset	w9, eq
	str	w9, [x10, #4]
	ldr	w9, [x8, #8]
	cmp	w9, #0
	cset	w9, eq
	str	w9, [x10, #8]
	ldr	w9, [x8, #12]
	cmp	w9, #0
	cset	w9, eq
	str	w9, [x10, #12]
LBB0_4:
	ldp	w0, w1, [x8]
	ldp	w2, w3, [x8, #8]
	bl	_qglColorMask
	add	x0, x19, #8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_tess,8,3                       ; @tess
	.comm	_glRefConfig,8,3                ; @glRefConfig
	.comm	_backEnd,8,3                    ; @backEnd
.subsections_via_symbols
