	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_makeenv                        ## -- Begin function makeenv
	.p2align	4, 0x90
_makeenv:                               ## @makeenv
	.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	%rdi, %r14
	movq	_TT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	cmpq	$0, (%rsi)
	je	LBB0_3
## %bb.2:
	leaq	_makeenv.termbuf(%rip), %rbx
	movq	%rbx, %rdi
	movl	$128, %edx
	callq	_strlcat
	movq	%rbx, (%r14)
	addq	$8, %r14
LBB0_3:
	movq	_EV@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	testq	%r15, %r15
	je	LBB0_9
## %bb.4:
	movq	%r15, %rdi
	movl	$44, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movb	$0, (%rax)
	movq	%rax, %rbx
	incq	%rbx
	movq	%r15, (%r14)
	addq	$8, %r14
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_strchr
	movq	%rbx, %r15
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:
	cmpb	$0, (%rbx)
	je	LBB0_9
LBB0_8:
	movq	%rbx, (%r14)
	addq	$8, %r14
LBB0_9:
	movq	$0, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r15, %rbx
	cmpb	$0, (%rbx)
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @makeenv.termbuf
_makeenv.termbuf:
	.asciz	"TERM=\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"

	.comm	_TT,8,3                         ## @TT
	.comm	_EV,8,3                         ## @EV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_makeenv                        ; -- Begin function makeenv
	.p2align	2
_makeenv:                               ; @makeenv
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, _TT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TT@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	cbz	x1, LBB0_3
; %bb.1:
	ldr	x8, [x1]
	cbz	x8, LBB0_3
; %bb.2:
Lloh3:
	adrp	x20, _makeenv.termbuf@PAGE
Lloh4:
	add	x20, x20, _makeenv.termbuf@PAGEOFF
	mov	x0, x20
	mov	w2, #128
	bl	_strlcat
	str	x20, [x19], #8
LBB0_3:
Lloh5:
	adrp	x8, _EV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EV@GOTPAGEOFF]
Lloh7:
	ldr	x20, [x8]
	cbz	x20, LBB0_8
; %bb.4:
	mov	x0, x20
	mov	w1, #44
	bl	_strchr
	cbz	x0, LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	strb	wzr, [x0], #1
	mov	x21, x0
	str	x20, [x19], #8
	mov	w1, #44
	bl	_strchr
	mov	x20, x21
	cbnz	x0, LBB0_5
; %bb.6:
	ldrb	w8, [x21]
	cbz	w8, LBB0_8
LBB0_7:
	str	x21, [x19], #8
LBB0_8:
	str	xzr, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x21, x20
	ldrb	w8, [x21]
	cbnz	w8, LBB0_7
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
_makeenv.termbuf:                       ; @makeenv.termbuf
	.asciz	"TERM=\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"

	.comm	_TT,8,3                         ; @TT
	.comm	_EV,8,3                         ; @EV
.subsections_via_symbols
