	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DoStartService                 ## -- Begin function DoStartService
	.p2align	4, 0x90
_DoStartService:                        ## @DoStartService
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	$0, -60(%rbp)
	testq	%rdx, %rdx
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r12
	movq	(%rdx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.4:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	leaq	8(%r12), %rbx
	xorl	%r14d, %r14d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%ecx, %ecx
	cmpq	%rax, %r13
	setne	%cl
	addl	%ecx, %r14d
	movq	%rax, %r13
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx), %rdi
	addq	$8, %rbx
	testq	%rdi, %rdi
	je	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	callq	_iswspace
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	jmp	LBB0_8
LBB0_1:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_21
LBB0_3:
	xorl	%r14d, %r14d
LBB0_9:
	movq	_LMEM_FIXED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$3, %r14d
	movl	%r14d, %esi
	callq	_LocalAlloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%rax, %rbx
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.13:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	_TRUE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r14
	xorl	%r13d, %r13d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	$0, (%r12)
	movq	(%rbx), %rax
LBB0_19:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	8(%r12), %rdi
	addq	$8, %r12
	movq	%rax, %r14
	testq	%rdi, %rdi
	je	LBB0_20
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	callq	_iswspace
	testq	%rax, %rax
	jne	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %r14
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r14, %rax
	jmp	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	movslq	%r13d, %r13
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, (%rcx,%r13,8)
	incl	%r13d
	jmp	LBB0_19
LBB0_20:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_21
LBB0_12:
	xorl	%r13d, %r13d
LBB0_21:
	movq	_SC_MANAGER_CONNECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_OpenSCManagerW
	testl	%eax, %eax
	je	LBB0_22
## %bb.24:
	movl	%eax, %r14d
	movq	_SERVICE_START@GOTPCREL(%rip), %rax
	movq	_SERVICE_QUERY_STATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	%r14d, %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_OpenServiceW
	testl	%eax, %eax
	je	LBB0_25
## %bb.26:
	movl	%eax, %r12d
	movl	%eax, %edi
	movl	%r13d, %esi
	movq	%rbx, %rdx
	callq	_StartServiceW
	testq	%rax, %rax
	je	LBB0_27
## %bb.28:
	testq	%r15, %r15
	je	LBB0_30
## %bb.29:
	movq	_DEFAULT_STEP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_IncrementProgressBar
LBB0_30:
	movq	_SC_STATUS_PROCESS_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-104(%rbp), %rdx
	leaq	-60(%rbp), %r8
	movl	%r12d, %edi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	$24, %ecx
	callq	_QueryServiceStatusEx
	testq	%rax, %rax
	je	LBB0_31
## %bb.32:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_MAX_WAIT_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	-104(%rbp), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_GetTickCount
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	-96(%rbp), %rax
	movq	_SERVICE_RUNNING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_46
## %bb.33:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	_DEFAULT_STEP@GOTPCREL(%rip), %r14
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_34 Depth=1
	movl	-104(%rbp), %ecx
	movl	%ecx, -72(%rbp)                 ## 4-byte Spill
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
LBB0_44:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	-96(%rbp), %rax
	movq	_SERVICE_RUNNING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_45
LBB0_34:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_37 Depth 2
	movl	-88(%rbp), %ecx
	movw	$1000, %ax                      ## imm = 0x3E8
	cmpl	$10000, %ecx                    ## imm = 0x2710
	jl	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=1
	movl	%ecx, %eax
	movl	$3435973837, %ecx               ## imm = 0xCCCCCCCD
	imulq	%rcx, %rax
	shrq	$35, %rax
	cmpl	$10000, %eax                    ## imm = 0x2710
	movl	$10000, %ecx                    ## imm = 0x2710
	cmovgel	%ecx, %eax
LBB0_36:                                ##   in Loop: Header=BB0_34 Depth=1
	movzwl	%ax, %eax
	shrl	$3, %eax
	imull	$8389, %eax, %ebx               ## imm = 0x20C5
	shrl	$20, %ebx
	incl	%ebx
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_39:                                ##   in Loop: Header=BB0_37 Depth=2
	decl	%ebx
	cmpl	$1, %ebx
	jle	LBB0_40
LBB0_37:                                ##   Parent Loop BB0_34 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_Sleep
	testq	%r15, %r15
	je	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_37 Depth=2
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_IncrementProgressBar
	jmp	LBB0_39
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	_SC_STATUS_PROCESS_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	leaq	-104(%rbp), %rdx
                                        ## kill: def $edx killed $edx killed $rdx
	movl	$24, %ecx
	leaq	-60(%rbp), %r8
	callq	_QueryServiceStatusEx
	testq	%rax, %rax
	je	LBB0_45
## %bb.41:                              ##   in Loop: Header=BB0_34 Depth=1
	movl	-104(%rbp), %ebx
	xorl	%eax, %eax
	callq	_GetTickCount
	cmpl	-72(%rbp), %ebx                 ## 4-byte Folded Reload
	jg	LBB0_42
## %bb.43:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	addl	%edx, %ecx
	cmpl	%ecx, %eax
	jl	LBB0_44
LBB0_45:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_46
LBB0_25:
	movl	%r14d, %edi
	callq	_CloseServiceHandle
LBB0_22:
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.23:
	movl	%ebx, %edi
	callq	_LocalFree
LBB0_10:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	jmp	LBB0_51
LBB0_27:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_GetLastError
	movq	_ERROR_SERVICE_ALREADY_RUNNING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_48
	jmp	LBB0_49
LBB0_31:
	xorl	%r13d, %r13d
LBB0_46:
	movq	_SERVICE_RUNNING@GOTPCREL(%rip), %rcx
	movq	-96(%rbp), %rax
	cmpq	(%rcx), %rax
	jne	LBB0_49
LBB0_48:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
LBB0_49:
	movl	%r12d, %edi
	callq	_CloseServiceHandle
	movl	%r14d, %edi
	callq	_CloseServiceHandle
	testq	%rbx, %rbx
	je	LBB0_51
## %bb.50:
	movl	%ebx, %edi
	callq	_LocalFree
LBB0_51:
	movq	%r13, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_LMEM_FIXED,4,2                 ## @LMEM_FIXED
	.comm	_SC_MANAGER_CONNECT,4,2         ## @SC_MANAGER_CONNECT
	.comm	_SERVICE_START,4,2              ## @SERVICE_START
	.comm	_SERVICE_QUERY_STATUS,4,2       ## @SERVICE_QUERY_STATUS
	.comm	_ERROR_SERVICE_ALREADY_RUNNING,8,3 ## @ERROR_SERVICE_ALREADY_RUNNING
	.comm	_DEFAULT_STEP,4,2               ## @DEFAULT_STEP
	.comm	_SC_STATUS_PROCESS_INFO,4,2     ## @SC_STATUS_PROCESS_INFO
	.comm	_MAX_WAIT_TIME,4,2              ## @MAX_WAIT_TIME
	.comm	_SERVICE_RUNNING,8,3            ## @SERVICE_RUNNING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DoStartService                 ; -- Begin function DoStartService
	.p2align	2
_DoStartService:                        ; @DoStartService
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x22, x0
	str	wzr, [sp, #20]
	cbz	x2, LBB0_14
; %bb.1:
	mov	x21, x2
	ldr	x0, [x2]
Lloh0:
	adrp	x25, _TRUE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _TRUE@GOTPAGEOFF]
Lloh2:
	adrp	x24, _FALSE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _FALSE@GOTPAGEOFF]
	mov	w20, #0
	cbz	x0, LBB0_6
; %bb.2:
	ldr	x26, [x25]
	add	x23, x21, #8
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24]
	cmp	x26, x8
	cinc	w20, w20, ne
	mov	x26, x8
	ldr	x0, [x23], #8
	cbz	x0, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	bl	_iswspace
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x26, [x25]
	ldr	x0, [x23], #8
	cbnz	x0, LBB0_4
LBB0_6:
Lloh4:
	adrp	x8, _LMEM_FIXED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LMEM_FIXED@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	lsl	w1, w20, #3
	bl	_LocalAlloc
	cbz	x0, LBB0_15
; %bb.7:
	mov	x20, x0
	ldr	x0, [x21]
	cbz	x0, LBB0_16
; %bb.8:
	mov	w23, #0
	ldr	x26, [x25]
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	str	xzr, [x21]
	ldr	x26, [x25]
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x0, [x21, #8]!
	cbz	x0, LBB0_17
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	bl	_iswspace
	cbnz	x0, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x24]
	cmp	x26, x8
	b.eq	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	str	x21, [x20, w23, sxtw #3]
	add	w23, w23, #1
	mov	x26, x8
	b	LBB0_10
LBB0_14:
	mov	w23, #0
	mov	x20, #0
	b	LBB0_17
LBB0_15:
	ldr	x19, [x24]
	b	LBB0_47
LBB0_16:
	mov	w23, #0
LBB0_17:
Lloh7:
	adrp	x8, _SC_MANAGER_CONNECT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SC_MANAGER_CONNECT@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, #0
	mov	x1, #0
	bl	_OpenSCManagerW
	cbz	w0, LBB0_38
; %bb.18:
	mov	x21, x0
Lloh10:
	adrp	x8, _SERVICE_START@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SERVICE_START@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _SERVICE_QUERY_STATUS@GOTPAGE
Lloh14:
	ldr	x9, [x9, _SERVICE_QUERY_STATUS@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x1, x22
	bl	_OpenServiceW
	cbz	w0, LBB0_41
; %bb.19:
	mov	x22, x0
	mov	x1, x23
	mov	x2, x20
	bl	_StartServiceW
	cbz	x0, LBB0_42
; %bb.20:
	cbz	x19, LBB0_22
; %bb.21:
Lloh16:
	adrp	x8, _DEFAULT_STEP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DEFAULT_STEP@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_IncrementProgressBar
LBB0_22:
Lloh19:
	adrp	x8, _SC_STATUS_PROCESS_INFO@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SC_STATUS_PROCESS_INFO@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	add	x2, sp, #24
	add	x4, sp, #20
	mov	x0, x22
	mov	w3, #24
	bl	_QueryServiceStatusEx
	cbz	x0, LBB0_43
; %bb.23:
Lloh22:
	adrp	x8, _FALSE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh24:
	ldr	x24, [x8]
Lloh25:
	adrp	x8, _MAX_WAIT_TIME@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MAX_WAIT_TIME@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	str	w8, [sp, #16]                   ; 4-byte Folded Spill
	ldr	w27, [sp, #24]
	bl	_GetTickCount
	ldr	x8, [sp, #32]
Lloh28:
	adrp	x28, _SERVICE_RUNNING@GOTPAGE
Lloh29:
	ldr	x28, [x28, _SERVICE_RUNNING@GOTPAGEOFF]
	ldr	x9, [x28]
	cmp	x8, x9
	b.eq	LBB0_44
; %bb.24:
	mov	x23, x0
	str	x24, [sp, #8]                   ; 8-byte Folded Spill
	mov	w24, #10000
Lloh30:
	adrp	x26, _DEFAULT_STEP@GOTPAGE
Lloh31:
	ldr	x26, [x26, _DEFAULT_STEP@GOTPAGEOFF]
	b	LBB0_27
LBB0_25:                                ;   in Loop: Header=BB0_27 Depth=1
	ldr	w27, [sp, #24]
	mov	x23, x0
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=1
	ldr	x8, [sp, #32]
	ldr	x9, [x28]
	cmp	x8, x9
	b.eq	LBB0_37
LBB0_27:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_32 Depth 2
	ldr	w8, [sp, #40]
	cmp	w8, w24
	b.ge	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	mov	w8, #1000
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_27 Depth=1
	mov	w9, #52429
	movk	w9, #52428, lsl #16
	umull	x8, w8, w9
	lsr	x8, x8, #35
	cmp	w8, w24
	csel	w8, w8, w24, lt
LBB0_30:                                ;   in Loop: Header=BB0_27 Depth=1
	ubfx	w8, w8, #3, #13
	mov	w9, #8389
	mul	w8, w8, w9
	lsr	w8, w8, #20
	add	w25, w8, #1
	b	LBB0_32
LBB0_31:                                ;   in Loop: Header=BB0_32 Depth=2
	sub	w25, w25, #1
	cmp	w25, #1
	b.le	LBB0_34
LBB0_32:                                ;   Parent Loop BB0_27 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	w0, #1000
	bl	_Sleep
	cbz	x19, LBB0_31
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=2
	ldr	w1, [x26]
	mov	x0, x19
	bl	_IncrementProgressBar
	b	LBB0_31
LBB0_34:                                ;   in Loop: Header=BB0_27 Depth=1
Lloh32:
	adrp	x8, _SC_STATUS_PROCESS_INFO@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SC_STATUS_PROCESS_INFO@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	add	x2, sp, #24
	add	x4, sp, #20
	mov	x0, x22
	mov	w3, #24
	bl	_QueryServiceStatusEx
	cbz	x0, LBB0_37
; %bb.35:                               ;   in Loop: Header=BB0_27 Depth=1
	ldr	w25, [sp, #24]
	bl	_GetTickCount
	cmp	w25, w27
	b.gt	LBB0_25
; %bb.36:                               ;   in Loop: Header=BB0_27 Depth=1
	ldr	w8, [sp, #16]                   ; 4-byte Folded Reload
	add	w8, w23, w8
	cmp	w0, w8
	b.lt	LBB0_26
LBB0_37:
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_44
LBB0_38:
	cbz	x20, LBB0_40
LBB0_39:
	mov	x0, x20
	bl	_LocalFree
LBB0_40:
Lloh35:
	adrp	x8, _FALSE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh37:
	ldr	x19, [x8]
	b	LBB0_47
LBB0_41:
	mov	x0, x21
	bl	_CloseServiceHandle
	cbnz	x20, LBB0_39
	b	LBB0_40
LBB0_42:
Lloh38:
	adrp	x19, _ERROR_SERVICE_ALREADY_RUNNING@GOTPAGE
Lloh39:
	ldr	x19, [x19, _ERROR_SERVICE_ALREADY_RUNNING@GOTPAGEOFF]
	bl	_GetLastError
	mov	x24, #0
	b	LBB0_45
LBB0_43:
	mov	x24, #0
LBB0_44:
Lloh40:
	adrp	x19, _SERVICE_RUNNING@GOTPAGE
Lloh41:
	ldr	x19, [x19, _SERVICE_RUNNING@GOTPAGEOFF]
	ldr	x0, [sp, #32]
LBB0_45:
	ldr	x8, [x19]
Lloh42:
	adrp	x9, _TRUE@GOTPAGE
Lloh43:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x0, x8
	csel	x19, x9, x24, eq
	mov	x0, x22
	bl	_CloseServiceHandle
	mov	x0, x21
	bl	_CloseServiceHandle
	cbz	x20, LBB0_47
; %bb.46:
	mov	x0, x20
	bl	_LocalFree
LBB0_47:
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_LMEM_FIXED,4,2                 ; @LMEM_FIXED
	.comm	_SC_MANAGER_CONNECT,4,2         ; @SC_MANAGER_CONNECT
	.comm	_SERVICE_START,4,2              ; @SERVICE_START
	.comm	_SERVICE_QUERY_STATUS,4,2       ; @SERVICE_QUERY_STATUS
	.comm	_ERROR_SERVICE_ALREADY_RUNNING,8,3 ; @ERROR_SERVICE_ALREADY_RUNNING
	.comm	_DEFAULT_STEP,4,2               ; @DEFAULT_STEP
	.comm	_SC_STATUS_PROCESS_INFO,4,2     ; @SC_STATUS_PROCESS_INFO
	.comm	_MAX_WAIT_TIME,4,2              ; @MAX_WAIT_TIME
	.comm	_SERVICE_RUNNING,8,3            ; @SERVICE_RUNNING
.subsections_via_symbols
