	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_ShutdownUI                  ## -- Begin function CL_ShutdownUI
	.p2align	4, 0x90
_CL_ShutdownUI:                         ## @CL_ShutdownUI
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_KEYCATCH_UI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	_cls@GOTPCREL(%rip), %rcx
	andl	%eax, 4(%rcx)
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx)
	movq	_uivm@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	_UI_SHUTDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_VM_Call
	movq	(%rbx), %rdi
	callq	_VM_Free
	movq	$0, (%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KEYCATCH_UI,4,2                ## @KEYCATCH_UI
	.comm	_cls,8,2                        ## @cls
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_uivm,8,3                       ## @uivm
	.comm	_UI_SHUTDOWN,4,2                ## @UI_SHUTDOWN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_ShutdownUI                  ; -- Begin function CL_ShutdownUI
	.p2align	2
_CL_ShutdownUI:                         ; @CL_ShutdownUI
	.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
Lloh0:
	adrp	x8, _KEYCATCH_UI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KEYCATCH_UI@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _cls@GOTPAGE
Lloh4:
	ldr	x9, [x9, _cls@GOTPAGEOFF]
	ldr	w10, [x9, #4]
	bic	w8, w10, w8
Lloh5:
	adrp	x10, _qfalse@GOTPAGE
Lloh6:
	ldr	x10, [x10, _qfalse@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	stp	w10, w8, [x9]
Lloh8:
	adrp	x19, _uivm@GOTPAGE
Lloh9:
	ldr	x19, [x19, _uivm@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_2
; %bb.1:
Lloh10:
	adrp	x8, _UI_SHUTDOWN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _UI_SHUTDOWN@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_VM_Call
	ldr	x0, [x19]
	bl	_VM_Free
	str	xzr, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_KEYCATCH_UI,4,2                ; @KEYCATCH_UI
	.comm	_cls,8,2                        ; @cls
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_uivm,8,3                       ; @uivm
	.comm	_UI_SHUTDOWN,4,2                ; @UI_SHUTDOWN
.subsections_via_symbols
