	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function restore_untracked
_restore_untracked:                     ## @restore_untracked
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_CHILD_PROCESS_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, -48(%rbp)
	movl	8(%rax), %eax
	movl	%eax, -40(%rbp)
	leaq	-40(%rbp), %r15
	movl	$1, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_argv_array_push
	movq	%rbx, %rdi
	callq	_oid_to_hex
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_argv_array_push
	leaq	-44(%rbp), %r14
	movq	_stash_index_path@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_argv_array_pushf
	leaq	-48(%rbp), %rdi
	callq	_run_command
	movl	$-1, %ebx
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_child_process_init
	movl	$1, -48(%rbp)
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_argv_array_pushl
	movl	(%r12), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_argv_array_pushf
	movq	%rbx, %rdi
	callq	_run_command
	movl	%eax, %ebx
LBB0_2:
	movl	(%r12), %edi
	callq	_remove_path
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHILD_PROCESS_INIT,12,2        ## @CHILD_PROCESS_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"read-tree"

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

	.comm	_stash_index_path,4,2           ## @stash_index_path
L_.str.2:                               ## @.str.2
	.asciz	"checkout-index"

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

	.no_dead_strip	_restore_untracked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function restore_untracked
_restore_untracked:                     ; @restore_untracked
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
Lloh0:
	adrp	x8, _CHILD_PROCESS_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHILD_PROCESS_INIT@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [sp]
	ldr	w8, [x8, #8]
	mov	x21, sp
	add	x19, x21, #8
	mov	w22, #1
	str	w8, [sp, #8]
	str	w22, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_argv_array_push
	mov	x0, x20
	bl	_oid_to_hex
	mov	x1, x0
	mov	x0, x19
	bl	_argv_array_push
	orr	x20, x21, #0x4
Lloh4:
	adrp	x21, _stash_index_path@GOTPAGE
Lloh5:
	ldr	x21, [x21, _stash_index_path@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_argv_array_pushf
	mov	x0, sp
	bl	_run_command
	cbz	w0, LBB0_2
; %bb.1:
	mov	w19, #-1
	b	LBB0_3
LBB0_2:
	mov	x0, sp
	bl	_child_process_init
	str	w22, [sp]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh10:
	adrp	x2, l_.str.3@PAGE
Lloh11:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x3, #0
	bl	_argv_array_pushl
	ldr	w2, [x21]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_argv_array_pushf
	mov	x0, sp
	bl	_run_command
	mov	x19, x0
LBB0_3:
	ldr	w0, [x21]
	bl	_remove_path
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_CHILD_PROCESS_INIT,12,2        ; @CHILD_PROCESS_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"read-tree"

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

	.comm	_stash_index_path,4,2           ; @stash_index_path
l_.str.2:                               ; @.str.2
	.asciz	"checkout-index"

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

	.no_dead_strip	_restore_untracked
.subsections_via_symbols
