	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ScmMarkServiceForDelete        ## -- Begin function ScmMarkServiceForDelete
	.p2align	4, 0x90
_ScmMarkServiceForDelete:               ## @ScmMarkServiceForDelete
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	$0, -16(%rbp)
	movq	$1, -24(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_DPRINT
	movl	(%rbx), %edi
	movq	_KEY_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdx
	callq	_ScmOpenServiceKey
	movq	%rax, %rbx
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_2
## %bb.1:
	movq	-16(%rbp), %rdi
	movq	_REG_DWORD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-24(%rbp), %r8
	leaq	l_.str.1(%rip), %rsi
	xorl	%edx, %edx
                                        ## kill: def $r8d killed $r8d killed $r8
	movl	$8, %r9d
	callq	_RegSetValueExW
	movq	%rax, %rbx
	movq	-16(%rbp), %rdi
	callq	_RegCloseKey
LBB0_2:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ScmMarkServiceForDelete() called\n"

	.comm	_KEY_WRITE,4,2                  ## @KEY_WRITE
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.section	__TEXT,__const
	.p2align	2                               ## @.str.1
l_.str.1:
	.long	68                              ## 0x44
	.long	101                             ## 0x65
	.long	108                             ## 0x6c
	.long	101                             ## 0x65
	.long	116                             ## 0x74
	.long	101                             ## 0x65
	.long	70                              ## 0x46
	.long	108                             ## 0x6c
	.long	97                              ## 0x61
	.long	103                             ## 0x67
	.long	0                               ## 0x0

	.comm	_REG_DWORD,4,2                  ## @REG_DWORD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ScmMarkServiceForDelete        ; -- Begin function ScmMarkServiceForDelete
	.p2align	2
_ScmMarkServiceForDelete:               ; @ScmMarkServiceForDelete
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w8, #1
	stp	x8, xzr, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DPRINT
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _KEY_WRITE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _KEY_WRITE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_ScmOpenServiceKey
	mov	x19, x0
Lloh5:
	adrp	x8, _ERROR_SUCCESS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	x0, [sp, #8]
Lloh8:
	adrp	x8, _REG_DWORD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _REG_DWORD@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x4, sp
	mov	w2, #0
	mov	w5, #8
	bl	_RegSetValueExW
	mov	x19, x0
	ldr	x0, [sp, #8]
	bl	_RegCloseKey
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ScmMarkServiceForDelete() called\n"

	.comm	_KEY_WRITE,4,2                  ; @KEY_WRITE
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.section	__TEXT,__const
	.p2align	2                               ; @.str.1
l_.str.1:
	.long	68                              ; 0x44
	.long	101                             ; 0x65
	.long	108                             ; 0x6c
	.long	101                             ; 0x65
	.long	116                             ; 0x74
	.long	101                             ; 0x65
	.long	70                              ; 0x46
	.long	108                             ; 0x6c
	.long	97                              ; 0x61
	.long	103                             ; 0x67
	.long	0                               ; 0x0

	.comm	_REG_DWORD,4,2                  ; @REG_DWORD
.subsections_via_symbols
