	.file	"extr_init.c_wl1271_ap_init_deauth_template.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wl1271_ap_init_deauth_template, @function
wl1271_ap_init_deauth_template:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	mov	edi, 4
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	call	kzalloc@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L6
.L3:
	endbr64
	mov	edi, DWORD PTR IEEE80211_FTYPE_MGMT[rip]
	or	edi, DWORD PTR IEEE80211_STYPE_DEAUTH[rip]
	call	cpu_to_le16@PLT
	mov	esi, DWORD PTR 4[rbx]
	mov	rdi, r12
	mov	DWORD PTR 0[rbp], eax
	call	wl1271_tx_min_rate_get@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	mov	esi, DWORD PTR [rbx]
	mov	rcx, rbp
	push	rax
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR CMD_TEMPL_DEAUTH_AP[rip]
	mov	rdi, r12
	xor	r9d, r9d
	mov	r8d, 4
	call	wl1271_cmd_template_set@PLT
	mov	rdi, rbp
	mov	r12d, eax
	pop	rax
	.cfi_def_cfa_offset 40
	pop	rdx
	.cfi_def_cfa_offset 32
	call	kfree@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	r12d, DWORD PTR ENOMEM[rip]
	mov	rdi, rbp
	call	kfree@PLT
	pop	rbx
	.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
	.cfi_endproc
.LFE0:
	.size	wl1271_ap_init_deauth_template, .-wl1271_ap_init_deauth_template
	.comm	IEEE80211_STYPE_DEAUTH,4,4
	.comm	IEEE80211_FTYPE_MGMT,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	CMD_TEMPL_DEAUTH_AP,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_init.c_wl1271_ap_init_deauth_template.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wl1271_ap_init_deauth_template, %function
wl1271_ap_init_deauth_template:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L7
	mov	r6, r0
	mov	r5, r1
	mov	r0, #4
	ldr	r1, [r3]
	sub	sp, sp, #16
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L6
	ldr	r2, .L7+4
	ldr	r3, .L7+8
	ldr	r0, [r2]
	ldr	r3, [r3]
	orr	r0, r0, r3
	bl	cpu_to_le16
	ldr	r1, [r5, #4]
	str	r0, [r4]
	mov	r0, r6
	bl	wl1271_tx_min_rate_get
	mov	ip, #0
	mov	r2, #4
	str	r0, [sp, #8]
	ldr	r1, [r5]
	stm	sp, {r2, ip}
	ldr	r3, .L7+12
	mov	r0, r6
	ldr	r2, [r3]
	mov	r3, r4
	bl	wl1271_cmd_template_set
	mov	r5, r0
.L3:
	mov	r0, r4
	bl	kfree
	mov	r0, r5
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L6:
	ldr	r3, .L7+16
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L3
.L8:
	.align	2
.L7:
	.word	GFP_KERNEL
	.word	IEEE80211_FTYPE_MGMT
	.word	IEEE80211_STYPE_DEAUTH
	.word	CMD_TEMPL_DEAUTH_AP
	.word	ENOMEM
	.size	wl1271_ap_init_deauth_template, .-wl1271_ap_init_deauth_template
	.comm	IEEE80211_STYPE_DEAUTH,4,4
	.comm	IEEE80211_FTYPE_MGMT,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	CMD_TEMPL_DEAUTH_AP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
