	.file	"extr_cmd.c_wl18xx_cmd_smart_config_stop.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"cmd smart config stop"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"failed to send smart config stop command"
	.text
	.p2align 4
	.globl	wl18xx_cmd_smart_config_stop
	.type	wl18xx_cmd_smart_config_stop, @function
wl18xx_cmd_smart_config_stop:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	lea	rsi, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR DEBUG_CMD[rip]
	call	wl1271_debug@PLT
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 4
	call	kzalloc@PLT
	test	rax, rax
	je	.L7
	mov	esi, DWORD PTR CMD_SMART_CONFIG_STOP[rip]
	mov	rdi, r12
	xor	r8d, r8d
	mov	rdx, rax
	mov	ecx, 4
	mov	rbp, rax
	call	wl1271_cmd_send@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L8
.L4:
.L3:
	endbr64
	mov	rdi, rbp
	call	kfree@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	r12d, DWORD PTR ENOMEM[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	call	wl1271_error@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	wl18xx_cmd_smart_config_stop, .-wl18xx_cmd_smart_config_stop
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	DEBUG_CMD,4,4
	.comm	CMD_SMART_CONFIG_STOP,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_cmd.c_wl18xx_cmd_smart_config_stop.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cmd smart config stop\000"
	.align	2
.LC1:
	.ascii	"failed to send smart config stop command\000"
	.text
	.align	2
	.global	wl18xx_cmd_smart_config_stop
	.syntax unified
	.arm
	.fpu softvfp
	.type	wl18xx_cmd_smart_config_stop, %function
wl18xx_cmd_smart_config_stop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r2, .L9
	ldr	r1, .L9+4
	sub	sp, sp, #12
	mov	r5, r0
	ldr	r0, [r2]
	bl	wl1271_debug
	ldr	r3, .L9+8
	mov	r0, #4
	ldr	r1, [r3]
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L7
	mov	r2, #0
	ldr	r3, .L9+12
	str	r2, [sp]
	mov	r0, r5
	ldr	r1, [r3]
	mov	r2, r4
	mov	r3, #4
	bl	wl1271_cmd_send
	subs	r5, r0, #0
	blt	.L8
.L4:
.L3:
	mov	r0, r4
	bl	kfree
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L7:
	ldr	r3, .L9+16
	ldr	r0, [r3]
	rsb	r5, r0, #0
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L8:
	ldr	r0, .L9+20
	bl	wl1271_error
	b	.L4
.L10:
	.align	2
.L9:
	.word	DEBUG_CMD
	.word	.LC0
	.word	GFP_KERNEL
	.word	CMD_SMART_CONFIG_STOP
	.word	ENOMEM
	.word	.LC1
	.size	wl18xx_cmd_smart_config_stop, .-wl18xx_cmd_smart_config_stop
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	DEBUG_CMD,4,4
	.comm	CMD_SMART_CONFIG_STOP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
