	.file	"826967.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"\350\257\267\350\276\223\345\205\245\344\270\200\344\270\252\345\255\227\347\254\246\344\270\262:"
.LC1:
	.string	"\346\234\200\351\225\277\347\232\204\345\215\225\350\257\215\346\230\257:"
	.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, 176
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -144[rbp]
	mov	QWORD PTR -152[rbp], rax
	mov	DWORD PTR -160[rbp], -1
	mov	eax, DWORD PTR -160[rbp]
	mov	DWORD PTR -164[rbp], eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR stdin[rip]
	mov	rax, QWORD PTR -152[rbp]
	mov	esi, 128
	mov	rdi, rax
	call	fgets@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdx, -160[rbp]
	lea	rcx, -164[rbp]
	mov	rax, QWORD PTR -152[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	longest
	mov	eax, DWORD PTR -164[rbp]
	mov	DWORD PTR -156[rbp], eax
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -156[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	add	DWORD PTR -156[rbp], 1
.L2:
	mov	edx, DWORD PTR -164[rbp]
	mov	eax, DWORD PTR -160[rbp]
	add	eax, edx
	cmp	DWORD PTR -156[rbp], eax
	jl	.L3
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	longest
	.type	longest, @function
longest:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -28[rbp], 1
	mov	DWORD PTR -20[rbp], 0
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -24[rbp], eax
	mov	DWORD PTR -8[rbp], 0
	jmp	.L7
.L11:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	alphabetic
	test	eax, eax
	je	.L8
	cmp	DWORD PTR -28[rbp], 0
	je	.L9
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	DWORD PTR -28[rbp], 0
	add	DWORD PTR -24[rbp], 1
	jmp	.L10
.L9:
	add	DWORD PTR -24[rbp], 1
	jmp	.L10
.L8:
	mov	DWORD PTR -28[rbp], 1
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L10
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -24[rbp], 0
.L10:
	add	DWORD PTR -8[rbp], 1
.L7:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L11
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -12[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	longest, .-longest
	.globl	alphabetic
	.type	alphabetic, @function
alphabetic:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	cmp	BYTE PTR -4[rbp], 64
	jle	.L14
	cmp	BYTE PTR -4[rbp], 90
	jle	.L15
.L14:
	cmp	BYTE PTR -4[rbp], 96
	jle	.L16
	cmp	BYTE PTR -4[rbp], 122
	jg	.L16
.L15:
	mov	eax, 1
	jmp	.L17
.L16:
	mov	eax, 0
.L17:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	alphabetic, .-alphabetic
	.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	"826967.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\350\257\267\350\276\223\345\205\245\344\270\200\344"
	.ascii	"\270\252\345\255\227\347\254\246\344\270\262:\000"
	.align	2
.LC1:
	.ascii	"\346\234\200\351\225\277\347\232\204\345\215\225\350"
	.ascii	"\257\215\346\230\257:\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #136
	str	r3, [fp, #-140]
	mvn	r3, #0
	str	r3, [fp, #-148]
	ldr	r3, [fp, #-148]
	str	r3, [fp, #-152]
	ldr	r0, .L6+4
	bl	puts
	ldr	r3, .L6+8
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #128
	ldr	r0, [fp, #-140]
	bl	fgets
	ldr	r0, .L6+12
	bl	puts
	sub	r2, fp, #148
	sub	r3, fp, #152
	mov	r1, r3
	ldr	r0, [fp, #-140]
	bl	longest
	ldr	r3, [fp, #-152]
	str	r3, [fp, #-144]
	b	.L2
.L3:
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-140]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
.L2:
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-148]
	add	r3, r2, r3
	ldr	r2, [fp, #-144]
	cmp	r2, r3
	blt	.L3
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC2
	.word	.LC0
	.word	stdin
	.word	.LC1
	.size	main, .-main
	.align	2
	.global	longest
	.syntax unified
	.arm
	.fpu softvfp
	.type	longest, %function
longest:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	ldr	r0, [fp, #-40]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r3, #1
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L9
.L13:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	alphabetic
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	b	.L12
.L11:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	b	.L12
.L10:
	mov	r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L12
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-28]
.L12:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L9:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L13
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	longest, .-longest
	.align	2
	.global	alphabetic
	.syntax unified
	.arm
	.fpu softvfp
	.type	alphabetic, %function
alphabetic:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L16
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #90
	bls	.L17
.L16:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L18
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #122
	bhi	.L18
.L17:
	mov	r3, #1
	b	.L19
.L18:
	mov	r3, #0
.L19:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	alphabetic, .-alphabetic
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
