	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SdShow                         ## -- Begin function SdShow
	.p2align	4, 0x90
_SdShow:                                ## @SdShow
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movl	$0, -36(%rbp)
	movq	$0, -48(%rbp)
	movq	$0, -56(%rbp)
	movq	_SC_MANAGER_CONNECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_OpenSCManager
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	_READ_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_OpenService
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r12
	movq	_DACL_SECURITY_INFORMATION@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-48(%rbp), %rdx
	leaq	-36(%rbp), %r8
	movq	%rax, %rdi
	movl	$8, %ecx
	callq	_QueryServiceObjectSecurity
	orl	-36(%rbp), %eax
	jne	LBB0_9
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_7
LBB0_1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
LBB0_2:
	callq	__T
	movl	%eax, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_8
LBB0_9:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	-36(%rbp), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movl	(%rbx), %esi
	movl	-36(%rbp), %ecx
	leaq	-36(%rbp), %r8
	movq	%r12, %rdi
	movq	%rax, %rdx
	callq	_QueryServiceObjectSecurity
	testl	%eax, %eax
	je	LBB0_6
## %bb.12:
	movq	-48(%rbp), %rdi
	movq	_SDDL_REVISION_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	leaq	-56(%rbp), %rcx
	xorl	%r8d, %r8d
	callq	_ConvertSecurityDescriptorToStringSecurityDescriptor
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:
	leaq	L_.str.5(%rip), %rdi
	callq	__T
	movq	-56(%rbp), %rsi
	movl	%eax, %edi
	callq	__tprintf
	movq	_FALSE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	je	LBB0_15
	jmp	LBB0_16
LBB0_10:
	movq	_ERROR_OUTOFMEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SetLastError
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_7
LBB0_13:
	leaq	L_.str.4(%rip), %rdi
LBB0_7:
	callq	__T
	movl	%eax, %ebx
LBB0_8:
	xorl	%eax, %eax
	callq	_GetLastError
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	__tprintf
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
LBB0_15:
	xorl	%eax, %eax
	callq	_ReportLastError
LBB0_16:
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.17:
	callq	_LocalFree
LBB0_18:
	cmpq	$0, -48(%rbp)
	je	LBB0_20
## %bb.19:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	-48(%rbp), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapFree
LBB0_20:
	testq	%r12, %r12
	je	LBB0_22
## %bb.21:
	movq	%r12, %rdi
	callq	_CloseServiceHandle
LBB0_22:
	testq	%r14, %r14
	je	LBB0_24
## %bb.23:
	movq	%r14, %rdi
	callq	_CloseServiceHandle
LBB0_24:
	movq	%r15, %rax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	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	_READ_CONTROL,4,2               ## @READ_CONTROL
L_.str.1:                               ## @.str.1
	.asciz	"[SC] OpenService FAILED %lu:\n\n"

	.comm	_DACL_SECURITY_INFORMATION,4,2  ## @DACL_SECURITY_INFORMATION
L_.str.2:                               ## @.str.2
	.asciz	"[SC] QueryServiceObjectSecurity FAILED %lu:\n\n"

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

	.comm	_SDDL_REVISION_1,4,2            ## @SDDL_REVISION_1
L_.str.4:                               ## @.str.4
	.asciz	"[SC] ConvertSecurityDescriptorToStringSecurityDescriptor FAILED %lu:\n\n"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SdShow                         ; -- Begin function SdShow
	.p2align	2
_SdShow:                                ; @SdShow
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x0
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	str	wzr, [sp, #28]
	stp	xzr, 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
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
Lloh6:
	adrp	x8, _READ_CONTROL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _READ_CONTROL@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_OpenService
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
Lloh9:
	adrp	x22, _DACL_SECURITY_INFORMATION@GOTPAGE
Lloh10:
	ldr	x22, [x22, _DACL_SECURITY_INFORMATION@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x2, sp, #16
	add	x4, sp, #28
	mov	w3, #8
	bl	_QueryServiceObjectSecurity
	ldr	w8, [sp, #28]
	orr	w8, w0, w8
	cbnz	w8, LBB0_7
LBB0_3:
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_4:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_6:
	bl	__T
	mov	x20, x0
	bl	_GetLastError
	mov	x1, x0
	mov	x0, x20
	bl	__tprintf
	mov	x20, #0
	b	LBB0_14
LBB0_7:
	bl	_GetProcessHeap
	ldr	w2, [sp, #28]
	mov	w1, #0
	bl	_HeapAlloc
	str	x0, [sp, #16]
	cbz	x0, LBB0_11
; %bb.8:
	mov	x2, x0
	ldr	w1, [x22]
	ldr	w3, [sp, #28]
	add	x4, sp, #28
	mov	x0, x20
	bl	_QueryServiceObjectSecurity
	cbz	w0, LBB0_3
; %bb.9:
	ldr	x0, [sp, #16]
Lloh17:
	adrp	x8, _SDDL_REVISION_1@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SDDL_REVISION_1@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldr	w2, [x22]
	add	x3, sp, #8
	mov	x4, #0
	bl	_ConvertSecurityDescriptorToStringSecurityDescriptor
	cbz	w0, LBB0_12
; %bb.10:
Lloh20:
	adrp	x0, l_.str.5@PAGE
Lloh21:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__T
	ldr	x1, [sp, #8]
	bl	__tprintf
Lloh22:
	adrp	x8, _FALSE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	cmp	x21, x8
	b.eq	LBB0_15
	b	LBB0_16
LBB0_11:
Lloh25:
	adrp	x8, _ERROR_OUTOFMEMORY@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ERROR_OUTOFMEMORY@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_SetLastError
Lloh28:
	adrp	x0, l_.str.3@PAGE
Lloh29:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_13
LBB0_12:
Lloh30:
	adrp	x0, l_.str.4@PAGE
Lloh31:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_13:
	bl	__T
	mov	x21, x0
	bl	_GetLastError
	mov	x1, x0
	mov	x0, x21
	bl	__tprintf
LBB0_14:
Lloh32:
	adrp	x8, _FALSE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh34:
	ldr	x21, [x8]
LBB0_15:
	bl	_ReportLastError
LBB0_16:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_18
; %bb.17:
	bl	_LocalFree
LBB0_18:
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_20
; %bb.19:
	bl	_GetProcessHeap
	ldr	x2, [sp, #16]
	mov	w1, #0
	bl	_HeapFree
LBB0_20:
	cbz	x20, LBB0_22
; %bb.21:
	mov	x0, x20
	bl	_CloseServiceHandle
LBB0_22:
	cbz	x19, LBB0_24
; %bb.23:
	mov	x0, x19
	bl	_CloseServiceHandle
LBB0_24:
	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
	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	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.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	_READ_CONTROL,4,2               ; @READ_CONTROL
l_.str.1:                               ; @.str.1
	.asciz	"[SC] OpenService FAILED %lu:\n\n"

	.comm	_DACL_SECURITY_INFORMATION,4,2  ; @DACL_SECURITY_INFORMATION
l_.str.2:                               ; @.str.2
	.asciz	"[SC] QueryServiceObjectSecurity FAILED %lu:\n\n"

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

	.comm	_SDDL_REVISION_1,4,2            ; @SDDL_REVISION_1
l_.str.4:                               ; @.str.4
	.asciz	"[SC] ConvertSecurityDescriptorToStringSecurityDescriptor FAILED %lu:\n\n"

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

.subsections_via_symbols
