	.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_ClipToEntity
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_SV_ClipToEntity
	.p2align	4, 0x90
_SV_ClipToEntity:                       ## @SV_ClipToEntity
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	16(%rbp), %r12d
	movl	%r9d, %edi
	callq	_SV_GentityNum
	movq	%rax, %rbx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_Com_Memset
	testl	%r12d, 8(%rbx)
	je	LBB0_1
## %bb.2:
	movl	24(%rbp), %r12d
	movq	%rbx, %rdi
	callq	_SV_ClipHandleForEntity
	movq	16(%rbx), %r10
	cmpl	$0, 32(%rbx)
	jne	LBB0_3
## %bb.4:
	movq	_vec3_origin@GOTPCREL(%rip), %r11
	jmp	LBB0_5
LBB0_1:
	movabsq	$4607182418800017408, %rax      ## imm = 0x3FF0000000000000
	movq	%rax, (%r14)
	jmp	LBB0_7
LBB0_3:
	movq	%rbx, %r11
	addq	$24, %r11
LBB0_5:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rcx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movl	%eax, %r9d
	pushq	%r12
	pushq	(%r11)
	pushq	%r10
	movl	16(%rbp), %eax
	pushq	%rax
	callq	_CM_TransformedBoxTrace
	addq	$32, %rsp
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	ucomisd	(%r14), %xmm0
	jbe	LBB0_7
## %bb.6:
	movl	(%rbx), %eax
	movl	%eax, 8(%r14)
LBB0_7:
	addq	$24, %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
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_ClipToEntity                ; -- Begin function SV_ClipToEntity
	.p2align	2
_SV_ClipToEntity:                       ; @SV_ClipToEntity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x25, x7
	mov	x20, x6
	mov	x23, x4
	mov	x22, x3
	mov	x24, x2
	mov	x26, x1
	mov	x19, x0
	mov	x0, x5
	bl	_SV_GentityNum
	mov	x21, x0
	mov	x0, x19
	mov	w1, #0
	mov	w2, #16
	bl	_Com_Memset
	ldr	w8, [x21, #8]
	tst	w8, w20
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_SV_ClipHandleForEntity
	mov	x5, x0
	ldr	x7, [x21, #16]
	add	x8, x21, #24
	ldr	w9, [x21, #32]
Lloh0:
	adrp	x10, _vec3_origin@GOTPAGE
Lloh1:
	ldr	x10, [x10, _vec3_origin@GOTPAGEOFF]
	cmp	w9, #0
	csel	x8, x10, x8, eq
	ldr	x8, [x8]
	str	w25, [sp, #8]
	str	x8, [sp]
	mov	x0, x19
	mov	x1, x26
	mov	x2, x23
	mov	x3, x24
	mov	x4, x22
	mov	x6, x20
	bl	_CM_TransformedBoxTrace
	ldr	d0, [x19]
	fmov	d1, #1.00000000
	fcmp	d0, d1
	b.pl	LBB0_4
; %bb.2:
	ldr	w8, [x21]
	str	w8, [x19, #8]
	b	LBB0_4
LBB0_3:
	mov	x8, #4607182418800017408
	str	x8, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_vec3_origin,8,3                ; @vec3_origin
.subsections_via_symbols
