	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_predict_text_width             ## -- Begin function predict_text_width
	.p2align	4, 0x90
_predict_text_width:                    ## @predict_text_width
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_savedFont@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	setne	%dil
	callq	_assert
	movq	(%rbx), %rax
	movl	(%rax), %eax
	cmpl	$130, %eax
	je	LBB0_6
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.3:
	movq	%r12, %rdi
	callq	_i3string_as_ucs2
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_i3string_get_num_glyphs
	movl	%r14d, %edi
	movl	%eax, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_predict_text_width_xcb         ## TAILCALL
LBB0_4:
	movq	%r12, %rdi
	callq	_i3string_as_utf8
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_i3string_get_num_bytes
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_i3string_is_markup
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_predict_text_width_pango       ## TAILCALL
LBB0_5:
	xorl	%edi, %edi
	callq	_assert
LBB0_6:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_savedFont,8,3                  ## @savedFont
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_predict_text_width             ; -- Begin function predict_text_width
	.p2align	2
_predict_text_width:                    ; @predict_text_width
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _savedFont@GOTPAGE
Lloh1:
	ldr	x20, [x20, _savedFont@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x20]
	ldr	w8, [x8]
	cmp	w8, #130
	b.eq	LBB0_6
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_4
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_i3string_as_ucs2
	mov	x20, x0
	mov	x0, x19
	bl	_i3string_get_num_glyphs
	mov	x1, x0
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_predict_text_width_xcb
LBB0_4:
	mov	x0, x19
	bl	_i3string_as_utf8
	mov	x20, x0
	mov	x0, x19
	bl	_i3string_get_num_bytes
	mov	x21, x0
	mov	x0, x19
	bl	_i3string_is_markup
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_predict_text_width_pango
LBB0_5:
	mov	w0, #0
	bl	_assert
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_savedFont,8,3                  ; @savedFont
.subsections_via_symbols
