	.file	"extr_nvram.c_remove_var.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	remove_var, @function
remove_var:
.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	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	mov	rdi, rdx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	call	strlen@PLT
	test	ebp, ebp
	jle	.L6
	mov	DWORD PTR 4[rsp], 0
	mov	r13d, eax
	movsx	r14, eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edx, r13d
	mov	rsi, r12
	mov	rdi, rbx
	call	strncmp@PLT
	movsx	rcx, r15d
	mov	edx, ebp
	sub	edx, r15d
	lea	rsi, [rbx+rcx]
	test	rax, rax
	jne	.L3
	cmp	BYTE PTR [rbx+r14], 61
	je	.L12
.L3:
	test	edx, edx
	jle	.L1
.L4:
	mov	ebp, edx
	mov	rbx, rsi
.L5:
	mov	rdi, rbx
	call	strlen@PLT
	lea	r15d, 1[rax]
	test	eax, eax
	jne	.L13
.L1:
	mov	eax, DWORD PTR 4[rsp]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L12:
	.cfi_restore_state
	mov	rdi, rbx
	mov	QWORD PTR 8[rsp], rcx
	call	memmove@PLT
	mov	rcx, QWORD PTR 8[rsp]
	movsx	rdi, ebp
	mov	edx, r15d
	xor	esi, esi
	sub	rdi, rcx
	add	rdi, rbx
	call	memset@PLT
	add	DWORD PTR 4[rsp], 1
	mov	rsi, rbx
	mov	edx, ebp
	jmp	.L4
.L6:
	mov	DWORD PTR 4[rsp], 0
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	remove_var, .-remove_var
	.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_nvram.c_remove_var.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	remove_var, %function
remove_var:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, r1
	mov	r5, r0
	mov	r0, r2
	mov	r9, r2
	bl	strlen
	cmp	r7, #0
	ble	.L6
	mov	r8, r0
	mov	r10, #0
	b	.L5
.L13:
	mov	r1, r9
	mov	r2, r8
	mov	r0, r5
	bl	strncmp
	subs	fp, r0, #0
	sub	r6, r7, r4
	add	r1, r5, r4
	bne	.L3
	ldrb	r3, [r5, r8]	@ zero_extendqisi2
	cmp	r3, #61
	beq	.L12
.L3:
	cmp	r6, #0
	ble	.L1
.L4:
	mov	r7, r6
	mov	r5, r1
.L5:
	mov	r0, r5
	bl	strlen
	cmp	r0, #0
	add	r4, r0, #1
	bne	.L13
.L1:
	mov	r0, r10
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L12:
	mov	r2, r6
	mov	r0, r5
	bl	memmove
	mov	r1, fp
	add	r0, r5, r6
	mov	r2, r4
	bl	memset
	mov	r6, r7
	mov	r1, r5
	add	r10, r10, #1
	b	.L4
.L6:
	mov	r10, #0
	b	.L1
	.size	remove_var, .-remove_var
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
