	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_rte_attribute_name         ## -- Begin function get_rte_attribute_name
	.p2align	4, 0x90
_get_rte_attribute_name:                ## @get_rte_attribute_name
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_InvalidAttrNumber@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rax
	jmp	LBB0_12
LBB0_2:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	testq	%rsi, %rsi
	jle	LBB0_7
## %bb.3:
	movq	24(%r14), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movl	(%rax), %edi
	callq	_list_length
	cmpq	%rbx, %rax
	jge	LBB0_5
LBB0_7:
	movq	(%r14), %rax
	movq	_RTE_RELATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.13:
	movl	16(%r14), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_get_attname                    ## TAILCALL
LBB0_8:
	testq	%rbx, %rbx
	jle	LBB0_11
## %bb.9:
	movq	8(%r14), %rax
	movl	4(%rax), %edi
	callq	_list_length
	cmpq	%rbx, %rax
	jge	LBB0_10
LBB0_11:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r14), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	callq	_elog
	xorl	%eax, %eax
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	24(%r14), %rax
	movl	(%rax), %edi
	jmp	LBB0_6
LBB0_10:
	movq	8(%r14), %rax
	movl	4(%rax), %edi
LBB0_6:
	decq	%rbx
	movq	%rbx, %rsi
	callq	_list_nth
	movl	%eax, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_strVal                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidAttrNumber,8,3          ## @InvalidAttrNumber
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"*"

	.comm	_RTE_RELATION,8,3               ## @RTE_RELATION
	.comm	_ERROR,4,2                      ## @ERROR
L_.str.1:                               ## @.str.1
	.asciz	"invalid attnum %d for rangetable entry %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_rte_attribute_name         ; -- Begin function get_rte_attribute_name
	.p2align	2
_get_rte_attribute_name:                ; @get_rte_attribute_name
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _InvalidAttrNumber@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidAttrNumber@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_10
LBB0_2:
	mov	x19, x1
	mov	x20, x0
	subs	x21, x1, #1
	b.lt	LBB0_5
; %bb.3:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w0, [x8]
	bl	_list_length
	cmp	x0, x19
	b.ge	LBB0_11
LBB0_5:
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _RTE_RELATION@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RTE_RELATION@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	ldr	w0, [x20, #16]
	mov	x1, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_get_attname
LBB0_7:
	subs	x21, x19, #1
	b.lt	LBB0_9
; %bb.8:
	ldr	x8, [x20, #8]
	ldr	w0, [x8, #4]
	bl	_list_length
	cmp	x0, x19
	b.ge	LBB0_12
LBB0_9:
Lloh8:
	adrp	x8, _ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	x8, [x20, #8]
	ldr	w3, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_elog
	mov	x0, #0
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldr	x8, [x20, #24]
	ldr	w0, [x8]
	b	LBB0_13
LBB0_12:
	ldr	x8, [x20, #8]
	ldr	w0, [x8, #4]
LBB0_13:
	mov	x1, x21
	bl	_list_nth
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_strVal
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidAttrNumber,8,3          ; @InvalidAttrNumber
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"*"

	.comm	_RTE_RELATION,8,3               ; @RTE_RELATION
	.comm	_ERROR,4,2                      ; @ERROR
l_.str.1:                               ; @.str.1
	.asciz	"invalid attnum %d for rangetable entry %s"

.subsections_via_symbols
