	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ScmGenerateServiceTag          ## -- Begin function ScmGenerateServiceTag
	.p2align	4, 0x90
_ScmGenerateServiceTag:                 ## @ScmGenerateServiceTag
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ServiceTag@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movq	_SERVICE_WIN32@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, 4(%rdi)
	je	LBB0_3
## %bb.4:
	incl	%eax
	movl	%eax, (%rcx)
	movl	%eax, (%rdi)
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_ERROR_INVALID_DATA@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_ERROR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ServiceTag,4,2                 ## @ServiceTag
	.comm	_ERROR_INVALID_DATA,4,2         ## @ERROR_INVALID_DATA
	.comm	_SERVICE_WIN32,4,2              ## @SERVICE_WIN32
	.comm	_ERROR_INVALID_PARAMETER,4,2    ## @ERROR_INVALID_PARAMETER
	.comm	_ERROR_SUCCESS,4,2              ## @ERROR_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ScmGenerateServiceTag          ; -- Begin function ScmGenerateServiceTag
	.p2align	2
_ScmGenerateServiceTag:                 ; @ScmGenerateServiceTag
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ServiceTag@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ServiceTag@GOTPAGEOFF]
	ldr	w9, [x8]
	cmn	w9, #1
	b.eq	LBB0_3
; %bb.1:
	ldr	w10, [x0, #4]
Lloh2:
	adrp	x11, _SERVICE_WIN32@GOTPAGE
Lloh3:
	ldr	x11, [x11, _SERVICE_WIN32@GOTPAGEOFF]
Lloh4:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_4
; %bb.2:
	add	w9, w9, #1
	str	w9, [x8]
	str	w9, [x0]
Lloh5:
	adrp	x8, _ERROR_SUCCESS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ret
LBB0_3:
Lloh8:
	adrp	x8, _ERROR_INVALID_DATA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERROR_INVALID_DATA@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh11:
	adrp	x8, _ERROR_INVALID_PARAMETER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERROR_INVALID_PARAMETER@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ServiceTag,4,2                 ; @ServiceTag
	.comm	_ERROR_INVALID_DATA,4,2         ; @ERROR_INVALID_DATA
	.comm	_SERVICE_WIN32,4,2              ; @SERVICE_WIN32
	.comm	_ERROR_INVALID_PARAMETER,4,2    ; @ERROR_INVALID_PARAMETER
	.comm	_ERROR_SUCCESS,4,2              ; @ERROR_SUCCESS
.subsections_via_symbols
