	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function CM_TraceThroughPatchCollide
LCPI0_0:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_1:
	.long	0x00000000                      ## float 0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_CM_TraceThroughPatchCollide
	.p2align	4, 0x90
_CM_TraceThroughPatchCollide:           ## @CM_TraceThroughPatchCollide
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movq	80(%rdi), %rax
	movl	(%rax), %edi
	movl	4(%rax), %esi
	movq	24(%r12), %rax
	movl	(%rax), %edx
	movl	4(%rax), %ecx
	callq	_CM_BoundsIntersect
	testl	%eax, %eax
	je	LBB0_43
## %bb.1:
	cmpq	$0, 72(%r13)
	je	LBB0_4
## %bb.2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_45
## %bb.3:
	movq	%r13, %rdi
	movq	%r12, %rsi
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CM_TracePointThroughPatchCollide ## TAILCALL
LBB0_4:
	cmpl	$0, (%r12)
	jle	LBB0_43
## %bb.5:
	movq	16(%r12), %rcx
	xorl	%eax, %eax
	leaq	-64(%rbp), %rbx
	movq	%r13, -128(%rbp)                ## 8-byte Spill
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_6
LBB0_41:                                ##   in Loop: Header=BB0_6 Depth=1
	movss	-84(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 24(%r13)
	movq	32(%r13), %rsi
	leaq	-80(%rbp), %rdi
	movq	%rcx, %r14
	callq	_VectorCopy
	movq	%r14, %rcx
	movss	-68(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 40(%r13)
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-120(%rbp), %rax                ## 8-byte Reload
	incl	%eax
	addq	$32, %rcx
	cmpl	(%r12), %eax
	jge	LBB0_43
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	$-1082130432, -84(%rbp)         ## imm = 0xBF800000
	movl	$1065353216, -92(%rbp)          ## imm = 0x3F800000
	movq	%r12, %r15
	movq	8(%r12), %r14
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	(%rcx), %r12
	shlq	$4, %r12
	movq	(%r14,%r12), %rdi
	movq	%rbx, %rsi
	callq	_VectorCopy
	movq	(%r14,%r12), %rax
	movss	12(%rax), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -52(%rbp)
	cmpq	$0, 64(%r13)
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	xorps	%xmm1, %xmm1
	cvtsi2ssq	56(%r13), %xmm1
	addss	%xmm1, %xmm0
	movss	%xmm0, -52(%rbp)
	movq	48(%r13), %rsi
	movq	%rbx, %rdi
	callq	_DotProduct
	ucomiss	LCPI0_1(%rip), %xmm0
	movq	(%r13), %rdi
	movq	48(%r13), %rsi
	jbe	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	callq	_VectorSubtract
	movq	8(%r13), %rdi
	movq	48(%r13), %rsi
	callq	_VectorSubtract
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%r13), %rax
	movq	8(%r14,%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	movq	%rbx, %rsi
	callq	_DotProduct
	movss	-52(%rbp), %xmm1                ## xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movss	%xmm1, -52(%rbp)
	movq	(%r13), %rdi
	callq	_VectorCopy
	movq	8(%r13), %rdi
	callq	_VectorCopy
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	callq	_VectorAdd
	movq	8(%r13), %rdi
	movq	48(%r13), %rsi
	callq	_VectorAdd
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %r12
	movq	%rbx, %rdi
	leaq	-84(%rbp), %rcx
	leaq	-92(%rbp), %r8
	leaq	-96(%rbp), %r9
	callq	_CM_CheckFacetPlane
	testl	%eax, %eax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	je	LBB0_42
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, -96(%rbp)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	leaq	-80(%rbp), %rsi
	callq	_Vector4Copy
	movq	-104(%rbp), %rcx                ## 8-byte Reload
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	8(%rcx), %eax
	testl	%eax, %eax
	jle	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$-1, -88(%rbp)                  ## 4-byte Folded Spill
	xorl	%r14d, %r14d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_17 Depth=2
	incq	%r14
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movslq	8(%rcx), %rax
	cmpq	%rax, %r14
	jge	LBB0_30
LBB0_17:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r12), %r12
	movq	16(%rcx), %rax
	movq	24(%rcx), %rcx
	movq	(%rax,%r14,8), %r15
	shlq	$4, %r15
	leaq	(%r12,%r15), %r13
	cmpq	$0, (%rcx,%r14,8)
	movq	(%r12,%r15), %rdi
	movq	%rbx, %rsi
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	callq	_VectorNegate
	movq	(%r13), %rax
	movss	12(%rax), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	xorps	LCPI0_0(%rip), %xmm0
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=2
	callq	_VectorCopy
	movq	(%r13), %rax
	movss	12(%rax), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=2
	movss	%xmm0, -52(%rbp)
	movq	-128(%rbp), %r13                ## 8-byte Reload
	cmpq	$0, 64(%r13)
	je	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_17 Depth=2
	xorps	%xmm1, %xmm1
	cvtsi2ssq	56(%r13), %xmm1
	addss	%xmm1, %xmm0
	movss	%xmm0, -52(%rbp)
	movq	48(%r13), %rsi
	movq	%rbx, %rdi
	callq	_DotProduct
	ucomiss	LCPI0_1(%rip), %xmm0
	movq	(%r13), %rdi
	movq	48(%r13), %rsi
	jbe	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_17 Depth=2
	callq	_VectorSubtract
	movq	8(%r13), %rdi
	movq	48(%r13), %rsi
	callq	_VectorSubtract
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_17 Depth=2
	movq	16(%r13), %rax
	movq	8(%r12,%r15), %rcx
	movq	(%rax,%rcx,8), %rdi
	movq	%rbx, %rsi
	callq	_DotProduct
	callq	_fabs
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	addss	-52(%rbp), %xmm0
	movss	%xmm0, -52(%rbp)
	movq	(%r13), %rdi
	callq	_VectorCopy
	movq	8(%r13), %rdi
	callq	_VectorCopy
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_17 Depth=2
	callq	_VectorAdd
	movq	8(%r13), %rdi
	movq	48(%r13), %rsi
	callq	_VectorAdd
LBB0_25:                                ##   in Loop: Header=BB0_17 Depth=2
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	%rbx, %rdi
	leaq	-84(%rbp), %rcx
	leaq	-92(%rbp), %r8
	leaq	-96(%rbp), %r9
	callq	_CM_CheckFacetPlane
	testl	%eax, %eax
	je	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_17 Depth=2
	cmpl	$0, -96(%rbp)
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_17 Depth=2
	movq	%rbx, %rdi
	leaq	-80(%rbp), %rsi
	callq	_Vector4Copy
	movl	%r14d, %eax
	movl	%r14d, -88(%rbp)                ## 4-byte Spill
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	$-1, -88(%rbp)                  ## 4-byte Folded Spill
	xorl	%r14d, %r14d
LBB0_30:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpl	%eax, %r14d
	jge	LBB0_31
	jmp	LBB0_42
LBB0_26:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movl	8(%rcx), %eax
	cmpl	%eax, %r14d
	jl	LBB0_42
LBB0_31:                                ##   in Loop: Header=BB0_6 Depth=1
	decl	%eax
	cmpl	%eax, -88(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_42
## %bb.32:                              ##   in Loop: Header=BB0_6 Depth=1
	movss	-84(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	ucomiss	LCPI0_1(%rip), %xmm0
	jb	LBB0_42
## %bb.33:                              ##   in Loop: Header=BB0_6 Depth=1
	movss	-92(%rbp), %xmm1                ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_42
## %bb.34:                              ##   in Loop: Header=BB0_6 Depth=1
	movss	24(%r13), %xmm1                 ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_42
## %bb.35:                              ##   in Loop: Header=BB0_6 Depth=1
	xorps	%xmm1, %xmm1
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$0, -84(%rbp)
LBB0_37:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_CM_TraceThroughPatchCollide.cv(%rip), %rax
	testq	%rax, %rax
	jne	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%edx, %edx
	movq	%rcx, %r14
	callq	_Cvar_Get
	movq	%r14, %rcx
	movq	%rax, _CM_TraceThroughPatchCollide.cv(%rip)
	testq	%rax, %rax
	je	LBB0_41
LBB0_39:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$0, (%rax)
	je	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_debugPatchCollide@GOTPCREL(%rip), %rax
	movq	%r12, (%rax)
	movq	_debugFacet@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
	jmp	LBB0_41
LBB0_43:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_45
## %bb.44:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_45:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_CM_TraceThroughPatchCollide.cv,8,3 ## @CM_TraceThroughPatchCollide.cv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r_debugSurfaceUpdate"

L_.str.1:                               ## @.str.1
	.asciz	"1"

	.comm	_debugPatchCollide,8,3          ## @debugPatchCollide
	.comm	_debugFacet,8,3                 ## @debugFacet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CM_TraceThroughPatchCollide    ; -- Begin function CM_TraceThroughPatchCollide
	.p2align	2
_CM_TraceThroughPatchCollide:           ; @CM_TraceThroughPatchCollide
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	stp	xzr, xzr, [sp, #40]
	stp	xzr, xzr, [sp, #24]
	ldr	x8, [x0, #80]
	ldp	w0, w1, [x8]
	ldr	x8, [x19, #24]
	ldp	w2, w3, [x8]
	bl	_CM_BoundsIntersect
	cbz	w0, LBB0_43
; %bb.1:
	ldr	x8, [x20, #72]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x8, [sp, #56]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_45
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_CM_TracePointThroughPatchCollide
LBB0_4:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_43
; %bb.5:
	mov	w23, #0
	ldr	x24, [x19, #16]
	mov	w26, #1065353216
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	s0, [sp, #16]
	str	s0, [x20, #24]
	ldr	x1, [x20, #32]
	add	x0, sp, #24
	bl	_VectorCopy
	ldr	s0, [sp, #36]
	str	s0, [x20, #40]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w23, w23, #1
	add	x24, x24, #32
	ldr	w8, [x19]
	cmp	w23, w8
	b.ge	LBB0_43
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	mov	w8, #-1082130432
	stp	w26, w8, [sp, #12]
	ldr	x21, [x19, #8]
	ldr	x22, [x24]
	lsl	x25, x22, #4
	ldr	x0, [x21, x25]
	add	x1, sp, #40
	bl	_VectorCopy
	ldr	x8, [x21, x25]
	ldr	s0, [x8, #12]
	str	s0, [sp, #52]
	ldr	x8, [x20, #64]
	cbz	x8, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldp	x1, x8, [x20, #48]
	scvtf	s1, x8
	fadd	s0, s0, s1
	str	s0, [sp, #52]
	add	x0, sp, #40
	bl	_DotProduct
	ldr	x0, [x20]
	ldr	x1, [x20, #48]
	fcmp	s0, #0.0
	b.le	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	bl	_VectorSubtract
	ldr	x0, [x20, #8]
	ldr	x1, [x20, #48]
	bl	_VectorSubtract
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x20, #16]
	add	x9, x21, x22, lsl #4
	ldr	x9, [x9, #8]
	ldr	x0, [x8, x9, lsl #3]
	add	x1, sp, #40
	bl	_DotProduct
	ldr	s1, [sp, #52]
	fsub	s0, s1, s0
	str	s0, [sp, #52]
	ldr	x0, [x20]
	bl	_VectorCopy
	ldr	x0, [x20, #8]
	bl	_VectorCopy
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_VectorAdd
	ldr	x0, [x20, #8]
	ldr	x1, [x20, #48]
	bl	_VectorAdd
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #40
	add	x3, sp, #16
	add	x4, sp, #12
	add	x5, sp, #20
	bl	_CM_CheckFacetPlane
	cbz	w0, LBB0_7
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp, #20]
	cbz	w8, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #40
	add	x1, sp, #24
	bl	_Vector4Copy
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x24, #8]
	cmp	w8, #1
	b.lt	LBB0_30
; %bb.17:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x22, #0
	mov	w28, #-1
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=2
	add	x22, x22, #1
	ldrsw	x8, [x24, #8]
	cmp	x22, x8
	b.ge	LBB0_31
LBB0_19:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x21, [x19, #8]
	lsl	x8, x22, #3
	ldp	x9, x10, [x24, #16]
	ldr	x27, [x9, x8]
	ldr	x8, [x10, x8]
	add	x25, x21, x27, lsl #4
	ldr	x0, [x25]
	add	x1, sp, #40
	cbz	x8, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	bl	_VectorNegate
	ldr	x8, [x25]
	ldr	s0, [x8, #12]
	fneg	s0, s0
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_19 Depth=2
	bl	_VectorCopy
	ldr	x8, [x25]
	ldr	s0, [x8, #12]
LBB0_22:                                ;   in Loop: Header=BB0_19 Depth=2
	str	s0, [sp, #52]
	ldr	x8, [x20, #64]
	cbz	x8, LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_19 Depth=2
	ldp	x1, x8, [x20, #48]
	scvtf	s1, x8
	fadd	s0, s0, s1
	str	s0, [sp, #52]
	add	x0, sp, #40
	bl	_DotProduct
	ldr	x0, [x20]
	ldr	x1, [x20, #48]
	fcmp	s0, #0.0
	b.le	LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_19 Depth=2
	bl	_VectorSubtract
	ldr	x0, [x20, #8]
	ldr	x1, [x20, #48]
	bl	_VectorSubtract
	b	LBB0_27
LBB0_25:                                ;   in Loop: Header=BB0_19 Depth=2
	ldr	x8, [x20, #16]
	add	x9, x21, x27, lsl #4
	ldr	x9, [x9, #8]
	ldr	x0, [x8, x9, lsl #3]
	add	x1, sp, #40
	bl	_DotProduct
	bl	_fabs
	scvtf	s0, x0
	ldr	s1, [sp, #52]
	fadd	s0, s1, s0
	str	s0, [sp, #52]
	ldr	x0, [x20]
	bl	_VectorCopy
	ldr	x0, [x20, #8]
	bl	_VectorCopy
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_19 Depth=2
	bl	_VectorAdd
	ldr	x0, [x20, #8]
	ldr	x1, [x20, #48]
	bl	_VectorAdd
LBB0_27:                                ;   in Loop: Header=BB0_19 Depth=2
	add	x0, sp, #40
	add	x3, sp, #16
	add	x4, sp, #12
	add	x5, sp, #20
	bl	_CM_CheckFacetPlane
	cbz	w0, LBB0_32
; %bb.28:                               ;   in Loop: Header=BB0_19 Depth=2
	ldr	w8, [sp, #20]
	cbz	w8, LBB0_18
; %bb.29:                               ;   in Loop: Header=BB0_19 Depth=2
	add	x0, sp, #40
	add	x1, sp, #24
	bl	_Vector4Copy
	mov	x28, x22
	b	LBB0_18
LBB0_30:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w22, #0
	mov	w28, #-1
LBB0_31:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w22, w8
	b.ge	LBB0_33
	b	LBB0_7
LBB0_32:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x24, #8]
	cmp	w22, w8
	b.lt	LBB0_7
LBB0_33:                                ;   in Loop: Header=BB0_8 Depth=1
	sub	w8, w8, #1
	cmp	w28, w8
	b.eq	LBB0_7
; %bb.34:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	s0, [sp, #16]
	fcmp	s0, #0.0
	b.lt	LBB0_7
; %bb.35:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	s1, [sp, #12]
	fcmp	s0, s1
	b.pl	LBB0_7
; %bb.36:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	s1, [x20, #24]
	fcmp	s0, s1
	b.pl	LBB0_7
; %bb.37:                               ;   in Loop: Header=BB0_8 Depth=1
	fcmp	s0, #0.0
	b.pl	LBB0_39
; %bb.38:                               ;   in Loop: Header=BB0_8 Depth=1
	str	wzr, [sp, #16]
LBB0_39:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh6:
	adrp	x8, _CM_TraceThroughPatchCollide.cv@PAGE
Lloh7:
	ldr	x0, [x8, _CM_TraceThroughPatchCollide.cv@PAGEOFF]
	cbnz	x0, LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #0
	bl	_Cvar_Get
	adrp	x8, _CM_TraceThroughPatchCollide.cv@PAGE
	str	x0, [x8, _CM_TraceThroughPatchCollide.cv@PAGEOFF]
	cbz	x0, LBB0_6
LBB0_41:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.42:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh12:
	adrp	x8, _debugPatchCollide@GOTPAGE
Lloh13:
	ldr	x8, [x8, _debugPatchCollide@GOTPAGEOFF]
Lloh14:
	str	x19, [x8]
Lloh15:
	adrp	x8, _debugFacet@GOTPAGE
Lloh16:
	ldr	x8, [x8, _debugFacet@GOTPAGEOFF]
Lloh17:
	str	x24, [x8]
	b	LBB0_6
LBB0_43:
	ldr	x8, [sp, #56]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_45
; %bb.44:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_45:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_CM_TraceThroughPatchCollide.cv,8,3 ; @CM_TraceThroughPatchCollide.cv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r_debugSurfaceUpdate"

l_.str.1:                               ; @.str.1
	.asciz	"1"

	.comm	_debugPatchCollide,8,3          ; @debugPatchCollide
	.comm	_debugFacet,8,3                 ; @debugFacet
.subsections_via_symbols
