	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_dnld_cmd_to_fw
_mwifiex_dnld_cmd_to_fw:                ## @mwifiex_dnld_cmd_to_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %r14d
	testq	%rsi, %rsi
	je	LBB0_27
## %bb.1:
	movq	(%rdi), %r15
	testq	%r15, %r15
	je	LBB0_27
## %bb.2:
	movq	%rsi, %rbx
	movq	8(%rsi), %rax
	movq	8(%rax), %r13
	testq	%r13, %r13
	je	LBB0_4
## %bb.3:
	cmpq	$0, (%r13)
	je	LBB0_4
## %bb.7:
	movq	8(%r13), %rdi
	callq	_le16_to_cpu
	movq	%rax, %r12
	movq	%rax, 24(%rbx)
	movq	(%r13), %rdi
	callq	_le16_to_cpu
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rax
	movq	_MWIFIEX_HW_STATUS_RESET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.8:
	movq	_HostCmd_CMD_FUNC_SHUTDOWN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_11
## %bb.9:
	movq	_HostCmd_CMD_FUNC_INIT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_11
## %bb.10:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_mwifiex_recycle_cmd_node
	movl	96(%r15), %edi
	addq	$92, %r15
	movq	%r15, %rsi
	callq	_queue_work
	jmp	LBB0_27
LBB0_4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	cmpq	$0, (%rbx)
	je	LBB0_6
## %bb.5:
	movl	$-1, 72(%r15)
LBB0_6:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_mwifiex_recycle_cmd_node
LBB0_27:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movl	88(%r15), %edi
	incl	%edi
	movl	%edi, 88(%r15)
	movq	16(%rbx), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	callq	_HostCmd_SET_SEQ_NO_BSS_INFO
	movl	%eax, %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%r13)
	leaq	56(%r15), %r14
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movq	%rbx, 64(%r15)
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	movq	8(%rbx), %rdi
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	subq	(%rdi), %rsi
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jge	LBB0_13
## %bb.12:
	movq	%r14, %rsi
	callq	_skb_trim
	jmp	LBB0_15
LBB0_13:
	jle	LBB0_15
## %bb.14:
	callq	_skb_put
LBB0_15:
	movq	_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_S_DS_GEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(,%rax,4), %rdi
	addq	%r13, %rdi
	callq	_get_unaligned_le16
	movl	%eax, %r12d
	movq	16(%r13), %rdi
	callq	_le16_to_cpu
	movq	%rax, (%rsp)
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%r12d, %r8d
	movq	%r14, %r9
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movq	_CMD_D@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rdi
	movq	%r13, %rcx
	movq	%r14, %r8
	callq	_mwifiex_dbg_dump
	movq	8(%r15), %rax
	movq	_MWIFIEX_USB@GOTPCREL(%rip), %rcx
	movq	8(%rbx), %rdi
	cmpq	(%rcx), %rax
	movl	$-1, %r14d
	jne	LBB0_18
## %bb.16:
	movq	_MWIFIEX_TYPE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_skb_push
	movq	_MWIFIEX_USB_TYPE_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rax
	movq	8(%rax), %rsi
	callq	_put_unaligned_le32
	movl	$1, 16(%r15)
	movq	_MWIFIEX_USB_EP_CMD_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rdx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	*80(%r15)
	movl	%eax, %r12d
	movq	8(%rbx), %rdi
	movq	_MWIFIEX_TYPE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_skb_pull
	movq	_EBUSY@GOTPCREL(%rip), %rax
	movl	%r12d, %ecx
	addl	(%rax), %ecx
	jne	LBB0_19
## %bb.17:
	movq	$0, 8(%rbx)
	jmp	LBB0_19
LBB0_18:
	movl	76(%r15), %esi
	callq	_skb_push
	movq	_MWIFIEX_TYPE_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rdx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	*80(%r15)
	movl	%eax, %r12d
	movq	8(%rbx), %rdi
	movl	76(%r15), %esi
	callq	_skb_pull
LBB0_19:
	cmpl	$-1, %r12d
	je	LBB0_20
## %bb.25:
	movl	24(%r15), %eax
	incl	%eax
	movq	_DBG_CMD_NUM@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%edx, 24(%r15)
	movq	40(%r15), %rax
	movslq	%edx, %rcx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, (%rax,%rcx,8)
	movq	_S_DS_GEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(,%rax,4), %rdi
	addq	%r13, %rdi
	callq	_get_unaligned_le16
	movq	32(%r15), %rcx
	movslq	24(%r15), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movq	_HostCmd_CMD_FW_DUMP_EVENT@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	cmpq	(%rax), %rbx
	je	LBB0_27
## %bb.26:
	addq	$20, %r15
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_MWIFIEX_TIMER_10S@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	addq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_mod_timer
	jmp	LBB0_27
LBB0_20:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movq	8(%r15), %rax
	movq	_MWIFIEX_USB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.21:
	movl	$0, 16(%r15)
LBB0_22:
	cmpq	$0, (%rbx)
	je	LBB0_24
## %bb.23:
	movl	$-1, 72(%r15)
LBB0_24:
	movq	64(%r15), %rsi
	movq	%r15, %rdi
	callq	_mwifiex_recycle_cmd_node
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_spin_lock_bh
	movq	$0, 64(%r15)
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
	incl	48(%r15)
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DNLD_CMD: host_cmd is null\tor cmd size is 0, not sending\n"

	.comm	_MWIFIEX_HW_STATUS_RESET,8,3    ## @MWIFIEX_HW_STATUS_RESET
	.comm	_HostCmd_CMD_FUNC_SHUTDOWN,8,3  ## @HostCmd_CMD_FUNC_SHUTDOWN
	.comm	_HostCmd_CMD_FUNC_INIT,8,3      ## @HostCmd_CMD_FUNC_INIT
L_.str.1:                               ## @.str.1
	.asciz	"DNLD_CMD: FW in reset state, ignore cmd %#x\n"

	.comm	_CMD,4,2                        ## @CMD
L_.str.2:                               ## @.str.2
	.asciz	"cmd: DNLD_CMD: %#x, act %#x, len %d, seqno %#x\n"

	.comm	_S_DS_GEN,4,2                   ## @S_DS_GEN
	.comm	_CMD_D,4,2                      ## @CMD_D
L_.str.3:                               ## @.str.3
	.asciz	"cmd buffer:"

	.comm	_MWIFIEX_USB,8,3                ## @MWIFIEX_USB
	.comm	_MWIFIEX_TYPE_LEN,4,2           ## @MWIFIEX_TYPE_LEN
	.comm	_MWIFIEX_USB_TYPE_CMD,4,2       ## @MWIFIEX_USB_TYPE_CMD
	.comm	_MWIFIEX_USB_EP_CMD_EVENT,4,2   ## @MWIFIEX_USB_EP_CMD_EVENT
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_MWIFIEX_TYPE_CMD,4,2           ## @MWIFIEX_TYPE_CMD
L_.str.4:                               ## @.str.4
	.asciz	"DNLD_CMD: host to card failed\n"

	.comm	_DBG_CMD_NUM,4,2                ## @DBG_CMD_NUM
	.comm	_HostCmd_CMD_FW_DUMP_EVENT,8,3  ## @HostCmd_CMD_FW_DUMP_EVENT
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_MWIFIEX_TIMER_10S,4,2          ## @MWIFIEX_TIMER_10S
	.comm	_HostCmd_CMD_ID_MASK,8,3        ## @HostCmd_CMD_ID_MASK
	.no_dead_strip	_mwifiex_dnld_cmd_to_fw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_dnld_cmd_to_fw
_mwifiex_dnld_cmd_to_fw:                ; @mwifiex_dnld_cmd_to_fw
	.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	x8, x0
	mov	w0, #-1
	cbz	x1, LBB0_27
; %bb.1:
	ldr	x19, [x8]
	cbz	x19, LBB0_27
; %bb.2:
	mov	x20, x1
	ldr	x8, [x1, #8]
	ldr	x22, [x8, #8]
	cbz	x22, LBB0_7
; %bb.3:
	ldr	x8, [x22]
	cbz	x8, LBB0_7
; %bb.4:
	ldr	x0, [x22, #8]
	bl	_le16_to_cpu
	mov	x21, x0
	str	x0, [x20, #24]
	ldr	x0, [x22]
	bl	_le16_to_cpu
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _MWIFIEX_HW_STATUS_RESET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MWIFIEX_HW_STATUS_RESET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _HostCmd_CMD_FUNC_SHUTDOWN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _HostCmd_CMD_FUNC_SHUTDOWN@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _HostCmd_CMD_FUNC_INIT@GOTPAGE
Lloh7:
	ldr	x11, [x11, _HostCmd_CMD_FUNC_INIT@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x21, x10, #4, eq
	ccmp	x21, x11, #4, ne
	b.ne	LBB0_10
; %bb.5:
	mov	x24, x0
	ldr	w8, [x19, #88]
	add	w0, w8, #1
	str	w0, [x19, #88]
	ldr	x8, [x20, #16]
	ldp	w2, w1, [x8]
	bl	_HostCmd_SET_SEQ_NO_BSS_INFO
	bl	_cpu_to_le16
	str	x0, [x22, #16]
	add	x23, x19, #56
	mov	x0, x23
	bl	_spin_lock_bh
	str	x20, [x19, #64]
	mov	x0, x23
	bl	_spin_unlock_bh
	ldr	x0, [x20, #8]
	ldr	x8, [x0]
	subs	x1, x24, x8
	b.ge	LBB0_11
; %bb.6:
	mov	x1, x24
	bl	_skb_trim
	b	LBB0_13
LBB0_7:
Lloh9:
	adrp	x8, _ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_mwifiex_dbg
	ldr	x8, [x20]
	cbz	x8, LBB0_9
; %bb.8:
	mov	w8, #-1
	str	w8, [x19, #72]
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	bl	_mwifiex_recycle_cmd_node
	b	LBB0_26
LBB0_10:
Lloh14:
	adrp	x8, _ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	str	x21, [sp]
Lloh17:
	adrp	x2, l_.str.1@PAGE
Lloh18:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_mwifiex_dbg
	mov	x0, x19
	mov	x1, x20
	bl	_mwifiex_recycle_cmd_node
	ldr	w0, [x19, #96]
	add	x1, x19, #92
	bl	_queue_work
	b	LBB0_26
LBB0_11:
	b.le	LBB0_13
; %bb.12:
	bl	_skb_put
LBB0_13:
Lloh19:
	adrp	x8, _CMD@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CMD@GOTPAGEOFF]
Lloh21:
	ldr	w25, [x8]
Lloh22:
	adrp	x27, _S_DS_GEN@GOTPAGE
Lloh23:
	ldr	x27, [x27, _S_DS_GEN@GOTPAGEOFF]
	ldrsw	x8, [x27]
	add	x0, x22, x8, lsl #2
	bl	_get_unaligned_le16
	mov	x26, x0
	ldr	x0, [x22, #16]
	bl	_le16_to_cpu
	stp	x24, x0, [sp, #16]
	stp	x21, x26, [sp]
Lloh24:
	adrp	x2, l_.str.2@PAGE
Lloh25:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x25
	bl	_mwifiex_dbg
Lloh26:
	adrp	x8, _CMD_D@GOTPAGE
Lloh27:
	ldr	x8, [x8, _CMD_D@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x2, l_.str.3@PAGE
Lloh30:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x3, x22
	mov	x4, x24
	bl	_mwifiex_dbg_dump
	ldr	x8, [x19, #8]
Lloh31:
	adrp	x25, _MWIFIEX_USB@GOTPAGE
Lloh32:
	ldr	x25, [x25, _MWIFIEX_USB@GOTPAGEOFF]
	ldr	x9, [x25]
	ldr	x0, [x20, #8]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.14:
Lloh33:
	adrp	x26, _MWIFIEX_TYPE_LEN@GOTPAGE
Lloh34:
	ldr	x26, [x26, _MWIFIEX_TYPE_LEN@GOTPAGEOFF]
	ldr	w1, [x26]
	bl	_skb_push
Lloh35:
	adrp	x8, _MWIFIEX_USB_TYPE_CMD@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MWIFIEX_USB_TYPE_CMD@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	ldr	x8, [x20, #8]
	ldr	x1, [x8, #8]
	bl	_put_unaligned_le32
	mov	w8, #1
	str	w8, [x19, #16]
	ldr	x8, [x19, #80]
Lloh38:
	adrp	x9, _MWIFIEX_USB_EP_CMD_EVENT@GOTPAGE
Lloh39:
	ldr	x9, [x9, _MWIFIEX_USB_EP_CMD_EVENT@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x9]
	ldr	x2, [x20, #8]
	mov	x0, x19
	mov	x3, #0
	blr	x8
	mov	x24, x0
	ldr	x0, [x20, #8]
	ldr	w1, [x26]
	bl	_skb_pull
Lloh41:
	adrp	x8, _EBUSY@GOTPAGE
Lloh42:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	cmn	w24, w8
	b.ne	LBB0_17
; %bb.15:
	str	xzr, [x20, #8]
	b	LBB0_17
LBB0_16:
	ldr	w1, [x19, #76]
	bl	_skb_push
	ldr	x8, [x19, #80]
Lloh44:
	adrp	x9, _MWIFIEX_TYPE_CMD@GOTPAGE
Lloh45:
	ldr	x9, [x9, _MWIFIEX_TYPE_CMD@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x9]
	ldr	x2, [x20, #8]
	mov	x0, x19
	mov	x3, #0
	blr	x8
	mov	x24, x0
	ldr	x0, [x20, #8]
	ldr	w1, [x19, #76]
	bl	_skb_pull
LBB0_17:
	cmn	w24, #1
	b.eq	LBB0_21
; %bb.18:
	ldr	w8, [x19, #24]
	add	w8, w8, #1
Lloh47:
	adrp	x9, _DBG_CMD_NUM@GOTPAGE
Lloh48:
	ldr	x9, [x9, _DBG_CMD_NUM@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	str	w8, [x19, #24]
	ldr	x9, [x19, #40]
	str	x21, [x9, w8, sxtw #3]
	ldrsw	x8, [x27]
	add	x0, x22, x8, lsl #2
	bl	_get_unaligned_le16
	ldr	x8, [x19, #32]
	ldrsw	x9, [x19, #24]
	str	w0, [x8, x9, lsl #2]
Lloh50:
	adrp	x8, _HostCmd_CMD_FW_DUMP_EVENT@GOTPAGE
Lloh51:
	ldr	x8, [x8, _HostCmd_CMD_FW_DUMP_EVENT@GOTPAGEOFF]
Lloh52:
	ldr	x8, [x8]
	cmp	x21, x8
	b.eq	LBB0_20
; %bb.19:
	add	x19, x19, #20
Lloh53:
	adrp	x8, _jiffies@GOTPAGE
Lloh54:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh55:
	ldr	x20, [x8]
Lloh56:
	adrp	x8, _MWIFIEX_TIMER_10S@GOTPAGE
Lloh57:
	ldr	x8, [x8, _MWIFIEX_TIMER_10S@GOTPAGEOFF]
Lloh58:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	add	x1, x0, x20
	mov	x0, x19
	bl	_mod_timer
LBB0_20:
	mov	w0, #0
	b	LBB0_27
LBB0_21:
Lloh59:
	adrp	x8, _ERROR@GOTPAGE
Lloh60:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x8]
Lloh62:
	adrp	x2, l_.str.4@PAGE
Lloh63:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_mwifiex_dbg
	ldr	x8, [x19, #8]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.22:
	str	wzr, [x19, #16]
LBB0_23:
	ldr	x8, [x20]
	cbz	x8, LBB0_25
; %bb.24:
	mov	w8, #-1
	str	w8, [x19, #72]
LBB0_25:
	ldr	x1, [x19, #64]
	mov	x0, x19
	bl	_mwifiex_recycle_cmd_node
	mov	x0, x23
	bl	_spin_lock_bh
	str	xzr, [x19, #64]
	mov	x0, x23
	bl	_spin_unlock_bh
	ldr	w8, [x19, #48]
	add	w8, w8, #1
	str	w8, [x19, #48]
LBB0_26:
	mov	w0, #-1
LBB0_27:
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DNLD_CMD: host_cmd is null\tor cmd size is 0, not sending\n"

	.comm	_MWIFIEX_HW_STATUS_RESET,8,3    ; @MWIFIEX_HW_STATUS_RESET
	.comm	_HostCmd_CMD_FUNC_SHUTDOWN,8,3  ; @HostCmd_CMD_FUNC_SHUTDOWN
	.comm	_HostCmd_CMD_FUNC_INIT,8,3      ; @HostCmd_CMD_FUNC_INIT
l_.str.1:                               ; @.str.1
	.asciz	"DNLD_CMD: FW in reset state, ignore cmd %#x\n"

	.comm	_CMD,4,2                        ; @CMD
l_.str.2:                               ; @.str.2
	.asciz	"cmd: DNLD_CMD: %#x, act %#x, len %d, seqno %#x\n"

	.comm	_S_DS_GEN,4,2                   ; @S_DS_GEN
	.comm	_CMD_D,4,2                      ; @CMD_D
l_.str.3:                               ; @.str.3
	.asciz	"cmd buffer:"

	.comm	_MWIFIEX_USB,8,3                ; @MWIFIEX_USB
	.comm	_MWIFIEX_TYPE_LEN,4,2           ; @MWIFIEX_TYPE_LEN
	.comm	_MWIFIEX_USB_TYPE_CMD,4,2       ; @MWIFIEX_USB_TYPE_CMD
	.comm	_MWIFIEX_USB_EP_CMD_EVENT,4,2   ; @MWIFIEX_USB_EP_CMD_EVENT
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_MWIFIEX_TYPE_CMD,4,2           ; @MWIFIEX_TYPE_CMD
l_.str.4:                               ; @.str.4
	.asciz	"DNLD_CMD: host to card failed\n"

	.comm	_DBG_CMD_NUM,4,2                ; @DBG_CMD_NUM
	.comm	_HostCmd_CMD_FW_DUMP_EVENT,8,3  ; @HostCmd_CMD_FW_DUMP_EVENT
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_MWIFIEX_TIMER_10S,4,2          ; @MWIFIEX_TIMER_10S
	.comm	_HostCmd_CMD_ID_MASK,8,3        ; @HostCmd_CMD_ID_MASK
	.no_dead_strip	_mwifiex_dnld_cmd_to_fw
.subsections_via_symbols
