	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function RemoveLinearMeshColumnsRows
LCPI0_0:
	.quad	0x3fb999999999999a              ## double 0.10000000000000001
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_RemoveLinearMeshColumnsRows
	.p2align	4, 0x90
_RemoveLinearMeshColumnsRows:           ## @RemoveLinearMeshColumnsRows
	.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	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	%rsp, -168(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_EXPANDED_AXIS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	imulq	%rbx, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r8
	movl	(%r14), %r12d
	movl	%r12d, -128(%rbp)
	movq	%r14, -160(%rbp)                ## 8-byte Spill
	movl	4(%r14), %esi
	movl	%esi, -124(%rbp)
	testl	%r12d, %r12d
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	jle	LBB0_7
## %bb.1:
	leaq	-1(%rsi), %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movl	%esi, %eax
	andl	$3, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	%esi, %eax
	andl	$-4, %eax
	movq	%rax, -216(%rbp)                ## 8-byte Spill
	leaq	(%r8,%rbx,8), %rax
	movq	%rax, -208(%rbp)                ## 8-byte Spill
	movq	%rbx, %rcx
	movq	%rbx, %r9
	shlq	$4, %r9
	leaq	(%r12,%r12), %rax
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	movq	%r12, %rdx
	shlq	$4, %r12
	leaq	(%r8,%rbx,4), %rax
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	leaq	(%rbx,%rbx,2), %rax
	leaq	(%r8,%rax,4), %rax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	leaq	(%rdx,%rdx,2), %rax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	leaq	(,%rdx,4), %r10
	leaq	(,%rbx,4), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	%r8, %r11
	xorl	%r15d, %r15d
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movq	%r10, -144(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	addq	$4, %rbx
	addq	$4, %r11
	cmpq	-72(%rbp), %r15                 ## 8-byte Folded Reload
	je	LBB0_5
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
	testl	%esi, %esi
	jle	LBB0_19
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movq	%r11, -56(%rbp)                 ## 8-byte Spill
	movq	%r9, %rdi
	movq	-160(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %r10
	cmpq	$3, -152(%rbp)                  ## 8-byte Folded Reload
	movq	%r10, -136(%rbp)                ## 8-byte Spill
	jae	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-200(%rbp), %rax                ## 8-byte Reload
	leaq	(%r10,%rax,4), %r11
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r10,%rax,4), %r15
	movq	-176(%rbp), %rax                ## 8-byte Reload
	leaq	(%r10,%rax,4), %r13
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-184(%rbp), %r8                 ## 8-byte Reload
	movq	-192(%rbp), %r9                 ## 8-byte Reload
	movq	-208(%rbp), %rdx                ## 8-byte Reload
	xorl	%r14d, %r14d
	movq	-216(%rbp), %rsi                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r10,%rbx), %eax
	movl	%eax, (%rcx,%rbx)
	movl	(%r15,%rbx), %eax
	movl	%eax, (%r9,%rbx)
	movl	(%r11,%rbx), %eax
	movl	%eax, (%rdx,%rbx)
	movl	(%r13,%rbx), %eax
	movl	%eax, (%r8,%rbx)
	addq	$4, %r14
	addq	%rdi, %rdx
	addq	%r12, %r11
	addq	%rdi, %r9
	addq	%r12, %r15
	addq	%rdi, %r8
	addq	%r12, %r13
	addq	%r12, %r10
	addq	%rdi, %rcx
	cmpq	%r14, %rsi
	jne	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	movq	%rdi, %r9
	movq	-144(%rbp), %r10                ## 8-byte Reload
	movq	-56(%rbp), %r11                 ## 8-byte Reload
	movq	-104(%rbp), %r15                ## 8-byte Reload
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	imulq	%r14, %rax
	addq	%r15, %rax
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rcx
	imulq	-80(%rbp), %r14                 ## 8-byte Folded Reload
	leaq	(%r11,%r14,4), %rdx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rcx), %edi
	movl	%edi, (%rdx)
	addq	%r10, %rcx
	addq	%r8, %rdx
	decq	%rax
	jne	LBB0_18
	jmp	LBB0_19
LBB0_5:
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	cmpl	$3, %r12d
	jl	LBB0_6
## %bb.20:
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	leaq	52(%r8), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movl	$1, %edi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_21 Depth=1
	decl	%edi
LBB0_31:                                ##   in Loop: Header=BB0_21 Depth=1
	incl	%edi
	leal	-1(%r12), %eax
	movl	-124(%rbp), %esi
	cmpl	%eax, %edi
	jge	LBB0_7
LBB0_21:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_23 Depth 2
                                        ##     Child Loop BB0_33 Depth 2
                                        ##       Child Loop BB0_38 Depth 3
                                        ##       Child Loop BB0_42 Depth 3
                                        ##     Child Loop BB0_29 Depth 2
	testl	%esi, %esi
	jle	LBB0_26
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movl	%edi, -88(%rbp)                 ## 4-byte Spill
	movslq	%edi, %rdx
	leal	-1(%rdx), %eax
	cltq
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	leal	1(%rdx), %eax
	movslq	%eax, %r13
	movl	%esi, %r14d
	xorps	%xmm0, %xmm0
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movq	%r8, %r12
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_21 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	%xmm0, -56(%rbp)                ## 4-byte Spill
	movl	(%r12,%rdx,4), %ebx
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	(%r12,%rax,4), %esi
	movq	%rdx, %r15
	movl	(%r12,%r13,4), %edx
	movl	%ebx, %edi
	callq	_ProjectPointOntoVector
	movl	%ebx, %edi
	callq	_VectorSubtract
	callq	_VectorLength
	movq	%r15, %rdx
	maxss	-56(%rbp), %xmm0                ## 4-byte Folded Reload
	addq	-96(%rbp), %r12                 ## 8-byte Folded Reload
	decq	%r14
	jne	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_21 Depth=1
	cvtss2sd	%xmm0, %xmm0
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jbe	LBB0_25
## %bb.32:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	decl	%r12d
	movl	%r12d, -128(%rbp)
	movslq	%r12d, %rax
	movq	%rax, %r14
	subq	%rdx, %r14
	leaq	-8(%r14), %r8
	movq	%r8, %r10
	shrq	$3, %r10
	incq	%r10
	movq	%r14, %r11
	andq	$-8, %r11
	leaq	(%r11,%rdx), %r9
	movq	%r10, %rcx
	andq	$-2, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rdx,4), %rbx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	xorl	%r13d, %r13d
	movl	-88(%rbp), %edi                 ## 4-byte Reload
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_33 Depth=2
	incq	%r13
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	addq	%rcx, %rbx
	addq	%rcx, %rdx
	cmpq	-104(%rbp), %r13                ## 8-byte Folded Reload
	je	LBB0_44
LBB0_33:                                ##   Parent Loop BB0_21 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_38 Depth 3
                                        ##       Child Loop BB0_42 Depth 3
	cmpl	%r12d, %edi
	jge	LBB0_43
## %bb.34:                              ##   in Loop: Header=BB0_33 Depth=2
	movq	%r15, %rcx
	cmpq	$8, %r14
	jb	LBB0_42
## %bb.35:                              ##   in Loop: Header=BB0_33 Depth=2
	cmpq	$8, %r8
	jae	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_33 Depth=2
	xorl	%esi, %esi
	jmp	LBB0_39
LBB0_37:                                ##   in Loop: Header=BB0_33 Depth=2
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_38:                                ##   Parent Loop BB0_21 Depth=1
                                        ##     Parent Loop BB0_33 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movups	-48(%rbx,%rsi,4), %xmm0
	movupd	-32(%rbx,%rsi,4), %xmm1
	movups	-16(%rbx,%rsi,4), %xmm2
	movups	(%rbx,%rsi,4), %xmm3
	movups	%xmm0, -52(%rbx,%rsi,4)
	movupd	%xmm1, -36(%rbx,%rsi,4)
	movups	%xmm2, -20(%rbx,%rsi,4)
	movups	%xmm3, -4(%rbx,%rsi,4)
	addq	$16, %rsi
	addq	$-2, %rcx
	jne	LBB0_38
LBB0_39:                                ##   in Loop: Header=BB0_33 Depth=2
	testb	$1, %r10b
	je	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_33 Depth=2
	movq	%r13, %rcx
	imulq	-80(%rbp), %rcx                 ## 8-byte Folded Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	(%rdi,%rcx,4), %rcx
	movl	-88(%rbp), %edi                 ## 4-byte Reload
	addq	%r15, %rsi
	movups	4(%rcx,%rsi,4), %xmm0
	movupd	20(%rcx,%rsi,4), %xmm1
	movups	%xmm0, (%rcx,%rsi,4)
	movupd	%xmm1, 16(%rcx,%rsi,4)
LBB0_41:                                ##   in Loop: Header=BB0_33 Depth=2
	movq	%r9, %rcx
	cmpq	%r11, %r14
	je	LBB0_43
	.p2align	4, 0x90
LBB0_42:                                ##   Parent Loop BB0_21 Depth=1
                                        ##     Parent Loop BB0_33 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	4(%rdx,%rcx,4), %esi
	movl	%esi, (%rdx,%rcx,4)
	leaq	1(%rcx), %rsi
	movq	%rsi, %rcx
	cmpq	%rsi, %rax
	jne	LBB0_42
	jmp	LBB0_43
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_21 Depth=1
	decl	%r12d
	movl	%r12d, -128(%rbp)
	cmpl	%r12d, %edi
	jge	LBB0_30
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	-88(%rbp), %edi                 ## 4-byte Reload
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_44:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	cmpl	%r12d, %edi
	jge	LBB0_30
LBB0_28:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	_originalWidths@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	.p2align	4, 0x90
LBB0_29:                                ##   Parent Loop BB0_21 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	4(%rax,%rcx,4), %edx
	movl	%edx, (%rax,%rcx,4)
	leaq	1(%rcx), %rdx
	movslq	-128(%rbp), %r12
	movq	%rdx, %rcx
	cmpq	%r12, %rdx
	jl	LBB0_29
	jmp	LBB0_30
LBB0_6:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
LBB0_7:
	cmpl	$3, %esi
	jl	LBB0_63
## %bb.8:
	leaq	(,%rbx,4), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r9
	shlq	$4, %r9
	movl	$1, %edi
	movq	%r9, -152(%rbp)                 ## 8-byte Spill
	testl	%r12d, %r12d
	jle	LBB0_45
	.p2align	4, 0x90
LBB0_10:
	movq	%r12, %rcx
	movq	%rsi, %r12
	movl	%edi, -104(%rbp)                ## 4-byte Spill
	movslq	%edi, %rdx
	movq	%rdx, %rax
	imulq	%rbx, %rax
	leaq	(%r8,%rax,4), %r14
	leal	-1(%rdx), %eax
	cltq
	imulq	%rbx, %rax
	leaq	(%r8,%rax,4), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	leal	1(%rdx), %eax
	cltq
	imulq	%rbx, %rax
	leaq	(%r8,%rax,4), %r13
	movl	%ecx, %eax
	xorps	%xmm0, %xmm0
	xorl	%r15d, %r15d
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movss	%xmm0, -56(%rbp)                ## 4-byte Spill
	movl	(%r14,%r15,4), %ebx
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	(%rax,%r15,4), %esi
	movl	(%r13,%r15,4), %edx
	movl	%ebx, %edi
	callq	_ProjectPointOntoVector
	movl	%ebx, %edi
	callq	_VectorSubtract
	callq	_VectorLength
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	maxss	-56(%rbp), %xmm0                ## 4-byte Folded Reload
	incq	%r15
	cmpq	%r15, %rax
	jne	LBB0_11
## %bb.12:
	cvtss2sd	%xmm0, %xmm0
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jbe	LBB0_13
## %bb.52:
	movq	%r12, %rsi
	decl	%esi
	movl	%esi, -124(%rbp)
	movslq	%esi, %rcx
	movl	%ecx, %r13d
	movl	-104(%rbp), %edi                ## 4-byte Reload
	subl	%edi, %r13d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %rdx
	notq	%rdx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	addq	%rcx, %rdx
	movq	%rdx, -160(%rbp)                ## 8-byte Spill
	andl	$3, %r13d
	incq	%rax
	imulq	-80(%rbp), %rax                 ## 8-byte Folded Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	leaq	(%r8,%rax,4), %r10
	movq	%r13, -136(%rbp)                ## 8-byte Spill
	negq	%r13
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_53
	.p2align	4, 0x90
LBB0_61:                                ##   in Loop: Header=BB0_53 Depth=1
	incq	%r15
	addq	$4, %r10
	addq	$4, %r14
	addq	$4, -56(%rbp)                   ## 8-byte Folded Spill
	cmpq	-96(%rbp), %r15                 ## 8-byte Folded Reload
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movl	-104(%rbp), %edi                ## 4-byte Reload
	je	LBB0_62
LBB0_53:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_56 Depth 2
                                        ##     Child Loop BB0_60 Depth 2
	cmpl	%esi, %edi
	jge	LBB0_61
## %bb.54:                              ##   in Loop: Header=BB0_53 Depth=1
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	cmpq	$0, -136(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_58
## %bb.55:                              ##   in Loop: Header=BB0_53 Depth=1
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_56:                                ##   Parent Loop BB0_53 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r10,%rcx), %edx
	movl	%edx, (%r14,%rcx)
	decq	%rax
	addq	%rsi, %rcx
	cmpq	%rax, %r13
	jne	LBB0_56
## %bb.57:                              ##   in Loop: Header=BB0_53 Depth=1
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	subq	%rax, %rdx
LBB0_58:                                ##   in Loop: Header=BB0_53 Depth=1
	cmpq	$3, -160(%rbp)                  ## 8-byte Folded Reload
	movq	-152(%rbp), %r8                 ## 8-byte Reload
	jb	LBB0_61
## %bb.59:                              ##   in Loop: Header=BB0_53 Depth=1
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	subq	%rdx, %rcx
	leaq	4(%rdx), %rbx
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	imulq	%rsi, %rbx
	leaq	3(%rdx), %rax
	imulq	%rsi, %rax
	leaq	2(%rdx), %rdi
	imulq	%rsi, %rdi
	movq	%rsi, %r12
	imulq	%rdx, %r12
	incq	%rdx
	imulq	%rsi, %rdx
	movq	-56(%rbp), %r11                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_60:                                ##   Parent Loop BB0_53 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r11,%rdx), %r9d
	movl	%r9d, (%r11,%r12)
	movl	(%r11,%rdi), %esi
	movl	%esi, (%r11,%rdx)
	movl	(%r11,%rax), %esi
	movl	%esi, (%r11,%rdi)
	movl	(%r11,%rbx), %esi
	movl	%esi, (%r11,%rax)
	addq	%r8, %r11
	addq	$-4, %rcx
	jne	LBB0_60
	jmp	LBB0_61
	.p2align	4, 0x90
LBB0_45:
	decl	%esi
	movl	%esi, -124(%rbp)
	cmpl	%esi, %edi
	jl	LBB0_47
	jmp	LBB0_49
	.p2align	4, 0x90
LBB0_13:
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	%r12, %rsi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	-104(%rbp), %edi                ## 4-byte Reload
	jmp	LBB0_50
	.p2align	4, 0x90
LBB0_62:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	cmpl	%esi, %edi
	jge	LBB0_49
LBB0_47:
	movq	_originalHeights@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	.p2align	4, 0x90
LBB0_48:                                ## =>This Inner Loop Header: Depth=1
	movl	4(%rax,%rcx,4), %edx
	movl	%edx, (%rax,%rcx,4)
	leaq	1(%rcx), %rdx
	movslq	-124(%rbp), %rsi
	movq	%rdx, %rcx
	cmpq	%rsi, %rdx
	jl	LBB0_48
LBB0_49:
	decl	%edi
LBB0_50:
	incl	%edi
	leal	-1(%rsi), %eax
	cmpl	%eax, %edi
	jge	LBB0_63
## %bb.51:
	movl	-128(%rbp), %r12d
	testl	%r12d, %r12d
	jg	LBB0_10
	jmp	LBB0_45
LBB0_63:
	movq	%r8, -120(%rbp)
	cmpl	$2, %esi
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	jl	LBB0_66
## %bb.64:
	movl	-128(%rbp), %r14d
	leal	(,%r14,4), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movslq	%esi, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	(%r8,%r12,4), %r13
	shlq	$2, %r12
	movl	$1, %ebx
	movl	%r14d, %r15d
	.p2align	4, 0x90
LBB0_65:                                ## =>This Inner Loop Header: Depth=1
	movslq	%r15d, %r15
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15,4), %rdi
	movq	%r13, %rsi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_memmove
	incq	%rbx
	addl	%r14d, %r15d
	addq	%r12, %r13
	cmpq	-96(%rbp), %rbx                 ## 8-byte Folded Reload
	jl	LBB0_65
LBB0_66:
	leaq	-128(%rbp), %rdi
	callq	_CopyMesh
	movq	-168(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_68
## %bb.67:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_68:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_EXPANDED_AXIS,4,2          ## @MAX_EXPANDED_AXIS
	.comm	_originalWidths,8,3             ## @originalWidths
	.comm	_originalHeights,8,3            ## @originalHeights
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RemoveLinearMeshColumnsRows    ; -- Begin function RemoveLinearMeshColumnsRows
	.p2align	2
_RemoveLinearMeshColumnsRows:           ; @RemoveLinearMeshColumnsRows
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	sub	sp, sp, #64
	mov	x8, sp
	stur	x8, [x29, #-152]                ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-104]
Lloh3:
	adrp	x8, _MAX_EXPANDED_AXIS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_EXPANDED_AXIS@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x8]
	mul	x8, x12, x12
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xfffffffffffffff0
	sub	x16, x9, x8
	mov	sp, x16
	ldp	w24, w8, [x0]
	stp	w24, w8, [x29, #-120]
	stp	x12, x16, [x29, #-136]          ; 16-byte Folded Spill
	lsl	x23, x12, #2
	cmp	w24, #1
	b.lt	LBB0_27
; %bb.1:
	mov	x9, #0
	lsl	x10, x24, #2
	mov	x11, x16
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	add	x11, x11, #4
	cmp	x9, x24
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x12, [x0, #8]
	add	x12, x12, x9, lsl #2
	mov	x13, x8
	mov	x14, x11
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w15, [x12]
	str	w15, [x14]
	add	x12, x12, x10
	add	x14, x14, x23
	subs	x13, x13, #1
	b.ne	LBB0_5
	b	LBB0_2
LBB0_6:
	cmp	w24, #3
	b.lt	LBB0_27
; %bb.7:
	add	x9, x16, #32
	stur	x9, [x29, #-144]                ; 8-byte Folded Spill
	mov	w26, #1
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	sub	w26, w26, #1
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	w26, w26, #1
	sub	w9, w24, #1
	ldur	w8, [x29, #-116]
	cmp	w26, w9
	b.ge	LBB0_28
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
                                        ;     Child Loop BB0_16 Depth 2
                                        ;       Child Loop BB0_19 Depth 3
                                        ;       Child Loop BB0_21 Depth 3
                                        ;     Child Loop BB0_25 Depth 2
	cmp	w8, #1
	b.lt	LBB0_22
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	sxtw	x21, w26
	sub	w9, w26, #1
	sxtw	x20, w9
	add	w9, w26, #1
	sxtw	x22, w9
	mov	w27, w8
	movi	d8, #0000000000000000
	mov	x28, x27
	ldur	x25, [x29, #-128]               ; 8-byte Folded Reload
LBB0_12:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w19, [x25, x21, lsl #2]
	ldr	w1, [x25, x20, lsl #2]
	ldr	w2, [x25, x22, lsl #2]
	mov	x0, x19
	bl	_ProjectPointOntoVector
	mov	x0, x19
	bl	_VectorSubtract
	bl	_VectorLength
	fcmp	s0, s8
	fcsel	s8, s0, s8, gt
	add	x25, x25, x23
	subs	x28, x28, #1
	b.ne	LBB0_12
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	fcvt	d0, s8
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #16313, lsl #48
	fmov	d1, x8
	fcmp	d0, d1
	b.pl	LBB0_9
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x8, #0
	sub	w24, w24, #1
	stur	w24, [x29, #-120]
	sxtw	x9, w24
	sub	x10, x9, x21
	and	x11, x10, #0xfffffffffffffff0
	add	x12, x11, x21
	ldur	x13, [x29, #-144]               ; 8-byte Folded Reload
	add	x13, x13, x21, lsl #2
	ldur	x14, [x29, #-128]               ; 8-byte Folded Reload
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=2
	add	x8, x8, #1
	add	x13, x13, x23
	add	x14, x14, x23
	cmp	x8, x27
	b.eq	LBB0_23
LBB0_16:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_19 Depth 3
                                        ;       Child Loop BB0_21 Depth 3
	cmp	w26, w24
	b.ge	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	mov	x15, x21
	cmp	x10, #16
	b.lo	LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=2
	mov	x15, x13
	mov	x16, x11
LBB0_19:                                ;   Parent Loop BB0_10 Depth=1
                                        ;     Parent Loop BB0_16 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldur	q0, [x15, #-28]
	ldur	q1, [x15, #-12]
	ldur	q2, [x15, #4]
	ldur	q3, [x15, #20]
	stp	q0, q1, [x15, #-32]
	stp	q2, q3, [x15], #64
	subs	x16, x16, #16
	b.ne	LBB0_19
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=2
	mov	x15, x12
	cmp	x10, x11
	b.eq	LBB0_15
LBB0_21:                                ;   Parent Loop BB0_10 Depth=1
                                        ;     Parent Loop BB0_16 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	x16, x14, x15, lsl #2
	add	x17, x15, #1
	ldr	w15, [x16, #4]
	str	w15, [x16]
	mov	x15, x17
	cmp	x9, x17
	b.ne	LBB0_21
	b	LBB0_15
LBB0_22:                                ;   in Loop: Header=BB0_10 Depth=1
	sub	w24, w24, #1
	stur	w24, [x29, #-120]
LBB0_23:                                ;   in Loop: Header=BB0_10 Depth=1
	cmp	w26, w24
	b.ge	LBB0_8
; %bb.24:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh8:
	adrp	x8, _originalWidths@GOTPAGE
Lloh9:
	ldr	x8, [x8, _originalWidths@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	mov	x9, x26
	sxtw	x9, w9
LBB0_25:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x10, x8, x9, lsl #2
	add	x11, x9, #1
	ldr	w9, [x10, #4]
	str	w9, [x10]
	ldursw	x24, [x29, #-120]
	mov	x9, x11
	cmp	x11, x24
	b.lt	LBB0_25
; %bb.26:                               ;   in Loop: Header=BB0_10 Depth=1
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	b	LBB0_8
LBB0_27:
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
LBB0_28:
	cmp	w8, #2
	b.le	LBB0_47
; %bb.29:
	mov	w25, #1
	mov	x28, x8
	ldur	x26, [x29, #-128]               ; 8-byte Folded Reload
	cmp	w24, #1
	b.lt	LBB0_38
LBB0_30:
	sxtw	x8, w25
	ldur	x10, [x29, #-136]               ; 8-byte Folded Reload
	stur	x8, [x29, #-144]                ; 8-byte Folded Spill
	mul	x8, x8, x10
	add	x27, x26, x8, lsl #2
	sub	w8, w25, #1
	sxtw	x8, w8
	mul	x8, x8, x10
	mov	x9, x26
	add	x26, x26, x8, lsl #2
	add	w8, w25, #1
	sxtw	x8, w8
	mul	x8, x8, x10
	add	x20, x9, x8, lsl #2
	mov	w22, w24
	movi	d8, #0000000000000000
	mov	x24, x22
	mov	x21, x27
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	ldr	w19, [x21], #4
	ldr	w1, [x26], #4
	ldr	w2, [x20], #4
	mov	x0, x19
	bl	_ProjectPointOntoVector
	mov	x0, x19
	bl	_VectorSubtract
	bl	_VectorLength
	fcmp	s0, s8
	fcsel	s8, s0, s8, gt
	subs	x24, x24, #1
	b.ne	LBB0_31
; %bb.32:
	fcvt	d0, s8
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #16313, lsl #48
	fmov	d1, x8
	fcmp	d0, d1
	b.pl	LBB0_44
; %bb.33:
	mov	x8, #0
	sub	w28, w28, #1
	stur	w28, [x29, #-116]
	sxtw	x9, w28
	ldp	x11, x10, [x29, #-144]          ; 16-byte Folded Reload
	sub	x9, x9, x11
	madd	x10, x10, x11, x10
	ldur	x26, [x29, #-128]               ; 8-byte Folded Reload
	add	x10, x26, x10, lsl #2
	b	LBB0_35
LBB0_34:                                ;   in Loop: Header=BB0_35 Depth=1
	add	x8, x8, #1
	add	x27, x27, #4
	add	x10, x10, #4
	cmp	x8, x22
	b.eq	LBB0_39
LBB0_35:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_37 Depth 2
	cmp	w25, w28
	b.ge	LBB0_34
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=1
	mov	x11, #0
	mov	x12, x9
LBB0_37:                                ;   Parent Loop BB0_35 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w13, [x10, x11]
	str	w13, [x27, x11]
	add	x11, x11, x23
	subs	x12, x12, #1
	b.ne	LBB0_37
	b	LBB0_34
LBB0_38:
	sub	w28, w28, #1
	stur	w28, [x29, #-116]
LBB0_39:
	cmp	w25, w28
	b.ge	LBB0_43
; %bb.40:
Lloh11:
	adrp	x8, _originalHeights@GOTPAGE
Lloh12:
	ldr	x8, [x8, _originalHeights@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	mov	x9, x25
	sxtw	x9, w9
LBB0_41:                                ; =>This Inner Loop Header: Depth=1
	add	x10, x8, x9, lsl #2
	add	x11, x9, #1
	ldr	w9, [x10, #4]
	str	w9, [x10]
	ldursw	x28, [x29, #-116]
	mov	x9, x11
	cmp	x11, x28
	b.lt	LBB0_41
; %bb.42:
                                        ; kill: def $w28 killed $w28 killed $x28 def $x28
LBB0_43:
	sub	w25, w25, #1
	b	LBB0_45
LBB0_44:
	ldur	x26, [x29, #-128]               ; 8-byte Folded Reload
LBB0_45:
	add	w25, w25, #1
	sub	w8, w28, #1
	cmp	w25, w8
	b.ge	LBB0_48
; %bb.46:
	ldur	w24, [x29, #-120]
	cmp	w24, #1
	b.ge	LBB0_30
	b	LBB0_38
LBB0_47:
	ldur	x26, [x29, #-128]               ; 8-byte Folded Reload
	b	LBB0_49
LBB0_48:
	mov	x8, x28
LBB0_49:
	stur	x26, [x29, #-112]
	cmp	w8, #2
	b.lt	LBB0_52
; %bb.50:
	ldur	w21, [x29, #-120]
	lsl	w19, w21, #2
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	sxtw	x22, w8
	add	x20, x26, x23
	mov	w24, #1
	mov	x25, x21
LBB0_51:                                ; =>This Inner Loop Header: Depth=1
	add	x0, x26, w25, sxtw #2
	mov	x1, x20
	mov	x2, x19
	bl	_memmove
	add	x24, x24, #1
	add	w25, w25, w21
	add	x20, x20, x23
	cmp	x24, x22
	b.lt	LBB0_51
LBB0_52:
	sub	x0, x29, #120
	bl	_CopyMesh
	ldur	x8, [x29, #-152]                ; 8-byte Folded Reload
	mov	sp, x8
	ldur	x8, [x29, #-104]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_54
; %bb.53:
	sub	sp, x29, #96
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
LBB0_54:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_EXPANDED_AXIS,4,2          ; @MAX_EXPANDED_AXIS
	.comm	_originalWidths,8,3             ; @originalWidths
	.comm	_originalHeights,8,3            ; @originalHeights
.subsections_via_symbols
