	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LoadEventLabel                 ## -- Begin function LoadEventLabel
	.p2align	4, 0x90
_LoadEventLabel:                        ## @LoadEventLabel
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_PATH@GOTPCREL(%rip), %r14
	movl	(%r14), %r13d
	leaq	(,%r13,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movl	(%r14), %r14d
	leaq	(,%r14,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	_KEY_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-52(%rbp), %r8
	movl	%r15d, %edi
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_RegOpenKeyEx
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r15
	movq	_FALSE@GOTPCREL(%rip), %rbx
	cmpq	(%r15), %rax
	jne	LBB0_9
## %bb.1:
	shll	$2, %r13d
	movl	%r13d, -56(%rbp)
	movl	-52(%rbp), %edi
	leaq	-56(%rbp), %r9
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	%r12d, %r8d
	callq	_RegQueryValueEx
	cmpq	(%r15), %rax
	jne	LBB0_2
## %bb.3:
	movq	%r12, %r13
	shll	$2, %r14d
	movl	%r14d, -56(%rbp)
	movl	-52(%rbp), %r14d
	leaq	L_.str(%rip), %rdi
	callq	__T
	leaq	-56(%rbp), %r9
	movl	%r14d, %edi
	movq	%rax, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movl	%r12d, %r8d
	callq	_RegQueryValueEx
	cmpq	(%r15), %rax
	jne	LBB0_2
## %bb.4:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	_HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	movl	$4, %edx
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movq	%rax, %r14
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	__tcsdup
	movq	%rax, 24(%r14)
	movq	%r13, %rdi
	callq	__tcsdup
	movq	%rax, 16(%r14)
	movq	%r12, %rdi
	callq	__tcsdup
	movq	%rax, 8(%r14)
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rax, (%r14)
	movq	%r14, (%rcx)
	jmp	LBB0_8
LBB0_2:
	movl	-52(%rbp), %edi
	callq	_RegCloseKey
LBB0_9:
	movl	(%rbx), %eax
	movq	-88(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_11
## %bb.10:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r14, (%rcx)
	movq	$0, (%r14)
LBB0_8:
	movq	_TRUE@GOTPCREL(%rip), %rbx
	jmp	LBB0_9
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.comm	_KEY_READ,4,2                   ## @KEY_READ
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DispFileName"

	.comm	_HEAP_ZERO_MEMORY,4,2           ## @HEAP_ZERO_MEMORY
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LoadEventLabel                 ; -- Begin function LoadEventLabel
	.p2align	2
_LoadEventLabel:                        ; @LoadEventLabel
	.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	x20, x2
	mov	x19, x0
	mov	x24, sp
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	x12, _MAX_PATH@GOTPAGE
Lloh4:
	ldr	x12, [x12, _MAX_PATH@GOTPAGEOFF]
	ldr	w26, [x12]
	lsl	x8, x26, #2
	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, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	ldr	w23, [x12]
	lsl	x8, x23, #2
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x22, x9, x8
	mov	sp, x22
Lloh9:
	adrp	x8, _KEY_READ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _KEY_READ@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	sub	x4, x29, #76
	mov	x0, x1
	mov	x1, x2
	mov	w2, #0
	bl	_RegOpenKeyEx
Lloh12:
	adrp	x25, _ERROR_SUCCESS@GOTPAGE
Lloh13:
	ldr	x25, [x25, _ERROR_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.1:
	lsl	w8, w26, #2
	stur	w8, [x29, #-80]
	ldur	w0, [x29, #-76]
	sub	x5, x29, #80
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, x21
	bl	_RegQueryValueEx
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.2:
	lsl	w8, w23, #2
	stur	w8, [x29, #-80]
	ldur	w23, [x29, #-76]
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	__T
	mov	x1, x0
	sub	x5, x29, #80
	mov	x0, x23
	mov	x2, #0
	mov	x3, #0
	mov	x4, x22
	bl	_RegQueryValueEx
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.3:
	bl	_GetProcessHeap
Lloh16:
	adrp	x8, _HEAP_ZERO_MEMORY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _HEAP_ZERO_MEMORY@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_HeapAlloc
	cbz	x0, LBB0_7
; %bb.4:
	mov	x23, x0
	mov	x0, x20
	bl	__tcsdup
	str	x0, [x23, #24]
	mov	x0, x21
	bl	__tcsdup
	str	x0, [x23, #16]
	mov	x0, x22
	bl	__tcsdup
	str	x0, [x23, #8]
	ldr	x8, [x19]
	cbz	x8, LBB0_10
; %bb.5:
	str	x8, [x23]
	str	x23, [x19]
	b	LBB0_11
LBB0_6:
	ldur	w0, [x29, #-76]
	bl	_RegCloseKey
LBB0_7:
Lloh19:
	adrp	x8, _FALSE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	mov	sp, x24
	ldur	x8, [x29, #-72]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.9:
	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_10:
	str	x23, [x19]
	str	xzr, [x23]
LBB0_11:
Lloh24:
	adrp	x8, _TRUE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_8
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.comm	_KEY_READ,4,2                   ; @KEY_READ
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DispFileName"

	.comm	_HEAP_ZERO_MEMORY,4,2           ; @HEAP_ZERO_MEMORY
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
