	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mask2len
_mask2len:                              ## @mask2len
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	movl	%esi, %r8d
	shll	$3, %esi
	xorl	%edx, %edx
	xorl	%eax, %eax
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rdx,4), %ecx
	cmpl	$255, %ecx
	jne	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	addl	$8, %eax
	incq	%rdx
	cmpl	%edx, %r8d
	jne	LBB0_3
## %bb.9:
	movl	%esi, %eax
	popq	%rbp
	retq
LBB0_4:
	leal	-224(%rcx), %edx
	cmpl	$30, %edx
	ja	LBB0_5
## %bb.17:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rdx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_14:
	addl	$3, %eax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_5:
	cmpl	$128, %ecx
	je	LBB0_15
## %bb.6:
	cmpl	$192, %ecx
	jne	LBB0_16
## %bb.7:
	addl	$2, %eax
	popq	%rbp
	retq
LBB0_13:
	addl	$4, %eax
	popq	%rbp
	retq
LBB0_12:
	addl	$5, %eax
	popq	%rbp
	retq
LBB0_11:
	addl	$6, %eax
	popq	%rbp
	retq
LBB0_10:
	addl	$7, %eax
	popq	%rbp
	retq
LBB0_15:
	incl	%eax
LBB0_16:
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_13
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_12
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_11
	.long	L0_0_set_16
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_mask2len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mask2len
_mask2len:                              ; @mask2len
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	lsl	w9, w1, #3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8]
	cmp	w10, #255
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w0, w0, #8
	add	x8, x8, #4
	subs	w1, w1, #1
	b.ne	LBB0_2
; %bb.4:
	mov	x0, x9
	ret
LBB0_5:
	sub	w8, w10, #224
	cmp	w8, #30
	b.hi	LBB0_9
; %bb.6:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
	add	w0, w0, #3
	ret
LBB0_8:
	mov	w0, #0
	ret
LBB0_9:
	cmp	w10, #128
	b.eq	LBB0_16
; %bb.10:
	cmp	w10, #192
	b.ne	LBB0_17
; %bb.11:
	add	w0, w0, #2
	ret
LBB0_12:
	add	w0, w0, #4
	ret
LBB0_13:
	add	w0, w0, #5
	ret
LBB0_14:
	add	w0, w0, #6
	ret
LBB0_15:
	add	w0, w0, #7
	ret
LBB0_16:
	add	w0, w0, #1
LBB0_17:
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_12-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_14-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_15-LBB0_7)>>2
                                        ; -- End function
	.no_dead_strip	_mask2len
.subsections_via_symbols
