	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_some
_update_some:                           ## @update_some
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	%ecx, %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_READ_TREE_RECURSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_8
LBB0_2:
	movl	(%r15), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, %r13d
	addl	-48(%rbp), %r13d                ## 4-byte Folded Reload
	movq	_the_index@GOTPCREL(%rip), %rdi
	movl	%r13d, %esi
	callq	_make_empty_cache_entry
	movq	%rax, %rbx
	leaq	16(%rax), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rsi
	callq	_oidcpy
	movq	24(%rbx), %rdi
	movq	8(%r15), %rsi
	movl	(%r15), %edx
	callq	_memcpy
	movslq	(%r15), %rdi
	movl	%r13d, %edx
	subl	%edi, %edx
	addq	24(%rbx), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_memcpy
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_create_ce_flags
	movq	_CE_UPDATE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rbx)
	movl	%r13d, 4(%rbx)
	movl	%r12d, %edi
	callq	_create_ce_mode
	movq	%rax, 8(%rbx)
	movq	24(%rbx), %rdi
	movl	4(%rbx), %esi
	callq	_cache_name_pos
	testl	%eax, %eax
	js	LBB0_7
## %bb.3:
	movq	_active_cache@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, %eax
	movq	(%rcx,%rax,8), %r15
	movq	8(%rbx), %rax
	cmpq	8(%r15), %rax
	jne	LBB0_7
## %bb.4:
	movq	%r15, %rdi
	callq	_ce_intent_to_add
	testl	%eax, %eax
	je	LBB0_5
LBB0_7:
	movq	_ADD_CACHE_OK_TO_ADD@GOTPCREL(%rip), %rax
	movq	_ADD_CACHE_OK_TO_REPLACE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_add_cache_entry
LBB0_8:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	16(%r15), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_oideq
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_CE_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	movq	%rbx, %rdi
	callq	_discard_cache_entry
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_READ_TREE_RECURSIVE,4,2        ## @READ_TREE_RECURSIVE
	.comm	_the_index,4,2                  ## @the_index
	.comm	_CE_UPDATE,4,2                  ## @CE_UPDATE
	.comm	_active_cache,8,3               ## @active_cache
	.comm	_ADD_CACHE_OK_TO_ADD,4,2        ## @ADD_CACHE_OK_TO_ADD
	.comm	_ADD_CACHE_OK_TO_REPLACE,4,2    ## @ADD_CACHE_OK_TO_REPLACE
	.no_dead_strip	_update_some
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_some
_update_some:                           ; @update_some
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	mov	x0, x3
	bl	_S_ISDIR
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _READ_TREE_RECURSIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _READ_TREE_RECURSIVE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_2:
	ldr	w19, [x23]
	mov	x0, x22
	bl	_strlen
	add	w25, w0, w19
Lloh3:
	adrp	x0, _the_index@GOTPAGE
Lloh4:
	ldr	x0, [x0, _the_index@GOTPAGEOFF]
	mov	x1, x25
	bl	_make_empty_cache_entry
	mov	x19, x0
	add	x20, x0, #16
	mov	x0, x20
	mov	x1, x24
	bl	_oidcpy
	ldr	x0, [x19, #24]
	ldr	x1, [x23, #8]
	ldr	w2, [x23]
	bl	_memcpy
	ldr	x8, [x19, #24]
	ldrsw	x9, [x23]
	add	x0, x8, x9
	sub	w2, w25, w9
	mov	x1, x22
	bl	_memcpy
	mov	w0, #0
	bl	_create_ce_flags
Lloh5:
	adrp	x22, _CE_UPDATE@GOTPAGE
Lloh6:
	ldr	x22, [x22, _CE_UPDATE@GOTPAGEOFF]
	ldr	w8, [x22]
	orr	w8, w8, w0
	stp	w8, w25, [x19]
	mov	x0, x21
	bl	_create_ce_mode
	str	x0, [x19, #8]
	ldr	x0, [x19, #24]
	ldr	w1, [x19, #4]
	bl	_cache_name_pos
	tbnz	w0, #31, LBB0_5
; %bb.3:
Lloh7:
	adrp	x8, _active_cache@GOTPAGE
Lloh8:
	ldr	x8, [x8, _active_cache@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	x21, [x8, w0, uxtw #3]
	ldr	x8, [x19, #8]
	ldr	x9, [x21, #8]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x21
	bl	_ce_intent_to_add
	cbz	w0, LBB0_8
LBB0_5:
Lloh10:
	adrp	x8, _ADD_CACHE_OK_TO_ADD@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ADD_CACHE_OK_TO_ADD@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _ADD_CACHE_OK_TO_REPLACE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ADD_CACHE_OK_TO_REPLACE@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x19
	bl	_add_cache_entry
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_8:
	add	x1, x21, #16
	mov	x0, x20
	bl	_oideq
	cbz	x0, LBB0_5
; %bb.9:
	ldr	w8, [x22]
	ldr	w9, [x21]
	orr	w8, w9, w8
	str	w8, [x21]
	mov	x0, x19
	bl	_discard_cache_entry
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_READ_TREE_RECURSIVE,4,2        ; @READ_TREE_RECURSIVE
	.comm	_the_index,4,2                  ; @the_index
	.comm	_CE_UPDATE,4,2                  ; @CE_UPDATE
	.comm	_active_cache,8,3               ; @active_cache
	.comm	_ADD_CACHE_OK_TO_ADD,4,2        ; @ADD_CACHE_OK_TO_ADD
	.comm	_ADD_CACHE_OK_TO_REPLACE,4,2    ; @ADD_CACHE_OK_TO_REPLACE
	.no_dead_strip	_update_some
.subsections_via_symbols
