	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ScmGetControlSetValues
_ScmGetControlSetValues:                ## @ScmGetControlSetValues
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINT
	movq	_HKEY_LOCAL_MACHINE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_KEY_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	l_.str.1(%rip), %rsi
	leaq	-44(%rbp), %r8
	xorl	%edx, %edx
	callq	_RegOpenKeyExW
	movq	%rax, %rbx
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_10
## %bb.1:
	movq	$8, -56(%rbp)
	movl	-44(%rbp), %edi
	leaq	l_.str.2(%rip), %rsi
	leaq	-64(%rbp), %rcx
	leaq	-56(%rbp), %r9
	xorl	%edx, %edx
	movl	%r13d, %r8d
	callq	_RegQueryValueExW
	cmpq	(%r14), %rax
	je	LBB0_3
## %bb.2:
	movq	$0, (%r13)
LBB0_3:
	movq	$8, -56(%rbp)
	movl	-44(%rbp), %edi
	leaq	l_.str.3(%rip), %rsi
	leaq	-64(%rbp), %rcx
	leaq	-56(%rbp), %r9
	xorl	%edx, %edx
	movl	%r12d, %r8d
	callq	_RegQueryValueExW
	cmpq	(%r14), %rax
	je	LBB0_5
## %bb.4:
	movq	$0, (%r12)
LBB0_5:
	movq	$8, -56(%rbp)
	movl	-44(%rbp), %edi
	leaq	l_.str.4(%rip), %rsi
	leaq	-64(%rbp), %rcx
	leaq	-56(%rbp), %r9
	xorl	%edx, %edx
	movl	%r15d, %r8d
	callq	_RegQueryValueExW
	cmpq	(%r14), %rax
	je	LBB0_7
## %bb.6:
	movq	$0, (%r15)
LBB0_7:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	$8, -56(%rbp)
	movl	-44(%rbp), %edi
	leaq	l_.str.5(%rip), %rsi
	leaq	-64(%rbp), %rcx
	leaq	-56(%rbp), %r9
	xorl	%edx, %edx
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movl	%r15d, %r8d
	callq	_RegQueryValueExW
	movq	%rax, %rbx
	cmpq	(%r14), %rax
	je	LBB0_9
## %bb.8:
	movq	$0, (%r15)
LBB0_9:
	movl	-44(%rbp), %edi
	callq	_RegCloseKey
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINT
	movq	(%r13), %rsi
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINT
	movq	(%r12), %rsi
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINT
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINT
	movq	(%r15), %rsi
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINT
LBB0_10:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ScmGetControlSetValues() called\n"

	.comm	_HKEY_LOCAL_MACHINE,4,2         ## @HKEY_LOCAL_MACHINE
	.section	__TEXT,__const
	.p2align	2                               ## @.str.1
l_.str.1:
	.long	83                              ## 0x53
	.long	121                             ## 0x79
	.long	115                             ## 0x73
	.long	116                             ## 0x74
	.long	101                             ## 0x65
	.long	109                             ## 0x6d
	.long	92                              ## 0x5c
	.long	83                              ## 0x53
	.long	101                             ## 0x65
	.long	108                             ## 0x6c
	.long	101                             ## 0x65
	.long	99                              ## 0x63
	.long	116                             ## 0x74
	.long	0                               ## 0x0

	.comm	_KEY_READ,4,2                   ## @KEY_READ
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.p2align	2                               ## @.str.2
l_.str.2:
	.long	67                              ## 0x43
	.long	117                             ## 0x75
	.long	114                             ## 0x72
	.long	114                             ## 0x72
	.long	101                             ## 0x65
	.long	110                             ## 0x6e
	.long	116                             ## 0x74
	.long	0                               ## 0x0

	.p2align	2                               ## @.str.3
l_.str.3:
	.long	68                              ## 0x44
	.long	101                             ## 0x65
	.long	102                             ## 0x66
	.long	97                              ## 0x61
	.long	117                             ## 0x75
	.long	108                             ## 0x6c
	.long	116                             ## 0x74
	.long	0                               ## 0x0

	.p2align	2                               ## @.str.4
l_.str.4:
	.long	70                              ## 0x46
	.long	97                              ## 0x61
	.long	105                             ## 0x69
	.long	108                             ## 0x6c
	.long	101                             ## 0x65
	.long	100                             ## 0x64
	.long	0                               ## 0x0

	.p2align	2                               ## @.str.5
l_.str.5:
	.long	76                              ## 0x4c
	.long	97                              ## 0x61
	.long	115                             ## 0x73
	.long	116                             ## 0x74
	.long	75                              ## 0x4b
	.long	110                             ## 0x6e
	.long	111                             ## 0x6f
	.long	119                             ## 0x77
	.long	110                             ## 0x6e
	.long	71                              ## 0x47
	.long	111                             ## 0x6f
	.long	111                             ## 0x6f
	.long	100                             ## 0x64
	.long	0                               ## 0x0

	.section	__TEXT,__cstring,cstring_literals
L_.str.6:                               ## @.str.6
	.asciz	"ControlSets:\n"

L_.str.7:                               ## @.str.7
	.asciz	"Current: %lu\n"

L_.str.8:                               ## @.str.8
	.asciz	"Default: %lu\n"

L_.str.9:                               ## @.str.9
	.asciz	"Failed: %lu\n"

L_.str.10:                              ## @.str.10
	.asciz	"LastKnownGood: %lu\n"

	.no_dead_strip	_ScmGetControlSetValues
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ScmGetControlSetValues
_ScmGetControlSetValues:                ; @ScmGetControlSetValues
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DPRINT
Lloh2:
	adrp	x8, _HKEY_LOCAL_MACHINE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HKEY_LOCAL_MACHINE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _KEY_READ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _KEY_READ@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x4, sp, #28
	mov	w2, #0
	bl	_RegOpenKeyExW
	mov	x23, x0
Lloh10:
	adrp	x24, _ERROR_SUCCESS@GOTPAGE
Lloh11:
	ldr	x24, [x24, _ERROR_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.1:
	mov	w8, #8
	str	x8, [sp, #8]
	ldr	w0, [sp, #28]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x3, sp, #16
	add	x5, sp, #8
	mov	w2, #0
	mov	x4, x22
	bl	_RegQueryValueExW
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.2:
	str	xzr, [x22]
LBB0_3:
	mov	w8, #8
	str	x8, [sp, #8]
	ldr	w0, [sp, #28]
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x3, sp, #16
	add	x5, sp, #8
	mov	w2, #0
	mov	x4, x21
	bl	_RegQueryValueExW
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.4:
	str	xzr, [x21]
LBB0_5:
	mov	w8, #8
	str	x8, [sp, #8]
	ldr	w0, [sp, #28]
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x3, sp, #16
	add	x5, sp, #8
	mov	w2, #0
	mov	x4, x20
	bl	_RegQueryValueExW
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.6:
	str	xzr, [x20]
LBB0_7:
	mov	w8, #8
	str	x8, [sp, #8]
	ldr	w0, [sp, #28]
Lloh18:
	adrp	x1, l_.str.5@PAGE
Lloh19:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x3, sp, #16
	add	x5, sp, #8
	mov	w2, #0
	mov	x4, x19
	bl	_RegQueryValueExW
	mov	x23, x0
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_9
; %bb.8:
	str	xzr, [x19]
LBB0_9:
	ldr	w0, [sp, #28]
	bl	_RegCloseKey
Lloh20:
	adrp	x0, l_.str.6@PAGE
Lloh21:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_DPRINT
	ldr	x8, [x22]
	str	x8, [sp]
Lloh22:
	adrp	x0, l_.str.7@PAGE
Lloh23:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_DPRINT
	ldr	x8, [x21]
	str	x8, [sp]
Lloh24:
	adrp	x0, l_.str.8@PAGE
Lloh25:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_DPRINT
	ldr	x8, [x20]
	str	x8, [sp]
Lloh26:
	adrp	x0, l_.str.9@PAGE
Lloh27:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_DPRINT
	ldr	x8, [x19]
	str	x8, [sp]
Lloh28:
	adrp	x0, l_.str.10@PAGE
Lloh29:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_DPRINT
LBB0_10:
	mov	x0, x23
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ScmGetControlSetValues() called\n"

	.comm	_HKEY_LOCAL_MACHINE,4,2         ; @HKEY_LOCAL_MACHINE
	.section	__TEXT,__const
	.p2align	2                               ; @.str.1
l_.str.1:
	.long	83                              ; 0x53
	.long	121                             ; 0x79
	.long	115                             ; 0x73
	.long	116                             ; 0x74
	.long	101                             ; 0x65
	.long	109                             ; 0x6d
	.long	92                              ; 0x5c
	.long	83                              ; 0x53
	.long	101                             ; 0x65
	.long	108                             ; 0x6c
	.long	101                             ; 0x65
	.long	99                              ; 0x63
	.long	116                             ; 0x74
	.long	0                               ; 0x0

	.comm	_KEY_READ,4,2                   ; @KEY_READ
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.p2align	2                               ; @.str.2
l_.str.2:
	.long	67                              ; 0x43
	.long	117                             ; 0x75
	.long	114                             ; 0x72
	.long	114                             ; 0x72
	.long	101                             ; 0x65
	.long	110                             ; 0x6e
	.long	116                             ; 0x74
	.long	0                               ; 0x0

	.p2align	2                               ; @.str.3
l_.str.3:
	.long	68                              ; 0x44
	.long	101                             ; 0x65
	.long	102                             ; 0x66
	.long	97                              ; 0x61
	.long	117                             ; 0x75
	.long	108                             ; 0x6c
	.long	116                             ; 0x74
	.long	0                               ; 0x0

	.p2align	2                               ; @.str.4
l_.str.4:
	.long	70                              ; 0x46
	.long	97                              ; 0x61
	.long	105                             ; 0x69
	.long	108                             ; 0x6c
	.long	101                             ; 0x65
	.long	100                             ; 0x64
	.long	0                               ; 0x0

	.p2align	2                               ; @.str.5
l_.str.5:
	.long	76                              ; 0x4c
	.long	97                              ; 0x61
	.long	115                             ; 0x73
	.long	116                             ; 0x74
	.long	75                              ; 0x4b
	.long	110                             ; 0x6e
	.long	111                             ; 0x6f
	.long	119                             ; 0x77
	.long	110                             ; 0x6e
	.long	71                              ; 0x47
	.long	111                             ; 0x6f
	.long	111                             ; 0x6f
	.long	100                             ; 0x64
	.long	0                               ; 0x0

	.section	__TEXT,__cstring,cstring_literals
l_.str.6:                               ; @.str.6
	.asciz	"ControlSets:\n"

l_.str.7:                               ; @.str.7
	.asciz	"Current: %lu\n"

l_.str.8:                               ; @.str.8
	.asciz	"Default: %lu\n"

l_.str.9:                               ; @.str.9
	.asciz	"Failed: %lu\n"

l_.str.10:                              ; @.str.10
	.asciz	"LastKnownGood: %lu\n"

	.no_dead_strip	_ScmGetControlSetValues
.subsections_via_symbols
