	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetAttributeByName             ## -- Begin function GetAttributeByName
	.p2align	4, 0x90
_GetAttributeByName:                    ## @GetAttributeByName
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	testq	%r14, %r14
	je	LBB0_3
LBB0_4:
	testq	%r15, %r15
	je	LBB0_5
LBB0_6:
	movq	%r15, %rdi
	callq	_HeapTupleHeaderGetTypeId
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_HeapTupleHeaderGetTypMod
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_lookup_rowtype_tupdesc
	movq	%rax, %rbx
	movq	_InvalidAttrNumber@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	cmpl	$0, (%rbx)
	jle	LBB0_13
## %bb.7:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_TupleDescAttr
	movq	%rax, %r13
	leaq	8(%rax), %rdi
	movq	%r12, %rsi
	callq	_namestrcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	incl	%r14d
	cmpl	(%rbx), %r14d
	jl	LBB0_8
## %bb.10:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_elog
	testq	%r14, %r14
	jne	LBB0_4
LBB0_3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_elog
	testq	%r15, %r15
	jne	LBB0_6
LBB0_5:
	movl	$1, (%r14)
	xorl	%r14d, %r14d
	jmp	LBB0_16
LBB0_11:
	movq	(%r13), %r13
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_12:
	movq	_InvalidAttrNumber@GOTPCREL(%rip), %rax
LBB0_13:
	cmpq	(%rax), %r13
	jne	LBB0_15
## %bb.14:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_elog
LBB0_15:
	movq	%r15, %rdi
	callq	_HeapTupleHeaderGetDatumLength
	movl	%eax, -64(%rbp)
	leaq	-68(%rbp), %rdi
	callq	_ItemPointerSetInvalid
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	%r15, -80(%rbp)
	leaq	-80(%rbp), %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_heap_getattr
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_ReleaseTupleDesc
LBB0_16:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid attribute name"

L_.str.1:                               ## @.str.1
	.asciz	"a NULL isNull pointer was passed"

	.comm	_InvalidAttrNumber,8,3          ## @InvalidAttrNumber
L_.str.2:                               ## @.str.2
	.asciz	"attribute \"%s\" does not exist"

	.comm	_InvalidOid,4,2                 ## @InvalidOid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetAttributeByName             ; -- Begin function GetAttributeByName
	.p2align	2
_GetAttributeByName:                    ; @GetAttributeByName
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	cbz	x1, LBB0_7
; %bb.1:
	cbz	x19, LBB0_8
LBB0_2:
	cbz	x20, LBB0_9
LBB0_3:
	mov	x0, x20
	bl	_HeapTupleHeaderGetTypeId
	mov	x22, x0
	mov	x0, x20
	bl	_HeapTupleHeaderGetTypMod
	mov	x1, x0
	mov	x0, x22
	bl	_lookup_rowtype_tupdesc
	mov	x22, x0
Lloh0:
	adrp	x26, _InvalidAttrNumber@GOTPAGE
Lloh1:
	ldr	x26, [x26, _InvalidAttrNumber@GOTPAGEOFF]
	ldr	x23, [x26]
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.4:
	mov	w24, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x24
	bl	_TupleDescAttr
	mov	x25, x0
	add	x0, x0, #8
	mov	x1, x21
	bl	_namestrcmp
	cbz	x0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w24, w24, #1
	ldr	w8, [x22]
	cmp	w24, w8
	b.lt	LBB0_5
	b	LBB0_11
LBB0_7:
Lloh2:
	adrp	x8, _ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	cbnz	x19, LBB0_2
LBB0_8:
Lloh7:
	adrp	x8, _ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
	cbnz	x20, LBB0_3
LBB0_9:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_14
LBB0_10:
	ldr	x23, [x25]
LBB0_11:
	ldr	x8, [x26]
	cmp	x23, x8
	b.ne	LBB0_13
; %bb.12:
Lloh12:
	adrp	x8, _ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	str	x21, [sp]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_elog
LBB0_13:
	mov	x0, x20
	bl	_HeapTupleHeaderGetDatumLength
	str	w0, [sp, #24]
	add	x8, sp, #8
	add	x0, x8, #12
	bl	_ItemPointerSetInvalid
Lloh17:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh18:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	str	x20, [sp, #8]
	add	x0, sp, #8
	mov	x1, x23
	mov	x2, x22
	mov	x3, x19
	bl	_heap_getattr
	mov	x20, x0
	mov	x0, x22
	bl	_ReleaseTupleDesc
LBB0_14:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid attribute name"

l_.str.1:                               ; @.str.1
	.asciz	"a NULL isNull pointer was passed"

	.comm	_InvalidAttrNumber,8,3          ; @InvalidAttrNumber
l_.str.2:                               ; @.str.2
	.asciz	"attribute \"%s\" does not exist"

	.comm	_InvalidOid,4,2                 ; @InvalidOid
.subsections_via_symbols
