	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ijkio_cache_file_overrang
_ijkio_cache_file_overrang:             ## @ijkio_cache_file_overrang
	.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	%rsi, %r14
	movq	%rdi, %r15
	movq	8(%rdi), %rbx
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	callq	_av_log
	movq	(%r15), %rdi
	callq	_pthread_mutex_lock
	movq	72(%rbx), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
LBB0_3:
	movq	(%r15), %rdi
	callq	_pthread_mutex_unlock
	movq	_FILE_RW_ERROR@GOTPCREL(%rip), %rbx
	jmp	LBB0_4
LBB0_1:
	movl	64(%rbx), %edi
	movq	56(%rbx), %rsi
	callq	_ijk_map_remove
	movl	64(%rbx), %edi
	movq	_tree_destroy@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_ijk_map_traversal_handle
	movl	64(%rbx), %edi
	callq	_ijk_map_clear
	movl	48(%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	64(%rbx), %edi
	movq	56(%rbx), %rsi
	movl	48(%rbx), %edx
	callq	_ijk_map_put
	movq	40(%rbx), %rax
	movq	$0, (%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	movl	8(%rbx), %edi
	movl	12(%rbx), %eax
	movl	%eax, 16(%rbx)
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_lseek
	movq	%rax, (%r14)
	testq	%rax, %rax
	js	LBB0_3
## %bb.2:
	movq	(%r15), %rdi
	callq	_pthread_mutex_unlock
LBB0_4:
	movq	(%rbx), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ijkio_cache_file_overrang will flush file\n"

	.comm	_tree_destroy,4,2               ## @tree_destroy
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_FILE_RW_ERROR,8,3              ## @FILE_RW_ERROR
	.no_dead_strip	_ijkio_cache_file_overrang
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ijkio_cache_file_overrang
_ijkio_cache_file_overrang:             ; @ijkio_cache_file_overrang
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x21, [x0, #8]
Lloh0:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	bl	_av_log
	ldr	x0, [x19]
	bl	_pthread_mutex_lock
	ldr	x8, [x21, #72]
	ldr	w8, [x8]
	cbz	w8, LBB0_2
LBB0_1:
	ldr	x0, [x19]
	bl	_pthread_mutex_unlock
Lloh5:
	adrp	x21, _FILE_RW_ERROR@GOTPAGE
Lloh6:
	ldr	x21, [x21, _FILE_RW_ERROR@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	ldr	w0, [x21, #64]
	ldr	x1, [x21, #56]
	bl	_ijk_map_remove
	ldr	w0, [x21, #64]
Lloh7:
	adrp	x8, _tree_destroy@GOTPAGE
Lloh8:
	ldr	x8, [x8, _tree_destroy@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x1, #0
	bl	_ijk_map_traversal_handle
	ldr	w0, [x21, #64]
	bl	_ijk_map_clear
	ldr	w0, [x21, #48]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x21, #64]
	ldr	x1, [x21, #56]
	ldr	w2, [x21, #48]
	bl	_ijk_map_put
	ldr	x8, [x21, #40]
	str	xzr, [x8]
	stp	xzr, xzr, [x21, #24]
	ldp	w0, w8, [x21, #8]
	str	w8, [x21, #16]
Lloh10:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_lseek
	str	x0, [x20]
	tbnz	x0, #63, LBB0_1
; %bb.3:
	ldr	x0, [x19]
	bl	_pthread_mutex_unlock
LBB0_4:
	ldr	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
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ijkio_cache_file_overrang will flush file\n"

	.comm	_tree_destroy,4,2               ; @tree_destroy
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_FILE_RW_ERROR,8,3              ; @FILE_RW_ERROR
	.no_dead_strip	_ijkio_cache_file_overrang
.subsections_via_symbols
