	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ByteToDir                      ## -- Begin function ByteToDir
	.p2align	4, 0x90
_ByteToDir:                             ## @ByteToDir
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_NUMVERTEXNORMALS@GOTPCREL(%rip), %rax
	movq	_bytedirs@GOTPCREL(%rip), %rcx
	movl	%edi, %edx
	shlq	$2, %rdx
	addq	(%rcx), %rdx
	cmpl	%edi, (%rax)
	movq	_vec3_origin@GOTPCREL(%rip), %rax
	cmovleq	%rax, %rdx
	testl	%edi, %edi
	cmovsq	%rax, %rdx
	movl	(%rdx), %edi
	popq	%rbp
	jmp	_VectorCopy                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NUMVERTEXNORMALS,4,2           ## @NUMVERTEXNORMALS
	.comm	_vec3_origin,4,2                ## @vec3_origin
	.comm	_bytedirs,8,3                   ## @bytedirs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ByteToDir                      ; -- Begin function ByteToDir
	.p2align	2
_ByteToDir:                             ; @ByteToDir
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _NUMVERTEXNORMALS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUMVERTEXNORMALS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	mov	w8, #-1
	ccmp	w0, w8, #4, gt
Lloh3:
	adrp	x8, _bytedirs@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bytedirs@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x8, x8, w0, uxtw #2
Lloh6:
	adrp	x9, _vec3_origin@GOTPAGE
Lloh7:
	ldr	x9, [x9, _vec3_origin@GOTPAGEOFF]
	csel	x8, x8, x9, gt
	ldr	w0, [x8]
	b	_VectorCopy
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NUMVERTEXNORMALS,4,2           ; @NUMVERTEXNORMALS
	.comm	_vec3_origin,4,2                ; @vec3_origin
	.comm	_bytedirs,8,3                   ; @bytedirs
.subsections_via_symbols
