	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ginFillScanKey
_ginFillScanKey:                        ## @ginFillScanKey
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r15d
	movl	%edx, %r12d
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %r14
	movslq	8(%rdi), %rax
	leal	1(%rax), %ecx
	movl	%ecx, 8(%rdi)
	imulq	$120, %rax, %r13
	movq	_GIN_SEARCH_MODE_DEFAULT@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	%r15d, (%rax)
	leaq	(%r14,%r13), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	setne	%bl
	addl	%r9d, %ebx
	movl	%ebx, (%r14,%r13)
	movl	%r9d, -84(%rbp)                 ## 4-byte Spill
	movl	%r9d, 4(%r14,%r13)
	leal	(,%rbx,4), %edi
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	callq	_palloc
	movq	%rax, 32(%r14,%r13)
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_palloc0
	movq	%rax, 112(%r14,%r13)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 104(%r14,%r13)
	movq	16(%rbp), %rax
	movq	%rax, 96(%r14,%r13)
	movq	24(%rbp), %rax
	movq	%rax, 88(%r14,%r13)
	movq	40(%rbp), %rax
	movq	%rax, 80(%r14,%r13)
	movl	%r12d, 76(%r14,%r13)
	movl	%r15d, 8(%r14,%r13)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, 12(%r14,%r13)
	leaq	(%r14,%r13), %rdi
	addq	$72, %rdi
	callq	_ItemPointerSetMin
	movq	$0, 16(%r14,%r13)
	movl	$0, 24(%r14,%r13)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%r14,%r13)
	movups	%xmm0, 56(%r14,%r13)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_ginInitConsistentFunction
	testl	%ebx, %ebx
	jle	LBB0_19
## %bb.1:
	leaq	(%r14,%r13), %rax
	addq	$32, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	decl	%eax
	cltq
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movslq	-84(%rbp), %rax                 ## 4-byte Folded Reload
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%ebx, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	_GIN_CAT_EMPTY_QUERY@GOTPCREL(%rip), %rax
LBB0_3:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	(%rax), %r9d
LBB0_4:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	_InvalidStrategy@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%r8d, %r8d
	xorl	%eax, %eax
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	xorl	%ebx, %ebx
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r12d, %edx
	movl	%r15d, %ecx
	pushq	%rbx
	pushq	%rax
	callq	_ginFillScanEntry
	addq	$16, %rsp
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	%eax, (%rcx,%r14,4)
	incq	%r14
	cmpq	%r14, %r13
	je	LBB0_19
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	-56(%rbp), %r14                 ## 8-byte Folded Reload
	jge	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	xorl	%eax, %eax
	cmpq	$0, 32(%rbp)
	je	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	cmpq	$0, (%rcx,%rdx,8)
	movq	40(%rbp), %rcx
	je	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	32(%rbp), %rax
	movl	(%rax,%r14,4), %eax
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$130, %r15d
	je	LBB0_2
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$129, %r15d
	je	LBB0_2
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$128, %r15d
	jne	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_GIN_CAT_EMPTY_ITEM@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	40(%rbp), %rcx
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%rbp), %rdx
	movq	(%rdx,%r14,8), %r8
	movq	24(%rbp), %rdx
	movl	(%rdx,%r14,4), %r9d
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rcx,%r14,8), %rbx
	jmp	LBB0_6
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	callq	_elog
	xorl	%r9d, %r9d
	jmp	LBB0_4
LBB0_19:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GIN_SEARCH_MODE_DEFAULT,4,2    ## @GIN_SEARCH_MODE_DEFAULT
	.comm	_GIN_CAT_EMPTY_ITEM,4,2         ## @GIN_CAT_EMPTY_ITEM
	.comm	_GIN_CAT_EMPTY_QUERY,4,2        ## @GIN_CAT_EMPTY_QUERY
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected searchMode: %d"

	.comm	_InvalidStrategy,4,2            ## @InvalidStrategy
	.no_dead_strip	_ginFillScanKey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ginFillScanKey
_ginFillScanKey:                        ; @ginFillScanKey
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	stp	x4, x7, [sp, #16]               ; 16-byte Folded Spill
	mov	x20, x6
                                        ; kill: def $w5 killed $w5 def $x5
	mov	x21, x3
	mov	x24, x2
	mov	x22, x1
	mov	x23, x0
	ldr	x26, [x29, #24]
	ldr	x8, [x0, #16]
	ldrsw	x9, [x0, #8]
	add	w10, w9, #1
	str	w10, [x0, #8]
	mov	w10, #120
	madd	x27, x9, x10, x8
Lloh0:
	adrp	x8, _GIN_SEARCH_MODE_DEFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GIN_SEARCH_MODE_DEFAULT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w3
	cinc	w25, w5, ne
	stp	w25, w5, [x27]
	str	x5, [sp]                        ; 8-byte Folded Spill
	lsl	w28, w25, #2
	mov	x0, x28
	bl	_palloc
	mov	x19, x27
	str	x0, [x19, #32]!
	mov	x0, x28
	bl	_palloc0
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	stp	x8, x0, [x27, #104]
	str	x20, [sp, #16]                  ; 8-byte Folded Spill
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	stp	x8, x20, [x27, #88]
	str	x26, [x27, #80]
	str	w24, [x27, #76]
	add	x0, x27, #72
	stp	w21, w22, [x27, #8]
	bl	_ItemPointerSetMin
	str	xzr, [x27, #16]
	str	wzr, [x27, #24]
	movi.2d	v0, #0000000000000000
	stur	q0, [x27, #40]
	stur	q0, [x27, #56]
	mov	x0, x23
	mov	x1, x27
	bl	_ginInitConsistentFunction
	cmp	w25, #1
	b.lt	LBB0_18
; %bb.1:
	mov	x28, #0
	ldr	x27, [x29, #16]
	sub	w8, w22, #1
	sxtw	x8, w8
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	sxtw	x20, w8
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x7, [x26, x28, lsl #3]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	mov	x1, x22
	mov	x2, x24
	mov	x3, x21
	bl	_ginFillScanEntry
	ldr	x8, [x19]
	str	w0, [x8, x28, lsl #2]
	add	x28, x28, #1
	cmp	x25, x28
	b.eq	LBB0_18
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x28, x20
	b.ge	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w6, #0
	cbz	x27, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w6, [x27, x28, lsl #2]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x4, [x8, x28, lsl #3]
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ldr	w5, [x8, x28, lsl #2]
	cbnz	x26, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x7, #0
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w21, #130
	b.eq	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w21, #129
	b.eq	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w21, #128
	b.ne	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh3:
	adrp	x8, _GIN_CAT_EMPTY_ITEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GIN_CAT_EMPTY_ITEM@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh5:
	adrp	x8, _GIN_CAT_EMPTY_QUERY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GIN_CAT_EMPTY_QUERY@GOTPAGEOFF]
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w5, [x8]
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh7:
	adrp	x8, _ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_elog
	mov	w5, #0
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x4, #0
	mov	w6, #0
	mov	x7, #0
Lloh12:
	adrp	x8, _InvalidStrategy@GOTPAGE
Lloh13:
	ldr	x8, [x8, _InvalidStrategy@GOTPAGEOFF]
Lloh14:
	ldr	w24, [x8]
	b	LBB0_3
LBB0_18:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GIN_SEARCH_MODE_DEFAULT,4,2    ; @GIN_SEARCH_MODE_DEFAULT
	.comm	_GIN_CAT_EMPTY_ITEM,4,2         ; @GIN_CAT_EMPTY_ITEM
	.comm	_GIN_CAT_EMPTY_QUERY,4,2        ; @GIN_CAT_EMPTY_QUERY
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected searchMode: %d"

	.comm	_InvalidStrategy,4,2            ; @InvalidStrategy
	.no_dead_strip	_ginFillScanKey
.subsections_via_symbols
