	.file	"extr_ieee80211_softmac.c_assoc_parse.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"invalid len in auth resp: %d\n"
	.text
	.p2align 4
	.type	assoc_parse, @function
assoc_parse:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	r8d, DWORD PTR [rsi]
	cmp	r8d, 7
	jbe	.L8
	mov	r12, QWORD PTR 8[rsi]
	mov	rbx, rdi
	mov	rbp, rdx
	mov	edi, DWORD PTR 4[r12]
	call	le16_to_cpu@PLT
	and	eax, 16383
	mov	DWORD PTR 0[rbp], eax
	mov	edi, DWORD PTR [r12]
	call	le16_to_cpu@PLT
	cmp	DWORD PTR WLAN_STATUS_ASSOC_DENIED_RATES[rip], eax
	je	.L4
	cmp	DWORD PTR WLAN_STATUS_CAPS_UNSUPPORTED[rip], eax
	je	.L4
.L5:
	mov	QWORD PTR 8[rbx], 0
.L6:
	mov	edi, DWORD PTR [r12]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	le16_to_cpu@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rax, QWORD PTR IEEE_G[rip]
	cmp	QWORD PTR [rbx], rax
	jne	.L5
	mov	rax, QWORD PTR IEEE_N_24G[rip]
	cmp	QWORD PTR 24[rbx], rax
	jne	.L5
	mov	rdx, QWORD PTR 8[rbx]
	lea	rax, 1[rdx]
	mov	QWORD PTR 8[rbx], rax
	mov	eax, DWORD PTR RT_ASOC_RETRY_LIMIT[rip]
	sub	eax, 1
	cdqe
	cmp	rdx, rax
	jge	.L5
	mov	rax, QWORD PTR 16[rbx]
	mov	edx, DWORD PTR HT_IOT_ACT_PURE_N_MODE[rip]
	or	DWORD PTR [rax], edx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L8:
	mov	esi, r8d
	lea	rdi, .LC0[rip]
	call	IEEE80211_DEBUG_MGMT@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	eax, 51966
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	assoc_parse, .-assoc_parse
	.comm	WLAN_STATUS_CAPS_UNSUPPORTED,4,4
	.comm	WLAN_STATUS_ASSOC_DENIED_RATES,4,4
	.comm	RT_ASOC_RETRY_LIMIT,4,4
	.comm	IEEE_N_24G,8,8
	.comm	IEEE_G,8,8
	.comm	HT_IOT_ACT_PURE_N_MODE,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_ieee80211_softmac.c_assoc_parse.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"invalid len in auth resp: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	assoc_parse, %function
assoc_parse:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1]
	push	{r4, r5, r6, lr}
	cmp	r3, #7
	bls	.L8
	ldr	r6, [r1, #4]
	mov	r4, r0
	ldr	r0, [r6, #4]
	mov	r5, r2
	bl	le16_to_cpu
	lsl	r3, r0, #18
	lsr	r3, r3, #18
	str	r3, [r5]
	ldr	r0, [r6]
	bl	le16_to_cpu
	ldr	r3, .L11
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L4
	ldr	r3, .L11+4
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L4
.L5:
	mov	r3, #0
	str	r3, [r4, #4]
.L6:
	ldr	r0, [r6]
	pop	{r4, r5, r6, lr}
	b	le16_to_cpu
.L4:
	ldr	r3, .L11+8
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L5
	ldr	r3, .L11+12
	ldr	r2, [r4, #12]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L5
	ldr	r3, .L11+16
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	add	r1, r2, #1
	sub	r3, r3, #1
	cmp	r2, r3
	str	r1, [r4, #4]
	bge	.L5
	ldr	r2, [r4, #8]
	ldr	r1, .L11+20
	ldr	r3, [r2]
	ldr	r1, [r1]
	orr	r3, r3, r1
	str	r3, [r2]
	b	.L6
.L8:
	mov	r1, r3
	ldr	r0, .L11+24
	bl	IEEE80211_DEBUG_MGMT
	ldr	r0, .L11+28
	pop	{r4, r5, r6, pc}
.L12:
	.align	2
.L11:
	.word	WLAN_STATUS_ASSOC_DENIED_RATES
	.word	WLAN_STATUS_CAPS_UNSUPPORTED
	.word	IEEE_G
	.word	IEEE_N_24G
	.word	RT_ASOC_RETRY_LIMIT
	.word	HT_IOT_ACT_PURE_N_MODE
	.word	.LC0
	.word	51966
	.size	assoc_parse, .-assoc_parse
	.comm	WLAN_STATUS_CAPS_UNSUPPORTED,4,4
	.comm	WLAN_STATUS_ASSOC_DENIED_RATES,4,4
	.comm	RT_ASOC_RETRY_LIMIT,4,4
	.comm	IEEE_N_24G,4,4
	.comm	IEEE_G,4,4
	.comm	HT_IOT_ACT_PURE_N_MODE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
