	.file	"1201597.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Enter value of trade: "
.LC1:
	.string	"%f"
	.align 8
.LC20:
	.string	"Commission: $%.2f\n\nEnter value of trade: "
	.text
	.globl	main
	.type	main, @function
main:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L2
.L16:
	movss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR .LC2[rip]
	comiss	xmm0, xmm1
	jbe	.L25
	movss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR .LC3[rip]
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC4[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	jmp	.L5
.L25:
	movss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR .LC5[rip]
	comiss	xmm0, xmm1
	jbe	.L26
	movss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR .LC6[rip]
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC7[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	jmp	.L5
.L26:
	movss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR .LC8[rip]
	comiss	xmm0, xmm1
	jbe	.L27
	movss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR .LC9[rip]
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC10[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	jmp	.L5
.L27:
	movss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR .LC11[rip]
	comiss	xmm0, xmm1
	jbe	.L28
	movss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR .LC12[rip]
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC13[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	jmp	.L5
.L28:
	movss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR .LC14[rip]
	comiss	xmm0, xmm1
	jbe	.L29
	movss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR .LC15[rip]
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC16[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	jmp	.L5
.L29:
	movss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR .LC17[rip]
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC18[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
.L5:
	movss	xmm0, DWORD PTR .LC19[rip]
	comiss	xmm0, DWORD PTR -12[rbp]
	jbe	.L14
	movss	xmm0, DWORD PTR .LC19[rip]
	movss	DWORD PTR -12[rbp], xmm0
.L14:
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -12[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC20[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L2:
	movss	xmm0, DWORD PTR -16[rbp]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	ja	.L16
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC2:
	.long	1159479296
	.align 4
.LC3:
	.long	1015759766
	.align 4
.LC4:
	.long	1106247680
	.align 4
.LC5:
	.long	1170427904
	.align 4
.LC6:
	.long	1004029136
	.align 4
.LC7:
	.long	1113587712
	.align 4
.LC8:
	.long	1184645120
	.align 4
.LC9:
	.long	996070025
	.align 4
.LC10:
	.long	1117257728
	.align 4
.LC11:
	.long	1195593728
	.align 4
.LC12:
	.long	990916064
	.align 4
.LC13:
	.long	1120403456
	.align 4
.LC14:
	.long	1223959552
	.align 4
.LC15:
	.long	982527456
	.align 4
.LC16:
	.long	1125842944
	.align 4
.LC17:
	.long	980151802
	.align 4
.LC18:
	.long	1132396544
	.align 4
.LC19:
	.long	1109131264
	.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	"1201597.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter value of trade: \000"
	.align	2
.LC1:
	.ascii	"%f\000"
	.global	__aeabi_fcmplt
	.global	__aeabi_fmul
	.global	__aeabi_fadd
	.global	__aeabi_f2d
	.align	2
.LC2:
	.ascii	"Commission: $%.2f\012\012Enter value of trade: \000"
	.global	__aeabi_fcmpgt
	.align	2
.LC3:
	.word	__stack_chk_guard
	.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	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L30+4
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L30+8
	bl	__isoc99_scanf
	b	.L2
.L16:
	ldr	r3, [fp, #-16]	@ float
	ldr	r1, .L30+12
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-16]	@ float
	ldr	r1, .L30+16
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, .L30+20
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	b	.L5
.L25:
	ldr	r3, [fp, #-16]	@ float
	ldr	r1, .L30+24
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
	ldr	r3, [fp, #-16]	@ float
	ldr	r1, .L30+28
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, .L30+32
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	b	.L5
.L26:
	ldr	r3, [fp, #-16]	@ float
	ldr	r1, .L30+36
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L27
	ldr	r3, [fp, #-16]	@ float
	ldr	r1, .L30+40
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, .L30+44
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	b	.L5
.L27:
	ldr	r3, [fp, #-16]	@ float
	ldr	r1, .L30+48
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #-16]	@ float
	ldr	r1, .L30+52
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, .L30+56
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	b	.L5
.L28:
	ldr	r3, [fp, #-16]	@ float
	ldr	r1, .L30+60
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	ldr	r3, [fp, #-16]	@ float
	ldr	r1, .L30+64
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, .L30+68
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	b	.L5
.L29:
	ldr	r3, [fp, #-16]	@ float
	ldr	r1, .L30+72
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, .L30+76
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
.L5:
	ldr	r1, .L30+80
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r3, .L30+80
	str	r3, [fp, #-12]	@ float
.L14:
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L30+84
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L30+8
	bl	__isoc99_scanf
.L2:
	ldr	r3, [fp, #-16]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	mov	r3, #0
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	1159479296
	.word	1015759766
	.word	1106247680
	.word	1170427904
	.word	1004029136
	.word	1113587712
	.word	1184645120
	.word	996070025
	.word	1117257728
	.word	1195593728
	.word	990916064
	.word	1120403456
	.word	1223959552
	.word	982527456
	.word	1125842944
	.word	980151802
	.word	1132396544
	.word	1109131264
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
