	.file	"extr_cmd.c_wl12xx_cmd_remove_peer.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"cmd remove peer %d"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"failed to initiate cmd remove peer"
	.text
	.p2align 4
	.globl	wl12xx_cmd_remove_peer
	.type	wl12xx_cmd_remove_peer, @function
wl12xx_cmd_remove_peer:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	mov	edx, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	lea	rsi, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR DEBUG_CMD[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 4[rsp], 0
	call	wl1271_debug@PLT
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 24
	call	kzalloc@PLT
	test	rax, rax
	je	.L12
	mov	QWORD PTR 16[rax], r12
	mov	esi, DWORD PTR CMD_REMOVE_PEER[rip]
	xor	r8d, r8d
	mov	rdx, rax
	mov	QWORD PTR 8[rax], 0
	mov	ecx, 24
	mov	rdi, r13
	mov	rbp, rax
	mov	QWORD PTR [rax], 0
	call	wl1271_cmd_send@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L13
	mov	rax, QWORD PTR 0[r13]
	mov	esi, DWORD PTR WLCORE_EVENT_PEER_REMOVE_COMPLETE[rip]
	lea	rdx, 4[rsp]
	mov	rdi, r13
	call	[QWORD PTR [rax]]
	mov	r12d, eax
	test	eax, eax
	jne	.L14
.L5:
	mov	rdi, rbp
	call	kfree@PLT
.L3:
	endbr64
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdi, r13
	call	wl12xx_queue_recovery_work@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L13:
	lea	rdi, .LC1[rip]
	call	wl1271_error@PLT
	jmp	.L5
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	wl12xx_cmd_remove_peer, .-wl12xx_cmd_remove_peer
	.comm	WLCORE_EVENT_PEER_REMOVE_COMPLETE,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	DEBUG_CMD,4,4
	.comm	CMD_REMOVE_PEER,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_wl12xx_cmd_remove_peer.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cmd remove peer %d\000"
	.align	2
.LC1:
	.ascii	"failed to initiate cmd remove peer\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	wl12xx_cmd_remove_peer
	.syntax unified
	.arm
	.fpu softvfp
	.type	wl12xx_cmd_remove_peer, %function
wl12xx_cmd_remove_peer:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r6, #0
	ldr	r3, .L16
	mov	r7, r0
	ldr	r0, [r3]
	ldr	r3, .L16+4
	sub	sp, sp, #20
	mov	r2, r1
	mov	r5, r1
	ldr	r1, .L16+8
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	str	r6, [sp, #8]
	bl	wl1271_debug
	ldr	r3, .L16+12
	mov	r0, #12
	ldr	r1, [r3]
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L12
	ldr	r3, .L16+16
	str	r5, [r4, #8]
	ldr	r1, [r3]
	str	r6, [r4, #4]
	str	r6, [r4]
	mov	r3, #12
	mov	r2, r4
	mov	r0, r7
	str	r6, [sp]
	bl	wl1271_cmd_send
	subs	r5, r0, #0
	blt	.L13
	ldr	r2, .L16+20
	ldr	r3, [r7]
	ldr	r1, [r2]
	mov	r0, r7
	ldr	r3, [r3]
	add	r2, sp, #8
	blx	r3
	subs	r5, r0, #0
	bne	.L14
.L5:
	mov	r0, r4
	bl	kfree
.L3:
.L1:
	ldr	r3, .L16+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L12:
	ldr	r3, .L16+24
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L14:
	mov	r0, r7
	bl	wl12xx_queue_recovery_work
	b	.L5
.L13:
	ldr	r0, .L16+28
	bl	wl1271_error
	b	.L5
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	DEBUG_CMD
	.word	.LC2
	.word	.LC0
	.word	GFP_KERNEL
	.word	CMD_REMOVE_PEER
	.word	WLCORE_EVENT_PEER_REMOVE_COMPLETE
	.word	ENOMEM
	.word	.LC1
	.size	wl12xx_cmd_remove_peer, .-wl12xx_cmd_remove_peer
	.comm	WLCORE_EVENT_PEER_REMOVE_COMPLETE,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	DEBUG_CMD,4,4
	.comm	CMD_REMOVE_PEER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
