	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sane_truncate_line
_sane_truncate_line:                    ## @sane_truncate_line
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rsi, -32(%rbp)
	movq	%rdi, -40(%rbp)
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	leaq	-40(%rbp), %r15
	leaq	-32(%rbp), %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_utf8_width
	cmpq	$0, -40(%rbp)
	movq	-32(%rbp), %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testq	%rax, %rax
	jne	LBB0_3
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
LBB0_5:
	subq	%rax, %r14
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sane_truncate_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sane_truncate_line
_sane_truncate_line:                    ; @sane_truncate_line
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	stp	x1, x0, [sp]
	cbz	x1, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	x1, sp
	bl	_utf8_width
	ldp	x8, x9, [sp]
	cmp	x9, #0
	ccmp	x8, #0, #4, ne
	b.ne	LBB0_1
	b	LBB0_3
LBB0_2:
	mov	x8, #0
LBB0_3:
	sub	x0, x19, x8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sane_truncate_line
.subsections_via_symbols
