	.file	"extr_ieee80211_mesh.c_mesh_recv_action_meshpeering_close.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"recv PEER CLOSE"
.LC1:
	.string	"%s"
	.text
	.p2align 4
	.type	mesh_recv_action_meshpeering_close, @function
mesh_recv_action_meshpeering_close:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	add	rdx, 8
	mov	rbp, rdi
	sub	rsp, 32
	.cfi_def_cfa_offset 48
	mov	r9d, DWORD PTR IEEE80211_ACTION_MESHPEERING_CLOSE[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	r8, 8[rsp]
	call	mesh_parse_meshpeering_action@PLT
	test	rax, rax
	je	.L2
	mov	edi, DWORD PTR 12[rbp]
	mov	esi, DWORD PTR IEEE80211_MSG_ACTION[rip]
	mov	rdx, rbp
	lea	r8, .LC0[rip]
	or	esi, DWORD PTR IEEE80211_MSG_MESH[rip]
	lea	rcx, .LC1[rip]
	call	IEEE80211_NOTE@PLT
	mov	eax, DWORD PTR 0[rbp]
	cmp	eax, 131
	je	.L3
	jle	.L12
	sub	eax, 132
	cmp	eax, 1
	jbe	.L5
.L2:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	add	eax, -128
	cmp	eax, 1
	ja	.L2
.L5:
	mov	eax, DWORD PTR 8[rbp]
	mov	edx, DWORD PTR IEEE80211_ACTION_MESHPEERING_CLOSE[rip]
	lea	rcx, 12[rsp]
	mov	rdi, rbp
	mov	esi, DWORD PTR IEEE80211_ACTION_CAT_SELF_PROT[rip]
	mov	DWORD PTR 12[rsp], eax
	mov	eax, DWORD PTR 4[rbp]
	mov	DWORD PTR 16[rsp], eax
	mov	eax, DWORD PTR IEEE80211_REASON_MESH_CLOSE_RCVD[rip]
	mov	DWORD PTR 20[rsp], eax
	call	ieee80211_send_action@PLT
	mov	rdi, rbp
	mov	esi, 131
	call	mesh_linkchange@PLT
	mov	rdi, rbp
	call	mesh_peer_timeout_setup@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, rbp
	mov	esi, 130
	call	mesh_linkchange@PLT
	mov	rdi, rbp
	call	mesh_peer_timeout_stop@PLT
	jmp	.L2
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mesh_recv_action_meshpeering_close, .-mesh_recv_action_meshpeering_close
	.comm	IEEE80211_REASON_MESH_CLOSE_RCVD,4,4
	.comm	IEEE80211_MSG_MESH,4,4
	.comm	IEEE80211_MSG_ACTION,4,4
	.comm	IEEE80211_ACTION_MESHPEERING_CLOSE,4,4
	.comm	IEEE80211_ACTION_CAT_SELF_PROT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_ieee80211_mesh.c_mesh_recv_action_meshpeering_close.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s\000"
	.align	2
.LC1:
	.ascii	"recv PEER CLOSE\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mesh_recv_action_meshpeering_close, %function
mesh_recv_action_meshpeering_close:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r5, .L14
	sub	sp, sp, #36
	ldr	lr, [r5]
	add	ip, sp, #12
	stm	sp, {ip, lr}
	ldr	ip, .L14+4
	add	r2, r2, #8
	ldr	ip, [ip]
	str	ip, [sp, #28]
	mov	ip,#0
	mov	r4, r0
	bl	mesh_parse_meshpeering_action
	cmp	r0, #0
	beq	.L2
	ldr	r2, .L14+8
	ldr	r3, .L14+12
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L14+16
	orr	r1, r1, r2
	str	r3, [sp]
	mov	r2, r4
	ldr	r3, .L14+20
	ldr	r0, [r4, #12]
	bl	IEEE80211_NOTE
	ldr	r3, [r4]
	cmp	r3, #131
	beq	.L3
	ble	.L12
	sub	r3, r3, #132
	cmp	r3, #1
	bls	.L5
.L2:
	ldr	r3, .L14+4
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	mov	r0, #0
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, pc}
.L12:
	sub	r3, r3, #128
	cmp	r3, #1
	bhi	.L2
.L5:
	ldr	r3, .L14+24
	ldr	r0, [r4, #8]
	ldr	r3, [r3]
	ldr	r1, .L14+28
	ldr	ip, [r4, #4]
	ldr	r2, [r5]
	str	r3, [sp, #24]
	str	r0, [sp, #16]
	add	r3, sp, #16
	mov	r0, r4
	ldr	r1, [r1]
	str	ip, [sp, #20]
	bl	ieee80211_send_action
	mov	r1, #131
	mov	r0, r4
	bl	mesh_linkchange
	mov	r0, r4
	bl	mesh_peer_timeout_setup
	b	.L2
.L3:
	mov	r1, #130
	mov	r0, r4
	bl	mesh_linkchange
	mov	r0, r4
	bl	mesh_peer_timeout_stop
	b	.L2
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	IEEE80211_ACTION_MESHPEERING_CLOSE
	.word	.LC2
	.word	IEEE80211_MSG_ACTION
	.word	IEEE80211_MSG_MESH
	.word	.LC1
	.word	.LC0
	.word	IEEE80211_REASON_MESH_CLOSE_RCVD
	.word	IEEE80211_ACTION_CAT_SELF_PROT
	.size	mesh_recv_action_meshpeering_close, .-mesh_recv_action_meshpeering_close
	.comm	IEEE80211_REASON_MESH_CLOSE_RCVD,4,4
	.comm	IEEE80211_MSG_MESH,4,4
	.comm	IEEE80211_MSG_ACTION,4,4
	.comm	IEEE80211_ACTION_MESHPEERING_CLOSE,4,4
	.comm	IEEE80211_ACTION_CAT_SELF_PROT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
