	.file	"extr_asmname.c_parse_version.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	parse_version, @function
parse_version:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
.L6:
	cmp	BYTE PTR 0[rbp], 0
	je	.L12
	mov	esi, 46
	mov	rdi, rbp
	call	wcschr@PLT
	mov	rbx, rax
	lea	rax, 0[0+r12*4]
	test	rbx, rbx
	je	.L4
	mov	BYTE PTR [rbx], 0
	mov	edx, 10
	add	rax, QWORD PTR 8[r13]
	xor	esi, esi
	mov	rdi, rbp
	mov	r14, rax
	call	wcstol@PLT
	mov	DWORD PTR [r14], eax
	add	DWORD PTR 0[r13], 1
.L5:
	add	r12, 1
	lea	rbp, 1[rbx]
	cmp	r12, 4
	jne	.L6
.L12:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR S_OK[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	add	rax, QWORD PTR 8[r13]
	mov	edx, 10
	xor	esi, esi
	mov	rdi, rbp
	mov	r14, rax
	call	wcstol@PLT
	mov	DWORD PTR [r14], eax
	add	DWORD PTR 0[r13], 1
	cmp	r12, 3
	je	.L5
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR S_OK[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	parse_version, .-parse_version
	.comm	S_OK,4,4
	.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_asmname.c_parse_version.c"
	.text
	.align	2
	.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}
	mov	r6, #0
	mov	r7, r0
	mov	r4, r1
	mov	r8, r6
.L6:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L12
	mov	r1, #46
	mov	r0, r4
	bl	wcschr
	subs	r5, r0, #0
	beq	.L4
	mov	r0, r4
	strb	r8, [r5]
	mov	r2, #10
	mov	r1, #0
	ldr	r4, [r7, #4]
	bl	wcstol
	str	r0, [r4, r6, lsl #2]
	ldr	r3, [r7]
	add	r3, r3, #1
	str	r3, [r7]
.L5:
	add	r6, r6, #1
	cmp	r6, #4
	add	r4, r5, #1
	bne	.L6
.L12:
	ldr	r3, .L14
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	mov	r0, r4
	mov	r2, #10
	mov	r1, r5
	ldr	r4, [r7, #4]
	bl	wcstol
	str	r0, [r4, r6, lsl #2]
	ldr	r3, [r7]
	cmp	r6, #3
	add	r3, r3, #1
	str	r3, [r7]
	beq	.L5
	b	.L12
.L15:
	.align	2
.L14:
	.word	S_OK
	.size	parse_version, .-parse_version
	.comm	S_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
