	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StGetConfig                    ## -- Begin function StGetConfig
	.p2align	4, 0x90
_StGetConfig:                           ## @StGetConfig
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_FreeRpcConfig
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_Zero
	movq	(%rbx), %r13
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ALog
	cmpq	$0, (%r13)
	je	LBB0_1
## %bb.2:
	movq	%r13, %rdi
	callq	_SiWriteConfigurationToCfg
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	$1, %esi
	callq	_CfgFolderToBuf
	movq	%rax, %r15
	movl	4(%r12), %edi
	movq	(%r13), %rax
	movq	(%rax), %rax
	xorl	%edx, %edx
	cmpb	$64, (%rax)
	sete	%dl
	addq	%rax, %rdx
	movl	$4, %esi
	callq	_StrCpy
	movq	(%r15), %rdi
	incq	%rdi
	callq	_ZeroMalloc
	movl	%eax, (%r12)
	movl	8(%r15), %esi
	movq	(%r15), %rdx
	movl	%eax, %edi
	callq	_Copy
	movq	%r14, %rdi
	callq	_CfgDeleteFolder
	movq	%r15, %rdi
	callq	_FreeBuf
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_ERR_INTERNAL_ERROR@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SERVER_ADMIN_ONLY,4,2          ## @SERVER_ADMIN_ONLY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LA_GET_CONFIG"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StGetConfig                    ; -- Begin function StGetConfig
	.p2align	2
_StGetConfig:                           ; @StGetConfig
	.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	x19, x1
	mov	x21, x0
	mov	x0, x1
	bl	_FreeRpcConfig
	mov	x0, x19
	mov	w1, #8
	bl	_Zero
	ldr	x20, [x21]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, #0
	bl	_ALog
	ldr	x8, [x20]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_SiWriteConfigurationToCfg
	mov	x21, x0
	mov	w1, #1
	bl	_CfgFolderToBuf
	mov	x22, x0
	ldr	w0, [x19, #4]
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	x9, x8
	ldrb	w10, [x9], #1
	cmp	w10, #64
	csel	x2, x8, x9, ne
	mov	w1, #4
	bl	_StrCpy
	ldr	x8, [x22]
	add	x0, x8, #1
	bl	_ZeroMalloc
	str	w0, [x19]
	ldr	w1, [x22, #8]
	ldr	x2, [x22]
	bl	_Copy
	mov	x0, x21
	bl	_CfgDeleteFolder
	mov	x0, x22
	bl	_FreeBuf
Lloh2:
	adrp	x8, _ERR_NO_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh4:
	adrp	x8, _ERR_INTERNAL_ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERR_INTERNAL_ERROR@GOTPAGEOFF]
LBB0_3:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SERVER_ADMIN_ONLY,4,2          ; @SERVER_ADMIN_ONLY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LA_GET_CONFIG"

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