	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gistFetchTuple                 ## -- Begin function gistFetchTuple
	.p2align	4, 0x90
_gistFetchTuple:                        ## @gistFetchTuple
	.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
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	24(%rdi), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	_INDEX_MAX_KEYS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	(,%rbx,8), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_IndexRelationGetNumberOfKeyAttributes
	testl	%eax, %eax
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	jle	LBB0_13
## %bb.1:
	movl	%r14d, -60(%rbp)                ## 4-byte Spill
	xorl	%r14d, %r14d
	movq	%r13, %r15
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, (%r12)
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	$0, (%r15)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_IndexRelationGetNumberOfKeyAttributes
	cltq
	addq	$8, %r15
	addq	$4, %r12
	cmpq	%rax, %r14
	jge	LBB0_12
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %r13
	incq	%r14
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	4(%rbx), %edx
	leal	1(%r13), %esi
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	movq	%r12, %rcx
	callq	_index_getattr
	movq	16(%rbx), %rcx
	movq	(%rcx,%r13,8), %rcx
	movq	_InvalidOid@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx), %rdx
	cmpq	%rcx, (%rdx,%r13,8)
	jne	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, (%r12)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	$0, (%r15)
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, (%r12)
	jne	LBB0_3
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movq	%rax, %rdx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rcx
	callq	_gistFetchAtt
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, (%r15)
	jmp	LBB0_4
LBB0_12:
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_14
LBB0_13:
	movl	%r14d, %ecx
	xorl	%r14d, %r14d
LBB0_14:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13), %rax
	cmpl	(%rax), %r14d
	jge	LBB0_17
## %bb.15:
	movl	%ecx, %esi
	movl	%r14d, %r15d
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15,4), %rbx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	leaq	1(%r15), %r12
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edx
	movl	%esi, %r14d
	movl	%esi, %edi
	movl	%r12d, %esi
	movq	%rbx, %rcx
	callq	_index_getattr
	movl	%r14d, %esi
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r15,8)
	movq	(%r13), %rax
	addq	$4, %rbx
	movq	%r12, %r15
	cmpl	%r12d, (%rax)
	jg	LBB0_16
LBB0_17:
	movl	-76(%rbp), %edi                 ## 4-byte Reload
	callq	_MemoryContextSwitchTo
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	callq	_heap_form_tuple
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_19
## %bb.18:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INDEX_MAX_KEYS,4,2             ## @INDEX_MAX_KEYS
	.comm	_InvalidOid,8,3                 ## @InvalidOid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gistFetchTuple                 ; -- Begin function gistFetchTuple
	.p2align	2
_gistFetchTuple:                        ; @gistFetchTuple
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #16
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	w0, [x0, #24]
	bl	_MemoryContextSwitchTo
	mov	x27, x0
Lloh3:
	adrp	x8, _INDEX_MAX_KEYS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INDEX_MAX_KEYS@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x8]
	lsl	x8, x12, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x23, x9, x8
	mov	sp, x23
	lsl	x8, x12, #2
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x24, x9, x8
	mov	sp, x24
	mov	x0, x21
	bl	_IndexRelationGetNumberOfKeyAttributes
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.1:
	stur	w27, [x29, #-92]                ; 4-byte Folded Spill
	mov	x27, #0
	mov	x25, #0
Lloh10:
	adrp	x28, _InvalidOid@GOTPAGE
Lloh11:
	ldr	x28, [x28, _InvalidOid@GOTPAGEOFF]
	mov	w22, #1
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	w22, [x24, x26, lsl #2]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	xzr, [x23, x26, lsl #3]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_IndexRelationGetNumberOfKeyAttributes
	add	x27, x27, #4
	cmp	x25, w0, sxtw
	b.ge	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x26, x25
	add	x25, x25, #1
	ldr	w2, [x19, #4]
	add	x3, x24, x27
	mov	x0, x20
	mov	x1, x25
	bl	_index_getattr
	mov	x2, x0
	ldr	x8, [x19, #16]
	ldr	x8, [x8, x26, lsl #3]
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x19, #8]
	ldr	x9, [x9, x26, lsl #3]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x24, x26, lsl #2]
	cbnz	w8, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	str	x2, [x23, x26, lsl #3]
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x24, x26, lsl #2]
	cbnz	w8, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x26
	mov	x3, x21
	bl	_gistFetchAtt
	str	x0, [x23, x26, lsl #3]
	b	LBB0_4
LBB0_11:
	ldur	w27, [x29, #-92]                ; 4-byte Folded Reload
	b	LBB0_13
LBB0_12:
	mov	w25, #0
LBB0_13:
	ldr	x8, [x21]
	ldr	w8, [x8]
	cmp	w25, w8
	b.ge	LBB0_16
; %bb.14:
	mov	w22, w25
	add	x25, x24, w25, uxtw #2
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	add	x26, x22, #1
	ldr	w2, [x19, #4]
	mov	x0, x20
	mov	x1, x26
	mov	x3, x25
	bl	_index_getattr
	str	x0, [x23, x22, lsl #3]
	ldr	x8, [x21]
	ldr	w8, [x8]
	add	x25, x25, #4
	mov	x22, x26
	cmp	w8, w26
	b.gt	LBB0_15
LBB0_16:
	mov	x0, x27
	bl	_MemoryContextSwitchTo
	ldr	w0, [x19]
	mov	x1, x23
	mov	x2, x24
	bl	_heap_form_tuple
	ldur	x8, [x29, #-88]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_INDEX_MAX_KEYS,4,2             ; @INDEX_MAX_KEYS
	.comm	_InvalidOid,8,3                 ; @InvalidOid
.subsections_via_symbols
