	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__hash_kill_items               ## -- Begin function _hash_kill_items
	.p2align	4, 0x90
__hash_kill_items:                      ## @_hash_kill_items
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movslq	4(%rdi), %r12
	movl	(%rdi), %r15d
	movl	(%r12), %eax
	xorl	%edi, %edi
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	testl	%eax, %eax
	setg	%dil
	callq	_Assert
	xorl	%edi, %edi
	cmpq	$0, 8(%r12)
	setne	%dil
	callq	_Assert
	movups	24(%r12), %xmm0
	movups	40(%r12), %xmm1
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_HashScanPosIsValid
	movl	%eax, %edi
	callq	_Assert
	movl	$0, (%r12)
	movl	48(%r12), %r14d
	movups	24(%r12), %xmm0
	movups	40(%r12), %xmm1
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_HashScanPosIsPinned
	movq	%rax, %r13
	testq	%rax, %rax
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	je	LBB0_2
## %bb.1:
	leaq	24(%r12), %rax
	movq	(%rax), %rbx
	movq	_BUFFER_LOCK_SHARE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_LockBuffer
	jmp	LBB0_3
LBB0_2:
	movq	_HASH_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_LH_OVERFLOW_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edi
	movl	%r14d, %esi
	callq	__hash_getbuf
	movq	%rax, %rbx
LBB0_3:
	testq	%r13, %r13
	setne	-41(%rbp)                       ## 1-byte Folded Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_BufferGetPage
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_PageGetSpecialPointer
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edi
	callq	_PageGetMaxOffsetNumber
	cmpl	$0, -88(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_16
## %bb.4:
	movl	%eax, %r13d
	xorl	%ecx, %ecx
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%r12d, %edi
	callq	_ItemIdMarkDead
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	cmpq	-88(%rbp), %rcx                 ## 8-byte Folded Reload
	je	LBB0_14
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movq	8(%r12), %rax
	movslq	(%rax,%rcx,4), %r15
	cmpl	32(%r12), %r15d
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	jge	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpl	36(%r12), %r15d
	setle	%al
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	40(%r12), %r12
	movl	4(%r12,%r15,8), %r14d
	movzbl	%al, %edi
	callq	_Assert
	cmpl	%r13d, %r14d
	jg	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	(%r12,%r15,8), %r15
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_PageGetItemId
	movl	%eax, %r12d
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_PageGetItem
	movslq	%eax, %rdi
	movq	%r15, %rsi
	callq	_ItemPointerEquals
	testq	%rax, %rax
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=2
	movl	%r14d, %edi
	callq	_OffsetNumberNext
	movl	%eax, %r14d
	cmpl	%r13d, %eax
	jle	LBB0_10
	jmp	LBB0_13
LBB0_14:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_16
## %bb.15:
	movq	_LH_PAGE_HAS_DEAD_TUPLES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	callq	_MarkBufferDirtyHint
LBB0_16:
	movq	24(%r12), %rdi
	cmpq	%rdi, 16(%r12)
	sete	%al
	orb	-41(%rbp), %al                  ## 1-byte Folded Reload
	cmpb	$1, %al
	jne	LBB0_18
## %bb.17:
	movq	_BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_LockBuffer                     ## TAILCALL
LBB0_18:
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__hash_relbuf                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFFER_LOCK_SHARE,4,2          ## @BUFFER_LOCK_SHARE
	.comm	_HASH_READ,4,2                  ## @HASH_READ
	.comm	_LH_OVERFLOW_PAGE,4,2           ## @LH_OVERFLOW_PAGE
	.comm	_LH_PAGE_HAS_DEAD_TUPLES,4,2    ## @LH_PAGE_HAS_DEAD_TUPLES
	.comm	_BUFFER_LOCK_UNLOCK,4,2         ## @BUFFER_LOCK_UNLOCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__hash_kill_items               ; -- Begin function _hash_kill_items
	.p2align	2
__hash_kill_items:                      ; @_hash_kill_items
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	ldp	w19, w27, [x0]
                                        ; kill: def $w27 killed $w27 def $x27
	sxtw	x27, w27
	ldr	w28, [x27]
	cmp	w28, #0
	cset	w0, gt
	bl	_Assert
	ldr	x8, [x27, #8]
	cmp	x8, #0
	cset	w0, ne
	bl	_Assert
	ldur	q0, [x27, #24]
	ldur	q1, [x27, #40]
	stp	q0, q1, [sp, #32]
	add	x0, sp, #32
	bl	_HashScanPosIsValid
	bl	_Assert
	str	wzr, [x27]
	ldr	w20, [x27, #48]
	ldur	q0, [x27, #24]
	ldur	q1, [x27, #40]
	stp	q0, q1, [sp, #32]
	add	x0, sp, #32
	bl	_HashScanPosIsPinned
	mov	x21, x0
	cbz	x0, LBB0_2
; %bb.1:
	add	x8, x27, #24
	ldr	x20, [x8]
Lloh0:
	adrp	x8, _BUFFER_LOCK_SHARE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BUFFER_LOCK_SHARE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_LockBuffer
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _HASH_READ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HASH_READ@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _LH_OVERFLOW_PAGE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LH_OVERFLOW_PAGE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	__hash_getbuf
	mov	x20, x0
LBB0_3:
	cmp	x21, #0
	cset	w8, ne
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	mov	x0, x20
	bl	_BufferGetPage
	mov	x22, x0
	bl	_PageGetSpecialPointer
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	mov	x0, x22
	bl	_PageGetMaxOffsetNumber
	cmp	w28, #1
	b.lt	LBB0_16
; %bb.4:
	mov	x23, x0
	str	w19, [sp, #12]                  ; 4-byte Folded Spill
	mov	x19, #0
	mov	w21, #0
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x26
	bl	_ItemIdMarkDead
	mov	w21, #1
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x19, x19, #1
	cmp	x19, x28
	b.eq	LBB0_14
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	ldr	x8, [x27, #8]
	ldrsw	x25, [x8, x19, lsl #2]
	ldr	w8, [x27, #32]
	cmp	w25, w8
	b.ge	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w0, #0
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x27, #36]
	cmp	w25, w8
	cset	w0, le
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x26, [x27, #40]
	add	x8, x26, x25, lsl #3
	ldr	w24, [x8, #4]
	bl	_Assert
	cmp	w24, w23
	b.gt	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x25, x26, x25, lsl #3
LBB0_12:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x22
	mov	x1, x24
	bl	_PageGetItemId
	mov	x26, x0
	mov	x0, x22
	mov	x1, x26
	bl	_PageGetItem
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	mov	x1, x25
	bl	_ItemPointerEquals
	cbnz	x0, LBB0_5
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	x0, x24
	bl	_OffsetNumberNext
	mov	x24, x0
	cmp	w0, w23
	b.le	LBB0_12
	b	LBB0_6
LBB0_14:
	ldr	w19, [sp, #12]                  ; 4-byte Folded Reload
	cbz	w21, LBB0_16
; %bb.15:
Lloh9:
	adrp	x8, _LH_PAGE_HAS_DEAD_TUPLES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LH_PAGE_HAS_DEAD_TUPLES@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w9, [x10]
	orr	w8, w9, w8
	str	w8, [x10]
	mov	x0, x20
	mov	w1, #1
	bl	_MarkBufferDirtyHint
LBB0_16:
	ldp	x8, x0, [x27, #16]
	cmp	x8, x0
	cset	w8, eq
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	orr	w8, w8, w9
	cmp	w8, #1
	b.ne	LBB0_18
; %bb.17:
Lloh12:
	adrp	x8, _BUFFER_LOCK_UNLOCK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_LockBuffer
	b	LBB0_19
LBB0_18:
	mov	x0, x19
	mov	x1, x20
	bl	__hash_relbuf
LBB0_19:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFFER_LOCK_SHARE,4,2          ; @BUFFER_LOCK_SHARE
	.comm	_HASH_READ,4,2                  ; @HASH_READ
	.comm	_LH_OVERFLOW_PAGE,4,2           ; @LH_OVERFLOW_PAGE
	.comm	_LH_PAGE_HAS_DEAD_TUPLES,4,2    ; @LH_PAGE_HAS_DEAD_TUPLES
	.comm	_BUFFER_LOCK_UNLOCK,4,2         ; @BUFFER_LOCK_UNLOCK
.subsections_via_symbols
