	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hashgettuple                   ## -- Begin function hashgettuple
	.p2align	4, 0x90
_hashgettuple:                          ## @hashgettuple
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movslq	16(%rdi), %r15
	movl	$1, (%rdi)
	movl	12(%r15), %edi
	callq	_HashScanPosIsValid
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	cmpq	$0, 8(%rbx)
	je	LBB0_6
## %bb.2:
	movq	(%r15), %rax
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_MaxIndexTuplesPerPage@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$2, %edi
	callq	_palloc
	movq	%rax, (%r15)
LBB0_4:
	movslq	8(%r15), %rcx
	movq	_MaxIndexTuplesPerPage@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jge	LBB0_6
## %bb.5:
	movl	12(%r15), %edx
	leal	1(%rcx), %esi
	movl	%esi, 8(%r15)
	movl	%edx, (%rax,%rcx,4)
LBB0_6:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__hash_next                     ## TAILCALL
LBB0_7:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__hash_first                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MaxIndexTuplesPerPage,4,2      ## @MaxIndexTuplesPerPage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hashgettuple                   ; -- Begin function hashgettuple
	.p2align	2
_hashgettuple:                          ; @hashgettuple
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	ldrsw	x21, [x0, #16]
	mov	w8, #1
	str	w8, [x0]
	ldr	w0, [x21, #12]
	bl	_HashScanPosIsValid
	cbz	w0, LBB0_7
; %bb.1:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_6
; %bb.2:
	ldr	x0, [x21]
Lloh0:
	adrp	x22, _MaxIndexTuplesPerPage@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MaxIndexTuplesPerPage@GOTPAGEOFF]
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x22]
	lsl	w0, w8, #2
	bl	_palloc
	str	x0, [x21]
LBB0_4:
	ldrsw	x8, [x21, #8]
	ldr	w9, [x22]
	cmp	w8, w9
	b.ge	LBB0_6
; %bb.5:
	ldr	w9, [x21, #12]
	add	w10, w8, #1
	str	w10, [x21, #8]
	str	w9, [x0, x8, lsl #2]
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	__hash_next
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	__hash_first
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MaxIndexTuplesPerPage,4,2      ; @MaxIndexTuplesPerPage
.subsections_via_symbols
