	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SPI_fname                      ## -- Begin function SPI_fname
	.p2align	4, 0x90
_SPI_fname:                             ## @SPI_fname
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SPI_result@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	testl	%esi, %esi
	je	LBB0_7
## %bb.1:
	cmpl	%esi, (%rdi)
	jl	LBB0_7
## %bb.2:
	movq	_FirstLowInvalidHeapAttributeNumber@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	jge	LBB0_7
## %bb.3:
	testl	%esi, %esi
	jle	LBB0_5
## %bb.4:
	decl	%esi
	callq	_TupleDescAttr
	jmp	LBB0_6
LBB0_7:
	movq	_SPI_ERROR_NOATTRIBUTE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_5:
	movl	%esi, %edi
	callq	_SystemAttributeDefinition
LBB0_6:
	movl	(%rax), %edi
	callq	_NameStr
	movl	%eax, %edi
	popq	%rbp
	jmp	_pstrdup                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SPI_result,8,3                 ## @SPI_result
	.comm	_FirstLowInvalidHeapAttributeNumber,4,2 ## @FirstLowInvalidHeapAttributeNumber
	.comm	_SPI_ERROR_NOATTRIBUTE,8,3      ## @SPI_ERROR_NOATTRIBUTE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SPI_fname                      ; -- Begin function SPI_fname
	.p2align	2
_SPI_fname:                             ; @SPI_fname
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _SPI_result@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPI_result@GOTPAGEOFF]
	str	xzr, [x8]
	cbz	w1, LBB0_4
; %bb.1:
	ldr	w9, [x0]
Lloh2:
	adrp	x10, _FirstLowInvalidHeapAttributeNumber@GOTPAGE
Lloh3:
	ldr	x10, [x10, _FirstLowInvalidHeapAttributeNumber@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	cmp	w9, w1
	ccmp	w10, w1, #0, ge
	b.ge	LBB0_4
; %bb.2:
	subs	w8, w1, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x1, x8
	bl	_TupleDescAttr
	b	LBB0_6
LBB0_4:
Lloh5:
	adrp	x9, _SPI_ERROR_NOATTRIBUTE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SPI_ERROR_NOATTRIBUTE@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	str	x9, [x8]
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x1
	bl	_SystemAttributeDefinition
LBB0_6:
	ldr	w0, [x0]
	bl	_NameStr
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_pstrdup
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SPI_result,8,3                 ; @SPI_result
	.comm	_FirstLowInvalidHeapAttributeNumber,4,2 ; @FirstLowInvalidHeapAttributeNumber
	.comm	_SPI_ERROR_NOATTRIBUTE,8,3      ; @SPI_ERROR_NOATTRIBUTE
.subsections_via_symbols
