	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ginBuildCallback
_ginBuildCallback:                      ## @ginBuildCallback
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%rcx, %r13
	movq	%rdx, %r15
	movl	%esi, %r12d
	movl	8(%r9), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	16(%r14), %rax
	cmpl	$0, (%rax)
	jle	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rax), %rbx
	movl	(%r15,%rax,4), %edx
	movl	(%r13,%rax,4), %ecx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r12d, %r8d
	callq	_ginHeapTupleBulkInsert
	movq	16(%r14), %rax
	movslq	(%rax), %rcx
	movq	%rbx, %rax
	cmpq	%rcx, %rbx
	jl	LBB0_2
LBB0_3:
	movq	_maintenance_work_mem@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$10, %rax
	cmpq	%rax, (%r14)
	jl	LBB0_8
## %bb.4:
	movq	%r14, %rdi
	callq	_ginBeginBAScan
	leaq	-44(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	leaq	-48(%rbp), %r8
	movq	%r14, %rdi
	callq	_ginGetBAEntry
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%rax, %r13
	leaq	16(%r14), %r15
	leaq	12(%r14), %rbx
	leaq	-48(%rbp), %r12
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_CHECK_FOR_INTERRUPTS
	movl	-44(%rbp), %esi
	movl	-56(%rbp), %edx
	movl	-52(%rbp), %ecx
	movl	-48(%rbp), %r9d
	movq	%rbx, (%rsp)
	movq	%r15, %rdi
	movq	%r13, %r8
	callq	_ginEntryInsert
	movq	%r14, %rdi
	leaq	-44(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	movq	%r12, %r8
	callq	_ginGetBAEntry
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_6
LBB0_7:
	movl	8(%r14), %edi
	callq	_MemoryContextReset
	movq	%r14, %rdi
	callq	_ginInitBA
LBB0_8:
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_MemoryContextSwitchTo
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_maintenance_work_mem,8,3       ## @maintenance_work_mem
	.no_dead_strip	_ginBuildCallback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ginBuildCallback
_ginBuildCallback:                      ; @ginBuildCallback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x5
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	ldr	w0, [x5, #8]
	bl	_MemoryContextSwitchTo
	mov	x20, x0
	mov	x21, x19
	ldr	x8, [x21, #16]!
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x8, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x25, x8, #1
	lsl	x8, x8, #2
	ldr	w2, [x23, x8]
	ldr	w3, [x22, x8]
	mov	x0, x19
	mov	x1, x25
	mov	x4, x24
	bl	_ginHeapTupleBulkInsert
	ldr	x8, [x19, #16]
	ldrsw	x9, [x8]
	mov	x8, x25
	cmp	x25, x9
	b.lt	LBB0_2
LBB0_3:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _maintenance_work_mem@GOTPAGE
Lloh1:
	ldr	x9, [x9, _maintenance_work_mem@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9, lsl #10
	b.lt	LBB0_8
; %bb.4:
	mov	x0, x19
	bl	_ginBeginBAScan
	mov	x1, sp
	add	x2, sp, #12
	add	x3, sp, #8
	add	x4, sp, #4
	mov	x0, x19
	bl	_ginGetBAEntry
	cbz	x0, LBB0_7
; %bb.5:
	mov	x23, x0
	add	x22, x19, #12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	bl	_CHECK_FOR_INTERRUPTS
	ldp	w1, w5, [sp]
	ldp	w3, w2, [sp, #8]
	mov	x0, x21
	mov	x4, x23
	mov	x6, x22
	bl	_ginEntryInsert
	mov	x1, sp
	add	x2, sp, #12
	add	x3, sp, #8
	add	x4, sp, #4
	mov	x0, x19
	bl	_ginGetBAEntry
	mov	x23, x0
	cbnz	x0, LBB0_6
LBB0_7:
	ldr	w0, [x19, #8]
	bl	_MemoryContextReset
	mov	x0, x19
	bl	_ginInitBA
LBB0_8:
	mov	x0, x20
	bl	_MemoryContextSwitchTo
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_maintenance_work_mem,8,3       ; @maintenance_work_mem
	.no_dead_strip	_ginBuildCallback
.subsections_via_symbols
