	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gistFormTuple                  ## -- Begin function gistFormTuple
	.p2align	4, 0x90
_gistFormTuple:                         ## @gistFormTuple
	.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	%r8d, -60(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_INDEX_MAX_KEYS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_IndexRelationGetNumberOfKeyAttributes
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax,%r13,2)
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_IndexRelationGetNumberOfKeyAttributes
	cltq
	addq	$4, %r13
	cmpq	%rax, %r12
	jge	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r14,%r13)
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15,%r13,2), %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	callq	_gistentryinit
	movq	16(%rbx), %rax
	movl	(%rax,%r13), %edi
	callq	_OidIsValid
	movq	%rax, %rcx
	leaq	-96(%rbp), %rdi
	movq	%rdi, %rax
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rbx), %r15
	addq	%r13, %r15
	movq	8(%rbx), %rax
	movq	%r14, %rbx
	movl	(%rax,%r13), %r14d
	callq	_PointerGetDatum
	movq	%r15, %rdi
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movl	%r14d, %esi
	movq	%rbx, %r14
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_FunctionCall1Coll
	movl	%eax, %edi
	callq	_DatumGetPointer
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r13,2)
	jmp	LBB0_8
LBB0_1:
	xorl	%r12d, %r12d
LBB0_9:
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_25
## %bb.10:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r12d
	jge	LBB0_24
## %bb.11:
	movl	%r12d, %ecx
	movl	%eax, %esi
	subl	%r12d, %esi
	movq	%rcx, %rdx
	notq	%rdx
	testb	$1, %sil
	je	LBB0_16
## %bb.12:
	cmpl	$0, (%r14,%rcx,4)
	je	LBB0_14
## %bb.13:
	xorl	%esi, %esi
	jmp	LBB0_15
LBB0_14:
	movq	(%r15,%rcx,8), %rsi
LBB0_15:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rsi, (%rdi,%rcx,8)
	incq	%rcx
LBB0_16:
	addq	%rax, %rdx
	jne	LBB0_17
LBB0_24:
	addq	$4, %rbx
LBB0_25:
	movl	(%rbx), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_index_form_tuple
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$65535, %esi                    ## imm = 0xFFFF
	callq	_ItemPointerSetOffsetNumber
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_27
## %bb.26:
	movq	%rbx, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	8(%r15,%rcx,8), %rdx
LBB0_23:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rdx, 8(%rsi,%rcx,8)
	addq	$2, %rcx
	cmpq	%rcx, %rax
	je	LBB0_24
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r14,%rcx,4)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	(%r15,%rcx,8), %rdx
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rdx, (%rsi,%rcx,8)
	cmpl	$0, 4(%r14,%rcx,4)
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_17 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_23
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INDEX_MAX_KEYS,4,2             ## @INDEX_MAX_KEYS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gistFormTuple                  ; -- Begin function gistFormTuple
	.p2align	2
_gistFormTuple:                         ; @gistFormTuple
	.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, #32
	mov	x24, x4
	mov	x19, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _INDEX_MAX_KEYS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INDEX_MAX_KEYS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #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	x21, x9, x8
	mov	sp, x21
	mov	x0, x1
	bl	_IndexRelationGetNumberOfKeyAttributes
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x28, #0
	mov	x27, #0
	stp	x22, x21, [x29, #-112]          ; 16-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x21]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x27, x27, #1
	mov	x0, x23
	bl	_IndexRelationGetNumberOfKeyAttributes
	add	x21, x21, #8
	add	x28, x28, #4
	add	x22, x22, #8
	cmp	x27, w0, sxtw
	b.ge	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19, x28]
	cbnz	w8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x22]
	mov	x2, x23
	mov	x3, #0
	mov	w4, #0
	mov	x5, x24
	bl	_gistentryinit
	ldr	x8, [x20, #16]
	ldr	w0, [x8, x28]
	bl	_OidIsValid
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	x9, x8, [x20, #8]
	add	x25, x8, x28
	ldr	w26, [x9, x28]
	sub	x0, x29, #96
	bl	_PointerGetDatum
	mov	x2, x0
	mov	x0, x25
	mov	x1, x26
	bl	_FunctionCall1Coll
	bl	_DatumGetPointer
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	x0, x29, #96
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x0]
	str	x8, [x21]
	b	LBB0_3
LBB0_9:
	ldp	x22, x21, [x29, #-112]          ; 16-byte Folded Reload
	cbnz	w24, LBB0_11
	b	LBB0_18
LBB0_10:
	mov	w27, #0
	cbz	w24, LBB0_18
LBB0_11:
	ldr	x8, [x23]
	ldr	w11, [x8]
	cmp	w27, w11
	b.ge	LBB0_17
; %bb.12:
	mov	w12, w27
	lsl	x9, x12, #3
	add	x8, x21, x9
	add	x9, x22, x9
	add	x10, x19, w27, uxtw #2
	sub	x11, x11, x12
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x12, [x9]
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	str	x12, [x8], #8
	add	x9, x9, #8
	add	x10, x10, #4
	subs	x11, x11, #1
	b.eq	LBB0_17
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10]
	cbz	w12, LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x12, #0
	b	LBB0_14
LBB0_17:
	add	x20, x20, #4
LBB0_18:
	ldr	w0, [x20]
	mov	x1, x21
	mov	x2, x19
	bl	_index_form_tuple
	mov	x19, x0
	mov	w1, #65535
	bl	_ItemPointerSetOffsetNumber
	ldur	x8, [x29, #-88]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	mov	x0, x19
	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_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_INDEX_MAX_KEYS,4,2             ; @INDEX_MAX_KEYS
.subsections_via_symbols
