	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function SV_Trace
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_SV_Trace
	.p2align	4, 0x90
_SV_Trace:                              ## @SV_Trace
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, %r12
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	24(%rbp), %r14d
	testq	%rdx, %rdx
	movq	_vec3_origin@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmoveq	%rax, %rbx
	testq	%rcx, %rcx
	cmoveq	%rax, %r15
	leaq	-136(%rbp), %rdi
	xorl	%esi, %esi
	movl	$80, %edx
	callq	_Com_Memset
	leaq	-72(%rbp), %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	movq	%r15, %r8
	xorl	%r9d, %r9d
	pushq	%r14
	movl	16(%rbp), %r14d
	pushq	%r14
	callq	_CM_BoxTrace
	addq	$16, %rsp
	movsd	-72(%rbp), %xmm0                ## xmm0 = mem[0],zero
	ucomisd	LCPI0_0(%rip), %xmm0
	movq	_ENTITYNUM_WORLD@GOTPCREL(%rip), %rax
	movq	_ENTITYNUM_NONE@GOTPCREL(%rip), %rcx
	cmovneq	%rax, %rcx
	cmovpq	%rax, %rcx
	movl	(%rcx), %eax
	movl	%eax, -64(%rbp)
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm1, %xmm0
	jne	LBB0_1
	jnp	LBB0_2
LBB0_1:
	movl	%r14d, -136(%rbp)
	movq	%r13, -128(%rbp)
	movq	-120(%rbp), %rsi
	movq	%r12, %rdi
	callq	_VectorCopy
	movq	%rbx, -112(%rbp)
	movq	%r15, -104(%rbp)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -96(%rbp)
	movl	24(%rbp), %eax
	movl	%eax, -92(%rbp)
	movq	-128(%rbp), %rax
	movq	-120(%rbp), %rdx
	movq	-88(%rbp), %r8
	movq	(%r12), %rsi
	cmpq	(%r13), %rsi
	movq	%rdx, %rdi
	cmovgq	%rax, %rdi
	movq	%rax, %rcx
	cmovgq	%rdx, %rcx
	movq	-80(%rbp), %r9
	movq	(%rdi), %rdi
	movq	(%rbx), %rsi
	addq	%rdi, %rsi
	decq	%rsi
	movq	%rsi, (%r8)
	movq	(%rcx), %rcx
	movq	(%r15), %rsi
	addq	%rsi, %rcx
	incq	%rcx
	movq	%rcx, (%r9)
	movq	8(%r12), %rcx
	cmpq	8(%r13), %rcx
	movq	%rdx, %rcx
	cmovgq	%rax, %rcx
	movq	%rax, %rsi
	cmovgq	%rdx, %rsi
	movq	8(%rcx), %rcx
	movq	8(%rbx), %rdi
	addq	%rdi, %rcx
	decq	%rcx
	movq	%rcx, 8(%r8)
	movq	8(%rsi), %rcx
	movq	8(%r15), %rsi
	addq	%rsi, %rcx
	incq	%rcx
	movq	%rcx, 8(%r9)
	movq	16(%r12), %rcx
	cmpq	16(%r13), %rcx
	movq	%rdx, %rcx
	cmovgq	%rax, %rcx
	cmovgq	%rdx, %rax
	movq	16(%rcx), %rcx
	movq	16(%rbx), %rdx
	addq	%rdx, %rcx
	decq	%rcx
	movq	%rcx, 16(%r8)
	movq	16(%rax), %rax
	movq	16(%r15), %rcx
	addq	%rcx, %rax
	incq	%rax
	movq	%rax, 16(%r9)
	leaq	-136(%rbp), %rdi
	callq	_SV_ClipMoveToEntities
LBB0_2:
	leaq	-72(%rbp), %rax
	movups	(%rax), %xmm0
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movups	%xmm0, (%rax)
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vec3_origin,8,3                ## @vec3_origin
	.comm	_ENTITYNUM_WORLD,4,2            ## @ENTITYNUM_WORLD
	.comm	_ENTITYNUM_NONE,4,2             ## @ENTITYNUM_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_Trace                       ; -- Begin function SV_Trace
	.p2align	2
_SV_Trace:                              ; @SV_Trace
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x25, x7
	mov	x27, x6
	mov	x26, x5
	mov	x22, x4
	mov	x24, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _vec3_origin@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vec3_origin@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x2, #0
	csel	x23, x8, x2, eq
	cmp	x3, #0
	csel	x20, x8, x3, eq
	mov	x21, sp
	mov	x0, sp
	mov	w1, #0
	mov	w2, #80
	bl	_Com_Memset
	add	x21, x21, #64
	mov	x0, x21
	mov	x1, x24
	mov	x2, x22
	mov	x3, x23
	mov	x4, x20
	mov	w5, #0
	mov	x6, x27
	mov	x7, x25
	bl	_CM_BoxTrace
	ldr	d0, [sp, #64]
Lloh3:
	adrp	x8, _ENTITYNUM_WORLD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENTITYNUM_WORLD@GOTPAGEOFF]
Lloh5:
	adrp	x9, _ENTITYNUM_NONE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ENTITYNUM_NONE@GOTPAGEOFF]
	fmov	d1, #1.00000000
	fcmp	d0, d1
	csel	x8, x8, x9, ne
	ldr	w8, [x8]
	str	w8, [sp, #72]
	fcmp	d0, #0.0
	b.eq	LBB0_2
; %bb.1:
	str	w27, [sp]
	str	x24, [sp, #8]
	ldr	x1, [sp, #16]
	mov	x0, x22
	bl	_VectorCopy
	stp	x23, x20, [sp, #24]
	stp	w26, w25, [sp, #40]
	ldp	x9, x8, [sp, #8]
	ldp	x10, x11, [sp, #48]
	ldr	x12, [x22]
	ldr	x13, [x24]
	cmp	x12, x13
	csel	x12, x9, x8, gt
	csel	x13, x8, x9, gt
	ldr	x12, [x12]
	ldr	x14, [x23]
	add	x12, x12, x14
	sub	x12, x12, #1
	str	x12, [x10]
	ldr	x12, [x13]
	ldr	x13, [x20]
	add	x12, x12, x13
	add	x12, x12, #1
	str	x12, [x11]
	ldr	x12, [x22, #8]
	ldr	x13, [x24, #8]
	cmp	x12, x13
	csel	x12, x9, x8, gt
	csel	x13, x8, x9, gt
	ldr	x12, [x12, #8]
	ldr	x14, [x23, #8]
	add	x12, x12, x14
	sub	x12, x12, #1
	str	x12, [x10, #8]
	ldr	x12, [x13, #8]
	ldr	x13, [x20, #8]
	add	x12, x12, x13
	add	x12, x12, #1
	str	x12, [x11, #8]
	ldr	x12, [x22, #16]
	ldr	x13, [x24, #16]
	cmp	x12, x13
	csel	x12, x9, x8, gt
	csel	x8, x8, x9, gt
	ldr	x9, [x12, #16]
	ldr	x12, [x23, #16]
	add	x9, x9, x12
	sub	x9, x9, #1
	str	x9, [x10, #16]
	ldr	x8, [x8, #16]
	ldr	x9, [x20, #16]
	add	x8, x8, x9
	add	x8, x8, #1
	str	x8, [x11, #16]
	mov	x0, sp
	bl	_SV_ClipMoveToEntities
LBB0_2:
	ldr	q0, [x21]
	str	q0, [x19]
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_vec3_origin,8,3                ; @vec3_origin
	.comm	_ENTITYNUM_WORLD,4,2            ; @ENTITYNUM_WORLD
	.comm	_ENTITYNUM_NONE,4,2             ; @ENTITYNUM_NONE
.subsections_via_symbols
