	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function UI_PositionRotatedEntityOnTag
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_UI_PositionRotatedEntityOnTag:         ## @UI_PositionRotatedEntityOnTag
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r9
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movl	24(%rsi), %ecx
	movl	28(%rsi), %eax
	cvtsi2sdq	16(%rsi), %xmm0
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	subsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %r8
	leaq	-64(%rbp), %rdi
	movl	%edx, %esi
	movl	%eax, %edx
	callq	_trap_CM_LerpTag
	movl	8(%rbx), %edi
	movl	8(%r14), %esi
	callq	_VectorCopy
	movl	8(%r14), %ecx
	movq	-56(%rbp), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rax
	movl	(%rax), %edx
	movl	%ecx, %edi
	callq	_VectorMA
	movl	8(%r14), %ecx
	movq	-56(%rbp), %rax
	movl	4(%rax), %esi
	movq	(%rbx), %rax
	movl	4(%rax), %edx
	movl	%ecx, %edi
	callq	_VectorMA
	movl	8(%r14), %ecx
	movq	-56(%rbp), %rax
	movl	8(%rax), %esi
	movq	(%rbx), %rax
	movl	8(%rax), %edx
	movl	%ecx, %edi
	callq	_VectorMA
	movq	(%r14), %rdi
	movq	-64(%rbp), %rsi
	leaq	-44(%rbp), %r15
	movq	%r15, %rdx
	callq	_MatrixMultiply
	movq	(%rbx), %rsi
	movq	(%r14), %rdx
	movq	%r15, %rdi
	callq	_MatrixMultiply
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_UI_PositionRotatedEntityOnTag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_PositionRotatedEntityOnTag
_UI_PositionRotatedEntityOnTag:         ; @UI_PositionRotatedEntityOnTag
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x5, x3
	mov	x8, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-24]
	ldp	w3, w2, [x1, #24]
	ldr	d0, [x1, #16]
	scvtf	d0, d0
	fmov	d1, #1.00000000
	fsub	d0, d1, d0
	fcvtzs	x4, d0
	add	x0, sp, #8
	mov	x1, x8
	bl	_trap_CM_LerpTag
	ldr	w0, [x20, #8]
	ldr	w1, [x19, #8]
	bl	_VectorCopy
	ldr	w0, [x19, #8]
	ldr	x8, [sp, #16]
	ldr	w1, [x8]
	ldr	x8, [x20]
	ldr	w2, [x8]
	mov	x3, x0
	bl	_VectorMA
	ldr	w0, [x19, #8]
	ldr	x8, [sp, #16]
	ldr	w1, [x8, #4]
	ldr	x8, [x20]
	ldr	w2, [x8, #4]
	mov	x3, x0
	bl	_VectorMA
	ldr	w0, [x19, #8]
	ldr	x8, [sp, #16]
	ldr	w1, [x8, #8]
	ldr	x8, [x20]
	ldr	w2, [x8, #8]
	mov	x3, x0
	bl	_VectorMA
	ldr	x0, [x19]
	ldr	x1, [sp, #8]
	add	x2, sp, #28
	bl	_MatrixMultiply
	ldr	x1, [x20]
	ldr	x2, [x19]
	add	x0, sp, #28
	bl	_MatrixMultiply
	ldur	x8, [x29, #-24]
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_2
; %bb.1:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_UI_PositionRotatedEntityOnTag
.subsections_via_symbols
