	.file	"extr_gcc.c_handle_spec_function.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"malformed spec function name"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"malformed spec function arguments"
	.align 8
.LC2:
	.string	"no arguments for spec function"
	.text
	.p2align 4
	.type	handle_spec_function, @function
handle_spec_function:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rbp
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	add	DWORD PTR processing_spec_function[rip], 1
	movsx	edi, BYTE PTR [rdi]
	test	dil, dil
	je	.L14
	lea	r12, .LC0[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L31:
	call	ISALNUM@PLT
	test	eax, eax
	jne	.L4
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 45
	je	.L4
	cmp	al, 95
	je	.L4
	mov	rdi, r12
	call	fatal@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	movsx	edi, BYTE PTR 1[rbx]
	add	rbx, 1
	test	dil, dil
	je	.L30
.L5:
	cmp	dil, 40
	jne	.L31
	mov	r12d, ebx
	sub	r12d, ebp
.L13:
	mov	esi, r12d
	mov	rdi, rbp
	lea	r12, 1[rbx]
	call	save_string@PLT
	mov	rbp, rax
	movzx	eax, BYTE PTR 1[rbx]
	mov	rbx, r12
	test	al, al
	je	.L15
	xor	edx, edx
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L7:
	cmp	al, 40
	sete	al
	add	rbx, 1
	movzx	eax, al
	add	edx, eax
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	je	.L32
.L10:
	cmp	al, 41
	jne	.L7
	test	edx, edx
	je	.L8
	movzx	eax, BYTE PTR 1[rbx]
	add	rbx, 1
	sub	edx, 1
	test	al, al
	jne	.L10
.L32:
	mov	r13d, ebx
	sub	r13d, r12d
.L6:
	lea	rdi, .LC1[rip]
	call	fatal@PLT
.L12:
	mov	esi, r13d
	mov	rdi, r12
	lea	r12, 1[rbx]
	call	save_string@PLT
	mov	rdi, rbp
	mov	rsi, rax
	mov	r13, rax
	call	eval_spec_function@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L11
	xor	edx, edx
	xor	esi, esi
	call	do_spec_1@PLT
	test	rax, rax
	mov	eax, 0
	cmovs	r12, rax
.L11:
	mov	rdi, rbp
	call	free@PLT
	mov	rdi, r13
	call	free@PLT
	sub	DWORD PTR processing_spec_function[rip], 1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	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
.L30:
	.cfi_restore_state
	mov	r12d, ebx
	sub	r12d, ebp
.L2:
	lea	rdi, .LC2[rip]
	call	fatal@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L8:
	mov	r13d, ebx
	sub	r13d, r12d
	jmp	.L12
.L15:
	xor	r13d, r13d
	jmp	.L6
.L14:
	xor	r12d, r12d
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	handle_spec_function, .-handle_spec_function
	.comm	processing_spec_function,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_gcc.c_handle_spec_function.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"malformed spec function name\000"
	.align	2
.LC1:
	.ascii	"malformed spec function arguments\000"
	.align	2
.LC2:
	.ascii	"no arguments for spec function\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_spec_function, %function
handle_spec_function:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, .L29
	mov	r7, r0
	ldr	r3, [r6]
	add	r3, r3, #1
	str	r3, [r6]
	ldrb	r0, [r0]	@ zero_extendqisi2
	cmp	r0, #0
	beq	.L14
	mov	r8, r7
	ldr	r4, .L29+4
	b	.L5
.L4:
	ldrb	r0, [r8, #1]!	@ zero_extendqisi2
	cmp	r0, #0
	beq	.L27
.L5:
	cmp	r0, #40
	beq	.L3
	bl	ISALNUM
	cmp	r0, #0
	bne	.L4
	ldrb	r3, [r8]	@ zero_extendqisi2
	cmp	r3, #45
	cmpne	r3, #95
	beq	.L4
	mov	r0, r4
	bl	fatal
	ldrb	r0, [r8, #1]!	@ zero_extendqisi2
	cmp	r0, #0
	bne	.L5
.L27:
	sub	r4, r8, r7
.L2:
	ldr	r0, .L29+8
	bl	fatal
	b	.L13
.L3:
	sub	r4, r8, r7
.L13:
	mov	r1, r4
	mov	r0, r7
	bl	save_string
	ldrb	r1, [r8, #1]	@ zero_extendqisi2
	mov	r7, r0
	cmp	r1, #0
	add	r8, r8, #1
	beq	.L15
	mov	r5, r8
	mov	r3, #0
	b	.L10
.L7:
	cmp	r1, #40
	ldrb	r1, [r5, #1]!	@ zero_extendqisi2
	addeq	r3, r3, #1
	cmp	r1, #0
	beq	.L28
.L10:
	cmp	r1, #41
	bne	.L7
	cmp	r3, #0
	beq	.L8
	ldrb	r1, [r5, #1]!	@ zero_extendqisi2
	sub	r3, r3, #1
	cmp	r1, #0
	bne	.L10
.L28:
	sub	r4, r5, r8
.L6:
	ldr	r0, .L29+12
	bl	fatal
.L12:
	mov	r1, r4
	mov	r0, r8
	bl	save_string
	mov	r4, r0
	mov	r0, r7
	mov	r1, r4
	bl	eval_spec_function
	cmp	r0, #0
	add	r5, r5, #1
	beq	.L11
	mov	r2, #0
	mov	r1, r2
	bl	do_spec_1
	cmp	r0, #0
	movlt	r5, #0
.L11:
	mov	r0, r7
	bl	free
	mov	r0, r4
	bl	free
	ldr	r3, [r6]
	mov	r0, r5
	sub	r3, r3, #1
	str	r3, [r6]
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	sub	r4, r5, r8
	b	.L12
.L15:
	mov	r4, r1
	mov	r5, r8
	b	.L6
.L14:
	mov	r4, r0
	mov	r8, r7
	b	.L2
.L30:
	.align	2
.L29:
	.word	processing_spec_function
	.word	.LC0
	.word	.LC2
	.word	.LC1
	.size	handle_spec_function, .-handle_spec_function
	.comm	processing_spec_function,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
