	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scrub_env                      ## -- Begin function scrub_env
	.p2align	4, 0x90
_scrub_env:                             ## @scrub_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_environ@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r14
	movq	(%r14), %r13
	movl	$8, %edi
	testq	%r13, %r13
	je	LBB0_19
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%r14,%rdi)
	leaq	8(%rdi), %rdi
	jne	LBB0_1
## %bb.2:
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_21
## %bb.3:
	movq	%rax, %r15
	testq	%r13, %r13
	je	LBB0_23
## %bb.4:
	leaq	L_.str(%rip), %r12
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r14), %r13
	addq	$8, %r14
	testq	%r13, %r13
	je	LBB0_22
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_strlen
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r14), %rbx
	leaq	L_.str.1(%rip), %r13
	movq	%r13, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_strncmp
	leaq	_scrub_env.acc(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r14), %rbx
	leaq	L_.str.2(%rip), %r13
	movq	%r13, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_strncmp
	leaq	_scrub_env.acc+8(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r14), %rbx
	leaq	L_.str.3(%rip), %r13
	movq	%r13, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_strncmp
	leaq	_scrub_env.acc+16(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r14), %rbx
	leaq	L_.str.4(%rip), %r13
	movq	%r13, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_strncmp
	leaq	_scrub_env.acc+24(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r14), %rbx
	leaq	L_.str.5(%rip), %r13
	movq	%r13, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_strncmp
	leaq	_scrub_env.acc+32(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r14), %rbx
	leaq	L_.str.6(%rip), %r13
	movq	%r13, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_strncmp
	leaq	_scrub_env.acc+40(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r14), %rbx
	leaq	L_.str.7(%rip), %r13
	movq	%r13, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_strncmp
	leaq	_scrub_env.acc+48(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r14), %rbx
	leaq	L_.str.8(%rip), %r13
	movq	%r13, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_strncmp
	leaq	_scrub_env.acc+56(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r14), %rbx
	leaq	L_.str.9(%rip), %r13
	movq	%r13, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_strncmp
	leaq	_scrub_env.acc+64(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_5
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$0, (%rcx)
	je	LBB0_5
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r14), %rdi
	callq	_strdup
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_25
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=1
	addq	$8, %r15
	jmp	LBB0_5
LBB0_19:
	callq	_malloc
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_23
LBB0_21:
	xorl	%eax, %eax
	jmp	LBB0_24
LBB0_22:
	movq	_environ@GOTPCREL(%rip), %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_23:
	movq	$0, (%r15)
LBB0_24:
	movq	%rax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movq	_environ@GOTPCREL(%rip), %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TERMCAP=/"

	.section	__DATA,__const
	.p2align	4                               ## @scrub_env.acc
_scrub_env.acc:
	.quad	L_.str.1
	.quad	L_.str.2
	.quad	L_.str.3
	.quad	L_.str.4
	.quad	L_.str.5
	.quad	L_.str.6
	.quad	L_.str.7
	.quad	L_.str.8
	.quad	L_.str.9
	.quad	0

	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"XAUTH="

L_.str.2:                               ## @.str.2
	.asciz	"XAUTHORITY="

L_.str.3:                               ## @.str.3
	.asciz	"DISPLAY="

L_.str.4:                               ## @.str.4
	.asciz	"TERM="

L_.str.5:                               ## @.str.5
	.asciz	"EDITOR="

L_.str.6:                               ## @.str.6
	.asciz	"PAGER="

L_.str.7:                               ## @.str.7
	.asciz	"LOGNAME="

L_.str.8:                               ## @.str.8
	.asciz	"POSIXLY_CORRECT="

L_.str.9:                               ## @.str.9
	.asciz	"PRINTER="

	.comm	_environ,8,3                    ## @environ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scrub_env                      ; -- Begin function scrub_env
	.p2align	2
_scrub_env:                             ; @scrub_env
	.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
Lloh0:
	adrp	x20, _environ@GOTPAGE
Lloh1:
	ldr	x20, [x20, _environ@GOTPAGEOFF]
	ldr	x26, [x20]
	ldr	x28, [x26]
	cbz	x28, LBB0_28
; %bb.1:
	mov	w0, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26, x0]
	add	x0, x0, #8
	cbnz	x8, LBB0_2
; %bb.3:
	bl	_malloc
	mov	x25, x0
	cbz	x0, LBB0_32
; %bb.4:
	cbz	x28, LBB0_30
; %bb.5:
Lloh2:
	adrp	x20, l_.str@PAGE
Lloh3:
	add	x20, x20, l_.str@PAGEOFF
Lloh4:
	adrp	x21, l_.str.1@PAGE
Lloh5:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh6:
	adrp	x22, l_.str.2@PAGE
Lloh7:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh8:
	adrp	x23, l_.str.3@PAGE
Lloh9:
	add	x23, x23, l_.str.3@PAGEOFF
Lloh10:
	adrp	x24, l_.str.4@PAGE
Lloh11:
	add	x24, x24, l_.str.4@PAGEOFF
	mov	x19, x25
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x28, [x26, #8]!
	cbz	x28, LBB0_29
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x0, x28
	mov	x1, x20
	bl	_strncmp
	cbz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x28, [x26]
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	mov	x0, x28
	mov	x1, x21
	bl	_strncmp
	cbz	x0, LBB0_18
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x28, [x26]
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x28
	mov	x1, x22
	bl	_strncmp
	cbz	x0, LBB0_19
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x28, [x26]
	mov	x0, x23
	bl	_strlen
	mov	x2, x0
	mov	x0, x28
	mov	x1, x23
	bl	_strncmp
	cbz	x0, LBB0_20
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x28, [x26]
	mov	x0, x24
	bl	_strlen
	mov	x2, x0
	mov	x0, x28
	mov	x1, x24
	bl	_strncmp
	cbz	x0, LBB0_21
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x27, x24
	ldr	x28, [x26]
Lloh12:
	adrp	x24, l_.str.5@PAGE
Lloh13:
	add	x24, x24, l_.str.5@PAGEOFF
	mov	x0, x24
	bl	_strlen
	mov	x2, x0
	mov	x0, x28
	mov	x1, x24
	bl	_strncmp
	cbz	x0, LBB0_22
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x28, [x26]
Lloh14:
	adrp	x24, l_.str.6@PAGE
Lloh15:
	add	x24, x24, l_.str.6@PAGEOFF
	mov	x0, x24
	bl	_strlen
	mov	x2, x0
	mov	x0, x28
	mov	x1, x24
	bl	_strncmp
	mov	x24, x27
	cbz	x0, LBB0_23
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x28, [x26]
Lloh16:
	adrp	x27, l_.str.7@PAGE
Lloh17:
	add	x27, x27, l_.str.7@PAGEOFF
	mov	x0, x27
	bl	_strlen
	mov	x2, x0
	mov	x0, x28
	mov	x1, x27
	bl	_strncmp
	cbz	x0, LBB0_24
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x28, [x26]
Lloh18:
	adrp	x27, l_.str.8@PAGE
Lloh19:
	add	x27, x27, l_.str.8@PAGEOFF
	mov	x0, x27
	bl	_strlen
	mov	x2, x0
	mov	x0, x28
	mov	x1, x27
	bl	_strncmp
	cbz	x0, LBB0_25
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x28, [x26]
Lloh20:
	adrp	x27, l_.str.9@PAGE
Lloh21:
	add	x27, x27, l_.str.9@PAGEOFF
	mov	x0, x27
	bl	_strlen
	mov	x2, x0
	mov	x0, x28
	mov	x1, x27
	bl	_strncmp
	cbnz	x0, LBB0_6
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh22:
	adrp	x8, _scrub_env.acc@PAGE+64
Lloh23:
	add	x8, x8, _scrub_env.acc@PAGEOFF+64
Lloh24:
	ldr	x8, [x8]
	cbnz	x8, LBB0_26
	b	LBB0_6
LBB0_18:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh25:
	adrp	x8, _scrub_env.acc@PAGE
Lloh26:
	add	x8, x8, _scrub_env.acc@PAGEOFF
Lloh27:
	ldr	x8, [x8]
	cbnz	x8, LBB0_26
	b	LBB0_6
LBB0_19:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh28:
	adrp	x8, _scrub_env.acc@PAGE+8
Lloh29:
	add	x8, x8, _scrub_env.acc@PAGEOFF+8
Lloh30:
	ldr	x8, [x8]
	cbnz	x8, LBB0_26
	b	LBB0_6
LBB0_20:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh31:
	adrp	x8, _scrub_env.acc@PAGE+16
Lloh32:
	add	x8, x8, _scrub_env.acc@PAGEOFF+16
Lloh33:
	ldr	x8, [x8]
	cbnz	x8, LBB0_26
	b	LBB0_6
LBB0_21:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh34:
	adrp	x8, _scrub_env.acc@PAGE+24
Lloh35:
	add	x8, x8, _scrub_env.acc@PAGEOFF+24
Lloh36:
	ldr	x8, [x8]
	cbnz	x8, LBB0_26
	b	LBB0_6
LBB0_22:                                ;   in Loop: Header=BB0_7 Depth=1
	adrp	x8, _scrub_env.acc@PAGE+32
	add	x8, x8, _scrub_env.acc@PAGEOFF+32
	mov	x24, x27
	ldr	x8, [x8]
	cbnz	x8, LBB0_26
	b	LBB0_6
LBB0_23:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh37:
	adrp	x8, _scrub_env.acc@PAGE+40
Lloh38:
	add	x8, x8, _scrub_env.acc@PAGEOFF+40
Lloh39:
	ldr	x8, [x8]
	cbnz	x8, LBB0_26
	b	LBB0_6
LBB0_24:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh40:
	adrp	x8, _scrub_env.acc@PAGE+48
Lloh41:
	add	x8, x8, _scrub_env.acc@PAGEOFF+48
Lloh42:
	ldr	x8, [x8]
	cbnz	x8, LBB0_26
	b	LBB0_6
LBB0_25:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh43:
	adrp	x8, _scrub_env.acc@PAGE+56
Lloh44:
	add	x8, x8, _scrub_env.acc@PAGEOFF+56
Lloh45:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
LBB0_26:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x26]
	bl	_strdup
	str	x0, [x19], #8
	cbnz	x0, LBB0_6
; %bb.27:
Lloh46:
	adrp	x20, _environ@GOTPAGE
Lloh47:
	ldr	x20, [x20, _environ@GOTPAGEOFF]
	b	LBB0_32
LBB0_28:
	mov	w0, #8
	bl	_malloc
	mov	x25, x0
	mov	x19, x0
	cbnz	x0, LBB0_31
	b	LBB0_32
LBB0_29:
Lloh48:
	adrp	x20, _environ@GOTPAGE
Lloh49:
	ldr	x20, [x20, _environ@GOTPAGEOFF]
	b	LBB0_31
LBB0_30:
	mov	x19, x25
LBB0_31:
	str	xzr, [x19]
LBB0_32:
	str	x25, [x20]
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAddLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAddLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAddLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAddLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAddLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAddLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAddLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAddLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TERMCAP=/"

	.section	__DATA,__const
	.p2align	3                               ; @scrub_env.acc
_scrub_env.acc:
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4
	.quad	l_.str.5
	.quad	l_.str.6
	.quad	l_.str.7
	.quad	l_.str.8
	.quad	l_.str.9
	.quad	0

	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"XAUTH="

l_.str.2:                               ; @.str.2
	.asciz	"XAUTHORITY="

l_.str.3:                               ; @.str.3
	.asciz	"DISPLAY="

l_.str.4:                               ; @.str.4
	.asciz	"TERM="

l_.str.5:                               ; @.str.5
	.asciz	"EDITOR="

l_.str.6:                               ; @.str.6
	.asciz	"PAGER="

l_.str.7:                               ; @.str.7
	.asciz	"LOGNAME="

l_.str.8:                               ; @.str.8
	.asciz	"POSIXLY_CORRECT="

l_.str.9:                               ; @.str.9
	.asciz	"PRINTER="

	.comm	_environ,8,3                    ; @environ
.subsections_via_symbols
