	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_env_file
_read_env_file:                         ## @read_env_file
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BUFSIZ@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movl	$0, (%rbx)
	movq	(%r12), %rcx
	testq	%rcx, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movabsq	$-4294967296, %r13              ## imm = 0xFFFFFFFF00000000
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	addq	%rax, %r13
	cmpq	$0, (%rcx)
	leaq	8(%rcx), %rcx
	jne	LBB0_3
## %bb.4:
	sarq	$32, %r13
	jmp	LBB0_5
LBB0_1:
	xorl	%r13d, %r13d
LBB0_5:
	movl	(%r15), %esi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_22
## %bb.6:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	decq	%rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	leal	-2(%rbx), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r15), %esi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_21
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcspn
	movb	$0, (%rbx,%rax)
	movl	-84(%rbp), %ebx                 ## 4-byte Reload
	movq	-104(%rbp), %r12                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	1(%r12), %edi
	incq	%r12
	callq	_isspace
	incl	%ebx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$0, (%r12)
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	movl	$61, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	subl	%ebx, %eax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_find_var
	testl	%eax, %eax
	js	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_strdup
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %rbx
	movl	%r14d, %r14d
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	(%r12,%r14,8), %rdi
	callq	_free
	movq	%rbx, (%r12,%r14,8)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_10
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	leal	16(,%r13,8), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_14
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_strdup
	movq	%rax, (%rbx,%r13,8)
	testq	%rax, %rax
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	$0, 8(%rbx,%r13,8)
	incq	%r13
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
	movl	(%r15), %esi
	movq	%rbx, %r12
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_fgets
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_7
## %bb.20:
	movq	%r12, %rcx
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
LBB0_21:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_22:
	xorl	%ebx, %ebx
LBB0_23:
	movq	%r14, %rdi
	callq	_ferror
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_25:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r12)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_27
## %bb.26:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_23
LBB0_18:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movq	%rbx, %rcx
	movl	(%rax), %ebx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_23
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFSIZ,4,2                     ## @BUFSIZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"#\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_read_env_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_env_file
_read_env_file:                         ; @read_env_file
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x21, x2
	mov	x28, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x27, _BUFSIZ@GOTPAGE
Lloh4:
	ldr	x27, [x27, _BUFSIZ@GOTPAGEOFF]
	ldr	w8, [x27]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	str	wzr, [x2]
	ldr	x24, [x1]
	cbz	x24, LBB0_4
; %bb.1:
	mov	x8, #-4294967296
	mov	x9, #4294967296
	mov	x10, x24
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10], #8
	add	x8, x8, x9
	cbnz	x11, LBB0_2
; %bb.3:
	asr	x19, x8, #32
	b	LBB0_5
LBB0_4:
	mov	x19, #0
LBB0_5:
	ldr	w1, [x27]
	mov	x0, x22
	mov	x2, x20
	bl	_fgets
	cbz	x0, LBB0_19
; %bb.6:
	stp	x19, x28, [x29, #-104]          ; 16-byte Folded Spill
	mov	w8, #2
	sub	w19, w8, w22
Lloh7:
	adrp	x23, l_.str@PAGE
Lloh8:
	add	x23, x23, l_.str@PAGEOFF
	mov	x25, x24
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w1, [x27]
	mov	x0, x22
	mov	x2, x20
	bl	_fgets
	cbz	x0, LBB0_18
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	mov	x0, x22
	mov	x1, x23
	bl	_strcspn
	mov	x28, #0
	strb	wzr, [x22, x0]
LBB0_9:                                 ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w0, [x22, x28]
	bl	_isspace
	add	x28, x28, #1
	cbnz	x0, LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x24, x22, x28
	ldrb	w8, [x24, #-1]!
	cbz	w8, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x24
	mov	w1, #61
	bl	_strchr
	cbz	x0, LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	add	w8, w19, w0
	sub	w2, w8, w28
	mov	x0, x25
	mov	x1, x24
	bl	_find_var
	tbnz	w0, #31, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x26, x0
	mov	x0, x24
	bl	_strdup
	cbz	x0, LBB0_20
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x24, x0
	mov	w8, w26
	lsl	x26, x8, #3
	ldr	x0, [x25, x26]
	bl	_free
	str	x24, [x25, x26]
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	b	LBB0_7
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	ldur	x26, [x29, #-104]               ; 8-byte Folded Reload
	lsl	w8, w26, #3
	add	w1, w8, #16
	mov	x0, x25
	bl	_realloc
	cbz	x0, LBB0_20
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x24, x0
	add	x8, x22, x28
	sub	x0, x8, #1
	bl	_strdup
	str	x0, [x24, x26, lsl #3]
	cbz	x0, LBB0_25
; %bb.17:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x26, x26, #1
	stur	x26, [x29, #-104]               ; 8-byte Folded Spill
	str	xzr, [x24, x26, lsl #3]
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	ldr	w1, [x27]
	mov	x0, x22
	mov	x2, x20
	bl	_fgets
	mov	w26, #0
	mov	x25, x24
	ldur	x28, [x29, #-96]                ; 8-byte Folded Reload
	cbnz	x0, LBB0_8
	b	LBB0_23
LBB0_18:
	mov	w26, #0
	b	LBB0_21
LBB0_19:
	mov	w26, #0
	b	LBB0_23
LBB0_20:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w26, [x8]
LBB0_21:
	mov	x24, x25
LBB0_22:
	ldur	x28, [x29, #-96]                ; 8-byte Folded Reload
LBB0_23:
	mov	x0, x20
	bl	_ferror
Lloh12:
	adrp	x8, _errno@GOTPAGE
Lloh13:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w0, w26, w8, eq
	str	x24, [x28]
	ldur	x8, [x29, #-88]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.24:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_25:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh20:
	ldr	w26, [x8]
	b	LBB0_22
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFSIZ,4,2                     ; @BUFSIZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"#\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_read_env_file
.subsections_via_symbols
