	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function mbfl_strpos
LCPI0_0:
	.byte	192                             ## 0xc0
	.byte	192                             ## 0xc0
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
LCPI0_1:
	.byte	1                               ## 0x1
	.space	1
	.byte	1                               ## 0x1
	.space	1
	.byte	0                               ## 0x0
	.space	1
	.byte	3                               ## 0x3
	.space	1
	.byte	0                               ## 0x0
	.space	1
	.byte	3                               ## 0x3
	.space	1
	.byte	6                               ## 0x6
	.space	1
	.byte	7                               ## 0x7
	.space	1
LCPI0_2:
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
LCPI0_3:
	.quad	1                               ## 0x1
	.quad	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_mbfl_strpos
	.p2align	4, 0x90
_mbfl_strpos:                           ## @mbfl_strpos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$2152, %rsp                     ## imm = 0x868
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$-8, %rbx
	testq	%rdi, %rdi
	je	LBB0_78
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_78
## %bb.2:
	movq	%rdi, %r15
	cmpq	$0, (%rdi)
	je	LBB0_78
## %bb.3:
	cmpq	$0, (%r14)
	je	LBB0_78
## %bb.4:
	movq	_mbfl_encoding_utf8@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -2104(%rbp)               ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_78
## %bb.5:
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	16(%r15), %rax
	movq	(%rax), %rax
	movq	_mbfl_no_encoding_utf8@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	je	LBB0_8
## %bb.6:
	leaq	-2160(%rbp), %rdi
	callq	_mbfl_string_init
	movq	_mbfl_encoding_utf8@GOTPCREL(%rip), %rdx
	movq	%r15, %rdi
	leaq	-2160(%rbp), %rsi
	callq	_mbfl_convert_encoding
	testq	%rax, %rax
	je	LBB0_31
## %bb.7:
	movq	%rax, %r15
	movq	(%rbx), %rax
LBB0_8:
	movq	16(%r14), %rcx
	cmpq	%rax, (%rcx)
	je	LBB0_10
## %bb.9:
	leaq	-2184(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_mbfl_string_init
	movq	_mbfl_encoding_utf8@GOTPCREL(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mbfl_convert_encoding
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_32
LBB0_10:
	movl	8(%r14), %r8d
	testl	%r8d, %r8d
	jle	LBB0_30
## %bb.11:
	movslq	8(%r15), %r10
	movq	$-1, %rbx
	cmpl	%r8d, %r10d
	jl	LBB0_74
## %bb.12:
	testl	%r13d, %r13d
	je	LBB0_33
## %bb.13:
	movq	(%r15), %r9
	movq	(%r14), %rsi
	movq	%r8, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	xorl	%eax, %eax
	movq	-2104(%rbp), %rdx               ## 8-byte Reload
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, -2096(%rbp,%rax,8)
	movdqa	%xmm0, -2080(%rbp,%rax,8)
	movdqa	%xmm0, -2064(%rbp,%rax,8)
	movdqa	%xmm0, -2048(%rbp,%rax,8)
	movdqa	%xmm0, -2032(%rbp,%rax,8)
	movdqa	%xmm0, -2016(%rbp,%rax,8)
	movdqa	%xmm0, -2000(%rbp,%rax,8)
	movdqa	%xmm0, -1984(%rbp,%rax,8)
	movdqa	%xmm0, -1968(%rbp,%rax,8)
	movdqa	%xmm0, -1952(%rbp,%rax,8)
	movdqa	%xmm0, -1936(%rbp,%rax,8)
	movdqa	%xmm0, -1920(%rbp,%rax,8)
	movdqa	%xmm0, -1904(%rbp,%rax,8)
	movdqa	%xmm0, -1888(%rbp,%rax,8)
	movdqa	%xmm0, -1872(%rbp,%rax,8)
	movdqa	%xmm0, -1856(%rbp,%rax,8)
	addq	$32, %rax
	cmpq	$256, %rax                      ## imm = 0x100
	jne	LBB0_14
## %bb.15:
	movq	%r8, %rax
	decq	%rax
	je	LBB0_20
## %bb.16:
	leaq	-2(%r8), %rcx
	movq	%rax, %rdi
	andq	$3, %rdi
	je	LBB0_18
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi,%rax), %ebx
	movq	%rax, -2096(%rbp,%rbx,8)
	decq	%rax
	decq	%rdi
	jne	LBB0_17
LBB0_18:
	cmpq	$3, %rcx
	jb	LBB0_20
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi,%rax), %ecx
	movq	%rax, -2096(%rbp,%rcx,8)
	movzbl	-1(%rsi,%rax), %ecx
	leaq	-1(%rax), %rdi
	movq	%rdi, -2096(%rbp,%rcx,8)
	movzbl	-2(%rsi,%rax), %ecx
	leaq	-2(%rax), %rdi
	movq	%rdi, -2096(%rbp,%rcx,8)
	movzbl	-3(%rsi,%rax), %ecx
	leaq	-3(%rax), %rdi
	movq	%rdi, -2096(%rbp,%rcx,8)
	addq	$-4, %rax
	jne	LBB0_19
LBB0_20:
	addq	%r9, %r10
	movq	%r9, %rax
	testq	%r12, %r12
	je	LBB0_24
## %bb.21:
	movq	%r9, %rax
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%r10, %rax
	jae	LBB0_67
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movzbl	(%rax), %ecx
	movzbl	(%rdx,%rcx), %ecx
	addq	%rcx, %rax
	decq	%r12
	jne	LBB0_22
LBB0_24:
	leaq	(%rax,%r8), %rcx
	movq	$-1, %rbx
	cmpq	%rcx, %r10
	jb	LBB0_74
## %bb.25:
	subq	%r8, %r10
	cmpq	%rax, %r10
	jb	LBB0_74
LBB0_26:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_27 Depth 2
	xorl	%ecx, %ecx
LBB0_27:                                ##   Parent Loop BB0_26 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r10,%rcx), %edi
	cmpb	%dil, (%rsi,%rcx)
	jne	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=2
	incq	%rcx
	cmpq	%rcx, %r8
	jne	LBB0_27
	jmp	LBB0_38
LBB0_29:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	%r10, %rdx
	subq	-2096(%rbp,%rdi,8), %rdx
	addq	%rcx, %rdx
	cmpq	%r10, %rdx
	leaq	-1(%r10), %rcx
	cmovbq	%rdx, %rcx
	movq	%rcx, %r10
	cmpq	%rax, %rcx
	jae	LBB0_26
	jmp	LBB0_74
LBB0_30:
	movq	$-8, %rbx
	jmp	LBB0_74
LBB0_31:
	movq	$-4, %rbx
	jmp	LBB0_78
LBB0_32:
	movq	$-4, %rbx
	xorl	%r14d, %r14d
	jmp	LBB0_74
LBB0_33:
	movq	(%r15), %r9
	movq	(%r14), %r11
	leaq	1(%r8), %rax
	movq	%rax, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	xorl	%eax, %eax
	movq	-2104(%rbp), %r13               ## 8-byte Reload
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, -2096(%rbp,%rax,8)
	movdqa	%xmm0, -2080(%rbp,%rax,8)
	movdqa	%xmm0, -2064(%rbp,%rax,8)
	movdqa	%xmm0, -2048(%rbp,%rax,8)
	movdqa	%xmm0, -2032(%rbp,%rax,8)
	movdqa	%xmm0, -2016(%rbp,%rax,8)
	movdqa	%xmm0, -2000(%rbp,%rax,8)
	movdqa	%xmm0, -1984(%rbp,%rax,8)
	movdqa	%xmm0, -1968(%rbp,%rax,8)
	movdqa	%xmm0, -1952(%rbp,%rax,8)
	movdqa	%xmm0, -1936(%rbp,%rax,8)
	movdqa	%xmm0, -1920(%rbp,%rax,8)
	movdqa	%xmm0, -1904(%rbp,%rax,8)
	movdqa	%xmm0, -1888(%rbp,%rax,8)
	movdqa	%xmm0, -1872(%rbp,%rax,8)
	movdqa	%xmm0, -1856(%rbp,%rax,8)
	addq	$32, %rax
	cmpq	$256, %rax                      ## imm = 0x100
	jne	LBB0_34
## %bb.35:
	movq	%r8, %rcx
	decq	%rcx
	je	LBB0_47
## %bb.36:
	leaq	-2(%r8), %rdx
	movl	%ecx, %eax
	andl	$3, %eax
	cmpq	$3, %rdx
	jae	LBB0_42
## %bb.37:
	xorl	%edi, %edi
	jmp	LBB0_44
LBB0_38:
	movq	%r10, %rcx
	subq	%r9, %rcx
	jbe	LBB0_73
## %bb.39:
	cmpq	$4, %rcx
	jae	LBB0_69
## %bb.40:
	xorl	%ebx, %ebx
	movq	%r10, %rax
	jmp	LBB0_72
LBB0_42:
	andq	$-4, %rcx
	xorl	%edi, %edi
	movq	%r8, %rbx
LBB0_43:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r11,%rdi), %edx
	movq	%rbx, -2096(%rbp,%rdx,8)
	leaq	-1(%rbx), %rdx
	movzbl	1(%r11,%rdi), %esi
	movq	%rdx, -2096(%rbp,%rsi,8)
	leaq	-2(%rbx), %rdx
	movzbl	2(%r11,%rdi), %esi
	movq	%rdx, -2096(%rbp,%rsi,8)
	leaq	-3(%rbx), %rdx
	movzbl	3(%r11,%rdi), %esi
	movq	%rdx, -2096(%rbp,%rsi,8)
	addq	$4, %rdi
	addq	$-4, %rbx
	cmpq	%rdi, %rcx
	jne	LBB0_43
LBB0_44:
	testq	%rax, %rax
	je	LBB0_47
## %bb.45:
	leaq	(%r11,%rdi), %rcx
	movq	%r8, %rdx
	subq	%rdi, %rdx
	xorl	%edi, %edi
LBB0_46:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rcx,%rdi), %esi
	movq	%rdx, -2096(%rbp,%rsi,8)
	incq	%rdi
	decq	%rdx
	cmpq	%rdi, %rax
	jne	LBB0_46
LBB0_47:
	addq	%r9, %r10
	movq	%r9, %rdx
	testq	%r12, %r12
	je	LBB0_51
## %bb.48:
	movq	%r9, %rdx
LBB0_49:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%r10, %rdx
	jae	LBB0_67
## %bb.50:                              ##   in Loop: Header=BB0_49 Depth=1
	movzbl	(%rdx), %eax
	movzbl	(%r13,%rax), %eax
	addq	%rax, %rdx
	decq	%r12
	jne	LBB0_49
LBB0_51:
	addq	%r8, %rdx
	movq	$-1, %rbx
	cmpq	%r10, %rdx
	ja	LBB0_74
## %bb.52:
	movq	%r8, %r13
	negq	%r13
	leaq	(%r9,%r8), %rax
	movq	%rax, -2104(%rbp)               ## 8-byte Spill
	movq	$-2, %rax
	subq	%r8, %rax
	movq	%rax, -2112(%rbp)               ## 8-byte Spill
	movq	$-1, %rbx
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = <192,192,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = <1,u,1,u,0,u,3,u,0,u,3,u,6,u,7,u>
	pmovzxbq	LCPI0_2(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero,zero,zero,zero,zero,mem[1],zero,zero,zero,zero,zero,zero,zero
	movdqa	LCPI0_3(%rip), %xmm3            ## xmm3 = [1,1]
	movq	%r8, -2128(%rbp)                ## 8-byte Spill
	movq	%r13, -2120(%rbp)               ## 8-byte Spill
	jmp	LBB0_55
LBB0_53:                                ##   in Loop: Header=BB0_55 Depth=1
	addq	%r9, %rdx
	addq	%rdi, %rdx
	testq	%r12, %r12
	je	LBB0_74
LBB0_55:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_57 Depth 2
                                        ##     Child Loop BB0_64 Depth 2
                                        ##     Child Loop BB0_66 Depth 2
	cmpq	%r10, %rdx
	ja	LBB0_74
## %bb.56:                              ##   in Loop: Header=BB0_55 Depth=1
	leaq	(%rdx,%r13), %rax
	movq	%r8, %rcx
	movq	%rdx, %rdi
	.p2align	4, 0x90
LBB0_57:                                ##   Parent Loop BB0_55 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rcx, %r12
	testq	%rcx, %rcx
	je	LBB0_60
## %bb.58:                              ##   in Loop: Header=BB0_57 Depth=2
	movzbl	-1(%rdi), %esi
	decq	%rdi
	leaq	-1(%r12), %rcx
	cmpb	%sil, -1(%r11,%r12)
	je	LBB0_57
## %bb.59:                              ##   in Loop: Header=BB0_55 Depth=1
	addq	-2096(%rbp,%rsi,8), %rdi
	cmpq	%rdx, %rdi
	leaq	1(%rdx), %rdx
	cmovaq	%rdi, %rdx
	testq	%r12, %r12
	jne	LBB0_55
	jmp	LBB0_74
LBB0_60:                                ##   in Loop: Header=BB0_55 Depth=1
	cmpq	%r9, %rax
	jbe	LBB0_73
## %bb.61:                              ##   in Loop: Header=BB0_55 Depth=1
	movq	%rdx, %rdi
	negq	%rdi
	movq	%rdx, %rcx
	subq	-2104(%rbp), %rcx               ## 8-byte Folded Reload
	cmpq	$4, %rcx
	jae	LBB0_63
## %bb.62:                              ##   in Loop: Header=BB0_55 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_66
LBB0_63:                                ##   in Loop: Header=BB0_55 Depth=1
	movq	%rdi, -2136(%rbp)               ## 8-byte Spill
	movq	%rcx, %rdi
	andq	$-4, %rdi
	movq	%rdi, %rbx
	negq	%rbx
	subq	%rdi, %rax
	movq	-2112(%rbp), %rsi               ## 8-byte Reload
	leaq	(%rdx,%rsi), %r8
	pxor	%xmm4, %xmm4
	xorl	%r13d, %r13d
	pxor	%xmm5, %xmm5
	.p2align	4, 0x90
LBB0_64:                                ##   Parent Loop BB0_55 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzwl	(%r8,%r13), %esi
	movd	%esi, %xmm6
	movzwl	-2(%r8,%r13), %esi
	movd	%esi, %xmm7
	pand	%xmm0, %xmm6
	pand	%xmm0, %xmm7
	pshufb	%xmm1, %xmm6
	pcmpgtb	%xmm2, %xmm6
	pand	%xmm3, %xmm6
	paddq	%xmm6, %xmm4
	pshufb	%xmm1, %xmm7
	pcmpgtb	%xmm2, %xmm7
	pand	%xmm3, %xmm7
	paddq	%xmm7, %xmm5
	addq	$-4, %r13
	cmpq	%r13, %rbx
	jne	LBB0_64
## %bb.65:                              ##   in Loop: Header=BB0_55 Depth=1
	paddq	%xmm4, %xmm5
	pshufd	$238, %xmm5, %xmm4              ## xmm4 = xmm5[2,3,2,3]
	paddq	%xmm5, %xmm4
	movq	%xmm4, %rbx
	cmpq	%rdi, %rcx
	movq	-2128(%rbp), %r8                ## 8-byte Reload
	movq	-2120(%rbp), %r13               ## 8-byte Reload
	movq	-2136(%rbp), %rdi               ## 8-byte Reload
	je	LBB0_53
	.p2align	4, 0x90
LBB0_66:                                ##   Parent Loop BB0_55 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	-1(%rax), %ecx
	decq	%rax
	andb	$-64, %cl
	xorl	%esi, %esi
	cmpb	$-128, %cl
	setne	%sil
	addq	%rsi, %rbx
	cmpq	%r9, %rax
	ja	LBB0_66
	jmp	LBB0_53
LBB0_67:
	movq	$-16, %rbx
	jmp	LBB0_74
LBB0_73:
	xorl	%ebx, %ebx
	jmp	LBB0_74
LBB0_69:
	movq	%rcx, %r8
	andq	$-4, %r8
	movq	%r8, %rdi
	negq	%rdi
	movq	%r10, %rax
	subq	%r8, %rax
	pxor	%xmm0, %xmm0
	xorl	%ebx, %ebx
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = <192,192,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
	movdqa	LCPI0_1(%rip), %xmm3            ## xmm3 = <1,u,1,u,0,u,3,u,0,u,3,u,6,u,7,u>
	pmovzxbq	LCPI0_2(%rip), %xmm4            ## xmm4 = mem[0],zero,zero,zero,zero,zero,zero,zero,mem[1],zero,zero,zero,zero,zero,zero,zero
	movdqa	LCPI0_3(%rip), %xmm5            ## xmm5 = [1,1]
	pxor	%xmm2, %xmm2
LBB0_70:                                ## =>This Inner Loop Header: Depth=1
	movzwl	-2(%r10,%rbx), %esi
	movd	%esi, %xmm6
	movzwl	-4(%r10,%rbx), %esi
	movd	%esi, %xmm7
	pand	%xmm1, %xmm6
	pand	%xmm1, %xmm7
	pshufb	%xmm3, %xmm6
	pcmpgtb	%xmm4, %xmm6
	pand	%xmm5, %xmm6
	paddq	%xmm6, %xmm0
	pshufb	%xmm3, %xmm7
	pcmpgtb	%xmm4, %xmm7
	pand	%xmm5, %xmm7
	paddq	%xmm7, %xmm2
	addq	$-4, %rbx
	cmpq	%rbx, %rdi
	jne	LBB0_70
## %bb.71:
	paddq	%xmm0, %xmm2
	pshufd	$238, %xmm2, %xmm0              ## xmm0 = xmm2[2,3,2,3]
	paddq	%xmm2, %xmm0
	movq	%xmm0, %rbx
	cmpq	%r8, %rcx
	je	LBB0_74
LBB0_72:                                ## =>This Inner Loop Header: Depth=1
	movzbl	-1(%rax), %ecx
	decq	%rax
	andb	$-64, %cl
	xorl	%esi, %esi
	cmpb	$-128, %cl
	setne	%sil
	addq	%rsi, %rbx
	cmpq	%r9, %rax
	ja	LBB0_72
LBB0_74:
	leaq	-2160(%rbp), %rax
	cmpq	%rax, %r15
	jne	LBB0_76
## %bb.75:
	leaq	-2160(%rbp), %rdi
	callq	_mbfl_string_clear
LBB0_76:
	leaq	-2184(%rbp), %rax
	cmpq	%rax, %r14
	jne	LBB0_78
## %bb.77:
	leaq	-2184(%rbp), %rdi
	callq	_mbfl_string_clear
LBB0_78:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_80
## %bb.79:
	movq	%rbx, %rax
	addq	$2152, %rsp                     ## imm = 0x868
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_80:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_mbfl_encoding_utf8,8,3         ## @mbfl_encoding_utf8
	.comm	_mbfl_no_encoding_utf8,8,3      ## @mbfl_no_encoding_utf8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_strpos                    ; -- Begin function mbfl_strpos
	.p2align	2
_mbfl_strpos:                           ; @mbfl_strpos
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w27, -72
	.cfi_offset w28, -80
	sub	sp, sp, #2112
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	cbz	x0, LBB0_13
; %bb.1:
	mov	x19, x1
	mov	x22, #-8
	cbz	x1, LBB0_14
; %bb.2:
	mov	x20, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_14
; %bb.3:
	ldr	x8, [x19]
	cbz	x8, LBB0_13
; %bb.4:
Lloh3:
	adrp	x8, _mbfl_encoding_utf8@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mbfl_encoding_utf8@GOTPAGEOFF]
Lloh5:
	ldr	x22, [x8]
	cbz	x22, LBB0_13
; %bb.5:
	mov	x23, x3
	mov	x21, x2
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
Lloh6:
	adrp	x24, _mbfl_no_encoding_utf8@GOTPAGE
Lloh7:
	ldr	x24, [x24, _mbfl_no_encoding_utf8@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.6:
	add	x0, sp, #32
	bl	_mbfl_string_init
Lloh8:
	adrp	x2, _mbfl_encoding_utf8@GOTPAGE
Lloh9:
	ldr	x2, [x2, _mbfl_encoding_utf8@GOTPAGEOFF]
	add	x1, sp, #32
	mov	x0, x20
	bl	_mbfl_convert_encoding
	cbz	x0, LBB0_36
; %bb.7:
	mov	x20, x0
	ldr	x8, [x24]
LBB0_8:
	ldr	x9, [x19, #16]
	ldr	x9, [x9]
	cmp	x9, x8
	b.eq	LBB0_10
; %bb.9:
	add	x0, sp, #8
	bl	_mbfl_string_init
Lloh10:
	adrp	x2, _mbfl_encoding_utf8@GOTPAGE
Lloh11:
	ldr	x2, [x2, _mbfl_encoding_utf8@GOTPAGEOFF]
	add	x1, sp, #8
	mov	x0, x19
	bl	_mbfl_convert_encoding
	mov	x19, x0
	cbz	x0, LBB0_37
LBB0_10:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.11:
	ldrsw	x10, [x20, #8]
	cmp	w10, w8
	b.ge	LBB0_17
LBB0_12:
	mov	x22, #-1
	b	LBB0_74
LBB0_13:
	mov	x22, #-8
LBB0_14:
	ldur	x8, [x29, #-72]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_78
; %bb.15:
	mov	x0, x22
	add	sp, sp, #2112
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_16:
	mov	x22, #-8
	b	LBB0_74
LBB0_17:
	cbz	w23, LBB0_38
; %bb.18:
	mov	x12, #0
	ldr	x9, [x20]
	ldr	x11, [x19]
	add	x13, sp, #56
	dup.2d	v0, x8
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	add	x14, x13, x12
	stp	q0, q0, [x14]
	stp	q0, q0, [x14, #32]
	add	x12, x12, #64
	cmp	x12, #2048
	b.ne	LBB0_19
; %bb.20:
	subs	x13, x8, #1
	b.eq	LBB0_27
; %bb.21:
	mov	x12, x13
	cmp	x13, #4
	b.lo	LBB0_25
; %bb.22:
	and	x14, x13, #0xfffffffffffffffc
	and	x12, x13, #0x3
	sub	x15, x8, #4
	add	x16, sp, #56
	mov	x17, x14
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	add	x0, x15, #3
	add	x1, x15, #2
	add	x2, x15, #1
	add	x3, x11, x15
	ldrb	w4, [x3, #3]
	ldrb	w5, [x3, #2]
	ldrb	w6, [x3, #1]
	ldrb	w3, [x3]
	str	x0, [x16, x4, lsl #3]
	str	x1, [x16, x5, lsl #3]
	str	x2, [x16, x6, lsl #3]
	str	x15, [x16, x3, lsl #3]
	sub	x15, x15, #4
	sub	x17, x17, #4
	cbnz	x17, LBB0_23
; %bb.24:
	cmp	x13, x14
	b.eq	LBB0_27
LBB0_25:
	add	x13, sp, #56
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w14, [x11, x12]
	str	x12, [x13, x14, lsl #3]
	subs	x12, x12, #1
	b.ne	LBB0_26
LBB0_27:
	add	x13, x9, x10
	mov	x10, x9
	cbz	x21, LBB0_30
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	cmp	x10, x13
	b.hs	LBB0_68
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	ldrb	w12, [x10]
	ldrb	w12, [x22, x12]
	add	x10, x10, x12
	subs	x21, x21, #1
	b.ne	LBB0_28
LBB0_30:
	sub	x12, x13, x8
	add	x14, x10, x8
	cmp	x13, x14
	ccmp	x12, x10, #0, hs
	b.lo	LBB0_12
; %bb.31:
	add	x13, sp, #56
LBB0_32:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_33 Depth 2
	mov	x14, #0
LBB0_33:                                ;   Parent Loop BB0_32 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w16, [x11, x14]
	ldrb	w15, [x12, x14]
	cmp	w16, w15
	b.ne	LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=2
	add	x14, x14, #1
	cmp	x8, x14
	b.ne	LBB0_33
	b	LBB0_43
LBB0_35:                                ;   in Loop: Header=BB0_32 Depth=1
	ldr	x15, [x13, x15, lsl #3]
	sub	x15, x12, x15
	add	x14, x15, x14
	sub	x15, x12, #1
	cmp	x14, x12
	csel	x12, x14, x15, lo
	cmp	x12, x10
	b.hs	LBB0_32
	b	LBB0_12
LBB0_36:
	mov	x22, #-4
	b	LBB0_14
LBB0_37:
	mov	x22, #-4
	b	LBB0_74
LBB0_38:
	mov	x11, #0
	ldr	x9, [x20]
	ldr	x14, [x19]
	add	x12, x8, #1
	dup.2d	v0, x12
	add	x12, sp, #56
LBB0_39:                                ; =>This Inner Loop Header: Depth=1
	add	x13, x12, x11
	stp	q0, q0, [x13]
	stp	q0, q0, [x13, #32]
	add	x11, x11, #64
	cmp	x11, #2048
	b.ne	LBB0_39
; %bb.40:
	subs	x12, x8, #1
	b.eq	LBB0_51
; %bb.41:
	cmp	x12, #4
	b.hs	LBB0_46
; %bb.42:
	mov	x11, #0
	b	LBB0_49
LBB0_43:
	subs	x10, x12, x9
	b.ls	LBB0_69
; %bb.44:
	cmp	x10, #8
	b.hs	LBB0_70
; %bb.45:
	mov	x22, #0
	mov	x8, x12
	b	LBB0_73
LBB0_46:
	and	x11, x12, #0xfffffffffffffffc
	add	x13, x14, #1
	add	x15, sp, #56
	mov	x16, x11
	mov	x17, x8
LBB0_47:                                ; =>This Inner Loop Header: Depth=1
	sub	x0, x17, #1
	sub	x1, x17, #2
	sub	x2, x17, #3
	ldurb	w3, [x13, #-1]
	ldrb	w4, [x13]
	ldrb	w5, [x13, #1]
	str	x17, [x15, x3, lsl #3]
	str	x0, [x15, x4, lsl #3]
	str	x1, [x15, x5, lsl #3]
	ldrb	w0, [x13, #2]
	str	x2, [x15, x0, lsl #3]
	sub	x17, x17, #4
	add	x13, x13, #4
	subs	x16, x16, #4
	b.ne	LBB0_47
; %bb.48:
	cmp	x12, x11
	b.eq	LBB0_51
LBB0_49:
	sub	x12, x8, x11
	add	x11, x14, x11
	add	x13, sp, #56
LBB0_50:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w15, [x11], #1
	str	x12, [x13, x15, lsl #3]
	sub	x12, x12, #1
	cmp	x12, #1
	b.ne	LBB0_50
LBB0_51:
	add	x10, x9, x10
	mov	x11, x9
	cbz	x21, LBB0_54
LBB0_52:                                ; =>This Inner Loop Header: Depth=1
	cmp	x11, x10
	b.hs	LBB0_68
; %bb.53:                               ;   in Loop: Header=BB0_52 Depth=1
	ldrb	w12, [x11]
	ldrb	w12, [x22, x12]
	add	x11, x11, x12
	subs	x21, x21, #1
	b.ne	LBB0_52
LBB0_54:
	add	x11, x11, x8
	cmp	x11, x10
	b.hi	LBB0_12
; %bb.55:
	neg	x12, x8
	add	x13, x9, x8
	sub	x14, x14, #1
	mov	x15, #-4
	sub	x15, x15, x8
	mov	x22, #-1
	movi.2s	v0, #192
	movi.2s	v1, #128
	mov	w16, #1
	dup.2d	v2, x16
	add	x16, sp, #56
	b	LBB0_57
LBB0_56:                                ;   in Loop: Header=BB0_57 Depth=1
	add	x11, x11, x9
	add	x11, x11, x1
	cbz	x17, LBB0_74
LBB0_57:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_59 Depth 2
                                        ;     Child Loop BB0_65 Depth 2
                                        ;     Child Loop BB0_67 Depth 2
	cmp	x11, x10
	b.hi	LBB0_74
; %bb.58:                               ;   in Loop: Header=BB0_57 Depth=1
	add	x0, x11, x12
	mov	x3, x8
	mov	x1, x11
LBB0_59:                                ;   Parent Loop BB0_57 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x17, x3
	cbz	x3, LBB0_62
; %bb.60:                               ;   in Loop: Header=BB0_59 Depth=2
	ldrb	w4, [x14, x17]
	ldrb	w2, [x1, #-1]!
	sub	x3, x17, #1
	cmp	w4, w2
	b.eq	LBB0_59
; %bb.61:                               ;   in Loop: Header=BB0_57 Depth=1
	ldr	x0, [x16, x2, lsl #3]
	add	x0, x1, x0
	cmp	x0, x11
	csinc	x11, x0, x11, hi
	cbnz	x17, LBB0_57
	b	LBB0_74
LBB0_62:                                ;   in Loop: Header=BB0_57 Depth=1
	cmp	x0, x9
	b.ls	LBB0_69
; %bb.63:                               ;   in Loop: Header=BB0_57 Depth=1
	mov	x22, #0
	neg	x1, x11
	sub	x2, x11, x13
	cmp	x2, #8
	b.lo	LBB0_67
; %bb.64:                               ;   in Loop: Header=BB0_57 Depth=1
	and	x3, x2, #0xfffffffffffffff8
	sub	x0, x0, x3
	add	x4, x11, x15
	movi.2d	v3, #0000000000000000
	mov	x5, x3
	movi.2d	v4, #0000000000000000
	movi.2d	v5, #0000000000000000
	movi.2d	v6, #0000000000000000
LBB0_65:                                ;   Parent Loop BB0_57 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w6, [x4, #2]
	fmov	s7, w6
	ldrb	w6, [x4, #3]
	mov.s	v7[1], w6
	ldrb	w6, [x4]
	fmov	s16, w6
	ldrb	w6, [x4, #1]
	mov.s	v16[1], w6
	ldurb	w6, [x4, #-2]
	fmov	s17, w6
	ldurb	w6, [x4, #-1]
	mov.s	v17[1], w6
	ldurb	w6, [x4, #-4]
	fmov	s18, w6
	ldurb	w6, [x4, #-3]
	mov.s	v18[1], w6
	and.8b	v7, v7, v0
	rev64.2s	v7, v7
	and.8b	v16, v16, v0
	rev64.2s	v16, v16
	and.8b	v17, v17, v0
	rev64.2s	v17, v17
	and.8b	v18, v18, v0
	rev64.2s	v18, v18
	cmeq.2s	v7, v7, v1
	mvn.8b	v7, v7
	ushll.2d	v7, v7, #0
	and.16b	v7, v7, v2
	cmeq.2s	v16, v16, v1
	mvn.8b	v16, v16
	ushll.2d	v16, v16, #0
	and.16b	v16, v16, v2
	cmeq.2s	v17, v17, v1
	mvn.8b	v17, v17
	ushll.2d	v17, v17, #0
	and.16b	v17, v17, v2
	cmeq.2s	v18, v18, v1
	mvn.8b	v18, v18
	ushll.2d	v18, v18, #0
	and.16b	v18, v18, v2
	add.2d	v3, v3, v7
	add.2d	v4, v4, v16
	add.2d	v5, v5, v17
	add.2d	v6, v6, v18
	sub	x4, x4, #8
	sub	x5, x5, #8
	cbnz	x5, LBB0_65
; %bb.66:                               ;   in Loop: Header=BB0_57 Depth=1
	add.2d	v3, v4, v3
	add.2d	v3, v5, v3
	add.2d	v3, v6, v3
	addp.2d	d3, v3
	fmov	x22, d3
	cmp	x2, x3
	b.eq	LBB0_56
LBB0_67:                                ;   Parent Loop BB0_57 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w2, [x0, #-1]!
	and	w2, w2, #0xc0
	cmp	w2, #128
	cinc	x22, x22, ne
	cmp	x0, x9
	b.hi	LBB0_67
	b	LBB0_56
LBB0_68:
	mov	x22, #-16
	b	LBB0_74
LBB0_69:
	mov	x22, #0
	b	LBB0_74
LBB0_70:
	and	x11, x10, #0xfffffffffffffff8
	sub	x8, x12, x11
	sub	x12, x12, #4
	movi.2d	v0, #0000000000000000
	movi.2s	v1, #192
	movi.2s	v2, #128
	mov	w13, #1
	dup.2d	v3, x13
	mov	x13, x11
	movi.2d	v4, #0000000000000000
	movi.2d	v5, #0000000000000000
	movi.2d	v6, #0000000000000000
LBB0_71:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w14, [x12, #2]
	fmov	s7, w14
	ldrb	w14, [x12, #3]
	mov.s	v7[1], w14
	ldrb	w14, [x12]
	fmov	s16, w14
	ldrb	w14, [x12, #1]
	mov.s	v16[1], w14
	ldurb	w14, [x12, #-2]
	fmov	s17, w14
	ldurb	w14, [x12, #-1]
	mov.s	v17[1], w14
	ldurb	w14, [x12, #-4]
	fmov	s18, w14
	ldurb	w14, [x12, #-3]
	mov.s	v18[1], w14
	and.8b	v7, v7, v1
	rev64.2s	v7, v7
	and.8b	v16, v16, v1
	rev64.2s	v16, v16
	and.8b	v17, v17, v1
	rev64.2s	v17, v17
	and.8b	v18, v18, v1
	rev64.2s	v18, v18
	cmeq.2s	v7, v7, v2
	mvn.8b	v7, v7
	ushll.2d	v7, v7, #0
	and.16b	v7, v7, v3
	cmeq.2s	v16, v16, v2
	mvn.8b	v16, v16
	ushll.2d	v16, v16, #0
	and.16b	v16, v16, v3
	cmeq.2s	v17, v17, v2
	mvn.8b	v17, v17
	ushll.2d	v17, v17, #0
	and.16b	v17, v17, v3
	cmeq.2s	v18, v18, v2
	mvn.8b	v18, v18
	ushll.2d	v18, v18, #0
	and.16b	v18, v18, v3
	add.2d	v0, v0, v7
	add.2d	v4, v4, v16
	add.2d	v5, v5, v17
	add.2d	v6, v6, v18
	sub	x12, x12, #8
	subs	x13, x13, #8
	b.ne	LBB0_71
; %bb.72:
	add.2d	v0, v4, v0
	add.2d	v0, v5, v0
	add.2d	v0, v6, v0
	addp.2d	d0, v0
	fmov	x22, d0
	cmp	x10, x11
	b.eq	LBB0_74
LBB0_73:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x8, #-1]!
	and	w10, w10, #0xc0
	cmp	w10, #128
	cinc	x22, x22, ne
	cmp	x8, x9
	b.hi	LBB0_73
LBB0_74:
	add	x8, sp, #32
	cmp	x20, x8
	b.ne	LBB0_76
; %bb.75:
	add	x0, sp, #32
	bl	_mbfl_string_clear
LBB0_76:
	add	x8, sp, #8
	cmp	x19, x8
	b.ne	LBB0_14
; %bb.77:
	add	x0, sp, #8
	bl	_mbfl_string_clear
	b	LBB0_14
LBB0_78:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_mbfl_encoding_utf8,8,3         ; @mbfl_encoding_utf8
	.comm	_mbfl_no_encoding_utf8,8,3      ; @mbfl_no_encoding_utf8
.subsections_via_symbols
