	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_in_environ                 ## -- Begin function set_in_environ
	.p2align	4, 0x90
_set_in_environ:                        ## @set_in_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	%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	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_strlen
	movl	%eax, %ebx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	(%r14), %r12
	movq	(%r12), %r14
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	movslq	%ebx, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r12,%r13,8), %r14
	incq	%r13
	testq	%r14, %r14
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpb	$61, (%r14,%rax)
	jne	LBB0_5
## %bb.9:
	movq	%r14, %rdi
	callq	_xfree
	jmp	LBB0_10
LBB0_1:
	xorl	%r13d, %r13d
LBB0_6:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	cmpl	8(%r14), %r13d
	jne	LBB0_8
## %bb.7:
	leal	10(%r13), %eax
	movl	%eax, 8(%r14)
	leal	88(,%r13,8), %esi
	movq	%r12, %rdi
	callq	_xrealloc
	movq	%rax, %r12
	movq	%rax, (%r14)
LBB0_8:
	movl	%r13d, %eax
	movq	$0, 8(%r12,%rax,8)
LBB0_10:
	movl	%r13d, %r14d
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rbx,%rax), %edi
	addl	$2, %edi
	callq	_xmalloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_strcpy
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcat
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_strcat
	movq	%rbx, (%r12,%r14,8)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"="

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_in_environ                 ; -- Begin function set_in_environ
	.p2align	2
_set_in_environ:                        ; @set_in_environ
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x23, x0
	mov	x0, x1
	bl	_strlen
	mov	x22, x0
	ldr	x20, [x23]
	ldr	x24, [x20]
	cbz	x24, LBB0_6
; %bb.1:
	mov	x26, #0
	sxtw	x27, w22
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x26, #1
	add	x8, x20, x26, lsl #3
	ldr	x24, [x8, #8]
	mov	x26, x25
	cbz	x24, LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	mov	x1, x21
	mov	x2, x22
	bl	_strncmp
	cbnz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x24, x27]
	cmp	w8, #61
	b.ne	LBB0_2
; %bb.5:
	mov	x0, x24
	bl	_xfree
	mov	x25, x26
	b	LBB0_10
LBB0_6:
	mov	w25, #0
LBB0_7:
	ldr	w8, [x23, #8]
	cmp	w25, w8
	b.ne	LBB0_9
; %bb.8:
	add	w8, w25, #10
	str	w8, [x23, #8]
	lsl	w8, w25, #3
	add	w1, w8, #88
	mov	x0, x20
	bl	_xrealloc
	mov	x20, x0
	str	x0, [x23]
LBB0_9:
	add	w8, w25, #1
	str	xzr, [x20, w8, uxtw #3]
LBB0_10:
	mov	x0, x19
	bl	_strlen
	add	w8, w22, w0
	add	w0, w8, #2
	bl	_xmalloc
	mov	x22, x0
	mov	x1, x21
	bl	_strcpy
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_strcat
	mov	x0, x22
	mov	x1, x19
	bl	_strcat
	str	x22, [x20, w25, uxtw #3]
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"="

.subsections_via_symbols
