	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RenameConstraint               ## -- Begin function RenameConstraint
	.p2align	4, 0x90
_RenameConstraint:                      ## @RenameConstraint
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	(%rdi), %rax
	movq	_OBJECT_DOMCONSTRAINT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	movq	_List@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	32(%r13), %esi
	callq	_castNode
	movl	%eax, %edi
	callq	_makeTypeNameFromNameList
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_typenameTypeId
	movl	%eax, %r15d
	movq	_TypeRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movl	%eax, %r12d
	movq	_TYPEOID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	callq	_elog
LBB0_3:
	movl	%ebx, %edi
	callq	_checkDomainOwner
	movl	%ebx, %edi
	callq	_ReleaseSysCache
	movq	_NoLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_table_close
	jmp	LBB0_4
LBB0_7:
	movq	8(%r13), %rdi
	movq	_AccessExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	cmpq	$0, 24(%r13)
	je	LBB0_9
## %bb.8:
	movq	_RVR_MISSING_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_9:
	movq	_RangeVarCallbackForRenameAttribute@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%r8d, %r8d
	callq	_RangeVarGetRelidExtended
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_OidIsValid
	movl	%r14d, %r15d
	movl	%ebx, %r14d
	testl	%eax, %eax
	je	LBB0_10
LBB0_4:
	movl	20(%r13), %edx
	movl	16(%r13), %ecx
	movq	8(%r13), %rax
	xorl	%r8d, %r8d
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	cmpq	$0, (%rax)
	setne	%r8b
LBB0_6:
	movl	$0, (%rsp)
	movl	%r14d, %edi
	movl	%r15d, %esi
	xorl	%r9d, %r9d
	callq	_rename_constraint_internal
	jmp	LBB0_11
LBB0_10:
	movq	_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	8(%r13), %rax
	movl	8(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	_InvalidObjectAddress@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.comm	_OBJECT_DOMCONSTRAINT,8,3       ## @OBJECT_DOMCONSTRAINT
	.comm	_List,4,2                       ## @List
	.comm	_TypeRelationId,4,2             ## @TypeRelationId
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.comm	_TYPEOID,4,2                    ## @TYPEOID
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cache lookup failed for type %u"

	.comm	_NoLock,4,2                     ## @NoLock
	.comm	_AccessExclusiveLock,4,2        ## @AccessExclusiveLock
	.comm	_RVR_MISSING_OK,4,2             ## @RVR_MISSING_OK
	.comm	_RangeVarCallbackForRenameAttribute,4,2 ## @RangeVarCallbackForRenameAttribute
	.comm	_NOTICE,4,2                     ## @NOTICE
L_.str.1:                               ## @.str.1
	.asciz	"relation \"%s\" does not exist, skipping"

	.comm	_InvalidObjectAddress,4,2       ## @InvalidObjectAddress
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RenameConstraint               ; -- Begin function RenameConstraint
	.p2align	2
_RenameConstraint:                      ; @RenameConstraint
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x0
Lloh0:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _OBJECT_DOMCONSTRAINT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OBJECT_DOMCONSTRAINT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
Lloh6:
	adrp	x8, _List@GOTPAGE
Lloh7:
	ldr	x8, [x8, _List@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w1, [x20, #32]
	bl	_castNode
	bl	_makeTypeNameFromNameList
	mov	x1, x0
	mov	x0, #0
	bl	_typenameTypeId
	mov	x21, x0
Lloh9:
	adrp	x8, _TypeRelationId@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TypeRelationId@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _RowExclusiveLock@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RowExclusiveLock@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_table_open
	mov	x22, x0
Lloh15:
	adrp	x8, _TYPEOID@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TYPEOID@GOTPAGEOFF]
Lloh17:
	ldr	w23, [x8]
	mov	x0, x21
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x23
	bl	_SearchSysCache1
	mov	x23, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_3
; %bb.2:
Lloh18:
	adrp	x8, _ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_elog
LBB0_3:
	mov	x0, x23
	bl	_checkDomainOwner
	mov	x0, x23
	bl	_ReleaseSysCache
Lloh23:
	adrp	x8, _NoLock@GOTPAGE
Lloh24:
	ldr	x8, [x8, _NoLock@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_table_close
	b	LBB0_5
LBB0_4:
	ldr	x0, [x20, #8]
Lloh26:
	adrp	x8, _AccessExclusiveLock@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AccessExclusiveLock@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	ldr	x8, [x20, #24]
Lloh29:
	adrp	x9, _RVR_MISSING_OK@GOTPAGE
Lloh30:
	ldr	x9, [x9, _RVR_MISSING_OK@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w2, wzr, w9, eq
Lloh32:
	adrp	x8, _RangeVarCallbackForRenameAttribute@GOTPAGE
Lloh33:
	ldr	x8, [x8, _RangeVarCallbackForRenameAttribute@GOTPAGEOFF]
Lloh34:
	ldr	w3, [x8]
	mov	x4, #0
	bl	_RangeVarGetRelidExtended
	mov	x22, x0
	bl	_OidIsValid
	mov	x21, x19
	mov	x19, x22
	cbz	w0, LBB0_9
LBB0_5:
	ldp	w3, w2, [x20, #16]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w4, ne
	b	LBB0_8
LBB0_7:
	mov	w4, #0
LBB0_8:
	mov	x0, x19
	mov	x1, x21
	mov	w5, #0
	mov	w6, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rename_constraint_internal
LBB0_9:
Lloh35:
	adrp	x8, _NOTICE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _NOTICE@GOTPAGEOFF]
Lloh37:
	ldr	w19, [x8]
	ldr	x8, [x20, #8]
	ldr	w1, [x8, #8]
Lloh38:
	adrp	x0, l_.str.1@PAGE
Lloh39:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
Lloh40:
	adrp	x8, _InvalidObjectAddress@GOTPAGE
Lloh41:
	ldr	x8, [x8, _InvalidObjectAddress@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.comm	_OBJECT_DOMCONSTRAINT,8,3       ; @OBJECT_DOMCONSTRAINT
	.comm	_List,4,2                       ; @List
	.comm	_TypeRelationId,4,2             ; @TypeRelationId
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.comm	_TYPEOID,4,2                    ; @TYPEOID
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cache lookup failed for type %u"

	.comm	_NoLock,4,2                     ; @NoLock
	.comm	_AccessExclusiveLock,4,2        ; @AccessExclusiveLock
	.comm	_RVR_MISSING_OK,4,2             ; @RVR_MISSING_OK
	.comm	_RangeVarCallbackForRenameAttribute,4,2 ; @RangeVarCallbackForRenameAttribute
	.comm	_NOTICE,4,2                     ; @NOTICE
l_.str.1:                               ; @.str.1
	.asciz	"relation \"%s\" does not exist, skipping"

	.comm	_InvalidObjectAddress,4,2       ; @InvalidObjectAddress
.subsections_via_symbols
