	.file	"extr_ginutil.c_initGinState.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"could not identify a comparison function for type %s"
	.align 8
.LC1:
	.string	"missing GIN support function (%d or %d) for attribute %d of index \"%s\""
	.text
	.p2align 4
	.globl	initGinState
	.type	initGinState, @function
initGinState:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	mov	rdi, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	call	RelationGetDescr@PLT
	mov	edx, 96
	xor	esi, esi
	mov	rdi, rbx
	mov	r14, rax
	mov	QWORD PTR [rsp], rax
	call	MemSet@PLT
	mov	eax, DWORD PTR [r14]
	xor	edx, edx
	mov	QWORD PTR 88[rbx], r12
	mov	QWORD PTR 80[rbx], r14
	cmp	eax, 1
	sete	dl
	mov	DWORD PTR [rbx], edx
	test	eax, eax
	jle	.L1
	xor	r13d, r13d
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L22:
	mov	r8d, DWORD PTR CurrentMemoryContext[rip]
	mov	edx, DWORD PTR GIN_COMPARE_PARTIAL_PROC[rip]
	mov	esi, ebp
	mov	rdi, r12
	mov	DWORD PTR 8[rsp], r8d
	call	index_getprocinfo@PLT
	mov	rdi, QWORD PTR 24[rbx]
	mov	r8d, DWORD PTR 8[rsp]
	mov	rsi, rax
	add	rdi, r14
	mov	edx, r8d
	call	fmgr_info_copy@PLT
	mov	rax, QWORD PTR 8[rbx]
	mov	DWORD PTR [rax+r13*4], 1
.L12:
	mov	rax, QWORD PTR [r12]
	mov	edi, DWORD PTR [rax+r15]
	call	OidIsValid@PLT
	test	rax, rax
	je	.L13
	mov	rax, QWORD PTR [r12]
	add	r13, 1
	mov	edx, DWORD PTR [rax+r15]
	mov	rax, QWORD PTR 16[rbx]
	mov	DWORD PTR [rax+r15], edx
	mov	rax, QWORD PTR [rsp]
	cmp	DWORD PTR [rax], r13d
	jle	.L1
.L2:
	mov	rdi, QWORD PTR [rsp]
	mov	esi, r13d
	mov	ebp, r13d
	lea	r14, 0[0+r13*8]
	call	TupleDescAttr@PLT
	mov	r15, rax
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	je	.L3
	mov	rdx, QWORD PTR 80[rbx]
	mov	rax, QWORD PTR 72[rbx]
	mov	QWORD PTR [rax+r13*8], rdx
.L4:
	add	ebp, 1
	mov	edx, DWORD PTR GIN_COMPARE_PROC[rip]
	mov	rdi, r12
	mov	esi, ebp
	call	index_getprocid@PLT
	cmp	rax, QWORD PTR InvalidOid[rip]
	je	.L5
	mov	edx, DWORD PTR GIN_COMPARE_PROC[rip]
	mov	esi, ebp
	mov	rdi, r12
	mov	r15d, DWORD PTR CurrentMemoryContext[rip]
	call	index_getprocinfo@PLT
	mov	rdi, QWORD PTR 64[rbx]
	mov	edx, r15d
	mov	rsi, rax
	add	rdi, r14
	call	fmgr_info_copy@PLT
.L6:
	mov	edx, DWORD PTR GIN_EXTRACTVALUE_PROC[rip]
	mov	esi, ebp
	mov	rdi, r12
	mov	r15d, DWORD PTR CurrentMemoryContext[rip]
	call	index_getprocinfo@PLT
	mov	rdi, QWORD PTR 56[rbx]
	mov	edx, r15d
	mov	rsi, rax
	add	rdi, r14
	call	fmgr_info_copy@PLT
	mov	edx, DWORD PTR GIN_EXTRACTQUERY_PROC[rip]
	mov	esi, ebp
	mov	rdi, r12
	mov	r15d, DWORD PTR CurrentMemoryContext[rip]
	call	index_getprocinfo@PLT
	mov	rdi, QWORD PTR 48[rbx]
	mov	rsi, rax
	mov	edx, r15d
	add	rdi, r14
	call	fmgr_info_copy@PLT
	mov	edx, DWORD PTR GIN_TRICONSISTENT_PROC[rip]
	mov	esi, ebp
	mov	rdi, r12
	call	index_getprocid@PLT
	cmp	rax, QWORD PTR InvalidOid[rip]
	je	.L8
	mov	edx, DWORD PTR GIN_TRICONSISTENT_PROC[rip]
	mov	esi, ebp
	mov	rdi, r12
	mov	r15d, DWORD PTR CurrentMemoryContext[rip]
	call	index_getprocinfo@PLT
	mov	rdi, QWORD PTR 32[rbx]
	mov	edx, r15d
	mov	rsi, rax
	add	rdi, r14
	call	fmgr_info_copy@PLT
.L8:
	mov	edx, DWORD PTR GIN_CONSISTENT_PROC[rip]
	mov	esi, ebp
	mov	rdi, r12
	call	index_getprocid@PLT
	mov	r8, rax
	mov	rax, QWORD PTR InvalidOid[rip]
	cmp	r8, rax
	je	.L9
	mov	edx, DWORD PTR GIN_CONSISTENT_PROC[rip]
	mov	esi, ebp
	mov	rdi, r12
	mov	r15d, DWORD PTR CurrentMemoryContext[rip]
	call	index_getprocinfo@PLT
	mov	rdi, QWORD PTR 40[rbx]
	mov	edx, r15d
	mov	rsi, rax
	add	rdi, r14
	call	fmgr_info_copy@PLT
	mov	rax, QWORD PTR InvalidOid[rip]
.L9:
	mov	rdx, QWORD PTR 40[rbx]
	cmp	QWORD PTR [rdx+r14], rax
	je	.L21
.L10:
	mov	edx, DWORD PTR GIN_COMPARE_PARTIAL_PROC[rip]
	mov	esi, ebp
	mov	rdi, r12
	lea	r15, 0[0+r13*4]
	call	index_getprocid@PLT
	cmp	rax, QWORD PTR InvalidOid[rip]
	jne	.L22
	mov	rax, QWORD PTR 8[rbx]
	mov	DWORD PTR [rax+r13*4], 0
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rax, QWORD PTR 16[rbx]
	mov	edx, DWORD PTR DEFAULT_COLLATION_OID[rip]
	add	r13, 1
	mov	DWORD PTR [rax+r15], edx
	mov	rax, QWORD PTR [rsp]
	cmp	DWORD PTR [rax], r13d
	jg	.L2
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	mov	rdx, QWORD PTR 32[rbx]
	cmp	QWORD PTR [rdx+r14], rax
	jne	.L10
	mov	rdi, r12
	call	RelationGetRelationName@PLT
	mov	ecx, DWORD PTR GIN_TRICONSISTENT_PROC[rip]
	mov	edx, DWORD PTR GIN_CONSISTENT_PROC[rip]
	mov	r8d, ebp
	mov	edi, DWORD PTR ERROR[rip]
	mov	r9d, eax
	lea	rsi, .LC1[rip]
	call	elog@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edi, DWORD PTR 4[r15]
	mov	esi, DWORD PTR TYPECACHE_CMP_PROC_FINFO[rip]
	call	lookup_type_cache@PLT
	mov	edi, DWORD PTR [rax]
	mov	QWORD PTR 8[rsp], rax
	call	OidIsValid@PLT
	mov	r8, QWORD PTR 8[rsp]
	test	rax, rax
	je	.L23
.L7:
	mov	rdi, QWORD PTR 64[rbx]
	mov	edx, DWORD PTR CurrentMemoryContext[rip]
	mov	rsi, r8
	add	rdi, r14
	call	fmgr_info_copy@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdx, QWORD PTR 72[rbx]
	mov	edi, 2
	add	rdx, r14
	mov	QWORD PTR 8[rsp], rdx
	call	CreateTemplateTupleDesc@PLT
	mov	rdx, QWORD PTR 8[rsp]
	xor	r9d, r9d
	mov	ecx, DWORD PTR INT2OID[rip]
	mov	r8d, -1
	mov	esi, 1
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR 72[rbx]
	xor	edx, edx
	mov	rdi, QWORD PTR [rax+r13*8]
	call	TupleDescInitEntry@PLT
	mov	rax, QWORD PTR 72[rbx]
	mov	ecx, DWORD PTR 4[r15]
	xor	edx, edx
	mov	r9d, DWORD PTR 12[r15]
	mov	r8d, DWORD PTR [r15]
	mov	esi, 2
	mov	rdi, QWORD PTR [rax+r13*8]
	call	TupleDescInitEntry@PLT
	mov	rax, QWORD PTR 72[rbx]
	mov	edx, DWORD PTR 8[r15]
	mov	esi, 2
	mov	rdi, QWORD PTR [rax+r13*8]
	call	TupleDescInitEntryCollation@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L23:
	mov	edi, DWORD PTR ERRCODE_UNDEFINED_FUNCTION[rip]
	call	errcode@PLT
	mov	edi, DWORD PTR 4[r15]
	call	format_type_be@PLT
	lea	rdi, .LC0[rip]
	mov	esi, eax
	call	errmsg@PLT
	mov	edi, DWORD PTR ERROR[rip]
	mov	esi, eax
	call	ereport@PLT
	mov	r8, QWORD PTR 8[rsp]
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	initGinState, .-initGinState
	.comm	TYPECACHE_CMP_PROC_FINFO,4,4
	.comm	InvalidOid,8,8
	.comm	INT2OID,4,4
	.comm	GIN_TRICONSISTENT_PROC,4,4
	.comm	GIN_EXTRACTVALUE_PROC,4,4
	.comm	GIN_EXTRACTQUERY_PROC,4,4
	.comm	GIN_CONSISTENT_PROC,4,4
	.comm	GIN_COMPARE_PROC,4,4
	.comm	GIN_COMPARE_PARTIAL_PROC,4,4
	.comm	ERROR,4,4
	.comm	ERRCODE_UNDEFINED_FUNCTION,4,4
	.comm	DEFAULT_COLLATION_OID,4,4
	.comm	CurrentMemoryContext,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_ginutil.c_initGinState.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"could not identify a comparison function for type %"
	.ascii	"s\000"
	.align	2
.LC1:
	.ascii	"missing GIN support function (%d or %d) for attribu"
	.ascii	"te %d of index \"%s\"\000"
	.text
	.align	2
	.global	initGinState
	.syntax unified
	.arm
	.fpu softvfp
	.type	initGinState, %function
initGinState:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r0
	sub	sp, sp, #20
	mov	r0, r1
	mov	r6, r1
	bl	RelationGetDescr
	mov	fp, r0
	mov	r2, #48
	mov	r0, r5
	mov	r1, #0
	bl	MemSet
	ldr	r3, [fp]
	str	r6, [r5, #44]
	sub	r2, r3, #1
	clz	r2, r2
	cmp	r3, #0
	lsr	r2, r2, #5
	str	fp, [r5, #40]
	str	r2, [r5]
	ble	.L1
	mov	r4, #0
	ldr	r9, .L23
	ldr	r10, .L23+4
	b	.L2
.L21:
	ldr	r3, .L23+8
	mov	r1, r4
	ldr	r2, [r3]
	mov	r0, r6
	ldr	r8, [r5, #12]
	bl	index_getprocinfo
	add	r8, r8, r7
	mov	r1, r0
	ldr	r2, [r10]
	mov	r0, r8
	bl	fmgr_info_copy
	mov	r2, #1
	ldr	r3, [r5, #4]
	str	r2, [r3, r7]
.L12:
	ldr	r3, [r6]
	ldr	r0, [r3, r7]
	bl	OidIsValid
	cmp	r0, #0
	ldrne	r2, [r6]
	ldreq	r2, .L23+12
	ldrne	r3, [r5, #8]
	ldreq	r3, [r5, #8]
	ldrne	r2, [r2, r7]
	ldreq	r2, [r2]
	str	r2, [r3, r7]
	ldr	r3, [fp]
	cmp	r4, r3
	bge	.L1
.L2:
	mov	r1, r4
	mov	r0, fp
	bl	TupleDescAttr
	ldr	r2, [r5]
	mov	r8, r0
	cmp	r2, #0
	lsl	r7, r4, #2
	beq	.L3
	ldr	r2, [r5, #40]
	ldr	r3, [r5, #36]
	str	r2, [r3, r4, lsl #2]
.L4:
	ldr	r3, .L23+16
	add	r4, r4, #1
	ldr	r2, [r3]
	mov	r1, r4
	mov	r0, r6
	bl	index_getprocid
	ldr	r3, [r9]
	cmp	r0, r3
	beq	.L5
	ldr	r3, .L23+16
	mov	r1, r4
	ldr	r2, [r3]
	mov	r0, r6
	ldr	r8, [r5, #32]
	bl	index_getprocinfo
	add	r8, r8, r7
	mov	r1, r0
	ldr	r2, [r10]
	mov	r0, r8
	bl	fmgr_info_copy
.L6:
	ldr	r3, .L23+20
	mov	r1, r4
	ldr	r2, [r3]
	mov	r0, r6
	ldr	r8, [r5, #28]
	bl	index_getprocinfo
	add	r8, r8, r7
	mov	r1, r0
	ldr	r2, [r10]
	mov	r0, r8
	bl	fmgr_info_copy
	ldr	r3, .L23+24
	mov	r1, r4
	ldr	r2, [r3]
	mov	r0, r6
	ldr	r8, [r5, #24]
	bl	index_getprocinfo
	add	r8, r8, r7
	mov	r1, r0
	ldr	r2, [r10]
	mov	r0, r8
	bl	fmgr_info_copy
	ldr	r3, .L23+28
	mov	r1, r4
	ldr	r2, [r3]
	mov	r0, r6
	bl	index_getprocid
	ldr	r3, [r9]
	cmp	r0, r3
	beq	.L8
	ldr	r3, .L23+28
	mov	r1, r4
	ldr	r2, [r3]
	mov	r0, r6
	ldr	r8, [r5, #16]
	bl	index_getprocinfo
	add	r8, r8, r7
	mov	r1, r0
	ldr	r2, [r10]
	mov	r0, r8
	bl	fmgr_info_copy
.L8:
	ldr	r3, .L23+32
	mov	r1, r4
	ldr	r2, [r3]
	mov	r0, r6
	bl	index_getprocid
	ldr	r3, [r9]
	cmp	r0, r3
	beq	.L9
	ldr	r3, .L23+32
	mov	r1, r4
	ldr	r2, [r3]
	mov	r0, r6
	ldr	r8, [r5, #20]
	bl	index_getprocinfo
	add	r8, r8, r7
	mov	r1, r0
	ldr	r2, [r10]
	mov	r0, r8
	bl	fmgr_info_copy
	ldr	r3, [r9]
.L9:
	ldr	r2, [r5, #20]
	ldr	r2, [r2, r7]
	cmp	r2, r3
	beq	.L20
.L10:
	ldr	r3, .L23+8
	mov	r1, r4
	ldr	r2, [r3]
	mov	r0, r6
	bl	index_getprocid
	ldr	r3, [r9]
	cmp	r0, r3
	bne	.L21
	mov	r2, #0
	ldr	r3, [r5, #4]
	str	r2, [r3, r7]
	b	.L12
.L20:
	ldr	r2, [r5, #16]
	ldr	r2, [r2, r7]
	cmp	r2, r3
	bne	.L10
	ldr	r3, .L23+36
	mov	r0, r6
	ldr	r8, [r3]
	ldr	r3, .L23+32
	ldr	r2, [r3]
	ldr	r3, .L23+28
	str	r2, [sp, #12]
	ldr	r3, [r3]
	str	r3, [sp, #8]
	bl	RelationGetRelationName
	ldr	r3, [sp, #8]
	str	r0, [sp, #4]
	ldr	r2, [sp, #12]
	mov	r0, r8
	ldr	r1, .L23+40
	str	r4, [sp]
	bl	elog
	b	.L10
.L5:
	ldr	r3, .L23+44
	ldr	r0, [r8, #4]
	ldr	r1, [r3]
	bl	lookup_type_cache
	mov	r3, r0
	ldr	r0, [r0]
	str	r3, [sp, #8]
	bl	OidIsValid
	cmp	r0, #0
	ldr	r3, [sp, #8]
	beq	.L22
.L7:
	ldr	r0, [r5, #32]
	mov	r1, r3
	ldr	r2, [r10]
	add	r0, r0, r7
	bl	fmgr_info_copy
	b	.L6
.L3:
	ldr	r3, [r5, #36]
	mov	r0, #2
	str	r2, [sp, #12]
	str	r3, [sp, #8]
	bl	CreateTemplateTupleDesc
	mvn	r1, #0
	ldr	r3, [sp, #8]
	ldr	ip, [r5, #36]
	ldr	r2, [sp, #12]
	str	r0, [r3, r4, lsl #2]
	ldr	r3, .L23+48
	ldr	r0, [ip, r4, lsl #2]
	ldr	r3, [r3]
	stm	sp, {r1, r2}
	mov	r1, #1
	str	r2, [sp, #8]
	bl	TupleDescInitEntry
	ldr	r3, [r5, #36]
	ldr	r1, [r8, #12]
	ldr	r0, [r3, r4, lsl #2]
	ldr	r3, [r8, #4]
	str	r1, [sp, #4]
	ldr	r1, [r8]
	ldr	r2, [sp, #8]
	str	r1, [sp]
	mov	r1, #2
	bl	TupleDescInitEntry
	ldr	r3, [r5, #36]
	mov	r1, #2
	ldr	r2, [r8, #8]
	ldr	r0, [r3, r4, lsl #2]
	bl	TupleDescInitEntryCollation
	b	.L4
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L22:
	str	r3, [sp, #12]
	ldr	r3, .L23+52
	ldr	r0, [r3]
	ldr	r3, .L23+36
	ldr	r2, [r3]
	str	r2, [sp, #8]
	bl	errcode
	ldr	r0, [r8, #4]
	bl	format_type_be
	mov	r1, r0
	ldr	r0, .L23+56
	bl	errmsg
	ldr	r2, [sp, #8]
	mov	r1, r0
	mov	r0, r2
	bl	ereport
	ldr	r3, [sp, #12]
	b	.L7
.L24:
	.align	2
.L23:
	.word	InvalidOid
	.word	CurrentMemoryContext
	.word	GIN_COMPARE_PARTIAL_PROC
	.word	DEFAULT_COLLATION_OID
	.word	GIN_COMPARE_PROC
	.word	GIN_EXTRACTVALUE_PROC
	.word	GIN_EXTRACTQUERY_PROC
	.word	GIN_TRICONSISTENT_PROC
	.word	GIN_CONSISTENT_PROC
	.word	ERROR
	.word	.LC1
	.word	TYPECACHE_CMP_PROC_FINFO
	.word	INT2OID
	.word	ERRCODE_UNDEFINED_FUNCTION
	.word	.LC0
	.size	initGinState, .-initGinState
	.comm	TYPECACHE_CMP_PROC_FINFO,4,4
	.comm	InvalidOid,4,4
	.comm	INT2OID,4,4
	.comm	GIN_TRICONSISTENT_PROC,4,4
	.comm	GIN_EXTRACTVALUE_PROC,4,4
	.comm	GIN_EXTRACTQUERY_PROC,4,4
	.comm	GIN_CONSISTENT_PROC,4,4
	.comm	GIN_COMPARE_PROC,4,4
	.comm	GIN_COMPARE_PARTIAL_PROC,4,4
	.comm	ERROR,4,4
	.comm	ERRCODE_UNDEFINED_FUNCTION,4,4
	.comm	DEFAULT_COLLATION_OID,4,4
	.comm	CurrentMemoryContext,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
