	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SetServiceStatusText
_SetServiceStatusText:                  ## @SetServiceStatusText
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_SERVICE_RUNNING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_IDS_SERVICES_STARTED@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_IDS_SERVICES_STOPPED@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	movq	_hInstance@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdi
	callq	_AllocAndLoadString
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_IDC_SERV_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WM_SETTEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-16(%rbp), %r8d
	movl	%ebx, %edi
	xorl	%ecx, %ecx
	callq	_SendDlgItemMessageW
	movq	-16(%rbp), %rdi
	callq	_LocalFree
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SERVICE_RUNNING,8,3            ## @SERVICE_RUNNING
	.comm	_IDS_SERVICES_STARTED,4,2       ## @IDS_SERVICES_STARTED
	.comm	_IDS_SERVICES_STOPPED,4,2       ## @IDS_SERVICES_STOPPED
	.comm	_hInstance,4,2                  ## @hInstance
	.comm	_IDC_SERV_STATUS,4,2            ## @IDC_SERV_STATUS
	.comm	_WM_SETTEXT,4,2                 ## @WM_SETTEXT
	.no_dead_strip	_SetServiceStatusText
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SetServiceStatusText
_SetServiceStatusText:                  ; @SetServiceStatusText
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SERVICE_RUNNING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SERVICE_RUNNING@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _IDS_SERVICES_STARTED@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IDS_SERVICES_STARTED@GOTPAGEOFF]
Lloh5:
	adrp	x11, _IDS_SERVICES_STOPPED@GOTPAGE
Lloh6:
	ldr	x11, [x11, _IDS_SERVICES_STOPPED@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w2, [x8]
Lloh7:
	adrp	x8, _hInstance@GOTPAGE
Lloh8:
	ldr	x8, [x8, _hInstance@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_AllocAndLoadString
	cbz	x0, LBB0_2
; %bb.1:
Lloh10:
	adrp	x8, _IDC_SERV_STATUS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IDC_SERV_STATUS@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _WM_SETTEXT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _WM_SETTEXT@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	ldr	w4, [sp, #8]
	mov	x0, x19
	mov	w3, #0
	bl	_SendDlgItemMessageW
	ldr	x0, [sp, #8]
	bl	_LocalFree
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SERVICE_RUNNING,8,3            ; @SERVICE_RUNNING
	.comm	_IDS_SERVICES_STARTED,4,2       ; @IDS_SERVICES_STARTED
	.comm	_IDS_SERVICES_STOPPED,4,2       ; @IDS_SERVICES_STOPPED
	.comm	_hInstance,4,2                  ; @hInstance
	.comm	_IDC_SERV_STATUS,4,2            ; @IDC_SERV_STATUS
	.comm	_WM_SETTEXT,4,2                 ; @WM_SETTEXT
	.no_dead_strip	_SetServiceStatusText
.subsections_via_symbols
