	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function del_groups
_del_groups:                            ## @del_groups
	.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
	testl	%edx, %edx
	js	LBB0_1
## %bb.2:
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.3:
	testl	%edx, %edx
	je	LBB0_21
## %bb.4:
	movq	(%r15), %r13
	testq	%r13, %r13
	je	LBB0_21
## %bb.5:
	movq	%rsi, %r12
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	cmpl	$2, %edx
	jb	LBB0_8
## %bb.6:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%r12,%rbx,4), %eax
	xorl	%edi, %edi
	cmpl	(%r12,%rbx,4), %eax
	setl	%dil
	callq	_assert
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_7
LBB0_8:
	cmpl	$0, (%r13)
	jle	LBB0_9
## %bb.10:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	movl	%r9d, %r10d
	negl	%r10d
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	movq	%r10, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_11
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=1
	subl	%ecx, %r14d
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=1
	movslq	%r15d, %rax
	incl	%r15d
	movl	%esi, (%r8,%rax,4)
LBB0_19:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jge	LBB0_20
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	movq	8(%r13), %r8
	movl	(%r8,%rbx,4), %esi
	cmpl	%r9d, %r14d
	jge	LBB0_18
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movslq	%r14d, %rcx
	leaq	(%r12,%rcx,4), %rdx
	leal	(%r10,%r14), %edi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rdx), %eax
	cmpl	%esi, %eax
	jge	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	decl	%ecx
	addq	$4, %rdx
	cmpl	%ecx, %edi
	jne	LBB0_13
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	%r9d, %r14d
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	jne	LBB0_17
## %bb.22:                              ##   in Loop: Header=BB0_11 Depth=1
	subl	%ecx, %r14d
	incl	%r14d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_del_user_group
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	jmp	LBB0_19
LBB0_1:
	movl	$-1, %ebx
	jmp	LBB0_21
LBB0_9:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
LBB0_20:
	subl	%r15d, %ebx
	movl	%r15d, (%r13)
LBB0_21:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_del_groups
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function del_groups
_del_groups:                            ; @del_groups
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	tbnz	w2, #31, LBB0_18
; %bb.1:
	mov	x21, x0
	mov	w0, #0
	cbz	x21, LBB0_22
; %bb.2:
	mov	x19, x2
	cbz	w2, LBB0_22
; %bb.3:
	ldr	x22, [x21]
	cbz	x22, LBB0_19
; %bb.4:
	mov	x20, x1
	cmp	w19, #2
	b.lo	LBB0_7
; %bb.5:
	mov	w8, w19
	add	x23, x20, #4
	sub	x24, x8, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w8, w9, [x23, #-4]
	cmp	w8, w9
	cset	w0, lt
	bl	_assert
	add	x23, x23, #4
	subs	x24, x24, #1
	b.ne	LBB0_6
LBB0_7:
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.8:
	mov	x23, #0
	mov	w24, #0
	mov	w25, #0
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	str	w1, [x8, w24, sxtw #2]
	add	w24, w24, #1
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x22]
	cmp	x23, x8
	b.ge	LBB0_21
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	ldr	x8, [x22, #8]
	ldr	w1, [x8, x23, lsl #2]
	cmp	w25, w19
	b.ge	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x9, x20, w25, sxtw #2
LBB0_13:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w10, [x9]
	cmp	w10, w1
	b.ge	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	add	w25, w25, #1
	add	x9, x9, #4
	cmp	w19, w25
	b.ne	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x25, x19
	b	LBB0_9
LBB0_16:                                ;   in Loop: Header=BB0_11 Depth=1
	b.ne	LBB0_9
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=1
	add	w25, w25, #1
	mov	x0, x21
	bl	_del_user_group
	b	LBB0_10
LBB0_18:
	mov	w0, #-1
	b	LBB0_22
LBB0_19:
	mov	w0, #0
	b	LBB0_22
LBB0_20:
	mov	w23, #0
	mov	w24, #0
LBB0_21:
	sub	w0, w23, w24
	str	w24, [x22]
LBB0_22:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_del_groups
.subsections_via_symbols
