	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ginHeapTupleFastCollect        ## -- Begin function ginHeapTupleFastCollect
	.p2align	4, 0x90
_ginHeapTupleFastCollect:               ## @ginHeapTupleFastCollect
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movl	%r8d, %eax
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	leaq	-44(%rbp), %r8
	leaq	-64(%rbp), %r9
	movl	%edx, %esi
	movl	%ecx, %edx
	movl	%eax, %ecx
	callq	_ginExtractEntries
	movq	%rax, %r13
	movslq	-44(%rbp), %rax
	testq	%rax, %rax
	js	LBB0_2
## %bb.1:
	movslq	(%rbx), %rcx
	addq	%rax, %rcx
	movq	_MaxAllocSize@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shrq	$3, %rax
	cmpq	%rcx, %rax
	jae	LBB0_3
LBB0_2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_3:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.7:
	movl	4(%rbx), %eax
	movl	-44(%rbp), %edx
	movl	(%rbx), %ecx
	addl	%edx, %ecx
	cmpl	%ecx, %eax
	jge	LBB0_11
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %esi
	leal	(%rsi,%rsi), %eax
	cmpl	%ecx, %eax
	jl	LBB0_8
## %bb.9:
	movl	%eax, 4(%rbx)
	shll	$4, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_repalloc
	jmp	LBB0_10
LBB0_4:
	movl	$16, %ecx
	movl	-44(%rbp), %eax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %edi
	leal	(%rdi,%rdi), %ecx
	cmpl	%eax, %edi
	jl	LBB0_5
## %bb.6:
	movl	%edi, 4(%rbx)
	shll	$3, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_palloc
LBB0_10:
	movq	%rax, 16(%rbx)
	movl	-44(%rbp), %edx
LBB0_11:
	testl	%edx, %edx
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_14
## %bb.12:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%r14,4), %edx
	movq	-64(%rbp), %rax
	movl	(%rax,%r14,4), %ecx
	movq	%r12, %rdi
	movl	%r15d, %esi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$1
	pushq	$0
	callq	_GinFormTuple
	addq	$16, %rsp
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	16(%rbx), %rcx
	movslq	(%rbx), %rdx
	leal	1(%rdx), %esi
	movl	%esi, (%rbx)
	movq	%rax, (%rcx,%rdx,8)
	movq	%rax, %rdi
	callq	_IndexTupleSize
	addl	%eax, 8(%rbx)
	incq	%r14
	movslq	-44(%rbp), %rax
	cmpq	%rax, %r14
	jl	LBB0_13
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MaxAllocSize,4,2               ## @MaxAllocSize
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too many entries for GIN index"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ginHeapTupleFastCollect        ; -- Begin function ginHeapTupleFastCollect
	.p2align	2
_ginHeapTupleFastCollect:               ; @ginHeapTupleFastCollect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x5
	mov	x8, x4
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	add	x4, sp, #4
	add	x5, sp, #8
	mov	x1, x2
	mov	x2, x3
	mov	x3, x8
	bl	_ginExtractEntries
	mov	x23, x0
	ldrsw	x8, [sp, #4]
	tbnz	w8, #31, LBB0_2
; %bb.1:
	ldrsw	x9, [x21]
	add	x8, x9, x8
Lloh0:
	adrp	x9, _MaxAllocSize@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MaxAllocSize@GOTPAGEOFF]
Lloh2:
	ldrsw	x9, [x9]
	cmp	x8, x9, lsr #3
	b.ls	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_3:
	ldr	x0, [x21, #16]
	cbz	x0, LBB0_7
; %bb.4:
	ldp	w9, w8, [x21]
	ldr	w10, [sp, #4]
	add	w9, w10, w9
	cmp	w8, w9
	b.ge	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x10, x8
	lsl	w8, w8, #1
	cmp	w8, w9
	b.lt	LBB0_5
; %bb.6:
	str	w8, [x21, #4]
	lsl	w1, w10, #4
	bl	_repalloc
	b	LBB0_10
LBB0_7:
	mov	w8, #16
	ldr	w9, [sp, #4]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x10, x8
	lsl	w8, w8, #1
	cmp	w10, w9
	b.lt	LBB0_8
; %bb.9:
	str	w10, [x21, #4]
	lsl	w0, w10, #3
	bl	_palloc
LBB0_10:
	str	x0, [x21, #16]
	ldr	w10, [sp, #4]
LBB0_11:
	cmp	w10, #1
	b.lt	LBB0_14
; %bb.12:
	mov	x24, #0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	lsl	x8, x24, #2
	ldr	w2, [x23, x8]
	ldr	x9, [sp, #8]
	ldr	w3, [x9, x8]
	mov	x0, x22
	mov	x1, x20
	mov	x4, #0
	mov	w5, #0
	mov	w6, #0
	mov	w7, #1
	bl	_GinFormTuple
	ldr	w8, [x19]
	str	w8, [x0]
	ldr	x8, [x21, #16]
	ldrsw	x9, [x21]
	add	w10, w9, #1
	str	w10, [x21]
	str	x0, [x8, x9, lsl #3]
	bl	_IndexTupleSize
	ldr	w8, [x21, #8]
	add	w8, w8, w0
	str	w8, [x21, #8]
	add	x24, x24, #1
	ldrsw	x8, [sp, #4]
	cmp	x24, x8
	b.lt	LBB0_13
LBB0_14:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MaxAllocSize,4,2               ; @MaxAllocSize
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too many entries for GIN index"

.subsections_via_symbols
