	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UpdateServiceCount             ## -- Begin function UpdateServiceCount
	.p2align	4, 0x90
_UpdateServiceCount:                    ## @UpdateServiceCount
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$160, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_hInstance@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IDS_NUM_SERVICES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-164(%rbp), %rdi
	callq	_AllocAndLoadString
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	4(%rbx), %edi
	callq	_ListView_GetItemCount
	movl	-164(%rbp), %edx
	leaq	-160(%rbp), %r14
	movq	%r14, %rdi
	movl	$31, %esi
	movl	%eax, %ecx
	callq	__snwprintf
	movl	(%rbx), %edi
	movq	_SB_SETTEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	movl	%r14d, %ecx
	callq	_SendMessage
	movl	-164(%rbp), %edi
	callq	_LocalFree
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$160, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_hInstance,4,2                  ## @hInstance
	.comm	_IDS_NUM_SERVICES,4,2           ## @IDS_NUM_SERVICES
	.comm	_SB_SETTEXT,4,2                 ## @SB_SETTEXT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UpdateServiceCount             ; -- Begin function UpdateServiceCount
	.p2align	2
_UpdateServiceCount:                    ; @UpdateServiceCount
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _hInstance@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hInstance@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _IDS_NUM_SERVICES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IDS_NUM_SERVICES@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x0, sp, #4
	bl	_AllocAndLoadString
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19, #4]
	bl	_ListView_GetItemCount
	mov	x3, x0
	ldr	w2, [sp, #4]
	add	x0, sp, #8
	mov	w1, #31
	bl	__snwprintf
	ldr	w0, [x19]
Lloh9:
	adrp	x8, _SB_SETTEXT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SB_SETTEXT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x3, sp, #8
	mov	w2, #0
	bl	_SendMessage
	ldr	w0, [sp, #4]
	bl	_LocalFree
LBB0_2:
	ldur	x8, [x29, #-24]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_hInstance,4,2                  ; @hInstance
	.comm	_IDS_NUM_SERVICES,4,2           ; @IDS_NUM_SERVICES
	.comm	_SB_SETTEXT,4,2                 ; @SB_SETTEXT
.subsections_via_symbols
