	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TH_AddEdgeToHash               ## -- Begin function TH_AddEdgeToHash
	.p2align	4, 0x90
_TH_AddEdgeToHash:                      ## @TH_AddEdgeToHash
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movslq	(%rax), %rcx
	movslq	4(%rax), %rax
	addq	%rcx, %rax
	movq	_EDGEHASH_SIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	decq	%rcx
	andq	%rax, %rcx
	movq	_thworld@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rcx,8), %rdx
	movq	%rdx, 8(%rdi)
	movq	%rdi, (%rax,%rcx,8)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EDGEHASH_SIZE,4,2              ## @EDGEHASH_SIZE
	.comm	_thworld,8,3                    ## @thworld
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TH_AddEdgeToHash               ; -- Begin function TH_AddEdgeToHash
	.p2align	2
_TH_AddEdgeToHash:                      ; @TH_AddEdgeToHash
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldp	w9, w8, [x8]
Lloh0:
	adrp	x10, _EDGEHASH_SIZE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _EDGEHASH_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	sub	w10, w10, #1
	add	w8, w8, w9
	and	w8, w10, w8
Lloh3:
	adrp	x9, _thworld@GOTPAGE
Lloh4:
	ldr	x9, [x9, _thworld@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	sbfiz	x8, x8, #3, #32
	ldr	x10, [x9, x8]
	str	x10, [x0, #8]
	str	x0, [x9, x8]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EDGEHASH_SIZE,4,2              ; @EDGEHASH_SIZE
	.comm	_thworld,8,3                    ; @thworld
.subsections_via_symbols
