	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_proto_bcdc_hdrpush
_brcmf_proto_bcdc_hdrpush:              ## @brcmf_proto_bcdc_hdrpush
	.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	%rcx, %rbx
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	_BCDC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_brcmf_dbg
	movq	_BCDC_HEADER_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_skb_push
	movq	16(%rbx), %rdi
	movq	_BCDC_PROTO_VER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_BCDC_FLAG_VER_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movl	%eax, (%rdi)
	movq	(%rbx), %rcx
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movq	_BCDC_FLAG_SUM_NEEDED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rdi)
LBB0_2:
	movq	_BCDC_PRIORITY_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	8(%rbx), %eax
	movl	%eax, 4(%rdi)
	movq	$0, 16(%rdi)
	movl	%r15d, 8(%rdi)
	movl	%r14d, %esi
	callq	_BCDC_SET_IF_IDX
	movq	16(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_trace_brcmf_bcdchdr            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BCDC,4,2                       ## @BCDC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter\n"

	.comm	_BCDC_HEADER_LEN,4,2            ## @BCDC_HEADER_LEN
	.comm	_BCDC_PROTO_VER,4,2             ## @BCDC_PROTO_VER
	.comm	_BCDC_FLAG_VER_SHIFT,4,2        ## @BCDC_FLAG_VER_SHIFT
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.comm	_BCDC_FLAG_SUM_NEEDED,4,2       ## @BCDC_FLAG_SUM_NEEDED
	.comm	_BCDC_PRIORITY_MASK,4,2         ## @BCDC_PRIORITY_MASK
	.no_dead_strip	_brcmf_proto_bcdc_hdrpush
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_proto_bcdc_hdrpush
_brcmf_proto_bcdc_hdrpush:              ; @brcmf_proto_bcdc_hdrpush
	.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, x3
	mov	x21, x2
	mov	x20, x1
Lloh0:
	adrp	x8, _BCDC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BCDC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_brcmf_dbg
Lloh5:
	adrp	x8, _BCDC_HEADER_LEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BCDC_HEADER_LEN@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_skb_push
Lloh8:
	adrp	x8, _BCDC_PROTO_VER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BCDC_PROTO_VER@GOTPAGEOFF]
	ldr	x0, [x19, #16]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _BCDC_FLAG_VER_SHIFT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _BCDC_FLAG_VER_SHIFT@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	str	w8, [x0]
	ldr	x9, [x19]
Lloh14:
	adrp	x10, _CHECKSUM_PARTIAL@GOTPAGE
Lloh15:
	ldr	x10, [x10, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
Lloh17:
	adrp	x9, _BCDC_FLAG_SUM_NEEDED@GOTPAGE
Lloh18:
	ldr	x9, [x9, _BCDC_FLAG_SUM_NEEDED@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x0]
LBB0_2:
Lloh20:
	adrp	x8, _BCDC_PRIORITY_MASK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BCDC_PRIORITY_MASK@GOTPAGEOFF]
	ldr	w9, [x19, #8]
Lloh22:
	ldr	w8, [x8]
	and	w8, w8, w9
	str	xzr, [x0, #16]
	stp	w8, w21, [x0, #4]
	mov	x1, x20
	bl	_BCDC_SET_IF_IDX
	ldr	x0, [x19, #16]
	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	_trace_brcmf_bcdchdr
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_BCDC,4,2                       ; @BCDC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter\n"

	.comm	_BCDC_HEADER_LEN,4,2            ; @BCDC_HEADER_LEN
	.comm	_BCDC_PROTO_VER,4,2             ; @BCDC_PROTO_VER
	.comm	_BCDC_FLAG_VER_SHIFT,4,2        ; @BCDC_FLAG_VER_SHIFT
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.comm	_BCDC_FLAG_SUM_NEEDED,4,2       ; @BCDC_FLAG_SUM_NEEDED
	.comm	_BCDC_PRIORITY_MASK,4,2         ; @BCDC_PRIORITY_MASK
	.no_dead_strip	_brcmf_proto_bcdc_hdrpush
.subsections_via_symbols
