	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl1251_boot_upload_firmware
_wl1251_boot_upload_firmware:           ## @wl1251_boot_upload_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_DEBUG_BOOT@GOTPCREL(%rip), %r15
	movl	(%r15), %r14d
	movq	_CHIP_ID_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wl1251_reg_read32
	leaq	L_.str(%rip), %rsi
	xorl	%r13d, %r13d
	movl	%r14d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wl1251_debug
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	movl	16(%rax), %ecx
	movl	20(%rax), %edx
	shll	$24, %ecx
	shll	$16, %edx
	orl	%ecx, %edx
	movl	24(%rax), %ebx
	shll	$8, %ebx
	orl	%edx, %ebx
	orl	28(%rax), %ebx
	movslq	%ebx, %r14
	movl	(%r15), %edi
	movq	_CHUNK_SIZE@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_wl1251_debug
	testb	$3, %r14b
	je	LBB0_2
## %bb.1:
	leaq	L_.str.2(%rip), %rdi
	callq	_wl1251_error
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_19
LBB0_2:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	(%r12), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	_WL1251_PART_DOWN_MEM_START@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_WL1251_PART_DOWN_MEM_SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_WL1251_PART_DOWN_REG_START@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_WL1251_PART_DOWN_REG_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r8d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_wl1251_set_partition
	movq	(%r12), %r9
	cmpq	%r14, %r9
	jbe	LBB0_6
## %bb.5:
	xorl	%esi, %esi
	jmp	LBB0_15
LBB0_3:
	leaq	L_.str.3(%rip), %rdi
	callq	_wl1251_error
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_19
LBB0_6:
	movl	(%r13), %edx
	xorl	%ecx, %ecx
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	_WL1251_PART_DOWN_REG_START@GOTPCREL(%rip), %rdi
	movq	_DEBUG_BOOT@GOTPCREL(%rip), %r8
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rax
	xorl	%edx, %edx
	divq	%r9
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_DEBUG_BOOT@GOTPCREL(%rip), %r8
	movq	_WL1251_PART_DOWN_MEM_START@GOTPCREL(%rip), %r15
	movq	_WL1251_PART_DOWN_MEM_SIZE@GOTPCREL(%rip), %r13
	movq	_WL1251_PART_DOWN_REG_START@GOTPCREL(%rip), %rdi
	movq	_WL1251_PART_DOWN_REG_SIZE@GOTPCREL(%rip), %rbx
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	cmpq	%rcx, %rax
	jbe	LBB0_14
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	leal	2(%rcx), %eax
	imull	%r9d, %eax
	addl	%esi, %eax
	cmpl	%edx, %eax
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	jle	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	%ecx, %eax
	imull	%r9d, %eax
	addl	%eax, %esi
	movl	(%r13), %edx
	addl	%edx, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	(%rdi), %ecx
	movq	%r8, %r14
	movl	(%rbx), %r8d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_wl1251_set_partition
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, %r8
	movl	(%r15), %esi
	movq	(%r12), %r9
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	imulq	%rcx, %r9
	leal	(%r9,%rsi), %r13d
	movq	_FW_HDR_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	addq	(%rdx), %rax
	leaq	(%rax,%r9,4), %rbx
	movl	(%r8), %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdx
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_wl1251_debug
	movq	(%r12), %r15
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_memcpy
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_wl1251_mem_write
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movq	(%r12), %r9
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rax
	orq	%r9, %rax
	shrq	$32, %rax
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	xorl	%edx, %edx
	divl	%r9d
                                        ## kill: def $eax killed $eax def $rax
	jmp	LBB0_13
LBB0_14:
	movl	%ecx, %esi
LBB0_15:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	imulq	%r9, %rsi
	movl	(%r15), %ebx
	movq	_FW_HDR_SIZE@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	shlq	$2, %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	(%rdi), %rdx
	addl	%esi, %ebx
	leaq	(%rdx,%rsi,4), %r12
	movq	%r14, %rdx
	orq	%r9, %rdx
	shrq	$32, %rdx
	je	LBB0_16
## %bb.17:
	movq	%r14, %rax
	xorl	%edx, %edx
	divq	%r9
	movq	%rdx, %r15
	jmp	LBB0_18
LBB0_16:
	xorl	%edx, %edx
	divl	%r9d
	movl	%edx, %r15d
LBB0_18:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_memcpy
	movq	_DEBUG_BOOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%r15, %rdx
	movq	%r12, %rcx
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_wl1251_debug
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_wl1251_mem_write
	movq	%r14, %rdi
	callq	_kfree
LBB0_19:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEBUG_BOOT,4,2                 ## @DEBUG_BOOT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"chip id before fw upload: 0x%x"

	.comm	_CHIP_ID_B,4,2                  ## @CHIP_ID_B
L_.str.1:                               ## @.str.1
	.asciz	"fw_data_len %zu chunk_size %d"

	.comm	_CHUNK_SIZE,8,3                 ## @CHUNK_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"firmware length not multiple of four"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.3:                               ## @.str.3
	.asciz	"allocation for firmware upload chunk failed"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_WL1251_PART_DOWN_MEM_START,4,2 ## @WL1251_PART_DOWN_MEM_START
	.comm	_WL1251_PART_DOWN_MEM_SIZE,4,2  ## @WL1251_PART_DOWN_MEM_SIZE
	.comm	_WL1251_PART_DOWN_REG_START,4,2 ## @WL1251_PART_DOWN_REG_START
	.comm	_WL1251_PART_DOWN_REG_SIZE,4,2  ## @WL1251_PART_DOWN_REG_SIZE
	.comm	_FW_HDR_SIZE,4,2                ## @FW_HDR_SIZE
L_.str.4:                               ## @.str.4
	.asciz	"uploading fw chunk 0x%p to 0x%x"

L_.str.5:                               ## @.str.5
	.asciz	"uploading fw last chunk (%zu B) 0x%p to 0x%x"

	.no_dead_strip	_wl1251_boot_upload_firmware
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl1251_boot_upload_firmware
_wl1251_boot_upload_firmware:           ; @wl1251_boot_upload_firmware
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x28, _DEBUG_BOOT@GOTPAGE
Lloh1:
	ldr	x28, [x28, _DEBUG_BOOT@GOTPAGEOFF]
	ldr	w20, [x28]
Lloh2:
	adrp	x8, _CHIP_ID_B@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CHIP_ID_B@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_wl1251_reg_read32
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_wl1251_debug
	ldr	x8, [x19]
	ldp	w9, w10, [x8, #16]
	lsl	w10, w10, #16
	orr	w9, w10, w9, lsl #24
	ldp	w10, w8, [x8, #24]
	orr	w9, w9, w10, lsl #8
	orr	w8, w9, w8
	sxtw	x26, w8
	ldr	w0, [x28]
Lloh7:
	adrp	x27, _CHUNK_SIZE@GOTPAGE
Lloh8:
	ldr	x27, [x27, _CHUNK_SIZE@GOTPAGEOFF]
	ldr	x8, [x27]
	stp	x26, x8, [sp]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wl1251_debug
	tst	x26, #0x3
	b.eq	LBB0_3
; %bb.1:
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_wl1251_error
Lloh13:
	adrp	x8, _EIO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_13
LBB0_3:
	ldr	x0, [x27]
Lloh15:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_kmalloc
	cbz	x0, LBB0_6
; %bb.4:
	mov	x20, x0
Lloh18:
	adrp	x8, _WL1251_PART_DOWN_MEM_START@GOTPAGE
Lloh19:
	ldr	x8, [x8, _WL1251_PART_DOWN_MEM_START@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x21, _WL1251_PART_DOWN_MEM_SIZE@GOTPAGE
Lloh22:
	ldr	x21, [x21, _WL1251_PART_DOWN_MEM_SIZE@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh23:
	adrp	x8, _WL1251_PART_DOWN_REG_START@GOTPAGE
Lloh24:
	ldr	x8, [x8, _WL1251_PART_DOWN_REG_START@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
Lloh26:
	adrp	x8, _WL1251_PART_DOWN_REG_SIZE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _WL1251_PART_DOWN_REG_SIZE@GOTPAGEOFF]
Lloh28:
	ldr	w4, [x8]
	mov	x0, x19
	bl	_wl1251_set_partition
	ldr	x8, [x27]
	cmp	x8, x26
	b.ls	LBB0_7
; %bb.5:
	mov	x9, #0
	b	LBB0_12
LBB0_6:
Lloh29:
	adrp	x0, l_.str.3@PAGE
Lloh30:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_wl1251_error
Lloh31:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_2
LBB0_7:
	mov	x25, #0
	ldr	w21, [x21]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	mul	x8, x8, x25
	add	w22, w9, w8
	ldr	x9, [x19]
Lloh33:
	adrp	x10, _FW_HDR_SIZE@GOTPAGE
Lloh34:
	ldr	x10, [x10, _FW_HDR_SIZE@GOTPAGEOFF]
Lloh35:
	ldrsw	x10, [x10]
	add	x9, x9, x10, lsl #2
	add	x23, x9, x8, lsl #2
	ldr	w0, [x28]
	stp	x23, x22, [sp]
Lloh36:
	adrp	x1, l_.str.4@PAGE
Lloh37:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wl1251_debug
	ldr	x24, [x27]
	mov	x0, x20
	mov	x1, x23
	mov	x2, x24
	bl	_memcpy
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	mov	x3, x24
	bl	_wl1251_mem_write
	add	x25, x25, #1
	ldr	x8, [x27]
	udiv	x9, x26, x8
	cmp	x9, x25
	b.ls	LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
Lloh38:
	adrp	x9, _WL1251_PART_DOWN_MEM_START@GOTPAGE
Lloh39:
	ldr	x9, [x9, _WL1251_PART_DOWN_MEM_START@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	add	w10, w25, #2
	madd	w10, w10, w8, w9
	cmp	w10, w21
	b.le	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mul	w8, w25, w8
	add	w1, w9, w8
Lloh41:
	adrp	x9, _WL1251_PART_DOWN_MEM_SIZE@GOTPAGE
Lloh42:
	ldr	x9, [x9, _WL1251_PART_DOWN_MEM_SIZE@GOTPAGEOFF]
Lloh43:
	ldr	w2, [x9]
	add	w21, w2, w8
Lloh44:
	adrp	x8, _WL1251_PART_DOWN_REG_START@GOTPAGE
Lloh45:
	ldr	x8, [x8, _WL1251_PART_DOWN_REG_START@GOTPAGEOFF]
Lloh46:
	ldr	w3, [x8]
Lloh47:
	adrp	x8, _WL1251_PART_DOWN_REG_SIZE@GOTPAGE
Lloh48:
	ldr	x8, [x8, _WL1251_PART_DOWN_REG_SIZE@GOTPAGEOFF]
Lloh49:
	ldr	w4, [x8]
	mov	x0, x19
	bl	_wl1251_set_partition
Lloh50:
	adrp	x8, _WL1251_PART_DOWN_MEM_START@GOTPAGE
Lloh51:
	ldr	x8, [x8, _WL1251_PART_DOWN_MEM_START@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x8]
	ldr	x8, [x27]
	b	LBB0_8
LBB0_11:
	and	x9, x25, #0xffffffff
LBB0_12:
Lloh53:
	adrp	x10, _WL1251_PART_DOWN_MEM_START@GOTPAGE
Lloh54:
	ldr	x10, [x10, _WL1251_PART_DOWN_MEM_START@GOTPAGEOFF]
Lloh55:
	ldr	w10, [x10]
	mul	x9, x8, x9
	add	w21, w10, w9
	ldr	x10, [x19]
Lloh56:
	adrp	x11, _FW_HDR_SIZE@GOTPAGE
Lloh57:
	ldr	x11, [x11, _FW_HDR_SIZE@GOTPAGEOFF]
Lloh58:
	ldrsw	x11, [x11]
	add	x10, x10, x11, lsl #2
	add	x22, x10, x9, lsl #2
	udiv	x9, x26, x8
	msub	x23, x9, x8, x26
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	bl	_memcpy
	ldr	w0, [x28]
	stp	x22, x21, [sp, #8]
	str	x23, [sp]
Lloh59:
	adrp	x1, l_.str.5@PAGE
Lloh60:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wl1251_debug
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	x3, x23
	bl	_wl1251_mem_write
	mov	x0, x20
	bl	_kfree
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.cfi_endproc
                                        ; -- End function
	.comm	_DEBUG_BOOT,4,2                 ; @DEBUG_BOOT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"chip id before fw upload: 0x%x"

	.comm	_CHIP_ID_B,4,2                  ; @CHIP_ID_B
l_.str.1:                               ; @.str.1
	.asciz	"fw_data_len %zu chunk_size %d"

	.comm	_CHUNK_SIZE,8,3                 ; @CHUNK_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"firmware length not multiple of four"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.3:                               ; @.str.3
	.asciz	"allocation for firmware upload chunk failed"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_WL1251_PART_DOWN_MEM_START,4,2 ; @WL1251_PART_DOWN_MEM_START
	.comm	_WL1251_PART_DOWN_MEM_SIZE,4,2  ; @WL1251_PART_DOWN_MEM_SIZE
	.comm	_WL1251_PART_DOWN_REG_START,4,2 ; @WL1251_PART_DOWN_REG_START
	.comm	_WL1251_PART_DOWN_REG_SIZE,4,2  ; @WL1251_PART_DOWN_REG_SIZE
	.comm	_FW_HDR_SIZE,4,2                ; @FW_HDR_SIZE
l_.str.4:                               ; @.str.4
	.asciz	"uploading fw chunk 0x%p to 0x%x"

l_.str.5:                               ; @.str.5
	.asciz	"uploading fw last chunk (%zu B) 0x%p to 0x%x"

	.no_dead_strip	_wl1251_boot_upload_firmware
.subsections_via_symbols
