	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gistrescan                     ## -- Begin function gistrescan
	.p2align	4, 0x90
_gistrescan:                            ## @gistrescan
	.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	%rcx, %r14
	movq	%rsi, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movslq	56(%rdi), %r13
	movq	32(%r13), %rdx
	movq	(%r13), %rdi
	movq	16(%r13), %rax
	movq	(%rax), %rcx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	cmpq	%rcx, %rdi
	jne	LBB0_4
## %bb.3:
	movq	_ALLOCSET_DEFAULT_SIZES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_AllocSetContextCreate
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, (%r13)
	cmpq	$0, 48(%rbx)
	jne	LBB0_7
	jmp	LBB0_14
LBB0_1:
	xorl	%eax, %eax
	cmpq	%rcx, %rdi
	sete	%al
	movl	%eax, %edi
	callq	_Assert
	jmp	LBB0_5
LBB0_4:
	callq	_MemoryContextReset
LBB0_5:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	cmpq	$0, 48(%rbx)
	je	LBB0_14
LBB0_7:
	cmpl	$0, 40(%rbx)
	jne	LBB0_14
## %bb.8:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %rdi
	callq	_RelationGetNumberOfAttributes
	movl	%eax, %r12d
	movq	16(%rbx), %rdi
	callq	_IndexRelationGetNumberOfKeyAttributes
	movl	%eax, %r15d
	movl	%r12d, %edi
	callq	_CreateTemplateTupleDesc
	movq	16(%r13), %rcx
	movl	%eax, 24(%rcx)
	testl	%r15d, %r15d
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_9
## %bb.18:
	incl	%r15d
	movq	16(%rbx), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %ecx
	movl	%eax, %edi
	movl	$1, %esi
	xorl	%edx, %edx
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	_TupleDescInitEntry
	cmpl	$2, %r15d
	je	LBB0_10
## %bb.19:
	movl	$2, %r14d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rax
	movl	24(%rax), %edi
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	movl	-4(%rax,%r14,4), %ecx
	movl	%r14d, %esi
	xorl	%edx, %edx
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	_TupleDescInitEntry
	incq	%r14
	cmpq	%r14, %r15
	jne	LBB0_20
	jmp	LBB0_10
LBB0_9:
	movl	$1, %r15d
LBB0_10:
	cmpl	%r12d, %r15d
	jg	LBB0_13
## %bb.11:
	decl	%r15d
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	leal	1(%r15), %ebx
	movq	16(%r13), %rax
	movl	24(%rax), %r14d
	movl	28(%rax), %edi
	movl	%r15d, %esi
	callq	_TupleDescAttr
	movl	(%rax), %ecx
	movl	%r14d, %edi
	movl	%ebx, %esi
	xorl	%edx, %edx
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	_TupleDescInitEntry
	movl	%ebx, %r15d
	cmpl	%ebx, %r12d
	jne	LBB0_12
LBB0_13:
	movq	16(%r13), %rax
	movl	24(%rax), %ecx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%ecx, 40(%rdx)
	movq	(%rax), %rdi
	movq	_ALLOCSET_DEFAULT_SIZES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_AllocSetContextCreate
	movq	%rax, 40(%r13)
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-72(%rbp), %r15                 ## 8-byte Reload
LBB0_14:
	movq	(%r13), %rdi
	callq	_MemoryContextSwitchTo
	movq	%rax, %rbx
	movq	_pairingheap_GISTSearchItem_cmp@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_pairingheap_allocate
	movq	%rax, 32(%r13)
	movq	%rbx, %rdi
	callq	_MemoryContextSwitchTo
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	$1, 8(%r13)
	testq	%r15, %r15
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_39
## %bb.15:
	movl	(%rsi), %edx
	testl	%edx, %edx
	jle	LBB0_39
## %bb.16:
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_17
## %bb.21:
	shll	$3, %edx
	movl	%edx, %edi
	callq	_palloc
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, %r12
	movl	(%rsi), %edx
	testl	%edx, %edx
	jle	LBB0_29
## %bb.22:
	leaq	-1(%rdx), %rcx
	movl	%edx, %r8d
	andl	$3, %r8d
	cmpq	$3, %rcx
	jae	LBB0_24
## %bb.23:
	xorl	%ecx, %ecx
	jmp	LBB0_26
LBB0_17:
	xorl	%r12d, %r12d
	jmp	LBB0_29
LBB0_24:
	movl	%edx, %eax
	andl	$-4, %eax
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%rsi), %rbx
	movq	8(%rbx,%rdi), %rbx
	movq	%rbx, (%r12,%rcx,8)
	movq	32(%rsi), %rbx
	movq	32(%rbx,%rdi), %rbx
	movq	%rbx, 8(%r12,%rcx,8)
	movq	32(%rsi), %rbx
	movq	56(%rbx,%rdi), %rbx
	movq	%rbx, 16(%r12,%rcx,8)
	movq	32(%rsi), %rbx
	movq	80(%rbx,%rdi), %rbx
	movq	%rbx, 24(%r12,%rcx,8)
	addq	$4, %rcx
	addq	$96, %rdi
	cmpq	%rcx, %rax
	jne	LBB0_25
LBB0_26:
	testq	%r8, %r8
	je	LBB0_29
## %bb.27:
	leaq	(%r12,%rcx,8), %rax
	shlq	$3, %rcx
	leaq	(%rcx,%rcx,2), %rcx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%rsi), %rbx
	movq	8(%rbx,%rcx), %rbx
	movq	%rbx, (%rax,%rdi,8)
	incq	%rdi
	addq	$24, %rcx
	cmpq	%rdi, %r8
	jne	LBB0_28
LBB0_29:
	movq	32(%rsi), %rdi
	shll	$2, %edx
	movq	%r15, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memmove
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	$1, 12(%r13)
	cmpl	$0, (%rsi)
	jle	LBB0_37
## %bb.30:
	movl	$8, %ebx
	xorl	%r14d, %r14d
	movq	_SK_ISNULL@GOTPCREL(%rip), %r15
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_31 Depth=1
	incq	%r14
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movslq	(%rsi), %rax
	addq	$24, %rbx
	cmpq	%rax, %r14
	jge	LBB0_37
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%rsi), %r13
	leaq	(%rbx,%r13), %rdi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movq	(%rax), %rdx
	movq	16(%rax), %rax
	movslq	-8(%r13,%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$-4, %rsi
	callq	_fmgr_info_copy
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	(%r12,%r14,8), %rax
	movq	%rax, (%r13,%rbx)
LBB0_33:                                ##   in Loop: Header=BB0_31 Depth=1
	movl	-4(%r13,%rbx), %eax
	testl	%eax, (%r15)
	je	LBB0_36
## %bb.34:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	_SK_SEARCHNOTNULL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_SK_SEARCHNULL@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	testl	%eax, %ecx
	jne	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	$0, 12(%rax)
	jmp	LBB0_36
LBB0_37:
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_39
## %bb.38:
	movq	%r12, %rdi
	callq	_pfree
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_39:
	testq	%r14, %r14
	je	LBB0_60
## %bb.40:
	movl	4(%rsi), %edx
	testl	%edx, %edx
	jle	LBB0_60
## %bb.41:
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_42
## %bb.43:
	shll	$3, %edx
	movl	%edx, %edi
	callq	_palloc
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	4(%rsi), %edx
	testl	%edx, %edx
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jle	LBB0_51
## %bb.44:
	leaq	-1(%rdx), %rcx
	movl	%edx, %r8d
	andl	$3, %r8d
	cmpq	$3, %rcx
	jae	LBB0_46
## %bb.45:
	xorl	%ecx, %ecx
	jmp	LBB0_48
LBB0_42:
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_51
LBB0_46:
	movl	%edx, %r9d
	andl	$-4, %r9d
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_47:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%rsi), %rbx
	movq	8(%rbx,%rdi), %rbx
	movq	%rbx, (%rax,%rcx,8)
	movq	24(%rsi), %rbx
	movq	32(%rbx,%rdi), %rbx
	movq	%rbx, 8(%rax,%rcx,8)
	movq	24(%rsi), %rbx
	movq	56(%rbx,%rdi), %rbx
	movq	%rbx, 16(%rax,%rcx,8)
	movq	24(%rsi), %rbx
	movq	80(%rbx,%rdi), %rbx
	movq	%rbx, 24(%rax,%rcx,8)
	addq	$4, %rcx
	addq	$96, %rdi
	cmpq	%rcx, %r9
	jne	LBB0_47
LBB0_48:
	testq	%r8, %r8
	je	LBB0_51
## %bb.49:
	leaq	(%rax,%rcx,8), %rax
	shlq	$3, %rcx
	leaq	(%rcx,%rcx,2), %rcx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_50:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%rsi), %rbx
	movq	8(%rbx,%rcx), %rbx
	movq	%rbx, (%rax,%rdi,8)
	incq	%rdi
	addq	$24, %rcx
	cmpq	%rdi, %r8
	jne	LBB0_50
LBB0_51:
	movq	24(%rsi), %rdi
	shll	$2, %edx
	movq	%r14, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memmove
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	shll	$2, %edi
	callq	_palloc
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, 24(%r13)
	cmpl	$0, 4(%rsi)
	jle	LBB0_58
## %bb.52:
	movl	$8, %r15d
	xorl	%r13d, %r13d
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_53
	.p2align	4, 0x90
LBB0_57:                                ##   in Loop: Header=BB0_53 Depth=1
	incq	%r13
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movslq	4(%rsi), %rax
	addq	$24, %r15
	cmpq	%rax, %r13
	jge	LBB0_58
LBB0_53:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%rsi), %r12
	movq	16(%r14), %rax
	movq	8(%rax), %rax
	movslq	-8(%r12,%r15), %rbx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	-4(%rax,%rbx,4), %edi
	callq	_OidIsValid
	testl	%eax, %eax
	jne	LBB0_55
## %bb.54:                              ##   in Loop: Header=BB0_53 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	_GIST_DISTANCE_PROC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movl	-8(%r12,%r15), %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rdi
	callq	_RelationGetRelationName
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	leaq	L_.str.2(%rip), %rsi
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	movl	%eax, %r8d
	callq	_elog
LBB0_55:                                ##   in Loop: Header=BB0_53 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx,4), %rax
	addq	$-4, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	(%r12,%r15), %rbx
	movl	8(%r12,%r15), %edi
	callq	_get_func_rettype
	movq	24(%r14), %rcx
	movl	%eax, (%rcx,%r13,4)
	movq	16(%r14), %rax
	movq	(%rax), %rdx
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_fmgr_info_copy
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_57
## %bb.56:                              ##   in Loop: Header=BB0_53 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r13,8), %rax
	movq	%rax, (%r12,%r15)
	jmp	LBB0_57
LBB0_58:
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_60
## %bb.59:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_pfree
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_60:
	movq	$0, 8(%rsi)
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GiST queue context"

	.comm	_ALLOCSET_DEFAULT_SIZES,4,2     ## @ALLOCSET_DEFAULT_SIZES
L_.str.1:                               ## @.str.1
	.asciz	"GiST page data context"

	.comm	_pairingheap_GISTSearchItem_cmp,4,2 ## @pairingheap_GISTSearchItem_cmp
	.comm	_SK_ISNULL,4,2                  ## @SK_ISNULL
	.comm	_SK_SEARCHNULL,4,2              ## @SK_SEARCHNULL
	.comm	_SK_SEARCHNOTNULL,4,2           ## @SK_SEARCHNOTNULL
	.comm	_ERROR,4,2                      ## @ERROR
L_.str.2:                               ## @.str.2
	.asciz	"missing support function %d for attribute %d of index \"%s\""

	.comm	_GIST_DISTANCE_PROC,4,2         ## @GIST_DISTANCE_PROC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gistrescan                     ; -- Begin function gistrescan
	.p2align	2
_gistrescan:                            ; @gistrescan
	.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	x20, x3
	mov	x21, x1
	mov	x19, x0
	ldrsw	x26, [x0, #56]
	ldr	x9, [x26, #32]
	ldr	x0, [x26]
	ldr	x8, [x26, #16]
	ldr	x8, [x8]
	str	x9, [sp, #8]                    ; 8-byte Folded Spill
	cbz	x9, LBB0_3
; %bb.1:
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_AllocSetContextCreate
	str	x0, [x26]
	ldr	x8, [x19, #48]
	cbnz	x8, LBB0_5
	b	LBB0_15
LBB0_3:
	cmp	x0, x8
	cset	w0, eq
	bl	_Assert
	ldr	x8, [x19, #48]
	cbnz	x8, LBB0_5
	b	LBB0_15
LBB0_4:
	bl	_MemoryContextReset
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_15
LBB0_5:
	ldr	w8, [x19, #40]
	cbnz	w8, LBB0_15
; %bb.6:
	ldr	x0, [x19, #16]
	bl	_RelationGetNumberOfAttributes
	mov	x22, x0
	ldr	x0, [x19, #16]
	bl	_IndexRelationGetNumberOfKeyAttributes
	mov	x23, x0
	mov	x0, x22
	bl	_CreateTemplateTupleDesc
	ldr	x8, [x26, #16]
	str	w0, [x8, #24]
	cmp	w23, #1
	b.lt	LBB0_10
; %bb.7:
	add	w23, w23, #1
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	w3, [x8]
	mov	w1, #1
	mov	x2, #0
	mov	w4, #-1
	mov	w5, #0
	bl	_TupleDescInitEntry
	cmp	w23, #2
	b.eq	LBB0_11
; %bb.8:
	mov	x24, #0
	sub	x25, x23, #2
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26, #16]
	ldr	w0, [x8, #24]
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	add	x8, x8, x24, lsl #2
	ldr	w3, [x8, #4]
	add	w1, w24, #2
	mov	x2, #0
	mov	w4, #-1
	mov	w5, #0
	bl	_TupleDescInitEntry
	add	x24, x24, #1
	cmp	x25, x24
	b.ne	LBB0_9
	b	LBB0_11
LBB0_10:
	mov	w23, #1
LBB0_11:
	cmp	w23, w22
	b.gt	LBB0_14
; %bb.12:
	sub	w1, w23, #1
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	add	w23, w1, #1
	ldr	x8, [x26, #16]
	ldp	w24, w0, [x8, #24]
	bl	_TupleDescAttr
	ldr	w3, [x0]
	mov	x0, x24
	mov	x1, x23
	mov	x2, #0
	mov	w4, #-1
	mov	w5, #0
	bl	_TupleDescInitEntry
	mov	x1, x23
	cmp	w22, w23
	b.ne	LBB0_13
LBB0_14:
	ldr	x8, [x26, #16]
	ldr	w9, [x8, #24]
	str	w9, [x19, #40]
	ldr	x0, [x8]
Lloh5:
	adrp	x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_AllocSetContextCreate
	str	x0, [x26, #40]
LBB0_15:
	ldr	x0, [x26]
	bl	_MemoryContextSwitchTo
	mov	x22, x0
Lloh10:
	adrp	x8, _pairingheap_GISTSearchItem_cmp@GOTPAGE
Lloh11:
	ldr	x8, [x8, _pairingheap_GISTSearchItem_cmp@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_pairingheap_allocate
	str	x0, [x26, #32]
	mov	x0, x22
	bl	_MemoryContextSwitchTo
	mov	w8, #1
	str	w8, [x26, #8]
	cbz	x21, LBB0_32
; %bb.16:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_32
; %bb.17:
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	cbz	x9, LBB0_21
; %bb.18:
	lsl	w0, w8, #3
	bl	_palloc
	mov	x22, x0
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_22
; %bb.19:
	mov	x9, #0
	lsl	x10, x8, #3
	mov	w11, #8
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x19, #32]
	ldr	x12, [x12, x11]
	str	x12, [x22, x9]
	add	x9, x9, #8
	add	x11, x11, #24
	cmp	x10, x9
	b.ne	LBB0_20
	b	LBB0_22
LBB0_21:
	mov	x22, #0
LBB0_22:
	ldr	x0, [x19, #32]
	lsl	w2, w8, #2
	mov	x1, x21
	bl	_memmove
	mov	w8, #1
	str	w8, [x26, #12]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_30
; %bb.23:
	mov	x21, #0
	mov	x23, #0
Lloh13:
	adrp	x24, _SK_ISNULL@GOTPAGE
Lloh14:
	ldr	x24, [x24, _SK_ISNULL@GOTPAGEOFF]
Lloh15:
	adrp	x25, _SK_SEARCHNULL@GOTPAGE
Lloh16:
	ldr	x25, [x25, _SK_SEARCHNULL@GOTPAGEOFF]
Lloh17:
	adrp	x28, _SK_SEARCHNOTNULL@GOTPAGE
Lloh18:
	ldr	x28, [x28, _SK_SEARCHNOTNULL@GOTPAGEOFF]
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x19]
	add	x21, x21, #24
	cmp	x23, x8
	b.ge	LBB0_30
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	add	x27, x8, x21
	ldr	x8, [x26, #16]
	ldr	x9, [x8, #16]
	mov	x0, x27
	ldrsw	x10, [x0], #8
	add	x9, x9, x10, lsl #2
	sub	x1, x9, #4
	ldr	x2, [x8]
	bl	_fmgr_info_copy
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cbz	x8, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	x8, [x22, x23, lsl #3]
	str	x8, [x27, #8]
LBB0_27:                                ;   in Loop: Header=BB0_25 Depth=1
	ldr	w8, [x27, #4]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_24
; %bb.28:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	w9, [x25]
	ldr	w10, [x28]
	orr	w9, w10, w9
	tst	w9, w8
	b.ne	LBB0_24
; %bb.29:                               ;   in Loop: Header=BB0_25 Depth=1
	str	wzr, [x26, #12]
	b	LBB0_24
LBB0_30:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cbz	x8, LBB0_32
; %bb.31:
	mov	x0, x22
	bl	_pfree
LBB0_32:
	cbz	x20, LBB0_48
; %bb.33:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_48
; %bb.34:
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	cbz	x9, LBB0_38
; %bb.35:
	lsl	w0, w8, #3
	bl	_palloc
	mov	x21, x0
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_39
; %bb.36:
	mov	x9, #0
	lsl	x10, x8, #3
	mov	w11, #8
LBB0_37:                                ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x19, #24]
	ldr	x12, [x12, x11]
	str	x12, [x21, x9]
	add	x9, x9, #8
	add	x11, x11, #24
	cmp	x10, x9
	b.ne	LBB0_37
	b	LBB0_39
LBB0_38:
	mov	x21, #0
LBB0_39:
	ldr	x0, [x19, #24]
	lsl	w2, w8, #2
	mov	x1, x20
	bl	_memmove
	ldr	w8, [x19, #4]
	lsl	w0, w8, #2
	bl	_palloc
	str	x0, [x26, #24]
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_46
; %bb.40:
	mov	x28, #0
	mov	x20, #0
	b	LBB0_42
LBB0_41:                                ;   in Loop: Header=BB0_42 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19, #4]
	add	x28, x28, #24
	cmp	x20, x8
	b.ge	LBB0_46
LBB0_42:                                ; =>This Inner Loop Header: Depth=1
	ldr	x27, [x19, #24]
	ldr	x8, [x26, #16]
	ldr	x8, [x8, #8]
	ldrsw	x9, [x27, x28]
	add	x22, x8, x9, lsl #2
	ldr	w0, [x22, #-4]!
	bl	_OidIsValid
	cbnz	w0, LBB0_44
; %bb.43:                               ;   in Loop: Header=BB0_42 Depth=1
Lloh19:
	adrp	x8, _ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh21:
	ldr	w23, [x8]
Lloh22:
	adrp	x8, _GIST_DISTANCE_PROC@GOTPAGE
Lloh23:
	ldr	x8, [x8, _GIST_DISTANCE_PROC@GOTPAGEOFF]
Lloh24:
	ldr	w24, [x8]
	ldr	w25, [x27, x28]
	ldr	x0, [x19, #16]
	bl	_RelationGetRelationName
	mov	x4, x0
	mov	x0, x23
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x24
	mov	x3, x25
	bl	_elog
LBB0_44:                                ;   in Loop: Header=BB0_42 Depth=1
	add	x24, x27, x28
	add	x23, x24, #8
	ldr	w0, [x24, #16]
	bl	_get_func_rettype
	ldp	x9, x8, [x26, #16]
	str	w0, [x8, x20, lsl #2]
	ldr	x2, [x9]
	mov	x0, x23
	mov	x1, x22
	bl	_fmgr_info_copy
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cbz	x8, LBB0_41
; %bb.45:                               ;   in Loop: Header=BB0_42 Depth=1
	ldr	x8, [x21, x20, lsl #3]
	str	x8, [x24, #8]
	b	LBB0_41
LBB0_46:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cbz	x8, LBB0_48
; %bb.47:
	mov	x0, x21
	bl	_pfree
LBB0_48:
	str	xzr, [x19, #8]
	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
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GiST queue context"

	.comm	_ALLOCSET_DEFAULT_SIZES,4,2     ; @ALLOCSET_DEFAULT_SIZES
l_.str.1:                               ; @.str.1
	.asciz	"GiST page data context"

	.comm	_pairingheap_GISTSearchItem_cmp,4,2 ; @pairingheap_GISTSearchItem_cmp
	.comm	_SK_ISNULL,4,2                  ; @SK_ISNULL
	.comm	_SK_SEARCHNULL,4,2              ; @SK_SEARCHNULL
	.comm	_SK_SEARCHNOTNULL,4,2           ; @SK_SEARCHNOTNULL
	.comm	_ERROR,4,2                      ; @ERROR
l_.str.2:                               ; @.str.2
	.asciz	"missing support function %d for attribute %d of index \"%s\""

	.comm	_GIST_DISTANCE_PROC,4,2         ; @GIST_DISTANCE_PROC
.subsections_via_symbols
