	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function draw_text_pango
_draw_text_pango:                       ## @draw_text_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	16(%rbp), %r14d
	movq	_conn@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	leal	(%r14,%r8), %eax
	movq	_savedFont@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	movl	(%rsi), %r8d
	addl	%r9d, %r8d
	movl	%edx, %esi
	movq	%rcx, %rdx
	movl	%eax, %ecx
	callq	_cairo_xcb_surface_create
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_cairo_create
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_create_layout_with_dpi
	movq	%rax, %rbx
	movq	(%r15), %rax
	movl	4(%rax), %esi
	movq	%rbx, %rdi
	callq	_pango_layout_set_font_description
	movq	_PANGO_SCALE@GOTPCREL(%rip), %rax
	imull	(%rax), %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_pango_layout_set_width
	movq	_PANGO_WRAP_CHAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pango_layout_set_wrap
	movq	_PANGO_ELLIPSIZE_END@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pango_layout_set_ellipsize
	movq	%rbx, %rdi
	cmpl	$0, 24(%rbp)
	je	LBB0_2
## %bb.1:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_pango_layout_set_markup
	jmp	LBB0_3
LBB0_2:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_pango_layout_set_text
LBB0_3:
	movq	_CAIRO_OPERATOR_SOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_cairo_set_operator
	movq	_pango_font_red@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_pango_font_green@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_pango_font_blue@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_pango_font_alpha@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rdi
	callq	_cairo_set_source_rgba
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_pango_cairo_update_layout
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_pango_layout_get_pixel_size
	movl	-44(%rbp), %eax
	movq	_savedFont@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	subl	(%rcx), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	subl	%ecx, %r12d
	movq	%r13, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r12d, %edx
	callq	_cairo_move_to
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_pango_cairo_show_layout
	movq	%rbx, %rdi
	callq	_g_object_unref
	movq	%r13, %rdi
	callq	_cairo_destroy
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_cairo_surface_destroy
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_conn,4,2                       ## @conn
	.comm	_savedFont,8,3                  ## @savedFont
	.comm	_PANGO_SCALE,4,2                ## @PANGO_SCALE
	.comm	_PANGO_WRAP_CHAR,4,2            ## @PANGO_WRAP_CHAR
	.comm	_PANGO_ELLIPSIZE_END,4,2        ## @PANGO_ELLIPSIZE_END
	.comm	_CAIRO_OPERATOR_SOURCE,4,2      ## @CAIRO_OPERATOR_SOURCE
	.comm	_pango_font_red,4,2             ## @pango_font_red
	.comm	_pango_font_green,4,2           ## @pango_font_green
	.comm	_pango_font_blue,4,2            ## @pango_font_blue
	.comm	_pango_font_alpha,4,2           ## @pango_font_alpha
	.no_dead_strip	_draw_text_pango
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function draw_text_pango
_draw_text_pango:                       ; @draw_text_pango
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [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 w27, -88
	.cfi_offset w28, -96
	mov	x26, x7
	mov	x27, x6
	mov	x21, x5
	mov	x19, x4
	mov	x8, x3
	mov	x24, x1
	mov	x25, x0
Lloh0:
	adrp	x9, _conn@GOTPAGE
Lloh1:
	ldr	x9, [x9, _conn@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	add	w3, w6, w4
Lloh3:
	adrp	x28, _savedFont@GOTPAGE
Lloh4:
	ldr	x28, [x28, _savedFont@GOTPAGEOFF]
	ldr	x9, [x28]
	ldr	w9, [x9]
	add	w4, w9, w5
	mov	x1, x2
	mov	x2, x8
	bl	_cairo_xcb_surface_create
	mov	x20, x0
	bl	_cairo_create
	mov	x22, x0
	bl	_create_layout_with_dpi
	mov	x23, x0
	ldr	x8, [x28]
	ldr	w1, [x8, #4]
	bl	_pango_layout_set_font_description
Lloh5:
	adrp	x8, _PANGO_SCALE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PANGO_SCALE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	mul	w1, w8, w27
	mov	x0, x23
	bl	_pango_layout_set_width
Lloh8:
	adrp	x8, _PANGO_WRAP_CHAR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PANGO_WRAP_CHAR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_pango_layout_set_wrap
Lloh11:
	adrp	x8, _PANGO_ELLIPSIZE_END@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PANGO_ELLIPSIZE_END@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_pango_layout_set_ellipsize
	mov	x0, x23
	mov	x1, x25
	mov	x2, x24
	cbz	w26, LBB0_2
; %bb.1:
	bl	_pango_layout_set_markup
	b	LBB0_3
LBB0_2:
	bl	_pango_layout_set_text
LBB0_3:
Lloh14:
	adrp	x8, _CAIRO_OPERATOR_SOURCE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CAIRO_OPERATOR_SOURCE@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_cairo_set_operator
Lloh17:
	adrp	x8, _pango_font_red@GOTPAGE
Lloh18:
	ldr	x8, [x8, _pango_font_red@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _pango_font_green@GOTPAGE
Lloh21:
	ldr	x8, [x8, _pango_font_green@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
Lloh23:
	adrp	x8, _pango_font_blue@GOTPAGE
Lloh24:
	ldr	x8, [x8, _pango_font_blue@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
Lloh26:
	adrp	x8, _pango_font_alpha@GOTPAGE
Lloh27:
	ldr	x8, [x8, _pango_font_alpha@GOTPAGEOFF]
Lloh28:
	ldr	w4, [x8]
	mov	x0, x22
	bl	_cairo_set_source_rgba
	mov	x0, x22
	mov	x1, x23
	bl	_pango_cairo_update_layout
	add	x2, sp, #12
	mov	x0, x23
	mov	x1, #0
	bl	_pango_layout_get_pixel_size
	ldr	w8, [sp, #12]
	ldr	x9, [x28]
	ldr	w9, [x9]
	sub	w8, w8, w9
	cmp	w8, #0
	cinc	w8, w8, lt
	sub	w2, w21, w8, asr #1
	mov	x0, x22
	mov	x1, x19
	bl	_cairo_move_to
	mov	x0, x22
	mov	x1, x23
	bl	_pango_cairo_show_layout
	mov	x0, x23
	bl	_g_object_unref
	mov	x0, x22
	bl	_cairo_destroy
	mov	x0, x20
	bl	_cairo_surface_destroy
	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	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_conn,4,2                       ; @conn
	.comm	_savedFont,8,3                  ; @savedFont
	.comm	_PANGO_SCALE,4,2                ; @PANGO_SCALE
	.comm	_PANGO_WRAP_CHAR,4,2            ; @PANGO_WRAP_CHAR
	.comm	_PANGO_ELLIPSIZE_END,4,2        ; @PANGO_ELLIPSIZE_END
	.comm	_CAIRO_OPERATOR_SOURCE,4,2      ; @CAIRO_OPERATOR_SOURCE
	.comm	_pango_font_red,4,2             ; @pango_font_red
	.comm	_pango_font_green,4,2           ; @pango_font_green
	.comm	_pango_font_blue,4,2            ; @pango_font_blue
	.comm	_pango_font_alpha,4,2           ; @pango_font_alpha
	.no_dead_strip	_draw_text_pango
.subsections_via_symbols
