	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function refresh
_refresh:                               ## @refresh
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	movl	(%rsi), %edi
	movl	$1, %esi
	callq	_xcalloc
	movq	%rax, %r12
	testl	%r15d, %r15d
	jne	LBB0_1
## %bb.2:
	movq	_REFRESH_QUIET@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_REFRESH_IN_PORCELAIN@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r15d
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	_the_index@GOTPCREL(%rip), %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	movq	%r12, %rcx
	movl	%eax, %r8d
	callq	_refresh_index
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.4:
	xorl	%ebx, %ebx
	leaq	L_.str.1(%rip), %r15
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%r12,%rbx)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	callq	__
	movq	8(%r14), %rcx
	movl	(%rcx,%rbx,4), %esi
	movl	%eax, %edi
	callq	_die
	movl	(%r14), %eax
	jmp	LBB0_7
LBB0_8:
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_the_index,4,2                  ## @the_index
	.comm	_REFRESH_IN_PORCELAIN,4,2       ## @REFRESH_IN_PORCELAIN
	.comm	_REFRESH_QUIET,4,2              ## @REFRESH_QUIET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unstaged changes after refreshing the index:"

L_.str.1:                               ## @.str.1
	.asciz	"pathspec '%s' did not match any files"

	.no_dead_strip	_refresh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function refresh
_refresh:                               ; @refresh
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x21, x0
	ldr	w0, [x1]
	mov	w1, #1
	bl	_xcalloc
	mov	x20, x0
Lloh0:
	adrp	x8, _REFRESH_IN_PORCELAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REFRESH_IN_PORCELAIN@GOTPAGEOFF]
Lloh2:
	adrp	x9, _REFRESH_QUIET@GOTPAGE
Lloh3:
	ldr	x9, [x9, _REFRESH_QUIET@GOTPAGEOFF]
	cmp	w21, #0
	csel	x8, x9, x8, eq
	ldr	w21, [x8]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x4, x0
Lloh6:
	adrp	x0, _the_index@GOTPAGE
Lloh7:
	ldr	x0, [x0, _the_index@GOTPAGEOFF]
	mov	x1, x21
	mov	x2, x19
	mov	x3, x20
	bl	_refresh_index
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x22, #0
Lloh8:
	adrp	x21, l_.str.1@PAGE
Lloh9:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	cmp	x22, w8, sxtw
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x20, x22]
	cbnz	w9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	__
	ldr	x8, [x19, #8]
	ldr	w1, [x8, x22, lsl #2]
	bl	_die
	ldr	w8, [x19]
	b	LBB0_2
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_free
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_the_index,4,2                  ; @the_index
	.comm	_REFRESH_IN_PORCELAIN,4,2       ; @REFRESH_IN_PORCELAIN
	.comm	_REFRESH_QUIET,4,2              ; @REFRESH_QUIET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unstaged changes after refreshing the index:"

l_.str.1:                               ; @.str.1
	.asciz	"pathspec '%s' did not match any files"

	.no_dead_strip	_refresh
.subsections_via_symbols
