	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ATExecSetTableSpaceNoStorage
_ATExecSetTableSpaceNoStorage:          ## @ATExecSetTableSpaceNoStorage
	.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	%rsi, %r13
	movq	%rdi, %rbx
	callq	_RelationGetRelid
	movq	%rax, %r14
	movq	(%rbx), %rax
	movl	8(%rax), %edi
	callq	_RELKIND_HAS_STORAGE
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_Assert
	movq	_GLOBALTABLESPACE_OID@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_INVALID_PARAMETER_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	cmpq	%r13, %rax
	je	LBB0_10
## %bb.3:
	movq	_MyDatabaseTableSpace@GOTPCREL(%rip), %rcx
	cmpq	%r13, (%rcx)
	jne	LBB0_5
## %bb.4:
	testq	%rax, %rax
	jne	LBB0_5
LBB0_10:
	movq	_RelationRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_InvokeObjectPostAlterHook      ## TAILCALL
LBB0_5:
	movq	_RelationRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movq	%rax, %r15
	movq	_RELOID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCacheCopy1
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	callq	_elog
LBB0_7:
	movq	%r12, %rdi
	callq	_GETSTRUCT
	movq	_MyDatabaseTableSpace@GOTPCREL(%rip), %rcx
	cmpq	%r13, (%rcx)
	jne	LBB0_9
## %bb.8:
	movq	_InvalidOid@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r13
LBB0_9:
	movq	%r13, (%rax)
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r12, %rdx
	callq	_CatalogTupleUpdate
	movq	_RelationRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_InvokeObjectPostAlterHook
	movq	%r12, %rdi
	callq	_heap_freetuple
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_table_close
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CommandCounterIncrement        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GLOBALTABLESPACE_OID,8,3       ## @GLOBALTABLESPACE_OID
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INVALID_PARAMETER_VALUE,4,2 ## @ERRCODE_INVALID_PARAMETER_VALUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"only shared relations can be placed in pg_global tablespace"

	.comm	_MyDatabaseTableSpace,8,3       ## @MyDatabaseTableSpace
	.comm	_RelationRelationId,4,2         ## @RelationRelationId
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.comm	_RELOID,4,2                     ## @RELOID
L_.str.1:                               ## @.str.1
	.asciz	"cache lookup failed for relation %u"

	.comm	_InvalidOid,8,3                 ## @InvalidOid
	.no_dead_strip	_ATExecSetTableSpaceNoStorage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ATExecSetTableSpaceNoStorage
_ATExecSetTableSpaceNoStorage:          ; @ATExecSetTableSpaceNoStorage
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	mov	x21, x0
	bl	_RelationGetRelid
	mov	x19, x0
	ldr	x8, [x21]
	ldr	w0, [x8, #8]
	bl	_RELKIND_HAS_STORAGE
	cmp	w0, #0
	cset	w0, eq
	bl	_Assert
Lloh0:
	adrp	x8, _GLOBALTABLESPACE_OID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLOBALTABLESPACE_OID@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
Lloh6:
	adrp	x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_errcode
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_2:
	ldr	x8, [x21]
	ldr	x8, [x8]
	cmp	x8, x20
	b.eq	LBB0_7
; %bb.3:
Lloh11:
	adrp	x25, _MyDatabaseTableSpace@GOTPAGE
Lloh12:
	ldr	x25, [x25, _MyDatabaseTableSpace@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x9, x20
	ccmp	x8, #0, #0, eq
	b.eq	LBB0_7
; %bb.4:
Lloh13:
	adrp	x24, _RelationRelationId@GOTPAGE
Lloh14:
	ldr	x24, [x24, _RelationRelationId@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh15:
	adrp	x23, _RowExclusiveLock@GOTPAGE
Lloh16:
	ldr	x23, [x23, _RowExclusiveLock@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_table_open
	mov	x21, x0
Lloh17:
	adrp	x8, _RELOID@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RELOID@GOTPAGEOFF]
Lloh19:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x22
	bl	_SearchSysCacheCopy1
	mov	x22, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_6
; %bb.5:
Lloh20:
	adrp	x8, _ERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_elog
LBB0_6:
	mov	x0, x22
	bl	_GETSTRUCT
	ldr	x8, [x25]
Lloh25:
	adrp	x9, _InvalidOid@GOTPAGE
Lloh26:
	ldr	x9, [x9, _InvalidOid@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x8, x20
	csel	x8, x9, x20, eq
	str	x8, [x0]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x22
	bl	_CatalogTupleUpdate
	ldr	w0, [x24]
	mov	x1, x19
	mov	w2, #0
	bl	_InvokeObjectPostAlterHook
	mov	x0, x22
	bl	_heap_freetuple
	ldr	w1, [x23]
	mov	x0, x21
	bl	_table_close
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_CommandCounterIncrement
LBB0_7:
Lloh28:
	adrp	x8, _RelationRelationId@GOTPAGE
Lloh29:
	ldr	x8, [x8, _RelationRelationId@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	mov	x1, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_InvokeObjectPostAlterHook
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_GLOBALTABLESPACE_OID,8,3       ; @GLOBALTABLESPACE_OID
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INVALID_PARAMETER_VALUE,4,2 ; @ERRCODE_INVALID_PARAMETER_VALUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"only shared relations can be placed in pg_global tablespace"

	.comm	_MyDatabaseTableSpace,8,3       ; @MyDatabaseTableSpace
	.comm	_RelationRelationId,4,2         ; @RelationRelationId
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.comm	_RELOID,4,2                     ; @RELOID
l_.str.1:                               ; @.str.1
	.asciz	"cache lookup failed for relation %u"

	.comm	_InvalidOid,8,3                 ; @InvalidOid
	.no_dead_strip	_ATExecSetTableSpaceNoStorage
.subsections_via_symbols
