	.file	"extr_ieee754sp.h_buildsp.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	buildsp, @function
buildsp:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, edx
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	cmp	edi, 1
	setbe	dil
	movzx	edi, dil
	call	assert@PLT
	mov	eax, DWORD PTR SP_EBIAS[rip]
	mov	edx, DWORD PTR SP_EMIN[rip]
	xor	edi, edi
	lea	edx, -1[rax+rdx]
	cmp	edx, ebp
	jg	.L2
	mov	edx, DWORD PTR SP_EMAX[rip]
	xor	edi, edi
	lea	eax, 1[rax+rdx]
	cmp	eax, ebp
	setge	dil
.L2:
	call	assert@PLT
	mov	ecx, DWORD PTR SP_MBITS[rip]
	mov	eax, ebx
	xor	edi, edi
	shr	eax, cl
	test	eax, eax
	sete	dil
	call	assert@PLT
	mov	DWORD PTR 20[rsp], r12d
	mov	edx, ebx
	mov	DWORD PTR 24[rsp], ebp
	mov	rax, QWORD PTR 20[rsp]
	add	rsp, 32
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	buildsp, .-buildsp
	.comm	SP_MBITS,4,4
	.comm	SP_EMIN,4,4
	.comm	SP_EMAX,4,4
	.comm	SP_EBIAS,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_ieee754sp.h_buildsp.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	buildsp, %function
buildsp:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r2
	cmp	r1, #1
	mov	r4, r0
	movhi	r0, #0
	movls	r0, #1
	mov	r6, r3
	mov	r7, r1
	bl	assert
	ldr	r2, .L6
	ldr	r3, .L6+4
	ldr	ip, [r2]
	ldr	r3, [r3]
	sub	ip, ip, #1
	add	ip, ip, r3
	cmp	ip, r5
	movgt	r0, #0
	bgt	.L2
	ldr	r2, .L6+8
	ldr	r0, [r2]
	add	r0, r0, #1
	add	r0, r0, r3
	cmp	r0, r5
	movlt	r0, #0
	movge	r0, #1
.L2:
	bl	assert
	ldr	r3, .L6+12
	ldr	r3, [r3]
	lsrs	r3, r6, r3
	moveq	r0, #1
	movne	r0, #0
	bl	assert
	mov	r0, r4
	stmib	r4, {r5, r6}
	str	r7, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	.align	2
.L6:
	.word	SP_EMIN
	.word	SP_EBIAS
	.word	SP_EMAX
	.word	SP_MBITS
	.size	buildsp, .-buildsp
	.comm	SP_MBITS,4,4
	.comm	SP_EMIN,4,4
	.comm	SP_EMAX,4,4
	.comm	SP_EBIAS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
