	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcms_c_recvctl
_brcms_c_recvctl:                       ## @brcms_c_recvctl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_prep_mac80211_status
	movl	(%r13), %ebx
	movq	_D11_PHY_HDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FCS_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%esi, %eax
	subl	%eax, %ebx
	movq	%r13, %rdi
	callq	_skb_pull
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	___skb_trim
	movq	8(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movq	8(%r13), %rax
	movl	(%rax), %edi
	callq	_ieee80211_is_beacon
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	8(%r14), %rdi
	xorl	%esi, %esi
	callq	_brcms_b_mute
LBB0_3:
	movq	%r13, %rdi
	callq	_IEEE80211_SKB_RXCB
	leaq	-48(%rbp), %rsi
	movl	%eax, %edi
	movl	$4, %edx
	callq	_memcpy
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_ieee80211_rx_irqsafe
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_D11_PHY_HDR_LEN,4,2            ## @D11_PHY_HDR_LEN
	.comm	_FCS_LEN,4,2                    ## @FCS_LEN
	.no_dead_strip	_brcms_c_recvctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcms_c_recvctl
_brcms_c_recvctl:                       ; @brcms_c_recvctl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_prep_mac80211_status
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _D11_PHY_HDR_LEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _D11_PHY_HDR_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
Lloh3:
	adrp	x9, _FCS_LEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FCS_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	add	w9, w1, w9
	sub	w21, w8, w9
	mov	x0, x19
	bl	_skb_pull
	mov	x0, x19
	mov	x1, x21
	bl	___skb_trim
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_ieee80211_is_beacon
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x0, [x20, #8]
	mov	w1, #0
	bl	_brcms_b_mute
LBB0_3:
	mov	x0, x19
	bl	_IEEE80211_SKB_RXCB
	add	x1, sp, #8
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x20]
	ldr	w0, [x8]
	mov	x1, x19
	bl	_ieee80211_rx_irqsafe
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_D11_PHY_HDR_LEN,4,2            ; @D11_PHY_HDR_LEN
	.comm	_FCS_LEN,4,2                    ; @FCS_LEN
	.no_dead_strip	_brcms_c_recvctl
.subsections_via_symbols
