	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_yui_conf                       ## -- Begin function yui_conf
	.p2align	4, 0x90
_yui_conf:                              ## @yui_conf
	.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
	xorl	%eax, %eax
	callq	_create_dialog1
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_GTK_DIALOG
	movl	%eax, %edi
	callq	_gtk_dialog_run
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_gtk_widget_destroy
	cmpl	$129, %r14d
	je	LBB0_4
## %bb.1:
	cmpl	$128, %r14d
	jne	LBB0_5
## %bb.2:
	movq	_inifile@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_keyfile@GOTPCREL(%rip), %rax
	movl	(%rax), %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	_yui_settings_load
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movq	_yui@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GTK_WINDOW
	movq	_GTK_DIALOG_MODAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_GTK_MESSAGE_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_GTK_BUTTONS_OK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	L_.str(%rip), %r8
	movl	%eax, %edi
	callq	_gtk_message_dialog_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_GTK_DIALOG
	movl	%eax, %edi
	callq	_gtk_dialog_run
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_gtk_widget_destroy             ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	_keyfile@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_inifile@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_G_KEY_FILE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_g_key_file_load_from_file      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_inifile,4,2                    ## @inifile
	.comm	_keyfile,4,2                    ## @keyfile
	.comm	_yui,4,2                        ## @yui
	.comm	_GTK_DIALOG_MODAL,4,2           ## @GTK_DIALOG_MODAL
	.comm	_GTK_MESSAGE_WARNING,4,2        ## @GTK_MESSAGE_WARNING
	.comm	_GTK_BUTTONS_OK,4,2             ## @GTK_BUTTONS_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"You must restart Yabause before the changes take effect."

	.comm	_G_KEY_FILE_NONE,4,2            ## @G_KEY_FILE_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_yui_conf                       ; -- Begin function yui_conf
	.p2align	2
_yui_conf:                              ; @yui_conf
	.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
	bl	_create_dialog1
	mov	x20, x0
	bl	_GTK_DIALOG
	bl	_gtk_dialog_run
	mov	x19, x0
	mov	x0, x20
	bl	_gtk_widget_destroy
	cmp	w19, #129
	b.eq	LBB0_5
; %bb.1:
	cmp	w19, #128
	b.ne	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _inifile@GOTPAGE
Lloh1:
	ldr	x8, [x8, _inifile@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x8, _keyfile@GOTPAGE
Lloh4:
	ldr	x8, [x8, _keyfile@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	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	_yui_settings_load
	cbz	w0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _yui@GOTPAGE
Lloh7:
	ldr	x8, [x8, _yui@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_GTK_WINDOW
Lloh9:
	adrp	x8, _GTK_DIALOG_MODAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GTK_DIALOG_MODAL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _GTK_MESSAGE_WARNING@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GTK_MESSAGE_WARNING@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _GTK_BUTTONS_OK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GTK_BUTTONS_OK@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
Lloh18:
	adrp	x4, l_.str@PAGE
Lloh19:
	add	x4, x4, l_.str@PAGEOFF
	bl	_gtk_message_dialog_new
	mov	x19, x0
	bl	_GTK_DIALOG
	bl	_gtk_dialog_run
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gtk_widget_destroy
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh20:
	adrp	x8, _keyfile@GOTPAGE
Lloh21:
	ldr	x8, [x8, _keyfile@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x8, _inifile@GOTPAGE
Lloh24:
	ldr	x8, [x8, _inifile@GOTPAGEOFF]
Lloh25:
	adrp	x9, _G_KEY_FILE_NONE@GOTPAGE
Lloh26:
	ldr	x9, [x9, _G_KEY_FILE_NONE@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	ldr	w2, [x9]
	mov	w3, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_g_key_file_load_from_file
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh27
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_inifile,4,2                    ; @inifile
	.comm	_keyfile,4,2                    ; @keyfile
	.comm	_yui,4,2                        ; @yui
	.comm	_GTK_DIALOG_MODAL,4,2           ; @GTK_DIALOG_MODAL
	.comm	_GTK_MESSAGE_WARNING,4,2        ; @GTK_MESSAGE_WARNING
	.comm	_GTK_BUTTONS_OK,4,2             ; @GTK_BUTTONS_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"You must restart Yabause before the changes take effect."

	.comm	_G_KEY_FILE_NONE,4,2            ; @G_KEY_FILE_NONE
.subsections_via_symbols
