	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_item_f
_get_item_f:                            ## @get_item_f
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	jle	LBB0_35
## %bb.1:
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	_items_short_ids@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.2:
	movq	%r14, %rdi
	callq	_SHORT_ID
	movl	%eax, %ecx
	movq	_ITEMS_HASH_PRIME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ecx, %eax
	cltd
	idivl	%esi
	movl	%edx, %ebx
	leal	-1(%rsi), %edi
	movl	%ecx, %eax
	cltd
	idivl	%edi
LBB0_10:
	movl	%edx, %r15d
	jmp	LBB0_11
LBB0_4:
	movq	_ITEMS_HASH_PRIME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movslq	%esi, %rcx
	movq	%r14, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_6
## %bb.5:
	movq	%r14, %rax
	cqto
	idivq	%rcx
	movq	%rdx, %rbx
	jmp	LBB0_7
LBB0_6:
	movl	%r14d, %eax
	xorl	%edx, %edx
	divl	%esi
	movl	%edx, %ebx
LBB0_7:
	decq	%rcx
	movq	%r14, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_9
## %bb.8:
	movq	%r14, %rax
	cqto
	idivq	%rcx
	movq	%rdx, %r15
LBB0_11:
	incl	%r15d
	cmpl	$128, %r12d
	je	LBB0_16
## %bb.12:
	cmpl	$129, %r12d
	jne	LBB0_20
## %bb.13:
	movq	_Items@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %r13
	movq	(%rax,%r13,8), %r12
	testq	%r12, %r12
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_21
## %bb.14:
	movq	%r12, %rdi
	callq	_ITEM_DELETED
	testl	%eax, %eax
	je	LBB0_30
## %bb.15:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_23
LBB0_16:
	movq	_Items@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movq	(%rax,%rcx,8), %r13
	xorl	%ecx, %ecx
	testq	%r13, %r13
	je	LBB0_35
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%r14, (%r13)
	je	LBB0_36
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	addl	%r15d, %ebx
	cmpl	%esi, %ebx
	movl	%esi, %edx
	cmovll	%ecx, %edx
	subl	%edx, %ebx
	movslq	%ebx, %rdx
	movq	(%rax,%rdx,8), %r13
	testq	%r13, %r13
	jne	LBB0_17
	jmp	LBB0_35
LBB0_20:
	xorl	%r13d, %r13d
	xorl	%edi, %edi
	callq	_assert
	jmp	LBB0_36
LBB0_9:
	movl	%r14d, %eax
	xorl	%edx, %edx
	divl	%ecx
	jmp	LBB0_10
LBB0_21:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movb	$1, %r14b
LBB0_22:
	xorl	%r12d, %r12d
LBB0_23:
	movq	_tot_items@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movq	_MAX_ITEMS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_35
## %bb.24:
	movl	$8, %edi
	callq	_zmalloc0
	testq	%rax, %rax
	je	LBB0_35
## %bb.25:
	movq	%rax, %r13
	testb	%r14b, %r14b
	jne	LBB0_27
## %bb.26:
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_zfree
	movq	_tot_freed_deleted_items@GOTPCREL(%rip), %rbx
LBB0_27:
	incl	(%rbx)
	movq	_Items@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, (%rax,%rcx,8)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r13)
	jmp	LBB0_36
LBB0_35:
	xorl	%r13d, %r13d
LBB0_36:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	movq	_ITEMS_HASH_PRIME@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	addl	%r15d, %ebx
	movl	(%r13), %eax
	movl	$0, %ecx
	cmpl	%eax, %ebx
	jl	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	movl	%eax, %ecx
LBB0_33:                                ##   in Loop: Header=BB0_31 Depth=1
	subl	%ecx, %ebx
	movq	_Items@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax,%rcx,8), %r12
	testq	%r12, %r12
	sete	%r14b
	je	LBB0_22
## %bb.34:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	%r12, %rdi
	callq	_ITEM_DELETED
	testl	%eax, %eax
	je	LBB0_31
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_items_short_ids,8,3            ## @items_short_ids
	.comm	_ITEMS_HASH_PRIME,4,2           ## @ITEMS_HASH_PRIME
	.comm	_Items,8,3                      ## @Items
	.comm	_tot_items,4,2                  ## @tot_items
	.comm	_MAX_ITEMS,4,2                  ## @MAX_ITEMS
	.comm	_tot_freed_deleted_items,4,2    ## @tot_freed_deleted_items
	.no_dead_strip	_get_item_f
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_item_f
_get_item_f:                            ; @get_item_f
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cmp	x0, #1
	b.lt	LBB0_21
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _items_short_ids@GOTPAGE
Lloh1:
	ldr	x8, [x8, _items_short_ids@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_SHORT_ID
Lloh3:
	adrp	x8, _ITEMS_HASH_PRIME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ITEMS_HASH_PRIME@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	sdiv	w9, w0, w8
	msub	w23, w9, w8, w0
	sub	w9, w8, #1
	sdiv	w10, w0, w9
	msub	w9, w10, w9, w0
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x8, _ITEMS_HASH_PRIME@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ITEMS_HASH_PRIME@GOTPAGEOFF]
Lloh8:
	ldrsw	x8, [x8]
	sdiv	x9, x19, x8
	msub	w23, w9, w8, w19
	sub	x9, x8, #1
	sdiv	x10, x19, x9
	msub	w9, w10, w9, w19
LBB0_4:
	add	w25, w9, #1
	cmp	w20, #128
	b.eq	LBB0_9
; %bb.5:
	cmp	w20, #129
	b.ne	LBB0_12
; %bb.6:
Lloh9:
	adrp	x22, _Items@GOTPAGE
Lloh10:
	ldr	x22, [x22, _Items@GOTPAGEOFF]
	ldr	x8, [x22]
	mov	x9, x23
	sxtw	x24, w9
	ldr	x20, [x8, w23, sxtw #3]
	cbz	x20, LBB0_13
; %bb.7:
	mov	x0, x20
	bl	_ITEM_DELETED
	cbz	w0, LBB0_14
; %bb.8:
	mov	w26, #0
	b	LBB0_17
LBB0_9:
Lloh11:
	adrp	x9, _Items@GOTPAGE
Lloh12:
	ldr	x9, [x9, _Items@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	ldr	x21, [x9, w23, sxtw #3]
	cbz	x21, LBB0_22
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x21]
	cmp	x10, x19
	b.eq	LBB0_22
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	w10, w23, w25
	cmp	w10, w8
	csel	w11, wzr, w8, lt
	sub	w23, w10, w11
	ldr	x21, [x9, w23, sxtw #3]
	cbnz	x21, LBB0_10
	b	LBB0_22
LBB0_12:
	mov	w0, #0
	bl	_assert
	b	LBB0_21
LBB0_13:
	mov	w26, #1
	b	LBB0_17
LBB0_14:
Lloh14:
	adrp	x21, _ITEMS_HASH_PRIME@GOTPAGE
Lloh15:
	ldr	x21, [x21, _ITEMS_HASH_PRIME@GOTPAGEOFF]
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	add	w9, w23, w25
	cmp	w9, w8
	csel	w8, wzr, w8, lt
	sub	w23, w9, w8
	ldr	x8, [x22]
	sxtw	x24, w23
	ldr	x20, [x8, w23, sxtw #3]
	cmp	x20, #0
	cset	w26, eq
	cbz	x20, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x20
	bl	_ITEM_DELETED
	cbz	w0, LBB0_15
LBB0_17:
Lloh16:
	adrp	x8, _tot_items@GOTPAGE
Lloh17:
	ldr	x8, [x8, _tot_items@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _MAX_ITEMS@GOTPAGE
Lloh20:
	ldr	x9, [x9, _MAX_ITEMS@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_21
; %bb.18:
	mov	w0, #8
	bl	_zmalloc0
	mov	x21, x0
	cbz	x0, LBB0_22
; %bb.19:
	tbz	w26, #0, LBB0_23
; %bb.20:
Lloh22:
	adrp	x8, _tot_items@GOTPAGE
Lloh23:
	ldr	x8, [x8, _tot_items@GOTPAGEOFF]
	b	LBB0_24
LBB0_21:
	mov	x21, #0
LBB0_22:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_23:
	mov	x0, x20
	mov	w1, #8
	bl	_zfree
Lloh24:
	adrp	x8, _tot_freed_deleted_items@GOTPAGE
Lloh25:
	ldr	x8, [x8, _tot_freed_deleted_items@GOTPAGEOFF]
LBB0_24:
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldr	x8, [x22]
	str	x21, [x8, x24, lsl #3]
	str	x19, [x21]
	b	LBB0_22
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_items_short_ids,8,3            ; @items_short_ids
	.comm	_ITEMS_HASH_PRIME,4,2           ; @ITEMS_HASH_PRIME
	.comm	_Items,8,3                      ; @Items
	.comm	_tot_items,4,2                  ; @tot_items
	.comm	_MAX_ITEMS,4,2                  ; @MAX_ITEMS
	.comm	_tot_freed_deleted_items,4,2    ; @tot_freed_deleted_items
	.no_dead_strip	_get_item_f
.subsections_via_symbols
