	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ffurl_closep                   ## -- Begin function ffurl_closep
	.p2align	4, 0x90
_ffurl_closep:                          ## @ffurl_closep
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r15
	xorl	%r14d, %r14d
	cmpq	$0, 16(%rbx)
	je	LBB0_5
## %bb.3:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	*%rax
	movl	%eax, %r14d
LBB0_5:
	movq	8(%rbx), %rax
	cmpq	$0, 24(%rax)
	je	LBB0_9
## %bb.6:
	cmpq	$0, 16(%rax)
	je	LBB0_8
## %bb.7:
	movq	(%rbx), %rdi
	callq	_av_opt_free
LBB0_8:
	movq	%rbx, %rdi
	callq	_av_freep
LBB0_9:
	movq	%rbx, %rdi
	callq	_av_opt_free
	movq	%r15, %rdi
	callq	_av_freep
	jmp	LBB0_10
LBB0_1:
	xorl	%r14d, %r14d
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_URL_PROTOCOL_FLAG_NETWORK,4,2  ## @URL_PROTOCOL_FLAG_NETWORK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ffurl_closep                   ; -- Begin function ffurl_closep
	.p2align	2
_ffurl_closep:                          ; @ffurl_closep
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x20, [x0]
	cbz	x20, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.3:
	mov	x0, x20
	blr	x8
	mov	x21, x0
	b	LBB0_6
LBB0_4:
	mov	w21, #0
	b	LBB0_11
LBB0_5:
	mov	w21, #0
LBB0_6:
	ldr	x8, [x20, #8]
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_10
; %bb.7:
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	x0, [x20]
	bl	_av_opt_free
LBB0_9:
	mov	x0, x20
	bl	_av_freep
LBB0_10:
	mov	x0, x20
	bl	_av_opt_free
	mov	x0, x19
	bl	_av_freep
LBB0_11:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_URL_PROTOCOL_FLAG_NETWORK,4,2  ; @URL_PROTOCOL_FLAG_NETWORK
.subsections_via_symbols
