	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function merged_entry
_merged_entry:                          ## @merged_entry
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	_CE_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rdx, %rsi
	callq	_dup_cache_entry
	movq	%rax, %r14
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.6:
	movq	_CE_CONFLICTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_7
## %bb.13:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_invalidate_ce_path
LBB0_14:
	movq	_CE_STAGEMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_do_add_entry
	movl	$1, %eax
	jmp	LBB0_15
LBB0_1:
	movq	_CE_ADDED@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_CE_NEW_SKIP_WORKTREE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	movq	_ERROR_WOULD_LOSE_UNTRACKED_OVERWRITTEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r13, %rdx
	callq	_verify_absent
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	callq	_discard_cache_entry
	movl	$-1, %eax
	jmp	LBB0_15
LBB0_7:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_same
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_copy_cache_entry
	xorl	%r15d, %r15d
LBB0_11:
	movq	%r12, %rdi
	callq	_submodule_from_ce
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_oid_to_hex
	movq	%rax, %rbx
	leaq	4(%r12), %rdi
	callq	_oid_to_hex
	movq	%r12, %rdi
	movq	%rbx, %rsi
	jmp	LBB0_5
LBB0_3:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_invalidate_ce_path
	movq	%r12, %rdi
	callq	_submodule_from_ce
	testq	%rax, %rax
	je	LBB0_14
## %bb.4:
	leaq	4(%r12), %rdi
	callq	_oid_to_hex
	movq	%r12, %rdi
	xorl	%esi, %esi
LBB0_5:
	movq	%rax, %rdx
	movq	%r13, %rcx
	callq	_check_submodule_move_head
	testl	%eax, %eax
	je	LBB0_14
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_verify_uptodate
	testq	%rax, %rax
	jne	LBB0_2
## %bb.10:
	movq	_CE_SKIP_WORKTREE@GOTPCREL(%rip), %rax
	movq	_CE_NEW_SKIP_WORKTREE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	andl	(%rbx), %ecx
	orl	%ecx, %r15d
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_invalidate_ce_path
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_CE_UPDATE,4,2                  ## @CE_UPDATE
	.comm	_CE_ADDED,4,2                   ## @CE_ADDED
	.comm	_CE_NEW_SKIP_WORKTREE,4,2       ## @CE_NEW_SKIP_WORKTREE
	.comm	_ERROR_WOULD_LOSE_UNTRACKED_OVERWRITTEN,4,2 ## @ERROR_WOULD_LOSE_UNTRACKED_OVERWRITTEN
	.comm	_CE_CONFLICTED,4,2              ## @CE_CONFLICTED
	.comm	_CE_SKIP_WORKTREE,4,2           ## @CE_SKIP_WORKTREE
	.comm	_CE_STAGEMASK,4,2               ## @CE_STAGEMASK
	.no_dead_strip	_merged_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function merged_entry
_merged_entry:                          ; @merged_entry
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x23, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _CE_UPDATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CE_UPDATE@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x1, x2
	bl	_dup_cache_entry
	mov	x20, x0
	cbz	x23, LBB0_4
; %bb.1:
	ldr	w8, [x23]
Lloh3:
	adrp	x9, _CE_CONFLICTED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CE_CONFLICTED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.2:
	mov	x0, x23
	mov	x1, x19
	bl	_invalidate_ce_path
LBB0_3:
Lloh6:
	adrp	x8, _CE_STAGEMASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CE_STAGEMASK@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_do_add_entry
	mov	w0, #1
	b	LBB0_13
LBB0_4:
Lloh9:
	adrp	x8, _CE_ADDED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CE_ADDED@GOTPAGEOFF]
Lloh11:
	ldr	w23, [x8]
Lloh12:
	adrp	x8, _CE_NEW_SKIP_WORKTREE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CE_NEW_SKIP_WORKTREE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
Lloh15:
	adrp	x8, _ERROR_WOULD_LOSE_UNTRACKED_OVERWRITTEN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERROR_WOULD_LOSE_UNTRACKED_OVERWRITTEN@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_verify_absent
	cbz	x0, LBB0_10
LBB0_5:
	mov	x0, x20
	bl	_discard_cache_entry
	mov	w0, #-1
	b	LBB0_13
LBB0_6:
	mov	x0, x23
	mov	x1, x20
	bl	_same
	cbz	x0, LBB0_14
; %bb.7:
	mov	x0, x20
	mov	x1, x23
	bl	_copy_cache_entry
	mov	w21, #0
LBB0_8:
	mov	x0, x22
	bl	_submodule_from_ce
	cbz	x0, LBB0_3
; %bb.9:
	add	x0, x23, #4
	bl	_oid_to_hex
	mov	x23, x0
	add	x0, x22, #4
	bl	_oid_to_hex
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	b	LBB0_12
LBB0_10:
	orr	w21, w23, w21
	mov	x0, x20
	mov	x1, x19
	bl	_invalidate_ce_path
	mov	x0, x22
	bl	_submodule_from_ce
	cbz	x0, LBB0_3
; %bb.11:
	add	x0, x22, #4
	bl	_oid_to_hex
	mov	x2, x0
	mov	x0, x22
	mov	x1, #0
LBB0_12:
	mov	x3, x19
	bl	_check_submodule_move_head
	cbz	w0, LBB0_3
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	mov	x0, x23
	mov	x1, x19
	bl	_verify_uptodate
	cbnz	x0, LBB0_5
; %bb.15:
	ldr	w8, [x23]
Lloh18:
	adrp	x9, _CE_SKIP_WORKTREE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _CE_SKIP_WORKTREE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x10, _CE_NEW_SKIP_WORKTREE@GOTPAGE
Lloh22:
	ldr	x10, [x10, _CE_NEW_SKIP_WORKTREE@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	orr	w9, w10, w9
	and	w8, w9, w8
	orr	w21, w8, w21
	mov	x0, x23
	mov	x1, x19
	bl	_invalidate_ce_path
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_CE_UPDATE,4,2                  ; @CE_UPDATE
	.comm	_CE_ADDED,4,2                   ; @CE_ADDED
	.comm	_CE_NEW_SKIP_WORKTREE,4,2       ; @CE_NEW_SKIP_WORKTREE
	.comm	_ERROR_WOULD_LOSE_UNTRACKED_OVERWRITTEN,4,2 ; @ERROR_WOULD_LOSE_UNTRACKED_OVERWRITTEN
	.comm	_CE_CONFLICTED,4,2              ; @CE_CONFLICTED
	.comm	_CE_SKIP_WORKTREE,4,2           ; @CE_SKIP_WORKTREE
	.comm	_CE_STAGEMASK,4,2               ; @CE_STAGEMASK
	.no_dead_strip	_merged_entry
.subsections_via_symbols
