	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_other_head_refs                ## -- Begin function other_head_refs
	.p2align	4, 0x90
_other_head_refs:                       ## @other_head_refs
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_get_worktrees
	movq	(%rax), %r12
	testq	%r12, %r12
	je	LBB0_9
## %bb.1:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %r15
	addq	$8, %r15
	leaq	L_.str(%rip), %rbx
	leaq	-80(%rbp), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %r12
	addq	$8, %r15
	testq	%r12, %r12
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%r12)
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_get_main_ref_store
	movl	%eax, %r13d
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_worktree_ref
	movq	_RESOLVE_REF_READING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%r13d, %edi
	movl	%eax, %esi
	movq	%r14, %rcx
	leaq	-44(%rbp), %r8
	callq	_refs_read_ref_full
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_worktree_ref
	movl	-44(%rbp), %edx
	movl	%eax, %edi
	movq	%r14, %rsi
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	callq	*-64(%rbp)                      ## 8-byte Folded Reload
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	jmp	LBB0_8
LBB0_7:
	xorl	%ebx, %ebx
LBB0_8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
LBB0_9:
	movq	%rax, %rdi
	callq	_free_worktrees
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_the_repository,4,2             ## @the_repository
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HEAD"

	.comm	_RESOLVE_REF_READING,4,2        ## @RESOLVE_REF_READING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_other_head_refs                ; -- Begin function other_head_refs
	.p2align	2
_other_head_refs:                       ; @other_head_refs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x21, x0
	mov	w0, #0
	bl	_get_worktrees
	mov	x19, x0
	ldr	x23, [x0]
	cbz	x23, LBB0_7
; %bb.1:
	add	x25, x19, #8
Lloh0:
	adrp	x26, _the_repository@GOTPAGE
Lloh1:
	ldr	x26, [x26, _the_repository@GOTPAGEOFF]
Lloh2:
	adrp	x27, _RESOLVE_REF_READING@GOTPAGE
Lloh3:
	ldr	x27, [x27, _RESOLVE_REF_READING@GOTPAGEOFF]
Lloh4:
	adrp	x22, l_.str@PAGE
Lloh5:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x23, [x25], #8
	cbz	x23, LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	cbnz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x26]
	bl	_get_main_ref_store
	mov	x24, x0
	mov	x0, x23
	mov	x1, x22
	bl	_worktree_ref
	mov	x1, x0
	ldr	w2, [x27]
	add	x3, sp, #8
	add	x4, sp, #4
	mov	x0, x24
	bl	_refs_read_ref_full
	cbnz	w0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	mov	x1, x22
	bl	_worktree_ref
	ldr	w2, [sp, #4]
	add	x1, sp, #8
	mov	x3, x20
	blr	x21
	cbz	w0, LBB0_2
; %bb.6:
	mov	x23, x0
LBB0_7:
	mov	x0, x19
	bl	_free_worktrees
	mov	x0, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_the_repository,4,2             ; @the_repository
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HEAD"

	.comm	_RESOLVE_REF_READING,4,2        ; @RESOLVE_REF_READING
.subsections_via_symbols
