	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ijkio_urlhook_reconnect
_ijkio_urlhook_reconnect:               ## @ijkio_urlhook_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	(%rdi), %rbx
	movq	$0, -32(%rbp)
	movq	$0, -24(%rbp)
	movl	64(%rbx), %eax
	addl	%eax, 72(%rbx)
	movq	56(%rbx), %rdi
	callq	_assert
	movq	56(%rbx), %rsi
	leaq	-24(%rbp), %rdi
	xorl	%edx, %edx
	callq	_ijk_av_dict_copy
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	leaq	-24(%rbp), %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ijk_av_dict_copy
LBB0_2:
	movl	44(%rbx), %esi
	leaq	-32(%rbp), %rdi
	callq	_ijkio_alloc_url
	movl	%eax, %r14d
	movl	48(%rbx), %eax
	movq	-32(%rbp), %rdi
	movl	%eax, 48(%rdi)
	testl	%r14d, %r14d
	jne	LBB0_8
## %bb.3:
	movq	24(%rdi), %rax
	movl	40(%rbx), %edx
	movl	44(%rbx), %esi
	leaq	-24(%rbp), %rcx
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_4
## %bb.7:
	movl	%eax, %r14d
	movq	-32(%rbp), %rdi
	callq	_ijk_av_freep
	leaq	-32(%rbp), %rdi
	callq	_ijk_av_freep
LBB0_8:
	cmpq	$0, -24(%rbp)
	je	LBB0_10
LBB0_9:
	leaq	-24(%rbp), %rdi
	callq	_ijk_av_dict_free
LBB0_10:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	leaq	16(%rbx), %r14
	movq	24(%rdi), %rax
	callq	*16(%rax)
	movq	(%r14), %rdi
	callq	_ijk_av_freep
	movq	%r14, %rdi
	callq	_ijk_av_freep
LBB0_6:
	movq	-32(%rbp), %rdi
	movq	%rdi, 16(%rbx)
	movq	24(%rdi), %rax
	movq	_SEEK_CUR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	*8(%rax)
	movl	%eax, 36(%rbx)
	movq	16(%rbx), %rdi
	movq	24(%rdi), %rax
	movq	_IJKAVSEEK_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	xorl	%esi, %esi
	callq	*8(%rax)
	movl	%eax, 32(%rbx)
	movq	$0, 8(%rbx)
	cmpq	$0, -24(%rbp)
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
	.comm	_IJKAVSEEK_SIZE,4,2             ## @IJKAVSEEK_SIZE
	.no_dead_strip	_ijkio_urlhook_reconnect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ijkio_urlhook_reconnect
_ijkio_urlhook_reconnect:               ; @ijkio_urlhook_reconnect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	ldr	x20, [x0]
	stp	xzr, xzr, [sp]
	ldr	w8, [x20, #64]
	ldr	w9, [x20, #72]
	add	w8, w9, w8
	str	w8, [x20, #72]
	ldr	x0, [x20, #56]
	bl	_assert
	ldr	x1, [x20, #56]
	mov	x0, sp
	mov	w2, #0
	bl	_ijk_av_dict_copy
	cbz	x19, LBB0_2
; %bb.1:
	mov	x0, sp
	mov	x1, x19
	mov	w2, #0
	bl	_ijk_av_dict_copy
LBB0_2:
	ldr	w1, [x20, #44]
	add	x0, sp, #8
	bl	_ijkio_alloc_url
	mov	x19, x0
	ldr	w8, [x20, #48]
	ldr	x0, [sp, #8]
	str	w8, [x0, #48]
	cbnz	w19, LBB0_5
; %bb.3:
	ldr	x8, [x0, #24]
	ldr	x8, [x8]
	ldp	w2, w1, [x20, #40]
	mov	x3, sp
	blr	x8
	cbz	w0, LBB0_8
; %bb.4:
	mov	x19, x0
	ldr	x0, [sp, #8]
	bl	_ijk_av_freep
	add	x0, sp, #8
	bl	_ijk_av_freep
LBB0_5:
	ldr	x8, [sp]
	mov	x0, x19
	cbz	x8, LBB0_7
LBB0_6:
	mov	x0, sp
	bl	_ijk_av_dict_free
	mov	x0, x19
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
	mov	x19, x20
	ldr	x0, [x19, #16]!
	cbz	x0, LBB0_10
; %bb.9:
	ldr	x8, [x0, #24]
	ldr	x8, [x8, #16]
	blr	x8
	ldr	x0, [x19]
	bl	_ijk_av_freep
	mov	x0, x19
	bl	_ijk_av_freep
LBB0_10:
	ldr	x0, [sp, #8]
	str	x0, [x20, #16]
	ldr	x8, [x0, #24]
	ldr	x8, [x8, #8]
Lloh0:
	adrp	x9, _SEEK_CUR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SEEK_CUR@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x9]
	mov	w1, #0
	blr	x8
	str	w0, [x20, #36]
	ldr	x0, [x20, #16]
	ldr	x8, [x0, #24]
	ldr	x8, [x8, #8]
Lloh3:
	adrp	x9, _IJKAVSEEK_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IJKAVSEEK_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x9]
	mov	w1, #0
	blr	x8
	mov	x8, x0
	mov	w19, #0
	mov	w0, #0
	str	w8, [x20, #32]
	str	xzr, [x20, #8]
	ldr	x8, [sp]
	cbnz	x8, LBB0_6
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
	.comm	_IJKAVSEEK_SIZE,4,2             ; @IJKAVSEEK_SIZE
	.no_dead_strip	_ijkio_urlhook_reconnect
.subsections_via_symbols
