	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OpenFilesScreen_scan           ## -- Begin function OpenFilesScreen_scan
	.p2align	4, 0x90
_OpenFilesScreen_scan:                  ## @OpenFilesScreen_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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %r12
	movq	%r12, %rdi
	callq	_Panel_getSelectedIndex
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_Panel_prune
	movl	(%r15), %edi
	callq	_OpenFilesScreen_getProcessData
	movq	%rax, %rbx
	movl	(%rax), %eax
	cmpl	$1, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$127, %eax
	jne	LBB0_5
## %bb.2:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_3
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
LBB0_3:
	movq	%r15, %rdi
	callq	_InfoScreen_addLine
	jmp	LBB0_12
LBB0_5:
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	24(%rbx), %r13
	testq	%r13, %r13
	je	LBB0_11
## %bb.6:
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	callq	_strlen
	movl	%eax, %r15d
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	addl	$48, %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	816(%r12), %rcx
	testq	%rcx, %rcx
	leaq	L_.str.3(%rip), %rdx
	cmoveq	%rdx, %rcx
	movq	928(%r12), %r8
	testq	%r8, %r8
	cmoveq	%rdx, %r8
	movq	544(%r12), %r9
	testq	%r9, %r9
	cmoveq	%rdx, %r9
	movq	920(%r12), %r10
	testq	%r10, %r10
	cmoveq	%rdx, %r10
	movq	840(%r12), %rbx
	testq	%rbx, %rbx
	cmoveq	%rdx, %rbx
	movq	880(%r12), %rax
	testq	%rax, %rax
	cmoveq	%rdx, %rax
	subq	$8, %rsp
	movq	%r14, %rdi
	movl	%r15d, %esi
	leaq	L_.str.2(%rip), %rdx
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	callq	_xSnprintf
	addq	$32, %rsp
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_InfoScreen_addLine
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_OpenFiles_Data_clear
	movq	16(%r13), %rbx
	movq	%r13, %rdi
	callq	_free
	movq	-88(%rbp), %rsp                 ## 8-byte Reload
	movq	%rbx, %r13
	testq	%rbx, %rbx
	je	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	leaq	8(%r13), %rax
	movq	8(%r13), %r12
	movq	880(%r12), %rdi
	testq	%rdi, %rdi
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_10
LBB0_11:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	addq	$8, %rdi
	callq	_OpenFiles_Data_clear
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	-52(%rbp), %r14d                ## 4-byte Reload
LBB0_12:
	movq	%rbx, %rdi
	callq	_free
	movl	(%r15), %edi
	callq	_Vector_insertionSort
	movl	(%r12), %edi
	callq	_Vector_insertionSort
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_Panel_setSelected
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not execute 'lsof'. Please make sure it is available in your $PATH."

L_.str.1:                               ## @.str.1
	.asciz	"Failed listing open files."

L_.str.2:                               ## @.str.2
	.asciz	"%5.5s %7.7s %10.10s %10.10s %10.10s %s"

L_.str.3:                               ## @.str.3
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OpenFilesScreen_scan           ; -- Begin function OpenFilesScreen_scan
	.p2align	2
_OpenFilesScreen_scan:                  ; @OpenFilesScreen_scan
	.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
	sub	sp, sp, #16
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x19, [x0, #8]
	mov	x0, x19
	bl	_Panel_getSelectedIndex
	mov	x20, x0
	mov	x0, x19
	bl	_Panel_prune
	ldr	w0, [x21]
	bl	_OpenFilesScreen_getProcessData
	mov	x22, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #127
	b.ne	LBB0_5
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	mov	x0, x21
	bl	_InfoScreen_addLine
	b	LBB0_11
LBB0_5:
	stur	w20, [x29, #-92]                ; 4-byte Folded Spill
	ldr	x23, [x22, #24]
	cbz	x23, LBB0_10
; %bb.6:
Lloh7:
	adrp	x27, l_.str.3@PAGE
Lloh8:
	add	x27, x27, l_.str.3@PAGEOFF
Lloh9:
	adrp	x24, l_.str.2@PAGE
Lloh10:
	add	x24, x24, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x28, sp
	add	w1, w0, #48
	mov	x9, x1
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x1, #15
	and	x9, x9, #0x1fffffff0
	sub	x26, x8, x9
	mov	sp, x26
	ldr	x8, [x20, #816]
	cmp	x8, #0
	csel	x3, x27, x8, eq
	ldr	x8, [x20, #928]
	cmp	x8, #0
	csel	x4, x27, x8, eq
	ldr	x8, [x20, #544]
	cmp	x8, #0
	csel	x5, x27, x8, eq
	ldr	x8, [x20, #920]
	cmp	x8, #0
	csel	x6, x27, x8, eq
	ldr	x8, [x20, #840]
	cmp	x8, #0
	csel	x7, x27, x8, eq
	ldr	x8, [x20, #880]
	cmp	x8, #0
	csel	x8, x27, x8, eq
	str	x8, [sp, #-16]!
	mov	x0, x26
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x24
	bl	_xSnprintf
	add	sp, sp, #16
	mov	x0, x21
	mov	x1, x26
	bl	_InfoScreen_addLine
	mov	x0, x25
	bl	_OpenFiles_Data_clear
	ldr	x20, [x23, #16]
	mov	x0, x23
	bl	_free
	mov	sp, x28
	mov	x23, x20
	cbz	x20, LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x25, x23
	ldr	x20, [x25, #8]!
	ldr	x0, [x20, #880]
	cbz	x0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_strlen
	b	LBB0_7
LBB0_10:
	add	x0, x22, #8
	bl	_OpenFiles_Data_clear
	ldur	w20, [x29, #-92]                ; 4-byte Folded Reload
LBB0_11:
	mov	x0, x22
	bl	_free
	ldr	w0, [x21]
	bl	_Vector_insertionSort
	ldr	w0, [x19]
	bl	_Vector_insertionSort
	mov	x0, x19
	mov	x1, x20
	bl	_Panel_setSelected
	ldur	x8, [x29, #-88]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	sub	sp, x29, #80
	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
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not execute 'lsof'. Please make sure it is available in your $PATH."

l_.str.1:                               ; @.str.1
	.asciz	"Failed listing open files."

l_.str.2:                               ; @.str.2
	.asciz	"%5.5s %7.7s %10.10s %10.10s %10.10s %s"

l_.str.3:                               ; @.str.3
	.space	1

.subsections_via_symbols
