	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RE_SetColor                    ## -- Begin function RE_SetColor
	.p2align	4, 0x90
_RE_SetColor:                           ## @RE_SetColor
	.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	_tr@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movl	$16, %edi
	callq	_R_GetCommandBuffer
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_RC_SET_COLOR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	testq	%rbx, %rbx
	leaq	_RE_SetColor.colorWhite(%rip), %rcx
	cmovneq	%rbx, %rcx
	movss	(%rcx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movq	(%rax), %rax
	movss	%xmm0, (%rax)
	movss	4(%rcx), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 4(%rax)
	movss	8(%rcx), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 8(%rax)
	movss	12(%rcx), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 12(%rax)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tr,4,2                         ## @tr
	.comm	_RC_SET_COLOR,4,2               ## @RC_SET_COLOR
	.section	__TEXT,__const
	.p2align	4                               ## @RE_SetColor.colorWhite
_RE_SetColor.colorWhite:
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RE_SetColor                    ; -- Begin function RE_SetColor
	.p2align	2
_RE_SetColor:                           ; @RE_SetColor
	.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, _tr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tr@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x19, x0
	mov	w0, #16
	bl	_R_GetCommandBuffer
	cbz	x0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _RC_SET_COLOR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RC_SET_COLOR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _RE_SetColor.colorWhite@PAGE
Lloh7:
	add	x9, x9, _RE_SetColor.colorWhite@PAGEOFF
	str	w8, [x0, #8]
	cmp	x19, #0
	csel	x8, x9, x19, eq
	ldr	s0, [x8]
	ldr	x9, [x0]
	str	s0, [x9]
	ldr	s0, [x8, #4]
	str	s0, [x9, #4]
	ldr	s0, [x8, #8]
	str	s0, [x9, #8]
	ldr	s0, [x8, #12]
	str	s0, [x9, #12]
LBB0_3:
	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 AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_tr,4,2                         ; @tr
	.comm	_RC_SET_COLOR,4,2               ; @RC_SET_COLOR
	.section	__TEXT,__const
	.p2align	2                               ; @RE_SetColor.colorWhite
_RE_SetColor.colorWhite:
	.long	0x3f800000                      ; float 1
	.long	0x3f800000                      ; float 1
	.long	0x3f800000                      ; float 1
	.long	0x3f800000                      ; float 1

.subsections_via_symbols
