	.file	"extr_main.c_brcms_c_recvctl.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	brcms_c_recvctl, @function
brcms_c_recvctl:
.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, rsi
	xor	esi, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	mov	edx, 4
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	r13, 4[rsp]
	mov	rdi, r13
	call	memset@PLT
	mov	rcx, r13
	mov	rdx, rbp
	mov	rsi, r12
	mov	rdi, rbx
	call	prep_mac80211_status@PLT
	mov	esi, DWORD PTR D11_PHY_HDR_LEN[rip]
	mov	r12d, DWORD PTR 0[rbp]
	mov	rdi, rbp
	sub	r12d, esi
	sub	r12d, DWORD PTR FCS_LEN[rip]
	call	skb_pull@PLT
	mov	esi, r12d
	mov	rdi, rbp
	call	__skb_trim@PLT
	mov	rax, QWORD PTR 8[rbx]
	cmp	QWORD PTR [rax], 0
	jne	.L11
.L3:
	mov	rdi, rbp
	call	IEEE80211_SKB_RXCB@PLT
	mov	edx, 4
	mov	rsi, r13
	mov	edi, eax
	call	memcpy@PLT
	mov	rax, QWORD PTR [rbx]
	mov	rsi, rbp
	mov	edi, DWORD PTR [rax]
	call	ieee80211_rx_irqsafe@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L11:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rbp]
	mov	edi, DWORD PTR [rax]
	call	ieee80211_is_beacon@PLT
	test	rax, rax
	je	.L3
	mov	rdi, QWORD PTR 8[rbx]
	xor	esi, esi
	call	brcms_b_mute@PLT
	jmp	.L3
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	brcms_c_recvctl, .-brcms_c_recvctl
	.comm	FCS_LEN,4,4
	.comm	D11_PHY_HDR_LEN,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_main.c_brcms_c_recvctl.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	brcms_c_recvctl, %function
brcms_c_recvctl:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r7, #0
	mov	r4, r2
	mov	r6, r0
	sub	sp, sp, #12
	ldr	ip, .L13
	mov	r3, sp
	ldr	ip, [ip]
	str	ip, [sp, #4]
	mov	ip,#0
	str	r7, [sp]
	bl	prep_mac80211_status
	ldr	r2, .L13+4
	ldr	r3, .L13+8
	ldr	r1, [r2]
	ldr	r5, [r4]
	ldr	r3, [r3]
	sub	r5, r5, r1
	sub	r5, r5, r3
	mov	r0, r4
	bl	skb_pull
	mov	r1, r5
	mov	r0, r4
	bl	__skb_trim
	ldr	r3, [r6, #4]
	ldr	r3, [r3]
	cmp	r3, r7
	bne	.L11
.L3:
	mov	r0, r4
	bl	IEEE80211_SKB_RXCB
	mov	r2, #4
	mov	r1, sp
	bl	memcpy
	ldr	r3, [r6]
	mov	r1, r4
	ldr	r0, [r3]
	bl	ieee80211_rx_irqsafe
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	ldr	r3, [r4, #4]
	ldr	r0, [r3]
	bl	ieee80211_is_beacon
	cmp	r0, r7
	beq	.L3
	mov	r1, r7
	ldr	r0, [r6, #4]
	bl	brcms_b_mute
	b	.L3
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	D11_PHY_HDR_LEN
	.word	FCS_LEN
	.size	brcms_c_recvctl, .-brcms_c_recvctl
	.comm	FCS_LEN,4,4
	.comm	D11_PHY_HDR_LEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
