	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_cp51932_wchar   ## -- Begin function mbfl_filt_conv_cp51932_wchar
	.p2align	4, 0x90
_mbfl_filt_conv_cp51932_wchar:          ## @mbfl_filt_conv_cp51932_wchar
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rcx
	movl	%edi, %ebx
	movl	(%rsi), %eax
	cmpl	$2, %eax
	je	LBB0_39
## %bb.1:
	cmpl	$1, %eax
	je	LBB0_10
## %bb.2:
	testl	%eax, %eax
	jne	LBB0_46
## %bb.3:
	cmpl	$127, %ebx
	ja	LBB0_5
LBB0_4:
	movl	8(%rcx), %esi
	movl	%ebx, %edi
	jmp	LBB0_42
LBB0_39:
	movl	$0, (%rcx)
	leal	-161(%rbx), %eax
	cmpl	$62, %eax
	ja	LBB0_43
## %bb.40:
	leal	65216(%rbx), %edi
	jmp	LBB0_41
LBB0_10:
	movl	$0, (%rcx)
	movl	4(%rcx), %edi
	leal	-161(%rbx), %eax
	cmpl	$93, %eax
	ja	LBB0_34
## %bb.11:
	imull	$94, %edi, %esi
	leal	(%rbx,%rsi), %r10d
	addl	$-15134, %r10d                  ## imm = 0xC4E2
	cmpl	$298, %r10d                     ## imm = 0x12A
	jg	LBB0_21
## %bb.12:
	leal	-192(%r10), %r8d
	cmpl	$50, %r8d
	ja	LBB0_13
## %bb.15:
	movl	$65340, %eax                    ## imm = 0xFF3C
	leaq	LJTI0_0(%rip), %r9
	movslq	(%r9,%r8,4), %rdx
	addq	%r9, %rdx
	jmpq	*%rdx
LBB0_16:
	movl	$65374, %eax                    ## imm = 0xFF5E
	jmp	LBB0_33
LBB0_46:
	movl	$0, (%rcx)
	jmp	LBB0_47
LBB0_5:
	leal	-161(%rbx), %eax
	cmpl	$93, %eax
	ja	LBB0_7
## %bb.6:
	movl	$1, (%rcx)
	movl	%ebx, 4(%rcx)
	jmp	LBB0_47
LBB0_43:
	cmpl	$33, %ebx
	jb	LBB0_4
## %bb.44:
	cmpl	$127, %ebx
	je	LBB0_4
## %bb.45:
	movl	%ebx, %edi
	orl	$36352, %edi                    ## imm = 0x8E00
	jmp	LBB0_37
LBB0_34:
	cmpl	$33, %ebx
	jb	LBB0_4
## %bb.35:
	cmpl	$127, %ebx
	je	LBB0_4
## %bb.36:
	shll	$8, %edi
	orl	%ebx, %edi
LBB0_37:
	movq	_MBFL_WCSGROUP_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
LBB0_38:
	movq	_MBFL_WCSGROUP_THROUGH@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
LBB0_41:
	movl	8(%rcx), %esi
	jmp	LBB0_42
LBB0_7:
	cmpl	$142, %ebx
	jne	LBB0_9
## %bb.8:
	movl	$2, (%rcx)
	jmp	LBB0_47
LBB0_9:
	movq	_MBFL_WCSGROUP_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%ebx, %edi
	jmp	LBB0_38
LBB0_13:
	cmpl	$298, %r10d                     ## imm = 0x12A
	jne	LBB0_21
## %bb.14:
	movl	$65506, %eax                    ## imm = 0xFFE2
	jmp	LBB0_33
LBB0_21:
	leal	(%rbx,%rsi), %eax
	addl	$-15295, %eax                   ## imm = 0xC441
	movq	_cp932ext1_ucs_table_min@GOTPCREL(%rip), %rdx
	movl	%eax, %esi
	subl	(%rdx), %esi
	jl	LBB0_25
## %bb.22:
	movq	_cp932ext1_ucs_table_max@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jge	LBB0_25
## %bb.23:
	movq	_cp932ext1_ucs_table@GOTPCREL(%rip), %rdx
	movslq	%esi, %rax
	jmp	LBB0_24
LBB0_25:
	cmpl	$161, %r10d
	jl	LBB0_28
## %bb.26:
	movq	_jisx0208_ucs_table_size@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jge	LBB0_28
## %bb.27:
	movq	_jisx0208_ucs_table@GOTPCREL(%rip), %rdx
	movl	%eax, %eax
LBB0_24:
	shlq	$2, %rax
	addq	(%rdx), %rax
LBB0_31:
	movl	(%rax), %eax
	testl	%eax, %eax
	jg	LBB0_33
LBB0_32:
	andl	$127, %edi
	shll	$8, %edi
	movl	%ebx, %eax
	andl	$127, %eax
	orl	%edi, %eax
	movq	_MBFL_WCSPLANE_MASK@GOTPCREL(%rip), %rdx
	andl	(%rdx), %eax
	movq	_MBFL_WCSPLANE_WINCP932@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
LBB0_33:
	movl	8(%rcx), %esi
	movl	%eax, %edi
LBB0_42:
	callq	*16(%rcx)
	movl	%eax, %edi
	callq	_CK
LBB0_47:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_28:
	movq	_cp932ext2_ucs_table_min@GOTPCREL(%rip), %rsi
	movl	%eax, %edx
	subl	(%rsi), %edx
	jl	LBB0_32
## %bb.29:
	movq	_cp932ext2_ucs_table_max@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %eax
	jge	LBB0_32
## %bb.30:
	movq	_cp932ext2_ucs_table@GOTPCREL(%rip), %rsi
	movslq	%edx, %rax
	shlq	$2, %rax
	addq	(%rsi), %rax
	jmp	LBB0_31
LBB0_17:
	movl	$8741, %eax                     ## imm = 0x2225
	jmp	LBB0_33
LBB0_18:
	movl	$65293, %eax                    ## imm = 0xFF0D
	jmp	LBB0_33
LBB0_19:
	movl	$65504, %eax                    ## imm = 0xFFE0
	jmp	LBB0_33
LBB0_20:
	movl	$65505, %eax                    ## imm = 0xFFE1
	jmp	LBB0_33
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
LJTI0_0:
	.long	L0_0_set_33
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_18
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_19
	.long	L0_0_set_20
	.end_data_region
                                        ## -- End function
	.comm	_MBFL_WCSGROUP_MASK,4,2         ## @MBFL_WCSGROUP_MASK
	.comm	_MBFL_WCSGROUP_THROUGH,4,2      ## @MBFL_WCSGROUP_THROUGH
	.comm	_cp932ext1_ucs_table_min,4,2    ## @cp932ext1_ucs_table_min
	.comm	_cp932ext1_ucs_table_max,4,2    ## @cp932ext1_ucs_table_max
	.comm	_cp932ext1_ucs_table,8,3        ## @cp932ext1_ucs_table
	.comm	_jisx0208_ucs_table_size,4,2    ## @jisx0208_ucs_table_size
	.comm	_jisx0208_ucs_table,8,3         ## @jisx0208_ucs_table
	.comm	_cp932ext2_ucs_table_min,4,2    ## @cp932ext2_ucs_table_min
	.comm	_cp932ext2_ucs_table_max,4,2    ## @cp932ext2_ucs_table_max
	.comm	_cp932ext2_ucs_table,8,3        ## @cp932ext2_ucs_table
	.comm	_MBFL_WCSPLANE_MASK,4,2         ## @MBFL_WCSPLANE_MASK
	.comm	_MBFL_WCSPLANE_WINCP932,4,2     ## @MBFL_WCSPLANE_WINCP932
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_cp51932_wchar   ; -- Begin function mbfl_filt_conv_cp51932_wchar
	.p2align	2
_mbfl_filt_conv_cp51932_wchar:          ; @mbfl_filt_conv_cp51932_wchar
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x1]
	cmp	w8, #2
	b.eq	LBB0_5
; %bb.1:
	cmp	w8, #1
	b.eq	LBB0_7
; %bb.2:
	cbnz	w8, LBB0_12
; %bb.3:
	cmp	w19, #127
	b.hi	LBB0_13
LBB0_4:
	ldr	x8, [x1, #16]
	ldr	w1, [x1, #8]
	mov	x0, x19
	b	LBB0_25
LBB0_5:
	str	wzr, [x1]
	sub	w8, w19, #161
	cmp	w8, #62
	b.hi	LBB0_15
; %bb.6:
	mov	w8, #65216
	add	w0, w19, w8
	b	LBB0_24
LBB0_7:
	str	wzr, [x1]
	ldr	w8, [x1, #4]
	sub	w9, w19, #161
	cmp	w9, #93
	b.hi	LBB0_18
; %bb.8:
	mov	w9, #94
	madd	w10, w8, w9, w19
	mov	w9, #-15134
	add	w9, w10, w9
	cmp	w9, #298
	b.gt	LBB0_32
; %bb.9:
	sub	w11, w9, #192
	cmp	w11, #50
	b.hi	LBB0_30
; %bb.10:
	mov	w0, #65340
Lloh0:
	adrp	x12, lJTI0_0@PAGE
Lloh1:
	add	x12, x12, lJTI0_0@PAGEOFF
	adr	x13, LBB0_11
	ldrb	w14, [x12, x11]
	add	x13, x13, x14, lsl #2
	br	x13
LBB0_11:
	mov	w0, #65374
	b	LBB0_24
LBB0_12:
	str	wzr, [x1]
	b	LBB0_26
LBB0_13:
	sub	w8, w19, #161
	cmp	w8, #93
	b.hi	LBB0_27
; %bb.14:
	mov	w8, #1
	stp	w8, w19, [x1]
	b	LBB0_26
LBB0_15:
	cmp	w19, #33
	b.lo	LBB0_4
; %bb.16:
	cmp	w19, #127
	b.eq	LBB0_4
; %bb.17:
	mov	w8, #36352
	orr	w8, w19, w8
	b	LBB0_21
LBB0_18:
	cmp	w19, #33
	b.lo	LBB0_4
; %bb.19:
	cmp	w19, #127
	b.eq	LBB0_4
; %bb.20:
	orr	w8, w19, w8, lsl #8
LBB0_21:
Lloh2:
	adrp	x9, _MBFL_WCSGROUP_MASK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MBFL_WCSGROUP_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	and	w8, w9, w8
LBB0_22:
Lloh5:
	adrp	x9, _MBFL_WCSGROUP_THROUGH@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MBFL_WCSGROUP_THROUGH@GOTPAGEOFF]
LBB0_23:
	ldr	w9, [x9]
	orr	w0, w8, w9
LBB0_24:
	ldr	x8, [x1, #16]
	ldr	w1, [x1, #8]
LBB0_25:
	blr	x8
	bl	_CK
LBB0_26:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_27:
	cmp	w19, #142
	b.ne	LBB0_29
; %bb.28:
	mov	w8, #2
	str	w8, [x1]
	b	LBB0_26
LBB0_29:
Lloh7:
	adrp	x8, _MBFL_WCSGROUP_MASK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MBFL_WCSGROUP_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	and	w8, w8, w19
	b	LBB0_22
LBB0_30:
	cmp	w9, #298
	b.ne	LBB0_32
; %bb.31:
	mov	w0, #65506
	b	LBB0_24
LBB0_32:
	mov	w11, #-15295
Lloh10:
	adrp	x12, _cp932ext1_ucs_table_min@GOTPAGE
Lloh11:
	ldr	x12, [x12, _cp932ext1_ucs_table_min@GOTPAGEOFF]
Lloh12:
	ldr	w12, [x12]
Lloh13:
	adrp	x13, _cp932ext1_ucs_table_max@GOTPAGE
Lloh14:
	ldr	x13, [x13, _cp932ext1_ucs_table_max@GOTPAGEOFF]
Lloh15:
	ldr	w13, [x13]
	add	w10, w10, w11
	subs	w11, w10, w12
	ccmp	w10, w13, #0, ge
	b.lt	LBB0_36
; %bb.33:
Lloh16:
	adrp	x11, _jisx0208_ucs_table_size@GOTPAGE
Lloh17:
	ldr	x11, [x11, _jisx0208_ucs_table_size@GOTPAGEOFF]
Lloh18:
	ldr	w11, [x11]
	cmp	w9, #161
	ccmp	w10, w11, #0, ge
	b.lt	LBB0_37
; %bb.34:
Lloh19:
	adrp	x9, _cp932ext2_ucs_table_min@GOTPAGE
Lloh20:
	ldr	x9, [x9, _cp932ext2_ucs_table_min@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
Lloh22:
	adrp	x11, _cp932ext2_ucs_table_max@GOTPAGE
Lloh23:
	ldr	x11, [x11, _cp932ext2_ucs_table_max@GOTPAGEOFF]
Lloh24:
	ldr	w11, [x11]
	subs	w9, w10, w9
	ccmp	w10, w11, #0, ge
	b.ge	LBB0_39
; %bb.35:
Lloh25:
	adrp	x10, _cp932ext2_ucs_table@GOTPAGE
Lloh26:
	ldr	x10, [x10, _cp932ext2_ucs_table@GOTPAGEOFF]
Lloh27:
	ldr	x10, [x10]
	add	x9, x10, w9, sxtw #2
	b	LBB0_38
LBB0_36:
Lloh28:
	adrp	x9, _cp932ext1_ucs_table@GOTPAGE
Lloh29:
	ldr	x9, [x9, _cp932ext1_ucs_table@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	add	x9, x9, w11, sxtw #2
	b	LBB0_38
LBB0_37:
Lloh31:
	adrp	x9, _jisx0208_ucs_table@GOTPAGE
Lloh32:
	ldr	x9, [x9, _jisx0208_ucs_table@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	add	x9, x9, w10, uxtw #2
LBB0_38:
	ldr	w0, [x9]
	cmp	w0, #0
	b.gt	LBB0_24
LBB0_39:
	and	w9, w19, #0x7f
	bfi	w9, w8, #8, #7
Lloh34:
	adrp	x8, _MBFL_WCSPLANE_MASK@GOTPAGE
Lloh35:
	ldr	x8, [x8, _MBFL_WCSPLANE_MASK@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	and	w8, w8, w9
Lloh37:
	adrp	x9, _MBFL_WCSPLANE_WINCP932@GOTPAGE
Lloh38:
	ldr	x9, [x9, _MBFL_WCSPLANE_WINCP932@GOTPAGEOFF]
	b	LBB0_23
LBB0_40:
	mov	w0, #8741
	b	LBB0_24
LBB0_41:
	mov	w0, #65293
	b	LBB0_24
LBB0_42:
	mov	w0, #65504
	b	LBB0_24
LBB0_43:
	mov	w0, #65505
	b	LBB0_24
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_11-LBB0_11)>>2
	.byte	(LBB0_40-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_41-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_42-LBB0_11)>>2
	.byte	(LBB0_43-LBB0_11)>>2
                                        ; -- End function
	.comm	_MBFL_WCSGROUP_MASK,4,2         ; @MBFL_WCSGROUP_MASK
	.comm	_MBFL_WCSGROUP_THROUGH,4,2      ; @MBFL_WCSGROUP_THROUGH
	.comm	_cp932ext1_ucs_table_min,4,2    ; @cp932ext1_ucs_table_min
	.comm	_cp932ext1_ucs_table_max,4,2    ; @cp932ext1_ucs_table_max
	.comm	_cp932ext1_ucs_table,8,3        ; @cp932ext1_ucs_table
	.comm	_jisx0208_ucs_table_size,4,2    ; @jisx0208_ucs_table_size
	.comm	_jisx0208_ucs_table,8,3         ; @jisx0208_ucs_table
	.comm	_cp932ext2_ucs_table_min,4,2    ; @cp932ext2_ucs_table_min
	.comm	_cp932ext2_ucs_table_max,4,2    ; @cp932ext2_ucs_table_max
	.comm	_cp932ext2_ucs_table,8,3        ; @cp932ext2_ucs_table
	.comm	_MBFL_WCSPLANE_MASK,4,2         ; @MBFL_WCSPLANE_MASK
	.comm	_MBFL_WCSPLANE_WINCP932,4,2     ; @MBFL_WCSPLANE_WINCP932
.subsections_via_symbols
