	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_directory
_process_directory:                     ## @process_directory
	.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
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r13
	callq	_cache_name_pos
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movq	_active_cache@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, %eax
	movq	(%rcx,%rax,8), %r12
	movl	8(%r12), %edi
	callq	_S_ISGITLINK
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r13, %rdi
	callq	_resolve_gitlink_ref
	testq	%rax, %rax
	js	LBB0_13
## %bb.3:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	movq	%rbx, %rcx
	jmp	LBB0_15
LBB0_4:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	notl	%eax
	movslq	%r15d, %r12
	movslq	%eax, %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	_active_nr@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jge	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_active_cache@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %r14
	movq	(%r14), %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r14), %rax
	movzbl	(%rax,%r12), %eax
	cmpb	$47, %al
	jg	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	cmpb	$47, %al
	jne	LBB0_5
## %bb.9:
	leaq	L_.str.1(%rip), %rdi
	movq	%r13, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error                          ## TAILCALL
LBB0_10:
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r13, %rdi
	callq	_resolve_gitlink_ref
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:
	leaq	L_.str.2(%rip), %rdi
	movq	%r13, %rsi
	callq	_error
	jmp	LBB0_16
LBB0_12:
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_remove_one_path                ## TAILCALL
LBB0_13:
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_14:
	xorl	%edi, %edi
	movq	%r13, %rsi
	movl	%r15d, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_15:
	callq	_add_one_path
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_active_cache,8,3               ## @active_cache
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HEAD"

	.comm	_active_nr,4,2                  ## @active_nr
L_.str.1:                               ## @.str.1
	.asciz	"%s: is a directory - add individual files instead"

L_.str.2:                               ## @.str.2
	.asciz	"%s: is a directory - add files inside instead"

	.no_dead_strip	_process_directory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_directory
_process_directory:                     ; @process_directory
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_cache_name_pos
	tbnz	w0, #31, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _active_cache@GOTPAGE
Lloh1:
	ldr	x8, [x8, _active_cache@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x22, [x8, w0, uxtw #3]
	ldr	w0, [x22, #8]
	bl	_S_ISGITLINK
	cbz	x0, LBB0_13
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x0, x19
	bl	_resolve_gitlink_ref
	tbnz	x0, #63, LBB0_14
; %bb.3:
	mov	x0, x22
	b	LBB0_12
LBB0_4:
	mvn	w8, w0
	sxtw	x22, w21
	sxtw	x23, w8
Lloh5:
	adrp	x24, _active_nr@GOTPAGE
Lloh6:
	ldr	x24, [x24, _active_nr@GOTPAGEOFF]
Lloh7:
	adrp	x25, _active_cache@GOTPAGE
Lloh8:
	ldr	x25, [x25, _active_cache@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x24]
	cmp	x23, x8
	b.ge	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x25]
	ldr	x26, [x8, x23, lsl #3]
	ldr	x0, [x26]
	mov	x1, x19
	mov	x2, x21
	bl	_strncmp
	cbnz	x0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x26]
	ldrsb	w8, [x8, x22]
	cmp	w8, #47
	b.gt	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	b.ne	LBB0_5
; %bb.9:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_error
LBB0_10:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x0, x19
	bl	_resolve_gitlink_ref
	cbz	x0, LBB0_12
; %bb.11:
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_error
	b	LBB0_15
LBB0_12:
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	bl	_add_one_path
	b	LBB0_15
LBB0_13:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_remove_one_path
LBB0_14:
	mov	w0, #0
LBB0_15:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_active_cache,8,3               ; @active_cache
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HEAD"

	.comm	_active_nr,4,2                  ; @active_nr
l_.str.1:                               ; @.str.1
	.asciz	"%s: is a directory - add individual files instead"

l_.str.2:                               ; @.str.2
	.asciz	"%s: is a directory - add files inside instead"

	.no_dead_strip	_process_directory
.subsections_via_symbols
