	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function trace_add_env
_trace_add_env:                         ## @trace_add_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	_STRING_LIST_INIT_DUP@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.1:
	movq	%rsi, %r13
	movq	(%rsi), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.2:
	addq	$8, %r13
	movq	_STRBUF_INIT@GOTPCREL(%rip), %r14
	leaq	-80(%rbp), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	-64(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_string_list_insert
	xorl	%r15d, %r15d
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, (%rax)
	movq	%r12, %rdi
	callq	_strbuf_release
	movq	(%r13), %rbx
	addq	$8, %r13
	testq	%rbx, %rbx
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	%rax, -80(%rbp)
	movq	%rbx, %rdi
	movl	$61, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r15
	movl	%r15d, %edx
	subl	%ebx, %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_strbuf_add
	incq	%r15
	movq	-80(%rbp), %rsi
	leaq	-64(%rbp), %rdi
	callq	_string_list_insert
	jmp	LBB0_6
LBB0_7:
	movl	-64(%rbp), %r13d
	testl	%r13d, %r13d
	jle	LBB0_24
## %bb.8:
	xorl	%r15d, %r15d
	movl	$8, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	callq	_strbuf_addf
	movl	$1, %r14d
	movl	-64(%rbp), %r13d
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%r15
	movslq	%r13d, %rax
	addq	$16, %r12
	cmpq	%rax, %r15
	jge	LBB0_15
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax
	cmpq	$0, (%rax,%r12)
	jne	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-8(%rax,%r12), %rbx
	movq	%rbx, %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	testl	%r14d, %r14d
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	callq	_strbuf_addstr
	jmp	LBB0_13
LBB0_15:
	testl	%r14d, %r14d
	je	LBB0_17
## %bb.16:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	$59, %esi
	callq	_strbuf_addch
	movl	-64(%rbp), %r13d
LBB0_17:
	testl	%r13d, %r13d
	jle	LBB0_24
## %bb.18:
	movl	$8, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdx
	callq	_strbuf_addf
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_sq_quote_buf_pretty
	movl	-64(%rbp), %r13d
LBB0_23:                                ##   in Loop: Header=BB0_19 Depth=1
	incq	%r14
	movslq	%r13d, %rax
	addq	$16, %r15
	cmpq	%rax, %r14
	jge	LBB0_24
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax
	movq	(%rax,%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	-8(%rax,%r15), %r12
	movq	%r12, %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_22
	jmp	LBB0_23
LBB0_24:
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	callq	_string_list_clear
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRING_LIST_INIT_DUP,16,3      ## @STRING_LIST_INIT_DUP
	.comm	_STRBUF_INIT,8,3                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" unset"

L_.str.1:                               ## @.str.1
	.asciz	" %s"

L_.str.2:                               ## @.str.2
	.asciz	" %s="

	.no_dead_strip	_trace_add_env
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function trace_add_env
_trace_add_env:                         ; @trace_add_env
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _STRING_LIST_INIT_DUP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRING_LIST_INIT_DUP@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	str	q0, [sp, #16]
	cbz	x1, LBB0_7
; %bb.1:
	ldr	x20, [x1]
	cbz	x20, LBB0_7
; %bb.2:
	add	x22, x1, #8
Lloh3:
	adrp	x23, _STRBUF_INIT@GOTPAGE
Lloh4:
	ldr	x23, [x23, _STRBUF_INIT@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #16
	mov	x1, x20
	bl	_string_list_insert
	mov	x20, #0
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	x20, [x0]
	add	x0, sp, #8
	bl	_strbuf_release
	ldr	x20, [x22], #8
	cbz	x20, LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	str	x8, [sp, #8]
	mov	x0, x20
	mov	w1, #61
	bl	_strchr
	cbz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x0
	sub	w2, w21, w20
	add	x0, sp, #8
	mov	x1, x20
	bl	_strbuf_add
	add	x20, x21, #1
	ldr	x1, [sp, #8]
	add	x0, sp, #16
	bl	_string_list_insert
	b	LBB0_4
LBB0_7:
	ldr	w23, [sp, #16]
	cmp	w23, #1
	b.lt	LBB0_24
; %bb.8:
	mov	x24, #0
	mov	x25, #0
	mov	w26, #0
Lloh5:
	adrp	x20, l_.str@PAGE
Lloh6:
	add	x20, x20, l_.str@PAGEOFF
Lloh7:
	adrp	x21, l_.str.1@PAGE
Lloh8:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_strbuf_addf
	mov	w26, #1
	ldr	w23, [sp, #16]
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x25, x25, #1
	add	x24, x24, #16
	cmp	x25, w23, sxtw
	b.ge	LBB0_15
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #24]
	add	x8, x8, x24
	ldr	x9, [x8, #8]
	cbnz	x9, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x22, [x8]
	mov	x0, x22
	bl	_getenv
	cbz	x0, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	cbnz	w26, LBB0_9
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_strbuf_addstr
	b	LBB0_9
LBB0_15:
	cbz	w26, LBB0_17
; %bb.16:
	mov	x0, x19
	mov	w1, #59
	bl	_strbuf_addch
	ldr	w23, [sp, #16]
LBB0_17:
	cmp	w23, #1
	b.lt	LBB0_24
; %bb.18:
	mov	x24, #0
	mov	x25, #0
Lloh9:
	adrp	x20, l_.str.2@PAGE
Lloh10:
	add	x20, x20, l_.str.2@PAGEOFF
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_strbuf_addf
	mov	x0, x19
	mov	x1, x21
	bl	_sq_quote_buf_pretty
	ldr	w23, [sp, #16]
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	add	x25, x25, #1
	add	x24, x24, #16
	cmp	x25, w23, sxtw
	b.ge	LBB0_24
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #24]
	add	x8, x8, x24
	ldr	x21, [x8, #8]
	cbz	x21, LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x22, [x8]
	mov	x0, x22
	bl	_getenv
	cbz	x0, LBB0_19
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x1, x0
	mov	x0, x21
	bl	_strcmp
	cbnz	w0, LBB0_19
	b	LBB0_20
LBB0_24:
	add	x0, sp, #16
	mov	w1, #0
	bl	_string_list_clear
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_STRING_LIST_INIT_DUP,16,3      ; @STRING_LIST_INIT_DUP
	.comm	_STRBUF_INIT,8,3                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" unset"

l_.str.1:                               ; @.str.1
	.asciz	" %s"

l_.str.2:                               ; @.str.2
	.asciz	" %s="

	.no_dead_strip	_trace_add_env
.subsections_via_symbols
