	.file	"extr_main.c_b43_upload_microcode.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Microcode not responding\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"YOUR FIRMWARE IS TOO OLD. Firmware from binary drivers older than version 4.x is unsupported. You must upgrade your firmware files.\n"
	.align 8
.LC2:
	.string	"Loading OpenSource firmware version %u.%u\n"
	.align 8
.LC3:
	.string	"Hardware crypto acceleration not supported by firmware\n"
	.section	.rodata.str1.1
.LC4:
	.string	"QoS in OpenFW not supported\n"
	.section	.rodata.str1.8
	.align 8
.LC5:
	.string	"Loading firmware version %u.%u (20%.2i-%.2i-%.2i %.2i:%.2i:%.2i)\n"
	.align 8
.LC6:
	.string	"No \"pcm5.fw\" firmware file found. Hardware accelerated cryptography is disabled.\n"
	.section	.rodata.str1.1
.LC7:
	.string	"%u.%u"
	.section	.rodata.str1.8
	.align 8
.LC8:
	.string	"You are using an old firmware image. Support for old firmware will be removed soon (official deadline was July 2008).\n"
	.text
	.p2align 4
	.type	b43_upload_microcode, @function
b43_upload_microcode:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR 8[rdi]
	mov	esi, DWORD PTR B43_MMIO_MACCTL[rip]
	mov	rax, QWORD PTR [rax]
	mov	r12, QWORD PTR 8[rax]
	call	b43_read32@PLT
	mov	rdi, QWORD PTR B43_MACCTL_PSM_RUN[rip]
	mov	rbx, rax
	and	rdi, rax
	call	B43_WARN_ON@PLT
	mov	rdx, QWORD PTR B43_MACCTL_PSM_JMP0[rip]
	mov	esi, DWORD PTR B43_MMIO_MACCTL[rip]
	mov	rdi, rbp
	or	rdx, rbx
	xor	ebx, ebx
	call	b43_write32@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	mov	esi, DWORD PTR B43_SHM_SCRATCH[rip]
	mov	edx, ebx
	xor	ecx, ecx
	mov	rdi, rbp
	add	ebx, 1
	call	b43_shm_write16@PLT
	cmp	ebx, 64
	jne	.L2
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L3:
	mov	esi, DWORD PTR B43_SHM_SHARED[rip]
	mov	edx, ebx
	xor	ecx, ecx
	mov	rdi, rbp
	add	ebx, 2
	call	b43_shm_write16@PLT
	cmp	ebx, 4096
	jne	.L3
	mov	rax, QWORD PTR 56[rbp]
	mov	esi, DWORD PTR B43_SHM_UCODE[rip]
	xor	edx, edx
	mov	rdi, rbp
	or	esi, DWORD PTR B43_SHM_AUTOINC_W[rip]
	mov	r13, QWORD PTR [rax]
	mov	r14, QWORD PTR 8[rax]
	sub	r13, 4
	lea	rbx, 4[r14]
	shr	r13, 2
	call	b43_shm_control_word@PLT
	test	r13d, r13d
	je	.L4
	lea	eax, -1[r13]
	lea	r13, 8[r14+rax*4]
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edi, DWORD PTR [rbx]
	add	rbx, 4
	call	be32_to_cpu@PLT
	mov	esi, DWORD PTR B43_MMIO_SHM_DATA[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	b43_write32@PLT
	mov	edi, 10
	call	udelay@PLT
	cmp	r13, rbx
	jne	.L5
.L4:
	mov	rax, QWORD PTR 48[rbp]
	test	rax, rax
	je	.L6
	mov	edx, 490
	mov	rdi, rbp
	mov	r14, QWORD PTR 8[rax]
	mov	r13, QWORD PTR [rax]
	mov	esi, DWORD PTR B43_SHM_HW[rip]
	sub	r13, 4
	lea	rbx, 4[r14]
	call	b43_shm_control_word@PLT
	mov	esi, DWORD PTR B43_MMIO_SHM_DATA[rip]
	mov	rdi, rbp
	shr	r13, 2
	mov	edx, 16384
	call	b43_write32@PLT
	mov	esi, DWORD PTR B43_SHM_HW[rip]
	mov	edx, 491
	mov	rdi, rbp
	call	b43_shm_control_word@PLT
	test	r13d, r13d
	je	.L6
	lea	eax, -1[r13]
	lea	r13, 8[r14+rax*4]
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edi, DWORD PTR [rbx]
	add	rbx, 4
	call	be32_to_cpu@PLT
	mov	esi, DWORD PTR B43_MMIO_SHM_DATA[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	b43_write32@PLT
	mov	edi, 10
	call	udelay@PLT
	cmp	rbx, r13
	jne	.L7
.L6:
	mov	edx, DWORD PTR B43_IRQ_ALL[rip]
	mov	esi, DWORD PTR B43_MMIO_GEN_IRQ_REASON[rip]
	mov	rdi, rbp
	mov	ebx, 20
	call	b43_write32@PLT
	mov	rdx, QWORD PTR B43_MACCTL_PSM_JMP0[rip]
	mov	rcx, QWORD PTR B43_MACCTL_PSM_RUN[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR B43_MMIO_MACCTL[rip]
	not	rdx
	call	b43_maskset32@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L35:
	sub	ebx, 1
	je	.L34
	mov	edi, 50
	call	msleep@PLT
.L11:
	mov	esi, DWORD PTR B43_MMIO_GEN_IRQ_REASON[rip]
	mov	rdi, rbp
	call	b43_read32@PLT
	cmp	QWORD PTR B43_IRQ_MAC_SUSPENDED[rip], rax
	jne	.L35
	mov	esi, DWORD PTR B43_MMIO_GEN_IRQ_REASON[rip]
	mov	rdi, rbp
	call	b43_read32@PLT
	mov	edx, DWORD PTR B43_SHM_SH_UCODEREV[rip]
	mov	esi, DWORD PTR B43_SHM_SHARED[rip]
	mov	rdi, rbp
	call	b43_shm_read16@PLT
	mov	edx, DWORD PTR B43_SHM_SH_UCODEPATCH[rip]
	mov	esi, DWORD PTR B43_SHM_SHARED[rip]
	mov	rdi, rbp
	mov	r15d, eax
	call	b43_shm_read16@PLT
	mov	edx, DWORD PTR B43_SHM_SH_UCODEDATE[rip]
	mov	esi, DWORD PTR B43_SHM_SHARED[rip]
	mov	rdi, rbp
	mov	r14d, eax
	call	b43_shm_read16@PLT
	mov	edx, DWORD PTR B43_SHM_SH_UCODETIME[rip]
	mov	esi, DWORD PTR B43_SHM_SHARED[rip]
	mov	rdi, rbp
	mov	ebx, eax
	call	b43_shm_read16@PLT
	mov	r13d, eax
	cmp	r15d, 296
	jle	.L36
	mov	DWORD PTR 16[rbp], r15d
	mov	DWORD PTR 20[rbp], r14d
	cmp	r15d, 597
	jle	.L13
	mov	rax, QWORD PTR B43_FW_HDR_598[rip]
	mov	QWORD PTR 24[rbp], rax
.L14:
	xor	eax, eax
	cmp	ebx, 65535
	sete	al
	xor	edi, edi
	cmp	DWORD PTR 32[rbp], eax
	setne	dil
	call	WARN_ON@PLT
	mov	rdi, QWORD PTR 8[rbp]
	mov	rax, QWORD PTR [rdi]
	cmp	DWORD PTR [rax], 1
	mov	DWORD PTR 4[rbp], 1
	setg	al
	movzx	eax, al
	mov	DWORD PTR 0[rbp], eax
	mov	eax, DWORD PTR 32[rbp]
	test	eax, eax
	je	.L16
	mov	DWORD PTR 20[rbp], r13d
	mov	edx, DWORD PTR 16[rbp]
	mov	ecx, r13d
	xor	eax, eax
	lea	rsi, .LC2[rip]
	call	b43info@PLT
	mov	rdi, rbp
	call	b43_fwcapa_read@PLT
	mov	ebx, eax
	test	DWORD PTR B43_FWCAPA_HWCRYPTO[rip], eax
	je	.L17
	cmp	QWORD PTR 40[rbp], 0
	je	.L18
.L17:
	mov	rdi, QWORD PTR 8[rbp]
	lea	rsi, .LC3[rip]
	xor	eax, eax
	call	b43info@PLT
	mov	DWORD PTR 4[rbp], 0
.L18:
	mov	edi, DWORD PTR B43_FWCAPA_QOS[rip]
	lea	rsi, .LC4[rip]
	and	edi, ebx
	call	WARN@PLT
.L19:
	mov	edi, DWORD PTR 4[r12]
	mov	ecx, DWORD PTR 16[rbp]
	lea	rdx, .LC7[rip]
	mov	esi, 4
	mov	r8d, DWORD PTR 20[rbp]
	call	snprintf@PLT
	mov	rax, QWORD PTR 64[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [r12], eax
	mov	rax, QWORD PTR B43_FW_HDR_351[rip]
	xor	r12d, r12d
	cmp	QWORD PTR 24[rbp], rax
	jne	.L1
	mov	rdi, QWORD PTR 8[rbp]
	lea	rsi, .LC8[rip]
	call	b43warn@PLT
	mov	rdi, QWORD PTR 8[rbp]
	xor	esi, esi
	call	b43_print_fw_helptext@PLT
	jmp	.L1
.L34:
	mov	rdi, QWORD PTR 8[rbp]
	lea	rsi, .LC0[rip]
	call	b43err@PLT
	mov	rdi, QWORD PTR 8[rbp]
	mov	esi, 1
	call	b43_print_fw_helptext@PLT
	mov	r12d, DWORD PTR ENODEV[rip]
	neg	r12d
.L10:
	mov	rdx, QWORD PTR B43_MACCTL_PSM_RUN[rip]
	mov	rcx, QWORD PTR B43_MACCTL_PSM_JMP0[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR B43_MMIO_MACCTL[rip]
	not	rdx
	call	b43_maskset32@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	mov	eax, r13d
	mov	r9d, ebx
	mov	r8d, ebx
	movzx	ebx, bl
	and	eax, 31
	sar	r9d, 8
	mov	ecx, r14d
	mov	edx, r15d
	push	rax
	.cfi_def_cfa_offset 72
	mov	eax, r13d
	sar	r13d, 11
	and	r9d, 15
	sar	eax, 5
	and	r13d, 31
	sar	r8d, 12
	lea	rsi, .LC5[rip]
	and	eax, 63
	and	r8d, 15
	push	rax
	.cfi_def_cfa_offset 80
	xor	eax, eax
	push	r13
	.cfi_def_cfa_offset 88
	push	rbx
	.cfi_def_cfa_offset 96
	call	b43info@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 64
	cmp	QWORD PTR 40[rbp], 0
	je	.L19
	mov	rdi, QWORD PTR 8[rbp]
	lea	rsi, .LC6[rip]
	call	b43warn@PLT
	mov	rdi, QWORD PTR 8[rbp]
	xor	esi, esi
	call	b43_print_fw_helptext@PLT
	jmp	.L19
.L13:
	cmp	r15d, 409
	jle	.L15
	mov	rax, QWORD PTR B43_FW_HDR_410[rip]
	mov	QWORD PTR 24[rbp], rax
	jmp	.L14
.L15:
	mov	rax, QWORD PTR B43_FW_HDR_351[rip]
	mov	QWORD PTR 24[rbp], rax
	jmp	.L14
.L36:
	mov	rdi, QWORD PTR 8[rbp]
	lea	rsi, .LC1[rip]
	call	b43err@PLT
	mov	rdi, QWORD PTR 8[rbp]
	mov	esi, 1
	call	b43_print_fw_helptext@PLT
	mov	r12d, DWORD PTR EOPNOTSUPP[rip]
	neg	r12d
	jmp	.L10
	.cfi_endproc
.LFE0:
	.size	b43_upload_microcode, .-b43_upload_microcode
	.comm	EOPNOTSUPP,4,4
	.comm	ENODEV,4,4
	.comm	B43_SHM_UCODE,4,4
	.comm	B43_SHM_SH_UCODETIME,4,4
	.comm	B43_SHM_SH_UCODEREV,4,4
	.comm	B43_SHM_SH_UCODEPATCH,4,4
	.comm	B43_SHM_SH_UCODEDATE,4,4
	.comm	B43_SHM_SHARED,4,4
	.comm	B43_SHM_SCRATCH,4,4
	.comm	B43_SHM_HW,4,4
	.comm	B43_SHM_AUTOINC_W,4,4
	.comm	B43_MMIO_SHM_DATA,4,4
	.comm	B43_MMIO_MACCTL,4,4
	.comm	B43_MMIO_GEN_IRQ_REASON,4,4
	.comm	B43_MACCTL_PSM_RUN,8,8
	.comm	B43_MACCTL_PSM_JMP0,8,8
	.comm	B43_IRQ_MAC_SUSPENDED,8,8
	.comm	B43_IRQ_ALL,4,4
	.comm	B43_FW_HDR_598,8,8
	.comm	B43_FW_HDR_410,8,8
	.comm	B43_FW_HDR_351,8,8
	.comm	B43_FWCAPA_QOS,4,4
	.comm	B43_FWCAPA_HWCRYPTO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_main.c_b43_upload_microcode.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Microcode not responding\012\000"
	.align	2
.LC1:
	.ascii	"YOUR FIRMWARE IS TOO OLD. Firmware from binary driv"
	.ascii	"ers older than version 4.x is unsupported. You must"
	.ascii	" upgrade your firmware files.\012\000"
	.align	2
.LC2:
	.ascii	"Loading OpenSource firmware version %u.%u\012\000"
	.align	2
.LC3:
	.ascii	"Hardware crypto acceleration not supported by firmw"
	.ascii	"are\012\000"
	.align	2
.LC4:
	.ascii	"QoS in OpenFW not supported\012\000"
	.align	2
.LC5:
	.ascii	"Loading firmware version %u.%u (20%.2i-%.2i-%.2i %."
	.ascii	"2i:%.2i:%.2i)\012\000"
	.align	2
.LC6:
	.ascii	"No \"pcm5.fw\" firmware file found. Hardware accele"
	.ascii	"rated cryptography is disabled.\012\000"
	.align	2
.LC7:
	.ascii	"%u.%u\000"
	.align	2
.LC8:
	.ascii	"You are using an old firmware image. Support for ol"
	.ascii	"d firmware will be removed soon (official deadline "
	.ascii	"was July 2008).\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	b43_upload_microcode, %function
b43_upload_microcode:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, [r0, #8]
	ldr	r7, .L49
	ldr	r3, [r3]
	sub	sp, sp, #36
	ldr	r3, [r3, #4]
	ldr	r1, [r7]
	str	r3, [sp, #24]
	mov	r4, r0
	bl	b43_read32
	mov	r6, r0
	ldr	fp, .L49+4
	ldr	r10, .L49+8
	ldr	r0, [fp]
	mov	r5, #0
	and	r0, r0, r6
	bl	B43_WARN_ON
	ldr	r2, [r10]
	mov	r0, r4
	orr	r2, r6, r2
	ldr	r1, [r7]
	bl	b43_write32
	ldr	r6, .L49+12
.L2:
	mov	r2, r5
	mov	r3, #0
	mov	r0, r4
	ldr	r1, [r6]
	add	r5, r5, #1
	bl	b43_shm_write16
	cmp	r5, #64
	bne	.L2
	mov	r6, #0
	ldr	r5, .L49+16
.L3:
	mov	r2, r6
	mov	r3, #0
	mov	r0, r4
	ldr	r1, [r5]
	add	r6, r6, #2
	bl	b43_shm_write16
	cmp	r6, #4096
	bne	.L3
	ldr	r3, [r4, #36]
	ldr	r1, .L49+20
	ldr	r2, .L49+24
	ldr	r7, [r3]
	ldr	r2, [r2]
	ldr	r1, [r1]
	sub	r7, r7, #4
	ldr	r8, [r3, #4]
	orr	r1, r1, r2
	mov	r0, r4
	mov	r2, #0
	lsr	r7, r7, #2
	bl	b43_shm_control_word
	cmp	r7, #0
	add	r8, r8, #4
	beq	.L4
	ldr	r6, .L49+28
	add	r7, r8, r7, lsl #2
.L5:
	ldr	r0, [r8], #4
	ldr	r9, [r6]
	bl	be32_to_cpu
	mov	r1, r9
	mov	r2, r0
	mov	r0, r4
	bl	b43_write32
	mov	r0, #10
	bl	udelay
	cmp	r8, r7
	bne	.L5
.L4:
	ldr	r3, [r4, #32]
	cmp	r3, #0
	beq	.L6
	ldr	r2, [r3]
	ldr	r7, .L49+32
	ldr	r8, [r3, #4]
	ldr	r6, .L49+28
	sub	r3, r2, #4
	lsr	r3, r3, #2
	ldr	r1, [r7]
	ldr	r2, .L49+36
	mov	r0, r4
	str	r3, [sp, #28]
	bl	b43_shm_control_word
	mov	r2, #16384
	ldr	r1, [r6]
	mov	r0, r4
	bl	b43_write32
	mov	r0, r4
	ldr	r1, [r7]
	ldr	r2, .L49+40
	bl	b43_shm_control_word
	ldr	r3, [sp, #28]
	add	r8, r8, #4
	cmp	r3, #0
	beq	.L6
	add	r7, r8, r3, lsl #2
.L7:
	ldr	r0, [r8], #4
	ldr	r9, [r6]
	bl	be32_to_cpu
	mov	r1, r9
	mov	r2, r0
	mov	r0, r4
	bl	b43_write32
	mov	r0, #10
	bl	udelay
	cmp	r8, r7
	bne	.L7
.L6:
	ldr	r3, .L49+44
	ldr	r7, .L49+48
	ldr	r2, [r3]
	ldr	r1, [r7]
	mov	r0, r4
	bl	b43_write32
	ldr	r2, [r10]
	ldr	r1, .L49
	mvn	r2, r2
	mov	r0, r4
	ldr	r3, [fp]
	ldr	r1, [r1]
	bl	b43_maskset32
	mov	r6, #20
	ldr	r8, .L49+52
	b	.L11
.L47:
	subs	r6, r6, #1
	beq	.L46
	mov	r0, #50
	bl	msleep
.L11:
	mov	r0, r4
	ldr	r1, [r7]
	bl	b43_read32
	ldr	r3, [r8]
	cmp	r3, r0
	bne	.L47
	ldr	r1, [r7]
	mov	r0, r4
	bl	b43_read32
	ldr	r3, .L49+56
	ldr	r1, [r5]
	ldr	r2, [r3]
	mov	r0, r4
	bl	b43_shm_read16
	ldr	r3, .L49+60
	ldr	r1, [r5]
	ldr	r2, [r3]
	mov	r6, r0
	mov	r0, r4
	bl	b43_shm_read16
	ldr	r3, .L49+64
	ldr	r1, [r5]
	ldr	r2, [r3]
	mov	r7, r0
	mov	r0, r4
	bl	b43_shm_read16
	mov	r3, r0
	ldr	r2, .L49+68
	ldr	r1, [r5]
	mov	r0, r4
	ldr	r2, [r2]
	mov	r5, r3
	bl	b43_shm_read16
	cmp	r6, #296
	mov	r8, r0
	ble	.L48
	ldr	r3, .L49+72
	str	r6, [r4, #12]
	cmp	r6, r3
	str	r7, [r4, #16]
	ble	.L13
	ldr	r3, .L49+76
	ldr	r9, .L49+80
	ldr	r3, [r3]
	str	r3, [r4, #20]
.L14:
	ldr	r3, .L49+84
	ldr	r0, [r4, #24]
	sub	r3, r5, r3
	clz	r3, r3
	lsr	r3, r3, #5
	subs	r0, r0, r3
	movne	r0, #1
	bl	WARN_ON
	mov	r2, #1
	ldr	r0, [r4, #8]
	ldr	r10, [r4, #24]
	ldr	r3, [r0]
	ldr	r3, [r3]
	str	r2, [r4, #4]
	cmp	r3, r2
	movle	r3, #0
	movgt	r3, #1
	cmp	r10, #0
	str	r3, [r4]
	beq	.L16
	mov	r3, r8
	ldr	r2, [r4, #12]
	ldr	r1, .L49+88
	str	r8, [r4, #16]
	bl	b43info
	mov	r0, r4
	bl	b43_fwcapa_read
	ldr	r3, .L49+92
	mov	r5, r0
	ldr	r3, [r3]
	tst	r0, r3
	beq	.L17
	ldr	r3, [r4, #28]
	cmp	r3, #0
	beq	.L18
.L17:
	ldr	r1, .L49+96
	ldr	r0, [r4, #8]
	bl	b43info
	mov	r3, #0
	str	r3, [r4, #4]
.L18:
	ldr	r3, .L49+100
	ldr	r1, .L49+104
	ldr	r0, [r3]
	and	r0, r0, r5
	bl	WARN
.L19:
	ldr	r5, [sp, #24]
	ldr	r3, [r4, #16]
	ldr	r0, [r5, #4]
	str	r3, [sp]
	mov	r1, #4
	ldr	r3, [r4, #12]
	ldr	r2, .L49+108
	bl	snprintf
	ldr	r3, [r4, #40]
	ldr	r2, [r9]
	ldr	r1, [r4, #20]
	ldr	r3, [r3]
	cmp	r1, r2
	str	r3, [r5]
	movne	r5, #0
	bne	.L1
	ldr	r1, .L49+112
	ldr	r0, [r4, #8]
	bl	b43warn
	mov	r1, #0
	ldr	r0, [r4, #8]
	bl	b43_print_fw_helptext
	mov	r5, #0
	b	.L1
.L46:
	ldr	r1, .L49+116
	ldr	r0, [r4, #8]
	bl	b43err
	mov	r1, #1
	ldr	r0, [r4, #8]
	bl	b43_print_fw_helptext
	ldr	r3, .L49+120
	ldr	r5, [r3]
	rsb	r5, r5, #0
.L10:
	ldr	r2, [fp]
	ldr	r1, .L49
	mvn	r2, r2
	mov	r0, r4
	ldr	r3, [r10]
	ldr	r1, [r1]
	bl	b43_maskset32
.L1:
	mov	r0, r5
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	asr	ip, r8, #5
	asr	r1, r8, #11
	and	ip, ip, #63
	and	r1, r1, #31
	str	ip, [sp, #16]
	str	r1, [sp, #12]
	asr	ip, r5, #8
	asr	r1, r5, #12
	and	ip, ip, #15
	and	r1, r1, #15
	and	r8, r8, #31
	and	r5, r5, #255
	mov	r3, r7
	stm	sp, {r1, ip}
	mov	r2, r6
	ldr	r1, .L49+124
	str	r8, [sp, #20]
	str	r5, [sp, #8]
	bl	b43info
	ldr	r3, [r4, #28]
	cmp	r3, #0
	beq	.L19
	ldr	r1, .L49+128
	ldr	r0, [r4, #8]
	bl	b43warn
	mov	r1, r10
	ldr	r0, [r4, #8]
	bl	b43_print_fw_helptext
	b	.L19
.L13:
	ldr	r3, .L49+132
	cmp	r6, r3
	ldrgt	r3, .L49+136
	ldrle	r9, .L49+80
	ldrgt	r3, [r3]
	ldrle	r3, [r9]
	ldrgt	r9, .L49+80
	str	r3, [r4, #20]
	b	.L14
.L48:
	ldr	r1, .L49+140
	ldr	r0, [r4, #8]
	bl	b43err
	mov	r1, #1
	ldr	r0, [r4, #8]
	bl	b43_print_fw_helptext
	ldr	r3, .L49+144
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L10
.L50:
	.align	2
.L49:
	.word	B43_MMIO_MACCTL
	.word	B43_MACCTL_PSM_RUN
	.word	B43_MACCTL_PSM_JMP0
	.word	B43_SHM_SCRATCH
	.word	B43_SHM_SHARED
	.word	B43_SHM_UCODE
	.word	B43_SHM_AUTOINC_W
	.word	B43_MMIO_SHM_DATA
	.word	B43_SHM_HW
	.word	490
	.word	491
	.word	B43_IRQ_ALL
	.word	B43_MMIO_GEN_IRQ_REASON
	.word	B43_IRQ_MAC_SUSPENDED
	.word	B43_SHM_SH_UCODEREV
	.word	B43_SHM_SH_UCODEPATCH
	.word	B43_SHM_SH_UCODEDATE
	.word	B43_SHM_SH_UCODETIME
	.word	597
	.word	B43_FW_HDR_598
	.word	B43_FW_HDR_351
	.word	65535
	.word	.LC2
	.word	B43_FWCAPA_HWCRYPTO
	.word	.LC3
	.word	B43_FWCAPA_QOS
	.word	.LC4
	.word	.LC7
	.word	.LC8
	.word	.LC0
	.word	ENODEV
	.word	.LC5
	.word	.LC6
	.word	409
	.word	B43_FW_HDR_410
	.word	.LC1
	.word	EOPNOTSUPP
	.size	b43_upload_microcode, .-b43_upload_microcode
	.comm	EOPNOTSUPP,4,4
	.comm	ENODEV,4,4
	.comm	B43_SHM_UCODE,4,4
	.comm	B43_SHM_SH_UCODETIME,4,4
	.comm	B43_SHM_SH_UCODEREV,4,4
	.comm	B43_SHM_SH_UCODEPATCH,4,4
	.comm	B43_SHM_SH_UCODEDATE,4,4
	.comm	B43_SHM_SHARED,4,4
	.comm	B43_SHM_SCRATCH,4,4
	.comm	B43_SHM_HW,4,4
	.comm	B43_SHM_AUTOINC_W,4,4
	.comm	B43_MMIO_SHM_DATA,4,4
	.comm	B43_MMIO_MACCTL,4,4
	.comm	B43_MMIO_GEN_IRQ_REASON,4,4
	.comm	B43_MACCTL_PSM_RUN,4,4
	.comm	B43_MACCTL_PSM_JMP0,4,4
	.comm	B43_IRQ_MAC_SUSPENDED,4,4
	.comm	B43_IRQ_ALL,4,4
	.comm	B43_FW_HDR_598,4,4
	.comm	B43_FW_HDR_410,4,4
	.comm	B43_FW_HDR_351,4,4
	.comm	B43_FWCAPA_QOS,4,4
	.comm	B43_FWCAPA_HWCRYPTO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
