	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_SaveConfigMenu_SavenameDraw
_UI_SaveConfigMenu_SavenameDraw:        ## @UI_SaveConfigMenu_SavenameDraw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_saveConfig@GOTPCREL(%rip), %rdi
	callq	_Menu_ItemAtCursor
	movq	_UI_LEFT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	cmpq	%rbx, %rax
	je	LBB0_1
## %bb.2:
	movq	_UI_SMALLFONT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	orl	%ecx, %r14d
	movq	_colorRed@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_UI_PULSE@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movq	_UI_SMALLFONT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	orl	%ecx, %r14d
	movq	_text_color_highlight@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %r15
	movq	_UI_CENTER@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_color_blue@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rdx
	movl	$320, %edi                      ## imm = 0x140
	movl	$192, %esi
	callq	_UI_DrawProportionalString
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	leaq	8(%rbx), %r12
	movq	_SMALLCHAR_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	imull	8(%rbx), %edx
	movq	_SMALLCHAR_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_colorBlack@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	callq	_UI_FillRect
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movq	%r12, %rdi
	movl	%r14d, %ecx
	movq	%r15, %r8
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MField_Draw                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_saveConfig,4,2                 ## @saveConfig
	.comm	_UI_LEFT,4,2                    ## @UI_LEFT
	.comm	_UI_PULSE,4,2                   ## @UI_PULSE
	.comm	_UI_SMALLFONT,4,2               ## @UI_SMALLFONT
	.comm	_text_color_highlight,8,3       ## @text_color_highlight
	.comm	_colorRed,8,3                   ## @colorRed
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter filename:"

	.comm	_UI_CENTER,4,2                  ## @UI_CENTER
	.comm	_color_blue,4,2                 ## @color_blue
	.comm	_SMALLCHAR_WIDTH,4,2            ## @SMALLCHAR_WIDTH
	.comm	_SMALLCHAR_HEIGHT,4,2           ## @SMALLCHAR_HEIGHT
	.comm	_colorBlack,4,2                 ## @colorBlack
	.no_dead_strip	_UI_SaveConfigMenu_SavenameDraw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_SaveConfigMenu_SavenameDraw
_UI_SaveConfigMenu_SavenameDraw:        ; @UI_SaveConfigMenu_SavenameDraw
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x0, _saveConfig@GOTPAGE
Lloh1:
	ldr	x0, [x0, _saveConfig@GOTPAGEOFF]
	bl	_Menu_ItemAtCursor
Lloh2:
	adrp	x8, _UI_LEFT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _UI_LEFT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x8]
	cmp	x0, x19
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _UI_SMALLFONT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UI_SMALLFONT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	orr	w20, w8, w9
Lloh8:
	adrp	x9, _colorRed@GOTPAGE
Lloh9:
	ldr	x9, [x9, _colorRed@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh10:
	adrp	x8, _UI_PULSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _UI_PULSE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	orr	w9, w8, w9
Lloh13:
	adrp	x8, _UI_SMALLFONT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _UI_SMALLFONT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	orr	w20, w9, w8
Lloh16:
	adrp	x9, _text_color_highlight@GOTPAGE
Lloh17:
	ldr	x9, [x9, _text_color_highlight@GOTPAGEOFF]
LBB0_3:
Lloh18:
	adrp	x10, _UI_CENTER@GOTPAGE
Lloh19:
	ldr	x10, [x10, _UI_CENTER@GOTPAGEOFF]
	ldr	x21, [x9]
Lloh20:
	ldr	w9, [x10]
	orr	w3, w8, w9
Lloh21:
	adrp	x8, _color_blue@GOTPAGE
Lloh22:
	ldr	x8, [x8, _color_blue@GOTPAGEOFF]
Lloh23:
	ldr	w4, [x8]
Lloh24:
	adrp	x2, l_.str@PAGE
Lloh25:
	add	x2, x2, l_.str@PAGEOFF
	mov	w0, #320
	mov	w1, #192
	bl	_UI_DrawProportionalString
	ldp	w1, w0, [x19]
	mov	x22, x19
	ldr	w8, [x22, #8]!
Lloh26:
	adrp	x9, _SMALLCHAR_WIDTH@GOTPAGE
Lloh27:
	ldr	x9, [x9, _SMALLCHAR_WIDTH@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	mul	w2, w9, w8
Lloh29:
	adrp	x8, _SMALLCHAR_HEIGHT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SMALLCHAR_HEIGHT@GOTPAGEOFF]
Lloh31:
	ldr	w3, [x8]
Lloh32:
	adrp	x8, _colorBlack@GOTPAGE
Lloh33:
	ldr	x8, [x8, _colorBlack@GOTPAGEOFF]
Lloh34:
	ldr	w4, [x8]
	bl	_UI_FillRect
	ldp	w2, w1, [x19]
	mov	x0, x22
	mov	x3, x20
	mov	x4, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_MField_Draw
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_saveConfig,4,2                 ; @saveConfig
	.comm	_UI_LEFT,4,2                    ; @UI_LEFT
	.comm	_UI_PULSE,4,2                   ; @UI_PULSE
	.comm	_UI_SMALLFONT,4,2               ; @UI_SMALLFONT
	.comm	_text_color_highlight,8,3       ; @text_color_highlight
	.comm	_colorRed,8,3                   ; @colorRed
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter filename:"

	.comm	_UI_CENTER,4,2                  ; @UI_CENTER
	.comm	_color_blue,4,2                 ; @color_blue
	.comm	_SMALLCHAR_WIDTH,4,2            ; @SMALLCHAR_WIDTH
	.comm	_SMALLCHAR_HEIGHT,4,2           ; @SMALLCHAR_HEIGHT
	.comm	_colorBlack,4,2                 ; @colorBlack
	.no_dead_strip	_UI_SaveConfigMenu_SavenameDraw
.subsections_via_symbols
