	.file	"extr_remote.c_remote_get_1.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	remote_get_1, @function
remote_get_1:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 4[rsp], 0
	call	read_config@PLT
	test	rbp, rbp
	je	.L2
	mov	DWORD PTR 4[rsp], 1
.L3:
	xor	esi, esi
	mov	rdi, rbp
	call	make_remote@PLT
	mov	rdi, rbp
	mov	r12, rax
	call	valid_remote_nick@PLT
	test	rax, rax
	jne	.L18
.L5:
	mov	eax, DWORD PTR 4[rsp]
	test	eax, eax
	jne	.L19
.L9:
	mov	rdi, r12
	call	valid_remote@PLT
	test	eax, eax
	mov	eax, 0
	cmove	r12, rax
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L20
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	xor	eax, eax
	call	have_git_dir@PLT
	test	rax, rax
	je	.L5
	mov	rdi, r12
	call	valid_remote@PLT
	test	eax, eax
	je	.L21
.L7:
	mov	rdi, r12
	call	valid_remote@PLT
	test	eax, eax
	jne	.L5
	mov	rdi, r12
	call	read_branches_file@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rdi, r12
	call	valid_remote@PLT
	test	eax, eax
	jne	.L9
	mov	rsi, rbp
	mov	rdi, r12
	call	add_url_alias@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdi, QWORD PTR current_branch[rip]
	lea	rsi, 4[rsp]
	call	r12
	mov	rbp, rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rdi, r12
	call	read_remotes_file@PLT
	jmp	.L7
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	remote_get_1, .-remote_get_1
	.comm	current_branch,8,8
	.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_remote_get_1.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	remote_get_1, %function
remote_get_1:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r3, #0
	mov	r5, r0
	ldr	r2, .L22
	sub	sp, sp, #12
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	mov	r4, r1
	str	r3, [sp]
	bl	read_config
	cmp	r5, #0
	beq	.L2
	mov	r3, #1
	str	r3, [sp]
.L3:
	mov	r1, #0
	mov	r0, r5
	bl	make_remote
	mov	r4, r0
	mov	r0, r5
	bl	valid_remote_nick
	cmp	r0, #0
	bne	.L18
.L5:
	ldr	r3, [sp]
	cmp	r3, #0
	bne	.L19
.L9:
	mov	r0, r4
	bl	valid_remote
	ldr	r3, .L22
	cmp	r0, #0
	moveq	r4, #0
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L18:
	bl	have_git_dir
	cmp	r0, #0
	beq	.L5
	mov	r0, r4
	bl	valid_remote
	cmp	r0, #0
	beq	.L21
.L7:
	mov	r0, r4
	bl	valid_remote
	cmp	r0, #0
	bne	.L5
	mov	r0, r4
	bl	read_branches_file
	b	.L5
.L19:
	mov	r0, r4
	bl	valid_remote
	cmp	r0, #0
	bne	.L9
	mov	r1, r5
	mov	r0, r4
	bl	add_url_alias
	b	.L9
.L2:
	ldr	r3, .L22+4
	mov	r1, sp
	ldr	r0, [r3]
	blx	r4
	mov	r5, r0
	b	.L3
.L21:
	mov	r0, r4
	bl	read_remotes_file
	b	.L7
.L20:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	.LC0
	.word	current_branch
	.size	remote_get_1, .-remote_get_1
	.comm	current_branch,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
