	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mapc_reload_map
_mapc_reload_map:                       ## @mapc_reload_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	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_NKVHASH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	40(%rbx), %esi
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rbx)
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	movq	%rax, -40(%rbp)
LBB0_2:
	cmpq	$0, 16(%rbx)
	je	LBB0_6
## %bb.3:
	movq	_do_mapc_reload@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.4:
	movq	-40(%rbp), %rax
	cmpq	8(%rbx), %rax
	jle	LBB0_5
LBB0_6:
	movl	48(%rbx), %esi
	movl	%r14d, %edi
	movl	$8, %edx
	callq	_memcpy
	movl	48(%rbx), %edi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	40(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_dlog
	movq	$0, 56(%rbx)
	movl	40(%rbx), %esi
	movq	_mapc_add_kv@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	*24(%rbx)
	movq	16(%rbx), %rsi
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	testq	%rsi, %rsi
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.4(%rip), %rsi
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rcx
	cmoveq	_XLOG_FATAL@GOTPCREL(%rip), %rcx
	cmoveq	%rax, %rsi
	movl	(%rcx), %edi
	movslq	40(%rbx), %rdx
	xorl	%eax, %eax
	callq	_plog
	movq	%rbx, %rdi
	callq	_mapc_clear
	movl	48(%rbx), %edi
	movl	%r14d, %esi
	movl	$8, %edx
	callq	_memcpy
	jmp	LBB0_14
LBB0_8:
	leaq	1(%rsi), %rdx
	movq	%rdx, 16(%rbx)
	movq	_XLOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movslq	40(%rbx), %rcx
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.10:
	leaq	L_.str.6(%rip), %rsi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_plog
	jmp	LBB0_11
LBB0_5:
	movq	_XLOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movslq	40(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_plog
	movl	8(%rbx), %edx
	movl	40(%rbx), %esi
	movl	-40(%rbp), %ecx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_dlog
	jmp	LBB0_16
LBB0_9:
	leaq	L_.str.5(%rip), %rsi
	movq	%rcx, %rdx
	xorl	%eax, %eax
	callq	_plog
LBB0_11:
	movq	%r14, %rdi
	callq	_mapc_clear_kvhash
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.12:
	callq	_XFREE
	movq	$0, 32(%rbx)
LBB0_13:
	movq	-40(%rbp), %rax
	movq	%rax, 8(%rbx)
	movl	$1, %r15d
LBB0_14:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_dlog
	movq	_wildcard@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	32(%rbx), %r14
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_mapc_search
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movq	$0, (%r14)
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	movl	%r15d, %eax
	leaq	-24(%rbp), %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NKVHASH,4,2                    ## @NKVHASH
	.comm	_do_mapc_reload,8,3             ## @do_mapc_reload
	.comm	_XLOG_INFO,4,2                  ## @XLOG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reload of map %s is not needed (in sync)"

L_.str.1:                               ## @.str.1
	.asciz	"map %s last load time is %d, last modify time is %d"

L_.str.2:                               ## @.str.2
	.asciz	"calling map reload on %s"

	.comm	_mapc_add_kv,4,2                ## @mapc_add_kv
	.comm	_XLOG_FATAL,4,2                 ## @XLOG_FATAL
L_.str.3:                               ## @.str.3
	.asciz	"first time load of map %s failed!"

	.comm	_XLOG_ERROR,4,2                 ## @XLOG_ERROR
L_.str.4:                               ## @.str.4
	.asciz	"reload of map %s failed - using old values"

L_.str.5:                               ## @.str.5
	.asciz	"first time load of map %s succeeded"

L_.str.6:                               ## @.str.6
	.asciz	"reload #%d of map %s succeeded"

L_.str.7:                               ## @.str.7
	.asciz	"calling mapc_search for wildcard"

	.comm	_wildcard,4,2                   ## @wildcard
	.no_dead_strip	_mapc_reload_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mapc_reload_map
_mapc_reload_map:                       ; @mapc_reload_map
	.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
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _NKVHASH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NKVHASH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	x8, [x0]
	ldr	w1, [x0, #40]
	sub	x2, x29, #48
	blr	x8
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	stur	x8, [x29, #-48]
LBB0_2:
	ldr	x8, [x19, #16]
Lloh8:
	adrp	x9, _do_mapc_reload@GOTPAGE
Lloh9:
	ldr	x9, [x9, _do_mapc_reload@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.eq	LBB0_4
; %bb.3:
	ldur	x8, [x29, #-48]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.le	LBB0_8
LBB0_4:
	ldr	w1, [x19, #48]
	mov	x0, x20
	mov	w2, #8
	bl	_memcpy
	ldr	w0, [x19, #48]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	w8, [x19, #40]
	str	x8, [sp, #-16]!
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_dlog
	add	sp, sp, #16
	str	xzr, [x19, #56]
	ldr	x8, [x19, #24]
	ldr	w1, [x19, #40]
Lloh13:
	adrp	x9, _mapc_add_kv@GOTPAGE
Lloh14:
	ldr	x9, [x9, _mapc_add_kv@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x9]
	mov	x0, x19
	blr	x8
	ldr	x9, [x19, #16]
	cbz	w0, LBB0_6
; %bb.5:
Lloh16:
	adrp	x8, l_.str.4@PAGE
Lloh17:
	add	x8, x8, l_.str.4@PAGEOFF
Lloh18:
	adrp	x10, l_.str.3@PAGE
Lloh19:
	add	x10, x10, l_.str.3@PAGEOFF
Lloh20:
	adrp	x11, _XLOG_FATAL@GOTPAGE
Lloh21:
	ldr	x11, [x11, _XLOG_FATAL@GOTPAGEOFF]
	cmp	x9, #0
	csel	x1, x10, x8, eq
Lloh22:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
	csel	x8, x11, x8, eq
	ldr	w0, [x8]
	ldrsw	x2, [x19, #40]
	bl	_plog
	mov	x0, x19
	bl	_mapc_clear
	ldr	w0, [x19, #48]
	mov	x1, x20
	mov	w2, #8
	bl	_memcpy
	mov	w20, #0
	b	LBB0_13
LBB0_6:
	add	x2, x9, #1
	str	x2, [x19, #16]
Lloh24:
	adrp	x8, _XLOG_INFO@GOTPAGE
Lloh25:
	ldr	x8, [x8, _XLOG_INFO@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldrsw	x8, [x19, #40]
	cbz	x9, LBB0_9
; %bb.7:
	str	x8, [sp, #-16]!
Lloh27:
	adrp	x1, l_.str.6@PAGE
Lloh28:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_plog
	add	sp, sp, #16
	b	LBB0_10
LBB0_8:
Lloh29:
	adrp	x8, _XLOG_INFO@GOTPAGE
Lloh30:
	ldr	x8, [x8, _XLOG_INFO@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	ldrsw	x2, [x19, #40]
Lloh32:
	adrp	x1, l_.str@PAGE
Lloh33:
	add	x1, x1, l_.str@PAGEOFF
	bl	_plog
	ldr	x8, [x19, #8]
	ldur	x9, [x29, #-48]
	ldr	w10, [x19, #40]
	sub	sp, sp, #32
	stp	x8, x9, [sp, #8]
	str	x10, [sp]
Lloh34:
	adrp	x0, l_.str.1@PAGE
Lloh35:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dlog
	add	sp, sp, #32
	mov	w20, #0
	b	LBB0_15
LBB0_9:
Lloh36:
	adrp	x1, l_.str.5@PAGE
Lloh37:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x8
	bl	_plog
LBB0_10:
	mov	x0, x20
	bl	_mapc_clear_kvhash
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_12
; %bb.11:
	bl	_XFREE
	str	xzr, [x19, #32]
LBB0_12:
	ldur	x8, [x29, #-48]
	str	x8, [x19, #8]
	mov	w20, #1
LBB0_13:
Lloh38:
	adrp	x0, l_.str.7@PAGE
Lloh39:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_dlog
Lloh40:
	adrp	x8, _wildcard@GOTPAGE
Lloh41:
	ldr	x8, [x8, _wildcard@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	add	x21, x19, #32
	mov	x0, x19
	mov	x2, x21
	bl	_mapc_search
	cbz	w0, LBB0_15
; %bb.14:
	str	xzr, [x21]
LBB0_15:
	ldur	x8, [x29, #-40]
Lloh43:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh44:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	mov	x0, x20
	sub	sp, x29, #32
	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
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_NKVHASH,4,2                    ; @NKVHASH
	.comm	_do_mapc_reload,8,3             ; @do_mapc_reload
	.comm	_XLOG_INFO,4,2                  ; @XLOG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reload of map %s is not needed (in sync)"

l_.str.1:                               ; @.str.1
	.asciz	"map %s last load time is %d, last modify time is %d"

l_.str.2:                               ; @.str.2
	.asciz	"calling map reload on %s"

	.comm	_mapc_add_kv,4,2                ; @mapc_add_kv
	.comm	_XLOG_FATAL,4,2                 ; @XLOG_FATAL
l_.str.3:                               ; @.str.3
	.asciz	"first time load of map %s failed!"

	.comm	_XLOG_ERROR,4,2                 ; @XLOG_ERROR
l_.str.4:                               ; @.str.4
	.asciz	"reload of map %s failed - using old values"

l_.str.5:                               ; @.str.5
	.asciz	"first time load of map %s succeeded"

l_.str.6:                               ; @.str.6
	.asciz	"reload #%d of map %s succeeded"

l_.str.7:                               ; @.str.7
	.asciz	"calling mapc_search for wildcard"

	.comm	_wildcard,4,2                   ; @wildcard
	.no_dead_strip	_mapc_reload_map
.subsections_via_symbols
