	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_netif_mon_rx             ## -- Begin function brcmf_netif_mon_rx
	.p2align	4, 0x90
_brcmf_netif_mon_rx:                    ## @brcmf_netif_mon_rx
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_BRCMF_FEAT_MONITOR_FMT_RADIOTAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_brcmf_feat_is_enabled
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	_BRCMF_FEAT_MONITOR_FMT_HW_RX_HDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_brcmf_feat_is_enabled
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	callq	_le16_to_cpu
	movq	_RXS_PBPRES@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	andl	(%rcx), %eax
	setne	%dl
	movq	_D11_PHY_HDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rdx,2), %esi
	addl	$4, %esi
	movq	%rbx, %rdi
	callq	_skb_pull
LBB0_3:
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_skb_push
	movq	%rax, %r15
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	$8, %edi
	callq	_cpu_to_le16
	movq	%rax, (%r15)
	addl	$-4, (%rbx)
LBB0_4:
	movl	(%r14), %eax
	movl	%eax, 12(%rbx)
	movq	%rbx, %rdi
	callq	_skb_reset_mac_header
	movq	_PACKET_OTHERHOST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_ETH_P_802_2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	%eax, 4(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_brcmf_netif_rx                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BRCMF_FEAT_MONITOR_FMT_RADIOTAP,4,2 ## @BRCMF_FEAT_MONITOR_FMT_RADIOTAP
	.comm	_BRCMF_FEAT_MONITOR_FMT_HW_RX_HDR,4,2 ## @BRCMF_FEAT_MONITOR_FMT_HW_RX_HDR
	.comm	_RXS_PBPRES,4,2                 ## @RXS_PBPRES
	.comm	_D11_PHY_HDR_LEN,8,3            ## @D11_PHY_HDR_LEN
	.comm	_PACKET_OTHERHOST,4,2           ## @PACKET_OTHERHOST
	.comm	_ETH_P_802_2,4,2                ## @ETH_P_802_2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_netif_mon_rx             ; -- Begin function brcmf_netif_mon_rx
	.p2align	2
_brcmf_netif_mon_rx:                    ; @brcmf_netif_mon_rx
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _BRCMF_FEAT_MONITOR_FMT_RADIOTAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BRCMF_FEAT_MONITOR_FMT_RADIOTAP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_brcmf_feat_is_enabled
	cbnz	x0, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _BRCMF_FEAT_MONITOR_FMT_HW_RX_HDR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BRCMF_FEAT_MONITOR_FMT_HW_RX_HDR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_brcmf_feat_is_enabled
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	bl	_le16_to_cpu
Lloh6:
	adrp	x8, _RXS_PBPRES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RXS_PBPRES@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _D11_PHY_HDR_LEN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _D11_PHY_HDR_LEN@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w8, w0
	mov	w8, #6
	mov	w10, #4
	csel	w8, w10, w8, eq
	add	w1, w8, w9
	mov	x0, x19
	bl	_skb_pull
LBB0_3:
	mov	x0, x19
	mov	w1, #8
	bl	_skb_push
	mov	x21, x0
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	w0, #8
	bl	_cpu_to_le16
	str	x0, [x21]
	ldr	w8, [x19]
	sub	w8, w8, #4
	str	w8, [x19]
LBB0_4:
	ldr	w8, [x20]
	str	w8, [x19, #12]
	mov	x0, x19
	bl	_skb_reset_mac_header
Lloh12:
	adrp	x8, _PACKET_OTHERHOST@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PACKET_OTHERHOST@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #8]
Lloh15:
	adrp	x8, _ETH_P_802_2@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ETH_P_802_2@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_htons
	str	w0, [x19, #4]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_brcmf_netif_rx
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_BRCMF_FEAT_MONITOR_FMT_RADIOTAP,4,2 ; @BRCMF_FEAT_MONITOR_FMT_RADIOTAP
	.comm	_BRCMF_FEAT_MONITOR_FMT_HW_RX_HDR,4,2 ; @BRCMF_FEAT_MONITOR_FMT_HW_RX_HDR
	.comm	_RXS_PBPRES,4,2                 ; @RXS_PBPRES
	.comm	_D11_PHY_HDR_LEN,8,3            ; @D11_PHY_HDR_LEN
	.comm	_PACKET_OTHERHOST,4,2           ; @PACKET_OTHERHOST
	.comm	_ETH_P_802_2,4,2                ; @ETH_P_802_2
.subsections_via_symbols
