	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LogfListItemByIndex            ## -- Begin function LogfListItemByIndex
	.p2align	4, 0x90
_LogfListItemByIndex:                   ## @LogfListItemByIndex
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_LogFileListCs@GOTPCREL(%rip), %rdi
	callq	_EnterCriticalSection
	movq	_LogFileListHead@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	xorl	%r14d, %r14d
	cmpq	%rax, %rdi
	je	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	decq	%rbx
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rdi), %rdi
	cmpq	%rax, %rdi
	jne	LBB0_2
	jmp	LBB0_4
LBB0_3:
	movq	_LOGFILE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ListEntry@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_CONTAINING_RECORD
	movq	%rax, %r14
LBB0_4:
	movq	_LogFileListCs@GOTPCREL(%rip), %rdi
	callq	_LeaveCriticalSection
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LogFileListCs,4,2              ## @LogFileListCs
	.comm	_LogFileListHead,8,3            ## @LogFileListHead
	.comm	_LOGFILE,4,2                    ## @LOGFILE
	.comm	_ListEntry,4,2                  ## @ListEntry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LogfListItemByIndex            ; -- Begin function LogfListItemByIndex
	.p2align	2
_LogfListItemByIndex:                   ; @LogfListItemByIndex
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x0, _LogFileListCs@GOTPAGE
Lloh1:
	ldr	x0, [x0, _LogFileListCs@GOTPAGEOFF]
	bl	_EnterCriticalSection
Lloh2:
	adrp	x8, _LogFileListHead@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LogFileListHead@GOTPAGEOFF]
	ldr	x0, [x8]
	cmp	x0, x8
	b.eq	LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	subs	x19, x19, #1
	b.eq	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [x0]
	cmp	x0, x8
	b.ne	LBB0_1
LBB0_3:
	mov	x19, #0
	b	LBB0_5
LBB0_4:
Lloh4:
	adrp	x8, _LOGFILE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LOGFILE@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _ListEntry@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ListEntry@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	bl	_CONTAINING_RECORD
	mov	x19, x0
LBB0_5:
Lloh10:
	adrp	x0, _LogFileListCs@GOTPAGE
Lloh11:
	ldr	x0, [x0, _LogFileListCs@GOTPAGEOFF]
	bl	_LeaveCriticalSection
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_LogFileListCs,4,2              ; @LogFileListCs
	.comm	_LogFileListHead,8,3            ; @LogFileListHead
	.comm	_LOGFILE,4,2                    ; @LOGFILE
	.comm	_ListEntry,4,2                  ; @ListEntry
.subsections_via_symbols
