	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cacheinfo_callback
_cacheinfo_callback:                    ## @cacheinfo_callback
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movl	%ecx, %edi
	callq	_BUG_ON_OPT_NEG
	movq	%rbx, %rdi
	callq	_BUG_ON_OPT_ARG
	movq	(%r14), %rax
	movq	8(%rax), %rdi
	leaq	-28(%rbp), %rsi
	leaq	-24(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	callq	_parse_new_style_cacheinfo
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:
	cmpl	$3, 8(%r14)
	jg	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	callq	_error
	movl	%eax, %ebx
	jmp	LBB0_11
LBB0_1:
	movl	-28(%rbp), %edi
	movq	-40(%rbp), %rdx
	leaq	-24(%rbp), %rsi
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	callq	_add_cacheinfo
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	-40(%rbp), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_die
LBB0_3:
	addq	$8, (%r14)
	decl	8(%r14)
	jmp	LBB0_11
LBB0_6:
	movq	(%r14), %rax
	leaq	8(%rax), %rcx
	movq	%rcx, (%r14)
	movq	8(%rax), %rdi
	leaq	-28(%rbp), %rdx
	movl	$8, %esi
	callq	_strtoul_ui
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:
	movq	(%r14), %rax
	leaq	8(%rax), %rcx
	movq	%rcx, (%r14)
	movq	8(%rax), %rdi
	leaq	-24(%rbp), %rsi
	callq	_get_oid_hex
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movl	-28(%rbp), %edi
	movq	(%r14), %rax
	leaq	8(%rax), %rcx
	movq	%rcx, (%r14)
	movq	8(%rax), %rdx
	leaq	-24(%rbp), %rsi
	xorl	%ecx, %ecx
	callq	_add_cacheinfo
	testq	%rax, %rax
	je	LBB0_10
LBB0_9:
	movq	(%r14), %rax
	movq	(%rax), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_die
LBB0_10:
	addl	$-3, 8(%r14)
	xorl	%ebx, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"git update-index: --cacheinfo cannot add %s"

L_.str.1:                               ## @.str.1
	.asciz	"option 'cacheinfo' expects <mode>,<sha1>,<path>"

	.no_dead_strip	_cacheinfo_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cacheinfo_callback
_cacheinfo_callback:                    ; @cacheinfo_callback
	.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	x20, x2
	mov	x19, x0
	mov	x0, x3
	bl	_BUG_ON_OPT_NEG
	mov	x0, x20
	bl	_BUG_ON_OPT_ARG
	ldr	x8, [x19]
	ldr	x0, [x8, #8]
	add	x1, sp, #20
	add	x2, sp, #24
	add	x3, sp, #8
	bl	_parse_new_style_cacheinfo
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w8, [x19, #8]
	cmp	w8, #3
	b.gt	LBB0_6
; %bb.2:
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
	b	LBB0_12
LBB0_3:
	ldr	w0, [sp, #20]
	ldr	x2, [sp, #8]
	add	x1, sp, #24
	mov	w3, #0
	bl	_add_cacheinfo
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x1, [sp, #8]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_5:
	mov	w0, #0
	ldr	x8, [x19]
	add	x8, x8, #8
	str	x8, [x19]
	ldr	w8, [x19, #8]
	sub	w8, w8, #1
	b	LBB0_11
LBB0_6:
	ldr	x8, [x19]
	add	x9, x8, #8
	str	x9, [x19]
	ldr	x0, [x8, #8]
	add	x2, sp, #20
	mov	w1, #8
	bl	_strtoul_ui
	cbnz	x0, LBB0_9
; %bb.7:
	ldr	x8, [x19]
	add	x9, x8, #8
	str	x9, [x19]
	ldr	x0, [x8, #8]
	add	x1, sp, #24
	bl	_get_oid_hex
	cbnz	x0, LBB0_9
; %bb.8:
	ldr	w0, [sp, #20]
	ldr	x8, [x19]
	add	x9, x8, #8
	str	x9, [x19]
	ldr	x2, [x8, #8]
	add	x1, sp, #24
	mov	w3, #0
	bl	_add_cacheinfo
	cbz	x0, LBB0_10
LBB0_9:
	ldr	x8, [x19]
	ldr	x1, [x8]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_10:
	mov	w0, #0
	ldr	w8, [x19, #8]
	sub	w8, w8, #3
LBB0_11:
	str	w8, [x19, #8]
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"git update-index: --cacheinfo cannot add %s"

l_.str.1:                               ; @.str.1
	.asciz	"option 'cacheinfo' expects <mode>,<sha1>,<path>"

	.no_dead_strip	_cacheinfo_callback
.subsections_via_symbols
