	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stash_working_tree
_stash_working_tree:                    ## @stash_working_tree
	.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
	subq	$96, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_CHILD_PROCESS_INIT@GOTPCREL(%rip), %rax
	movl	8(%rax), %ecx
	movl	%ecx, -48(%rbp)
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	$0, -64(%rbp)
	leaq	-96(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_init_revisions
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_copy_pathspec
	movq	_stash_index_path@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_set_alternate_index_output
	leaq	8(%r15), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_reset_tree
	movl	$-1, %r14d
	testq	%rax, %rax
	je	LBB0_1
LBB0_5:
	leaq	-64(%rbp), %rdi
	callq	_discard_index
	movups	-96(%rbp), %xmm0
	movups	-80(%rbp), %xmm1
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_UNLEAK
	leaq	-92(%rbp), %rdi
	callq	_object_array_clear
	leaq	-96(%rbp), %rdi
	callq	_clear_pathspec
	leaq	-40(%rbp), %rdi
	callq	_strbuf_release
	movq	(%r12), %rdi
	callq	_remove_path
	movl	%r14d, %eax
	addq	$96, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	xorl	%edi, %edi
	callq	_set_alternate_index_output
	movq	_DIFF_FORMAT_CALLBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	-88(%rbp), %rdi
	movl	%eax, -68(%rbp)
	movq	_add_diff_to_buf@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	leaq	-40(%rbp), %rax
	movq	%rax, -80(%rbp)
	callq	_read_cache_preload
	testq	%rax, %rax
	js	LBB0_5
## %bb.2:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r15), %rsi
	callq	_parse_object
	leaq	L_.str(%rip), %rdx
	leaq	-96(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_add_pending_object
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_run_diff_index
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movl	$1, -56(%rbp)
	leaq	-48(%rbp), %rdi
	leaq	L_.str.6(%rip), %rax
	movq	%rax, (%rsp)
	movq	$0, 8(%rsp)
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	leaq	L_.str.3(%rip), %rcx
	leaq	L_.str.4(%rip), %r8
	leaq	L_.str.5(%rip), %r9
	callq	_argv_array_pushl
	leaq	-52(%rbp), %rdi
	movq	(%r12), %rdx
	leaq	L_.str.7(%rip), %rsi
	callq	_argv_array_pushf
	movl	-40(%rbp), %edx
	movl	-36(%rbp), %esi
	movl	$0, (%rsp)
	xorl	%ebx, %ebx
	leaq	-56(%rbp), %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_pipe_command
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	(%r12), %rdx
	leaq	-64(%rbp), %rsi
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_write_index_as_tree
	negq	%rax
	sbbl	%ebx, %ebx
	movl	%ebx, %r14d
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_CHILD_PROCESS_INIT,12,2        ## @CHILD_PROCESS_INIT
	.comm	_STRBUF_INIT,8,2                ## @STRBUF_INIT
	.comm	_stash_index_path,8,3           ## @stash_index_path
	.comm	_DIFF_FORMAT_CALLBACK,4,2       ## @DIFF_FORMAT_CALLBACK
	.comm	_add_diff_to_buf,4,2            ## @add_diff_to_buf
	.comm	_the_repository,4,2             ## @the_repository
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

L_.str.1:                               ## @.str.1
	.asciz	"update-index"

L_.str.2:                               ## @.str.2
	.asciz	"--ignore-skip-worktree-entries"

L_.str.3:                               ## @.str.3
	.asciz	"-z"

L_.str.4:                               ## @.str.4
	.asciz	"--add"

L_.str.5:                               ## @.str.5
	.asciz	"--remove"

L_.str.6:                               ## @.str.6
	.asciz	"--stdin"

L_.str.7:                               ## @.str.7
	.asciz	"GIT_INDEX_FILE=%s"

	.no_dead_strip	_stash_working_tree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stash_working_tree
_stash_working_tree:                    ; @stash_working_tree
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _CHILD_PROCESS_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHILD_PROCESS_INIT@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [sp, #48]
	ldr	w8, [x8, #8]
	str	w8, [sp, #56]
Lloh2:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stp	xzr, x8, [sp, #32]
	add	x21, sp, #64
	add	x0, sp, #64
	mov	x1, #0
	bl	_init_revisions
	add	x0, sp, #64
	mov	x1, x20
	bl	_copy_pathspec
Lloh5:
	adrp	x20, _stash_index_path@GOTPAGE
Lloh6:
	ldr	x20, [x20, _stash_index_path@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_set_alternate_index_output
	add	x0, x19, #8
	mov	w1, #0
	mov	w2, #0
	bl	_reset_tree
	cbz	x0, LBB0_3
LBB0_1:
	mov	w19, #-1
LBB0_2:
	add	x0, sp, #32
	bl	_discard_index
	ldp	q0, q1, [sp, #64]
	stp	q0, q1, [sp]
	mov	x0, sp
	bl	_UNLEAK
	orr	x0, x21, #0x4
	bl	_object_array_clear
	add	x0, sp, #64
	bl	_clear_pathspec
	add	x0, sp, #40
	bl	_strbuf_release
	ldr	x0, [x20]
	bl	_remove_path
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_3:
	bl	_set_alternate_index_output
Lloh7:
	adrp	x8, _DIFF_FORMAT_CALLBACK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DIFF_FORMAT_CALLBACK@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _add_diff_to_buf@GOTPAGE
Lloh11:
	ldr	x9, [x9, _add_diff_to_buf@GOTPAGEOFF]
	add	x0, x21, #8
Lloh12:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #88]
	add	x8, sp, #40
	str	x8, [sp, #80]
	bl	_read_cache_preload
	tbnz	x0, #63, LBB0_1
; %bb.4:
Lloh13:
	adrp	x8, _the_repository@GOTPAGE
Lloh14:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_parse_object
	mov	x1, x0
Lloh16:
	adrp	x2, l_.str@PAGE
Lloh17:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #64
	bl	_add_pending_object
	add	x0, sp, #64
	mov	w1, #0
	bl	_run_diff_index
	cbnz	x0, LBB0_1
; %bb.5:
	mov	w8, #1
	str	w8, [sp, #48]
	add	x22, sp, #48
	add	x0, x22, #8
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh20:
	adrp	x2, l_.str.2@PAGE
Lloh21:
	add	x2, x2, l_.str.2@PAGEOFF
Lloh22:
	adrp	x3, l_.str.3@PAGE
Lloh23:
	add	x3, x3, l_.str.3@PAGEOFF
Lloh24:
	adrp	x4, l_.str.4@PAGE
Lloh25:
	add	x4, x4, l_.str.4@PAGEOFF
Lloh26:
	adrp	x5, l_.str.5@PAGE
Lloh27:
	add	x5, x5, l_.str.5@PAGEOFF
Lloh28:
	adrp	x6, l_.str.6@PAGE
Lloh29:
	add	x6, x6, l_.str.6@PAGEOFF
	mov	x7, #0
	bl	_argv_array_pushl
	orr	x0, x22, #0x4
	ldr	x2, [x20]
Lloh30:
	adrp	x1, l_.str.7@PAGE
Lloh31:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_argv_array_pushf
	ldp	w2, w1, [sp, #40]
	add	x0, sp, #48
	mov	x3, #0
	mov	w4, #0
	mov	x5, #0
	mov	w6, #0
	bl	_pipe_command
	cbnz	x0, LBB0_1
; %bb.6:
	ldr	x2, [x20]
	add	x1, sp, #32
	mov	x0, x19
	mov	w3, #0
	mov	x4, #0
	bl	_write_index_as_tree
	cmp	x0, #0
	csetm	w19, ne
	b	LBB0_2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_CHILD_PROCESS_INIT,12,2        ; @CHILD_PROCESS_INIT
	.comm	_STRBUF_INIT,8,2                ; @STRBUF_INIT
	.comm	_stash_index_path,8,3           ; @stash_index_path
	.comm	_DIFF_FORMAT_CALLBACK,4,2       ; @DIFF_FORMAT_CALLBACK
	.comm	_add_diff_to_buf,4,2            ; @add_diff_to_buf
	.comm	_the_repository,4,2             ; @the_repository
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

l_.str.1:                               ; @.str.1
	.asciz	"update-index"

l_.str.2:                               ; @.str.2
	.asciz	"--ignore-skip-worktree-entries"

l_.str.3:                               ; @.str.3
	.asciz	"-z"

l_.str.4:                               ; @.str.4
	.asciz	"--add"

l_.str.5:                               ; @.str.5
	.asciz	"--remove"

l_.str.6:                               ; @.str.6
	.asciz	"--stdin"

l_.str.7:                               ; @.str.7
	.asciz	"GIT_INDEX_FILE=%s"

	.no_dead_strip	_stash_working_tree
.subsections_via_symbols
