	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function grouping_init
_grouping_init:                         ## @grouping_init
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	%edx, %edi
	callq	_localeconv_l
	movq	(%rax), %rcx
	movq	%rcx, (%r14)
	movl	8(%rax), %edi
	movl	%edi, 24(%r14)
	callq	_strlen
	movl	%eax, 8(%r14)
	movq	$0, 12(%r14)
	movl	%ebx, 20(%r14)
	movq	_CHAR_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	(%r14), %rsi
	movl	(%rsi), %edx
	xorl	%ecx, %ecx
	cmpl	%r8d, %edx
	je	LBB0_8
## %bb.1:
	xorl	%ecx, %ecx
	xorl	%edi, %edi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%ecx
	movl	%ecx, 16(%r14)
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rsi), %edx
	cmpl	%r8d, %edx
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	subl	%edx, %ebx
	jle	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, 20(%r14)
	cmpl	$0, 4(%rsi)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %rsi
	incl	%edi
	movl	%edi, 12(%r14)
	movq	%rsi, (%r14)
	jmp	LBB0_6
LBB0_7:
	addl	%edi, %ecx
LBB0_8:
	imull	%eax, %ecx
	movl	%ecx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHAR_MAX,4,2                   ## @CHAR_MAX
	.no_dead_strip	_grouping_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function grouping_init
_grouping_init:                         ; @grouping_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	mov	x0, x2
	bl	_localeconv_l
	ldr	x8, [x0]
	str	x8, [x20]
	ldr	w0, [x0, #8]
	str	w0, [x20, #24]
	bl	_strlen
	mov	w9, #0
	stp	w0, wzr, [x20, #8]
	stp	wzr, w19, [x20, #16]
Lloh0:
	adrp	x8, _CHAR_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHAR_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x11, [x20]
	ldr	w12, [x11]
	cmp	w12, w8
	b.eq	LBB0_8
; %bb.1:
	mov	w9, #0
	mov	w10, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w9, w9, #1
	str	w9, [x20, #16]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w12, [x11]
	cmp	w12, w8
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	subs	w19, w19, w12
	b.le	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w19, [x20, #20]
	mov	x12, x11
	ldr	w13, [x12, #4]!
	cbz	w13, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w10, w10, #1
	str	w10, [x20, #12]
	str	x12, [x20]
	mov	x11, x12
	b	LBB0_3
LBB0_7:
	add	w9, w9, w10
LBB0_8:
	mul	w0, w9, w0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CHAR_MAX,4,2                   ; @CHAR_MAX
	.no_dead_strip	_grouping_init
.subsections_via_symbols
