	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_yui_resolution_new             ## -- Begin function yui_resolution_new
	.p2align	4, 0x90
_yui_resolution_new:                    ## @yui_resolution_new
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_yui_resolution_get_type
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rcx
	movl	%eax, %edi
	movq	%rbx, %rdx
	movq	%r14, %r8
	xorl	%r9d, %r9d
	callq	_g_object_new
	movl	%eax, %edi
	callq	_GTK_WIDGET
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_YUI_RESOLUTION
	movq	%rax, %rbx
	movl	4(%rax), %esi
	movl	8(%rax), %edi
	leaq	L_.str.2(%rip), %rdx
	xorl	%ecx, %ecx
	callq	_g_key_file_get_value
	movq	%rax, %r12
	testq	%rax, %rax
	leaq	L_.str.3(%rip), %r15
	cmoveq	%r15, %r12
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	leaq	L_.str.4(%rip), %rdx
	xorl	%ecx, %ecx
	callq	_g_key_file_get_value
	testq	%rax, %rax
	cmovneq	%rax, %r15
	movl	16(%rbx), %edi
	callq	_GTK_ENTRY
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_gtk_entry_set_text
	movl	12(%rbx), %edi
	callq	_GTK_ENTRY
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_gtk_entry_set_text
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	leaq	L_.str.5(%rip), %rdx
	xorl	%ecx, %ecx
	callq	_g_key_file_get_integer
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	callq	_GTK_COMBO_BOX
	movl	%eax, %edi
	movl	$1, %esi
	jmp	LBB0_5
LBB0_2:
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	leaq	L_.str.6(%rip), %rdx
	xorl	%ecx, %ecx
	callq	_g_key_file_get_integer
	movl	%eax, %r15d
	movl	(%rbx), %edi
	callq	_GTK_COMBO_BOX
	movl	%eax, %edi
	cmpl	$1, %r15d
	jne	LBB0_4
## %bb.3:
	movl	$2, %esi
	jmp	LBB0_5
LBB0_4:
	xorl	%esi, %esi
LBB0_5:
	callq	_gtk_combo_box_set_active
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"key-file"

L_.str.1:                               ## @.str.1
	.asciz	"group"

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

L_.str.3:                               ## @.str.3
	.space	1

L_.str.4:                               ## @.str.4
	.asciz	"Height"

L_.str.5:                               ## @.str.5
	.asciz	"Fullscreen"

L_.str.6:                               ## @.str.6
	.asciz	"KeepRatio"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_yui_resolution_new             ; -- Begin function yui_resolution_new
	.p2align	2
_yui_resolution_new:                    ; @yui_resolution_new
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_yui_resolution_get_type
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
Lloh2:
	adrp	x3, l_.str.1@PAGE
Lloh3:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x2, x20
	mov	x4, x19
	mov	x5, #0
	bl	_g_object_new
	bl	_GTK_WIDGET
	mov	x19, x0
	bl	_YUI_RESOLUTION
	mov	x20, x0
	ldr	w0, [x0, #8]
	ldr	w1, [x20, #4]
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w3, #0
	bl	_g_key_file_get_value
Lloh6:
	adrp	x22, l_.str.3@PAGE
Lloh7:
	add	x22, x22, l_.str.3@PAGEOFF
	cmp	x0, #0
	csel	x21, x22, x0, eq
	ldp	w1, w0, [x20, #4]
Lloh8:
	adrp	x2, l_.str.4@PAGE
Lloh9:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	w3, #0
	bl	_g_key_file_get_value
	cmp	x0, #0
	csel	x22, x22, x0, eq
	ldr	w0, [x20, #16]
	bl	_GTK_ENTRY
	mov	x1, x21
	bl	_gtk_entry_set_text
	ldr	w0, [x20, #12]
	bl	_GTK_ENTRY
	mov	x1, x22
	bl	_gtk_entry_set_text
	ldp	w1, w0, [x20, #4]
Lloh10:
	adrp	x2, l_.str.5@PAGE
Lloh11:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	w3, #0
	bl	_g_key_file_get_integer
	cmp	w0, #1
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x20]
	bl	_GTK_COMBO_BOX
	mov	w1, #1
	b	LBB0_5
LBB0_2:
	ldp	w1, w0, [x20, #4]
Lloh12:
	adrp	x2, l_.str.6@PAGE
Lloh13:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	w3, #0
	bl	_g_key_file_get_integer
	mov	x21, x0
	ldr	w0, [x20]
	bl	_GTK_COMBO_BOX
	cmp	w21, #1
	b.ne	LBB0_4
; %bb.3:
	mov	w1, #2
	b	LBB0_5
LBB0_4:
	mov	w1, #0
LBB0_5:
	bl	_gtk_combo_box_set_active
	mov	x0, x19
	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
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"key-file"

l_.str.1:                               ; @.str.1
	.asciz	"group"

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

l_.str.3:                               ; @.str.3
	.space	1

l_.str.4:                               ; @.str.4
	.asciz	"Height"

l_.str.5:                               ; @.str.5
	.asciz	"Fullscreen"

l_.str.6:                               ; @.str.6
	.asciz	"KeepRatio"

.subsections_via_symbols
