	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mesh_gatemode_cb
_mesh_gatemode_cb:                      ## @mesh_gatemode_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	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, -32(%rbp)
	movl	4(%rbx), %eax
	movl	%eax, -40(%rbp)
	movl	4(%rdi), %esi
	callq	_IEEE80211_ADDR_COPY
	movslq	(%rbx), %r8
	leal	1(%r8), %eax
	movl	%eax, (%rbx)
	movq	%r8, -56(%rbp)
	movq	_ieee80211_mesh_gateint@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_IEEE80211_MSG_MESH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	callq	_IEEE80211_NOTE
	movl	(%r14), %edi
	movq	_IEEE80211_ACTION_CAT_MESH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IEEE80211_ACTION_MESH_GANN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-56(%rbp), %rcx
	callq	_ieee80211_send_action
	movq	%r14, %rdi
	callq	_mesh_gatemode_setup
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ieee80211_mesh_gateint,4,2     ## @ieee80211_mesh_gateint
	.comm	_IEEE80211_MSG_MESH,4,2         ## @IEEE80211_MSG_MESH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"send broadcast GANN (seq %u)"

	.comm	_IEEE80211_ACTION_CAT_MESH,4,2  ## @IEEE80211_ACTION_CAT_MESH
	.comm	_IEEE80211_ACTION_MESH_GANN,4,2 ## @IEEE80211_ACTION_MESH_GANN
	.no_dead_strip	_mesh_gatemode_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mesh_gatemode_cb
_mesh_gatemode_cb:                      ; @mesh_gatemode_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0, #8]
	stp	xzr, xzr, [sp, #32]
	ldr	w8, [x20, #4]
	str	w8, [sp, #24]
	ldr	w1, [x0, #4]
	bl	_IEEE80211_ADDR_COPY
	ldrsw	x4, [x20]
	add	w8, w4, #1
	str	w8, [x20]
	str	x4, [sp, #8]
Lloh0:
	adrp	x8, _ieee80211_mesh_gateint@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ieee80211_mesh_gateint@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #16]
Lloh3:
	adrp	x8, _IEEE80211_MSG_MESH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_MSG_MESH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x19]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_IEEE80211_NOTE
	ldr	w0, [x19]
Lloh8:
	adrp	x8, _IEEE80211_ACTION_CAT_MESH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IEEE80211_ACTION_CAT_MESH@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _IEEE80211_ACTION_MESH_GANN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IEEE80211_ACTION_MESH_GANN@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	add	x3, sp, #8
	bl	_ieee80211_send_action
	mov	x0, x19
	bl	_mesh_gatemode_setup
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ieee80211_mesh_gateint,4,2     ; @ieee80211_mesh_gateint
	.comm	_IEEE80211_MSG_MESH,4,2         ; @IEEE80211_MSG_MESH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"send broadcast GANN (seq %u)"

	.comm	_IEEE80211_ACTION_CAT_MESH,4,2  ; @IEEE80211_ACTION_CAT_MESH
	.comm	_IEEE80211_ACTION_MESH_GANN,4,2 ; @IEEE80211_ACTION_MESH_GANN
	.no_dead_strip	_mesh_gatemode_cb
.subsections_via_symbols
