	.file	"32098.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"****************************************************************"
	.align 8
.LC1:
	.string	"Enter the number corresponding to the desired pay rate or acton:"
	.align 8
.LC2:
	.string	"1) $8.75/hr                     2) $9.33/hr"
	.align 8
.LC3:
	.string	"3) $10.75/hr                    4) $11.20/hr"
.LC4:
	.string	"5) quit"
.LC5:
	.string	"Chose a number: "
	.align 8
.LC6:
	.string	"The number should between 1 and 5"
.LC11:
	.string	"Your pay rate is: $%.2f.\n"
.LC12:
	.string	"Enter work time of a week: "
.LC13:
	.string	"%d"
	.align 8
.LC23:
	.string	"Total wage is $%.2f, taxes is $%.2f, pure wage is $%.2f.\n"
.LC24:
	.string	"Your quit!"
	.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	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, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L2
.L23:
	mov	eax, DWORD PTR -24[rbp]
	test	eax, eax
	jle	.L3
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 5
	jle	.L4
.L3:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L2
.L4:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 4
	je	.L5
	cmp	eax, 4
	jg	.L6
	cmp	eax, 3
	je	.L7
	cmp	eax, 3
	jg	.L6
	cmp	eax, 1
	je	.L8
	cmp	eax, 2
	je	.L9
	jmp	.L6
.L8:
	movss	xmm0, DWORD PTR .LC7[rip]
	movss	DWORD PTR -12[rbp], xmm0
	jmp	.L6
.L9:
	movss	xmm0, DWORD PTR .LC8[rip]
	movss	DWORD PTR -12[rbp], xmm0
	jmp	.L6
.L7:
	movss	xmm0, DWORD PTR .LC9[rip]
	movss	DWORD PTR -12[rbp], xmm0
	jmp	.L6
.L5:
	movss	xmm0, DWORD PTR .LC10[rip]
	movss	DWORD PTR -12[rbp], xmm0
	nop
.L6:
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -12[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 40
	ja	.L10
	mov	eax, DWORD PTR -28[rbp]
	mov	eax, eax
	test	rax, rax
	js	.L11
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	jmp	.L12
.L11:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	addss	xmm0, xmm0
.L12:
	movss	xmm1, DWORD PTR -12[rbp]
	mulss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
	jmp	.L13
.L10:
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 40
	mov	eax, eax
	test	rax, rax
	js	.L14
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	jmp	.L15
.L14:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	addss	xmm0, xmm0
.L15:
	movss	xmm1, DWORD PTR .LC14[rip]
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC15[rip]
	addss	xmm0, xmm1
	movss	xmm1, DWORD PTR -12[rbp]
	mulss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
.L13:
	movss	xmm0, DWORD PTR .LC16[rip]
	comiss	xmm0, DWORD PTR -20[rbp]
	jb	.L29
	movss	xmm0, DWORD PTR .LC17[rip]
	movss	DWORD PTR -16[rbp], xmm0
	jmp	.L18
.L29:
	movss	xmm0, DWORD PTR -20[rbp]
	comiss	xmm0, DWORD PTR .LC16[rip]
	jbe	.L19
	movss	xmm0, DWORD PTR .LC18[rip]
	comiss	xmm0, DWORD PTR -20[rbp]
	jb	.L19
	movss	xmm0, DWORD PTR -20[rbp]
	movss	xmm2, DWORD PTR .LC16[rip]
	movaps	xmm1, xmm0
	subss	xmm1, xmm2
	movss	xmm0, DWORD PTR .LC19[rip]
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC17[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -16[rbp], xmm0
	jmp	.L18
.L19:
	movss	xmm0, DWORD PTR -20[rbp]
	movss	xmm1, DWORD PTR .LC16[rip]
	subss	xmm0, xmm1
	movss	xmm2, DWORD PTR .LC20[rip]
	movaps	xmm1, xmm0
	subss	xmm1, xmm2
	movss	xmm0, DWORD PTR .LC21[rip]
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC22[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -16[rbp], xmm0
.L18:
	movss	xmm0, DWORD PTR -20[rbp]
	subss	xmm0, DWORD PTR -16[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -16[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, DWORD PTR -20[rbp]
	movq	rax, xmm4
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC23[rip]
	mov	eax, 3
	call	printf@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	test	eax, eax
	je	.L22
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 5
	jne	.L23
.L22:
	lea	rdi, .LC24[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC7:
	.long	1091305472
	.align 4
.LC8:
	.long	1091913646
	.align 4
.LC9:
	.long	1093402624
	.align 4
.LC10:
	.long	1093874483
	.align 4
.LC14:
	.long	1069547520
	.align 4
.LC15:
	.long	1109393408
	.align 4
.LC16:
	.long	1133903872
	.align 4
.LC17:
	.long	1110704128
	.align 4
.LC18:
	.long	1138819072
	.align 4
.LC19:
	.long	1045220557
	.align 4
.LC20:
	.long	1125515264
	.align 4
.LC21:
	.long	1048576000
	.align 4
.LC22:
	.long	1121058816
	.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	"32098.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"***************************************************"
	.ascii	"*************\000"
	.align	2
.LC1:
	.ascii	"Enter the number corresponding to the desired pay r"
	.ascii	"ate or acton:\000"
	.align	2
.LC2:
	.ascii	"1) $8.75/hr                     2) $9.33/hr\000"
	.align	2
.LC3:
	.ascii	"3) $10.75/hr                    4) $11.20/hr\000"
	.align	2
.LC4:
	.ascii	"5) quit\000"
	.align	2
.LC5:
	.ascii	"Chose a number: \000"
	.align	2
.LC6:
	.ascii	"The number should between 1 and 5\000"
	.global	__aeabi_f2d
	.align	2
.LC7:
	.ascii	"Your pay rate is: $%.2f.\012\000"
	.align	2
.LC8:
	.ascii	"Enter work time of a week: \000"
	.align	2
.LC9:
	.ascii	"%d\000"
	.global	__aeabi_ui2f
	.global	__aeabi_fmul
	.global	__aeabi_fadd
	.global	__aeabi_fcmple
	.global	__aeabi_fcmpgt
	.global	__aeabi_fsub
	.align	2
.LC10:
	.ascii	"Total wage is $%.2f, taxes is $%.2f, pure wage is $"
	.ascii	"%.2f.\012\000"
	.align	2
.LC11:
	.ascii	"Your quit!\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #40
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r0, .L27+4
	bl	puts
	ldr	r0, .L27+8
	bl	puts
	ldr	r0, .L27+12
	bl	puts
	ldr	r0, .L27+16
	bl	puts
	ldr	r0, .L27+20
	bl	puts
	ldr	r0, .L27+4
	bl	puts
	ldr	r0, .L27+24
	bl	printf
	b	.L2
.L20:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	ble	.L3
	ldr	r3, [fp, #-40]
	cmp	r3, #5
	ble	.L4
.L3:
	ldr	r0, .L27+28
	bl	puts
	ldr	r0, .L27+24
	bl	printf
	b	.L2
.L4:
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L5
.L7:
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L6
.L10:
	ldr	r3, .L27+32
	str	r3, [fp, #-28]	@ float
	b	.L5
.L9:
	ldr	r3, .L27+36
	str	r3, [fp, #-28]	@ float
	b	.L5
.L8:
	ldr	r3, .L27+40
	str	r3, [fp, #-28]	@ float
	b	.L5
.L6:
	ldr	r3, .L27+44
	str	r3, [fp, #-28]	@ float
	nop
.L5:
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L27+48
	bl	printf
	ldr	r0, .L27+52
	bl	printf
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L27+56
	bl	__isoc99_scanf
	ldr	r3, [fp, #-44]
	cmp	r3, #40
	bhi	.L11
	ldr	r3, [fp, #-44]
	mov	r0, r3
	bl	__aeabi_ui2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-36]	@ float
	b	.L12
.L11:
	ldr	r3, [fp, #-44]
	sub	r3, r3, #40
	mov	r0, r3
	bl	__aeabi_ui2f
	mov	r3, r0
	mov	r1, #1069547520
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, .L27+60
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-36]	@ float
.L12:
	ldr	r1, .L27+64
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
	ldr	r3, .L27+68
	str	r3, [fp, #-32]	@ float
	b	.L15
.L26:
	ldr	r1, .L27+64
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	ldr	r1, .L27+72
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	ldr	r1, .L27+64
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	ldr	r1, .L27+76
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, .L27+68
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-32]	@ float
	b	.L15
.L16:
	ldr	r1, .L27+64
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	ldr	r1, .L27+80
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, #1048576000
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, .L27+84
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-32]	@ float
.L15:
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r1, [fp, #-32]	@ float
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r6
	mov	r3, r7
	ldr	r0, .L27+88
	bl	printf
	ldr	r0, .L27+24
	bl	printf
.L2:
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L27+56
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	ldr	r3, [fp, #-40]
	cmp	r3, #5
	bne	.L20
.L19:
	ldr	r0, .L27+92
	bl	puts
	mov	r3, #0
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC12
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	1091305472
	.word	1091913646
	.word	1093402624
	.word	1093874483
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	1109393408
	.word	1133903872
	.word	1110704128
	.word	1138819072
	.word	1045220557
	.word	1125515264
	.word	1121058816
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
