	.file	"937808.c"
	.intel_syntax noprefix
	.text
	.globl	value_as_float
	.type	value_as_float, @function
value_as_float:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -4[rbp], eax
	movss	xmm0, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	value_as_float, .-value_as_float
	.globl	value_as_int
	.type	value_as_int, @function
value_as_int:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	DWORD PTR -20[rbp], xmm0
	movss	xmm0, DWORD PTR -20[rbp]
	movss	DWORD PTR -4[rbp], xmm0
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	value_as_int, .-value_as_int
	.section	.rodata
	.align 8
.LC0:
	.string	"test %d failed: expected %08x, got %08x\n"
.LC1:
	.string	"%d tests passed\n"
.LC2:
	.string	"%d/%d tests failed\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -36[rbp], 0
.L17:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, TESTS[rip]
	add	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	je	.L22
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 5
	ja	.L8
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L10[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L10[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L10:
	.long	.L15-.L10
	.long	.L14-.L10
	.long	.L13-.L10
	.long	.L12-.L10
	.long	.L11-.L10
	.long	.L9-.L10
	.text
.L15:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edi, eax
	call	value_as_float
	movss	DWORD PTR -52[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	edi, eax
	call	value_as_float
	movaps	xmm1, xmm0
	addss	xmm1, DWORD PTR -52[rbp]
	movd	eax, xmm1
	movd	xmm0, eax
	call	value_as_int
	mov	DWORD PTR -32[rbp], eax
	jmp	.L8
.L14:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edi, eax
	call	value_as_float
	movd	ebx, xmm0
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	edi, eax
	call	value_as_float
	movd	xmm2, ebx
	subss	xmm2, xmm0
	movd	eax, xmm2
	movd	xmm0, eax
	call	value_as_int
	mov	DWORD PTR -32[rbp], eax
	jmp	.L8
.L13:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edi, eax
	call	value_as_float
	movss	DWORD PTR -52[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	edi, eax
	call	value_as_float
	movaps	xmm3, xmm0
	mulss	xmm3, DWORD PTR -52[rbp]
	movd	eax, xmm3
	movd	xmm0, eax
	call	value_as_int
	mov	DWORD PTR -32[rbp], eax
	jmp	.L8
.L12:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	pxor	xmm6, xmm6
	cvtsi2ss	xmm6, eax
	movd	eax, xmm6
	movd	xmm0, eax
	call	value_as_int
	mov	DWORD PTR -32[rbp], eax
	jmp	.L8
.L11:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edi, eax
	call	value_as_float
	cvttss2si	eax, xmm0
	mov	DWORD PTR -32[rbp], eax
	jmp	.L8
.L9:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edi, eax
	call	value_as_float
	movss	DWORD PTR -52[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	edi, eax
	call	value_as_float
	movd	eax, xmm0
	movd	xmm7, eax
	comiss	xmm7, DWORD PTR -52[rbp]
	seta	al
	movzx	eax, al
	mov	DWORD PTR -32[rbp], eax
	nop
.L8:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	DWORD PTR -32[rbp], eax
	je	.L16
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	edx, DWORD PTR -36[rbp]
	lea	esi, 1[rdx]
	mov	edx, DWORD PTR -32[rbp]
	mov	ecx, edx
	mov	edx, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -28[rbp], 1
.L16:
	add	DWORD PTR -36[rbp], 1
	jmp	.L17
.L22:
	nop
	cmp	DWORD PTR -28[rbp], 0
	jne	.L18
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L19
.L18:
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L19:
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"937808.c"
	.text
	.align	2
	.global	value_as_float
	.syntax unified
	.arm
	.fpu softvfp
	.type	value_as_float, %function
value_as_float:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]	@ float
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	value_as_float, .-value_as_float
	.align	2
	.global	value_as_int
	.syntax unified
	.arm
	.fpu softvfp
	.type	value_as_int, %function
value_as_int:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]	@ float
	ldr	r3, [fp, #-16]	@ float
	str	r3, [fp, #-8]	@ float
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	value_as_int, .-value_as_int
	.global	__aeabi_fadd
	.global	__aeabi_fsub
	.global	__aeabi_fmul
	.global	__aeabi_i2f
	.global	__aeabi_f2iz
	.global	__aeabi_fcmplt
	.section	.rodata
	.align	2
.LC0:
	.ascii	"test %d failed: expected %08x, got %08x\012\000"
	.align	2
.LC1:
	.ascii	"%d tests passed\012\000"
	.align	2
.LC2:
	.ascii	"%d/%d tests failed\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-28]
.L18:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, .L24
	add	r3, r3, r2
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L23
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L8
.L10:
	.word	.L15
	.word	.L14
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L9
.L15:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	value_as_float
	mov	r4, r0
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	value_as_float
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	value_as_int
	str	r0, [fp, #-24]
	b	.L8
.L14:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	value_as_float
	mov	r4, r0
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	value_as_float
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	value_as_int
	str	r0, [fp, #-24]
	b	.L8
.L13:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	value_as_float
	mov	r4, r0
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	value_as_float
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	value_as_int
	str	r0, [fp, #-24]
	b	.L8
.L12:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r0, r3
	bl	value_as_int
	str	r0, [fp, #-24]
	b	.L8
.L11:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	value_as_float
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-24]
	b	.L8
.L9:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	value_as_float
	mov	r4, r0
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	value_as_float
	mov	r3, r0
	mov	r2, #1
	mov	r5, r2
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	mov	r3, #0
	mov	r5, r3
.L16:
	and	r3, r5, #255
	str	r3, [fp, #-24]
	nop
.L8:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	beq	.L17
	ldr	r3, [fp, #-28]
	add	r1, r3, #1
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-24]
	ldr	r0, .L24+4
	bl	printf
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L17:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	b	.L18
.L23:
	nop
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L19
	ldr	r1, [fp, #-28]
	ldr	r0, .L24+8
	bl	printf
	b	.L20
.L19:
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-20]
	ldr	r0, .L24+12
	bl	printf
.L20:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L25:
	.align	2
.L24:
	.word	TESTS
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
