	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_WhoamiUser                     ## -- Begin function WhoamiUser
	.p2align	4, 0x90
_WhoamiUser:                            ## @WhoamiUser
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_TokenUser@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_WhoamiGetTokenInfo
	movq	$0, -40(%rbp)
	movl	$1, %r12d
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movslq	%eax, %r14
	movq	_NameSamCompatible@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_WhoamiGetUser
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r15
	movl	$2, %edi
	movl	$2, %esi
	callq	_WhoamiAllocTable
	movq	%rax, %rbx
	movq	_IDS_USER_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_WhoamiPrintHeader
	movq	_IDS_COL_USER_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_WhoamiLoadRcString
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_WhoamiSetTable
	movq	_IDS_COL_SID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_WhoamiLoadRcString
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_WhoamiSetTable
	movl	(%r14), %edi
	leaq	-40(%rbp), %rsi
	callq	_ConvertSidToStringSidW
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_WhoamiSetTable
	movq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_WhoamiSetTable
	movq	%rbx, %rdi
	callq	_WhoamiPrintTable
	movq	-40(%rbp), %rdi
	callq	_LocalFree
	movq	%r14, %rdi
	callq	_WhoamiFree
	movq	%r15, %rdi
	jmp	LBB0_4
LBB0_2:
	movq	%r14, %rdi
LBB0_4:
	callq	_WhoamiFree
LBB0_5:
	movl	%r12d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TokenUser,4,2                  ## @TokenUser
	.comm	_NameSamCompatible,4,2          ## @NameSamCompatible
	.comm	_IDS_USER_HEADER,4,2            ## @IDS_USER_HEADER
	.comm	_IDS_COL_USER_NAME,4,2          ## @IDS_COL_USER_NAME
	.comm	_IDS_COL_SID,4,2                ## @IDS_COL_SID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_WhoamiUser                     ; -- Begin function WhoamiUser
	.p2align	2
_WhoamiUser:                            ; @WhoamiUser
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _TokenUser@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TokenUser@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_WhoamiGetTokenInfo
                                        ; kill: def $w0 killed $w0 def $x0
	str	xzr, [sp, #8]
	cbz	w0, LBB0_4
; %bb.1:
	sxtw	x19, w0
Lloh3:
	adrp	x8, _NameSamCompatible@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NameSamCompatible@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_WhoamiGetUser
	cbz	x0, LBB0_3
; %bb.2:
	mov	x20, x0
	mov	w0, #2
	mov	w1, #2
	bl	_WhoamiAllocTable
	mov	x21, x0
Lloh6:
	adrp	x8, _IDS_USER_HEADER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IDS_USER_HEADER@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_WhoamiPrintHeader
Lloh9:
	adrp	x8, _IDS_COL_USER_NAME@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IDS_COL_USER_NAME@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_WhoamiLoadRcString
	mov	x1, x0
	mov	x0, x21
	mov	w2, #0
	mov	w3, #0
	bl	_WhoamiSetTable
Lloh12:
	adrp	x8, _IDS_COL_SID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IDS_COL_SID@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_WhoamiLoadRcString
	mov	x1, x0
	mov	x0, x21
	mov	w2, #0
	mov	w3, #1
	bl	_WhoamiSetTable
	ldr	w0, [x19]
	add	x1, sp, #8
	bl	_ConvertSidToStringSidW
	mov	x0, x21
	mov	x1, x20
	mov	w2, #1
	mov	w3, #0
	bl	_WhoamiSetTable
	ldr	x1, [sp, #8]
	mov	x0, x21
	mov	w2, #1
	mov	w3, #1
	bl	_WhoamiSetTable
	mov	x0, x21
	bl	_WhoamiPrintTable
	ldr	x0, [sp, #8]
	bl	_LocalFree
	mov	x0, x19
	bl	_WhoamiFree
	mov	x0, x20
	bl	_WhoamiFree
	mov	w0, #0
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_WhoamiFree
LBB0_4:
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TokenUser,4,2                  ; @TokenUser
	.comm	_NameSamCompatible,4,2          ; @NameSamCompatible
	.comm	_IDS_USER_HEADER,4,2            ; @IDS_USER_HEADER
	.comm	_IDS_COL_USER_NAME,4,2          ; @IDS_COL_USER_NAME
	.comm	_IDS_COL_SID,4,2                ; @IDS_COL_SID
.subsections_via_symbols
