	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ATExecSetStorage
_ATExecSetStorage:                      ## @ATExecSetStorage
	.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	%rdx, %rbx
	movq	%rsi, %r12
	movl	%edi, %r15d
	movq	_String@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdx, %rdi
	callq	_IsA
	movl	%eax, %edi
	callq	_Assert
	movq	%rbx, %rdi
	callq	_strVal
	movq	%rax, %r13
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_pg_strcasecmp
	movq	%rax, %rbx
	testq	%rax, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_pg_strcasecmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_pg_strcasecmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_pg_strcasecmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_INVALID_PARAMETER_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.4(%rip), %rdi
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_10
LBB0_5:
	movb	$112, %al
	jmp	LBB0_9
LBB0_6:
	movb	$101, %al
	jmp	LBB0_9
LBB0_7:
	movb	$120, %al
	jmp	LBB0_9
LBB0_8:
	movb	$109, %al
LBB0_9:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_10:
	movq	_AttributeRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_RelationGetRelid
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_SearchSysCacheCopyAttName
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_UNDEFINED_COLUMN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	%r15d, %edi
	callq	_RelationGetRelationName
	leaq	L_.str.5(%rip), %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_12:
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movq	%r13, %rdi
	callq	_GETSTRUCT
	movq	%rax, %r15
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jle	LBB0_14
## %bb.13:
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_15
	jmp	LBB0_16
LBB0_14:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	%ebx, %r14d
	movq	%r12, %rbx
	movl	(%rax), %r12d
	movq	_ERRCODE_FEATURE_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.6(%rip), %rdi
	movq	%rbx, %rsi
	movl	%r14d, %ebx
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_16
LBB0_15:
	movl	12(%r15), %edi
	callq	_TypeIsToastable
	testq	%rax, %rax
	je	LBB0_17
LBB0_16:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movb	%al, 8(%r15)
	jmp	LBB0_18
LBB0_17:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_FEATURE_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	12(%r15), %edi
	callq	_format_type_be
	leaq	L_.str.7(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_18:
	movl	%ebx, %edi
	movq	%r13, %rsi
	movq	%r13, %rdx
	callq	_CatalogTupleUpdate
	movq	_RelationRelationId@GOTPCREL(%rip), %rax
	movl	%ebx, %r12d
	movl	(%rax), %ebx
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	callq	_RelationGetRelid
	movq	(%r15), %rdx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_InvokeObjectPostAlterHook
	movq	%r13, %rdi
	callq	_heap_freetuple
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_table_close
	movq	_RelationRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r14d, %edi
	callq	_RelationGetRelid
	movl	%ebx, %esi
	movl	%eax, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ObjectAddressSubSet            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_String,4,2                     ## @String
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"plain"

L_.str.1:                               ## @.str.1
	.asciz	"external"

L_.str.2:                               ## @.str.2
	.asciz	"extended"

L_.str.3:                               ## @.str.3
	.asciz	"main"

	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INVALID_PARAMETER_VALUE,4,2 ## @ERRCODE_INVALID_PARAMETER_VALUE
L_.str.4:                               ## @.str.4
	.asciz	"invalid storage type \"%s\""

	.comm	_AttributeRelationId,4,2        ## @AttributeRelationId
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.comm	_ERRCODE_UNDEFINED_COLUMN,4,2   ## @ERRCODE_UNDEFINED_COLUMN
L_.str.5:                               ## @.str.5
	.asciz	"column \"%s\" of relation \"%s\" does not exist"

	.comm	_ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ## @ERRCODE_FEATURE_NOT_SUPPORTED
L_.str.6:                               ## @.str.6
	.asciz	"cannot alter system column \"%s\""

L_.str.7:                               ## @.str.7
	.asciz	"column data type %s can only have storage PLAIN"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ATExecSetStorage
_ATExecSetStorage:                      ; @ATExecSetStorage
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _String@GOTPAGE
Lloh1:
	ldr	x8, [x8, _String@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x2
	bl	_IsA
	bl	_Assert
	mov	x0, x21
	bl	_strVal
	mov	x22, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_pg_strcasecmp
	mov	x21, x0
	cbz	x0, LBB0_5
; %bb.1:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_pg_strcasecmp
	cbz	x0, LBB0_6
; %bb.2:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_pg_strcasecmp
	cbz	x0, LBB0_7
; %bb.3:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_pg_strcasecmp
	cbz	x0, LBB0_8
; %bb.4:
Lloh11:
	adrp	x8, _ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w23, [x8]
Lloh14:
	adrp	x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_errcode
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x22
	bl	_errmsg
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
	mov	w28, #0
	b	LBB0_9
LBB0_5:
	mov	w28, #112
	b	LBB0_9
LBB0_6:
	mov	w28, #101
	b	LBB0_9
LBB0_7:
	mov	w28, #120
	b	LBB0_9
LBB0_8:
	mov	w28, #109
LBB0_9:
Lloh19:
	adrp	x8, _AttributeRelationId@GOTPAGE
Lloh20:
	ldr	x8, [x8, _AttributeRelationId@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x27, _RowExclusiveLock@GOTPAGE
Lloh23:
	ldr	x27, [x27, _RowExclusiveLock@GOTPAGEOFF]
	ldr	w1, [x27]
	bl	_table_open
	mov	x22, x0
	mov	x0, x19
	bl	_RelationGetRelid
	mov	x1, x20
	bl	_SearchSysCacheCopyAttName
	mov	x23, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_11
; %bb.10:
Lloh24:
	adrp	x8, _ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh26:
	ldr	w24, [x8]
Lloh27:
	adrp	x8, _ERRCODE_UNDEFINED_COLUMN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_COLUMN@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_errcode
	mov	x0, x19
	bl	_RelationGetRelationName
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh30:
	adrp	x0, l_.str.5@PAGE
Lloh31:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x20
	bl	_errmsg
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
LBB0_11:
	mov	x0, x23
	bl	_GETSTRUCT
	mov	x25, x0
	ldr	x24, [x0]
	cmp	x24, #0
	b.le	LBB0_13
; %bb.12:
	cbnz	x21, LBB0_14
	b	LBB0_15
LBB0_13:
Lloh32:
	adrp	x8, _ERROR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh34:
	ldr	w26, [x8]
Lloh35:
	adrp	x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	bl	_errcode
Lloh38:
	adrp	x0, l_.str.6@PAGE
Lloh39:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x20
	bl	_errmsg
	mov	x1, x0
	mov	x0, x26
	bl	_ereport
	cbz	x21, LBB0_15
LBB0_14:
	ldr	w0, [x25, #12]
	bl	_TypeIsToastable
	cbz	x0, LBB0_16
LBB0_15:
	strb	w28, [x25, #8]
	b	LBB0_17
LBB0_16:
Lloh40:
	adrp	x8, _ERROR@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh42:
	ldr	w20, [x8]
Lloh43:
	adrp	x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGE
Lloh44:
	ldr	x8, [x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w0, [x25, #12]
	bl	_format_type_be
	mov	x1, x0
Lloh46:
	adrp	x0, l_.str.7@PAGE
Lloh47:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_17:
	mov	x0, x22
	mov	x1, x23
	mov	x2, x23
	bl	_CatalogTupleUpdate
Lloh48:
	adrp	x21, _RelationRelationId@GOTPAGE
Lloh49:
	ldr	x21, [x21, _RelationRelationId@GOTPAGEOFF]
	ldr	w20, [x21]
	mov	x0, x19
	bl	_RelationGetRelid
	mov	x1, x0
	ldr	x2, [x25]
	mov	x0, x20
	bl	_InvokeObjectPostAlterHook
	mov	x0, x23
	bl	_heap_freetuple
	ldr	w1, [x27]
	mov	x0, x22
	bl	_table_close
	ldr	w20, [x21]
	mov	x0, x19
	bl	_RelationGetRelid
	mov	x1, x20
	mov	x2, x0
	mov	x3, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_ObjectAddressSubSet
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_String,4,2                     ; @String
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"plain"

l_.str.1:                               ; @.str.1
	.asciz	"external"

l_.str.2:                               ; @.str.2
	.asciz	"extended"

l_.str.3:                               ; @.str.3
	.asciz	"main"

	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INVALID_PARAMETER_VALUE,4,2 ; @ERRCODE_INVALID_PARAMETER_VALUE
l_.str.4:                               ; @.str.4
	.asciz	"invalid storage type \"%s\""

	.comm	_AttributeRelationId,4,2        ; @AttributeRelationId
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.comm	_ERRCODE_UNDEFINED_COLUMN,4,2   ; @ERRCODE_UNDEFINED_COLUMN
l_.str.5:                               ; @.str.5
	.asciz	"column \"%s\" of relation \"%s\" does not exist"

	.comm	_ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ; @ERRCODE_FEATURE_NOT_SUPPORTED
l_.str.6:                               ; @.str.6
	.asciz	"cannot alter system column \"%s\""

l_.str.7:                               ; @.str.7
	.asciz	"column data type %s can only have storage PLAIN"

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