	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function notes_cache_match_validity
_notes_cache_match_validity:            ## @notes_cache_match_validity
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rax
	movq	%rdi, %r15
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -40(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%rax, %rdi
	callq	_read_ref
	xorl	%ebx, %ebx
	testq	%rax, %rax
	js	LBB0_3
## %bb.1:
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_lookup_commit_reference_gently
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %r15
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %r12
	movq	%r15, %rdi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	_format_commit_message
	movq	%r12, %rdi
	callq	_strbuf_trim
	movl	-40(%rbp), %edi
	movq	%r14, %rsi
	callq	_strcmp
	xorl	%ebx, %ebx
	testl	%eax, %eax
	sete	%bl
	movq	%r12, %rdi
	callq	_strbuf_release
LBB0_3:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.no_dead_strip	_notes_cache_match_validity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function notes_cache_match_validity
_notes_cache_match_validity:            ; @notes_cache_match_validity
	.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
	mov	x19, x2
	mov	x8, x1
	mov	x20, x0
Lloh0:
	adrp	x9, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [sp, #8]
	add	x1, sp, #24
	mov	x0, x8
	bl	_read_ref
	tbnz	x0, #63, LBB0_3
; %bb.1:
	add	x1, sp, #24
	mov	x0, x20
	mov	w2, #1
	bl	_lookup_commit_reference_gently
	cbz	x0, LBB0_3
; %bb.2:
	mov	x20, x0
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	add	x3, sp, #16
	mov	x0, x20
	bl	_format_commit_message
	add	x0, sp, #8
	bl	_strbuf_trim
	ldr	w0, [sp, #8]
	mov	x1, x19
	bl	_strcmp
	cmp	w0, #0
	cset	w19, eq
	add	x0, sp, #8
	bl	_strbuf_release
	b	LBB0_4
LBB0_3:
	mov	w19, #0
LBB0_4:
	mov	x0, x19
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.no_dead_strip	_notes_cache_match_validity
.subsections_via_symbols
