	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strbuf_utf8_align              ## -- Begin function strbuf_utf8_align
	.p2align	4, 0x90
_strbuf_utf8_align:                     ## @strbuf_utf8_align
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	%rcx, %rdi
	callq	_strlen
	movl	%eax, %ebx
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_utf8_strnwidth
	cmpl	%r12d, %eax
	jae	LBB0_8
## %bb.1:
	subl	%eax, %ebx
	movq	_ALIGN_LEFT@GOTPCREL(%rip), %rcx
	cmpq	%r13, (%rcx)
	jne	LBB0_4
## %bb.2:
	addl	%r12d, %ebx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_3
LBB0_8:
	movq	%r15, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strbuf_addstr                  ## TAILCALL
LBB0_4:
	movq	_ALIGN_MIDDLE@GOTPCREL(%rip), %rcx
	cmpq	%r13, (%rcx)
	jne	LBB0_5
## %bb.9:
	addl	%r12d, %ebx
	subl	%eax, %r12d
	shrl	%r12d
	subl	%r12d, %ebx
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rcx
	movq	%r15, %rdi
	movl	%r12d, %edx
	movl	%ebx, %r8d
	movq	%r14, %r9
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strbuf_addf                    ## TAILCALL
LBB0_5:
	movq	_ALIGN_RIGHT@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	jne	LBB0_7
## %bb.6:
	addl	%r12d, %ebx
	leaq	L_.str.3(%rip), %rsi
LBB0_3:
	movq	%r15, %rdi
	movl	%ebx, %edx
	movq	%r14, %rcx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strbuf_addf                    ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ALIGN_LEFT,8,3                 ## @ALIGN_LEFT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%-*s"

	.comm	_ALIGN_MIDDLE,8,3               ## @ALIGN_MIDDLE
L_.str.1:                               ## @.str.1
	.asciz	"%*s%-*s"

L_.str.2:                               ## @.str.2
	.space	1

	.comm	_ALIGN_RIGHT,8,3                ## @ALIGN_RIGHT
L_.str.3:                               ## @.str.3
	.asciz	"%*s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strbuf_utf8_align              ; -- Begin function strbuf_utf8_align
	.p2align	2
_strbuf_utf8_align:                     ; @strbuf_utf8_align
	.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	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	mov	x0, x3
	bl	_strlen
	mov	x23, x0
	mov	x0, x19
	mov	x1, x23
	mov	w2, #0
	bl	_utf8_strnwidth
	cmp	w0, w21
	b.hs	LBB0_3
; %bb.1:
	sub	w8, w23, w0
Lloh0:
	adrp	x9, _ALIGN_LEFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ALIGN_LEFT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x9, x22
	b.ne	LBB0_4
; %bb.2:
	add	w2, w8, w21
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	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
	b	_strbuf_addstr
LBB0_4:
Lloh5:
	adrp	x9, _ALIGN_MIDDLE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ALIGN_MIDDLE@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x22
	b.ne	LBB0_6
; %bb.5:
	sub	w9, w21, w0
	lsr	w2, w9, #1
	add	w8, w8, w21
	sub	w8, w8, w2
	stp	x8, x19, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh10:
	adrp	x3, l_.str.2@PAGE
Lloh11:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strbuf_addf
	b	LBB0_9
LBB0_6:
Lloh12:
	adrp	x9, _ALIGN_RIGHT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ALIGN_RIGHT@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x22
	b.ne	LBB0_9
; %bb.7:
	add	w2, w8, w21
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_8:
	mov	x0, x20
	mov	x3, x19
	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
	b	_strbuf_addf
LBB0_9:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ALIGN_LEFT,8,3                 ; @ALIGN_LEFT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%-*s"

	.comm	_ALIGN_MIDDLE,8,3               ; @ALIGN_MIDDLE
l_.str.1:                               ; @.str.1
	.asciz	"%*s%-*s"

l_.str.2:                               ; @.str.2
	.space	1

	.comm	_ALIGN_RIGHT,8,3                ; @ALIGN_RIGHT
l_.str.3:                               ; @.str.3
	.asciz	"%*s"

.subsections_via_symbols
