	.file	"188558.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Please enter the taxable amount: "
.LC1:
	.string	"%f"
.LC2:
	.string	"The tax due is: %.2f"
	.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, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	movd	xmm0, eax
	call	compute_income_tax
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC2[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	compute_income_tax
	.type	compute_income_tax, @function
compute_income_tax:
.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 .LC3[rip]
	comiss	xmm0, DWORD PTR -20[rbp]
	jbe	.L22
	movss	xmm1, DWORD PTR -20[rbp]
	movss	xmm0, DWORD PTR .LC4[rip]
	mulss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	jmp	.L7
.L22:
	movss	xmm0, DWORD PTR .LC5[rip]
	comiss	xmm0, DWORD PTR -20[rbp]
	jbe	.L23
	movss	xmm0, DWORD PTR -20[rbp]
	movss	xmm2, DWORD PTR .LC3[rip]
	movaps	xmm1, xmm0
	subss	xmm1, xmm2
	movss	xmm0, DWORD PTR .LC6[rip]
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC7[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	jmp	.L7
.L23:
	movss	xmm0, DWORD PTR .LC8[rip]
	comiss	xmm0, DWORD PTR -20[rbp]
	jbe	.L24
	movss	xmm0, DWORD PTR -20[rbp]
	movss	xmm2, DWORD PTR .LC5[rip]
	movaps	xmm1, xmm0
	subss	xmm1, xmm2
	movss	xmm0, DWORD PTR .LC9[rip]
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC10[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	jmp	.L7
.L24:
	movss	xmm0, DWORD PTR .LC11[rip]
	comiss	xmm0, DWORD PTR -20[rbp]
	jbe	.L25
	movss	xmm0, DWORD PTR -20[rbp]
	movss	xmm2, DWORD PTR .LC8[rip]
	movaps	xmm1, xmm0
	subss	xmm1, xmm2
	movss	xmm0, DWORD PTR .LC12[rip]
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC13[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	jmp	.L7
.L25:
	movss	xmm0, DWORD PTR .LC14[rip]
	comiss	xmm0, DWORD PTR -20[rbp]
	jbe	.L26
	movss	xmm0, DWORD PTR -20[rbp]
	movss	xmm2, DWORD PTR .LC11[rip]
	movaps	xmm1, xmm0
	subss	xmm1, xmm2
	movss	xmm0, DWORD PTR .LC15[rip]
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC16[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	jmp	.L7
.L26:
	movss	xmm0, DWORD PTR -20[rbp]
	movss	xmm2, DWORD PTR .LC14[rip]
	movaps	xmm1, xmm0
	subss	xmm1, xmm2
	movss	xmm0, DWORD PTR .LC17[rip]
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC18[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
.L7:
	movss	xmm0, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	compute_income_tax, .-compute_income_tax
	.section	.rodata
	.align 4
.LC3:
	.long	1144750080
	.align 4
.LC4:
	.long	1008981770
	.align 4
.LC5:
	.long	1158455296
	.align 4
.LC6:
	.long	1017370378
	.align 4
.LC7:
	.long	1089470464
	.align 4
.LC8:
	.long	1164599296
	.align 4
.LC9:
	.long	1022739087
	.align 4
.LC10:
	.long	1108738048
	.align 4
.LC11:
	.long	1168379904
	.align 4
.LC12:
	.long	1025758986
	.align 4
.LC13:
	.long	1118109696
	.align 4
.LC14:
	.long	1171963904
	.align 4
.LC15:
	.long	1028443341
	.align 4
.LC16:
	.long	1125023744
	.align 4
.LC17:
	.long	1031127695
	.align 4
.LC18:
	.long	1130790912
	.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	"188558.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Please enter the taxable amount: \000"
	.align	2
.LC1:
	.ascii	"%f\000"
	.global	__aeabi_f2d
	.align	2
.LC2:
	.ascii	"The tax due is: %.2f\000"
	.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 = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L4+4
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L4+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]	@ float
	mov	r0, r3
	bl	compute_income_tax
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L4+12
	bl	printf
	mov	r3, #0
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.global	__aeabi_fcmplt
	.global	__aeabi_fmul
	.global	__aeabi_fsub
	.global	__aeabi_fadd
	.align	2
	.global	compute_income_tax
	.syntax unified
	.arm
	.fpu softvfp
	.type	compute_income_tax, %function
compute_income_tax:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]	@ float
	ldr	r1, .L29
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	ldr	r1, .L29+4
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	b	.L9
.L24:
	ldr	r1, .L29+8
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L25
	ldr	r1, .L29
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	ldr	r1, .L29+12
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, .L29+16
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	b	.L9
.L25:
	ldr	r1, .L29+20
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
	ldr	r1, .L29+8
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	ldr	r1, .L29+24
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, .L29+28
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	b	.L9
.L26:
	ldr	r1, .L29+32
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L27
	ldr	r1, .L29+20
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	ldr	r1, .L29+36
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, .L29+40
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	b	.L9
.L27:
	ldr	r1, .L29+44
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L28
	ldr	r1, .L29+32
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	ldr	r1, .L29+48
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, .L29+52
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	b	.L9
.L28:
	ldr	r1, .L29+44
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	ldr	r1, .L29+56
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, .L29+60
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
.L9:
	ldr	r3, [fp, #-8]	@ float
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	1144750080
	.word	1008981770
	.word	1158455296
	.word	1017370378
	.word	1089470464
	.word	1164599296
	.word	1022739087
	.word	1108738048
	.word	1168379904
	.word	1025758986
	.word	1118109696
	.word	1171963904
	.word	1028443341
	.word	1125023744
	.word	1031127695
	.word	1130790912
	.size	compute_income_tax, .-compute_income_tax
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
