	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ijkio_manager_will_share_cache_map ## -- Begin function ijkio_manager_will_share_cache_map
	.p2align	4, 0x90
_ijkio_manager_will_share_cache_map:    ## @ijkio_manager_will_share_cache_map
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	callq	_av_log
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.1:
	cmpq	$0, (%rbx)
	je	LBB0_7
## %bb.2:
	movl	8(%rbx), %edi
	callq	_strlen
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:
	movq	(%rbx), %rdi
	addq	$16, %rdi
	callq	_pthread_mutex_lock
	movl	8(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	movq	(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, %r14
	movl	$1, (%rdi)
	movl	20(%rdi), %edi
	movq	_ijkio_manager_save_tree_to_file@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_ijk_map_traversal_handle
	movq	%r14, %rdi
	callq	_fclose
	movq	(%rbx), %rdi
	movq	8(%rdi), %rax
	testq	%rax, %rax
	js	LBB0_6
## %bb.5:
	movq	%rax, %rdi
	callq	_fsync
	movq	(%rbx), %rdi
LBB0_6:
	addq	$16, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pthread_mutex_unlock           ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_INFO,4,2                ## @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"will share cache\n"

L_.str.1:                               ## @.str.1
	.asciz	"w"

	.comm	_ijkio_manager_save_tree_to_file,4,2 ## @ijkio_manager_save_tree_to_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ijkio_manager_will_share_cache_map ; -- Begin function ijkio_manager_will_share_cache_map
	.p2align	2
_ijkio_manager_will_share_cache_map:    ; @ijkio_manager_will_share_cache_map
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _AV_LOG_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	bl	_av_log
	cbz	x19, LBB0_7
; %bb.1:
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.2:
	ldr	w0, [x19, #8]
	bl	_strlen
	cbz	w0, LBB0_7
; %bb.3:
	ldr	x8, [x19]
	add	x0, x8, #16
	bl	_pthread_mutex_lock
	ldr	w0, [x19, #8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fopen
	ldr	x8, [x19]
	cbz	x0, LBB0_6
; %bb.4:
	mov	x20, x0
	mov	w9, #1
	str	w9, [x8]
	ldr	w0, [x8, #20]
Lloh7:
	adrp	x8, _ijkio_manager_save_tree_to_file@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ijkio_manager_save_tree_to_file@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_ijk_map_traversal_handle
	mov	x0, x20
	bl	_fclose
	ldr	x8, [x19]
	ldr	x0, [x8, #8]
	tbnz	x0, #63, LBB0_6
; %bb.5:
	bl	_fsync
	ldr	x8, [x19]
LBB0_6:
	add	x0, x8, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pthread_mutex_unlock
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_INFO,4,2                ; @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"will share cache\n"

l_.str.1:                               ; @.str.1
	.asciz	"w"

	.comm	_ijkio_manager_save_tree_to_file,4,2 ; @ijkio_manager_save_tree_to_file
.subsections_via_symbols
