	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__hash_first                    ## -- Begin function _hash_first
	.p2align	4, 0x90
__hash_first:                           ## @_hash_first
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %r13
	movq	32(%rdi), %r15
	movslq	24(%rdi), %r14
	movq	%r15, %rdi
	callq	_pgstat_count_index_scan
	cmpl	$0, (%r13)
	jg	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_FEATURE_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movq	16(%r13), %rbx
	xorl	%edi, %edi
	cmpl	$1, (%rbx)
	sete	%dil
	callq	_Assert
	movq	8(%rbx), %rax
	movq	_HTEqualStrategyNumber@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movq	_SK_ISNULL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, 16(%rbx)
	jne	LBB0_21
## %bb.3:
	movq	24(%rbx), %rdx
	movq	(%r15), %rax
	movl	32(%rbx), %esi
	cmpq	(%rax), %rdx
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	je	LBB0_5
## %bb.4:
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	je	LBB0_5
## %bb.6:
	movq	%r15, %rdi
	callq	__hash_datum2hashkey_type
	jmp	LBB0_7
LBB0_5:
	movq	%r15, %rdi
	callq	__hash_datum2hashkey
LBB0_7:
	movl	%eax, 56(%r14)
	movq	_HASH_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	__hash_getbucketbuf_from_hashkey
	movq	%rax, %r12
	movq	%rax, -64(%rbp)
	movq	%rax, %rdi
	callq	_BufferGetBlockNumber
	movl	8(%r13), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_PredicateLockPage
	movq	%r12, %rdi
	callq	_BufferGetPage
	movl	%eax, %ebx
	movl	%eax, -48(%rbp)
	movl	8(%r13), %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_TestForOldSnapshot
	movl	%ebx, %edi
	callq	_PageGetSpecialPointer
	movq	%r14, %rbx
	movq	%rax, %r14
	movq	%rax, -56(%rbp)
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, 48(%rbx)
	movq	%r14, %rdi
	callq	_H_BUCKET_BEING_POPULATED
	testq	%rax, %rax
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_8
## %bb.9:
	movq	%r15, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	__hash_get_oldblock_from_newbucket
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movl	%eax, %ebx
	movq	_BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_LockBuffer
	movq	_HASH_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_LH_BUCKET_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	__hash_getbuf
	movq	%rax, %rbx
	movl	8(%r13), %r14d
	movq	%rax, %rdi
	callq	_BufferGetPage
	movl	%r14d, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_TestForOldSnapshot
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %r13
	movq	%rbx, 40(%rax)
	movq	_BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_LockBuffer
	movq	_BUFFER_LOCK_SHARE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_LockBuffer
	movq	%r12, %rdi
	callq	_BufferGetPage
	movl	%eax, -48(%rbp)
	movl	%eax, %edi
	callq	_PageGetSpecialPointer
	movq	%rax, %r14
	movq	%rax, -56(%rbp)
	xorl	%edi, %edi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, (%r14)
	sete	%dil
	callq	_Assert
	movq	%r14, %rdi
	callq	_H_BUCKET_BEING_POPULATED
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%r13, %rax
	movl	$1, (%r13)
	jmp	LBB0_12
LBB0_8:
	movq	%rbx, %r13
	jmp	LBB0_12
LBB0_11:
	movq	%r13, %rbx
	movq	40(%r13), %rsi
	movq	%r15, %rdi
	callq	__hash_dropbuf
	movq	_InvalidBuffer@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r13)
LBB0_12:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_ScanDirectionIsBackward
	testq	%rax, %rax
	je	LBB0_18
## %bb.13:
	leaq	-64(%rbp), %r15
	leaq	-48(%rbp), %r12
	leaq	-56(%rbp), %rbx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	__hash_readnext
	movq	-56(%rbp), %r14
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	8(%r14), %edi
	callq	_BlockNumberIsValid
	testq	%rax, %rax
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	$0, (%r13)
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	$0, 32(%r13)
	je	LBB0_17
LBB0_18:
	movq	24(%r13), %rdi
	callq	_BufferIsInvalid
	movl	%eax, %edi
	callq	_Assert
	movq	-64(%rbp), %rax
	movq	%rax, 24(%r13)
	leaq	-64(%rbp), %rsi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	__hash_readpage
	testl	%eax, %eax
	je	LBB0_19
## %bb.20:
	movq	8(%r13), %rax
	movq	16(%r13), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, 4(%rbx)
	movl	$1, %eax
	jmp	LBB0_21
LBB0_19:
	xorl	%eax, %eax
LBB0_21:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ## @ERRCODE_FEATURE_NOT_SUPPORTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hash indexes do not support whole-index scans"

	.comm	_HTEqualStrategyNumber,8,3      ## @HTEqualStrategyNumber
	.comm	_SK_ISNULL,4,2                  ## @SK_ISNULL
	.comm	_InvalidOid,8,3                 ## @InvalidOid
	.comm	_HASH_READ,4,2                  ## @HASH_READ
	.comm	_BUFFER_LOCK_UNLOCK,4,2         ## @BUFFER_LOCK_UNLOCK
	.comm	_LH_BUCKET_PAGE,4,2             ## @LH_BUCKET_PAGE
	.comm	_BUFFER_LOCK_SHARE,4,2          ## @BUFFER_LOCK_SHARE
	.comm	_InvalidBuffer,8,3              ## @InvalidBuffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__hash_first                    ; -- Begin function _hash_first
	.p2align	2
__hash_first:                           ; @_hash_first
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	ldr	x21, [x0, #32]
	ldrsw	x26, [x0, #24]
	mov	x0, x21
	bl	_pgstat_count_index_scan
	ldr	w8, [x19]
	cmp	w8, #0
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
Lloh3:
	adrp	x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_errcode
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_2:
	ldr	x22, [x19, #16]
	ldr	w8, [x22]
	cmp	w8, #1
	cset	w0, eq
	bl	_Assert
	ldr	x8, [x22, #8]
Lloh8:
	adrp	x9, _HTEqualStrategyNumber@GOTPAGE
Lloh9:
	ldr	x9, [x9, _HTEqualStrategyNumber@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	ldr	w8, [x22, #16]
Lloh11:
	adrp	x9, _SK_ISNULL@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SK_ISNULL@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_18
LBB0_4:
	ldr	x2, [x22, #24]
	ldr	x8, [x21]
	ldr	x8, [x8]
Lloh14:
	adrp	x9, _InvalidOid@GOTPAGE
Lloh15:
	ldr	x9, [x9, _InvalidOid@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	ldr	w1, [x22, #32]
	cmp	x2, x8
	mov	x0, x21
	ccmp	x2, x9, #4, ne
	b.ne	LBB0_6
; %bb.5:
	bl	__hash_datum2hashkey
	b	LBB0_7
LBB0_6:
	bl	__hash_datum2hashkey_type
LBB0_7:
	mov	x1, x0
	str	w0, [x26, #56]
Lloh17:
	adrp	x25, _HASH_READ@GOTPAGE
Lloh18:
	ldr	x25, [x25, _HASH_READ@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x0, x21
	mov	x3, #0
	bl	__hash_getbucketbuf_from_hashkey
	mov	x22, x0
	str	x0, [sp, #24]
	bl	_BufferGetBlockNumber
	mov	x1, x0
	ldr	w2, [x19, #8]
	mov	x0, x21
	bl	_PredicateLockPage
	mov	x0, x22
	bl	_BufferGetPage
	mov	x23, x0
	str	w0, [sp, #20]
	ldr	w0, [x19, #8]
	mov	x1, x21
	mov	x2, x23
	bl	_TestForOldSnapshot
	mov	x0, x23
	bl	_PageGetSpecialPointer
	mov	x24, x0
	str	x0, [sp, #8]
	ldr	x23, [x0]
	str	x22, [x26, #48]
	bl	_H_BUCKET_BEING_POPULATED
	cbz	x0, LBB0_11
; %bb.8:
	mov	x0, x21
	mov	x1, x23
	bl	__hash_get_oldblock_from_newbucket
	mov	x24, x0
Lloh19:
	adrp	x27, _BUFFER_LOCK_UNLOCK@GOTPAGE
Lloh20:
	ldr	x27, [x27, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	x0, x22
	bl	_LockBuffer
	ldr	w2, [x25]
Lloh21:
	adrp	x8, _LH_BUCKET_PAGE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LH_BUCKET_PAGE@GOTPAGEOFF]
Lloh23:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x24
	bl	__hash_getbuf
	mov	x24, x0
	ldr	w25, [x19, #8]
	bl	_BufferGetPage
	mov	x2, x0
	mov	x0, x25
	mov	x1, x21
	bl	_TestForOldSnapshot
	str	x24, [x26, #40]
	ldr	w1, [x27]
	mov	x0, x24
	bl	_LockBuffer
Lloh24:
	adrp	x8, _BUFFER_LOCK_SHARE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BUFFER_LOCK_SHARE@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_LockBuffer
	mov	x0, x22
	bl	_BufferGetPage
	str	w0, [sp, #20]
	bl	_PageGetSpecialPointer
	mov	x24, x0
	str	x0, [sp, #8]
	ldr	x8, [x0]
	cmp	x8, x23
	cset	w0, eq
	bl	_Assert
	mov	x0, x24
	bl	_H_BUCKET_BEING_POPULATED
	cbz	x0, LBB0_10
; %bb.9:
	mov	w8, #1
	str	w8, [x26]
	b	LBB0_11
LBB0_10:
	ldr	x1, [x26, #40]
	mov	x0, x21
	bl	__hash_dropbuf
Lloh27:
	adrp	x8, _InvalidBuffer@GOTPAGE
Lloh28:
	ldr	x8, [x8, _InvalidBuffer@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	str	x8, [x26, #40]
LBB0_11:
	mov	x0, x20
	bl	_ScanDirectionIsBackward
	cbnz	x0, LBB0_13
	b	LBB0_16
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x1, sp, #24
	add	x2, sp, #20
	add	x3, sp, #8
	mov	x0, x19
	bl	__hash_readnext
	ldr	x24, [sp, #8]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24, #8]
	bl	_BlockNumberIsValid
	cbnz	x0, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [x26]
	cbz	w8, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [x26, #32]
	cbz	w8, LBB0_12
LBB0_16:
	ldr	x0, [x26, #24]
	bl	_BufferIsInvalid
	bl	_Assert
	ldr	x8, [sp, #24]
	str	x8, [x26, #24]
	add	x1, sp, #24
	mov	x0, x19
	mov	x2, x20
	bl	__hash_readpage
	cbz	w0, LBB0_18
; %bb.17:
	ldp	x9, x8, [x26, #8]
	ldr	w8, [x8, x9, lsl #2]
	str	w8, [x19, #4]
	mov	w0, #1
LBB0_18:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ; @ERRCODE_FEATURE_NOT_SUPPORTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hash indexes do not support whole-index scans"

	.comm	_HTEqualStrategyNumber,8,3      ; @HTEqualStrategyNumber
	.comm	_SK_ISNULL,4,2                  ; @SK_ISNULL
	.comm	_InvalidOid,8,3                 ; @InvalidOid
	.comm	_HASH_READ,4,2                  ; @HASH_READ
	.comm	_BUFFER_LOCK_UNLOCK,4,2         ; @BUFFER_LOCK_UNLOCK
	.comm	_LH_BUCKET_PAGE,4,2             ; @LH_BUCKET_PAGE
	.comm	_BUFFER_LOCK_SHARE,4,2          ; @BUFFER_LOCK_SHARE
	.comm	_InvalidBuffer,8,3              ; @InvalidBuffer
.subsections_via_symbols
