	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function Field_VariableSizeDraw
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_Field_VariableSizeDraw
	.p2align	4, 0x90
_Field_VariableSizeDraw:                ## @Field_VariableSizeDraw
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movl	%r8d, -56(%rbp)                 ## 4-byte Spill
	movl	%edx, -68(%rbp)                 ## 4-byte Spill
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_STRING_CHARS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movl	(%r13), %ebx
	leal	-1(%rbx), %r14d
	movq	8(%r13), %rdi
	callq	_strlen
	xorl	%r12d, %r12d
	cmpl	%ebx, %eax
	jl	LBB0_3
## %bb.1:
	movl	16(%r13), %r12d
	leal	(%r12,%r14), %ecx
	cmpl	%eax, %ecx
	jle	LBB0_3
## %bb.2:
	movl	%eax, %ecx
	subl	%r14d, %ecx
	xorl	%r12d, %r12d
	testl	%ecx, %ecx
	cmovgl	%ecx, %r12d
	movl	%r12d, 16(%r13)
LBB0_3:
	leal	(%r12,%r14), %ecx
	movl	%eax, %r15d
	subl	%r12d, %r15d
	cmpl	%eax, %ecx
	cmovlel	%r14d, %r15d
	movq	_MAX_STRING_CHARS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jl	LBB0_5
## %bb.4:
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_Com_Error
LBB0_5:
	movq	16(%rbp), %r14
	movslq	%r12d, %rsi
	addq	8(%r13), %rsi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_Com_Memcpy
	movq	%rbx, %rdx
	movslq	%r15d, %rax
	movb	$0, (%rbx,%rax)
	movq	_SMALLCHAR_WIDTH@GOTPCREL(%rip), %rcx
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, (%rcx)
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_7
## %bb.6:
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [1.0E+0,1.0E+0,1.0E+0,1.0E+0]
	movaps	%xmm0, -96(%rbp)
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	leaq	-96(%rbp), %rcx
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %esi
	movq	%r14, %r9
	callq	_SCR_DrawSmallStringExt
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_9
	jmp	LBB0_13
LBB0_7:
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %esi
	movq	%r14, %rcx
	callq	_SCR_DrawBigString
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_13
LBB0_9:
	movq	_cls@GOTPCREL(%rip), %rax
	testb	$1, 1(%rax)
	jne	LBB0_13
## %bb.10:
	movq	_key_overstrikeMode@GOTPCREL(%rip), %rax
	cmpq	$1, (%rax)
	movl	$11, %r14d
	sbbl	$0, %r14d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_strlen
	subl	%r15d, %eax
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movq	_SMALLCHAR_WIDTH@GOTPCREL(%rip), %rdx
	cmpl	%ecx, (%rdx)
	jne	LBB0_12
## %bb.11:
	subl	%r12d, %eax
	addl	20(%r13), %eax
	imull	%ecx, %eax
	addl	-52(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%eax, %edi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_SCR_DrawSmallChar
	jmp	LBB0_13
LBB0_12:
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movb	%r14b, (%rdx)
	movb	$0, 1(%rdx)
	subl	%r12d, %eax
	addl	20(%r13), %eax
	imull	%ecx, %eax
	addl	-52(%rbp), %eax                 ## 4-byte Folded Reload
	movq	_qfalse@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_SCR_DrawBigString
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_STRING_CHARS,4,2           ## @MAX_STRING_CHARS
	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"drawLen >= MAX_STRING_CHARS"

	.comm	_SMALLCHAR_WIDTH,4,2            ## @SMALLCHAR_WIDTH
	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_cls,4,2                        ## @cls
	.comm	_key_overstrikeMode,8,3         ## @key_overstrikeMode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Field_VariableSizeDraw         ; -- Begin function Field_VariableSizeDraw
	.p2align	2
_Field_VariableSizeDraw:                ; @Field_VariableSizeDraw
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #32
	mov	x25, x6
	mov	x24, x5
	mov	x20, x4
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x28, _MAX_STRING_CHARS@GOTPAGE
Lloh4:
	ldr	x28, [x28, _MAX_STRING_CHARS@GOTPAGEOFF]
	ldr	w8, [x28]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	ldr	w27, [x0]
	sub	w26, w27, #1
	ldr	x0, [x0, #8]
	bl	_strlen
	cmp	w0, w27
	b.ge	LBB0_2
; %bb.1:
	mov	w27, #0
	b	LBB0_4
LBB0_2:
	ldr	w27, [x22, #16]
	add	w8, w27, w26
	cmp	w8, w0
	b.le	LBB0_4
; %bb.3:
	sub	w8, w0, w26
	cmp	w8, #0
	csel	w27, w8, wzr, gt
	str	w27, [x22, #16]
LBB0_4:
	sub	w8, w0, w27
	add	w9, w27, w26
	cmp	w9, w0
	csel	w26, w8, w26, gt
	ldr	w8, [x28]
	cmp	w26, w8
	b.lt	LBB0_6
; %bb.5:
Lloh7:
	adrp	x8, _ERR_DROP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERR_DROP@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Com_Error
LBB0_6:
	ldr	x8, [x22, #8]
	add	x1, x8, w27, sxtw
	mov	x0, x23
	mov	x2, x26
	bl	_Com_Memcpy
	strb	wzr, [x23, w26, sxtw]
Lloh12:
	adrp	x28, _SMALLCHAR_WIDTH@GOTPAGE
Lloh13:
	ldr	x28, [x28, _SMALLCHAR_WIDTH@GOTPAGEOFF]
	ldr	w8, [x28]
	cmp	w8, w20
	b.ne	LBB0_8
; %bb.7:
	fmov.4s	v0, #1.00000000
	stur	q0, [x29, #-112]
Lloh14:
	adrp	x8, _qfalse@GOTPAGE
Lloh15:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh16:
	ldr	x4, [x8]
	sub	x3, x29, #112
	mov	x0, x21
	mov	x1, x19
	mov	x2, x23
	mov	x5, x25
	bl	_SCR_DrawSmallStringExt
	cbnz	x24, LBB0_9
	b	LBB0_13
LBB0_8:
	fmov	d0, #1.00000000
	mov	x0, x21
	mov	x1, x19
	mov	x2, x23
	mov	x3, x25
	bl	_SCR_DrawBigString
	cbz	x24, LBB0_13
LBB0_9:
Lloh17:
	adrp	x8, _cls@GOTPAGE
Lloh18:
	ldr	x8, [x8, _cls@GOTPAGEOFF]
	ldrb	w8, [x8, #1]
	tbnz	w8, #0, LBB0_13
; %bb.10:
Lloh19:
	adrp	x8, _key_overstrikeMode@GOTPAGE
Lloh20:
	ldr	x8, [x8, _key_overstrikeMode@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cmp	x8, #0
	mov	w8, #10
	cinc	w24, w8, ne
	mov	x0, x23
	bl	_strlen
	sub	w8, w0, w26
	ldr	w9, [x28]
	cmp	w9, w20
	b.ne	LBB0_12
; %bb.11:
	ldr	w9, [x22, #20]
	sub	w8, w8, w27
	add	w8, w8, w9
	madd	w0, w8, w20, w21
	mov	x1, x19
	mov	x2, x24
	bl	_SCR_DrawSmallChar
	b	LBB0_13
LBB0_12:
	strb	w24, [x23]
	strb	wzr, [x23, #1]
	ldr	w9, [x22, #20]
	sub	w8, w8, w27
	add	w8, w8, w9
	madd	w0, w8, w20, w21
Lloh22:
	adrp	x8, _qfalse@GOTPAGE
Lloh23:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh24:
	ldr	x3, [x8]
	fmov	d0, #1.00000000
	mov	x1, x19
	mov	x2, x23
	bl	_SCR_DrawBigString
LBB0_13:
	ldur	x8, [x29, #-88]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_STRING_CHARS,4,2           ; @MAX_STRING_CHARS
	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"drawLen >= MAX_STRING_CHARS"

	.comm	_SMALLCHAR_WIDTH,4,2            ; @SMALLCHAR_WIDTH
	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_cls,4,2                        ; @cls
	.comm	_key_overstrikeMode,8,3         ; @key_overstrikeMode
.subsections_via_symbols
