	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd__read_cache                ## -- Begin function cmd__read_cache
	.p2align	4, 0x90
_cmd__read_cache:                       ## @cmd__read_cache
	.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	$0, -48(%rbp)
	movl	$1, %r14d
	cmpl	$2, %edi
	jl	LBB0_3
## %bb.1:
	movq	%rsi, %r15
	movl	%edi, %ebx
	movq	8(%rsi), %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdx
	callq	_skip_prefix
	cmpq	$1, %rax
	adcl	$-1, %ebx
	cmpl	$2, %ebx
	jne	LBB0_3
## %bb.2:
	leaq	8(%r15), %rcx
	testq	%rax, %rax
	cmoveq	%r15, %rcx
	movq	8(%rcx), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtol
	movl	%eax, %r14d
LBB0_3:
	xorl	%eax, %eax
	callq	_setup_git_directory
	movq	_git_default_config@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_git_config
	testl	%r14d, %r14d
	jle	LBB0_10
## %bb.4:
	movq	_the_index@GOTPCREL(%rip), %r13
	xorl	%r15d, %r15d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rbx
	movq	(%r13), %rax
	movslq	%r12d, %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_ce_uptodate
	testq	%rax, %rax
	leaq	L_.str.3(%rip), %rdx
	leaq	L_.str.4(%rip), %rax
	cmoveq	%rax, %rdx
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_printf
	movq	-48(%rbp), %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	%r15d, %edx
	callq	_write_file
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	callq	_discard_cache
	incl	%r15d
	cmpl	%r15d, %r14d
	je	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_read_cache
	cmpq	$0, -48(%rbp)
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_REFRESH_QUIET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_refresh_index
	movq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_index_name_pos
	movl	%eax, %r12d
	testl	%eax, %eax
	jns	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_die
	jmp	LBB0_8
LBB0_10:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"--print-and-refresh="

	.comm	_git_default_config,4,2         ## @git_default_config
	.comm	_the_index,8,3                  ## @the_index
	.comm	_REFRESH_QUIET,4,2              ## @REFRESH_QUIET
L_.str.1:                               ## @.str.1
	.asciz	"%s not in index"

L_.str.2:                               ## @.str.2
	.asciz	"%s is%s up to date\n"

L_.str.3:                               ## @.str.3
	.space	1

L_.str.4:                               ## @.str.4
	.asciz	" not"

L_.str.5:                               ## @.str.5
	.asciz	"%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd__read_cache                ; -- Begin function cmd__read_cache
	.p2align	2
_cmd__read_cache:                       ; @cmd__read_cache
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	xzr, [sp, #8]
	cmp	w0, #1
	b.le	LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x21, x1
	ldr	x0, [x21, #8]!
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	bl	_skip_prefix
	cmp	x0, #0
	cset	w8, ne
	sub	w8, w20, w8
	cmp	w8, #2
	b.ne	LBB0_3
; %bb.2:
	cmp	x0, #0
	csel	x8, x19, x21, eq
	ldr	x0, [x8, #8]
	mov	x1, #0
	mov	w2, #0
	bl	_strtol
	mov	x19, x0
	b	LBB0_4
LBB0_3:
	mov	w19, #1
LBB0_4:
	bl	_setup_git_directory
Lloh2:
	adrp	x8, _git_default_config@GOTPAGE
Lloh3:
	ldr	x8, [x8, _git_default_config@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_git_config
	cmp	w19, #1
	b.lt	LBB0_11
; %bb.5:
	mov	w20, #0
Lloh5:
	adrp	x27, _REFRESH_QUIET@GOTPAGE
Lloh6:
	ldr	x27, [x27, _REFRESH_QUIET@GOTPAGEOFF]
Lloh7:
	adrp	x21, _the_index@GOTPAGE
Lloh8:
	ldr	x21, [x21, _the_index@GOTPAGEOFF]
Lloh9:
	adrp	x28, l_.str.3@PAGE
Lloh10:
	add	x28, x28, l_.str.3@PAGEOFF
Lloh11:
	adrp	x22, l_.str.4@PAGE
Lloh12:
	add	x22, x22, l_.str.4@PAGEOFF
Lloh13:
	adrp	x23, l_.str.2@PAGE
Lloh14:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh15:
	adrp	x24, l_.str.5@PAGE
Lloh16:
	add	x24, x24, l_.str.5@PAGEOFF
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x26, [sp, #8]
	ldr	x8, [x21]
	ldr	w0, [x8, w25, sxtw #2]
	bl	_ce_uptodate
	cmp	x0, #0
	csel	x2, x22, x28, eq
	mov	x0, x23
	mov	x1, x26
	bl	_printf
	ldr	x0, [sp, #8]
	mov	x1, x24
	mov	x2, x20
	bl	_write_file
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	bl	_discard_cache
	add	w20, w20, #1
	cmp	w19, w20
	b.eq	LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	bl	_read_cache
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w1, [x27]
	mov	x0, x21
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	bl	_refresh_index
	ldr	x25, [sp, #8]
	mov	x0, x25
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x25
	bl	_index_name_pos
	mov	x25, x0
	tbz	w0, #31, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x1, [sp, #8]
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
	b	LBB0_6
LBB0_11:
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"--print-and-refresh="

	.comm	_git_default_config,4,2         ; @git_default_config
	.comm	_the_index,8,3                  ; @the_index
	.comm	_REFRESH_QUIET,4,2              ; @REFRESH_QUIET
l_.str.1:                               ; @.str.1
	.asciz	"%s not in index"

l_.str.2:                               ; @.str.2
	.asciz	"%s is%s up to date\n"

l_.str.3:                               ; @.str.3
	.space	1

l_.str.4:                               ; @.str.4
	.asciz	" not"

l_.str.5:                               ; @.str.5
	.asciz	"%d\n"

.subsections_via_symbols
