	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function readtup_index
_readtup_index:                         ## @readtup_index
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %r13
	addl	$-4, %ebx
	movl	%ebx, -44(%rbp)
	movl	%ebx, %esi
	callq	_readtup_alloc
	movslq	%eax, %r15
	movl	4(%r13), %edi
	movl	%r12d, %esi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	callq	_LogicalTapeReadExact
	cmpq	$0, 8(%r13)
	je	LBB0_2
## %bb.1:
	movl	4(%r13), %edi
	leaq	-44(%rbp), %rdx
	movl	%r12d, %esi
	movl	$4, %ecx
	callq	_LogicalTapeReadExact
LBB0_2:
	movq	%r15, 8(%r14)
	movl	(%r13), %edi
	callq	_RelationGetDescr
	movq	%r15, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	movq	%r14, %rcx
	callq	_index_getattr
	movl	%eax, 4(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_readtup_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function readtup_index
_readtup_index:                         ; @readtup_index
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	sub	w23, w3, #4
	str	w23, [sp, #12]
	mov	x1, x23
	bl	_readtup_alloc
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x21, w0
	ldr	w0, [x20, #4]
	mov	x1, x22
	mov	x2, x21
	mov	x3, x23
	bl	_LogicalTapeReadExact
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x20, #4]
	add	x2, sp, #12
	mov	x1, x22
	mov	w3, #4
	bl	_LogicalTapeReadExact
LBB0_2:
	str	x21, [x19, #8]
	ldr	w0, [x20]
	bl	_RelationGetDescr
	mov	x2, x0
	mov	x0, x21
	mov	w1, #1
	mov	x3, x19
	bl	_index_getattr
	str	w0, [x19, #4]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_readtup_index
.subsections_via_symbols
