	.file	"extr_rtw_security.c_rtw_seccalctkipmic.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	rtw_seccalctkipmic
	.type	rtw_seccalctkipmic, @function
rtw_seccalctkipmic:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, r9d
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r8
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	mov	rsi, rdi
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	lea	rbp, 12[rsp]
	mov	QWORD PTR 16[rsp], 0
	mov	QWORD PTR 24[rsp], 0
	mov	rdi, rbp
	call	rtw_secmicsetkey@PLT
	mov	DWORD PTR 16[rsp], r15d
	test	BYTE PTR 4[rbx], 1
	je	.L2
	lea	rsi, 64[rbx]
	mov	edx, 6
	mov	rdi, rbp
	call	rtw_secmicappend@PLT
	test	BYTE PTR 4[rbx], 2
	jne	.L14
.L3:
	lea	rsi, 40[rbx]
	mov	edx, 6
	mov	rdi, rbp
	call	rtw_secmicappend@PLT
.L4:
	lea	rsi, 16[rsp]
	mov	edx, 4
	mov	rdi, rbp
	call	rtw_secmicappend@PLT
	mov	edx, r14d
	mov	rsi, r13
	mov	rdi, rbp
	call	rtw_secmicappend@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	rtw_secgetmic@PLT
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	rsi, 16[rbx]
	mov	edx, 6
	mov	rdi, rbp
	call	rtw_secmicappend@PLT
	test	BYTE PTR 4[rbx], 2
	je	.L3
	lea	rsi, 64[rbx]
	mov	edx, 6
	mov	rdi, rbp
	call	rtw_secmicappend@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L14:
	lea	rsi, 96[rbx]
	mov	edx, 6
	mov	rdi, rbp
	call	rtw_secmicappend@PLT
	jmp	.L4
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	rtw_seccalctkipmic, .-rtw_seccalctkipmic
	.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_rtw_security.c_rtw_seccalctkipmic.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	rtw_seccalctkipmic
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtw_seccalctkipmic, %function
rtw_seccalctkipmic:
	@ args = 8, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	ip, #0
	mov	r4, r1
	sub	sp, sp, #24
	mov	r6, r3
	ldr	r3, .L16
	mov	r1, r0
	mov	r0, sp
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r5, r2
	ldr	r8, [sp, #52]
	ldr	r7, [sp, #48]
	str	ip, [sp, #4]
	str	ip, [sp, #8]
	str	ip, [sp, #12]
	str	ip, [sp, #16]
	bl	rtw_secmicsetkey
	ldr	r3, [r4, #4]
	mov	r2, #6
	tst	r3, #1
	str	r8, [sp, #4]
	beq	.L2
	mov	r0, sp
	add	r1, r4, #64
	bl	rtw_secmicappend
	ldr	r3, [r4, #4]
	tst	r3, #2
	bne	.L14
.L3:
	mov	r2, #6
	mov	r0, sp
	add	r1, r4, #40
	bl	rtw_secmicappend
.L4:
	mov	r2, #4
	add	r1, sp, #4
	mov	r0, sp
	bl	rtw_secmicappend
	mov	r2, r6
	mov	r1, r5
	mov	r0, sp
	bl	rtw_secmicappend
	mov	r1, r7
	mov	r0, sp
	bl	rtw_secgetmic
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r0, sp
	add	r1, r4, #16
	bl	rtw_secmicappend
	ldr	r3, [r4, #4]
	tst	r3, #2
	beq	.L3
	mov	r2, #6
	mov	r0, sp
	add	r1, r4, #64
	bl	rtw_secmicappend
	b	.L4
.L14:
	mov	r2, #6
	mov	r0, sp
	add	r1, r4, #96
	bl	rtw_secmicappend
	b	.L4
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC0
	.size	rtw_seccalctkipmic, .-rtw_seccalctkipmic
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
