	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AlterTableNamespace            ## -- Begin function AlterTableNamespace
	.p2align	4, 0x90
_AlterTableNamespace:                   ## @AlterTableNamespace
	.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	$24, %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, %rbx
	movq	8(%rdi), %rdi
	movq	_AccessExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	cmpq	$0, 16(%rbx)
	je	LBB0_2
## %bb.1:
	movq	_RVR_MISSING_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_2:
	movq	_RangeVarCallbackForAlterRelation@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %r8
	callq	_RangeVarGetRelidExtended
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_OidIsValid
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	_NoLock@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	%r15d, %edi
	callq	_relation_open
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_RelationGetNamespace
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	(%r13), %rax
	movq	(%rax), %rax
	movq	_RELKIND_SEQUENCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.5:
	movq	_DEPENDENCY_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movl	%r15d, %edi
	callq	_sequenceIsOwned
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	_DEPENDENCY_INTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movl	%r15d, %edi
	callq	_sequenceIsOwned
	testq	%rax, %rax
	je	LBB0_8
LBB0_7:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_ERRCODE_FEATURE_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movq	%r13, %rdi
	callq	_RelationGetRelationName
	movl	%eax, %r14d
	movl	-44(%rbp), %edi
	callq	_get_rel_name
	leaq	L_.str.2(%rip), %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_errdetail
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_ereport
LBB0_8:
	movl	(%rbx), %ebx
	movq	%r13, %rdi
	callq	_RelationGetRelationName
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	$-1, %edx
	callq	_makeRangeVar
	movl	(%r12), %esi
	movq	%rax, %rdi
	xorl	%edx, %edx
	callq	_RangeVarGetAndCheckCreationNamespace
	movl	%eax, %r14d
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_CheckSetNamespace
	xorl	%eax, %eax
	callq	_new_object_addresses
	movq	%rax, %rbx
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%r14d, %edx
	movq	%rax, %rcx
	callq	_AlterTableNamespaceInternal
	movq	%rbx, %rdi
	callq	_free_object_addresses
	movq	_RelationRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	callq	_ObjectAddressSet
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movl	%r12d, (%rax)
LBB0_10:
	movq	_NoLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_relation_close
                                        ## implicit-def: $eax
	jmp	LBB0_11
LBB0_3:
	movq	_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	_InvalidObjectAddress@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AccessExclusiveLock,4,2        ## @AccessExclusiveLock
	.comm	_RVR_MISSING_OK,4,2             ## @RVR_MISSING_OK
	.comm	_RangeVarCallbackForAlterRelation,4,2 ## @RangeVarCallbackForAlterRelation
	.comm	_NOTICE,4,2                     ## @NOTICE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"relation \"%s\" does not exist, skipping"

	.comm	_InvalidObjectAddress,4,2       ## @InvalidObjectAddress
	.comm	_NoLock,4,2                     ## @NoLock
	.comm	_RELKIND_SEQUENCE,8,3           ## @RELKIND_SEQUENCE
	.comm	_DEPENDENCY_AUTO,4,2            ## @DEPENDENCY_AUTO
	.comm	_DEPENDENCY_INTERNAL,4,2        ## @DEPENDENCY_INTERNAL
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ## @ERRCODE_FEATURE_NOT_SUPPORTED
L_.str.1:                               ## @.str.1
	.asciz	"cannot move an owned sequence into another schema"

L_.str.2:                               ## @.str.2
	.asciz	"Sequence \"%s\" is linked to table \"%s\"."

	.comm	_RelationRelationId,4,2         ## @RelationRelationId
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AlterTableNamespace            ; -- Begin function AlterTableNamespace
	.p2align	2
_AlterTableNamespace:                   ; @AlterTableNamespace
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _AccessExclusiveLock@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AccessExclusiveLock@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x0, [x0, #8]
	ldr	x8, [x23, #16]
Lloh3:
	adrp	x9, _RVR_MISSING_OK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RVR_MISSING_OK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w2, wzr, w9, eq
Lloh6:
	adrp	x8, _RangeVarCallbackForAlterRelation@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RangeVarCallbackForAlterRelation@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x4, x23
	bl	_RangeVarGetRelidExtended
	mov	x20, x0
	bl	_OidIsValid
	cbz	w0, LBB0_8
; %bb.1:
Lloh9:
	adrp	x26, _NoLock@GOTPAGE
Lloh10:
	ldr	x26, [x26, _NoLock@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x20
	bl	_relation_open
	mov	x21, x0
	bl	_RelationGetNamespace
	mov	x22, x0
	ldr	x8, [x21]
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _RELKIND_SEQUENCE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _RELKIND_SEQUENCE@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
Lloh14:
	adrp	x8, _DEPENDENCY_AUTO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DEPENDENCY_AUTO@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x20
	bl	_sequenceIsOwned
	cbnz	x0, LBB0_4
; %bb.3:
Lloh17:
	adrp	x8, _DEPENDENCY_INTERNAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DEPENDENCY_INTERNAL@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x20
	bl	_sequenceIsOwned
	cbz	x0, LBB0_5
LBB0_4:
Lloh20:
	adrp	x8, _ERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh22:
	ldr	w24, [x8]
Lloh23:
	adrp	x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_errcode
Lloh26:
	adrp	x0, l_.str.1@PAGE
Lloh27:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x0, x21
	bl	_RelationGetRelationName
	mov	x25, x0
	ldr	w0, [sp, #12]
	bl	_get_rel_name
	mov	x2, x0
Lloh28:
	adrp	x0, l_.str.2@PAGE
Lloh29:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x25
	bl	_errdetail
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
LBB0_5:
	ldr	w23, [x23]
	mov	x0, x21
	bl	_RelationGetRelationName
	mov	x1, x0
	mov	x0, x23
	mov	w2, #-1
	bl	_makeRangeVar
	ldr	w1, [x26]
	mov	x2, #0
	bl	_RangeVarGetAndCheckCreationNamespace
	mov	x23, x0
	mov	x0, x22
	mov	x1, x23
	bl	_CheckSetNamespace
	bl	_new_object_addresses
	mov	x24, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	bl	_AlterTableNamespaceInternal
	mov	x0, x24
	bl	_free_object_addresses
Lloh30:
	adrp	x8, _RelationRelationId@GOTPAGE
Lloh31:
	ldr	x8, [x8, _RelationRelationId@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_ObjectAddressSet
	cbz	x19, LBB0_7
; %bb.6:
	str	w22, [x19]
LBB0_7:
	ldr	w1, [x26]
	mov	x0, x21
	bl	_relation_close
                                        ; implicit-def: $w0
	b	LBB0_9
LBB0_8:
Lloh33:
	adrp	x8, _NOTICE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _NOTICE@GOTPAGEOFF]
Lloh35:
	ldr	w19, [x8]
	ldr	x8, [x23, #8]
	ldr	w8, [x8]
	str	x8, [sp]
Lloh36:
	adrp	x0, l_.str@PAGE
Lloh37:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
Lloh38:
	adrp	x8, _InvalidObjectAddress@GOTPAGE
Lloh39:
	ldr	x8, [x8, _InvalidObjectAddress@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
LBB0_9:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_AccessExclusiveLock,4,2        ; @AccessExclusiveLock
	.comm	_RVR_MISSING_OK,4,2             ; @RVR_MISSING_OK
	.comm	_RangeVarCallbackForAlterRelation,4,2 ; @RangeVarCallbackForAlterRelation
	.comm	_NOTICE,4,2                     ; @NOTICE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"relation \"%s\" does not exist, skipping"

	.comm	_InvalidObjectAddress,4,2       ; @InvalidObjectAddress
	.comm	_NoLock,4,2                     ; @NoLock
	.comm	_RELKIND_SEQUENCE,8,3           ; @RELKIND_SEQUENCE
	.comm	_DEPENDENCY_AUTO,4,2            ; @DEPENDENCY_AUTO
	.comm	_DEPENDENCY_INTERNAL,4,2        ; @DEPENDENCY_INTERNAL
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ; @ERRCODE_FEATURE_NOT_SUPPORTED
l_.str.1:                               ; @.str.1
	.asciz	"cannot move an owned sequence into another schema"

l_.str.2:                               ; @.str.2
	.asciz	"Sequence \"%s\" is linked to table \"%s\"."

	.comm	_RelationRelationId,4,2         ; @RelationRelationId
.subsections_via_symbols
