	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uri_scheme
_uri_scheme:                            ## @uri_scheme
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx,%rax), %ecx
	testb	%cl, %cl
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$47, %cl
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$58, %cl
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	incq	%rax
	jmp	LBB0_1
LBB0_5:
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	cmpb	$58, %cl
	jne	LBB0_10
## %bb.7:
	cmpb	$47, 1(%rbx,%rax)
	jne	LBB0_10
## %bb.8:
	cmpb	$47, 2(%rbx,%rax)
	jne	LBB0_10
## %bb.9:
	movq	%rdx, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_apr_pstrmemdup
	movq	%rax, (%r14)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	movq	_SVN_ERR_BAD_URL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	movq	%rbx, %rcx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_svn_error_createf              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_SVN_ERR_BAD_URL,4,2            ## @SVN_ERR_BAD_URL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"URL '%s' does not begin with a scheme"

	.no_dead_strip	_uri_scheme
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uri_scheme
_uri_scheme:                            ; @uri_scheme
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	mov	x8, #0
	ldrb	w9, [x19, x8]
	cbz	w9, LBB0_4
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, #47
	b.eq	LBB0_9
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w9, #58
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x8, x8, #1
	ldrb	w9, [x19, x8]
	cbnz	w9, LBB0_1
LBB0_4:
	cbz	x8, LBB0_9
; %bb.5:
	cmp	w9, #58
	b.ne	LBB0_9
; %bb.6:
	add	x9, x19, x8
	ldrb	w10, [x9, #1]
	cmp	w10, #47
	b.ne	LBB0_9
; %bb.7:
	ldrb	w9, [x9, #2]
	cmp	w9, #47
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x2
	mov	x1, x19
	mov	x2, x8
	bl	_apr_pstrmemdup
	str	x0, [x20]
Lloh0:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh3:
	adrp	x8, _SVN_ERR_BAD_URL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_ERR_BAD_URL@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x20
	mov	w1, #0
	mov	x3, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_svn_error_createf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_SVN_ERR_BAD_URL,4,2            ; @SVN_ERR_BAD_URL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"URL '%s' does not begin with a scheme"

	.no_dead_strip	_uri_scheme
.subsections_via_symbols
