	.file	"397455.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%f"
.LC2:
	.string	"A[%hu] = %.1f\n"
	.text
	.globl	array_selection
	.type	array_selection, @function
array_selection:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 432
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	WORD PTR -418[rbp], 0
	jmp	.L2
.L3:
	movzx	eax, WORD PTR -418[rbp]
	lea	rdx, -416[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, WORD PTR -418[rbp]
	add	eax, 1
	mov	WORD PTR -418[rbp], ax
.L2:
	cmp	WORD PTR -418[rbp], 99
	jbe	.L3
	mov	WORD PTR -418[rbp], 0
	jmp	.L4
.L7:
	movzx	eax, WORD PTR -418[rbp]
	cdqe
	movss	xmm1, DWORD PTR -416[rbp+rax*4]
	movss	xmm0, DWORD PTR .LC1[rip]
	comiss	xmm0, xmm1
	jb	.L5
	movzx	eax, WORD PTR -418[rbp]
	cdqe
	movss	xmm0, DWORD PTR -416[rbp+rax*4]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rdx, xmm2
	movzx	eax, WORD PTR -418[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 1
	call	printf@PLT
.L5:
	movzx	eax, WORD PTR -418[rbp]
	add	eax, 1
	mov	WORD PTR -418[rbp], ax
.L4:
	cmp	WORD PTR -418[rbp], 99
	jbe	.L7
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	array_selection, .-array_selection
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	array_selection
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC1:
	.long	1092616192
	.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	"397455.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%f\000"
	.global	__aeabi_fcmple
	.global	__aeabi_f2d
	.align	2
.LC1:
	.ascii	"A[%hu] = %.1f\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	array_selection
	.syntax unified
	.arm
	.fpu softvfp
	.type	array_selection, %function
array_selection:
	@ args = 0, pretend = 0, frame = 408
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #412
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #12
	sub	r3, r3, #404
	sub	r3, r3, #2
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L2
.L3:
	sub	r3, fp, #12
	sub	r3, r3, #404
	sub	r3, r3, #2
	ldrh	r3, [r3]
	sub	r2, fp, #416
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L10+4
	bl	__isoc99_scanf
	sub	r3, fp, #12
	sub	r3, r3, #404
	sub	r3, r3, #2
	ldrh	r2, [r3]
	sub	r3, fp, #12
	sub	r3, r3, #404
	sub	r3, r3, #2
	add	r2, r2, #1
	strh	r2, [r3]	@ movhi
.L2:
	sub	r3, fp, #12
	sub	r3, r3, #404
	sub	r3, r3, #2
	ldrh	r3, [r3]
	cmp	r3, #99
	bls	.L3
	sub	r3, fp, #12
	sub	r3, r3, #404
	sub	r3, r3, #2
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L4
.L7:
	sub	r3, fp, #12
	sub	r3, r3, #404
	sub	r3, r3, #2
	ldrh	r3, [r3]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-404]	@ float
	ldr	r1, .L10+8
	mov	r0, r3
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	sub	r3, fp, #12
	sub	r3, r3, #404
	sub	r3, r3, #2
	ldrh	r4, [r3]
	sub	r3, fp, #12
	sub	r3, r3, #404
	sub	r3, r3, #2
	ldrh	r3, [r3]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-404]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r1, r4
	ldr	r0, .L10+12
	bl	printf
.L5:
	sub	r3, fp, #12
	sub	r3, r3, #404
	sub	r3, r3, #2
	ldrh	r2, [r3]
	sub	r3, fp, #12
	sub	r3, r3, #404
	sub	r3, r3, #2
	add	r2, r2, #1
	strh	r2, [r3]	@ movhi
.L4:
	sub	r3, fp, #12
	sub	r3, r3, #404
	sub	r3, r3, #2
	ldrh	r3, [r3]
	cmp	r3, #99
	bls	.L7
	nop
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC2
	.word	.LC0
	.word	1092616192
	.word	.LC1
	.size	array_selection, .-array_selection
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	array_selection
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
