	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_mb_eucjpms
_check_mb_eucjpms:                      ## @check_mb_eucjpms
	.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	(%rdi), %ecx
	xorl	%eax, %eax
	cmpl	$128, %ecx
	jl	LBB0_12
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movsbl	%cl, %edi
	callq	_valid_eucjpms
	subq	%rbx, %r14
	cmpq	$2, %r14
	jl	LBB0_4
## %bb.2:
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movsbl	1(%rbx), %edi
	callq	_valid_eucjpms
	movq	%rax, %rcx
	movl	$2, %eax
	testq	%rcx, %rcx
	jne	LBB0_12
LBB0_4:
	movsbl	(%rbx), %edi
	callq	_valid_eucjpms_ss2
	cmpq	$2, %r14
	jl	LBB0_7
## %bb.5:
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movsbl	1(%rbx), %edi
	callq	_valid_eucjpms_kata
	movq	%rax, %rcx
	movl	$2, %eax
	testq	%rcx, %rcx
	jne	LBB0_12
LBB0_7:
	movsbl	(%rbx), %edi
	callq	_valid_eucjpms_ss3
	cmpq	$3, %r14
	jl	LBB0_11
## %bb.8:
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movsbl	1(%rbx), %edi
	callq	_valid_eucjpms
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movsbl	2(%rbx), %edi
	callq	_valid_eucjpms
	movq	%rax, %rcx
	movl	$2, %eax
	testq	%rcx, %rcx
	jne	LBB0_12
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_check_mb_eucjpms
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_mb_eucjpms
_check_mb_eucjpms:                      ; @check_mb_eucjpms
	.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
	ldr	w8, [x0]
	cmp	w8, #128
	b.ge	LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_13
LBB0_2:
	mov	x20, x1
	mov	x19, x0
	sxtb	w0, w8
	bl	_valid_eucjpms
	sub	x20, x20, x19
	cmp	x20, #2
	b.lt	LBB0_5
; %bb.3:
	cbz	x0, LBB0_5
; %bb.4:
	ldrsb	w0, [x19, #1]
	bl	_valid_eucjpms
	cbnz	x0, LBB0_12
LBB0_5:
	ldrsb	w0, [x19]
	bl	_valid_eucjpms_ss2
	cmp	x20, #2
	b.lt	LBB0_8
; %bb.6:
	cbz	x0, LBB0_8
; %bb.7:
	ldrsb	w0, [x19, #1]
	bl	_valid_eucjpms_kata
	cbnz	x0, LBB0_12
LBB0_8:
	ldrsb	w0, [x19]
	bl	_valid_eucjpms_ss3
	cmp	x20, #2
	b.le	LBB0_1
; %bb.9:
	cbz	x0, LBB0_1
; %bb.10:
	ldrsb	w0, [x19, #1]
	bl	_valid_eucjpms
	cbz	x0, LBB0_1
; %bb.11:
	ldrsb	w0, [x19, #2]
	bl	_valid_eucjpms
	cbz	x0, LBB0_1
LBB0_12:
	mov	w0, #2
LBB0_13:
	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	_check_mb_eucjpms
.subsections_via_symbols
