	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RenameRelation                 ## -- Begin function RenameRelation
	.p2align	4, 0x90
_RenameRelation:                        ## @RenameRelation
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r15
	movq	_OBJECT_INDEX@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	cmpq	%r12, %r15
	jne	LBB0_1
## %bb.2:
	movq	_ShareUpdateExclusiveLock@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_AccessExclusiveLock@GOTPCREL(%rip), %rax
LBB0_3:
	movq	16(%rbx), %rdi
	movl	(%rax), %esi
	xorl	%edx, %edx
	cmpq	$0, 24(%rbx)
	je	LBB0_5
## %bb.4:
	movq	_RVR_MISSING_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_5:
	movq	_RangeVarCallbackForAlterRelation@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %r8
	callq	_RangeVarGetRelidExtended
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_OidIsValid
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	xorl	%ecx, %ecx
	cmpq	%r12, %r15
	sete	%cl
	movl	8(%rbx), %esi
	movl	%r14d, %edi
	xorl	%edx, %edx
	callq	_RenameRelationInternal
	movq	_RelationRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edx
	callq	_ObjectAddressSet
                                        ## implicit-def: $eax
	jmp	LBB0_8
LBB0_6:
	movq	_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	16(%rbx), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	_InvalidObjectAddress@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OBJECT_INDEX,8,3               ## @OBJECT_INDEX
	.comm	_ShareUpdateExclusiveLock,4,2   ## @ShareUpdateExclusiveLock
	.comm	_AccessExclusiveLock,4,2        ## @AccessExclusiveLock
	.comm	_RVR_MISSING_OK,4,2             ## @RVR_MISSING_OK
	.comm	_RangeVarCallbackForAlterRelation,4,2 ## @RangeVarCallbackForAlterRelation
	.comm	_NOTICE,4,2                     ## @NOTICE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"relation \"%s\" does not exist, skipping"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RenameRelation                 ; -- Begin function RenameRelation
	.p2align	2
_RenameRelation:                        ; @RenameRelation
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _OBJECT_INDEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OBJECT_INDEX@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
Lloh3:
	adrp	x8, _ShareUpdateExclusiveLock@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ShareUpdateExclusiveLock@GOTPAGEOFF]
Lloh5:
	adrp	x9, _AccessExclusiveLock@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AccessExclusiveLock@GOTPAGEOFF]
	cmp	x21, x22
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
	ldr	x0, [x0, #16]
	ldr	x8, [x19, #24]
Lloh7:
	adrp	x9, _RVR_MISSING_OK@GOTPAGE
Lloh8:
	ldr	x9, [x9, _RVR_MISSING_OK@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w2, wzr, w9, eq
Lloh10:
	adrp	x8, _RangeVarCallbackForAlterRelation@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RangeVarCallbackForAlterRelation@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	mov	x4, x19
	bl	_RangeVarGetRelidExtended
	mov	x20, x0
	bl	_OidIsValid
	cbz	w0, LBB0_2
; %bb.1:
	cmp	x21, x22
	cset	w3, eq
	ldr	w1, [x19, #8]
	mov	x0, x20
	mov	w2, #0
	bl	_RenameRelationInternal
Lloh13:
	adrp	x8, _RelationRelationId@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RelationRelationId@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_ObjectAddressSet
                                        ; implicit-def: $w0
	b	LBB0_3
LBB0_2:
Lloh16:
	adrp	x8, _NOTICE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NOTICE@GOTPAGEOFF]
Lloh18:
	ldr	w20, [x8]
	ldr	x8, [x19, #16]
	ldr	w1, [x8]
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
Lloh21:
	adrp	x8, _InvalidObjectAddress@GOTPAGE
Lloh22:
	ldr	x8, [x8, _InvalidObjectAddress@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_OBJECT_INDEX,8,3               ; @OBJECT_INDEX
	.comm	_ShareUpdateExclusiveLock,4,2   ; @ShareUpdateExclusiveLock
	.comm	_AccessExclusiveLock,4,2        ; @AccessExclusiveLock
	.comm	_RVR_MISSING_OK,4,2             ; @RVR_MISSING_OK
	.comm	_RangeVarCallbackForAlterRelation,4,2 ; @RangeVarCallbackForAlterRelation
	.comm	_NOTICE,4,2                     ; @NOTICE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"relation \"%s\" does not exist, skipping"

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