	.file	"903773.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\345\207\272\347\216\260\346\254\241\346\225\260\346\234\200\345\244\232\347\232\204\345\255\227\347\254\246\346\230\257 :  %c\n"
	.text
	.globl	fun
	.type	fun, @function
fun:
.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, 144
	mov	QWORD PTR -136[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -124[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	mov	DWORD PTR -112[rbp+rax*4], 0
	add	DWORD PTR -124[rbp], 1
.L2:
	cmp	DWORD PTR -124[rbp], 25
	jle	.L3
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -116[rbp], eax
	mov	DWORD PTR -124[rbp], 0
	jmp	.L4
.L7:
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 96
	jle	.L5
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 122
	jg	.L5
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 97
	movsx	rdx, eax
	mov	edx, DWORD PTR -112[rbp+rdx*4]
	add	edx, 1
	cdqe
	mov	DWORD PTR -112[rbp+rax*4], edx
	jmp	.L6
.L5:
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 64
	jle	.L6
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 90
	jg	.L6
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 65
	movsx	rdx, eax
	mov	edx, DWORD PTR -112[rbp+rdx*4]
	add	edx, 1
	cdqe
	mov	DWORD PTR -112[rbp+rax*4], edx
.L6:
	add	DWORD PTR -124[rbp], 1
.L4:
	mov	eax, DWORD PTR -124[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jl	.L7
	mov	DWORD PTR -120[rbp], 0
	mov	DWORD PTR -124[rbp], 1
	jmp	.L8
.L10:
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	mov	edx, DWORD PTR -112[rbp+rax*4]
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	mov	eax, DWORD PTR -112[rbp+rax*4]
	cmp	edx, eax
	jge	.L9
	mov	eax, DWORD PTR -124[rbp]
	mov	DWORD PTR -120[rbp], eax
.L9:
	add	DWORD PTR -124[rbp], 1
.L8:
	cmp	DWORD PTR -124[rbp], 25
	jle	.L10
	mov	eax, DWORD PTR -120[rbp]
	add	eax, 97
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	fun, .-fun
	.section	.rodata
	.align 8
.LC1:
	.string	"\350\257\267\350\276\223\345\205\245\344\270\200\344\270\252\345\276\205\347\273\237\350\256\241\347\232\204\345\255\227\347\254\246\344\270\262 :   "
.LC2:
	.string	"%s"
.LC3:
	.string	"pause"
	.text
	.globl	main
	.type	main, @function
main:
.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, 208
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -208[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	fun
	lea	rdi, .LC3[rip]
	call	system@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"903773.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\345\207\272\347\216\260\346\254\241\346\225\260\346"
	.ascii	"\234\200\345\244\232\347\232\204\345\255\227\347\254"
	.ascii	"\246\346\230\257 :  %c\012\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	fun
	.syntax unified
	.arm
	.fpu softvfp
	.type	fun, %function
fun:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	str	r0, [fp, #-128]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L2
.L3:
	ldr	r3, [fp, #-124]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-108]
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L2:
	ldr	r3, [fp, #-124]
	cmp	r3, #25
	ble	.L3
	ldr	r0, [fp, #-128]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-116]
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L4
.L7:
	ldr	r3, [fp, #-124]
	ldr	r2, [fp, #-128]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L5
	ldr	r3, [fp, #-124]
	ldr	r2, [fp, #-128]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #122
	bhi	.L5
	ldr	r3, [fp, #-124]
	ldr	r2, [fp, #-128]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, r3, #97
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-108]
	add	r1, r3, #1
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-108]
	b	.L6
.L5:
	ldr	r3, [fp, #-124]
	ldr	r2, [fp, #-128]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L6
	ldr	r3, [fp, #-124]
	ldr	r2, [fp, #-128]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #90
	bhi	.L6
	ldr	r3, [fp, #-124]
	ldr	r2, [fp, #-128]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, r3, #65
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-108]
	add	r1, r3, #1
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-108]
.L6:
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L4:
	ldr	r2, [fp, #-124]
	ldr	r3, [fp, #-116]
	cmp	r2, r3
	blt	.L7
	mov	r3, #0
	str	r3, [fp, #-120]
	mov	r3, #1
	str	r3, [fp, #-124]
	b	.L8
.L10:
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-108]
	ldr	r3, [fp, #-124]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-108]
	cmp	r2, r3
	bge	.L9
	ldr	r3, [fp, #-124]
	str	r3, [fp, #-120]
.L9:
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L8:
	ldr	r3, [fp, #-124]
	cmp	r3, #25
	ble	.L10
	ldr	r3, [fp, #-120]
	add	r3, r3, #97
	mov	r1, r3
	ldr	r0, .L12+4
	bl	printf
	nop
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC1
	.word	.LC0
	.size	fun, .-fun
	.section	.rodata
	.align	2
.LC2:
	.ascii	"\350\257\267\350\276\223\345\205\245\344\270\200\344"
	.ascii	"\270\252\345\276\205\347\273\237\350\256\241\347\232"
	.ascii	"\204\345\255\227\347\254\246\344\270\262 :   \000"
	.align	2
.LC3:
	.ascii	"%s\000"
	.align	2
.LC4:
	.ascii	"pause\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 = 208
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #208
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L16+4
	bl	printf
	sub	r3, fp, #208
	mov	r1, r3
	ldr	r0, .L16+8
	bl	__isoc99_scanf
	sub	r3, fp, #208
	mov	r0, r3
	bl	fun
	ldr	r0, .L16+12
	bl	system
	nop
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC5
	.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
