	.file	"extr_reset.c_kvm_arch_vm_ioctl_check_extension.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	kvm_arch_vm_ioctl_check_extension
	.type	kvm_arch_vm_ioctl_check_extension, @function
kvm_arch_vm_ioctl_check_extension:
.LFB0:
	.cfi_startproc
	endbr64
	add	rsi, -128
	cmp	rsi, 10
	ja	.L2
	lea	rdx, .L4[rip]
	movsx	rax, DWORD PTR [rdx+rsi*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L15-.L4
	.long	.L15-.L4
	.long	.L11-.L4
	.long	.L10-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L15:
	mov	eax, 1
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	xor	eax, eax
	call	has_vhe@PLT
	test	eax, eax
	jne	.L13
.L14:
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	xor	eax, eax
	jmp	cpu_has_32bit_el1@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	xor	eax, eax
	jmp	get_num_wrps@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	xor	eax, eax
	jmp	get_num_brps@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, DWORD PTR kvm_ipa_limit[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	xor	eax, eax
	jmp	system_supports_sve@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edi, DWORD PTR ARM64_HAS_RAS_EXTN[rip]
	jmp	cpus_have_const_cap@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	xor	eax, eax
	jmp	kvm_arm_support_pmu_v3@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_def_cfa_offset 16
	xor	eax, eax
	call	system_supports_address_auth@PLT
	test	eax, eax
	je	.L14
	xor	eax, eax
	call	system_supports_generic_auth@PLT
	test	eax, eax
	setne	al
	movzx	eax, al
	jmp	.L1
.L2:
	.cfi_def_cfa_offset 8
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	kvm_arch_vm_ioctl_check_extension, .-kvm_arch_vm_ioctl_check_extension
	.comm	kvm_ipa_limit,4,4
	.comm	ARM64_HAS_RAS_EXTN,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_reset.c_kvm_arch_vm_ioctl_check_extension.c"
	.text
	.align	2
	.global	kvm_arch_vm_ioctl_check_extension
	.syntax unified
	.arm
	.fpu softvfp
	.type	kvm_arch_vm_ioctl_check_extension, %function
kvm_arch_vm_ioctl_check_extension:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	sub	r1, r1, #128
	cmp	r1, #10
	ldrls	pc, [pc, r1, asl #2]
	b	.L2
.L4:
	.word	.L15
	.word	.L15
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L15:
	mov	r0, #1
	bx	lr
.L7:
	push	{r4, lr}
	bl	has_vhe
	cmp	r0, #0
	bne	.L13
.L14:
	mov	r0, #0
	pop	{r4, pc}
.L6:
	b	kvm_arm_support_pmu_v3
.L5:
	ldr	r3, .L23
	ldr	r0, [r3]
	b	cpus_have_const_cap
.L3:
	b	cpu_has_32bit_el1
.L11:
	b	get_num_wrps
.L10:
	b	get_num_brps
.L9:
	ldr	r3, .L23+4
	ldr	r0, [r3]
	bx	lr
.L8:
	b	system_supports_sve
.L13:
	bl	system_supports_address_auth
	cmp	r0, #0
	beq	.L14
	bl	system_supports_generic_auth
	subs	r0, r0, #0
	movne	r0, #1
	pop	{r4, pc}
.L2:
	mov	r0, #0
	bx	lr
.L24:
	.align	2
.L23:
	.word	ARM64_HAS_RAS_EXTN
	.word	kvm_ipa_limit
	.size	kvm_arch_vm_ioctl_check_extension, .-kvm_arch_vm_ioctl_check_extension
	.comm	kvm_ipa_limit,4,4
	.comm	ARM64_HAS_RAS_EXTN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
