	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mask2plen                      ## -- Begin function mask2plen
	.p2align	4, 0x90
_mask2plen:                             ## @mask2plen
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$30, %ecx
	leaq	l___const.mask2plen.bitmasks(%rip), %rdx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leal	2(%rcx), %eax
	cmpl	%edi, (%rdx,%rax,4)
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	1(%rcx), %eax
	cmpl	%edi, (%rdx,%rax,4)
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ecx, %eax
	cmpl	%edi, (%rdx,%rax,4)
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	addl	$-3, %ecx
	cmpl	$-3, %ecx
	jne	LBB0_1
## %bb.5:
	movl	$-1, %eax
LBB0_6:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_7:
	movl	%ecx, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.mask2plen.bitmasks
l___const.mask2plen.bitmasks:
	.long	0                               ## 0x0
	.long	2147483648                      ## 0x80000000
	.long	3221225472                      ## 0xc0000000
	.long	3758096384                      ## 0xe0000000
	.long	4026531840                      ## 0xf0000000
	.long	4160749568                      ## 0xf8000000
	.long	4227858432                      ## 0xfc000000
	.long	4261412864                      ## 0xfe000000
	.long	4278190080                      ## 0xff000000
	.long	4286578688                      ## 0xff800000
	.long	4290772992                      ## 0xffc00000
	.long	4292870144                      ## 0xffe00000
	.long	4293918720                      ## 0xfff00000
	.long	4294443008                      ## 0xfff80000
	.long	4294705152                      ## 0xfffc0000
	.long	4294836224                      ## 0xfffe0000
	.long	4294901760                      ## 0xffff0000
	.long	4294934528                      ## 0xffff8000
	.long	4294950912                      ## 0xffffc000
	.long	4294959104                      ## 0xffffe000
	.long	4294963200                      ## 0xfffff000
	.long	4294965248                      ## 0xfffff800
	.long	4294966272                      ## 0xfffffc00
	.long	4294966784                      ## 0xfffffe00
	.long	4294967040                      ## 0xffffff00
	.long	4294967168                      ## 0xffffff80
	.long	4294967232                      ## 0xffffffc0
	.long	4294967264                      ## 0xffffffe0
	.long	4294967280                      ## 0xfffffff0
	.long	4294967288                      ## 0xfffffff8
	.long	4294967292                      ## 0xfffffffc
	.long	4294967294                      ## 0xfffffffe
	.long	4294967295                      ## 0xffffffff

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mask2plen                      ; -- Begin function mask2plen
	.p2align	2
_mask2plen:                             ; @mask2plen
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	w0, #32
Lloh0:
	adrp	x9, l___const.mask2plen.bitmasks@PAGE
Lloh1:
	add	x9, x9, l___const.mask2plen.bitmasks@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9, w0, uxtw #2]
	cmp	w10, w8
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	w0, w0, #1
	cmn	w0, #1
	b.ne	LBB0_1
LBB0_3:
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.mask2plen.bitmasks
l___const.mask2plen.bitmasks:
	.long	0                               ; 0x0
	.long	2147483648                      ; 0x80000000
	.long	3221225472                      ; 0xc0000000
	.long	3758096384                      ; 0xe0000000
	.long	4026531840                      ; 0xf0000000
	.long	4160749568                      ; 0xf8000000
	.long	4227858432                      ; 0xfc000000
	.long	4261412864                      ; 0xfe000000
	.long	4278190080                      ; 0xff000000
	.long	4286578688                      ; 0xff800000
	.long	4290772992                      ; 0xffc00000
	.long	4292870144                      ; 0xffe00000
	.long	4293918720                      ; 0xfff00000
	.long	4294443008                      ; 0xfff80000
	.long	4294705152                      ; 0xfffc0000
	.long	4294836224                      ; 0xfffe0000
	.long	4294901760                      ; 0xffff0000
	.long	4294934528                      ; 0xffff8000
	.long	4294950912                      ; 0xffffc000
	.long	4294959104                      ; 0xffffe000
	.long	4294963200                      ; 0xfffff000
	.long	4294965248                      ; 0xfffff800
	.long	4294966272                      ; 0xfffffc00
	.long	4294966784                      ; 0xfffffe00
	.long	4294967040                      ; 0xffffff00
	.long	4294967168                      ; 0xffffff80
	.long	4294967232                      ; 0xffffffc0
	.long	4294967264                      ; 0xffffffe0
	.long	4294967280                      ; 0xfffffff0
	.long	4294967288                      ; 0xfffffff8
	.long	4294967292                      ; 0xfffffffc
	.long	4294967294                      ; 0xfffffffe
	.long	4294967295                      ; 0xffffffff

.subsections_via_symbols
