	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd__ref_store                 ## -- Begin function cmd__ref_store
	.p2align	4, 0x90
_cmd__ref_store:                        ## @cmd__ref_store
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	xorl	%eax, %eax
	callq	_setup_git_directory
	addq	$8, %rbx
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_get_store
	movq	%rax, %r14
	movq	(%rax), %r15
	testq	%r15, %r15
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_2:
	movq	_commands@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.3:
	addq	$8, %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%rbx), %rsi
	addq	$16, %rbx
	testq	%rsi, %rsi
	jne	LBB0_4
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	xorl	%r14d, %r14d
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_die
	jmp	LBB0_8
LBB0_5:
	movq	-32(%rbp), %rdi
	movq	%r14, %rsi
	callq	*(%rbx)
	movl	%eax, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ref function required"

	.comm	_commands,8,3                   ## @commands
L_.str.1:                               ## @.str.1
	.asciz	"unknown function %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd__ref_store                 ; -- Begin function cmd__ref_store
	.p2align	2
_cmd__ref_store:                        ; @cmd__ref_store
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	bl	_setup_git_directory
	add	x0, x19, #8
	add	x1, sp, #8
	bl	_get_store
	mov	x19, x0
	ldr	x20, [x19], #8
	cbnz	x20, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_2:
Lloh2:
	adrp	x8, _commands@GOTPAGE
Lloh3:
	ldr	x8, [x8, _commands@GOTPAGEOFF]
Lloh4:
	ldr	x21, [x8]
	ldr	x1, [x21, #8]
	cbz	x1, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x21, #24]
	add	x21, x21, #16
	cbnz	x1, LBB0_3
LBB0_5:
	str	x20, [sp]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	ldr	x8, [x21]
	ldr	x0, [sp, #8]
	mov	x1, x19
	blr	x8
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ref function required"

	.comm	_commands,8,3                   ; @commands
l_.str.1:                               ; @.str.1
	.asciz	"unknown function %s"

.subsections_via_symbols
