	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_cp50220raw ## -- Begin function mbfl_filt_conv_wchar_cp50220raw
	.p2align	4, 0x90
_mbfl_filt_conv_wchar_cp50220raw:       ## @mbfl_filt_conv_wchar_cp50220raw
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	_MBFL_WCSPLANE_JIS0208@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_4
## %bb.1:
	movq	_MBFL_WCSPLANE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	andl	%r14d, %r15d
	movzbl	1(%rbx), %eax
	shll	$8, %eax
	cmpl	$512, %eax                      ## imm = 0x200
	je	LBB0_3
## %bb.2:
	movl	4(%rbx), %esi
	movl	$27, %edi
	callq	*8(%rbx)
	movl	%eax, %edi
	callq	_CK
	movl	4(%rbx), %esi
	movl	$36, %edi
	callq	*8(%rbx)
	movl	%eax, %edi
	callq	_CK
	movl	4(%rbx), %esi
	movl	$66, %edi
	callq	*8(%rbx)
	movl	%eax, %edi
	callq	_CK
	movl	$512, (%rbx)                    ## imm = 0x200
LBB0_3:
	movl	%r15d, %edi
	shrl	$8, %edi
	andl	$127, %edi
	movl	4(%rbx), %esi
	callq	*8(%rbx)
	movl	%eax, %edi
	callq	_CK
	andl	$127, %r15d
	movl	4(%rbx), %esi
	movl	%r15d, %edi
	callq	*8(%rbx)
	movl	%eax, %edi
	callq	_CK
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%r14d, %edi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mbfl_filt_conv_wchar_cp50221   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MBFL_WCSPLANE_JIS0208,4,2      ## @MBFL_WCSPLANE_JIS0208
	.comm	_MBFL_WCSPLANE_MASK,4,2         ## @MBFL_WCSPLANE_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_cp50220raw ; -- Begin function mbfl_filt_conv_wchar_cp50220raw
	.p2align	2
_mbfl_filt_conv_wchar_cp50220raw:       ; @mbfl_filt_conv_wchar_cp50220raw
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _MBFL_WCSPLANE_JIS0208@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBFL_WCSPLANE_JIS0208@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _MBFL_WCSPLANE_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MBFL_WCSPLANE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w21, w8, w19
	ldrb	w8, [x20, #1]
	lsl	w8, w8, #8
	cmp	w8, #512
	b.eq	LBB0_3
; %bb.2:
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #27
	blr	x8
	bl	_CK
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #36
	blr	x8
	bl	_CK
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #66
	blr	x8
	bl	_CK
	mov	w8, #512
	str	w8, [x20]
LBB0_3:
	ldr	x8, [x20, #8]
	ubfx	w0, w21, #8, #7
	ldr	w1, [x20, #4]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #8]
	and	w0, w21, #0x7f
	ldr	w1, [x20, #4]
	blr	x8
	bl	_CK
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mbfl_filt_conv_wchar_cp50221
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MBFL_WCSPLANE_JIS0208,4,2      ; @MBFL_WCSPLANE_JIS0208
	.comm	_MBFL_WCSPLANE_MASK,4,2         ; @MBFL_WCSPLANE_MASK
.subsections_via_symbols
