	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function change_ad_userlist
_change_ad_userlist:                    ## @change_ad_userlist
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r15
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	xorl	%edi, %edi
	testq	%r14, %r14
	je	LBB0_4
## %bb.1:
	cmpq	$0, 24(%r14)
	je	LBB0_4
## %bb.2:
	movq	_ADF_ON@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	cmpq	$0, (%r14)
	setne	%dil
LBB0_4:
	callq	_assert
	movl	8(%r14), %ebx
	movl	12(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rcx
	leaq	4(%r15), %r12
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movl	(%r15), %r14d
	movq	_User@GOTPCREL(%rip), %r15
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r12), %r14d
	addq	$4, %r12
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movslq	(%rcx), %r13
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	leaq	4(%rcx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=2
	movl	(%r12), %r14d
	addq	$4, %r12
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	%r14d, %r13d
	jl	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=2
	cmpl	%r14d, %r13d
	jle	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r15), %rax
	movslq	%r14d, %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=2
	movl	%ebx, %esi
	callq	_deactivate_one_user_ad
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r15), %rax
	movq	(%rax,%r13,8), %rdi
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rcx
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rcx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, (%rdi)
	jg	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %esi
	callq	_activate_one_user_ad
	movq	%r13, %rcx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$2147483647, %r13d              ## imm = 0x7FFFFFFF
	je	LBB0_20
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r15), %rax
	movq	(%rax,%r13,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rdi), %eax
	cmpl	-52(%rbp), %eax                 ## 4-byte Folded Reload
	jle	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jg	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %esi
	callq	_activate_one_user_ad
	jmp	LBB0_19
LBB0_20:
	movslq	-48(%rbp), %rax                 ## 4-byte Folded Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	addq	$4, %rax
	xorl	%edi, %edi
	cmpq	%rax, %r12
	jne	LBB0_22
## %bb.21:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movslq	16(%rcx), %rax
	shlq	$2, %rax
	addq	(%rcx), %rax
	xorl	%edi, %edi
	cmpq	%rax, -88(%rbp)                 ## 8-byte Folded Reload
	sete	%dil
LBB0_22:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_assert                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ADF_ON,8,3                     ## @ADF_ON
	.comm	_User,8,3                       ## @User
	.no_dead_strip	_change_ad_userlist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function change_ad_userlist
_change_ad_userlist:                    ; @change_ad_userlist
	.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
	mov	x21, x3
	mov	x20, x2
	str	w1, [sp, #20]                   ; 4-byte Folded Spill
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x19, #24]
Lloh0:
	adrp	x9, _ADF_ON@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ADF_ON@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, ne
LBB0_4:
	bl	_assert
	ldp	w23, w25, [x19, #8]
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	ldr	x22, [x19]
	str	x20, [sp, #24]                  ; 8-byte Folded Spill
	mov	x24, x20
	ldr	w20, [x24], #4
	mov	w26, #2147483647
Lloh3:
	adrp	x27, _User@GOTPAGE
Lloh4:
	ldr	x27, [x27, _User@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w20, [x24], #4
	mov	x22, x28
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	x28, x22
	ldrsw	x19, [x28], #4
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	ldr	w20, [x24], #4
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w19, w20
	b.lt	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	cmp	w19, w20
	b.le	LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	x8, [x27]
	ldr	x0, [x8, w20, sxtw #3]
	cbz	x0, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=2
	mov	x1, x23
	bl	_deactivate_one_user_ad
	b	LBB0_7
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x27]
	ldr	x0, [x8, x19, lsl #3]
	mov	x22, x28
	cbz	x0, LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x0]
	mov	x22, x28
	cmp	w8, w25
	b.gt	LBB0_6
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, x23
	bl	_activate_one_user_ad
	mov	x22, x28
	b	LBB0_6
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w19, w26
	b.eq	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x27]
	ldr	x0, [x8, x19, lsl #3]
	cbz	x0, LBB0_5
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x0]
	cmp	w8, w21
	ccmp	w8, w25, #0, gt
	b.gt	LBB0_5
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, x23
	bl	_activate_one_user_ad
	b	LBB0_5
LBB0_19:
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	add	x8, x8, w9, sxtw #2
	add	x8, x8, #4
	cmp	x24, x8
	b.eq	LBB0_21
; %bb.20:
	mov	w0, #0
	b	LBB0_22
LBB0_21:
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x9]
	ldrsw	x9, [x9, #16]
	add	x8, x8, x9, lsl #2
	cmp	x22, x8
	cset	w0, eq
LBB0_22:
	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
	b	_assert
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ADF_ON,8,3                     ; @ADF_ON
	.comm	_User,8,3                       ; @User
	.no_dead_strip	_change_ad_userlist
.subsections_via_symbols
