	.file	"49110.c"
	.intel_syntax noprefix
	.text
	.globl	d
	.bss
	.align 32
	.type	d, @object
	.size	d, 3628
d:
	.zero	3628
	.section	.rodata
.LC0:
	.string	"cls"
.LC1:
	.string	"\nDirector %d name:"
.LC2:
	.string	"\nDirector %d Number Movies:"
.LC3:
	.string	"%d"
.LC4:
	.string	"\nMovie %d Name:"
.LC5:
	.string	"\nMovie %d Year:"
.LC6:
	.string	"\nMovie %d Duration:"
.LC7:
	.string	"\nSearch director by name:"
.LC8:
	.string	"\nDirector:%s"
.LC9:
	.string	"\nMovie:%s"
.LC10:
	.string	"Year:%d"
.LC11:
	.string	"\nDuration:%s"
.LC12:
	.string	"\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
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	system@PLT
	mov	DWORD PTR -40[rbp], 0
	jmp	.L2
.L5:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 3628
	lea	rcx, d[rip]
	add	rcx, rdx
	mov	rdx, rax
	mov	esi, 21
	mov	rdi, rcx
	call	fgets@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	imul	rax, rax, 3628
	lea	rdx, 16[rax]
	lea	rax, d[rip]
	add	rax, rdx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L3
.L4:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	add	rax, rcx
	sal	rax, 2
	mov	ecx, DWORD PTR -40[rbp]
	movsx	rcx, ecx
	imul	rcx, rcx, 3628
	add	rax, rcx
	lea	rcx, 16[rax]
	lea	rax, d[rip]
	add	rax, rcx
	add	rax, 12
	mov	esi, 21
	mov	rdi, rax
	call	fgets@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 3628
	add	rax, rdx
	lea	rdx, 32[rax]
	lea	rax, d[rip]
	add	rax, rdx
	add	rax, 20
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	add	rax, rcx
	sal	rax, 2
	mov	ecx, DWORD PTR -40[rbp]
	movsx	rcx, ecx
	imul	rcx, rcx, 3628
	add	rax, rcx
	lea	rcx, 32[rax]
	lea	rax, d[rip]
	add	rax, rcx
	add	rax, 24
	mov	esi, 6
	mov	rdi, rax
	call	fgets@PLT
	add	DWORD PTR -36[rbp], 1
.L3:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	imul	rax, rax, 3628
	lea	rdx, d[rip+24]
	mov	eax, DWORD PTR [rax+rdx]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L4
	add	DWORD PTR -40[rbp], 1
.L2:
	cmp	DWORD PTR -40[rbp], 0
	jle	.L5
.L11:
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -32[rbp]
	mov	esi, 21
	mov	rdi, rax
	call	fgets@PLT
	mov	DWORD PTR -40[rbp], 0
	jmp	.L6
.L10:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	imul	rax, rax, 3628
	lea	rdx, d[rip]
	add	rdx, rax
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	imul	rax, rax, 3628
	lea	rdx, d[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 3628
	add	rax, rdx
	lea	rdx, 16[rax]
	lea	rax, d[rip]
	add	rax, rdx
	add	rax, 12
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -40[rbp]
	movsx	rcx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	imul	rdx, rcx, 3628
	add	rdx, rax
	lea	rax, d[rip+52]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 3628
	add	rax, rdx
	lea	rdx, 32[rax]
	lea	rax, d[rip]
	add	rax, rdx
	add	rax, 24
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -36[rbp], 1
.L8:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	imul	rax, rax, 3628
	lea	rdx, d[rip+24]
	mov	eax, DWORD PTR [rax+rdx]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L9
.L7:
	add	DWORD PTR -40[rbp], 1
.L6:
	cmp	DWORD PTR -40[rbp], 0
	jle	.L10
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 1
	ja	.L11
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	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	"49110.c"
	.text
	.comm	d,3628,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"cls\000"
	.align	2
.LC1:
	.ascii	"\012Director %d name:\000"
	.align	2
.LC2:
	.ascii	"\012Director %d Number Movies:\000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"\012Movie %d Name:\000"
	.align	2
.LC5:
	.ascii	"\012Movie %d Year:\000"
	.align	2
.LC6:
	.ascii	"\012Movie %d Duration:\000"
	.align	2
.LC7:
	.ascii	"\012Search director by name:\000"
	.align	2
.LC8:
	.ascii	"\012Director:%s\000"
	.align	2
.LC9:
	.ascii	"\012Movie:%s\000"
	.align	2
.LC10:
	.ascii	"Year:%d\000"
	.align	2
.LC11:
	.ascii	"\012Duration:%s\000"
	.align	2
.LC12:
	.ascii	"\012\000"
	.align	2
.LC13:
	.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	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L14+4
	bl	system
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L2
.L5:
	ldr	r3, .L14+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r1, [fp, #-40]
	ldr	r0, .L14+12
	bl	printf
	ldr	r3, [fp, #-40]
	ldr	r2, .L14+16
	mul	r3, r2, r3
	ldr	r2, .L14+20
	add	r3, r3, r2
	ldr	r2, .L14+8
	ldr	r2, [r2]
	mov	r1, #21
	mov	r0, r3
	bl	fgets
	ldr	r3, .L14+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r1, [fp, #-40]
	ldr	r0, .L14+24
	bl	printf
	ldr	r3, [fp, #-40]
	ldr	r2, .L14+16
	mul	r3, r2, r3
	add	r3, r3, #24
	ldr	r2, .L14+20
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L14+28
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L3
.L4:
	ldr	r3, .L14+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r1, [fp, #-36]
	ldr	r0, .L14+32
	bl	printf
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	ldr	r1, .L14+16
	mul	r2, r1, r2
	add	r3, r3, r2
	add	r3, r3, #24
	ldr	r2, .L14+20
	add	r3, r3, r2
	add	r3, r3, #4
	ldr	r2, .L14+8
	ldr	r2, [r2]
	mov	r1, #21
	mov	r0, r3
	bl	fgets
	ldr	r3, .L14+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r1, [fp, #-36]
	ldr	r0, .L14+36
	bl	printf
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	ldr	r1, .L14+16
	mul	r2, r1, r2
	add	r3, r3, r2
	add	r3, r3, #48
	ldr	r2, .L14+20
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L14+28
	bl	__isoc99_scanf
	ldr	r3, .L14+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r1, [fp, #-36]
	ldr	r0, .L14+40
	bl	printf
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	ldr	r1, .L14+16
	mul	r2, r1, r2
	add	r3, r3, r2
	add	r3, r3, #48
	ldr	r2, .L14+20
	add	r3, r3, r2
	add	r3, r3, #8
	ldr	r2, .L14+8
	ldr	r2, [r2]
	mov	r1, #6
	mov	r0, r3
	bl	fgets
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L3:
	ldr	r2, .L14+20
	ldr	r3, [fp, #-40]
	ldr	r1, .L14+16
	mul	r3, r1, r3
	add	r3, r2, r3
	add	r3, r3, #24
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L4
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L2:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	ble	.L5
.L11:
	ldr	r0, .L14+44
	bl	printf
	ldr	r3, .L14+8
	ldr	r2, [r3]
	sub	r3, fp, #32
	mov	r1, #21
	mov	r0, r3
	bl	fgets
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L6
.L10:
	ldr	r3, [fp, #-40]
	ldr	r2, .L14+16
	mul	r3, r2, r3
	ldr	r2, .L14+20
	add	r2, r3, r2
	sub	r3, fp, #32
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-40]
	ldr	r2, .L14+16
	mul	r3, r2, r3
	ldr	r2, .L14+20
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L14+48
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L8
.L9:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	ldr	r1, .L14+16
	mul	r2, r1, r2
	add	r3, r3, r2
	add	r3, r3, #24
	ldr	r2, .L14+20
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L14+52
	bl	printf
	ldr	r0, .L14+20
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L14+16
	mul	r2, r1, r2
	add	r3, r3, r2
	add	r3, r0, r3
	add	r3, r3, #52
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L14+56
	bl	printf
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	ldr	r1, .L14+16
	mul	r2, r1, r2
	add	r3, r3, r2
	add	r3, r3, #48
	ldr	r2, .L14+20
	add	r3, r3, r2
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L14+60
	bl	printf
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L8:
	ldr	r2, .L14+20
	ldr	r3, [fp, #-40]
	ldr	r1, .L14+16
	mul	r3, r1, r3
	add	r3, r2, r3
	add	r3, r3, #24
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L9
.L7:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L6:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	ble	.L10
	sub	r3, fp, #32
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #1
	bhi	.L11
	ldr	r0, .L14+64
	bl	puts
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC13
	.word	.LC0
	.word	stdin
	.word	.LC1
	.word	3628
	.word	d
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
