	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StGetUser                      ## -- Begin function StGetUser
	.p2align	4, 0x90
_StGetUser:                             ## @StGetUser
	.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	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r13
	movq	8(%r13), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_MAX_USERNAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	incl	%r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_MAX_HUBNAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	incl	%r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rax
	movq	(%rbx), %rdx
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	%rax, %r15
	movl	%r12d, %esi
	callq	_StrCpy
	movq	8(%rbx), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_StrCpy
	movq	(%rbx), %rdi
	callq	_IsEmptyStr
	testq	%rax, %rax
	je	LBB0_5
LBB0_1:
	movq	_ERR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %ebx
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.4:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	(%rbx), %rdi
	callq	_IsUserName
	testl	%eax, %eax
	je	LBB0_1
## %bb.6:
	movq	(%r13), %rax
	movq	_SERVER_TYPE_FARM_MEMBER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	_ERR_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_8:
	movq	%rbx, %rdi
	callq	_FreeRpcSetUser
	movq	%rbx, %rdi
	movl	$64, %esi
	callq	_Zero
	movq	8(%rbx), %rdi
	movl	$8, %esi
	movq	%r15, %rdx
	callq	_StrCpy
	movq	(%rbx), %rdi
	movl	$8, %esi
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_StrCpy
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_LockHubList
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_GetHub
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_UnlockHubList
	testq	%r15, %r15
	je	LBB0_13
## %bb.9:
	movq	%r15, %rdi
	callq	_AcLock
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_AcGetUser
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:
	movq	%rax, %r12
	movl	8(%rax), %edi
	callq	_Lock
	movq	16(%rbx), %rdi
	movq	(%r12), %rdx
	movl	$8, %esi
	callq	_StrCpy
	movl	60(%rbx), %edi
	movl	56(%r12), %edx
	movl	$4, %esi
	callq	_UniStrCpy
	movl	56(%rbx), %edi
	movl	52(%r12), %edx
	movl	$4, %esi
	callq	_UniStrCpy
	movl	48(%r12), %eax
	movl	%eax, 52(%rbx)
	movl	44(%r12), %eax
	movl	%eax, 48(%rbx)
	movl	40(%r12), %eax
	movl	%eax, 44(%rbx)
	movl	36(%r12), %esi
	movl	%esi, 36(%rbx)
	movl	32(%r12), %edi
	callq	_CopyAuthData
	movl	%eax, 40(%rbx)
	movl	28(%r12), %eax
	movl	%eax, 32(%rbx)
	leaq	28(%rbx), %rdi
	movl	24(%r12), %esi
	movl	$4, %edx
	callq	_Copy
	movq	16(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	callq	_ClonePolicy
	movl	%eax, 24(%rbx)
LBB0_12:
	movl	8(%r12), %edi
	callq	_Unlock
	movq	%r12, %rdi
	callq	_ReleaseUser
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_15
LBB0_13:
	movq	_ERR_HUB_NOT_FOUND@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_14:
	movq	_ERR_OBJECT_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_15:
	movq	%r15, %rdi
	callq	_AcUnlock
	movq	%r15, %rdi
	callq	_ReleaseHub
	jmp	LBB0_3
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_NO_ERROR,4,2               ## @ERR_NO_ERROR
	.comm	_MAX_USERNAME_LEN,4,2           ## @MAX_USERNAME_LEN
	.comm	_MAX_HUBNAME_LEN,4,2            ## @MAX_HUBNAME_LEN
	.comm	_ERR_INVALID_PARAMETER,4,2      ## @ERR_INVALID_PARAMETER
	.comm	_CHECK_RIGHT,4,2                ## @CHECK_RIGHT
	.comm	_NO_SUPPORT_FOR_BRIDGE,4,2      ## @NO_SUPPORT_FOR_BRIDGE
	.comm	_SERVER_TYPE_FARM_MEMBER,8,3    ## @SERVER_TYPE_FARM_MEMBER
	.comm	_ERR_NOT_SUPPORTED,4,2          ## @ERR_NOT_SUPPORTED
	.comm	_ERR_HUB_NOT_FOUND,4,2          ## @ERR_HUB_NOT_FOUND
	.comm	_ERR_OBJECT_NOT_FOUND,4,2       ## @ERR_OBJECT_NOT_FOUND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StGetUser                      ; -- Begin function StGetUser
	.p2align	2
_StGetUser:                             ; @StGetUser
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x25, [x0]
Lloh3:
	adrp	x8, _ERR_NO_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF]
	ldr	x23, [x25, #8]
Lloh5:
	ldr	w19, [x8]
Lloh6:
	adrp	x8, _MAX_USERNAME_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_USERNAME_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	w1, w8, #1
	mov	x9, x1
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x1, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
Lloh11:
	adrp	x8, _MAX_HUBNAME_LEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MAX_HUBNAME_LEN@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	add	w24, w8, #1
	mov	x9, x24
Lloh14:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh15:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	ldr	x2, [x20]
	mov	x0, x22
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_StrCpy
	ldr	x2, [x20, #8]
	mov	x0, x21
	mov	x1, x24
	bl	_StrCpy
	ldr	x0, [x20]
	bl	_IsEmptyStr
	cbz	x0, LBB0_5
LBB0_1:
Lloh16:
	adrp	x8, _ERR_INVALID_PARAMETER@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ERR_INVALID_PARAMETER@GOTPAGEOFF]
LBB0_2:
	ldr	w19, [x8]
LBB0_3:
	ldur	x8, [x29, #-72]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.4:
	mov	x0, x19
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x0, [x20]
	bl	_IsUserName
	cbz	w0, LBB0_1
; %bb.6:
	ldr	x8, [x25]
Lloh21:
	adrp	x9, _SERVER_TYPE_FARM_MEMBER@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SERVER_TYPE_FARM_MEMBER@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
Lloh24:
	adrp	x8, _ERR_NOT_SUPPORTED@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ERR_NOT_SUPPORTED@GOTPAGEOFF]
	b	LBB0_2
LBB0_8:
	mov	x0, x20
	bl	_FreeRpcSetUser
	mov	x0, x20
	mov	w1, #64
	bl	_Zero
	ldr	x0, [x20, #8]
	mov	w1, #8
	mov	x2, x21
	bl	_StrCpy
	ldr	x0, [x20]
	mov	w1, #8
	mov	x2, x22
	bl	_StrCpy
	mov	x0, x23
	bl	_LockHubList
	mov	x0, x23
	mov	x1, x21
	bl	_GetHub
	mov	x21, x0
	mov	x0, x23
	bl	_UnlockHubList
	cbz	x21, LBB0_13
; %bb.9:
	mov	x0, x21
	bl	_AcLock
	mov	x0, x21
	mov	x1, x22
	bl	_AcGetUser
	cbz	x0, LBB0_14
; %bb.10:
	mov	x22, x0
	ldr	w0, [x0, #8]
	bl	_Lock
	ldr	x0, [x20, #16]
	ldr	x2, [x22]
	mov	w1, #8
	bl	_StrCpy
	ldr	w0, [x20, #60]
	ldr	w2, [x22, #56]
	mov	w1, #4
	bl	_UniStrCpy
	ldr	w0, [x20, #56]
	ldr	w2, [x22, #52]
	mov	w1, #4
	bl	_UniStrCpy
	ldr	w8, [x22, #48]
	str	w8, [x20, #52]
	ldr	d0, [x22, #40]
	stur	d0, [x20, #44]
	ldp	w0, w1, [x22, #32]
	str	w1, [x20, #36]
	bl	_CopyAuthData
	str	w0, [x20, #40]
	ldp	w1, w8, [x22, #24]
	str	w8, [x20, #32]
	add	x0, x20, #28
	mov	w2, #4
	bl	_Copy
	ldr	x0, [x22, #16]
	cbz	x0, LBB0_12
; %bb.11:
	bl	_ClonePolicy
	str	w0, [x20, #24]
LBB0_12:
	ldr	w0, [x22, #8]
	bl	_Unlock
	mov	x0, x22
	bl	_ReleaseUser
	b	LBB0_15
LBB0_13:
Lloh26:
	adrp	x8, _ERR_HUB_NOT_FOUND@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ERR_HUB_NOT_FOUND@GOTPAGEOFF]
	b	LBB0_2
LBB0_14:
Lloh28:
	adrp	x8, _ERR_OBJECT_NOT_FOUND@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ERR_OBJECT_NOT_FOUND@GOTPAGEOFF]
Lloh30:
	ldr	w19, [x8]
LBB0_15:
	mov	x0, x21
	bl	_AcUnlock
	mov	x0, x21
	bl	_ReleaseHub
	b	LBB0_3
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_NO_ERROR,4,2               ; @ERR_NO_ERROR
	.comm	_MAX_USERNAME_LEN,4,2           ; @MAX_USERNAME_LEN
	.comm	_MAX_HUBNAME_LEN,4,2            ; @MAX_HUBNAME_LEN
	.comm	_ERR_INVALID_PARAMETER,4,2      ; @ERR_INVALID_PARAMETER
	.comm	_CHECK_RIGHT,4,2                ; @CHECK_RIGHT
	.comm	_NO_SUPPORT_FOR_BRIDGE,4,2      ; @NO_SUPPORT_FOR_BRIDGE
	.comm	_SERVER_TYPE_FARM_MEMBER,8,3    ; @SERVER_TYPE_FARM_MEMBER
	.comm	_ERR_NOT_SUPPORTED,4,2          ; @ERR_NOT_SUPPORTED
	.comm	_ERR_HUB_NOT_FOUND,4,2          ; @ERR_HUB_NOT_FOUND
	.comm	_ERR_OBJECT_NOT_FOUND,4,2       ; @ERR_OBJECT_NOT_FOUND
.subsections_via_symbols
