	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function va2pa
_va2pa:                                 ## @va2pa
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_UT64_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rsi), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.1:
	movq	16(%rbp), %r10
	subq	%r8, %rdi
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$24, %rdx
	decq	%rsi
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx), %rcx
	movq	%rdi, %r8
	subq	%rcx, %r8
	jl	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	8(%rdx), %rcx
	cmpq	%rcx, %rdi
	jge	LBB0_2
## %bb.5:
	movq	16(%rdx), %rax
	addq	%r8, %rax
	testq	%r9, %r9
	je	LBB0_7
## %bb.6:
	movq	%r8, (%r9)
LBB0_7:
	testq	%r10, %r10
	je	LBB0_9
## %bb.8:
	movq	8(%rdx), %rcx
	subq	%rdi, %rcx
	addq	(%rdx), %rcx
	movq	%rcx, (%r10)
LBB0_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UT64_MAX,8,3                   ## @UT64_MAX
	.no_dead_strip	_va2pa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function va2pa
_va2pa:                                 ; @va2pa
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _UT64_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UT64_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x9]
	ldr	x10, [x1]
	cbz	x10, LBB0_9
; %bb.1:
	sub	x8, x8, x4
	add	x9, x2, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #24
	subs	x10, x10, #1
	b.eq	LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x12, [x9, #-8]
	subs	x11, x8, x12
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x13, [x9]
	add	x12, x13, x12
	cmp	x8, x12
	b.ge	LBB0_2
; %bb.5:
	ldr	x10, [x9, #8]
	add	x0, x11, x10
	cbz	x5, LBB0_7
; %bb.6:
	str	x11, [x5]
LBB0_7:
	cbz	x6, LBB0_9
; %bb.8:
	ldp	x9, x10, [x9, #-8]
	sub	x8, x10, x8
	add	x8, x8, x9
	str	x8, [x6]
LBB0_9:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UT64_MAX,8,3                   ; @UT64_MAX
	.no_dead_strip	_va2pa
.subsections_via_symbols
