	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TraceScreen_updateTrace        ## -- Begin function TraceScreen_updateTrace
	.p2align	4, 0x90
_TraceScreen_updateTrace:               ## @TraceScreen_updateTrace
	.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	$1048, %rsp                     ## imm = 0x418
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-1060(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_FD_ZERO
	movq	32(%r12), %rdi
	movq	%rbx, %rsi
	callq	_FD_SET
	movq	$0, -1080(%rbp)
	movl	$500, -1088(%rbp)               ## imm = 0x1F4
	movq	32(%r12), %rdi
	incq	%rdi
	leaq	-1088(%rbp), %r8
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_select
	testl	%eax, %eax
	jle	LBB0_16
## %bb.1:
	movq	32(%r12), %rdi
	leaq	-1060(%rbp), %rsi
	callq	_FD_ISSET
	testq	%rax, %rax
	je	LBB0_16
## %bb.2:
	movl	24(%r12), %ecx
	leaq	-1056(%rbp), %r13
	movq	%r13, %rdi
	movl	$1, %esi
	movl	$1000, %edx                     ## imm = 0x3E8
	callq	_fread
	testl	%eax, %eax
	je	LBB0_16
## %bb.3:
	cmpq	$0, 16(%r12)
	je	LBB0_16
## %bb.4:
	movslq	%eax, %rcx
	leaq	(%rcx,%rbp), %rdx
	addq	$-1056, %rdx                    ## imm = 0xFBE0
	movq	%rdx, -1072(%rbp)               ## 8-byte Spill
	movb	$0, -1056(%rbp,%rcx)
	testl	%eax, %eax
	jle	LBB0_12
## %bb.5:
	leaq	-1056(%rbp), %r13
	leaq	4(%r12), %r15
	movl	%eax, %ebx
	leaq	-1055(%rbp), %r14
	jmp	LBB0_6
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_InfoScreen_addLine
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %r13
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%r14
	decq	%rbx
	je	LBB0_12
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$10, -1(%r14)
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movb	$0, -1(%r14)
	cmpl	$0, (%r12)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_InfoScreen_appendLine
	movl	$0, (%r12)
	jmp	LBB0_10
LBB0_12:
	movq	-1072(%rbp), %rbx               ## 8-byte Reload
	cmpq	%rbx, %r13
	jae	LBB0_14
## %bb.13:
	leaq	4(%r12), %rdi
	movq	%r13, %rsi
	callq	_InfoScreen_addLine
	movb	$0, (%rbx)
	movl	$1, (%r12)
LBB0_14:
	cmpq	$0, 8(%r12)
	je	LBB0_16
## %bb.15:
	movl	4(%r12), %ebx
	movl	%ebx, %edi
	callq	_Panel_size
	leaq	-1(%rax), %rsi
	movl	%ebx, %edi
	callq	_Panel_setSelected
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	addq	$1048, %rsp                     ## imm = 0x418
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TraceScreen_updateTrace        ; -- Begin function TraceScreen_updateTrace
	.p2align	2
_TraceScreen_updateTrace:               ; @TraceScreen_updateTrace
	.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
	sub	sp, sp, #1040
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	add	x0, sp, #24
	bl	_FD_ZERO
	ldr	x0, [x19, #32]
	add	x1, sp, #24
	bl	_FD_SET
	str	xzr, [sp, #16]
	mov	w8, #500
	str	w8, [sp, #8]
	ldr	x8, [x19, #32]
	add	x0, x8, #1
	add	x1, sp, #24
	add	x4, sp, #8
	mov	x2, #0
	mov	x3, #0
	bl	_select
	cmp	w0, #1
	b.lt	LBB0_16
; %bb.1:
	ldr	x0, [x19, #32]
	add	x1, sp, #24
	bl	_FD_ISSET
	cbz	x0, LBB0_16
; %bb.2:
	ldr	w3, [x19, #24]
	add	x0, sp, #31
	mov	w1, #1
	mov	w2, #1000
	bl	_fread
	cbz	w0, LBB0_16
; %bb.3:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_16
; %bb.4:
	add	x1, sp, #31
	add	x21, x1, w0, sxtw
	strb	wzr, [x21]
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.5:
	add	x20, x19, #4
	mov	w22, w0
	add	x23, x1, #1
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	bl	_InfoScreen_addLine
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x1, x23
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x23, x23, #1
	subs	x22, x22, #1
	b.eq	LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldurb	w8, [x23, #-1]
	cmp	w8, #10
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	sturb	wzr, [x23, #-1]
	ldr	w8, [x19]
	cbz	w8, LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	bl	_InfoScreen_appendLine
	str	wzr, [x19]
	b	LBB0_7
LBB0_12:
	cmp	x1, x21
	b.hs	LBB0_14
; %bb.13:
	add	x0, x19, #4
	bl	_InfoScreen_addLine
	strb	wzr, [x21]
	mov	w8, #1
	str	w8, [x19]
LBB0_14:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_16
; %bb.15:
	ldr	w19, [x19, #4]
	mov	x0, x19
	bl	_Panel_size
	sub	x1, x0, #1
	mov	x0, x19
	bl	_Panel_setSelected
LBB0_16:
	ldur	x8, [x29, #-56]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	add	sp, sp, #1040
	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
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
