	.file	"extr_sta_cmdresp.c_mwifiex_process_cmdresp_error.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"CMD_RESP: cmd %#x error, result=%#x\n"
	.align 8
.LC1:
	.string	"PS_MODE_ENH cmd failed: result=0x%x action=0x%X\n"
	.align 8
.LC2:
	.string	"SDIO RX single-port aggregation Not support\n"
	.text
	.p2align 4
	.type	mwifiex_process_cmdresp_error, @function
mwifiex_process_cmdresp_error:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	mov	r12, rdi
	lea	rdx, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbp, QWORD PTR 8[rdi]
	mov	rbx, rsi
	mov	ecx, DWORD PTR 12[rsi]
	mov	r8d, DWORD PTR [rsi]
	mov	esi, DWORD PTR ERROR[rip]
	mov	rdi, rbp
	call	mwifiex_dbg@PLT
	mov	rax, QWORD PTR 8[rbp]
	cmp	QWORD PTR [rax], 0
	je	.L2
	mov	DWORD PTR 20[rbp], -1
.L2:
	mov	edi, DWORD PTR 12[rbx]
	call	le16_to_cpu@PLT
	cmp	eax, 131
	jg	.L3
	cmp	eax, 129
	jg	.L4
	cmp	eax, 128
	jne	.L6
	mov	esi, DWORD PTR MSG[rip]
	lea	rdx, .LC2[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	mwifiex_dbg@PLT
.L6:
	mov	rsi, QWORD PTR 8[rbp]
	mov	rdi, rbp
	call	mwifiex_recycle_cmd_node@PLT
	mov	rdi, rbp
	call	spin_lock_bh@PLT
	mov	QWORD PTR 8[rbp], 0
	mov	rdi, rbp
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	spin_unlock_bh@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	cmp	eax, 132
	jne	.L6
	mov	edi, DWORD PTR 8[rbx]
	call	le16_to_cpu@PLT
	mov	ecx, DWORD PTR [rbx]
	mov	esi, DWORD PTR ERROR[rip]
	mov	rdi, rbp
	mov	r8d, eax
	lea	rdx, .LC1[rip]
	xor	eax, eax
	call	mwifiex_dbg@PLT
	mov	edi, DWORD PTR 8[rbx]
	call	le16_to_cpu@PLT
	cmp	eax, DWORD PTR EN_AUTO_PS[rip]
	jne	.L6
	mov	edi, DWORD PTR 4[rbx]
	call	le16_to_cpu@PLT
	test	DWORD PTR BITMAP_STA_PS[rip], eax
	je	.L6
	mov	eax, DWORD PTR NL80211_IFTYPE_ADHOC[rip]
	cmp	DWORD PTR [r12], eax
	jne	.L6
	mov	eax, DWORD PTR MWIFIEX_802_11_POWER_MODE_CAM[rip]
	mov	DWORD PTR 16[rbp], eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, rbp
	call	mwifiex_cancel_scan@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	mwifiex_process_cmdresp_error, .-mwifiex_process_cmdresp_error
	.comm	NL80211_IFTYPE_ADHOC,4,4
	.comm	MWIFIEX_802_11_POWER_MODE_CAM,4,4
	.comm	MSG,4,4
	.comm	ERROR,4,4
	.comm	EN_AUTO_PS,4,4
	.comm	BITMAP_STA_PS,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_sta_cmdresp.c_mwifiex_process_cmdresp_error.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"CMD_RESP: cmd %#x error, result=%#x\012\000"
	.align	2
.LC1:
	.ascii	"PS_MODE_ENH cmd failed: result=0x%x action=0x%X\012"
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"SDIO RX single-port aggregation Not support\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mwifiex_process_cmdresp_error, %function
mwifiex_process_cmdresp_error:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, [r1]
	ldr	r4, [r0, #4]
	sub	sp, sp, #8
	ldr	r7, .L17
	str	r3, [sp]
	ldr	r3, [r1, #12]
	mov	r5, r1
	ldr	r2, .L17+4
	ldr	r1, [r7]
	mov	r6, r0
	mov	r0, r4
	bl	mwifiex_dbg
	ldr	r3, [r4, #4]
	ldr	r0, [r5, #12]
	ldr	r3, [r3]
	cmp	r3, #0
	mvnne	r3, #0
	strne	r3, [r4, #12]
	bl	le16_to_cpu
	cmp	r0, #131
	bgt	.L3
	cmp	r0, #129
	bgt	.L4
	cmp	r0, #128
	bne	.L6
	ldr	r3, .L17+8
	mov	r0, r4
	ldr	r2, .L17+12
	ldr	r1, [r3]
	bl	mwifiex_dbg
.L6:
	ldr	r1, [r4, #4]
	mov	r0, r4
	bl	mwifiex_recycle_cmd_node
	mov	r0, r4
	bl	spin_lock_bh
	mov	r3, #0
	mov	r0, r4
	str	r3, [r4, #4]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	spin_unlock_bh
.L3:
	cmp	r0, #132
	bne	.L6
	ldr	r0, [r5, #8]
	ldr	r7, [r7]
	ldr	r8, [r5]
	bl	le16_to_cpu
	mov	r3, r8
	mov	r1, r7
	ldr	r2, .L17+16
	str	r0, [sp]
	mov	r0, r4
	bl	mwifiex_dbg
	ldr	r0, [r5, #8]
	bl	le16_to_cpu
	ldr	r3, .L17+20
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L6
	ldr	r0, [r5, #4]
	bl	le16_to_cpu
	ldr	r3, .L17+24
	ldr	r3, [r3]
	tst	r0, r3
	beq	.L6
	ldr	r3, .L17+28
	ldr	r2, [r6]
	ldr	r3, [r3]
	cmp	r2, r3
	ldreq	r3, .L17+32
	ldreq	r3, [r3]
	streq	r3, [r4, #8]
	b	.L6
.L4:
	mov	r0, r4
	bl	mwifiex_cancel_scan
	b	.L6
.L18:
	.align	2
.L17:
	.word	ERROR
	.word	.LC0
	.word	MSG
	.word	.LC2
	.word	.LC1
	.word	EN_AUTO_PS
	.word	BITMAP_STA_PS
	.word	NL80211_IFTYPE_ADHOC
	.word	MWIFIEX_802_11_POWER_MODE_CAM
	.size	mwifiex_process_cmdresp_error, .-mwifiex_process_cmdresp_error
	.comm	NL80211_IFTYPE_ADHOC,4,4
	.comm	MWIFIEX_802_11_POWER_MODE_CAM,4,4
	.comm	MSG,4,4
	.comm	ERROR,4,4
	.comm	EN_AUTO_PS,4,4
	.comm	BITMAP_STA_PS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
