	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RenameConstraintById           ## -- Begin function RenameConstraintById
	.p2align	4, 0x90
_RenameConstraintById:                  ## @RenameConstraintById
	.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	%rsi, %r12
	movl	%edi, %r15d
	movq	_ConstraintRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_table_open
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_CONSTROID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCacheCopy1
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	callq	_elog
LBB0_2:
	movq	%r13, %rdi
	callq	_GETSTRUCT
	movq	%rax, %rbx
	movl	8(%rax), %edi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_CONSTRAINT_RELATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	movq	%r12, %rdx
	callq	_ConstraintNameIsUsed
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_DUPLICATE_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	8(%rbx), %edi
	callq	_get_rel_name
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_errmsg
	movl	%r14d, %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %r14
	movl	%eax, %esi
	callq	_ereport
LBB0_5:
	movl	4(%rbx), %edi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	_CONSTRAINT_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	movq	%r12, %rdx
	callq	_ConstraintNameIsUsed
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_DUPLICATE_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	4(%rbx), %edi
	callq	_format_type_be
	leaq	L_.str.2(%rip), %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_errmsg
	movl	%r14d, %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %r14
	movl	%eax, %esi
	callq	_ereport
LBB0_8:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_namestrcpy
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movq	%r13, %rsi
	movq	%r13, %rdx
	callq	_CatalogTupleUpdate
	movq	_ConstraintRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_InvokeObjectPostAlterHook
	movq	%r13, %rdi
	callq	_heap_freetuple
	movl	(%r14), %esi
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_table_close                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ConstraintRelationId,4,2       ## @ConstraintRelationId
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.comm	_CONSTROID,4,2                  ## @CONSTROID
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cache lookup failed for constraint %u"

	.comm	_CONSTRAINT_RELATION,4,2        ## @CONSTRAINT_RELATION
	.comm	_ERRCODE_DUPLICATE_OBJECT,4,2   ## @ERRCODE_DUPLICATE_OBJECT
L_.str.1:                               ## @.str.1
	.asciz	"constraint \"%s\" for relation \"%s\" already exists"

	.comm	_CONSTRAINT_DOMAIN,4,2          ## @CONSTRAINT_DOMAIN
L_.str.2:                               ## @.str.2
	.asciz	"constraint \"%s\" for domain %s already exists"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RenameConstraintById           ; -- Begin function RenameConstraintById
	.p2align	2
_RenameConstraintById:                  ; @RenameConstraintById
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x26, _ConstraintRelationId@GOTPAGE
Lloh1:
	ldr	x26, [x26, _ConstraintRelationId@GOTPAGEOFF]
	ldr	w0, [x26]
Lloh2:
	adrp	x25, _RowExclusiveLock@GOTPAGE
Lloh3:
	ldr	x25, [x25, _RowExclusiveLock@GOTPAGEOFF]
	ldr	w1, [x25]
	bl	_table_open
	mov	x20, x0
Lloh4:
	adrp	x8, _CONSTROID@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CONSTROID@GOTPAGEOFF]
Lloh6:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x22
	bl	_SearchSysCacheCopy1
	mov	x22, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_2
; %bb.1:
Lloh7:
	adrp	x8, _ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_elog
LBB0_2:
	mov	x0, x22
	bl	_GETSTRUCT
	mov	x23, x0
	ldr	w0, [x0, #8]
	bl	_OidIsValid
	cbz	x0, LBB0_5
; %bb.3:
Lloh12:
	adrp	x8, _CONSTRAINT_RELATION@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CONSTRAINT_RELATION@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	w1, [x23, #8]
	mov	x2, x21
	bl	_ConstraintNameIsUsed
	cbz	x0, LBB0_5
; %bb.4:
Lloh15:
	adrp	x8, _ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w24, [x8]
Lloh18:
	adrp	x8, _ERRCODE_DUPLICATE_OBJECT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ERRCODE_DUPLICATE_OBJECT@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w0, [x23, #8]
	bl	_get_rel_name
	mov	x2, x0
Lloh21:
	adrp	x0, l_.str.1@PAGE
Lloh22:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_errmsg
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
LBB0_5:
	ldr	w0, [x23, #4]
	bl	_OidIsValid
	cbz	x0, LBB0_8
; %bb.6:
Lloh23:
	adrp	x8, _CONSTRAINT_DOMAIN@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CONSTRAINT_DOMAIN@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	ldr	w1, [x23, #4]
	mov	x2, x21
	bl	_ConstraintNameIsUsed
	cbz	x0, LBB0_8
; %bb.7:
Lloh26:
	adrp	x8, _ERROR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh28:
	ldr	w24, [x8]
Lloh29:
	adrp	x8, _ERRCODE_DUPLICATE_OBJECT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ERRCODE_DUPLICATE_OBJECT@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w0, [x23, #4]
	bl	_format_type_be
	mov	x2, x0
Lloh32:
	adrp	x0, l_.str.2@PAGE
Lloh33:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x21
	bl	_errmsg
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
LBB0_8:
	mov	x0, x23
	mov	x1, x21
	bl	_namestrcpy
	mov	x0, x20
	mov	x1, x22
	mov	x2, x22
	bl	_CatalogTupleUpdate
	ldr	w0, [x26]
	mov	x1, x19
	mov	w2, #0
	bl	_InvokeObjectPostAlterHook
	mov	x0, x22
	bl	_heap_freetuple
	ldr	w1, [x25]
	mov	x0, x20
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_table_close
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_ConstraintRelationId,4,2       ; @ConstraintRelationId
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.comm	_CONSTROID,4,2                  ; @CONSTROID
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cache lookup failed for constraint %u"

	.comm	_CONSTRAINT_RELATION,4,2        ; @CONSTRAINT_RELATION
	.comm	_ERRCODE_DUPLICATE_OBJECT,4,2   ; @ERRCODE_DUPLICATE_OBJECT
l_.str.1:                               ; @.str.1
	.asciz	"constraint \"%s\" for relation \"%s\" already exists"

	.comm	_CONSTRAINT_DOMAIN,4,2          ; @CONSTRAINT_DOMAIN
l_.str.2:                               ; @.str.2
	.asciz	"constraint \"%s\" for domain %s already exists"

.subsections_via_symbols
