	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function delete_single_user_group_fast
_delete_single_user_group_fast:         ## @delete_single_user_group_fast
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	movl	%edi, %r14d
	movq	_MAX_USERS@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%r14d, (%rax)
	seta	%dil
	callq	_assert
	movq	_User@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %rcx
	movq	(%rax,%rcx,8), %rbx
	xorl	%r15d, %r15d
	movl	$0, %edi
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	setne	%dil
LBB0_2:
	callq	_assert
	movq	(%rbx), %r12
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_3
## %bb.4:
	movq	8(%r12), %rcx
	movl	$-1, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%edx, %ebx
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %edx
	subl	%ebx, %edx
	cmpl	$1, %edx
	jle	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rbx,%rax), %edx
	sarl	%edx
	movslq	%edx, %rsi
	cmpl	%r13d, (%rcx,%rsi,4)
	jle	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%edx, %eax
	jmp	LBB0_8
LBB0_9:
	testl	%ebx, %ebx
	js	LBB0_11
## %bb.10:
	movq	8(%r12), %rax
	movl	%ebx, %ecx
	xorl	%r15d, %r15d
	cmpl	%r13d, (%rax,%rcx,4)
	sete	%r15b
	jmp	LBB0_11
LBB0_3:
	movl	$-1, %ebx
LBB0_11:
	movl	%r15d, %edi
	callq	_assert
	movq	8(%r12), %rax
	movslq	%ebx, %rdx
	leaq	(%rax,%rdx,4), %rdi
	leaq	(%rax,%rdx,4), %rsi
	addq	$4, %rsi
	notl	%edx
	addl	(%r12), %edx
	shll	$2, %edx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memmove
	decl	(%r12)
	movq	_q_grp_id@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r13d, %esi
	callq	_field_value_hash
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_delete_user_word
	movq	_user_group_pairs@GOTPCREL(%rip), %rax
	decl	(%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_USERS,4,2                  ## @MAX_USERS
	.comm	_User,8,3                       ## @User
	.comm	_q_grp_id,4,2                   ## @q_grp_id
	.comm	_user_group_pairs,4,2           ## @user_group_pairs
	.no_dead_strip	_delete_single_user_group_fast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function delete_single_user_group_fast
_delete_single_user_group_fast:         ; @delete_single_user_group_fast
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _MAX_USERS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_USERS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	cset	w0, hi
	bl	_assert
Lloh3:
	adrp	x8, _User@GOTPAGE
Lloh4:
	ldr	x8, [x8, _User@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x21, [x8, w19, sxtw #3]
	cbz	x21, LBB0_2
; %bb.1:
	ldr	x8, [x21]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	bl	_assert
	ldr	x21, [x21]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.4:
	ldr	x9, [x21, #8]
	mov	w22, #-1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	w10, w22, w8
	asr	w10, w10, #1
	ldr	w11, [x9, w10, sxtw #2]
	cmp	w11, w20
	csel	w8, w10, w8, gt
	csel	w22, w22, w10, gt
	sub	w10, w8, w22
	cmp	w10, #1
	b.gt	LBB0_5
; %bb.6:
	tbnz	w22, #31, LBB0_9
; %bb.7:
	ldr	x8, [x21, #8]
	ldr	w8, [x8, w22, uxtw #2]
	cmp	w8, w20
	cset	w0, eq
	b	LBB0_10
LBB0_8:
	mov	w0, #0
	mov	w22, #-1
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	bl	_assert
	ldr	x8, [x21, #8]
	add	x0, x8, w22, sxtw #2
	add	x1, x0, #4
	ldr	w8, [x21]
	mvn	w9, w22
	add	w8, w8, w9
	lsl	w2, w8, #2
	bl	_memmove
	ldr	w8, [x21]
	sub	w8, w8, #1
	str	w8, [x21]
Lloh6:
	adrp	x8, _q_grp_id@GOTPAGE
Lloh7:
	ldr	x8, [x8, _q_grp_id@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_field_value_hash
	mov	x1, x0
	mov	x0, x19
	bl	_delete_user_word
Lloh9:
	adrp	x8, _user_group_pairs@GOTPAGE
Lloh10:
	ldr	x8, [x8, _user_group_pairs@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_USERS,4,2                  ; @MAX_USERS
	.comm	_User,8,3                       ; @User
	.comm	_q_grp_id,4,2                   ; @q_grp_id
	.comm	_user_group_pairs,4,2           ; @user_group_pairs
	.no_dead_strip	_delete_single_user_group_fast
.subsections_via_symbols
