	.file	"915657.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"List:"
.LC1:
	.string	"PATH"
.LC2:
	.string	"getenv(PATH): %s\n"
.LC3:
	.string	"NONEXISTENT"
.LC4:
	.string	"getenv(NONEXISTENT): %s\n"
.LC5:
	.string	"test"
.LC6:
	.string	"setenv/0(PATH) ret: %d\n"
	.align 8
.LC7:
	.string	"getenv(PATH) after setenv/0: %s\n"
.LC8:
	.string	"test2"
.LC9:
	.string	"setenv/1(PATH) ret: %d\n"
	.align 8
.LC10:
	.string	"getenv(PATH) after setenv/1: %s\n"
.LC11:
	.string	"test3"
.LC12:
	.string	"SET_VALUE"
.LC13:
	.string	"setenv(SET_VALUE) ret: %d\n"
.LC14:
	.string	"test4"
.LC15:
	.string	"SET_VALUE2"
.LC16:
	.string	"setenv(SET_VALUE2) ret: %d\n"
.LC17:
	.string	"getenv(SET_VALUE): %s\n"
.LC18:
	.string	"getenv(SET_VALUE2): %s\n"
.LC19:
	.string	"putenv(PUT_VALUE) ret: %d\n"
.LC20:
	.string	"PUT_VALUE"
.LC21:
	.string	"getenv(PUT_VALUE): %s\n"
	.align 8
.LC22:
	.string	"getenv(PUT_VALUE) after alteration: %s\n"
.LC23:
	.string	"unsetenv(PUT_VALUE) ret: %d\n"
	.align 8
.LC24:
	.string	"getenv(PUT_VALUE) after unsetenv: %s\n"
.LC25:
	.string	"foo"
.LC26:
	.string	"setenv(0) ret: %d\n"
.LC27:
	.string	""
.LC28:
	.string	"setenv('') ret: %d\n"
.LC29:
	.string	"X=Y"
.LC30:
	.string	"setenv(X=Y) ret: %d\n"
.LC31:
	.string	"unsetenv(0) ret: %d\n"
.LC32:
	.string	"unsetenv('') ret: %d\n"
.LC33:
	.string	"unsetenv(X=Y) ret: %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	rax, QWORD PTR __environ[rip]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	puts@PLT
	add	QWORD PTR -40[rbp], 8
.L2:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L3
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC1[rip]
	call	getenv@PLT
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	call	getenv@PLT
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, 0
	lea	rsi, .LC5[rip]
	lea	rdi, .LC1[rip]
	call	setenv@PLT
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC1[rip]
	call	getenv@PLT
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, 1
	lea	rsi, .LC8[rip]
	lea	rdi, .LC1[rip]
	call	setenv@PLT
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC1[rip]
	call	getenv@PLT
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, 0
	lea	rsi, .LC11[rip]
	lea	rdi, .LC12[rip]
	call	setenv@PLT
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, 1
	lea	rsi, .LC14[rip]
	lea	rdi, .LC15[rip]
	call	setenv@PLT
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC12[rip]
	call	getenv@PLT
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC15[rip]
	call	getenv@PLT
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	movabs	rax, 6146359430676239696
	movabs	rdx, 15046212737842501
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	putenv@PLT
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC20[rip]
	call	getenv@PLT
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	BYTE PTR -22[rbp], 81
	lea	rdi, .LC20[rip]
	call	getenv@PLT
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC20[rip]
	call	unsetenv@PLT
	mov	esi, eax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC20[rip]
	call	getenv@PLT
	mov	rsi, rax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, 1
	lea	rsi, .LC25[rip]
	mov	edi, 0
	call	setenv@PLT
	mov	esi, eax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, 1
	lea	rsi, .LC25[rip]
	lea	rdi, .LC27[rip]
	call	setenv@PLT
	mov	esi, eax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, 1
	lea	rsi, .LC25[rip]
	lea	rdi, .LC29[rip]
	call	setenv@PLT
	mov	esi, eax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	unsetenv@PLT
	mov	esi, eax
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC27[rip]
	call	unsetenv@PLT
	mov	esi, eax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC29[rip]
	call	unsetenv@PLT
	mov	esi, eax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.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	"915657.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"List:\000"
	.align	2
.LC1:
	.ascii	"PATH\000"
	.align	2
.LC2:
	.ascii	"getenv(PATH): %s\012\000"
	.align	2
.LC3:
	.ascii	"NONEXISTENT\000"
	.align	2
.LC4:
	.ascii	"getenv(NONEXISTENT): %s\012\000"
	.align	2
.LC5:
	.ascii	"test\000"
	.align	2
.LC6:
	.ascii	"setenv/0(PATH) ret: %d\012\000"
	.align	2
.LC7:
	.ascii	"getenv(PATH) after setenv/0: %s\012\000"
	.align	2
.LC8:
	.ascii	"test2\000"
	.align	2
.LC9:
	.ascii	"setenv/1(PATH) ret: %d\012\000"
	.align	2
.LC10:
	.ascii	"getenv(PATH) after setenv/1: %s\012\000"
	.align	2
.LC11:
	.ascii	"test3\000"
	.align	2
.LC12:
	.ascii	"SET_VALUE\000"
	.align	2
.LC13:
	.ascii	"setenv(SET_VALUE) ret: %d\012\000"
	.align	2
.LC14:
	.ascii	"test4\000"
	.align	2
.LC15:
	.ascii	"SET_VALUE2\000"
	.align	2
.LC16:
	.ascii	"setenv(SET_VALUE2) ret: %d\012\000"
	.align	2
.LC17:
	.ascii	"getenv(SET_VALUE): %s\012\000"
	.align	2
.LC18:
	.ascii	"getenv(SET_VALUE2): %s\012\000"
	.align	2
.LC20:
	.ascii	"putenv(PUT_VALUE) ret: %d\012\000"
	.align	2
.LC21:
	.ascii	"PUT_VALUE\000"
	.align	2
.LC22:
	.ascii	"getenv(PUT_VALUE): %s\012\000"
	.align	2
.LC23:
	.ascii	"getenv(PUT_VALUE) after alteration: %s\012\000"
	.align	2
.LC24:
	.ascii	"unsetenv(PUT_VALUE) ret: %d\012\000"
	.align	2
.LC25:
	.ascii	"getenv(PUT_VALUE) after unsetenv: %s\012\000"
	.align	2
.LC26:
	.ascii	"foo\000"
	.align	2
.LC27:
	.ascii	"setenv(0) ret: %d\012\000"
	.align	2
.LC28:
	.ascii	"\000"
	.align	2
.LC29:
	.ascii	"setenv('') ret: %d\012\000"
	.align	2
.LC30:
	.ascii	"X=Y\000"
	.align	2
.LC31:
	.ascii	"setenv(X=Y) ret: %d\012\000"
	.align	2
.LC32:
	.ascii	"unsetenv(0) ret: %d\012\000"
	.align	2
.LC33:
	.ascii	"unsetenv('') ret: %d\012\000"
	.align	2
.LC34:
	.ascii	"unsetenv(X=Y) ret: %d\012\000"
	.align	2
.LC19:
	.ascii	"PUT_VALUE=test5\000"
	.align	2
.LC35:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L6+4
	bl	puts
	ldr	r3, .L6+8
	ldr	r3, [r3]
	str	r3, [fp, #-28]
	b	.L2
.L3:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	str	r3, [fp, #-28]
.L2:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L3
	mov	r0, #10
	bl	putchar
	ldr	r0, .L6+12
	bl	getenv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+16
	bl	printf
	ldr	r0, .L6+20
	bl	getenv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+24
	bl	printf
	mov	r2, #0
	ldr	r1, .L6+28
	ldr	r0, .L6+12
	bl	setenv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+32
	bl	printf
	ldr	r0, .L6+12
	bl	getenv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+36
	bl	printf
	mov	r2, #1
	ldr	r1, .L6+40
	ldr	r0, .L6+12
	bl	setenv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+44
	bl	printf
	ldr	r0, .L6+12
	bl	getenv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+48
	bl	printf
	mov	r2, #0
	ldr	r1, .L6+52
	ldr	r0, .L6+56
	bl	setenv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+60
	bl	printf
	mov	r2, #1
	ldr	r1, .L6+64
	ldr	r0, .L6+68
	bl	setenv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+72
	bl	printf
	ldr	r0, .L6+56
	bl	getenv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+76
	bl	printf
	ldr	r0, .L6+68
	bl	getenv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+80
	bl	printf
	ldr	r3, .L6+84
	sub	ip, fp, #24
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #24
	mov	r0, r3
	bl	putenv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+88
	bl	printf
	ldr	r0, .L6+92
	bl	getenv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+96
	bl	printf
	mov	r3, #81
	strb	r3, [fp, #-14]
	ldr	r0, .L6+92
	bl	getenv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+100
	bl	printf
	ldr	r0, .L6+92
	bl	unsetenv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+104
	bl	printf
	ldr	r0, .L6+92
	bl	getenv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+108
	bl	printf
	mov	r2, #1
	ldr	r1, .L6+112
	mov	r0, #0
	bl	setenv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+116
	bl	printf
	mov	r2, #1
	ldr	r1, .L6+112
	ldr	r0, .L6+120
	bl	setenv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+124
	bl	printf
	mov	r2, #1
	ldr	r1, .L6+112
	ldr	r0, .L6+128
	bl	setenv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+132
	bl	printf
	mov	r0, #0
	bl	unsetenv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+136
	bl	printf
	ldr	r0, .L6+120
	bl	unsetenv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+140
	bl	printf
	ldr	r0, .L6+128
	bl	unsetenv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+144
	bl	printf
	mov	r3, #0
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC35
	.word	.LC0
	.word	__environ
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
