	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mapc_sync
_mapc_sync:                             ## @mapc_sync
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movq	_MAPC_ROOT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	movq	24(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.2:
	movl	16(%rbx), %esi
	movq	%rbx, %rdi
	callq	*%rcx
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:
	movq	(%rbx), %rax
LBB0_4:
	movq	_MAPC_ALL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_5
## %bb.9:
	movq	%rbx, %rdi
	callq	_mapc_clear
	movq	%rbx, %rdi
	callq	_mapc_find_wildcard
	jmp	LBB0_10
LBB0_5:
	movq	%rbx, %rdi
	callq	_mapc_reload_map
	testl	%eax, %eax
	je	LBB0_6
LBB0_10:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.11:
	movl	(%rax), %edi
	callq	_find_ap
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_clocktime                      ## TAILCALL
LBB0_7:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_8
LBB0_12:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_plog                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAPC_ROOT,8,3                  ## @MAPC_ROOT
	.comm	_XLOG_ERROR,4,2                 ## @XLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mapc_sync: map %s is down: not clearing map"

	.comm	_MAPC_ALL,8,3                   ## @MAPC_ALL
L_.str.1:                               ## @.str.1
	.asciz	"cannot find map %s to update its mtime"

	.no_dead_strip	_mapc_sync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mapc_sync
_mapc_sync:                             ; @mapc_sync
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _MAPC_ROOT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAPC_ROOT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
	ldr	x9, [x0, #24]
	cbz	x9, LBB0_5
; %bb.3:
	ldr	w1, [x19, #16]
	mov	x0, x19
	blr	x9
	cbz	w0, LBB0_11
; %bb.4:
	ldr	x8, [x19]
LBB0_5:
Lloh3:
	adrp	x9, _MAPC_ALL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAPC_ALL@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	mov	x0, x19
	cmp	x8, x9
	b.ge	LBB0_7
; %bb.6:
	bl	_mapc_clear
	mov	x0, x19
	bl	_mapc_find_wildcard
	b	LBB0_8
LBB0_7:
	bl	_mapc_reload_map
	cbz	w0, LBB0_1
LBB0_8:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_1
; %bb.9:
	ldr	w0, [x8]
	bl	_find_ap
	cbz	x0, LBB0_12
; %bb.10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_clocktime
LBB0_11:
Lloh6:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w2, [x19, #16]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_13
LBB0_12:
Lloh11:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	w2, [x8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_plog
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MAPC_ROOT,8,3                  ; @MAPC_ROOT
	.comm	_XLOG_ERROR,4,2                 ; @XLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mapc_sync: map %s is down: not clearing map"

	.comm	_MAPC_ALL,8,3                   ; @MAPC_ALL
l_.str.1:                               ; @.str.1
	.asciz	"cannot find map %s to update its mtime"

	.no_dead_strip	_mapc_sync
.subsections_via_symbols
