	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function url_find_protocol
_url_find_protocol:                     ## @url_find_protocol
	.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	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_URL_SCHEME_CHARS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strspn
	movq	%rax, %rbx
	cmpb	$58, (%r14,%rax)
	jne	LBB0_1
LBB0_3:
	movq	%r14, %rdi
	callq	_is_dos_path
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	incq	%rbx
	movq	%rbx, %rdi
	movl	$128, %esi
	callq	_FFMIN
	leaq	-176(%rbp), %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_av_strlcpy
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	$8, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	leaq	-176(%rbp), %rdi
	callq	_strcpy
LBB0_6:
	leaq	-304(%rbp), %rbx
	leaq	-176(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$128, %edx
	callq	_av_strlcpy
	movq	%rbx, %rdi
	movl	$43, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movb	$0, (%rax)
LBB0_8:
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_ffurl_get_protocols
	movq	%rax, -312(%rbp)
	testq	%rax, %rax
	je	LBB0_19
## %bb.9:
	movq	%rax, %rbx
	movq	%r14, -320(%rbp)                ## 8-byte Spill
	movq	(%rax), %r15
	testq	%r15, %r15
	je	LBB0_16
## %bb.10:
	addq	$8, %rbx
	leaq	-176(%rbp), %r12
	movq	_URL_PROTOCOL_FLAG_NESTED_SCHEME@GOTPCREL(%rip), %r14
	leaq	-304(%rbp), %r13
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	(%rbx), %r15
	addq	$8, %rbx
	testq	%r15, %r15
	je	LBB0_16
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	4(%r15), %esi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r14), %eax
	testl	%eax, (%r15)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	4(%r15), %esi
	movq	%r13, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_15
LBB0_12:
	leaq	-312(%rbp), %rdi
	callq	_av_freep
	jmp	LBB0_19
LBB0_16:
	leaq	-312(%rbp), %rdi
	callq	_av_freep
	leaq	L_.str.2(%rip), %rsi
	movq	-320(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_av_strstart
	testq	%rax, %rax
	jne	LBB0_18
## %bb.17:
	leaq	L_.str.3(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_av_strstart
	testq	%rax, %rax
	je	LBB0_19
LBB0_18:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_av_log
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	movq	%r15, %rax
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	(%r14,%rbx), %rdi
	incq	%rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_3
	jmp	LBB0_4
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_URL_SCHEME_CHARS,4,2           ## @URL_SCHEME_CHARS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"subfile,"

L_.str.1:                               ## @.str.1
	.asciz	"file"

	.comm	_URL_PROTOCOL_FLAG_NESTED_SCHEME,4,2 ## @URL_PROTOCOL_FLAG_NESTED_SCHEME
L_.str.2:                               ## @.str.2
	.asciz	"https:"

L_.str.3:                               ## @.str.3
	.asciz	"tls:"

	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.4:                               ## @.str.4
	.asciz	"https protocol not found, recompile FFmpeg with openssl, gnutls or securetransport enabled.\n"

	.no_dead_strip	_url_find_protocol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function url_find_protocol
_url_find_protocol:                     ; @url_find_protocol
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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 w27, -56
	.cfi_offset w28, -64
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _URL_SCHEME_CHARS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _URL_SCHEME_CHARS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_strspn
	mov	x20, x0
	add	x21, x19, x0
	ldrb	w8, [x21]
	cmp	w8, #58
	b.ne	LBB0_3
LBB0_1:
	mov	x0, x19
	bl	_is_dos_path
	cbnz	x0, LBB0_4
; %bb.2:
	add	x0, x20, #1
	mov	w1, #128
	bl	_FFMIN
	mov	x2, x0
	add	x0, sp, #136
	mov	x1, x19
	bl	_av_strlcpy
	b	LBB0_5
LBB0_3:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #8
	bl	_strncmp
	cbz	x0, LBB0_21
LBB0_4:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #136
	bl	_strcpy
LBB0_5:
	add	x0, sp, #8
	add	x1, sp, #136
	mov	w2, #128
	bl	_av_strlcpy
	add	x0, sp, #8
	mov	w1, #43
	bl	_strchr
	cbz	x0, LBB0_7
; %bb.6:
	strb	wzr, [x0]
LBB0_7:
	mov	x0, #0
	mov	x1, #0
	bl	_ffurl_get_protocols
	str	x0, [sp]
	cbz	x0, LBB0_18
; %bb.8:
	ldr	x20, [x0]
	cbz	x20, LBB0_15
; %bb.9:
	add	x21, x0, #8
Lloh10:
	adrp	x22, _URL_PROTOCOL_FLAG_NESTED_SCHEME@GOTPAGE
Lloh11:
	ldr	x22, [x22, _URL_PROTOCOL_FLAG_NESTED_SCHEME@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x20, [x21], #8
	cbz	x20, LBB0_15
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20, #4]
	add	x0, sp, #136
	bl	_strcmp
	cbz	w0, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x20]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w1, [x20, #4]
	add	x0, sp, #8
	bl	_strcmp
	cbnz	w0, LBB0_10
LBB0_14:
	mov	x0, sp
	bl	_av_freep
	b	LBB0_19
LBB0_15:
	mov	x0, sp
	bl	_av_freep
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, #0
	bl	_av_strstart
	cbnz	x0, LBB0_17
; %bb.16:
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x2, #0
	bl	_av_strstart
	cbz	x0, LBB0_18
LBB0_17:
Lloh16:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x2, l_.str.4@PAGE
Lloh20:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, #0
	bl	_av_log
LBB0_18:
	mov	x20, #0
LBB0_19:
	ldur	x8, [x29, #-56]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.20:
	mov	x0, x20
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_21:
	add	x0, x21, #1
	mov	w1, #58
	bl	_strchr
	cbnz	x0, LBB0_1
	b	LBB0_4
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_URL_SCHEME_CHARS,4,2           ; @URL_SCHEME_CHARS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"subfile,"

l_.str.1:                               ; @.str.1
	.asciz	"file"

	.comm	_URL_PROTOCOL_FLAG_NESTED_SCHEME,4,2 ; @URL_PROTOCOL_FLAG_NESTED_SCHEME
l_.str.2:                               ; @.str.2
	.asciz	"https:"

l_.str.3:                               ; @.str.3
	.asciz	"tls:"

	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.4:                               ; @.str.4
	.asciz	"https protocol not found, recompile FFmpeg with openssl, gnutls or securetransport enabled.\n"

	.no_dead_strip	_url_find_protocol
.subsections_via_symbols
