	.file	"214900.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"myfifo"
	.align 8
.LC1:
	.string	"Client: Name asked for roll number: %d"
.LC2:
	.string	"r"
.LC3:
	.string	"Studentdetails.txt"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 448
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -432[rbp], rax
	mov	rax, QWORD PTR -432[rbp]
	mov	esi, 438
	mov	rdi, rax
	call	mkfifo@PLT
.L6:
	mov	rax, QWORD PTR -432[rbp]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -436[rbp], eax
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -384[rbp]
	mov	esi, 100
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -384[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, 1[rax]
	lea	rcx, -384[rbp]
	mov	eax, DWORD PTR -436[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -436[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -432[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -436[rbp], eax
	lea	rcx, -444[rbp]
	mov	eax, DWORD PTR -436[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	eax, DWORD PTR -444[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -436[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	fopen@PLT
	mov	QWORD PTR -424[rbp], rax
	mov	DWORD PTR -440[rbp], 0
	jmp	.L2
.L4:
	add	DWORD PTR -440[rbp], 1
	mov	eax, DWORD PTR -444[rbp]
	cmp	DWORD PTR -440[rbp], eax
	jne	.L2
	mov	rax, QWORD PTR -432[rbp]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -436[rbp], eax
	lea	rcx, -272[rbp]
	mov	eax, DWORD PTR -436[rbp]
	mov	edx, 256
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -436[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L3
.L2:
	mov	rdx, QWORD PTR -424[rbp]
	lea	rax, -272[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L4
.L3:
	movabs	rax, 7887331407946346322
	movabs	rdx, 2338616625293583714
	mov	QWORD PTR -416[rbp], rax
	mov	QWORD PTR -408[rbp], rdx
	mov	DWORD PTR -400[rbp], 1853189990
	mov	WORD PTR -396[rbp], 100
	mov	eax, DWORD PTR -444[rbp]
	cmp	DWORD PTR -440[rbp], eax
	je	.L6
	mov	rax, QWORD PTR -432[rbp]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -436[rbp], eax
	lea	rcx, -416[rbp]
	mov	eax, DWORD PTR -436[rbp]
	mov	edx, 22
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -436[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L6
	.cfi_endproc
.LFE6:
	.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	"214900.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"myfifo\000"
	.align	2
.LC1:
	.ascii	"Client: Name asked for roll number: %d\000"
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"Studentdetails.txt\000"
	.align	2
.LC4:
	.ascii	"Roll number not found\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 408
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #408
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L8+4
	str	r3, [fp, #-400]
	ldr	r1, .L8+8
	ldr	r0, [fp, #-400]
	bl	mkfifo
.L6:
	mov	r1, #1
	ldr	r0, [fp, #-400]
	bl	open
	str	r0, [fp, #-396]
	ldr	r3, .L8+12
	ldr	r2, [r3]
	sub	r3, fp, #364
	mov	r1, #100
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #364
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r2, r3, #1
	sub	r3, fp, #364
	mov	r1, r3
	ldr	r0, [fp, #-396]
	bl	write
	ldr	r0, [fp, #-396]
	bl	close
	mov	r1, #0
	ldr	r0, [fp, #-400]
	bl	open
	str	r0, [fp, #-396]
	sub	r3, fp, #408
	mov	r2, #4
	mov	r1, r3
	ldr	r0, [fp, #-396]
	bl	read
	ldr	r3, [fp, #-408]
	mov	r1, r3
	ldr	r0, .L8+16
	bl	printf
	ldr	r0, [fp, #-396]
	bl	close
	ldr	r1, .L8+20
	ldr	r0, .L8+24
	bl	fopen
	str	r0, [fp, #-392]
	mov	r3, #0
	str	r3, [fp, #-404]
	b	.L2
.L4:
	ldr	r3, [fp, #-404]
	add	r3, r3, #1
	str	r3, [fp, #-404]
	ldr	r3, [fp, #-408]
	ldr	r2, [fp, #-404]
	cmp	r2, r3
	bne	.L2
	mov	r1, #1
	ldr	r0, [fp, #-400]
	bl	open
	str	r0, [fp, #-396]
	sub	r3, fp, #264
	mov	r2, #256
	mov	r1, r3
	ldr	r0, [fp, #-396]
	bl	write
	ldr	r0, [fp, #-396]
	bl	close
	b	.L3
.L2:
	sub	r3, fp, #264
	ldr	r2, [fp, #-392]
	mov	r1, #256
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
.L3:
	ldr	r3, .L8+28
	sub	ip, fp, #388
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	str	r0, [ip]
	add	ip, ip, #4
	strh	r1, [ip]	@ movhi
	ldr	r3, [fp, #-408]
	ldr	r2, [fp, #-404]
	cmp	r2, r3
	beq	.L6
	mov	r1, #1
	ldr	r0, [fp, #-400]
	bl	open
	str	r0, [fp, #-396]
	sub	r3, fp, #388
	mov	r2, #22
	mov	r1, r3
	ldr	r0, [fp, #-396]
	bl	write
	ldr	r0, [fp, #-396]
	bl	close
	b	.L6
.L9:
	.align	2
.L8:
	.word	.LC5
	.word	.LC0
	.word	438
	.word	stdin
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
