	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function files_reflog_exists
_files_reflog_exists:                   ## @files_reflog_exists
	.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	%rsi, %rbx
	movq	_REF_STORE_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_files_downcast
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -16(%rbp)
	leaq	-16(%rbp), %rsi
	movq	%rax, %rdi
	movq	%rbx, %rdx
	callq	_files_reflog_path
	movl	-16(%rbp), %edi
	leaq	-24(%rbp), %rsi
	callq	_lstat
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	-24(%rbp), %edi
	callq	_S_ISREG
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
LBB0_2:
	leaq	-16(%rbp), %rdi
	callq	_strbuf_release
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REF_STORE_READ,4,2             ## @REF_STORE_READ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reflog_exists"

	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.no_dead_strip	_files_reflog_exists
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function files_reflog_exists
_files_reflog_exists:                   ; @files_reflog_exists
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _REF_STORE_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REF_STORE_READ@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_files_downcast
Lloh5:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	add	x1, sp, #8
	mov	x2, x19
	bl	_files_reflog_path
	ldr	w0, [sp, #8]
	mov	x1, sp
	bl	_lstat
	cbz	w0, LBB0_2
; %bb.1:
	mov	w19, #0
	b	LBB0_3
LBB0_2:
	ldr	w0, [sp]
	bl	_S_ISREG
	cmp	x0, #0
	cset	w19, ne
LBB0_3:
	add	x0, sp, #8
	bl	_strbuf_release
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REF_STORE_READ,4,2             ; @REF_STORE_READ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reflog_exists"

	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.no_dead_strip	_files_reflog_exists
.subsections_via_symbols
