	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drop_lru_user                  ## -- Begin function drop_lru_user
	.p2align	4, 0x90
_drop_lru_user:                         ## @drop_lru_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_loaded_users_max@GOTPCREL(%rip), %r14
	movl	(%r14), %r9d
	testl	%r9d, %r9d
	jle	LBB0_1
## %bb.2:
	movq	_LoadedUsers@GOTPCREL(%rip), %r15
	movq	(%r15), %r8
	cmpl	$1, %r9d
	jne	LBB0_4
## %bb.3:
	movl	$-1, %ebx
	movl	$2147483647, %esi               ## imm = 0x7FFFFFFF
	xorl	%edx, %edx
LBB0_10:
	testb	$1, %r9b
	je	LBB0_13
## %bb.11:
	leaq	(%rdx,%rdx,2), %rax
	cmpq	$0, (%r8,%rax,8)
	jle	LBB0_13
## %bb.12:
	cmpl	%esi, 8(%r8,%rax,8)
	cmovll	%edx, %ebx
LBB0_13:
	testl	%ebx, %ebx
	js	LBB0_19
## %bb.14:
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_15
## %bb.16:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rax
	movl	%ebx, %r12d
	leaq	(%r12,%r12,2), %rdx
	movl	20(%rax,%rdx,8), %ecx
	movl	12(%rax,%rdx,8), %r8d
	movl	16(%rax,%rdx,8), %r9d
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_fprintf
	jmp	LBB0_17
LBB0_1:
	movl	$-1, %ebx
	jmp	LBB0_19
LBB0_4:
	movl	%r9d, %r10d
	andl	$-2, %r10d
	leaq	32(%r8), %rax
	movl	$-1, %ebx
	movl	$2147483647, %esi               ## imm = 0x7FFFFFFF
	xorl	%edx, %edx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	$2, %rdx
	addq	$48, %rax
	cmpq	%rdx, %r10
	je	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, -32(%rax)
	jle	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	-24(%rax), %ecx
	cmpl	%esi, %ecx
	cmovll	%edx, %ebx
	cmovll	%ecx, %esi
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, -8(%rax)
	jle	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rax), %ecx
	leal	1(%rdx), %edi
	cmpl	%esi, %ecx
	cmovll	%edi, %ebx
	cmovll	%ecx, %esi
	jmp	LBB0_9
LBB0_15:
	movl	%ebx, %r12d
LBB0_17:
	movq	(%r15), %rax
	leaq	(%r12,%r12,2), %rcx
	movl	12(%rax,%rcx,8), %edx
	movq	_loaded_users_size@GOTPCREL(%rip), %rsi
	subl	%edx, (%rsi)
	movq	$0, (%rax,%rcx,8)
	movq	_loaded_users_cnt@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	-1(%rcx), %rdx
	movq	%rdx, (%rax)
	xorl	%edi, %edi
	testq	%rcx, %rcx
	setg	%dil
	callq	_assert
	movl	(%r14), %eax
	leal	-1(%rax), %ecx
	cmpl	%ecx, %ebx
	jne	LBB0_19
## %bb.18:
	movl	%ebx, (%r14)
	xorl	%edi, %edi
	testl	%eax, %eax
	setg	%dil
	callq	_assert
LBB0_19:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_loaded_users_max,4,2           ## @loaded_users_max
	.comm	_LoadedUsers,8,3                ## @LoadedUsers
	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"drop_lru_user(): drop slot #%d at %p, size %d of user %d\n"

	.comm	_loaded_users_size,4,2          ## @loaded_users_size
	.comm	_loaded_users_cnt,8,3           ## @loaded_users_cnt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drop_lru_user                  ; -- Begin function drop_lru_user
	.p2align	2
_drop_lru_user:                         ; @drop_lru_user
	.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	x20, _loaded_users_max@GOTPAGE
Lloh1:
	ldr	x20, [x20, _loaded_users_max@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x9, #0
Lloh2:
	adrp	x21, _LoadedUsers@GOTPAGE
Lloh3:
	ldr	x21, [x21, _LoadedUsers@GOTPAGEOFF]
	ldr	x10, [x21]
	add	x10, x10, #8
	mov	w19, #-1
	mov	w11, #2147483647
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	add	x10, x10, #24
	cmp	x8, x9
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x12, [x10, #-8]
	cmp	x12, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w12, [x10]
	cmp	w12, w11
	csel	w19, w9, w19, lt
	csel	w11, w12, w11, lt
	b	LBB0_2
LBB0_5:
	tbnz	w19, #31, LBB0_12
; %bb.6:
Lloh4:
	adrp	x8, _verbosity@GOTPAGE
Lloh5:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x8, #0
	b.le	LBB0_9
; %bb.7:
Lloh7:
	adrp	x8, _stderr@GOTPAGE
Lloh8:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	x8, [x21]
	mov	w22, w19
	mov	w9, #24
	umaddl	x8, w19, w9, x8
	ldp	w5, w3, [x8, #16]
	ldr	w4, [x8, #12]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_fprintf
	b	LBB0_10
LBB0_8:
	mov	w19, #-1
	b	LBB0_12
LBB0_9:
	mov	w22, w19
LBB0_10:
	ldr	x8, [x21]
	mov	w9, #24
	madd	x8, x22, x9, x8
Lloh12:
	adrp	x9, _loaded_users_size@GOTPAGE
Lloh13:
	ldr	x9, [x9, _loaded_users_size@GOTPAGEOFF]
	ldr	w10, [x8, #12]
	ldr	w11, [x9]
	sub	w10, w11, w10
	str	w10, [x9]
Lloh14:
	adrp	x9, _loaded_users_cnt@GOTPAGE
Lloh15:
	ldr	x9, [x9, _loaded_users_cnt@GOTPAGEOFF]
	str	xzr, [x8]
	ldr	x8, [x9]
	sub	x10, x8, #1
	str	x10, [x9]
	cmp	x8, #0
	cset	w0, gt
	bl	_assert
	ldr	w8, [x20]
	sub	w9, w8, #1
	cmp	w19, w9
	b.ne	LBB0_12
; %bb.11:
	str	w19, [x20]
	cmp	w8, #0
	cset	w0, gt
	bl	_assert
LBB0_12:
	mov	x0, x19
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_loaded_users_max,4,2           ; @loaded_users_max
	.comm	_LoadedUsers,8,3                ; @LoadedUsers
	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"drop_lru_user(): drop slot #%d at %p, size %d of user %d\n"

	.comm	_loaded_users_size,4,2          ; @loaded_users_size
	.comm	_loaded_users_cnt,8,3           ; @loaded_users_cnt
.subsections_via_symbols
