	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_ImpactMark                  ## -- Begin function CG_ImpactMark
	.p2align	4, 0x90
_CG_ImpactMark:                         ## @CG_ImpactMark
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_cg_addMarks@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_1
## %bb.2:
	popq	%rbp
	retq
LBB0_1:
	movaps	%xmm0, %xmm1
	movaps	%xmm5, %xmm0
	movq	%rdx, %rdi
	callq	_CG_ImpactMark.cold.1
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function CG_ImpactMark.cold.1
_CG_ImpactMark.cold.1:                  ## @CG_ImpactMark.cold.1
	.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
	movss	%xmm1, -12(%rbp)                ## 4-byte Spill
	movq	%rdi, %rbx
	xorps	%xmm1, %xmm1
	ucomiss	%xmm0, %xmm1
	jb	LBB1_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_CG_Error
LBB1_2:
	movq	%rbx, %rdi
	callq	_VectorNormalize2
	callq	_PerpendicularVector
	movss	-12(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_RotatePointAroundVector
	callq	_CrossProduct
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_MARK_FRAGMENTS,4,2         ## @MAX_MARK_FRAGMENTS
	.comm	_MAX_MARK_POINTS,4,2            ## @MAX_MARK_POINTS
	.comm	_cg_addMarks,4,2                ## @cg_addMarks
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CG_ImpactMark called with <= 0 radius"

	.comm	_MAX_VERTS_ON_POLY,4,2          ## @MAX_VERTS_ON_POLY
	.comm	_cg,4,2                         ## @cg
	.comm	_markTotal,4,2                  ## @markTotal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_ImpactMark                  ; -- Begin function CG_ImpactMark
	.p2align	2
_CG_ImpactMark:                         ; @CG_ImpactMark
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _cg_addMarks@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cg_addMarks@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	fmov	s1, s0
	fmov	s0, s5
	mov	x0, x2
	bl	_CG_ImpactMark.cold.1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function CG_ImpactMark.cold.1
_CG_ImpactMark.cold.1:                  ; @CG_ImpactMark.cold.1
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-48]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	fmov	s8, s1
	mov	x19, x0
	fcmp	s0, #0.0
	b.hi	LBB1_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_CG_Error
LBB1_2:
	mov	x0, x19
	bl	_VectorNormalize2
	bl	_PerpendicularVector
	fmov	s0, s8
	bl	_RotatePointAroundVector
	bl	_CrossProduct
	brk	#0x1
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_MARK_FRAGMENTS,4,2         ; @MAX_MARK_FRAGMENTS
	.comm	_MAX_MARK_POINTS,4,2            ; @MAX_MARK_POINTS
	.comm	_cg_addMarks,4,2                ; @cg_addMarks
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CG_ImpactMark called with <= 0 radius"

	.comm	_MAX_VERTS_ON_POLY,4,2          ; @MAX_VERTS_ON_POLY
	.comm	_cg,4,2                         ; @cg
	.comm	_markTotal,4,2                  ; @markTotal
.subsections_via_symbols
