	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function contigmask
_contigmask:                            ## @contigmask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	testl	%esi, %esi
	jle	LBB0_4
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ecx
	shrl	$3, %ecx
	movl	(%rdi,%rcx,4), %ecx
	movl	%eax, %edx
	notb	%dl
	andb	$7, %dl
	movzbl	%dl, %edx
	btl	%edx, %ecx
	jae	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	incl	%eax
	cmpl	%eax, %esi
	jne	LBB0_1
## %bb.3:
	movl	%esi, %eax
LBB0_4:
	leal	1(%rax), %ecx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, %ecx
	jge	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ecx, %edx
	shrl	$3, %edx
	movl	(%rdi,%rdx,4), %r8d
	movl	%ecx, %edx
	notb	%dl
	andb	$7, %dl
	movzbl	%dl, %edx
	incl	%ecx
	btl	%edx, %r8d
	jae	LBB0_5
## %bb.7:
	movl	$-1, %eax
LBB0_8:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_contigmask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function contigmask
_contigmask:                            ; @contigmask
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_5
; %bb.1:
	mov	w8, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mvn	w9, w8
	lsr	w10, w8, #3
	ldr	w10, [x0, w10, uxtw #2]
	and	w9, w9, #0x7
	lsr	w9, w10, w9
	tbz	w9, #0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w8, #1
	cmp	w1, w8
	b.ne	LBB0_2
; %bb.4:
	mov	x8, x1
	b	LBB0_6
LBB0_5:
	mov	w8, #0
LBB0_6:
	add	w9, w8, #1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, w1
	b.ge	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mvn	w10, w9
	lsr	w11, w9, #3
	ldr	w11, [x0, w11, uxtw #2]
	and	w10, w10, #0x7
	add	w9, w9, #1
	lsr	w10, w11, w10
	tbz	w10, #0, LBB0_7
; %bb.9:
	mov	w8, #-1
LBB0_10:
	mov	x0, x8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_contigmask
.subsections_via_symbols
