	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UpdateStatus
_UpdateStatus:                          ## @UpdateStatus
	.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
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r8
	movq	%rsi, %rcx
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	testq	%rdx, %rdx
	jle	LBB0_2
## %bb.1:
	addq	(%rbx), %r8
LBB0_2:
	movq	%r8, (%rbx)
	testq	%rcx, %rcx
	jle	LBB0_3
## %bb.4:
	movq	%rcx, 8(%rbx)
	jmp	LBB0_5
LBB0_3:
	movq	8(%rbx), %rcx
LBB0_5:
	leaq	l_.str(%rip), %rdx
	leaq	-80(%rbp), %r14
	movq	%r14, %rdi
	movl	$49, %esi
	callq	__snwprintf
	movq	_LOG_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_LogEvent
	movl	16(%rbx), %edi
	movq	%rbx, %rsi
	callq	_SetServiceStatus
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	callq	_GetLastError
	movq	_LOG_ALL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	l_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_LogEvent
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	83                              ## 0x53
	.long	101                             ## 0x65
	.long	114                             ## 0x72
	.long	118                             ## 0x76
	.long	105                             ## 0x69
	.long	99                              ## 0x63
	.long	101                             ## 0x65
	.long	32                              ## 0x20
	.long	115                             ## 0x73
	.long	116                             ## 0x74
	.long	97                              ## 0x61
	.long	116                             ## 0x74
	.long	101                             ## 0x65
	.long	32                              ## 0x20
	.long	48                              ## 0x30
	.long	120                             ## 0x78
	.long	37                              ## 0x25
	.long	108                             ## 0x6c
	.long	120                             ## 0x78
	.long	44                              ## 0x2c
	.long	32                              ## 0x20
	.long	67                              ## 0x43
	.long	104                             ## 0x68
	.long	101                             ## 0x65
	.long	99                              ## 0x63
	.long	107                             ## 0x6b
	.long	80                              ## 0x50
	.long	111                             ## 0x6f
	.long	105                             ## 0x69
	.long	110                             ## 0x6e
	.long	116                             ## 0x74
	.long	32                              ## 0x20
	.long	37                              ## 0x25
	.long	108                             ## 0x6c
	.long	117                             ## 0x75
	.long	0                               ## 0x0

	.comm	_LOG_FILE,4,2                   ## @LOG_FILE
	.p2align	2                               ## @.str.1
l_.str.1:
	.long	67                              ## 0x43
	.long	97                              ## 0x61
	.long	110                             ## 0x6e
	.long	110                             ## 0x6e
	.long	111                             ## 0x6f
	.long	116                             ## 0x74
	.long	32                              ## 0x20
	.long	115                             ## 0x73
	.long	101                             ## 0x65
	.long	116                             ## 0x74
	.long	32                              ## 0x20
	.long	115                             ## 0x73
	.long	101                             ## 0x65
	.long	114                             ## 0x72
	.long	118                             ## 0x76
	.long	105                             ## 0x69
	.long	99                              ## 0x63
	.long	101                             ## 0x65
	.long	32                              ## 0x20
	.long	115                             ## 0x73
	.long	116                             ## 0x74
	.long	97                              ## 0x61
	.long	116                             ## 0x74
	.long	117                             ## 0x75
	.long	115                             ## 0x73
	.long	0                               ## 0x0

	.comm	_LOG_ALL,4,2                    ## @LOG_ALL
	.no_dead_strip	_UpdateStatus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UpdateStatus
_UpdateStatus:                          ; @UpdateStatus
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x4, x2
	mov	x3, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	cmp	x2, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	x8, [x19]
	add	x4, x8, x4
LBB0_2:
	str	x4, [x19]
	cmp	x3, #0
	b.le	LBB0_4
; %bb.3:
	str	x3, [x19, #8]
	b	LBB0_5
LBB0_4:
	ldr	x3, [x19, #8]
LBB0_5:
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #6
	mov	w1, #49
	bl	__snwprintf
Lloh5:
	adrp	x8, _LOG_FILE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LOG_FILE@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	add	x0, sp, #6
	mov	w1, #0
	mov	w2, #0
	bl	_LogEvent
	ldr	w0, [x19, #16]
	mov	x1, x19
	bl	_SetServiceStatus
	cbnz	w0, LBB0_7
; %bb.6:
	bl	_GetLastError
	mov	x1, x0
Lloh8:
	adrp	x8, _LOG_ALL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LOG_ALL@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w2, #0
	bl	_LogEvent
LBB0_7:
	ldur	x8, [x29, #-24]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	83                              ; 0x53
	.long	101                             ; 0x65
	.long	114                             ; 0x72
	.long	118                             ; 0x76
	.long	105                             ; 0x69
	.long	99                              ; 0x63
	.long	101                             ; 0x65
	.long	32                              ; 0x20
	.long	115                             ; 0x73
	.long	116                             ; 0x74
	.long	97                              ; 0x61
	.long	116                             ; 0x74
	.long	101                             ; 0x65
	.long	32                              ; 0x20
	.long	48                              ; 0x30
	.long	120                             ; 0x78
	.long	37                              ; 0x25
	.long	108                             ; 0x6c
	.long	120                             ; 0x78
	.long	44                              ; 0x2c
	.long	32                              ; 0x20
	.long	67                              ; 0x43
	.long	104                             ; 0x68
	.long	101                             ; 0x65
	.long	99                              ; 0x63
	.long	107                             ; 0x6b
	.long	80                              ; 0x50
	.long	111                             ; 0x6f
	.long	105                             ; 0x69
	.long	110                             ; 0x6e
	.long	116                             ; 0x74
	.long	32                              ; 0x20
	.long	37                              ; 0x25
	.long	108                             ; 0x6c
	.long	117                             ; 0x75
	.long	0                               ; 0x0

	.comm	_LOG_FILE,4,2                   ; @LOG_FILE
	.p2align	2                               ; @.str.1
l_.str.1:
	.long	67                              ; 0x43
	.long	97                              ; 0x61
	.long	110                             ; 0x6e
	.long	110                             ; 0x6e
	.long	111                             ; 0x6f
	.long	116                             ; 0x74
	.long	32                              ; 0x20
	.long	115                             ; 0x73
	.long	101                             ; 0x65
	.long	116                             ; 0x74
	.long	32                              ; 0x20
	.long	115                             ; 0x73
	.long	101                             ; 0x65
	.long	114                             ; 0x72
	.long	118                             ; 0x76
	.long	105                             ; 0x69
	.long	99                              ; 0x63
	.long	101                             ; 0x65
	.long	32                              ; 0x20
	.long	115                             ; 0x73
	.long	116                             ; 0x74
	.long	97                              ; 0x61
	.long	116                             ; 0x74
	.long	117                             ; 0x75
	.long	115                             ; 0x73
	.long	0                               ; 0x0

	.comm	_LOG_ALL,4,2                    ; @LOG_ALL
	.no_dead_strip	_UpdateStatus
.subsections_via_symbols
