	.file	"extr_beacon.c_ath9k_beacon_remove_slot.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Removing interface at beacon slot: %d\n"
	.text
	.p2align 4
	.globl	ath9k_beacon_remove_slot
	.type	ath9k_beacon_remove_slot, @function
ath9k_beacon_remove_slot:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR 32[rdi]
	call	ath9k_hw_common@PLT
	mov	rbx, QWORD PTR [rbx]
	mov	esi, DWORD PTR CONFIG[rip]
	lea	rdx, .LC0[rip]
	mov	rdi, rax
	mov	rcx, QWORD PTR [rbx]
	mov	r12, QWORD PTR 8[rbx]
	call	ath_dbg@PLT
	mov	rdi, rbp
	call	tasklet_disable@PLT
	test	r12, r12
	je	.L2
	mov	r13, QWORD PTR 16[r12]
	test	r13, r13
	je	.L2
	mov	rsi, QWORD PTR 8[r12]
	mov	edi, DWORD PTR 28[rbp]
	mov	ecx, DWORD PTR DMA_TO_DEVICE[rip]
	mov	edx, DWORD PTR 0[r13]
	call	dma_unmap_single@PLT
	mov	rdi, r13
	call	dev_kfree_skb_any@PLT
	mov	QWORD PTR 16[r12], 0
	mov	QWORD PTR 8[r12], 0
.L2:
	mov	rdx, QWORD PTR [rbx]
	mov	rax, QWORD PTR 16[rbp]
	mov	rdi, r12
	lea	rsi, 8[rbp]
	mov	QWORD PTR 8[rbx], 0
	mov	QWORD PTR [rax+rdx*8], 0
	sub	DWORD PTR 24[rbp], 1
	call	list_add_tail@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	tasklet_enable@PLT
	.cfi_endproc
.LFE0:
	.size	ath9k_beacon_remove_slot, .-ath9k_beacon_remove_slot
	.comm	DMA_TO_DEVICE,4,4
	.comm	CONFIG,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_beacon.c_ath9k_beacon_remove_slot.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Removing interface at beacon slot: %d\012\000"
	.text
	.align	2
	.global	ath9k_beacon_remove_slot
	.syntax unified
	.arm
	.fpu softvfp
	.type	ath9k_beacon_remove_slot, %function
ath9k_beacon_remove_slot:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r4, r0
	ldr	r0, [r0, #20]
	bl	ath9k_hw_common
	ldr	r5, [r5]
	ldr	r2, .L11
	ldm	r5, {r3, r6}
	ldr	r1, [r2]
	ldr	r2, .L11+4
	bl	ath_dbg
	mov	r0, r4
	bl	tasklet_disable
	cmp	r6, #0
	beq	.L2
	ldr	r7, [r6, #8]
	cmp	r7, #0
	beq	.L2
	ldr	r3, .L11+8
	ldr	r2, [r7]
	ldr	r3, [r3]
	ldr	r1, [r6, #4]
	ldr	r0, [r4, #16]
	bl	dma_unmap_single
	mov	r0, r7
	bl	dev_kfree_skb_any
	mov	r3, #0
	str	r3, [r6, #8]
	str	r3, [r6, #4]
.L2:
	mov	r2, #0
	ldr	r3, [r4, #12]
	ldr	ip, [r5]
	ldr	r1, [r4, #8]
	sub	r3, r3, #1
	str	r2, [r5, #4]
	mov	r0, r6
	str	r2, [r1, ip, lsl #2]
	add	r1, r4, #4
	str	r3, [r4, #12]
	bl	list_add_tail
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	tasklet_enable
.L12:
	.align	2
.L11:
	.word	CONFIG
	.word	.LC0
	.word	DMA_TO_DEVICE
	.size	ath9k_beacon_remove_slot, .-ath9k_beacon_remove_slot
	.comm	DMA_TO_DEVICE,4,4
	.comm	CONFIG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
