	.file	"extr_machine_routines.c_ml_validate_nofault.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ml_validate_nofault
	.type	ml_validate_nofault, @function
ml_validate_nofault:
.LFB0:
	.cfi_startproc
	endbr64
	test	rsi, rsi
	jle	.L9
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, eax
	call	trunc_page_64@PLT
	mov	edi, eax
	call	pmap_valid_address@PLT
	test	eax, eax
	je	.L13
	mov	eax, DWORD PTR PAGE_SIZE[rip]
	and	ebx, DWORD PTR PAGE_MASK[rip]
	sub	eax, ebx
	cdqe
	cmp	rax, r12
	cmovg	rax, r12
	sub	r12, rax
	add	ebp, eax
	test	r12, r12
	jle	.L15
.L6:
	mov	edi, ebp
	call	kvtophys@PLT
	mov	ebx, eax
	test	eax, eax
	jne	.L3
.L13:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR FALSE[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR TRUE[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	mov	eax, DWORD PTR TRUE[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	ml_validate_nofault, .-ml_validate_nofault
	.comm	TRUE,4,4
	.comm	PAGE_SIZE,4,4
	.comm	PAGE_MASK,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_machine_routines.c_ml_validate_nofault.c"
	.text
	.align	2
	.global	ml_validate_nofault
	.syntax unified
	.arm
	.fpu softvfp
	.type	ml_validate_nofault, %function
ml_validate_nofault:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r8, r1, #0
	ble	.L2
	mov	r5, r0
	ldr	r7, .L11
	ldr	r6, .L11+4
	b	.L6
.L3:
	bl	trunc_page_64
	bl	pmap_valid_address
	cmp	r0, #0
	beq	.L9
	ldr	r0, [r6]
	ldr	r3, [r7]
	and	r0, r0, r4
	sub	r3, r3, r0
	cmp	r3, r8
	movge	r3, r8
	sub	r8, r8, r3
	cmp	r8, #0
	add	r5, r5, r3
	ble	.L2
.L6:
	mov	r0, r5
	bl	kvtophys
	subs	r4, r0, #0
	bne	.L3
.L9:
	ldr	r3, .L11+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, .L11+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	PAGE_SIZE
	.word	PAGE_MASK
	.word	FALSE
	.word	TRUE
	.size	ml_validate_nofault, .-ml_validate_nofault
	.comm	TRUE,4,4
	.comm	PAGE_SIZE,4,4
	.comm	PAGE_MASK,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
