	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mesh_gatemode_setup
_mesh_gatemode_setup:                   ## @mesh_gatemode_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rcx
	movq	(%rdi), %rdi
	movl	(%rdi), %eax
	movq	_IEEE80211_MESHFLAGS_ROOT@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_1
LBB0_2:
	addq	$4, %rdi
	popq	%rbp
	jmp	_callout_drain                  ## TAILCALL
LBB0_1:
	movq	_IEEE80211_MESHFLAGS_GATE@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_2
## %bb.3:
	addq	$4, %rdi
	movq	_ieee80211_mesh_gateint@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_mesh_gatemode_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	popq	%rbp
	jmp	_callout_reset                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_MESHFLAGS_ROOT,4,2   ## @IEEE80211_MESHFLAGS_ROOT
	.comm	_IEEE80211_MESHFLAGS_GATE,4,2   ## @IEEE80211_MESHFLAGS_GATE
	.comm	_ieee80211_mesh_gateint,4,2     ## @ieee80211_mesh_gateint
	.comm	_mesh_gatemode_cb,4,2           ## @mesh_gatemode_cb
	.no_dead_strip	_mesh_gatemode_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mesh_gatemode_setup
_mesh_gatemode_setup:                   ; @mesh_gatemode_setup
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _IEEE80211_MESHFLAGS_ROOT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IEEE80211_MESHFLAGS_ROOT@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
LBB0_1:
	add	x0, x8, #4
	b	_callout_drain
LBB0_2:
Lloh3:
	adrp	x10, _IEEE80211_MESHFLAGS_GATE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IEEE80211_MESHFLAGS_GATE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_1
; %bb.3:
	mov	x3, x0
	add	x0, x8, #4
Lloh6:
	adrp	x8, _ieee80211_mesh_gateint@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ieee80211_mesh_gateint@GOTPAGEOFF]
Lloh8:
	adrp	x9, _mesh_gatemode_cb@GOTPAGE
Lloh9:
	ldr	x9, [x9, _mesh_gatemode_cb@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	ldr	w2, [x9]
	b	_callout_reset
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_MESHFLAGS_ROOT,4,2   ; @IEEE80211_MESHFLAGS_ROOT
	.comm	_IEEE80211_MESHFLAGS_GATE,4,2   ; @IEEE80211_MESHFLAGS_GATE
	.comm	_ieee80211_mesh_gateint,4,2     ; @ieee80211_mesh_gateint
	.comm	_mesh_gatemode_cb,4,2           ; @mesh_gatemode_cb
	.no_dead_strip	_mesh_gatemode_setup
.subsections_via_symbols
