	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function yui_window_destroy
_yui_window_destroy:                    ## @yui_window_destroy
	.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	%r12
	pushq	%rbx
	subq	$544, %rsp                      ## imm = 0x220
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	callq	_GTK_WINDOW
	leaq	-568(%rbp), %rsi
	leaq	-564(%rbp), %rdx
	movl	%eax, %edi
	callq	_gtk_window_get_position
	movl	-568(%rbp), %edx
	leaq	L_.str(%rip), %r14
	leaq	-560(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_sprintf
	movq	_keyfile@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %r15
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rsi
	movq	%rbx, %rcx
	callq	_g_key_file_set_value
	movl	-564(%rbp), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_sprintf
	movl	(%r12), %edi
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rsi
	movq	%rbx, %rcx
	callq	_g_key_file_set_value
	movq	_inifile@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r12), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_g_key_file_to_data
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	$-1, %edx
	xorl	%ecx, %ecx
	callq	_g_file_set_contents
	xorl	%eax, %eax
	callq	_gtk_main_quit
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$544, %rsp                      ## imm = 0x220
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

	.comm	_keyfile,4,2                    ## @keyfile
L_.str.1:                               ## @.str.1
	.asciz	"Gtk"

L_.str.2:                               ## @.str.2
	.asciz	"X"

L_.str.3:                               ## @.str.3
	.asciz	"Y"

	.comm	_inifile,4,2                    ## @inifile
	.no_dead_strip	_yui_window_destroy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function yui_window_destroy
_yui_window_destroy:                    ; @yui_window_destroy
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	sub	sp, sp, #528
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	bl	_GTK_WINDOW
	add	x1, sp, #4
	mov	x2, sp
	bl	_gtk_window_get_position
	ldr	w2, [sp, #4]
Lloh3:
	adrp	x19, l_.str@PAGE
Lloh4:
	add	x19, x19, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	x1, x19
	bl	_sprintf
Lloh5:
	adrp	x21, _keyfile@GOTPAGE
Lloh6:
	ldr	x21, [x21, _keyfile@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh7:
	adrp	x20, l_.str.1@PAGE
Lloh8:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh9:
	adrp	x2, l_.str.2@PAGE
Lloh10:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x3, sp, #8
	mov	x1, x20
	bl	_g_key_file_set_value
	ldr	w2, [sp]
	add	x0, sp, #8
	mov	x1, x19
	bl	_sprintf
	ldr	w0, [x21]
Lloh11:
	adrp	x2, l_.str.3@PAGE
Lloh12:
	add	x2, x2, l_.str.3@PAGEOFF
	add	x3, sp, #8
	mov	x1, x20
	bl	_g_key_file_set_value
Lloh13:
	adrp	x8, _inifile@GOTPAGE
Lloh14:
	ldr	x8, [x8, _inifile@GOTPAGEOFF]
Lloh15:
	ldr	w19, [x8]
	ldr	w0, [x21]
	mov	w1, #0
	mov	w2, #0
	bl	_g_key_file_to_data
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-1
	mov	w3, #0
	bl	_g_file_set_contents
	bl	_gtk_main_quit
	ldur	x8, [x29, #-40]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	add	sp, sp, #528
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

	.comm	_keyfile,4,2                    ; @keyfile
l_.str.1:                               ; @.str.1
	.asciz	"Gtk"

l_.str.2:                               ; @.str.2
	.asciz	"X"

l_.str.3:                               ; @.str.3
	.asciz	"Y"

	.comm	_inifile,4,2                    ; @inifile
	.no_dead_strip	_yui_window_destroy
.subsections_via_symbols
