	.file	"extr_rtllib_crypt_tkip.c_rtllib_michael_mic_verify.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Michael MIC verification failed for MSDU from %pM keyidx=%d\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d\n"
.LC2:
	.string	"skb->dev != NULL\n"
	.text
	.p2align 4
	.type	rtllib_michael_mic_verify, @function
rtllib_michael_mic_verify:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 48
	.cfi_def_cfa_offset 96
	mov	r14, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR 44[rcx]
	test	eax, eax
	je	.L11
	mov	r13d, esi
	mov	rsi, QWORD PTR [rcx]
	mov	r12d, edx
	mov	rbx, rcx
	mov	rbp, rdi
	call	michael_mic_hdr@PLT
	mov	edi, DWORD PTR 4[r14]
	call	le16_to_cpu@PLT
	mov	edi, eax
	call	RTLLIB_QOS_HAS_SEQ@PLT
	movsx	rcx, r12d
	mov	rdx, QWORD PTR [rbx]
	sal	rcx, 2
	test	rax, rax
	mov	rax, QWORD PTR 0[rbp]
	jne	.L4
.L5:
	mov	esi, DWORD PTR 8[rbp]
	add	rcx, rax
	mov	rax, QWORD PTR 32[rbx]
	mov	r14, rsp
	mov	edi, DWORD PTR 40[rbx]
	mov	r9, r14
	lea	r8d, -8[rsi]
	lea	rsi, 96[rax]
	sub	r8d, r12d
	call	michael_mic@PLT
	test	rax, rax
	jne	.L11
	movsx	rdx, DWORD PTR 8[rbp]
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, r14
	lea	rsi, -32[rax+rdx*4]
	mov	edx, 8
	call	memcmp@PLT
	test	rax, rax
	jne	.L13
	mov	eax, DWORD PTR 16[rbx]
	mov	rdi, rbp
	mov	DWORD PTR 20[rbx], eax
	mov	eax, DWORD PTR 8[rbx]
	mov	DWORD PTR 12[rbx], eax
	mov	eax, DWORD PTR 8[rbp]
	lea	esi, -8[rax]
	call	skb_trim@PLT
	xor	eax, eax
.L1:
	mov	rdx, QWORD PTR 40[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	esi, DWORD PTR -8[rax+rcx]
	and	esi, 7
	mov	DWORD PTR 48[rdx], esi
	jmp	.L5
.L13:
	mov	r12, QWORD PTR 0[rbp]
	mov	rdi, QWORD PTR 16[rbp]
	mov	ecx, r13d
	xor	eax, eax
	lea	rsi, .LC0[rip]
	mov	edx, DWORD PTR [r12]
	call	netdev_dbg@PLT
	movsx	rdx, DWORD PTR 8[rbp]
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, r14
	lea	rsi, -32[rax+rdx*4]
	mov	edx, 8
	call	memcmp@PLT
	xor	edx, edx
	mov	rdi, QWORD PTR 16[rbp]
	lea	rsi, .LC1[rip]
	test	rax, rax
	setne	dl
	xor	eax, eax
	call	netdev_dbg@PLT
	cmp	QWORD PTR 16[rbp], 0
	jne	.L15
.L8:
	add	DWORD PTR 24[rbx], 1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	eax, -1
	jmp	.L1
.L15:
	lea	rdi, .LC2[rip]
	call	pr_info@PLT
	mov	rdi, QWORD PTR 16[rbp]
	mov	edx, r13d
	mov	rsi, r12
	call	rtllib_michael_mic_failure@PLT
	jmp	.L8
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	rtllib_michael_mic_verify, .-rtllib_michael_mic_verify
	.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_rtllib_crypt_tkip.c_rtllib_michael_mic_verify.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Michael MIC verification failed for MSDU from %pM k"
	.ascii	"eyidx=%d\012\000"
	.align	2
.LC1:
	.ascii	"%d\012\000"
	.align	2
.LC2:
	.ascii	"skb->dev != NULL\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtllib_michael_mic_verify, %function
rtllib_michael_mic_verify:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r3
	ldr	r3, [r3, #32]
	sub	sp, sp, #48
	cmp	r3, #0
	ldr	r3, .L18
	ldr	r8, [r0]
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	beq	.L6
	mov	r7, r1
	ldr	r1, [r4]
	mov	r6, r2
	mov	r5, r0
	bl	michael_mic_hdr
	ldr	r0, [r8, #4]
	bl	le16_to_cpu
	bl	RTLLIB_QOS_HAS_SEQ
	ldr	r3, [r5]
	cmp	r0, #0
	subne	r2, r6, #-1073741822
	ldrne	r1, [r3, r2, lsl #2]
	ldrne	r2, [r4]
	andne	r1, r1, #7
	strne	r1, [r2, #48]
	ldr	r0, [r5, #4]
	ldr	r1, [r4, #24]
	sub	r0, r0, #8
	sub	r0, r0, r6
	add	r8, sp, #12
	ldreq	r2, [r4]
	str	r0, [sp]
	str	r8, [sp, #4]
	ldr	r0, [r4, #28]
	add	r3, r3, r6, lsl #2
	add	r1, r1, #96
	bl	michael_mic
	cmp	r0, #0
	bne	.L6
	ldr	r9, [r5, #4]
	ldr	r10, [r5]
	sub	r1, r9, #-1073741816
	mov	r2, #8
	mov	r0, r8
	add	r1, r10, r1, lsl #2
	bl	memcmp
	subs	r6, r0, #0
	bne	.L15
	ldr	r2, [r4, #12]
	ldr	r3, [r4, #4]
	mov	r0, r5
	sub	r1, r9, #8
	str	r2, [r4, #16]
	str	r3, [r4, #8]
	bl	skb_trim
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	mov	r0, r6
	add	sp, sp, #48
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	mvn	r6, #0
	b	.L1
.L15:
	mov	r3, r7
	ldr	r2, [r10]
	ldr	r1, .L18+4
	ldr	r0, [r5, #8]
	bl	netdev_dbg
	ldm	r5, {r1, r3}
	sub	r3, r3, #-1073741816
	add	r1, r1, r3, lsl #2
	mov	r2, #8
	mov	r0, r8
	bl	memcmp
	subs	r2, r0, #0
	movne	r2, #1
	ldr	r1, .L18+8
	ldr	r0, [r5, #8]
	bl	netdev_dbg
	ldr	r3, [r5, #8]
	cmp	r3, #0
	bne	.L17
.L8:
	ldr	r3, [r4, #20]
	mvn	r6, #0
	add	r3, r3, #1
	str	r3, [r4, #20]
	b	.L1
.L17:
	ldr	r0, .L18+12
	bl	pr_info
	mov	r2, r7
	mov	r1, r10
	ldr	r0, [r5, #8]
	bl	rtllib_michael_mic_failure
	b	.L8
.L16:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	rtllib_michael_mic_verify, .-rtllib_michael_mic_verify
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
