	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_cp932_wchar     ## -- Begin function mbfl_filt_conv_cp932_wchar
	.p2align	4, 0x90
_mbfl_filt_conv_cp932_wchar:            ## @mbfl_filt_conv_cp932_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movl	(%rsi), %eax
	cmpl	$1, %eax
	je	LBB0_13
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_19
## %bb.2:
	cmpl	$127, %r14d
	jbe	LBB0_3
## %bb.4:
	leal	-161(%r14), %eax
	cmpl	$62, %eax
	ja	LBB0_8
## %bb.5:
	leal	65216(%r14), %edi
	jmp	LBB0_6
LBB0_13:
	movl	$0, (%rbx)
	movl	4(%rbx), %edi
	cmpl	$127, %r14d
	je	LBB0_16
## %bb.14:
	leal	-64(%r14), %eax
	cmpl	$188, %eax
	ja	LBB0_16
## %bb.15:
	movl	%r14d, %esi
	callq	_SJIS_DECODE
	movq	_MBFL_WCSPLANE_WINCP932@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_6
LBB0_19:
	movl	$0, (%rbx)
	jmp	LBB0_20
LBB0_16:
	cmpl	$33, %r14d
	jb	LBB0_3
## %bb.17:
	cmpl	$127, %r14d
	je	LBB0_3
## %bb.18:
	shll	$8, %edi
	orl	%r14d, %edi
	movq	_MBFL_WCSGROUP_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	jmp	LBB0_12
LBB0_3:
	movl	8(%rbx), %esi
	movl	%r14d, %edi
	jmp	LBB0_7
LBB0_8:
	cmpl	$160, %r14d
	je	LBB0_11
## %bb.9:
	leal	-129(%r14), %eax
	cmpl	$123, %eax
	ja	LBB0_11
## %bb.10:
	movl	$1, (%rbx)
	movl	%r14d, 4(%rbx)
	jmp	LBB0_20
LBB0_11:
	movq	_MBFL_WCSGROUP_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%r14d, %edi
LBB0_12:
	movq	_MBFL_WCSGROUP_THROUGH@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
LBB0_6:
	movl	8(%rbx), %esi
LBB0_7:
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
LBB0_20:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- 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	_cp932ext3_ucs_table_min,4,2    ## @cp932ext3_ucs_table_min
	.comm	_cp932ext3_ucs_table_max,4,2    ## @cp932ext3_ucs_table_max
	.comm	_cp932ext3_ucs_table,8,3        ## @cp932ext3_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_cp932_wchar     ; -- Begin function mbfl_filt_conv_cp932_wchar
	.p2align	2
_mbfl_filt_conv_cp932_wchar:            ; @mbfl_filt_conv_cp932_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	x20, x1
	mov	x19, x0
	ldr	w8, [x1]
	cmp	w8, #1
	b.eq	LBB0_5
; %bb.1:
	cbnz	w8, LBB0_8
; %bb.2:
	cmp	w19, #127
	b.ls	LBB0_12
; %bb.3:
	sub	w8, w19, #161
	cmp	w8, #62
	b.hi	LBB0_13
; %bb.4:
	ldr	x8, [x20, #16]
	mov	w9, #65216
	add	w0, w19, w9
	b	LBB0_19
LBB0_5:
	str	wzr, [x20]
	ldr	w0, [x20, #4]
	cmp	w19, #127
	b.eq	LBB0_9
; %bb.6:
	sub	w8, w19, #64
	cmp	w8, #188
	b.hi	LBB0_9
; %bb.7:
	mov	x1, x19
	bl	_SJIS_DECODE
Lloh0:
	adrp	x8, _MBFL_WCSPLANE_WINCP932@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBFL_WCSPLANE_WINCP932@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_18
LBB0_8:
	str	wzr, [x20]
	b	LBB0_21
LBB0_9:
	cmp	w19, #33
	b.lo	LBB0_12
; %bb.10:
	cmp	w19, #127
	b.eq	LBB0_12
; %bb.11:
	orr	w8, w19, w0, lsl #8
Lloh3:
	adrp	x9, _MBFL_WCSGROUP_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MBFL_WCSGROUP_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w8, w9, w8
	b	LBB0_17
LBB0_12:
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	mov	x0, x19
	b	LBB0_20
LBB0_13:
	cmp	w19, #160
	b.eq	LBB0_16
; %bb.14:
	sub	w8, w19, #129
	cmp	w8, #123
	b.hi	LBB0_16
; %bb.15:
	mov	w8, #1
	stp	w8, w19, [x20]
	b	LBB0_21
LBB0_16:
Lloh6:
	adrp	x8, _MBFL_WCSGROUP_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MBFL_WCSGROUP_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w8, w8, w19
LBB0_17:
Lloh9:
	adrp	x9, _MBFL_WCSGROUP_THROUGH@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MBFL_WCSGROUP_THROUGH@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w0, w8, w9
LBB0_18:
	ldr	x8, [x20, #16]
LBB0_19:
	ldr	w1, [x20, #8]
LBB0_20:
	blr	x8
	bl	_CK
LBB0_21:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- 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	_cp932ext3_ucs_table_min,4,2    ; @cp932ext3_ucs_table_min
	.comm	_cp932ext3_ucs_table_max,4,2    ; @cp932ext3_ucs_table_max
	.comm	_cp932ext3_ucs_table,8,3        ; @cp932ext3_ucs_table
	.comm	_MBFL_WCSPLANE_MASK,4,2         ; @MBFL_WCSPLANE_MASK
	.comm	_MBFL_WCSPLANE_WINCP932,4,2     ; @MBFL_WCSPLANE_WINCP932
.subsections_via_symbols
