	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function processRegEntry
_processRegEntry:                       ## @processRegEntry
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	movq	%rdi, %rbx
	movb	(%rdi), %al
	cmpb	$91, %al
	jne	LBB0_7
## %bb.2:
	xorl	%eax, %eax
	callq	_closeKey
	leaq	1(%rbx), %r14
	movq	%r14, %rdi
	movl	$93, %esi
	callq	_strrchrW
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movb	$0, (%rax)
LBB0_4:
	cmpb	$45, (%r14)
	jne	LBB0_5
## %bb.11:
	addq	$2, %rbx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_delete_registry_key            ## TAILCALL
LBB0_7:
	movq	_currentKeyHandle@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_10
## %bb.8:
	cmpb	$64, %al
	je	LBB0_12
## %bb.9:
	cmpb	$34, %al
	jne	LBB0_10
LBB0_12:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_processSetValue                ## TAILCALL
LBB0_10:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_closeKey                       ## TAILCALL
LBB0_5:
	movq	%r14, %rdi
	callq	_openKeyW
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.13:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movq	%r14, %rdi
	callq	_GetMultiByteString
	movq	%rax, %rbx
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	callq	_getAppName
	leaq	L_.str(%rip), %rsi
	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
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_HeapFree                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%S: setValue failed to open key %s\n"

	.comm	_currentKeyHandle,8,3           ## @currentKeyHandle
	.no_dead_strip	_processRegEntry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function processRegEntry
_processRegEntry:                       ; @processRegEntry
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
	ldrb	w8, [x0]
	cmp	w8, #91
	b.ne	LBB0_6
; %bb.2:
	bl	_closeKey
	add	x20, x19, #1
	mov	x0, x20
	mov	w1, #93
	bl	_strrchrW
	cbz	x0, LBB0_4
; %bb.3:
	strb	wzr, [x0]
LBB0_4:
	ldrb	w8, [x20]
	cmp	w8, #45
	b.ne	LBB0_11
; %bb.5:
	add	x0, x19, #2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_delete_registry_key
LBB0_6:
Lloh0:
	adrp	x9, _currentKeyHandle@GOTPAGE
Lloh1:
	ldr	x9, [x9, _currentKeyHandle@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cbz	x9, LBB0_10
; %bb.7:
	cmp	w8, #64
	b.eq	LBB0_9
; %bb.8:
	cmp	w8, #34
	b.ne	LBB0_10
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_processSetValue
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_closeKey
LBB0_11:
	mov	x0, x20
	bl	_openKeyW
Lloh3:
	adrp	x8, _ERROR_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_13:
	mov	x0, x20
	bl	_GetMultiByteString
	mov	x19, x0
Lloh6:
	adrp	x8, _stderr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	bl	_getAppName
	mov	x2, x0
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x3, x19
	bl	_fprintf
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_HeapFree
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%S: setValue failed to open key %s\n"

	.comm	_currentKeyHandle,8,3           ; @currentKeyHandle
	.no_dead_strip	_processRegEntry
.subsections_via_symbols
