	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_WhoamiPriv                     ## -- Begin function WhoamiPriv
	.p2align	4, 0x90
_WhoamiPriv:                            ## @WhoamiPriv
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_TokenPrivileges@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_WhoamiGetTokenInfo
	movq	$0, -72(%rbp)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movslq	%eax, %r15
	movq	(%r15), %rdi
	incq	%rdi
	movl	$3, %esi
	callq	_WhoamiAllocTable
	movq	%rax, %rbx
	movq	_IDS_PRIV_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_WhoamiPrintHeader
	movq	_IDS_COL_PRIV_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_WhoamiLoadRcString
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_WhoamiSetTable
	movq	_IDS_COL_DESCRIPTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_WhoamiLoadRcString
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_WhoamiSetTable
	movq	_IDS_COL_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_WhoamiLoadRcString
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	movl	$2, %ecx
	callq	_WhoamiSetTable
	cmpq	$0, (%r15)
	je	LBB0_12
## %bb.3:
	xorl	%r14d, %r14d
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rax), %edi
	callq	_WhoamiLoadRcString
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r12, %rdx
	movl	$2, %ecx
	callq	_WhoamiSetTable
	movq	%r12, %r14
	cmpq	(%r15), %r12
	jae	LBB0_12
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	movq	8(%r15), %rax
	leaq	(%rax,%r14,8), %rsi
	addq	$4, %rsi
	xorl	%edi, %edi
	xorl	%edx, %edx
	leaq	-64(%rbp), %r12
	movq	%r12, %rcx
	callq	_LookupPrivilegeNameW
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	-64(%rbp), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, -64(%rbp)
	leaq	4(,%rcx,4), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	%rax, %r13
	movq	8(%r15), %rax
	leaq	(%rax,%r14,8), %rsi
	addq	$4, %rsi
	xorl	%edi, %edi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_LookupPrivilegeNameW
	leaq	1(%r14), %r12
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_WhoamiSetTableDyn
	xorl	%edi, %edi
	movq	%r13, %rsi
	xorl	%edx, %edx
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rcx
	leaq	-72(%rbp), %r8
	callq	_LookupPrivilegeDisplayNameW
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	-56(%rbp), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, -56(%rbp)
	leaq	4(,%rcx,4), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	%rax, %r15
	xorl	%edi, %edi
	movq	%r13, %rsi
	movq	%rax, %rdx
	movq	%rbx, %rcx
	leaq	-72(%rbp), %r8
	callq	_LookupPrivilegeDisplayNameW
	testq	%r15, %r15
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	$1, %ecx
	callq	_WhoamiSetTableDyn
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_IDS_UNKNOWN_DESCRIPTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_WhoamiLoadRcString
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movq	%r12, %rdx
	movl	$1, %ecx
	callq	_WhoamiSetTable
	testq	%r15, %r15
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	_WhoamiFree
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	8(%r15), %rcx
	movq	_SE_PRIVILEGE_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IDS_STATE_ENABLED@GOTPCREL(%rip), %rax
	andl	(%rcx,%r14,8), %edx
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_IDS_STATE_DISABLED@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_12:
	movq	%rbx, %rdi
	callq	_WhoamiPrintTable
	movq	%r15, %rdi
	callq	_WhoamiFree
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_1:
	movl	$1, %eax
LBB0_13:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TokenPrivileges,4,2            ## @TokenPrivileges
	.comm	_IDS_PRIV_HEADER,4,2            ## @IDS_PRIV_HEADER
	.comm	_IDS_COL_PRIV_NAME,4,2          ## @IDS_COL_PRIV_NAME
	.comm	_IDS_COL_DESCRIPTION,4,2        ## @IDS_COL_DESCRIPTION
	.comm	_IDS_COL_STATE,4,2              ## @IDS_COL_STATE
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_IDS_UNKNOWN_DESCRIPTION,4,2    ## @IDS_UNKNOWN_DESCRIPTION
	.comm	_SE_PRIVILEGE_ENABLED,4,2       ## @SE_PRIVILEGE_ENABLED
	.comm	_IDS_STATE_ENABLED,4,2          ## @IDS_STATE_ENABLED
	.comm	_IDS_STATE_DISABLED,4,2         ## @IDS_STATE_DISABLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_WhoamiPriv                     ; -- Begin function WhoamiPriv
	.p2align	2
_WhoamiPriv:                            ; @WhoamiPriv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _TokenPrivileges@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TokenPrivileges@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_WhoamiGetTokenInfo
                                        ; kill: def $w0 killed $w0 def $x0
	str	xzr, [sp, #24]
	cbz	w0, LBB0_10
; %bb.1:
	sxtw	x19, w0
	ldr	x8, [x19]
	add	x0, x8, #1
	mov	w1, #3
	bl	_WhoamiAllocTable
	mov	x20, x0
Lloh3:
	adrp	x8, _IDS_PRIV_HEADER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IDS_PRIV_HEADER@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_WhoamiPrintHeader
Lloh6:
	adrp	x8, _IDS_COL_PRIV_NAME@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IDS_COL_PRIV_NAME@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_WhoamiLoadRcString
	mov	x1, x0
	mov	x0, x20
	mov	x2, #0
	mov	w3, #0
	bl	_WhoamiSetTable
Lloh9:
	adrp	x8, _IDS_COL_DESCRIPTION@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IDS_COL_DESCRIPTION@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_WhoamiLoadRcString
	mov	x1, x0
	mov	x0, x20
	mov	x2, #0
	mov	w3, #1
	bl	_WhoamiSetTable
Lloh12:
	adrp	x8, _IDS_COL_STATE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IDS_COL_STATE@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_WhoamiLoadRcString
	mov	x1, x0
	mov	x0, x20
	mov	x2, #0
	mov	w3, #2
	bl	_WhoamiSetTable
	ldr	x8, [x19]
	cbz	x8, LBB0_9
; %bb.2:
	mov	x24, #0
	mov	w21, #1
Lloh15:
	adrp	x25, _SE_PRIVILEGE_ENABLED@GOTPAGE
Lloh16:
	ldr	x25, [x25, _SE_PRIVILEGE_ENABLED@GOTPAGEOFF]
Lloh17:
	adrp	x26, _IDS_STATE_DISABLED@GOTPAGE
Lloh18:
	ldr	x26, [x26, _IDS_STATE_DISABLED@GOTPAGEOFF]
Lloh19:
	adrp	x27, _IDS_STATE_ENABLED@GOTPAGE
Lloh20:
	ldr	x27, [x27, _IDS_STATE_ENABLED@GOTPAGEOFF]
Lloh21:
	adrp	x28, _IDS_UNKNOWN_DESCRIPTION@GOTPAGE
Lloh22:
	ldr	x28, [x28, _IDS_UNKNOWN_DESCRIPTION@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	w3, #1
	bl	_WhoamiSetTableDyn
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #8]
	ldr	w8, [x8, x24]
	ldr	w9, [x25]
	tst	w9, w8
	csel	x8, x26, x27, eq
	ldr	w0, [x8]
	bl	_WhoamiLoadRcString
	mov	x1, x0
	mov	x0, x20
	mov	x2, x21
	mov	w3, #2
	bl	_WhoamiSetTable
	ldr	x8, [x19]
	add	x9, x21, #1
	add	x24, x24, #8
	cmp	x21, x8
	mov	x21, x9
	b.hs	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	stp	xzr, xzr, [sp, #8]
	ldr	x8, [x19, #8]
	add	x8, x8, x24
	add	x1, x8, #4
	add	x3, sp, #16
	mov	x0, #0
	mov	x2, #0
	bl	_LookupPrivilegeNameW
	bl	_GetProcessHeap
	ldr	x8, [sp, #16]
	add	x8, x8, #1
	str	x8, [sp, #16]
	lsl	x2, x8, #2
	mov	w1, #0
	bl	_HeapAlloc
	mov	x23, x0
	ldr	x8, [x19, #8]
	add	x8, x8, x24
	add	x1, x8, #4
	add	x3, sp, #16
	mov	x0, #0
	mov	x2, x23
	bl	_LookupPrivilegeNameW
	mov	x0, x20
	mov	x1, x23
	mov	x2, x21
	mov	w3, #0
	bl	_WhoamiSetTableDyn
	add	x3, sp, #8
	add	x4, sp, #24
	mov	x0, #0
	mov	x1, x23
	mov	x2, #0
	bl	_LookupPrivilegeDisplayNameW
	bl	_GetProcessHeap
	ldr	x8, [sp, #8]
	add	x8, x8, #1
	str	x8, [sp, #8]
	lsl	x2, x8, #2
	mov	w1, #0
	bl	_HeapAlloc
	mov	x22, x0
	add	x3, sp, #8
	add	x4, sp, #24
	mov	x0, #0
	mov	x1, x23
	mov	x2, x22
	bl	_LookupPrivilegeDisplayNameW
	cbz	x22, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cbnz	x0, LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x28]
	bl	_WhoamiLoadRcString
	mov	x1, x0
	mov	x0, x20
	mov	x2, x21
	mov	w3, #1
	bl	_WhoamiSetTable
	cbz	x22, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_WhoamiFree
	b	LBB0_4
LBB0_9:
	mov	x0, x20
	bl	_WhoamiPrintTable
	mov	x0, x19
	bl	_WhoamiFree
	mov	w0, #0
	b	LBB0_11
LBB0_10:
	mov	w0, #1
LBB0_11:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_TokenPrivileges,4,2            ; @TokenPrivileges
	.comm	_IDS_PRIV_HEADER,4,2            ; @IDS_PRIV_HEADER
	.comm	_IDS_COL_PRIV_NAME,4,2          ; @IDS_COL_PRIV_NAME
	.comm	_IDS_COL_DESCRIPTION,4,2        ; @IDS_COL_DESCRIPTION
	.comm	_IDS_COL_STATE,4,2              ; @IDS_COL_STATE
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_IDS_UNKNOWN_DESCRIPTION,4,2    ; @IDS_UNKNOWN_DESCRIPTION
	.comm	_SE_PRIVILEGE_ENABLED,4,2       ; @SE_PRIVILEGE_ENABLED
	.comm	_IDS_STATE_ENABLED,4,2          ; @IDS_STATE_ENABLED
	.comm	_IDS_STATE_DISABLED,4,2         ; @IDS_STATE_DISABLED
.subsections_via_symbols
