	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UICloseDialogue                ## -- Begin function UICloseDialogue
	.p2align	4, 0x90
_UICloseDialogue:                       ## @UICloseDialogue
	.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	_menu_layout@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_MENU_LAYOUT_INITIAL_X@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_2:
	movq	_MENU_CLOSED_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_text_out_speed@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_UIMoveTo
	movq	_text_count@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_text_lines@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movb	$0, (%rax)
	movq	_text_tile_count@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_text_num_lines@GOTPCREL(%rip), %rax
	movl	$3, (%rax)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_menu_enabled@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	$0, (%rbx)
	movq	_avatar_enabled@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_menu_layout,8,3                ## @menu_layout
	.comm	_MENU_LAYOUT_INITIAL_X,4,2      ## @MENU_LAYOUT_INITIAL_X
	.comm	_MENU_CLOSED_Y,4,2              ## @MENU_CLOSED_Y
	.comm	_text_out_speed,4,2             ## @text_out_speed
	.comm	_text_count,8,3                 ## @text_count
	.comm	_text_lines,8,3                 ## @text_lines
	.comm	_text_tile_count,8,3            ## @text_tile_count
	.comm	_text_num_lines,4,2             ## @text_num_lines
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_menu_enabled,8,3               ## @menu_enabled
	.comm	_avatar_enabled,8,3             ## @avatar_enabled
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UICloseDialogue                ; -- Begin function UICloseDialogue
	.p2align	2
_UICloseDialogue:                       ; @UICloseDialogue
	.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	x19, _menu_layout@GOTPAGE
Lloh1:
	ldr	x19, [x19, _menu_layout@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _MENU_LAYOUT_INITIAL_X@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MENU_LAYOUT_INITIAL_X@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w0, wzr, w9, eq
Lloh5:
	adrp	x8, _MENU_CLOSED_Y@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MENU_CLOSED_Y@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _text_out_speed@GOTPAGE
Lloh9:
	ldr	x8, [x8, _text_out_speed@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	bl	_UIMoveTo
Lloh11:
	adrp	x8, _text_count@GOTPAGE
Lloh12:
	ldr	x8, [x8, _text_count@GOTPAGEOFF]
Lloh13:
	str	xzr, [x8]
Lloh14:
	adrp	x8, _text_lines@GOTPAGE
Lloh15:
	ldr	x8, [x8, _text_lines@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	strb	wzr, [x8]
Lloh17:
	adrp	x8, _text_tile_count@GOTPAGE
Lloh18:
	ldr	x8, [x8, _text_tile_count@GOTPAGEOFF]
Lloh19:
	str	xzr, [x8]
Lloh20:
	adrp	x8, _text_num_lines@GOTPAGE
Lloh21:
	ldr	x8, [x8, _text_num_lines@GOTPAGEOFF]
	mov	w9, #3
Lloh22:
	str	w9, [x8]
Lloh23:
	adrp	x8, _FALSE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh25:
	adrp	x9, _menu_enabled@GOTPAGE
Lloh26:
	ldr	x9, [x9, _menu_enabled@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
Lloh28:
	str	x8, [x9]
	str	xzr, [x19]
Lloh29:
	adrp	x9, _avatar_enabled@GOTPAGE
Lloh30:
	ldr	x9, [x9, _avatar_enabled@GOTPAGEOFF]
Lloh31:
	str	x8, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh27
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_menu_layout,8,3                ; @menu_layout
	.comm	_MENU_LAYOUT_INITIAL_X,4,2      ; @MENU_LAYOUT_INITIAL_X
	.comm	_MENU_CLOSED_Y,4,2              ; @MENU_CLOSED_Y
	.comm	_text_out_speed,4,2             ; @text_out_speed
	.comm	_text_count,8,3                 ; @text_count
	.comm	_text_lines,8,3                 ; @text_lines
	.comm	_text_tile_count,8,3            ; @text_tile_count
	.comm	_text_num_lines,4,2             ; @text_num_lines
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_menu_enabled,8,3               ; @menu_enabled
	.comm	_avatar_enabled,8,3             ; @avatar_enabled
.subsections_via_symbols
