	.file	"extr_remote.c_remove_remote_tracking.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	remove_remote_tracking, @function
remove_remote_tracking:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	rdx, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rsi, rbp
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rdi, rsp
	call	git_remote_lookup@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	mov	rdi, QWORD PTR [rsp]
	call	git_remote_refspec_count@PLT
	mov	r13, rax
	test	rax, rax
	je	.L3
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, QWORD PTR [rsp]
	mov	rsi, rbx
	call	git_remote_get_refspec@PLT
	mov	rsi, rax
	test	rax, rax
	je	.L4
	mov	rdi, rbp
	call	remove_refs@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L3
.L4:
	add	rbx, 1
	cmp	r13, rbx
	jne	.L5
.L3:
	mov	rdi, QWORD PTR [rsp]
	call	git_remote_free@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	remove_remote_tracking, .-remove_remote_tracking
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_remote.c_remove_remote_tracking.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	remove_remote_tracking, %function
remove_remote_tracking:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L17
	sub	sp, sp, #12
	mov	r2, r1
	mov	r6, r0
	mov	r1, r0
	mov	r0, sp
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	git_remote_lookup
	subs	r5, r0, #0
	blt	.L1
	ldr	r0, [sp]
	bl	git_remote_refspec_count
	subs	r7, r0, #0
	beq	.L3
	mov	r4, #0
.L5:
	mov	r1, r4
	ldr	r0, [sp]
	bl	git_remote_get_refspec
	subs	r1, r0, #0
	beq	.L4
	mov	r0, r6
	bl	remove_refs
	subs	r5, r0, #0
	blt	.L3
.L4:
	add	r4, r4, #1
	cmp	r7, r4
	bne	.L5
.L3:
	ldr	r0, [sp]
	bl	git_remote_free
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC0
	.size	remove_remote_tracking, .-remove_remote_tracking
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
