	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_store_stash
_do_store_stash:                        ## @do_store_stash
	.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
	movl	%edx, %ebx
	movq	%rdi, %r14
	testq	%rsi, %rsi
	leaq	L_.str(%rip), %rdi
	cmovneq	%rsi, %rdi
	movq	_ref_stash@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_REF_FORCE_CREATE_REFLOG@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	testl	%edx, %edx
	jne	LBB0_1
## %bb.2:
	movq	_UPDATE_REFS_MSG_ON_ERR@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_UPDATE_REFS_QUIET_ON_ERR@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r9d
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_update_ref
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setne	%al
	negl	%eax
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.4:
	testl	%ebx, %ebx
	jne	LBB0_6
## %bb.5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %ebx
	movl	(%r12), %r12d
	movq	%r14, %rdi
	callq	_oid_to_hex
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_fprintf_ln
	movl	$-1, %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Created via \"git stash store\"."

	.comm	_ref_stash,4,2                  ## @ref_stash
	.comm	_REF_FORCE_CREATE_REFLOG,4,2    ## @REF_FORCE_CREATE_REFLOG
	.comm	_UPDATE_REFS_QUIET_ON_ERR,4,2   ## @UPDATE_REFS_QUIET_ON_ERR
	.comm	_UPDATE_REFS_MSG_ON_ERR,4,2     ## @UPDATE_REFS_MSG_ON_ERR
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"Cannot update %s with %s"

	.no_dead_strip	_do_store_stash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_store_stash
_do_store_stash:                        ; @do_store_stash
	.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	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
Lloh2:
	adrp	x22, _ref_stash@GOTPAGE
Lloh3:
	ldr	x22, [x22, _ref_stash@GOTPAGEOFF]
	cmp	x1, #0
	csel	x0, x8, x1, eq
	ldr	w1, [x22]
Lloh4:
	adrp	x8, _REF_FORCE_CREATE_REFLOG@GOTPAGE
Lloh5:
	ldr	x8, [x8, _REF_FORCE_CREATE_REFLOG@GOTPAGEOFF]
Lloh6:
	adrp	x9, _UPDATE_REFS_QUIET_ON_ERR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _UPDATE_REFS_QUIET_ON_ERR@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
Lloh9:
	adrp	x8, _UPDATE_REFS_MSG_ON_ERR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _UPDATE_REFS_MSG_ON_ERR@GOTPAGEOFF]
	cmp	w2, #0
	csel	x8, x8, x9, eq
	ldr	w5, [x8]
	mov	x2, x19
	mov	x3, #0
	bl	_update_ref
	cmp	x0, #0
	csetm	w0, ne
	ccmp	w20, #0, #0, ne
	b.ne	LBB0_2
; %bb.1:
Lloh11:
	adrp	x8, _stderr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w20, [x8]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x21, x0
	ldr	w22, [x22]
	mov	x0, x19
	bl	_oid_to_hex
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_fprintf_ln
	mov	w0, #-1
LBB0_2:
	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
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh8
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Created via \"git stash store\"."

	.comm	_ref_stash,4,2                  ; @ref_stash
	.comm	_REF_FORCE_CREATE_REFLOG,4,2    ; @REF_FORCE_CREATE_REFLOG
	.comm	_UPDATE_REFS_QUIET_ON_ERR,4,2   ; @UPDATE_REFS_QUIET_ON_ERR
	.comm	_UPDATE_REFS_MSG_ON_ERR,4,2     ; @UPDATE_REFS_MSG_ON_ERR
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"Cannot update %s with %s"

	.no_dead_strip	_do_store_stash
.subsections_via_symbols
