	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function predict_text_width_pango
_predict_text_width_pango:              ## @predict_text_width_pango
	.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	%edx, %r15d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	_conn@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_root_screen@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	_root_visual_type@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %ecx
	movl	$1, %r8d
	callq	_cairo_xcb_surface_create
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_cairo_create
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_create_layout_with_dpi
	movq	%rax, %rbx
	movq	_savedFont@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pango_layout_set_font_description
	movq	%rbx, %rdi
	movq	%r12, %rsi
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_pango_layout_set_markup
	jmp	LBB0_3
LBB0_2:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_pango_layout_set_text
LBB0_3:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_pango_cairo_update_layout
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_pango_layout_get_pixel_size
	movq	%rbx, %rdi
	callq	_g_object_unref
	movq	%r13, %rdi
	callq	_cairo_destroy
	movq	%r14, %rdi
	callq	_cairo_surface_destroy
	movl	-44(%rbp), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_conn,4,2                       ## @conn
	.comm	_root_screen,8,3                ## @root_screen
	.comm	_root_visual_type,4,2           ## @root_visual_type
	.comm	_savedFont,8,3                  ## @savedFont
	.no_dead_strip	_predict_text_width_pango
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function predict_text_width_pango
_predict_text_width_pango:              ; @predict_text_width_pango
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x24, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _conn@GOTPAGE
Lloh1:
	ldr	x8, [x8, _conn@GOTPAGEOFF]
Lloh2:
	adrp	x9, _root_screen@GOTPAGE
Lloh3:
	ldr	x9, [x9, _root_screen@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	ldr	x8, [x9]
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _root_visual_type@GOTPAGE
Lloh7:
	ldr	x8, [x8, _root_visual_type@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	w3, #1
	mov	w4, #1
	bl	_cairo_xcb_surface_create
	mov	x19, x0
	bl	_cairo_create
	mov	x20, x0
	bl	_create_layout_with_dpi
	mov	x23, x0
Lloh9:
	adrp	x8, _savedFont@GOTPAGE
Lloh10:
	ldr	x8, [x8, _savedFont@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	w1, [x8]
	bl	_pango_layout_set_font_description
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	cbz	w24, LBB0_2
; %bb.1:
	bl	_pango_layout_set_markup
	b	LBB0_3
LBB0_2:
	bl	_pango_layout_set_text
LBB0_3:
	mov	x0, x20
	mov	x1, x23
	bl	_pango_cairo_update_layout
	add	x1, sp, #12
	mov	x0, x23
	mov	x2, #0
	bl	_pango_layout_get_pixel_size
	mov	x0, x23
	bl	_g_object_unref
	mov	x0, x20
	bl	_cairo_destroy
	mov	x0, x19
	bl	_cairo_surface_destroy
	ldr	w0, [sp, #12]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_conn,4,2                       ; @conn
	.comm	_root_screen,8,3                ; @root_screen
	.comm	_root_visual_type,4,2           ; @root_visual_type
	.comm	_savedFont,8,3                  ; @savedFont
	.no_dead_strip	_predict_text_width_pango
.subsections_via_symbols
