	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_tls_open_underlying         ## -- Begin function ff_tls_open_underlying
	.p2align	4, 0x90
_ff_tls_open_underlying:                ## @ff_tls_open_underlying
	.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	$936, %rsp                      ## imm = 0x3A8
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -288(%rbp)
	movaps	%xmm0, -304(%rbp)
	movaps	%xmm0, -320(%rbp)
	movw	$0, -272(%rbp)
	movq	$0, -968(%rbp)
	movq	$0, -960(%rbp)
	movq	%rdx, %rsi
	callq	_set_options
	cmpl	$0, (%r12)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdx
	leaq	-320(%rbp), %rdi
	movl	$50, %esi
	callq	_snprintf
LBB0_2:
	movq	8(%r12), %r8
	leaq	-948(%rbp), %rax
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$8, %r9d
	pushq	%rbx
	pushq	$0
	pushq	$0
	pushq	%rax
	callq	_av_url_split
	addq	$32, %rsp
	movq	%rbx, %rdi
	movl	$63, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rdx
	leaq	-320(%rbp), %rdi
	movl	$50, %esi
	movq	%rax, %rcx
	callq	_av_find_info_tag
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	$1, (%r12)
	jmp	LBB0_6
LBB0_3:
	leaq	-320(%rbp), %rbx
LBB0_6:
	movq	8(%r12), %r8
	movl	-948(%rbp), %r9d
	leaq	L_.str.3(%rip), %r10
	leaq	L_.str.2(%rip), %rdx
	leaq	-256(%rbp), %rdi
	movl	$200, %esi
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r10
	callq	_ff_url_join
	addq	$16, %rsp
	movq	_AI_NUMERICHOST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -968(%rbp)
	movq	8(%r12), %rdi
	leaq	-968(%rbp), %rdx
	leaq	-960(%rbp), %rcx
	xorl	%esi, %esi
	callq	_getaddrinfo
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	cmpq	$0, 24(%r12)
	jne	LBB0_11
	jmp	LBB0_9
LBB0_7:
	movl	$1, 16(%r12)
	movq	-960(%rbp), %rdi
	callq	_freeaddrinfo
	cmpq	$0, 24(%r12)
	jne	LBB0_11
LBB0_9:
	movq	8(%r12), %rdi
	callq	_av_strdup
	movq	%rax, 24(%r12)
	testq	%rax, %rax
	je	LBB0_10
LBB0_11:
	leaq	L_.str.4(%rip), %rdi
	callq	_getenv
	movq	%rax, %rbx
	leaq	L_.str.5(%rip), %rdi
	callq	_getenv
	movq	8(%r12), %rsi
	movq	%rax, %rdi
	callq	_ff_http_match_no_proxy
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.12:
	testl	%eax, %eax
	jne	LBB0_15
## %bb.13:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_av_strstart
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	leaq	-952(%rbp), %rax
	leaq	-736(%rbp), %r13
	leaq	-528(%rbp), %r8
	xorl	%edi, %edi
	xorl	%esi, %esi
	movq	%r13, %rdx
	movl	$200, %ecx
	movl	$200, %r9d
	pushq	%rbx
	pushq	$0
	pushq	$0
	pushq	%rax
	callq	_av_url_split
	addq	$32, %rsp
	movq	8(%r12), %r8
	movl	-948(%rbp), %r9d
	subq	$8, %rsp
	leaq	-944(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$200, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	pushq	$0
	callq	_ff_url_join
	addq	$16, %rsp
	movl	-952(%rbp), %r9d
	leaq	L_.str.8(%rip), %r10
	leaq	L_.str.7(%rip), %rdx
	leaq	-256(%rbp), %rdi
	movl	$200, %esi
	movq	%r13, %rcx
	leaq	-528(%rbp), %r8
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r10
	callq	_ff_url_join
	addq	$16, %rsp
LBB0_15:
	addq	$20, %r12
	movq	_AVIO_FLAG_READ_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	8(%r15), %rcx
	movl	(%r15), %eax
	movl	4(%r15), %r9d
	leaq	-256(%rbp), %rsi
	movq	%r12, %rdi
	movq	%r14, %r8
	pushq	%r15
	pushq	%rax
	callq	_ffurl_open_whitelist
	addq	$16, %rsp
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_18
## %bb.17:
	addq	$936, %rsp                      ## imm = 0x3A8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_16
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"?listen=1"

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

L_.str.2:                               ## @.str.2
	.asciz	"tcp"

L_.str.3:                               ## @.str.3
	.asciz	"%s"

	.comm	_AI_NUMERICHOST,4,2             ## @AI_NUMERICHOST
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.4:                               ## @.str.4
	.asciz	"http_proxy"

L_.str.5:                               ## @.str.5
	.asciz	"no_proxy"

L_.str.6:                               ## @.str.6
	.asciz	"http://"

L_.str.7:                               ## @.str.7
	.asciz	"httpproxy"

L_.str.8:                               ## @.str.8
	.asciz	"/%s"

	.comm	_AVIO_FLAG_READ_WRITE,4,2       ## @AVIO_FLAG_READ_WRITE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_tls_open_underlying         ; -- Begin function ff_tls_open_underlying
	.p2align	2
_ff_tls_open_underlying:                ; @ff_tls_open_underlying
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #928
	mov	x20, x3
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	add	x8, sp, #656
	strh	wzr, [sp, #704]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x8, #16]
	str	q0, [x8]
	stp	xzr, xzr, [sp, #32]
	mov	x1, x2
	bl	_set_options
	ldr	w8, [x21]
	cbz	w8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #656
	mov	w1, #50
	bl	_snprintf
LBB0_2:
	ldr	x4, [x21, #8]
	str	x22, [sp, #8]
	str	wzr, [sp]
	add	x6, sp, #52
	mov	x0, #0
	mov	w1, #0
	mov	x2, #0
	mov	w3, #0
	mov	w5, #8
	mov	x7, #0
	bl	_av_url_split
	mov	x0, x22
	mov	w1, #63
	bl	_strchr
	cbz	x0, LBB0_5
; %bb.3:
	mov	x22, x0
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #656
	mov	w1, #50
	mov	x3, x22
	bl	_av_find_info_tag
	cbz	x0, LBB0_6
; %bb.4:
	mov	w8, #1
	str	w8, [x21]
	b	LBB0_6
LBB0_5:
	add	x22, sp, #656
LBB0_6:
	ldr	x4, [x21, #8]
	ldr	w5, [sp, #52]
	str	x22, [sp]
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
Lloh9:
	adrp	x6, l_.str.3@PAGE
Lloh10:
	add	x6, x6, l_.str.3@PAGEOFF
	sub	x0, x29, #256
	mov	w1, #200
	mov	x3, #0
	bl	_ff_url_join
Lloh11:
	adrp	x8, _AI_NUMERICHOST@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AI_NUMERICHOST@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	ldr	x0, [x21, #8]
	add	x2, sp, #40
	add	x3, sp, #32
	mov	x1, #0
	bl	_getaddrinfo
	cbz	w0, LBB0_8
; %bb.7:
	ldr	x8, [x21, #24]
	cbnz	x8, LBB0_10
	b	LBB0_9
LBB0_8:
	mov	w8, #1
	str	w8, [x21, #16]
	ldr	x0, [sp, #32]
	bl	_freeaddrinfo
	ldr	x8, [x21, #24]
	cbnz	x8, LBB0_10
LBB0_9:
	ldr	x0, [x21, #8]
	bl	_av_strdup
	str	x0, [x21, #24]
	cbz	x0, LBB0_17
LBB0_10:
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_getenv
	mov	x22, x0
Lloh16:
	adrp	x0, l_.str.5@PAGE
Lloh17:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_getenv
	ldr	x1, [x21, #8]
	bl	_ff_http_match_no_proxy
	cbz	x22, LBB0_14
; %bb.11:
	cbnz	w0, LBB0_14
; %bb.12:
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x22
	mov	x2, #0
	bl	_av_strstart
	cbz	x0, LBB0_14
; %bb.13:
	str	x22, [sp, #8]
	str	wzr, [sp]
	add	x2, sp, #256
	add	x4, sp, #456
	add	x6, sp, #28
	mov	x0, #0
	mov	w1, #0
	mov	w3, #200
	mov	w5, #200
	mov	x7, #0
	bl	_av_url_split
	ldr	x4, [x21, #8]
	ldr	w5, [sp, #52]
	add	x22, sp, #56
	add	x0, sp, #56
	mov	w1, #200
	mov	x2, #0
	mov	x3, #0
	mov	x6, #0
	bl	_ff_url_join
	ldr	w5, [sp, #28]
	str	x22, [sp]
Lloh20:
	adrp	x2, l_.str.7@PAGE
Lloh21:
	add	x2, x2, l_.str.7@PAGEOFF
Lloh22:
	adrp	x6, l_.str.8@PAGE
Lloh23:
	add	x6, x6, l_.str.8@PAGEOFF
	sub	x0, x29, #256
	add	x3, sp, #256
	add	x4, sp, #456
	mov	w1, #200
	bl	_ff_url_join
LBB0_14:
	add	x0, x21, #20
Lloh24:
	adrp	x8, _AVIO_FLAG_READ_WRITE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AVIO_FLAG_READ_WRITE@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	add	x3, x19, #8
	ldp	w6, w5, [x19]
	sub	x1, x29, #256
	mov	x4, x20
	mov	x7, x19
	bl	_ffurl_open_whitelist
LBB0_15:
	ldur	x8, [x29, #-56]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.16:
	add	sp, sp, #928
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_17:
Lloh30:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_15
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"?listen=1"

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

l_.str.2:                               ; @.str.2
	.asciz	"tcp"

l_.str.3:                               ; @.str.3
	.asciz	"%s"

	.comm	_AI_NUMERICHOST,4,2             ; @AI_NUMERICHOST
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.4:                               ; @.str.4
	.asciz	"http_proxy"

l_.str.5:                               ; @.str.5
	.asciz	"no_proxy"

l_.str.6:                               ; @.str.6
	.asciz	"http://"

l_.str.7:                               ; @.str.7
	.asciz	"httpproxy"

l_.str.8:                               ; @.str.8
	.asciz	"/%s"

	.comm	_AVIO_FLAG_READ_WRITE,4,2       ; @AVIO_FLAG_READ_WRITE
.subsections_via_symbols
