	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lru_save
_lru_save:                              ## @lru_save
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SESSION_ID_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	(%rbx), %rax
	movq	_LRU_ENTRY_LEN@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jl	LBB0_14
## %bb.1:
	cmpl	$0, 8(%rbx)
	jne	LBB0_3
## %bb.2:
	movl	52(%rbx), %esi
	movq	%r12, %rdi
	movl	$4, %edx
	callq	_br_hmac_drbg_generate
	movq	%r12, %rdi
	callq	_br_hmac_drbg_get_hash
	movl	%eax, 48(%rbx)
	movl	$1, 8(%rbx)
LBB0_3:
	movl	16(%r14), %esi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_mask_id
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_find_node
	movq	_ADDR_NULL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.4:
	movq	(%rbx), %rcx
	movq	16(%rbx), %r12
	movq	(%r13), %rax
	subq	%rax, %rcx
	cmpq	%rcx, %r12
	jle	LBB0_9
## %bb.5:
	movq	24(%rbx), %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_get_prev
	movq	%rax, 24(%rbx)
	movq	_ADDR_NULL@GOTPCREL(%rip), %r13
	movq	(%r13), %rdx
	cmpq	%rdx, %rax
	jne	LBB0_7
## %bb.6:
	movq	%rax, 32(%rbx)
	jmp	LBB0_8
LBB0_9:
	addq	%r12, %rax
	movq	%rax, 16(%rbx)
	movq	_ADDR_NULL@GOTPCREL(%rip), %r13
	jmp	LBB0_10
LBB0_7:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_set_next
LBB0_8:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_remove_node
LBB0_10:
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_find_node
	movq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_set_link
	movq	(%r13), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_set_left
	movq	(%r13), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_set_right
	movq	32(%rbx), %rdx
	cmpq	(%r13), %rdx
	jne	LBB0_12
## %bb.11:
	movq	%r12, 24(%rbx)
	jmp	LBB0_13
LBB0_12:
	movq	%rbx, %rdi
	movq	%rdx, %rsi
	movq	%r12, %rdx
	callq	_set_prev
	movq	(%r13), %rdx
LBB0_13:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_set_prev
	movq	32(%rbx), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_set_next
	movq	%r12, 32(%rbx)
	movq	40(%rbx), %rdi
	addq	%r12, %rdi
	movq	_SESSION_ID_OFF@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	movq	_SESSION_ID_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_memcpy
	movq	40(%rbx), %rdi
	addq	%r12, %rdi
	movq	_MASTER_SECRET_OFF@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	movq	(%r14), %rsi
	movq	_MASTER_SECRET_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	40(%rbx), %rdi
	addq	%r12, %rdi
	movq	_VERSION_OFF@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	movl	12(%r14), %esi
	callq	_br_enc16be
	addq	40(%rbx), %r12
	movq	_CIPHER_SUITE_OFF@GOTPCREL(%rip), %rax
	addq	(%rax), %r12
	movl	8(%r14), %esi
	movq	%r12, %rdi
	callq	_br_enc16be
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SESSION_ID_LEN,4,2             ## @SESSION_ID_LEN
	.comm	_LRU_ENTRY_LEN,8,3              ## @LRU_ENTRY_LEN
	.comm	_ADDR_NULL,8,3                  ## @ADDR_NULL
	.comm	_SESSION_ID_OFF,8,3             ## @SESSION_ID_OFF
	.comm	_MASTER_SECRET_OFF,8,3          ## @MASTER_SECRET_OFF
	.comm	_MASTER_SECRET_LEN,4,2          ## @MASTER_SECRET_LEN
	.comm	_VERSION_OFF,8,3                ## @VERSION_OFF
	.comm	_CIPHER_SUITE_OFF,8,3           ## @CIPHER_SUITE_OFF
	.no_dead_strip	_lru_save
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lru_save
_lru_save:                              ; @lru_save
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #16
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x23, _SESSION_ID_LEN@GOTPAGE
Lloh4:
	ldr	x23, [x23, _SESSION_ID_LEN@GOTPAGEOFF]
	ldr	w8, [x23]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	ldr	x8, [x0]
Lloh7:
	adrp	x25, _LRU_ENTRY_LEN@GOTPAGE
Lloh8:
	ldr	x25, [x25, _LRU_ENTRY_LEN@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
	b.lt	LBB0_14
; %bb.1:
	ldr	w8, [x20, #8]
	cbnz	w8, LBB0_3
; %bb.2:
	ldr	w1, [x20, #52]
	mov	x0, x22
	mov	w2, #4
	bl	_br_hmac_drbg_generate
	mov	x0, x22
	bl	_br_hmac_drbg_get_hash
	str	w0, [x20, #48]
	mov	w8, #1
	str	w8, [x20, #8]
LBB0_3:
	ldr	w1, [x19, #16]
	mov	x0, x20
	mov	x2, x21
	bl	_mask_id
	mov	x0, x20
	mov	x1, x21
	mov	x2, #0
	bl	_find_node
Lloh9:
	adrp	x24, _ADDR_NULL@GOTPAGE
Lloh10:
	ldr	x24, [x24, _ADDR_NULL@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.4:
	ldr	x22, [x20, #16]
	ldr	x9, [x20]
	ldr	x8, [x25]
	sub	x9, x9, x8
	cmp	x22, x9
	b.le	LBB0_7
; %bb.5:
	ldr	x22, [x20, #24]
	mov	x0, x20
	mov	x1, x22
	bl	_get_prev
	mov	x1, x0
	str	x0, [x20, #24]
	ldr	x2, [x24]
	cmp	x0, x2
	b.ne	LBB0_8
; %bb.6:
	str	x1, [x20, #32]
	b	LBB0_9
LBB0_7:
	add	x8, x8, x22
	str	x8, [x20, #16]
	b	LBB0_10
LBB0_8:
	mov	x0, x20
	bl	_set_next
LBB0_9:
	mov	x0, x20
	mov	x1, x22
	bl	_remove_node
LBB0_10:
	sub	x2, x29, #80
	mov	x0, x20
	mov	x1, x21
	bl	_find_node
	ldur	x1, [x29, #-80]
	mov	x0, x20
	mov	x2, x22
	bl	_set_link
	ldr	x2, [x24]
	mov	x0, x20
	mov	x1, x22
	bl	_set_left
	ldr	x2, [x24]
	mov	x0, x20
	mov	x1, x22
	bl	_set_right
	ldr	x2, [x20, #32]
	ldr	x8, [x24]
	cmp	x2, x8
	b.ne	LBB0_12
; %bb.11:
	str	x22, [x20, #24]
	b	LBB0_13
LBB0_12:
	mov	x0, x20
	mov	x1, x2
	mov	x2, x22
	bl	_set_prev
	ldr	x2, [x24]
LBB0_13:
	mov	x0, x20
	mov	x1, x22
	bl	_set_prev
	ldr	x2, [x20, #32]
	mov	x0, x20
	mov	x1, x22
	bl	_set_next
	str	x22, [x20, #32]
	ldr	x8, [x20, #40]
Lloh11:
	adrp	x9, _SESSION_ID_OFF@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SESSION_ID_OFF@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x8, x8, x22
	add	x0, x8, x9
	ldr	w2, [x23]
	mov	x1, x21
	bl	_memcpy
	ldr	x8, [x20, #40]
Lloh14:
	adrp	x9, _MASTER_SECRET_OFF@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MASTER_SECRET_OFF@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	add	x8, x8, x22
	add	x0, x8, x9
	ldr	x1, [x19]
Lloh17:
	adrp	x8, _MASTER_SECRET_LEN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MASTER_SECRET_LEN@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	bl	_memcpy
	ldr	x8, [x20, #40]
Lloh20:
	adrp	x9, _VERSION_OFF@GOTPAGE
Lloh21:
	ldr	x9, [x9, _VERSION_OFF@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	add	x8, x8, x22
	add	x0, x8, x9
	ldr	w1, [x19, #12]
	bl	_br_enc16be
	ldr	x8, [x20, #40]
Lloh23:
	adrp	x9, _CIPHER_SUITE_OFF@GOTPAGE
Lloh24:
	ldr	x9, [x9, _CIPHER_SUITE_OFF@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	add	x8, x8, x22
	add	x0, x8, x9
	ldr	w1, [x19, #8]
	bl	_br_enc16be
LBB0_14:
	ldur	x8, [x29, #-72]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_SESSION_ID_LEN,4,2             ; @SESSION_ID_LEN
	.comm	_LRU_ENTRY_LEN,8,3              ; @LRU_ENTRY_LEN
	.comm	_ADDR_NULL,8,3                  ; @ADDR_NULL
	.comm	_SESSION_ID_OFF,8,3             ; @SESSION_ID_OFF
	.comm	_MASTER_SECRET_OFF,8,3          ; @MASTER_SECRET_OFF
	.comm	_MASTER_SECRET_LEN,4,2          ; @MASTER_SECRET_LEN
	.comm	_VERSION_OFF,8,3                ; @VERSION_OFF
	.comm	_CIPHER_SUITE_OFF,8,3           ; @CIPHER_SUITE_OFF
	.no_dead_strip	_lru_save
.subsections_via_symbols
