	.file	"167331586.c"
	.intel_syntax noprefix
	.text
	.type	__findenv, @function
__findenv:
.LFB6:
	.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
	push	r12
	push	rbx
	sub	rsp, 16
	.cfi_offset 14, -24
	.cfi_offset 13, -32
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	mov	r12, rdi
	mov	QWORD PTR -40[rbp], rsi
	test	r12, r12
	je	.L2
	mov	rax, QWORD PTR environ[rip]
	test	rax, rax
	jne	.L3
.L2:
	mov	eax, 0
	jmp	.L4
.L3:
	mov	rbx, r12
	jmp	.L5
.L7:
	add	rbx, 1
.L5:
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	je	.L6
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 61
	jne	.L7
.L6:
	mov	rax, rbx
	sub	rax, r12
	mov	r14d, eax
	mov	rbx, QWORD PTR environ[rip]
	jmp	.L8
.L10:
	movsx	rax, r14d
	mov	rdx, rax
	mov	rsi, r12
	mov	rdi, r13
	call	strncmp@PLT
	test	eax, eax
	jne	.L9
	movsx	rax, r14d
	add	rax, r13
	movzx	eax, BYTE PTR [rax]
	cmp	al, 61
	jne	.L9
	mov	rdx, QWORD PTR environ[rip]
	mov	rax, rbx
	sub	rax, rdx
	sar	rax, 3
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	movsx	rax, r14d
	add	rax, 1
	add	rax, r13
	jmp	.L4
.L9:
	add	rbx, 8
.L8:
	mov	r13, QWORD PTR [rbx]
	test	r13, r13
	jne	.L10
	mov	eax, 0
.L4:
	add	rsp, 16
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	__findenv, .-__findenv
	.type	par_getenv, @function
par_getenv:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -12[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	__findenv
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	par_getenv, .-par_getenv
	.type	par_setenv, @function
par_setenv:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 56
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	QWORD PTR -72[rbp], rdi
	mov	r12, rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	movzx	eax, BYTE PTR [r12]
	cmp	al, 61
	jne	.L15
	add	r12, 1
.L15:
	mov	rdi, r12
	call	strlen@PLT
	mov	QWORD PTR -48[rbp], rax
	lea	rdx, -52[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	__findenv
	mov	rbx, rax
	test	rbx, rbx
	je	.L16
	mov	rdi, rbx
	call	strlen@PLT
	cmp	QWORD PTR -48[rbp], rax
	ja	.L17
	nop
.L18:
	mov	rdx, r12
	lea	r12, 1[rdx]
	mov	rax, rbx
	lea	rbx, 1[rax]
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L18
	mov	eax, 0
	jmp	.L33
.L16:
	mov	rbx, QWORD PTR environ[rip]
	mov	r13d, 0
	jmp	.L20
.L21:
	add	rbx, 8
	add	r13d, 1
.L20:
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	jne	.L21
	mov	eax, DWORD PTR alloced.0[rip]
	test	eax, eax
	je	.L22
	lea	eax, 2[r13]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR environ[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR environ[rip], rax
	mov	rax, QWORD PTR environ[rip]
	test	rax, rax
	jne	.L23
	mov	eax, -1
	jmp	.L33
.L22:
	mov	DWORD PTR alloced.0[rip], 1
	lea	eax, 2[r13]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	rbx, rax
	test	rbx, rbx
	jne	.L24
	mov	eax, -1
	jmp	.L33
.L24:
	movsx	rax, r13d
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR environ[rip]
	mov	rsi, rax
	mov	rdi, rbx
	call	memmove@PLT
	mov	QWORD PTR environ[rip], rbx
.L23:
	mov	rdx, QWORD PTR environ[rip]
	movsx	rax, r13d
	add	rax, 1
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR [rax], 0
	mov	DWORD PTR -52[rbp], r13d
.L17:
	mov	rbx, QWORD PTR -72[rbp]
	jmp	.L25
.L27:
	add	rbx, 1
.L25:
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	je	.L26
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 61
	jne	.L27
.L26:
	mov	rax, rbx
	sub	rax, QWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	add	rax, 2
	mov	rcx, QWORD PTR environ[rip]
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	lea	rbx, [rcx+rdx]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	jne	.L28
	mov	eax, -1
	jmp	.L33
.L28:
	mov	rdx, QWORD PTR environ[rip]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rbx, QWORD PTR [rax]
	jmp	.L29
.L31:
	add	rbx, 1
.L29:
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -72[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rbx], al
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	je	.L30
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 61
	jne	.L31
.L30:
	mov	rax, rbx
	lea	rbx, 1[rax]
	mov	BYTE PTR [rax], 61
	nop
.L32:
	mov	rdx, r12
	lea	r12, 1[rdx]
	mov	rax, rbx
	lea	rbx, 1[rax]
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L32
	mov	eax, 0
.L33:
	mov	rcx, QWORD PTR -40[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	add	rsp, 56
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	par_setenv, .-par_setenv
	.type	par_unsetenv, @function
par_unsetenv:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	jmp	.L36
.L39:
	mov	rdx, QWORD PTR environ[rip]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 3
	lea	rbx, [rdx+rax]
.L38:
	mov	rax, QWORD PTR 8[rbx]
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	jne	.L37
	jmp	.L36
.L37:
	add	rbx, 8
	jmp	.L38
.L36:
	lea	rdx, -28[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	__findenv
	test	rax, rax
	jne	.L39
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L40
	call	__stack_chk_fail@PLT
.L40:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	par_unsetenv, .-par_unsetenv
	.local	alloced.0
	.comm	alloced.0,4,4
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"167331586.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__findenv, %function
__findenv:
	@ 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, #8
	mov	r6, r0
	str	r1, [fp, #-24]
	cmp	r6, #0
	beq	.L2
	ldr	r3, .L11
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L3
.L2:
	mov	r3, #0
	b	.L4
.L3:
	mov	r4, r6
	b	.L5
.L7:
	add	r4, r4, #1
.L5:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L6
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #61
	bne	.L7
.L6:
	sub	r7, r4, r6
	ldr	r3, .L11
	ldr	r4, [r3]
	b	.L8
.L10:
	mov	r3, r7
	mov	r2, r3
	mov	r1, r6
	mov	r0, r5
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	mov	r3, r7
	add	r3, r5, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #61
	bne	.L9
	ldr	r3, .L11
	ldr	r3, [r3]
	sub	r3, r4, r3
	asr	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	mov	r3, r7
	add	r3, r3, #1
	add	r3, r5, r3
	b	.L4
.L9:
	add	r4, r4, #4
.L8:
	ldr	r5, [r4]
	cmp	r5, #0
	bne	.L10
	mov	r3, #0
.L4:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L12:
	.align	2
.L11:
	.word	environ
	.size	__findenv, .-__findenv
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	par_getenv, %function
par_getenv:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	__findenv
	mov	r3, r0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC0
	.size	par_getenv, .-par_getenv
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	par_setenv, %function
par_setenv:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #28
	str	r0, [fp, #-40]
	mov	r5, r1
	ldr	r3, .L39
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldrb	r3, [r5]	@ zero_extendqisi2
	cmp	r3, #61
	bne	.L19
	add	r5, r5, #1
.L19:
	mov	r0, r5
	bl	strlen
	str	r0, [fp, #-28]
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	__findenv
	mov	r4, r0
	cmp	r4, #0
	beq	.L20
	mov	r0, r4
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-28]
	cmp	r3, r2
	bhi	.L21
	nop
.L22:
	mov	r2, r5
	add	r5, r2, #1
	mov	r3, r4
	add	r4, r3, #1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L22
	mov	r3, #0
	b	.L37
.L20:
	ldr	r3, .L39+4
	ldr	r4, [r3]
	mov	r6, #0
	b	.L24
.L25:
	add	r4, r4, #4
	add	r6, r6, #1
.L24:
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L25
	ldr	r3, .L39+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L26
	ldr	r3, .L39+4
	ldr	r3, [r3]
	add	r2, r6, #2
	lsl	r2, r2, #2
	mov	r1, r2
	mov	r0, r3
	bl	realloc
	mov	r3, r0
	ldr	r2, .L39+4
	str	r3, [r2]
	ldr	r3, .L39+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L27
	mvn	r3, #0
	b	.L37
.L26:
	ldr	r3, .L39+8
	mov	r2, #1
	str	r2, [r3]
	add	r3, r6, #2
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r4, r3
	cmp	r4, #0
	bne	.L28
	mvn	r3, #0
	b	.L37
.L28:
	ldr	r3, .L39+4
	ldr	r3, [r3]
	mov	r2, r6
	lsl	r2, r2, #2
	mov	r1, r3
	mov	r0, r4
	bl	memmove
	ldr	r3, .L39+4
	str	r4, [r3]
.L27:
	ldr	r3, .L39+4
	ldr	r2, [r3]
	mov	r3, r6
	add	r3, r3, #1
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	str	r6, [fp, #-32]
.L21:
	ldr	r4, [fp, #-40]
	b	.L29
.L31:
	add	r4, r4, #1
.L29:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L30
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #61
	bne	.L31
.L30:
	ldr	r3, [fp, #-40]
	sub	r3, r4, r3
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	add	r1, r3, #2
	ldr	r3, .L39+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r0, r1
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L32
	mvn	r3, #0
	b	.L37
.L32:
	ldr	r3, .L39+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r4, [r3]
	b	.L33
.L35:
	add	r4, r4, #1
.L33:
	ldr	r3, [fp, #-40]
	add	r2, r3, #1
	str	r2, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [r4]
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L34
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #61
	bne	.L35
.L34:
	mov	r3, r4
	add	r4, r3, #1
	mov	r2, #61
	strb	r2, [r3]
	nop
.L36:
	mov	r2, r5
	add	r5, r2, #1
	mov	r3, r4
	add	r4, r3, #1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L36
	mov	r3, #0
.L37:
	ldr	r2, .L39
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L38
	bl	__stack_chk_fail
.L38:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L40:
	.align	2
.L39:
	.word	.LC1
	.word	environ
	.word	alloced.4985
	.size	par_setenv, .-par_setenv
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	par_unsetenv, %function
par_unsetenv:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	ldr	r3, .L47
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	b	.L42
.L45:
	ldr	r3, .L47+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r4, r2, r3
.L44:
	ldr	r3, [r4, #4]
	str	r3, [r4]
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L43
	b	.L42
.L43:
	add	r4, r4, #4
	b	.L44
.L42:
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	__findenv
	mov	r3, r0
	cmp	r3, #0
	bne	.L45
	nop
	ldr	r3, .L47
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L46
	bl	__stack_chk_fail
.L46:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L48:
	.align	2
.L47:
	.word	.LC2
	.word	environ
	.size	par_unsetenv, .-par_unsetenv
	.local	alloced.4985
	.comm	alloced.4985,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
