	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UpdateServiceStatus
_UpdateServiceStatus:                   ## @UpdateServiceStatus
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SERVICE_WIN32_OWN_PROCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ServiceStatus@GOTPCREL(%rip), %rsi
	movl	%eax, 48(%rsi)
	movq	%rdi, 40(%rsi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rsi)
	movq	_SERVICE_START_PENDING@GOTPCREL(%rip), %r8
	movq	_SERVICE_STOP_PENDING@GOTPCREL(%rip), %r9
	movq	_SERVICE_CONTINUE_PENDING@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	%rdi, (%rdx)
	movq	_SERVICE_PAUSE_PENDING@GOTPCREL(%rip), %rdx
	movl	$10000, %ecx                    ## imm = 0x2710
	cmovel	%ecx, %eax
	cmpq	%rdi, (%rdx)
	cmovel	%ecx, %eax
	cmpq	%rdi, (%r9)
	cmovel	%ecx, %eax
	cmpq	%rdi, (%r8)
	cmovel	%ecx, %eax
	movups	%xmm0, 24(%rsi)
	movl	%eax, (%rsi)
	movq	_ServiceStatusHandle@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_SetServiceStatus               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SERVICE_WIN32_OWN_PROCESS,4,2  ## @SERVICE_WIN32_OWN_PROCESS
	.comm	_ServiceStatus,56,3             ## @ServiceStatus
	.comm	_SERVICE_START_PENDING,8,3      ## @SERVICE_START_PENDING
	.comm	_SERVICE_STOP_PENDING,8,3       ## @SERVICE_STOP_PENDING
	.comm	_SERVICE_PAUSE_PENDING,8,3      ## @SERVICE_PAUSE_PENDING
	.comm	_SERVICE_CONTINUE_PENDING,8,3   ## @SERVICE_CONTINUE_PENDING
	.comm	_ServiceStatusHandle,4,2        ## @ServiceStatusHandle
	.no_dead_strip	_UpdateServiceStatus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UpdateServiceStatus
_UpdateServiceStatus:                   ; @UpdateServiceStatus
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SERVICE_WIN32_OWN_PROCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SERVICE_WIN32_OWN_PROCESS@GOTPAGEOFF]
Lloh2:
	adrp	x1, _ServiceStatus@GOTPAGE
Lloh3:
	ldr	x1, [x1, _ServiceStatus@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x1, #48]
	str	x0, [x1, #40]
	movi.2d	v0, #0000000000000000
	stur	q0, [x1, #8]
	stur	q0, [x1, #24]
Lloh5:
	adrp	x8, _SERVICE_START_PENDING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SERVICE_START_PENDING@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _SERVICE_STOP_PENDING@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SERVICE_STOP_PENDING@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	adrp	x10, _SERVICE_PAUSE_PENDING@GOTPAGE
Lloh12:
	ldr	x10, [x10, _SERVICE_PAUSE_PENDING@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
Lloh14:
	adrp	x11, _SERVICE_CONTINUE_PENDING@GOTPAGE
Lloh15:
	ldr	x11, [x11, _SERVICE_CONTINUE_PENDING@GOTPAGEOFF]
Lloh16:
	ldr	x11, [x11]
	cmp	x11, x0
	ccmp	x10, x0, #4, ne
	ccmp	x9, x0, #4, ne
	ccmp	x8, x0, #4, ne
	mov	w8, #10000
	csel	w8, w8, wzr, eq
	str	w8, [x1]
Lloh17:
	adrp	x8, _ServiceStatusHandle@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ServiceStatusHandle@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	b	_SetServiceStatus
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SERVICE_WIN32_OWN_PROCESS,4,2  ; @SERVICE_WIN32_OWN_PROCESS
	.comm	_ServiceStatus,56,3             ; @ServiceStatus
	.comm	_SERVICE_START_PENDING,8,3      ; @SERVICE_START_PENDING
	.comm	_SERVICE_STOP_PENDING,8,3       ; @SERVICE_STOP_PENDING
	.comm	_SERVICE_PAUSE_PENDING,8,3      ; @SERVICE_PAUSE_PENDING
	.comm	_SERVICE_CONTINUE_PENDING,8,3   ; @SERVICE_CONTINUE_PENDING
	.comm	_ServiceStatusHandle,4,2        ; @ServiceStatusHandle
	.no_dead_strip	_UpdateServiceStatus
.subsections_via_symbols
