	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pg_gb18030_verifier
_pg_gb18030_verifier:                   ## @pg_gb18030_verifier
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movzbl	(%rdi), %edi
	callq	_IS_HIGHBIT_SET
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$4, %ebx
	jl	LBB0_8
## %bb.3:
	movb	1(%r14), %al
	addb	$-48, %al
	cmpb	$9, %al
	ja	LBB0_9
## %bb.4:
	movb	(%r14), %al
	incb	%al
	cmpb	$-126, %al
	jb	LBB0_7
## %bb.5:
	movb	2(%r14), %al
	incb	%al
	cmpb	$-126, %al
	jb	LBB0_7
## %bb.6:
	movb	3(%r14), %cl
	addb	$-48, %cl
	movl	$4, %eax
	cmpb	$10, %cl
	jb	LBB0_12
LBB0_7:
	movl	$-1, %eax
	jmp	LBB0_12
LBB0_1:
	movl	$1, %eax
	jmp	LBB0_12
LBB0_8:
	movl	$-1, %eax
	cmpl	$2, %ebx
	jl	LBB0_12
LBB0_9:
	movb	(%r14), %cl
	incb	%cl
	movl	$-1, %eax
	cmpb	$-126, %cl
	jb	LBB0_12
## %bb.10:
	movb	1(%r14), %cl
	leal	-64(%rcx), %edx
	movl	$2, %eax
	cmpb	$63, %dl
	jb	LBB0_12
## %bb.11:
	xorl	%eax, %eax
	cmpb	$-1, %cl
	setl	%al
	leal	(%rax,%rax,2), %eax
	decl	%eax
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pg_gb18030_verifier
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pg_gb18030_verifier
_pg_gb18030_verifier:                   ; @pg_gb18030_verifier
	.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
	ldrb	w0, [x0]
	bl	_IS_HIGHBIT_SET
	cbz	w0, LBB0_7
; %bb.1:
	cmp	w20, #4
	b.lt	LBB0_8
; %bb.2:
	ldrb	w8, [x19, #1]
	sub	w8, w8, #48
	cmp	w8, #9
	b.hi	LBB0_9
; %bb.3:
	ldrb	w8, [x19]
	add	w8, w8, #1
	and	w8, w8, #0xff
	cmp	w8, #130
	b.lo	LBB0_10
; %bb.4:
	ldrb	w8, [x19, #2]
	add	w8, w8, #1
	and	w8, w8, #0xff
	cmp	w8, #130
	b.lo	LBB0_10
; %bb.5:
	ldrb	w8, [x19, #3]
	sub	w8, w8, #48
	cmp	w8, #10
	b.hs	LBB0_10
; %bb.6:
	mov	w0, #4
	b	LBB0_12
LBB0_7:
	mov	w0, #1
	b	LBB0_12
LBB0_8:
	cmp	w20, #2
	b.lt	LBB0_10
LBB0_9:
	ldrb	w8, [x19]
	add	w8, w8, #1
	and	w8, w8, #0xff
	cmp	w8, #130
	b.hs	LBB0_11
LBB0_10:
	mov	w0, #-1
	b	LBB0_12
LBB0_11:
	ldrb	w8, [x19, #1]
	sub	w9, w8, #64
	mov	w10, #2
	mov	w11, #-2
	cmp	w11, w8, sxtb
	csinv	w8, w10, wzr, ge
	cmp	w9, #63
	csel	w0, w10, w8, lo
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pg_gb18030_verifier
.subsections_via_symbols
