	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_groups
_get_groups:                            ## @get_groups
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movb	(%rsi), %dl
	xorl	%r8d, %r8d
	testb	%dl, %dl
	jle	LBB0_8
## %bb.1:
	movq	_CHAR_MAX@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	cmpb	%al, %dl
	je	LBB0_8
## %bb.2:
	xorl	%r8d, %r8d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%dl, %ecx
	subl	%ecx, %edi
	jle	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	1(%rsi,%r8), %edx
	cmpb	%al, %dl
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r8
	testb	%dl, %dl
	jne	LBB0_3
## %bb.6:
	decl	%edi
	movl	%edi, %eax
	cltd
	idivl	%ecx
	addl	%eax, %r8d
	jmp	LBB0_8
LBB0_7:
	incl	%r8d
LBB0_8:
	movl	%r8d, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHAR_MAX,1,0                   ## @CHAR_MAX
	.no_dead_strip	_get_groups
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_groups
_get_groups:                            ; @get_groups
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	w0, #0
	ldrsb	w9, [x1]
	cmp	w9, #1
	b.lt	LBB0_8
; %bb.1:
Lloh0:
	adrp	x10, _CHAR_MAX@GOTPAGE
Lloh1:
	ldr	x10, [x10, _CHAR_MAX@GOTPAGEOFF]
	ldrb	w10, [x10]
	cmp	w10, w9, uxtb
	b.eq	LBB0_8
; %bb.2:
	mov	x0, #0
	add	x11, x1, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w12, w9
	subs	w8, w8, w12
	b.le	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w9, [x11, x0]
	cmp	w9, w10
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x0, #1
	cbnz	w9, LBB0_3
; %bb.6:
	sub	w8, w8, #1
	sdiv	w8, w8, w12
	add	w0, w8, w0
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_7:
	add	w0, w0, #1
LBB0_8:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CHAR_MAX,1,0                   ; @CHAR_MAX
	.no_dead_strip	_get_groups
.subsections_via_symbols
