	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SetStartupType
_SetStartupType:                        ## @SetStartupType
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %eax
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_IDC_START_TYPE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_GetDlgItem
	movl	%eax, %r15d
	movq	_IDS_SERVICES_AUTO@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_IDS_SERVICES_DIS@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rbx
	jle	LBB0_1
LBB0_5:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_GetServiceConfig
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rax, %rbx
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	cmpl	$129, %eax
	sete	%cl
	cmpl	$128, %eax
	movl	$2, %edx
	cmovnel	%ecx, %edx
	movq	_CB_SETCURSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	xorl	%ecx, %ecx
	callq	_SendMessageW
	movq	_ProcessHeap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_HeapFree
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_hInstance@GOTPCREL(%rip), %r14
	leaq	-48(%rbp), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%rbx), %rax
	cmpq	(%r13), %rbx
	movq	%rax, %rbx
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	_AllocAndLoadString
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_CB_ADDSTRING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-48(%rbp), %ecx
	movl	%r15d, %edi
	xorl	%edx, %edx
	callq	_SendMessageW
	movq	-48(%rbp), %rdi
	callq	_LocalFree
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_IDC_START_TYPE,4,2             ## @IDC_START_TYPE
	.comm	_IDS_SERVICES_AUTO,8,3          ## @IDS_SERVICES_AUTO
	.comm	_IDS_SERVICES_DIS,8,3           ## @IDS_SERVICES_DIS
	.comm	_hInstance,4,2                  ## @hInstance
	.comm	_CB_ADDSTRING,4,2               ## @CB_ADDSTRING
	.comm	_CB_SETCURSEL,4,2               ## @CB_SETCURSEL
	.comm	_ProcessHeap,4,2                ## @ProcessHeap
	.no_dead_strip	_SetStartupType
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SetStartupType
_SetStartupType:                        ; @SetStartupType
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x8, x1
	mov	x20, x0
Lloh0:
	adrp	x9, _IDC_START_TYPE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IDC_START_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x0, x8
	bl	_GetDlgItem
	mov	x19, x0
Lloh3:
	adrp	x8, _IDS_SERVICES_AUTO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IDS_SERVICES_AUTO@GOTPAGEOFF]
Lloh5:
	ldr	x21, [x8]
Lloh6:
	adrp	x22, _IDS_SERVICES_DIS@GOTPAGE
Lloh7:
	ldr	x22, [x22, _IDS_SERVICES_DIS@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x21, x8
	b.le	LBB0_4
LBB0_1:
	mov	x0, x20
	bl	_GetServiceConfig
	cbz	x0, LBB0_3
; %bb.2:
	mov	x20, x0
	ldr	w8, [x0]
	cmp	w8, #129
	cset	w9, eq
	mov	w10, #2
	cmp	w8, #128
	csel	w2, w10, w9, eq
Lloh8:
	adrp	x8, _CB_SETCURSEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CB_SETCURSEL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_SendMessageW
Lloh11:
	adrp	x8, _ProcessHeap@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ProcessHeap@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	w1, #0
	mov	x2, x20
	bl	_HeapFree
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_4:
Lloh14:
	adrp	x23, _hInstance@GOTPAGE
Lloh15:
	ldr	x23, [x23, _hInstance@GOTPAGEOFF]
Lloh16:
	adrp	x24, _CB_ADDSTRING@GOTPAGE
Lloh17:
	ldr	x24, [x24, _CB_ADDSTRING@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x21, #1
	ldr	x9, [x22]
	cmp	x21, x9
	mov	x21, x8
	b.ge	LBB0_1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	add	x0, sp, #8
	mov	x2, x21
	bl	_AllocAndLoadString
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x24]
	ldr	w3, [sp, #8]
	mov	x0, x19
	mov	w2, #0
	bl	_SendMessageW
	ldr	x0, [sp, #8]
	bl	_LocalFree
	b	LBB0_5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_IDC_START_TYPE,4,2             ; @IDC_START_TYPE
	.comm	_IDS_SERVICES_AUTO,8,3          ; @IDS_SERVICES_AUTO
	.comm	_IDS_SERVICES_DIS,8,3           ; @IDS_SERVICES_DIS
	.comm	_hInstance,4,2                  ; @hInstance
	.comm	_CB_ADDSTRING,4,2               ; @CB_ADDSTRING
	.comm	_CB_SETCURSEL,4,2               ; @CB_SETCURSEL
	.comm	_ProcessHeap,4,2                ; @ProcessHeap
	.no_dead_strip	_SetStartupType
.subsections_via_symbols
