	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_in_grouping                    ## -- Begin function in_grouping
	.p2align	4, 0x90
_in_grouping:                           ## @in_grouping
	.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
	movq	(%rdi), %r9
	movq	8(%rdi), %r10
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r10, %r9
	jae	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%rdi), %rax
	movl	(%rax,%r9,4), %r11d
	movl	$1, %eax
	cmpl	%ecx, %r11d
	jg	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	subl	%edx, %r11d
	js	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r11d, %ebx
	shrq	$3, %rbx
	movzbl	(%rsi,%rbx), %r14d
	andb	$7, %r11b
	movzbl	%r11b, %ebx
	btl	%ebx, %r14d
	jae	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	incq	%r9
	movq	%r9, (%rdi)
	testl	%r8d, %r8d
	jne	LBB0_1
## %bb.7:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_2:
	movl	$-1, %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_in_grouping                    ; -- Begin function in_grouping
	.p2align	2
_in_grouping:                           ; @in_grouping
	.cfi_startproc
; %bb.0:
	ldp	x9, x8, [x0]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x9, x8
	b.hs	LBB0_8
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x10, [x0, #16]
	ldr	w10, [x10, x9, lsl #2]
	cmp	w10, w3
	b.gt	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	subs	w10, w10, w2
	b.mi	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	lsr	x11, x10, #3
	ldrb	w11, [x1, x11]
	and	w10, w10, #0x7
	lsr	w10, w11, w10
	tbz	w10, #0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x9, x9, #1
	str	x9, [x0]
	cbnz	w4, LBB0_1
; %bb.6:
	mov	w0, #0
	ret
LBB0_7:
	mov	w0, #1
	ret
LBB0_8:
	mov	w0, #-1
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
