	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pg_eucjp_verifier
_pg_eucjp_verifier:                     ## @pg_eucjp_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	movb	(%rdi), %al
	cmpb	$-128, %al
	je	LBB0_4
## %bb.1:
	cmpb	$-127, %al
	jne	LBB0_7
## %bb.2:
	movl	$-1, %r14d
	cmpl	$2, %ebx
	jl	LBB0_14
## %bb.3:
	movb	1(%r15), %al
	addb	$32, %al
	movl	$2, %ecx
	cmpb	$-63, %al
	jae	LBB0_13
	jmp	LBB0_14
LBB0_4:
	movl	$-1, %r14d
	cmpl	$3, %ebx
	jl	LBB0_14
## %bb.5:
	movzbl	1(%r15), %edi
	callq	_IS_EUC_RANGE_VALID
	testl	%eax, %eax
	je	LBB0_14
## %bb.6:
	movzbl	2(%r15), %edi
	callq	_IS_EUC_RANGE_VALID
	movl	$3, %ecx
	testl	%eax, %eax
	jne	LBB0_13
	jmp	LBB0_14
LBB0_7:
	movzbl	%al, %r12d
	movl	%r12d, %edi
	callq	_IS_HIGHBIT_SET
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movl	$-1, %r14d
	cmpl	$2, %ebx
	jl	LBB0_14
## %bb.10:
	movl	%r12d, %edi
	callq	_IS_EUC_RANGE_VALID
	testl	%eax, %eax
	je	LBB0_14
## %bb.11:
	movzbl	1(%r15), %edi
	callq	_IS_EUC_RANGE_VALID
	movl	$2, %ecx
	testl	%eax, %eax
	jne	LBB0_13
	jmp	LBB0_14
LBB0_8:
	movl	$1, %ecx
LBB0_13:
	movl	%ecx, %r14d
LBB0_14:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pg_eucjp_verifier
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pg_eucjp_verifier
_pg_eucjp_verifier:                     ; @pg_eucjp_verifier
	.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
	ldrb	w21, [x0]
	cmp	w21, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w21, #129
	b.ne	LBB0_8
; %bb.2:
	cmp	w20, #2
	b.lt	LBB0_13
; %bb.3:
	ldrb	w8, [x19, #1]
	add	w8, w8, #32
	and	w8, w8, #0xff
	cmp	w8, #193
	b.hs	LBB0_12
	b	LBB0_13
LBB0_4:
	cmp	w20, #3
	b.lt	LBB0_13
; %bb.5:
	ldrb	w0, [x19, #1]
	bl	_IS_EUC_RANGE_VALID
	cbz	w0, LBB0_13
; %bb.6:
	ldrb	w0, [x19, #2]
	bl	_IS_EUC_RANGE_VALID
	cbz	w0, LBB0_13
; %bb.7:
	mov	w0, #3
	b	LBB0_14
LBB0_8:
	mov	x0, x21
	bl	_IS_HIGHBIT_SET
	cbz	w0, LBB0_15
; %bb.9:
	cmp	w20, #2
	b.lt	LBB0_13
; %bb.10:
	mov	x0, x21
	bl	_IS_EUC_RANGE_VALID
	cbz	w0, LBB0_13
; %bb.11:
	ldrb	w0, [x19, #1]
	bl	_IS_EUC_RANGE_VALID
	cbz	w0, LBB0_13
LBB0_12:
	mov	w0, #2
	b	LBB0_14
LBB0_13:
	mov	w0, #-1
LBB0_14:
	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_15:
	mov	w0, #1
	b	LBB0_14
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pg_eucjp_verifier
.subsections_via_symbols
