	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mbfl_filt_ident_gb18030
_mbfl_filt_ident_gb18030:               ## @mbfl_filt_ident_gb18030
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	movl	(%rsi), %ecx
	movzbl	%cl, %edx
	movl	%edx, (%rsi)
	cmpb	$3, %cl
	ja	LBB0_5
## %bb.1:
	movzbl	%cl, %edx
	leaq	LJTI0_0(%rip), %rdi
	movslq	(%rdi,%rdx,4), %rdx
	addq	%rdi, %rdx
	jmpq	*%rdx
LBB0_2:
	cmpl	$129, %eax
	jl	LBB0_13
## %bb.3:
	cmpl	$255, %eax
	je	LBB0_13
## %bb.4:
	movl	%eax, %ecx
	shll	$8, %ecx
	orl	$1, %ecx
	movl	%ecx, (%rsi)
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_5:
	movl	$1, 4(%rsi)
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_6:
	movzbl	%ch, %edx
	leal	-129(%rdx), %r10d
	leal	-48(%rax), %edi
	cmpl	$4, %r10d
	jae	LBB0_15
## %bb.7:
	cmpl	$9, %edi
	jbe	LBB0_17
## %bb.8:
	xorl	%r8d, %r8d
	jmp	LBB0_24
LBB0_9:
	leal	-129(%rax), %ecx
	cmpl	$125, %ecx
	ja	LBB0_42
## %bb.10:
	movl	$3, (%rsi)
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_11:
	movl	%eax, %ecx
	andl	$-16, %ecx
	cmpl	$48, %ecx
	je	LBB0_13
LBB0_42:
	movabsq	$4294967296, %rcx               ## imm = 0x100000000
	movq	%rcx, (%rsi)
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_15:
	cmpl	$9, %edi
	ja	LBB0_18
## %bb.16:
	leal	-144(%rdx), %edi
	cmpl	$84, %edi
	jae	LBB0_18
LBB0_17:
	movl	$2, (%rsi)
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_18:
	cmpl	$170, %edx
	setae	%r8b
	leal	-170(%rdx), %edi
	cmpl	$6, %edi
	jae	LBB0_20
## %bb.19:
	leal	-161(%rax), %edi
	cmpl	$93, %edi
	jbe	LBB0_13
	jmp	LBB0_24
LBB0_20:
	leal	-161(%rax), %edi
	cmpl	$93, %edi
	ja	LBB0_24
## %bb.21:
	cmpl	$248, %edx
	jb	LBB0_24
## %bb.22:
	cmpl	$255, %edx
	jne	LBB0_13
LBB0_24:
	leal	-161(%rdx), %edi
	leal	-64(%rax), %r9d
	cmpl	$127, %eax
	je	LBB0_28
## %bb.25:
	cmpl	$96, %r9d
	ja	LBB0_28
## %bb.26:
	cmpl	$6, %edi
	jbe	LBB0_13
LBB0_28:
	leal	-161(%rax), %r11d
	cmpl	$93, %r11d
	ja	LBB0_30
## %bb.29:
	cmpl	$9, %edi
	jb	LBB0_13
LBB0_30:
	cmpl	$93, %r11d
	ja	LBB0_32
## %bb.31:
	leal	-176(%rdx), %edi
	cmpl	$72, %edi
	jb	LBB0_13
LBB0_32:
	cmpl	$127, %eax
	je	LBB0_35
## %bb.33:
	cmpl	$190, %r9d
	ja	LBB0_35
## %bb.34:
	cmpl	$32, %r10d
	jb	LBB0_13
LBB0_35:
	cmpl	$255, %edx
	setne	%dl
	cmpl	$127, %eax
	je	LBB0_38
## %bb.36:
	cmpl	$96, %r9d
	ja	LBB0_38
## %bb.37:
	andb	%r8b, %dl
	jne	LBB0_13
LBB0_38:
	cmpl	$127, %eax
	je	LBB0_42
## %bb.39:
	cmpl	$96, %r9d
	ja	LBB0_42
## %bb.40:
	andl	$65024, %ecx                    ## imm = 0xFE00
	cmpl	$43008, %ecx                    ## imm = 0xA800
	jne	LBB0_42
LBB0_13:
	movl	$0, (%rsi)
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_mbfl_filt_ident_gb18030
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function mbfl_filt_ident_gb18030
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_mbfl_filt_ident_gb18030:               ; @mbfl_filt_ident_gb18030
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	and	w9, w8, #0xff
	str	w9, [x1]
	cmp	w9, #3
	b.hi	LBB0_5
; %bb.1:
	and	x9, x8, #0xff
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	cmp	w0, #129
	b.lt	LBB0_37
; %bb.3:
	cmp	w0, #255
	b.eq	LBB0_37
; %bb.4:
	mov	w8, #1
	bfi	w8, w0, #8, #24
	str	w8, [x1]
	ret
LBB0_5:
	mov	w8, #1
	str	w8, [x1, #4]
	ret
LBB0_6:
	ubfx	w9, w8, #8, #8
	sub	w10, w9, #129
	sub	w11, w0, #48
	cmp	w10, #4
	b.hs	LBB0_13
; %bb.7:
	cmp	w11, #9
	b.ls	LBB0_15
; %bb.8:
	mov	w11, #0
	b	LBB0_21
LBB0_9:
	sub	w8, w0, #129
	cmp	w8, #125
	b.hi	LBB0_12
; %bb.10:
	mov	w8, #3
	str	w8, [x1]
	ret
LBB0_11:
	and	w8, w0, #0xfffffff0
	cmp	w8, #48
	b.eq	LBB0_37
LBB0_12:
Lloh2:
	adrp	x8, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x1]
	ret
LBB0_13:
	cmp	w11, #9
	b.hi	LBB0_16
; %bb.14:
	sub	w11, w9, #144
	cmp	w11, #84
	b.hs	LBB0_16
LBB0_15:
	mov	w8, #2
	str	w8, [x1]
	ret
LBB0_16:
	cmp	w9, #169
	cset	w11, hi
	sub	w12, w9, #170
	cmp	w12, #6
	b.hs	LBB0_18
; %bb.17:
	sub	w12, w0, #161
	cmp	w12, #93
	b.ls	LBB0_37
	b	LBB0_21
LBB0_18:
	sub	w12, w0, #161
	cmp	w12, #93
	b.hi	LBB0_21
; %bb.19:
	cmp	w9, #248
	b.lo	LBB0_21
; %bb.20:
	cmp	w9, #255
	b.ne	LBB0_37
LBB0_21:
	sub	w13, w9, #161
	sub	w12, w0, #64
	cmp	w0, #127
	b.eq	LBB0_24
; %bb.22:
	cmp	w12, #96
	b.hi	LBB0_24
; %bb.23:
	cmp	w13, #6
	b.ls	LBB0_37
LBB0_24:
	sub	w14, w0, #161
	cmp	w14, #93
	b.hi	LBB0_26
; %bb.25:
	cmp	w13, #9
	b.lo	LBB0_37
LBB0_26:
	cmp	w14, #93
	b.hi	LBB0_28
; %bb.27:
	sub	w13, w9, #176
	cmp	w13, #72
	b.lo	LBB0_37
LBB0_28:
	cmp	w0, #127
	b.eq	LBB0_31
; %bb.29:
	cmp	w12, #190
	b.hi	LBB0_31
; %bb.30:
	cmp	w10, #32
	b.lo	LBB0_37
LBB0_31:
	cmp	w9, #255
	cset	w9, ne
	cmp	w0, #127
	b.eq	LBB0_34
; %bb.32:
	cmp	w12, #96
	b.hi	LBB0_34
; %bb.33:
	and	w9, w9, w11
	tbnz	w9, #0, LBB0_37
LBB0_34:
	cmp	w0, #127
	b.eq	LBB0_12
; %bb.35:
	cmp	w12, #96
	b.hi	LBB0_12
; %bb.36:
	and	w8, w8, #0xfe00
	mov	w9, #43008
	cmp	w8, w9
	b.ne	LBB0_12
LBB0_37:
	str	wzr, [x1]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdr	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.no_dead_strip	_mbfl_filt_ident_gb18030
.subsections_via_symbols
