	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AlterForeignDataWrapper        ## -- Begin function AlterForeignDataWrapper
	.p2align	4, 0x90
_AlterForeignDataWrapper:               ## @AlterForeignDataWrapper
	.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
	subq	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, -168(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_Natts_pg_foreign_data_wrapper@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	(,%r15,4), %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -136(%rbp)                ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	_ForeignDataWrapperRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_superuser
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_INSUFFICIENT_PRIVILEGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	8(%r14), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	leaq	L_.str.1(%rip), %rdi
	callq	_errhint
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	movq	_FOREIGNDATAWRAPPERNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	8(%r14), %edi
	callq	_CStringGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCacheCopy1
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_UNDEFINED_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	8(%r14), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_4:
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_GETSTRUCT
	movq	%rax, %r13
	movq	8(%rax), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	shll	$2, %r15d
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_memset
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_memset
	movq	%r14, %r12
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	movq	%rbx, %r15
	callq	_memset
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	movl	4(%r12), %edi
	leaq	-76(%rbp), %rsi
	leaq	-104(%rbp), %rdx
	leaq	-72(%rbp), %rcx
	leaq	-56(%rbp), %r8
	callq	_parse_func_options
	cmpl	$0, -76(%rbp)
	je	LBB0_6
## %bb.5:
	movq	-104(%rbp), %rdi
	callq	_ObjectIdGetDatum
	movq	_Anum_pg_foreign_data_wrapper_fdwhandler@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	%eax, -4(%r15,%rcx,4)
	movl	$1, -4(%r14,%rcx,4)
	movq	_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_6:
	cmpl	$0, -72(%rbp)
	je	LBB0_9
## %bb.7:
	movq	-56(%rbp), %rdi
	callq	_ObjectIdGetDatum
	movq	_Anum_pg_foreign_data_wrapper_fdwvalidator@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	%eax, -4(%r15,%rcx,4)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	$1, -4(%rbx,%rcx,4)
	movq	-56(%rbp), %rdi
	callq	_OidIsValid
	testq	%rax, %rax
	movl	-68(%rbp), %r13d                ## 4-byte Reload
	movq	-120(%rbp), %r12                ## 8-byte Reload
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_10
## %bb.8:
	movq	_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_ereport
LBB0_10:
	cmpl	$0, (%r12)
	jne	LBB0_11
	jmp	LBB0_14
LBB0_9:
	movq	(%r13), %rax
	movq	%rax, -56(%rbp)
	movl	-68(%rbp), %r13d                ## 4-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-120(%rbp), %r12                ## 8-byte Reload
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	cmpl	$0, (%r12)
	je	LBB0_14
LBB0_11:
	movq	_FOREIGNDATAWRAPPEROID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_Anum_pg_foreign_data_wrapper_fdwoptions@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	-108(%rbp), %rcx
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	callq	_SysCacheGetAttr
	cmpl	$0, -108(%rbp)
	je	LBB0_13
## %bb.12:
	xorl	%edi, %edi
	callq	_PointerGetDatum
LBB0_13:
	movq	_ForeignDataWrapperRelationId@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%r12), %edx
	movq	-56(%rbp), %rcx
	movl	%eax, %esi
	callq	_transformGenericOptions
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_DatumGetPointer
	movl	%eax, %edi
	callq	_PointerIsValid
	testq	%rax, %rax
	movslq	(%r15), %rax
	movq	-136(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rcx
	cmoveq	-96(%rbp), %rcx                 ## 8-byte Folded Reload
	movl	$1, %edx
	cmovnel	%ebx, %edx
	movl	%edx, -4(%rcx,%rax,4)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	$1, -4(%rbx,%rax,4)
LBB0_14:
	movl	%r13d, %edi
	callq	_RelationGetDescr
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movl	%eax, %esi
	movq	%r15, %rdx
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, %r8
	callq	_heap_modify_tuple
	movq	%rax, %rbx
	movl	%r13d, %edi
	movq	%rax, %rsi
	movq	%rax, %rdx
	callq	_CatalogTupleUpdate
	movq	%rbx, %rdi
	callq	_heap_freetuple
	movq	_ForeignDataWrapperRelationId@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	subq	$32, %rsp
	movq	-168(%rbp), %rbx                ## 8-byte Reload
	movq	16(%rbx), %rax
	movq	%rax, 16(%rsp)
	movups	(%rbx), %xmm0
	movups	%xmm0, (%rsp)
	movq	%r14, %rsi
	callq	_ObjectAddressSet
	addq	$32, %rsp
	movl	-76(%rbp), %eax
	orl	-72(%rbp), %eax
	je	LBB0_20
## %bb.15:
	movl	(%r12), %edi
	movq	_ProcedureRelationId@GOTPCREL(%rip), %r15
	movq	(%r15), %rdx
	movq	%r14, %rsi
	movq	_DEPENDENCY_NORMAL@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	callq	_deleteDependencyRecordsForClass
	movq	-104(%rbp), %rdi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	(%r15), %rax
	movq	%rax, -144(%rbp)
	movq	-104(%rbp), %rax
	movq	%rax, -152(%rbp)
	movq	$0, -160(%rbp)
	movl	(%r14), %edx
	leaq	-160(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_recordDependencyOn
LBB0_17:
	movq	-56(%rbp), %rdi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	(%r15), %rax
	movq	%rax, -144(%rbp)
	movq	-56(%rbp), %rax
	movq	%rax, -152(%rbp)
	movq	$0, -160(%rbp)
	movl	(%r14), %edx
	leaq	-160(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_recordDependencyOn
LBB0_19:
	movq	-88(%rbp), %r14                 ## 8-byte Reload
LBB0_20:
	movl	(%r12), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_InvokeObjectPostAlterHook
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_table_close
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_22
## %bb.21:
	movq	%rbx, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_Natts_pg_foreign_data_wrapper,4,2 ## @Natts_pg_foreign_data_wrapper
	.comm	_ForeignDataWrapperRelationId,4,2 ## @ForeignDataWrapperRelationId
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INSUFFICIENT_PRIVILEGE,4,2 ## @ERRCODE_INSUFFICIENT_PRIVILEGE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"permission denied to alter foreign-data wrapper \"%s\""

L_.str.1:                               ## @.str.1
	.asciz	"Must be superuser to alter a foreign-data wrapper."

	.comm	_FOREIGNDATAWRAPPERNAME,4,2     ## @FOREIGNDATAWRAPPERNAME
	.comm	_ERRCODE_UNDEFINED_OBJECT,4,2   ## @ERRCODE_UNDEFINED_OBJECT
L_.str.2:                               ## @.str.2
	.asciz	"foreign-data wrapper \"%s\" does not exist"

	.comm	_Anum_pg_foreign_data_wrapper_fdwhandler,4,2 ## @Anum_pg_foreign_data_wrapper_fdwhandler
	.comm	_WARNING,4,2                    ## @WARNING
L_.str.3:                               ## @.str.3
	.asciz	"changing the foreign-data wrapper handler can change behavior of existing foreign tables"

	.comm	_Anum_pg_foreign_data_wrapper_fdwvalidator,4,2 ## @Anum_pg_foreign_data_wrapper_fdwvalidator
L_.str.4:                               ## @.str.4
	.asciz	"changing the foreign-data wrapper validator can cause the options for dependent objects to become invalid"

	.comm	_FOREIGNDATAWRAPPEROID,4,2      ## @FOREIGNDATAWRAPPEROID
	.comm	_Anum_pg_foreign_data_wrapper_fdwoptions,4,2 ## @Anum_pg_foreign_data_wrapper_fdwoptions
	.comm	_ProcedureRelationId,8,3        ## @ProcedureRelationId
	.comm	_DEPENDENCY_NORMAL,4,2          ## @DEPENDENCY_NORMAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AlterForeignDataWrapper        ; -- Begin function AlterForeignDataWrapper
	.p2align	2
_AlterForeignDataWrapper:               ; @AlterForeignDataWrapper
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #80
	mov	x25, x0
	stur	x8, [x29, #-152]                ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _Natts_pg_foreign_data_wrapper@GOTPAGE
Lloh4:
	ldr	x8, [x8, _Natts_pg_foreign_data_wrapper@GOTPAGEOFF]
Lloh5:
	ldr	w28, [x8]
	lsl	x8, x28, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x21, x9, x12
	mov	sp, x21
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x22, x9, x12
	mov	sp, x22
	mov	x9, x8
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x23, x8, x12
	mov	sp, x23
Lloh12:
	adrp	x8, _ForeignDataWrapperRelationId@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ForeignDataWrapperRelationId@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _RowExclusiveLock@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RowExclusiveLock@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_table_open
	mov	x20, x0
	bl	_superuser
	cbnz	w0, LBB0_2
; %bb.1:
Lloh18:
	adrp	x8, _ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w24, [x8]
Lloh21:
	adrp	x8, _ERRCODE_INSUFFICIENT_PRIVILEGE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ERRCODE_INSUFFICIENT_PRIVILEGE@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w8, [x25, #8]
	str	x8, [sp, #-16]!
Lloh24:
	adrp	x0, l_.str@PAGE
Lloh25:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
Lloh26:
	adrp	x0, l_.str.1@PAGE
Lloh27:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errhint
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
LBB0_2:
Lloh28:
	adrp	x8, _FOREIGNDATAWRAPPERNAME@GOTPAGE
Lloh29:
	ldr	x8, [x8, _FOREIGNDATAWRAPPERNAME@GOTPAGEOFF]
Lloh30:
	ldr	w24, [x8]
	ldr	w0, [x25, #8]
	bl	_CStringGetDatum
	mov	x1, x0
	mov	x0, x24
	bl	_SearchSysCacheCopy1
	mov	x26, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_4
; %bb.3:
Lloh31:
	adrp	x8, _ERROR@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh33:
	ldr	w24, [x8]
Lloh34:
	adrp	x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w8, [x25, #8]
	str	x8, [sp, #-16]!
Lloh37:
	adrp	x0, l_.str.2@PAGE
Lloh38:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errmsg
	add	sp, sp, #16
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
LBB0_4:
	mov	x0, x26
	bl	_GETSTRUCT
	mov	x27, x0
	ldr	x24, [x0, #8]
	lsl	w28, w28, #2
	mov	x0, x21
	mov	w1, #0
	mov	x2, x28
	bl	_memset
	mov	x0, x22
	mov	w1, #0
	mov	x2, x28
	bl	_memset
	mov	x0, x23
	mov	w1, #0
	mov	x2, x28
	bl	_memset
	ldr	w0, [x25, #4]
	sub	x1, x29, #96
	sub	x2, x29, #112
	sub	x3, x29, #100
	sub	x4, x29, #120
	bl	_parse_func_options
	ldur	w8, [x29, #-96]
Lloh39:
	adrp	x19, _WARNING@GOTPAGE
Lloh40:
	ldr	x19, [x19, _WARNING@GOTPAGEOFF]
	cbz	w8, LBB0_6
; %bb.5:
	ldur	x0, [x29, #-112]
	bl	_ObjectIdGetDatum
Lloh41:
	adrp	x8, _Anum_pg_foreign_data_wrapper_fdwhandler@GOTPAGE
Lloh42:
	ldr	x8, [x8, _Anum_pg_foreign_data_wrapper_fdwhandler@GOTPAGEOFF]
Lloh43:
	ldrsw	x8, [x8]
	lsl	x8, x8, #2
	sub	x8, x8, #4
	str	w0, [x21, x8]
	mov	w9, #1
	str	w9, [x23, x8]
	ldr	w28, [x19]
Lloh44:
	adrp	x0, l_.str.3@PAGE
Lloh45:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x28
	bl	_ereport
LBB0_6:
	ldur	w8, [x29, #-100]
	cbz	w8, LBB0_9
; %bb.7:
	ldur	x0, [x29, #-120]
	bl	_ObjectIdGetDatum
Lloh46:
	adrp	x8, _Anum_pg_foreign_data_wrapper_fdwvalidator@GOTPAGE
Lloh47:
	ldr	x8, [x8, _Anum_pg_foreign_data_wrapper_fdwvalidator@GOTPAGEOFF]
Lloh48:
	ldrsw	x8, [x8]
	lsl	x8, x8, #2
	sub	x8, x8, #4
	str	w0, [x21, x8]
	mov	w9, #1
	str	w9, [x23, x8]
	ldur	x0, [x29, #-120]
	bl	_OidIsValid
	cbz	x0, LBB0_10
; %bb.8:
	ldr	w27, [x19]
Lloh49:
	adrp	x0, l_.str.4@PAGE
Lloh50:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x27
	bl	_ereport
	b	LBB0_10
LBB0_9:
	ldr	x8, [x27]
	stur	x8, [x29, #-120]
LBB0_10:
	ldr	w8, [x25]
Lloh51:
	adrp	x27, _ForeignDataWrapperRelationId@GOTPAGE
Lloh52:
	ldr	x27, [x27, _ForeignDataWrapperRelationId@GOTPAGEOFF]
	cbz	w8, LBB0_14
; %bb.11:
Lloh53:
	adrp	x8, _FOREIGNDATAWRAPPEROID@GOTPAGE
Lloh54:
	ldr	x8, [x8, _FOREIGNDATAWRAPPEROID@GOTPAGEOFF]
Lloh55:
	ldr	w0, [x8]
Lloh56:
	adrp	x19, _Anum_pg_foreign_data_wrapper_fdwoptions@GOTPAGE
Lloh57:
	ldr	x19, [x19, _Anum_pg_foreign_data_wrapper_fdwoptions@GOTPAGEOFF]
	ldr	w2, [x19]
	sub	x3, x29, #92
	mov	x1, x26
	bl	_SysCacheGetAttr
	ldur	w8, [x29, #-92]
	cbz	w8, LBB0_13
; %bb.12:
	mov	x0, #0
	bl	_PointerGetDatum
LBB0_13:
	mov	x1, x0
	ldr	w0, [x27]
	ldr	w2, [x25]
	ldur	x3, [x29, #-120]
	bl	_transformGenericOptions
	mov	x25, x0
	bl	_DatumGetPointer
	bl	_PointerIsValid
	ldrsw	x8, [x19]
	lsl	x8, x8, #2
	cmp	x0, #0
	csel	x9, x22, x21, eq
	csinc	w10, w25, wzr, ne
	sub	x8, x8, #4
	str	w10, [x9, x8]
	mov	w9, #1
	str	w9, [x23, x8]
LBB0_14:
	mov	x0, x20
	bl	_RelationGetDescr
	mov	x1, x0
	mov	x0, x26
	mov	x2, x21
	mov	x3, x22
	mov	x4, x23
	bl	_heap_modify_tuple
	mov	x21, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x21
	bl	_CatalogTupleUpdate
	mov	x0, x21
	bl	_heap_freetuple
	ldr	w1, [x27]
	ldur	x22, [x29, #-152]               ; 8-byte Folded Reload
	ldr	q0, [x22]
	stur	q0, [x29, #-144]
	ldr	x8, [x22, #16]
	stur	x8, [x29, #-128]
	sub	x0, x29, #144
	mov	x2, x24
	bl	_ObjectAddressSet
	ldp	w9, w8, [x29, #-100]
	orr	w8, w8, w9
	cbz	w8, LBB0_19
; %bb.15:
	ldr	w0, [x27]
Lloh58:
	adrp	x21, _ProcedureRelationId@GOTPAGE
Lloh59:
	ldr	x21, [x21, _ProcedureRelationId@GOTPAGEOFF]
	ldr	x2, [x21]
Lloh60:
	adrp	x19, _DEPENDENCY_NORMAL@GOTPAGE
Lloh61:
	ldr	x19, [x19, _DEPENDENCY_NORMAL@GOTPAGEOFF]
	ldr	w3, [x19]
	mov	x1, x24
	bl	_deleteDependencyRecordsForClass
	ldur	x0, [x29, #-112]
	bl	_OidIsValid
	cbz	x0, LBB0_17
; %bb.16:
	ldr	x9, [x21]
	ldur	x8, [x29, #-112]
	stp	x8, x9, [x29, #-136]
	stur	xzr, [x29, #-144]
	ldr	w2, [x19]
	sub	x1, x29, #144
	mov	x0, x22
	bl	_recordDependencyOn
LBB0_17:
	ldur	x0, [x29, #-120]
	bl	_OidIsValid
	cbz	x0, LBB0_19
; %bb.18:
	ldr	x9, [x21]
	ldur	x8, [x29, #-120]
	stp	x8, x9, [x29, #-136]
	stur	xzr, [x29, #-144]
	ldr	w2, [x19]
	sub	x1, x29, #144
	mov	x0, x22
	bl	_recordDependencyOn
LBB0_19:
	ldr	w0, [x27]
	mov	x1, x24
	mov	w2, #0
	bl	_InvokeObjectPostAlterHook
Lloh62:
	adrp	x8, _RowExclusiveLock@GOTPAGE
Lloh63:
	ldr	x8, [x8, _RowExclusiveLock@GOTPAGEOFF]
Lloh64:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_table_close
	ldur	x8, [x29, #-88]
Lloh65:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh66:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh67:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.cfi_endproc
                                        ; -- End function
	.comm	_Natts_pg_foreign_data_wrapper,4,2 ; @Natts_pg_foreign_data_wrapper
	.comm	_ForeignDataWrapperRelationId,4,2 ; @ForeignDataWrapperRelationId
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INSUFFICIENT_PRIVILEGE,4,2 ; @ERRCODE_INSUFFICIENT_PRIVILEGE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"permission denied to alter foreign-data wrapper \"%s\""

l_.str.1:                               ; @.str.1
	.asciz	"Must be superuser to alter a foreign-data wrapper."

	.comm	_FOREIGNDATAWRAPPERNAME,4,2     ; @FOREIGNDATAWRAPPERNAME
	.comm	_ERRCODE_UNDEFINED_OBJECT,4,2   ; @ERRCODE_UNDEFINED_OBJECT
l_.str.2:                               ; @.str.2
	.asciz	"foreign-data wrapper \"%s\" does not exist"

	.comm	_Anum_pg_foreign_data_wrapper_fdwhandler,4,2 ; @Anum_pg_foreign_data_wrapper_fdwhandler
	.comm	_WARNING,4,2                    ; @WARNING
l_.str.3:                               ; @.str.3
	.asciz	"changing the foreign-data wrapper handler can change behavior of existing foreign tables"

	.comm	_Anum_pg_foreign_data_wrapper_fdwvalidator,4,2 ; @Anum_pg_foreign_data_wrapper_fdwvalidator
l_.str.4:                               ; @.str.4
	.asciz	"changing the foreign-data wrapper validator can cause the options for dependent objects to become invalid"

	.comm	_FOREIGNDATAWRAPPEROID,4,2      ; @FOREIGNDATAWRAPPEROID
	.comm	_Anum_pg_foreign_data_wrapper_fdwoptions,4,2 ; @Anum_pg_foreign_data_wrapper_fdwoptions
	.comm	_ProcedureRelationId,8,3        ; @ProcedureRelationId
	.comm	_DEPENDENCY_NORMAL,4,2          ; @DEPENDENCY_NORMAL
.subsections_via_symbols
