	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_head_names
_get_head_names:                        ## @get_head_names
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	$0, -32(%rbp)
	leaq	-32(%rbp), %rax
	movq	%rax, -40(%rbp)
	movq	$0, -48(%rbp)
	movl	$1, -72(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -56(%rbp)
	movq	%rax, -64(%rbp)
	movl	$1, (%rsi)
	leaq	-72(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_get_fetch_map
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_find_ref_by_name
	movq	-32(%rbp), %rsi
	movl	%eax, %edi
	movl	$1, %edx
	callq	_guess_remote_head
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	callq	_abbrev_branch
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_string_list_append
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
LBB0_3:
	movq	-32(%rbp), %rdi
	callq	_free_refs
	movq	%r14, %rdi
	callq	_free_refs
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"refs/heads/*"

L_.str.1:                               ## @.str.1
	.asciz	"HEAD"

	.no_dead_strip	_get_head_names
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_head_names
_get_head_names:                        ; @get_head_names
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x0
	add	x8, sp, #40
	stp	x8, xzr, [sp, #32]
	mov	w8, #1
	str	w8, [sp]
Lloh0:
	adrp	x9, l_.str@PAGE
Lloh1:
	add	x9, x9, l_.str@PAGEOFF
	stp	x9, xzr, [sp, #16]
	str	x9, [sp, #8]
	str	w8, [x1]
	mov	x1, sp
	add	x2, sp, #32
	mov	w3, #0
	bl	_get_fetch_map
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_find_ref_by_name
	ldr	x1, [sp, #40]
	mov	w2, #1
	bl	_guess_remote_head
	mov	x20, x0
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_abbrev_branch
	mov	x1, x0
	mov	x0, x19
	bl	_string_list_append
	ldr	x21, [x21, #8]
	cbnz	x21, LBB0_2
LBB0_3:
	ldr	x0, [sp, #40]
	bl	_free_refs
	mov	x0, x20
	bl	_free_refs
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"refs/heads/*"

l_.str.1:                               ; @.str.1
	.asciz	"HEAD"

	.no_dead_strip	_get_head_names
.subsections_via_symbols
