	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vc_container_io_cache_seek
_vc_container_io_cache_seek:            ## @vc_container_io_cache_seek
	.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	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rsi), %rsi
	cmpq	%rdx, %rsi
	jg	LBB0_3
## %bb.1:
	movq	48(%rbx), %rax
	addq	%rsi, %rax
	cmpq	%r14, %rax
	jle	LBB0_3
## %bb.2:
	subq	%rsi, %r14
	movq	%r14, 40(%rbx)
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_16
LBB0_3:
	movq	32(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_10
## %bb.4:
	movq	8(%rbx), %r12
	movq	16(%rbx), %rcx
	cmpq	%rcx, %r12
	je	LBB0_10
## %bb.5:
	cmpq	$0, 48(%rbx)
	je	LBB0_10
## %bb.6:
	cmpq	%r14, %rsi
	jle	LBB0_10
## %bb.7:
	subq	%rcx, %r12
	subq	%r12, %rsi
	cmpq	%r14, %rsi
	jg	LBB0_10
## %bb.8:
	movq	24(%rbx), %rdi
	callq	*(%rdi)
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_16
## %bb.9:
	movdqu	(%rbx), %xmm0
	movq	%r12, %xmm1
	pshufd	$68, %xmm1, %xmm1               ## xmm1 = xmm1[0,1,0,1]
	psubq	%xmm1, %xmm0
	movdqu	%xmm0, (%rbx)
	movq	24(%rbx), %rdi
	pextrq	$1, %xmm0, %rsi
	movq	%r12, %rdx
	callq	*8(%rdi)
	movq	%rax, %r15
	xorl	%edi, %edi
	cmpq	%r12, %rax
	sete	%dil
	callq	_vc_container_assert
	addq	%r12, 48(%rbx)
	movq	(%rbx), %rax
	movq	24(%rbx), %rcx
	subq	%rax, %r14
	movq	%r14, 40(%rbx)
	addq	%r15, %rax
	movq	16(%rcx), %rcx
	movq	%rax, (%rcx)
	movq	(%r13), %rax
	jmp	LBB0_16
LBB0_10:
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_vc_container_io_cache_flush
LBB0_12:
	movq	(%r15), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.13:
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_async_io_wait_complete
LBB0_14:
	movq	24(%rbx), %rdi
	movq	%r14, %rsi
	callq	*(%rdi)
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_16
## %bb.15:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_vc_container_io_cache_flush
	movq	%r14, (%rbx)
	movq	24(%rbx), %rax
	movq	16(%rax), %rax
	movq	%r14, (%rax)
	movq	(%r12), %rax
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_SUCCESS,8,3       ## @VC_CONTAINER_SUCCESS
	.no_dead_strip	_vc_container_io_cache_seek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vc_container_io_cache_seek
_vc_container_io_cache_seek:            ; @vc_container_io_cache_seek
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x1]
	cmp	x8, x2
	b.gt	LBB0_3
; %bb.1:
	ldr	x9, [x19, #48]
	add	x9, x9, x8
	cmp	x9, x20
	b.le	LBB0_3
; %bb.2:
	sub	x8, x20, x8
	str	x8, [x19, #40]
Lloh0:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	b	LBB0_12
LBB0_3:
	ldp	x10, x11, [x19, #8]
	ldr	x9, [x19, #32]
	cmp	x9, #0
	ccmp	x10, x11, #4, eq
	b.eq	LBB0_6
; %bb.4:
	ldr	x12, [x19, #48]
	cbz	x12, LBB0_6
; %bb.5:
	sub	x22, x10, x11
	sub	x1, x8, x22
	cmp	x8, x20
	ccmp	x1, x20, #0, gt
	b.le	LBB0_13
LBB0_6:
	cbz	x9, LBB0_8
; %bb.7:
	mov	x0, x21
	mov	x1, x19
	mov	w2, #1
	bl	_vc_container_io_cache_flush
LBB0_8:
	ldr	x8, [x21]
	ldr	x0, [x8]
	cbz	x0, LBB0_10
; %bb.9:
	mov	x1, x19
	mov	w2, #1
	bl	_async_io_wait_complete
LBB0_10:
	ldr	x0, [x19, #24]
	ldr	x8, [x0]
	mov	x1, x20
	blr	x8
Lloh3:
	adrp	x22, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh4:
	ldr	x22, [x22, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x21
	mov	x1, x19
	mov	w2, #1
	bl	_vc_container_io_cache_flush
	str	x20, [x19]
	ldr	x8, [x19, #24]
	ldr	x8, [x8, #16]
	str	x20, [x8]
	ldr	x0, [x22]
LBB0_12:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_13:
	ldr	x0, [x19, #24]
	ldr	x8, [x0]
	blr	x8
Lloh5:
	adrp	x23, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh6:
	ldr	x23, [x23, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.14:
	ldp	x8, x9, [x19]
	sub	x8, x8, x22
	sub	x1, x9, x22
	stp	x8, x1, [x19]
	ldr	x0, [x19, #24]
	ldr	x8, [x0, #8]
	mov	x2, x22
	blr	x8
	mov	x21, x0
	cmp	x0, x22
	cset	w0, eq
	bl	_vc_container_assert
	ldr	x8, [x19, #48]
	add	x8, x8, x22
	ldr	x9, [x19]
	sub	x10, x20, x9
	stp	x10, x8, [x19, #40]
	add	x8, x9, x21
	ldr	x9, [x19, #24]
	ldr	x9, [x9, #16]
	str	x8, [x9]
	ldr	x0, [x23]
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_SUCCESS,8,3       ; @VC_CONTAINER_SUCCESS
	.no_dead_strip	_vc_container_io_cache_seek
.subsections_via_symbols
