	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rollback_is_safe
_rollback_is_safe:                      ## @rollback_is_safe
	.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	$24, %rsp
	.cfi_offset %rbx, -24
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	xorl	%eax, %eax
	callq	_git_path_abort_safety_file
	leaq	-16(%rbp), %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_strbuf_read_file
	testq	%rax, %rax
	js	LBB0_4
## %bb.1:
	leaq	-16(%rbp), %rdi
	callq	_strbuf_trim
	movl	-16(%rbp), %edi
	leaq	-32(%rbp), %rsi
	callq	_get_oid_hex
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	-16(%rbp), %rdi
	callq	_strbuf_release
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_git_path_abort_safety_file
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_die
LBB0_3:
	leaq	-16(%rbp), %rdi
	callq	_strbuf_release
	jmp	LBB0_7
LBB0_4:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	leaq	-32(%rbp), %rdi
	callq	_oidclr
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_git_path_abort_safety_file
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_die_errno
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
	leaq	-24(%rbp), %rsi
	callq	_get_oid
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	-24(%rbp), %rdi
	callq	_oidclr
LBB0_9:
	leaq	-24(%rbp), %rdi
	leaq	-32(%rbp), %rsi
	callq	_oideq
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not parse %s"

	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
L_.str.1:                               ## @.str.1
	.asciz	"could not read '%s'"

L_.str.2:                               ## @.str.2
	.asciz	"HEAD"

	.no_dead_strip	_rollback_is_safe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rollback_is_safe
_rollback_is_safe:                      ; @rollback_is_safe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	bl	_git_path_abort_safety_file
	mov	x1, x0
	add	x0, sp, #24
	mov	w2, #0
	bl	_strbuf_read_file
	tbnz	x0, #63, LBB0_4
; %bb.1:
	add	x0, sp, #24
	bl	_strbuf_trim
	ldr	w0, [sp, #24]
	add	x1, sp, #16
	bl	_get_oid_hex
	cbz	x0, LBB0_3
; %bb.2:
	add	x0, sp, #24
	bl	_strbuf_release
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x19, x0
	bl	_git_path_abort_safety_file
	mov	x1, x0
	mov	x0, x19
	bl	_die
LBB0_3:
	add	x0, sp, #24
	bl	_strbuf_release
	b	LBB0_7
LBB0_4:
Lloh5:
	adrp	x8, _errno@GOTPAGE
Lloh6:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _ENOENT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	add	x0, sp, #16
	bl	_oidclr
	b	LBB0_7
LBB0_6:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x19, x0
	bl	_git_path_abort_safety_file
	mov	x1, x0
	mov	x0, x19
	bl	_die_errno
LBB0_7:
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	add	x1, sp, #8
	bl	_get_oid
	cbz	x0, LBB0_9
; %bb.8:
	add	x0, sp, #8
	bl	_oidclr
LBB0_9:
	add	x0, sp, #8
	add	x1, sp, #16
	bl	_oideq
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not parse %s"

	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
l_.str.1:                               ; @.str.1
	.asciz	"could not read '%s'"

l_.str.2:                               ; @.str.2
	.asciz	"HEAD"

	.no_dead_strip	_rollback_is_safe
.subsections_via_symbols
