	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DoDeleteService
_DoDeleteService:                       ## @DoDeleteService
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_SC_MANAGER_ALL_ACCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_OpenSCManagerW
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r12
	movq	(%rbx), %rax
	movl	(%rax), %esi
	movq	_DELETE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_OpenServiceW
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_DeleteService
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	_hInstance@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IDS_DELETE_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-36(%rbp), %rdi
	callq	_AllocAndLoadString
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	-36(%rbp), %edi
	callq	_DisplayString
	movl	-36(%rbp), %edi
	callq	_LocalFree
LBB0_5:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_6:
	movq	%r15, %rdi
	callq	_CloseServiceHandle
LBB0_7:
	movq	%r12, %rdi
	callq	_CloseServiceHandle
LBB0_8:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_SC_MANAGER_ALL_ACCESS,4,2      ## @SC_MANAGER_ALL_ACCESS
	.comm	_DELETE,4,2                     ## @DELETE
	.comm	_hInstance,4,2                  ## @hInstance
	.comm	_IDS_DELETE_SUCCESS,4,2         ## @IDS_DELETE_SUCCESS
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_DoDeleteService
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DoDeleteService
_DoDeleteService:                       ; @DoDeleteService
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x0
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x8, _SC_MANAGER_ALL_ACCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SC_MANAGER_ALL_ACCESS@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, #0
	mov	x1, #0
	bl	_OpenSCManagerW
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	ldr	x8, [x21]
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _DELETE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DELETE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_OpenServiceW
	cbz	x0, LBB0_7
; %bb.2:
	mov	x21, x0
	bl	_DeleteService
	cbz	x0, LBB0_6
; %bb.3:
Lloh9:
	adrp	x8, _hInstance@GOTPAGE
Lloh10:
	ldr	x8, [x8, _hInstance@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _IDS_DELETE_SUCCESS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IDS_DELETE_SUCCESS@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	add	x0, sp, #12
	bl	_AllocAndLoadString
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w0, [sp, #12]
	bl	_DisplayString
	ldr	w0, [sp, #12]
	bl	_LocalFree
LBB0_5:
Lloh15:
	adrp	x8, _TRUE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh17:
	ldr	w20, [x8]
LBB0_6:
	mov	x0, x21
	bl	_CloseServiceHandle
LBB0_7:
	mov	x0, x19
	bl	_CloseServiceHandle
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_SC_MANAGER_ALL_ACCESS,4,2      ; @SC_MANAGER_ALL_ACCESS
	.comm	_DELETE,4,2                     ; @DELETE
	.comm	_hInstance,4,2                  ; @hInstance
	.comm	_IDS_DELETE_SUCCESS,4,2         ; @IDS_DELETE_SUCCESS
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_DoDeleteService
.subsections_via_symbols
