	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hwmp_rootmode_setup
_hwmp_rootmode_setup:                   ## @hwmp_rootmode_setup
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rcx
	movq	(%rdi), %rbx
	movq	8(%rdi), %rdi
	movl	(%rdi), %eax
	leal	-129(%rax), %edx
	cmpl	$2, %edx
	jb	LBB0_4
## %bb.1:
	cmpl	$128, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$131, %eax
	jne	LBB0_7
## %bb.3:
	addq	$4, %rdi
	callq	_callout_drain
	movq	_IEEE80211_MESHFLAGS_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rbx)
	jmp	LBB0_7
LBB0_4:
	addq	$4, %rdi
	movq	_ieee80211_hwmp_rootint@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_hwmp_rootmode_cb@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	addq	$4, %rdi
	movq	_ieee80211_hwmp_rannint@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_hwmp_rootmode_rann_cb@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %edx
	callq	_callout_reset
	movq	_IEEE80211_MESHFLAGS_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_MESHFLAGS_ROOT,4,2   ## @IEEE80211_MESHFLAGS_ROOT
	.comm	_ieee80211_hwmp_rootint,4,2     ## @ieee80211_hwmp_rootint
	.comm	_hwmp_rootmode_cb,4,2           ## @hwmp_rootmode_cb
	.comm	_ieee80211_hwmp_rannint,4,2     ## @ieee80211_hwmp_rannint
	.comm	_hwmp_rootmode_rann_cb,4,2      ## @hwmp_rootmode_rann_cb
	.no_dead_strip	_hwmp_rootmode_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hwmp_rootmode_setup
_hwmp_rootmode_setup:                   ; @hwmp_rootmode_setup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x3, x0
	ldp	x19, x8, [x0]
	ldr	w9, [x8]
	sub	w10, w9, #129
	cmp	w10, #2
	b.lo	LBB0_4
; %bb.1:
	cmp	w9, #128
	b.eq	LBB0_5
; %bb.2:
	cmp	w9, #131
	b.ne	LBB0_8
; %bb.3:
	add	x0, x8, #4
	bl	_callout_drain
Lloh0:
	adrp	x8, _IEEE80211_MESHFLAGS_ROOT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_MESHFLAGS_ROOT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w8, w9, w8
	b	LBB0_7
LBB0_4:
	add	x0, x8, #4
Lloh3:
	adrp	x8, _ieee80211_hwmp_rootint@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ieee80211_hwmp_rootint@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _hwmp_rootmode_cb@GOTPAGE
Lloh7:
	ldr	x8, [x8, _hwmp_rootmode_cb@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	add	x0, x8, #4
Lloh8:
	adrp	x8, _ieee80211_hwmp_rannint@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ieee80211_hwmp_rannint@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _hwmp_rootmode_rann_cb@GOTPAGE
Lloh12:
	ldr	x8, [x8, _hwmp_rootmode_rann_cb@GOTPAGEOFF]
LBB0_6:
	ldr	w2, [x8]
	bl	_callout_reset
Lloh13:
	adrp	x8, _IEEE80211_MESHFLAGS_ROOT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IEEE80211_MESHFLAGS_ROOT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
LBB0_7:
	str	w8, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_MESHFLAGS_ROOT,4,2   ; @IEEE80211_MESHFLAGS_ROOT
	.comm	_ieee80211_hwmp_rootint,4,2     ; @ieee80211_hwmp_rootint
	.comm	_hwmp_rootmode_cb,4,2           ; @hwmp_rootmode_cb
	.comm	_ieee80211_hwmp_rannint,4,2     ; @ieee80211_hwmp_rannint
	.comm	_hwmp_rootmode_rann_cb,4,2      ; @hwmp_rootmode_rann_cb
	.no_dead_strip	_hwmp_rootmode_setup
.subsections_via_symbols
