	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_groups
_add_groups:                            ## @add_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %eax
	testl	%edx, %edx
	js	LBB0_52
## %bb.1:
	movl	%edx, %r13d
	movq	_MAX_USER_GROUPS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmpl	%r13d, %edx
	jl	LBB0_52
## %bb.2:
	xorl	%eax, %eax
	testl	%r13d, %r13d
	je	LBB0_52
## %bb.3:
	movq	%rsi, %r12
	movq	8(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	cmpl	%edx, (%rcx)
	jge	LBB0_52
LBB0_5:
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	cmpl	$2, %r13d
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	jb	LBB0_12
## %bb.6:
	movl	%r13d, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$1, %ebx
	movq	_stderr@GOTPCREL(%rip), %r14
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%edi, %edi
	cmpl	%ecx, %eax
	setl	%dil
	callq	_assert
	incq	%rbx
	cmpq	-64(%rbp), %rbx                 ## 8-byte Folded Reload
	je	LBB0_12
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movl	-4(%r12,%rbx,4), %eax
	movl	(%r12,%rbx,4), %ecx
	cmpl	%ecx, %eax
	jl	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	(%r14), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_fprintf
	movq	%r12, %r13
	xorl	%r12d, %r12d
	leaq	L_.str.1(%rip), %r15
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14), %edi
	movl	(%r13,%r12,4), %edx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	incq	%r12
	cmpq	%r12, %rbx
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	-4(%r13,%rbx,4), %eax
	movl	(%r13,%rbx,4), %ecx
	movq	%r13, %r12
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_12:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_45
## %bb.13:
	movl	(%rbx), %eax
	xorl	%r14d, %r14d
	movl	$0, %edi
	testl	%eax, %eax
	js	LBB0_15
## %bb.14:
	xorl	%edi, %edi
	cmpl	4(%rbx), %eax
	setle	%dil
LBB0_15:
	callq	_assert
	movl	(%rbx), %eax
	testl	%r13d, %r13d
	jle	LBB0_24
## %bb.16:
	xorl	%r14d, %r14d
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	incl	%edx
	cmpl	%r13d, %edx
	jge	LBB0_24
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%eax, %ecx
	jge	LBB0_24
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movslq	%edx, %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	8(%rdi), %rdi
	movslq	%ecx, %rbx
	movl	(%rdi,%rbx,4), %edi
	cmpl	%edi, (%r12,%rsi,4)
	jl	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=1
	jg	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_17 Depth=1
	incl	%r14d
	incl	%edx
LBB0_22:                                ##   in Loop: Header=BB0_17 Depth=1
	incl	%ecx
	cmpl	%r13d, %edx
	jl	LBB0_17
LBB0_24:
	movl	%r13d, %edx
	subl	%r14d, %edx
	leal	(%rdx,%rax), %r13d
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	4(%rcx), %ecx
	cmpl	%ecx, %r13d
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	jle	LBB0_25
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %ebx
	leal	(%rbx,%rbx), %ecx
	cmpl	%ebx, %r13d
	jg	LBB0_26
## %bb.27:
	leal	16(,%rbx,4), %edi
	callq	_zmalloc
	movq	%rax, %r15
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %eax
	leal	16(,%rax,4), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_memcpy
	movl	4(%r14), %eax
	leal	16(,%rax,4), %esi
	movq	%r14, %rdi
	callq	_zfree
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, 8(%rax)
	movl	%ebx, 4(%r15)
	movl	(%r15), %eax
	movq	%r15, %rcx
	jmp	LBB0_28
LBB0_45:
	movq	_MIN_USER_GROUPS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	.p2align	4, 0x90
LBB0_46:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ebx
	leal	(%rbx,%rbx), %eax
	cmpl	%r13d, %ebx
	jl	LBB0_46
## %bb.47:
	leal	16(,%rbx,4), %edi
	callq	_zmalloc
	movq	%rax, %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, 8(%rax)
	movl	%r13d, (%r15)
	movl	%ebx, 4(%r15)
	testl	%r13d, %r13d
	jle	LBB0_48
## %bb.49:
	movl	%r13d, %r14d
	xorl	%ebx, %ebx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_50:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rbx,4), %eax
	movq	8(%r15), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	(%r12,%rbx,4), %esi
	movq	%r13, %rdi
	callq	_add_user_group
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_50
## %bb.51:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax def $rax
	jmp	LBB0_52
LBB0_25:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
LBB0_28:
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	leal	-1(%r15), %ebx
	leal	-1(%rax), %r14d
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%r13d, (%rcx)
	testl	%r15d, %r15d
	jle	LBB0_30
## %bb.29:
	testl	%eax, %eax
	jle	LBB0_30
## %bb.39:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_40:                                ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	testl	%r13d, %r13d
	setg	%dil
	callq	_assert
	movl	%ebx, %eax
	movl	(%r12,%rax,4), %esi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movl	%r14d, %edx
	movl	(%rcx,%rdx,4), %edx
	cmpl	%edx, %esi
	jle	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_40 Depth=1
	movslq	%r13d, %rdx
	decl	%r13d
	movl	%esi, -4(%rcx,%rdx,4)
	leal	-1(%rax), %ebx
	movl	(%r12,%rax,4), %esi
	movq	%r15, %rdi
	callq	_add_user_group
	jmp	LBB0_43
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_40 Depth=1
	sete	%bl
	movzbl	%bl, %esi
	subl	%esi, %eax
	decl	%r14d
	movslq	%r13d, %rsi
	decl	%r13d
	movl	%edx, -4(%rcx,%rsi,4)
	movl	%eax, %ebx
LBB0_43:                                ##   in Loop: Header=BB0_40 Depth=1
	testl	%ebx, %ebx
	js	LBB0_31
## %bb.44:                              ##   in Loop: Header=BB0_40 Depth=1
	testl	%r14d, %r14d
	jns	LBB0_40
	jmp	LBB0_31
LBB0_30:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_31:
	testl	%ebx, %ebx
	js	LBB0_35
## %bb.32:
	movl	%r14d, -80(%rbp)                ## 4-byte Spill
	movslq	%r13d, %r13
	movl	%ebx, %ebx
	movq	%r15, %r14
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	testq	%r13, %r13
	setg	%dil
	callq	_assert
	movl	(%r12,%rbx,4), %eax
	movq	8(%r15), %rcx
	movl	%eax, -4(%rcx,%r13,4)
	decq	%r13
	movl	(%r12,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_add_user_group
	addq	$-1, %rbx
	jb	LBB0_33
## %bb.34:
	movl	-80(%rbp), %r14d                ## 4-byte Reload
LBB0_35:
	testl	%r14d, %r14d
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	js	LBB0_38
## %bb.36:
	movslq	%r13d, %r13
	movl	%r14d, %eax
	leaq	4(,%rax,4), %rbx
	.p2align	4, 0x90
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	testq	%r13, %r13
	setg	%dil
	callq	_assert
	movq	8(%r15), %rax
	movl	-4(%rax,%rbx), %ecx
	movl	%ecx, -4(%rax,%r13,4)
	decq	%r13
	addq	$-4, %rbx
	jne	LBB0_37
LBB0_38:
	xorl	%edi, %edi
	testl	%r13d, %r13d
	sete	%dil
	callq	_assert
	movq	-64(%rbp), %rax                 ## 8-byte Reload
LBB0_52:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_48:
	movl	%r13d, %eax
	jmp	LBB0_52
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_USER_GROUPS,4,2            ## @MAX_USER_GROUPS
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"add_groups: user_id=%d, len=%d,"

L_.str.1:                               ## @.str.1
	.asciz	" %d"

L_.str.2:                               ## @.str.2
	.asciz	".\n"

	.comm	_MIN_USER_GROUPS,4,2            ## @MIN_USER_GROUPS
	.no_dead_strip	_add_groups
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_groups
_add_groups:                            ; @add_groups
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	tbnz	w2, #31, LBB0_2
; %bb.1:
	mov	x22, x2
Lloh0:
	adrp	x8, _MAX_USER_GROUPS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_USER_GROUPS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ge	LBB0_4
LBB0_2:
	mov	w22, #-1
LBB0_3:
	mov	x0, x22
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_4:
	cbz	w22, LBB0_3
; %bb.5:
	mov	x20, x1
	mov	x26, x0
	ldr	x10, [x0, #8]
	cbz	x10, LBB0_7
; %bb.6:
	ldr	w9, [x10]
	cmp	w9, w8
	b.ge	LBB0_17
LBB0_7:
	str	x10, [sp, #24]                  ; 8-byte Folded Spill
	cmp	w22, #2
	b.lo	LBB0_14
; %bb.8:
	mov	w25, w22
	mov	w27, #1
Lloh3:
	adrp	x28, _stderr@GOTPAGE
Lloh4:
	ldr	x28, [x28, _stderr@GOTPAGEOFF]
Lloh5:
	adrp	x24, l_.str.1@PAGE
Lloh6:
	add	x24, x24, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	cmp	w8, w9
	cset	w0, lt
	bl	_assert
	add	x27, x27, #1
	cmp	x27, x25
	b.eq	LBB0_14
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	sub	x23, x27, #1
	ldr	w8, [x20, x23, lsl #2]
	ldr	w9, [x20, x27, lsl #2]
	cmp	w8, w9
	b.lt	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x28]
	mov	x21, x26
	ldr	w8, [x26]
	stp	x8, x22, [sp]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	x26, x25
	mov	x19, x20
LBB0_12:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x28]
	ldr	w8, [x19], #4
	str	x8, [sp]
	mov	x1, x24
	bl	_fprintf
	subs	x26, x26, #1
	b.ne	LBB0_12
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x28]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	ldr	w8, [x20, x23, lsl #2]
	ldr	w9, [x20, x27, lsl #2]
	mov	x26, x21
	b	LBB0_9
LBB0_14:
	ldr	x21, [sp, #24]                  ; 8-byte Folded Reload
	cbz	x21, LBB0_18
; %bb.15:
	ldr	w8, [x21]
	tbnz	w8, #31, LBB0_23
; %bb.16:
	ldr	w9, [x21, #4]
	cmp	w8, w9
	cset	w0, le
	b	LBB0_24
LBB0_17:
	mov	w22, #0
	b	LBB0_3
LBB0_18:
Lloh11:
	adrp	x8, _MIN_USER_GROUPS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MIN_USER_GROUPS@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	mov	x19, x8
	lsl	w8, w8, #1
	cmp	w19, w22
	b.lt	LBB0_19
; %bb.20:
	lsl	w8, w19, #2
	add	w0, w8, #16
	bl	_zmalloc
	str	x0, [x26, #8]
	stp	w22, w19, [x0]
	cmp	w22, #1
	b.lt	LBB0_3
; %bb.21:
	mov	x21, x0
	mov	x23, #0
	mov	w8, w22
	lsl	x19, x8, #2
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20, x23]
	ldr	x9, [x21, #8]
	str	w8, [x9, x23]
	ldr	w1, [x20, x23]
	mov	x0, x26
	bl	_add_user_group
	add	x23, x23, #4
	cmp	x19, x23
	b.ne	LBB0_22
	b	LBB0_3
LBB0_23:
	mov	w0, #0
LBB0_24:
	bl	_assert
	ldr	w8, [x21]
	cmp	w22, #1
	b.lt	LBB0_32
; %bb.25:
	mov	w9, #0
	mov	w10, #0
	mov	w11, #0
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=1
	add	w11, w11, #1
	cmp	w11, w22
	b.ge	LBB0_33
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	cmp	w10, w8
	b.ge	LBB0_33
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	ldr	w12, [x20, w11, sxtw #2]
	ldr	x13, [x21, #8]
	ldr	w13, [x13, w10, sxtw #2]
	cmp	w12, w13
	b.lt	LBB0_26
; %bb.29:                               ;   in Loop: Header=BB0_27 Depth=1
	b.gt	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_27 Depth=1
	add	w9, w9, #1
	add	w11, w11, #1
LBB0_31:                                ;   in Loop: Header=BB0_27 Depth=1
	add	w10, w10, #1
	cmp	w11, w22
	b.lt	LBB0_27
	b	LBB0_33
LBB0_32:
	mov	w9, #0
LBB0_33:
	sub	w24, w22, w9
	add	w25, w24, w8
	ldr	w9, [x21, #4]
	mov	x19, x26
	cmp	w25, w9
	b.le	LBB0_36
LBB0_34:                                ; =>This Inner Loop Header: Depth=1
	mov	x26, x9
	lsl	w9, w9, #1
	cmp	w25, w26
	b.gt	LBB0_34
; %bb.35:
	lsl	w8, w26, #2
	add	w0, w8, #16
	bl	_zmalloc
	mov	x23, x0
	ldr	w8, [x21]
	lsl	w8, w8, #2
	add	w2, w8, #16
	mov	x1, x21
	bl	_memcpy
	ldr	w8, [x21, #4]
	lsl	w8, w8, #2
	add	w1, w8, #16
	mov	x0, x21
	bl	_zfree
	str	x23, [x19, #8]
	str	w26, [x23, #4]
	mov	x21, x23
	ldr	w8, [x23]
LBB0_36:
	sub	w23, w8, #1
	str	w25, [x21]
	mov	x26, x19
	subs	w22, w22, #1
	b.lt	LBB0_43
; %bb.37:
	cmp	w8, #1
	b.lt	LBB0_43
LBB0_38:                                ; =>This Inner Loop Header: Depth=1
	cmp	w25, #0
	cset	w0, gt
	bl	_assert
	mov	w9, w22
	ldr	w11, [x20, w22, uxtw #2]
	ldr	x8, [x21, #8]
	ldr	w10, [x8, w23, uxtw #2]
	cmp	w11, w10
	b.le	LBB0_40
; %bb.39:                               ;   in Loop: Header=BB0_38 Depth=1
	sxtw	x10, w25
	sub	x25, x10, #1
	str	w11, [x8, x25, lsl #2]
	sub	w22, w9, #1
	ldr	w1, [x20, x9, lsl #2]
	mov	x0, x26
	bl	_add_user_group
	b	LBB0_41
LBB0_40:                                ;   in Loop: Header=BB0_38 Depth=1
	cset	w11, eq
	sub	w22, w9, w11
	sub	w23, w23, #1
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	sxtw	x9, w25
	sub	x25, x9, #1
	str	w10, [x8, x25, lsl #2]
LBB0_41:                                ;   in Loop: Header=BB0_38 Depth=1
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	tbnz	w22, #31, LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_38 Depth=1
	tbz	w23, #31, LBB0_38
LBB0_43:
	tbnz	w22, #31, LBB0_47
; %bb.44:
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	sxtw	x25, w25
	mov	w8, w22
	lsl	x22, x8, #2
LBB0_45:                                ; =>This Inner Loop Header: Depth=1
	cmp	x25, #0
	cset	w0, gt
	bl	_assert
	ldr	w8, [x20, x22]
	ldr	x9, [x21, #8]
	sub	x19, x25, #1
	add	x9, x9, x25, lsl #2
	stur	w8, [x9, #-4]
	ldr	w1, [x20, x22]
	mov	x0, x26
	bl	_add_user_group
	sub	x22, x22, #4
	mov	x25, x19
	cmn	x22, #4
	b.ne	LBB0_45
; %bb.46:
	mov	x25, x19
LBB0_47:
	tbnz	w23, #31, LBB0_51
; %bb.48:
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	sxtw	x20, w25
	mov	w8, w23
	lsl	x19, x8, #2
LBB0_49:                                ; =>This Inner Loop Header: Depth=1
	cmp	x20, #0
	cset	w0, gt
	bl	_assert
	ldr	x8, [x21, #8]
	ldr	w9, [x8, x19]
	sub	x25, x20, #1
	add	x8, x8, x20, lsl #2
	stur	w9, [x8, #-4]
	sub	x19, x19, #4
	mov	x20, x25
	cmn	x19, #4
	b.ne	LBB0_49
; %bb.50:
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
LBB0_51:
	cmp	w25, #0
	cset	w0, eq
	bl	_assert
	mov	x22, x24
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_USER_GROUPS,4,2            ; @MAX_USER_GROUPS
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"add_groups: user_id=%d, len=%d,"

l_.str.1:                               ; @.str.1
	.asciz	" %d"

l_.str.2:                               ; @.str.2
	.asciz	".\n"

	.comm	_MIN_USER_GROUPS,4,2            ; @MIN_USER_GROUPS
	.no_dead_strip	_add_groups
.subsections_via_symbols
