	.file	"extr_relcache.c_CheckConstraintFetch.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"unexpected constraint record found for rel %s"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"null conbin for rel %s"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"%d constraint record(s) missing for rel %s"
	.text
	.p2align 4
	.type	CheckConstraintFetch, @function
CheckConstraintFetch:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	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
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [rdi]
	lea	rbx, 36[rsp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR [rax]
	mov	QWORD PTR 8[rsp], rdx
	mov	DWORD PTR 4[rsp], eax
	call	RelationGetRelid@PLT
	mov	edi, eax
	call	ObjectIdGetDatum@PLT
	mov	ecx, DWORD PTR F_OIDEQ[rip]
	mov	edx, DWORD PTR BTEqualStrategyNumber[rip]
	mov	rdi, rbx
	mov	esi, DWORD PTR Anum_pg_constraint_conrelid[rip]
	mov	r8d, eax
	call	ScanKeyInit@PLT
	mov	esi, DWORD PTR AccessShareLock[rip]
	mov	edi, DWORD PTR ConstraintRelationId[rip]
	call	table_open@PLT
	mov	esi, DWORD PTR ConstraintRelidTypidNameIndexId[rip]
	mov	r9, rbx
	xor	ecx, ecx
	mov	r8d, 1
	mov	edx, 1
	mov	rdi, rax
	mov	r14, rax
	call	systable_beginscan@PLT
	mov	r13d, eax
	lea	rax, 32[rsp]
	mov	QWORD PTR 16[rsp], rax
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edi, r13d
	call	systable_getnext@PLT
	mov	edi, eax
	mov	ebp, eax
	call	HeapTupleIsValid@PLT
	test	rax, rax
	je	.L13
	mov	edi, ebp
	call	GETSTRUCT@PLT
	movsx	rcx, eax
	mov	rax, QWORD PTR CONSTRAINT_CHECK[rip]
	cmp	QWORD PTR [rcx], rax
	jne	.L2
	cmp	r12d, DWORD PTR 4[rsp]
	jge	.L14
.L5:
	mov	rdx, QWORD PTR 8[rsp]
	movsx	rax, r12d
	mov	edi, DWORD PTR 8[rcx]
	lea	rax, [rax+rax*2]
	lea	rbx, [rdx+rax*8]
	mov	eax, DWORD PTR 16[rcx]
	mov	DWORD PTR 20[rbx], eax
	mov	eax, DWORD PTR 12[rcx]
	mov	DWORD PTR 16[rbx], eax
	call	NameStr@PLT
	mov	edi, DWORD PTR CacheMemoryContext[rip]
	mov	rsi, rax
	call	MemoryContextStrdup@PLT
	mov	rcx, QWORD PTR 16[rsp]
	mov	rdx, QWORD PTR [r14]
	mov	edi, ebp
	mov	QWORD PTR 8[rbx], rax
	mov	esi, DWORD PTR Anum_pg_constraint_conbin[rip]
	call	fastgetattr@PLT
	mov	ebp, eax
	mov	eax, DWORD PTR 32[rsp]
	test	eax, eax
	jne	.L15
.L6:
	mov	edi, ebp
	add	r12d, 1
	call	TextDatumGetCString@PLT
	mov	edi, DWORD PTR CacheMemoryContext[rip]
	mov	rsi, rax
	mov	rbp, rax
	call	MemoryContextStrdup@PLT
	mov	rdi, rbp
	mov	QWORD PTR [rbx], rax
	call	pfree@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdi, r15
	mov	QWORD PTR 24[rsp], rcx
	call	RelationGetRelationName@PLT
	mov	edi, DWORD PTR ERROR[rip]
	lea	rsi, .LC0[rip]
	mov	edx, eax
	xor	eax, eax
	call	elog@PLT
	mov	rcx, QWORD PTR 24[rsp]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdi, r15
	call	RelationGetRelationName@PLT
	mov	edi, DWORD PTR ERROR[rip]
	lea	rsi, .LC1[rip]
	mov	edx, eax
	xor	eax, eax
	call	elog@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edi, r13d
	call	systable_endscan@PLT
	mov	esi, DWORD PTR AccessShareLock[rip]
	mov	rdi, r14
	call	table_close@PLT
	mov	ebx, DWORD PTR 4[rsp]
	cmp	r12d, ebx
	je	.L8
	mov	rdi, r15
	call	RelationGetRelationName@PLT
	mov	edx, ebx
	mov	edi, DWORD PTR ERROR[rip]
	lea	rsi, .LC2[rip]
	mov	ecx, eax
	sub	edx, r12d
	xor	eax, eax
	call	elog@PLT
.L8:
	mov	eax, DWORD PTR 4[rsp]
	cmp	eax, 1
	jle	.L1
	mov	ecx, DWORD PTR CheckConstraintCmp[rip]
	mov	rdi, QWORD PTR 8[rsp]
	mov	edx, 24
	mov	esi, eax
	call	qsort@PLT
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 56
	.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
.L16:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	CheckConstraintFetch, .-CheckConstraintFetch
	.comm	F_OIDEQ,4,4
	.comm	ERROR,4,4
	.comm	ConstraintRelidTypidNameIndexId,4,4
	.comm	ConstraintRelationId,4,4
	.comm	CheckConstraintCmp,4,4
	.comm	CacheMemoryContext,4,4
	.comm	CONSTRAINT_CHECK,8,8
	.comm	BTEqualStrategyNumber,4,4
	.comm	Anum_pg_constraint_conrelid,4,4
	.comm	Anum_pg_constraint_conbin,4,4
	.comm	AccessShareLock,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_relcache.c_CheckConstraintFetch.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unexpected constraint record found for rel %s\000"
	.align	2
.LC1:
	.ascii	"null conbin for rel %s\000"
	.align	2
.LC2:
	.ascii	"%d constraint record(s) missing for rel %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	CheckConstraintFetch, %function
CheckConstraintFetch:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, [r0]
	ldr	ip, .L20
	ldr	lr, .L20+4
	ldr	r1, .L20+8
	ldr	r2, .L20+12
	ldr	r3, [r3]
	sub	sp, sp, #44
	ldr	lr, [lr]
	str	lr, [sp, #36]
	mov	lr,#0
	ldm	r3, {r3, r8}
	ldr	r5, [ip]
	ldr	r6, [r1]
	ldr	r7, [r2]
	str	r3, [sp, #16]
	mov	fp, r0
	bl	RelationGetRelid
	bl	ObjectIdGetDatum
	add	r4, sp, #32
	mov	r3, r7
	mov	r2, r6
	mov	r1, r5
	str	r0, [sp]
	mov	r0, r4
	bl	ScanKeyInit
	ldr	r3, .L20+16
	ldr	r2, .L20+20
	ldr	r0, [r3]
	ldr	r1, [r2]
	bl	table_open
	mov	r2, #1
	stm	sp, {r2, r4}
	ldr	r3, .L20+24
	str	r0, [sp, #20]
	ldr	r1, [r3]
	mov	r3, #0
	bl	systable_beginscan
	mov	r6, #0
	mov	r7, r0
	ldr	r10, .L20+28
	ldr	r9, .L20+32
.L2:
	mov	r0, r7
	bl	systable_getnext
	mov	r5, r0
	bl	HeapTupleIsValid
	cmp	r0, #0
	beq	.L16
	mov	r0, r5
	bl	GETSTRUCT
	ldr	r3, [r10]
	ldr	r2, [r0]
	mov	r4, r0
	cmp	r2, r3
	bne	.L2
	ldr	r3, [sp, #16]
	cmp	r6, r3
	bge	.L17
.L5:
	ldr	r3, [r4, #8]
	ldr	r1, [r4, #12]
	add	r2, r8, r6, lsl #4
	str	r1, [r2, #12]
	str	r3, [r2, #8]
	ldr	r0, [r4, #4]
	str	r2, [sp, #12]
	ldr	r4, [r9]
	bl	NameStr
	mov	r1, r0
	mov	r0, r4
	bl	MemoryContextStrdup
	ldr	r2, [sp, #12]
	ldr	r1, .L20+36
	str	r0, [r2, #4]
	ldr	r2, [sp, #20]
	mov	r0, r5
	add	r3, sp, #28
	ldr	r2, [r2]
	ldr	r1, [r1]
	bl	fastgetattr
	ldr	r3, [sp, #28]
	mov	r4, r0
	cmp	r3, #0
	lsl	r5, r6, #4
	bne	.L18
.L6:
	mov	r0, r4
	bl	TextDatumGetCString
	mov	r4, r0
	ldr	r0, [r9]
	mov	r1, r4
	bl	MemoryContextStrdup
	mov	r3, r0
	mov	r0, r4
	str	r3, [r8, r5]
	bl	pfree
	add	r6, r6, #1
	b	.L2
.L17:
	ldr	r3, .L20+40
	mov	r0, fp
	ldr	r3, [r3]
	str	r3, [sp, #12]
	bl	RelationGetRelationName
	ldr	r3, [sp, #12]
	mov	r2, r0
	ldr	r1, .L20+44
	mov	r0, r3
	bl	elog
	b	.L5
.L18:
	ldr	r3, .L20+40
	mov	r0, fp
	ldr	r3, [r3]
	str	r3, [sp, #12]
	bl	RelationGetRelationName
	ldr	r3, [sp, #12]
	mov	r2, r0
	ldr	r1, .L20+48
	mov	r0, r3
	bl	elog
	b	.L6
.L16:
	mov	r0, r7
	bl	systable_endscan
	ldr	r3, .L20+20
	ldr	r0, [sp, #20]
	ldr	r1, [r3]
	bl	table_close
	ldr	r2, [sp, #16]
	cmp	r6, r2
	beq	.L8
	ldr	r3, .L20+40
	mov	r0, fp
	ldr	r4, [r3]
	sub	r6, r2, r6
	bl	RelationGetRelationName
	mov	r2, r6
	mov	r3, r0
	ldr	r1, .L20+52
	mov	r0, r4
	bl	elog
.L8:
	ldr	r1, [sp, #16]
	cmp	r1, #1
	ble	.L1
	ldr	r3, .L20+56
	mov	r0, r8
	mov	r2, #16
	ldr	r3, [r3]
	bl	qsort
.L1:
	ldr	r3, .L20+4
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	Anum_pg_constraint_conrelid
	.word	.LC3
	.word	BTEqualStrategyNumber
	.word	F_OIDEQ
	.word	ConstraintRelationId
	.word	AccessShareLock
	.word	ConstraintRelidTypidNameIndexId
	.word	CONSTRAINT_CHECK
	.word	CacheMemoryContext
	.word	Anum_pg_constraint_conbin
	.word	ERROR
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	CheckConstraintCmp
	.size	CheckConstraintFetch, .-CheckConstraintFetch
	.comm	F_OIDEQ,4,4
	.comm	ERROR,4,4
	.comm	ConstraintRelidTypidNameIndexId,4,4
	.comm	ConstraintRelationId,4,4
	.comm	CheckConstraintCmp,4,4
	.comm	CacheMemoryContext,4,4
	.comm	CONSTRAINT_CHECK,4,4
	.comm	BTEqualStrategyNumber,4,4
	.comm	Anum_pg_constraint_conrelid,4,4
	.comm	Anum_pg_constraint_conbin,4,4
	.comm	AccessShareLock,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
