	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function UI_DrawProportionalString2
LCPI0_0:
	.long	0x3b800000                      ## float 0.00390625
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_UI_DrawProportionalString2:            ## @UI_DrawProportionalString2
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movq	%rdx, %rbx
	movl	%esi, %r12d
	movl	%edi, %r15d
	movq	%rcx, %rdi
	callq	_trap_R_SetColor
	movss	-44(%rbp), %xmm8                ## 4-byte Reload
                                        ## xmm8 = mem[0],zero,zero,zero
	movb	(%rbx), %cl
	testb	%cl, %cl
	je	LBB0_7
## %bb.1:
	movq	_uis@GOTPCREL(%rip), %r13
	imull	8(%r13), %r12d
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r12d, %xmm0
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	movl	(%r13), %eax
	imull	%eax, %r15d
	addl	4(%r13), %r15d
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r15d, %xmm0
	incq	%rbx
	xorps	%xmm4, %xmm4
	movq	_PROP_GAP_WIDTH@GOTPCREL(%rip), %r12
	movq	_propMap@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_PROP_SPACE_WIDTH@GOTPCREL(%rip), %rcx
	xorps	%xmm1, %xmm1
	cvtsi2ssq	(%rcx), %xmm1
	xorps	%xmm4, %xmm4
	cvtsi2ss	%eax, %xmm4
	mulss	%xmm1, %xmm4
	mulss	%xmm8, %xmm4
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorps	%xmm3, %xmm3
	cvtsi2ssq	(%r12), %xmm3
	xorps	%xmm1, %xmm1
	cvtsi2ss	%eax, %xmm1
	mulss	%xmm3, %xmm1
	mulss	%xmm8, %xmm1
	addss	%xmm4, %xmm1
	addss	%xmm1, %xmm0
	movzbl	(%rbx), %ecx
	incq	%rbx
	testb	%cl, %cl
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	andb	$127, %cl
	cmpb	$32, %cl
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rdx
	movzbl	%cl, %ecx
	movq	(%rdx,%rcx,8), %rdx
	movl	8(%rdx), %ecx
	cmpl	$-1, %ecx
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	xorps	%xmm4, %xmm4
	cvtsi2ssl	(%rdx), %xmm4
	xorps	%xmm5, %xmm5
	cvtsi2ssl	4(%rdx), %xmm5
	xorps	%xmm6, %xmm6
	cvtsi2ss	%ecx, %xmm6
	movq	_PROP_HEIGHT@GOTPCREL(%rip), %rcx
	xorps	%xmm7, %xmm7
	cvtsi2ssq	(%rcx), %xmm7
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm4
	xorps	%xmm2, %xmm2
	cvtsi2ss	%eax, %xmm2
	mulss	%xmm1, %xmm5
	xorps	%xmm3, %xmm3
	cvtsi2ssl	8(%r13), %xmm3
	mulss	%xmm6, %xmm2
	mulss	%xmm1, %xmm6
	mulss	%xmm7, %xmm3
	mulss	%xmm1, %xmm7
	mulss	%xmm8, %xmm2
	movss	%xmm2, -52(%rbp)                ## 4-byte Spill
	mulss	%xmm8, %xmm3
	addss	%xmm4, %xmm6
	addss	%xmm5, %xmm7
	movss	-48(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movl	%r14d, %edi
	movss	%xmm0, -56(%rbp)                ## 4-byte Spill
	callq	_trap_R_DrawStretchPic
	movss	-52(%rbp), %xmm4                ## 4-byte Reload
                                        ## xmm4 = mem[0],zero,zero,zero
	movss	-56(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-44(%rbp), %xmm8                ## 4-byte Reload
                                        ## xmm8 = mem[0],zero,zero,zero
	movl	(%r13), %eax
	jmp	LBB0_6
LBB0_7:
	xorl	%edi, %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_trap_R_SetColor                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_uis,12,2                       ## @uis
	.comm	_PROP_SPACE_WIDTH,8,3           ## @PROP_SPACE_WIDTH
	.comm	_propMap,8,3                    ## @propMap
	.comm	_PROP_HEIGHT,8,3                ## @PROP_HEIGHT
	.comm	_PROP_GAP_WIDTH,8,3             ## @PROP_GAP_WIDTH
	.no_dead_strip	_UI_DrawProportionalString2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_DrawProportionalString2
_UI_DrawProportionalString2:            ; @UI_DrawProportionalString2
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-112]!          ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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 b8, -88
	.cfi_offset b9, -96
	.cfi_offset b10, -104
	.cfi_offset b11, -112
	mov	x19, x4
	fmov	s8, s0
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	mov	x0, x3
	bl	_trap_R_SetColor
	ldrb	w9, [x20]
	cbz	w9, LBB0_7
; %bb.1:
Lloh0:
	adrp	x23, _uis@GOTPAGE
Lloh1:
	ldr	x23, [x23, _uis@GOTPAGEOFF]
	ldp	w10, w8, [x23, #4]
	mul	w8, w8, w22
	scvtf	s9, w8
	ldr	w8, [x23]
	madd	w10, w8, w21, w10
	scvtf	s10, w10
	add	x20, x20, #1
Lloh2:
	adrp	x21, _PROP_SPACE_WIDTH@GOTPAGE
Lloh3:
	ldr	x21, [x21, _PROP_SPACE_WIDTH@GOTPAGEOFF]
Lloh4:
	adrp	x22, _PROP_GAP_WIDTH@GOTPAGE
Lloh5:
	ldr	x22, [x22, _PROP_GAP_WIDTH@GOTPAGEOFF]
	movi	d11, #0000000000000000
Lloh6:
	adrp	x24, _propMap@GOTPAGE
Lloh7:
	ldr	x24, [x24, _propMap@GOTPAGEOFF]
	mov	w25, #998244352
Lloh8:
	adrp	x26, _PROP_HEIGHT@GOTPAGE
Lloh9:
	ldr	x26, [x26, _PROP_HEIGHT@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x21]
	scvtf	s0, x9
	scvtf	s1, w8
	fmul	s0, s0, s1
	fmul	s11, s0, s8
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x22]
	scvtf	s0, x9
	scvtf	s1, w8
	fmul	s0, s0, s1
	fmadd	s0, s0, s8, s11
	fadd	s10, s10, s0
	ldrb	w9, [x20], #1
	cbz	w9, LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	and	w9, w9, #0x7f
	cmp	w9, #32
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x24]
	ldr	x10, [x10, w9, uxtw #3]
	ldr	w9, [x10, #8]
	cmn	w9, #1
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	s0, s1, [x10]
	scvtf	s0, s0
	fmov	s2, w25
	fmul	s4, s0, s2
	scvtf	s0, s1
	fmul	s5, s0, s2
	scvtf	s0, w9
	ldr	x9, [x26]
	scvtf	s1, x9
	fmul	s6, s0, s2
	fmul	s2, s1, s2
	scvtf	s3, w8
	fmul	s0, s0, s3
	fmul	s11, s0, s8
	ldr	s0, [x23, #8]
	scvtf	s0, s0
	fmul	s0, s1, s0
	fmul	s3, s0, s8
	fadd	s6, s6, s4
	fadd	s7, s5, s2
	fmov	s0, s10
	fmov	s1, s9
	fmov	s2, s11
	mov	x0, x19
	bl	_trap_R_DrawStretchPic
	ldr	w8, [x23]
	b	LBB0_3
LBB0_7:
	mov	x0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #112            ; 16-byte Folded Reload
	b	_trap_R_SetColor
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_uis,12,2                       ; @uis
	.comm	_PROP_SPACE_WIDTH,8,3           ; @PROP_SPACE_WIDTH
	.comm	_propMap,8,3                    ; @propMap
	.comm	_PROP_HEIGHT,8,3                ; @PROP_HEIGHT
	.comm	_PROP_GAP_WIDTH,8,3             ; @PROP_GAP_WIDTH
	.no_dead_strip	_UI_DrawProportionalString2
.subsections_via_symbols
