	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AlterExtensionNamespace        ## -- Begin function AlterExtensionNamespace
	.p2align	4, 0x90
_AlterExtensionNamespace:               ## @AlterExtensionNamespace
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	xorl	%esi, %esi
	callq	_get_extension_oid
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_LookupCreationNamespace
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_GetUserId
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_pg_extension_ownercheck
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_ACLCHECK_NOT_OWNER@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_OBJECT_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdx
	callq	_aclcheck_error
LBB0_2:
	xorl	%eax, %eax
	callq	_GetUserId
	movq	_ACL_CREATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_pg_namespace_aclcheck
	movq	_ACLCHECK_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	_OBJECT_SCHEMA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	movq	%r14, %rdx
	callq	_aclcheck_error
LBB0_4:
	movq	_NamespaceRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_getExtensionOfObject
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	cmpq	%r12, %rax
	jne	LBB0_6
## %bb.5:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_6:
	movq	_ExtensionRelationId@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movl	%eax, %r13d
	movq	_Anum_pg_extension_oid@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_F_OIDEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_ObjectIdGetDatum
	leaq	-56(%rbp), %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_ScanKeyInit
	movq	_ExtensionOidIndexId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, -60(%rbp)                ## 4-byte Spill
	movl	%r13d, %edi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	leaq	-56(%rbp), %r9
	callq	_systable_beginscan
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_systable_getnext
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_HeapTupleIsValid
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_elog
LBB0_8:
	movq	%rbx, %rdi
	callq	_heap_copytuple
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_GETSTRUCT
	movq	%rax, %r12
	movl	%r14d, %edi
	callq	_systable_endscan
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, (%r12)
	jne	LBB0_10
## %bb.9:
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_table_close
	movq	_InvalidObjectAddress@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	8(%rcx), %rdx
	jmp	LBB0_26
LBB0_10:
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	cmpl	$0, 12(%r12)
	jne	LBB0_12
## %bb.11:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_FEATURE_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	8(%r12), %edi
	callq	_NameStr
	movslq	%eax, %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_12:
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_new_object_addresses
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	_DependRelationId@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movl	%eax, %r12d
	movq	_Anum_pg_depend_refclassid@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_F_OIDEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ExtensionRelationId@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ObjectIdGetDatum
	leaq	-56(%rbp), %rdi
	movl	%ebx, %esi
	movl	%r13d, %edx
	movl	%r14d, %ecx
	movl	%eax, %r8d
	callq	_ScanKeyInit
	movq	_Anum_pg_depend_refobjid@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_F_OIDEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_ObjectIdGetDatum
	leaq	-52(%rbp), %rdi
	movl	%ebx, %esi
	movl	%r13d, %edx
	movl	%r14d, %ecx
	movl	%eax, %r8d
	callq	_ScanKeyInit
	movq	_DependReferenceIndexId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, -84(%rbp)                ## 4-byte Spill
	movl	%r12d, %edi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	$2, %r8d
	leaq	-56(%rbp), %r9
	callq	_systable_beginscan
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_systable_getnext
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_HeapTupleIsValid
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	movq	_DEPENDENCY_EXTENSION@GOTPCREL(%rip), %r12
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	%r15, %r14
LBB0_22:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	%r13d, %edi
	callq	_systable_getnext
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_HeapTupleIsValid
	movq	%r14, %r15
	testq	%rax, %rax
	je	LBB0_23
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_GETSTRUCT
	movq	(%rax), %rcx
	cmpq	(%r12), %rcx
	jne	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	20(%rax), %edi
	movl	%edi, -100(%rbp)
	movl	16(%rax), %esi
	movl	%esi, -104(%rbp)
	movq	8(%rax), %rax
	movq	%rax, -112(%rbp)
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_elog
	movl	-104(%rbp), %esi
	movl	-100(%rbp), %edi
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	callq	_AlterObjectNamespace_oid
	movq	_InvalidOid@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	movq	%rax, %r14
	cmoveq	%r15, %r14
	cmpq	%rcx, %r15
	cmovneq	%r15, %r14
	cmpq	%rcx, %rax
	je	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpq	%r14, %rax
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_FEATURE_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	callq	_NameStr
	movslq	%eax, %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	leaq	-112(%rbp), %rdi
	callq	_getObjectDescription
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_get_namespace_name
	leaq	L_.str.4(%rip), %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_errdetail
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_22
LBB0_13:
	movq	%r15, %r14
LBB0_23:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:
	movq	%r14, (%rax)
LBB0_25:
	movl	%r13d, %edi
	callq	_systable_endscan
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	callq	_relation_close
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, (%rax)
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	movq	%rdx, %rsi
	callq	_CatalogTupleUpdate
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_table_close
	movq	_ExtensionRelationId@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movq	_NamespaceRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r14, %rcx
	movq	%r15, %r8
	callq	_changeDependencyFor
	movq	(%r12), %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_InvokeObjectPostAlterHook
	movq	(%r12), %rdx
	movq	%rbx, %rcx
	callq	_ObjectAddressSet
                                        ## implicit-def: $rax
                                        ## implicit-def: $rdx
LBB0_26:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_28
## %bb.27:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidOid,8,3                 ## @InvalidOid
	.comm	_ACLCHECK_NOT_OWNER,8,3         ## @ACLCHECK_NOT_OWNER
	.comm	_OBJECT_EXTENSION,4,2           ## @OBJECT_EXTENSION
	.comm	_ACL_CREATE,4,2                 ## @ACL_CREATE
	.comm	_ACLCHECK_OK,8,3                ## @ACLCHECK_OK
	.comm	_OBJECT_SCHEMA,4,2              ## @OBJECT_SCHEMA
	.comm	_NamespaceRelationId,4,2        ## @NamespaceRelationId
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE,4,2 ## @ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot move extension \"%s\" into schema \"%s\" because the extension contains the schema"

	.comm	_ExtensionRelationId,8,3        ## @ExtensionRelationId
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.comm	_Anum_pg_extension_oid,4,2      ## @Anum_pg_extension_oid
	.comm	_BTEqualStrategyNumber,4,2      ## @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ## @F_OIDEQ
	.comm	_ExtensionOidIndexId,4,2        ## @ExtensionOidIndexId
L_.str.1:                               ## @.str.1
	.asciz	"could not find tuple for extension %u"

	.comm	_InvalidObjectAddress,16,3      ## @InvalidObjectAddress
	.comm	_ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ## @ERRCODE_FEATURE_NOT_SUPPORTED
L_.str.2:                               ## @.str.2
	.asciz	"extension \"%s\" does not support SET SCHEMA"

	.comm	_DependRelationId,8,3           ## @DependRelationId
	.comm	_AccessShareLock,4,2            ## @AccessShareLock
	.comm	_Anum_pg_depend_refclassid,4,2  ## @Anum_pg_depend_refclassid
	.comm	_Anum_pg_depend_refobjid,4,2    ## @Anum_pg_depend_refobjid
	.comm	_DependReferenceIndexId,4,2     ## @DependReferenceIndexId
	.comm	_DEPENDENCY_EXTENSION,8,3       ## @DEPENDENCY_EXTENSION
L_.str.3:                               ## @.str.3
	.asciz	"extension should not have a sub-object dependency"

L_.str.4:                               ## @.str.4
	.asciz	"%s is not in the extension's schema \"%s\""

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AlterExtensionNamespace        ; -- Begin function AlterExtensionNamespace
	.p2align	2
_AlterExtensionNamespace:               ; @AlterExtensionNamespace
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x26, x2
	mov	x23, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
Lloh3:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh4:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh5:
	ldr	x20, [x8]
	mov	w1, #0
	bl	_get_extension_oid
	mov	x19, x0
	mov	x0, x23
	bl	_LookupCreationNamespace
	mov	x21, x0
	bl	_GetUserId
	mov	x1, x0
	mov	x0, x19
	bl	_pg_extension_ownercheck
	cbnz	w0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _ACLCHECK_NOT_OWNER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ACLCHECK_NOT_OWNER@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
Lloh9:
	adrp	x8, _OBJECT_EXTENSION@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OBJECT_EXTENSION@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, x22
	bl	_aclcheck_error
LBB0_2:
	bl	_GetUserId
	mov	x1, x0
Lloh12:
	adrp	x8, _ACL_CREATE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ACL_CREATE@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_pg_namespace_aclcheck
Lloh15:
	adrp	x8, _ACLCHECK_OK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ACLCHECK_OK@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.3:
Lloh18:
	adrp	x8, _OBJECT_SCHEMA@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OBJECT_SCHEMA@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x2, x23
	bl	_aclcheck_error
LBB0_4:
Lloh21:
	adrp	x8, _NamespaceRelationId@GOTPAGE
Lloh22:
	ldr	x8, [x8, _NamespaceRelationId@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_getExtensionOfObject
	cmp	x0, x19
	b.ne	LBB0_6
; %bb.5:
Lloh24:
	adrp	x8, _ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh26:
	ldr	w24, [x8]
Lloh27:
	adrp	x8, _ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_errcode
	str	x23, [sp]
Lloh30:
	adrp	x0, l_.str@PAGE
Lloh31:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_errmsg
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
LBB0_6:
Lloh32:
	adrp	x8, _ExtensionRelationId@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ExtensionRelationId@GOTPAGEOFF]
Lloh34:
	ldr	x0, [x8]
Lloh35:
	adrp	x27, _RowExclusiveLock@GOTPAGE
Lloh36:
	ldr	x27, [x27, _RowExclusiveLock@GOTPAGEOFF]
	ldr	w1, [x27]
	bl	_table_open
	mov	x25, x0
Lloh37:
	adrp	x8, _Anum_pg_extension_oid@GOTPAGE
Lloh38:
	ldr	x8, [x8, _Anum_pg_extension_oid@GOTPAGEOFF]
Lloh39:
	ldr	w22, [x8]
Lloh40:
	adrp	x8, _BTEqualStrategyNumber@GOTPAGE
Lloh41:
	ldr	x8, [x8, _BTEqualStrategyNumber@GOTPAGEOFF]
Lloh42:
	ldr	w23, [x8]
Lloh43:
	adrp	x28, _F_OIDEQ@GOTPAGE
Lloh44:
	ldr	x28, [x28, _F_OIDEQ@GOTPAGEOFF]
	ldr	w24, [x28]
	mov	x0, x19
	bl	_ObjectIdGetDatum
	mov	x4, x0
	add	x0, sp, #64
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	bl	_ScanKeyInit
Lloh45:
	adrp	x8, _ExtensionOidIndexId@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ExtensionOidIndexId@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	add	x5, sp, #64
	str	w25, [sp, #44]                  ; 4-byte Folded Spill
	mov	x0, x25
	mov	w2, #1
	mov	x3, #0
	mov	w4, #1
	bl	_systable_beginscan
	mov	x22, x0
	bl	_systable_getnext
	mov	x23, x0
	bl	_HeapTupleIsValid
	cbnz	x0, LBB0_8
; %bb.7:
Lloh48:
	adrp	x8, _ERROR@GOTPAGE
Lloh49:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	str	x19, [sp]
Lloh51:
	adrp	x1, l_.str.1@PAGE
Lloh52:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
LBB0_8:
	mov	x0, x23
	bl	_heap_copytuple
	mov	x23, x0
	bl	_GETSTRUCT
	mov	x25, x0
	mov	x0, x22
	bl	_systable_endscan
	ldr	x8, [x25]
	cmp	x8, x21
	b.ne	LBB0_10
; %bb.9:
	ldr	w1, [x27]
	ldr	w0, [sp, #44]                   ; 4-byte Folded Reload
	bl	_table_close
Lloh53:
	adrp	x8, _InvalidObjectAddress@GOTPAGE
Lloh54:
	ldr	x8, [x8, _InvalidObjectAddress@GOTPAGEOFF]
	ldp	x0, x1, [x8]
	b	LBB0_24
LBB0_10:
	mov	x24, x28
	stp	x26, x19, [sp, #24]             ; 16-byte Folded Spill
	str	x23, [sp, #16]                  ; 8-byte Folded Spill
	ldr	w8, [x25, #12]
	cbnz	w8, LBB0_12
; %bb.11:
Lloh55:
	adrp	x8, _ERROR@GOTPAGE
Lloh56:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh57:
	ldr	w22, [x8]
Lloh58:
	adrp	x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGE
Lloh59:
	ldr	x8, [x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGEOFF]
Lloh60:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w0, [x25, #8]
	bl	_NameStr
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x1, w0
Lloh61:
	adrp	x0, l_.str.2@PAGE
Lloh62:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_12:
	bl	_new_object_addresses
	mov	x27, x0
Lloh63:
	adrp	x8, _DependRelationId@GOTPAGE
Lloh64:
	ldr	x8, [x8, _DependRelationId@GOTPAGEOFF]
Lloh65:
	ldr	x0, [x8]
Lloh66:
	adrp	x8, _AccessShareLock@GOTPAGE
Lloh67:
	ldr	x8, [x8, _AccessShareLock@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
	bl	_table_open
	mov	x19, x0
Lloh69:
	adrp	x8, _Anum_pg_depend_refclassid@GOTPAGE
Lloh70:
	ldr	x8, [x8, _Anum_pg_depend_refclassid@GOTPAGEOFF]
Lloh71:
	ldr	w22, [x8]
Lloh72:
	adrp	x28, _BTEqualStrategyNumber@GOTPAGE
Lloh73:
	ldr	x28, [x28, _BTEqualStrategyNumber@GOTPAGEOFF]
	ldr	w23, [x28]
	ldr	w26, [x24]
Lloh74:
	adrp	x8, _ExtensionRelationId@GOTPAGE
Lloh75:
	ldr	x8, [x8, _ExtensionRelationId@GOTPAGEOFF]
Lloh76:
	ldr	x0, [x8]
	bl	_ObjectIdGetDatum
	mov	x4, x0
	add	x0, sp, #64
	mov	x1, x22
	mov	x2, x23
	mov	x3, x26
	bl	_ScanKeyInit
	add	x8, sp, #64
	add	x22, x8, #4
Lloh77:
	adrp	x8, _Anum_pg_depend_refobjid@GOTPAGE
Lloh78:
	ldr	x8, [x8, _Anum_pg_depend_refobjid@GOTPAGEOFF]
Lloh79:
	ldr	w23, [x8]
	ldr	w26, [x28]
	ldr	w28, [x24]
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	bl	_ObjectIdGetDatum
	mov	x4, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x26
	mov	x3, x28
	bl	_ScanKeyInit
Lloh80:
	adrp	x8, _DependReferenceIndexId@GOTPAGE
Lloh81:
	ldr	x8, [x8, _DependReferenceIndexId@GOTPAGEOFF]
Lloh82:
	ldr	w1, [x8]
	add	x5, sp, #64
	str	w19, [sp, #12]                  ; 4-byte Folded Spill
	mov	x0, x19
	mov	w2, #1
	mov	x3, #0
	mov	w4, #2
	bl	_systable_beginscan
	mov	x28, x0
	bl	_systable_getnext
	mov	x23, x0
	bl	_HeapTupleIsValid
	cbz	x0, LBB0_20
; %bb.13:
Lloh83:
	adrp	x24, _DEPENDENCY_EXTENSION@GOTPAGE
Lloh84:
	ldr	x24, [x24, _DEPENDENCY_EXTENSION@GOTPAGEOFF]
Lloh85:
	adrp	x22, l_.str.3@PAGE
Lloh86:
	add	x22, x22, l_.str.3@PAGEOFF
	ldr	x19, [sp, #32]                  ; 8-byte Folded Reload
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x28
	bl	_systable_getnext
	mov	x23, x0
	bl	_HeapTupleIsValid
	cbz	x0, LBB0_21
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_GETSTRUCT
	ldr	x9, [x0]
	ldr	x10, [x24]
	cmp	x9, x10
	b.ne	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x8, x0
	ldr	w0, [x0, #20]
	ldr	w1, [x8, #16]
	stp	w1, w0, [sp, #56]
	ldr	x8, [x8, #8]
	str	x8, [sp, #48]
	cbz	x8, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh87:
	adrp	x8, _ERROR@GOTPAGE
Lloh88:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh89:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_elog
	ldp	w1, w0, [sp, #56]
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x2, x21
	mov	x3, x27
	bl	_AlterObjectNamespace_oid
Lloh90:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh91:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh92:
	ldr	x8, [x8]
	cmp	x0, x8
	ccmp	x20, x8, #0, ne
	csel	x20, x20, x0, ne
	cmp	x0, x8
	ccmp	x0, x20, #4, ne
	b.eq	LBB0_14
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh93:
	adrp	x8, _ERROR@GOTPAGE
Lloh94:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh95:
	ldr	w23, [x8]
Lloh96:
	adrp	x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGE
Lloh97:
	ldr	x8, [x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGEOFF]
Lloh98:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w0, [x25, #8]
	bl	_NameStr
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x1, w0
Lloh99:
	adrp	x0, l_.str.2@PAGE
Lloh100:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errmsg
	add	x0, sp, #48
	bl	_getObjectDescription
	mov	x26, x0
	mov	x0, x20
	bl	_get_namespace_name
	mov	x2, x0
Lloh101:
	adrp	x0, l_.str.4@PAGE
Lloh102:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x26
	bl	_errdetail
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
	b	LBB0_14
LBB0_20:
	ldr	x19, [sp, #32]                  ; 8-byte Folded Reload
LBB0_21:
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_23
; %bb.22:
	str	x20, [x8]
LBB0_23:
	mov	x0, x28
	bl	_systable_endscan
Lloh103:
	adrp	x8, _AccessShareLock@GOTPAGE
Lloh104:
	ldr	x8, [x8, _AccessShareLock@GOTPAGEOFF]
Lloh105:
	ldr	w1, [x8]
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	bl	_relation_close
	str	x21, [x25]
	ldr	w22, [sp, #44]                  ; 4-byte Folded Reload
	mov	x0, x22
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	mov	x2, x1
	bl	_CatalogTupleUpdate
Lloh106:
	adrp	x8, _RowExclusiveLock@GOTPAGE
Lloh107:
	ldr	x8, [x8, _RowExclusiveLock@GOTPAGEOFF]
Lloh108:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_table_close
Lloh109:
	adrp	x22, _ExtensionRelationId@GOTPAGE
Lloh110:
	ldr	x22, [x22, _ExtensionRelationId@GOTPAGEOFF]
	ldr	x0, [x22]
Lloh111:
	adrp	x8, _NamespaceRelationId@GOTPAGE
Lloh112:
	ldr	x8, [x8, _NamespaceRelationId@GOTPAGEOFF]
Lloh113:
	ldr	w2, [x8]
	mov	x1, x19
	mov	x3, x20
	mov	x4, x21
	bl	_changeDependencyFor
	ldr	x0, [x22]
	mov	x1, x19
	mov	w2, #0
	bl	_InvokeObjectPostAlterHook
	ldr	x2, [x22]
	mov	x3, x19
	bl	_ObjectAddressSet
                                        ; implicit-def: $x0
                                        ; implicit-def: $x1
LBB0_24:
	ldr	x8, [sp, #72]
Lloh114:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh115:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh116:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.25:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpAdd	Lloh101, Lloh102
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGot	Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidOid,8,3                 ; @InvalidOid
	.comm	_ACLCHECK_NOT_OWNER,8,3         ; @ACLCHECK_NOT_OWNER
	.comm	_OBJECT_EXTENSION,4,2           ; @OBJECT_EXTENSION
	.comm	_ACL_CREATE,4,2                 ; @ACL_CREATE
	.comm	_ACLCHECK_OK,8,3                ; @ACLCHECK_OK
	.comm	_OBJECT_SCHEMA,4,2              ; @OBJECT_SCHEMA
	.comm	_NamespaceRelationId,4,2        ; @NamespaceRelationId
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE,4,2 ; @ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot move extension \"%s\" into schema \"%s\" because the extension contains the schema"

	.comm	_ExtensionRelationId,8,3        ; @ExtensionRelationId
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.comm	_Anum_pg_extension_oid,4,2      ; @Anum_pg_extension_oid
	.comm	_BTEqualStrategyNumber,4,2      ; @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ; @F_OIDEQ
	.comm	_ExtensionOidIndexId,4,2        ; @ExtensionOidIndexId
l_.str.1:                               ; @.str.1
	.asciz	"could not find tuple for extension %u"

	.comm	_InvalidObjectAddress,16,3      ; @InvalidObjectAddress
	.comm	_ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ; @ERRCODE_FEATURE_NOT_SUPPORTED
l_.str.2:                               ; @.str.2
	.asciz	"extension \"%s\" does not support SET SCHEMA"

	.comm	_DependRelationId,8,3           ; @DependRelationId
	.comm	_AccessShareLock,4,2            ; @AccessShareLock
	.comm	_Anum_pg_depend_refclassid,4,2  ; @Anum_pg_depend_refclassid
	.comm	_Anum_pg_depend_refobjid,4,2    ; @Anum_pg_depend_refobjid
	.comm	_DependReferenceIndexId,4,2     ; @DependReferenceIndexId
	.comm	_DEPENDENCY_EXTENSION,8,3       ; @DEPENDENCY_EXTENSION
l_.str.3:                               ; @.str.3
	.asciz	"extension should not have a sub-object dependency"

l_.str.4:                               ; @.str.4
	.asciz	"%s is not in the extension's schema \"%s\""

.subsections_via_symbols
