	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43_do_request_fw              ## -- Begin function b43_do_request_fw
	.p2align	4, 0x90
_b43_do_request_fw:                     ## @b43_do_request_fw
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.1:
	movl	%ecx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.2:
	movl	8(%r14), %eax
	cmpl	(%r12), %eax
	jne	LBB0_4
## %bb.3:
	movq	%r15, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
LBB0_4:
	movq	%r14, %rdi
	callq	_b43_do_release_fw
LBB0_5:
	movl	(%r12), %eax
	cmpl	$131, %eax
	je	LBB0_10
## %bb.6:
	cmpl	$132, %eax
	jne	LBB0_17
## %bb.7:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_11
LBB0_8:
	movq	%r14, %rdi
	callq	_b43_do_release_fw
LBB0_9:
	xorl	%ebx, %ebx
	jmp	LBB0_29
LBB0_10:
	leaq	L_.str(%rip), %rdx
LBB0_11:
	movq	8(%r12), %rdi
	movq	_modparam_fwpostfix@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$8, %esi
	movq	%r15, %r8
	xorl	%eax, %eax
	callq	_snprintf
	testl	%ebx, %ebx
	je	LBB0_15
## %bb.12:
	movq	32(%r12), %rdi
	addq	$8, %rdi
	callq	_init_completion
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r12), %rdx
	movq	32(%r12), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_b43_fw_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movl	$1, %esi
	movq	%r12, %r9
	callq	_request_firmware_nowait
	testl	%eax, %eax
	js	LBB0_20
## %bb.13:
	movq	32(%r12), %rdi
	addq	$8, %rdi
	callq	_wait_for_completion
	movq	16(%r12), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	cmpl	$12, (%rax)
	jae	LBB0_22
	jmp	LBB0_27
LBB0_15:
	leaq	16(%r12), %r13
	movq	8(%r12), %rsi
	movq	32(%r12), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_request_firmware
	movl	%eax, %ebx
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_18
## %bb.16:
	movq	8(%r12), %rcx
	movq	24(%r12), %rax
	movslq	(%r12), %rdx
	movslq	(%rax,%rdx,4), %rdi
	leaq	L_.str.3(%rip), %rdx
	movl	$4, %esi
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_29
LBB0_17:
	movl	$1, %edi
	callq	_B43_WARN_ON
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_28
LBB0_18:
	testl	%ebx, %ebx
	je	LBB0_21
## %bb.19:
	movq	8(%r12), %rcx
	movq	24(%r12), %rax
	movslq	(%r12), %rdx
	movslq	(%rax,%rdx,4), %rdi
	leaq	L_.str.4(%rip), %rdx
	movl	$4, %esi
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_29
LBB0_20:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	_pr_err
	jmp	LBB0_29
LBB0_21:
	movq	(%r13), %rax
	cmpl	$12, (%rax)
	jb	LBB0_27
LBB0_22:
	movq	8(%rax), %rbx
	movl	(%rbx), %ecx
	leal	-128(%rcx), %edx
	cmpl	$2, %edx
	jae	LBB0_24
## %bb.23:
	movl	8(%rbx), %edi
	callq	_be32_to_cpu
	movslq	%eax, %rcx
	movq	16(%r12), %rax
	movslq	(%rax), %rdx
	addq	$-12, %rdx
	cmpq	%rcx, %rdx
	jne	LBB0_27
	jmp	LBB0_25
LBB0_24:
	cmpl	$130, %ecx
	jne	LBB0_27
LBB0_25:
	cmpl	$1, 4(%rbx)
	jne	LBB0_27
## %bb.26:
	movq	%rax, 16(%r14)
	movq	%r15, (%r14)
	movl	(%r12), %eax
	movl	%eax, 8(%r14)
	jmp	LBB0_9
LBB0_27:
	movq	8(%r12), %rcx
	movq	24(%r12), %rax
	movslq	(%r12), %rdx
	movslq	(%rax,%rdx,4), %rdi
	leaq	L_.str.5(%rip), %rdx
	xorl	%ebx, %ebx
	movl	$4, %esi
	xorl	%eax, %eax
	callq	_snprintf
	movq	16(%r12), %rdi
	callq	_release_firmware
	movq	_EPROTO@GOTPCREL(%rip), %rax
LBB0_28:
	subl	(%rax), %ebx
LBB0_29:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"b43%s/%s.fw"

	.comm	_modparam_fwpostfix,8,3         ## @modparam_fwpostfix
L_.str.1:                               ## @.str.1
	.asciz	"b43-open%s/%s.fw"

	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_b43_fw_cb,4,2                  ## @b43_fw_cb
L_.str.2:                               ## @.str.2
	.asciz	"Unable to load firmware\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
L_.str.3:                               ## @.str.3
	.asciz	"Firmware file \"%s\" not found\n"

L_.str.4:                               ## @.str.4
	.asciz	"Firmware file \"%s\" request failed (err=%d)\n"

L_.str.5:                               ## @.str.5
	.asciz	"Firmware file \"%s\" format error.\n"

	.comm	_EPROTO,4,2                     ## @EPROTO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43_do_request_fw              ; -- Begin function b43_do_request_fw
	.p2align	2
_b43_do_request_fw:                     ; @b43_do_request_fw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x2
	cbz	x1, LBB0_8
; %bb.1:
	mov	x22, x3
	mov	x21, x1
	mov	x19, x0
	ldr	x0, [x20]
	cbz	x0, LBB0_5
; %bb.2:
	ldr	w8, [x20, #8]
	ldr	w9, [x19]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.3:
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_20
LBB0_4:
	mov	x0, x20
	bl	_b43_do_release_fw
LBB0_5:
	ldr	w8, [x19]
	cmp	w8, #131
	b.eq	LBB0_9
; %bb.6:
	cmp	w8, #132
	b.ne	LBB0_15
; %bb.7:
Lloh0:
	adrp	x2, l_.str.1@PAGE
Lloh1:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_8:
	mov	x0, x20
	bl	_b43_do_release_fw
	mov	w22, #0
	b	LBB0_30
LBB0_9:
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
LBB0_10:
	ldr	x0, [x19, #8]
Lloh4:
	adrp	x8, _modparam_fwpostfix@GOTPAGE
Lloh5:
	ldr	x8, [x8, _modparam_fwpostfix@GOTPAGEOFF]
Lloh6:
	ldr	x3, [x8]
	str	x21, [sp]
	mov	w1, #8
	bl	_snprintf
	cbz	w22, LBB0_13
; %bb.11:
	ldr	x8, [x19, #32]
	add	x0, x8, #8
	bl	_init_completion
Lloh7:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	x2, [x19, #8]
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	ldr	w3, [x8]
Lloh10:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh12:
	ldr	w4, [x8]
Lloh13:
	adrp	x8, _b43_fw_cb@GOTPAGE
Lloh14:
	ldr	x8, [x8, _b43_fw_cb@GOTPAGEOFF]
Lloh15:
	ldr	w6, [x8]
	mov	w1, #1
	mov	x5, x19
	bl	_request_firmware_nowait
	tbnz	w0, #31, LBB0_19
; %bb.12:
	ldr	x8, [x19, #32]
	add	x0, x8, #8
	bl	_wait_for_completion
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_22
LBB0_13:
	add	x23, x19, #16
	ldr	x1, [x19, #8]
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	ldr	w2, [x8]
	mov	x0, x23
	bl	_request_firmware
	mov	x22, x0
Lloh16:
	adrp	x8, _ENOENT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_16
; %bb.14:
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19]
	ldrsw	x0, [x8, x9, lsl #2]
	ldr	x3, [x19, #8]
Lloh19:
	adrp	x2, l_.str.3@PAGE
Lloh20:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_18
LBB0_15:
	mov	w0, #1
	bl	_B43_WARN_ON
Lloh21:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
	b	LBB0_29
LBB0_16:
	cbz	w22, LBB0_21
; %bb.17:
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19]
	ldrsw	x0, [x8, x9, lsl #2]
	ldr	x3, [x19, #8]
	str	x22, [sp]
Lloh23:
	adrp	x2, l_.str.4@PAGE
Lloh24:
	add	x2, x2, l_.str.4@PAGEOFF
LBB0_18:
	mov	w1, #4
	bl	_snprintf
	b	LBB0_30
LBB0_19:
	mov	x22, x0
Lloh25:
	adrp	x0, l_.str.2@PAGE
Lloh26:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_err
	b	LBB0_30
LBB0_20:
	mov	w22, #0
	b	LBB0_30
LBB0_21:
	ldr	x8, [x23]
LBB0_22:
	ldr	w9, [x8]
	cmp	w9, #12
	b.lo	LBB0_28
; %bb.23:
	ldr	x22, [x8, #8]
	ldr	w9, [x22]
	sub	w10, w9, #128
	cmp	w10, #2
	b.hs	LBB0_25
; %bb.24:
	ldr	w0, [x22, #8]
	bl	_be32_to_cpu
	ldr	x8, [x19, #16]
	ldrsw	x9, [x8]
	sub	x9, x9, #12
	cmp	x9, w0, sxtw
	b.eq	LBB0_26
	b	LBB0_28
LBB0_25:
	cmp	w9, #130
	b.ne	LBB0_28
LBB0_26:
	ldr	w9, [x22, #4]
	cmp	w9, #1
	b.ne	LBB0_28
; %bb.27:
	mov	w22, #0
	str	x8, [x20, #16]
	str	x21, [x20]
	ldr	w8, [x19]
	str	w8, [x20, #8]
	b	LBB0_30
LBB0_28:
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19]
	ldrsw	x0, [x8, x9, lsl #2]
	ldr	x3, [x19, #8]
Lloh27:
	adrp	x2, l_.str.5@PAGE
Lloh28:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	w1, #4
	bl	_snprintf
	ldr	x0, [x19, #16]
	bl	_release_firmware
Lloh29:
	adrp	x8, _EPROTO@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
LBB0_29:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_30:
	mov	x0, x22
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"b43%s/%s.fw"

	.comm	_modparam_fwpostfix,8,3         ; @modparam_fwpostfix
l_.str.1:                               ; @.str.1
	.asciz	"b43-open%s/%s.fw"

	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_b43_fw_cb,4,2                  ; @b43_fw_cb
l_.str.2:                               ; @.str.2
	.asciz	"Unable to load firmware\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
l_.str.3:                               ; @.str.3
	.asciz	"Firmware file \"%s\" not found\n"

l_.str.4:                               ; @.str.4
	.asciz	"Firmware file \"%s\" request failed (err=%d)\n"

l_.str.5:                               ; @.str.5
	.asciz	"Firmware file \"%s\" format error.\n"

	.comm	_EPROTO,4,2                     ; @EPROTO
.subsections_via_symbols
