	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SaveDlgInfo                    ## -- Begin function SaveDlgInfo
	.p2align	4, 0x90
_SaveDlgInfo:                           ## @SaveDlgInfo
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	_ProcessHeap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$40, %edx
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_20
## %bb.1:
	movq	%rax, %r13
	movq	_SERVICE_NO_CHANGE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r13)
	movq	%rax, 24(%r13)
	movq	%rax, 16(%r13)
	cmpq	$0, 16(%r15)
	je	LBB0_4
## %bb.2:
	movq	_IDC_START_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CB_GETCURSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_SendDlgItemMessageW
	cmpl	$2, %eax
	ja	LBB0_4
## %bb.3:
	cltq
	leaq	l_switch.table.SaveDlgInfo(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r13)
LBB0_4:
	cmpq	$0, 32(%r15)
	je	LBB0_7
## %bb.5:
	movq	_IDC_EXEPATH@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_WM_GETTEXTLENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_SendDlgItemMessageW
	movl	%eax, %ebx
	movq	_ProcessHeap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leal	4(,%rbx,4), %edx
	callq	_HeapAlloc
	movq	%rax, (%r13)
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	incl	%ebx
	movl	(%r12), %esi
	movq	_WM_GETTEXT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%r14d, %edi
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_SendDlgItemMessageW
LBB0_7:
	cmpq	$0, 24(%r15)
	je	LBB0_12
## %bb.8:
	movq	_IDC_DISP_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WM_GETTEXTLENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_SendDlgItemMessageW
	movl	%eax, %ebx
	movq	_ProcessHeap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leal	4(,%rbx,4), %edx
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	movq	%rax, %r12
	incl	%ebx
	movq	_IDC_DISP_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WM_GETTEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	movl	%ebx, %ecx
	movl	%r12d, %r8d
	callq	_SendDlgItemMessageW
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.10:
	movq	_ProcessHeap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_HeapFree
	movq	(%r15), %rax
	movq	(%rax), %rax
LBB0_11:
	movq	%r12, 8(%rax)
	movq	%r12, 8(%r13)
LBB0_12:
	movq	(%r15), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_SetServiceConfig
	testq	%rax, %rax
	movq	_ProcessHeap@GOTPCREL(%rip), %rbx
	je	LBB0_17
## %bb.13:
	cmpq	$0, 24(%r15)
	je	LBB0_15
## %bb.14:
	movq	(%r15), %rax
	movl	8(%rax), %edi
	movq	(%rax), %rsi
	movq	_LVNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_ChangeListViewText
LBB0_15:
	cmpq	$0, 16(%r15)
	je	LBB0_17
## %bb.16:
	movq	(%r15), %rax
	movl	8(%rax), %edi
	movq	(%rax), %rsi
	movq	_LVSTARTUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_ChangeListViewText
LBB0_17:
	movq	(%r13), %rdx
	testq	%rdx, %rdx
	je	LBB0_19
## %bb.18:
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_HeapFree
LBB0_19:
	movl	(%rbx), %edi
	xorl	%esi, %esi
	movq	%r13, %rdx
	callq	_HeapFree
LBB0_20:
	cmpq	$0, 8(%r15)
	je	LBB0_25
## %bb.21:
	movq	_IDC_DESCRIPTION@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_WM_GETTEXTLENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_SendDlgItemMessageW
	movl	%eax, %ebx
	movq	_ProcessHeap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leal	4(,%rbx,4), %edx
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_25
## %bb.22:
	movq	%rax, %r12
	incl	%ebx
	movl	(%r13), %esi
	movq	_WM_GETTEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	movl	%ebx, %ecx
	movl	%r12d, %r8d
	callq	_SendDlgItemMessageW
	movq	(%r15), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_SetServiceDescription
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	movq	(%r15), %rax
	movl	8(%rax), %edi
	movq	(%rax), %rsi
	movq	_LVDESC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_ChangeListViewText
LBB0_24:
	movq	_ProcessHeap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_HeapFree
LBB0_25:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ProcessHeap,4,2                ## @ProcessHeap
	.comm	_HEAP_ZERO_MEMORY,4,2           ## @HEAP_ZERO_MEMORY
	.comm	_SERVICE_NO_CHANGE,8,3          ## @SERVICE_NO_CHANGE
	.comm	_IDC_START_TYPE,4,2             ## @IDC_START_TYPE
	.comm	_CB_GETCURSEL,4,2               ## @CB_GETCURSEL
	.comm	_SERVICE_AUTO_START,8,3         ## @SERVICE_AUTO_START
	.comm	_SERVICE_DEMAND_START,8,3       ## @SERVICE_DEMAND_START
	.comm	_SERVICE_DISABLED,8,3           ## @SERVICE_DISABLED
	.comm	_IDC_EXEPATH,4,2                ## @IDC_EXEPATH
	.comm	_WM_GETTEXTLENGTH,4,2           ## @WM_GETTEXTLENGTH
	.comm	_WM_GETTEXT,4,2                 ## @WM_GETTEXT
	.comm	_IDC_DISP_NAME,4,2              ## @IDC_DISP_NAME
	.comm	_LVNAME,4,2                     ## @LVNAME
	.comm	_LVSTARTUP,4,2                  ## @LVSTARTUP
	.comm	_IDC_DESCRIPTION,4,2            ## @IDC_DESCRIPTION
	.comm	_LVDESC,4,2                     ## @LVDESC
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.SaveDlgInfo
l_switch.table.SaveDlgInfo:
	.quad	_SERVICE_AUTO_START
	.quad	_SERVICE_DEMAND_START
	.quad	_SERVICE_DISABLED

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SaveDlgInfo                    ; -- Begin function SaveDlgInfo
	.p2align	2
_SaveDlgInfo:                           ; @SaveDlgInfo
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x24, _ProcessHeap@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ProcessHeap@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh2:
	adrp	x25, _HEAP_ZERO_MEMORY@GOTPAGE
Lloh3:
	ldr	x25, [x25, _HEAP_ZERO_MEMORY@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	w2, #40
	bl	_HeapAlloc
Lloh4:
	adrp	x26, _WM_GETTEXTLENGTH@GOTPAGE
Lloh5:
	ldr	x26, [x26, _WM_GETTEXTLENGTH@GOTPAGEOFF]
	cbz	x0, LBB0_20
; %bb.1:
	mov	x21, x0
Lloh6:
	adrp	x8, _SERVICE_NO_CHANGE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SERVICE_NO_CHANGE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	stp	x8, x8, [x0, #24]
	str	x8, [x0, #16]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_4
; %bb.2:
Lloh9:
	adrp	x8, _IDC_START_TYPE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IDC_START_TYPE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _CB_GETCURSEL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CB_GETCURSEL@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #0
	mov	w4, #0
	bl	_SendDlgItemMessageW
	cmp	w0, #2
	b.hi	LBB0_4
; %bb.3:
Lloh15:
	adrp	x8, l_switch.table.SaveDlgInfo@PAGE
Lloh16:
	add	x8, x8, l_switch.table.SaveDlgInfo@PAGEOFF
	ldr	x8, [x8, w0, sxtw #3]
	ldr	x8, [x8]
	str	x8, [x21, #16]
LBB0_4:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_7
; %bb.5:
Lloh17:
	adrp	x23, _IDC_EXEPATH@GOTPAGE
Lloh18:
	ldr	x23, [x23, _IDC_EXEPATH@GOTPAGEOFF]
	ldr	w1, [x23]
	ldr	w2, [x26]
	mov	x0, x20
	mov	w3, #0
	mov	w4, #0
	bl	_SendDlgItemMessageW
	ldr	w8, [x24]
	ldr	w1, [x25]
	add	w22, w0, #1
	lsl	w2, w22, #2
	mov	x0, x8
	bl	_HeapAlloc
	str	x0, [x21]
	cbz	x0, LBB0_7
; %bb.6:
	mov	x4, x0
	ldr	w1, [x23]
Lloh19:
	adrp	x8, _WM_GETTEXT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _WM_GETTEXT@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x3, x22
                                        ; kill: def $w4 killed $w4 killed $x4
	bl	_SendDlgItemMessageW
LBB0_7:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_12
; %bb.8:
Lloh22:
	adrp	x27, _IDC_DISP_NAME@GOTPAGE
Lloh23:
	ldr	x27, [x27, _IDC_DISP_NAME@GOTPAGEOFF]
	ldr	w1, [x27]
	ldr	w2, [x26]
	mov	x0, x20
	mov	w3, #0
	mov	w4, #0
	bl	_SendDlgItemMessageW
	ldr	w8, [x24]
	ldr	w1, [x25]
	add	w23, w0, #1
	lsl	w2, w23, #2
	mov	x0, x8
	bl	_HeapAlloc
	cbz	x0, LBB0_12
; %bb.9:
	mov	x22, x0
	ldr	w1, [x27]
Lloh24:
	adrp	x8, _WM_GETTEXT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _WM_GETTEXT@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x3, x23
	mov	x4, x22
	bl	_SendDlgItemMessageW
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x2, [x8, #8]
	cbz	x2, LBB0_11
; %bb.10:
	ldr	w0, [x24]
	mov	w1, #0
	bl	_HeapFree
	ldr	x8, [x19]
	ldr	x8, [x8]
LBB0_11:
	str	x22, [x8, #8]
	str	x22, [x21, #8]
LBB0_12:
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, #0
	bl	_SetServiceConfig
	cbz	x0, LBB0_17
; %bb.13:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_15
; %bb.14:
	ldr	x8, [x19]
	ldr	w0, [x8, #8]
	ldr	x1, [x8]
Lloh27:
	adrp	x8, _LVNAME@GOTPAGE
Lloh28:
	ldr	x8, [x8, _LVNAME@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	bl	_ChangeListViewText
LBB0_15:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_17
; %bb.16:
	ldr	x8, [x19]
	ldr	w0, [x8, #8]
	ldr	x1, [x8]
Lloh30:
	adrp	x8, _LVSTARTUP@GOTPAGE
Lloh31:
	ldr	x8, [x8, _LVSTARTUP@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	bl	_ChangeListViewText
LBB0_17:
	ldr	x2, [x21]
	cbz	x2, LBB0_19
; %bb.18:
	ldr	w0, [x24]
	mov	w1, #0
	bl	_HeapFree
LBB0_19:
	ldr	w0, [x24]
	mov	w1, #0
	mov	x2, x21
	bl	_HeapFree
LBB0_20:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_25
; %bb.21:
Lloh33:
	adrp	x23, _IDC_DESCRIPTION@GOTPAGE
Lloh34:
	ldr	x23, [x23, _IDC_DESCRIPTION@GOTPAGEOFF]
	ldr	w1, [x23]
	ldr	w2, [x26]
	mov	x0, x20
	mov	w3, #0
	mov	w4, #0
	bl	_SendDlgItemMessageW
	ldr	w8, [x24]
	ldr	w1, [x25]
	add	w22, w0, #1
	lsl	w2, w22, #2
	mov	x0, x8
	bl	_HeapAlloc
	cbz	x0, LBB0_25
; %bb.22:
	mov	x21, x0
	ldr	w1, [x23]
Lloh35:
	adrp	x8, _WM_GETTEXT@GOTPAGE
Lloh36:
	ldr	x8, [x8, _WM_GETTEXT@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x3, x22
	mov	x4, x21
	bl	_SendDlgItemMessageW
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w0, [x8]
	mov	x1, x21
	bl	_SetServiceDescription
	cbz	x0, LBB0_24
; %bb.23:
	ldr	x8, [x19]
	ldr	w0, [x8, #8]
	ldr	x1, [x8]
Lloh38:
	adrp	x8, _LVDESC@GOTPAGE
Lloh39:
	ldr	x8, [x8, _LVDESC@GOTPAGEOFF]
Lloh40:
	ldr	w2, [x8]
	bl	_ChangeListViewText
LBB0_24:
	ldr	w0, [x24]
	mov	w1, #0
	mov	x2, x21
	bl	_HeapFree
LBB0_25:
	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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_ProcessHeap,4,2                ; @ProcessHeap
	.comm	_HEAP_ZERO_MEMORY,4,2           ; @HEAP_ZERO_MEMORY
	.comm	_SERVICE_NO_CHANGE,8,3          ; @SERVICE_NO_CHANGE
	.comm	_IDC_START_TYPE,4,2             ; @IDC_START_TYPE
	.comm	_CB_GETCURSEL,4,2               ; @CB_GETCURSEL
	.comm	_SERVICE_AUTO_START,8,3         ; @SERVICE_AUTO_START
	.comm	_SERVICE_DEMAND_START,8,3       ; @SERVICE_DEMAND_START
	.comm	_SERVICE_DISABLED,8,3           ; @SERVICE_DISABLED
	.comm	_IDC_EXEPATH,4,2                ; @IDC_EXEPATH
	.comm	_WM_GETTEXTLENGTH,4,2           ; @WM_GETTEXTLENGTH
	.comm	_WM_GETTEXT,4,2                 ; @WM_GETTEXT
	.comm	_IDC_DISP_NAME,4,2              ; @IDC_DISP_NAME
	.comm	_LVNAME,4,2                     ; @LVNAME
	.comm	_LVSTARTUP,4,2                  ; @LVSTARTUP
	.comm	_IDC_DESCRIPTION,4,2            ; @IDC_DESCRIPTION
	.comm	_LVDESC,4,2                     ; @LVDESC
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.SaveDlgInfo
l_switch.table.SaveDlgInfo:
	.quad	_SERVICE_AUTO_START
	.quad	_SERVICE_DEMAND_START
	.quad	_SERVICE_DISABLED

.subsections_via_symbols
