	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ATPrepAddColumn
_ATPrepAddColumn:                       ## @ATPrepAddColumn
	.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	%r9, %r15
	movl	%r8d, %r13d
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	(%rsi), %rax
	testl	%ecx, %ecx
	jne	LBB0_3
## %bb.1:
	cmpq	$0, 8(%rax)
	je	LBB0_3
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_WRONG_OBJECT_TYPE@GOTPCREL(%rip), %rax
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	%r15, %rdi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	(%rbx), %rax
LBB0_3:
	movq	(%rax), %rax
	movq	_RELKIND_COMPOSITE_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movl	16(%rbp), %ecx
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_ATTypedTableRecursion
LBB0_5:
	testl	%r12d, %r12d
	je	LBB0_8
## %bb.6:
	testl	%r13d, %r13d
	jne	LBB0_8
## %bb.7:
	movq	_AT_AddColumnRecurse@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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	"cannot add column to typed table"

	.comm	_RELKIND_COMPOSITE_TYPE,8,3     ## @RELKIND_COMPOSITE_TYPE
	.comm	_AT_AddColumnRecurse,4,2        ## @AT_AddColumnRecurse
	.no_dead_strip	_ATPrepAddColumn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ATPrepAddColumn
_ATPrepAddColumn:                       ; @ATPrepAddColumn
	.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	x22, x6
	mov	x19, x5
	mov	x20, x4
	mov	x21, x2
	mov	x23, x1
	mov	x24, x0
	ldr	x8, [x1]
	cbnz	w3, LBB0_3
; %bb.1:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w25, [x8]
Lloh3:
	adrp	x8, _ERRCODE_WRONG_OBJECT_TYPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERRCODE_WRONG_OBJECT_TYPE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_errcode
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
	ldr	x8, [x23]
LBB0_3:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _RELKIND_COMPOSITE_TYPE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _RELKIND_COMPOSITE_TYPE@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x24
	mov	x1, x23
	mov	x2, x19
	mov	x3, x22
	bl	_ATTypedTableRecursion
LBB0_5:
	cbz	w21, LBB0_8
; %bb.6:
	cbnz	w20, LBB0_8
; %bb.7:
Lloh11:
	adrp	x8, _AT_AddColumnRecurse@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AT_AddColumnRecurse@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_8:
	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
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.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	"cannot add column to typed table"

	.comm	_RELKIND_COMPOSITE_TYPE,8,3     ; @RELKIND_COMPOSITE_TYPE
	.comm	_AT_AddColumnRecurse,4,2        ; @AT_AddColumnRecurse
	.no_dead_strip	_ATPrepAddColumn
.subsections_via_symbols
