	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ginStepRight                   ## -- Begin function ginStepRight
	.p2align	4, 0x90
_ginStepRight:                          ## @ginStepRight
	.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, %r13d
	movl	%esi, %r12d
	movl	%edi, %ebx
	callq	_BufferGetPage
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_GinPageIsLeaf
	movl	%eax, %r15d
	movl	%r14d, %edi
	callq	_GinPageIsData
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r14d, %edi
	callq	_GinPageGetOpaque
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_ReadBuffer
	movl	%eax, %r12d
	movl	%eax, %edi
	movl	%r13d, %esi
	callq	_LockBuffer
	movl	%ebx, %edi
	callq	_UnlockReleaseBuffer
	movl	%r12d, %edi
	callq	_BufferGetPage
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_GinPageIsLeaf
	cmpl	%eax, %r15d
	jne	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	callq	_GinPageIsData
	cmpl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_3
LBB0_2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_3:
	movl	%ebx, %edi
	callq	_GinPageIsDeleted
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_elog
LBB0_5:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"right sibling of GIN page is of different type"

L_.str.1:                               ## @.str.1
	.asciz	"right sibling of GIN page was deleted"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ginStepRight                   ; -- Begin function ginStepRight
	.p2align	2
_ginStepRight:                          ; @ginStepRight
	.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, x2
	mov	x19, x1
	mov	x22, x0
	bl	_BufferGetPage
	mov	x23, x0
	bl	_GinPageIsLeaf
	mov	x24, x0
	mov	x0, x23
	bl	_GinPageIsData
	mov	x20, x0
	mov	x0, x23
	bl	_GinPageGetOpaque
	ldr	w1, [x0]
	mov	x0, x19
	bl	_ReadBuffer
	mov	x19, x0
	mov	x1, x21
	bl	_LockBuffer
	mov	x0, x22
	bl	_UnlockReleaseBuffer
	mov	x0, x19
	bl	_BufferGetPage
	mov	x21, x0
	bl	_GinPageIsLeaf
Lloh0:
	adrp	x22, _ERROR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ERROR@GOTPAGEOFF]
	cmp	w24, w0
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_GinPageIsData
	cmp	w20, w0
	b.eq	LBB0_3
LBB0_2:
	ldr	w0, [x22]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_3:
	mov	x0, x21
	bl	_GinPageIsDeleted
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w0, [x22]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
LBB0_5:
	mov	x0, x19
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"right sibling of GIN page is of different type"

l_.str.1:                               ; @.str.1
	.asciz	"right sibling of GIN page was deleted"

.subsections_via_symbols
