	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_netif_rx                 ## -- Begin function brcmf_netif_rx
	.p2align	4, 0x90
_brcmf_netif_rx:                        ## @brcmf_netif_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
LBB0_2:
	movq	(%r14), %rcx
	movq	_PACKET_MULTICAST@GOTPCREL(%rip), %rdx
	movq	(%rbx), %rax
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.3:
	incl	12(%rax)
LBB0_4:
	movq	_IFF_UP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_7
## %bb.5:
	movl	16(%r14), %ecx
	addl	%ecx, 8(%rax)
	incl	4(%rax)
	movq	_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	8(%r14), %edi
	callq	_ntohs
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_brcmf_dbg
	xorl	%eax, %eax
	callq	_in_interrupt
	movq	%r14, %rdi
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_netif_rx                       ## TAILCALL
LBB0_1:
	movq	%r14, %rdi
	callq	_brcmf_skb_is_iapp
	testq	%rax, %rax
	je	LBB0_2
LBB0_7:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_brcmu_pkt_buf_free_skb         ## TAILCALL
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_netif_rx_ni                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PACKET_MULTICAST,8,3           ## @PACKET_MULTICAST
	.comm	_IFF_UP,4,2                     ## @IFF_UP
	.comm	_DATA,4,2                       ## @DATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rx proto=0x%X\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_netif_rx                 ; -- Begin function brcmf_netif_rx
	.p2align	2
_brcmf_netif_rx:                        ; @brcmf_netif_rx
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_6
LBB0_1:
	ldr	x9, [x19]
Lloh0:
	adrp	x8, _PACKET_MULTICAST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PACKET_MULTICAST@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x8]
	ldr	x8, [x20]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.2:
	ldr	w9, [x8, #12]
	add	w9, w9, #1
	str	w9, [x8, #12]
LBB0_3:
	ldr	w9, [x8]
Lloh3:
	adrp	x10, _IFF_UP@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IFF_UP@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_7
; %bb.4:
	ldr	w9, [x19, #16]
	ldp	w11, w10, [x8, #4]
	add	w9, w10, w9
	add	w10, w11, #1
	stp	w10, w9, [x8, #4]
Lloh6:
	adrp	x8, _DATA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DATA@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	ldr	w0, [x19, #8]
	bl	_ntohs
	mov	x2, x0
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_brcmf_dbg
	bl	_in_interrupt
	cbz	x0, LBB0_8
; %bb.5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netif_rx
LBB0_6:
	mov	x0, x19
	bl	_brcmf_skb_is_iapp
	cbz	x0, LBB0_1
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_brcmu_pkt_buf_free_skb
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netif_rx_ni
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PACKET_MULTICAST,8,3           ; @PACKET_MULTICAST
	.comm	_IFF_UP,4,2                     ; @IFF_UP
	.comm	_DATA,4,2                       ; @DATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rx proto=0x%X\n"

.subsections_via_symbols
