	.file	"extr_markdown.c_htmlblock_end.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	htmlblock_end, @function
htmlblock_end:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, r8d
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 24[rsp], rsi
	call	strlen@PLT
	mov	QWORD PTR [rsp], rax
	cmp	r12, 1
	jbe	.L10
	mov	rax, QWORD PTR [rsp]
	test	ebx, ebx
	mov	ebx, 1
	setne	BYTE PTR 15[rsp]
	xor	r14d, r14d
	add	rax, 2
	mov	QWORD PTR 16[rsp], rax
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L7:
	cmp	al, 10
	sete	al
	movzx	eax, al
	add	r14d, eax
.L24:
	add	rbx, 1
	cmp	r12, rbx
	jbe	.L5
	cmp	BYTE PTR -1[rbp+rbx], 60
	movzx	eax, BYTE PTR 0[rbp+rbx]
	jne	.L7
	cmp	al, 47
	jne	.L7
.L5:
	test	r14d, r14d
	jle	.L8
	cmp	BYTE PTR 15[rsp], 0
	je	.L8
	cmp	BYTE PTR -2[rbp+rbx], 10
	jne	.L9
.L8:
	mov	rax, QWORD PTR 16[rsp]
	add	rax, rbx
	cmp	rax, r12
	jnb	.L10
	lea	r15, -1[rbx]
	lea	r8, 1[r12]
	mov	rsi, QWORD PTR [rsp]
	mov	rdi, r13
	mov	rdx, QWORD PTR 24[rsp]
	sub	r8, rbx
	lea	rcx, 0[rbp+r15]
	call	htmlblock_end_tag@PLT
	test	rax, rax
	jne	.L26
.L9:
	cmp	r12, rbx
	ja	.L24
.L10:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L26:
	.cfi_restore_state
	add	rsp, 40
	.cfi_def_cfa_offset 56
	add	rax, r15
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	htmlblock_end, .-htmlblock_end
	.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_markdown.c_htmlblock_end.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	htmlblock_end, %function
htmlblock_end:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r3
	sub	sp, sp, #28
	mov	fp, r1
	mov	r7, r2
	mov	r10, r0
	bl	strlen
	cmp	r5, #1
	ldr	r3, [sp, #64]
	bls	.L10
	subs	r3, r3, #0
	movne	r3, #1
	mov	r4, #1
	str	r3, [sp, #12]
	add	r3, r0, #2
	str	r3, [sp, #16]
	add	r3, r5, r4
	str	r3, [sp, #20]
	mov	r3, fp
	mov	r6, #0
	mov	fp, r10
	mov	r9, r3
	mov	r10, r0
.L11:
	add	r0, r4, #1
	cmp	r5, r0
	bls	.L12
	add	r3, r7, r4
	mov	r4, r0
	b	.L5
.L7:
	cmp	r2, #10
	add	r4, r4, #1
	addeq	r6, r6, #1
	cmp	r5, r4
	bls	.L4
.L5:
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldrb	r2, [r3, #1]!	@ zero_extendqisi2
	cmp	r1, #60
	bne	.L7
	cmp	r2, #47
	bne	.L7
.L4:
	ldr	r3, [sp, #12]
	cmp	r6, #0
	movle	r3, #0
	andgt	r3, r3, #1
	cmp	r3, #0
	beq	.L8
	add	r3, r7, r4
	ldrb	r3, [r3, #-2]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L9
.L8:
	ldr	r3, [sp, #16]
	add	r3, r3, r4
	cmp	r3, r5
	bcs	.L10
	ldr	r3, [sp, #20]
	sub	r8, r4, #1
	sub	r0, r3, r4
	str	r0, [sp]
	mov	r2, r9
	mov	r1, r10
	mov	r0, fp
	add	r3, r7, r8
	bl	htmlblock_end_tag
	cmp	r0, #0
	bne	.L24
.L9:
	cmp	r5, r4
	bhi	.L11
.L10:
	mov	r0, #0
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L12:
	mov	r4, r0
	b	.L4
.L24:
	add	r0, r8, r0
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	htmlblock_end, .-htmlblock_end
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
