	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function csr1212_check_minimal_ascii
_csr1212_check_minimal_ascii:           ## @csr1212_check_minimal_ascii
	.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
	movb	(%rdi), %r13b
	xorl	%r14d, %r14d
	testb	%r13b, %r13b
	je	LBB0_6
## %bb.1:
	movq	%rdi, %r12
	incq	%r12
	leaq	_csr1212_check_minimal_ascii.minimal_ascii_table(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%r13b, %ebx
	sarl	$3, %ebx
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %ebx
	jge	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	andb	$3, %r13b
	movslq	%ebx, %rax
	movzbl	(%rax,%r15), %eax
	movzbl	%r13b, %ecx
	btl	%ecx, %eax
	jae	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%r12), %r13d
	incq	%r12
	testb	%r13b, %r13b
	jne	LBB0_3
	jmp	LBB0_6
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @csr1212_check_minimal_ascii.minimal_ascii_table
_csr1212_check_minimal_ascii.minimal_ascii_table:
	.ascii	"\2004\000\000\347\377\377\377\377\377\377\207\376\377\377\007"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_csr1212_check_minimal_ascii
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function csr1212_check_minimal_ascii
_csr1212_check_minimal_ascii:           ; @csr1212_check_minimal_ascii
	.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	w21, [x0]
	cbz	w21, LBB0_5
; %bb.1:
	add	x20, x0, #1
Lloh0:
	adrp	x19, _csr1212_check_minimal_ascii.minimal_ascii_table@PAGE
Lloh1:
	add	x19, x19, _csr1212_check_minimal_ascii.minimal_ascii_table@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sbfx	w22, w21, #3, #5
	mov	x0, x19
	bl	_ARRAY_SIZE
	cmp	w22, w0
	b.ge	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sxtb	w8, w21
	and	w8, w8, #0x3
	ldrb	w9, [x19, w22, sxtw]
	lsr	w8, w9, w8
	tbz	w8, #0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w21, [x20], #1
	cbnz	w21, LBB0_2
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_csr1212_check_minimal_ascii.minimal_ascii_table: ; @csr1212_check_minimal_ascii.minimal_ascii_table
	.ascii	"\2004\000\000\347\377\377\377\377\377\377\207\376\377\377\007"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_csr1212_check_minimal_ascii
.subsections_via_symbols
