	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gintuple_get_attrnum           ## -- Begin function gintuple_get_attrnum
	.p2align	4, 0x90
_gintuple_get_attrnum:                  ## @gintuple_get_attrnum
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 16(%rdi)
	je	LBB0_2
## %bb.1:
	movq	_FirstOffsetNumber@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_5
LBB0_2:
	movq	%rdi, %r14
	movq	_FirstOffsetNumber@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	8(%rdi), %rcx
	movl	(%rcx), %edx
	leaq	-28(%rbp), %rcx
	movl	%esi, %edi
	movq	%rax, %rsi
	callq	_index_getattr
	movl	%eax, %ebx
	xorl	%edi, %edi
	cmpl	$0, -28(%rbp)
	sete	%dil
	callq	_Assert
	movl	%ebx, %edi
	callq	_DatumGetUInt16
	movq	%rax, %rbx
	xorl	%edi, %edi
	cmpq	(%r15), %rax
	jl	LBB0_4
## %bb.3:
	movq	(%r14), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %rbx
	setle	%dil
LBB0_4:
	callq	_Assert
LBB0_5:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FirstOffsetNumber,8,3          ## @FirstOffsetNumber
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gintuple_get_attrnum           ; -- Begin function gintuple_get_attrnum
	.p2align	2
_gintuple_get_attrnum:                  ; @gintuple_get_attrnum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _FirstOffsetNumber@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FirstOffsetNumber@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	b	LBB0_6
LBB0_2:
	mov	x19, x0
Lloh3:
	adrp	x21, _FirstOffsetNumber@GOTPAGE
Lloh4:
	ldr	x21, [x21, _FirstOffsetNumber@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x9, [x0, #8]
	ldr	w2, [x9]
	add	x3, sp, #12
	mov	x0, x1
	mov	x1, x8
	bl	_index_getattr
	mov	x20, x0
	ldr	w8, [sp, #12]
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
	mov	x0, x20
	bl	_DatumGetUInt16
	mov	x20, x0
	ldr	x8, [x21]
	cmp	x0, x8
	b.ge	LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	ldr	x8, [x19]
	ldr	x8, [x8]
	cmp	x20, x8
	cset	w0, le
LBB0_5:
	bl	_Assert
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_FirstOffsetNumber,8,3          ; @FirstOffsetNumber
.subsections_via_symbols
