	.file	"225587.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"\nEnter emp #%d detail\n"
.LC1:
	.string	"Name: "
.LC2:
	.string	"%s"
.LC3:
	.string	"Post: "
.LC4:
	.string	"Salary: "
.LC5:
	.string	"%f"
.LC6:
	.string	"\nHighest Earner Detail"
	.align 8
.LC7:
	.string	"Name: %s\nPost: %s\nSalary: %.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
	push	rbx
	sub	rsp, 200
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -200[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -200[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -144[rbp]
	mov	eax, DWORD PTR -200[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	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	rcx, -144[rbp]
	mov	eax, DWORD PTR -200[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, 16
	add	rax, rcx
	add	rax, 14
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -144[rbp]
	mov	eax, DWORD PTR -200[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, 32
	add	rax, rcx
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -200[rbp], 1
.L2:
	cmp	DWORD PTR -200[rbp], 2
	jle	.L3
	mov	DWORD PTR -196[rbp], 0
	mov	eax, DWORD PTR -196[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rax, -16[rax]
	add	rax, rbp
	add	rax, -128
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR -192[rbp], rcx
	mov	QWORD PTR -184[rbp], rbx
	mov	rcx, QWORD PTR 16[rax]
	mov	rbx, QWORD PTR 24[rax]
	mov	QWORD PTR -176[rbp], rcx
	mov	QWORD PTR -168[rbp], rbx
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -160[rbp], rax
	mov	DWORD PTR -200[rbp], 1
	jmp	.L4
.L7:
	mov	eax, DWORD PTR -200[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 92
	movss	xmm0, DWORD PTR [rax]
	movss	xmm1, DWORD PTR -156[rbp]
	comiss	xmm0, xmm1
	jbe	.L5
	mov	eax, DWORD PTR -200[rbp]
	mov	DWORD PTR -196[rbp], eax
	mov	eax, DWORD PTR -196[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rax, -16[rax]
	add	rax, rbp
	add	rax, -128
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR -192[rbp], rcx
	mov	QWORD PTR -184[rbp], rbx
	mov	rcx, QWORD PTR 16[rax]
	mov	rbx, QWORD PTR 24[rax]
	mov	QWORD PTR -176[rbp], rcx
	mov	QWORD PTR -168[rbp], rbx
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -160[rbp], rax
.L5:
	add	DWORD PTR -200[rbp], 1
.L4:
	cmp	DWORD PTR -200[rbp], 2
	jle	.L7
	lea	rdi, .LC6[rip]
	call	puts@PLT
	movss	xmm0, DWORD PTR -156[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rdx, xmm2
	lea	rax, -192[rbp]
	lea	rcx, 30[rax]
	lea	rax, -192[rbp]
	movq	xmm0, rdx
	mov	rdx, rcx
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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	"225587.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Enter emp #%d detail\012\000"
	.align	2
.LC1:
	.ascii	"Name: \000"
	.align	2
.LC2:
	.ascii	"%s\000"
	.align	2
.LC3:
	.ascii	"Post: \000"
	.align	2
.LC4:
	.ascii	"Salary: \000"
	.align	2
.LC5:
	.ascii	"%f\000"
	.global	__aeabi_fcmpgt
	.align	2
.LC6:
	.ascii	"\012Highest Earner Detail\000"
	.global	__aeabi_f2d
	.align	2
.LC7:
	.ascii	"Name: %s\012Post: %s\012Salary: %.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 = 176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #184
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-176]
	b	.L2
.L3:
	ldr	r3, [fp, #-176]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L11+4
	bl	printf
	ldr	r0, .L11+8
	bl	printf
	sub	r1, fp, #128
	ldr	r2, [fp, #-176]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L11+12
	bl	__isoc99_scanf
	ldr	r0, .L11+16
	bl	printf
	sub	r1, fp, #128
	ldr	r2, [fp, #-176]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #24
	add	r3, r1, r3
	add	r3, r3, #6
	mov	r1, r3
	ldr	r0, .L11+12
	bl	__isoc99_scanf
	ldr	r0, .L11+20
	bl	printf
	sub	r1, fp, #128
	ldr	r2, [fp, #-176]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #32
	add	r3, r1, r3
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L11+24
	bl	__isoc99_scanf
	ldr	r3, [fp, #-176]
	add	r3, r3, #1
	str	r3, [fp, #-176]
.L2:
	ldr	r3, [fp, #-176]
	cmp	r3, #2
	ble	.L3
	mov	r3, #0
	str	r3, [fp, #-172]
	ldr	r2, [fp, #-172]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #124
	sub	ip, fp, #168
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	mov	r3, #1
	str	r3, [fp, #-176]
	b	.L4
.L7:
	ldr	r2, [fp, #-176]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #88
	ldr	r3, [r3]	@ float
	ldr	r2, [fp, #-132]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-176]
	str	r3, [fp, #-172]
	ldr	r2, [fp, #-172]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #124
	sub	ip, fp, #168
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
.L5:
	ldr	r3, [fp, #-176]
	add	r3, r3, #1
	str	r3, [fp, #-176]
.L4:
	ldr	r3, [fp, #-176]
	cmp	r3, #2
	ble	.L7
	ldr	r0, .L11+28
	bl	puts
	ldr	r3, [fp, #-132]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #168
	add	r0, r1, #30
	sub	r1, fp, #168
	stm	sp, {r2-r3}
	mov	r2, r0
	ldr	r0, .L11+32
	bl	printf
	mov	r3, #0
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.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
