	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CG_ClipMoveToEntities
_CG_ClipMoveToEntities:                 ## @CG_ClipMoveToEntities
	.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, -48(%rbp)                 ## 4-byte Spill
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	_cg_numSolidEntities@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_11
## %bb.1:
	movq	16(%rbp), %r12
	xorl	%r13d, %r13d
	movq	_cg_solidEntities@GOTPCREL(%rip), %rbx
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movslq	%eax, %rcx
	cmpq	%rcx, %r13
	jge	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rcx
	movq	(%rcx,%r13,8), %r14
	cmpl	%r8d, 4(%r14)
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%r14), %edi
	callq	_trap_CM_InlineModel
	movl	%eax, %r15d
	movl	20(%r14), %edi
	callq	_VectorCopy
	leaq	12(%r14), %rdi
	movq	_cg@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_BG_EvaluateTrajectory
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rsp)
	leaq	-80(%rbp), %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	movl	%r15d, %r9d
	callq	_trap_CM_TransformedBoxTrace
	cmpq	$0, -64(%rbp)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rax
	cmpq	(%r12), %rax
	jge	LBB0_6
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r14), %eax
	movl	%eax, -72(%rbp)
	movups	-64(%rbp), %xmm0
	movups	%xmm0, 16(%r12)
	movq	-80(%rbp), %rax
	movq	%rax, (%r12)
	movl	-72(%rbp), %eax
	movl	%eax, 8(%r12)
	movl	-68(%rbp), %eax
	movl	%eax, 12(%r12)
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%r12)
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_cg_numSolidEntities@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_10
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -56(%rbp)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r12)
	jmp	LBB0_8
LBB0_11:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cg_numSolidEntities,4,2        ## @cg_numSolidEntities
	.comm	_cg_solidEntities,8,3           ## @cg_solidEntities
	.comm	_SOLID_BMODEL,4,2               ## @SOLID_BMODEL
	.comm	_cg,4,2                         ## @cg
	.comm	_vec3_origin,4,2                ## @vec3_origin
	.comm	_qtrue,8,3                      ## @qtrue
	.no_dead_strip	_CG_ClipMoveToEntities
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CG_ClipMoveToEntities
_CG_ClipMoveToEntities:                 ; @CG_ClipMoveToEntities
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	str	w5, [sp, #12]                   ; 4-byte Folded Spill
Lloh0:
	adrp	x8, _cg_numSolidEntities@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cg_numSolidEntities@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x19, x6
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
	mov	x28, #0
Lloh3:
	adrp	x27, _cg_solidEntities@GOTPAGE
Lloh4:
	ldr	x27, [x27, _cg_solidEntities@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x28, x28, #1
	cmp	x28, w8, sxtw
	b.ge	LBB0_11
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x27]
	ldr	x20, [x9, x28, lsl #3]
	ldr	w9, [x20, #4]
	cmp	w9, w21
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x20, #16]
	bl	_trap_CM_InlineModel
	mov	x26, x0
	ldr	w0, [x20, #20]
	bl	_VectorCopy
	add	x0, x20, #12
Lloh5:
	adrp	x8, _cg@GOTPAGE
Lloh6:
	ldr	x8, [x8, _cg@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_BG_EvaluateTrajectory
	add	x0, sp, #16
	mov	x1, x25
	mov	x2, x22
	mov	x3, x24
	mov	x4, x23
	mov	x5, x26
	ldr	w6, [sp, #12]                   ; 4-byte Folded Reload
	bl	_trap_CM_TransformedBoxTrace
	ldr	x8, [sp, #32]
	cbnz	x8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #16]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ge	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x20, #4]
	str	w8, [sp, #24]
	ldp	q1, q0, [sp, #16]
	stp	q1, q0, [x19]
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh8:
	adrp	x8, _cg_numSolidEntities@GOTPAGE
Lloh9:
	ldr	x8, [x8, _cg_numSolidEntities@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #40]
	cbz	x8, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh11:
	adrp	x8, _qtrue@GOTPAGE
Lloh12:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [x19, #24]
	b	LBB0_7
LBB0_11:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_cg_numSolidEntities,4,2        ; @cg_numSolidEntities
	.comm	_cg_solidEntities,8,3           ; @cg_solidEntities
	.comm	_SOLID_BMODEL,4,2               ; @SOLID_BMODEL
	.comm	_cg,4,2                         ; @cg
	.comm	_vec3_origin,4,2                ; @vec3_origin
	.comm	_qtrue,8,3                      ; @qtrue
	.no_dead_strip	_CG_ClipMoveToEntities
.subsections_via_symbols
