	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ginInsertItemPointers          ## -- Begin function ginInsertItemPointers
	.p2align	4, 0x90
_ginInsertItemPointers:                 ## @ginInsertItemPointers
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movl	%esi, %edx
	movl	%edi, %esi
	leaq	-32(%rbp), %rdi
	callq	_ginPrepareDataScan
	xorl	%eax, %eax
	testq	%r14, %r14
	setne	%al
	movl	%eax, -28(%rbp)
	movq	%r15, -40(%rbp)
	movq	%rbx, -56(%rbp)
	movq	$0, -48(%rbp)
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movl	(%r15), %eax
	movl	%eax, -32(%rbp)
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_ginFindLeafPage
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r14, %rcx
	callq	_ginInsertValue
	movq	-48(%rbp), %rax
	cmpq	-56(%rbp), %rax
	jae	LBB0_4
## %bb.2:
	leaq	-32(%rbp), %rbx
	leaq	-56(%rbp), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-40(%rbp), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, -32(%rbp)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_ginFindLeafPage
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_ginInsertValue
	movq	-48(%rbp), %rax
	cmpq	-56(%rbp), %rax
	jb	LBB0_3
LBB0_4:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ginInsertItemPointers          ; -- Begin function ginInsertItemPointers
	.p2align	2
_ginInsertItemPointers:                 ; @ginInsertItemPointers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x4
	mov	x21, x3
	mov	x20, x2
	mov	x2, x1
	mov	x1, x0
	add	x0, sp, #24
	bl	_ginPrepareDataScan
	cmp	x19, #0
	cset	w8, ne
	str	w8, [sp, #28]
	stp	xzr, x20, [sp, #8]
	str	x21, [sp]
	cbz	x21, LBB0_4
; %bb.1:
	ldr	w8, [x20]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	w8, [sp, #24]
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #1
	mov	x3, #0
	bl	_ginFindLeafPage
	mov	x1, x0
	add	x0, sp, #24
	mov	x2, sp
	mov	x3, x19
	bl	_ginInsertValue
	ldp	x9, x8, [sp]
	cmp	x8, x9
	b.hs	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [sp, #16]
	ldr	w8, [x9, x8, lsl #2]
	b	LBB0_2
LBB0_4:
	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
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
