	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetEnvVar                      ## -- Begin function GetEnvVar
	.p2align	4, 0x90
_GetEnvVar:                             ## @GetEnvVar
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	movq	_GetEnvVar.ret(%rip), %rdi
	callq	_cmd_free
	movq	$0, _GetEnvVar.ret(%rip)
	movl	%r14d, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_GetEnvironmentVariable
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	movl	%eax, %ebx
	leal	(,%rbx,4), %edi
	callq	_cmd_alloc
	movq	%rax, _GetEnvVar.ret(%rip)
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	incl	%ebx
	movl	%r14d, %edi
	movq	%rax, %rsi
	movl	%ebx, %edx
	callq	_GetEnvironmentVariable
LBB0_3:
	movq	_GetEnvVar.ret(%rip), %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_GetEnvVar.ret,8,3 ## @GetEnvVar.ret
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetEnvVar                      ; -- Begin function GetEnvVar
	.p2align	2
_GetEnvVar:                             ; @GetEnvVar
	.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
	adrp	x21, _GetEnvVar.ret@PAGE
	ldr	x0, [x21, _GetEnvVar.ret@PAGEOFF]
	bl	_cmd_free
	str	xzr, [x21, _GetEnvVar.ret@PAGEOFF]
	mov	x0, x19
	mov	x1, #0
	mov	w2, #0
	bl	_GetEnvironmentVariable
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, x0
	lsl	w0, w0, #2
	bl	_cmd_alloc
	str	x0, [x21, _GetEnvVar.ret@PAGEOFF]
	cbz	x0, LBB0_3
; %bb.2:
	mov	x1, x0
	add	w2, w20, #1
	mov	x0, x19
	bl	_GetEnvironmentVariable
LBB0_3:
	ldr	x0, [x21, _GetEnvVar.ret@PAGEOFF]
	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
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_GetEnvVar.ret,8,3 ; @GetEnvVar.ret
.subsections_via_symbols
