	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hwmp_rootmode_rann_cb
_hwmp_rootmode_rann_cb:                 ## @hwmp_rootmode_rann_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	%r15
	pushq	%r14
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r15
	movq	24(%rdi), %r14
	movq	_IEEE80211_MSG_HWMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rdi), %edx
	leaq	L_.str(%rip), %rcx
	leaq	L_.str.1(%rip), %r8
	callq	_IEEE80211_NOTE
	movq	_IEEE80211_MESHFLAGS_GATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%r15), %ecx
	andl	%eax, %ecx
	cmovnel	%eax, %ecx
	movl	%ecx, -64(%rbp)
	movq	$0, -32(%rbp)
	movl	4(%r15), %eax
	movl	%eax, -36(%rbp)
	movl	4(%rbx), %esi
	callq	_IEEE80211_ADDR_COPY
	movq	(%r14), %rax
	incq	%rax
	movq	%rax, (%r14)
	movq	%rax, -48(%rbp)
	movq	_ieee80211_hwmp_rannint@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_IEEE80211_MESHLMETRIC_INITIALVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	incl	(%rbx)
	movq	_broadcastaddr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_hwmp_send_rann
	movq	%rbx, %rdi
	callq	_hwmp_rootmode_setup
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_MSG_HWMP,4,2         ## @IEEE80211_MSG_HWMP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.1:                               ## @.str.1
	.asciz	"send broadcast RANN"

	.comm	_IEEE80211_MESHFLAGS_GATE,4,2   ## @IEEE80211_MESHFLAGS_GATE
	.comm	_ieee80211_hwmp_rannint,4,2     ## @ieee80211_hwmp_rannint
	.comm	_IEEE80211_MESHLMETRIC_INITIALVAL,4,2 ## @IEEE80211_MESHLMETRIC_INITIALVAL
	.comm	_broadcastaddr,4,2              ## @broadcastaddr
	.no_dead_strip	_hwmp_rootmode_rann_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hwmp_rootmode_rann_cb
_hwmp_rootmode_rann_cb:                 ; @hwmp_rootmode_rann_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldp	x21, x20, [x0, #16]
Lloh0:
	adrp	x8, _IEEE80211_MSG_HWMP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_MSG_HWMP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x0, #8]
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
	bl	_IEEE80211_NOTE
	ldr	w8, [x21]
Lloh7:
	adrp	x9, _IEEE80211_MESHFLAGS_GATE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _IEEE80211_MESHFLAGS_GATE@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	csel	w8, wzr, w9, eq
	str	xzr, [sp, #40]
	ldr	w9, [x21, #4]
	str	w8, [sp, #8]
	str	w9, [sp, #36]
	ldr	w1, [x19, #4]
	bl	_IEEE80211_ADDR_COPY
	ldr	x8, [x20]
	add	x8, x8, #1
	str	x8, [x20]
	str	x8, [sp, #24]
Lloh10:
	adrp	x8, _ieee80211_hwmp_rannint@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ieee80211_hwmp_rannint@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _IEEE80211_MESHLMETRIC_INITIALVAL@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IEEE80211_MESHLMETRIC_INITIALVAL@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #12]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
Lloh16:
	adrp	x8, _broadcastaddr@GOTPAGE
Lloh17:
	ldr	x8, [x8, _broadcastaddr@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_hwmp_send_rann
	mov	x0, x19
	bl	_hwmp_rootmode_setup
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_MSG_HWMP,4,2         ; @IEEE80211_MSG_HWMP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	"send broadcast RANN"

	.comm	_IEEE80211_MESHFLAGS_GATE,4,2   ; @IEEE80211_MESHFLAGS_GATE
	.comm	_ieee80211_hwmp_rannint,4,2     ; @ieee80211_hwmp_rannint
	.comm	_IEEE80211_MESHLMETRIC_INITIALVAL,4,2 ; @IEEE80211_MESHLMETRIC_INITIALVAL
	.comm	_broadcastaddr,4,2              ; @broadcastaddr
	.no_dead_strip	_hwmp_rootmode_rann_cb
.subsections_via_symbols
