	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function makeSublist
_makeSublist:                           ## @makeSublist
	.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	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%edx, %r14d
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movq	_InvalidBuffer@GOTPCREL(%rip), %r15
	movq	(%r15), %rbx
	xorl	%edi, %edi
	testl	%edx, %edx
	setg	%dil
	callq	_Assert
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	testl	%r14d, %r14d
	jle	LBB0_1
## %bb.2:
	movq	(%r15), %rax
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	movq	%rbx, %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %r15
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r13d, %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %edi
	callq	_IndexTupleSize
	movl	%eax, %edi
	callq	_MAXALIGN
                                        ## kill: def $eax killed $eax def $rax
	leal	(%r12,%rax), %ecx
	addl	$4, %ecx
	xorl	%edx, %edx
	movq	_GinListPageSize@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	movq	_InvalidBuffer@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmovgl	%r12d, %ecx
	cmovgq	%rax, %rbx
	setg	%dl
	negl	%edx
	addl	%edx, %r13d
	incl	%r13d
	movl	%ecx, %r12d
	movq	%r15, %r14
	cmpl	-56(%rbp), %r13d                ## 4-byte Folded Reload
	jge	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, %rbx
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	callq	_GinNewBuffer
	movq	%rax, %r15
	movq	_InvalidBuffer@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_BufferGetBlockNumber
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 24(%rcx)
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	incl	4(%rax)
	movslq	-48(%rbp), %rax                 ## 4-byte Folded Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%r13d, %r12d
	subl	%eax, %r12d
	movq	%r15, %rdi
	callq	_BufferGetBlockNumber
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%r12d, %ecx
	movq	%rax, %r8
	callq	_writeListPage
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r12d, %r12d
	movq	%r15, %rbx
	movl	%r13d, %eax
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	jmp	LBB0_9
LBB0_1:
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_10:
	movq	%rbx, %rdi
	callq	_BufferGetBlockNumber
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%rax, 16(%r14)
	movslq	-48(%rbp), %rax                 ## 4-byte Folded Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rdx
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	subl	%eax, %ecx
	movq	_InvalidBlockNumber@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, %rsi
	callq	_writeListPage
	movl	%eax, 8(%r14)
	incl	4(%r14)
	movl	$1, (%r14)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidBuffer,8,3              ## @InvalidBuffer
	.comm	_GinListPageSize,4,2            ## @GinListPageSize
	.comm	_InvalidBlockNumber,8,3         ## @InvalidBlockNumber
	.no_dead_strip	_makeSublist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function makeSublist
_makeSublist:                           ; @makeSublist
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x3
	mov	x21, x2
	mov	x22, x1
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
Lloh0:
	adrp	x27, _InvalidBuffer@GOTPAGE
Lloh1:
	ldr	x27, [x27, _InvalidBuffer@GOTPAGEOFF]
	ldr	x23, [x27]
	cmp	w2, #0
	cset	w0, gt
	bl	_Assert
	cmp	w21, #1
	b.lt	LBB0_9
; %bb.1:
	mov	w26, #0
	mov	w20, #0
	mov	w28, #0
	ldr	x8, [x27]
	mov	x25, x23
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x25
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x22, w28, sxtw #2]
	bl	_IndexTupleSize
	bl	_MAXALIGN
	add	w8, w20, w0
	add	w8, w8, #4
Lloh2:
	adrp	x9, _GinListPageSize@GOTPAGE
Lloh3:
	ldr	x9, [x9, _GinListPageSize@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	w20, w20, w8, gt
	cset	w9, gt
	ldr	x8, [x27]
	csel	x23, x8, x23, gt
	sub	w9, w28, w9
	add	w28, w9, #1
	mov	x25, x24
	cmp	w28, w21
	b.ge	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x23, x8
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w20, [sp, #12]                  ; 4-byte Folded Reload
	mov	x0, x20
	bl	_GinNewBuffer
	mov	x24, x0
	ldr	x8, [x27]
	cmp	x25, x8
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	bl	_BufferGetBlockNumber
	mov	w20, #0
	str	x0, [x19, #24]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	add	x23, x22, w26, sxtw #2
	sub	w26, w28, w26
	mov	x0, x24
	bl	_BufferGetBlockNumber
	mov	x4, x0
	mov	x0, x20
	mov	x1, x25
	mov	x2, x23
	mov	x3, x26
	bl	_writeListPage
	mov	w20, #0
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x24
	mov	x26, x28
	b	LBB0_3
LBB0_9:
	mov	w26, #0
LBB0_10:
	mov	x0, x23
	bl	_BufferGetBlockNumber
	str	x0, [x19, #16]
	add	x2, x22, w26, sxtw #2
	sub	w3, w21, w26
Lloh5:
	adrp	x8, _InvalidBlockNumber@GOTPAGE
Lloh6:
	ldr	x8, [x8, _InvalidBlockNumber@GOTPAGEOFF]
Lloh7:
	ldr	x4, [x8]
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	mov	x1, x23
	bl	_writeListPage
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	mov	w9, #1
	stp	w8, w0, [x19, #4]
	str	w9, [x19]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidBuffer,8,3              ; @InvalidBuffer
	.comm	_GinListPageSize,4,2            ; @GinListPageSize
	.comm	_InvalidBlockNumber,8,3         ; @InvalidBlockNumber
	.no_dead_strip	_makeSublist
.subsections_via_symbols
