	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_renameatt                      ## -- Begin function renameatt
	.p2align	4, 0x90
_renameatt:                             ## @renameatt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	movq	_AccessExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	cmpq	$0, 24(%rbx)
	je	LBB0_2
## %bb.1:
	movq	_RVR_MISSING_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_2:
	movq	_RangeVarCallbackForRenameAttribute@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%r8d, %r8d
	callq	_RangeVarGetRelidExtended
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_OidIsValid
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	20(%rbx), %esi
	movl	16(%rbx), %edx
	movq	8(%rbx), %rax
	movl	(%rax), %ecx
	movl	(%rbx), %eax
	movl	%eax, (%rsp)
	movl	%r14d, %edi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_renameatt_internal
	movq	_RelationRelationId@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_ObjectAddressSubSet
                                        ## implicit-def: $eax
	jmp	LBB0_5
LBB0_3:
	movq	_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	8(%rbx), %rax
	movl	4(%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_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AccessExclusiveLock,4,2        ## @AccessExclusiveLock
	.comm	_RVR_MISSING_OK,4,2             ## @RVR_MISSING_OK
	.comm	_RangeVarCallbackForRenameAttribute,4,2 ## @RangeVarCallbackForRenameAttribute
	.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	_renameatt                      ; -- Begin function renameatt
	.p2align	2
_renameatt:                             ; @renameatt
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0, #8]
Lloh0:
	adrp	x8, _AccessExclusiveLock@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AccessExclusiveLock@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x8, [x19, #24]
Lloh3:
	adrp	x9, _RVR_MISSING_OK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RVR_MISSING_OK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w2, wzr, w9, eq
Lloh6:
	adrp	x8, _RangeVarCallbackForRenameAttribute@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RangeVarCallbackForRenameAttribute@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x4, #0
	bl	_RangeVarGetRelidExtended
	mov	x20, x0
	bl	_OidIsValid
	cbz	w0, LBB0_2
; %bb.1:
	ldp	w2, w1, [x19, #16]
	ldr	x8, [x19, #8]
	ldr	w3, [x8]
	ldr	w6, [x19]
	mov	x0, x20
	mov	w4, #0
	mov	w5, #0
	bl	_renameatt_internal
Lloh9:
	adrp	x8, _RelationRelationId@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RelationRelationId@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, x20
	mov	x3, x0
	bl	_ObjectAddressSubSet
                                        ; implicit-def: $w0
	b	LBB0_3
LBB0_2:
Lloh12:
	adrp	x8, _NOTICE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NOTICE@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #4]
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
Lloh17:
	adrp	x8, _InvalidObjectAddress@GOTPAGE
Lloh18:
	ldr	x8, [x8, _InvalidObjectAddress@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_AccessExclusiveLock,4,2        ; @AccessExclusiveLock
	.comm	_RVR_MISSING_OK,4,2             ; @RVR_MISSING_OK
	.comm	_RangeVarCallbackForRenameAttribute,4,2 ; @RangeVarCallbackForRenameAttribute
	.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
