	.file	"extr_tc-arm.c_arm_parse_extension.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"invalid architectural extension"
	.align 8
.LC1:
	.string	"missing architectural extension"
	.align 8
.LC2:
	.string	"unknown architectural extnsion `%s'"
	.text
	.p2align 4
	.type	arm_parse_extension, @function
arm_parse_extension:
.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
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	mov	edi, 4
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	call	xmalloc@PLT
	mov	r13, rax
	mov	rax, QWORD PTR [rbx]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 0[r13], eax
	mov	QWORD PTR [rbx], r13
	.p2align 4,,10
	.p2align 3
.L2:
	test	r12, r12
	je	.L13
	movzx	eax, BYTE PTR [r12]
	test	al, al
	je	.L13
	cmp	al, 43
	jne	.L20
	lea	rbp, 1[r12]
	mov	esi, 43
	mov	rdi, rbp
	call	strchr@PLT
	mov	r12, rax
	test	rax, rax
	je	.L5
	mov	r14d, eax
	sub	r14d, ebp
	test	r14d, r14d
	je	.L21
.L7:
	mov	rbx, QWORD PTR arm_extensions[rip]
	mov	rdi, QWORD PTR [rbx]
	test	rdi, rdi
	jne	.L11
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, QWORD PTR 16[rbx]
	add	rbx, 16
	test	rdi, rdi
	je	.L10
.L11:
	mov	edx, r14d
	mov	rsi, rbp
	call	strncmp@PLT
	test	rax, rax
	jne	.L9
	mov	edi, DWORD PTR 0[r13]
	mov	edx, DWORD PTR 8[rbx]
	mov	esi, edi
	call	ARM_MERGE_FEATURE_SETS@PLT
	cmp	QWORD PTR [rbx], 0
	jne	.L2
.L10:
	lea	rdi, .LC2[rip]
	xor	r14d, r14d
	call	_@PLT
	mov	rsi, rbp
	mov	edi, eax
	xor	eax, eax
	call	as_bad@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r14d
	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
.L5:
	.cfi_restore_state
	mov	rdi, rbp
	call	strlen@PLT
	mov	r14d, eax
	test	r14d, r14d
	jne	.L7
.L21:
	lea	rdi, .LC1[rip]
	call	_@PLT
	mov	edi, eax
	xor	eax, eax
	call	as_bad@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r14d
	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
.L13:
	.cfi_restore_state
	mov	r14d, 1
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	eax, r14d
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L20:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	xor	r14d, r14d
	call	_@PLT
	mov	edi, eax
	xor	eax, eax
	call	as_bad@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, r14d
	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	arm_parse_extension, .-arm_parse_extension
	.comm	arm_extensions,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_tc-arm.c_arm_parse_extension.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"invalid architectural extension\000"
	.align	2
.LC1:
	.ascii	"missing architectural extension\000"
	.align	2
.LC2:
	.ascii	"unknown architectural extnsion `%s'\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	arm_parse_extension, %function
arm_parse_extension:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r7, r0
	mov	r0, #4
	mov	r4, r1
	bl	xmalloc
	mov	r8, r0
	ldr	r3, [r4]
	ldr	r9, .L25
	ldr	r3, [r3]
	str	r3, [r0]
	str	r0, [r4]
.L2:
	cmp	r7, #0
	beq	.L12
	ldrb	r1, [r7]	@ zero_extendqisi2
	cmp	r1, #0
	beq	.L12
	cmp	r1, #43
	bne	.L22
	add	r5, r7, #1
	mov	r0, r5
	bl	strchr
	subs	r7, r0, #0
	subne	r6, r7, r5
	beq	.L23
	cmp	r6, #0
	beq	.L24
.L7:
	ldr	r4, [r9]
	ldr	r0, [r4]
	cmp	r0, #0
	bne	.L10
	b	.L8
.L9:
	ldr	r0, [r4, #8]!
	cmp	r0, #0
	beq	.L8
.L10:
	mov	r2, r6
	mov	r1, r5
	bl	strncmp
	cmp	r0, #0
	bne	.L9
	ldr	r1, [r8]
	ldr	r2, [r4, #4]
	mov	r0, r1
	bl	ARM_MERGE_FEATURE_SETS
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L2
.L8:
	mov	r6, #0
	ldr	r0, .L25+4
	bl	_
	mov	r1, r5
	bl	as_bad
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L23:
	mov	r0, r5
	bl	strlen
	mov	r6, r0
	cmp	r6, #0
	bne	.L7
.L24:
	ldr	r0, .L25+8
	bl	_
	bl	as_bad
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	mov	r6, #1
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L22:
	mov	r6, #0
	ldr	r0, .L25+12
	bl	_
	bl	as_bad
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L26:
	.align	2
.L25:
	.word	arm_extensions
	.word	.LC2
	.word	.LC1
	.word	.LC0
	.size	arm_parse_extension, .-arm_parse_extension
	.comm	arm_extensions,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
