	.file	"extr_kvm_main.c_kvm_is_visible_gfn.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	kvm_is_visible_gfn
	.type	kvm_is_visible_gfn, @function
kvm_is_visible_gfn:
.LFB0:
	.cfi_startproc
	endbr64
	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	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	edi, DWORD PTR [rdi]
	call	rcu_dereference@PLT
	mov	rsi, r12
	mov	rdi, rbp
	mov	rbx, rax
	call	unalias_gfn_instantiation@PLT
	mov	ecx, DWORD PTR KVM_MEMORY_SLOTS[rip]
	test	ecx, ecx
	jle	.L5
	mov	rdx, QWORD PTR [rbx]
	sub	ecx, 1
	mov	esi, DWORD PTR KVM_MEMSLOT_INVALID[rip]
	lea	rcx, 3[rcx+rcx*2]
	lea	rdi, [rdx+rcx*8]
	.p2align 4,,10
	.p2align 3
.L4:
	test	DWORD PTR [rdx], esi
	jne	.L3
	mov	rcx, QWORD PTR 8[rdx]
	cmp	rcx, rax
	jg	.L3
	add	rcx, QWORD PTR 16[rdx]
	cmp	rcx, rax
	jg	.L6
.L3:
	add	rdx, 24
	cmp	rdx, rdi
	jne	.L4
.L5:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	kvm_is_visible_gfn, .-kvm_is_visible_gfn
	.comm	KVM_MEMSLOT_INVALID,4,4
	.comm	KVM_MEMORY_SLOTS,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_kvm_main.c_kvm_is_visible_gfn.c"
	.text
	.align	2
	.global	kvm_is_visible_gfn
	.syntax unified
	.arm
	.fpu softvfp
	.type	kvm_is_visible_gfn, %function
kvm_is_visible_gfn:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, [r0]
	mov	r5, r1
	bl	rcu_dereference
	mov	r3, r0
	mov	r1, r5
	mov	r0, r4
	mov	r4, r3
	bl	unalias_gfn_instantiation
	ldr	r3, .L10
	ldr	ip, [r3]
	cmp	ip, #0
	ble	.L5
	mov	r2, #0
	ldr	r1, .L10+4
	ldr	r3, [r4]
	ldr	lr, [r1]
.L4:
	ldr	r1, [r3]
	add	r2, r2, #1
	tst	lr, r1
	bne	.L3
	ldr	r1, [r3, #4]
	cmp	r1, r0
	bgt	.L3
	ldr	r4, [r3, #8]
	add	r1, r1, r4
	cmp	r1, r0
	bgt	.L6
.L3:
	cmp	r2, ip
	add	r3, r3, #12
	bne	.L4
.L5:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L6:
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L11:
	.align	2
.L10:
	.word	KVM_MEMORY_SLOTS
	.word	KVM_MEMSLOT_INVALID
	.size	kvm_is_visible_gfn, .-kvm_is_visible_gfn
	.comm	KVM_MEMSLOT_INVALID,4,4
	.comm	KVM_MEMORY_SLOTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
