	.file	"extr_txrx.c_ath6kl_tx_clear_node_map.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ath6kl_tx_clear_node_map, @function
ath6kl_tx_clear_node_map:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR ADHOC_NETWORK[rip]
	cmp	QWORD PTR [rdi], rax
	jne	.L11
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbx, QWORD PTR 8[rdi]
	mov	eax, DWORD PTR 16[rbx]
	test	eax, eax
	je	.L1
	cmp	DWORD PTR [rbx], esi
	je	.L1
	test	rdx, rdx
	je	.L1
	mov	rax, QWORD PTR 8[rbx]
	sub	rdx, 1
	lea	rsi, [rax+rdx*8]
	sub	QWORD PTR [rsi], 1
	jne	.L1
	movsx	rbp, DWORD PTR 4[rbx]
	lea	ecx, -1[rbp]
	movsx	rcx, ecx
	cmp	rcx, rdx
	jne	.L1
	test	rbp, rbp
	je	.L1
	sub	rbp, 1
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L15:
	mov	edx, 4
	xor	esi, esi
	call	memset@PLT
	sub	DWORD PTR 4[rbx], 1
	test	rbp, rbp
	je	.L1
	mov	rax, QWORD PTR 8[rbx]
	sub	rbp, 1
.L3:
	lea	rdi, [rax+rbp*8]
	cmp	QWORD PTR [rdi], 0
	je	.L15
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore 3
	.cfi_restore 6
	ret
	.cfi_endproc
.LFE0:
	.size	ath6kl_tx_clear_node_map, .-ath6kl_tx_clear_node_map
	.comm	ADHOC_NETWORK,8,8
	.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_txrx.c_ath6kl_tx_clear_node_map.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ath6kl_tx_clear_node_map, %function
ath6kl_tx_clear_node_map:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, .L15
	ldr	ip, [r0]
	ldr	r3, [r3]
	cmp	ip, r3
	bxne	lr
	ldr	r0, [r0, #4]
	ldr	r3, [r0, #12]
	cmp	r3, #0
	bxeq	lr
	ldr	r3, [r0]
	cmp	r2, #0
	cmpne	r3, r1
	bxeq	lr
	ldr	r1, [r0, #8]
	sub	r2, r2, #1
	ldr	r3, [r1, r2, lsl #2]
	sub	r3, r3, #1
	cmp	r3, #0
	str	r3, [r1, r2, lsl #2]
	bxne	lr
	ldr	ip, [r0, #4]
	sub	r3, ip, #1
	cmp	r3, r2
	bxne	lr
	cmp	ip, #0
	bxeq	lr
.L3:
	ldr	r2, [r1, r3, lsl #2]
	add	ip, r1, r3, lsl #2
	cmp	r2, #0
	bxne	lr
	strb	r2, [r1, r3, lsl #2]
	strb	r2, [ip, #1]
	strb	r2, [ip, #2]
	strb	r2, [ip, #3]
	ldr	r2, [r0, #4]
	cmp	r3, #0
	sub	r2, r2, #1
	str	r2, [r0, #4]
	bxeq	lr
	ldr	r1, [r0, #8]
	sub	r3, r3, #1
	b	.L3
.L16:
	.align	2
.L15:
	.word	ADHOC_NETWORK
	.size	ath6kl_tx_clear_node_map, .-ath6kl_tx_clear_node_map
	.comm	ADHOC_NETWORK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
