	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EnvScreen_scan                 ## -- Begin function EnvScreen_scan
	.p2align	4, 0x90
_EnvScreen_scan:                        ## @EnvScreen_scan
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	16(%rdi), %r14
	movq	%r14, %rdi
	callq	_Panel_getSelectedIndex
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_MAX
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_Panel_prune
	xorl	%eax, %eax
	callq	_CRT_dropPrivileges
	movq	8(%r13), %rax
	movl	(%rax), %edi
	callq	_Platform_getProcessEnv
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_CRT_restorePrivileges
	testq	%r12, %r12
	je	LBB0_5
## %bb.1:
	cmpb	$0, (%r12)
	je	LBB0_4
## %bb.2:
	movq	%r12, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_InfoScreen_addLine
	movq	%rbx, %rdi
	callq	_strlen
	cmpb	$0, 1(%rbx,%rax)
	leaq	1(%rbx,%rax), %rbx
	jne	LBB0_3
LBB0_4:
	movq	%r12, %rdi
	callq	_free
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_InfoScreen_addLine
LBB0_6:
	movl	(%r13), %edi
	callq	_Vector_insertionSort
	movl	(%r14), %edi
	callq	_Vector_insertionSort
	movq	%r14, %rdi
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Panel_setSelected              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not read process environment."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EnvScreen_scan                 ; -- Begin function EnvScreen_scan
	.p2align	2
_EnvScreen_scan:                        ; @EnvScreen_scan
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x0
	ldr	x19, [x0, #16]
	mov	x0, x19
	bl	_Panel_getSelectedIndex
	mov	w1, #0
	bl	_MAX
	mov	x21, x0
	mov	x0, x19
	bl	_Panel_prune
	bl	_CRT_dropPrivileges
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	bl	_Platform_getProcessEnv
	mov	x22, x0
	bl	_CRT_restorePrivileges
	cbz	x22, LBB0_5
; %bb.1:
	ldrb	w8, [x22]
	cbz	w8, LBB0_4
; %bb.2:
	mov	x23, x22
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_InfoScreen_addLine
	mov	x0, x23
	bl	_strlen
	add	x23, x23, x0
	ldrb	w8, [x23, #1]!
	cbnz	w8, LBB0_3
LBB0_4:
	mov	x0, x22
	bl	_free
	b	LBB0_6
LBB0_5:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_InfoScreen_addLine
LBB0_6:
	ldr	w0, [x20]
	bl	_Vector_insertionSort
	ldr	w0, [x19]
	bl	_Vector_insertionSort
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_Panel_setSelected
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not read process environment."

.subsections_via_symbols
