	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_QueryDescription               ## -- Begin function QueryDescription
	.p2align	4, 0x90
_QueryDescription:                      ## @QueryDescription
	.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
	movq	%rdi, %r13
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	$0, -48(%rbp)
	movq	_SC_MANAGER_CONNECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_OpenSCManager
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	_SERVICE_QUERY_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_OpenService
	testq	%rax, %rax
	je	LBB0_17
## %bb.3:
	movq	%rax, %r14
	movq	_SERVICE_CONFIG_DESCRIPTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %r8
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_QueryServiceConfig2
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	cmpq	$0, -48(%rbp)
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	__T
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_GetLastError
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	__tprintf
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	xorl	%eax, %eax
	callq	_ReportLastError
	jmp	LBB0_19
LBB0_17:
	leaq	L_.str.1(%rip), %rdi
	callq	__T
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_GetLastError
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	__tprintf
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	xorl	%eax, %eax
	callq	_ReportLastError
	jmp	LBB0_18
LBB0_6:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	-48(%rbp), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.9:
	movq	%rax, %r12
	movq	_SERVICE_CONFIG_DESCRIPTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rcx
	leaq	-48(%rbp), %r8
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_QueryServiceConfig2
	testl	%eax, %eax
	je	LBB0_13
## %bb.10:
	leaq	L_.str.4(%rip), %rdi
	callq	__T
	movq	%rax, %rdi
	xorl	%eax, %eax
	callq	__tprintf
	leaq	L_.str.5(%rip), %rdi
	callq	__T
	movq	%rax, %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	__tprintf
	leaq	L_.str.6(%rip), %rdi
	callq	__T
	movq	%rax, %r13
	movq	(%r12), %rsi
	testq	%rsi, %rsi
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.7(%rip), %rdi
	callq	__T
	movq	%rax, %rsi
LBB0_12:
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	__tprintf
	movq	_FALSE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_14
	jmp	LBB0_15
LBB0_7:
	movq	_ERROR_OUTOFMEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SetLastError
	leaq	L_.str.3(%rip), %rdi
LBB0_8:
	callq	__T
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_GetLastError
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	__tprintf
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	xorl	%eax, %eax
	callq	_ReportLastError
	jmp	LBB0_16
LBB0_13:
	leaq	L_.str.2(%rip), %rdi
	callq	__T
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_GetLastError
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	__tprintf
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_14:
	xorl	%eax, %eax
	callq	_ReportLastError
LBB0_15:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_HeapFree
LBB0_16:
	movq	%r14, %rdi
	callq	_CloseServiceHandle
LBB0_18:
	movq	%r15, %rdi
	callq	_CloseServiceHandle
LBB0_19:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_SC_MANAGER_CONNECT,4,2         ## @SC_MANAGER_CONNECT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[SC] OpenSCManager FAILED %lu:\n\n"

	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_SERVICE_QUERY_CONFIG,4,2       ## @SERVICE_QUERY_CONFIG
L_.str.1:                               ## @.str.1
	.asciz	"[SC] OpenService FAILED %lu:\n\n"

	.comm	_SERVICE_CONFIG_DESCRIPTION,4,2 ## @SERVICE_CONFIG_DESCRIPTION
L_.str.2:                               ## @.str.2
	.asciz	"[SC] QueryServiceConfig2 FAILED %lu:\n\n"

	.comm	_ERROR_OUTOFMEMORY,4,2          ## @ERROR_OUTOFMEMORY
L_.str.3:                               ## @.str.3
	.asciz	"[SC] HeapAlloc FAILED %lu:\n\n"

L_.str.4:                               ## @.str.4
	.asciz	"[SC] QueryServiceConfig2 SUCCESS\n\n"

L_.str.5:                               ## @.str.5
	.asciz	"SERVICE_NAME: %s\n"

L_.str.6:                               ## @.str.6
	.asciz	"        DESCRIPTION        : %s\n"

L_.str.7:                               ## @.str.7
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_QueryDescription               ; -- Begin function QueryDescription
	.p2align	2
_QueryDescription:                      ; @QueryDescription
	.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	x23, x0
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	str	xzr, [sp, #8]
Lloh3:
	adrp	x8, _SC_MANAGER_CONNECT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SC_MANAGER_CONNECT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, #0
	mov	x1, #0
	bl	_OpenSCManager
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
Lloh6:
	adrp	x8, _SERVICE_QUERY_CONFIG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SERVICE_QUERY_CONFIG@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x1, x23
	bl	_OpenService
	cbz	x0, LBB0_9
; %bb.2:
	mov	x20, x0
Lloh9:
	adrp	x24, _SERVICE_CONFIG_DESCRIPTION@GOTPAGE
Lloh10:
	ldr	x24, [x24, _SERVICE_CONFIG_DESCRIPTION@GOTPAGEOFF]
	ldr	w1, [x24]
	add	x4, sp, #8
	mov	x2, #0
	mov	x3, #0
	bl	_QueryServiceConfig2
	ldr	x8, [sp, #8]
	cmp	w0, #0
	ccmp	x8, #0, #0, eq
	b.eq	LBB0_10
; %bb.3:
	bl	_GetProcessHeap
	ldr	x2, [sp, #8]
	mov	w1, #0
	bl	_HeapAlloc
	cbz	x0, LBB0_11
; %bb.4:
	mov	x22, x0
	ldr	w1, [x24]
	ldr	x3, [sp, #8]
	add	x4, sp, #8
	mov	x0, x20
	mov	x2, x22
	bl	_QueryServiceConfig2
	cbz	w0, LBB0_13
; %bb.5:
Lloh11:
	adrp	x0, l_.str.4@PAGE
Lloh12:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__T
	bl	__tprintf
Lloh13:
	adrp	x0, l_.str.5@PAGE
Lloh14:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__T
	str	x23, [sp]
	bl	__tprintf
Lloh15:
	adrp	x0, l_.str.6@PAGE
Lloh16:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	__T
	mov	x23, x0
	ldr	x0, [x22]
	cbnz	x0, LBB0_7
; %bb.6:
Lloh17:
	adrp	x0, l_.str.7@PAGE
Lloh18:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	__T
LBB0_7:
	str	x0, [sp]
	mov	x0, x23
	bl	__tprintf
Lloh19:
	adrp	x8, _FALSE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cmp	x21, x8
	b.eq	LBB0_14
	b	LBB0_15
LBB0_8:
Lloh22:
	adrp	x0, l_.str@PAGE
Lloh23:
	add	x0, x0, l_.str@PAGEOFF
	bl	__T
	mov	x19, x0
	bl	_GetLastError
	str	x0, [sp]
	mov	x0, x19
	bl	__tprintf
Lloh24:
	adrp	x8, _FALSE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh26:
	ldr	x21, [x8]
	bl	_ReportLastError
	b	LBB0_18
LBB0_9:
Lloh27:
	adrp	x0, l_.str.1@PAGE
Lloh28:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__T
	mov	x20, x0
	bl	_GetLastError
	str	x0, [sp]
	mov	x0, x20
	bl	__tprintf
Lloh29:
	adrp	x8, _FALSE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh31:
	ldr	x21, [x8]
	bl	_ReportLastError
	b	LBB0_17
LBB0_10:
Lloh32:
	adrp	x0, l_.str.2@PAGE
Lloh33:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_11:
Lloh34:
	adrp	x8, _ERROR_OUTOFMEMORY@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ERROR_OUTOFMEMORY@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	bl	_SetLastError
Lloh37:
	adrp	x0, l_.str.3@PAGE
Lloh38:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_12:
	bl	__T
	mov	x21, x0
	bl	_GetLastError
	str	x0, [sp]
	mov	x0, x21
	bl	__tprintf
Lloh39:
	adrp	x8, _FALSE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh41:
	ldr	x21, [x8]
	bl	_ReportLastError
	b	LBB0_16
LBB0_13:
Lloh42:
	adrp	x0, l_.str.2@PAGE
Lloh43:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__T
	mov	x21, x0
	bl	_GetLastError
	str	x0, [sp]
	mov	x0, x21
	bl	__tprintf
Lloh44:
	adrp	x8, _FALSE@GOTPAGE
Lloh45:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh46:
	ldr	x21, [x8]
LBB0_14:
	bl	_ReportLastError
LBB0_15:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x22
	bl	_HeapFree
LBB0_16:
	mov	x0, x20
	bl	_CloseServiceHandle
LBB0_17:
	mov	x0, x19
	bl	_CloseServiceHandle
LBB0_18:
	mov	x0, x21
	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 AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_SC_MANAGER_CONNECT,4,2         ; @SC_MANAGER_CONNECT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[SC] OpenSCManager FAILED %lu:\n\n"

	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_SERVICE_QUERY_CONFIG,4,2       ; @SERVICE_QUERY_CONFIG
l_.str.1:                               ; @.str.1
	.asciz	"[SC] OpenService FAILED %lu:\n\n"

	.comm	_SERVICE_CONFIG_DESCRIPTION,4,2 ; @SERVICE_CONFIG_DESCRIPTION
l_.str.2:                               ; @.str.2
	.asciz	"[SC] QueryServiceConfig2 FAILED %lu:\n\n"

	.comm	_ERROR_OUTOFMEMORY,4,2          ; @ERROR_OUTOFMEMORY
l_.str.3:                               ; @.str.3
	.asciz	"[SC] HeapAlloc FAILED %lu:\n\n"

l_.str.4:                               ; @.str.4
	.asciz	"[SC] QueryServiceConfig2 SUCCESS\n\n"

l_.str.5:                               ; @.str.5
	.asciz	"SERVICE_NAME: %s\n"

l_.str.6:                               ; @.str.6
	.asciz	"        DESCRIPTION        : %s\n"

l_.str.7:                               ; @.str.7
	.space	1

.subsections_via_symbols
