	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function registry_callback
_registry_callback:                     ## @registry_callback
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movl	%esi, %r14d
	movl	%edi, %r13d
	movq	%rsp, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_INF_STRING_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	(,%r15,8), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	leaq	-80(%rbp), %rcx
	movl	%r13d, %edi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_SpInfFindFirstLine
	movq	_TRUE@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_22
## %bb.1:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	leaq	-80(%rbp), %r13
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-56(%rbp), %edi
	movl	-52(%rbp), %ecx
	movq	%r13, %rdx
	callq	_do_reg_operation
	movl	%eax, %ebx
	movl	-56(%rbp), %edi
	callq	_NtClose
	testl	%ebx, %ebx
	je	LBB0_21
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%r13, %rsi
	callq	_SpInfFindNextLine
	testq	%rax, %rax
	je	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	$1, %esi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	callq	_SpInfGetStringField
	testq	%rax, %rax
	je	LBB0_14
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	-76(%rbp), %rsi
	callq	_GetRootKeyByName
	testl	%eax, %eax
	je	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r14d
	movq	%r13, %rdi
	movl	$2, %esi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	callq	_SpInfGetStringField
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, (%r12)
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-76(%rbp), %esi
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_DPRINT
	movq	%r13, %rdi
	movl	$4, %esi
	leaq	-52(%rbp), %rdx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_SpInfGetIntField
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-52(%rbp), %esi
	jmp	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, -52(%rbp)
	xorl	%esi, %esi
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINT
	leaq	-60(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_RtlInitUnicodeString
	movq	_OBJ_CASE_INSENSITIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-104(%rbp), %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %ecx
	xorl	%r8d, %r8d
	callq	_InitializeObjectAttributes
	cmpq	$0, -96(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_FLG_ADDREG_OVERWRITEONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -52(%rbp)
	je	LBB0_16
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_KEY_ALL_ACCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdi
	movq	%r15, %rdx
	callq	_NtOpenKey
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_NT_SUCCESS
	testl	%eax, %eax
	je	LBB0_12
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movl	$3, %esi
	movq	%r12, %rdx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	callq	_SpInfGetStringField
	movl	$0, %esi
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	-100(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_RtlInitUnicodeString
	movq	%rbx, %rsi
	jmp	LBB0_20
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.2(%rip), %rdi
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	-60(%rbp), %rsi
	movl	%ebx, %edx
	callq	_DPRINT1
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_KEY_ALL_ACCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_REG_OPTION_NON_VOLATILE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-56(%rbp), %rdi
	movq	%r15, %rdx
	callq	_CreateNestedKey
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_NT_SUCCESS
	testl	%eax, %eax
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_13
LBB0_15:
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	_TRUE@GOTPCREL(%rip), %rcx
LBB0_22:
	movq	(%rcx), %rax
	movq	%rbx, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_24
## %bb.23:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_22
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_INF_STRING_LENGTH,4,2      ## @MAX_INF_STRING_LENGTH
	.comm	_TRUE,8,3                       ## @TRUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"KeyName: <%S\\%S>\n"

L_.str.1:                               ## @.str.1
	.asciz	"Flags: %lx\n"

	.comm	_OBJ_CASE_INSENSITIVE,4,2       ## @OBJ_CASE_INSENSITIVE
	.comm	_FLG_ADDREG_OVERWRITEONLY,4,2   ## @FLG_ADDREG_OVERWRITEONLY
	.comm	_KEY_ALL_ACCESS,4,2             ## @KEY_ALL_ACCESS
L_.str.2:                               ## @.str.2
	.asciz	"NtOpenKey(%wZ) failed (Status %lx)\n"

	.comm	_REG_OPTION_NON_VOLATILE,4,2    ## @REG_OPTION_NON_VOLATILE
L_.str.3:                               ## @.str.3
	.asciz	"CreateNestedKey(%wZ) failed (Status %lx)\n"

	.comm	_FALSE,8,3                      ## @FALSE
	.no_dead_strip	_registry_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function registry_callback
_registry_callback:                     ; @registry_callback
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #48
	mov	x19, x2
	mov	x27, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAX_INF_STRING_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_INF_STRING_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	lsl	x8, x20, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x21, x9, x8
	mov	sp, x21
	sub	x3, x29, #108
	mov	x2, #0
	bl	_SpInfFindFirstLine
	cbz	x0, LBB0_21
; %bb.1:
Lloh8:
	adrp	x22, l_.str@PAGE
Lloh9:
	add	x22, x22, l_.str@PAGEOFF
Lloh10:
	adrp	x23, l_.str.1@PAGE
Lloh11:
	add	x23, x23, l_.str.1@PAGEOFF
Lloh12:
	adrp	x24, _OBJ_CASE_INSENSITIVE@GOTPAGE
Lloh13:
	ldr	x24, [x24, _OBJ_CASE_INSENSITIVE@GOTPAGEOFF]
Lloh14:
	adrp	x25, _KEY_ALL_ACCESS@GOTPAGE
Lloh15:
	ldr	x25, [x25, _KEY_ALL_ACCESS@GOTPAGEOFF]
Lloh16:
	adrp	x28, _FALSE@GOTPAGE
Lloh17:
	ldr	x28, [x28, _FALSE@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	sub	x26, x29, #100
	sub	x0, x29, #100
	mov	x1, x21
	bl	_RtlInitUnicodeString
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldur	w0, [x29, #-116]
	ldur	w3, [x29, #-104]
	sub	x2, x29, #108
	mov	x1, x26
	bl	_do_reg_operation
	mov	x26, x0
	ldur	w0, [x29, #-116]
	bl	_NtClose
	cbz	w26, LBB0_22
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	sub	x0, x29, #108
	sub	x1, x29, #108
	bl	_SpInfFindNextLine
	cbz	x0, LBB0_21
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	x0, x29, #108
	mov	w1, #1
	mov	x2, x21
	mov	x3, x20
	mov	x4, #0
	bl	_SpInfGetStringField
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	x1, x29, #112
	mov	x0, x21
	bl	_GetRootKeyByName
	cbz	w0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x26, x0
	sub	x0, x29, #108
	mov	w1, #2
	mov	x2, x21
	mov	x3, x20
	mov	x4, #0
	bl	_SpInfGetStringField
	cbnz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	str	xzr, [x21]
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldur	w1, [x29, #-112]
	str	x21, [sp, #-16]!
	mov	x0, x22
	bl	_DPRINT
	add	sp, sp, #16
	sub	x0, x29, #108
	sub	x2, x29, #104
	mov	w1, #4
	bl	_SpInfGetIntField
	cbz	w0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldur	w1, [x29, #-104]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w1, #0
	stur	wzr, [x29, #-104]
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	bl	_DPRINT
	sub	x0, x29, #96
	mov	x1, x21
	bl	_RtlInitUnicodeString
	ldr	w2, [x24]
	sub	x0, x29, #92
	sub	x1, x29, #96
	mov	x3, x26
	mov	x4, #0
	bl	_InitializeObjectAttributes
	cbnz	x19, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	ldur	w8, [x29, #-104]
Lloh18:
	adrp	x9, _FLG_ADDREG_OVERWRITEONLY@GOTPAGE
Lloh19:
	ldr	x9, [x9, _FLG_ADDREG_OVERWRITEONLY@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x25]
	sub	x0, x29, #116
	sub	x2, x29, #92
	bl	_NtOpenKey
	mov	x26, x0
	bl	_NT_SUCCESS
	cbz	w0, LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	x0, x29, #108
	mov	w1, #3
	mov	x2, x21
	mov	x3, x20
	mov	x4, #0
	bl	_SpInfGetStringField
	cbnz	x0, LBB0_2
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x26, #0
	b	LBB0_3
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	x1, x29, #96
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x2, x26
	bl	_DPRINT1
	b	LBB0_4
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x25]
Lloh23:
	adrp	x8, _REG_OPTION_NON_VOLATILE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _REG_OPTION_NON_VOLATILE@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
	sub	x0, x29, #116
	sub	x2, x29, #92
	bl	_CreateNestedKey
	mov	x26, x0
	bl	_NT_SUCCESS
	cbnz	w0, LBB0_15
; %bb.20:                               ;   in Loop: Header=BB0_5 Depth=1
	sub	x1, x29, #96
Lloh26:
	adrp	x0, l_.str.3@PAGE
Lloh27:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_18
LBB0_21:
Lloh28:
	adrp	x28, _TRUE@GOTPAGE
Lloh29:
	ldr	x28, [x28, _TRUE@GOTPAGEOFF]
LBB0_22:
	ldr	x0, [x28]
	mov	sp, x27
	ldur	x8, [x29, #-88]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.23:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_INF_STRING_LENGTH,4,2      ; @MAX_INF_STRING_LENGTH
	.comm	_TRUE,8,3                       ; @TRUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"KeyName: <%S\\%S>\n"

l_.str.1:                               ; @.str.1
	.asciz	"Flags: %lx\n"

	.comm	_OBJ_CASE_INSENSITIVE,4,2       ; @OBJ_CASE_INSENSITIVE
	.comm	_FLG_ADDREG_OVERWRITEONLY,4,2   ; @FLG_ADDREG_OVERWRITEONLY
	.comm	_KEY_ALL_ACCESS,4,2             ; @KEY_ALL_ACCESS
l_.str.2:                               ; @.str.2
	.asciz	"NtOpenKey(%wZ) failed (Status %lx)\n"

	.comm	_REG_OPTION_NON_VOLATILE,4,2    ; @REG_OPTION_NON_VOLATILE
l_.str.3:                               ; @.str.3
	.asciz	"CreateNestedKey(%wZ) failed (Status %lx)\n"

	.comm	_FALSE,8,3                      ; @FALSE
	.no_dead_strip	_registry_callback
.subsections_via_symbols
