	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_rx_hdrpull
_brcmf_rx_hdrpull:                      ## @brcmf_rx_hdrpull
	.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	%rdx, %rbx
	movq	%rsi, %r14
	movl	$1, %esi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	callq	_brcmf_proto_hdrpull
	testl	%eax, %eax
	je	LBB0_1
LBB0_3:
	movq	_ENODATA@GOTPCREL(%rip), %r15
	addl	(%r15), %eax
	je	LBB0_6
## %bb.4:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	(%rax), %rax
	incl	(%rax)
LBB0_6:
	movq	%r14, %rdi
	callq	_brcmu_pkt_buf_free_skb
	xorl	%eax, %eax
	subl	(%r15), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	movq	(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.7:
	movq	%r14, %rdi
	callq	_eth_type_trans
	movl	%eax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODATA,4,2                    ## @ENODATA
	.no_dead_strip	_brcmf_rx_hdrpull
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_rx_hdrpull
_brcmf_rx_hdrpull:                      ; @brcmf_rx_hdrpull
	.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	x20, x2
	mov	x19, x1
	mov	w1, #1
	mov	x2, x19
	mov	x3, x20
	bl	_brcmf_proto_hdrpull
	cbz	w0, LBB0_6
LBB0_1:
Lloh0:
	adrp	x21, _ENODATA@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ENODATA@GOTPAGEOFF]
	ldr	w8, [x21]
	cmn	w0, w8
	b.eq	LBB0_4
; %bb.2:
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x8, [x8]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_4:
	mov	x0, x19
	bl	_brcmu_pkt_buf_free_skb
	ldr	w8, [x21]
	neg	w0, w8
LBB0_5:
	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
	ret
LBB0_6:
	ldr	x8, [x20]
	cbz	x8, LBB0_1
; %bb.7:
	ldr	x1, [x8]
	cbz	x1, LBB0_1
; %bb.8:
	mov	x0, x19
	bl	_eth_type_trans
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODATA,4,2                    ; @ENODATA
	.no_dead_strip	_brcmf_rx_hdrpull
.subsections_via_symbols
