	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SetMenuAndButtonStates         ## -- Begin function SetMenuAndButtonStates
	.p2align	4, 0x90
_SetMenuAndButtonStates:                ## @SetMenuAndButtonStates
	.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
	movq	%rdi, %r14
	movl	32(%rdi), %edi
	callq	_GetMenu
	movl	%eax, %r13d
	movq	_ID_START@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_ID_RESTART@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rbx
	jg	LBB0_3
## %bb.1:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_MF_GRAYED@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movl	%r13d, %edi
	movq	%rbx, %rsi
	callq	_EnableMenuItem
	movl	12(%r14), %edi
	xorl	%esi, %esi
	callq	_GetSubMenu
	movl	(%r12), %edx
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_EnableMenuItem
	movq	%r15, %r12
	movl	8(%r14), %r15d
	movl	%r13d, %r14d
	movq	_TB_SETSTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_TBSTATE_INDETERMINATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_MAKELONG
	movl	%r15d, %edi
	movq	%r12, %r15
	movl	%r13d, %esi
	movl	%r14d, %r13d
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_SendMessage
	leaq	1(%rbx), %rax
	cmpq	(%r12), %rbx
	movq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	(%r14), %rax
	movq	_NO_ITEM_SELECTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%r14, %r12
	jne	LBB0_4
## %bb.20:
	movq	_ID_PROP@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	movq	_MF_GRAYED@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	%r13d, %edi
	callq	_EnableMenuItem
	movq	_ID_DELETE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rax, %r14
	movl	(%rbx), %edx
	movl	%r13d, %edi
	callq	_EnableMenuItem
	movl	12(%r12), %edi
	xorl	%esi, %esi
	callq	_GetSubMenu
	movq	(%r15), %rsi
	movl	(%rbx), %edx
	movl	%eax, %edi
	callq	_EnableMenuItem
	movl	12(%r12), %edi
	xorl	%esi, %esi
	callq	_GetSubMenu
	movq	(%r14), %rsi
	movl	(%rbx), %edx
	movl	%eax, %edi
	callq	_EnableMenuItem
	movl	8(%r12), %r14d
	addq	$8, %r12
	movq	_TB_SETSTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	(%r15), %r15
	movq	%r12, %r13
	movq	_TBSTATE_INDETERMINATE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	xorl	%esi, %esi
	callq	_MAKELONG
	movl	%r14d, %edi
	movl	%ebx, %esi
	movq	%r15, %rdx
	movq	_ID_DELETE@GOTPCREL(%rip), %r15
	movl	%eax, %ecx
	callq	_SendMessage
	jmp	LBB0_21
LBB0_4:
	cmpq	$0, 24(%r12)
	je	LBB0_6
## %bb.5:
	movl	8(%r12), %r15d
	movq	_TB_SETSTATE@GOTPCREL(%rip), %rax
	movl	%r13d, %r14d
	movl	(%rax), %r13d
	movq	_ID_DELETE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_TBSTATE_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_MAKELONG
	movl	%r15d, %edi
	movl	%r13d, %esi
	movl	%r14d, %r13d
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_SendMessage
	movq	_ID_DELETE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_MF_ENABLED@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	%r14d, %edi
	callq	_EnableMenuItem
	movl	12(%r12), %edi
	xorl	%esi, %esi
	callq	_GetSubMenu
	movq	_ID_DELETE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movl	(%rbx), %edx
	movl	%eax, %edi
	callq	_EnableMenuItem
LBB0_6:
	movq	16(%r12), %rax
	movq	8(%rax), %r14
	movq	16(%rax), %rbx
	movl	(%rax), %edi
	callq	_GetServiceConfig
	testq	%rax, %rax
	je	LBB0_14
## %bb.7:
	movq	%rax, %r15
	movq	(%rax), %rax
	movq	_SERVICE_DISABLED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.8:
	movq	_SERVICE_STOPPED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_10
## %bb.9:
	movq	_ID_START@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_MF_ENABLED@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	%r13d, %edi
	callq	_EnableMenuItem
	movl	12(%r12), %edi
	xorl	%esi, %esi
	callq	_GetSubMenu
	movq	_ID_START@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movl	(%rbx), %edx
	movl	%eax, %edi
	callq	_EnableMenuItem
	movl	8(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_TB_SETSTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r13d, %r14d
	movq	_ID_START@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_TBSTATE_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_MAKELONG
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %esi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%r13, %rdx
	movl	%r14d, %r13d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, %ecx
	callq	_SendMessage
LBB0_10:
	movq	_SERVICE_ACCEPT_STOP@GOTPCREL(%rip), %rax
	testq	%r14, (%rax)
	je	LBB0_13
## %bb.11:
	movq	_SERVICE_RUNNING@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_13
## %bb.12:
	movq	_ID_RESTART@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	movq	_MF_ENABLED@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	%r13d, %edi
	callq	_EnableMenuItem
	movl	12(%r12), %edi
	xorl	%esi, %esi
	callq	_GetSubMenu
	movq	(%r14), %rsi
	movl	(%rbx), %edx
	movl	%eax, %edi
	callq	_EnableMenuItem
	movl	8(%r12), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	_TB_SETSTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	(%r14), %r13
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	_TBSTATE_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_MAKELONG
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %esi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%r13, %rdx
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%eax, %ecx
	callq	_SendMessage
LBB0_13:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_HeapFree
LBB0_14:
	movq	_SERVICE_ACCEPT_STOP@GOTPCREL(%rip), %rcx
	movq	_SERVICE_RUNNING@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%r14, (%rcx)
	je	LBB0_17
## %bb.15:
	cmpq	%rax, %rbx
	jne	LBB0_17
## %bb.16:
	movq	_ID_STOP@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rax, %r15
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	_MF_ENABLED@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	%r13d, %edi
	callq	_EnableMenuItem
	movl	12(%r12), %edi
	xorl	%esi, %esi
	callq	_GetSubMenu
	movq	(%r15), %rsi
	movl	(%rbx), %edx
	movl	%eax, %edi
	callq	_EnableMenuItem
	movl	8(%r12), %r15d
	movq	_TB_SETSTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	%r13d, %r14d
	movq	_ID_STOP@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_TBSTATE_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_MAKELONG
	movl	%r15d, %edi
	movl	%ebx, %esi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%r13, %rdx
	movl	%r14d, %r13d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, %ecx
	callq	_SendMessage
	movq	_SERVICE_RUNNING@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_17:
	movq	_SERVICE_ACCEPT_PAUSE_CONTINUE@GOTPCREL(%rip), %rcx
	testq	%r14, (%rcx)
	je	LBB0_22
## %bb.18:
	cmpq	%rax, %rbx
	jne	LBB0_22
## %bb.19:
	movq	_ID_PAUSE@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	movq	_MF_ENABLED@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	%r13d, %edi
	callq	_EnableMenuItem
	movl	12(%r12), %edi
	xorl	%esi, %esi
	callq	_GetSubMenu
	movq	(%r15), %rsi
	movl	(%rbx), %edx
	movl	%eax, %edi
	callq	_EnableMenuItem
	addq	$8, %r12
	movq	%r12, %r13
	movq	_TBSTATE_ENABLED@GOTPCREL(%rip), %r12
LBB0_21:
	movl	(%r13), %r14d
	movq	_TB_SETSTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	(%r15), %r15
	movl	(%r12), %edi
	xorl	%esi, %esi
	callq	_MAKELONG
	movl	%r14d, %edi
	movl	%ebx, %esi
	movq	%r15, %rdx
	movl	%eax, %ecx
	callq	_SendMessage
LBB0_22:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ID_START,8,3                   ## @ID_START
	.comm	_ID_RESTART,8,3                 ## @ID_RESTART
	.comm	_MF_GRAYED,4,2                  ## @MF_GRAYED
	.comm	_TB_SETSTATE,4,2                ## @TB_SETSTATE
	.comm	_TBSTATE_INDETERMINATE,4,2      ## @TBSTATE_INDETERMINATE
	.comm	_NO_ITEM_SELECTED,8,3           ## @NO_ITEM_SELECTED
	.comm	_ID_DELETE,8,3                  ## @ID_DELETE
	.comm	_TBSTATE_ENABLED,4,2            ## @TBSTATE_ENABLED
	.comm	_MF_ENABLED,4,2                 ## @MF_ENABLED
	.comm	_SERVICE_DISABLED,8,3           ## @SERVICE_DISABLED
	.comm	_SERVICE_STOPPED,8,3            ## @SERVICE_STOPPED
	.comm	_SERVICE_ACCEPT_STOP,8,3        ## @SERVICE_ACCEPT_STOP
	.comm	_SERVICE_RUNNING,8,3            ## @SERVICE_RUNNING
	.comm	_ID_STOP,8,3                    ## @ID_STOP
	.comm	_SERVICE_ACCEPT_PAUSE_CONTINUE,8,3 ## @SERVICE_ACCEPT_PAUSE_CONTINUE
	.comm	_ID_PAUSE,8,3                   ## @ID_PAUSE
	.comm	_ID_PROP,8,3                    ## @ID_PROP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SetMenuAndButtonStates         ; -- Begin function SetMenuAndButtonStates
	.p2align	2
_SetMenuAndButtonStates:                ; @SetMenuAndButtonStates
	.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	x19, x0
	ldr	w0, [x0, #32]
	bl	_GetMenu
	mov	x20, x0
Lloh0:
	adrp	x24, _ID_START@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ID_START@GOTPAGEOFF]
	ldr	x21, [x24]
Lloh2:
	adrp	x27, _ID_RESTART@GOTPAGE
Lloh3:
	ldr	x27, [x27, _ID_RESTART@GOTPAGEOFF]
Lloh4:
	adrp	x25, _TB_SETSTATE@GOTPAGE
Lloh5:
	ldr	x25, [x25, _TB_SETSTATE@GOTPAGEOFF]
	ldr	x8, [x27]
Lloh6:
	adrp	x28, _MF_GRAYED@GOTPAGE
Lloh7:
	ldr	x28, [x28, _MF_GRAYED@GOTPAGEOFF]
Lloh8:
	adrp	x26, _TBSTATE_INDETERMINATE@GOTPAGE
Lloh9:
	ldr	x26, [x26, _TBSTATE_INDETERMINATE@GOTPAGEOFF]
	cmp	x21, x8
	b.gt	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x28]
	mov	x0, x20
	mov	x1, x21
	bl	_EnableMenuItem
	ldr	w0, [x19, #12]
	mov	w1, #0
	bl	_GetSubMenu
	ldr	w2, [x28]
	mov	x1, x21
	bl	_EnableMenuItem
	ldr	w22, [x19, #8]
	ldr	w23, [x25]
	ldr	w0, [x26]
	mov	w1, #0
	bl	_MAKELONG
	mov	x3, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x21
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_SendMessage
	add	x8, x21, #1
	ldr	x9, [x27]
	cmp	x21, x9
	mov	x21, x8
	b.lt	LBB0_1
LBB0_2:
	ldr	x8, [x19]
Lloh10:
	adrp	x9, _NO_ITEM_SELECTED@GOTPAGE
Lloh11:
	ldr	x9, [x9, _NO_ITEM_SELECTED@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh13:
	adrp	x22, _ID_PROP@GOTPAGE
Lloh14:
	ldr	x22, [x22, _ID_PROP@GOTPAGEOFF]
	ldr	x1, [x22]
	ldr	w2, [x28]
	mov	x0, x20
	bl	_EnableMenuItem
Lloh15:
	adrp	x23, _ID_DELETE@GOTPAGE
Lloh16:
	ldr	x23, [x23, _ID_DELETE@GOTPAGEOFF]
	ldr	x1, [x23]
	ldr	w2, [x28]
	mov	x0, x20
	bl	_EnableMenuItem
	ldr	w0, [x19, #12]
	mov	w1, #0
	bl	_GetSubMenu
	ldr	x1, [x22]
	ldr	w2, [x28]
	bl	_EnableMenuItem
	ldr	w0, [x19, #12]
	mov	w1, #0
	bl	_GetSubMenu
	ldr	x1, [x23]
	ldr	w2, [x28]
	bl	_EnableMenuItem
	ldr	w20, [x19, #8]!
	ldr	w21, [x25]
	ldr	x22, [x22]
	ldr	w0, [x26]
	mov	w1, #0
	bl	_MAKELONG
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_SendMessage
	b	LBB0_18
LBB0_4:
	ldr	x8, [x19, #24]
Lloh17:
	adrp	x22, _MF_ENABLED@GOTPAGE
Lloh18:
	ldr	x22, [x22, _MF_ENABLED@GOTPAGEOFF]
Lloh19:
	adrp	x9, _TBSTATE_ENABLED@GOTPAGE
Lloh20:
	ldr	x9, [x9, _TBSTATE_ENABLED@GOTPAGEOFF]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w21, [x19, #8]
	mov	x28, x22
	ldr	w22, [x25]
Lloh21:
	adrp	x26, _ID_DELETE@GOTPAGE
Lloh22:
	ldr	x26, [x26, _ID_DELETE@GOTPAGEOFF]
	ldr	x23, [x26]
	ldr	w0, [x9]
	mov	w1, #0
	bl	_MAKELONG
	mov	x3, x0
	mov	x0, x21
	mov	x1, x22
	mov	x22, x28
	mov	x2, x23
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_SendMessage
	ldr	x1, [x26]
	ldr	w2, [x28]
	mov	x0, x20
	bl	_EnableMenuItem
	ldr	w0, [x19, #12]
	mov	w1, #0
	bl	_GetSubMenu
	ldr	x1, [x26]
	ldr	w2, [x28]
	bl	_EnableMenuItem
LBB0_6:
	ldr	x8, [x19, #16]
	ldp	x26, x28, [x8, #8]
	ldr	w0, [x8]
	bl	_GetServiceConfig
Lloh23:
	adrp	x10, _SERVICE_ACCEPT_STOP@GOTPAGE
Lloh24:
	ldr	x10, [x10, _SERVICE_ACCEPT_STOP@GOTPAGEOFF]
Lloh25:
	adrp	x23, _SERVICE_RUNNING@GOTPAGE
Lloh26:
	ldr	x23, [x23, _SERVICE_RUNNING@GOTPAGEOFF]
	cbz	x0, LBB0_14
; %bb.7:
	mov	x21, x0
	ldr	x8, [x0]
Lloh27:
	adrp	x9, _SERVICE_DISABLED@GOTPAGE
Lloh28:
	ldr	x9, [x9, _SERVICE_DISABLED@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_13
; %bb.8:
Lloh30:
	adrp	x8, _SERVICE_STOPPED@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SERVICE_STOPPED@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	cmp	x28, x8
	b.ne	LBB0_10
; %bb.9:
	ldr	x1, [x24]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_EnableMenuItem
	ldr	w0, [x19, #12]
	mov	w1, #0
	bl	_GetSubMenu
	ldr	x1, [x24]
	ldr	w2, [x22]
	bl	_EnableMenuItem
	ldr	w22, [x19, #8]
	ldr	w23, [x25]
	ldr	x24, [x24]
Lloh33:
	adrp	x8, _TBSTATE_ENABLED@GOTPAGE
Lloh34:
	ldr	x8, [x8, _TBSTATE_ENABLED@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_MAKELONG
	mov	x3, x0
	mov	x0, x22
Lloh36:
	adrp	x22, _MF_ENABLED@GOTPAGE
Lloh37:
	ldr	x22, [x22, _MF_ENABLED@GOTPAGEOFF]
	mov	x1, x23
Lloh38:
	adrp	x23, _SERVICE_RUNNING@GOTPAGE
Lloh39:
	ldr	x23, [x23, _SERVICE_RUNNING@GOTPAGEOFF]
	mov	x2, x24
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_SendMessage
Lloh40:
	adrp	x10, _SERVICE_ACCEPT_STOP@GOTPAGE
Lloh41:
	ldr	x10, [x10, _SERVICE_ACCEPT_STOP@GOTPAGEOFF]
LBB0_10:
	ldr	x8, [x10]
	tst	x8, x26
	b.eq	LBB0_13
; %bb.11:
	ldr	x8, [x23]
	cmp	x28, x8
	b.ne	LBB0_13
; %bb.12:
	ldr	x1, [x27]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_EnableMenuItem
	ldr	w0, [x19, #12]
	mov	w1, #0
	bl	_GetSubMenu
	ldr	x1, [x27]
	ldr	w2, [x22]
	bl	_EnableMenuItem
	ldr	w22, [x19, #8]
	ldr	w23, [x25]
	ldr	x24, [x27]
Lloh42:
	adrp	x8, _TBSTATE_ENABLED@GOTPAGE
Lloh43:
	ldr	x8, [x8, _TBSTATE_ENABLED@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_MAKELONG
	mov	x3, x0
	mov	x0, x22
Lloh45:
	adrp	x22, _MF_ENABLED@GOTPAGE
Lloh46:
	ldr	x22, [x22, _MF_ENABLED@GOTPAGEOFF]
	mov	x1, x23
Lloh47:
	adrp	x23, _SERVICE_RUNNING@GOTPAGE
Lloh48:
	ldr	x23, [x23, _SERVICE_RUNNING@GOTPAGEOFF]
	mov	x2, x24
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_SendMessage
Lloh49:
	adrp	x10, _SERVICE_ACCEPT_STOP@GOTPAGE
Lloh50:
	ldr	x10, [x10, _SERVICE_ACCEPT_STOP@GOTPAGEOFF]
LBB0_13:
	mov	x24, x10
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x21
	bl	_HeapFree
	mov	x10, x24
LBB0_14:
	ldr	x8, [x10]
	and	x9, x8, x26
	ldr	x8, [x23]
	cmp	x9, #0
	ccmp	x28, x8, #0, ne
	b.ne	LBB0_16
; %bb.15:
	mov	x27, x23
Lloh51:
	adrp	x23, _ID_STOP@GOTPAGE
Lloh52:
	ldr	x23, [x23, _ID_STOP@GOTPAGEOFF]
	ldr	x1, [x23]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_EnableMenuItem
	ldr	w0, [x19, #12]
	mov	w1, #0
	bl	_GetSubMenu
	ldr	x1, [x23]
	ldr	w2, [x22]
	bl	_EnableMenuItem
	ldr	w21, [x19, #8]
	mov	x24, x22
	ldr	w22, [x25]
	ldr	x23, [x23]
Lloh53:
	adrp	x8, _TBSTATE_ENABLED@GOTPAGE
Lloh54:
	ldr	x8, [x8, _TBSTATE_ENABLED@GOTPAGEOFF]
Lloh55:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_MAKELONG
	mov	x3, x0
	mov	x0, x21
	mov	x1, x22
	mov	x22, x24
	mov	x2, x23
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_SendMessage
	ldr	x8, [x27]
LBB0_16:
Lloh56:
	adrp	x9, _SERVICE_ACCEPT_PAUSE_CONTINUE@GOTPAGE
Lloh57:
	ldr	x9, [x9, _SERVICE_ACCEPT_PAUSE_CONTINUE@GOTPAGEOFF]
Lloh58:
	ldr	x9, [x9]
	and	x9, x9, x26
	cmp	x9, #0
	ccmp	x28, x8, #0, ne
	b.ne	LBB0_19
; %bb.17:
Lloh59:
	adrp	x23, _ID_PAUSE@GOTPAGE
Lloh60:
	ldr	x23, [x23, _ID_PAUSE@GOTPAGEOFF]
	ldr	x1, [x23]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_EnableMenuItem
	ldr	w0, [x19, #12]
	mov	w1, #0
	bl	_GetSubMenu
	ldr	x1, [x23]
	ldr	w2, [x22]
	bl	_EnableMenuItem
	add	x19, x19, #8
Lloh61:
	adrp	x26, _TBSTATE_ENABLED@GOTPAGE
Lloh62:
	ldr	x26, [x26, _TBSTATE_ENABLED@GOTPAGEOFF]
LBB0_18:
	ldr	w19, [x19]
	ldr	w20, [x25]
	ldr	x21, [x23]
	ldr	w0, [x26]
	mov	w1, #0
	bl	_MAKELONG
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_SendMessage
LBB0_19:
	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	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh59, Lloh60
	.cfi_endproc
                                        ; -- End function
	.comm	_ID_START,8,3                   ; @ID_START
	.comm	_ID_RESTART,8,3                 ; @ID_RESTART
	.comm	_MF_GRAYED,4,2                  ; @MF_GRAYED
	.comm	_TB_SETSTATE,4,2                ; @TB_SETSTATE
	.comm	_TBSTATE_INDETERMINATE,4,2      ; @TBSTATE_INDETERMINATE
	.comm	_NO_ITEM_SELECTED,8,3           ; @NO_ITEM_SELECTED
	.comm	_ID_DELETE,8,3                  ; @ID_DELETE
	.comm	_TBSTATE_ENABLED,4,2            ; @TBSTATE_ENABLED
	.comm	_MF_ENABLED,4,2                 ; @MF_ENABLED
	.comm	_SERVICE_DISABLED,8,3           ; @SERVICE_DISABLED
	.comm	_SERVICE_STOPPED,8,3            ; @SERVICE_STOPPED
	.comm	_SERVICE_ACCEPT_STOP,8,3        ; @SERVICE_ACCEPT_STOP
	.comm	_SERVICE_RUNNING,8,3            ; @SERVICE_RUNNING
	.comm	_ID_STOP,8,3                    ; @ID_STOP
	.comm	_SERVICE_ACCEPT_PAUSE_CONTINUE,8,3 ; @SERVICE_ACCEPT_PAUSE_CONTINUE
	.comm	_ID_PAUSE,8,3                   ; @ID_PAUSE
	.comm	_ID_PROP,8,3                    ; @ID_PROP
.subsections_via_symbols
