	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mesh_recv_action_meshpeering_confirm
_mesh_recv_action_meshpeering_confirm:  ## @mesh_recv_action_meshpeering_confirm
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	16(%rdi), %r14
	addq	$32, %rdx
	movq	_IEEE80211_ACTION_MESHPEERING_CONFIRM@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-72(%rbp), %r8
	callq	_mesh_parse_meshpeering_action
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %rbx
	movq	_IEEE80211_MSG_ACTION@GOTPCREL(%rip), %rax
	movq	_IEEE80211_MSG_MESH@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	orl	(%rax), %esi
	movl	(%rbx), %r8d
	movl	4(%rbx), %r9d
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_IEEE80211_NOTE
	movl	(%r12), %r9d
	leal	-128(%r9), %eax
	cmpl	$3, %eax
	ja	LBB0_9
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movq	%r12, %rdi
	movl	$131, %esi
	jmp	LBB0_5
LBB0_3:
	movq	_IEEE80211_NODE_MESH_ESTABLISHED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_mesh_linkchange
	movq	%r12, %rdi
	callq	_mesh_peer_timeout_stop
	jmp	LBB0_10
LBB0_6:
	movl	8(%r12), %eax
	movl	%eax, -60(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -56(%rbp)
	movq	_IEEE80211_REASON_PEER_LINK_CANCELED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%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	-60(%rbp), %rcx
	movq	%r12, %rdi
	callq	_ieee80211_send_action
	jmp	LBB0_10
LBB0_7:
	movl	4(%r12), %eax
	cmpl	(%rbx), %eax
	je	LBB0_10
## %bb.8:
	movl	8(%r12), %ecx
	movl	%ecx, -60(%rbp)
	movl	%eax, -56(%rbp)
	movq	_IEEE80211_REASON_PEER_LINK_CANCELED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%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	-60(%rbp), %rcx
	movq	%r12, %rdi
	callq	_ieee80211_send_action
	movq	%r12, %rdi
	movl	$130, %esi
LBB0_5:
	callq	_mesh_linkchange
	movq	%r12, %rdi
	callq	_mesh_peer_timeout_setup
	jmp	LBB0_10
LBB0_9:
	movl	(%r13), %esi
	movq	_IEEE80211_MSG_ACTION@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	leaq	L_.str.1(%rip), %r8
	movq	%r14, %rdi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
                                        ## kill: def $r9d killed $r9d killed $r9
	callq	_IEEE80211_DISCARD
	incl	(%r14)
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_IEEE80211_ACTION_MESHPEERING_CONFIRM,4,2 ## @IEEE80211_ACTION_MESHPEERING_CONFIRM
	.comm	_IEEE80211_MSG_ACTION,4,2       ## @IEEE80211_MSG_ACTION
	.comm	_IEEE80211_MSG_MESH,4,2         ## @IEEE80211_MSG_MESH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"recv PEER CONFIRM, local id 0x%x, peer id 0x%x"

	.comm	_IEEE80211_NODE_MESH_ESTABLISHED,4,2 ## @IEEE80211_NODE_MESH_ESTABLISHED
	.comm	_IEEE80211_REASON_PEER_LINK_CANCELED,4,2 ## @IEEE80211_REASON_PEER_LINK_CANCELED
	.comm	_IEEE80211_ACTION_CAT_SELF_PROT,4,2 ## @IEEE80211_ACTION_CAT_SELF_PROT
	.comm	_IEEE80211_ACTION_MESHPEERING_CLOSE,4,2 ## @IEEE80211_ACTION_MESHPEERING_CLOSE
L_.str.1:                               ## @.str.1
	.asciz	"received confirm in invalid state %d"

	.no_dead_strip	_mesh_recv_action_meshpeering_confirm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mesh_recv_action_meshpeering_confirm
_mesh_recv_action_meshpeering_confirm:  ; @mesh_recv_action_meshpeering_confirm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	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]
	ldr	x20, [x0, #16]
	add	x2, x2, #32
Lloh3:
	adrp	x8, _IEEE80211_ACTION_MESHPEERING_CONFIRM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_ACTION_MESHPEERING_CONFIRM@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x8]
	mov	x4, sp
	bl	_mesh_parse_meshpeering_action
	cbz	x0, LBB0_10
; %bb.1:
	mov	x22, x0
Lloh6:
	adrp	x23, _IEEE80211_MSG_ACTION@GOTPAGE
Lloh7:
	ldr	x23, [x23, _IEEE80211_MSG_ACTION@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh8:
	adrp	x24, _IEEE80211_MSG_MESH@GOTPAGE
Lloh9:
	ldr	x24, [x24, _IEEE80211_MSG_MESH@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w1, w9, w8
	ldp	w4, w5, [x0]
Lloh10:
	adrp	x3, l_.str@PAGE
Lloh11:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_IEEE80211_NOTE
	ldr	w5, [x19]
	sub	w8, w5, #128
	cmp	w8, #3
	b.hi	LBB0_9
; %bb.2:
Lloh12:
	adrp	x9, lJTI0_0@PAGE
Lloh13:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	mov	x0, x19
	mov	w1, #131
	b	LBB0_8
LBB0_4:
Lloh14:
	adrp	x8, _IEEE80211_NODE_MESH_ESTABLISHED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IEEE80211_NODE_MESH_ESTABLISHED@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mesh_linkchange
	mov	x0, x19
	bl	_mesh_peer_timeout_stop
	b	LBB0_10
LBB0_5:
	ldr	w8, [x19, #8]
	str	w8, [sp, #12]
	ldr	w8, [x22]
Lloh17:
	adrp	x9, _IEEE80211_REASON_PEER_LINK_CANCELED@GOTPAGE
Lloh18:
	ldr	x9, [x9, _IEEE80211_REASON_PEER_LINK_CANCELED@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #16]
Lloh20:
	adrp	x8, _IEEE80211_ACTION_CAT_SELF_PROT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IEEE80211_ACTION_CAT_SELF_PROT@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x8, _IEEE80211_ACTION_MESHPEERING_CLOSE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IEEE80211_ACTION_MESHPEERING_CLOSE@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x0, x19
	bl	_ieee80211_send_action
	b	LBB0_10
LBB0_6:
	ldr	w8, [x19, #4]
	ldr	w9, [x22]
	cmp	w8, w9
	b.eq	LBB0_10
; %bb.7:
	ldr	w9, [x19, #8]
	stp	w9, w8, [sp, #12]
Lloh26:
	adrp	x8, _IEEE80211_REASON_PEER_LINK_CANCELED@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IEEE80211_REASON_PEER_LINK_CANCELED@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	str	w8, [sp, #20]
Lloh29:
	adrp	x8, _IEEE80211_ACTION_CAT_SELF_PROT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IEEE80211_ACTION_CAT_SELF_PROT@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
Lloh32:
	adrp	x8, _IEEE80211_ACTION_MESHPEERING_CLOSE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _IEEE80211_ACTION_MESHPEERING_CLOSE@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x0, x19
	bl	_ieee80211_send_action
	mov	x0, x19
	mov	w1, #130
LBB0_8:
	bl	_mesh_linkchange
	mov	x0, x19
	bl	_mesh_peer_timeout_setup
	b	LBB0_10
LBB0_9:
	ldr	w8, [x23]
	ldr	w9, [x24]
	orr	w1, w9, w8
Lloh35:
	adrp	x4, l_.str.1@PAGE
Lloh36:
	add	x4, x4, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	mov	x3, #0
	bl	_IEEE80211_DISCARD
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
LBB0_10:
	ldr	x8, [sp, #24]
Lloh37:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh38:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	mov	w0, #0
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
                                        ; -- End function
	.comm	_IEEE80211_ACTION_MESHPEERING_CONFIRM,4,2 ; @IEEE80211_ACTION_MESHPEERING_CONFIRM
	.comm	_IEEE80211_MSG_ACTION,4,2       ; @IEEE80211_MSG_ACTION
	.comm	_IEEE80211_MSG_MESH,4,2         ; @IEEE80211_MSG_MESH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"recv PEER CONFIRM, local id 0x%x, peer id 0x%x"

	.comm	_IEEE80211_NODE_MESH_ESTABLISHED,4,2 ; @IEEE80211_NODE_MESH_ESTABLISHED
	.comm	_IEEE80211_REASON_PEER_LINK_CANCELED,4,2 ; @IEEE80211_REASON_PEER_LINK_CANCELED
	.comm	_IEEE80211_ACTION_CAT_SELF_PROT,4,2 ; @IEEE80211_ACTION_CAT_SELF_PROT
	.comm	_IEEE80211_ACTION_MESHPEERING_CLOSE,4,2 ; @IEEE80211_ACTION_MESHPEERING_CLOSE
l_.str.1:                               ; @.str.1
	.asciz	"received confirm in invalid state %d"

	.no_dead_strip	_mesh_recv_action_meshpeering_confirm
.subsections_via_symbols
