	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function calculatePagesPerBuffer
LCPI0_0:
	.long	1127219200                      ## 0x43300000
	.long	1160773632                      ## 0x45300000
	.long	0                               ## 0x0
	.long	0                               ## 0x0
LCPI0_1:
	.quad	0x4330000000000000              ## double 4503599627370496
	.quad	0x4530000000000000              ## double 1.9342813113834067E+25
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_calculatePagesPerBuffer:               ## @calculatePagesPerBuffer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_BLCKSZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	_SizeOfPageHeaderData@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	subq	%rcx, %rax
	movslq	(%rdi), %rcx
	subq	%rcx, %rax
	addq	$-8, %rax
	movq	%rax, %xmm1
	punpckldq	LCPI0_0(%rip), %xmm1    ## xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
	subpd	LCPI0_1(%rip), %xmm1
	movapd	%xmm1, %xmm0
	unpckhpd	%xmm1, %xmm0                    ## xmm0 = xmm0[1],xmm1[1]
	addsd	%xmm1, %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2sdq	16(%rdi), %xmm1
	cvtsi2sdq	8(%rdi), %xmm2
	divsd	%xmm2, %xmm1
	divsd	%xmm1, %xmm0
	movl	%esi, %edi
	callq	_pow
	addl	%eax, %eax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	popq	%rbp
	jmp	_rint                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BLCKSZ,4,2                     ## @BLCKSZ
	.comm	_SizeOfPageHeaderData,4,2       ## @SizeOfPageHeaderData
	.no_dead_strip	_calculatePagesPerBuffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calculatePagesPerBuffer
_calculatePagesPerBuffer:               ; @calculatePagesPerBuffer
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _BLCKSZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BLCKSZ@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
Lloh3:
	adrp	x9, _SizeOfPageHeaderData@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SizeOfPageHeaderData@GOTPAGEOFF]
Lloh5:
	ldrsw	x9, [x9]
	ldrsw	x10, [x0]
	sub	x8, x8, x9
	sub	x8, x8, x10
	sub	x8, x8, #8
	ucvtf	d0, x8
	ldp	d2, d1, [x0, #8]
	scvtf	d1, d1
	scvtf	d2, d2
	fdiv	d1, d1, d2
	fdiv	d0, d0, d1
	mov	x0, x1
	bl	_pow
	lsl	w8, w0, #1
	scvtf	d0, w8
	bl	_rint
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BLCKSZ,4,2                     ; @BLCKSZ
	.comm	_SizeOfPageHeaderData,4,2       ; @SizeOfPageHeaderData
	.no_dead_strip	_calculatePagesPerBuffer
.subsections_via_symbols
