	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function readtup_cluster
_readtup_cluster:                       ## @readtup_cluster
	.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	$24, %rsp
	.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, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movl	%ecx, -44(%rbp)
	addl	$-8, %ebx
	movq	_HEAPTUPLESIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	addl	%ebx, %esi
	callq	_readtup_alloc
	movslq	%eax, %r13
	movslq	(%r14), %rax
	addq	%r13, %rax
	movq	%rax, (%r13)
	movl	%ebx, 8(%r13)
	movl	16(%r15), %edi
	leaq	12(%r13), %rdx
	movl	%r12d, %esi
	movl	$4, %ecx
	callq	_LogicalTapeReadExact
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r13)
	movl	16(%r15), %edi
	movq	(%r13), %rdx
	movl	8(%r13), %ecx
	movl	%r12d, %esi
	callq	_LogicalTapeReadExact
	cmpq	$0, 24(%r15)
	je	LBB0_2
## %bb.1:
	movl	16(%r15), %edi
	leaq	-44(%rbp), %rdx
	movl	%r12d, %esi
	movl	$4, %ecx
	callq	_LogicalTapeReadExact
LBB0_2:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%r13, 8(%rbx)
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	je	LBB0_4
## %bb.3:
	movl	(%r15), %edx
	movq	%r13, %rdi
	movq	%rbx, %rcx
	callq	_heap_getattr
	movl	%eax, 4(%rbx)
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HEAPTUPLESIZE,4,2              ## @HEAPTUPLESIZE
	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.no_dead_strip	_readtup_cluster
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function readtup_cluster
_readtup_cluster:                       ; @readtup_cluster
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	str	w3, [sp, #12]
	sub	w23, w3, #8
Lloh0:
	adrp	x24, _HEAPTUPLESIZE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _HEAPTUPLESIZE@GOTPAGEOFF]
	ldr	w8, [x24]
	add	w1, w8, w23
	bl	_readtup_alloc
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x22, w0
	ldrsw	x8, [x24]
	add	x8, x22, x8
	str	x8, [x22]
	str	w23, [x22, #8]
	ldr	w0, [x20, #16]
	add	x2, x22, #12
	mov	x1, x21
	mov	w3, #4
	bl	_LogicalTapeReadExact
Lloh2:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh3:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x22, #16]
	ldr	w0, [x20, #16]
	ldr	x2, [x22]
	ldr	w3, [x22, #8]
	mov	x1, x21
	bl	_LogicalTapeReadExact
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x20, #16]
	add	x2, sp, #12
	mov	x1, x21
	mov	w3, #4
	bl	_LogicalTapeReadExact
LBB0_2:
	str	x22, [x19, #8]
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	w1, [x8]
	cbz	w1, LBB0_4
; %bb.3:
	ldr	w2, [x20]
	mov	x0, x22
	mov	x3, x19
	bl	_heap_getattr
	str	w0, [x19, #4]
LBB0_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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HEAPTUPLESIZE,4,2              ; @HEAPTUPLESIZE
	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.no_dead_strip	_readtup_cluster
.subsections_via_symbols
