	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RemoveAttributeById            ## -- Begin function RemoveAttributeById
	.p2align	4, 0x90
_RemoveAttributeById:                   ## @RemoveAttributeById
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_NAMEDATALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_AccessExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_relation_open
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	_AttributeRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_ATTNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_ObjectIdGetDatum
	movl	%eax, %ebx
	movl	%r13d, %edi
	callq	_Int16GetDatum
	movl	%r12d, %edi
	movl	%r13d, %r12d
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_SearchSysCacheCopy2
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edx
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	callq	_elog
LBB0_2:
	movq	%r13, %rdi
	callq	_GETSTRUCT
	testl	%r12d, %r12d
	js	LBB0_3
## %bb.4:
	movq	%rax, %rbx
	movl	$1, (%rax)
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movl	$0, 4(%rbx)
	movq	$0, 32(%rbx)
	movb	$0, 8(%rbx)
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r12d, %ecx
	callq	_snprintf
	movq	%rbx, %rdi
	addq	$24, %rdi
	movq	%r14, %rsi
	callq	_namestrcpy
	cmpq	$0, 16(%rbx)
	je	LBB0_5
## %bb.6:
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movq	_Natts_pg_attribute@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	(%rbx), %ebx
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	movq	%rsp, %r12
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,4), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_MemSet
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,4), %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_MemSet
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_MemSet
	xorl	%edi, %edi
	callq	_BoolGetDatum
	movq	_Anum_pg_attribute_atthasmissing@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	%eax, -4(%r14,%rcx,4)
	movl	$1, -4(%r12,%rcx,4)
	movq	_Anum_pg_attribute_attmissingval@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movl	$0, -4(%r14,%rax,4)
	movl	$1, -4(%r15,%rax,4)
	movl	$1, -4(%r12,%rax,4)
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	callq	_RelationGetDescr
	movq	%r13, %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	movq	%r15, %rcx
	movq	%r12, %r8
	movl	-60(%rbp), %r12d                ## 4-byte Reload
	callq	_heap_modify_tuple
	movq	%rax, %r13
	movq	-88(%rbp), %rsp                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_3:
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movq	%r13, %rsi
	callq	_CatalogTupleDelete
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_table_close
	jmp	LBB0_9
LBB0_5:
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
LBB0_7:
	movl	%ebx, %edi
	movq	%r13, %rsi
	movq	%r13, %rdx
	callq	_CatalogTupleUpdate
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_table_close
	testl	%r12d, %r12d
	je	LBB0_9
## %bb.8:
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	%r12d, %esi
	callq	_RemoveStatistics
LBB0_9:
	movq	_NoLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	callq	_relation_close
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NAMEDATALEN,4,2                ## @NAMEDATALEN
	.comm	_AccessExclusiveLock,4,2        ## @AccessExclusiveLock
	.comm	_AttributeRelationId,4,2        ## @AttributeRelationId
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.comm	_ATTNUM,4,2                     ## @ATTNUM
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cache lookup failed for attribute %d of relation %u"

	.comm	_InvalidOid,4,2                 ## @InvalidOid
L_.str.1:                               ## @.str.1
	.asciz	"........pg.dropped.%d........"

	.comm	_Natts_pg_attribute,4,2         ## @Natts_pg_attribute
	.comm	_Anum_pg_attribute_atthasmissing,4,2 ## @Anum_pg_attribute_atthasmissing
	.comm	_Anum_pg_attribute_attmissingval,4,2 ## @Anum_pg_attribute_attmissingval
	.comm	_NoLock,4,2                     ## @NoLock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function RemoveAttributeById
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_RemoveAttributeById
	.p2align	2
_RemoveAttributeById:                   ; @RemoveAttributeById
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _NAMEDATALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NAMEDATALEN@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	mov	x9, x24
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x9, x9, #0x1fffffff0
	sub	x25, x8, x9
	mov	sp, x25
Lloh8:
	adrp	x8, _AccessExclusiveLock@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AccessExclusiveLock@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_relation_open
	mov	x21, x0
Lloh11:
	adrp	x8, _AttributeRelationId@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AttributeRelationId@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x28, _RowExclusiveLock@GOTPAGE
Lloh15:
	ldr	x28, [x28, _RowExclusiveLock@GOTPAGEOFF]
	ldr	w1, [x28]
	bl	_table_open
	mov	x22, x0
Lloh16:
	adrp	x8, _ATTNUM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ATTNUM@GOTPAGEOFF]
Lloh18:
	ldr	w23, [x8]
	mov	x0, x20
	bl	_ObjectIdGetDatum
	mov	x26, x0
	mov	x0, x19
	bl	_Int16GetDatum
	mov	x2, x0
	mov	x0, x23
	mov	x1, x26
	bl	_SearchSysCacheCopy2
	mov	x23, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_2
; %bb.1:
Lloh19:
	adrp	x8, _ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	mov	x3, x20
	bl	_elog
LBB0_2:
	mov	x0, x23
	bl	_GETSTRUCT
	tbnz	w19, #31, LBB0_7
; %bb.3:
	mov	x26, x0
Lloh24:
	adrp	x8, lCPI0_0@PAGE
Lloh25:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x0]
Lloh26:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh27:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	str	w8, [x0, #40]
	str	xzr, [x0, #32]
	strb	wzr, [x0, #8]
Lloh29:
	adrp	x2, l_.str.1@PAGE
Lloh30:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x25
	mov	x1, x24
	mov	x3, x19
	bl	_snprintf
	add	x0, x26, #24
	mov	x1, x25
	bl	_namestrcpy
	ldr	x8, [x26, #16]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x8, sp
	stur	x8, [x29, #-96]                 ; 8-byte Folded Spill
Lloh31:
	adrp	x12, _Natts_pg_attribute@GOTPAGE
Lloh32:
	ldr	x12, [x12, _Natts_pg_attribute@GOTPAGEOFF]
	ldr	w13, [x12]
	lsl	x8, x13, #2
	mov	x9, x8
Lloh33:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh34:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x24, x9, x8
	mov	sp, x24
	ldr	w27, [x12]
	lsl	x8, x27, #2
	mov	x9, x8
Lloh35:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh36:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x25, x9, x12
	mov	sp, x25
	mov	x9, x8
Lloh37:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh38:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x26, x8, x12
	mov	sp, x26
	lsl	w2, w13, #2
	mov	x0, x24
	mov	w1, #0
	bl	_MemSet
	lsl	w27, w27, #2
	mov	x0, x25
	mov	w1, #0
	mov	x2, x27
	bl	_MemSet
	mov	x0, x26
	mov	w1, #0
	mov	x2, x27
	bl	_MemSet
	mov	w0, #0
	bl	_BoolGetDatum
Lloh39:
	adrp	x8, _Anum_pg_attribute_atthasmissing@GOTPAGE
Lloh40:
	ldr	x8, [x8, _Anum_pg_attribute_atthasmissing@GOTPAGEOFF]
Lloh41:
	ldrsw	x8, [x8]
	lsl	x8, x8, #2
	sub	x8, x8, #4
	str	w0, [x24, x8]
	mov	w9, #1
	str	w9, [x26, x8]
Lloh42:
	adrp	x8, _Anum_pg_attribute_attmissingval@GOTPAGE
Lloh43:
	ldr	x8, [x8, _Anum_pg_attribute_attmissingval@GOTPAGEOFF]
Lloh44:
	ldrsw	x8, [x8]
	lsl	x8, x8, #2
	sub	x8, x8, #4
	str	wzr, [x24, x8]
	str	w9, [x25, x8]
	str	w9, [x26, x8]
	mov	x0, x22
	bl	_RelationGetDescr
	mov	x1, x0
	mov	x0, x23
	mov	x2, x24
	mov	x3, x25
	mov	x4, x26
	bl	_heap_modify_tuple
	mov	x23, x0
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	mov	sp, x8
LBB0_5:
	mov	x0, x22
	mov	x1, x23
	mov	x2, x23
	bl	_CatalogTupleUpdate
	ldr	w1, [x28]
	mov	x0, x22
	bl	_table_close
	cbz	w19, LBB0_8
; %bb.6:
	mov	x0, x20
	mov	x1, x19
	bl	_RemoveStatistics
	b	LBB0_8
LBB0_7:
	mov	x0, x22
	mov	x1, x23
	bl	_CatalogTupleDelete
	ldr	w1, [x28]
	mov	x0, x22
	bl	_table_close
LBB0_8:
Lloh45:
	adrp	x8, _NoLock@GOTPAGE
Lloh46:
	ldr	x8, [x8, _NoLock@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_relation_close
	ldur	x8, [x29, #-88]
Lloh48:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh49:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdrp	Lloh24, Lloh26
	.loh AdrpLdr	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_NAMEDATALEN,4,2                ; @NAMEDATALEN
	.comm	_AccessExclusiveLock,4,2        ; @AccessExclusiveLock
	.comm	_AttributeRelationId,4,2        ; @AttributeRelationId
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.comm	_ATTNUM,4,2                     ; @ATTNUM
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cache lookup failed for attribute %d of relation %u"

	.comm	_InvalidOid,4,2                 ; @InvalidOid
l_.str.1:                               ; @.str.1
	.asciz	"........pg.dropped.%d........"

	.comm	_Natts_pg_attribute,4,2         ; @Natts_pg_attribute
	.comm	_Anum_pg_attribute_atthasmissing,4,2 ; @Anum_pg_attribute_atthasmissing
	.comm	_Anum_pg_attribute_attmissingval,4,2 ; @Anum_pg_attribute_attmissingval
	.comm	_NoLock,4,2                     ; @NoLock
.subsections_via_symbols
