	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ram_point
_ram_point:                             ## @ram_point
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rax
	movslq	%esi, %rdi
	addq	(%rax), %rdi
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rdi, (%r8)
	movq	%rdx, (%rcx)
	testq	%r9, %r9
	je	LBB0_5
## %bb.1:
	movq	%r9, %r14
	movq	%rcx, %rbx
	movq	%rdx, %r12
	callq	_offset_in_page
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movslq	%eax, %r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r13
	subq	%r15, %r13
	movq	%r13, %rdi
	callq	_vmalloc_to_pfn
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	___pfn_to_phys
	cltq
	addq	%r15, %rax
	movq	%rax, (%r14)
	addq	%r15, %r12
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	subq	%rax, %r12
	jbe	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	%rax, %r13
	incq	%rbx
	movq	%r13, %rdi
	callq	_vmalloc_to_pfn
	cmpq	%rax, %rbx
	je	LBB0_2
## %bb.4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	subq	(%rax), %r13
	movq	%r13, (%r15)
LBB0_5:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.no_dead_strip	_ram_point
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ram_point
_ram_point:                             ; @ram_point
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x8, [x0]
	add	x0, x8, w1, sxtw
	str	x0, [x4]
	str	x2, [x3]
	cbz	x5, LBB0_5
; %bb.1:
	mov	x23, x5
	mov	x20, x4
	mov	x19, x3
	mov	x24, x2
	bl	_offset_in_page
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x25, w0
	ldr	x8, [x20]
	sub	x21, x8, x25
	mov	x0, x21
	bl	_vmalloc_to_pfn
	mov	x22, x0
	bl	___pfn_to_phys
	add	x8, x25, w0, sxtw
	str	x8, [x23]
	add	x23, x25, x24
Lloh0:
	adrp	x24, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _PAGE_SIZE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	subs	x23, x23, x8
	b.ls	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, x8
	add	x22, x22, #1
	mov	x0, x21
	bl	_vmalloc_to_pfn
	cmp	x22, x0
	b.eq	LBB0_2
; %bb.4:
	ldr	x8, [x20]
	sub	x8, x21, x8
	str	x8, [x19]
LBB0_5:
	mov	w0, #0
	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	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.no_dead_strip	_ram_point
.subsections_via_symbols
