	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function finalDbSize
_finalDbSize:                           ## @finalDbSize
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	movslq	(%rdi), %rax
	imulq	$1717986919, %rax, %rbx         ## imm = 0x66666667
	movq	%rbx, %rax
	shrq	$63, %rax
	sarq	$33, %rbx
	addl	%eax, %ebx
	movl	%edx, %r13d
	subl	%esi, %r13d
	callq	_PTRMAP_PAGENO
	addl	%r13d, %eax
	addl	%ebx, %eax
	cltd
	idivl	%ebx
	addl	%r12d, %eax
	movl	%r15d, %ebx
	subl	%eax, %ebx
	movq	%r14, %rdi
	callq	_PENDING_BYTE_PAGE
	cmpl	%r15d, %eax
	jge	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_PENDING_BYTE_PAGE
	xorl	%ecx, %ecx
	cmpl	%eax, %ebx
	setl	%cl
	subl	%ecx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	decl	%ebx
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_PTRMAP_ISPAGE
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_PENDING_BYTE_PAGE
	cmpl	%eax, %ebx
	je	LBB0_4
## %bb.5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_finalDbSize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function finalDbSize
_finalDbSize:                           ; @finalDbSize
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldrsw	x8, [x0]
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #33
	add	w22, w8, w9
	sub	w23, w2, w1
	bl	_PTRMAP_PAGENO
	add	w8, w23, w0
	add	w8, w8, w22
	sdiv	w8, w8, w22
	add	w8, w8, w20
	sub	w20, w21, w8
	mov	x0, x19
	bl	_PENDING_BYTE_PAGE
	cmp	w0, w21
	b.ge	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_PENDING_BYTE_PAGE
	cmp	w20, w0
	cset	w8, lt
	sub	w20, w20, w8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w20, w20, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_PTRMAP_ISPAGE
	cbnz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_PENDING_BYTE_PAGE
	cmp	w20, w0
	b.eq	LBB0_2
; %bb.5:
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_finalDbSize
.subsections_via_symbols
