	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UI_ProportionalStringWidth     ## -- Begin function UI_ProportionalStringWidth
	.p2align	4, 0x90
_UI_ProportionalStringWidth:            ## @UI_ProportionalStringWidth
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movb	(%rdi), %cl
	testb	%cl, %cl
	je	LBB0_1
## %bb.2:
	movq	_propMap@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_PROP_GAP_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	incq	%rdi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %esi
	andb	$127, %cl
	movzbl	%cl, %eax
	movq	(%rdx,%rax,8), %rax
	movl	8(%rax), %ecx
	leal	(%rcx,%rsi), %eax
	addl	%r8d, %eax
	cmpl	$-1, %ecx
	cmovel	%esi, %eax
	movzbl	(%rdi), %ecx
	incq	%rdi
	testb	%cl, %cl
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	movq	_PROP_GAP_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%eax, %eax
LBB0_4:
	subl	%r8d, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_propMap,8,3                    ## @propMap
	.comm	_PROP_GAP_WIDTH,8,3             ## @PROP_GAP_WIDTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UI_ProportionalStringWidth     ; -- Begin function UI_ProportionalStringWidth
	.p2align	2
_UI_ProportionalStringWidth:            ; @UI_ProportionalStringWidth
	.cfi_startproc
; %bb.0:
	ldrb	w11, [x0]
	cbz	w11, LBB0_4
; %bb.1:
	mov	w8, #0
Lloh0:
	adrp	x9, _propMap@GOTPAGE
Lloh1:
	ldr	x9, [x9, _propMap@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x9]
Lloh3:
	adrp	x9, _PROP_GAP_WIDTH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PROP_GAP_WIDTH@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	add	x12, x0, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	and	w11, w11, #0x7f
	ldr	x11, [x10, w11, uxtw #3]
	ldr	w11, [x11, #8]
	add	w13, w11, w8
	add	w13, w13, w9
	cmn	w11, #1
	csel	w8, w8, w13, eq
	ldrb	w11, [x12], #1
	cbnz	w11, LBB0_2
; %bb.3:
	sub	w0, w8, w9
	ret
LBB0_4:
Lloh6:
	adrp	x9, _PROP_GAP_WIDTH@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PROP_GAP_WIDTH@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	neg	w0, w9
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_propMap,8,3                    ; @propMap
	.comm	_PROP_GAP_WIDTH,8,3             ; @PROP_GAP_WIDTH
.subsections_via_symbols
