	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AddPlaneToHash                 ## -- Begin function AddPlaneToHash
	.p2align	4, 0x90
_AddPlaneToHash:                        ## @AddPlaneToHash
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	callq	_fabs
	leal	7(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$3, %ecx
	movq	_PLANE_HASHES@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	decq	%rax
	movslq	%ecx, %rcx
	andq	%rax, %rcx
	movq	_planehash@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	(%rdx,%rcx,8), %rdx
	movq	%rdx, (%rbx)
	movq	(%rax), %rax
	movq	%rbx, (%rax,%rcx,8)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PLANE_HASHES,4,2               ## @PLANE_HASHES
	.comm	_planehash,8,3                  ## @planehash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AddPlaneToHash                 ; -- Begin function AddPlaneToHash
	.p2align	2
_AddPlaneToHash:                        ; @AddPlaneToHash
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_fabs
	add	w8, w0, #7
	cmp	w0, #0
	csel	w8, w8, w0, lt
Lloh0:
	adrp	x9, _PLANE_HASHES@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PLANE_HASHES@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sub	w9, w9, #1
	and	w8, w9, w8, asr #3
Lloh3:
	adrp	x9, _planehash@GOTPAGE
Lloh4:
	ldr	x9, [x9, _planehash@GOTPAGEOFF]
	ldr	x10, [x9]
	sbfiz	x8, x8, #3, #32
	ldr	x10, [x10, x8]
	str	x10, [x19]
	ldr	x9, [x9]
	str	x19, [x9, x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PLANE_HASHES,4,2               ; @PLANE_HASHES
	.comm	_planehash,8,3                  ; @planehash
.subsections_via_symbols
