	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gistinserttuples
_gistinserttuples:                      ## @gistinserttuples
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r12d
	movq	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	12(%rdi), %edi
	movl	(%rsi), %edx
	xorl	%esi, %esi
	callq	_CheckForSerializableConflictIn
	movl	12(%rbx), %edi
	movl	8(%rbx), %esi
	movl	(%r15), %ecx
	movl	(%rbx), %eax
	movl	4(%rbx), %r10d
	subq	$8, %rsp
	leaq	-64(%rbp), %r11
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdx
	movq	%r14, %r8
	movl	16(%rbp), %r14d
	movl	%r12d, %r9d
	movl	24(%rbp), %r12d
	pushq	%rax
	pushq	%r10
	pushq	$1
	pushq	%r11
	pushq	%r14
	pushq	$0
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	callq	_gistplacetopage
	addq	$64, %rsp
	movl	%eax, %r13d
	movl	%r12d, %edi
	callq	_BufferIsValid
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%r12d, %edi
	callq	_UnlockReleaseBuffer
LBB0_2:
	movl	%r14d, %edi
	callq	_BufferIsValid
	cmpl	$0, 40(%rbp)
	je	LBB0_5
## %bb.3:
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_GIST_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_LockBuffer
LBB0_5:
	movl	32(%rbp), %r8d
	movq	-64(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_gistfinishsplit
	jmp	LBB0_9
LBB0_7:
	testl	%r8d, %r8d
	je	LBB0_9
## %bb.8:
	movl	(%r15), %edi
	movq	_GIST_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LockBuffer
LBB0_9:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GIST_UNLOCK,4,2                ## @GIST_UNLOCK
	.no_dead_strip	_gistinserttuples
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gistinserttuples
_gistinserttuples:                      ; @gistinserttuples
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x7
	mov	x22, x6
	mov	x23, x5
	mov	x25, x4
	mov	x26, x3
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	w27, [x29, #20]
	ldr	w0, [x0, #12]
	ldr	w2, [x1]
	mov	x1, #0
	bl	_CheckForSerializableConflictIn
	ldp	w1, w0, [x21, #8]
	ldr	w3, [x19]
	ldp	w9, w8, [x21]
	stp	w8, w9, [sp, #20]
	mov	w9, #1
	str	w9, [sp, #16]
	add	x8, sp, #40
	str	x8, [sp, #8]
	str	w22, [sp]
	mov	x2, x20
	mov	x4, x26
	mov	x5, x25
	mov	x6, x23
	mov	x7, #0
	bl	_gistplacetopage
	mov	x23, x0
	mov	x0, x24
	bl	_BufferIsValid
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x24
	bl	_UnlockReleaseBuffer
LBB0_2:
	mov	x0, x22
	bl	_BufferIsValid
	cbz	w27, LBB0_5
; %bb.3:
	cbz	x0, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _GIST_UNLOCK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GIST_UNLOCK@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_LockBuffer
LBB0_5:
	ldr	w4, [x29, #16]
	ldr	x3, [sp, #40]
	cbz	x3, LBB0_7
; %bb.6:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_gistfinishsplit
	b	LBB0_9
LBB0_7:
	cbz	w4, LBB0_9
; %bb.8:
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _GIST_UNLOCK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GIST_UNLOCK@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_LockBuffer
LBB0_9:
	mov	x0, x23
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GIST_UNLOCK,4,2                ; @GIST_UNLOCK
	.no_dead_strip	_gistinserttuples
.subsections_via_symbols
