	.file	"65888.c"
	.intel_syntax noprefix
	.text
	.globl	hash
	.type	hash, @function
hash:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -8[rbp], 42
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -16[rbp], eax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	imul	eax, DWORD PTR -12[rbp]
	cdqe
	add	QWORD PTR -8[rbp], rax
	add	DWORD PTR -20[rbp], 1
.L2:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jl	.L3
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	hash, .-hash
	.section	.rodata
.LC0:
	.string	"%d %ld"
	.text
	.globl	main
	.type	main, @function
main:
.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, 3544
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	DWORD PTR -3520[rbp], 603010
	mov	DWORD PTR -3536[rbp], 0
	mov	DWORD PTR -3540[rbp], 0
	mov	DWORD PTR -3544[rbp], 1
	mov	DWORD PTR -3528[rbp], 0
	mov	eax, DWORD PTR -3520[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -3504[rbp], rdx
	movsx	rdx, eax
	mov	r8, rdx
	mov	r9d, 0
	movsx	rdx, eax
	mov	rsi, rdx
	mov	edi, 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L6:
	cmp	rsp, rdx
	je	.L7
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L6
.L7:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L8
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L8:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -3496[rbp], rax
	mov	QWORD PTR -3512[rbp], 0
	mov	QWORD PTR -3488[rbp], 0
	mov	rdx, QWORD PTR stdin[rip]
	mov	ecx, DWORD PTR -3520[rbp]
	mov	rax, QWORD PTR -3496[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	fgets@PLT
	movabs	rax, 30506445802664822
	mov	QWORD PTR -248[rbp], rax
	mov	rax, QWORD PTR -3496[rbp]
	mov	QWORD PTR -3512[rbp], rax
	jmp	.L9
.L17:
	mov	rax, QWORD PTR -3512[rbp]
	mov	esi, 32
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -3488[rbp], rax
	cmp	QWORD PTR -3488[rbp], 0
	je	.L10
	mov	rax, QWORD PTR -3488[rbp]
	sub	rax, QWORD PTR -3512[rbp]
	mov	rdx, rax
	mov	rcx, QWORD PTR -3512[rbp]
	lea	rax, -240[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	rax, QWORD PTR -3488[rbp]
	sub	rax, QWORD PTR -3512[rbp]
	mov	rdx, rax
	lea	rax, -240[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -3488[rbp]
	add	rax, 1
	mov	QWORD PTR -3512[rbp], rax
	jmp	.L11
.L10:
	mov	rdx, QWORD PTR -3512[rbp]
	lea	rax, -240[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	QWORD PTR -3512[rbp], 0
.L11:
	lea	rdx, -248[rbp]
	lea	rax, -240[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	mov	DWORD PTR -3516[rbp], eax
	cmp	DWORD PTR -3516[rbp], 0
	jne	.L12
	mov	QWORD PTR -3512[rbp], 0
	jmp	.L13
.L12:
	lea	rax, -240[rbp]
	mov	rdi, rax
	call	hash
	mov	QWORD PTR -3480[rbp], rax
	mov	DWORD PTR -3532[rbp], 0
	jmp	.L14
.L16:
	mov	eax, DWORD PTR -3532[rbp]
	cdqe
	sal	rax, 4
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 3456
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -3480[rbp], rax
	jne	.L15
	mov	eax, DWORD PTR -3532[rbp]
	cdqe
	sal	rax, 4
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 3448
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -3532[rbp]
	cdqe
	sal	rax, 4
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 3448
	mov	DWORD PTR [rax], edx
	mov	DWORD PTR -3544[rbp], 0
.L15:
	add	DWORD PTR -3532[rbp], 1
.L14:
	mov	eax, DWORD PTR -3532[rbp]
	cmp	eax, DWORD PTR -3536[rbp]
	jl	.L16
	cmp	DWORD PTR -3544[rbp], 1
	jne	.L9
	mov	eax, DWORD PTR -3536[rbp]
	cdqe
	sal	rax, 4
	lea	rax, -16[rax]
	add	rax, rbp
	lea	rdx, -3456[rax]
	mov	rax, QWORD PTR -3480[rbp]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR -3536[rbp]
	cdqe
	sal	rax, 4
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 3448
	mov	DWORD PTR [rax], 1
	add	DWORD PTR -3536[rbp], 1
.L9:
	cmp	QWORD PTR -3512[rbp], 0
	jne	.L17
.L13:
	mov	DWORD PTR -3524[rbp], 0
	jmp	.L18
.L20:
	mov	eax, DWORD PTR -3524[rbp]
	cdqe
	sal	rax, 4
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 3448
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -3528[rbp], eax
	jge	.L19
	mov	eax, DWORD PTR -3524[rbp]
	cdqe
	sal	rax, 4
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 3448
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -3528[rbp], eax
	mov	eax, DWORD PTR -3524[rbp]
	mov	DWORD PTR -3540[rbp], eax
.L19:
	add	DWORD PTR -3524[rbp], 1
.L18:
	mov	eax, DWORD PTR -3524[rbp]
	cmp	eax, DWORD PTR -3536[rbp]
	jl	.L20
	mov	eax, DWORD PTR -3540[rbp]
	cdqe
	sal	rax, 4
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 3456
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -3528[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rsp, rbx
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"65888.c"
	.text
	.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, #-20]
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L2
.L3:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r2, [fp, #-8]
	mul	r3, r2, r3
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L3
	ldr	r3, [fp, #-20]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	hash, .-hash
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%d %ld\000"
	.align	2
.LC0:
	.ascii	"vsmisal\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 = 1880
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #1872
	sub	sp, sp, #12
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	r3, .L20+4
	str	r3, [fp, #-1860]
	mov	r3, #0
	str	r3, [fp, #-1880]
	mov	r3, #0
	str	r3, [fp, #-1884]
	mov	r3, #1
	str	r3, [fp, #-1888]
	mov	r3, #0
	str	r3, [fp, #-1872]
	ldr	ip, [fp, #-1860]
	sub	r3, ip, #1
	str	r3, [fp, #-1856]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-1852]
	mov	r3, #0
	str	r3, [fp, #-1864]
	mov	r3, #0
	str	r3, [fp, #-1848]
	ldr	r3, .L20+8
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-1860]
	ldr	r0, [fp, #-1852]
	bl	fgets
	ldr	r2, .L20+12
	sub	r3, fp, #228
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r3, [fp, #-1852]
	str	r3, [fp, #-1864]
	b	.L6
.L14:
	mov	r1, #32
	ldr	r0, [fp, #-1864]
	bl	strchr
	str	r0, [fp, #-1848]
	ldr	r3, [fp, #-1848]
	cmp	r3, #0
	beq	.L7
	ldr	r2, [fp, #-1848]
	ldr	r3, [fp, #-1864]
	sub	r3, r2, r3
	mov	r2, r3
	sub	r3, fp, #220
	ldr	r1, [fp, #-1864]
	mov	r0, r3
	bl	strncpy
	ldr	r2, [fp, #-1848]
	ldr	r3, [fp, #-1864]
	sub	r3, r2, r3
	mov	r2, r3
	sub	r3, fp, #220
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-1848]
	add	r3, r3, #1
	str	r3, [fp, #-1864]
	b	.L8
.L7:
	sub	r3, fp, #220
	ldr	r1, [fp, #-1864]
	mov	r0, r3
	bl	strcpy
	mov	r3, #0
	str	r3, [fp, #-1864]
.L8:
	sub	r2, fp, #228
	sub	r3, fp, #220
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	str	r0, [fp, #-1844]
	ldr	r3, [fp, #-1844]
	cmp	r3, #0
	bne	.L9
	mov	r3, #0
	str	r3, [fp, #-1864]
	b	.L10
.L9:
	sub	r3, fp, #220
	mov	r0, r3
	bl	hash
	str	r0, [fp, #-1840]
	mov	r3, #0
	str	r3, [fp, #-1876]
	b	.L11
.L13:
	ldr	r3, [fp, #-1876]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-1824]
	ldr	r2, [fp, #-1840]
	cmp	r2, r3
	bne	.L12
	ldr	r3, [fp, #-1876]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-1820]
	add	r2, r3, #1
	ldr	r3, [fp, #-1876]
	lsl	r3, r3, #3
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-1820]
	mov	r3, #0
	str	r3, [fp, #-1888]
.L12:
	ldr	r3, [fp, #-1876]
	add	r3, r3, #1
	str	r3, [fp, #-1876]
.L11:
	ldr	r2, [fp, #-1876]
	ldr	r3, [fp, #-1880]
	cmp	r2, r3
	blt	.L13
	ldr	r3, [fp, #-1888]
	cmp	r3, #1
	bne	.L6
	ldr	r3, [fp, #-1880]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [fp, #-1840]
	str	r2, [r3, #-1824]
	ldr	r3, [fp, #-1880]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-1820]
	ldr	r3, [fp, #-1880]
	add	r3, r3, #1
	str	r3, [fp, #-1880]
.L6:
	ldr	r3, [fp, #-1864]
	cmp	r3, #0
	bne	.L14
.L10:
	mov	r3, #0
	str	r3, [fp, #-1868]
	b	.L15
.L17:
	ldr	r3, [fp, #-1868]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-1820]
	ldr	r2, [fp, #-1872]
	cmp	r2, r3
	bge	.L16
	ldr	r3, [fp, #-1868]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-1820]
	str	r3, [fp, #-1872]
	ldr	r3, [fp, #-1868]
	str	r3, [fp, #-1884]
.L16:
	ldr	r3, [fp, #-1868]
	add	r3, r3, #1
	str	r3, [fp, #-1868]
.L15:
	ldr	r2, [fp, #-1868]
	ldr	r3, [fp, #-1880]
	cmp	r2, r3
	blt	.L17
	ldr	r3, [fp, #-1884]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-1824]
	mov	r2, r3
	ldr	r1, [fp, #-1872]
	ldr	r0, .L20+16
	bl	printf
	mov	r3, #0
	mov	sp, r4
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC2
	.word	603010
	.word	stdin
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
