	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AlterTypeNamespaceInternal     ## -- Begin function AlterTypeNamespaceInternal
	.p2align	4, 0x90
_AlterTypeNamespaceInternal:            ## @AlterTypeNamespaceInternal
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_TypeRelationId@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movl	%eax, -112(%rbp)
	movq	%rdi, -120(%rbp)
	movq	$0, -128(%rbp)
	leaq	-128(%rbp), %rdi
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%r8, %rsi
	callq	_object_address_present
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	jmp	LBB0_28
LBB0_2:
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	(%r14), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_TYPEOID@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_ObjectIdGetDatum
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_SearchSysCacheCopy1
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_elog
LBB0_4:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_GETSTRUCT
	movq	%rax, %r12
	movq	16(%rax), %rdi
	movq	32(%rax), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	cmpq	%r15, %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_7
## %bb.5:
	movq	%r15, %rsi
	callq	_CheckSetNamespace
	movq	_TYPENAMENSP@GOTPCREL(%rip), %rax
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movl	(%rax), %r15d
	movq	%r12, %r14
	addq	$24, %r14
	movq	%r14, %rdi
	callq	_NameGetDatum
	movl	%eax, %r13d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_ObjectIdGetDatum
	movl	%r15d, %edi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_SearchSysCacheExists2
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_DUPLICATE_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	(%r14), %edi
	callq	_NameStr
	movslq	%eax, %r15
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_namespace_name
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_7:
	movq	(%r12), %rax
	movq	_TYPTYPE_COMPOSITE@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_8
## %bb.9:
	movq	8(%r12), %rdi
	callq	_get_rel_relkind
	movq	_RELKIND_COMPOSITE_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%bl
	movq	(%r12), %rax
	movq	(%r13), %rcx
	jmp	LBB0_10
LBB0_8:
	xorl	%ebx, %ebx
LBB0_10:
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, %edx
	je	LBB0_14
## %bb.11:
	cmpq	%rcx, %rax
	jne	LBB0_14
## %bb.12:
	testb	%bl, %bl
	jne	LBB0_14
## %bb.13:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movq	%r15, %r14
	movl	(%rax), %r15d
	movq	_ERRCODE_WRONG_OBJECT_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_format_type_be
	leaq	L_.str.2(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_errmsg
	leaq	L_.str.3(%rip), %rdi
	callq	_errhint
	movl	%r15d, %edi
	movq	%r14, %r15
	movl	%eax, %esi
	callq	_ereport
LBB0_14:
	cmpq	%r15, -72(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_16
## %bb.15:
	movq	%r15, 16(%r12)
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, %rsi
	callq	_CatalogTupleUpdate
LBB0_16:
	testb	%bl, %bl
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_17
## %bb.22:
	movq	_RelationRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movq	%r12, %r14
	movl	%eax, %r12d
	movq	8(%r14), %rsi
	movl	%eax, %edi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %r9
	callq	_AlterRelationNamespaceInternal
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	movq	%rbx, %r12
	callq	_table_close
	movq	8(%r14), %rdi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	movq	%r13, %r8
	callq	_AlterConstraintNamespaces
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_26
## %bb.23:
	cmpq	%r15, %r12
	jne	LBB0_24
	jmp	LBB0_26
LBB0_17:
	movq	%r12, %r14
	movq	(%r12), %rax
	movq	_TYPTYPE_DOMAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_19
## %bb.18:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movl	$1, %ecx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	callq	_AlterConstraintNamespaces
LBB0_19:
	cmpq	%r15, %r12
	je	LBB0_26
## %bb.20:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_26
## %bb.21:
	movq	(%r13), %rax
	cmpq	%rax, (%r14)
	je	LBB0_26
LBB0_24:
	movq	_TypeRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NamespaceRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	movq	%r12, %rcx
	movq	%r15, %r8
	callq	_changeDependencyFor
	cmpl	$1, %eax
	je	LBB0_26
## %bb.25:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_format_type_be
	leaq	L_.str.4(%rip), %rsi
	movl	%r14d, %edi
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%rax, %rdx
	callq	_elog
LBB0_26:
	movq	_TypeRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_InvokeObjectPostAlterHook
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_heap_freetuple
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_table_close
	leaq	-128(%rbp), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_add_exact_object_address
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	movl	$1, %ecx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	callq	_AlterTypeNamespaceInternal
LBB0_28:
	movq	%r12, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TypeRelationId,4,2             ## @TypeRelationId
	.comm	_InvalidOid,8,3                 ## @InvalidOid
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.comm	_TYPEOID,4,2                    ## @TYPEOID
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cache lookup failed for type %u"

	.comm	_TYPENAMENSP,4,2                ## @TYPENAMENSP
	.comm	_ERRCODE_DUPLICATE_OBJECT,4,2   ## @ERRCODE_DUPLICATE_OBJECT
L_.str.1:                               ## @.str.1
	.asciz	"type \"%s\" already exists in schema \"%s\""

	.comm	_TYPTYPE_COMPOSITE,8,3          ## @TYPTYPE_COMPOSITE
	.comm	_RELKIND_COMPOSITE_TYPE,8,3     ## @RELKIND_COMPOSITE_TYPE
	.comm	_ERRCODE_WRONG_OBJECT_TYPE,4,2  ## @ERRCODE_WRONG_OBJECT_TYPE
L_.str.2:                               ## @.str.2
	.asciz	"%s is a table's row type"

L_.str.3:                               ## @.str.3
	.asciz	"Use ALTER TABLE instead."

	.comm	_RelationRelationId,4,2         ## @RelationRelationId
	.comm	_TYPTYPE_DOMAIN,8,3             ## @TYPTYPE_DOMAIN
	.comm	_NamespaceRelationId,4,2        ## @NamespaceRelationId
L_.str.4:                               ## @.str.4
	.asciz	"failed to change schema dependency for type %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AlterTypeNamespaceInternal     ; -- Begin function AlterTypeNamespaceInternal
	.p2align	2
_AlterTypeNamespaceInternal:            ; @AlterTypeNamespaceInternal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x19, x4
	mov	x28, x3
	mov	x23, x2
	mov	x20, x1
	mov	x21, x0
	str	x0, [sp, #48]
Lloh0:
	adrp	x22, _TypeRelationId@GOTPAGE
Lloh1:
	ldr	x22, [x22, _TypeRelationId@GOTPAGEOFF]
	ldr	w8, [x22]
	str	w8, [sp, #56]
	str	xzr, [sp, #40]
	add	x0, sp, #40
	mov	x1, x4
	bl	_object_address_present
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh3:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh4:
	ldr	x23, [x8]
	b	LBB0_27
LBB0_2:
	str	w23, [sp, #20]                  ; 4-byte Folded Spill
	ldr	w0, [x22]
Lloh5:
	adrp	x8, _RowExclusiveLock@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RowExclusiveLock@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_table_open
	str	w0, [sp, #36]                   ; 4-byte Folded Spill
Lloh8:
	adrp	x8, _TYPEOID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TYPEOID@GOTPAGEOFF]
Lloh10:
	ldr	w22, [x8]
	mov	x0, x21
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x22
	bl	_SearchSysCacheCopy1
	mov	x24, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_elog
LBB0_4:
	mov	x0, x24
	bl	_GETSTRUCT
	mov	x27, x0
	ldr	x23, [x0, #16]
	ldr	x8, [x0, #32]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	cmp	x23, x20
	b.eq	LBB0_7
; %bb.5:
	mov	x0, x23
	mov	x1, x20
	bl	_CheckSetNamespace
Lloh16:
	adrp	x8, _TYPENAMENSP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TYPENAMENSP@GOTPAGEOFF]
Lloh18:
	ldr	w25, [x8]
	add	x22, x27, #24
	mov	x0, x22
	bl	_NameGetDatum
	mov	x26, x0
	mov	x0, x20
	bl	_ObjectIdGetDatum
	mov	x2, x0
	mov	x0, x25
	mov	x1, x26
	bl	_SearchSysCacheExists2
	cbz	x0, LBB0_7
; %bb.6:
Lloh19:
	adrp	x8, _ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh21:
	ldr	w25, [x8]
Lloh22:
	adrp	x8, _ERRCODE_DUPLICATE_OBJECT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ERRCODE_DUPLICATE_OBJECT@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w0, [x22]
	bl	_NameStr
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x22, w0
	mov	x0, x20
	bl	_get_namespace_name
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh25:
	adrp	x0, l_.str.1@PAGE
Lloh26:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	bl	_errmsg
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
LBB0_7:
	ldr	x8, [x27]
Lloh27:
	adrp	x25, _TYPTYPE_COMPOSITE@GOTPAGE
Lloh28:
	ldr	x25, [x25, _TYPTYPE_COMPOSITE@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
	ldr	x0, [x27, #8]
	bl	_get_rel_relkind
Lloh29:
	adrp	x8, _RELKIND_COMPOSITE_TYPE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _RELKIND_COMPOSITE_TYPE@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w26, eq
	ldr	x8, [x27]
	ldr	x9, [x25]
	cbnz	w28, LBB0_10
	b	LBB0_13
LBB0_9:
	mov	w26, #0
	cbz	w28, LBB0_13
LBB0_10:
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.11:
	tbnz	w26, #0, LBB0_13
; %bb.12:
Lloh32:
	adrp	x8, _ERROR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh34:
	ldr	w22, [x8]
Lloh35:
	adrp	x8, _ERRCODE_WRONG_OBJECT_TYPE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ERRCODE_WRONG_OBJECT_TYPE@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	bl	_errcode
	mov	x0, x21
	bl	_format_type_be
	mov	x1, x0
Lloh38:
	adrp	x0, l_.str.2@PAGE
Lloh39:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errmsg
Lloh40:
	adrp	x0, l_.str.3@PAGE
Lloh41:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_errhint
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_13:
	cmp	x23, x20
	b.eq	LBB0_15
; %bb.14:
	str	x20, [x27, #16]
	ldr	w0, [sp, #36]                   ; 4-byte Folded Reload
	mov	x1, x24
	mov	x2, x24
	bl	_CatalogTupleUpdate
LBB0_15:
Lloh42:
	adrp	x28, _RowExclusiveLock@GOTPAGE
Lloh43:
	ldr	x28, [x28, _RowExclusiveLock@GOTPAGEOFF]
	tbz	w26, #0, LBB0_18
; %bb.16:
Lloh44:
	adrp	x8, _RelationRelationId@GOTPAGE
Lloh45:
	ldr	x8, [x8, _RelationRelationId@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	ldr	w1, [x28]
	bl	_table_open
	mov	x22, x0
	ldr	x1, [x27, #8]
	mov	x2, x23
	mov	x3, x20
	mov	w4, #0
	mov	x5, x19
	bl	_AlterRelationNamespaceInternal
	ldr	w1, [x28]
	mov	x0, x22
	bl	_table_close
	ldr	x0, [x27, #8]
	mov	x1, x23
	mov	x2, x20
	mov	w3, #0
	mov	x4, x19
	bl	_AlterConstraintNamespaces
Lloh47:
	adrp	x22, _TypeRelationId@GOTPAGE
Lloh48:
	ldr	x22, [x22, _TypeRelationId@GOTPAGEOFF]
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_25
; %bb.17:
	cmp	x23, x20
	b.ne	LBB0_23
	b	LBB0_25
LBB0_18:
	ldr	x8, [x27]
Lloh49:
	adrp	x9, _TYPTYPE_DOMAIN@GOTPAGE
Lloh50:
	ldr	x9, [x9, _TYPTYPE_DOMAIN@GOTPAGEOFF]
Lloh51:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.19:
	mov	x0, x21
	mov	x1, x23
	mov	x2, x20
	mov	w3, #1
	mov	x4, x19
	bl	_AlterConstraintNamespaces
LBB0_20:
	cmp	x23, x20
Lloh52:
	adrp	x22, _TypeRelationId@GOTPAGE
Lloh53:
	ldr	x22, [x22, _TypeRelationId@GOTPAGEOFF]
	b.eq	LBB0_25
; %bb.21:
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_25
; %bb.22:
	ldr	x8, [x27]
	ldr	x9, [x25]
	cmp	x8, x9
	b.eq	LBB0_25
LBB0_23:
	ldr	w0, [x22]
Lloh54:
	adrp	x8, _NamespaceRelationId@GOTPAGE
Lloh55:
	ldr	x8, [x8, _NamespaceRelationId@GOTPAGEOFF]
Lloh56:
	ldr	w2, [x8]
	mov	x1, x21
	mov	x3, x23
	mov	x4, x20
	bl	_changeDependencyFor
	cmp	w0, #1
	b.eq	LBB0_25
; %bb.24:
Lloh57:
	adrp	x8, _ERROR@GOTPAGE
Lloh58:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh59:
	ldr	w22, [x8]
	mov	x0, x21
	bl	_format_type_be
	mov	x2, x0
Lloh60:
	adrp	x1, l_.str.4@PAGE
Lloh61:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x22
Lloh62:
	adrp	x22, _TypeRelationId@GOTPAGE
Lloh63:
	ldr	x22, [x22, _TypeRelationId@GOTPAGEOFF]
	bl	_elog
LBB0_25:
	ldr	w0, [x22]
	mov	x1, x21
	mov	w2, #0
	bl	_InvokeObjectPostAlterHook
	mov	x0, x24
	bl	_heap_freetuple
	ldr	w1, [x28]
	ldr	w0, [sp, #36]                   ; 4-byte Folded Reload
	bl	_table_close
	add	x0, sp, #40
	mov	x1, x19
	bl	_add_exact_object_address
	ldr	x21, [sp, #24]                  ; 8-byte Folded Reload
	mov	x0, x21
	bl	_OidIsValid
	cbz	x0, LBB0_27
; %bb.26:
	mov	x0, x21
	mov	x1, x20
	mov	w2, #1
	mov	w3, #1
	mov	x4, x19
	bl	_AlterTypeNamespaceInternal
LBB0_27:
	mov	x0, x23
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.cfi_endproc
                                        ; -- End function
	.comm	_TypeRelationId,4,2             ; @TypeRelationId
	.comm	_InvalidOid,8,3                 ; @InvalidOid
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.comm	_TYPEOID,4,2                    ; @TYPEOID
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cache lookup failed for type %u"

	.comm	_TYPENAMENSP,4,2                ; @TYPENAMENSP
	.comm	_ERRCODE_DUPLICATE_OBJECT,4,2   ; @ERRCODE_DUPLICATE_OBJECT
l_.str.1:                               ; @.str.1
	.asciz	"type \"%s\" already exists in schema \"%s\""

	.comm	_TYPTYPE_COMPOSITE,8,3          ; @TYPTYPE_COMPOSITE
	.comm	_RELKIND_COMPOSITE_TYPE,8,3     ; @RELKIND_COMPOSITE_TYPE
	.comm	_ERRCODE_WRONG_OBJECT_TYPE,4,2  ; @ERRCODE_WRONG_OBJECT_TYPE
l_.str.2:                               ; @.str.2
	.asciz	"%s is a table's row type"

l_.str.3:                               ; @.str.3
	.asciz	"Use ALTER TABLE instead."

	.comm	_RelationRelationId,4,2         ; @RelationRelationId
	.comm	_TYPTYPE_DOMAIN,8,3             ; @TYPTYPE_DOMAIN
	.comm	_NamespaceRelationId,4,2        ; @NamespaceRelationId
l_.str.4:                               ; @.str.4
	.asciz	"failed to change schema dependency for type %s"

.subsections_via_symbols
