	.file	"extr_qeth_core_sys.c_qeth_dev_performance_stats_store.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	qeth_dev_performance_stats_store, @function
qeth_dev_performance_stats_store:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rcx
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	dev_get_drvdata@PLT
	test	rax, rax
	je	.L12
	mov	rdi, rax
	mov	rbp, rax
	call	mutex_lock@PLT
	mov	rsi, rsp
	mov	edx, 16
	mov	rdi, r12
	call	simple_strtoul@PLT
	cmp	eax, 1
	jbe	.L13
	mov	r13d, DWORD PTR EINVAL[rip]
	mov	rdi, rbp
	mov	r12d, r13d
	neg	r12d
	call	mutex_unlock@PLT
	test	r13d, r13d
	je	.L6
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	cmp	DWORD PTR 20[rbp], eax
	je	.L10
	mov	DWORD PTR 20[rbp], eax
	test	eax, eax
	je	.L15
.L7:
	mov	rax, QWORD PTR 4[rbp]
	mov	QWORD PTR 12[rbp], rax
.L10:
	mov	rdi, rbp
	call	mutex_unlock@PLT
.L6:
	mov	r12d, ebx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	lea	rdi, 12[rbp]
	mov	edx, 4
	xor	esi, esi
	call	memset@PLT
	jmp	.L7
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	qeth_dev_performance_stats_store, .-qeth_dev_performance_stats_store
	.comm	EINVAL,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_qeth_core_sys.c_qeth_dev_performance_stats_store.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qeth_dev_performance_stats_store, %function
qeth_dev_performance_stats_store:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r3
	ldr	r3, .L14
	sub	sp, sp, #8
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	dev_get_drvdata
	subs	r4, r0, #0
	beq	.L11
	bl	mutex_lock
	mov	r0, r5
	mov	r2, #16
	mov	r1, sp
	bl	simple_strtoul
	cmp	r0, #1
	bls	.L12
	ldr	r3, .L14+4
	mov	r0, r4
	ldr	r4, [r3]
	bl	mutex_unlock
	cmp	r4, #0
	rsb	r0, r4, #0
	beq	.L6
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L12:
	ldr	r3, [r4, #20]
	cmp	r3, r0
	ldrne	r2, [r4, #8]
	ldrne	r3, [r4, #4]
	strne	r0, [r4, #20]
	strne	r2, [r4, #16]
	mov	r0, r4
	strne	r3, [r4, #12]
	bl	mutex_unlock
.L6:
	mov	r0, r6
	b	.L1
.L11:
	ldr	r3, .L14+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	EINVAL
	.size	qeth_dev_performance_stats_store, .-qeth_dev_performance_stats_store
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
