	.file	"extr_iov.c_sriov_numvfs_store.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Driver does not support SRIOV configuration via sysfs\n"
	.align 8
.LC1:
	.string	"%d VFs already enabled. Disable before enabling %d VFs\n"
	.align 8
.LC2:
	.string	"%d VFs requested; only %d enabled\n"
	.text
	.p2align 4
	.type	sriov_numvfs_store, @function
sriov_numvfs_store:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rcx
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	to_pci_dev@PLT
	mov	rdi, r12
	lea	rdx, 4[rsp]
	xor	esi, esi
	mov	rbp, rax
	call	kstrtou16@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	mov	rdi, rbp
	call	pci_sriov_get_totalvfs@PLT
	cmp	eax, DWORD PTR 4[rsp]
	jge	.L3
	mov	r12d, DWORD PTR ERANGE[rip]
	neg	r12d
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdi, rbp
	call	device_lock@PLT
	mov	rax, QWORD PTR 16[rbp]
	mov	esi, DWORD PTR 4[rsp]
	mov	edx, DWORD PTR [rax]
	cmp	edx, esi
	je	.L11
	mov	rax, QWORD PTR 8[rbp]
	test	rax, rax
	je	.L5
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L5
	test	esi, esi
	je	.L20
	test	edx, edx
	jne	.L21
	mov	rdi, rbp
	call	rax
	mov	r12d, eax
	test	eax, eax
	js	.L10
	mov	edx, DWORD PTR 4[rsp]
	cmp	edx, eax
	jne	.L22
.L11:
	mov	rdi, rbp
	call	device_unlock@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L5:
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	pci_info@PLT
	mov	r12d, DWORD PTR ENOENT[rip]
	neg	r12d
.L7:
	mov	rdi, rbp
	call	device_unlock@PLT
	test	r12d, r12d
	js	.L1
.L12:
	mov	r12d, ebx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L20:
	mov	rdi, rbp
	call	rax
	mov	r12d, eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L22:
	mov	ecx, eax
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	pci_warn@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, rbp
	call	device_unlock@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L21:
	mov	ecx, esi
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	call	pci_warn@PLT
	mov	r12d, DWORD PTR EBUSY[rip]
	neg	r12d
	jmp	.L7
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	sriov_numvfs_store, .-sriov_numvfs_store
	.comm	ERANGE,4,4
	.comm	ENOENT,4,4
	.comm	EBUSY,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_iov.c_sriov_numvfs_store.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Driver does not support SRIOV configuration via sys"
	.ascii	"fs\012\000"
	.align	2
.LC1:
	.ascii	"%d VFs already enabled. Disable before enabling %d "
	.ascii	"VFs\012\000"
	.align	2
.LC2:
	.ascii	"%d VFs requested; only %d enabled\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sriov_numvfs_store, %function
sriov_numvfs_store:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r3
	ldr	r3, .L23
	sub	sp, sp, #8
	mov	r4, r2
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	to_pci_dev
	mov	r2, sp
	mov	r5, r0
	mov	r1, #0
	mov	r0, r4
	bl	kstrtou16
	subs	r4, r0, #0
	blt	.L1
	mov	r0, r5
	bl	pci_sriov_get_totalvfs
	ldr	r3, [sp]
	cmp	r0, r3
	bge	.L3
	ldr	r3, .L23+4
	ldr	r0, [r3]
	rsb	r4, r0, #0
.L1:
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L3:
	mov	r0, r5
	bl	device_lock
	ldr	r3, [r5, #8]
	ldr	r1, [sp]
	ldr	r2, [r3]
	cmp	r2, r1
	beq	.L11
	ldr	r3, [r5, #4]
	cmp	r3, #0
	beq	.L5
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L5
	cmp	r1, #0
	beq	.L20
	cmp	r2, #0
	bne	.L21
	mov	r0, r5
	blx	r3
	subs	r4, r0, #0
	blt	.L10
	ldr	r2, [sp]
	cmp	r2, r4
	bne	.L22
.L11:
	mov	r0, r5
	bl	device_unlock
	b	.L12
.L5:
	mov	r0, r5
	ldr	r1, .L23+8
	bl	pci_info
	ldr	r3, .L23+12
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L7:
	mov	r0, r5
	bl	device_unlock
	cmp	r4, #0
	blt	.L1
.L12:
	mov	r4, r6
	b	.L1
.L20:
	mov	r0, r5
	blx	r3
	mov	r4, r0
	b	.L7
.L22:
	mov	r3, r4
	mov	r0, r5
	ldr	r1, .L23+16
	bl	pci_warn
	b	.L11
.L10:
	mov	r0, r5
	bl	device_unlock
	b	.L1
.L21:
	mov	r3, r1
	mov	r0, r5
	ldr	r1, .L23+20
	bl	pci_warn
	ldr	r3, .L23+24
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L7
.L19:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	.LC3
	.word	ERANGE
	.word	.LC0
	.word	ENOENT
	.word	.LC2
	.word	.LC1
	.word	EBUSY
	.size	sriov_numvfs_store, .-sriov_numvfs_store
	.comm	ERANGE,4,4
	.comm	ENOENT,4,4
	.comm	EBUSY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
