	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ffurl_open_whitelist           ## -- Begin function ffurl_open_whitelist
	.p2align	4, 0x90
_ffurl_open_whitelist:                  ## @ffurl_open_whitelist
	.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
	movq	%r9, %r15
	movq	%r8, %r14
	movq	%rdi, %r12
	movq	$0, -48(%rbp)
	callq	_ffurl_alloc
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	24(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	movq	(%r12), %rdi
	callq	_av_opt_copy
LBB0_4:
	testq	%r14, %r14
	je	LBB0_5
## %bb.17:
	movq	(%r12), %rdi
	movq	%r14, %rsi
	callq	_av_opt_set_dict
	testl	%eax, %eax
	js	LBB0_18
## %bb.21:
	movq	(%r12), %rax
	movq	8(%rax), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_6
## %bb.22:
	movq	(%rax), %rdi
	movq	%r14, %rsi
	callq	_av_opt_set_dict
	testl	%eax, %eax
	jns	LBB0_6
	jmp	LBB0_18
LBB0_1:
	movl	%eax, %ebx
	jmp	LBB0_20
LBB0_5:
	leaq	-48(%rbp), %r14
LBB0_6:
	movq	16(%rbp), %rbx
	movl	$1, %r13d
	movl	$1, %edi
	testq	%r15, %r15
	je	LBB0_9
## %bb.7:
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_get
	movl	$1, %edi
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_strcmp
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
LBB0_9:
	callq	_av_assert0
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.10:
	movq	(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	xorl	%r13d, %r13d
	testl	%eax, %eax
	sete	%r13b
LBB0_12:
	movl	%r13d, %edi
	callq	_av_assert0
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_av_dict_set
	testl	%eax, %eax
	js	LBB0_18
## %bb.13:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movq	16(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_av_dict_set
	testl	%eax, %eax
	js	LBB0_18
## %bb.14:
	movq	(%r12), %rdi
	movq	%r14, %rsi
	callq	_av_opt_set_dict
	testl	%eax, %eax
	js	LBB0_18
## %bb.15:
	movq	(%r12), %rdi
	movq	%r14, %rsi
	callq	_ffurl_connect
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_19
## %bb.16:
	xorl	%ebx, %ebx
	jmp	LBB0_20
LBB0_18:
	movl	%eax, %ebx
LBB0_19:
	movq	(%r12), %rdi
	callq	_ffurl_close
	movq	$0, (%r12)
LBB0_20:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"protocol_whitelist"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ffurl_open_whitelist           ; -- Begin function ffurl_open_whitelist
	.p2align	2
_ffurl_open_whitelist:                  ; @ffurl_open_whitelist
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 w23, -56
	.cfi_offset w24, -64
	mov	x24, x7
	mov	x21, x6
	mov	x22, x5
	mov	x20, x4
	mov	x19, x0
	str	xzr, [sp, #8]
	bl	_ffurl_alloc
	tbnz	w0, #31, LBB0_8
; %bb.1:
	cbz	x24, LBB0_3
; %bb.2:
	ldr	x0, [x19]
	mov	x1, x24
	bl	_av_opt_copy
LBB0_3:
	cbz	x20, LBB0_9
; %bb.4:
	ldr	x0, [x19]
	mov	x1, x20
	bl	_av_opt_set_dict
	tbnz	w0, #31, LBB0_20
; %bb.5:
	ldr	x8, [x19]
	ldr	x9, [x8, #8]
	ldr	x9, [x9]
	cbz	x9, LBB0_7
; %bb.6:
	ldr	x0, [x8]
	mov	x1, x20
	bl	_av_opt_set_dict
	tbnz	w0, #31, LBB0_20
LBB0_7:
	cbnz	x22, LBB0_10
	b	LBB0_12
LBB0_8:
	mov	x23, x0
	b	LBB0_22
LBB0_9:
	add	x20, sp, #8
	cbz	x22, LBB0_12
LBB0_10:
	ldr	x0, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_get
	cbz	x0, LBB0_12
; %bb.11:
	ldr	w1, [x0]
	mov	x0, x22
	bl	_strcmp
	cmp	w0, #0
	cset	w0, eq
	bl	_av_assert0
	cbnz	x21, LBB0_13
	b	LBB0_15
LBB0_12:
	mov	w0, #1
	bl	_av_assert0
	cbz	x21, LBB0_15
LBB0_13:
	ldr	x0, [x20]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_get
	cbz	x0, LBB0_15
; %bb.14:
	ldr	w1, [x0]
	mov	x0, x21
	bl	_strcmp
	cmp	w0, #0
	cset	w0, eq
	b	LBB0_16
LBB0_15:
	mov	w0, #1
LBB0_16:
	bl	_av_assert0
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	mov	w3, #0
	bl	_av_dict_set
	tbnz	w0, #31, LBB0_20
; %bb.17:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	mov	w3, #0
	bl	_av_dict_set
	tbnz	w0, #31, LBB0_20
; %bb.18:
	ldr	x0, [x19]
	mov	x1, x20
	bl	_av_opt_set_dict
	tbnz	w0, #31, LBB0_20
; %bb.19:
	ldr	x0, [x19]
	mov	x1, x20
	bl	_ffurl_connect
	mov	x23, x0
	cbnz	w0, LBB0_21
	b	LBB0_22
LBB0_20:
	mov	x23, x0
LBB0_21:
	ldr	x0, [x19]
	bl	_ffurl_close
	str	xzr, [x19]
LBB0_22:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"protocol_whitelist"

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

.subsections_via_symbols
