	.file	"extr_template_lmo.c_lmo_canon_hash.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	lmo_canon_hash
	.type	lmo_canon_hash, @function
lmo_canon_hash:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 4096
	.cfi_def_cfa_offset 4144
	or	QWORD PTR [rsp], 0
	sub	rsp, 16
	.cfi_def_cfa_offset 4160
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 4104[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	je	.L11
	cmp	esi, 4095
	ja	.L11
	mov	r13, rsp
	test	esi, esi
	je	.L3
	lea	eax, -1[rsi]
	mov	r13, rsp
	mov	rbx, rdi
	mov	r12d, 32
	lea	r14, 1[rdi+rax]
	mov	rbp, r13
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	movzx	r12d, BYTE PTR [rbx]
	add	rbp, 1
	mov	BYTE PTR -1[rbp], r12b
.L6:
	add	rbx, 1
	cmp	rbx, r14
	je	.L18
.L7:
	movsx	edi, BYTE PTR [rbx]
	call	isspace@PLT
	test	rax, rax
	je	.L4
	movsx	edi, r12b
	call	isspace@PLT
	test	rax, rax
	je	.L5
	movzx	r12d, BYTE PTR [rbx]
	add	rbx, 1
	cmp	rbx, r14
	jne	.L7
	.p2align 4,,10
	.p2align 3
.L18:
	cmp	rbp, r13
	ja	.L8
	mov	esi, ebp
	sub	esi, r13d
.L3:
	mov	rdi, r13
	call	sfh_hash@PLT
.L1:
	mov	rdx, QWORD PTR 4104[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L19
	add	rsp, 4112
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	BYTE PTR 0[rbp], 32
	movzx	r12d, BYTE PTR [rbx]
	add	rbp, 1
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L8:
	movsx	edi, BYTE PTR -1[rbp]
	call	isspace@PLT
	lea	rsi, -1[rbp]
	sub	rbp, r13
	sub	rsi, r13
	test	rax, rax
	cmove	esi, ebp
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L11:
	xor	eax, eax
	jmp	.L1
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	lmo_canon_hash, .-lmo_canon_hash
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_template_lmo.c_lmo_canon_hash.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	lmo_canon_hash
	.syntax unified
	.arm
	.fpu softvfp
	.type	lmo_canon_hash, %function
lmo_canon_hash:
	@ args = 0, pretend = 0, frame = 4104
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r0, #0
	cmpne	r1, #4096
	push	{r4, r5, r6, r7, r8, r9, lr}
	sub	sp, sp, #4096
	sub	sp, sp, #12
	add	r3, sp, #4096
	ldr	r2, .L23
	add	r3, r3, #4
	movcs	r0, #0
	ldr	r2, [r2]
	str	r2, [r3]
	mov	r2,#0
	bcs	.L1
	cmp	r1, #0
	addeq	r8, sp, #4
	beq	.L3
	mov	r6, #32
	add	r8, sp, #4
	sub	r1, r1, #1
	mov	r9, r6
	mov	r5, r8
	add	r7, r0, r1
	sub	r4, r0, #1
	b	.L7
.L4:
	mov	r3, r5
	ldrb	r6, [r4]	@ zero_extendqisi2
	cmp	r4, r7
	strb	r6, [r3], #1
	mov	r5, r3
	beq	.L21
.L7:
	ldrb	r0, [r4, #1]!	@ zero_extendqisi2
	bl	isspace
	cmp	r0, #0
	beq	.L4
	mov	r0, r6
	bl	isspace
	cmp	r0, #0
	moveq	r3, r5
	strbeq	r9, [r3], #1
	moveq	r5, r3
	cmp	r4, r7
	ldrb	r6, [r4]	@ zero_extendqisi2
	bne	.L7
.L21:
	cmp	r5, r8
	bhi	.L8
.L18:
	sub	r1, r5, r8
.L3:
	mov	r0, r8
	bl	sfh_hash
.L1:
	add	r3, sp, #4096
	ldr	r2, .L23
	add	r3, r3, #4
	ldr	r1, [r2]
	ldr	r2, [r3]
	eors	r1, r2, r1
	mov	r2, #0
	bne	.L22
	add	sp, sp, #4096
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L8:
	ldrb	r0, [r5, #-1]	@ zero_extendqisi2
	bl	isspace
	cmp	r0, #0
	subne	r3, r5, #1
	subne	r1, r3, r8
	beq	.L18
	mov	r0, r8
	bl	sfh_hash
	b	.L1
.L22:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	.LC0
	.size	lmo_canon_hash, .-lmo_canon_hash
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
