	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_guLookAt                       ## -- Begin function guLookAt
	.p2align	4, 0x90
_guLookAt:                              ## @guLookAt
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %eax
	subl	(%rcx), %eax
	movl	%eax, -56(%rbp)
	movl	4(%rsi), %eax
	subl	4(%rcx), %eax
	movl	%eax, -52(%rbp)
	movl	8(%rsi), %eax
	subl	8(%rcx), %eax
	movl	%eax, -48(%rbp)
	leaq	-56(%rbp), %r12
	movq	%r12, %rdi
	callq	_guVecNormalize
	leaq	-88(%rbp), %r13
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_guVecCross
	movq	%r13, %rdi
	callq	_guVecNormalize
	leaq	-72(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_guVecCross
	movl	-88(%rbp), %eax
	movq	(%r14), %rcx
	movl	%eax, (%rcx)
	movl	-84(%rbp), %eax
	movl	%eax, 4(%rcx)
	movl	-80(%rbp), %eax
	movl	%eax, 8(%rcx)
	movl	-88(%rbp), %eax
	movl	-84(%rbp), %edx
	imull	(%rbx), %eax
	imull	4(%rbx), %edx
	addl	%eax, %edx
	movl	-80(%rbp), %eax
	imull	8(%rbx), %eax
	addl	%edx, %eax
	negl	%eax
	movl	%eax, 12(%rcx)
	movl	-72(%rbp), %eax
	movq	8(%r14), %rcx
	movl	%eax, (%rcx)
	movl	-68(%rbp), %eax
	movl	%eax, 4(%rcx)
	movl	-64(%rbp), %eax
	movl	%eax, 8(%rcx)
	movl	-72(%rbp), %eax
	movl	-68(%rbp), %edx
	imull	(%rbx), %eax
	imull	4(%rbx), %edx
	addl	%eax, %edx
	movl	-64(%rbp), %eax
	imull	8(%rbx), %eax
	addl	%edx, %eax
	negl	%eax
	movl	%eax, 12(%rcx)
	movl	-56(%rbp), %eax
	movq	16(%r14), %rcx
	movl	%eax, (%rcx)
	movl	-52(%rbp), %eax
	movl	%eax, 4(%rcx)
	movl	-48(%rbp), %eax
	movl	%eax, 8(%rcx)
	movl	-56(%rbp), %eax
	movl	-52(%rbp), %edx
	imull	(%rbx), %eax
	imull	4(%rbx), %edx
	movl	-48(%rbp), %esi
	imull	8(%rbx), %esi
	addl	%eax, %edx
	addl	%edx, %esi
	negl	%esi
	movl	%esi, 12(%rcx)
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_guLookAt                       ; -- Begin function guLookAt
	.p2align	2
_guLookAt:                              ; @guLookAt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	d0, [x1]
	ldr	d1, [x3]
	sub.2s	v0, v0, v1
	str	d0, [sp, #32]
	ldr	w8, [x1, #8]
	ldr	w9, [x3, #8]
	sub	w8, w8, w9
	str	w8, [sp, #40]
	add	x0, sp, #32
	bl	_guVecNormalize
	add	x1, sp, #32
	add	x2, sp, #16
	mov	x0, x21
	bl	_guVecCross
	add	x0, sp, #16
	bl	_guVecNormalize
	add	x0, sp, #32
	add	x1, sp, #16
	mov	x2, sp
	bl	_guVecCross
	ldr	w8, [sp, #16]
	ldr	x9, [x20]
	str	w8, [x9]
	ldp	w10, w8, [sp, #16]
	str	w8, [x9, #4]
	ldp	w11, w8, [sp, #20]
	str	w8, [x9, #8]
	ldp	w8, w12, [x19]
	mul	w11, w11, w12
	madd	w8, w10, w8, w11
	ldr	w10, [x19, #8]
	ldr	w11, [sp, #24]
	madd	w8, w11, w10, w8
	neg	w8, w8
	str	w8, [x9, #12]
	ldr	w8, [sp]
	ldr	x9, [x20, #8]
	str	w8, [x9]
	ldp	w10, w8, [sp]
	str	w8, [x9, #4]
	ldp	w11, w8, [sp, #4]
	str	w8, [x9, #8]
	ldp	w8, w12, [x19]
	mul	w11, w11, w12
	madd	w8, w10, w8, w11
	ldr	w10, [x19, #8]
	ldr	w11, [sp, #8]
	madd	w8, w11, w10, w8
	neg	w8, w8
	str	w8, [x9, #12]
	ldr	w8, [sp, #32]
	ldr	x9, [x20, #16]
	str	w8, [x9]
	ldp	w10, w8, [sp, #32]
	str	w8, [x9, #4]
	ldp	w11, w8, [sp, #36]
	str	w8, [x9, #8]
	ldp	w8, w12, [x19]
	mul	w11, w11, w12
	madd	w8, w10, w8, w11
	ldr	w10, [x19, #8]
	ldr	w11, [sp, #40]
	madd	w8, w11, w10, w8
	neg	w8, w8
	str	w8, [x9, #12]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
