	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function XLOGfileslop
LCPI0_0:
	.quad	0xbff0000000000000              ## double -1
LCPI0_1:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_2:
	.quad	0x3ff199999999999a              ## double 1.1000000000000001
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_XLOGfileslop:                          ## @XLOGfileslop
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movapd	%xmm0, %xmm1
	movsd	%xmm0, -40(%rbp)                ## 8-byte Spill
	movq	_wal_segment_size@GOTPCREL(%rip), %r14
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	divsd	%xmm0, %xmm1
	movsd	%xmm1, -32(%rbp)                ## 8-byte Spill
	movq	_min_wal_size_mb@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ConvertToXSegs
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	addsd	-32(%rbp), %xmm0                ## 8-byte Folded Reload
	addsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %r15
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movsd	-40(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	movsd	%xmm1, -32(%rbp)                ## 8-byte Spill
	movq	_max_wal_size_mb@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ConvertToXSegs
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	addsd	-32(%rbp), %xmm0                ## 8-byte Folded Reload
	addsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %rbx
	movq	_CheckPointCompletionTarget@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	addsd	LCPI0_1(%rip), %xmm0
	movq	_CheckPointDistanceEstimate@GOTPCREL(%rip), %rax
	mulsd	(%rax), %xmm0
	mulsd	LCPI0_2(%rip), %xmm0
	addsd	-40(%rbp), %xmm0                ## 8-byte Folded Reload
	divsd	(%r14), %xmm0
	callq	_ceil
	cmpq	%r15, %rax
	cmovleq	%r15, %rax
	cmpq	%rbx, %rax
	cmovgeq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wal_segment_size,8,3           ## @wal_segment_size
	.comm	_min_wal_size_mb,4,2            ## @min_wal_size_mb
	.comm	_max_wal_size_mb,4,2            ## @max_wal_size_mb
	.comm	_CheckPointCompletionTarget,8,3 ## @CheckPointCompletionTarget
	.comm	_CheckPointDistanceEstimate,8,3 ## @CheckPointDistanceEstimate
	.no_dead_strip	_XLOGfileslop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function XLOGfileslop
_XLOGfileslop:                          ; @XLOGfileslop
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 b8, -56
	.cfi_offset b9, -64
	.cfi_offset b10, -72
	.cfi_offset b11, -80
	fmov	d8, d0
Lloh0:
	adrp	x19, _wal_segment_size@GOTPAGE
Lloh1:
	ldr	x19, [x19, _wal_segment_size@GOTPAGEOFF]
	ldr	d0, [x19]
	fdiv	d9, d8, d0
Lloh2:
	adrp	x8, _min_wal_size_mb@GOTPAGE
Lloh3:
	ldr	x8, [x8, _min_wal_size_mb@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_ConvertToXSegs
	scvtf	d0, x0
	fadd	d0, d9, d0
	fmov	d9, #-1.00000000
	fadd	d0, d0, d9
	fcvtzs	x20, d0
	ldr	d0, [x19]
	fdiv	d10, d8, d0
Lloh5:
	adrp	x8, _max_wal_size_mb@GOTPAGE
Lloh6:
	ldr	x8, [x8, _max_wal_size_mb@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_ConvertToXSegs
	scvtf	d0, x0
	fadd	d0, d10, d0
	fadd	d0, d0, d9
	fcvtzs	x21, d0
Lloh8:
	adrp	x8, _CheckPointCompletionTarget@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CheckPointCompletionTarget@GOTPAGEOFF]
Lloh10:
	ldr	d0, [x8]
	fmov	d1, #1.00000000
	fadd	d0, d0, d1
Lloh11:
	adrp	x8, _CheckPointDistanceEstimate@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CheckPointDistanceEstimate@GOTPAGEOFF]
Lloh13:
	ldr	d1, [x8]
	fmul	d0, d0, d1
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #16369, lsl #48
	fmov	d1, x8
	fmul	d0, d0, d1
	fadd	d0, d0, d8
	ldr	d1, [x19]
	fdiv	d0, d0, d1
	bl	_ceil
	cmp	x0, x20
	csel	x8, x0, x20, gt
	cmp	x8, x21
	csel	x0, x8, x21, lt
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_wal_segment_size,8,3           ; @wal_segment_size
	.comm	_min_wal_size_mb,4,2            ; @min_wal_size_mb
	.comm	_max_wal_size_mb,4,2            ; @max_wal_size_mb
	.comm	_CheckPointCompletionTarget,8,3 ; @CheckPointCompletionTarget
	.comm	_CheckPointDistanceEstimate,8,3 ; @CheckPointDistanceEstimate
	.no_dead_strip	_XLOGfileslop
.subsections_via_symbols
