	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_branch_for_removal
_add_branch_for_removal:                ## @add_branch_for_removal
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdi, %r15
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%r15, -40(%rbp)
	movl	16(%r14), %edi
	movq	%rbx, %rsi
	callq	_remote_find_tracking
	testq	%rax, %rax
	jne	LBB0_10
## %bb.1:
	movq	8(%r14), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.2:
	leaq	-40(%rbp), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%r15, -40(%rbp)
	movl	(%rbx), %edi
	movq	%r12, %rsi
	callq	_remote_find_tracking
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_starts_with
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	movl	(%r14), %edi
	movq	%r15, %rsi
	jmp	LBB0_9
LBB0_6:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_starts_with
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movl	4(%r14), %ebx
	movq	%r15, %rdi
	callq	_abbrev_branch
	movl	%ebx, %edi
	movq	%rax, %rsi
LBB0_9:
	callq	_string_list_append
LBB0_10:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"refs/remotes/"

L_.str.1:                               ## @.str.1
	.asciz	"refs/heads/"

	.no_dead_strip	_add_branch_for_removal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_branch_for_removal
_add_branch_for_removal:                ; @add_branch_for_removal
	.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	x20, x3
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	str	x19, [sp, #8]
	ldr	w0, [x20, #16]
	add	x1, sp, #8
	bl	_remote_find_tracking
	cbnz	x0, LBB0_9
; %bb.1:
	ldr	x8, [x20, #8]
	ldr	x21, [x8]
	cbz	x21, LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	str	x19, [sp, #8]
	ldr	w0, [x21]
	add	x1, sp, #8
	bl	_remote_find_tracking
	cbz	x0, LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x21, [x21, #8]
	cbnz	x21, LBB0_2
LBB0_4:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_starts_with
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w0, [x20]
	mov	x1, x19
	b	LBB0_8
LBB0_6:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_starts_with
	cbz	x0, LBB0_9
; %bb.7:
	ldr	w20, [x20, #4]
	mov	x0, x19
	bl	_abbrev_branch
	mov	x1, x0
	mov	x0, x20
LBB0_8:
	bl	_string_list_append
LBB0_9:
	mov	w0, #0
	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 AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"refs/remotes/"

l_.str.1:                               ; @.str.1
	.asciz	"refs/heads/"

	.no_dead_strip	_add_branch_for_removal
.subsections_via_symbols
