	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_oddlen                    ## -- Begin function mbfl_oddlen
	.p2align	4, 0x90
_mbfl_oddlen:                           ## @mbfl_oddlen
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	16(%rdi), %rax
	movl	(%rax), %ecx
	movq	_MBFL_ENCTYPE_SBCS@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	jne	LBB0_1
## %bb.2:
	movq	_MBFL_ENCTYPE_WCS2BE@GOTPCREL(%rip), %rdx
	movq	_MBFL_ENCTYPE_WCS2LE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rdx), %esi
	testl	%ecx, %esi
	jne	LBB0_1
## %bb.4:
	movq	_MBFL_ENCTYPE_WCS4BE@GOTPCREL(%rip), %rdx
	movq	_MBFL_ENCTYPE_WCS4LE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rdx), %esi
	testl	%ecx, %esi
	je	LBB0_6
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_6:
	movq	8(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.7:
	movq	(%rdi), %rsi
	movq	8(%rdi), %rcx
	xorl	%eax, %eax
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.8:
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.9:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi), %edi
	movzbl	(%rdx,%rdi), %edi
	addq	%rdi, %rax
	addq	%rdi, %rsi
	cmpq	%rcx, %rax
	jb	LBB0_10
LBB0_11:
	subq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBFL_ENCTYPE_SBCS,4,2          ## @MBFL_ENCTYPE_SBCS
	.comm	_MBFL_ENCTYPE_WCS2BE,4,2        ## @MBFL_ENCTYPE_WCS2BE
	.comm	_MBFL_ENCTYPE_WCS2LE,4,2        ## @MBFL_ENCTYPE_WCS2LE
	.comm	_MBFL_ENCTYPE_WCS4BE,4,2        ## @MBFL_ENCTYPE_WCS4BE
	.comm	_MBFL_ENCTYPE_WCS4LE,4,2        ## @MBFL_ENCTYPE_WCS4LE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_oddlen                    ; -- Begin function mbfl_oddlen
	.p2align	2
_mbfl_oddlen:                           ; @mbfl_oddlen
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #16]
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _MBFL_ENCTYPE_SBCS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MBFL_ENCTYPE_SBCS@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x10, _MBFL_ENCTYPE_WCS2BE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MBFL_ENCTYPE_WCS2BE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _MBFL_ENCTYPE_WCS2LE@GOTPAGE
Lloh7:
	ldr	x11, [x11, _MBFL_ENCTYPE_WCS2LE@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	orr	w10, w11, w10
	tst	w10, w9
	b.ne	LBB0_3
; %bb.2:
Lloh9:
	adrp	x10, _MBFL_ENCTYPE_WCS4BE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _MBFL_ENCTYPE_WCS4BE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _MBFL_ENCTYPE_WCS4LE@GOTPAGE
Lloh13:
	ldr	x11, [x11, _MBFL_ENCTYPE_WCS4LE@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	orr	w10, w11, w10
	tst	w10, w9
	b.eq	LBB0_4
LBB0_3:
	mov	x0, #0
	ret
LBB0_4:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_3
; %bb.5:
	mov	x10, #0
	ldp	x11, x8, [x0]
	cbz	x11, LBB0_9
; %bb.6:
	cbz	x8, LBB0_9
; %bb.7:
	mov	x10, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w12, [x11]
	ldrb	w12, [x9, x12]
	add	x11, x11, x12
	add	x10, x10, x12
	cmp	x10, x8
	b.lo	LBB0_8
LBB0_9:
	sub	x0, x10, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MBFL_ENCTYPE_SBCS,4,2          ; @MBFL_ENCTYPE_SBCS
	.comm	_MBFL_ENCTYPE_WCS2BE,4,2        ; @MBFL_ENCTYPE_WCS2BE
	.comm	_MBFL_ENCTYPE_WCS2LE,4,2        ; @MBFL_ENCTYPE_WCS2LE
	.comm	_MBFL_ENCTYPE_WCS4BE,4,2        ; @MBFL_ENCTYPE_WCS4BE
	.comm	_MBFL_ENCTYPE_WCS4LE,4,2        ; @MBFL_ENCTYPE_WCS4LE
.subsections_via_symbols
