	.file	"681552.c"
	.intel_syntax noprefix
	.text
	.globl	Max
	.bss
	.align 16
	.type	Max, @object
	.size	Max, 16
Max:
	.zero	16
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%d %ld"
	.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
	lea	r11, -45056[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 3184
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -48232[rbp], 0
	mov	DWORD PTR -48228[rbp], 0
.L7:
	lea	rax, -224[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -224[rbp]
	cmp	al, 118
	jne	.L2
	movzx	eax, BYTE PTR -223[rbp]
	cmp	al, 115
	jne	.L2
	movzx	eax, BYTE PTR -222[rbp]
	cmp	al, 109
	jne	.L2
	movzx	eax, BYTE PTR -221[rbp]
	cmp	al, 105
	jne	.L2
	movzx	eax, BYTE PTR -220[rbp]
	cmp	al, 115
	jne	.L2
	movzx	eax, BYTE PTR -219[rbp]
	cmp	al, 97
	jne	.L2
	movzx	eax, BYTE PTR -218[rbp]
	cmp	al, 108
	je	.L11
.L2:
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	hash
	mov	edx, DWORD PTR -48228[rbp]
	movsx	rdx, edx
	sal	rdx, 4
	add	rdx, rbp
	sub	rdx, 48224
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR -48228[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 48216
	mov	DWORD PTR [rax], 1
	mov	DWORD PTR -48232[rbp], 0
	jmp	.L4
.L6:
	mov	eax, DWORD PTR -48228[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 48224
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -48232[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 48224
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	jne	.L5
	mov	eax, DWORD PTR -48228[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 48216
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -48228[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 48216
	mov	DWORD PTR [rax], edx
.L5:
	add	DWORD PTR -48232[rbp], 1
.L4:
	mov	eax, DWORD PTR -48232[rbp]
	cmp	eax, DWORD PTR -48228[rbp]
	jl	.L6
	mov	eax, DWORD PTR -48228[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 48216
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR Max[rip+8], eax
	mov	eax, DWORD PTR -48228[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 48224
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR Max[rip], rax
	add	DWORD PTR -48228[rbp], 1
	jmp	.L7
.L11:
	nop
	mov	rdx, QWORD PTR Max[rip]
	mov	eax, DWORD PTR Max[rip+8]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	hash
	.type	hash, @function
hash:
.LFB1:
	.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, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -24[rbp], 42
	mov	DWORD PTR -32[rbp], 1
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	imul	eax, DWORD PTR -32[rbp]
	cdqe
	add	QWORD PTR -24[rbp], rax
	add	DWORD PTR -32[rbp], 1
	add	DWORD PTR -28[rbp], 1
.L13:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L14
	mov	rax, QWORD PTR -24[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	hash, .-hash
	.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	"681552.c"
	.text
	.comm	Max,8,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s\000"
	.align	2
.LC1:
	.ascii	"%d %ld\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 = 24216
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24064
	sub	sp, sp, #152
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #20480
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3736]
	sub	r3, fp, #20480
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3732]
.L7:
	sub	r3, fp, #212
	mov	r1, r3
	ldr	r0, .L12+4
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-212]	@ zero_extendqisi2
	cmp	r3, #118
	bne	.L2
	ldrb	r3, [fp, #-211]	@ zero_extendqisi2
	cmp	r3, #115
	bne	.L2
	ldrb	r3, [fp, #-210]	@ zero_extendqisi2
	cmp	r3, #109
	bne	.L2
	ldrb	r3, [fp, #-209]	@ zero_extendqisi2
	cmp	r3, #105
	bne	.L2
	ldrb	r3, [fp, #-208]	@ zero_extendqisi2
	cmp	r3, #115
	bne	.L2
	ldrb	r3, [fp, #-207]	@ zero_extendqisi2
	cmp	r3, #97
	bne	.L2
	ldrb	r3, [fp, #-206]	@ zero_extendqisi2
	cmp	r3, #108
	beq	.L11
.L2:
	sub	r3, fp, #212
	mov	r0, r3
	bl	hash
	mov	r2, r0
	sub	r3, fp, #20480
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #20480
	sub	r3, r3, #4
	ldr	r3, [r3, #-3732]
	lsl	r3, r3, #3
	add	r3, r1, r3
	str	r2, [r3, #-3728]
	sub	r3, fp, #20480
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #20480
	sub	r3, r3, #4
	ldr	r3, [r3, #-3732]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-3724]
	sub	r3, fp, #20480
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3736]
	b	.L4
.L6:
	sub	r3, fp, #20480
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #20480
	sub	r3, r3, #4
	ldr	r3, [r3, #-3732]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3, #-3728]
	sub	r3, fp, #20480
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #20480
	sub	r3, r3, #4
	ldr	r3, [r3, #-3736]
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #-3728]
	cmp	r2, r3
	bne	.L5
	sub	r3, fp, #20480
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #20480
	sub	r3, r3, #4
	ldr	r3, [r3, #-3732]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #-3724]
	add	r2, r3, #1
	sub	r3, fp, #20480
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #20480
	sub	r3, r3, #4
	ldr	r3, [r3, #-3732]
	lsl	r3, r3, #3
	add	r3, r1, r3
	str	r2, [r3, #-3724]
.L5:
	sub	r3, fp, #20480
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #20480
	sub	r3, r3, #4
	ldr	r3, [r3, #-3736]
	add	r3, r3, #1
	str	r3, [r2, #-3736]
.L4:
	sub	r3, fp, #20480
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #20480
	sub	r3, r3, #4
	ldr	r2, [r2, #-3736]
	ldr	r3, [r3, #-3732]
	cmp	r2, r3
	blt	.L6
	sub	r3, fp, #20480
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #20480
	sub	r3, r3, #4
	ldr	r3, [r3, #-3732]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #-3724]
	ldr	r2, .L12+8
	str	r3, [r2, #4]
	sub	r3, fp, #20480
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #20480
	sub	r3, r3, #4
	ldr	r3, [r3, #-3732]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #-3728]
	ldr	r2, .L12+8
	str	r3, [r2]
	sub	r3, fp, #20480
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #20480
	sub	r3, r3, #4
	ldr	r3, [r3, #-3732]
	add	r3, r3, #1
	str	r3, [r2, #-3732]
	b	.L7
.L11:
	nop
	ldr	r3, .L12+8
	ldr	r3, [r3, #4]
	ldr	r2, .L12+8
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L12+12
	bl	printf
	mov	r3, #0
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC2
	.word	.LC0
	.word	Max
	.word	.LC1
	.size	main, .-main
	.align	2
	.global	hash
	.syntax unified
	.arm
	.fpu softvfp
	.type	hash, %function
hash:
	@ 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]
	mov	r3, #42
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L15
.L16:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-12]
	mul	r3, r2, r3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L15:
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bhi	.L16
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	hash, .-hash
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
