	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prep_childenv
_prep_childenv:                         ## @prep_childenv
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_STRING_LIST_INIT_DUP@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_environ@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_7
## %bb.1:
	movq	(%r14), %r13
	testq	%r13, %r13
	je	LBB0_7
## %bb.2:
	leaq	-48(%rbp), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	-64(%rbp), %rdi
	movq	%r13, %rsi
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	callq	_string_list_append
	movq	%r13, (%rax)
	movq	8(%r14), %r13
	addq	$8, %r14
	testq	%r13, %r13
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	$61, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_strbuf_reset
	movq	(%r14), %rsi
	subl	%esi, %ebx
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_strbuf_add
	movq	(%r14), %r13
	movq	-48(%rbp), %rsi
	leaq	-64(%rbp), %rdi
	jmp	LBB0_6
LBB0_7:
	leaq	-64(%rbp), %rdi
	callq	_string_list_sort
	testq	%r12, %r12
	je	LBB0_14
## %bb.8:
	movq	(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.9:
	leaq	-64(%rbp), %r14
	leaq	-48(%rbp), %r15
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_string_list_remove
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	8(%r12), %rbx
	addq	$8, %r12
	testq	%rbx, %rbx
	je	LBB0_14
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$61, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_strbuf_reset
	movq	(%r12), %rsi
	subl	%esi, %r13d
	movq	%r15, %rdi
	movl	%r13d, %edx
	callq	_strbuf_add
	movq	(%r12), %rbx
	movq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_string_list_insert
	movq	%rbx, (%rax)
	jmp	LBB0_13
LBB0_14:
	movl	-64(%rbp), %esi
	incl	%esi
	callq	_ALLOC_ARRAY
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_STRING_LIST_INIT_DUP,16,3      ## @STRING_LIST_INIT_DUP
	.comm	_STRBUF_INIT,8,3                ## @STRBUF_INIT
	.no_dead_strip	_prep_childenv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prep_childenv
_prep_childenv:                         ; @prep_childenv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _STRING_LIST_INIT_DUP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRING_LIST_INIT_DUP@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
Lloh3:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
	str	q0, [sp, #16]
Lloh5:
	ldr	x8, [x8]
	str	x8, [sp, #8]
Lloh6:
	adrp	x8, _environ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _environ@GOTPAGEOFF]
Lloh8:
	ldr	x22, [x8]
	cbz	x22, LBB0_2
; %bb.1:
	ldr	x20, [x22]
	cbnz	x20, LBB0_6
LBB0_2:
	add	x0, sp, #16
	bl	_string_list_sort
	cbz	x19, LBB0_11
; %bb.3:
	ldr	x20, [x19]
	cbnz	x20, LBB0_9
	b	LBB0_11
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #16
	mov	x1, x20
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_string_list_append
	str	x20, [x0]
	ldr	x20, [x22, #8]!
	cbz	x20, LBB0_2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	w1, #61
	bl	_strchr
	cbz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x21, x0
	add	x0, sp, #8
	bl	_strbuf_reset
	ldr	x1, [x22]
	sub	w2, w21, w1
	add	x0, sp, #8
	bl	_strbuf_add
	ldr	x20, [x22]
	ldr	x1, [sp, #8]
	add	x0, sp, #16
	b	LBB0_5
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x0, sp, #16
	mov	x1, x20
	mov	w2, #0
	bl	_string_list_remove
	ldr	x20, [x19, #8]!
	cbz	x20, LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	w1, #61
	bl	_strchr
	cbz	x0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x21, x0
	add	x0, sp, #8
	bl	_strbuf_reset
	ldr	x1, [x19]
	sub	w2, w21, w1
	add	x0, sp, #8
	bl	_strbuf_add
	ldr	x20, [x19]
	ldr	x1, [sp, #8]
	add	x0, sp, #16
	bl	_string_list_insert
	str	x20, [x0]
	ldr	x20, [x19, #8]!
	cbnz	x20, LBB0_9
LBB0_11:
	ldr	w8, [sp, #16]
	add	w1, w8, #1
	bl	_ALLOC_ARRAY
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STRING_LIST_INIT_DUP,16,3      ; @STRING_LIST_INIT_DUP
	.comm	_STRBUF_INIT,8,3                ; @STRBUF_INIT
	.no_dead_strip	_prep_childenv
.subsections_via_symbols
