	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_guVecHalfAngle                 ## -- Begin function guVecHalfAngle
	.p2align	4, 0x90
_guVecHalfAngle:                        ## @guVecHalfAngle
	.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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	subl	8(%rdi), %ecx
	movl	%ecx, -72(%rbp)
	xorl	%ecx, %ecx
	subl	4(%rdi), %ecx
	movl	%ecx, -76(%rbp)
	xorl	%ecx, %ecx
	subl	(%rdi), %ecx
	movl	%ecx, -80(%rbp)
	xorl	%ecx, %ecx
	subl	8(%rsi), %ecx
	movl	%ecx, -56(%rbp)
	xorl	%ecx, %ecx
	subl	4(%rsi), %ecx
	movl	%ecx, -60(%rbp)
	subl	(%rsi), %eax
	movl	%eax, -64(%rbp)
	leaq	-80(%rbp), %r15
	movq	%r15, %rdi
	callq	_guVecNormalize
	leaq	-64(%rbp), %r12
	movq	%r12, %rdi
	callq	_guVecNormalize
	leaq	-48(%rbp), %rbx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_guVecAdd
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_guVecDotProduct
	xorps	%xmm1, %xmm1
	ucomiss	%xmm1, %xmm0
	jbe	LBB0_2
## %bb.1:
	leaq	-48(%rbp), %rdi
	callq	_guVecNormalize
LBB0_2:
	movl	-40(%rbp), %eax
	movl	%eax, 8(%r14)
	movq	-48(%rbp), %rax
	movq	%rax, (%r14)
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	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	_guVecHalfAngle                 ; -- Begin function guVecHalfAngle
	.p2align	2
_guVecHalfAngle:                        ; @guVecHalfAngle
	.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	x19, x2
	ldr	w8, [x0, #8]
	neg	w8, w8
	str	w8, [sp, #40]
	ldr	d0, [x0]
	neg.2s	v0, v0
	str	d0, [sp, #32]
	ldr	w8, [x1, #8]
	neg	w8, w8
	str	w8, [sp, #24]
	ldr	d0, [x1]
	neg.2s	v0, v0
	str	d0, [sp, #16]
	add	x0, sp, #32
	bl	_guVecNormalize
	add	x0, sp, #16
	bl	_guVecNormalize
	add	x0, sp, #32
	add	x1, sp, #16
	mov	x2, sp
	bl	_guVecAdd
	mov	x0, sp
	mov	x1, sp
	bl	_guVecDotProduct
	fcmp	s0, #0.0
	b.le	LBB0_2
; %bb.1:
	mov	x0, sp
	bl	_guVecNormalize
LBB0_2:
	ldr	x8, [sp]
	str	x8, [x19]
	ldr	w8, [sp, #8]
	str	w8, [x19, #8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
