	.file	"extr_tablecmds.c_RenameConstraint.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"cache lookup failed for type %u"
	.align 8
.LC1:
	.string	"relation \"%s\" does not exist, skipping"
	.text
	.p2align 4
	.globl	RenameConstraint
	.type	RenameConstraint, @function
RenameConstraint:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	rax, QWORD PTR OBJECT_DOMCONSTRAINT[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, DWORD PTR InvalidOid[rip]
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	cmp	QWORD PTR [rdi], rax
	je	.L13
	xor	edx, edx
	cmp	QWORD PTR 24[rdi], 0
	mov	ecx, DWORD PTR RangeVarCallbackForRenameAttribute[rip]
	jne	.L14
.L5:
	mov	rdi, QWORD PTR 8[rbx]
	mov	esi, DWORD PTR AccessExclusiveLock[rip]
	xor	r8d, r8d
	call	RangeVarGetRelidExtended@PLT
	mov	edi, eax
	mov	ebp, eax
	call	OidIsValid@PLT
	test	eax, eax
	je	.L15
.L4:
	mov	rax, QWORD PTR 8[rbx]
	xor	r8d, r8d
	test	rax, rax
	je	.L7
	xor	r8d, r8d
	cmp	QWORD PTR [rax], 0
	setne	r8b
.L7:
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	ecx, DWORD PTR 16[rbx]
	mov	edx, DWORD PTR 20[rbx]
	mov	esi, r12d
	push	0
	.cfi_def_cfa_offset 64
	mov	edi, ebp
	xor	r9d, r9d
	call	rename_constraint_internal@PLT
	pop	rdx
	.cfi_def_cfa_offset 56
	pop	rcx
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	edx, DWORD PTR RVR_MISSING_OK[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L13:
	mov	esi, DWORD PTR 32[rdi]
	mov	edi, DWORD PTR List[rip]
	call	castNode@PLT
	mov	edi, eax
	call	makeTypeNameFromNameList@PLT
	xor	edi, edi
	mov	esi, eax
	call	typenameTypeId@PLT
	mov	esi, DWORD PTR RowExclusiveLock[rip]
	mov	edi, DWORD PTR TypeRelationId[rip]
	mov	r13d, eax
	call	table_open@PLT
	mov	edi, r13d
	mov	r14d, eax
	call	ObjectIdGetDatum@PLT
	mov	edi, DWORD PTR TYPEOID[rip]
	mov	esi, eax
	call	SearchSysCache1@PLT
	mov	edi, eax
	mov	ebp, eax
	call	HeapTupleIsValid@PLT
	test	eax, eax
	je	.L16
.L3:
	mov	edi, ebp
	call	checkDomainOwner@PLT
	mov	edi, ebp
	mov	ebp, r12d
	mov	r12d, r13d
	call	ReleaseSysCache@PLT
	mov	esi, DWORD PTR NoLock[rip]
	mov	edi, r14d
	call	table_close@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edi, DWORD PTR ERROR[rip]
	mov	edx, r13d
	lea	rsi, .LC0[rip]
	call	elog@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rax, QWORD PTR 8[rbx]
	lea	rdi, .LC1[rip]
	mov	esi, DWORD PTR 8[rax]
	call	errmsg@PLT
	mov	edi, DWORD PTR NOTICE[rip]
	mov	esi, eax
	call	ereport@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR InvalidObjectAddress[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	RenameConstraint, .-RenameConstraint
	.comm	TypeRelationId,4,4
	.comm	TYPEOID,4,4
	.comm	RowExclusiveLock,4,4
	.comm	RangeVarCallbackForRenameAttribute,4,4
	.comm	RVR_MISSING_OK,4,4
	.comm	OBJECT_DOMCONSTRAINT,8,8
	.comm	NoLock,4,4
	.comm	NOTICE,4,4
	.comm	List,4,4
	.comm	InvalidOid,4,4
	.comm	InvalidObjectAddress,4,4
	.comm	ERROR,4,4
	.comm	AccessExclusiveLock,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_tablecmds.c_RenameConstraint.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cache lookup failed for type %u\000"
	.align	2
.LC1:
	.ascii	"relation \"%s\" does not exist, skipping\000"
	.text
	.align	2
	.global	RenameConstraint
	.syntax unified
	.arm
	.fpu softvfp
	.type	RenameConstraint, %function
RenameConstraint:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L17
	ldr	r1, [r0]
	ldr	r2, [r3]
	ldr	r3, .L17+4
	cmp	r1, r2
	mov	r4, r0
	ldr	r6, [r3]
	sub	sp, sp, #16
	beq	.L14
	mov	ip, #0
	ldr	r2, [r0, #16]
	ldr	r3, .L17+8
	cmp	r2, #0
	ldr	r1, [r3]
	ldrne	r3, .L17+12
	ldr	r0, [r0, #4]
	ldrne	r2, [r3]
	ldr	r3, .L17+16
	str	ip, [sp]
	ldr	r3, [r3]
	bl	RangeVarGetRelidExtended
	mov	r5, r0
	bl	OidIsValid
	cmp	r0, #0
	beq	.L15
.L4:
	ldr	r1, [r4, #4]
	ldr	r2, [r4, #12]
	cmp	r1, #0
	ldr	r3, [r4, #8]
	beq	.L7
	ldr	r1, [r1]
	subs	r1, r1, #0
	movne	r1, #1
.L7:
	mov	ip, #0
	str	r1, [sp]
	mov	r0, r5
	mov	r1, r6
	str	ip, [sp, #8]
	str	ip, [sp, #4]
	bl	rename_constraint_internal
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	ldr	r3, .L17+20
	ldr	r1, [r0, #20]
	ldr	r0, [r3]
	bl	castNode
	bl	makeTypeNameFromNameList
	mov	r1, r0
	mov	r0, #0
	bl	typenameTypeId
	ldr	r2, .L17+24
	ldr	r3, .L17+28
	ldr	r1, [r2]
	mov	r7, r0
	ldr	r0, [r3]
	bl	table_open
	ldr	r3, .L17+32
	mov	r8, r0
	mov	r0, r7
	ldr	r5, [r3]
	bl	ObjectIdGetDatum
	mov	r1, r0
	mov	r0, r5
	bl	SearchSysCache1
	mov	r5, r0
	bl	HeapTupleIsValid
	cmp	r0, #0
	beq	.L16
.L3:
	mov	r0, r5
	bl	checkDomainOwner
	mov	r0, r5
	bl	ReleaseSysCache
	ldr	r3, .L17+36
	mov	r0, r8
	ldr	r1, [r3]
	mov	r5, r6
	bl	table_close
	mov	r6, r7
	b	.L4
.L16:
	ldr	r3, .L17+40
	mov	r2, r7
	ldr	r0, [r3]
	ldr	r1, .L17+44
	bl	elog
	b	.L3
.L15:
	ldr	r2, [r4, #4]
	ldr	r3, .L17+48
	ldr	r1, [r2, #4]
	ldr	r0, .L17+52
	ldr	r4, [r3]
	bl	errmsg
	mov	r1, r0
	mov	r0, r4
	bl	ereport
	ldr	r3, .L17+56
	ldr	r0, [r3]
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L18:
	.align	2
.L17:
	.word	OBJECT_DOMCONSTRAINT
	.word	InvalidOid
	.word	AccessExclusiveLock
	.word	RVR_MISSING_OK
	.word	RangeVarCallbackForRenameAttribute
	.word	List
	.word	RowExclusiveLock
	.word	TypeRelationId
	.word	TYPEOID
	.word	NoLock
	.word	ERROR
	.word	.LC0
	.word	NOTICE
	.word	.LC1
	.word	InvalidObjectAddress
	.size	RenameConstraint, .-RenameConstraint
	.comm	TypeRelationId,4,4
	.comm	TYPEOID,4,4
	.comm	RowExclusiveLock,4,4
	.comm	RangeVarCallbackForRenameAttribute,4,4
	.comm	RVR_MISSING_OK,4,4
	.comm	OBJECT_DOMCONSTRAINT,4,4
	.comm	NoLock,4,4
	.comm	NOTICE,4,4
	.comm	List,4,4
	.comm	InvalidOid,4,4
	.comm	InvalidObjectAddress,4,4
	.comm	ERROR,4,4
	.comm	AccessExclusiveLock,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
