	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function grouping_print
_grouping_print:                        ## @grouping_print
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movl	28(%rdi), %ecx
	movq	_zeroes@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movq	%r15, %rdx
	movl	%r12d, %r9d
	callq	_io_printandpad
	movl	$-1, %ecx
	testq	%rax, %rax
	jne	LBB0_12
## %bb.1:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movslq	28(%rbx), %rax
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%rax,4), %r14
	leaq	8(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	24(%rbx), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rcx
	movq	8(%rbx), %rax
	testq	%rcx, %rcx
	jle	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	testq	%rax, %rax
	jg	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$-4, 16(%rbx)
	movq	%rcx, %rax
	movq	%rbx, %rdx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	testq	%rax, %rax
	jle	LBB0_11
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	decq	%rax
	movq	%rax, (%rdx)
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	movl	%r12d, %ecx
	callq	_io_print
	testq	%rax, %rax
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	movl	(%rax), %ecx
	movq	_zeroes@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%r12d, %r9d
	callq	_io_printandpad
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	movslq	(%rax), %rax
	leaq	(%r14,%rax,4), %r14
	jmp	LBB0_2
LBB0_10:
	movl	$-1, %ecx
LBB0_12:
	movl	%ecx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, %r14
	cmovaq	%rax, %r14
	subq	-64(%rbp), %r14                 ## 8-byte Folded Reload
	shrq	$2, %r14
	movl	%r14d, %ecx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_zeroes,4,2                     ## @zeroes
	.no_dead_strip	_grouping_print
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function grouping_print
_grouping_print:                        ; @grouping_print
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x4
	mov	x20, x3
	mov	x19, x2
	mov	x22, x1
	mov	x23, x0
	ldr	w3, [x0, #28]
Lloh0:
	adrp	x26, _zeroes@GOTPAGE
Lloh1:
	ldr	x26, [x26, _zeroes@GOTPAGEOFF]
	ldr	w4, [x26]
	mov	x0, x1
	mov	x1, x2
	mov	x2, x20
	mov	x5, x21
	bl	_io_printandpad
	cbz	x0, LBB0_3
LBB0_1:
	mov	w0, #-1
LBB0_2:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldrsw	x8, [x23, #28]
	add	x24, x19, x8, lsl #2
	add	x27, x23, #8
	add	x25, x23, #24
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x23]
	mov	x10, x27
	cmp	x9, #0
	b.le	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x8, #0
	b.gt	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23, #16]
	sub	x8, x8, #4
	str	x8, [x23, #16]
	mov	x8, x9
	mov	x10, x23
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x8, #0
	b.le	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	x8, x8, #1
	str	x8, [x10]
	mov	x0, x22
	mov	x1, x25
	mov	w2, #1
	mov	x3, x21
	bl	_io_print
	cbnz	x0, LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23, #16]
	ldr	w3, [x8]
	ldr	w4, [x26]
	mov	x0, x22
	mov	x1, x24
	mov	x2, x20
	mov	x5, x21
	bl	_io_printandpad
	cbnz	x0, LBB0_1
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23, #16]
	ldrsw	x8, [x8]
	add	x24, x24, x8, lsl #2
	b	LBB0_4
LBB0_11:
	cmp	x24, x20
	csel	x8, x20, x24, hi
	sub	x8, x8, x19
	lsr	x0, x8, #2
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_zeroes,4,2                     ; @zeroes
	.no_dead_strip	_grouping_print
.subsections_via_symbols
