	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_yui_window_pause               ## -- Begin function yui_window_pause
	.p2align	4, 0x90
_yui_window_pause:                      ## @yui_window_pause
	.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
	movq	_YUI_IS_RUNNING@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	callq	_YUI_GL
	movl	%eax, %edi
	callq	_yui_gl_dump_screen
	movq	_SCSP_MUTE_SYSTEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ScspMuteAudio
	movl	$1, %edi
	callq	_GINT_TO_POINTER
	movl	%eax, %edi
	callq	_g_idle_remove_by_data
	movq	%rbx, %rdi
	callq	_G_OBJECT
	movq	_yui_window_signals@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_YUI_WINDOW_PAUSED_SIGNAL@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %esi
	movl	%eax, %edi
	xorl	%edx, %edx
	callq	_g_signal_emit
	movl	(%r14), %eax
	notl	%eax
	andl	%eax, (%rbx)
	movl	4(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_gtk_action_group_get_action
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_gtk_action_set_sensitive
	movl	4(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_gtk_action_group_get_action
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_gtk_action_set_sensitive       ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_YUI_IS_RUNNING,4,2             ## @YUI_IS_RUNNING
	.comm	_SCSP_MUTE_SYSTEM,4,2           ## @SCSP_MUTE_SYSTEM
	.comm	_yui_window_signals,8,3         ## @yui_window_signals
	.comm	_YUI_WINDOW_PAUSED_SIGNAL,8,3   ## @YUI_WINDOW_PAUSED_SIGNAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"run"

	.comm	_TRUE,4,2                       ## @TRUE
L_.str.1:                               ## @.str.1
	.asciz	"pause"

	.comm	_FALSE,4,2                      ## @FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_yui_window_pause               ; -- Begin function yui_window_pause
	.p2align	2
_yui_window_pause:                      ; @yui_window_pause
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x20, _YUI_IS_RUNNING@GOTPAGE
Lloh1:
	ldr	x20, [x20, _YUI_IS_RUNNING@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_YUI_GL
	bl	_yui_gl_dump_screen
Lloh2:
	adrp	x8, _SCSP_MUTE_SYSTEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SCSP_MUTE_SYSTEM@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_ScspMuteAudio
	mov	w0, #1
	bl	_GINT_TO_POINTER
	bl	_g_idle_remove_by_data
	mov	x0, x19
	bl	_G_OBJECT
Lloh5:
	adrp	x8, _yui_window_signals@GOTPAGE
Lloh6:
	ldr	x8, [x8, _yui_window_signals@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _YUI_WINDOW_PAUSED_SIGNAL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _YUI_WINDOW_PAUSED_SIGNAL@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	w1, [x8, x9, lsl #2]
	mov	w2, #0
	bl	_g_signal_emit
	ldr	w8, [x20]
	ldp	w9, w0, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_gtk_action_group_get_action
Lloh13:
	adrp	x8, _TRUE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_gtk_action_set_sensitive
	ldr	w0, [x19, #4]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_gtk_action_group_get_action
Lloh18:
	adrp	x8, _FALSE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gtk_action_set_sensitive
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_YUI_IS_RUNNING,4,2             ; @YUI_IS_RUNNING
	.comm	_SCSP_MUTE_SYSTEM,4,2           ; @SCSP_MUTE_SYSTEM
	.comm	_yui_window_signals,8,3         ; @yui_window_signals
	.comm	_YUI_WINDOW_PAUSED_SIGNAL,8,3   ; @YUI_WINDOW_PAUSED_SIGNAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"run"

	.comm	_TRUE,4,2                       ; @TRUE
l_.str.1:                               ; @.str.1
	.asciz	"pause"

	.comm	_FALSE,4,2                      ; @FALSE
.subsections_via_symbols
