	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function apply_autostash
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_apply_autostash:                       ## @apply_autostash
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rsi
	leaq	L_.str(%rip), %rdi
	callq	_state_dir_path
	movq	%rax, %rbx
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_CHILD_PROCESS_INIT@GOTPCREL(%rip), %rax
	movl	16(%rax), %ecx
	movl	%ecx, -32(%rbp)
	movups	(%rax), %xmm0
	movaps	%xmm0, -48(%rbp)
	movq	%rbx, %rdi
	callq	_file_exists
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_read_one
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_error
	movl	%eax, %ebx
	jmp	LBB0_11
LBB0_3:
	leaq	L_.str.2(%rip), %rsi
	leaq	-24(%rbp), %rdi
	callq	_strbuf_addstr
	leaq	-32(%rbp), %rdi
	movq	-24(%rbp), %rcx
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str.4(%rip), %rdx
	xorl	%ebx, %ebx
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	callq	_argv_array_pushl
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,1,1,1]
	movaps	%xmm0, -48(%rbp)
	leaq	-48(%rbp), %rdi
	callq	_run_command
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	_ARGV_ARRAY_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str.6(%rip), %rdx
	leaq	L_.str.7(%rip), %rcx
	leaq	L_.str(%rip), %r8
	leaq	L_.str.8(%rip), %r9
	leaq	-16(%rbp), %rdi
	xorl	%eax, %eax
	pushq	$0
	pushq	-24(%rbp)
	callq	_argv_array_pushl
	addq	$16, %rsp
	movl	-16(%rbp), %edi
	movq	_RUN_GIT_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_run_command_v_opt
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.9(%rip), %rdi
	callq	__
	movq	-24(%rbp), %rsi
	movq	%rax, %rdi
	callq	_error
	movl	%eax, %ebx
LBB0_7:
	leaq	-16(%rbp), %rdi
	callq	_argv_array_clear
	leaq	-24(%rbp), %rdi
	callq	_strbuf_release
	testl	%ebx, %ebx
	jne	LBB0_11
## %bb.8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.10(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_fprintf
	jmp	LBB0_9
LBB0_4:
	leaq	L_.str.5(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	callq	_printf
LBB0_9:
	leaq	-24(%rbp), %rdi
	callq	_strbuf_release
LBB0_10:
	xorl	%ebx, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"autostash"

	.comm	_STRBUF_INIT,8,3                ## @STRBUF_INIT
	.comm	_CHILD_PROCESS_INIT,20,2        ## @CHILD_PROCESS_INIT
L_.str.1:                               ## @.str.1
	.asciz	"Could not read '%s'"

L_.str.2:                               ## @.str.2
	.asciz	"^0"

L_.str.3:                               ## @.str.3
	.asciz	"stash"

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

L_.str.5:                               ## @.str.5
	.asciz	"Applied autostash.\n"

	.comm	_ARGV_ARRAY_INIT,4,2            ## @ARGV_ARRAY_INIT
L_.str.6:                               ## @.str.6
	.asciz	"store"

L_.str.7:                               ## @.str.7
	.asciz	"-m"

L_.str.8:                               ## @.str.8
	.asciz	"-q"

	.comm	_RUN_GIT_CMD,4,2                ## @RUN_GIT_CMD
L_.str.9:                               ## @.str.9
	.asciz	"Cannot store %s"

	.comm	_stderr,4,2                     ## @stderr
L_.str.10:                              ## @.str.10
	.asciz	"Applying autostash resulted in conflicts.\nYour changes are safe in the stash.\nYou can run \"git stash pop\" or \"git stash drop\" at any time.\n"

	.no_dead_strip	_apply_autostash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apply_autostash
_apply_autostash:                       ; @apply_autostash
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_state_dir_path
	mov	x19, x0
Lloh2:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh5:
	adrp	x8, _CHILD_PROCESS_INIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CHILD_PROCESS_INIT@GOTPAGEOFF]
	ldr	q0, [x8]
	str	q0, [sp, #32]
	ldr	w8, [x8, #16]
	str	w8, [sp, #48]
	bl	_file_exists
	cbz	w0, LBB0_11
; %bb.1:
	sub	x1, x29, #24
	mov	x0, x19
	bl	_read_one
	cbz	x0, LBB0_3
; %bb.2:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_error
	mov	x19, x0
	b	LBB0_12
LBB0_3:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	sub	x0, x29, #24
	bl	_strbuf_addstr
	add	x8, sp, #32
	add	x0, x8, #16
	ldur	x3, [x29, #-24]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
Lloh13:
	adrp	x2, l_.str.4@PAGE
Lloh14:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x4, #0
	bl	_argv_array_pushl
	movi.4s	v0, #1
	str	q0, [sp, #32]
	add	x0, sp, #32
	bl	_run_command
	cbz	w0, LBB0_6
; %bb.4:
Lloh15:
	adrp	x8, _ARGV_ARRAY_INIT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ARGV_ARRAY_INIT@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	ldur	x8, [x29, #-24]
Lloh18:
	adrp	x9, l_.str.8@PAGE
Lloh19:
	add	x9, x9, l_.str.8@PAGEOFF
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
Lloh22:
	adrp	x2, l_.str.6@PAGE
Lloh23:
	add	x2, x2, l_.str.6@PAGEOFF
	stp	x8, xzr, [sp, #8]
Lloh24:
	adrp	x3, l_.str.7@PAGE
Lloh25:
	add	x3, x3, l_.str.7@PAGEOFF
Lloh26:
	adrp	x4, l_.str@PAGE
Lloh27:
	add	x4, x4, l_.str@PAGEOFF
	str	x9, [sp]
	add	x0, sp, #24
	bl	_argv_array_pushl
	ldr	w0, [sp, #24]
Lloh28:
	adrp	x8, _RUN_GIT_CMD@GOTPAGE
Lloh29:
	ldr	x8, [x8, _RUN_GIT_CMD@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	bl	_run_command_v_opt
	cbz	x0, LBB0_7
; %bb.5:
Lloh31:
	adrp	x0, l_.str.9@PAGE
Lloh32:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	__
	ldur	x1, [x29, #-24]
	bl	_error
	mov	x19, x0
	b	LBB0_8
LBB0_6:
Lloh33:
	adrp	x0, l_.str.5@PAGE
Lloh34:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__
	bl	_printf
	b	LBB0_10
LBB0_7:
	mov	w19, #0
LBB0_8:
	add	x0, sp, #24
	bl	_argv_array_clear
	sub	x0, x29, #24
	bl	_strbuf_release
	cbnz	w19, LBB0_12
; %bb.9:
Lloh35:
	adrp	x8, _stderr@GOTPAGE
Lloh36:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh37:
	ldr	w19, [x8]
Lloh38:
	adrp	x0, l_.str.10@PAGE
Lloh39:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	bl	_fprintf
LBB0_10:
	sub	x0, x29, #24
	bl	_strbuf_release
LBB0_11:
	mov	w19, #0
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"autostash"

	.comm	_STRBUF_INIT,8,3                ; @STRBUF_INIT
	.comm	_CHILD_PROCESS_INIT,20,2        ; @CHILD_PROCESS_INIT
l_.str.1:                               ; @.str.1
	.asciz	"Could not read '%s'"

l_.str.2:                               ; @.str.2
	.asciz	"^0"

l_.str.3:                               ; @.str.3
	.asciz	"stash"

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

l_.str.5:                               ; @.str.5
	.asciz	"Applied autostash.\n"

	.comm	_ARGV_ARRAY_INIT,4,2            ; @ARGV_ARRAY_INIT
l_.str.6:                               ; @.str.6
	.asciz	"store"

l_.str.7:                               ; @.str.7
	.asciz	"-m"

l_.str.8:                               ; @.str.8
	.asciz	"-q"

	.comm	_RUN_GIT_CMD,4,2                ; @RUN_GIT_CMD
l_.str.9:                               ; @.str.9
	.asciz	"Cannot store %s"

	.comm	_stderr,4,2                     ; @stderr
l_.str.10:                              ; @.str.10
	.asciz	"Applying autostash resulted in conflicts.\nYour changes are safe in the stash.\nYou can run \"git stash pop\" or \"git stash drop\" at any time.\n"

	.no_dead_strip	_apply_autostash
.subsections_via_symbols
