	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmdStop                        ## -- Begin function cmdStop
	.p2align	4, 0x90
_cmdStop:                               ## @cmdStop
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$3, %edi
	jne	LBB0_1
## %bb.3:
	movq	%rsi, %rbx
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r13
	movq	(%r13), %r14
	movq	16(%rsi), %rdi
	leaq	l_.str.1(%rip), %rsi
	callq	__wcsicmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	_SERVICES_ACTIVE_DATABASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SC_MANAGER_ENUMERATE_SERVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	callq	_OpenSCManagerW
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r15
	movq	16(%rbx), %rsi
	movq	_SERVICE_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_OpenServiceW
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	%rax, %r12
	movq	_SERVICE_CONTROL_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	callq	_ControlService
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	callq	_GetLastError
	movq	%rax, %r14
	movl	$1, %ebx
LBB0_10:
	movq	%r12, %rdi
	callq	_CloseServiceHandle
	jmp	LBB0_12
LBB0_1:
	movl	$4381, %edi                     ## imm = 0x111D
	callq	_PrintMessageString
	movq	_StdOut@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	l_.str(%rip), %rsi
	callq	_ConPuts
	movq	_MSG_STOP_SYNTAX@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movl	$4381, %edi                     ## imm = 0x111D
	callq	_PrintMessageString
	movq	_StdOut@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	l_.str(%rip), %rsi
	callq	_ConPuts
	movq	_MSG_STOP_SYNTAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PrintNetMessage
	movq	_MSG_STOP_HELP@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %edi
	callq	_PrintNetMessage
	movl	$1, %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	callq	_GetLastError
	movq	%rax, %r14
	movl	$1, %ebx
	cmpq	(%r13), %r14
	je	LBB0_15
	jmp	LBB0_14
LBB0_11:
	xorl	%eax, %eax
	callq	_GetLastError
	movq	%rax, %r14
	movl	$1, %ebx
LBB0_12:
	movq	%r15, %rdi
	callq	_CloseServiceHandle
	cmpq	(%r13), %r14
	je	LBB0_15
LBB0_14:
	movq	_StdErr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	l_.str.2(%rip), %rsi
	movq	%r14, %rdx
	callq	_ConPrintf
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.comm	_StdOut,4,2                     ## @StdOut
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	10                              ## 0xa
	.long	0                               ## 0x0

	.comm	_MSG_STOP_SYNTAX,4,2            ## @MSG_STOP_SYNTAX
	.p2align	2                               ## @.str.1
l_.str.1:
	.long	47                              ## 0x2f
	.long	104                             ## 0x68
	.long	101                             ## 0x65
	.long	108                             ## 0x6c
	.long	112                             ## 0x70
	.long	0                               ## 0x0

	.comm	_MSG_STOP_HELP,4,2              ## @MSG_STOP_HELP
	.comm	_SERVICES_ACTIVE_DATABASE,4,2   ## @SERVICES_ACTIVE_DATABASE
	.comm	_SC_MANAGER_ENUMERATE_SERVICE,4,2 ## @SC_MANAGER_ENUMERATE_SERVICE
	.comm	_SERVICE_STOP,4,2               ## @SERVICE_STOP
	.comm	_SERVICE_CONTROL_STOP,4,2       ## @SERVICE_CONTROL_STOP
	.comm	_StdErr,4,2                     ## @StdErr
	.p2align	2                               ## @.str.2
l_.str.2:
	.long	69                              ## 0x45
	.long	114                             ## 0x72
	.long	114                             ## 0x72
	.long	111                             ## 0x6f
	.long	114                             ## 0x72
	.long	58                              ## 0x3a
	.long	32                              ## 0x20
	.long	37                              ## 0x25
	.long	108                             ## 0x6c
	.long	117                             ## 0x75
	.long	10                              ## 0xa
	.long	0                               ## 0x0

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmdStop                        ; -- Begin function cmdStop
	.p2align	2
_cmdStop:                               ; @cmdStop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	cmp	w0, #3
	b.ne	LBB0_6
; %bb.1:
	mov	x20, x1
Lloh0:
	adrp	x23, _ERROR_SUCCESS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ERROR_SUCCESS@GOTPAGEOFF]
	ldr	x19, [x23]
	ldr	x0, [x1, #16]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	__wcsicmp
	cbz	x0, LBB0_7
; %bb.2:
Lloh4:
	adrp	x8, _SERVICES_ACTIVE_DATABASE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SERVICES_ACTIVE_DATABASE@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _SC_MANAGER_ENUMERATE_SERVICE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SC_MANAGER_ENUMERATE_SERVICE@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, #0
	bl	_OpenSCManagerW
	cbz	x0, LBB0_10
; %bb.3:
	mov	x21, x0
	ldr	x1, [x20, #16]
Lloh10:
	adrp	x8, _SERVICE_STOP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SERVICE_STOP@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	bl	_OpenServiceW
	cbz	x0, LBB0_11
; %bb.4:
	mov	x22, x0
Lloh13:
	adrp	x8, _SERVICE_CONTROL_STOP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SERVICE_CONTROL_STOP@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_ControlService
	cbz	w0, LBB0_12
; %bb.5:
	mov	w20, #0
	b	LBB0_13
LBB0_6:
	mov	w0, #4381
	bl	_PrintMessageString
Lloh16:
	adrp	x8, _StdOut@GOTPAGE
Lloh17:
	ldr	x8, [x8, _StdOut@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ConPuts
Lloh21:
	adrp	x8, _MSG_STOP_SYNTAX@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MSG_STOP_SYNTAX@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
	mov	w0, #4381
	bl	_PrintMessageString
Lloh23:
	adrp	x8, _StdOut@GOTPAGE
Lloh24:
	ldr	x8, [x8, _StdOut@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ConPuts
Lloh28:
	adrp	x8, _MSG_STOP_SYNTAX@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MSG_STOP_SYNTAX@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	bl	_PrintNetMessage
Lloh31:
	adrp	x8, _MSG_STOP_HELP@GOTPAGE
Lloh32:
	ldr	x8, [x8, _MSG_STOP_HELP@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	bl	_PrintNetMessage
	mov	w20, #1
LBB0_9:
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
LBB0_10:
	mov	w20, #1
	bl	_GetLastError
	mov	x19, x0
	b	LBB0_15
LBB0_11:
	mov	w20, #1
	bl	_GetLastError
	mov	x19, x0
	b	LBB0_14
LBB0_12:
	mov	w20, #1
	bl	_GetLastError
	mov	x19, x0
LBB0_13:
	mov	x0, x22
	bl	_CloseServiceHandle
LBB0_14:
	mov	x0, x21
	bl	_CloseServiceHandle
LBB0_15:
	ldr	x8, [x23]
	cmp	x19, x8
	b.eq	LBB0_9
; %bb.16:
Lloh33:
	adrp	x8, _StdErr@GOTPAGE
Lloh34:
	ldr	x8, [x8, _StdErr@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
Lloh36:
	adrp	x1, l_.str.2@PAGE
Lloh37:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x19
	bl	_ConPrintf
	b	LBB0_9
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.comm	_StdOut,4,2                     ; @StdOut
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	10                              ; 0xa
	.long	0                               ; 0x0

	.comm	_MSG_STOP_SYNTAX,4,2            ; @MSG_STOP_SYNTAX
	.p2align	2                               ; @.str.1
l_.str.1:
	.long	47                              ; 0x2f
	.long	104                             ; 0x68
	.long	101                             ; 0x65
	.long	108                             ; 0x6c
	.long	112                             ; 0x70
	.long	0                               ; 0x0

	.comm	_MSG_STOP_HELP,4,2              ; @MSG_STOP_HELP
	.comm	_SERVICES_ACTIVE_DATABASE,4,2   ; @SERVICES_ACTIVE_DATABASE
	.comm	_SC_MANAGER_ENUMERATE_SERVICE,4,2 ; @SC_MANAGER_ENUMERATE_SERVICE
	.comm	_SERVICE_STOP,4,2               ; @SERVICE_STOP
	.comm	_SERVICE_CONTROL_STOP,4,2       ; @SERVICE_CONTROL_STOP
	.comm	_StdErr,4,2                     ; @StdErr
	.p2align	2                               ; @.str.2
l_.str.2:
	.long	69                              ; 0x45
	.long	114                             ; 0x72
	.long	114                             ; 0x72
	.long	111                             ; 0x6f
	.long	114                             ; 0x72
	.long	58                              ; 0x3a
	.long	32                              ; 0x20
	.long	37                              ; 0x25
	.long	108                             ; 0x6c
	.long	117                             ; 0x75
	.long	10                              ; 0xa
	.long	0                               ; 0x0

.subsections_via_symbols
