	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_koi8u_wchar     ## -- Begin function mbfl_filt_conv_koi8u_wchar
	.p2align	4, 0x90
_mbfl_filt_conv_koi8u_wchar:            ## @mbfl_filt_conv_koi8u_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, %rax
	movl	%edi, %ebx
	movq	_koi8u_ucs_table_min@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%edi, %edi
	js	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	cmpl	%ebx, %ecx
	jg	LBB0_8
LBB0_2:
	cmpl	$255, %ebx
	jg	LBB0_6
## %bb.3:
	cmpl	%ebx, %ecx
	jg	LBB0_6
## %bb.4:
	movq	_koi8u_ucs_table@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%ebx, %esi
	subl	%ecx, %esi
	movslq	%esi, %rcx
	movl	(%rdx,%rcx,4), %edi
	testl	%edi, %edi
	jg	LBB0_8
## %bb.5:
	movq	_MBFL_WCSPLANE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	andl	%ebx, %edi
	movq	_MBFL_WCSPLANE_KOI8U@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_6:
	movq	_MBFL_WCSGROUP_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	andl	%ebx, %edi
	movq	_MBFL_WCSGROUP_THROUGH@GOTPCREL(%rip), %rcx
LBB0_7:
	orl	(%rcx), %edi
LBB0_8:
	movl	(%rax), %esi
	callq	*8(%rax)
	movl	%eax, %edi
	callq	_CK
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_koi8u_ucs_table_min,4,2        ## @koi8u_ucs_table_min
	.comm	_koi8u_ucs_table,8,3            ## @koi8u_ucs_table
	.comm	_MBFL_WCSPLANE_MASK,4,2         ## @MBFL_WCSPLANE_MASK
	.comm	_MBFL_WCSPLANE_KOI8U,4,2        ## @MBFL_WCSPLANE_KOI8U
	.comm	_MBFL_WCSGROUP_MASK,4,2         ## @MBFL_WCSGROUP_MASK
	.comm	_MBFL_WCSGROUP_THROUGH,4,2      ## @MBFL_WCSGROUP_THROUGH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_koi8u_wchar     ; -- Begin function mbfl_filt_conv_koi8u_wchar
	.p2align	2
_mbfl_filt_conv_koi8u_wchar:            ; @mbfl_filt_conv_koi8u_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
Lloh0:
	adrp	x8, _koi8u_ucs_table_min@GOTPAGE
Lloh1:
	ldr	x8, [x8, _koi8u_ucs_table_min@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	x0, x19
	cmp	w8, w19
	b.gt	LBB0_8
LBB0_2:
	cmp	w19, #255
	b.gt	LBB0_6
; %bb.3:
	cmp	w8, w19
	b.gt	LBB0_6
; %bb.4:
Lloh3:
	adrp	x9, _koi8u_ucs_table@GOTPAGE
Lloh4:
	ldr	x9, [x9, _koi8u_ucs_table@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	sub	w8, w19, w8
	ldr	w0, [x9, w8, sxtw #2]
	cmp	w0, #0
	b.gt	LBB0_8
; %bb.5:
Lloh6:
	adrp	x8, _MBFL_WCSPLANE_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MBFL_WCSPLANE_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w8, w8, w19
Lloh9:
	adrp	x9, _MBFL_WCSPLANE_KOI8U@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MBFL_WCSPLANE_KOI8U@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh11:
	adrp	x8, _MBFL_WCSGROUP_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MBFL_WCSGROUP_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	and	w8, w8, w19
Lloh14:
	adrp	x9, _MBFL_WCSGROUP_THROUGH@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MBFL_WCSGROUP_THROUGH@GOTPAGEOFF]
LBB0_7:
	ldr	w9, [x9]
	orr	w0, w8, w9
LBB0_8:
	ldr	x8, [x1, #8]
	ldr	w1, [x1]
	blr	x8
	bl	_CK
	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 AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_koi8u_ucs_table_min,4,2        ; @koi8u_ucs_table_min
	.comm	_koi8u_ucs_table,8,3            ; @koi8u_ucs_table
	.comm	_MBFL_WCSPLANE_MASK,4,2         ; @MBFL_WCSPLANE_MASK
	.comm	_MBFL_WCSPLANE_KOI8U,4,2        ; @MBFL_WCSPLANE_KOI8U
	.comm	_MBFL_WCSGROUP_MASK,4,2         ; @MBFL_WCSGROUP_MASK
	.comm	_MBFL_WCSGROUP_THROUGH,4,2      ; @MBFL_WCSGROUP_THROUGH
.subsections_via_symbols
