	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_yui_vdp1_new                   ## -- Begin function yui_vdp1_new
	.p2align	4, 0x90
_yui_vdp1_new:                          ## @yui_vdp1_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_yui_vdp1_get_type
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_g_object_new
	movq	%rax, %rdi
	callq	_GTK_WIDGET
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_YUI_VDP1
	movq	%rax, %rbx
	movq	%r15, (%rax)
	movq	_YUI_IS_INIT@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	testl	%eax, (%r15)
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_yui_window_run
	movq	(%rbx), %rdi
	callq	_yui_window_pause
LBB0_2:
	leaq	L_.str(%rip), %r15
	movq	%r15, %rdi
	callq	_gtk_tool_button_new_from_stock
	movq	%rax, %r12
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	movq	%r15, %rsi
	callq	_gtk_action_group_get_action
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_GTK_WIDGET
	movl	%r15d, %edi
	movq	%rax, %rsi
	callq	_gtk_action_connect_proxy
	movl	24(%rbx), %edi
	callq	_GTK_TOOLBAR
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_GTK_TOOL_ITEM
	movl	%r15d, %edi
	movl	%eax, %esi
	movl	$-1, %edx
	callq	_gtk_toolbar_insert
	leaq	L_.str.1(%rip), %r15
	movq	%r15, %rdi
	callq	_gtk_tool_button_new_from_stock
	movq	%rax, %r12
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	movq	%r15, %rsi
	callq	_gtk_action_group_get_action
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_GTK_WIDGET
	movl	%r15d, %edi
	movq	%rax, %rsi
	callq	_gtk_action_connect_proxy
	movl	24(%rbx), %edi
	callq	_GTK_TOOLBAR
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_GTK_TOOL_ITEM
	movl	%r15d, %edi
	movl	%eax, %esi
	movl	$-1, %edx
	callq	_gtk_toolbar_insert
	movq	(%rbx), %r15
	movq	_yui_vdp1_update@GOTPCREL(%rip), %rdi
	callq	_G_CALLBACK
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	movq	%rbx, %rcx
	callq	_g_signal_connect_swapped
	movq	%rax, 16(%rbx)
	movq	(%rbx), %r15
	movq	_yui_vdp1_clear@GOTPCREL(%rip), %rdi
	callq	_G_CALLBACK
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	movq	%rbx, %rcx
	callq	_g_signal_connect_swapped
	movq	%rax, 8(%rbx)
	movq	(%rbx), %rax
	movq	_YUI_IS_RUNNING@GOTPCREL(%rip), %rcx
	movl	(%r13), %edx
	movl	(%rcx), %ecx
	orl	%edx, %ecx
	andl	(%rax), %ecx
	cmpl	%edx, %ecx
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_yui_vdp1_update
LBB0_4:
	movq	%rbx, %rdi
	callq	_GTK_WIDGET
	movq	%rax, %rdi
	callq	_gtk_widget_show_all
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_YUI_IS_INIT,4,2                ## @YUI_IS_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"run"

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

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

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

	.comm	_YUI_IS_RUNNING,4,2             ## @YUI_IS_RUNNING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_yui_vdp1_new                   ; -- Begin function yui_vdp1_new
	.p2align	2
_yui_vdp1_new:                          ; @yui_vdp1_new
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x0
	bl	_yui_vdp1_get_type
	mov	x1, #0
	bl	_g_object_new
	bl	_GTK_WIDGET
	mov	x19, x0
	bl	_YUI_VDP1
	mov	x20, x0
	str	x21, [x0]
	ldr	w8, [x21]
Lloh0:
	adrp	x23, _YUI_IS_INIT@GOTPAGE
Lloh1:
	ldr	x23, [x23, _YUI_IS_INIT@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_yui_window_run
	ldr	x0, [x20]
	bl	_yui_window_pause
LBB0_2:
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
	mov	x0, x21
	bl	_gtk_tool_button_new_from_stock
	mov	x22, x0
	ldr	x8, [x20]
	ldr	w0, [x8, #4]
	mov	x1, x21
	bl	_gtk_action_group_get_action
	mov	x21, x0
	mov	x0, x22
	bl	_GTK_WIDGET
	mov	x1, x0
	mov	x0, x21
	bl	_gtk_action_connect_proxy
	ldr	w0, [x20, #24]
	bl	_GTK_TOOLBAR
	mov	x21, x0
	mov	x0, x22
	bl	_GTK_TOOL_ITEM
	mov	x1, x0
	mov	x0, x21
	mov	w2, #-1
	bl	_gtk_toolbar_insert
Lloh4:
	adrp	x21, l_.str.1@PAGE
Lloh5:
	add	x21, x21, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_gtk_tool_button_new_from_stock
	mov	x22, x0
	ldr	x8, [x20]
	ldr	w0, [x8, #4]
	mov	x1, x21
	bl	_gtk_action_group_get_action
	mov	x21, x0
	mov	x0, x22
	bl	_GTK_WIDGET
	mov	x1, x0
	mov	x0, x21
	bl	_gtk_action_connect_proxy
	ldr	w0, [x20, #24]
	bl	_GTK_TOOLBAR
	mov	x21, x0
	mov	x0, x22
	bl	_GTK_TOOL_ITEM
	mov	x1, x0
	mov	x0, x21
	mov	w2, #-1
	bl	_gtk_toolbar_insert
	ldr	x21, [x20]
Lloh6:
	adrp	x0, _yui_vdp1_update@GOTPAGE
Lloh7:
	ldr	x0, [x0, _yui_vdp1_update@GOTPAGEOFF]
	bl	_G_CALLBACK
	mov	x2, x0
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x3, x20
	bl	_g_signal_connect_swapped
	str	x0, [x20, #16]
	ldr	x21, [x20]
Lloh10:
	adrp	x0, _yui_vdp1_clear@GOTPAGE
Lloh11:
	ldr	x0, [x0, _yui_vdp1_clear@GOTPAGEOFF]
	bl	_G_CALLBACK
	mov	x2, x0
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	x3, x20
	bl	_g_signal_connect_swapped
	str	x0, [x20, #8]
	ldr	x8, [x20]
Lloh14:
	adrp	x9, _YUI_IS_RUNNING@GOTPAGE
Lloh15:
	ldr	x9, [x9, _YUI_IS_RUNNING@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh16:
	ldr	w9, [x9]
	ldr	w10, [x23]
	orr	w9, w10, w9
	and	w8, w9, w8
	cmp	w8, w10
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_yui_vdp1_update
LBB0_4:
	mov	x0, x20
	bl	_GTK_WIDGET
	bl	_gtk_widget_show_all
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_YUI_IS_INIT,4,2                ; @YUI_IS_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"run"

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

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

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

	.comm	_YUI_IS_RUNNING,4,2             ; @YUI_IS_RUNNING
.subsections_via_symbols
