	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_utf8_mobile ## -- Begin function mbfl_filt_conv_wchar_utf8_mobile
	.p2align	4, 0x90
_mbfl_filt_conv_wchar_utf8_mobile:      ## @mbfl_filt_conv_wchar_utf8_mobile
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	cmpl	$1114111, %edi                  ## imm = 0x10FFFF
	ja	LBB0_18
## %bb.1:
	movq	32(%rbx), %rax
	movq	(%rax), %rax
	movq	_mbfl_no_encoding_utf8_docomo@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	leaq	-20(%rbp), %rsi
	movl	%r14d, %edi
	movq	%rbx, %rdx
	callq	_mbfilter_unicode2sjis_emoji_docomo
	testq	%rax, %rax
	jle	LBB0_4
## %bb.3:
	movl	-20(%rbp), %edi
	movq	_mbfl_docomo2uni_pua@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %rsi
	movl	$4, %ecx
	callq	_mbfilter_conv_map_tbl
	testq	%rax, %rax
	jg	LBB0_13
LBB0_4:
	movq	32(%rbx), %rax
	movq	(%rax), %rax
	movq	_mbfl_no_encoding_utf8_kddi_a@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	leaq	-20(%rbp), %rsi
	movl	%r14d, %edi
	movq	%rbx, %rdx
	callq	_mbfilter_unicode2sjis_emoji_kddi
	testq	%rax, %rax
	jle	LBB0_7
## %bb.6:
	movl	-20(%rbp), %edi
	movq	_mbfl_kddi2uni_pua@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %rsi
	movl	$7, %ecx
	callq	_mbfilter_conv_map_tbl
	testq	%rax, %rax
	jg	LBB0_13
LBB0_7:
	movq	32(%rbx), %rax
	movq	(%rax), %rax
	movq	_mbfl_no_encoding_utf8_kddi_b@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.8:
	leaq	-20(%rbp), %rsi
	movl	%r14d, %edi
	movq	%rbx, %rdx
	callq	_mbfilter_unicode2sjis_emoji_kddi
	testq	%rax, %rax
	jle	LBB0_10
## %bb.9:
	movl	-20(%rbp), %edi
	movq	_mbfl_kddi2uni_pua_b@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %rsi
	movl	$8, %ecx
	callq	_mbfilter_conv_map_tbl
	testq	%rax, %rax
	jg	LBB0_13
LBB0_10:
	movq	32(%rbx), %rax
	movq	(%rax), %rax
	movq	_mbfl_no_encoding_utf8_sb@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.11:
	leaq	-20(%rbp), %rsi
	movl	%r14d, %edi
	movq	%rbx, %rdx
	callq	_mbfilter_unicode2sjis_emoji_sb
	testq	%rax, %rax
	jle	LBB0_14
## %bb.12:
	movl	-20(%rbp), %edi
	movq	_mbfl_sb2uni_pua@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %rsi
	movl	$6, %ecx
	callq	_mbfilter_conv_map_tbl
	testq	%rax, %rax
	jle	LBB0_14
LBB0_13:
	movl	-24(%rbp), %r14d
LBB0_14:
	cmpl	$1, (%rbx)
	jne	LBB0_16
## %bb.15:
	cmpq	$0, 8(%rbx)
	jg	LBB0_28
LBB0_16:
	cmpl	$127, %r14d
	jg	LBB0_19
## %bb.17:
	movl	16(%rbx), %esi
	movl	%r14d, %edi
	jmp	LBB0_26
LBB0_18:
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_mbfl_filt_conv_illegal_output
	jmp	LBB0_27
LBB0_19:
	cmpl	$2047, %r14d                    ## imm = 0x7FF
	ja	LBB0_21
## %bb.20:
	movl	%r14d, %edi
	shrl	$6, %edi
	orl	$192, %edi
	jmp	LBB0_25
LBB0_21:
	movq	24(%rbx), %rax
	movl	%r14d, %edi
	cmpl	$65535, %r14d                   ## imm = 0xFFFF
	ja	LBB0_23
## %bb.22:
	shrl	$12, %edi
	orl	$224, %edi
	movl	16(%rbx), %esi
	callq	*%rax
	jmp	LBB0_24
LBB0_23:
	shrl	$18, %edi
	andl	$7, %edi
	orl	$240, %edi
	movl	16(%rbx), %esi
	callq	*%rax
	movl	%eax, %edi
	callq	_CK
	movl	%r14d, %edi
	shrl	$12, %edi
	andl	$63, %edi
	orl	$128, %edi
	movl	16(%rbx), %esi
	callq	*24(%rbx)
LBB0_24:
	movl	%eax, %edi
	callq	_CK
	movl	%r14d, %edi
	shrl	$6, %edi
	andl	$63, %edi
	orl	$128, %edi
LBB0_25:
	movl	16(%rbx), %esi
	callq	*24(%rbx)
	movl	%eax, %edi
	callq	_CK
	movl	%r14d, %edi
	andl	$63, %edi
	orl	$128, %edi
	movl	16(%rbx), %esi
LBB0_26:
	callq	*24(%rbx)
LBB0_27:
	movl	%eax, %edi
	callq	_CK
LBB0_28:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mbfl_no_encoding_utf8_docomo,8,3 ## @mbfl_no_encoding_utf8_docomo
	.comm	_mbfl_docomo2uni_pua,4,2        ## @mbfl_docomo2uni_pua
	.comm	_mbfl_no_encoding_utf8_kddi_a,8,3 ## @mbfl_no_encoding_utf8_kddi_a
	.comm	_mbfl_kddi2uni_pua,4,2          ## @mbfl_kddi2uni_pua
	.comm	_mbfl_no_encoding_utf8_kddi_b,8,3 ## @mbfl_no_encoding_utf8_kddi_b
	.comm	_mbfl_kddi2uni_pua_b,4,2        ## @mbfl_kddi2uni_pua_b
	.comm	_mbfl_no_encoding_utf8_sb,8,3   ## @mbfl_no_encoding_utf8_sb
	.comm	_mbfl_sb2uni_pua,4,2            ## @mbfl_sb2uni_pua
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_utf8_mobile ; -- Begin function mbfl_filt_conv_wchar_utf8_mobile
	.p2align	2
_mbfl_filt_conv_wchar_utf8_mobile:      ; @mbfl_filt_conv_wchar_utf8_mobile
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	lsr	w8, w0, #16
	cmp	w8, #16
	b.hi	LBB0_18
; %bb.1:
	ldr	x8, [x20, #32]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _mbfl_no_encoding_utf8_docomo@GOTPAGE
Lloh1:
	ldr	x9, [x9, _mbfl_no_encoding_utf8_docomo@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	add	x1, sp, #12
	mov	x0, x19
	mov	x2, x20
	bl	_mbfilter_unicode2sjis_emoji_docomo
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.3:
	ldr	w0, [sp, #12]
Lloh3:
	adrp	x8, _mbfl_docomo2uni_pua@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mbfl_docomo2uni_pua@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	w3, #4
	bl	_mbfilter_conv_map_tbl
	cmp	x0, #0
	b.gt	LBB0_13
LBB0_4:
	ldr	x8, [x20, #32]
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _mbfl_no_encoding_utf8_kddi_a@GOTPAGE
Lloh7:
	ldr	x9, [x9, _mbfl_no_encoding_utf8_kddi_a@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
	add	x1, sp, #12
	mov	x0, x19
	mov	x2, x20
	bl	_mbfilter_unicode2sjis_emoji_kddi
	cmp	x0, #1
	b.lt	LBB0_7
; %bb.6:
	ldr	w0, [sp, #12]
Lloh9:
	adrp	x8, _mbfl_kddi2uni_pua@GOTPAGE
Lloh10:
	ldr	x8, [x8, _mbfl_kddi2uni_pua@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	w3, #7
	bl	_mbfilter_conv_map_tbl
	cmp	x0, #0
	b.gt	LBB0_13
LBB0_7:
	ldr	x8, [x20, #32]
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _mbfl_no_encoding_utf8_kddi_b@GOTPAGE
Lloh13:
	ldr	x9, [x9, _mbfl_no_encoding_utf8_kddi_b@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.8:
	add	x1, sp, #12
	mov	x0, x19
	mov	x2, x20
	bl	_mbfilter_unicode2sjis_emoji_kddi
	cmp	x0, #1
	b.lt	LBB0_10
; %bb.9:
	ldr	w0, [sp, #12]
Lloh15:
	adrp	x8, _mbfl_kddi2uni_pua_b@GOTPAGE
Lloh16:
	ldr	x8, [x8, _mbfl_kddi2uni_pua_b@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	w3, #8
	bl	_mbfilter_conv_map_tbl
	cmp	x0, #0
	b.gt	LBB0_13
LBB0_10:
	ldr	x8, [x20, #32]
	ldr	x8, [x8]
Lloh18:
	adrp	x9, _mbfl_no_encoding_utf8_sb@GOTPAGE
Lloh19:
	ldr	x9, [x9, _mbfl_no_encoding_utf8_sb@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.11:
	add	x1, sp, #12
	mov	x0, x19
	mov	x2, x20
	bl	_mbfilter_unicode2sjis_emoji_sb
	cmp	x0, #1
	b.lt	LBB0_14
; %bb.12:
	ldr	w0, [sp, #12]
Lloh21:
	adrp	x8, _mbfl_sb2uni_pua@GOTPAGE
Lloh22:
	ldr	x8, [x8, _mbfl_sb2uni_pua@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	w3, #6
	bl	_mbfilter_conv_map_tbl
	cmp	x0, #1
	b.lt	LBB0_14
LBB0_13:
	ldr	w19, [sp, #8]
LBB0_14:
	ldr	w8, [x20]
	cmp	w8, #1
	b.ne	LBB0_16
; %bb.15:
	ldr	x8, [x20, #8]
	cmp	x8, #0
	b.gt	LBB0_20
LBB0_16:
	cmp	w19, #127
	b.gt	LBB0_21
; %bb.17:
	ldr	x8, [x20, #24]
	ldr	w1, [x20, #16]
	mov	x0, x19
	blr	x8
	b	LBB0_19
LBB0_18:
	mov	x0, x19
	mov	x1, x20
	bl	_mbfl_filt_conv_illegal_output
LBB0_19:
	bl	_CK
LBB0_20:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_21:
	cmp	w19, #2047
	b.hi	LBB0_23
; %bb.22:
	ldr	x8, [x20, #24]
	lsr	w9, w19, #6
	orr	w0, w9, #0xc0
	ldr	w1, [x20, #16]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #24]
	mov	w0, #128
	bfxil	w0, w19, #0, #6
	ldr	w1, [x20, #16]
	blr	x8
	b	LBB0_19
LBB0_23:
	ldr	x8, [x20, #24]
	lsr	w9, w19, #16
	cbnz	w9, LBB0_25
; %bb.24:
	lsr	w9, w19, #12
	orr	w0, w9, #0xe0
	ldr	w1, [x20, #16]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #24]
	mov	w21, #128
	b	LBB0_26
LBB0_25:
	mov	w0, #240
	bfxil	w0, w19, #18, #3
	ldr	w1, [x20, #16]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #24]
	mov	w21, #128
	mov	w0, #128
	bfxil	w0, w19, #12, #6
	ldr	w1, [x20, #16]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #24]
LBB0_26:
	mov	w0, #128
	bfxil	w0, w19, #6, #6
	ldr	w1, [x20, #16]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #24]
	bfxil	w21, w19, #0, #6
	ldr	w1, [x20, #16]
	mov	x0, x21
	blr	x8
	b	LBB0_19
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_mbfl_no_encoding_utf8_docomo,8,3 ; @mbfl_no_encoding_utf8_docomo
	.comm	_mbfl_docomo2uni_pua,4,2        ; @mbfl_docomo2uni_pua
	.comm	_mbfl_no_encoding_utf8_kddi_a,8,3 ; @mbfl_no_encoding_utf8_kddi_a
	.comm	_mbfl_kddi2uni_pua,4,2          ; @mbfl_kddi2uni_pua
	.comm	_mbfl_no_encoding_utf8_kddi_b,8,3 ; @mbfl_no_encoding_utf8_kddi_b
	.comm	_mbfl_kddi2uni_pua_b,4,2        ; @mbfl_kddi2uni_pua_b
	.comm	_mbfl_no_encoding_utf8_sb,8,3   ; @mbfl_no_encoding_utf8_sb
	.comm	_mbfl_sb2uni_pua,4,2            ; @mbfl_sb2uni_pua
.subsections_via_symbols
