	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_c_download
_brcmf_c_download:                      ## @brcmf_c_download
	.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, %r14
	movq	%rdx, %rbx
	movq	%rdi, %r15
	movq	_DLOAD_HANDLER_VER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DLOAD_FLAG_VER_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edi
	orl	%esi, %edi
	callq	_cpu_to_le16
	movq	%rax, 24(%rbx)
	movq	_DL_TYPE_CLM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%rbx)
	movq	%r14, %rdi
	callq	_cpu_to_le32
	movq	%rax, 8(%rbx)
	xorl	%edi, %edi
	callq	_cpu_to_le32
	movq	%rax, (%rbx)
	addq	$31, %r14
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_brcmf_fil_iovar_data_set       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DLOAD_HANDLER_VER,4,2          ## @DLOAD_HANDLER_VER
	.comm	_DLOAD_FLAG_VER_SHIFT,4,2       ## @DLOAD_FLAG_VER_SHIFT
	.comm	_DL_TYPE_CLM,4,2                ## @DL_TYPE_CLM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"clmload"

	.no_dead_strip	_brcmf_c_download
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_c_download
_brcmf_c_download:                      ; @brcmf_c_download
	.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	x20, x2
	mov	x21, x0
Lloh0:
	adrp	x8, _DLOAD_HANDLER_VER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DLOAD_HANDLER_VER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DLOAD_FLAG_VER_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DLOAD_FLAG_VER_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	orr	w0, w8, w1
	bl	_cpu_to_le16
	str	x0, [x20, #24]
Lloh6:
	adrp	x8, _DL_TYPE_CLM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DL_TYPE_CLM@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x20, #16]
	mov	x0, x19
	bl	_cpu_to_le32
	str	x0, [x20, #8]
	mov	x0, #0
	bl	_cpu_to_le32
	str	x0, [x20]
	add	x3, x19, #31
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	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_fil_iovar_data_set
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DLOAD_HANDLER_VER,4,2          ; @DLOAD_HANDLER_VER
	.comm	_DLOAD_FLAG_VER_SHIFT,4,2       ; @DLOAD_FLAG_VER_SHIFT
	.comm	_DL_TYPE_CLM,4,2                ; @DL_TYPE_CLM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"clmload"

	.no_dead_strip	_brcmf_c_download
.subsections_via_symbols
