	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ijkio_ffio_open
_ijkio_ffio_open:                       ## @ijkio_ffio_open
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)
	movq	8(%rdi), %r15
	testq	%r15, %r15
	je	LBB0_1
## %bb.2:
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	$0, -40(%rbp)
	movq	(%rcx), %rsi
	leaq	-40(%rbp), %rdi
	callq	_ijkio_copy_options
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_av_strstart
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	-48(%rbp), %rsi
	movq	(%rax), %rcx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	leaq	-40(%rbp), %r8
	movq	%r15, %rdi
	movl	%r14d, %edx
	xorl	%r9d, %r9d
	callq	_ffurl_open_whitelist
	movl	%eax, %ebx
	jmp	LBB0_5
LBB0_1:
	movl	$-1, %ebx
	jmp	LBB0_6
LBB0_3:
	movl	$-1, %ebx
LBB0_5:
	leaq	-40(%rbp), %rdi
	callq	_av_dict_free
LBB0_6:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ffio:"

	.no_dead_strip	_ijkio_ffio_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ijkio_ffio_open
_ijkio_ffio_open:                       ; @ijkio_ffio_open
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	str	x1, [sp, #8]
	ldr	x20, [x0, #8]
	cbz	x20, LBB0_3
; %bb.1:
	mov	x19, x2
	mov	x22, x1
	mov	x21, x0
	str	xzr, [sp]
	ldr	x1, [x3]
	mov	x0, sp
	bl	_ijkio_copy_options
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x0, x22
	bl	_av_strstart
	ldr	x8, [x21]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x1, [sp, #8]
	ldr	x3, [x8]
	mov	x4, sp
	mov	x0, x20
	mov	x2, x19
	mov	x5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_ffurl_open_whitelist
	mov	x19, x0
	b	LBB0_5
LBB0_3:
	mov	w19, #-1
	b	LBB0_6
LBB0_4:
	mov	w19, #-1
LBB0_5:
	mov	x0, sp
	bl	_av_dict_free
LBB0_6:
	mov	x0, x19
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ffio:"

	.no_dead_strip	_ijkio_ffio_open
.subsections_via_symbols
