	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_spgFormNodeTuple               ## -- Begin function spgFormNodeTuple
	.p2align	4, 0x90
_spgFormNodeTuple:                      ## @spgFormNodeTuple
	.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, %r12d
	movq	%rdi, %r15
	movq	_SGNTHDRSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	testl	%edx, %edx
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_SpGistGetTypeSize
	addl	%eax, %r13d
LBB0_2:
	movq	_INDEX_SIZE_MASK@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	notl	%eax
	testl	%eax, %r13d
	je	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_4:
	movl	%r13d, %edi
	callq	_palloc0
	testl	%r12d, %r12d
	movq	_INDEX_NULL_MASK@GOTPCREL(%rip), %rcx
	movzwl	(%rcx), %ecx
	cmovel	%r12d, %ecx
	movq	%rax, %rbx
	orl	%r13d, %ecx
	movw	%cx, (%rax)
	leaq	4(%rax), %rdi
	callq	_ItemPointerSetInvalid
	testl	%r12d, %r12d
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_SGNTDATAPTR
	movl	%eax, %edi
	movq	%r15, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_memcpyDatum
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SGNTHDRSZ,4,2                  ## @SGNTHDRSZ
	.comm	_INDEX_SIZE_MASK,4,2            ## @INDEX_SIZE_MASK
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_PROGRAM_LIMIT_EXCEEDED,4,2 ## @ERRCODE_PROGRAM_LIMIT_EXCEEDED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"index row requires %zu bytes, maximum size is %zu"

	.comm	_INDEX_NULL_MASK,2,1            ## @INDEX_NULL_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_spgFormNodeTuple               ; -- Begin function spgFormNodeTuple
	.p2align	2
_spgFormNodeTuple:                      ; @spgFormNodeTuple
	.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	x20, x0
Lloh0:
	adrp	x8, _SGNTHDRSZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SGNTHDRSZ@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	cbnz	w2, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_SpGistGetTypeSize
	add	w22, w22, w0
LBB0_2:
Lloh3:
	adrp	x24, _INDEX_SIZE_MASK@GOTPAGE
Lloh4:
	ldr	x24, [x24, _INDEX_SIZE_MASK@GOTPAGEOFF]
	ldr	w8, [x24]
	bics	wzr, w22, w8
	b.eq	LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w23, [x8]
Lloh8:
	adrp	x8, _ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w2, [x24]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_errmsg
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
LBB0_4:
	mov	x0, x22
	bl	_palloc0
	mov	x23, x0
Lloh13:
	adrp	x8, _INDEX_NULL_MASK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _INDEX_NULL_MASK@GOTPAGEOFF]
	ldrh	w8, [x8]
	cmp	w21, #0
	csel	w8, wzr, w8, eq
	orr	w8, w8, w22
	strh	w8, [x0], #4
	bl	_ItemPointerSetInvalid
	cbnz	w21, LBB0_6
; %bb.5:
	mov	x0, x23
	bl	_SGNTDATAPTR
	mov	x1, x20
	mov	x2, x19
	bl	_memcpyDatum
LBB0_6:
	mov	x0, x23
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SGNTHDRSZ,4,2                  ; @SGNTHDRSZ
	.comm	_INDEX_SIZE_MASK,4,2            ; @INDEX_SIZE_MASK
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_PROGRAM_LIMIT_EXCEEDED,4,2 ; @ERRCODE_PROGRAM_LIMIT_EXCEEDED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"index row requires %zu bytes, maximum size is %zu"

	.comm	_INDEX_NULL_MASK,2,1            ; @INDEX_NULL_MASK
.subsections_via_symbols
