	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StSetKeep                      ## -- Begin function StSetKeep
	.p2align	4, 0x90
_StSetKeep:                             ## @StSetKeep
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %r15
	cmpq	$0, 16(%rsi)
	je	LBB0_4
## %bb.1:
	movl	12(%rbx), %edi
	callq	_IsEmptyStr
	movq	_ERR_INVALID_PARAMETER@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.2:
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_8
## %bb.3:
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	jg	LBB0_8
LBB0_4:
	movq	(%r15), %rax
	movl	12(%rax), %edi
	callq	_Lock
	movq	(%r15), %r12
	movq	16(%rbx), %rax
	movq	%rax, 24(%r12)
	movl	$1, (%r12)
	movl	20(%r12), %edi
	movl	12(%rbx), %edx
	movl	$4, %esi
	callq	_StrCpy
	movl	(%rbx), %eax
	movl	%eax, 4(%r12)
	movl	8(%rbx), %eax
	movl	%eax, 16(%r12)
	imull	$1000, 4(%rbx), %ecx            ## imm = 0x3E8
	movl	%ecx, 8(%r12)
	movl	$5000, %eax                     ## imm = 0x1388
	cmpl	$5000, %ecx                     ## imm = 0x1388
	jl	LBB0_6
## %bb.5:
	movl	$600000, %eax                   ## imm = 0x927C0
	cmpl	$600001, %ecx                   ## imm = 0x927C1
	jb	LBB0_7
LBB0_6:
	movl	%eax, 8(%r12)
LBB0_7:
	movq	(%r15), %rax
	movl	12(%rax), %edi
	callq	_Unlock
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_ALog
	movq	%r15, %rdi
	callq	_IncrementServerConfigRevision
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rcx
LBB0_8:
	movl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_INVALID_PARAMETER,4,2      ## @ERR_INVALID_PARAMETER
	.comm	_SERVER_ADMIN_ONLY,4,2          ## @SERVER_ADMIN_ONLY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LA_SET_KEEP"

	.comm	_ERR_NO_ERROR,4,2               ## @ERR_NO_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StSetKeep                      ; -- Begin function StSetKeep
	.p2align	2
_StSetKeep:                             ; @StSetKeep
	.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	x21, x1
	mov	x20, x0
	ldr	x19, [x0]
	ldr	x8, [x1, #16]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	w0, [x21, #12]
	bl	_IsEmptyStr
	cbz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _ERR_INVALID_PARAMETER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERR_INVALID_PARAMETER@GOTPAGEOFF]
	b	LBB0_9
LBB0_3:
	ldr	w9, [x21]
Lloh2:
	adrp	x8, _ERR_INVALID_PARAMETER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERR_INVALID_PARAMETER@GOTPAGEOFF]
	cbz	w9, LBB0_9
; %bb.4:
	cmp	w9, #16, lsl #12                ; =65536
	b.ge	LBB0_9
LBB0_5:
	ldr	x8, [x19]
	ldr	w0, [x8, #12]
	bl	_Lock
	ldr	x22, [x19]
	ldr	x8, [x21, #16]
	str	x8, [x22, #24]
	mov	w8, #1
	str	w8, [x22]
	ldr	w0, [x22, #20]
	ldr	w2, [x21, #12]
	mov	w1, #4
	bl	_StrCpy
	ldr	w8, [x21, #8]
	str	w8, [x22, #16]
	ldp	w8, w9, [x21]
	mov	w10, #1000
	mul	w9, w9, w10
	stp	w8, w9, [x22, #4]
	mov	w8, #5000
	cmp	w9, w8
	b.lt	LBB0_7
; %bb.6:
	mov	w8, #10176
	movk	w8, #9, lsl #16
	cmp	w9, w8
	b.ls	LBB0_8
LBB0_7:
	str	w8, [x22, #8]
LBB0_8:
	ldr	x8, [x19]
	ldr	w0, [x8, #12]
	bl	_Unlock
Lloh4:
	adrp	x2, l_.str@PAGE
Lloh5:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, #0
	bl	_ALog
	mov	x0, x19
	bl	_IncrementServerConfigRevision
Lloh6:
	adrp	x8, _ERR_NO_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_INVALID_PARAMETER,4,2      ; @ERR_INVALID_PARAMETER
	.comm	_SERVER_ADMIN_ONLY,4,2          ; @SERVER_ADMIN_ONLY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LA_SET_KEEP"

	.comm	_ERR_NO_ERROR,4,2               ; @ERR_NO_ERROR
.subsections_via_symbols
