	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_exit
_handle_exit:                           ## @handle_exit
	.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
	movq	_save_and_exit@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	xorl	%eax, %eax
	callq	_reset_subtitle
	xorl	%eax, %eax
	callq	_dialog_clear
	xorl	%eax, %eax
	callq	_conf_get_changed
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	leaq	L_.str(%rip), %rdi
	callq	__
	xorl	%edi, %edi
	movq	%rax, %rsi
	movl	$6, %edx
	movl	$60, %ecx
	callq	_dialog_yesno
	movl	%eax, %r14d
	movq	_saved_x@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_saved_y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_end_dialog
	cmpl	$-1, %r14d
	je	LBB0_2
## %bb.5:
	testl	%r14d, %r14d
	jne	LBB0_8
## %bb.6:
	movq	_filename@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_conf_write
	testl	%eax, %eax
	je	LBB0_2
## %bb.7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_fprintf
	movl	$1, %ebx
	jmp	LBB0_11
LBB0_1:
	movq	_saved_x@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_saved_y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_end_dialog
LBB0_2:
	movq	_silent@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	$0, (%rax)
	jne	LBB0_11
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	callq	_printf
	jmp	LBB0_11
LBB0_8:
	movq	_silent@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_10
## %bb.9:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_fprintf
LBB0_10:
	movq	_KEY_ESC@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	(%rax), %r14d
	cmovel	%r14d, %ebx
LBB0_11:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_save_and_exit,4,2              ## @save_and_exit
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Do you wish to save your new configuration?\n(Press <ESC><ESC> to continue kernel configuration.)"

	.comm	_saved_x,4,2                    ## @saved_x
	.comm	_saved_y,4,2                    ## @saved_y
	.comm	_filename,4,2                   ## @filename
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"\n\nError while writing of the configuration.\nYour configuration changes were NOT saved.\n\n"

	.comm	_silent,4,2                     ## @silent
L_.str.2:                               ## @.str.2
	.asciz	"\n\n*** End of the configuration.\n*** Execute 'make' to start the build or try 'make help'.\n\n"

L_.str.3:                               ## @.str.3
	.asciz	"\n\nYour configuration changes were NOT saved.\n\n"

	.comm	_KEY_ESC,4,2                    ## @KEY_ESC
	.no_dead_strip	_handle_exit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_exit
_handle_exit:                           ; @handle_exit
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _save_and_exit@GOTPAGE
Lloh1:
	ldr	x8, [x8, _save_and_exit@GOTPAGEOFF]
	mov	w9, #1
Lloh2:
	str	w9, [x8]
	bl	_reset_subtitle
	bl	_dialog_clear
	bl	_conf_get_changed
	cbz	x0, LBB0_5
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, #0
	mov	w2, #6
	mov	w3, #60
	bl	_dialog_yesno
	mov	x19, x0
Lloh5:
	adrp	x8, _saved_x@GOTPAGE
Lloh6:
	ldr	x8, [x8, _saved_x@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _saved_y@GOTPAGE
Lloh9:
	ldr	x8, [x8, _saved_y@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_end_dialog
	cmn	w19, #1
	b.eq	LBB0_6
; %bb.2:
	cbnz	w19, LBB0_9
; %bb.3:
Lloh11:
	adrp	x8, _filename@GOTPAGE
Lloh12:
	ldr	x8, [x8, _filename@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_conf_write
	cbz	w0, LBB0_6
; %bb.4:
Lloh14:
	adrp	x8, _stderr@GOTPAGE
Lloh15:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh16:
	ldr	w19, [x8]
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	bl	_fprintf
	mov	w0, #1
	b	LBB0_12
LBB0_5:
Lloh19:
	adrp	x8, _saved_x@GOTPAGE
Lloh20:
	ldr	x8, [x8, _saved_x@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x8, _saved_y@GOTPAGE
Lloh23:
	ldr	x8, [x8, _saved_y@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	bl	_end_dialog
LBB0_6:
Lloh25:
	adrp	x8, _silent@GOTPAGE
Lloh26:
	ldr	x8, [x8, _silent@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	cbz	w8, LBB0_8
; %bb.7:
	mov	w0, #0
	b	LBB0_12
LBB0_8:
Lloh28:
	adrp	x0, l_.str.2@PAGE
Lloh29:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	bl	_printf
	mov	w0, #0
	b	LBB0_12
LBB0_9:
Lloh30:
	adrp	x8, _silent@GOTPAGE
Lloh31:
	ldr	x8, [x8, _silent@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	cbnz	w8, LBB0_11
; %bb.10:
Lloh33:
	adrp	x8, _stderr@GOTPAGE
Lloh34:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh35:
	ldr	w20, [x8]
Lloh36:
	adrp	x0, l_.str.3@PAGE
Lloh37:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x20
	bl	_fprintf
LBB0_11:
Lloh38:
	adrp	x8, _KEY_ESC@GOTPAGE
Lloh39:
	ldr	x8, [x8, _KEY_ESC@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	cmp	w19, w8
	csel	w0, w19, wzr, eq
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_save_and_exit,4,2              ; @save_and_exit
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Do you wish to save your new configuration?\n(Press <ESC><ESC> to continue kernel configuration.)"

	.comm	_saved_x,4,2                    ; @saved_x
	.comm	_saved_y,4,2                    ; @saved_y
	.comm	_filename,4,2                   ; @filename
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"\n\nError while writing of the configuration.\nYour configuration changes were NOT saved.\n\n"

	.comm	_silent,4,2                     ; @silent
l_.str.2:                               ; @.str.2
	.asciz	"\n\n*** End of the configuration.\n*** Execute 'make' to start the build or try 'make help'.\n\n"

l_.str.3:                               ; @.str.3
	.asciz	"\n\nYour configuration changes were NOT saved.\n\n"

	.comm	_KEY_ESC,4,2                    ; @KEY_ESC
	.no_dead_strip	_handle_exit
.subsections_via_symbols
