	.file	"extr_ifieee80211.c_set80211meshid.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	set80211meshid, @function
set80211meshid:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r14
	push	r13
	.cfi_offset 14, -24
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_offset 12, -40
	mov	r12d, edx
	push	rbx
	sub	rsp, 16
	.cfi_offset 3, -48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR IEEE80211_NWID_LEN[rip]
	mov	rbx, rsp
	mov	rdx, rax
	lea	rax, 15[0+rax*4]
	mov	rcx, rax
	and	rax, -4096
	sub	rbx, rax
	and	rcx, -16
	mov	rax, rbx
	cmp	rsp, rax
	je	.L3
.L12:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L12
.L3:
	and	ecx, 4095
	sub	rsp, rcx
	test	rcx, rcx
	jne	.L13
.L4:
	mov	r14, rsp
	lea	ebx, 0[0+rdx*4]
	xor	esi, esi
	mov	edx, ebx
	mov	rdi, r14
	call	memset@PLT
	xor	esi, esi
	lea	rcx, -44[rbp]
	mov	rdx, r14
	mov	rdi, r13
	mov	DWORD PTR -44[rbp], ebx
	call	get_string@PLT
	test	rax, rax
	jne	.L5
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	ecx, DWORD PTR -44[rbp]
	mov	esi, DWORD PTR IEEE80211_IOC_MESH_ID[rip]
	xor	edx, edx
	mov	r8, r14
	mov	edi, r12d
	call	set80211@PLT
	mov	rax, QWORD PTR -40[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	lea	rsp, -32[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rcx], 0
	jmp	.L4
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	set80211meshid, .-set80211meshid
	.comm	IEEE80211_NWID_LEN,4,4
	.comm	IEEE80211_IOC_MESH_ID,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_ifieee80211.c_set80211meshid.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set80211meshid, %function
set80211meshid:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #16
	mov	r7, r0
	ldr	r3, .L8
	mov	r1, #0
	ldr	r4, [r3]
	mov	r5, r2
	lsl	r4, r4, #2
	add	r3, r4, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	add	r6, sp, #8
	ldr	r3, .L8+4
	mov	r2, r4
	mov	r0, r6
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	bl	memset
	mov	r0, r7
	mov	r2, r6
	mov	r1, #0
	sub	r3, fp, #28
	str	r4, [fp, #-28]
	bl	get_string
	cmp	r0, #0
	beq	.L6
.L2:
	ldr	r3, .L8+8
	str	r6, [sp]
	mov	r2, #0
	ldr	r1, [r3]
	mov	r0, r5
	ldr	r3, [fp, #-28]
	bl	set80211
	ldr	r3, .L8+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L6:
	mov	r0, #1
	bl	exit
	b	.L2
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	IEEE80211_NWID_LEN
	.word	.LC0
	.word	IEEE80211_IOC_MESH_ID
	.size	set80211meshid, .-set80211meshid
	.comm	IEEE80211_NWID_LEN,4,4
	.comm	IEEE80211_IOC_MESH_ID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
