	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validchars
_validchars:                            ## @validchars
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movb	(%rdi), %al
	xorl	%r14d, %r14d
	testb	%al, %al
	je	LBB0_11
## %bb.1:
	movq	%rdi, %r15
	movsbl	%al, %edi
	callq	_iscntrl
	testq	%rax, %rax
	je	LBB0_2
LBB0_6:
	leaq	L_.str(%rip), %rdi
LBB0_7:
	callq	_yp_error
	movl	$1, %r14d
LBB0_11:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-1(%r15,%rbx), %eax
	cmpb	$10, %al
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$58, %al
	je	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_strlen
	cmpq	%rax, %rbx
	jae	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movsbl	(%r15,%rbx), %edi
	callq	_iscntrl
	incq	%rbx
	testq	%rax, %rax
	je	LBB0_3
	jmp	LBB0_6
LBB0_10:
	movb	$0, -1(%r15,%rbx)
	jmp	LBB0_11
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"string contains a control character"

L_.str.1:                               ## @.str.1
	.asciz	"string contains a colon"

	.no_dead_strip	_validchars
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validchars
_validchars:                            ; @validchars
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldrb	w8, [x0]
	cbz	w8, LBB0_9
; %bb.1:
	mov	x19, x0
	sxtb	w0, w8
	bl	_iscntrl
	cbz	x0, LBB0_4
LBB0_2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
LBB0_3:
	bl	_yp_error
	mov	w0, #1
	b	LBB0_10
LBB0_4:
	mov	x20, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x19, x20]
	cmp	w8, #10
	b.eq	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #58
	b.eq	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x20, #1
	mov	x0, x19
	bl	_strlen
	cmp	x21, x0
	b.hs	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x19, x20
	ldrsb	w0, [x8, #1]
	bl	_iscntrl
	mov	x20, x21
	cbz	x0, LBB0_5
	b	LBB0_2
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	w0, #0
	strb	wzr, [x19, x20]
	b	LBB0_10
LBB0_12:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"string contains a control character"

l_.str.1:                               ; @.str.1
	.asciz	"string contains a colon"

	.no_dead_strip	_validchars
.subsections_via_symbols
