	.file	"extr_wlaninject.c_parse_ie.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Invalid IE %s\n"
.LC1:
	.string	"%x"
.LC2:
	.string	"No space for IE"
	.text
	.p2align 4
	.globl	parse_ie
	.type	parse_ie, @function
parse_ie:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	strlen@PLT
	mov	r14d, eax
	shr	r14d, 31
	add	r14d, eax
	sar	r14d
	mov	r13d, r14d
	cmp	eax, 1
	jle	.L4
	mov	rdi, rbx
	call	strlen@PLT
	test	al, 1
	jne	.L4
.L3:
	mov	BYTE PTR 39[rsp], 0
	test	r14d, r14d
	je	.L1
	lea	rsi, 37[rsp]
	movzx	eax, BYTE PTR [rbx]
	xor	r14d, r14d
	add	rbx, 1
	mov	QWORD PTR 8[rsp], rsi
	lea	r15, 32[rsp]
	mov	BYTE PTR 37[rsp], al
	mov	eax, 1
	.p2align 4,,10
	.p2align 3
.L14:
	movzx	ecx, BYTE PTR [rbx]
	movsx	rdx, eax
	add	rbx, 1
	mov	BYTE PTR 37[rsp+rdx], cl
	cmp	eax, 1
	je	.L20
	mov	eax, 1
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rsi, rbx
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L20:
	mov	rdi, QWORD PTR 8[rsp]
	mov	rdx, r15
	lea	rsi, .LC1[rip]
	sub	r13d, 1
	call	sscanf@PLT
	lea	rcx, 1[rbp]
	lea	edx, -1[r12]
	test	r12d, r12d
	jle	.L21
	mov	eax, DWORD PTR 32[rsp]
	mov	BYTE PTR 0[rbp], al
	test	r14d, r14d
	je	.L12
	add	r14d, 1
	mov	r12d, edx
	mov	rbp, rcx
.L11:
	test	r13d, r13d
	jne	.L22
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L23
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	xor	eax, eax
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L12:
	test	edx, edx
	je	.L24
.L10:
	mov	BYTE PTR 1[rbp], r13b
	sub	r12d, 2
	add	rbp, 2
	mov	r14d, 2
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L24:
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L21:
	lea	rdi, .LC2[rip]
	mov	DWORD PTR 28[rsp], edx
	mov	QWORD PTR 16[rsp], rcx
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
	mov	eax, DWORD PTR 32[rsp]
	mov	BYTE PTR 0[rbp], al
	test	r14d, r14d
	je	.L10
	mov	edx, DWORD PTR 28[rsp]
	mov	rcx, QWORD PTR 16[rsp]
	add	r14d, 1
	mov	r12d, edx
	mov	rbp, rcx
	jmp	.L11
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	parse_ie, .-parse_ie
	.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_wlaninject.c_parse_ie.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Invalid IE %s\012\000"
	.align	2
.LC1:
	.ascii	"%x\000"
	.align	2
.LC2:
	.ascii	"No space for IE\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	parse_ie
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_ie, %function
parse_ie:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L26
	sub	sp, sp, #28
	mov	r5, r0
	mov	r6, r1
	mov	r8, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	strlen
	cmp	r0, #1
	asr	fp, r0, #1
	ble	.L2
	tst	r0, #1
	bne	.L2
.L3:
	mov	r7, #0
	cmp	fp, r7
	strb	r7, [sp, #18]
	moveq	r7, fp
	beq	.L1
	mov	r4, #1
	ldrb	r3, [r5], #1	@ zero_extendqisi2
	ldr	r9, .L26+4
	ldr	r10, .L26+8
	strb	r3, [sp, #16]
.L13:
	ldrb	r2, [r5], #1	@ zero_extendqisi2
	add	r3, sp, #24
	add	r3, r3, r4
	cmp	r4, #1
	movne	r4, #1
	strb	r2, [r3, #-8]
	bne	.L13
	add	r2, sp, #12
	mov	r1, r9
	add	r0, sp, #16
	bl	sscanf
	cmp	r8, #0
	sub	fp, fp, #1
	add	r2, r6, #1
	sub	r3, r8, #1
	ble	.L22
	ldr	r1, [sp, #12]
	cmp	r7, #0
	strb	r1, [r6]
	beq	.L11
	mov	r8, r3
	mov	r6, r2
	add	r7, r7, #1
.L10:
	cmp	fp, #0
	bne	.L23
.L1:
	ldr	r3, .L26
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L24
	mov	r0, r7
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r1, r5
	ldr	r0, .L26+12
	bl	printf
	mov	r0, #1
	bl	exit
	b	.L3
.L23:
	mov	r4, #0
	b	.L13
.L11:
	cmp	r3, #0
	beq	.L25
.L9:
	mov	r7, #2
	strb	fp, [r6, #1]
	sub	r8, r8, #2
	add	r6, r6, r7
	b	.L10
.L25:
	mov	r7, #2
	mov	r0, r10
	bl	puts
	mov	r0, r4
	bl	exit
	sub	r8, r8, #2
	strb	fp, [r6, #1]
	add	r6, r6, r7
	b	.L10
.L22:
	mov	r0, r10
	stm	sp, {r2, r3}
	bl	puts
	mov	r0, r4
	bl	exit
	ldr	r1, [sp, #12]
	cmp	r7, #0
	strb	r1, [r6]
	beq	.L9
	ldr	r3, [sp, #4]
	ldr	r2, [sp]
	mov	r8, r3
	mov	r6, r2
	add	r7, r7, #1
	b	.L10
.L24:
	bl	__stack_chk_fail
.L27:
	.align	2
.L26:
	.word	.LC3
	.word	.LC1
	.word	.LC2
	.word	.LC0
	.size	parse_ie, .-parse_ie
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
