	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function R_CalcTexDirs
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	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_R_CalcTexDirs
	.p2align	4, 0x90
_R_CalcTexDirs:                         ## @R_CalcTexDirs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	24(%rbp), %rax
	movq	16(%rbp), %rsi
	movss	(%rcx), %xmm13                  ## xmm13 = mem[0],zero,zero,zero
	movss	4(%rcx), %xmm11                 ## xmm11 = mem[0],zero,zero,zero
	movss	(%rdx), %xmm12                  ## xmm12 = mem[0],zero,zero,zero
	movss	4(%rdx), %xmm14                 ## xmm14 = mem[0],zero,zero,zero
	movss	(%r8), %xmm8                    ## xmm8 = mem[0],zero,zero,zero
	movss	4(%r8), %xmm4                   ## xmm4 = mem[0],zero,zero,zero
	movss	8(%rcx), %xmm10                 ## xmm10 = mem[0],zero,zero,zero
	movss	8(%rdx), %xmm9                  ## xmm9 = mem[0],zero,zero,zero
	movss	8(%r8), %xmm7                   ## xmm7 = mem[0],zero,zero,zero
	movss	(%rsi), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movss	4(%rsi), %xmm3                  ## xmm3 = mem[0],zero,zero,zero
	movss	(%r9), %xmm5                    ## xmm5 = mem[0],zero,zero,zero
	movss	4(%r9), %xmm6                   ## xmm6 = mem[0],zero,zero,zero
	subss	%xmm5, %xmm0
	movss	(%rax), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	movss	4(%rax), %xmm2                  ## xmm2 = mem[0],zero,zero,zero
	subss	%xmm5, %xmm1
	subss	%xmm6, %xmm3
	subss	%xmm6, %xmm2
	movaps	%xmm3, %xmm5
	mulss	%xmm1, %xmm5
	xorps	LCPI0_0(%rip), %xmm1
	movaps	%xmm1, -64(%rbp)                ## 16-byte Spill
	movss	%xmm0, -40(%rbp)                ## 4-byte Spill
	movaps	%xmm0, %xmm6
	mulss	%xmm2, %xmm6
	subss	%xmm5, %xmm6
	xorps	%xmm5, %xmm5
	ucomiss	%xmm5, %xmm6
	jne	LBB0_1
	jnp	LBB0_2
LBB0_1:
	movss	LCPI0_1(%rip), %xmm5            ## xmm5 = mem[0],zero,zero,zero
	divss	%xmm6, %xmm5
	movaps	%xmm5, %xmm6
LBB0_2:
	movss	%xmm6, -20(%rbp)                ## 4-byte Spill
	subss	%xmm9, %xmm7
	movss	%xmm7, -36(%rbp)                ## 4-byte Spill
	subss	%xmm9, %xmm10
	movss	%xmm10, -32(%rbp)               ## 4-byte Spill
	subss	%xmm14, %xmm4
	movss	%xmm4, -28(%rbp)                ## 4-byte Spill
	subss	%xmm14, %xmm11
	movss	%xmm11, -24(%rbp)               ## 4-byte Spill
	subss	%xmm12, %xmm8
	movss	%xmm8, -16(%rbp)                ## 4-byte Spill
	subss	%xmm12, %xmm13
	movss	%xmm13, -12(%rbp)               ## 4-byte Spill
	movaps	%xmm8, %xmm1
	mulss	%xmm3, %xmm1
	movaps	%xmm2, %xmm0
	mulss	%xmm13, %xmm0
	subss	%xmm1, %xmm0
	mulss	%xmm6, %xmm0
	mulss	%xmm3, %xmm4
	movaps	%xmm2, %xmm1
	mulss	%xmm11, %xmm1
	subss	%xmm4, %xmm1
	mulss	%xmm6, %xmm1
	mulss	%xmm7, %xmm3
	mulss	%xmm10, %xmm2
	subss	%xmm3, %xmm2
	mulss	%xmm6, %xmm2
	callq	_VectorSet
	movaps	-64(%rbp), %xmm2                ## 16-byte Reload
	movss	-12(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm1
	movss	-40(%rbp), %xmm3                ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
	movss	-16(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm3, %xmm0
	addss	%xmm1, %xmm0
	movss	-20(%rbp), %xmm4                ## 4-byte Reload
                                        ## xmm4 = mem[0],zero,zero,zero
	mulss	%xmm4, %xmm0
	movss	-24(%rbp), %xmm5                ## 4-byte Reload
                                        ## xmm5 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm5
	movss	-28(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm3, %xmm1
	addss	%xmm5, %xmm1
	mulss	%xmm4, %xmm1
	movss	-32(%rbp), %xmm5                ## 4-byte Reload
                                        ## xmm5 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm5
	movss	-36(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm3, %xmm2
	addss	%xmm5, %xmm2
	mulss	%xmm4, %xmm2
	movq	%rbx, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_VectorSet                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_CalcTexDirs                  ; -- Begin function R_CalcTexDirs
	.p2align	2
_R_CalcTexDirs:                         ; @R_CalcTexDirs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	d15, d14, [sp, #16]             ; 16-byte Folded Spill
	stp	d13, d12, [sp, #32]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #48]             ; 16-byte Folded Spill
	stp	d9, d8, [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 b8, -40
	.cfi_offset b9, -48
	.cfi_offset b10, -56
	.cfi_offset b11, -64
	.cfi_offset b12, -72
	.cfi_offset b13, -80
	.cfi_offset b14, -88
	.cfi_offset b15, -96
	mov	x19, x1
	ldp	s0, s1, [x3]
	ldp	s2, s3, [x2]
	ldp	s4, s5, [x4]
	ldr	s6, [x3, #8]
	ldr	s7, [x2, #8]
	ldr	s16, [x4, #8]
	ldp	s17, s18, [x6]
	ldp	s19, s20, [x5]
	fsub	s8, s17, s19
	ldp	s17, s21, [x7]
	fsub	s17, s17, s19
	fsub	s18, s18, s20
	fsub	s19, s21, s20
	fneg	s9, s17
	fmul	s17, s18, s9
	fmadd	s17, s8, s19, s17
	fmov	s20, #1.00000000
	fdiv	s20, s20, s17
	fcmp	s17, #0.0
	fcsel	s10, s20, s17, ne
	fsub	s16, s16, s7
	str	s16, [sp, #12]                  ; 4-byte Folded Spill
	fsub	s12, s6, s7
	fsub	s13, s5, s3
	fsub	s14, s1, s3
	fsub	s15, s4, s2
	fsub	s11, s0, s2
	fneg	s2, s18
	fmul	s0, s15, s2
	fmadd	s0, s19, s11, s0
	fmul	s0, s0, s10
	fmul	s1, s13, s2
	fmadd	s1, s19, s14, s1
	fmul	s1, s1, s10
	fmul	s2, s16, s2
	fmadd	s2, s19, s12, s2
	fmul	s2, s2, s10
	bl	_VectorSet
	fmul	s0, s11, s9
	fmadd	s0, s8, s15, s0
	fmul	s0, s0, s10
	fmul	s1, s14, s9
	fmadd	s1, s8, s13, s1
	fmul	s1, s1, s10
	fmul	s2, s12, s9
	ldr	s3, [sp, #12]                   ; 4-byte Folded Reload
	fmadd	s2, s8, s3, s2
	fmul	s2, s2, s10
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #64]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #48]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #32]             ; 16-byte Folded Reload
	ldp	d15, d14, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_VectorSet
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
