	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Menu_RunCloseScript
_Menu_RunCloseScript:                   ## @Menu_RunCloseScript
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	_WINDOW_VISIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rdi)
	je	LBB0_4
## %bb.2:
	movq	(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	movq	%rdi, -8(%rbp)
	leaq	-8(%rbp), %rdi
	callq	_Item_RunScript
LBB0_4:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINDOW_VISIBLE,4,2             ## @WINDOW_VISIBLE
	.no_dead_strip	_Menu_RunCloseScript
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Menu_RunCloseScript
_Menu_RunCloseScript:                   ; @Menu_RunCloseScript
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w8, [x0, #8]
Lloh0:
	adrp	x9, _WINDOW_VISIBLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WINDOW_VISIBLE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
	ldr	x1, [x0]
	cbz	x1, LBB0_4
; %bb.3:
	str	x0, [sp, #8]
	add	x0, sp, #8
	bl	_Item_RunScript
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WINDOW_VISIBLE,4,2             ; @WINDOW_VISIBLE
	.no_dead_strip	_Menu_RunCloseScript
.subsections_via_symbols
