	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function RelationBuildTupleDesc
_RelationBuildTupleDesc:                ## @RelationBuildTupleDesc
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movl	8(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movl	$-1, (%rax)
	movq	_CacheMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$40, %esi
	callq	_MemoryContextAlloc
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	$0, (%rax)
	movq	_Anum_pg_attribute_attrelid@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_F_OIDEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_RelationGetRelid
	movl	%eax, %edi
	callq	_ObjectIdGetDatum
	leaq	-56(%rbp), %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_ScanKeyInit
	leaq	-52(%rbp), %r14
	movq	_Anum_pg_attribute_attnum@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_BTGreaterStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_F_INT2GT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	xorl	%edi, %edi
	callq	_Int16GetDatum
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_ScanKeyInit
	movq	_AttributeRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movq	%rax, %rdi
	movq	_AttributeRelidNumIndexId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_criticalRelcachesBuilt@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, -136(%rbp)                ## 8-byte Spill
	xorl	%ecx, %ecx
	movl	$2, %r8d
	leaq	-56(%rbp), %r9
	callq	_systable_beginscan
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_RelationGetNumberOfAttributes
	movl	%eax, %ebx
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	decl	%ebx
	je	LBB0_24
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	callq	_systable_getnext
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testq	%rax, %rax
	je	LBB0_25
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movl	%r12d, %edi
	callq	_GETSTRUCT
	movq	%rax, %r14
	movslq	(%rax), %r13
	movl	%r13d, %ebx
	testq	%r13, %r13
	jle	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	callq	_RelationGetNumberOfAttributes
	cmpl	%eax, %r13d
	jle	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r14), %ebx
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_RelationGetRelationName
	movl	%r15d, %edi
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_elog
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r15), %rdi
	leaq	-1(%r13), %r15
	movl	%r15d, %esi
	callq	_TupleDescAttr
	movq	_ATTRIBUTE_FIXED_PART_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_memcpy
	cmpq	$0, 48(%r14)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	$1, (%rax)
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r14), %rax
	movq	_ATTRIBUTE_GENERATED_STORED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	$1, 4(%rax)
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 40(%r14)
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	testq	%rdx, %rdx
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_CacheMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_RelationGetNumberOfAttributes
	shll	$4, %eax
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_MemoryContextAllocZero
	movq	%rax, %rdx
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movslq	%ecx, %rcx
	movq	%rcx, %rax
	shlq	$4, %rax
	movl	%r13d, (%rdx,%rax)
	movq	$0, 8(%rdx,%rax)
	incl	%ecx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	cmpq	$0, 32(%r14)
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_Anum_pg_attribute_attmissingval@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rdx
	movl	%r12d, %edi
	leaq	-124(%rbp), %rcx
	callq	_heap_getattr
	cmpl	$0, -124(%rbp)
	jne	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %ebx
	movl	$1, -116(%rbp)
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_CacheMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movl	(%rax), %esi
	shll	$3, %esi
	callq	_MemoryContextAllocZero
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	16(%r14), %r8d
	movl	20(%r14), %r9d
	movl	24(%r14), %eax
	movl	%ebx, %edi
	movl	$1, %esi
	leaq	-116(%rbp), %rdx
	movl	$-1, %ecx
	leaq	-120(%rbp), %rbx
	pushq	%rbx
	pushq	%rax
	callq	_array_get_element
	addq	$16, %rsp
	movl	%eax, %ebx
	xorl	%edi, %edi
	cmpl	$0, -120(%rbp)
	sete	%dil
	callq	_Assert
	cmpl	$0, 20(%r14)
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movl	%ebx, -4(%r14,%r13,8)
	jmp	LBB0_22
LBB0_21:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_CacheMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r12d
	movl	16(%r14), %edx
	movl	20(%r14), %esi
	movl	%ebx, %edi
	callq	_datumCopy
	movslq	%r15d, %r15
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, 4(%r14,%r15,8)
	movl	%r12d, %edi
	callq	_MemoryContextSwitchTo
LBB0_22:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	movl	$1, (%r14,%r15,8)
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	decl	%ebx
	jne	LBB0_1
LBB0_24:
	xorl	%ebx, %ebx
LBB0_25:
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	callq	_systable_endscan
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	callq	_table_close
	testl	%ebx, %ebx
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movq	-112(%rbp), %r12                ## 8-byte Reload
	je	LBB0_27
## %bb.26:
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_RelationGetRelid
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %ecx
	callq	_elog
LBB0_27:
	movq	%r15, %rdi
	callq	_RelationGetNumberOfAttributes
	testl	%eax, %eax
	jle	LBB0_29
## %bb.28:
	movq	(%r15), %rdi
	xorl	%esi, %esi
	callq	_TupleDescAttr
	movl	$0, (%rax)
LBB0_29:
	cmpl	$0, (%r13)
	jne	LBB0_33
## %bb.30:
	testl	%r12d, %r12d
	jg	LBB0_33
## %bb.31:
	testq	%r14, %r14
	jne	LBB0_33
## %bb.32:
	movq	8(%r15), %rax
	cmpl	$0, 4(%rax)
	je	LBB0_42
LBB0_33:
	movq	(%r15), %rax
	movq	%r13, 8(%rax)
	testl	%r12d, %r12d
	jle	LBB0_38
## %bb.34:
	movq	%r15, %rdi
	callq	_RelationGetNumberOfAttributes
	cmpl	%eax, %r12d
	jge	LBB0_35
## %bb.36:
	movl	%r12d, %esi
	shll	$4, %esi
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_repalloc
	jmp	LBB0_37
LBB0_38:
	movl	$0, 8(%r13)
	jmp	LBB0_39
LBB0_35:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
LBB0_37:
	movq	%rax, 32(%r13)
	movl	%r12d, 8(%r13)
	movq	%r15, %rdi
	callq	_AttrDefaultFetch
LBB0_39:
	movq	%r14, 24(%r13)
	movq	8(%r15), %rax
	movl	4(%rax), %esi
	testl	%esi, %esi
	jle	LBB0_41
## %bb.40:
	movl	%esi, 12(%r13)
	movq	_CacheMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$2, %esi
	callq	_MemoryContextAllocZero
	movq	%rax, 16(%r13)
	movq	%r15, %rdi
	callq	_CheckConstraintFetch
	jmp	LBB0_43
LBB0_41:
	movl	$0, 12(%r13)
	jmp	LBB0_43
LBB0_42:
	movq	%r13, %rdi
	callq	_pfree
	movq	(%r15), %rax
	movq	$0, 8(%rax)
LBB0_43:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_45
## %bb.44:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_45:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CacheMemoryContext,4,2         ## @CacheMemoryContext
	.comm	_Anum_pg_attribute_attrelid,4,2 ## @Anum_pg_attribute_attrelid
	.comm	_BTEqualStrategyNumber,4,2      ## @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ## @F_OIDEQ
	.comm	_Anum_pg_attribute_attnum,4,2   ## @Anum_pg_attribute_attnum
	.comm	_BTGreaterStrategyNumber,4,2    ## @BTGreaterStrategyNumber
	.comm	_F_INT2GT,4,2                   ## @F_INT2GT
	.comm	_AttributeRelationId,4,2        ## @AttributeRelationId
	.comm	_AccessShareLock,4,2            ## @AccessShareLock
	.comm	_AttributeRelidNumIndexId,4,2   ## @AttributeRelidNumIndexId
	.comm	_criticalRelcachesBuilt,4,2     ## @criticalRelcachesBuilt
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid attribute number %d for %s"

	.comm	_ATTRIBUTE_FIXED_PART_SIZE,4,2  ## @ATTRIBUTE_FIXED_PART_SIZE
	.comm	_ATTRIBUTE_GENERATED_STORED,8,3 ## @ATTRIBUTE_GENERATED_STORED
	.comm	_Anum_pg_attribute_attmissingval,4,2 ## @Anum_pg_attribute_attmissingval
L_.str.1:                               ## @.str.1
	.asciz	"catalog is missing %d attribute(s) for relid %u"

	.no_dead_strip	_RelationBuildTupleDesc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function RelationBuildTupleDesc
_RelationBuildTupleDesc:                ; @RelationBuildTupleDesc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	ldp	x9, x8, [x0]
	ldr	w8, [x8, #8]
	str	w8, [x9, #16]
	mov	w8, #-1
	str	w8, [x9]
Lloh3:
	adrp	x8, _CacheMemoryContext@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CacheMemoryContext@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w1, #40
	bl	_MemoryContextAlloc
	mov	x25, x0
	str	xzr, [x0]
Lloh6:
	adrp	x8, _Anum_pg_attribute_attrelid@GOTPAGE
Lloh7:
	ldr	x8, [x8, _Anum_pg_attribute_attrelid@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
Lloh9:
	adrp	x8, _BTEqualStrategyNumber@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BTEqualStrategyNumber@GOTPAGEOFF]
Lloh11:
	ldr	w22, [x8]
Lloh12:
	adrp	x8, _F_OIDEQ@GOTPAGE
Lloh13:
	ldr	x8, [x8, _F_OIDEQ@GOTPAGEOFF]
Lloh14:
	ldr	w23, [x8]
	mov	x0, x19
	bl	_RelationGetRelid
	bl	_ObjectIdGetDatum
	mov	x4, x0
	add	x20, sp, #48
	add	x0, sp, #48
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	bl	_ScanKeyInit
	add	x21, x20, #4
Lloh15:
	adrp	x8, _Anum_pg_attribute_attnum@GOTPAGE
Lloh16:
	ldr	x8, [x8, _Anum_pg_attribute_attnum@GOTPAGEOFF]
Lloh17:
	ldr	w22, [x8]
Lloh18:
	adrp	x8, _BTGreaterStrategyNumber@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BTGreaterStrategyNumber@GOTPAGEOFF]
Lloh20:
	ldr	w23, [x8]
Lloh21:
	adrp	x8, _F_INT2GT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _F_INT2GT@GOTPAGEOFF]
Lloh23:
	ldr	w24, [x8]
	mov	w0, #0
	bl	_Int16GetDatum
	mov	x4, x0
	mov	x0, x21
	mov	x21, x25
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	bl	_ScanKeyInit
Lloh24:
	adrp	x8, _AttributeRelationId@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AttributeRelationId@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x8, _AccessShareLock@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AccessShareLock@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	bl	_table_open
Lloh30:
	adrp	x8, _AttributeRelidNumIndexId@GOTPAGE
Lloh31:
	ldr	x8, [x8, _AttributeRelidNumIndexId@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
Lloh33:
	adrp	x8, _criticalRelcachesBuilt@GOTPAGE
Lloh34:
	ldr	x8, [x8, _criticalRelcachesBuilt@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	add	x5, sp, #48
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	mov	x3, #0
	mov	w4, #2
	bl	_systable_beginscan
	mov	x25, x0
	mov	x0, x19
	bl	_RelationGetNumberOfAttributes
	mov	x24, x0
	mov	w23, #0
	str	xzr, [sp, #8]                   ; 8-byte Folded Spill
	mov	x22, #0
	str	x21, [sp, #24]                  ; 8-byte Folded Spill
	b	LBB0_4
LBB0_1:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh36:
	adrp	x8, _CacheMemoryContext@GOTPAGE
Lloh37:
	ldr	x8, [x8, _CacheMemoryContext@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	bl	_MemoryContextSwitchTo
	mov	x21, x0
	ldp	w2, w1, [x27, #16]
	mov	x0, x26
	bl	_datumCopy
	mov	x8, x28
	sxtw	x20, w8
	ldr	x27, [sp, #8]                   ; 8-byte Folded Reload
	add	x8, x27, w28, sxtw #3
	str	w0, [x8, #4]
	mov	x0, x21
	ldr	x21, [sp, #24]                  ; 8-byte Folded Reload
	bl	_MemoryContextSwitchTo
	mov	x28, x20
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	lsl	x8, x28, #3
	mov	w9, #1
	str	w9, [x27, x8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	subs	w24, w24, #1
	b.eq	LBB0_23
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	bl	_systable_getnext
	mov	x26, x0
	bl	_HeapTupleIsValid
	cbz	x0, LBB0_23
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	bl	_GETSTRUCT
	mov	x27, x0
	ldr	w20, [x0]
	mov	x28, x20
	cmp	w20, #1
	b.lt	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_RelationGetNumberOfAttributes
	cmp	w20, w0
	b.le	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w28, [x27]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh39:
	adrp	x8, _ERROR@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh41:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_RelationGetRelationName
	mov	x3, x0
	mov	x0, x21
	ldr	x21, [sp, #24]                  ; 8-byte Folded Reload
Lloh42:
	adrp	x1, l_.str@PAGE
Lloh43:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x28
	bl	_elog
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x8, w20
	ldr	x0, [x19]
	sub	x28, x8, #1
	mov	x1, x28
	bl	_TupleDescAttr
Lloh44:
	adrp	x8, _ATTRIBUTE_FIXED_PART_SIZE@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ATTRIBUTE_FIXED_PART_SIZE@GOTPAGEOFF]
Lloh46:
	ldr	w2, [x8]
	mov	x1, x27
	bl	_memcpy
	ldr	x8, [x27, #48]
	cbz	x8, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #1
	str	w8, [x21]
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x27, #8]
Lloh47:
	adrp	x9, _ATTRIBUTE_GENERATED_STORED@GOTPAGE
Lloh48:
	ldr	x9, [x9, _ATTRIBUTE_GENERATED_STORED@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #1
	str	w8, [x21, #4]
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x27, #40]
	cbz	x8, LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	cbnz	x22, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh50:
	adrp	x8, _CacheMemoryContext@GOTPAGE
Lloh51:
	ldr	x8, [x8, _CacheMemoryContext@GOTPAGEOFF]
Lloh52:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_RelationGetNumberOfAttributes
	lsl	w1, w0, #4
	mov	x0, x21
	ldr	x21, [sp, #24]                  ; 8-byte Folded Reload
	bl	_MemoryContextAllocZero
	mov	x22, x0
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x22, w23, sxtw #4
	str	w20, [x8]
	str	xzr, [x8, #8]
	add	w23, w23, #1
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x27, #32]
	cbz	x8, LBB0_3
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh53:
	adrp	x8, _Anum_pg_attribute_attmissingval@GOTPAGE
Lloh54:
	ldr	x8, [x8, _Anum_pg_attribute_attmissingval@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x2, [x8]
	add	x3, sp, #44
	mov	x0, x26
	bl	_heap_getattr
	ldr	w8, [sp, #44]
	cbnz	w8, LBB0_3
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, x0
	mov	w8, #1
	str	w8, [sp, #36]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cbnz	x8, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh56:
	adrp	x8, _CacheMemoryContext@GOTPAGE
Lloh57:
	ldr	x8, [x8, _CacheMemoryContext@GOTPAGEOFF]
Lloh58:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	lsl	w1, w8, #3
	bl	_MemoryContextAllocZero
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	w4, w5, [x27, #16]
	ldr	w6, [x27, #24]
	add	x2, sp, #36
	add	x7, sp, #40
	mov	x0, x26
	mov	w1, #1
	mov	w3, #-1
	bl	_array_get_element
	mov	x26, x0
	ldr	w8, [sp, #40]
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
	ldr	w8, [x27, #20]
	cbz	w8, LBB0_1
; %bb.22:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x27, [sp, #8]                   ; 8-byte Folded Reload
	add	x8, x27, x28, lsl #3
	str	w26, [x8, #4]
	b	LBB0_2
LBB0_23:
	mov	x0, x25
	bl	_systable_endscan
Lloh59:
	adrp	x8, _AccessShareLock@GOTPAGE
Lloh60:
	ldr	x8, [x8, _AccessShareLock@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x8]
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	bl	_table_close
	cbz	w24, LBB0_25
; %bb.24:
Lloh62:
	adrp	x8, _ERROR@GOTPAGE
Lloh63:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh64:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_RelationGetRelid
	mov	x3, x0
Lloh65:
	adrp	x1, l_.str.1@PAGE
Lloh66:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	ldr	x21, [sp, #24]                  ; 8-byte Folded Reload
	mov	x2, x24
	bl	_elog
LBB0_25:
	mov	x0, x19
	bl	_RelationGetNumberOfAttributes
	cmp	w0, #1
	b.lt	LBB0_27
; %bb.26:
	ldr	x0, [x19]
	mov	w1, #0
	bl	_TupleDescAttr
	str	wzr, [x0]
LBB0_27:
	ldr	w8, [x21]
	ldr	x20, [sp, #8]                   ; 8-byte Folded Reload
	cbnz	w8, LBB0_31
; %bb.28:
	cmp	w23, #0
	b.gt	LBB0_31
; %bb.29:
	cbnz	x20, LBB0_31
; %bb.30:
	ldr	x8, [x19, #8]
	ldr	w8, [x8, #4]
	cbz	w8, LBB0_39
LBB0_31:
	ldr	x8, [x19]
	str	x21, [x8, #8]
	cmp	w23, #1
	b.lt	LBB0_35
; %bb.32:
	mov	x0, x19
	bl	_RelationGetNumberOfAttributes
	cmp	w23, w0
	b.ge	LBB0_34
; %bb.33:
	lsl	w1, w23, #4
	mov	x0, x22
	bl	_repalloc
	mov	x22, x0
LBB0_34:
	str	x22, [x21, #32]
	str	w23, [x21, #8]
	mov	x0, x19
	bl	_AttrDefaultFetch
	b	LBB0_36
LBB0_35:
	str	wzr, [x21, #8]
LBB0_36:
	str	x20, [x21, #24]
	ldr	x8, [x19, #8]
	ldr	w8, [x8, #4]
	cmp	w8, #1
	b.lt	LBB0_38
; %bb.37:
	str	w8, [x21, #12]
Lloh67:
	adrp	x9, _CacheMemoryContext@GOTPAGE
Lloh68:
	ldr	x9, [x9, _CacheMemoryContext@GOTPAGEOFF]
Lloh69:
	ldr	w0, [x9]
	lsl	w1, w8, #2
	bl	_MemoryContextAllocZero
	str	x0, [x21, #16]
	mov	x0, x19
	bl	_CheckConstraintFetch
	b	LBB0_40
LBB0_38:
	str	wzr, [x21, #12]
	b	LBB0_40
LBB0_39:
	mov	x0, x21
	bl	_pfree
	ldr	x8, [x19]
	str	xzr, [x8, #8]
LBB0_40:
	ldr	x8, [sp, #56]
Lloh70:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh71:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh72:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_42
; %bb.41:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_42:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.cfi_endproc
                                        ; -- End function
	.comm	_CacheMemoryContext,4,2         ; @CacheMemoryContext
	.comm	_Anum_pg_attribute_attrelid,4,2 ; @Anum_pg_attribute_attrelid
	.comm	_BTEqualStrategyNumber,4,2      ; @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ; @F_OIDEQ
	.comm	_Anum_pg_attribute_attnum,4,2   ; @Anum_pg_attribute_attnum
	.comm	_BTGreaterStrategyNumber,4,2    ; @BTGreaterStrategyNumber
	.comm	_F_INT2GT,4,2                   ; @F_INT2GT
	.comm	_AttributeRelationId,4,2        ; @AttributeRelationId
	.comm	_AccessShareLock,4,2            ; @AccessShareLock
	.comm	_AttributeRelidNumIndexId,4,2   ; @AttributeRelidNumIndexId
	.comm	_criticalRelcachesBuilt,4,2     ; @criticalRelcachesBuilt
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid attribute number %d for %s"

	.comm	_ATTRIBUTE_FIXED_PART_SIZE,4,2  ; @ATTRIBUTE_FIXED_PART_SIZE
	.comm	_ATTRIBUTE_GENERATED_STORED,8,3 ; @ATTRIBUTE_GENERATED_STORED
	.comm	_Anum_pg_attribute_attmissingval,4,2 ; @Anum_pg_attribute_attmissingval
l_.str.1:                               ; @.str.1
	.asciz	"catalog is missing %d attribute(s) for relid %u"

	.no_dead_strip	_RelationBuildTupleDesc
.subsections_via_symbols
