	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_notes_cache_init               ## -- Begin function notes_cache_init
	.p2align	4, 0x90
_notes_cache_init:                      ## @notes_cache_init
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_NOTES_INIT_WRITABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%r12, %rdi
	callq	_xstrdup
	movl	%eax, 4(%r14)
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdi
	movq	%r15, %rdx
	callq	_strbuf_addf
	movl	-48(%rbp), %esi
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_notes_cache_match_validity
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_NOTES_INIT_EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_2:
	orl	-52(%rbp), %ebx                 ## 4-byte Folded Reload
	movl	-48(%rbp), %esi
	movq	_combine_notes_overwrite@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %ecx
	callq	_init_notes
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.comm	_NOTES_INIT_WRITABLE,4,2        ## @NOTES_INIT_WRITABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"refs/notes/%s"

	.comm	_NOTES_INIT_EMPTY,4,2           ## @NOTES_INIT_EMPTY
	.comm	_combine_notes_overwrite,4,2    ## @combine_notes_overwrite
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_notes_cache_init               ; -- Begin function notes_cache_init
	.p2align	2
_notes_cache_init:                      ; @notes_cache_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh3:
	adrp	x8, _NOTES_INIT_WRITABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NOTES_INIT_WRITABLE@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	mov	x0, x1
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	x0, x19
	bl	_xstrdup
	str	w0, [x21, #4]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	x2, x20
	bl	_strbuf_addf
	ldr	w1, [sp, #8]
	mov	x0, x22
	mov	x2, x19
	bl	_notes_cache_match_validity
Lloh8:
	adrp	x8, _NOTES_INIT_EMPTY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NOTES_INIT_EMPTY@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w8, w8, wzr, eq
	orr	w3, w8, w23
	ldr	w1, [sp, #8]
Lloh11:
	adrp	x8, _combine_notes_overwrite@GOTPAGE
Lloh12:
	ldr	x8, [x8, _combine_notes_overwrite@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_init_notes
	add	x0, sp, #8
	bl	_strbuf_release
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.comm	_NOTES_INIT_WRITABLE,4,2        ; @NOTES_INIT_WRITABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"refs/notes/%s"

	.comm	_NOTES_INIT_EMPTY,4,2           ; @NOTES_INIT_EMPTY
	.comm	_combine_notes_overwrite,4,2    ; @combine_notes_overwrite
.subsections_via_symbols
