	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_fw_request_firmware
_brcmf_fw_request_firmware:             ## @brcmf_fw_request_firmware
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rsi), %rbx
	movq	16(%rsi), %rax
	movq	8(%rax), %r13
	shlq	$4, %rbx
	movq	(%r13,%rbx), %rcx
	movq	_BRCMF_FW_TYPE_NVRAM@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.1:
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.2:
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	_BRCMF_FW_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	8(%r13,%rbx), %rsi
	movq	_BRCMF_FW_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_strlcpy
	movq	%r15, %rdi
	callq	_strlen
	cltq
	movb	$0, -4(%rax,%r15)
	movq	_BRCMF_FW_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_strlcat
	movq	16(%r12), %rax
	movq	(%rax), %rsi
	movq	_BRCMF_FW_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_strlcat
	movq	_BRCMF_FW_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_strlcat
	movl	8(%r12), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_request_firmware
	testl	%eax, %eax
	movq	-56(%rbp), %rsp                 ## 8-byte Reload
	je	LBB0_3
LBB0_4:
	movq	8(%r13,%rbx), %rsi
	movl	8(%r12), %edx
	movq	%r14, %rdi
	callq	_request_firmware
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_7
## %bb.6:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BRCMF_FW_TYPE_NVRAM,8,3        ## @BRCMF_FW_TYPE_NVRAM
	.comm	_BRCMF_FW_NAME_LEN,4,2          ## @BRCMF_FW_NAME_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"."

L_.str.1:                               ## @.str.1
	.asciz	".txt"

	.no_dead_strip	_brcmf_fw_request_firmware
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_fw_request_firmware
_brcmf_fw_request_firmware:             ; @brcmf_fw_request_firmware
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x8, [x1, #16]
	ldr	x22, [x8, #8]
	ldr	x23, [x1]
	lsl	x9, x23, #4
	ldr	x9, [x22, x9]
Lloh3:
	adrp	x10, _BRCMF_FW_TYPE_NVRAM@GOTPAGE
Lloh4:
	ldr	x10, [x10, _BRCMF_FW_TYPE_NVRAM@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x24, sp
Lloh6:
	adrp	x25, _BRCMF_FW_NAME_LEN@GOTPAGE
Lloh7:
	ldr	x25, [x25, _BRCMF_FW_NAME_LEN@GOTPAGEOFF]
	ldr	w8, [x25]
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	add	x8, x22, x23, lsl #4
	ldr	x1, [x8, #8]
	ldr	w2, [x25]
	mov	x0, x21
	bl	_strlcpy
	mov	x0, x21
	bl	_strlen
	add	x8, x21, w0, sxtw
	sturb	wzr, [x8, #-4]
	ldr	w2, [x25]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strlcat
	ldr	x8, [x20, #16]
	ldr	x1, [x8]
	ldr	w2, [x25]
	mov	x0, x21
	bl	_strlcat
	ldr	w2, [x25]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_strlcat
	ldr	w2, [x20, #8]
	mov	x0, x19
	mov	x1, x21
	bl	_request_firmware
	mov	sp, x24
	cbz	w0, LBB0_4
LBB0_3:
	add	x8, x22, x23, lsl #4
	ldr	x1, [x8, #8]
	ldr	w2, [x20, #8]
	mov	x0, x19
	bl	_request_firmware
LBB0_4:
	ldur	x8, [x29, #-72]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_BRCMF_FW_TYPE_NVRAM,8,3        ; @BRCMF_FW_TYPE_NVRAM
	.comm	_BRCMF_FW_NAME_LEN,4,2          ; @BRCMF_FW_NAME_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"."

l_.str.1:                               ; @.str.1
	.asciz	".txt"

	.no_dead_strip	_brcmf_fw_request_firmware
.subsections_via_symbols
