	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hash_update_hash_key           ## -- Begin function hash_update_hash_key
	.p2align	4, 0x90
_hash_update_hash_key:                  ## @hash_update_hash_key
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_ELEMENT_FROM_KEY
	movq	%rax, %rbx
	movq	64(%r12), %r13
	cmpq	$0, 56(%r12)
	je	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	52(%r12), %edx
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_2:
	movq	(%rbx), %rsi
	movq	%r13, %rdi
	callq	_calc_bucket
	movb	(%r12), %cl
	movq	%rax, %r15
	sarq	%cl, %r15
	movl	48(%r12), %esi
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_MOD
	movq	%rax, %r14
	movq	40(%r12), %rax
	movq	(%rax,%r15,8), %r15
	testq	%r15, %r15
	jne	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	callq	_hash_corrupted
LBB0_4:
	leaq	(%r15,%r14,8), %rcx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %r15
	movq	(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	8(%rax), %rcx
	cmpq	%rbx, %rax
	jne	LBB0_5
LBB0_7:
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	52(%r12), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_elog
LBB0_9:
	movl	32(%r12), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	*8(%r12)
	movq	%r12, %r14
	movq	%rax, %r12
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_calc_bucket
	movb	(%r14), %cl
	movq	%rax, %r13
	sarq	%cl, %r13
	movl	48(%r14), %esi
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_MOD
	movq	%rax, %rcx
	movq	40(%r14), %rax
	movq	(%rax,%r13,8), %r13
	testq	%r13, %r13
	jne	LBB0_11
## %bb.10:
	movq	%r14, %rdi
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	callq	_hash_corrupted
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
LBB0_11:
	movl	32(%r14), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	(%r13,%rcx,8), %rax
	testq	%rax, %rax
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_12
## %bb.13:
	movq	16(%r14), %r13
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_18
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r14
	cmpq	%r12, (%rax)
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r14, %rdi
	callq	_ELEMENTKEY
	movl	%eax, %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	*%r13
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:
	xorl	%eax, %eax
	jmp	LBB0_22
LBB0_18:
	addq	$8, %r14
	jmp	LBB0_19
LBB0_12:
	leaq	(,%rcx,8), %r14
	addq	%r13, %r14
LBB0_19:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, %rax
	je	LBB0_21
## %bb.20:
	movq	8(%rbx), %rax
	movq	%rax, (%r15)
	movq	%rbx, (%r14)
	movq	$0, 8(%rbx)
LBB0_21:
	movq	%r12, (%rbx)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %r14
	movq	%rbx, %rdi
	callq	_ELEMENTKEY
	movl	%eax, %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	*%r14
	movl	$1, %eax
LBB0_22:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot update in frozen hashtable \"%s\""

L_.str.1:                               ## @.str.1
	.asciz	"hash_update_hash_key argument is not in hashtable \"%s\""

	.comm	_hash_accesses,4,2              ## @hash_accesses
	.comm	_hash_collisions,4,2            ## @hash_collisions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hash_update_hash_key           ; -- Begin function hash_update_hash_key
	.p2align	2
_hash_update_hash_key:                  ; @hash_update_hash_key
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x0
	mov	x0, x1
	bl	_ELEMENT_FROM_KEY
	mov	x21, x0
	ldp	x8, x24, [x20, #56]
Lloh0:
	adrp	x25, _ERROR@GOTPAGE
Lloh1:
	ldr	x25, [x25, _ERROR@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x25]
	ldr	w2, [x20, #52]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_2:
	ldr	x1, [x21]
	mov	x0, x24
	bl	_calc_bucket
	mov	x22, x0
	ldr	x8, [x20]
	asr	x26, x0, x8
	ldr	w1, [x20, #48]
	bl	_MOD
	mov	x23, x0
	ldr	x8, [x20, #40]
	ldr	x26, [x8, x26, lsl #3]
	cbnz	x26, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_hash_corrupted
LBB0_4:
	add	x8, x26, x23, lsl #3
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x27, x8
	ldr	x9, [x8]
	add	x8, x9, #8
	cmp	x9, #0
	ccmp	x9, x21, #4, ne
	b.ne	LBB0_5
; %bb.6:
	cbnz	x9, LBB0_8
; %bb.7:
	ldr	w0, [x25]
	ldr	w2, [x20, #52]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
LBB0_8:
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #32]
	mov	x0, x19
	blr	x8
	mov	x23, x0
	mov	x0, x24
	mov	x1, x23
	bl	_calc_bucket
	mov	x24, x0
	ldr	x8, [x20]
	asr	x26, x0, x8
	ldr	w1, [x20, #48]
	bl	_MOD
	mov	x25, x0
	ldr	x8, [x20, #40]
	ldr	x26, [x8, x26, lsl #3]
	cbnz	x26, LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_hash_corrupted
LBB0_10:
	add	x8, x26, x25, lsl #3
	ldr	w25, [x20, #32]
	ldr	x9, [x8]
	cbz	x9, LBB0_16
; %bb.11:
	ldr	x28, [x20, #16]
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x9, [x26, #8]
	cbz	x9, LBB0_15
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x26, x9
	ldr	x8, [x9]
	cmp	x8, x23
	b.ne	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x26
	bl	_ELEMENTKEY
	mov	x1, x19
	mov	x2, x25
	blr	x28
	cbnz	x0, LBB0_12
	b	LBB0_19
LBB0_15:
	add	x8, x26, #8
LBB0_16:
	cmp	x22, x24
	b.eq	LBB0_18
; %bb.17:
	ldr	x9, [x21, #8]
	str	x9, [x27]
	str	x21, [x8]
	str	xzr, [x21, #8]
LBB0_18:
	str	x23, [x21]
	ldr	x20, [x20, #24]
	mov	x0, x21
	bl	_ELEMENTKEY
	mov	x1, x19
	mov	x2, x25
	blr	x20
	mov	w0, #1
LBB0_19:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot update in frozen hashtable \"%s\""

l_.str.1:                               ; @.str.1
	.asciz	"hash_update_hash_key argument is not in hashtable \"%s\""

	.comm	_hash_accesses,4,2              ; @hash_accesses
	.comm	_hash_collisions,4,2            ; @hash_collisions
.subsections_via_symbols
