	.file	"776245.c"
	.intel_syntax noprefix
	.text
	.globl	check_codex
	.type	check_codex, @function
check_codex:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	eax, edi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	DWORD PTR -40[rbp], ecx
	mov	BYTE PTR -36[rbp], al
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	jmp	.L2
.L5:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -36[rbp], al
	jne	.L3
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR [rdx], eax
	jmp	.L4
.L3:
	add	DWORD PTR -20[rbp], 1
.L2:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L5
	nop
.L4:
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	check_codex, .-check_codex
	.globl	get_index
	.type	get_index, @function
get_index:
.LFB7:
	.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 -20[rbp], al
	mov	DWORD PTR -4[rbp], 0
	cmp	BYTE PTR -20[rbp], 96
	jle	.L7
	cmp	BYTE PTR -20[rbp], 122
	jg	.L7
	movsx	eax, BYTE PTR -20[rbp]
	sub	eax, 97
	jmp	.L8
.L7:
	cmp	BYTE PTR -20[rbp], 64
	jle	.L9
	cmp	BYTE PTR -20[rbp], 90
	jg	.L9
	movsx	eax, BYTE PTR -20[rbp]
	sub	eax, 65
	jmp	.L8
.L9:
	cmp	BYTE PTR -20[rbp], 33
	jne	.L10
	mov	eax, 53
	jmp	.L8
.L10:
	mov	eax, 54
.L8:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	get_index, .-get_index
	.section	.rodata
.LC0:
	.string	"Input Keyword:%s\n"
	.align 8
.LC1:
	.string	"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ! "
.LC2:
	.string	"%d,"
	.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
	push	rbx
	sub	rsp, 168
	.cfi_offset 3, -24
	mov	DWORD PTR -164[rbp], edi
	mov	QWORD PTR -176[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -148[rbp], 0
	mov	rax, QWORD PTR -176[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -144[rbp], rax
	mov	rax, QWORD PTR -176[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, .LC1[rip]
	mov	QWORD PTR -136[rbp], rax
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -128[rbp], rax
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -128[rbp]
	mov	esi, -1
	mov	rdi, rax
	call	memset@PLT
	jmp	.L12
.L18:
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -120[rbp]
	sub	rax, rdx
	cmp	rax, 80
	jbe	.L13
	mov	DWORD PTR -152[rbp], 0
	jmp	.L14
.L15:
	mov	edx, DWORD PTR -148[rbp]
	mov	eax, DWORD PTR -152[rbp]
	lea	ecx, [rdx+rax]
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	movzx	eax, BYTE PTR -112[rbp+rax]
	movsx	eax, al
	mov	rdx, QWORD PTR -136[rbp]
	mov	rsi, QWORD PTR -128[rbp]
	mov	edi, eax
	call	check_codex
	add	DWORD PTR -152[rbp], 1
.L14:
	cmp	DWORD PTR -152[rbp], 79
	jle	.L15
	add	DWORD PTR -148[rbp], 80
	jmp	.L12
.L13:
	mov	DWORD PTR -152[rbp], 0
	jmp	.L16
.L17:
	mov	edx, DWORD PTR -148[rbp]
	mov	eax, DWORD PTR -152[rbp]
	lea	ecx, [rdx+rax]
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	movzx	eax, BYTE PTR -112[rbp+rax]
	movsx	eax, al
	mov	rdx, QWORD PTR -136[rbp]
	mov	rsi, QWORD PTR -128[rbp]
	mov	edi, eax
	call	check_codex
	add	DWORD PTR -152[rbp], 1
.L16:
	mov	eax, 80
	sub	eax, DWORD PTR -148[rbp]
	cmp	DWORD PTR -152[rbp], eax
	jl	.L17
	mov	rax, QWORD PTR -120[rbp]
	mov	DWORD PTR -148[rbp], eax
.L12:
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	cmp	QWORD PTR -120[rbp], rax
	ja	.L18
	mov	DWORD PTR -152[rbp], 0
	jmp	.L19
.L20:
	mov	rax, QWORD PTR -176[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	get_index
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -152[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -144[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -152[rbp], 1
.L19:
	mov	eax, DWORD PTR -152[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -176[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L20
	mov	DWORD PTR -152[rbp], 0
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -152[rbp], 1
.L21:
	mov	eax, DWORD PTR -152[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -176[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L22
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	mov	rbx, QWORD PTR -8[rbp]
	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	"776245.c"
	.text
	.align	2
	.global	check_codex
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_codex, %function
check_codex:
	@ 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	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, r0
	strb	r3, [fp, #-13]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L5:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L3
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	str	r2, [r3]
	b	.L4
.L3:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bhi	.L5
	nop
.L4:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	check_codex, .-check_codex
	.align	2
	.global	get_index
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_index, %function
get_index:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	mov	r3, r0
	strb	r3, [fp, #-13]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L7
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #122
	bhi	.L7
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	sub	r3, r3, #97
	b	.L8
.L7:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L9
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #90
	bhi	.L9
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	sub	r3, r3, #65
	b	.L8
.L9:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #33
	bne	.L10
	mov	r3, #53
	b	.L8
.L10:
	mov	r3, #54
.L8:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	get_index, .-get_index
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Input Keyword:%s\012\000"
	.align	2
.LC1:
	.ascii	"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXY"
	.ascii	"Z! \000"
	.align	2
.LC2:
	.ascii	"%d,\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-120]
	str	r1, [fp, #-124]
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-124]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-124]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L25+4
	bl	printf
	ldr	r3, .L25+8
	str	r3, [fp, #-104]
	ldr	r0, [fp, #-104]
	bl	strlen
	mov	r3, r0
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-100]
	ldr	r0, [fp, #-104]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	mvn	r1, #0
	ldr	r0, [fp, #-100]
	bl	memset
	b	.L12
.L18:
	ldr	r3, [fp, #-112]
	ldr	r2, [fp, #-96]
	sub	r3, r2, r3
	cmp	r3, #80
	bls	.L13
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L14
.L15:
	sub	r2, fp, #92
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	ldrb	r0, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	ldr	r2, [fp, #-104]
	ldr	r1, [fp, #-100]
	bl	check_codex
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L14:
	ldr	r3, [fp, #-116]
	cmp	r3, #79
	ble	.L15
	ldr	r3, [fp, #-112]
	add	r3, r3, #80
	str	r3, [fp, #-112]
	b	.L12
.L13:
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L16
.L17:
	sub	r2, fp, #92
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	ldrb	r0, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	ldr	r2, [fp, #-104]
	ldr	r1, [fp, #-100]
	bl	check_codex
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L16:
	ldr	r3, [fp, #-112]
	rsb	r3, r3, #80
	ldr	r2, [fp, #-116]
	cmp	r2, r3
	blt	.L17
	ldr	r3, [fp, #-96]
	str	r3, [fp, #-112]
.L12:
	ldr	r3, [fp, #-112]
	ldr	r2, [fp, #-96]
	cmp	r2, r3
	bhi	.L18
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L19
.L20:
	ldr	r3, [fp, #-124]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	get_index
	mov	r3, r0
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r2, r2, r3
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-108]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L19:
	ldr	r3, [fp, #-124]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-116]
	cmp	r2, r3
	bhi	.L20
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L21
.L22:
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L25+12
	bl	printf
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L21:
	ldr	r3, [fp, #-124]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-116]
	cmp	r2, r3
	bhi	.L22
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
