	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SetServiceDescription          ## -- Begin function SetServiceDescription
	.p2align	4, 0x90
_SetServiceDescription:                 ## @SetServiceDescription
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movl	%edi, %r13d
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_SC_MANAGER_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_OpenSCManagerW
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_LockServiceDatabase
	testl	%eax, %eax
	je	LBB0_7
## %bb.2:
	movl	%eax, %r15d
	movq	_SERVICE_CHANGE_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_OpenServiceW
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rax, %r13
	movl	%r12d, -48(%rbp)
	movq	_SERVICE_CONFIG_DESCRIPTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movq	%r13, %rdi
	callq	_ChangeServiceConfig2W
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_5:
	movq	%r13, %rdi
	callq	_CloseServiceHandle
LBB0_6:
	movl	%r15d, %edi
	callq	_UnlockServiceDatabase
LBB0_7:
	movq	%rbx, %rdi
	callq	_CloseServiceHandle
LBB0_8:
	testl	%r14d, %r14d
	jne	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	callq	_GetError
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_SC_MANAGER_LOCK,4,2            ## @SC_MANAGER_LOCK
	.comm	_SERVICE_CHANGE_CONFIG,4,2      ## @SERVICE_CHANGE_CONFIG
	.comm	_SERVICE_CONFIG_DESCRIPTION,4,2 ## @SERVICE_CONFIG_DESCRIPTION
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SetServiceDescription          ; -- Begin function SetServiceDescription
	.p2align	2
_SetServiceDescription:                 ; @SetServiceDescription
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x8, _SC_MANAGER_LOCK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SC_MANAGER_LOCK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, #0
	mov	x1, #0
	bl	_OpenSCManagerW
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	bl	_LockServiceDatabase
	cbz	w0, LBB0_5
; %bb.2:
	mov	x21, x0
Lloh6:
	adrp	x8, _SERVICE_CHANGE_CONFIG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SERVICE_CHANGE_CONFIG@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x23
	bl	_OpenServiceW
	cbz	x0, LBB0_4
; %bb.3:
	mov	x23, x0
	str	w22, [sp, #8]
Lloh9:
	adrp	x8, _SERVICE_CONFIG_DESCRIPTION@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SERVICE_CONFIG_DESCRIPTION@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_ChangeServiceConfig2W
Lloh12:
	adrp	x8, _TRUE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w19, w19, w8, eq
	mov	x0, x23
	bl	_CloseServiceHandle
LBB0_4:
	mov	x0, x21
	bl	_UnlockServiceDatabase
LBB0_5:
	mov	x0, x20
	bl	_CloseServiceHandle
LBB0_6:
	cbnz	w19, LBB0_8
; %bb.7:
	bl	_GetError
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_SC_MANAGER_LOCK,4,2            ; @SC_MANAGER_LOCK
	.comm	_SERVICE_CHANGE_CONFIG,4,2      ; @SERVICE_CHANGE_CONFIG
	.comm	_SERVICE_CONFIG_DESCRIPTION,4,2 ; @SERVICE_CONFIG_DESCRIPTION
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
