	.file	"970879.c"
	.intel_syntax noprefix
	.text
	.globl	getenv_uint64
	.type	getenv_uint64, @function
getenv_uint64:
.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, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	getenv@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L2
	mov	rax, QWORD PTR -64[rbp]
	jmp	.L13
.L2:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	lea	rcx, -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtoull@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], -1
	jne	.L4
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 34
	jne	.L4
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -24[rbp], rax
.L4:
	mov	DWORD PTR -36[rbp], 1
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 71
	cmp	eax, 38
	ja	.L16
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L7[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L7[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L7:
	.long	.L9-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L8-.L7
	.long	.L16-.L7
	.long	.L6-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L9-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L16-.L7
	.long	.L8-.L7
	.long	.L16-.L7
	.long	.L6-.L7
	.text
.L9:
	sal	DWORD PTR -36[rbp], 10
.L6:
	sal	DWORD PTR -36[rbp], 10
.L8:
	sal	DWORD PTR -36[rbp], 10
.L16:
	nop
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	ecx, 0
	mov	rax, rdx
	mul	QWORD PTR -24[rbp]
	jno	.L10
	mov	ecx, 1
.L10:
	mov	rax, rcx
	test	rax, rax
	je	.L12
	mov	rax, QWORD PTR -72[rbp]
	jmp	.L13
.L12:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	mov	rdx, QWORD PTR -24[rbp]
	imul	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	cmp	QWORD PTR -24[rbp], rax
	cmovbe	rax, QWORD PTR -24[rbp]
.L13:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	getenv_uint64, .-getenv_uint64
	.globl	getenv_str
	.type	getenv_str, @function
getenv_str:
.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	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	getenv@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L18
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	strdup@PLT
	jmp	.L20
.L18:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strdup@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	getenv_str, .-getenv_str
	.section	.rodata
.LC0:
	.string	"0"
.LC1:
	.string	"1"
	.text
	.globl	getenv_bool
	.type	getenv_bool, @function
getenv_bool:
.LFB8:
	.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	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	getenv@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L22
	mov	eax, DWORD PTR -28[rbp]
	jmp	.L23
.L22:
	cmp	DWORD PTR -28[rbp], 0
	je	.L24
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, BYTE PTR .LC0[rip]
	movzx	eax, al
	movzx	edx, dl
	sub	eax, edx
	test	eax, eax
	setne	al
	movzx	eax, al
	jmp	.L23
.L24:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, BYTE PTR .LC1[rip]
	movzx	eax, al
	movzx	edx, dl
	sub	eax, edx
	test	eax, eax
	sete	al
	movzx	eax, al
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	getenv_bool, .-getenv_bool
	.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	"970879.c"
	.text
	.global	__aeabi_uidiv
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getenv_uint64
	.syntax unified
	.arm
	.fpu softvfp
	.type	getenv_uint64, %function
getenv_uint64:
	@ args = 8, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-40]
	bl	getenv
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L2
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	b	.L12
.L2:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #32
	mov	r2, #10
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	strtoull
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	mvn	r0, #0
	mov	r1, #0
	cmp	r3, r1
	cmpeq	r2, r0
	bne	.L4
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #34
	bne	.L4
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
.L4:
	mov	r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #71
	cmp	r3, #38
	ldrls	pc, [pc, r3, asl #2]
	b	.L15
.L7:
	.word	.L9
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L8
	.word	.L15
	.word	.L6
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L9
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L8
	.word	.L15
	.word	.L6
.L9:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #10
	str	r3, [fp, #-28]
.L6:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #10
	str	r3, [fp, #-28]
.L8:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #10
	str	r3, [fp, #-28]
.L15:
	nop
	ldr	r3, [fp, #-28]
	mov	r1, r3
	mvn	r0, #0
	bl	__aeabi_uidiv
	mov	r3, r0
	mov	r2, r3
	mov	r3, #0
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	cmp	r1, r3
	cmpeq	r0, r2
	bls	.L10
	ldmib	fp, {r2-r3}
	b	.L12
.L10:
	ldr	r3, [fp, #-28]
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r3, [fp, #-16]
	mul	r2, r0, r3
	ldr	r3, [fp, #-20]
	mul	r3, r1, r3
	add	ip, r2, r3
	ldr	lr, [fp, #-20]
	umull	r2, r3, lr, r0
	add	r1, ip, r3
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldmib	fp, {r0-r1}
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	cmp	r3, r1
	cmpeq	r2, r0
	bls	.L12
	mov	r2, r0
	mov	r3, r1
.L12:
	ldr	r1, .L16
	ldr	r0, [r1]
	ldr	r1, [fp, #-8]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC0
	.size	getenv_uint64, .-getenv_uint64
	.align	2
	.global	getenv_str
	.syntax unified
	.arm
	.fpu softvfp
	.type	getenv_str, %function
getenv_str:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	getenv
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L19
	ldr	r0, [fp, #-8]
	bl	strdup
	mov	r3, r0
	b	.L21
.L19:
	ldr	r0, [fp, #-20]
	bl	strdup
	mov	r3, r0
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	getenv_str, .-getenv_str
	.section	.rodata
	.align	2
.LC1:
	.ascii	"0\000"
	.align	2
.LC2:
	.ascii	"1\000"
	.text
	.align	2
	.global	getenv_bool
	.syntax unified
	.arm
	.fpu softvfp
	.type	getenv_bool, %function
getenv_bool:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	getenv
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L23
	ldr	r3, [fp, #-20]
	b	.L24
.L23:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-8]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L26
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r2, r3
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	b	.L24
.L25:
	ldr	r3, [fp, #-8]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L26+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r2, r3
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC1
	.word	.LC2
	.size	getenv_bool, .-getenv_bool
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
