	.file	"116263.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC1:
	.string	"Input Employee's Category (A/B/C/D/E): "
.LC2:
	.string	"%c"
.LC3:
	.string	"Input basic salary: "
.LC4:
	.string	"%f"
.LC9:
	.string	"Input OT hours for week %d : "
.LC10:
	.string	"%d"
	.align 8
.LC11:
	.string	"OT hours cannot exceed 20 per week"
.LC12:
	.string	"Total Salary: %.2f\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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -25[rbp], 69
	pxor	xmm0, xmm0
	movss	DWORD PTR -24[rbp], xmm0
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -25[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -25[rbp]
	movsx	eax, al
	cmp	eax, 68
	je	.L2
	cmp	eax, 68
	jg	.L3
	cmp	eax, 67
	je	.L4
	cmp	eax, 67
	jg	.L3
	cmp	eax, 65
	je	.L5
	cmp	eax, 66
	je	.L6
	jmp	.L3
.L5:
	movss	xmm0, DWORD PTR -24[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC5[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -24[rbp], xmm0
	jmp	.L3
.L6:
	movss	xmm0, DWORD PTR -24[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC6[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -24[rbp], xmm0
	jmp	.L3
.L4:
	movss	xmm0, DWORD PTR -24[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC7[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -24[rbp], xmm0
	jmp	.L3
.L2:
	movss	xmm0, DWORD PTR -24[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC8[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -24[rbp], xmm0
	nop
.L3:
	mov	DWORD PTR -12[rbp], 1
	jmp	.L7
.L13:
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 20
	jle	.L8
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 5
	jg	.L9
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, eax, 200
	mov	DWORD PTR -16[rbp], eax
	jmp	.L10
.L9:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 10
	jg	.L11
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, eax, 300
	mov	DWORD PTR -16[rbp], eax
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 15
	jg	.L12
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, eax, 400
	mov	DWORD PTR -16[rbp], eax
	jmp	.L10
.L12:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 20
	jg	.L10
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, eax, 500
	mov	DWORD PTR -16[rbp], eax
.L10:
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR -24[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -24[rbp], xmm0
	add	DWORD PTR -12[rbp], 1
.L7:
	cmp	DWORD PTR -12[rbp], 4
	jle	.L13
	movss	xmm0, DWORD PTR -24[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC12[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC5:
	.long	515396076
	.long	1072819077
	.align 8
.LC6:
	.long	-1717986918
	.long	1072798105
	.align 8
.LC7:
	.long	-1889785610
	.long	1072756162
	.align 8
.LC8:
	.long	1202590843
	.long	1072724705
	.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	"116263.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Input Employee's Category (A/B/C/D/E): \000"
	.align	2
.LC1:
	.ascii	"%c\000"
	.align	2
.LC2:
	.ascii	"Input basic salary: \000"
	.align	2
.LC3:
	.ascii	"%f\000"
	.global	__aeabi_f2d
	.global	__aeabi_dmul
	.global	__aeabi_d2f
	.align	2
.LC4:
	.ascii	"Input OT hours for week %d : \000"
	.align	2
.LC5:
	.ascii	"%d\000"
	.align	2
.LC6:
	.ascii	"OT hours cannot exceed 20 per week\000"
	.global	__aeabi_i2f
	.global	__aeabi_fadd
	.align	2
.LC7:
	.ascii	"Total Salary: %.2f\012\000"
	.align	2
.LC8:
	.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	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #69
	strb	r3, [fp, #-25]
	mov	r3, #0
	str	r3, [fp, #-24]	@ float
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r0, .L17+4
	bl	printf
	sub	r3, fp, #25
	mov	r1, r3
	ldr	r0, .L17+8
	bl	__isoc99_scanf
	ldr	r0, .L17+12
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L17+16
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	sub	r3, r3, #65
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L7:
	ldr	r3, [fp, #-24]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L17+20
	ldr	r3, .L17+24
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	b	.L2
.L6:
	ldr	r3, [fp, #-24]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L17+28
	ldr	r3, .L17+32
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	b	.L2
.L5:
	ldr	r3, [fp, #-24]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L17+36
	ldr	r3, .L17+40
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	b	.L2
.L3:
	ldr	r3, [fp, #-24]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L17+44
	ldr	r3, .L17+48
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	nop
.L2:
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L8
.L14:
	ldr	r1, [fp, #-12]
	ldr	r0, .L17+52
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L17+56
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]
	cmp	r3, #20
	ble	.L9
	ldr	r0, .L17+60
	bl	puts
	b	.L8
.L9:
	ldr	r3, [fp, #-20]
	cmp	r3, #5
	bgt	.L10
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	str	r3, [fp, #-16]
	b	.L11
.L10:
	ldr	r3, [fp, #-20]
	cmp	r3, #10
	bgt	.L12
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	str	r2, [fp, #-16]
	b	.L11
.L12:
	ldr	r3, [fp, #-20]
	cmp	r3, #15
	bgt	.L13
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	str	r3, [fp, #-16]
	b	.L11
.L13:
	ldr	r3, [fp, #-20]
	cmp	r3, #20
	bgt	.L11
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	str	r3, [fp, #-16]
.L11:
	ldr	r0, [fp, #-16]
	bl	__aeabi_i2f
	mov	r2, r0
	ldr	r3, [fp, #-24]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L8:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	ble	.L14
	ldr	r3, [fp, #-24]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L17+64
	bl	printf
	mov	r3, #0
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	515396076
	.word	1072819077
	.word	-1717986918
	.word	1072798105
	.word	-1889785610
	.word	1072756162
	.word	1202590843
	.word	1072724705
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
