	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function charstr
_charstr:                               ## @charstr
	.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
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rcx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%rdx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rdi
	movl	$1, %esi
	callq	_addstr
	testq	%rax, %rax
	js	LBB0_8
## %bb.1:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, %rbx
	cmpq	%r13, %rcx
	jae	LBB0_9
## %bb.2:
	movslq	(%rcx), %r15
	leaq	(%rcx,%r15,4), %rax
	addq	$4, %rax
	movq	%rcx, %rbx
	cmpq	%r13, %rax
	jbe	LBB0_3
LBB0_9:
	leaq	L_.str(%rip), %rdi
	movl	$1, %esi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_addstr
	testq	%rax, %rax
	js	LBB0_8
## %bb.10:
	subq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	shrq	$2, %rbx
	jmp	LBB0_11
LBB0_3:
	leaq	4(%rcx), %rbx
	leaq	L_.str.1(%rip), %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movl	$1, %esi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_addstr
	addq	$4, %rbx
	decl	%r15d
	testq	%rax, %rax
	js	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r15d, %r15d
	jle	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movl	$1, %esi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_addstr
	testq	%rax, %rax
	jns	LBB0_7
LBB0_8:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r12)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r14)
	movl	$-1, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\""

L_.str.1:                               ## @.str.1
	.asciz	"\n\"\\"

L_.str.2:                               ## @.str.2
	.asciz	"\\"

	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_charstr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function charstr
_charstr:                               ; @charstr
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x3
	mov	x20, x2
	mov	x23, x1
	mov	x21, x0
	ldr	x25, [x3]
	ldr	x26, [x2]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #1
	bl	_addstr
	tbnz	x0, #63, LBB0_10
; %bb.1:
	mov	x22, x21
	cmp	x21, x23
	b.hs	LBB0_3
; %bb.2:
	mov	x8, x21
	ldrsw	x27, [x8], #4
	add	x9, x8, x27, lsl #2
	mov	x22, x21
	cmp	x9, x23
	b.ls	LBB0_5
LBB0_3:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #1
	mov	x2, x20
	mov	x3, x19
	bl	_addstr
	tbnz	x0, #63, LBB0_10
; %bb.4:
	sub	x8, x22, x21
	lsr	x0, x8, #2
	b	LBB0_11
LBB0_5:
Lloh4:
	adrp	x23, l_.str.1@PAGE
Lloh5:
	add	x23, x23, l_.str.1@PAGEOFF
	mov	x22, x8
Lloh6:
	adrp	x24, l_.str.2@PAGE
Lloh7:
	add	x24, x24, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	mov	w1, #1
	mov	x2, x20
	mov	x3, x19
	bl	_addstr
	add	x22, x22, #4
	tbnz	x0, #63, LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	subs	w27, w27, #1
	b.lt	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w1, [x22]
	mov	x0, x23
	bl	_strchr
	cbz	x0, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x24
	mov	w1, #1
	mov	x2, x20
	mov	x3, x19
	bl	_addstr
	tbz	x0, #63, LBB0_6
LBB0_10:
Lloh8:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _errno@GOTPAGE
Lloh12:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh13:
	str	w8, [x9]
	str	x26, [x20]
	str	x25, [x19]
	mov	w0, #-1
LBB0_11:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\""

l_.str.1:                               ; @.str.1
	.asciz	"\n\"\\"

l_.str.2:                               ; @.str.2
	.asciz	"\\"

	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_charstr
.subsections_via_symbols
