	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PText_Init
_PText_Init:                            ## @PText_Init
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	32(%rdi), %edi
	callq	_UI_ProportionalSizeScale
	movss	%xmm0, -28(%rbp)                ## 4-byte Spill
	movl	(%rbx), %r15d
	movl	4(%rbx), %r14d
	movl	28(%rbx), %edi
	callq	_UI_ProportionalStringWidth
	movss	-28(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm0
	cvttss2si	%xmm0, %eax
	movq	_PROP_HEIGHT@GOTPCREL(%rip), %rcx
	movss	(%rcx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movl	8(%rbx), %ecx
	movq	_QMF_RIGHT_JUSTIFY@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_2
## %bb.1:
	subl	%eax, %r15d
	jmp	LBB0_4
LBB0_2:
	movq	_QMF_CENTER_JUSTIFY@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_4
## %bb.3:
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	subl	%ecx, %r15d
LBB0_4:
	movaps	%xmm2, %xmm1
	mulss	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r15d, %xmm0
	cvttss2si	%xmm1, %ecx
	movq	_PROP_GAP_WIDTH@GOTPCREL(%rip), %rdx
	movss	(%rdx), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm1
	subss	%xmm1, %xmm0
	cvttss2si	%xmm0, %edx
	addl	%r15d, %eax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	movl	%edx, 12(%rbx)
	addss	%xmm1, %xmm0
	cvttss2si	%xmm0, %eax
	movl	%eax, 16(%rbx)
	movl	%r14d, 20(%rbx)
	addl	%r14d, %ecx
	movl	%ecx, 24(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PROP_HEIGHT,4,2                ## @PROP_HEIGHT
	.comm	_QMF_RIGHT_JUSTIFY,4,2          ## @QMF_RIGHT_JUSTIFY
	.comm	_QMF_CENTER_JUSTIFY,4,2         ## @QMF_CENTER_JUSTIFY
	.comm	_PROP_GAP_WIDTH,4,2             ## @PROP_GAP_WIDTH
	.no_dead_strip	_PText_Init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PText_Init
_PText_Init:                            ; @PText_Init
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 b8, -56
	.cfi_offset b9, -64
	mov	x19, x0
	ldr	w0, [x0, #32]
	bl	_UI_ProportionalSizeScale
	fmov	s8, s0
	ldp	w21, w20, [x19]
	ldr	w0, [x19, #28]
	bl	_UI_ProportionalStringWidth
	fmul	s0, s8, s0
	fcvtzs	w8, s0
Lloh0:
	adrp	x9, _PROP_HEIGHT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PROP_HEIGHT@GOTPAGEOFF]
Lloh2:
	ldr	s0, [x9]
	ldr	w9, [x19, #8]
Lloh3:
	adrp	x10, _QMF_RIGHT_JUSTIFY@GOTPAGE
Lloh4:
	ldr	x10, [x10, _QMF_RIGHT_JUSTIFY@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
	sub	w9, w21, w8
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x10, _QMF_CENTER_JUSTIFY@GOTPAGE
Lloh7:
	ldr	x10, [x10, _QMF_CENTER_JUSTIFY@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	w8, #0
	cinc	w11, w8, lt
	sub	w11, w21, w11, asr #1
	tst	w10, w9
	csel	w9, w21, w11, eq
LBB0_3:
	fmul	s0, s8, s0
	fcvtzs	w10, s0
	scvtf	s0, w9
Lloh9:
	adrp	x11, _PROP_GAP_WIDTH@GOTPAGE
Lloh10:
	ldr	x11, [x11, _PROP_GAP_WIDTH@GOTPAGEOFF]
Lloh11:
	ldr	s1, [x11]
	fmsub	s0, s1, s8, s0
	fcvtzs	w11, s0
	add	w8, w9, w8
	scvtf	s0, w8
	fmadd	s0, s1, s8, s0
	fcvtzs	w8, s0
	stp	w11, w8, [x19, #12]
	add	w8, w20, w10
	stp	w20, w8, [x19, #20]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PROP_HEIGHT,4,2                ; @PROP_HEIGHT
	.comm	_QMF_RIGHT_JUSTIFY,4,2          ; @QMF_RIGHT_JUSTIFY
	.comm	_QMF_CENTER_JUSTIFY,4,2         ; @QMF_CENTER_JUSTIFY
	.comm	_PROP_GAP_WIDTH,4,2             ; @PROP_GAP_WIDTH
	.no_dead_strip	_PText_Init
.subsections_via_symbols
