	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StReadLogFile                  ## -- Begin function StReadLogFile
	.p2align	4, 0x90
_StReadLogFile:                         ## @StReadLogFile
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_MAX_HOST_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	incl	%r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rdi
	callq	_IsEmptyStr
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ERR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_2:
	movq	(%r15), %rdx
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_StrCpy
	movq	8(%r15), %rdx
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_StrCpy
	movq	%r15, %r12
	movq	16(%r15), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_SERVER_TYPE_FARM_CONTROLLER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_GetMachineName
LBB0_4:
	movq	%rbx, %r15
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	jne	LBB0_7
## %bb.5:
	leaq	-120(%rbp), %r14
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_Zero
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_StEnumLogFile
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_FreeRpcEnumLogFile
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_26
## %bb.6:
	movq	(%r13), %rdi
LBB0_7:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_CheckLogFileNameFromEnumList
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, %r13
	movq	%r12, %rdi
	callq	_FreeRpcReadLogFile
	movq	%r12, %rdi
	movl	$32, %esi
	callq	_Zero
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	(%r12), %rax
	movq	_SERVER_TYPE_FARM_CONTROLLER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_21
## %bb.10:
	movl	8(%r12), %edi
	callq	_LockList
	movl	8(%r12), %edi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_20
## %bb.11:
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%rbx
	movl	8(%r12), %edi
	callq	_LIST_NUM
	cmpq	%rax, %rbx
	jge	LBB0_20
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	8(%r12), %edi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	cmpl	$0, (%rax)
	jne	LBB0_19
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rax, %r14
	movl	4(%rax), %edi
	movq	%r15, %rsi
	callq	_StrCmpi
	testq	%rax, %rax
	jne	LBB0_19
## %bb.14:
	leaq	-120(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_Zero
	movq	-112(%rbp), %rdi
	movl	$8, %esi
	movq	%r15, %rdx
	callq	_StrCpy
	movq	-120(%rbp), %rdi
	movl	$8, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_StrCpy
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -104(%rbp)
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_SiCallReadLogFile
	testq	%rax, %rax
	je	LBB0_18
## %bb.15:
	movq	-96(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	cmpq	$0, (%rax)
	jle	LBB0_18
## %bb.17:
	xorl	%eax, %eax
	callq	_NewBuf
	movq	%rax, 24(%r13)
	movq	-96(%rbp), %rcx
	movl	8(%rcx), %esi
	movq	(%rcx), %rdx
	movq	%rax, %rdi
	callq	_WriteBuf
LBB0_18:
	leaq	-120(%rbp), %rdi
	callq	_FreeRpcReadLogFile
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	callq	_UnlockList
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_22
LBB0_8:
	movq	_ERR_OBJECT_NOT_FOUND@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_20:
	movl	8(%r12), %edi
	callq	_UnlockList
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_21:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%r13, %rcx
	callq	_SiReadLocalLogFile
LBB0_22:
	testq	%r14, %r14
	jne	LBB0_24
## %bb.23:
	leaq	L_.str(%rip), %rdx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movq	%r15, %rcx
	movq	%rbx, %r8
	callq	_ALog
LBB0_24:
	movq	(%r13), %rdi
	movl	$8, %esi
	movq	%rbx, %rdx
	callq	_StrCpy
	movq	8(%r13), %rdi
	movl	$8, %esi
	movq	%r15, %rdx
	callq	_StrCpy
	movq	%r14, 16(%r13)
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
LBB0_25:
	movq	(%rax), %rbx
LBB0_26:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_28
## %bb.27:
	movq	%rbx, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.comm	_MAX_HOST_NAME_LEN,4,2          ## @MAX_HOST_NAME_LEN
	.comm	_ERR_INVALID_PARAMETER,8,3      ## @ERR_INVALID_PARAMETER
	.comm	_SERVER_TYPE_FARM_CONTROLLER,8,3 ## @SERVER_TYPE_FARM_CONTROLLER
	.comm	_ERR_NO_ERROR,8,3               ## @ERR_NO_ERROR
	.comm	_ERR_OBJECT_NOT_FOUND,8,3       ## @ERR_OBJECT_NOT_FOUND
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LA_READ_LOG_FILE"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StReadLogFile                  ; -- Begin function StReadLogFile
	.p2align	2
_StReadLogFile:                         ; @StReadLogFile
	.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, #48
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x23, [x0, #8]
Lloh3:
	adrp	x8, _MAX_PATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_PATH@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	mov	x9, x24
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
Lloh8:
	adrp	x8, _MAX_HOST_NAME_LEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAX_HOST_NAME_LEN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	add	w25, w8, #1
	mov	x9, x25
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x25, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	ldr	x0, [x1]
	bl	_IsEmptyStr
	cbz	x0, LBB0_2
; %bb.1:
Lloh13:
	adrp	x8, _ERR_INVALID_PARAMETER@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERR_INVALID_PARAMETER@GOTPAGEOFF]
	b	LBB0_25
LBB0_2:
	ldr	x2, [x19]
	mov	x0, x20
	mov	x1, x24
	bl	_StrCpy
	ldr	x2, [x19, #8]
	mov	x0, x22
	mov	x1, x25
	bl	_StrCpy
	ldr	x24, [x19, #16]
	ldr	x8, [x23]
Lloh15:
	adrp	x26, _SERVER_TYPE_FARM_CONTROLLER@GOTPAGE
Lloh16:
	ldr	x26, [x26, _SERVER_TYPE_FARM_CONTROLLER@GOTPAGEOFF]
	ldr	x9, [x26]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x22
	mov	x1, x25
	bl	_GetMachineName
LBB0_4:
	ldr	x0, [x21]
	cbnz	x0, LBB0_7
; %bb.5:
	sub	x0, x29, #104
	mov	w1, #32
	bl	_Zero
	sub	x1, x29, #104
	mov	x0, x21
	bl	_StEnumLogFile
	mov	x25, x0
	sub	x0, x29, #104
	bl	_FreeRpcEnumLogFile
Lloh17:
	adrp	x8, _ERR_NO_ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cmp	x25, x8
	b.ne	LBB0_26
; %bb.6:
	ldr	x0, [x21]
LBB0_7:
	mov	x1, x20
	mov	x2, x22
	bl	_CheckLogFileNameFromEnumList
	cbz	w0, LBB0_19
; %bb.8:
	mov	x0, x19
	bl	_FreeRpcReadLogFile
	mov	x0, x19
	mov	w1, #32
	bl	_Zero
	ldr	x8, [x23]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.9:
	ldr	w0, [x23, #8]
	bl	_LockList
	ldr	w0, [x23, #8]
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_20
; %bb.10:
	mov	x26, #0
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x26, x26, #1
	ldr	w0, [x23, #8]
	bl	_LIST_NUM
	cmp	x26, x0
	b.ge	LBB0_20
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23, #8]
	mov	x1, x26
	bl	_LIST_DATA
	ldr	w8, [x0]
	cbnz	w8, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x25, x0
	ldr	w0, [x0, #4]
	mov	x1, x22
	bl	_StrCmpi
	cbnz	x0, LBB0_11
; %bb.14:
	sub	x0, x29, #104
	mov	w1, #32
	bl	_Zero
	ldur	x0, [x29, #-96]
	mov	w1, #8
	mov	x2, x22
	bl	_StrCpy
	ldur	x0, [x29, #-104]
	mov	w1, #8
	mov	x2, x20
	bl	_StrCpy
	stur	x24, [x29, #-88]
	sub	x2, x29, #104
	mov	x0, x23
	mov	x1, x25
	bl	_SiCallReadLogFile
	cbz	x0, LBB0_18
; %bb.15:
	ldur	x8, [x29, #-80]
	cbz	x8, LBB0_18
; %bb.16:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_18
; %bb.17:
	bl	_NewBuf
	str	x0, [x19, #24]
	ldur	x8, [x29, #-80]
	ldr	w1, [x8, #8]
	ldr	x2, [x8]
	bl	_WriteBuf
LBB0_18:
	sub	x0, x29, #104
	bl	_FreeRpcReadLogFile
	ldr	w0, [x23, #8]
	bl	_UnlockList
	b	LBB0_22
LBB0_19:
Lloh20:
	adrp	x8, _ERR_OBJECT_NOT_FOUND@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERR_OBJECT_NOT_FOUND@GOTPAGEOFF]
	b	LBB0_25
LBB0_20:
	ldr	w0, [x23, #8]
	bl	_UnlockList
LBB0_21:
	mov	x0, x23
	mov	x1, x20
	mov	x2, x24
	mov	x3, x19
	bl	_SiReadLocalLogFile
LBB0_22:
	cbnz	x24, LBB0_24
; %bb.23:
Lloh22:
	adrp	x2, l_.str@PAGE
Lloh23:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, #0
	mov	x3, x22
	mov	x4, x20
	bl	_ALog
LBB0_24:
	ldr	x0, [x19]
	mov	w1, #8
	mov	x2, x20
	bl	_StrCpy
	ldr	x0, [x19, #8]
	mov	w1, #8
	mov	x2, x22
	bl	_StrCpy
	str	x24, [x19, #16]
Lloh24:
	adrp	x8, _ERR_NO_ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF]
LBB0_25:
	ldr	x25, [x8]
LBB0_26:
	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_28
; %bb.27:
	mov	x0, x25
	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_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.comm	_MAX_HOST_NAME_LEN,4,2          ; @MAX_HOST_NAME_LEN
	.comm	_ERR_INVALID_PARAMETER,8,3      ; @ERR_INVALID_PARAMETER
	.comm	_SERVER_TYPE_FARM_CONTROLLER,8,3 ; @SERVER_TYPE_FARM_CONTROLLER
	.comm	_ERR_NO_ERROR,8,3               ; @ERR_NO_ERROR
	.comm	_ERR_OBJECT_NOT_FOUND,8,3       ; @ERR_OBJECT_NOT_FOUND
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LA_READ_LOG_FILE"

.subsections_via_symbols
