	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wds_flush
_wds_flush:                             ## @wds_flush
	.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, %r15
	movq	8(%rdi), %r14
	leaq	8(%r14), %rbx
	movl	4(%rdi), %esi
	movq	%r14, %rdi
	callq	_ieee80211_mac_hash
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_ieee80211_ageq_remove
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movl	(%r15), %edi
	movq	_IEEE80211_MSG_WDS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	leaq	L_.str.1(%rip), %r8
	movq	%r15, %rdx
	callq	_IEEE80211_NOTE
	leaq	-32(%rbp), %rsi
	leaq	-28(%rbp), %rdx
	movq	%r15, %rdi
	callq	*(%r14)
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %r14
	movq	$0, (%rbx)
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %ecx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ieee80211_input
	movq	%r14, %rbx
	testq	%r14, %r14
	jne	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_MSG_WDS,4,2          ## @IEEE80211_MSG_WDS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.1:                               ## @.str.1
	.asciz	"flush wds queue"

	.no_dead_strip	_wds_flush
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wds_flush
_wds_flush:                             ; @wds_flush
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x21, [x0, #8]
	add	x20, x21, #8
	ldr	w1, [x0, #4]
	mov	x0, x21
	bl	_ieee80211_mac_hash
	mov	x1, x0
	mov	x0, x20
	bl	_ieee80211_ageq_remove
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	w0, [x19]
Lloh0:
	adrp	x8, _IEEE80211_MSG_WDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_MSG_WDS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
Lloh5:
	adrp	x4, l_.str.1@PAGE
Lloh6:
	add	x4, x4, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_IEEE80211_NOTE
	ldr	x8, [x21]
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x19
	blr	x8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x20]
	str	xzr, [x20]
	ldp	w3, w2, [sp, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_ieee80211_input
	mov	x20, x21
	cbnz	x21, LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_MSG_WDS,4,2          ; @IEEE80211_MSG_WDS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	"flush wds queue"

	.no_dead_strip	_wds_flush
.subsections_via_symbols
