	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ui__exit                       ## -- Begin function ui__exit
	.p2align	4, 0x90
_ui__exit:                              ## @ui__exit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edi, %edi
	je	LBB0_2
## %bb.1:
	movq	_ui_helpline__last_msg@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rdx
	xorl	%ecx, %ecx
	callq	_ui__question_window
LBB0_2:
	movl	$1, %edi
	callq	_SLtt_set_cursor_visibility
	xorl	%eax, %eax
	callq	_SLsmg_refresh
	xorl	%eax, %eax
	callq	_SLsmg_reset_smg
	xorl	%eax, %eax
	callq	_SLang_reset_tty
	movq	_perf_tui_eops@GOTPCREL(%rip), %rdi
	popq	%rbp
	jmp	_perf_error__unregister         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Fatal Error"

	.comm	_ui_helpline__last_msg,4,2      ## @ui_helpline__last_msg
L_.str.1:                               ## @.str.1
	.asciz	"Press any key..."

	.comm	_perf_tui_eops,4,2              ## @perf_tui_eops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ui__exit                       ; -- Begin function ui__exit
	.p2align	2
_ui__exit:                              ; @ui__exit
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ui_helpline__last_msg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ui_helpline__last_msg@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w3, #0
	bl	_ui__question_window
LBB0_2:
	mov	w0, #1
	bl	_SLtt_set_cursor_visibility
	bl	_SLsmg_refresh
	bl	_SLsmg_reset_smg
	bl	_SLang_reset_tty
Lloh7:
	adrp	x0, _perf_tui_eops@GOTPAGE
Lloh8:
	ldr	x0, [x0, _perf_tui_eops@GOTPAGEOFF]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_perf_error__unregister
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Fatal Error"

	.comm	_ui_helpline__last_msg,4,2      ; @ui_helpline__last_msg
l_.str.1:                               ; @.str.1
	.asciz	"Press any key..."

	.comm	_perf_tui_eops,4,2              ; @perf_tui_eops
.subsections_via_symbols
