	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ginReadTuple                   ## -- Begin function ginReadTuple
	.p2align	4, 0x90
_ginReadTuple:                          ## @ginReadTuple
	.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, %r14
	movl	%edx, %ebx
	movl	%edx, %edi
	callq	_GinGetPosting
	movq	%rax, %r12
	movl	%ebx, %edi
	callq	_GinGetNPosting
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_GinItupIsCompressed
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	testl	%r15d, %r15d
	jle	LBB0_4
## %bb.2:
	leaq	-44(%rbp), %rsi
	movq	%r12, %rdi
	callq	_ginPostingListDecode
	movq	%rax, %r13
	movl	-44(%rbp), %ecx
	cmpl	%ecx, %r15d
	je	LBB0_6
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	callq	_elog
	jmp	LBB0_6
LBB0_5:
	movl	%r15d, %ebx
	shll	$2, %ebx
	movl	%ebx, %edi
	callq	_palloc
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	jmp	LBB0_6
LBB0_4:
	xorl	%edi, %edi
	callq	_palloc
	movq	%rax, %r13
LBB0_6:
	movl	%r15d, (%r14)
	movq	%r13, %rax
	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	"number of items mismatch in GIN entry tuple, %d in tuple header, %d decoded"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ginReadTuple                   ; -- Begin function ginReadTuple
	.p2align	2
_ginReadTuple:                          ; @ginReadTuple
	.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	x19, x3
	mov	x21, x2
	mov	x0, x2
	bl	_GinGetPosting
	mov	x22, x0
	mov	x0, x21
	bl	_GinGetNPosting
	mov	x20, x0
	mov	x0, x21
	bl	_GinItupIsCompressed
	cbz	x0, LBB0_4
; %bb.1:
	cmp	w20, #1
	b.lt	LBB0_5
; %bb.2:
	add	x1, sp, #12
	mov	x0, x22
	bl	_ginPostingListDecode
	mov	x21, x0
	ldr	w3, [sp, #12]
	cmp	w20, w3
	b.eq	LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_elog
	b	LBB0_6
LBB0_4:
	lsl	w23, w20, #2
	mov	x0, x23
	bl	_palloc
	mov	x21, x0
	mov	x1, x22
	mov	x2, x23
	bl	_memcpy
	b	LBB0_6
LBB0_5:
	mov	w0, #0
	bl	_palloc
	mov	x21, x0
LBB0_6:
	str	w20, [x19]
	mov	x0, x21
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"number of items mismatch in GIN entry tuple, %d in tuple header, %d decoded"

.subsections_via_symbols
