	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_encoding_detector_judge   ## -- Begin function mbfl_encoding_detector_judge
	.p2align	4, 0x90
_mbfl_encoding_detector_judge:          ## @mbfl_encoding_detector_judge
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movl	(%rdi), %r8d
	testl	%r8d, %r8d
	jle	LBB0_12
## %bb.2:
	movq	8(%rdi), %rdx
	leaq	1(%r8), %rsi
	xorl	%eax, %eax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rcx), %rax
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	decq	%rsi
	cmpq	$1, %rsi
	jbe	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%rsi), %ecx
	movq	(%rdx,%rcx,8), %rcx
	cmpl	$0, 8(%rcx)
	jne	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, 16(%rdi)
	je	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, 12(%rcx)
	jne	LBB0_4
	jmp	LBB0_3
LBB0_12:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_8:
	testq	%rax, %rax
	je	LBB0_9
LBB0_16:
	popq	%rbp
	retq
LBB0_9:
	movq	8(%rdi), %rdx
	testb	$1, %r8b
	jne	LBB0_13
## %bb.10:
	xorl	%eax, %eax
	movq	%r8, %rsi
	cmpl	$1, %r8d
	jne	LBB0_17
	jmp	LBB0_16
LBB0_13:
	leaq	-1(%r8), %rsi
	movl	%esi, %eax
	movq	(%rdx,%rax,8), %rax
	cmpl	$0, 8(%rax)
	je	LBB0_15
## %bb.14:
	xorl	%eax, %eax
	cmpl	$1, %r8d
	je	LBB0_16
	jmp	LBB0_17
LBB0_15:
	movq	(%rax), %rax
	cmpl	$1, %r8d
	je	LBB0_16
LBB0_17:
	addq	$-2, %rsi
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_19 Depth=1
	leaq	-2(%rsi), %rcx
	incq	%rsi
	cmpq	$1, %rsi
	movq	%rcx, %rsi
	jbe	LBB0_16
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	leal	1(%rsi), %ecx
	movq	(%rdx,%rcx,8), %rcx
	cmpl	$0, 8(%rcx)
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	(%rcx), %rax
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=1
	movl	%esi, %ecx
	movq	(%rdx,%rcx,8), %rcx
	cmpl	$0, 8(%rcx)
	jne	LBB0_18
## %bb.22:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	(%rcx), %rax
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_encoding_detector_judge   ; -- Begin function mbfl_encoding_detector_judge
	.p2align	2
_mbfl_encoding_detector_judge:          ; @mbfl_encoding_detector_judge
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_9
; %bb.1:
	mov	x8, x0
	ldr	w9, [x0]
	cmp	w9, #1
	b.lt	LBB0_10
; %bb.2:
	mov	x0, #0
	ldr	x10, [x8, #8]
	add	x11, x9, #1
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x12]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	sub	x11, x11, #1
	cmp	x11, #1
	b.ls	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	w12, w11, #2
	ldr	x12, [x10, w12, uxtw #3]
	ldr	w13, [x12, #8]
	cbnz	w13, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w13, [x8, #16]
	cbz	w13, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w13, [x12, #12]
	cbnz	w13, LBB0_4
	b	LBB0_3
LBB0_8:
	cbz	x0, LBB0_11
LBB0_9:
	ret
LBB0_10:
	mov	x0, #0
	ret
LBB0_11:
	ldr	x8, [x8, #8]
	add	x9, x9, #1
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	sub	x9, x9, #1
	cmp	x9, #1
	b.ls	LBB0_9
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	sub	w10, w9, #2
	ldr	x10, [x8, w10, uxtw #3]
	ldr	w11, [x10, #8]
	cbnz	w11, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x0, [x10]
	b	LBB0_12
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
