	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ijkurlhook_reconnect
_ijkurlhook_reconnect:                  ## @ijkurlhook_reconnect
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	24(%rdi), %rbx
	movq	$0, -40(%rbp)
	movq	$0, -32(%rbp)
	movl	48(%rbx), %eax
	addl	%eax, 56(%rbx)
	movq	40(%rbx), %rdi
	callq	_assert
	movq	40(%rbx), %rsi
	leaq	-32(%rbp), %rdi
	xorl	%edx, %edx
	callq	_av_dict_copy
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	leaq	-32(%rbp), %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_av_dict_copy
LBB0_2:
	movl	32(%rbx), %edx
	movl	36(%rbx), %esi
	leaq	16(%r15), %rcx
	movl	8(%r15), %eax
	movl	12(%r15), %r9d
	leaq	-40(%rbp), %rdi
	leaq	-32(%rbp), %r8
	pushq	%r15
	pushq	%rax
	callq	_ffurl_open_whitelist
	addq	$16, %rsp
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	leaq	16(%rbx), %rdi
	callq	_ffurl_closep
	movq	-40(%rbp), %rdi
	movq	%rdi, 16(%rbx)
	movq	(%rdi), %rax
	movq	%rax, (%r15)
	movq	_SEEK_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_ffurl_seek
	movq	%rax, 24(%rbx)
	movq	16(%rbx), %rdi
	movl	$-1, %eax
	cmpq	$0, (%rdi)
	jne	LBB0_5
## %bb.4:
	movq	_AVSEEK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_ffurl_seek
LBB0_5:
	movl	%eax, (%rbx)
	movq	$0, 8(%rbx)
LBB0_6:
	leaq	-32(%rbp), %rdi
	callq	_av_dict_free
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
	.comm	_AVSEEK_SIZE,4,2                ## @AVSEEK_SIZE
	.no_dead_strip	_ijkurlhook_reconnect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ijkurlhook_reconnect
_ijkurlhook_reconnect:                  ; @ijkurlhook_reconnect
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x21, [x0, #24]
	stp	xzr, xzr, [sp]
	ldr	w8, [x21, #48]
	ldr	w9, [x21, #56]
	add	w8, w9, w8
	str	w8, [x21, #56]
	ldr	x0, [x21, #40]
	bl	_assert
	ldr	x1, [x21, #40]
	mov	x0, sp
	mov	w2, #0
	bl	_av_dict_copy
	cbz	x20, LBB0_2
; %bb.1:
	mov	x0, sp
	mov	x1, x20
	mov	w2, #0
	bl	_av_dict_copy
LBB0_2:
	ldp	w2, w1, [x21, #32]
	add	x3, x19, #16
	ldp	w6, w5, [x19, #8]
	add	x0, sp, #8
	mov	x4, sp
	mov	x7, x19
	bl	_ffurl_open_whitelist
	mov	x20, x0
	cbnz	w0, LBB0_7
; %bb.3:
	add	x0, x21, #16
	bl	_ffurl_closep
	ldr	x0, [sp, #8]
	str	x0, [x21, #16]
	ldr	x8, [x0]
	str	x8, [x19]
Lloh0:
	adrp	x8, _SEEK_CUR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEEK_CUR@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_ffurl_seek
	str	x0, [x21, #24]
	ldr	x0, [x21, #16]
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.4:
	mov	w0, #-1
	b	LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _AVSEEK_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVSEEK_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_ffurl_seek
LBB0_6:
	str	w0, [x21]
	str	xzr, [x21, #8]
LBB0_7:
	mov	x0, sp
	bl	_av_dict_free
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
	.comm	_AVSEEK_SIZE,4,2                ; @AVSEEK_SIZE
	.no_dead_strip	_ijkurlhook_reconnect
.subsections_via_symbols
