	.file	"178979.c"
	.intel_syntax noprefix
	.text
	.globl	telNO
	.bss
	.align 32
	.type	telNO, @object
	.size	telNO, 40000000
telNO:
	.zero	40000000
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%03d-%04d %d\n"
.LC3:
	.string	"No duplicates."
	.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, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -88[rbp], 0
	mov	DWORD PTR -84[rbp], 0
	mov	DWORD PTR -68[rbp], 0
	mov	DWORD PTR -80[rbp], 10000001
	mov	DWORD PTR -76[rbp], -1
	mov	DWORD PTR -72[rbp], 1
	lea	rax, -88[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L2
.L4:
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	tel2no
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, telNO[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, telNO[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, DWORD PTR -80[rbp]
	jle	.L3
	mov	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR -80[rbp], eax
.L3:
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jge	.L2
	mov	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR -76[rbp], eax
.L2:
	mov	eax, DWORD PTR -88[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -88[rbp], edx
	test	eax, eax
	jne	.L4
	mov	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR -84[rbp], eax
	jmp	.L5
.L7:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, telNO[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	jle	.L6
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, telNO[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -84[rbp]
	movsx	rax, edx
	imul	rax, rax, 1759218605
	shr	rax, 32
	sar	eax, 12
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	imul	esi, eax, 10000
	mov	eax, edx
	sub	eax, esi
	mov	edx, DWORD PTR -84[rbp]
	movsx	rsi, edx
	imul	rsi, rsi, 1759218605
	shr	rsi, 32
	sar	esi, 12
	sar	edx, 31
	sub	esi, edx
	mov	edx, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -72[rbp], 0
.L6:
	add	DWORD PTR -84[rbp], 1
.L5:
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, DWORD PTR -80[rbp]
	jle	.L7
	cmp	DWORD PTR -72[rbp], 0
	je	.L8
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L8:
	mov	eax, 1
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	tel2no
	.type	tel2no, @function
tel2no:
.LFB7:
	.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	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 15029698755580009
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L12
.L17:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 64
	jle	.L13
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 79
	jg	.L13
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 65
	movsx	rdx, eax
	imul	rdx, rdx, 1431655766
	shr	rdx, 32
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	lea	ecx, 50[rax]
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -20[rbp], edx
	mov	edx, ecx
	cdqe
	mov	BYTE PTR -16[rbp+rax], dl
	jmp	.L14
.L13:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 79
	jle	.L15
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 89
	jg	.L15
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 81
	movsx	rdx, eax
	imul	rdx, rdx, 1431655766
	shr	rdx, 32
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	lea	ecx, 55[rax]
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -20[rbp], edx
	mov	edx, ecx
	cdqe
	mov	BYTE PTR -16[rbp+rax], dl
	jmp	.L14
.L15:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L14
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jg	.L14
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -20[rbp], edx
	mov	rdx, QWORD PTR -40[rbp]
	movzx	edx, BYTE PTR [rdx]
	cdqe
	mov	BYTE PTR -16[rbp+rax], dl
.L14:
	add	QWORD PTR -40[rbp], 1
.L12:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L16
	cmp	DWORD PTR -20[rbp], 6
	jle	.L17
.L16:
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	tel2no, .-tel2no
	.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	"178979.c"
	.text
	.global	telNO
	.bss
	.align	2
	.type	telNO, %object
	.size	telNO, 40000000
telNO:
	.space	40000000
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.align	2
.LC2:
	.ascii	"%03d-%04d %d\012\000"
	.align	2
.LC3:
	.ascii	"No duplicates.\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-84]
	mov	r3, #0
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-64]
	ldr	r3, .L11+4
	str	r3, [fp, #-76]
	mvn	r3, #0
	str	r3, [fp, #-72]
	mov	r3, #1
	str	r3, [fp, #-68]
	sub	r3, fp, #84
	mov	r1, r3
	ldr	r0, .L11+8
	bl	__isoc99_scanf
	b	.L2
.L4:
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L11+12
	bl	__isoc99_scanf
	sub	r3, fp, #60
	mov	r0, r3
	bl	tel2no
	str	r0, [fp, #-64]
	ldr	r2, .L11+16
	ldr	r3, [fp, #-64]
	ldr	r3, [r2, r3, lsl #2]
	add	r2, r3, #1
	ldr	r1, .L11+16
	ldr	r3, [fp, #-64]
	str	r2, [r1, r3, lsl #2]
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	ble	.L3
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-76]
.L3:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	bge	.L2
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-72]
.L2:
	ldr	r3, [fp, #-84]
	sub	r2, r3, #1
	str	r2, [fp, #-84]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-80]
	b	.L5
.L7:
	ldr	r2, .L11+16
	ldr	r3, [fp, #-80]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #1
	ble	.L6
	ldr	r3, [fp, #-80]
	ldr	r2, .L11+20
	smull	r1, r2, r3, r2
	asr	r2, r2, #12
	asr	r3, r3, #31
	sub	r0, r2, r3
	ldr	r1, [fp, #-80]
	ldr	r3, .L11+20
	smull	r2, r3, r1, r3
	asr	r2, r3, #12
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r2, r1, r3
	ldr	r1, .L11+16
	ldr	r3, [fp, #-80]
	ldr	r3, [r1, r3, lsl #2]
	mov	r1, r0
	ldr	r0, .L11+24
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-68]
.L6:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L5:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	ble	.L7
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	beq	.L8
	ldr	r0, .L11+28
	bl	printf
.L8:
	mov	r3, #1
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC4
	.word	10000001
	.word	.LC0
	.word	.LC1
	.word	telNO
	.word	1759218605
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.section	.rodata
	.align	2
.LC5:
	.ascii	"iPhone5\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	tel2no
	.syntax unified
	.arm
	.fpu softvfp
	.type	tel2no, %function
tel2no:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L22+4
	sub	r3, fp, #16
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L14
.L19:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L15
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #79
	bhi	.L15
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #65
	ldr	r2, .L22+8
	smull	r1, r2, r3, r2
	asr	r3, r3, #31
	sub	r3, r2, r3
	and	r2, r3, #255
	ldr	r3, [fp, #-20]
	add	r1, r3, #1
	str	r1, [fp, #-20]
	add	r2, r2, #50
	and	r2, r2, #255
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-12]
	b	.L16
.L15:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #79
	bls	.L17
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #89
	bhi	.L17
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #81
	ldr	r2, .L22+8
	smull	r1, r2, r3, r2
	asr	r3, r3, #31
	sub	r3, r2, r3
	and	r2, r3, #255
	ldr	r3, [fp, #-20]
	add	r1, r3, #1
	str	r1, [fp, #-20]
	add	r2, r2, #55
	and	r2, r2, #255
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-12]
	b	.L16
.L17:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L16
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L16
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	ldr	r2, [fp, #-24]
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-12]
.L16:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L14:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-20]
	cmp	r3, #6
	ble	.L19
.L18:
	sub	r3, fp, #16
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC6
	.word	.LC5
	.word	1431655766
	.size	tel2no, .-tel2no
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
