	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function gistindex_keytest
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_gistindex_keytest:                     ## @gistindex_keytest
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movl	%esi, %r13d
	movq	%rdi, %r12
	movslq	32(%rdi), %r15
	movq	8(%r15), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	24(%rdi), %r14
	movl	(%rdi), %ebx
	movl	16(%rdi), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	%r8, -112(%rbp)                 ## 8-byte Spill
	movl	$0, (%r8)
	movq	%r9, -120(%rbp)                 ## 8-byte Spill
	movl	$0, (%r9)
	movl	%esi, %edi
	callq	_GistTupleIsInvalid
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_GistPageIsLeaf
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_3:
	movl	$1, %edx
	cmpl	$0, 4(%r12)
	jle	LBB0_25
## %bb.4:
	movl	$8, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_get_float8_infinity
	xorps	LCPI0_0(%rip), %xmm0
	movq	(%r15), %rax
	movlps	%xmm0, -8(%rax,%rbx)
	movl	$0, (%rax,%rbx)
	incq	%r14
	movslq	4(%r12), %rax
	addq	$16, %rbx
	cmpq	%rax, %r14
	jl	LBB0_5
LBB0_24:
	movl	$1, %edx
	jmp	LBB0_25
LBB0_7:
	movl	%r13d, -68(%rbp)                ## 4-byte Spill
	testl	%ebx, %ebx
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	jle	LBB0_18
## %bb.8:
	addq	$20, %r14
	incl	%ebx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_11 Depth=1
	movq	_SK_SEARCHNOTNULL@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	callq	_Assert
	cmpl	$0, -48(%rbp)
	jne	LBB0_23
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	addq	$32, %r14
	decl	%ebx
	cmpl	$1, %ebx
	jle	LBB0_18
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	4(%r14), %rsi
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	leaq	-48(%rbp), %rcx
	callq	_index_getattr
	movl	-20(%r14), %edi
	movq	_SK_ISNULL@GOTPCREL(%rip), %rcx
	testl	%edi, (%rcx)
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_SK_SEARCHNULL@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_9
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	%r13d, %edi
	callq	_GistPageIsLeaf
	testq	%rax, %rax
	je	LBB0_10
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$0, -48(%rbp)
	jne	LBB0_10
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$0, -48(%rbp)
	jne	LBB0_23
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	4(%r14), %rsi
	decq	%rsi
	subq	$8, %rsp
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	leaq	-76(%rbp), %rdx
	movl	%eax, %ecx
	movl	-72(%rbp), %r8d                 ## 4-byte Reload
	movl	%r13d, %r9d
	pushq	$0
	pushq	$0
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	callq	_gistdentryinit
	addq	$32, %rsp
	movl	$1, -44(%rbp)
	movl	-4(%r14), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	leaq	-76(%rbp), %rdi
	callq	_PointerGetDatum
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	-12(%r14), %edi
	movl	-8(%r14), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	callq	_Int16GetDatum
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movl	-16(%r14), %edi
	callq	_ObjectIdGetDatum
	movl	%eax, %r13d
	leaq	-44(%rbp), %rdi
	callq	_PointerGetDatum
                                        ## kill: def $eax killed $eax def $rax
	subq	$8, %rsp
	movq	%r14, %rdi
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	-92(%rbp), %r8d                 ## 4-byte Reload
	movl	%r13d, %r9d
	pushq	%rax
	callq	_FunctionCall5Coll
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_DatumGetBool
	testl	%eax, %eax
	je	LBB0_23
## %bb.17:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	-44(%rbp), %eax
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	orl	%eax, (%rcx)
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_10
LBB0_18:
	movl	4(%r12), %r13d
	testl	%r13d, %r13d
	jle	LBB0_24
## %bb.19:
	movq	(%r15), %r15
	movq	8(%r12), %rbx
	addq	$20, %rbx
	incl	%r13d
	movl	-68(%rbp), %r14d                ## 4-byte Reload
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_21 Depth=1
	movsd	%xmm0, (%r15)
	movl	%ecx, 8(%r15)
	addq	$32, %rbx
	decl	%r13d
	addq	$16, %r15
	cmpl	$1, %r13d
	jle	LBB0_25
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	4(%rbx), %rsi
	movl	(%r12), %edx
	movl	%r14d, %edi
	leaq	-48(%rbp), %rcx
	callq	_index_getattr
	movq	_SK_ISNULL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	-20(%rbx), %ecx
	movl	$1, %edx
	xorps	%xmm0, %xmm0
	orl	-48(%rbp), %ecx
	movl	$1, %ecx
	jne	LBB0_20
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	4(%rbx), %rsi
	decq	%rsi
	subq	$8, %rsp
	movq	%r12, %rdi
	leaq	-76(%rbp), %r14
	movq	%r14, %rdx
	movl	%eax, %ecx
	movl	-72(%rbp), %r8d                 ## 4-byte Reload
	movl	-52(%rbp), %r9d                 ## 4-byte Reload
	pushq	$0
	pushq	$0
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	callq	_gistdentryinit
	addq	$32, %rsp
	movl	$0, -44(%rbp)
	movl	-4(%rbx), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_PointerGetDatum
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	-12(%rbx), %edi
	movl	-8(%rbx), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	callq	_Int16GetDatum
	movl	%eax, %r14d
	movl	-16(%rbx), %edi
	callq	_ObjectIdGetDatum
	movl	%eax, %r12d
	leaq	-44(%rbp), %rdi
	callq	_PointerGetDatum
                                        ## kill: def $eax killed $eax def $rax
	subq	$8, %rsp
	movq	%rbx, %rdi
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	%r14d, %r8d
	movl	-68(%rbp), %r14d                ## 4-byte Reload
	movl	%r12d, %r9d
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	pushq	%rax
	callq	_FunctionCall5Coll
	addq	$16, %rsp
	movl	-44(%rbp), %ecx
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	orl	%ecx, (%rdx)
	movl	%eax, %edi
	callq	_DatumGetFloat8
	movl	$1, %edx
	xorl	%ecx, %ecx
	jmp	LBB0_20
LBB0_23:
	xorl	%edx, %edx
LBB0_25:
	movl	%edx, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid GiST tuple found on leaf page"

	.comm	_SK_ISNULL,4,2                  ## @SK_ISNULL
	.comm	_SK_SEARCHNULL,4,2              ## @SK_SEARCHNULL
	.comm	_SK_SEARCHNOTNULL,4,2           ## @SK_SEARCHNOTNULL
	.no_dead_strip	_gistindex_keytest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gistindex_keytest
_gistindex_keytest:                     ; @gistindex_keytest
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x28, x5
	mov	x20, x4
	mov	x24, x3
	mov	x21, x2
	mov	x27, x1
	mov	x25, x0
	ldrsw	x26, [x0, #32]
	ldr	x22, [x26, #8]
	ldr	x19, [x0, #24]
	ldr	w8, [x0]
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
	ldr	w23, [x0, #16]
	str	wzr, [x4]
	str	wzr, [x5]
	mov	x0, x1
	bl	_GistTupleIsInvalid
	cbz	x0, LBB0_8
; %bb.1:
	mov	x0, x21
	bl	_GistPageIsLeaf
	cbz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_3:
	ldr	w8, [x25, #4]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x19, #0
	mov	x20, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	bl	_get_float8_infinity
	fneg	d0, d0
	ldr	x8, [x26]
	add	x8, x8, x19
	str	d0, [x8]
	str	wzr, [x8, #8]
	add	x20, x20, #1
	ldrsw	x8, [x25, #4]
	add	x19, x19, #16
	cmp	x20, x8
	b.lt	LBB0_5
LBB0_6:
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_8:
	str	x20, [sp, #16]                  ; 8-byte Folded Spill
	stp	w21, w23, [sp, #32]             ; 8-byte Folded Spill
	str	x22, [sp, #40]                  ; 8-byte Folded Spill
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	cmp	w8, #1
	str	w24, [sp, #28]                  ; 4-byte Folded Spill
	str	w27, [sp, #48]                  ; 4-byte Folded Spill
	b.lt	LBB0_19
; %bb.9:
	add	x22, x19, #24
	add	w23, w8, #1
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
Lloh5:
	adrp	x9, _SK_SEARCHNOTNULL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SK_SEARCHNOTNULL@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_Assert
	ldr	w8, [sp, #60]
	cbnz	w8, LBB0_25
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x22, x22, #32
	sub	w23, w23, #1
	cmp	w23, #1
	b.le	LBB0_19
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x22]
	ldr	x19, [sp, #40]                  ; 8-byte Folded Reload
	ldr	w2, [x19]
	add	x3, sp, #60
	mov	x0, x27
	bl	_index_getattr
	ldur	w8, [x22, #-24]
Lloh8:
	adrp	x9, _SK_ISNULL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SK_ISNULL@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
Lloh11:
	adrp	x9, _SK_SEARCHNULL@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SK_SEARCHNULL@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x21
	bl	_GistPageIsLeaf
	cbz	x0, LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [sp, #60]
	cbnz	w8, LBB0_11
	b	LBB0_25
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [sp, #60]
	cbnz	w8, LBB0_25
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x3, x0
	ldr	x8, [x22]
	sub	x1, x8, #1
	str	wzr, [sp]
	add	x2, sp, #52
	mov	x0, x19
	ldr	w4, [sp, #36]                   ; 4-byte Folded Reload
	mov	x5, x21
	mov	x6, x24
	mov	w7, #0
	bl	_gistdentryinit
	mov	w8, #1
	str	w8, [sp, #56]
	sub	x27, x22, #4
	ldur	w8, [x22, #-8]
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
	add	x0, sp, #52
	bl	_PointerGetDatum
	mov	x21, x0
	ldp	w0, w24, [x22, #-16]
	bl	_Int16GetDatum
	mov	x20, x0
	ldur	w0, [x22, #-20]
	bl	_ObjectIdGetDatum
	mov	x19, x0
	add	x0, sp, #56
	bl	_PointerGetDatum
	mov	x6, x0
	mov	x0, x27
	ldr	w1, [sp, #24]                   ; 4-byte Folded Reload
	mov	x2, x21
	mov	x3, x24
	mov	x4, x20
	mov	x5, x19
	bl	_FunctionCall5Coll
	bl	_DatumGetBool
	cbz	w0, LBB0_25
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [sp, #56]
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w9, [x10]
	orr	w8, w9, w8
	str	w8, [x10]
	ldp	w24, w21, [sp, #28]             ; 8-byte Folded Reload
	ldr	w27, [sp, #48]                  ; 4-byte Folded Reload
	b	LBB0_11
LBB0_19:
	ldr	w8, [x25, #4]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.20:
	ldr	x22, [x26]
	ldr	x9, [x25, #8]
	add	x23, x9, #24
	add	w27, w8, #1
	ldr	x19, [sp, #40]                  ; 8-byte Folded Reload
	b	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_23 Depth=1
	mov	x3, x0
	ldr	x8, [x23]
	sub	x1, x8, #1
	str	wzr, [sp]
	add	x2, sp, #52
	mov	x0, x19
	ldr	w4, [sp, #36]                   ; 4-byte Folded Reload
	mov	x5, x21
	mov	x6, x24
	mov	w7, #0
	bl	_gistdentryinit
	str	wzr, [sp, #56]
	sub	x19, x23, #4
	ldur	w20, [x23, #-8]
	add	x0, sp, #52
	bl	_PointerGetDatum
	mov	x21, x0
	ldp	w0, w24, [x23, #-16]
	bl	_Int16GetDatum
	mov	x25, x0
	ldur	w0, [x23, #-20]
	bl	_ObjectIdGetDatum
	mov	x26, x0
	add	x0, sp, #56
	bl	_PointerGetDatum
	mov	x6, x0
	mov	x0, x19
	ldr	x19, [sp, #40]                  ; 8-byte Folded Reload
	mov	x1, x20
	mov	x2, x21
	mov	x3, x24
	ldp	w24, w21, [sp, #28]             ; 8-byte Folded Reload
	mov	x4, x25
	mov	x5, x26
	bl	_FunctionCall5Coll
	ldr	w8, [sp, #56]
	ldr	w9, [x28]
	orr	w8, w9, w8
	str	w8, [x28]
	bl	_DatumGetFloat8
	mov	w8, #0
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	str	d0, [x22]
	str	w8, [x22, #8]
	add	x23, x23, #32
	sub	w27, w27, #1
	add	x22, x22, #16
	cmp	w27, #1
	b.le	LBB0_6
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x23]
	ldr	w2, [x19]
	add	x3, sp, #60
	ldr	w0, [sp, #48]                   ; 4-byte Folded Reload
	bl	_index_getattr
	ldur	w8, [x23, #-24]
Lloh14:
	adrp	x9, _SK_ISNULL@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SK_ISNULL@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	and	w8, w9, w8
	ldr	w9, [sp, #60]
	orr	w8, w8, w9
	cbz	w8, LBB0_21
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	w8, #1
	movi	d0, #0000000000000000
	b	LBB0_22
LBB0_25:
	mov	w0, #0
	b	LBB0_7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid GiST tuple found on leaf page"

	.comm	_SK_ISNULL,4,2                  ; @SK_ISNULL
	.comm	_SK_SEARCHNULL,4,2              ; @SK_SEARCHNULL
	.comm	_SK_SEARCHNOTNULL,4,2           ; @SK_SEARCHNOTNULL
	.no_dead_strip	_gistindex_keytest
.subsections_via_symbols
