	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_utf__is_valid              ## -- Begin function svn_utf__is_valid
	.p2align	4, 0x90
_svn_utf__is_valid:                     ## @svn_utf__is_valid
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movslq	%esi, %rsi
	leaq	(%rdi,%rsi), %r15
	movq	_FSM_START@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_first_non_fsm_start_char
	cmpq	%r15, %rax
	jae	LBB0_7
## %bb.3:
	movq	_octet_category@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_machine@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%r15d, %edi
	subl	%eax, %edi
	movq	%rax, %r8
	notq	%r8
	addq	%r15, %r8
	andq	$3, %rdi
	je	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %esi
	incq	%rax
	movslq	(%rcx,%rsi,4), %rsi
	movslq	%ebx, %rbx
	movq	(%rdx,%rbx,8), %rbx
	movl	(%rbx,%rsi,4), %ebx
	decq	%rdi
	jne	LBB0_4
LBB0_5:
	cmpq	$3, %r8
	jb	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %esi
	movslq	(%rcx,%rsi,4), %rsi
	movslq	%ebx, %rdi
	movq	(%rdx,%rdi,8), %rdi
	movslq	(%rdi,%rsi,4), %rsi
	movzbl	1(%rax), %edi
	movslq	(%rcx,%rdi,4), %rdi
	movq	(%rdx,%rsi,8), %rsi
	movslq	(%rsi,%rdi,4), %rsi
	movzbl	2(%rax), %edi
	movslq	(%rcx,%rdi,4), %rdi
	movq	(%rdx,%rsi,8), %rsi
	movslq	(%rsi,%rdi,4), %rsi
	movzbl	3(%rax), %edi
	movslq	(%rcx,%rdi,4), %rdi
	movq	(%rdx,%rsi,8), %rsi
	movl	(%rsi,%rdi,4), %ebx
	addq	$4, %rax
	cmpq	%r15, %rax
	jb	LBB0_6
LBB0_7:
	xorl	%eax, %eax
	cmpl	(%r14), %ebx
	sete	%al
	jmp	LBB0_8
LBB0_1:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FSM_START,4,2                  ## @FSM_START
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_octet_category,8,3             ## @octet_category
	.comm	_machine,8,3                    ## @machine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_utf__is_valid              ; -- Begin function svn_utf__is_valid
	.p2align	2
_svn_utf__is_valid:                     ; @svn_utf__is_valid
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	cbz	x0, LBB0_5
; %bb.1:
	sxtw	x8, w1
	add	x21, x0, x8
Lloh0:
	adrp	x19, _FSM_START@GOTPAGE
Lloh1:
	ldr	x19, [x19, _FSM_START@GOTPAGEOFF]
	ldr	w20, [x19]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_first_non_fsm_start_char
	cmp	x0, x21
	b.hs	LBB0_4
; %bb.2:
Lloh2:
	adrp	x8, _octet_category@GOTPAGE
Lloh3:
	ldr	x8, [x8, _octet_category@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _machine@GOTPAGE
Lloh6:
	ldr	x9, [x9, _machine@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	sub	x10, x21, x0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x0], #1
	ldrsw	x11, [x8, x11, lsl #2]
	ldr	x12, [x9, w20, sxtw #3]
	ldr	w20, [x12, x11, lsl #2]
	subs	x10, x10, #1
	b.ne	LBB0_3
LBB0_4:
	ldr	w8, [x19]
	cmp	w20, w8
	cset	w0, eq
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x8, _FALSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
LBB0_6:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_FSM_START,4,2                  ; @FSM_START
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_octet_category,8,3             ; @octet_category
	.comm	_machine,8,3                    ; @machine
.subsections_via_symbols
