	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__hash_pgaddtup                 ## -- Begin function _hash_pgaddtup
	.p2align	4, 0x90
__hash_pgaddtup:                        ## @_hash_pgaddtup
	.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
	movq	%rcx, %r12
	movl	%edx, %r14d
	movl	%esi, %ebx
	movl	%edi, %r15d
	movq	_LH_BUCKET_PAGE@GOTPCREL(%rip), %rax
	movq	_LH_OVERFLOW_PAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	callq	__hash_checkpage
	movl	%ebx, %edi
	callq	_BufferGetPage
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	__hash_get_indextuple_hashkey
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	__hash_binsearch
	movl	%eax, %r13d
	movl	%ebx, %edi
	movl	%r12d, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_PageAddItem
	movq	_InvalidOffsetNumber@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_RelationGetRelationName
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_elog
LBB0_2:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LH_BUCKET_PAGE,4,2             ## @LH_BUCKET_PAGE
	.comm	_LH_OVERFLOW_PAGE,4,2           ## @LH_OVERFLOW_PAGE
	.comm	_InvalidOffsetNumber,8,3        ## @InvalidOffsetNumber
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to add index item to \"%s\""

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__hash_pgaddtup                 ; -- Begin function _hash_pgaddtup
	.p2align	2
__hash_pgaddtup:                        ; @_hash_pgaddtup
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _LH_BUCKET_PAGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LH_BUCKET_PAGE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _LH_OVERFLOW_PAGE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LH_OVERFLOW_PAGE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	__hash_checkpage
	mov	x0, x20
	bl	_BufferGetPage
	mov	x23, x0
	mov	x0, x21
	bl	__hash_get_indextuple_hashkey
	mov	x1, x0
	mov	x0, x23
	bl	__hash_binsearch
	mov	x20, x0
	mov	x0, x23
	mov	x1, x21
	mov	x2, x22
	mov	x3, x20
	mov	w4, #0
	mov	w5, #0
	bl	_PageAddItem
Lloh6:
	adrp	x8, _InvalidOffsetNumber@GOTPAGE
Lloh7:
	ldr	x8, [x8, _InvalidOffsetNumber@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_RelationGetRelationName
	mov	x2, x0
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_elog
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_LH_BUCKET_PAGE,4,2             ; @LH_BUCKET_PAGE
	.comm	_LH_OVERFLOW_PAGE,4,2           ; @LH_OVERFLOW_PAGE
	.comm	_InvalidOffsetNumber,8,3        ; @InvalidOffsetNumber
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to add index item to \"%s\""

.subsections_via_symbols
