	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function delete_user
_delete_user:                           ## @delete_user
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	callq	_conv_uid
	movl	%eax, %ecx
	movl	$-1, %eax
	testl	%ecx, %ecx
	js	LBB0_5
## %bb.1:
	movq	_ignored_delete_user_id@GOTPCREL(%rip), %rdx
	cmpl	%ebx, (%rdx)
	je	LBB0_5
## %bb.2:
	movq	_User@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ecx, %ecx
	movq	(%rax,%rcx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.4:
	movq	$0, (%rax,%rcx,8)
	movq	%rbx, %rdi
	callq	_free_friend_list
	movq	40(%rbx), %rdi
	callq	_free_tree
	movq	32(%rbx), %rdi
	callq	_free_tree
	movq	24(%rbx), %rdi
	callq	_free_privacy_tree
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movups	%xmm0, 24(%rbx)
	movups	%xmm0, 40(%rbx)
	movl	$-1, (%rbx)
	movq	%rbx, %rdi
	callq	_free_user_struct
	movq	_tot_users@GOTPCREL(%rip), %rax
	decl	(%rax)
	movl	$1, %eax
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ignored_delete_user_id,4,2     ## @ignored_delete_user_id
	.comm	_User,8,3                       ## @User
	.comm	_tot_users,4,2                  ## @tot_users
	.no_dead_strip	_delete_user
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function delete_user
_delete_user:                           ; @delete_user
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_conv_uid
	mov	x8, x0
	mov	w0, #-1
	tbnz	w8, #31, LBB0_5
; %bb.1:
Lloh0:
	adrp	x9, _ignored_delete_user_id@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ignored_delete_user_id@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w19
	b.eq	LBB0_5
; %bb.2:
Lloh3:
	adrp	x9, _User@GOTPAGE
Lloh4:
	ldr	x9, [x9, _User@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x19, [x9, w8, uxtw #3]
	cbz	x19, LBB0_4
; %bb.3:
	mov	w8, w8
	str	xzr, [x9, x8, lsl #3]
	mov	x0, x19
	bl	_free_friend_list
	ldr	x0, [x19, #40]
	bl	_free_tree
	ldr	x0, [x19, #32]
	bl	_free_tree
	ldr	x0, [x19, #24]
	bl	_free_privacy_tree
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #8]
	stur	q0, [x19, #24]
	stur	q0, [x19, #40]
	mov	w8, #-1
	str	w8, [x19]
	mov	x0, x19
	bl	_free_user_struct
Lloh6:
	adrp	x8, _tot_users@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tot_users@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
	mov	w0, #1
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ignored_delete_user_id,4,2     ; @ignored_delete_user_id
	.comm	_User,8,3                       ; @User
	.comm	_tot_users,4,2                  ; @tot_users
	.no_dead_strip	_delete_user
.subsections_via_symbols
