	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AlterTypeNamespace             ## -- Begin function AlterTypeNamespace
	.p2align	4, 0x90
_AlterTypeNamespace:                    ## @AlterTypeNamespace
	.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	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r15
	callq	_makeTypeNameFromNameList
	xorl	%edi, %edi
	movq	%rax, %rsi
	callq	_typenameTypeId
	movl	%eax, %r12d
	movq	_OBJECT_DOMAIN@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_3
## %bb.1:
	movl	%r12d, %edi
	callq	_get_typtype
	movq	_TYPTYPE_DOMAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_WRONG_OBJECT_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	%r12d, %edi
	callq	_format_type_be
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_3:
	movq	%r15, %rdi
	callq	_LookupCreationNamespace
	movl	%eax, %r15d
	xorl	%eax, %eax
	callq	_new_object_addresses
	movq	%rax, %rbx
	movl	%r12d, %edi
	movl	%r15d, %esi
	movq	%rax, %rdx
	callq	_AlterTypeNamespace_oid
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_free_object_addresses
	testq	%r14, %r14
	je	LBB0_5
## %bb.4:
	movl	%r15d, (%r14)
LBB0_5:
	movq	_TypeRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ObjectAddressSet               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OBJECT_DOMAIN,8,3              ## @OBJECT_DOMAIN
	.comm	_TYPTYPE_DOMAIN,8,3             ## @TYPTYPE_DOMAIN
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_WRONG_OBJECT_TYPE,4,2  ## @ERRCODE_WRONG_OBJECT_TYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s is not a domain"

	.comm	_TypeRelationId,4,2             ## @TypeRelationId
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AlterTypeNamespace             ; -- Begin function AlterTypeNamespace
	.p2align	2
_AlterTypeNamespace:                    ; @AlterTypeNamespace
	.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, x3
	mov	x22, x2
	mov	x21, x1
	bl	_makeTypeNameFromNameList
	mov	x1, x0
	mov	x0, #0
	bl	_typenameTypeId
	mov	x20, x0
Lloh0:
	adrp	x8, _OBJECT_DOMAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OBJECT_DOMAIN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_get_typtype
Lloh3:
	adrp	x8, _TYPTYPE_DOMAIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TYPTYPE_DOMAIN@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
Lloh9:
	adrp	x8, _ERRCODE_WRONG_OBJECT_TYPE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERRCODE_WRONG_OBJECT_TYPE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_errcode
	mov	x0, x20
	bl	_format_type_be
	mov	x1, x0
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_3:
	mov	x0, x21
	bl	_LookupCreationNamespace
	mov	x21, x0
	bl	_new_object_addresses
	mov	x22, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_AlterTypeNamespace_oid
	mov	x21, x0
	mov	x0, x22
	bl	_free_object_addresses
	cbz	x19, LBB0_5
; %bb.4:
	str	w21, [x19]
LBB0_5:
Lloh14:
	adrp	x8, _TypeRelationId@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TypeRelationId@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x2, x20
	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
	b	_ObjectAddressSet
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_OBJECT_DOMAIN,8,3              ; @OBJECT_DOMAIN
	.comm	_TYPTYPE_DOMAIN,8,3             ; @TYPTYPE_DOMAIN
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_WRONG_OBJECT_TYPE,4,2  ; @ERRCODE_WRONG_OBJECT_TYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s is not a domain"

	.comm	_TypeRelationId,4,2             ; @TypeRelationId
.subsections_via_symbols
