	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __merge_environ
___merge_environ:                       ## @__merge_environ
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_intEnviron@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movq	_environ@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r15
	movq	_envActive@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rax, %r15
	je	LBB0_2
## %bb.4:
	testq	%rcx, %rcx
	jle	LBB0_6
LBB0_5:
	movq	_origEnviron@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	xorl	%edi, %edi
	callq	___clean_env
	movq	(%rbx), %r15
LBB0_6:
	movq	_origEnviron@GOTPCREL(%rip), %rax
	movq	%r15, (%rax)
	testq	%r15, %r15
	je	LBB0_14
## %bb.7:
	movq	(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.8:
	addq	$8, %r15
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$61, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	%eax, %esi
	subl	%ebx, %esi
	incq	%rax
	movq	%rbx, %rdi
	movq	%rax, %rdx
	movl	$1, %ecx
	callq	___setenv
	cmpl	$-1, %eax
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r15), %rbx
	addq	$8, %r15
	testq	%rbx, %rbx
	jne	LBB0_10
	jmp	LBB0_14
LBB0_2:
	testq	%rcx, %rcx
	jle	LBB0_14
## %bb.3:
	cmpq	$0, (%rax)
	jne	LBB0_14
	jmp	LBB0_5
LBB0_11:
	movq	_CorruptEnvValueMsg@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_strlen
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	___env_warnx
	movq	_EFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_13:
	movl	$-1, %r14d
LBB0_14:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_intEnviron,8,3                 ## @intEnviron
	.comm	_environ,8,3                    ## @environ
	.comm	_envActive,8,3                  ## @envActive
	.comm	_origEnviron,8,3                ## @origEnviron
	.comm	_CorruptEnvValueMsg,4,2         ## @CorruptEnvValueMsg
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	___merge_environ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __merge_environ
___merge_environ:                       ; @__merge_environ
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _intEnviron@GOTPAGE
Lloh1:
	ldr	x8, [x8, _intEnviron@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	cbz	x9, LBB0_12
; %bb.1:
Lloh3:
	adrp	x20, _environ@GOTPAGE
Lloh4:
	ldr	x20, [x20, _environ@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh5:
	adrp	x10, _envActive@GOTPAGE
Lloh6:
	ldr	x10, [x10, _envActive@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
Lloh8:
	adrp	x19, _origEnviron@GOTPAGE
Lloh9:
	ldr	x19, [x19, _origEnviron@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.2:
	cmp	x10, #1
	b.lt	LBB0_4
LBB0_3:
	str	xzr, [x19]
	mov	w0, #0
	bl	___clean_env
	ldr	x8, [x20]
LBB0_4:
	str	x8, [x19]
	cbz	x8, LBB0_12
; %bb.5:
	ldr	x19, [x8]
	cbz	x19, LBB0_12
; %bb.6:
	add	x20, x8, #8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #61
	bl	_strchr
	cbz	x0, LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	sub	w1, w0, w19
	add	x2, x0, #1
	mov	x0, x19
	mov	w3, #1
	bl	___setenv
	cmn	w0, #1
	b.eq	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x19, [x20], #8
	cbnz	x19, LBB0_7
	b	LBB0_12
LBB0_10:
	cmp	x10, #1
	b.lt	LBB0_12
; %bb.11:
	ldr	x8, [x9]
	cbz	x8, LBB0_3
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_14:
Lloh10:
	adrp	x8, _CorruptEnvValueMsg@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CorruptEnvValueMsg@GOTPAGEOFF]
Lloh12:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_strlen
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	___env_warnx
Lloh13:
	adrp	x8, _EFAULT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _errno@GOTPAGE
Lloh17:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh18:
	str	w8, [x9]
	mov	w0, #-1
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_intEnviron,8,3                 ; @intEnviron
	.comm	_environ,8,3                    ; @environ
	.comm	_envActive,8,3                  ; @envActive
	.comm	_origEnviron,8,3                ; @origEnviron
	.comm	_CorruptEnvValueMsg,4,2         ; @CorruptEnvValueMsg
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	___merge_environ
.subsections_via_symbols
