	.file	"extr_names.c_parse_version.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"ERROR: unrecognised protocol version name: '%s'\n"
	.text
	.p2align 4
	.globl	parse_version
	.type	parse_version, @function
parse_version:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR protocol_versions[rip]
	mov	rbp, QWORD PTR [rax]
	test	rbp, rbp
	jne	.L2
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR protocol_versions[rip]
	add	rbx, 16
	mov	rbp, QWORD PTR [rax+rbx]
	test	rbp, rbp
	je	.L5
.L2:
	mov	rdi, rbp
	call	strlen@PLT
	mov	rcx, r13
	mov	rdx, r12
	mov	rdi, rbp
	mov	esi, eax
	call	eqstr_chunk@PLT
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR protocol_versions[rip]
	mov	eax, DWORD PTR 8[rax+rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edi, DWORD PTR stderr[rip]
	mov	rdx, r12
	lea	rsi, .LC0[rip]
	call	fprintf@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
	.cfi_endproc
.LFE0:
	.size	parse_version, .-parse_version
	.comm	stderr,4,4
	.comm	protocol_versions,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_names.c_parse_version.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ERROR: unrecognised protocol version name: '%s'\012"
	.ascii	"\000"
	.text
	.align	2
	.global	parse_version
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_version, %function
parse_version:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r8, .L12
	mov	r6, r0
	ldr	r3, [r8]
	ldr	r4, [r3]
	cmp	r4, #0
	movne	r7, r1
	movne	r5, #0
	bne	.L2
	b	.L5
.L4:
	add	r5, r5, #8
	ldr	r4, [r3, r5]
	cmp	r4, #0
	beq	.L5
.L2:
	mov	r0, r4
	bl	strlen
	mov	r3, r7
	mov	r1, r0
	mov	r2, r6
	mov	r0, r4
	bl	eqstr_chunk
	cmp	r0, #0
	ldr	r3, [r8]
	beq	.L4
	add	r5, r3, r5
	ldr	r0, [r5, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	ldr	r3, .L12+4
	mov	r2, r6
	ldr	r0, [r3]
	ldr	r1, .L12+8
	bl	fprintf
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	protocol_versions
	.word	stderr
	.word	.LC0
	.size	parse_version, .-parse_version
	.comm	stderr,4,4
	.comm	protocol_versions,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
