	.file	"62970.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d-%d %c: %s"
	.text
	.globl	part1
	.type	part1, @function
part1:
.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	QWORD PTR -88[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -56[rbp], 0
	jmp	.L2
.L6:
	mov	DWORD PTR -60[rbp], 0
	mov	DWORD PTR -52[rbp], 0
	jmp	.L3
.L5:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	movzx	edx, BYTE PTR -48[rbp+rax]
	movzx	eax, BYTE PTR -69[rbp]
	cmp	dl, al
	jne	.L4
	add	DWORD PTR -60[rbp], 1
.L4:
	add	DWORD PTR -52[rbp], 1
.L3:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	movzx	eax, BYTE PTR -48[rbp+rax]
	test	al, al
	jne	.L5
	mov	eax, DWORD PTR -68[rbp]
	cmp	DWORD PTR -60[rbp], eax
	jl	.L2
	mov	eax, DWORD PTR -64[rbp]
	cmp	DWORD PTR -60[rbp], eax
	jg	.L2
	add	DWORD PTR -56[rbp], 1
.L2:
	lea	rdi, -48[rbp]
	lea	rsi, -69[rbp]
	lea	rcx, -64[rbp]
	lea	rdx, -68[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	test	eax, eax
	jg	.L6
	mov	eax, DWORD PTR -56[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	part1, .-part1
	.globl	part2
	.type	part2, @function
part2:
.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, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -52[rbp], 0
	jmp	.L10
.L13:
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1
	cdqe
	movzx	edx, BYTE PTR -48[rbp+rax]
	movzx	eax, BYTE PTR -61[rbp]
	cmp	dl, al
	jne	.L11
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	cdqe
	movzx	edx, BYTE PTR -48[rbp+rax]
	movzx	eax, BYTE PTR -61[rbp]
	cmp	dl, al
	jne	.L12
.L11:
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	cdqe
	movzx	edx, BYTE PTR -48[rbp+rax]
	movzx	eax, BYTE PTR -61[rbp]
	cmp	dl, al
	jne	.L10
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1
	cdqe
	movzx	edx, BYTE PTR -48[rbp+rax]
	movzx	eax, BYTE PTR -61[rbp]
	cmp	dl, al
	je	.L10
.L12:
	add	DWORD PTR -52[rbp], 1
.L10:
	lea	rdi, -48[rbp]
	lea	rsi, -61[rbp]
	lea	rcx, -56[rbp]
	lea	rdx, -60[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	test	eax, eax
	jg	.L13
	mov	eax, DWORD PTR -52[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	part2, .-part2
	.section	.rodata
.LC1:
	.string	"r"
.LC2:
	.string	"input.txt"
.LC3:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L17
	mov	eax, 1
	jmp	.L18
.L17:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	part1
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	rewind@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	part2
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"62970.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d-%d %c: %s\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	part1
	.syntax unified
	.arm
	.fpu softvfp
	.type	part1, %function
part1:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-72]
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L2
.L6:
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L3
.L5:
	sub	r2, fp, #40
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-61]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L4
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L4:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L3:
	sub	r2, fp, #40
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	blt	.L2
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	bgt	.L2
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L2:
	sub	r1, fp, #56
	sub	r2, fp, #60
	sub	r3, fp, #40
	str	r3, [sp, #4]
	sub	r3, fp, #61
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L9+4
	ldr	r0, [fp, #-72]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #0
	bgt	.L6
	ldr	r3, [fp, #-48]
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC1
	.word	.LC0
	.size	part1, .-part1
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	part2
	.syntax unified
	.arm
	.fpu softvfp
	.type	part2, %function
part2:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-64]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L12
.L15:
	ldr	r3, [fp, #-52]
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r2, [r3, #-36]	@ zero_extendqisi2
	ldrb	r3, [fp, #-53]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L13
	ldr	r3, [fp, #-48]
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r2, [r3, #-36]	@ zero_extendqisi2
	ldrb	r3, [fp, #-53]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L14
.L13:
	ldr	r3, [fp, #-48]
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r2, [r3, #-36]	@ zero_extendqisi2
	ldrb	r3, [fp, #-53]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L12
	ldr	r3, [fp, #-52]
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r2, [r3, #-36]	@ zero_extendqisi2
	ldrb	r3, [fp, #-53]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L12
.L14:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L12:
	sub	r1, fp, #48
	sub	r2, fp, #52
	sub	r3, fp, #40
	str	r3, [sp, #4]
	sub	r3, fp, #53
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L18+4
	ldr	r0, [fp, #-64]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #0
	bgt	.L15
	ldr	r3, [fp, #-44]
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC2
	.word	.LC0
	.size	part2, .-part2
	.section	.rodata
	.align	2
.LC3:
	.ascii	"r\000"
	.align	2
.LC4:
	.ascii	"input.txt\000"
	.align	2
.LC5:
	.ascii	"%d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r1, .L23
	ldr	r0, .L23+4
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L21
	mov	r3, #1
	b	.L22
.L21:
	ldr	r0, [fp, #-8]
	bl	part1
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L23+8
	bl	printf
	ldr	r0, [fp, #-8]
	bl	rewind
	ldr	r0, [fp, #-8]
	bl	part2
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L23+8
	bl	printf
	ldr	r0, [fp, #-8]
	bl	fclose
	mov	r3, #0
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
