	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function c_guQuatMtx
LCPI0_0:
	.long	0x3f800000                      ## float 1
LCPI0_1:
	.long	0x3e800000                      ## float 0.25
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_c_guQuatMtx
	.p2align	4, 0x90
_c_guQuatMtx:                           ## @c_guQuatMtx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	%esi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_guMtxRowCol
	movss	%xmm0, -20(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	movl	$1, %esi
	movl	$1, %edx
	callq	_guMtxRowCol
	addss	-20(%rbp), %xmm0                ## 4-byte Folded Reload
	movss	%xmm0, -20(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	movl	$2, %esi
	movl	$2, %edx
	callq	_guMtxRowCol
	addss	-20(%rbp), %xmm0                ## 4-byte Folded Reload
	addss	LCPI0_0(%rip), %xmm0
	xorps	%xmm1, %xmm1
	ucomiss	%xmm1, %xmm0
	jbe	LBB0_2
## %bb.1:
	sqrtss	%xmm0, %xmm0
	addss	%xmm0, %xmm0
	movss	%xmm0, -20(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	movl	$2, %esi
	movl	$1, %edx
	callq	_guMtxRowCol
	movss	%xmm0, -24(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	movl	$1, %esi
	movl	$2, %edx
	callq	_guMtxRowCol
	movss	-24(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	divss	-20(%rbp), %xmm1                ## 4-byte Folded Reload
	movss	%xmm1, (%r14)
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	$2, %edx
	callq	_guMtxRowCol
	movss	%xmm0, -24(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_guMtxRowCol
	movss	-24(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	divss	-20(%rbp), %xmm1                ## 4-byte Folded Reload
	movss	%xmm1, 4(%r14)
	movl	%ebx, %edi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_guMtxRowCol
	movss	%xmm0, -24(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_guMtxRowCol
	movss	-24(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movss	-20(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	divss	%xmm0, %xmm1
	movss	%xmm1, 8(%r14)
	mulss	LCPI0_1(%rip), %xmm0
	jmp	LBB0_9
LBB0_2:
	movl	%ebx, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_guMtxRowCol
	movss	%xmm0, -20(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	movl	$1, %esi
	movl	$1, %edx
	callq	_guMtxRowCol
	movss	-20(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_5
## %bb.3:
	movl	%ebx, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_guMtxRowCol
	movss	%xmm0, -20(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	movl	$2, %esi
	movl	$2, %edx
	callq	_guMtxRowCol
	movss	-20(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_5
## %bb.4:
	movl	%ebx, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_guMtxRowCol
	addss	LCPI0_0(%rip), %xmm0
	movss	%xmm0, -20(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	movl	$1, %esi
	movl	$1, %edx
	callq	_guMtxRowCol
	addss	-20(%rbp), %xmm0                ## 4-byte Folded Reload
	movss	%xmm0, -20(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	movl	$2, %esi
	movl	$2, %edx
	callq	_guMtxRowCol
	addss	-20(%rbp), %xmm0                ## 4-byte Folded Reload
	xorps	%xmm1, %xmm1
	sqrtss	%xmm0, %xmm1
	addss	%xmm1, %xmm1
	movss	%xmm1, -24(%rbp)                ## 4-byte Spill
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm0
	movss	%xmm0, (%r14)
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_guMtxRowCol
	movss	%xmm0, -20(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_guMtxRowCol
	addss	-20(%rbp), %xmm0                ## 4-byte Folded Reload
	divss	-24(%rbp), %xmm0                ## 4-byte Folded Reload
	movss	%xmm0, 4(%r14)
	movl	%ebx, %edi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_guMtxRowCol
	movss	%xmm0, -20(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	$2, %edx
	callq	_guMtxRowCol
	addss	-20(%rbp), %xmm0                ## 4-byte Folded Reload
	divss	-24(%rbp), %xmm0                ## 4-byte Folded Reload
	movss	%xmm0, 8(%r14)
	movl	%ebx, %edi
	movl	$2, %esi
	movl	$1, %edx
	callq	_guMtxRowCol
	movss	%xmm0, -20(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	movl	$1, %esi
	movl	$2, %edx
	jmp	LBB0_8
LBB0_5:
	movl	%ebx, %edi
	movl	$1, %esi
	movl	$1, %edx
	callq	_guMtxRowCol
	movss	%xmm0, -20(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	movl	$2, %esi
	movl	$2, %edx
	callq	_guMtxRowCol
	movss	%xmm0, -24(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_guMtxRowCol
	movss	%xmm0, -32(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	movl	$1, %esi
	movl	$1, %edx
	callq	_guMtxRowCol
	movss	%xmm0, -28(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	movl	$2, %esi
	movl	$2, %edx
	callq	_guMtxRowCol
	movss	-20(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	ucomiss	-24(%rbp), %xmm1                ## 4-byte Folded Reload
	movss	-32(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	addss	LCPI0_0(%rip), %xmm1
	addss	-28(%rbp), %xmm1                ## 4-byte Folded Reload
	addss	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	sqrtss	%xmm1, %xmm0
	addss	%xmm0, %xmm0
	movss	%xmm0, -24(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	jbe	LBB0_7
## %bb.6:
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_guMtxRowCol
	movss	%xmm0, -20(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_guMtxRowCol
	addss	-20(%rbp), %xmm0                ## 4-byte Folded Reload
	movss	-24(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	divss	%xmm1, %xmm0
	movss	%xmm0, (%r14)
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm0
	movss	%xmm0, 4(%r14)
	movl	%ebx, %edi
	movl	$1, %esi
	movl	$2, %edx
	callq	_guMtxRowCol
	movss	%xmm0, -20(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	movl	$2, %esi
	movl	$1, %edx
	callq	_guMtxRowCol
	addss	-20(%rbp), %xmm0                ## 4-byte Folded Reload
	divss	-24(%rbp), %xmm0                ## 4-byte Folded Reload
	movss	%xmm0, 8(%r14)
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	$2, %edx
	callq	_guMtxRowCol
	movss	%xmm0, -20(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	movl	$2, %esi
	xorl	%edx, %edx
	jmp	LBB0_8
LBB0_7:
	xorl	%esi, %esi
	movl	$2, %edx
	callq	_guMtxRowCol
	movss	%xmm0, -20(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_guMtxRowCol
	addss	-20(%rbp), %xmm0                ## 4-byte Folded Reload
	divss	-24(%rbp), %xmm0                ## 4-byte Folded Reload
	movss	%xmm0, (%r14)
	movl	%ebx, %edi
	movl	$1, %esi
	movl	$2, %edx
	callq	_guMtxRowCol
	movss	%xmm0, -20(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	movl	$2, %esi
	movl	$1, %edx
	callq	_guMtxRowCol
	addss	-20(%rbp), %xmm0                ## 4-byte Folded Reload
	movss	-24(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	divss	%xmm1, %xmm0
	movss	%xmm0, 4(%r14)
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm0
	movss	%xmm0, 8(%r14)
	movl	%ebx, %edi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_guMtxRowCol
	movss	%xmm0, -20(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	$1, %edx
LBB0_8:
	callq	_guMtxRowCol
	movss	-20(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movaps	%xmm1, %xmm0
	divss	-24(%rbp), %xmm0                ## 4-byte Folded Reload
LBB0_9:
	movss	%xmm0, 12(%r14)
	movq	%r14, %rdi
	movq	%r14, %rsi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_c_guQuatNormalize              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c_guQuatMtx                    ; -- Begin function c_guQuatMtx
	.p2align	2
_c_guQuatMtx:                           ; @c_guQuatMtx
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	mov	w1, #0
	mov	w2, #0
	bl	_guMtxRowCol
	fmov	s8, s0
	mov	x0, x20
	mov	w1, #1
	mov	w2, #1
	bl	_guMtxRowCol
	fadd	s8, s8, s0
	mov	x0, x20
	mov	w1, #2
	mov	w2, #2
	bl	_guMtxRowCol
	fadd	s0, s8, s0
	fmov	s1, #1.00000000
	fadd	s0, s0, s1
	fcmp	s0, #0.0
	b.le	LBB0_2
; %bb.1:
	fsqrt	s0, s0
	fadd	s9, s0, s0
	mov	x0, x20
	mov	w1, #2
	mov	w2, #1
	bl	_guMtxRowCol
	fmov	s8, s0
	mov	x0, x20
	mov	w1, #1
	mov	w2, #2
	bl	_guMtxRowCol
	fsub	s0, s8, s0
	fdiv	s0, s0, s9
	str	s0, [x19]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #2
	bl	_guMtxRowCol
	fmov	s8, s0
	mov	x0, x20
	mov	w1, #2
	mov	w2, #0
	bl	_guMtxRowCol
	fsub	s0, s8, s0
	fdiv	s0, s0, s9
	str	s0, [x19, #4]
	mov	x0, x20
	mov	w1, #1
	mov	w2, #0
	bl	_guMtxRowCol
	fmov	s8, s0
	mov	x0, x20
	mov	w1, #0
	mov	w2, #1
	bl	_guMtxRowCol
	fsub	s0, s8, s0
	fdiv	s0, s0, s9
	str	s0, [x19, #8]
	fmov	s0, #0.25000000
	fmul	s0, s9, s0
	b	LBB0_9
LBB0_2:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	bl	_guMtxRowCol
	fmov	s8, s0
	mov	x0, x20
	mov	w1, #1
	mov	w2, #1
	bl	_guMtxRowCol
	fcmp	s8, s0
	b.le	LBB0_5
; %bb.3:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	bl	_guMtxRowCol
	fmov	s8, s0
	mov	x0, x20
	mov	w1, #2
	mov	w2, #2
	bl	_guMtxRowCol
	fcmp	s8, s0
	b.le	LBB0_5
; %bb.4:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	bl	_guMtxRowCol
	fmov	s1, #1.00000000
	fadd	s8, s0, s1
	mov	x0, x20
	mov	w1, #1
	mov	w2, #1
	bl	_guMtxRowCol
	fadd	s8, s8, s0
	mov	x0, x20
	mov	w1, #2
	mov	w2, #2
	bl	_guMtxRowCol
	fadd	s0, s8, s0
	fsqrt	s0, s0
	fadd	s9, s0, s0
	fmov	s0, #0.25000000
	fmul	s0, s9, s0
	str	s0, [x19]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #1
	bl	_guMtxRowCol
	fmov	s8, s0
	mov	x0, x20
	mov	w1, #1
	mov	w2, #0
	bl	_guMtxRowCol
	fadd	s0, s8, s0
	fdiv	s0, s0, s9
	str	s0, [x19, #4]
	mov	x0, x20
	mov	w1, #2
	mov	w2, #0
	bl	_guMtxRowCol
	fmov	s8, s0
	mov	x0, x20
	mov	w1, #0
	mov	w2, #2
	bl	_guMtxRowCol
	fadd	s0, s8, s0
	fdiv	s0, s0, s9
	str	s0, [x19, #8]
	mov	x0, x20
	mov	w1, #2
	mov	w2, #1
	bl	_guMtxRowCol
	fmov	s8, s0
	mov	x0, x20
	mov	w1, #1
	mov	w2, #2
	bl	_guMtxRowCol
	fsub	s0, s8, s0
	fdiv	s0, s0, s9
	b	LBB0_9
LBB0_5:
	mov	x0, x20
	mov	w1, #1
	mov	w2, #1
	bl	_guMtxRowCol
	fmov	s8, s0
	mov	x0, x20
	mov	w1, #2
	mov	w2, #2
	bl	_guMtxRowCol
	fmov	s9, s0
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	bl	_guMtxRowCol
	fmov	s1, #1.00000000
	fadd	s10, s0, s1
	mov	x0, x20
	mov	w1, #1
	mov	w2, #1
	bl	_guMtxRowCol
	fadd	s10, s10, s0
	mov	x0, x20
	mov	w1, #2
	mov	w2, #2
	bl	_guMtxRowCol
	fadd	s0, s10, s0
	fsqrt	s0, s0
	fadd	s10, s0, s0
	mov	x0, x20
	mov	w1, #0
	fcmp	s8, s9
	b.le	LBB0_7
; %bb.6:
	mov	w2, #1
	bl	_guMtxRowCol
	fmov	s8, s0
	mov	x0, x20
	mov	w1, #1
	mov	w2, #0
	bl	_guMtxRowCol
	fadd	s0, s8, s0
	fdiv	s0, s0, s10
	fmov	s1, #0.25000000
	fmul	s1, s10, s1
	stp	s0, s1, [x19]
	mov	x0, x20
	mov	w1, #1
	mov	w2, #2
	bl	_guMtxRowCol
	fmov	s8, s0
	mov	x0, x20
	mov	w1, #2
	mov	w2, #1
	bl	_guMtxRowCol
	fadd	s0, s8, s0
	fdiv	s0, s0, s10
	str	s0, [x19, #8]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #2
	bl	_guMtxRowCol
	fmov	s8, s0
	mov	x0, x20
	mov	w1, #2
	mov	w2, #0
	b	LBB0_8
LBB0_7:
	mov	w2, #2
	bl	_guMtxRowCol
	fmov	s8, s0
	mov	x0, x20
	mov	w1, #2
	mov	w2, #0
	bl	_guMtxRowCol
	fadd	s0, s8, s0
	fdiv	s0, s0, s10
	str	s0, [x19]
	mov	x0, x20
	mov	w1, #1
	mov	w2, #2
	bl	_guMtxRowCol
	fmov	s8, s0
	mov	x0, x20
	mov	w1, #2
	mov	w2, #1
	bl	_guMtxRowCol
	fadd	s0, s8, s0
	fdiv	s0, s0, s10
	fmov	s1, #0.25000000
	fmul	s1, s10, s1
	stp	s0, s1, [x19, #4]
	mov	x0, x20
	mov	w1, #1
	mov	w2, #0
	bl	_guMtxRowCol
	fmov	s8, s0
	mov	x0, x20
	mov	w1, #0
	mov	w2, #1
LBB0_8:
	bl	_guMtxRowCol
	fsub	s0, s8, s0
	fdiv	s0, s0, s10
LBB0_9:
	str	s0, [x19, #12]
	mov	x0, x19
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #64             ; 16-byte Folded Reload
	b	_c_guQuatNormalize
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
