	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ScmWriteDependencies           ## -- Begin function ScmWriteDependencies
	.p2align	4, 0x90
_ScmWriteDependencies:                  ## @ScmWriteDependencies
	.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
	movl	%edi, %r15d
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	cmpq	$0, (%rsi)
	je	LBB0_1
## %bb.2:
	movl	%edx, %ebx
	movq	%rsi, %r14
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	_HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leal	8(,%rbx,4), %edx
	movl	%eax, %edi
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_25
## %bb.3:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movl	%r12d, -68(%rbp)                ## 4-byte Spill
	movq	(%r14), %r12
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %r15
	testq	%r12, %r12
	je	LBB0_9
## %bb.4:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r14, %rbx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	$8, %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	%r13d, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_wcscpy
	movslq	%r13d, %rax
	leaq	(%r15,%rax,8), %r15
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx,%rax,8), %r12
	leaq	(%rbx,%rax,8), %rbx
	testq	%r12, %r12
	je	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_wcslen
	movl	%eax, %r13d
	movq	_SC_GROUP_IDENTIFIERW@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incl	%r13d
	movslq	%r13d, %rax
	jmp	LBB0_8
LBB0_9:
	movq	$0, (%r15)
	addq	$8, %r15
	movq	(%r14), %r12
	testq	%r12, %r12
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, %r13
	je	LBB0_10
## %bb.11:
	xorl	%r15d, %r15d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	addl	%ebx, %r15d
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_wcscpy
	movslq	%ebx, %rax
	leaq	(%r13,%rax,8), %r13
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r14,%rax,8), %r12
	leaq	(%r14,%rax,8), %r14
	testq	%r12, %r12
	je	LBB0_16
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_wcslen
	movl	%eax, %ebx
	incl	%ebx
	movq	_SC_GROUP_IDENTIFIERW@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movslq	%ebx, %rax
	jmp	LBB0_15
LBB0_1:
	leaq	l_.str(%rip), %rsi
	movl	%r15d, %edi
	callq	_RegDeleteValueW
	leaq	l_.str.1(%rip), %rsi
	movl	%r15d, %edi
	callq	_RegDeleteValueW
	jmp	LBB0_24
LBB0_25:
	movq	_ERROR_NOT_ENOUGH_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_24
LBB0_10:
	xorl	%r15d, %r15d
LBB0_16:
	movq	$0, (%r13)
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	testl	%edx, %edx
	jle	LBB0_18
## %bb.17:
	movq	_REG_MULTI_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leal	4(,%rdx,4), %r9d
	leaq	l_.str.1(%rip), %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	xorl	%edx, %edx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_RegSetValueExW
	movl	%eax, %r12d
	jmp	LBB0_19
LBB0_18:
	leaq	l_.str.1(%rip), %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_RegDeleteValueW
	movl	-68(%rbp), %r12d                ## 4-byte Reload
LBB0_19:
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_23
## %bb.20:
	testl	%r15d, %r15d
	jle	LBB0_22
## %bb.21:
	movq	_REG_MULTI_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leal	4(,%r15,4), %r9d
	leaq	l_.str(%rip), %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	xorl	%edx, %edx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_RegSetValueExW
	movl	%eax, %r12d
	jmp	LBB0_23
LBB0_22:
	leaq	l_.str(%rip), %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_RegDeleteValueW
LBB0_23:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_HeapFree
LBB0_24:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR_SUCCESS,4,2              ## @ERROR_SUCCESS
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	68                              ## 0x44
	.long	101                             ## 0x65
	.long	112                             ## 0x70
	.long	101                             ## 0x65
	.long	110                             ## 0x6e
	.long	100                             ## 0x64
	.long	79                              ## 0x4f
	.long	110                             ## 0x6e
	.long	83                              ## 0x53
	.long	101                             ## 0x65
	.long	114                             ## 0x72
	.long	118                             ## 0x76
	.long	105                             ## 0x69
	.long	99                              ## 0x63
	.long	101                             ## 0x65
	.long	0                               ## 0x0

	.p2align	2                               ## @.str.1
l_.str.1:
	.long	68                              ## 0x44
	.long	101                             ## 0x65
	.long	112                             ## 0x70
	.long	101                             ## 0x65
	.long	110                             ## 0x6e
	.long	100                             ## 0x64
	.long	79                              ## 0x4f
	.long	110                             ## 0x6e
	.long	71                              ## 0x47
	.long	114                             ## 0x72
	.long	111                             ## 0x6f
	.long	117                             ## 0x75
	.long	112                             ## 0x70
	.long	0                               ## 0x0

	.comm	_HEAP_ZERO_MEMORY,4,2           ## @HEAP_ZERO_MEMORY
	.comm	_ERROR_NOT_ENOUGH_MEMORY,4,2    ## @ERROR_NOT_ENOUGH_MEMORY
	.comm	_SC_GROUP_IDENTIFIERW,8,3       ## @SC_GROUP_IDENTIFIERW
	.comm	_REG_MULTI_SZ,4,2               ## @REG_MULTI_SZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ScmWriteDependencies           ; -- Begin function ScmWriteDependencies
	.p2align	2
_ScmWriteDependencies:                  ; @ScmWriteDependencies
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _ERROR_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	ldr	x8, [x1]
	cbz	x8, LBB0_14
; %bb.1:
	mov	x21, x2
	mov	x23, x1
	bl	_GetProcessHeap
Lloh3:
	adrp	x8, _HEAP_ZERO_MEMORY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HEAP_ZERO_MEMORY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	lsl	w8, w21, #2
	add	w2, w8, #8
	bl	_HeapAlloc
	cbz	x0, LBB0_15
; %bb.2:
	ldr	x26, [x23]
Lloh6:
	adrp	x28, _SC_GROUP_IDENTIFIERW@GOTPAGE
Lloh7:
	ldr	x28, [x28, _SC_GROUP_IDENTIFIERW@GOTPAGEOFF]
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	mov	w27, #0
	mov	x22, x0
	cbz	x26, LBB0_8
; %bb.3:
	mov	x24, x23
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #8
	add	w27, w25, w27
	mov	x0, x22
	mov	x1, x24
	bl	_wcscpy
	sxtw	x8, w25
	add	x22, x22, w25, sxtw #3
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, x8, lsl #3
	ldr	x26, [x24]
	cbz	x26, LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_wcslen
	mov	x25, x0
	ldr	x8, [x28]
	cmp	x26, x8
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w8, w25, #1
	sxtw	x8, w8
	b	LBB0_5
LBB0_8:
	str	xzr, [x22], #8
	ldr	x26, [x23]
	cbz	x26, LBB0_16
; %bb.9:
	mov	w25, #0
	mov	x24, x22
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	add	w25, w21, w25
	mov	x0, x24
	mov	x1, x23
	bl	_wcscpy
	mov	x8, x21
	sxtw	x8, w8
	add	x24, x24, w21, sxtw #3
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x23, x23, x8, lsl #3
	ldr	x26, [x23]
	cbz	x26, LBB0_17
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_wcslen
	add	w21, w0, #1
	ldr	x8, [x28]
	cmp	x26, x8
	b.ne	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	sxtw	x8, w21
	b	LBB0_11
LBB0_14:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_RegDeleteValueW
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_RegDeleteValueW
	b	LBB0_25
LBB0_15:
Lloh12:
	adrp	x8, _ERROR_NOT_ENOUGH_MEMORY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERROR_NOT_ENOUGH_MEMORY@GOTPAGEOFF]
Lloh14:
	ldr	w19, [x8]
	b	LBB0_25
LBB0_16:
	mov	w25, #0
	mov	x24, x22
LBB0_17:
	str	xzr, [x24]
	cmp	w27, #1
	b.lt	LBB0_19
; %bb.18:
Lloh15:
	adrp	x8, _REG_MULTI_SZ@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REG_MULTI_SZ@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	lsl	w8, w27, #2
	add	w5, w8, #4
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	w2, #0
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
	mov	x4, x21
	bl	_RegSetValueExW
	mov	x19, x0
	b	LBB0_20
LBB0_19:
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_RegDeleteValueW
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
LBB0_20:
Lloh22:
	adrp	x8, _ERROR_SUCCESS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	cmp	w19, w8
	b.ne	LBB0_24
; %bb.21:
	cmp	w25, #1
	b.lt	LBB0_23
; %bb.22:
Lloh25:
	adrp	x8, _REG_MULTI_SZ@GOTPAGE
Lloh26:
	ldr	x8, [x8, _REG_MULTI_SZ@GOTPAGEOFF]
Lloh27:
	ldr	w3, [x8]
	lsl	w8, w25, #2
	add	w5, w8, #4
Lloh28:
	adrp	x1, l_.str@PAGE
Lloh29:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	w2, #0
	mov	x4, x22
	bl	_RegSetValueExW
	mov	x19, x0
	b	LBB0_24
LBB0_23:
Lloh30:
	adrp	x1, l_.str@PAGE
Lloh31:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_RegDeleteValueW
LBB0_24:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x21
	bl	_HeapFree
LBB0_25:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR_SUCCESS,4,2              ; @ERROR_SUCCESS
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	68                              ; 0x44
	.long	101                             ; 0x65
	.long	112                             ; 0x70
	.long	101                             ; 0x65
	.long	110                             ; 0x6e
	.long	100                             ; 0x64
	.long	79                              ; 0x4f
	.long	110                             ; 0x6e
	.long	83                              ; 0x53
	.long	101                             ; 0x65
	.long	114                             ; 0x72
	.long	118                             ; 0x76
	.long	105                             ; 0x69
	.long	99                              ; 0x63
	.long	101                             ; 0x65
	.long	0                               ; 0x0

	.p2align	2                               ; @.str.1
l_.str.1:
	.long	68                              ; 0x44
	.long	101                             ; 0x65
	.long	112                             ; 0x70
	.long	101                             ; 0x65
	.long	110                             ; 0x6e
	.long	100                             ; 0x64
	.long	79                              ; 0x4f
	.long	110                             ; 0x6e
	.long	71                              ; 0x47
	.long	114                             ; 0x72
	.long	111                             ; 0x6f
	.long	117                             ; 0x75
	.long	112                             ; 0x70
	.long	0                               ; 0x0

	.comm	_HEAP_ZERO_MEMORY,4,2           ; @HEAP_ZERO_MEMORY
	.comm	_ERROR_NOT_ENOUGH_MEMORY,4,2    ; @ERROR_NOT_ENOUGH_MEMORY
	.comm	_SC_GROUP_IDENTIFIERW,8,3       ; @SC_GROUP_IDENTIFIERW
	.comm	_REG_MULTI_SZ,4,2               ; @REG_MULTI_SZ
.subsections_via_symbols
