	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mesh_vdetach_peers
_mesh_vdetach_peers:                    ## @mesh_vdetach_peers
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	24(%rsi), %r14
	movq	(%rsi), %rax
	movq	_IEEE80211_NODE_MESH_ESTABLISHED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	20(%rbx), %eax
	movl	%eax, -36(%rbp)
	movl	16(%rbx), %eax
	movl	%eax, -32(%rbp)
	movq	_IEEE80211_REASON_PEER_LINK_CANCELED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	_IEEE80211_ACTION_CAT_SELF_PROT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IEEE80211_ACTION_MESHPEERING_CLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-36(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_ieee80211_send_action
LBB0_2:
	leaq	12(%rbx), %rdi
	callq	_callout_drain
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	callq	_ieee80211_mac_hash
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_ieee80211_ageq_drain_node
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_NODE_MESH_ESTABLISHED,8,3 ## @IEEE80211_NODE_MESH_ESTABLISHED
	.comm	_IEEE80211_REASON_PEER_LINK_CANCELED,4,2 ## @IEEE80211_REASON_PEER_LINK_CANCELED
	.comm	_IEEE80211_ACTION_CAT_SELF_PROT,4,2 ## @IEEE80211_ACTION_CAT_SELF_PROT
	.comm	_IEEE80211_ACTION_MESHPEERING_CLOSE,4,2 ## @IEEE80211_ACTION_MESHPEERING_CLOSE
	.no_dead_strip	_mesh_vdetach_peers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mesh_vdetach_peers
_mesh_vdetach_peers:                    ; @mesh_vdetach_peers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x19, [x1, #24]
	ldr	x8, [x1]
Lloh3:
	adrp	x9, _IEEE80211_NODE_MESH_ESTABLISHED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_NODE_MESH_ESTABLISHED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	d0, [x20, #16]
	rev64.2s	v0, v0
	str	d0, [sp, #8]
Lloh6:
	adrp	x8, _IEEE80211_REASON_PEER_LINK_CANCELED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IEEE80211_REASON_PEER_LINK_CANCELED@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp, #16]
Lloh9:
	adrp	x8, _IEEE80211_ACTION_CAT_SELF_PROT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IEEE80211_ACTION_CAT_SELF_PROT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _IEEE80211_ACTION_MESHPEERING_CLOSE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IEEE80211_ACTION_MESHPEERING_CLOSE@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x20
	bl	_ieee80211_send_action
LBB0_2:
	add	x0, x20, #12
	bl	_callout_drain
	ldr	w1, [x20, #8]
	mov	x0, x19
	bl	_ieee80211_mac_hash
	mov	x1, x0
	mov	x0, x19
	bl	_ieee80211_ageq_drain_node
	ldr	x8, [sp, #24]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_NODE_MESH_ESTABLISHED,8,3 ; @IEEE80211_NODE_MESH_ESTABLISHED
	.comm	_IEEE80211_REASON_PEER_LINK_CANCELED,4,2 ; @IEEE80211_REASON_PEER_LINK_CANCELED
	.comm	_IEEE80211_ACTION_CAT_SELF_PROT,4,2 ; @IEEE80211_ACTION_CAT_SELF_PROT
	.comm	_IEEE80211_ACTION_MESHPEERING_CLOSE,4,2 ; @IEEE80211_ACTION_MESHPEERING_CLOSE
	.no_dead_strip	_mesh_vdetach_peers
.subsections_via_symbols
