	.file	"extr_connect.c_get_remote_heads.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"invalid packet"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"protocol error: unexpected '%s'"
	.text
	.p2align 4
	.globl	get_remote_heads
	.type	get_remote_heads, @function
get_remote_heads:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r8
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, 134
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR 24[rsp], rsi
	lea	r15, 36[rsp]
	mov	rcx, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rcx
	xor	ecx, ecx
	mov	DWORD PTR 36[rsp], 0
	mov	QWORD PTR 8[rsp], rsi
	mov	QWORD PTR [rsi], 0
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, rbx
	call	packet_reader_read@PLT
	cmp	eax, 130
	je	.L3
.L27:
	jg	.L4
	cmp	eax, 128
	je	.L5
	cmp	eax, 129
	jne	.L7
	mov	rax, QWORD PTR 8[rsp]
	mov	rdi, QWORD PTR [rax]
	call	annotate_refs_with_symref_info@PLT
	mov	rax, QWORD PTR 24[rsp]
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L26
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	cmp	eax, 131
	jne	.L7
	lea	rdi, .LC0[rip]
	call	_@PLT
	mov	edi, eax
	xor	eax, eax
	call	die@PLT
.L7:
	mov	edi, DWORD PTR 4[rbx]
	cmp	ebp, 133
	je	.L9
	cmp	ebp, 134
	jne	.L10
	mov	rsi, r15
	mov	ebp, 132
	call	process_capabilities@PLT
	mov	edi, DWORD PTR 4[rbx]
	call	process_dummy_ref@PLT
	test	eax, eax
	jne	.L11
	mov	edi, DWORD PTR 4[rbx]
	.p2align 4,,10
	.p2align 3
.L9:
	mov	esi, DWORD PTR 36[rsp]
	lea	rdx, 24[rsp]
	mov	r8, r13
	mov	ecx, r14d
	mov	ebp, 133
	call	process_ref@PLT
	test	eax, eax
	jne	.L11
	mov	edi, DWORD PTR 4[rbx]
.L10:
	mov	esi, DWORD PTR 36[rsp]
	mov	rdx, r12
	mov	ebp, 132
	call	process_shallow@PLT
	test	eax, eax
	jne	.L11
	mov	esi, DWORD PTR 4[rbx]
	lea	rdi, .LC1[rip]
	mov	DWORD PTR 20[rsp], esi
	call	_@PLT
	mov	esi, DWORD PTR 20[rsp]
	mov	edi, eax
	xor	eax, eax
	call	die@PLT
	mov	rdi, rbx
	call	packet_reader_read@PLT
	cmp	eax, 130
	jne	.L27
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, 1
	call	die_initial_contact@PLT
.L5:
	mov	eax, DWORD PTR [rbx]
	mov	DWORD PTR 36[rsp], eax
	jmp	.L7
.L26:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	get_remote_heads, .-get_remote_heads
	.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_connect.c_get_remote_heads.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"invalid packet\000"
	.align	2
.LC1:
	.ascii	"protocol error: unexpected '%s'\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_remote_heads
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_remote_heads, %function
get_remote_heads:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, r1
	mov	r4, r0
	mov	r9, r2
	mov	r5, #134
	sub	sp, sp, #28
	mov	r8, r3
	ldr	r3, .L24
	str	r1, [sp, #12]
	ldr	r6, [sp, #64]
	ldr	r10, .L24+4
	ldr	fp, .L24+8
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	str	ip, [sp, #16]
	str	ip, [r1]
.L11:
	mov	r0, r4
	bl	packet_reader_read
	sub	r0, r0, #128
	cmp	r0, #3
	ldrls	pc, [pc, r0, asl #2]
	b	.L3
.L5:
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L4
.L6:
	mov	r0, #1
	bl	die_initial_contact
.L8:
	ldr	r3, [r4]
	str	r3, [sp, #16]
.L3:
	cmp	r5, #133
	ldr	r0, [r4, #4]
	beq	.L9
	cmp	r5, #134
	bne	.L10
	add	r1, sp, #16
	bl	process_capabilities
	ldr	r0, [r4, #4]
	bl	process_dummy_ref
	cmp	r0, #0
	mov	r5, #132
	bne	.L11
	ldr	r0, [r4, #4]
.L9:
	mov	r3, r9
	ldr	r1, [sp, #16]
	str	r8, [sp]
	add	r2, sp, #12
	bl	process_ref
	cmp	r0, #0
	movne	r5, #133
	bne	.L11
	ldr	r0, [r4, #4]
.L10:
	mov	r2, r6
	ldr	r1, [sp, #16]
	bl	process_shallow
	cmp	r0, #0
	movne	r5, #132
	bne	.L11
	mov	r0, fp
	bl	_
	ldr	r1, [r4, #4]
	bl	die
	mov	r5, #132
	b	.L11
.L4:
	mov	r0, r10
	bl	_
	bl	die
	b	.L3
.L7:
	ldr	r0, [r7]
	bl	annotate_refs_with_symref_info
	ldr	r3, .L24
	ldr	r0, [sp, #12]
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L23
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L23:
	bl	__stack_chk_fail
.L25:
	.align	2
.L24:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	get_remote_heads, .-get_remote_heads
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
