	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function yui_vdp2_toggle
_yui_vdp2_toggle:                       ## @yui_vdp2_toggle
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movq	%rsi, %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-20(%rbp), %rdx
	callq	_sscanf
	movq	_yui_vdp2_action_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	-20(%rbp), %rcx
	movl	(%rax,%rcx,4), %esi
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_gtk_action_group_get_action
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_GTK_TOGGLE_ACTION
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_GTK_TOGGLE_ACTION
	movl	%eax, %edi
	callq	_gtk_toggle_action_get_active
	xorl	%esi, %esi
	testl	%eax, %eax
	sete	%sil
	movl	%r14d, %edi
	callq	_gtk_toggle_action_set_active
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

	.comm	_yui_vdp2_action_names,8,3      ## @yui_vdp2_action_names
	.no_dead_strip	_yui_vdp2_toggle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function yui_vdp2_toggle
_yui_vdp2_toggle:                       ; @yui_vdp2_toggle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
	mov	x0, x1
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	bl	_sscanf
Lloh2:
	adrp	x8, _yui_vdp2_action_names@GOTPAGE
Lloh3:
	ldr	x8, [x8, _yui_vdp2_action_names@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldrsw	x9, [sp, #12]
	ldr	w1, [x8, x9, lsl #2]
	cbz	w1, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_gtk_action_group_get_action
	mov	x19, x0
	bl	_GTK_TOGGLE_ACTION
	mov	x20, x0
	mov	x0, x19
	bl	_GTK_TOGGLE_ACTION
	bl	_gtk_toggle_action_get_active
	cmp	w0, #0
	cset	w1, eq
	mov	x0, x20
	bl	_gtk_toggle_action_set_active
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

	.comm	_yui_vdp2_action_names,8,3      ; @yui_vdp2_action_names
	.no_dead_strip	_yui_vdp2_toggle
.subsections_via_symbols
