	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_tx_clear_node_map
_ath6kl_tx_clear_node_map:              ## @ath6kl_tx_clear_node_map
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_ADHOC_NETWORK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.1:
	movq	8(%rdi), %rbx
	cmpl	$0, 16(%rbx)
	je	LBB0_11
## %bb.2:
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.3:
	cmpl	%esi, (%rbx)
	je	LBB0_11
## %bb.4:
	movq	8(%rbx), %rax
	decq	-8(%rax,%rdx,8)
	je	LBB0_5
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	decq	%rdx
	movl	4(%rbx), %ecx
	movslq	%ecx, %r14
	leaq	-1(%r14), %r15
	cmpq	%r15, %rdx
	jne	LBB0_11
## %bb.6:
	testl	%ecx, %ecx
	je	LBB0_11
## %bb.7:
	cmpq	$0, -8(%rax,%r14,8)
	jne	LBB0_11
## %bb.8:
	leaq	(%rax,%r14,8), %rdi
	addq	$-8, %rdi
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	decl	4(%rbx)
	cmpq	$1, %r14
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%rbx), %rax
	leaq	(%rax,%r15,8), %rdi
	addq	$-8, %rdi
	decq	%r15
	cmpq	$0, -16(%rax,%r14,8)
	leaq	-1(%r14), %r14
	je	LBB0_9
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_ADHOC_NETWORK,8,3              ## @ADHOC_NETWORK
	.no_dead_strip	_ath6kl_tx_clear_node_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath6kl_tx_clear_node_map
_ath6kl_tx_clear_node_map:              ; @ath6kl_tx_clear_node_map
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ADHOC_NETWORK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ADHOC_NETWORK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.1:
	ldr	x19, [x0, #8]
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_10
; %bb.2:
	cbz	x2, LBB0_10
; %bb.3:
	ldr	w8, [x19]
	cmp	w8, w1
	b.eq	LBB0_10
; %bb.4:
	sub	x10, x2, #1
	ldr	x8, [x19, #8]
	lsl	x9, x10, #3
	ldr	x11, [x8, x9]
	subs	x11, x11, #1
	str	x11, [x8, x9]
	b.ne	LBB0_10
; %bb.5:
	ldr	w11, [x19, #4]
	sxtw	x9, w11
	sub	x20, x9, #1
	cmp	x10, x20
	ccmp	w11, #0, #4, eq
	b.eq	LBB0_10
; %bb.6:
	add	x0, x8, x20, lsl #3
	ldr	x8, [x0]
	cbnz	x8, LBB0_10
; %bb.7:
	sub	x21, x9, #2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w8, [x19, #4]
	sub	w8, w8, #1
	str	w8, [x19, #4]
	cmn	x21, #1
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19, #8]
	sub	x20, x20, #1
	add	x0, x8, x20, lsl #3
	ldr	x8, [x8, x21, lsl #3]
	sub	x21, x21, #1
	cbz	x8, LBB0_8
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ADHOC_NETWORK,8,3              ; @ADHOC_NETWORK
	.no_dead_strip	_ath6kl_tx_clear_node_map
.subsections_via_symbols
