	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function AngleBetweenVectorsRad
_AngleBetweenVectorsRad:                ## @AngleBetweenVectorsRad
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_ScalarProduct
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_VectorMagnitude
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_VectorMagnitude
	xorl	%r14d, %r14d
	testl	%r13d, %r13d
	je	LBB0_3
## %bb.1:
	movl	%eax, %ecx
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	imull	%r13d, %ecx
	movl	%r12d, %eax
	cltd
	idivl	%ecx
	movl	%eax, %edi
	callq	_acos
	movl	%eax, %r14d
	movl	8(%rbx), %r12d
	movl	(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	4(%rbx), %ebx
	movl	8(%r15), %r13d
	movl	(%r15), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	4(%r15), %r15d
	movl	%r14d, %edi
	callq	_RadToDeg
                                        ## kill: def $eax killed $eax def $rax
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r13d, %r8d
	movl	%r15d, %r9d
	pushq	%rax
	pushq	%r14
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	callq	_TRACE
	addq	$32, %rsp
LBB0_3:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"angle between (%f,%f,%f) and (%f,%f,%f) = %f radians (%f degrees)\n"

	.no_dead_strip	_AngleBetweenVectorsRad
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function AngleBetweenVectorsRad
_AngleBetweenVectorsRad:                ; @AngleBetweenVectorsRad
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x21, x0
	bl	_ScalarProduct
	mov	x22, x0
	mov	x0, x21
	bl	_VectorMagnitude
	mov	x23, x0
	mov	x0, x19
	bl	_VectorMagnitude
	mov	w20, #0
	cbz	w23, LBB0_3
; %bb.1:
	cbz	w0, LBB0_3
; %bb.2:
	mul	w8, w0, w23
	sdiv	w0, w22, w8
	bl	_acos
	mov	x20, x0
	ldp	w23, w22, [x21, #4]
	ldr	w21, [x21]
	ldp	w25, w24, [x19, #4]
	ldr	w19, [x19]
	bl	_RadToDeg
	str	w0, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	mov	x4, x24
	mov	x5, x25
	mov	x6, x19
	mov	x7, x20
	bl	_TRACE
LBB0_3:
	mov	x0, x20
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"angle between (%f,%f,%f) and (%f,%f,%f) = %f radians (%f degrees)\n"

	.no_dead_strip	_AngleBetweenVectorsRad
.subsections_via_symbols
