	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Delete                         ## -- Begin function Delete
	.p2align	4, 0x90
_Delete:                                ## @Delete
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_SC_MANAGER_CONNECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_OpenSCManager
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	_DELETE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_OpenService
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_DeleteService
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.3(%rip), %rdi
	callq	__T
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	__tprintf
	movq	_FALSE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_6
	jmp	LBB0_7
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	__T
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_GetLastError
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	__tprintf
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	xorl	%eax, %eax
	callq	_ReportLastError
	jmp	LBB0_10
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
	callq	__T
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_GetLastError
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	__tprintf
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	xorl	%eax, %eax
	callq	_ReportLastError
	jmp	LBB0_9
LBB0_5:
	leaq	L_.str.2(%rip), %rdi
	callq	__T
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_GetLastError
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	__tprintf
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
LBB0_6:
	xorl	%eax, %eax
	callq	_ReportLastError
LBB0_7:
	movq	%r15, %rdi
	callq	_CloseServiceHandle
LBB0_9:
	movq	%r14, %rdi
	callq	_CloseServiceHandle
LBB0_10:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_SC_MANAGER_CONNECT,4,2         ## @SC_MANAGER_CONNECT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[SC] OpenSCManager FAILED %lu:\n\n"

	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_DELETE,4,2                     ## @DELETE
L_.str.1:                               ## @.str.1
	.asciz	"[SC] OpenService FAILED %lu:\n\n"

L_.str.2:                               ## @.str.2
	.asciz	"[SC] DeleteService FAILED %lu:\n\n"

L_.str.3:                               ## @.str.3
	.asciz	"[SC] DeleteService SUCCESS\n\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Delete                         ; -- Begin function Delete
	.p2align	2
_Delete:                                ; @Delete
	.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, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
Lloh3:
	adrp	x8, _SC_MANAGER_CONNECT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SC_MANAGER_CONNECT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, #0
	mov	x1, #0
	bl	_OpenSCManager
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
Lloh6:
	adrp	x8, _DELETE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DELETE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x1, x21
	bl	_OpenService
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, x0
	bl	_DeleteService
	cbz	w0, LBB0_6
; %bb.3:
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__T
	bl	__tprintf
Lloh11:
	adrp	x8, _FALSE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x20, x8
	b.eq	LBB0_7
	b	LBB0_8
LBB0_4:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	__T
	mov	x19, x0
	bl	_GetLastError
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x19
	bl	__tprintf
Lloh16:
	adrp	x8, _FALSE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh18:
	ldr	x20, [x8]
	bl	_ReportLastError
	b	LBB0_10
LBB0_5:
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__T
	mov	x20, x0
	bl	_GetLastError
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x20
	bl	__tprintf
Lloh21:
	adrp	x8, _FALSE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh23:
	ldr	x20, [x8]
	bl	_ReportLastError
	b	LBB0_9
LBB0_6:
Lloh24:
	adrp	x0, l_.str.2@PAGE
Lloh25:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__T
	mov	x20, x0
	bl	_GetLastError
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x20
	bl	__tprintf
Lloh26:
	adrp	x8, _FALSE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh28:
	ldr	x20, [x8]
LBB0_7:
	bl	_ReportLastError
LBB0_8:
	mov	x0, x21
	bl	_CloseServiceHandle
LBB0_9:
	mov	x0, x19
	bl	_CloseServiceHandle
LBB0_10:
	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	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_SC_MANAGER_CONNECT,4,2         ; @SC_MANAGER_CONNECT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[SC] OpenSCManager FAILED %lu:\n\n"

	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_DELETE,4,2                     ; @DELETE
l_.str.1:                               ; @.str.1
	.asciz	"[SC] OpenService FAILED %lu:\n\n"

l_.str.2:                               ; @.str.2
	.asciz	"[SC] DeleteService FAILED %lu:\n\n"

l_.str.3:                               ; @.str.3
	.asciz	"[SC] DeleteService SUCCESS\n\n"

.subsections_via_symbols
