	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unlink_entry                   ## -- Begin function unlink_entry
	.p2align	4, 0x90
_unlink_entry:                          ## @unlink_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_submodule_from_ce
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	movq	_SUBMODULE_MOVE_HEAD_FORCE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	callq	_submodule_move_head
LBB0_2:
	movl	(%rbx), %r14d
	movq	%rbx, %rdi
	callq	_ce_namelen
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_check_leading_path
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	callq	_remove_or_warn
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movl	(%rbx), %r14d
	movq	%rbx, %rdi
	callq	_ce_namelen
	movl	%r14d, %edi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_schedule_dir_for_removal       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HEAD"

	.comm	_SUBMODULE_MOVE_HEAD_FORCE,4,2  ## @SUBMODULE_MOVE_HEAD_FORCE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unlink_entry                   ; -- Begin function unlink_entry
	.p2align	2
_unlink_entry:                          ; @unlink_entry
	.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
	bl	_submodule_from_ce
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19]
Lloh0:
	adrp	x8, _SUBMODULE_MOVE_HEAD_FORCE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUBMODULE_MOVE_HEAD_FORCE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	bl	_submodule_move_head
LBB0_2:
	ldr	w20, [x19]
	mov	x0, x19
	bl	_ce_namelen
	mov	x1, x0
	mov	x0, x20
	bl	_check_leading_path
	cbz	w0, LBB0_4
; %bb.3:
	ldp	w1, w0, [x19]
	bl	_remove_or_warn
	cbz	x0, LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	w20, [x19]
	mov	x0, x19
	bl	_ce_namelen
	mov	x1, x0
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_schedule_dir_for_removal
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HEAD"

	.comm	_SUBMODULE_MOVE_HEAD_FORCE,4,2  ; @SUBMODULE_MOVE_HEAD_FORCE
.subsections_via_symbols
