	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___virt_addr_valid              ## -- Begin function __virt_addr_valid
	.p2align	4, 0x90
___virt_addr_valid:                     ## @__virt_addr_valid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_PAGE_OFFSET@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	cmpq	%rdi, %rax
	jbe	LBB0_1
LBB0_7:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	movq	___vmalloc_start_set@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_6
## %bb.2:
	movq	%rbx, %rdi
	callq	_is_vmalloc_addr
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:
	movq	_FIXADDR_START@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jbe	LBB0_7
## %bb.4:
	movq	(%r14), %rax
	jmp	LBB0_5
LBB0_6:
	movq	_FIXADDR_START@GOTPCREL(%rip), %rcx
	cmpq	%rbx, (%rcx)
	jbe	LBB0_7
LBB0_5:
	subq	%rax, %rbx
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrq	%cl, %rbx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pfn_valid                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_OFFSET,8,3                ## @PAGE_OFFSET
	.comm	___vmalloc_start_set,8,3        ## @__vmalloc_start_set
	.comm	_FIXADDR_START,8,3              ## @FIXADDR_START
	.comm	_PAGE_SHIFT,8,3                 ## @PAGE_SHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___virt_addr_valid              ; -- Begin function __virt_addr_valid
	.p2align	2
___virt_addr_valid:                     ; @__virt_addr_valid
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x20, _PAGE_OFFSET@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PAGE_OFFSET@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x8, x0
	b.ls	LBB0_2
LBB0_1:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
Lloh2:
	adrp	x9, ___vmalloc_start_set@GOTPAGE
Lloh3:
	ldr	x9, [x9, ___vmalloc_start_set@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cbz	x9, LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_is_vmalloc_addr
	cbnz	x0, LBB0_1
; %bb.4:
Lloh5:
	adrp	x8, _FIXADDR_START@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FIXADDR_START@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x8, x19
	b.ls	LBB0_1
; %bb.5:
	ldr	x8, [x20]
	b	LBB0_7
LBB0_6:
Lloh8:
	adrp	x9, _FIXADDR_START@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FIXADDR_START@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x19
	b.ls	LBB0_1
LBB0_7:
	sub	x8, x19, x8
Lloh11:
	adrp	x9, _PAGE_SHIFT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PAGE_SHIFT@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	lsr	x0, x8, x9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pfn_valid
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_OFFSET,8,3                ; @PAGE_OFFSET
	.comm	___vmalloc_start_set,8,3        ; @__vmalloc_start_set
	.comm	_FIXADDR_START,8,3              ; @FIXADDR_START
	.comm	_PAGE_SHIFT,8,3                 ; @PAGE_SHIFT
.subsections_via_symbols
