	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ginFillScanEntry
_ginFillScanEntry:                      ## @ginFillScanEntry
	.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
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r13
	movq	%rdi, %r14
	movl	16(%rbp), %edx
	cmpq	$0, 24(%rbp)
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_1
LBB0_11:
	movl	$4, %edi
	movq	%r15, %r12
	movl	%edx, %r15d
	callq	_palloc
	movslq	%eax, %rbx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 108(%rbx)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 104(%rbx)
	movl	%r15d, (%rbx)
	movq	24(%rbp), %rax
	movq	%rax, 96(%rbx)
	movq	%r13, 8(%rbx)
	movq	%r12, 16(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 24(%rbx)
	movq	_InvalidBuffer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 92(%rbx)
	leaq	88(%rbx), %rdi
	callq	_ItemPointerSetMin
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%rbx)
	movups	%xmm0, 64(%rbx)
	movq	$0, 80(%rbx)
	movq	_InvalidOffsetNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	$0, 32(%rbx)
	movq	(%r14), %rcx
	movslq	8(%r14), %rsi
	cmpq	%rsi, %rcx
	jae	LBB0_13
## %bb.12:
	movq	16(%r14), %rax
	jmp	LBB0_14
LBB0_13:
	leal	(%rsi,%rsi), %eax
	movl	%eax, 8(%r14)
	movq	16(%r14), %rdi
	shll	$4, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_repalloc
	movq	%rax, 16(%r14)
	movq	(%r14), %rcx
LBB0_14:
	leaq	1(%rcx), %rdx
	movq	%rdx, (%r14)
	movq	%rbx, (%rax,%rcx,8)
LBB0_15:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	leaq	24(%r14), %rdi
	xorl	%r12d, %r12d
	jmp	LBB0_3
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14), %rax
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	16(%rbp), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	cmpq	%rax, %r12
	jae	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rcx
	movq	(%rcx,%r12,8), %rbx
	cmpq	$0, 96(%rbx)
	jne	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%edx, (%rbx)
	jne	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r13, 8(%rbx)
	jne	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r15, 16(%rbx)
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rsi, 24(%rbx)
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	104(%rbx), %ecx
	movl	108(%rbx), %edx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	callq	_ginCompareEntries
	testq	%rax, %rax
	jne	LBB0_9
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidBuffer,4,2              ## @InvalidBuffer
	.comm	_InvalidOffsetNumber,4,2        ## @InvalidOffsetNumber
	.no_dead_strip	_ginFillScanEntry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ginFillScanEntry
_ginFillScanEntry:                      ; @ginFillScanEntry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x7
	mov	x23, x6
	mov	x26, x5
	mov	x27, x4
	mov	x22, x3
	mov	x25, x2
	mov	x24, x1
	mov	x19, x0
	cbz	x7, LBB0_6
LBB0_1:
	mov	w0, #4
	bl	_palloc
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x20, w0
	stp	w26, w27, [x20, #104]
	str	w23, [x20]
	str	x21, [x20, #96]
	stp	x25, x22, [x20, #8]
	str	x24, [x20, #24]
Lloh0:
	adrp	x8, _InvalidBuffer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidBuffer@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20, #92]
	add	x0, x20, #88
	bl	_ItemPointerSetMin
	str	xzr, [x20, #80]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x20, #48]
Lloh3:
	adrp	x8, _InvalidOffsetNumber@GOTPAGE
Lloh4:
	ldr	x8, [x8, _InvalidOffsetNumber@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20, #40]
	str	xzr, [x20, #32]
	ldr	x8, [x19]
	ldrsw	x9, [x19, #8]
	cmp	x8, x9
	b.hs	LBB0_3
; %bb.2:
	ldr	x0, [x19, #16]
	b	LBB0_4
LBB0_3:
	lsl	w8, w9, #1
	str	w8, [x19, #8]
	ldr	x0, [x19, #16]
	lsl	w1, w9, #4
	bl	_repalloc
	str	x0, [x19, #16]
	ldr	x8, [x19]
LBB0_4:
	add	x9, x8, #1
	str	x9, [x19]
	str	x20, [x0, x8, lsl #3]
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_6:
	ldr	x8, [x19]
	cbz	x8, LBB0_1
; %bb.7:
	mov	x28, #0
	add	x0, x19, #24
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x19]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x28, x28, #1
	cmp	x28, x8
	b.hs	LBB0_1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #16]
	ldr	x20, [x9, x28, lsl #3]
	ldr	x9, [x20, #96]
	cbnz	x9, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w9, [x20]
	cmp	w9, w23
	b.ne	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x9, [x20, #8]
	cmp	x9, x25
	b.ne	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x9, [x20, #16]
	cmp	x9, x22
	b.ne	LBB0_9
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x9, [x20, #24]
	cmp	x9, x24
	b.ne	LBB0_9
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	ldp	w3, w2, [x20, #104]
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	mov	x1, x24
	mov	x4, x27
	mov	x5, x26
	bl	_ginCompareEntries
	cbnz	x0, LBB0_8
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidBuffer,4,2              ; @InvalidBuffer
	.comm	_InvalidOffsetNumber,4,2        ; @InvalidOffsetNumber
	.no_dead_strip	_ginFillScanEntry
.subsections_via_symbols
