	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_delete_registry_key            ## -- Begin function delete_registry_key
	.p2align	4, 0x90
_delete_registry_key:                   ## @delete_registry_key
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	$0, -32(%rbp)
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	cmpl	$0, (%rdi)
	je	LBB0_8
## %bb.2:
	leaq	-20(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_parseKeyName
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	movq	-32(%rbp), %rsi
	cmpl	$0, (%rsi)
	je	LBB0_6
## %bb.7:
	movl	-20(%rbp), %edi
	callq	_SHDeleteKey
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	callq	_GetMultiByteString
	movq	%rax, %rbx
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	callq	_getAppName
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_6:
	movq	%rbx, %rdi
	callq	_GetMultiByteString
	movq	%rax, %rbx
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	callq	_getAppName
	leaq	L_.str.1(%rip), %rsi
LBB0_4:
	movl	%r14d, %edi
	movl	%eax, %edx
	movq	%rbx, %rcx
	callq	_fprintf
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_HeapFree
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%S: Incorrect registry class specification in '%s'\n"

L_.str.1:                               ## @.str.1
	.asciz	"%S: Can't delete registry class '%s'\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_delete_registry_key            ; -- Begin function delete_registry_key
	.p2align	2
_delete_registry_key:                   ; @delete_registry_key
	.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
	str	xzr, [sp, #8]
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_5
; %bb.2:
	add	x1, sp, #4
	add	x2, sp, #8
	mov	x0, x19
	bl	_parseKeyName
	cbz	w0, LBB0_6
; %bb.3:
	ldr	x1, [sp, #8]
	ldr	w8, [x1]
	cbz	w8, LBB0_7
; %bb.4:
	ldr	w0, [sp, #4]
	bl	_SHDeleteKey
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_6:
	mov	x0, x19
	bl	_GetMultiByteString
	mov	x19, x0
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	bl	_getAppName
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:
	mov	x0, x19
	bl	_GetMultiByteString
	mov	x19, x0
Lloh5:
	adrp	x8, _stderr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
	bl	_getAppName
	mov	x2, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_8:
	mov	x0, x20
	mov	x3, x19
	bl	_fprintf
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x19
	bl	_HeapFree
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%S: Incorrect registry class specification in '%s'\n"

l_.str.1:                               ; @.str.1
	.asciz	"%S: Can't delete registry class '%s'\n"

.subsections_via_symbols
