	.file	"extr_utf.c_utf8_check_string.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	utf8_check_string
	.type	utf8_check_string, @function
utf8_check_string:
.LFB0:
	.cfi_startproc
	endbr64
	test	rsi, rsi
	je	.L20
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, r13
	sub	rax, rbp
	cmp	rax, rbx
	jb	.L7
	xor	edx, edx
	mov	rsi, rbx
	mov	rdi, r12
	call	utf8_check_full@PLT
	test	eax, eax
	je	.L7
	add	rbp, rbx
	cmp	r13, rbp
	jbe	.L21
.L2:
	lea	r12, [r14+rbp]
	movsx	edi, BYTE PTR [r12]
	call	utf8_check_first@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L7
	cmp	rax, 1
	ja	.L5
	add	rbp, 1
	cmp	r13, rbp
	ja	.L2
.L21:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	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
.L7:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
.L20:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	mov	eax, 1
	ret
	.cfi_endproc
.LFE0:
	.size	utf8_check_string, .-utf8_check_string
	.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_utf.c_utf8_check_string.c"
	.text
	.align	2
	.global	utf8_check_string
	.syntax unified
	.arm
	.fpu softvfp
	.type	utf8_check_string, %function
utf8_check_string:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r6, r1, #0
	movne	r7, r0
	movne	r5, #0
	bne	.L2
	b	.L8
.L4:
	cmp	r4, #1
	addls	r5, r5, #1
	bls	.L6
	cmp	r3, r4
	bcc	.L7
	mov	r2, #0
	mov	r1, r4
	bl	utf8_check_full
	cmp	r0, #0
	beq	.L7
	add	r5, r5, r4
.L6:
	cmp	r6, r5
	bls	.L8
.L2:
	ldrb	r0, [r7, r5]	@ zero_extendqisi2
	bl	utf8_check_first
	subs	r4, r0, #0
	sub	r3, r6, r5
	add	r0, r7, r5
	bne	.L4
.L7:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
	.size	utf8_check_string, .-utf8_check_string
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
