	.file	"566138.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter one of the options below:"
.LC1:
	.string	"a) Single"
.LC2:
	.string	"b) Head of Household"
.LC3:
	.string	"c) Married, Joint"
.LC4:
	.string	"d) Married, Separate"
.LC5:
	.string	"q) Quit"
	.align 8
.LC10:
	.string	"Invalid option. Please try again.\n"
.LC11:
	.string	"Enter income input: "
.LC12:
	.string	"%lf"
.LC15:
	.string	"Your tax is $%.2f\n\n"
	.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L17:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	call	getchar@PLT
	mov	BYTE PTR -33[rbp], al
	movsx	eax, BYTE PTR -33[rbp]
	sub	eax, 97
	cmp	eax, 4
	ja	.L2
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L4[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L4[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
.L8:
	movsd	xmm0, QWORD PTR .LC6[rip]
	movsd	QWORD PTR -24[rbp], xmm0
	jmp	.L9
.L7:
	movsd	xmm0, QWORD PTR .LC7[rip]
	movsd	QWORD PTR -24[rbp], xmm0
	jmp	.L9
.L6:
	movsd	xmm0, QWORD PTR .LC8[rip]
	movsd	QWORD PTR -24[rbp], xmm0
	jmp	.L9
.L5:
	movsd	xmm0, QWORD PTR .LC9[rip]
	movsd	QWORD PTR -24[rbp], xmm0
	jmp	.L9
.L3:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L18
	jmp	.L20
.L2:
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L11
.L9:
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L12
.L13:
	nop
.L12:
	call	getchar@PLT
	cmp	eax, 10
	jne	.L13
	movsd	xmm1, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR -24[rbp]
	comisd	xmm0, xmm1
	jbe	.L21
	movsd	xmm1, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR .LC13[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	jmp	.L16
.L21:
	movsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC13[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	movapd	xmm2, xmm0
	subsd	xmm2, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC14[rip]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
.L16:
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	lea	rdi, .LC15[rip]
	mov	eax, 1
	call	printf@PLT
.L11:
	jmp	.L17
.L20:
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC6:
	.long	0
	.long	1087467136
	.align 8
.LC7:
	.long	0
	.long	1087854336
	.align 8
.LC8:
	.long	0
	.long	1088228736
	.align 8
.LC9:
	.long	0
	.long	1087180160
	.align 8
.LC13:
	.long	858993459
	.long	1069757235
	.align 8
.LC14:
	.long	515396076
	.long	1070721925
	.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	"566138.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter one of the options below:\000"
	.align	2
.LC1:
	.ascii	"a) Single\000"
	.align	2
.LC2:
	.ascii	"b) Head of Household\000"
	.align	2
.LC3:
	.ascii	"c) Married, Joint\000"
	.align	2
.LC4:
	.ascii	"d) Married, Separate\000"
	.align	2
.LC5:
	.ascii	"q) Quit\000"
	.align	2
.LC6:
	.ascii	"Invalid option. Please try again.\012\000"
	.align	2
.LC7:
	.ascii	"Enter income input: \000"
	.align	2
.LC8:
	.ascii	"%lf\000"
	.global	__aeabi_dcmpgt
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.global	__aeabi_dadd
	.align	2
.LC9:
	.ascii	"Your tax is $%.2f\012\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #40
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
.L17:
	ldr	r0, .L22+4
	bl	puts
	ldr	r0, .L22+8
	bl	puts
	ldr	r0, .L22+12
	bl	puts
	ldr	r0, .L22+16
	bl	puts
	ldr	r0, .L22+20
	bl	puts
	ldr	r0, .L22+24
	bl	puts
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-45]
	ldrb	r3, [fp, #-45]	@ zero_extendqisi2
	sub	r3, r3, #97
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L8:
	mov	r2, #0
	ldr	r3, .L22+28
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	b	.L9
.L7:
	mov	r2, #0
	ldr	r3, .L22+32
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	b	.L9
.L6:
	mov	r2, #0
	ldr	r3, .L22+36
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	b	.L9
.L5:
	mov	r2, #0
	ldr	r3, .L22+40
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	b	.L9
.L3:
	mov	r3, #0
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	b	.L20
.L2:
	ldr	r0, .L22+44
	bl	puts
	b	.L11
.L9:
	ldr	r0, .L22+48
	bl	printf
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L22+52
	bl	__isoc99_scanf
	b	.L12
.L13:
	nop
.L12:
	bl	getchar
	mov	r3, r0
	cmp	r3, #10
	bne	.L13
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r2, .L22+56
	ldr	r3, .L22+60
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L16
.L21:
	ldr	r2, .L22+56
	ldr	r3, .L22+60
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L22+64
	ldr	r3, .L22+68
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
.L16:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L22+72
	bl	printf
.L11:
	b	.L17
.L20:
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC10
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	1087467136
	.word	1087854336
	.word	1088228736
	.word	1087180160
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	858993459
	.word	1069757235
	.word	515396076
	.word	1070721925
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
