	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mesh_peer_timeout_cb
_mesh_peer_timeout_cb:                  ## @mesh_peer_timeout_cb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movl	20(%rdi), %edi
	movq	_IEEE80211_MSG_MESH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %r8d
	movl	16(%rbx), %r9d
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdx
	callq	_IEEE80211_NOTE
	movl	(%rbx), %eax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_4
## %bb.1:
	cmpl	$131, %eax
	je	LBB0_7
## %bb.2:
	cmpl	$133, %eax
	jne	LBB0_12
## %bb.3:
	movl	12(%rbx), %eax
	movl	%eax, -28(%rbp)
	movq	_IEEE80211_REASON_MESH_CONFIRM_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%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	-28(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_ieee80211_send_action
	jmp	LBB0_6
LBB0_4:
	movl	12(%rbx), %eax
	movl	16(%rbx), %ecx
	movq	_ieee80211_mesh_maxretries@GOTPCREL(%rip), %rdx
	movl	%eax, -28(%rbp)
	cmpl	(%rdx), %ecx
	jne	LBB0_11
## %bb.5:
	movq	_IEEE80211_REASON_MESH_MAX_RETRIES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%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	-28(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_ieee80211_send_action
	movl	$0, 16(%rbx)
LBB0_6:
	movq	%rbx, %rdi
	movl	$131, %esi
	callq	_mesh_linkchange
	movq	%rbx, %rdi
	callq	_mesh_peer_timeout_setup
	jmp	LBB0_12
LBB0_7:
	movl	8(%rbx), %eax
	incl	%eax
	movl	%eax, 8(%rbx)
	movq	_ieee80211_mesh_maxholding@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_9
## %bb.8:
	leaq	4(%rbx), %rdi
	movq	_ieee80211_mesh_backofftimeout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_mesh_peer_backoff_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rcx
	callq	_callout_reset
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_14
## %bb.10:
	movq	%rbx, %rdi
	movl	$130, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mesh_linkchange                ## TAILCALL
LBB0_11:
	movq	_IEEE80211_ACTION_CAT_SELF_PROT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IEEE80211_ACTION_MESHPEERING_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-28(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_ieee80211_send_action
	incl	16(%rbx)
	movq	%rbx, %rdi
	callq	_mesh_peer_timeout_backoff
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_MSG_MESH,4,2         ## @IEEE80211_MSG_MESH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mesh link timeout, state %d, retry counter %d"

	.comm	_ieee80211_mesh_maxretries,4,2  ## @ieee80211_mesh_maxretries
	.comm	_IEEE80211_REASON_MESH_MAX_RETRIES,4,2 ## @IEEE80211_REASON_MESH_MAX_RETRIES
	.comm	_IEEE80211_ACTION_CAT_SELF_PROT,4,2 ## @IEEE80211_ACTION_CAT_SELF_PROT
	.comm	_IEEE80211_ACTION_MESHPEERING_CLOSE,4,2 ## @IEEE80211_ACTION_MESHPEERING_CLOSE
	.comm	_IEEE80211_ACTION_MESHPEERING_OPEN,4,2 ## @IEEE80211_ACTION_MESHPEERING_OPEN
	.comm	_IEEE80211_REASON_MESH_CONFIRM_TIMEOUT,4,2 ## @IEEE80211_REASON_MESH_CONFIRM_TIMEOUT
	.comm	_ieee80211_mesh_maxholding,4,2  ## @ieee80211_mesh_maxholding
	.comm	_ieee80211_mesh_backofftimeout,4,2 ## @ieee80211_mesh_backofftimeout
	.comm	_mesh_peer_backoff_cb,4,2       ## @mesh_peer_backoff_cb
	.no_dead_strip	_mesh_peer_timeout_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mesh_peer_timeout_cb
_mesh_peer_timeout_cb:                  ; @mesh_peer_timeout_cb
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, _IEEE80211_MSG_MESH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_MSG_MESH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w4, [x0]
	ldr	w0, [x0, #20]
	ldr	w5, [x19, #16]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x2, x19
	bl	_IEEE80211_NOTE
	ldr	w8, [x19]
	sub	w9, w8, #128
	cmp	w9, #2
	b.lo	LBB0_4
; %bb.1:
	cmp	w8, #131
	b.eq	LBB0_7
; %bb.2:
	cmp	w8, #133
	b.ne	LBB0_12
; %bb.3:
	ldr	w8, [x19, #12]
Lloh8:
	adrp	x9, _IEEE80211_REASON_MESH_CONFIRM_TIMEOUT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IEEE80211_REASON_MESH_CONFIRM_TIMEOUT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	str	w8, [sp, #12]
	str	w9, [sp, #20]
Lloh11:
	adrp	x8, _IEEE80211_ACTION_CAT_SELF_PROT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IEEE80211_ACTION_CAT_SELF_PROT@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _IEEE80211_ACTION_MESHPEERING_CLOSE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IEEE80211_ACTION_MESHPEERING_CLOSE@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x0, x19
	bl	_ieee80211_send_action
	b	LBB0_6
LBB0_4:
Lloh17:
	adrp	x8, _ieee80211_mesh_maxretries@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ieee80211_mesh_maxretries@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldp	w10, w9, [x19, #12]
	str	w10, [sp, #12]
	cmp	w9, w8
	b.ne	LBB0_11
; %bb.5:
Lloh20:
	adrp	x8, _IEEE80211_REASON_MESH_MAX_RETRIES@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IEEE80211_REASON_MESH_MAX_RETRIES@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [sp, #20]
Lloh23:
	adrp	x8, _IEEE80211_ACTION_CAT_SELF_PROT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IEEE80211_ACTION_CAT_SELF_PROT@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x8, _IEEE80211_ACTION_MESHPEERING_CLOSE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IEEE80211_ACTION_MESHPEERING_CLOSE@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x0, x19
	bl	_ieee80211_send_action
	str	wzr, [x19, #16]
LBB0_6:
	mov	x0, x19
	mov	w1, #131
	bl	_mesh_linkchange
	mov	x0, x19
	bl	_mesh_peer_timeout_setup
	b	LBB0_12
LBB0_7:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
Lloh29:
	adrp	x9, _ieee80211_mesh_maxholding@GOTPAGE
Lloh30:
	ldr	x9, [x9, _ieee80211_mesh_maxholding@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	cmp	w8, w9
	b.lt	LBB0_9
; %bb.8:
	add	x0, x19, #4
Lloh32:
	adrp	x8, _ieee80211_mesh_backofftimeout@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ieee80211_mesh_backofftimeout@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
Lloh35:
	adrp	x8, _mesh_peer_backoff_cb@GOTPAGE
Lloh36:
	ldr	x8, [x8, _mesh_peer_backoff_cb@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
	mov	x3, x19
	bl	_callout_reset
LBB0_9:
	ldr	x8, [sp, #24]
Lloh38:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh39:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.10:
	mov	x0, x19
	mov	w1, #130
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_mesh_linkchange
LBB0_11:
Lloh41:
	adrp	x8, _IEEE80211_ACTION_CAT_SELF_PROT@GOTPAGE
Lloh42:
	ldr	x8, [x8, _IEEE80211_ACTION_CAT_SELF_PROT@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
Lloh44:
	adrp	x8, _IEEE80211_ACTION_MESHPEERING_OPEN@GOTPAGE
Lloh45:
	ldr	x8, [x8, _IEEE80211_ACTION_MESHPEERING_OPEN@GOTPAGEOFF]
Lloh46:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x0, x19
	bl	_ieee80211_send_action
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	mov	x0, x19
	bl	_mesh_peer_timeout_backoff
LBB0_12:
	ldr	x8, [sp, #24]
Lloh47:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh48:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_MSG_MESH,4,2         ; @IEEE80211_MSG_MESH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mesh link timeout, state %d, retry counter %d"

	.comm	_ieee80211_mesh_maxretries,4,2  ; @ieee80211_mesh_maxretries
	.comm	_IEEE80211_REASON_MESH_MAX_RETRIES,4,2 ; @IEEE80211_REASON_MESH_MAX_RETRIES
	.comm	_IEEE80211_ACTION_CAT_SELF_PROT,4,2 ; @IEEE80211_ACTION_CAT_SELF_PROT
	.comm	_IEEE80211_ACTION_MESHPEERING_CLOSE,4,2 ; @IEEE80211_ACTION_MESHPEERING_CLOSE
	.comm	_IEEE80211_ACTION_MESHPEERING_OPEN,4,2 ; @IEEE80211_ACTION_MESHPEERING_OPEN
	.comm	_IEEE80211_REASON_MESH_CONFIRM_TIMEOUT,4,2 ; @IEEE80211_REASON_MESH_CONFIRM_TIMEOUT
	.comm	_ieee80211_mesh_maxholding,4,2  ; @ieee80211_mesh_maxholding
	.comm	_ieee80211_mesh_backofftimeout,4,2 ; @ieee80211_mesh_backofftimeout
	.comm	_mesh_peer_backoff_cb,4,2       ; @mesh_peer_backoff_cb
	.no_dead_strip	_mesh_peer_timeout_cb
.subsections_via_symbols
