	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_memgroups_row          ## -- Begin function process_memgroups_row
	.p2align	4, 0x90
_process_memgroups_row:                 ## @process_memgroups_row
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_I@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_mg_group_id@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %ebx
	movq	_mg_user_id@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_user_id@GOTPCREL(%rip), %r14
	movl	%edi, (%r14)
	testl	%ebx, %ebx
	jle	LBB0_12
## %bb.1:
	movq	_MAX_GID@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_12
## %bb.2:
	callq	_fits
	testl	%eax, %eax
	je	LBB0_12
## %bb.3:
	movq	(%r15), %rax
	movq	_mg_confirmed@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$2, (%rax,%rcx,4)
	jne	LBB0_12
## %bb.4:
	movq	_Gc@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_7
## %bb.5:
	movq	_GT@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpq	$0, (%rax,%rbx,8)
	jle	LBB0_7
## %bb.6:
	movl	$8, %edi
	callq	_write_alloc
	movq	_LEV_TARG_GRTYPE_ADD@GOTPCREL(%rip), %rcx
	movq	(%r15), %rdx
	movq	(%rdx,%rbx,8), %rdx
	addq	(%rcx), %rdx
	movq	%rdx, 8(%rax)
	movl	(%r14), %ecx
	movl	%ecx, (%rax)
	movq	_adj_rec@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_7:
	movq	_GA@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_9
## %bb.8:
	movq	_GC@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_GT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_GT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rcx)
	movq	_GB@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_GC@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	%rax, %rdi
LBB0_10:
	movq	_MAX_GROUPS@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	leaq	(%rax,%rcx,8), %rax
	addq	$-64, %rax
	cmpq	%rax, %rdi
	ja	LBB0_12
## %bb.11:
	callq	_assert
	movq	_GC@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	%ebx, (%rcx)
	movl	(%r14), %edx
	movl	%edx, 4(%rcx)
	addq	$64, %rcx
	movq	%rcx, (%rax)
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I,8,3                          ## @I
	.comm	_mg_group_id,8,3                ## @mg_group_id
	.comm	_mg_user_id,8,3                 ## @mg_user_id
	.comm	_user_id,4,2                    ## @user_id
	.comm	_MAX_GID,4,2                    ## @MAX_GID
	.comm	_mg_confirmed,8,3               ## @mg_confirmed
	.comm	_Gc,4,2                         ## @Gc
	.comm	_GT,8,3                         ## @GT
	.comm	_LEV_TARG_GRTYPE_ADD,8,3        ## @LEV_TARG_GRTYPE_ADD
	.comm	_adj_rec,4,2                    ## @adj_rec
	.comm	_GA,8,3                         ## @GA
	.comm	_GB,8,3                         ## @GB
	.comm	_GC,8,3                         ## @GC
	.comm	_MAX_GROUPS,4,2                 ## @MAX_GROUPS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_memgroups_row          ; -- Begin function process_memgroups_row
	.p2align	2
_process_memgroups_row:                 ; @process_memgroups_row
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x21, _I@GOTPAGE
Lloh1:
	ldr	x21, [x21, _I@GOTPAGEOFF]
Lloh2:
	adrp	x8, _mg_group_id@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mg_group_id@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh4:
	ldr	x8, [x8]
	ldr	w19, [x9, x8, lsl #2]
Lloh5:
	adrp	x8, _mg_user_id@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mg_user_id@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	w0, [x9, x8, lsl #2]
Lloh8:
	adrp	x20, _user_id@GOTPAGE
Lloh9:
	ldr	x20, [x20, _user_id@GOTPAGEOFF]
	str	w0, [x20]
Lloh10:
	adrp	x8, _MAX_GID@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MAX_GID@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w19, #1
	ccmp	w19, w8, #0, ge
	b.ge	LBB0_11
; %bb.1:
	bl	_fits
	cbz	w0, LBB0_11
; %bb.2:
	ldr	x8, [x21]
Lloh13:
	adrp	x9, _mg_confirmed@GOTPAGE
Lloh14:
	ldr	x9, [x9, _mg_confirmed@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cmp	w8, #2
	b.ne	LBB0_11
; %bb.3:
Lloh16:
	adrp	x8, _Gc@GOTPAGE
Lloh17:
	ldr	x8, [x8, _Gc@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x22, _GT@GOTPAGE
Lloh20:
	ldr	x22, [x22, _GT@GOTPAGEOFF]
	cmp	w19, w8
	b.ge	LBB0_6
; %bb.4:
	ldr	x8, [x22]
	ldr	x8, [x8, x19, lsl #3]
	cmp	x8, #1
	b.lt	LBB0_6
; %bb.5:
	mov	w0, #8
	bl	_write_alloc
Lloh21:
	adrp	x8, _LEV_TARG_GRTYPE_ADD@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LEV_TARG_GRTYPE_ADD@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	ldr	x9, [x22]
	ldr	x9, [x9, x19, lsl #3]
	add	x8, x9, x8
	str	x8, [x0, #8]
	ldr	w8, [x20]
	str	w8, [x0]
Lloh24:
	adrp	x8, _adj_rec@GOTPAGE
Lloh25:
	ldr	x8, [x8, _adj_rec@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_6:
Lloh26:
	adrp	x9, _GA@GOTPAGE
Lloh27:
	ldr	x9, [x9, _GA@GOTPAGEOFF]
	ldr	x8, [x9]
Lloh28:
	adrp	x21, _GC@GOTPAGE
Lloh29:
	ldr	x21, [x21, _GC@GOTPAGEOFF]
	cbz	x8, LBB0_8
; %bb.7:
	ldr	x0, [x21]
	ldr	x8, [x22]
	b	LBB0_9
LBB0_8:
	ldr	x8, [x22]
	str	x8, [x9]
Lloh30:
	adrp	x9, _GB@GOTPAGE
Lloh31:
	ldr	x9, [x9, _GB@GOTPAGEOFF]
Lloh32:
	str	x8, [x9]
	str	x8, [x21]
	mov	x0, x8
LBB0_9:
Lloh33:
	adrp	x9, _MAX_GROUPS@GOTPAGE
Lloh34:
	ldr	x9, [x9, _MAX_GROUPS@GOTPAGEOFF]
Lloh35:
	ldrsw	x9, [x9]
	add	x8, x8, x9, lsl #3
	sub	x8, x8, #64
	cmp	x0, x8
	b.hi	LBB0_11
; %bb.10:
	bl	_assert
	ldr	x8, [x21]
	str	w19, [x8]
	ldr	w9, [x20]
	str	w9, [x8, #4]
	add	x8, x8, #64
	str	x8, [x21]
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotStr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_I,8,3                          ; @I
	.comm	_mg_group_id,8,3                ; @mg_group_id
	.comm	_mg_user_id,8,3                 ; @mg_user_id
	.comm	_user_id,4,2                    ; @user_id
	.comm	_MAX_GID,4,2                    ; @MAX_GID
	.comm	_mg_confirmed,8,3               ; @mg_confirmed
	.comm	_Gc,4,2                         ; @Gc
	.comm	_GT,8,3                         ; @GT
	.comm	_LEV_TARG_GRTYPE_ADD,8,3        ; @LEV_TARG_GRTYPE_ADD
	.comm	_adj_rec,4,2                    ; @adj_rec
	.comm	_GA,8,3                         ; @GA
	.comm	_GB,8,3                         ; @GB
	.comm	_GC,8,3                         ; @GC
	.comm	_MAX_GROUPS,4,2                 ; @MAX_GROUPS
.subsections_via_symbols
