	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PlayerSettings_DrawName
_PlayerSettings_DrawName:               ## @PlayerSettings_DrawName
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	32(%rdi), %rax
	movq	(%rax), %rdx
	movq	24(%rdi), %rsi
	movq	_UI_LEFT@GOTPCREL(%rip), %rax
	movq	_UI_SMALLFONT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	xorl	%r13d, %r13d
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	cmpq	%rsi, %rdx
	movq	_UI_PULSE@GOTPCREL(%rip), %rax
	cmovel	(%rax), %r13d
	movl	16(%rdi), %ebx
	movl	20(%rdi), %r14d
	movq	_text_color_highlight@GOTPCREL(%rip), %rax
	cmovneq	_text_color_normal@GOTPCREL(%rip), %rax
	orl	%ecx, %r13d
	movq	(%rax), %r8
	leaq	L_.str(%rip), %rdx
	movl	%ebx, %edi
	movl	%r14d, %esi
	movl	%r13d, %ecx
	callq	_UI_DrawProportionalString
	addl	$64, %ebx
	movl	%ebx, -84(%rbp)                 ## 4-byte Spill
	movq	_PROP_HEIGHT@GOTPCREL(%rip), %rax
	addl	(%rax), %r14d
	movl	%r14d, -88(%rbp)                ## 4-byte Spill
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movq	(%r15), %r14
	movq	_g_color_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_COLOR_BLACK@GOTPCREL(%rip), %rax
	movsbl	(%rax), %edi
	callq	_ColorIndex
	movb	(%r14), %r15b
	testb	%r15b, %r15b
	je	LBB0_7
## %bb.1:
	leaq	(%rbx,%rax,8), %rax
	movl	-84(%rbp), %ebx                 ## 4-byte Reload
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	(%rax), %r12
	addq	$2, %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=2
	movsbl	%r15b, %edx
	movl	%ebx, %edi
	movl	-88(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %ecx
	movq	%r12, %r8
	callq	_UI_DrawChar
	movq	_SMALLCHAR_WIDTH@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movzbl	-1(%r14), %r15d
	incq	%r14
	testb	%r15b, %r15b
	je	LBB0_7
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-104(%rbp), %rax                ## 8-byte Reload
	cmpq	%rax, -112(%rbp)                ## 8-byte Folded Reload
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	leaq	-2(%r14), %rdi
	callq	_Q_IsColorString
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movsbl	-1(%r14), %edi
	callq	_ColorIndex
	testl	%eax, %eax
	cltq
	movl	$7, %ecx
	cmoveq	%rcx, %rax
	shlq	$3, %rax
	movq	_g_color_table@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movb	(%r14), %r15b
	testb	%r15b, %r15b
	jne	LBB0_2
	jmp	LBB0_9
LBB0_7:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	cmpq	%rax, -112(%rbp)                ## 8-byte Folded Reload
	jne	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	callq	_trap_Key_GetOverstrikeMode
	movq	_UI_PULSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %r13d
	movq	_UI_BLINK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r13d
	movq	_SMALLCHAR_WIDTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	imull	8(%rcx), %edi
	addl	-84(%rbp), %edi                 ## 4-byte Folded Reload
	movq	_color_blue@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	cmpq	$1, %rax
	movl	$11, %edx
	sbbl	$0, %edx
	movl	-88(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %ecx
	callq	_UI_DrawChar
LBB0_9:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$32, %edx
	callq	_Q_strncpyz
	movq	%rbx, %rdi
	callq	_Q_CleanStr
	movq	_UI_CENTER@GOTPCREL(%rip), %rax
	movq	_UI_BIGFONT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_text_color_normal@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movl	$320, %edi                      ## imm = 0x140
	movl	$440, %esi                      ## imm = 0x1B8
	movq	%rbx, %rdx
	callq	_UI_DrawProportionalString
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_UI_LEFT,4,2                    ## @UI_LEFT
	.comm	_UI_SMALLFONT,4,2               ## @UI_SMALLFONT
	.comm	_text_color_normal,8,3          ## @text_color_normal
	.comm	_UI_PULSE,4,2                   ## @UI_PULSE
	.comm	_text_color_highlight,8,3       ## @text_color_highlight
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Name"

	.comm	_PROP_HEIGHT,8,3                ## @PROP_HEIGHT
	.comm	_g_color_table,8,3              ## @g_color_table
	.comm	_COLOR_BLACK,1,0                ## @COLOR_BLACK
	.comm	_SMALLCHAR_WIDTH,4,2            ## @SMALLCHAR_WIDTH
	.comm	_UI_BLINK,4,2                   ## @UI_BLINK
	.comm	_color_blue,8,3                 ## @color_blue
	.comm	_UI_CENTER,4,2                  ## @UI_CENTER
	.comm	_UI_BIGFONT,4,2                 ## @UI_BIGFONT
	.no_dead_strip	_PlayerSettings_DrawName
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PlayerSettings_DrawName
_PlayerSettings_DrawName:               ; @PlayerSettings_DrawName
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldp	x26, x8, [x0, #24]
	ldr	x27, [x8]
Lloh3:
	adrp	x8, _UI_LEFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UI_LEFT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _UI_SMALLFONT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _UI_SMALLFONT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _UI_PULSE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _UI_PULSE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _text_color_highlight@GOTPAGE
Lloh13:
	ldr	x10, [x10, _text_color_highlight@GOTPAGEOFF]
Lloh14:
	adrp	x11, _text_color_normal@GOTPAGE
Lloh15:
	ldr	x11, [x11, _text_color_normal@GOTPAGEOFF]
	cmp	x27, x26
	csel	x10, x10, x11, eq
	csel	w9, w9, wzr, eq
	orr	w20, w8, w9
	ldp	w21, w22, [x0, #16]
	ldr	x4, [x10]
Lloh16:
	adrp	x2, l_.str@PAGE
Lloh17:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	mov	x3, x20
	bl	_UI_DrawProportionalString
	add	w8, w21, #64
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
Lloh18:
	adrp	x8, _PROP_HEIGHT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PROP_HEIGHT@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	add	w21, w22, w8
	ldr	x25, [x19]
Lloh21:
	adrp	x8, _g_color_table@GOTPAGE
Lloh22:
	ldr	x8, [x8, _g_color_table@GOTPAGEOFF]
Lloh23:
	ldr	x22, [x8]
Lloh24:
	adrp	x8, _COLOR_BLACK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _COLOR_BLACK@GOTPAGEOFF]
Lloh26:
	ldrsb	w0, [x8]
	bl	_ColorIndex
	ldrb	w28, [x25]
Lloh27:
	adrp	x24, _SMALLCHAR_WIDTH@GOTPAGE
Lloh28:
	ldr	x24, [x24, _SMALLCHAR_WIDTH@GOTPAGEOFF]
	cbz	w28, LBB0_7
; %bb.1:
	add	x8, x22, x0, lsl #3
	ldr	w22, [sp, #4]                   ; 4-byte Folded Reload
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	x23, [x8]
	add	x25, x25, #2
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=2
	sxtb	w2, w28
	mov	x0, x22
	mov	x1, x21
	mov	x3, x20
	mov	x4, x23
	bl	_UI_DrawChar
	ldr	w8, [x24]
	add	w22, w8, w22
	ldurb	w28, [x25, #-1]
	add	x25, x25, #1
	cbz	w28, LBB0_7
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x27, x26
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	sub	x0, x25, #2
	bl	_Q_IsColorString
	cbz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldursb	w0, [x25, #-1]
	bl	_ColorIndex
Lloh29:
	adrp	x8, _g_color_table@GOTPAGE
Lloh30:
	ldr	x8, [x8, _g_color_table@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	sxtw	x9, w0
	cmp	w0, #0
	mov	w10, #7
	csel	x9, x10, x9, eq
	add	x8, x8, x9, lsl #3
	ldrb	w28, [x25]
	cbnz	w28, LBB0_2
	b	LBB0_9
LBB0_7:
	cmp	x27, x26
	b.ne	LBB0_9
; %bb.8:
	bl	_trap_Key_GetOverstrikeMode
Lloh32:
	adrp	x8, _UI_PULSE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _UI_PULSE@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	adrp	x9, _UI_BLINK@GOTPAGE
Lloh36:
	ldr	x9, [x9, _UI_BLINK@GOTPAGEOFF]
	bic	w8, w20, w8
Lloh37:
	ldr	w9, [x9]
	orr	w3, w8, w9
	ldr	w8, [x19, #8]
	ldr	w9, [x24]
	ldr	w10, [sp, #4]                   ; 4-byte Folded Reload
	madd	w8, w9, w8, w10
Lloh38:
	adrp	x9, _color_blue@GOTPAGE
Lloh39:
	ldr	x9, [x9, _color_blue@GOTPAGEOFF]
Lloh40:
	ldr	x4, [x9]
	cmp	x0, #0
	mov	w9, #10
	cinc	w2, w9, ne
	mov	x0, x8
	mov	x1, x21
	bl	_UI_DrawChar
LBB0_9:
	ldr	x1, [x19]
	add	x0, sp, #8
	mov	w2, #32
	bl	_Q_strncpyz
	add	x0, sp, #8
	bl	_Q_CleanStr
Lloh41:
	adrp	x8, _UI_CENTER@GOTPAGE
Lloh42:
	ldr	x8, [x8, _UI_CENTER@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
Lloh44:
	adrp	x9, _UI_BIGFONT@GOTPAGE
Lloh45:
	ldr	x9, [x9, _UI_BIGFONT@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	orr	w3, w9, w8
Lloh47:
	adrp	x8, _text_color_normal@GOTPAGE
Lloh48:
	ldr	x8, [x8, _text_color_normal@GOTPAGEOFF]
Lloh49:
	ldr	x4, [x8]
	add	x2, sp, #8
	mov	w0, #320
	mov	w1, #440
	bl	_UI_DrawProportionalString
	ldr	x8, [sp, #40]
Lloh50:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh51:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh52:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_UI_LEFT,4,2                    ; @UI_LEFT
	.comm	_UI_SMALLFONT,4,2               ; @UI_SMALLFONT
	.comm	_text_color_normal,8,3          ; @text_color_normal
	.comm	_UI_PULSE,4,2                   ; @UI_PULSE
	.comm	_text_color_highlight,8,3       ; @text_color_highlight
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Name"

	.comm	_PROP_HEIGHT,8,3                ; @PROP_HEIGHT
	.comm	_g_color_table,8,3              ; @g_color_table
	.comm	_COLOR_BLACK,1,0                ; @COLOR_BLACK
	.comm	_SMALLCHAR_WIDTH,4,2            ; @SMALLCHAR_WIDTH
	.comm	_UI_BLINK,4,2                   ; @UI_BLINK
	.comm	_color_blue,8,3                 ; @color_blue
	.comm	_UI_CENTER,4,2                  ; @UI_CENTER
	.comm	_UI_BIGFONT,4,2                 ; @UI_BIGFONT
	.no_dead_strip	_PlayerSettings_DrawName
.subsections_via_symbols
