	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __clean_env
___clean_env:                           ## @__clean_env
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_envVars@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.1:
	movl	%edi, %r14d
	movq	_envVarsTotal@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	testl	%r12d, %r12d
	jle	LBB0_10
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-1(%r12), %rbx
	movl	%ebx, %ecx
	leaq	(%rcx,%rcx,2), %rcx
	cmpq	$0, 16(%rax,%rcx,8)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r14d, %r14d
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	___remove_putenv
	cmpq	$2, %r12
	jae	LBB0_9
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rax,%rcx,8), %rdi
	callq	_free
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$2, %r12
	jb	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	movq	%rbx, %r12
	jmp	LBB0_2
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, (%rax,%rcx,8)
	cmpq	$2, %r12
	jae	LBB0_9
LBB0_10:
	testl	%r14d, %r14d
	je	LBB0_12
## %bb.11:
	movq	(%r15), %rdi
	callq	_free
	movq	$0, (%r15)
	jmp	LBB0_13
LBB0_12:
	movq	_envActive@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_13:
	movq	_origEnviron@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.14:
	movq	_environ@GOTPCREL(%rip), %rcx
	movq	_intEnviron@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	cmpq	%rdi, (%rcx)
	jne	LBB0_16
## %bb.15:
	movq	%rax, (%rcx)
LBB0_16:
	callq	_free
	movq	$0, (%rbx)
	movq	_environSize@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_17:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_envVars,8,3                    ## @envVars
	.comm	_envVarsTotal,4,2               ## @envVarsTotal
	.comm	_envActive,8,3                  ## @envActive
	.comm	_origEnviron,8,3                ## @origEnviron
	.comm	_environ,8,3                    ## @environ
	.comm	_intEnviron,8,3                 ## @intEnviron
	.comm	_environSize,8,3                ## @environSize
	.no_dead_strip	___clean_env
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __clean_env
___clean_env:                           ; @__clean_env
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x21, _envVars@GOTPAGE
Lloh1:
	ldr	x21, [x21, _envVars@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_18
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x9, _envVarsTotal@GOTPAGE
Lloh3:
	ldr	x9, [x9, _envVarsTotal@GOTPAGEOFF]
Lloh4:
	ldr	w23, [x9]
	cmp	w23, #1
	b.lt	LBB0_11
; %bb.2:
	mov	w22, #24
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	x20, x23, #1
	and	x9, x20, #0xffffffff
	madd	x10, x9, x22, x8
	ldr	x10, [x10, #16]
	cbz	x10, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cbnz	w19, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	___remove_putenv
	cmp	x23, #2
	b.hs	LBB0_9
	b	LBB0_11
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	w19, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	madd	x8, x9, x22, x8
	ldr	x0, [x8, #8]
	bl	_free
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	x23, #2
	b.lo	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21]
	mov	x23, x20
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mul	x9, x9, x22
	str	wzr, [x8, x9]
	cmp	x23, #2
	b.hs	LBB0_9
LBB0_11:
	cbz	w19, LBB0_13
; %bb.12:
	ldr	x0, [x21]
	bl	_free
	str	xzr, [x21]
	b	LBB0_14
LBB0_13:
Lloh5:
	adrp	x8, _envActive@GOTPAGE
Lloh6:
	ldr	x8, [x8, _envActive@GOTPAGEOFF]
Lloh7:
	str	xzr, [x8]
LBB0_14:
Lloh8:
	adrp	x8, _origEnviron@GOTPAGE
Lloh9:
	ldr	x8, [x8, _origEnviron@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cbz	x8, LBB0_18
; %bb.15:
Lloh11:
	adrp	x9, _environ@GOTPAGE
Lloh12:
	ldr	x9, [x9, _environ@GOTPAGEOFF]
	ldr	x10, [x9]
Lloh13:
	adrp	x19, _intEnviron@GOTPAGE
Lloh14:
	ldr	x19, [x19, _intEnviron@GOTPAGEOFF]
	ldr	x0, [x19]
	cmp	x10, x0
	b.ne	LBB0_17
; %bb.16:
	str	x8, [x9]
LBB0_17:
	bl	_free
	str	xzr, [x19]
Lloh15:
	adrp	x8, _environSize@GOTPAGE
Lloh16:
	ldr	x8, [x8, _environSize@GOTPAGEOFF]
Lloh17:
	str	xzr, [x8]
LBB0_18:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_envVars,8,3                    ; @envVars
	.comm	_envVarsTotal,4,2               ; @envVarsTotal
	.comm	_envActive,8,3                  ; @envActive
	.comm	_origEnviron,8,3                ; @origEnviron
	.comm	_environ,8,3                    ; @environ
	.comm	_intEnviron,8,3                 ; @intEnviron
	.comm	_environSize,8,3                ; @environSize
	.no_dead_strip	___clean_env
.subsections_via_symbols
