	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_eucjp     ## -- Begin function mbfl_filt_conv_wchar_eucjp
	.p2align	4, 0x90
_mbfl_filt_conv_wchar_eucjp:            ## @mbfl_filt_conv_wchar_eucjp
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	_ucs_a1_jis_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%edi, %eax
	jg	LBB0_3
## %bb.1:
	movq	_ucs_a1_jis_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jle	LBB0_3
## %bb.2:
	movq	_ucs_a1_jis_table@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_3:
	movq	_ucs_a2_jis_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r15d, %eax
	jg	LBB0_6
## %bb.4:
	movq	_ucs_a2_jis_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jle	LBB0_6
## %bb.5:
	movq	_ucs_a2_jis_table@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_6:
	movq	_ucs_i_jis_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r15d, %eax
	jg	LBB0_9
## %bb.7:
	movq	_ucs_i_jis_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jle	LBB0_9
## %bb.8:
	movq	_ucs_i_jis_table@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_9:
	movq	_ucs_r_jis_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ebx, %ebx
	cmpl	%r15d, %eax
	jg	LBB0_16
## %bb.10:
	movq	_ucs_r_jis_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jle	LBB0_16
## %bb.11:
	movq	_ucs_r_jis_table@GOTPCREL(%rip), %rcx
LBB0_12:
	movq	(%rcx), %rcx
	movl	%r15d, %edx
	subl	%eax, %edx
	movslq	%edx, %rax
	movl	(%rcx,%rax,4), %ebx
	testl	%ebx, %ebx
	jle	LBB0_16
LBB0_13:
	cmpl	$127, %ebx
	jbe	LBB0_28
## %bb.14:
	cmpl	$255, %ebx
	ja	LBB0_24
## %bb.15:
	movl	(%r14), %esi
	movl	$142, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	jmp	LBB0_28
LBB0_16:
	movq	_MBFL_WCSPLANE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	notl	%ecx
	andl	%r15d, %ecx
	movq	_MBFL_WCSPLANE_JIS0208@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_18
## %bb.17:
	andl	%r15d, %eax
	jmp	LBB0_20
LBB0_18:
	movq	_MBFL_WCSPLANE_JIS0212@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_29
## %bb.19:
	andl	%r15d, %eax
	orl	$32896, %eax                    ## imm = 0x8080
LBB0_20:
	movl	%eax, %ebx
LBB0_21:
	testl	%r15d, %r15d
	je	LBB0_27
## %bb.22:
	testl	%ebx, %ebx
	jg	LBB0_13
## %bb.23:
	movl	%r15d, %edi
	movq	%r14, %rsi
	callq	_mbfl_filt_conv_illegal_output
	jmp	LBB0_37
LBB0_24:
	cmpl	$32895, %ebx                    ## imm = 0x807F
	ja	LBB0_34
## %bb.25:
	movl	%ebx, %r12d
LBB0_26:
	movl	%r12d, %eax
	shrl	$8, %eax
	orl	$128, %eax
	movzbl	%al, %edi
	movl	(%r14), %esi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	orl	$128, %r12d
	movzbl	%r12b, %edi
	jmp	LBB0_35
LBB0_27:
	xorl	%ebx, %ebx
LBB0_28:
	movl	(%r14), %esi
	movl	%ebx, %edi
	jmp	LBB0_36
LBB0_29:
	cmpl	$65373, %r15d                   ## imm = 0xFF5D
	jle	LBB0_38
## %bb.30:
	cmpl	$65504, %r15d                   ## imm = 0xFFE0
	jg	LBB0_41
## %bb.31:
	cmpl	$65374, %r15d                   ## imm = 0xFF5E
	je	LBB0_44
## %bb.32:
	cmpl	$65504, %r15d                   ## imm = 0xFFE0
	jne	LBB0_21
## %bb.33:
	movl	$8561, %r12d                    ## imm = 0x2171
	jmp	LBB0_26
LBB0_34:
	movl	(%r14), %esi
	movl	$143, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	%ebx, %eax
	shrl	$8, %eax
	orl	$128, %eax
	movzbl	%al, %edi
	movl	(%r14), %esi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	orl	$128, %ebx
	movzbl	%bl, %edi
LBB0_35:
	movl	(%r14), %esi
LBB0_36:
	callq	*8(%r14)
LBB0_37:
	movl	%eax, %edi
	callq	_CK
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_38:
	cmpl	$8741, %r15d                    ## imm = 0x2225
	je	LBB0_45
## %bb.39:
	cmpl	$65293, %r15d                   ## imm = 0xFF0D
	je	LBB0_46
## %bb.40:
	movl	$8512, %r12d                    ## imm = 0x2140
	cmpl	$65340, %r15d                   ## imm = 0xFF3C
	je	LBB0_26
	jmp	LBB0_21
LBB0_41:
	cmpl	$65505, %r15d                   ## imm = 0xFFE1
	je	LBB0_47
## %bb.42:
	cmpl	$65506, %r15d                   ## imm = 0xFFE2
	jne	LBB0_21
## %bb.43:
	movl	$8780, %r12d                    ## imm = 0x224C
	jmp	LBB0_26
LBB0_44:
	movl	$8513, %r12d                    ## imm = 0x2141
	jmp	LBB0_26
LBB0_45:
	movl	$8514, %r12d                    ## imm = 0x2142
	jmp	LBB0_26
LBB0_46:
	movl	$8541, %r12d                    ## imm = 0x215D
	jmp	LBB0_26
LBB0_47:
	movl	$8562, %r12d                    ## imm = 0x2172
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_ucs_a1_jis_table_min,4,2       ## @ucs_a1_jis_table_min
	.comm	_ucs_a1_jis_table_max,4,2       ## @ucs_a1_jis_table_max
	.comm	_ucs_a1_jis_table,8,3           ## @ucs_a1_jis_table
	.comm	_ucs_a2_jis_table_min,4,2       ## @ucs_a2_jis_table_min
	.comm	_ucs_a2_jis_table_max,4,2       ## @ucs_a2_jis_table_max
	.comm	_ucs_a2_jis_table,8,3           ## @ucs_a2_jis_table
	.comm	_ucs_i_jis_table_min,4,2        ## @ucs_i_jis_table_min
	.comm	_ucs_i_jis_table_max,4,2        ## @ucs_i_jis_table_max
	.comm	_ucs_i_jis_table,8,3            ## @ucs_i_jis_table
	.comm	_ucs_r_jis_table_min,4,2        ## @ucs_r_jis_table_min
	.comm	_ucs_r_jis_table_max,4,2        ## @ucs_r_jis_table_max
	.comm	_ucs_r_jis_table,8,3            ## @ucs_r_jis_table
	.comm	_MBFL_WCSPLANE_MASK,4,2         ## @MBFL_WCSPLANE_MASK
	.comm	_MBFL_WCSPLANE_JIS0208,4,2      ## @MBFL_WCSPLANE_JIS0208
	.comm	_MBFL_WCSPLANE_JIS0212,4,2      ## @MBFL_WCSPLANE_JIS0212
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_eucjp     ; -- Begin function mbfl_filt_conv_wchar_eucjp
	.p2align	2
_mbfl_filt_conv_wchar_eucjp:            ; @mbfl_filt_conv_wchar_eucjp
	.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, _ucs_a1_jis_table_min@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ucs_a1_jis_table_min@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ucs_a1_jis_table_max@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ucs_a1_jis_table_max@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w0
	ccmp	w9, w0, #4, le
	b.gt	LBB0_5
; %bb.1:
Lloh6:
	adrp	x8, _ucs_a2_jis_table_min@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ucs_a2_jis_table_min@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _ucs_a2_jis_table_max@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ucs_a2_jis_table_max@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, le
	b.gt	LBB0_6
; %bb.2:
Lloh12:
	adrp	x8, _ucs_i_jis_table_min@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ucs_i_jis_table_min@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _ucs_i_jis_table_max@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ucs_i_jis_table_max@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, le
	b.gt	LBB0_7
; %bb.3:
Lloh18:
	adrp	x8, _ucs_r_jis_table_min@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ucs_r_jis_table_min@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _ucs_r_jis_table_max@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ucs_r_jis_table_max@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, le
	b.gt	LBB0_8
; %bb.4:
	mov	w21, #0
	b	LBB0_13
LBB0_5:
Lloh24:
	adrp	x9, _ucs_a1_jis_table@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ucs_a1_jis_table@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
Lloh26:
	adrp	x9, _ucs_a2_jis_table@GOTPAGE
Lloh27:
	ldr	x9, [x9, _ucs_a2_jis_table@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh28:
	adrp	x9, _ucs_i_jis_table@GOTPAGE
Lloh29:
	ldr	x9, [x9, _ucs_i_jis_table@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh30:
	adrp	x9, _ucs_r_jis_table@GOTPAGE
Lloh31:
	ldr	x9, [x9, _ucs_r_jis_table@GOTPAGEOFF]
LBB0_9:
	ldr	x9, [x9]
	sub	w8, w19, w8
	ldr	w21, [x9, w8, sxtw #2]
	cmp	w21, #0
	b.le	LBB0_13
LBB0_10:
	cmp	w21, #127
	b.ls	LBB0_24
; %bb.11:
	cmp	w21, #255
	b.hi	LBB0_20
; %bb.12:
	ldr	x8, [x20, #8]
	ldr	w1, [x20]
	mov	w0, #142
	blr	x8
	bl	_CK
	b	LBB0_24
LBB0_13:
Lloh32:
	adrp	x8, _MBFL_WCSPLANE_MASK@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MBFL_WCSPLANE_MASK@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	bic	w9, w19, w8
Lloh35:
	adrp	x10, _MBFL_WCSPLANE_JIS0208@GOTPAGE
Lloh36:
	ldr	x10, [x10, _MBFL_WCSPLANE_JIS0208@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_15
; %bb.14:
	and	w21, w8, w19
	b	LBB0_17
LBB0_15:
Lloh38:
	adrp	x10, _MBFL_WCSPLANE_JIS0212@GOTPAGE
Lloh39:
	ldr	x10, [x10, _MBFL_WCSPLANE_JIS0212@GOTPAGEOFF]
Lloh40:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_27
; %bb.16:
	and	w8, w8, w19
	mov	w9, #32896
	orr	w21, w8, w9
LBB0_17:
	cbz	w19, LBB0_23
; %bb.18:
	cmp	w21, #1
	b.ge	LBB0_10
; %bb.19:
	mov	x0, x19
	mov	x1, x20
	bl	_mbfl_filt_conv_illegal_output
	b	LBB0_26
LBB0_20:
	lsr	w8, w21, #7
	cmp	w8, #256
	b.ls	LBB0_22
; %bb.21:
	ldr	x8, [x20, #8]
	ldr	w1, [x20]
	mov	w0, #143
	blr	x8
	bl	_CK
LBB0_22:
	ldr	x8, [x20, #8]
	mov	w22, #128
	mov	w0, #128
	bfxil	w0, w21, #8, #7
	ldr	w1, [x20]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #8]
	bfxil	w22, w21, #0, #7
	ldr	w1, [x20]
	mov	x0, x22
	b	LBB0_25
LBB0_23:
	mov	w21, #0
LBB0_24:
	ldr	x8, [x20, #8]
	ldr	w1, [x20]
	mov	x0, x21
LBB0_25:
	blr	x8
LBB0_26:
	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_27:
	mov	w8, #65373
	cmp	w19, w8
	b.le	LBB0_32
; %bb.28:
	mov	w8, #65504
	cmp	w19, w8
	b.gt	LBB0_36
; %bb.29:
	mov	w8, #65374
	cmp	w19, w8
	b.eq	LBB0_39
; %bb.30:
	mov	w8, #65504
	cmp	w19, w8
	b.ne	LBB0_17
; %bb.31:
	mov	w21, #8561
	b	LBB0_22
LBB0_32:
	mov	w8, #8741
	cmp	w19, w8
	b.eq	LBB0_40
; %bb.33:
	mov	w8, #65293
	cmp	w19, w8
	b.eq	LBB0_42
; %bb.34:
	mov	w8, #65340
	cmp	w19, w8
	b.ne	LBB0_17
; %bb.35:
	mov	w21, #8512
	b	LBB0_22
LBB0_36:
	mov	w8, #65505
	cmp	w19, w8
	b.eq	LBB0_41
; %bb.37:
	mov	w8, #65506
	cmp	w19, w8
	b.ne	LBB0_17
; %bb.38:
	mov	w21, #8780
	b	LBB0_22
LBB0_39:
	mov	w21, #8513
	b	LBB0_22
LBB0_40:
	mov	w21, #8514
	b	LBB0_22
LBB0_41:
	mov	w21, #8562
	b	LBB0_22
LBB0_42:
	mov	w21, #8541
	b	LBB0_22
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_ucs_a1_jis_table_min,4,2       ; @ucs_a1_jis_table_min
	.comm	_ucs_a1_jis_table_max,4,2       ; @ucs_a1_jis_table_max
	.comm	_ucs_a1_jis_table,8,3           ; @ucs_a1_jis_table
	.comm	_ucs_a2_jis_table_min,4,2       ; @ucs_a2_jis_table_min
	.comm	_ucs_a2_jis_table_max,4,2       ; @ucs_a2_jis_table_max
	.comm	_ucs_a2_jis_table,8,3           ; @ucs_a2_jis_table
	.comm	_ucs_i_jis_table_min,4,2        ; @ucs_i_jis_table_min
	.comm	_ucs_i_jis_table_max,4,2        ; @ucs_i_jis_table_max
	.comm	_ucs_i_jis_table,8,3            ; @ucs_i_jis_table
	.comm	_ucs_r_jis_table_min,4,2        ; @ucs_r_jis_table_min
	.comm	_ucs_r_jis_table_max,4,2        ; @ucs_r_jis_table_max
	.comm	_ucs_r_jis_table,8,3            ; @ucs_r_jis_table
	.comm	_MBFL_WCSPLANE_MASK,4,2         ; @MBFL_WCSPLANE_MASK
	.comm	_MBFL_WCSPLANE_JIS0208,4,2      ; @MBFL_WCSPLANE_JIS0208
	.comm	_MBFL_WCSPLANE_JIS0212,4,2      ; @MBFL_WCSPLANE_JIS0212
.subsections_via_symbols
