	.file	"extr_rx.c_iwlagn_translate_rx_status.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"decrypt_in:0x%x  decrypt_out = 0x%x\n"
	.text
	.p2align 4
	.type	iwlagn_translate_rx_status, @function
iwlagn_translate_rx_status:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR RX_RES_STATUS_STATION_FOUND[rip]
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edx, esi
	xor	r12d, r12d
	mov	ecx, eax
	and	ecx, esi
	cmp	eax, ecx
	jne	.L2
	or	eax, DWORD PTR RX_RES_STATUS_NO_STATION_INFO_MISMATCH[rip]
	mov	r12d, eax
.L2:
	mov	eax, DWORD PTR RX_RES_STATUS_SEC_TYPE_MSK[rip]
	and	eax, edx
	or	r12d, eax
	cmp	eax, DWORD PTR RX_RES_STATUS_SEC_TYPE_NONE[rip]
	je	.L1
	cmp	eax, DWORD PTR RX_RES_STATUS_SEC_TYPE_ERR[rip]
	je	.L1
	mov	ecx, DWORD PTR RX_MPDU_RES_STATUS_DEC_DONE_MSK[rip]
	mov	esi, ecx
	and	esi, edx
	cmp	ecx, esi
	jne	.L1
	cmp	eax, 128
	je	.L4
	cmp	eax, 129
	je	.L14
.L5:
	test	DWORD PTR RX_MPDU_RES_STATUS_ICV_OK[rip], edx
	jne	.L8
.L12:
	or	r12d, DWORD PTR RX_RES_STATUS_BAD_ICV_MIC[rip]
.L7:
	mov	ecx, r12d
	lea	rsi, .LC0[rip]
	call	IWL_DEBUG_RX@PLT
.L1:
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	test	DWORD PTR RX_MPDU_RES_STATUS_MIC_OK[rip], edx
	je	.L12
.L8:
	or	r12d, DWORD PTR RX_RES_STATUS_DECRYPT_OK[rip]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	test	DWORD PTR RX_MPDU_RES_STATUS_TTAK_OK[rip], edx
	jne	.L5
	or	r12d, DWORD PTR RX_RES_STATUS_BAD_KEY_TTAK[rip]
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	iwlagn_translate_rx_status, .-iwlagn_translate_rx_status
	.comm	RX_RES_STATUS_STATION_FOUND,4,4
	.comm	RX_RES_STATUS_SEC_TYPE_NONE,4,4
	.comm	RX_RES_STATUS_SEC_TYPE_MSK,4,4
	.comm	RX_RES_STATUS_SEC_TYPE_ERR,4,4
	.comm	RX_RES_STATUS_NO_STATION_INFO_MISMATCH,4,4
	.comm	RX_RES_STATUS_DECRYPT_OK,4,4
	.comm	RX_RES_STATUS_BAD_KEY_TTAK,4,4
	.comm	RX_RES_STATUS_BAD_ICV_MIC,4,4
	.comm	RX_MPDU_RES_STATUS_TTAK_OK,4,4
	.comm	RX_MPDU_RES_STATUS_MIC_OK,4,4
	.comm	RX_MPDU_RES_STATUS_ICV_OK,4,4
	.comm	RX_MPDU_RES_STATUS_DEC_DONE_MSK,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_rx.c_iwlagn_translate_rx_status.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"decrypt_in:0x%x  decrypt_out = 0x%x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	iwlagn_translate_rx_status, %function
iwlagn_translate_rx_status:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L14
	push	{r4, lr}
	ldr	r4, [r3]
	mov	r2, r1
	bics	r3, r4, r1
	movne	r4, #0
	ldreq	r3, .L14+4
	ldr	r1, .L14+8
	ldreq	r3, [r3]
	ldr	ip, [r1]
	orreq	r4, r4, r3
	ldr	r3, .L14+12
	and	ip, ip, r2
	ldr	r3, [r3]
	orr	r4, ip, r4
	cmp	ip, r3
	beq	.L1
	ldr	r3, .L14+16
	ldr	r3, [r3]
	cmp	ip, r3
	beq	.L1
	ldr	r3, .L14+20
	ldr	r3, [r3]
	bics	r3, r3, r2
	bne	.L1
	cmp	ip, #128
	beq	.L4
	cmp	ip, #129
	beq	.L13
.L5:
	ldr	r3, .L14+24
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L8
.L11:
	ldr	r3, .L14+28
	ldr	r3, [r3]
	orr	r4, r4, r3
.L7:
	mov	r3, r4
	ldr	r1, .L14+32
	bl	IWL_DEBUG_RX
.L1:
	mov	r0, r4
	pop	{r4, pc}
.L13:
	ldr	r3, .L14+36
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L11
.L8:
	ldr	r3, .L14+40
	ldr	r3, [r3]
	orr	r4, r4, r3
	b	.L7
.L4:
	ldr	r3, .L14+44
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L5
	ldr	r3, .L14+48
	ldr	r3, [r3]
	orr	r4, r4, r3
	b	.L7
.L15:
	.align	2
.L14:
	.word	RX_RES_STATUS_STATION_FOUND
	.word	RX_RES_STATUS_NO_STATION_INFO_MISMATCH
	.word	RX_RES_STATUS_SEC_TYPE_MSK
	.word	RX_RES_STATUS_SEC_TYPE_NONE
	.word	RX_RES_STATUS_SEC_TYPE_ERR
	.word	RX_MPDU_RES_STATUS_DEC_DONE_MSK
	.word	RX_MPDU_RES_STATUS_ICV_OK
	.word	RX_RES_STATUS_BAD_ICV_MIC
	.word	.LC0
	.word	RX_MPDU_RES_STATUS_MIC_OK
	.word	RX_RES_STATUS_DECRYPT_OK
	.word	RX_MPDU_RES_STATUS_TTAK_OK
	.word	RX_RES_STATUS_BAD_KEY_TTAK
	.size	iwlagn_translate_rx_status, .-iwlagn_translate_rx_status
	.comm	RX_RES_STATUS_STATION_FOUND,4,4
	.comm	RX_RES_STATUS_SEC_TYPE_NONE,4,4
	.comm	RX_RES_STATUS_SEC_TYPE_MSK,4,4
	.comm	RX_RES_STATUS_SEC_TYPE_ERR,4,4
	.comm	RX_RES_STATUS_NO_STATION_INFO_MISMATCH,4,4
	.comm	RX_RES_STATUS_DECRYPT_OK,4,4
	.comm	RX_RES_STATUS_BAD_KEY_TTAK,4,4
	.comm	RX_RES_STATUS_BAD_ICV_MIC,4,4
	.comm	RX_MPDU_RES_STATUS_TTAK_OK,4,4
	.comm	RX_MPDU_RES_STATUS_MIC_OK,4,4
	.comm	RX_MPDU_RES_STATUS_ICV_OK,4,4
	.comm	RX_MPDU_RES_STATUS_DEC_DONE_MSK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
