	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_hz        ## -- Begin function mbfl_filt_conv_wchar_hz
	.p2align	4, 0x90
_mbfl_filt_conv_wchar_hz:               ## @mbfl_filt_conv_wchar_hz
	.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, %r14
	movl	%edi, %r15d
	movq	_ucs_a1_cp936_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%edi, %eax
	jg	LBB0_4
## %bb.1:
	movq	_ucs_a1_cp936_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jle	LBB0_4
## %bb.2:
	movq	_ucs_a1_cp936_table@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_4:
	movq	_ucs_a2_cp936_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r15d, %eax
	jg	LBB0_7
## %bb.5:
	movq	_ucs_a2_cp936_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jle	LBB0_7
## %bb.6:
	movq	_ucs_a2_cp936_table@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_7:
	movq	_ucs_a3_cp936_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r15d, %eax
	jg	LBB0_10
## %bb.8:
	movq	_ucs_a3_cp936_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jle	LBB0_10
## %bb.9:
	movq	_ucs_a3_cp936_table@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_10:
	movq	_ucs_i_cp936_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r15d, %eax
	jg	LBB0_13
## %bb.11:
	movq	_ucs_i_cp936_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jle	LBB0_13
## %bb.12:
	movq	_ucs_i_cp936_table@GOTPCREL(%rip), %rcx
LBB0_3:
	movq	(%rcx), %rcx
	movl	%r15d, %edx
	subl	%eax, %edx
	movslq	%edx, %rax
	movl	(%rcx,%rax,4), %eax
LBB0_23:
	leal	-32896(%rax), %ebx
	testl	$32768, %eax                    ## imm = 0x8000
	cmovel	%eax, %ebx
	testl	%ebx, %ebx
	jle	LBB0_24
## %bb.26:
	cmpl	$32896, %ebx                    ## imm = 0x8080
	ja	LBB0_37
## %bb.27:
	leal	-128(%rbx), %eax
	cmpl	$8353, %eax                     ## imm = 0x20A1
	jb	LBB0_37
## %bb.28:
	cmpl	$127, %ebx
	jbe	LBB0_29
## %bb.34:
	movzbl	1(%r14), %eax
	shll	$8, %eax
	cmpl	$512, %eax                      ## imm = 0x200
	je	LBB0_36
## %bb.35:
	movl	4(%r14), %esi
	movl	$126, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	4(%r14), %esi
	movl	$123, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
LBB0_36:
	movl	$512, (%r14)                    ## imm = 0x200
	movl	%ebx, %edi
	shrl	$8, %edi
	andl	$127, %edi
	movl	4(%r14), %esi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	andl	$127, %ebx
	jmp	LBB0_33
LBB0_24:
	testl	%r15d, %r15d
	je	LBB0_25
LBB0_37:
	movl	%r15d, %edi
	movq	%r14, %rsi
	callq	_mbfl_filt_conv_illegal_output
	jmp	LBB0_38
LBB0_25:
	xorl	%ebx, %ebx
LBB0_29:
	cmpb	$0, 1(%r14)
	je	LBB0_31
## %bb.30:
	movl	4(%r14), %esi
	movl	$126, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	4(%r14), %esi
	movl	$125, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
LBB0_31:
	movl	$0, (%r14)
	cmpl	$126, %ebx
	jne	LBB0_33
## %bb.32:
	movl	4(%r14), %esi
	movl	$126, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
LBB0_33:
	movl	4(%r14), %esi
	movl	%ebx, %edi
	callq	*8(%r14)
LBB0_38:
	movl	%eax, %edi
	callq	_CK
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_ucs_hff_cp936_table_min@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	%r15d, (%rcx)
	jg	LBB0_23
## %bb.14:
	movq	_ucs_hff_cp936_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jle	LBB0_23
## %bb.15:
	cmpl	$65284, %r15d                   ## imm = 0xFF04
	je	LBB0_16
## %bb.17:
	cmpl	$65374, %r15d                   ## imm = 0xFF5E
	jne	LBB0_19
## %bb.18:
	movl	$41387, %eax                    ## imm = 0xA1AB
	jmp	LBB0_23
LBB0_16:
	movl	$41447, %eax                    ## imm = 0xA1E7
	jmp	LBB0_23
LBB0_19:
	leal	-65281(%r15), %ecx
	cmpl	$92, %ecx
	ja	LBB0_21
## %bb.20:
	leal	-23392(%r15), %eax
	jmp	LBB0_23
LBB0_21:
	leal	-65504(%r15), %ecx
	cmpl	$5, %ecx
	ja	LBB0_23
## %bb.22:
	movq	_ucs_hff_s_cp936_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ecx, %ecx
	movl	(%rax,%rcx,4), %eax
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_ucs_a1_cp936_table_min,4,2     ## @ucs_a1_cp936_table_min
	.comm	_ucs_a1_cp936_table_max,4,2     ## @ucs_a1_cp936_table_max
	.comm	_ucs_a1_cp936_table,8,3         ## @ucs_a1_cp936_table
	.comm	_ucs_a2_cp936_table_min,4,2     ## @ucs_a2_cp936_table_min
	.comm	_ucs_a2_cp936_table_max,4,2     ## @ucs_a2_cp936_table_max
	.comm	_ucs_a2_cp936_table,8,3         ## @ucs_a2_cp936_table
	.comm	_ucs_a3_cp936_table_min,4,2     ## @ucs_a3_cp936_table_min
	.comm	_ucs_a3_cp936_table_max,4,2     ## @ucs_a3_cp936_table_max
	.comm	_ucs_a3_cp936_table,8,3         ## @ucs_a3_cp936_table
	.comm	_ucs_i_cp936_table_min,4,2      ## @ucs_i_cp936_table_min
	.comm	_ucs_i_cp936_table_max,4,2      ## @ucs_i_cp936_table_max
	.comm	_ucs_i_cp936_table,8,3          ## @ucs_i_cp936_table
	.comm	_ucs_hff_cp936_table_min,4,2    ## @ucs_hff_cp936_table_min
	.comm	_ucs_hff_cp936_table_max,4,2    ## @ucs_hff_cp936_table_max
	.comm	_ucs_hff_s_cp936_table,8,3      ## @ucs_hff_s_cp936_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_hz        ; -- Begin function mbfl_filt_conv_wchar_hz
	.p2align	2
_mbfl_filt_conv_wchar_hz:               ; @mbfl_filt_conv_wchar_hz
	.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_cp936_table_min@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ucs_a1_cp936_table_min@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ucs_a1_cp936_table_max@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ucs_a1_cp936_table_max@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w0
	ccmp	w9, w0, #4, le
	b.gt	LBB0_6
; %bb.1:
Lloh6:
	adrp	x8, _ucs_a2_cp936_table_min@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ucs_a2_cp936_table_min@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _ucs_a2_cp936_table_max@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ucs_a2_cp936_table_max@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, le
	b.gt	LBB0_7
; %bb.2:
Lloh12:
	adrp	x8, _ucs_a3_cp936_table_min@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ucs_a3_cp936_table_min@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _ucs_a3_cp936_table_max@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ucs_a3_cp936_table_max@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, le
	b.gt	LBB0_8
; %bb.3:
Lloh18:
	adrp	x8, _ucs_i_cp936_table_min@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ucs_i_cp936_table_min@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _ucs_i_cp936_table_max@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ucs_i_cp936_table_max@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, le
	b.gt	LBB0_9
; %bb.4:
Lloh24:
	adrp	x8, _ucs_hff_cp936_table_min@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ucs_hff_cp936_table_min@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _ucs_hff_cp936_table_max@GOTPAGE
Lloh28:
	ldr	x9, [x9, _ucs_hff_cp936_table_max@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, le
	b.gt	LBB0_27
LBB0_5:
	mov	w8, #0
	b	LBB0_11
LBB0_6:
Lloh30:
	adrp	x9, _ucs_a1_cp936_table@GOTPAGE
Lloh31:
	ldr	x9, [x9, _ucs_a1_cp936_table@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
Lloh32:
	adrp	x9, _ucs_a2_cp936_table@GOTPAGE
Lloh33:
	ldr	x9, [x9, _ucs_a2_cp936_table@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh34:
	adrp	x9, _ucs_a3_cp936_table@GOTPAGE
Lloh35:
	ldr	x9, [x9, _ucs_a3_cp936_table@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh36:
	adrp	x9, _ucs_i_cp936_table@GOTPAGE
Lloh37:
	ldr	x9, [x9, _ucs_i_cp936_table@GOTPAGEOFF]
LBB0_10:
	ldr	x9, [x9]
	sub	w8, w19, w8
	ldr	w8, [x9, w8, sxtw #2]
LBB0_11:
	mov	w9, #-32896
	add	w9, w8, w9
	tst	w8, #0x8000
	csel	w21, w8, w9, eq
	cmp	w21, #0
	b.le	LBB0_17
; %bb.12:
	sub	w8, w21, #128
	mov	w9, #32896
	cmp	w21, w9
	mov	w9, #8353
	ccmp	w8, w9, #0, ls
	b.lo	LBB0_18
; %bb.13:
	cmp	w21, #127
	b.ls	LBB0_20
; %bb.14:
	ldrb	w8, [x20, #1]
	lsl	w8, w8, #8
	cmp	w8, #512
	b.eq	LBB0_16
; %bb.15:
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #126
	blr	x8
	bl	_CK
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #123
	blr	x8
	bl	_CK
LBB0_16:
	mov	w8, #512
	str	w8, [x20]
	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]
	b	LBB0_25
LBB0_17:
	cbz	w19, LBB0_19
LBB0_18:
	mov	x0, x19
	mov	x1, x20
	bl	_mbfl_filt_conv_illegal_output
	b	LBB0_26
LBB0_19:
	mov	w21, #0
LBB0_20:
	ldrb	w8, [x20, #1]
	cbz	w8, LBB0_22
; %bb.21:
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #126
	blr	x8
	bl	_CK
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #125
	blr	x8
	bl	_CK
LBB0_22:
	str	wzr, [x20]
	cmp	w21, #126
	b.ne	LBB0_24
; %bb.23:
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #126
	blr	x8
	bl	_CK
LBB0_24:
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	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, #65284
	cmp	w19, w8
	b.eq	LBB0_30
; %bb.28:
	mov	w8, #65374
	cmp	w19, w8
	b.ne	LBB0_31
; %bb.29:
	mov	w8, #41387
	b	LBB0_11
LBB0_30:
	mov	w8, #41447
	b	LBB0_11
LBB0_31:
	mov	w8, #-65281
	add	w8, w19, w8
	cmp	w8, #92
	b.hi	LBB0_33
; %bb.32:
	mov	w8, #-23392
	add	w8, w19, w8
	b	LBB0_11
LBB0_33:
	mov	w8, #-65504
	add	w8, w19, w8
	cmp	w8, #5
	b.hi	LBB0_5
; %bb.34:
Lloh38:
	adrp	x9, _ucs_hff_s_cp936_table@GOTPAGE
Lloh39:
	ldr	x9, [x9, _ucs_hff_s_cp936_table@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	ldr	w8, [x9, w8, uxtw #2]
	b	LBB0_11
	.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 AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_ucs_a1_cp936_table_min,4,2     ; @ucs_a1_cp936_table_min
	.comm	_ucs_a1_cp936_table_max,4,2     ; @ucs_a1_cp936_table_max
	.comm	_ucs_a1_cp936_table,8,3         ; @ucs_a1_cp936_table
	.comm	_ucs_a2_cp936_table_min,4,2     ; @ucs_a2_cp936_table_min
	.comm	_ucs_a2_cp936_table_max,4,2     ; @ucs_a2_cp936_table_max
	.comm	_ucs_a2_cp936_table,8,3         ; @ucs_a2_cp936_table
	.comm	_ucs_a3_cp936_table_min,4,2     ; @ucs_a3_cp936_table_min
	.comm	_ucs_a3_cp936_table_max,4,2     ; @ucs_a3_cp936_table_max
	.comm	_ucs_a3_cp936_table,8,3         ; @ucs_a3_cp936_table
	.comm	_ucs_i_cp936_table_min,4,2      ; @ucs_i_cp936_table_min
	.comm	_ucs_i_cp936_table_max,4,2      ; @ucs_i_cp936_table_max
	.comm	_ucs_i_cp936_table,8,3          ; @ucs_i_cp936_table
	.comm	_ucs_hff_cp936_table_min,4,2    ; @ucs_hff_cp936_table_min
	.comm	_ucs_hff_cp936_table_max,4,2    ; @ucs_hff_cp936_table_max
	.comm	_ucs_hff_s_cp936_table,8,3      ; @ucs_hff_s_cp936_table
.subsections_via_symbols
