	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__hash_getnewbuf                ## -- Begin function _hash_getnewbuf
	.p2align	4, 0x90
__hash_getnewbuf:                       ## @_hash_getnewbuf
	.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	%edx, %r14d
	movq	%rsi, %r12
	movl	%edi, %r15d
	movl	%edx, %esi
	callq	_RelationGetNumberOfBlocksInFork
	movq	%rax, %r13
	movq	_P_NEW@GOTPCREL(%rip), %rbx
	cmpq	%r12, (%rbx)
	je	LBB0_1
## %bb.2:
	cmpq	%r12, %r13
	jl	LBB0_3
LBB0_4:
	cmpq	%r12, %r13
	jne	LBB0_8
LBB0_5:
	movq	(%rbx), %rdx
	movq	_RBM_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edi
	movl	%r14d, %esi
	xorl	%r8d, %r8d
	callq	_ReadBufferExtended
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_BufferGetBlockNumber
	cmpq	%r12, %rax
	je	LBB0_7
## %bb.6:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r15d, %edi
	callq	_BufferGetBlockNumber
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edi
	movq	%rax, %rdx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_elog
LBB0_7:
	movq	_HASH_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_LockBuffer
	jmp	LBB0_9
LBB0_1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_elog
	cmpq	%r12, %r13
	jge	LBB0_4
LBB0_3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_RelationGetRelationName
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movq	_P_NEW@GOTPCREL(%rip), %rbx
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_elog
	cmpq	%r12, %r13
	je	LBB0_5
LBB0_8:
	movq	_RBM_ZERO_AND_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edi
	movl	%r14d, %esi
	movq	%r12, %rdx
	xorl	%r8d, %r8d
	callq	_ReadBufferExtended
	movl	%eax, %r15d
LBB0_9:
	movl	%r15d, %edi
	callq	_BufferGetPage
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_BufferGetPageSize
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	__hash_pageinit
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P_NEW,8,3                      ## @P_NEW
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hash AM does not use P_NEW"

L_.str.1:                               ## @.str.1
	.asciz	"access to noncontiguous page in hash index \"%s\""

	.comm	_RBM_NORMAL,4,2                 ## @RBM_NORMAL
L_.str.2:                               ## @.str.2
	.asciz	"unexpected hash relation size: %u, should be %u"

	.comm	_HASH_WRITE,4,2                 ## @HASH_WRITE
	.comm	_RBM_ZERO_AND_LOCK,4,2          ## @RBM_ZERO_AND_LOCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__hash_getnewbuf                ; -- Begin function _hash_getnewbuf
	.p2align	2
__hash_getnewbuf:                       ; @_hash_getnewbuf
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	mov	x1, x2
	bl	_RelationGetNumberOfBlocksInFork
	mov	x22, x0
Lloh0:
	adrp	x24, _P_NEW@GOTPAGE
Lloh1:
	ldr	x24, [x24, _P_NEW@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x8, x19
	b.eq	LBB0_6
; %bb.1:
	cmp	x22, x19
	b.lt	LBB0_7
LBB0_2:
	cmp	x22, x19
	b.ne	LBB0_8
LBB0_3:
	ldr	x2, [x24]
Lloh2:
	adrp	x8, _RBM_NORMAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RBM_NORMAL@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x4, #0
	bl	_ReadBufferExtended
	mov	x20, x0
	bl	_BufferGetBlockNumber
	cmp	x0, x19
	b.eq	LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_BufferGetBlockNumber
	stp	x0, x19, [sp]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_elog
LBB0_5:
Lloh10:
	adrp	x8, _HASH_WRITE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HASH_WRITE@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_LockBuffer
	b	LBB0_9
LBB0_6:
Lloh13:
	adrp	x8, _ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	cmp	x22, x19
	b.ge	LBB0_2
LBB0_7:
Lloh18:
	adrp	x8, _ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w23, [x8]
	mov	x0, x21
	bl	_RelationGetRelationName
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_elog
	cmp	x22, x19
	b.eq	LBB0_3
LBB0_8:
Lloh23:
	adrp	x8, _RBM_ZERO_AND_LOCK@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RBM_ZERO_AND_LOCK@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x4, #0
	bl	_ReadBufferExtended
	mov	x20, x0
LBB0_9:
	mov	x0, x20
	bl	_BufferGetPage
	mov	x19, x0
	mov	x0, x20
	bl	_BufferGetPageSize
	mov	x1, x0
	mov	x0, x19
	bl	__hash_pageinit
	mov	x0, x20
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_P_NEW,8,3                      ; @P_NEW
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hash AM does not use P_NEW"

l_.str.1:                               ; @.str.1
	.asciz	"access to noncontiguous page in hash index \"%s\""

	.comm	_RBM_NORMAL,4,2                 ; @RBM_NORMAL
l_.str.2:                               ; @.str.2
	.asciz	"unexpected hash relation size: %u, should be %u"

	.comm	_HASH_WRITE,4,2                 ; @HASH_WRITE
	.comm	_RBM_ZERO_AND_LOCK,4,2          ; @RBM_ZERO_AND_LOCK
.subsections_via_symbols
