	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AlterTableNamespaceInternal    ## -- Begin function AlterTableNamespaceInternal
	.p2align	4, 0x90
_AlterTableNamespaceInternal:           ## @AlterTableNamespaceInternal
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rcx, %rcx
	setne	%dil
	callq	_Assert
	movq	_RelationRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_RelationGetRelid
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	movl	$1, %r8d
	movq	%r12, %r9
	callq	_AlterRelationNamespaceInternal
	movq	(%rbx), %rax
	movl	8(%rax), %edi
	movl	%r14d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r12, %r8
	callq	_AlterTypeNamespaceInternal
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	_RELKIND_RELATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.1:
	movq	_RELKIND_MATVIEW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_RELKIND_PARTITIONED_TABLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_3:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	movq	%r12, %r8
	callq	_AlterIndexNamespaces
	movq	_AccessExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	movq	%r12, %r8
	callq	_AlterSeqNamespaces
	movq	%rbx, %rdi
	callq	_RelationGetRelid
	movl	%eax, %edi
	movl	%r15d, %esi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	movq	%r12, %r8
	callq	_AlterConstraintNamespaces
LBB0_4:
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_table_close                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RelationRelationId,4,2         ## @RelationRelationId
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.comm	_RELKIND_RELATION,8,3           ## @RELKIND_RELATION
	.comm	_RELKIND_MATVIEW,8,3            ## @RELKIND_MATVIEW
	.comm	_RELKIND_PARTITIONED_TABLE,8,3  ## @RELKIND_PARTITIONED_TABLE
	.comm	_AccessExclusiveLock,4,2        ## @AccessExclusiveLock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AlterTableNamespaceInternal    ; -- Begin function AlterTableNamespaceInternal
	.p2align	2
_AlterTableNamespaceInternal:           ; @AlterTableNamespaceInternal
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	cmp	x3, #0
	cset	w0, ne
	bl	_Assert
Lloh0:
	adrp	x8, _RelationRelationId@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RelationRelationId@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x24, _RowExclusiveLock@GOTPAGE
Lloh4:
	ldr	x24, [x24, _RowExclusiveLock@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_table_open
	mov	x23, x0
	mov	x0, x22
	bl	_RelationGetRelid
	mov	x1, x0
	mov	x0, x23
	mov	x2, x21
	mov	x3, x20
	mov	w4, #1
	mov	x5, x19
	bl	_AlterRelationNamespaceInternal
	ldr	x8, [x22]
	ldr	w0, [x8, #8]
	mov	x1, x20
	mov	w2, #0
	mov	w3, #0
	mov	x4, x19
	bl	_AlterTypeNamespaceInternal
	ldr	x8, [x22]
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _RELKIND_RELATION@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RELKIND_RELATION@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x10, _RELKIND_MATVIEW@GOTPAGE
Lloh9:
	ldr	x10, [x10, _RELKIND_MATVIEW@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
Lloh11:
	adrp	x11, _RELKIND_PARTITIONED_TABLE@GOTPAGE
Lloh12:
	ldr	x11, [x11, _RELKIND_PARTITIONED_TABLE@GOTPAGEOFF]
Lloh13:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_AlterIndexNamespaces
Lloh14:
	adrp	x8, _AccessExclusiveLock@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AccessExclusiveLock@GOTPAGEOFF]
Lloh16:
	ldr	w5, [x8]
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_AlterSeqNamespaces
	mov	x0, x22
	bl	_RelationGetRelid
	mov	x1, x21
	mov	x2, x20
	mov	w3, #0
	mov	x4, x19
	bl	_AlterConstraintNamespaces
LBB0_2:
	ldr	w1, [x24]
	mov	x0, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_table_close
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_RelationRelationId,4,2         ; @RelationRelationId
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.comm	_RELKIND_RELATION,8,3           ; @RELKIND_RELATION
	.comm	_RELKIND_MATVIEW,8,3            ; @RELKIND_MATVIEW
	.comm	_RELKIND_PARTITIONED_TABLE,8,3  ; @RELKIND_PARTITIONED_TABLE
	.comm	_AccessExclusiveLock,4,2        ; @AccessExclusiveLock
.subsections_via_symbols
