	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_on_window1_delete_event        ## -- Begin function on_window1_delete_event
	.p2align	4, 0x90
_on_window1_delete_event:               ## @on_window1_delete_event
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_conf_get_changed
	movq	_FALSE@GOTPCREL(%rip), %r15
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %r14d
	movq	_main_wnd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GTK_WINDOW
	movq	_GTK_DIALOG_MODAL@GOTPCREL(%rip), %rcx
	movq	_GTK_DIALOG_DESTROY_WITH_PARENT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_GTK_STOCK_OK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_GTK_STOCK_NO@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r9d
	movq	_GTK_STOCK_CANCEL@GOTPCREL(%rip), %rsi
	movl	(%rsi), %ebx
	movl	%r14d, %edi
	movl	%eax, %esi
	movl	$128, %r8d
	pushq	$0
	pushq	$131
	pushq	%rbx
	pushq	$129
	callq	_gtk_dialog_new_with_buttons
	addq	$32, %rsp
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_GTK_DIALOG
	movq	%rax, %rdi
	movl	$131, %esi
	callq	_gtk_dialog_set_default_response
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_gtk_label_new
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_GTK_DIALOG
	movl	(%rax), %edi
	callq	_GTK_CONTAINER
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_gtk_container_add
	movq	%rbx, %rdi
	callq	_gtk_widget_show
	movq	%r14, %rdi
	callq	_GTK_DIALOG
	movq	%rax, %rdi
	callq	_gtk_dialog_run
	cmpl	$129, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_on_save_activate
	jmp	LBB0_5
LBB0_4:
	movq	%r14, %rdi
	callq	_gtk_widget_destroy
	movq	_TRUE@GOTPCREL(%rip), %r15
LBB0_5:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Warning !"

	.comm	_main_wnd,4,2                   ## @main_wnd
	.comm	_GTK_DIALOG_MODAL,4,2           ## @GTK_DIALOG_MODAL
	.comm	_GTK_DIALOG_DESTROY_WITH_PARENT,4,2 ## @GTK_DIALOG_DESTROY_WITH_PARENT
	.comm	_GTK_STOCK_OK,4,2               ## @GTK_STOCK_OK
	.comm	_GTK_STOCK_NO,4,2               ## @GTK_STOCK_NO
	.comm	_GTK_STOCK_CANCEL,4,2           ## @GTK_STOCK_CANCEL
L_.str.1:                               ## @.str.1
	.asciz	"\nSave configuration ?\n"

	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_on_window1_delete_event        ; -- Begin function on_window1_delete_event
	.p2align	2
_on_window1_delete_event:               ; @on_window1_delete_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_conf_get_changed
	cbz	w0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x19, x0
Lloh2:
	adrp	x8, _main_wnd@GOTPAGE
Lloh3:
	ldr	x8, [x8, _main_wnd@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_GTK_WINDOW
	mov	x1, x0
Lloh5:
	adrp	x8, _GTK_DIALOG_MODAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GTK_DIALOG_MODAL@GOTPAGEOFF]
Lloh7:
	adrp	x9, _GTK_DIALOG_DESTROY_WITH_PARENT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _GTK_DIALOG_DESTROY_WITH_PARENT@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh11:
	adrp	x8, _GTK_STOCK_OK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GTK_STOCK_OK@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
Lloh14:
	adrp	x8, _GTK_STOCK_NO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GTK_STOCK_NO@GOTPAGEOFF]
Lloh16:
	ldr	w5, [x8]
Lloh17:
	adrp	x8, _GTK_STOCK_CANCEL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GTK_STOCK_CANCEL@GOTPAGEOFF]
Lloh19:
	ldr	w7, [x8]
	str	xzr, [sp, #8]
	mov	w8, #131
	str	w8, [sp]
	mov	x0, x19
	mov	w4, #128
	mov	w6, #129
	bl	_gtk_dialog_new_with_buttons
	mov	x19, x0
	bl	_GTK_DIALOG
	mov	w1, #131
	bl	_gtk_dialog_set_default_response
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	bl	_gtk_label_new
	mov	x20, x0
	mov	x0, x19
	bl	_GTK_DIALOG
	ldr	w0, [x0]
	bl	_GTK_CONTAINER
	mov	x1, x20
	bl	_gtk_container_add
	mov	x0, x20
	bl	_gtk_widget_show
	mov	x0, x19
	bl	_GTK_DIALOG
	bl	_gtk_dialog_run
	cmp	w0, #129
	b.eq	LBB0_4
; %bb.2:
	cmp	w0, #128
	b.ne	LBB0_5
; %bb.3:
	mov	x0, #0
	mov	x1, #0
	bl	_on_save_activate
LBB0_4:
Lloh22:
	adrp	x8, _FALSE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_gtk_widget_destroy
Lloh24:
	adrp	x8, _TRUE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Warning !"

	.comm	_main_wnd,4,2                   ; @main_wnd
	.comm	_GTK_DIALOG_MODAL,4,2           ; @GTK_DIALOG_MODAL
	.comm	_GTK_DIALOG_DESTROY_WITH_PARENT,4,2 ; @GTK_DIALOG_DESTROY_WITH_PARENT
	.comm	_GTK_STOCK_OK,4,2               ; @GTK_STOCK_OK
	.comm	_GTK_STOCK_NO,4,2               ; @GTK_STOCK_NO
	.comm	_GTK_STOCK_CANCEL,4,2           ; @GTK_STOCK_CANCEL
l_.str.1:                               ; @.str.1
	.asciz	"\nSave configuration ?\n"

	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
