	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AdminConnectMain               ## -- Begin function AdminConnectMain
	.p2align	4, 0x90
_AdminConnectMain:                      ## @AdminConnectMain
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %r12
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SHA1_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	(,%r15,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdx
	movq	%r14, %rcx
	movq	16(%rbp), %r8
	callq	_NewRpcSessionEx2
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r13
	movq	(%rax), %rax
	movq	8(%rax), %r12
	xorl	%eax, %eax
	callq	_NewPack
	movq	%rax, %r14
	movq	(%r13), %rsi
	movq	%rax, %rdi
	callq	_PackAddClientVersion
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	callq	_PackAddStr
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_PackAddBool
	leaq	-84(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_GetWinVer
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_OutRpcWinVer
	movq	(%r13), %rax
	movl	(%rax), %edx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_SecurePassword
	shll	$2, %r15d
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movl	%r15d, %ecx
	callq	_PackAddData
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.2:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_PackAddStr
LBB0_3:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_HttpClientSend
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_FreePack
	testl	%ebx, %ebx
	je	LBB0_7
## %bb.4:
	movq	%r12, %rdi
	callq	_HttpClientRecv
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_GetErrorFromPack
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	movq	%r13, %rdi
	callq	_ReleaseSession
	movq	%rbx, %rdi
	callq	_GetErrorFromPack
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	%rbx, %rdi
	callq	_FreePack
	jmp	LBB0_8
LBB0_7:
	movq	%r13, %rdi
	callq	_ReleaseSession
	movq	_ERR_DISCONNECTED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_8:
	xorl	%r13d, %r13d
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.10:
	movq	%r13, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	24(%rbp), %r14
	testq	%r14, %r14
	je	LBB0_13
## %bb.12:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_PackGetBool
	movl	%eax, (%r14)
LBB0_13:
	movq	%rbx, %rdi
	callq	_FreePack
	jmp	LBB0_9
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SHA1_SIZE,4,2                  ## @SHA1_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"method"

L_.str.1:                               ## @.str.1
	.asciz	"admin"

L_.str.2:                               ## @.str.2
	.asciz	"accept_empty_password"

L_.str.3:                               ## @.str.3
	.asciz	"secure_password"

L_.str.4:                               ## @.str.4
	.asciz	"hubname"

	.comm	_ERR_DISCONNECTED,8,3           ## @ERR_DISCONNECTED
L_.str.5:                               ## @.str.5
	.asciz	"empty_password"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AdminConnectMain               ; -- Begin function AdminConnectMain
	.p2align	2
_AdminConnectMain:                      ; @AdminConnectMain
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #16
	mov	x21, x7
	mov	x19, x4
	mov	x24, x3
	mov	x22, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _SHA1_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SHA1_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w27, [x8]
	lsl	x8, x27, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x25, x9, x8
	mov	sp, x25
	mov	x2, x4
	mov	x3, x5
	mov	x4, x6
	bl	_NewRpcSessionEx2
	mov	x20, x0
	cbz	x0, LBB0_8
; %bb.1:
	ldr	x8, [x20]
	ldr	x23, [x8, #8]
	bl	_NewPack
	mov	x26, x0
	ldr	x1, [x20]
	bl	_PackAddClientVersion
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x26
	bl	_PackAddStr
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x26
	mov	w2, #1
	bl	_PackAddBool
	sub	x0, x29, #92
	bl	_GetWinVer
	sub	x1, x29, #92
	mov	x0, x26
	bl	_OutRpcWinVer
	ldr	x8, [x20]
	ldr	w2, [x8]
	mov	x0, x25
	mov	x1, x24
	bl	_SecurePassword
	lsl	w3, w27, #2
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x26
	mov	x2, x25
	bl	_PackAddData
	cbz	x22, LBB0_3
; %bb.2:
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x26
	mov	x2, x22
	bl	_PackAddStr
LBB0_3:
	mov	x0, x23
	mov	x1, x26
	bl	_HttpClientSend
	mov	x22, x0
	mov	x0, x26
	bl	_FreePack
	cbz	w22, LBB0_7
; %bb.4:
	mov	x0, x23
	bl	_HttpClientRecv
	cbz	x0, LBB0_7
; %bb.5:
	mov	x22, x0
	bl	_GetErrorFromPack
	cbz	x0, LBB0_10
; %bb.6:
	mov	x0, x20
	bl	_ReleaseSession
	mov	x0, x22
	bl	_GetErrorFromPack
	str	x0, [x19]
	mov	x0, x22
	bl	_FreePack
	mov	x20, #0
	b	LBB0_8
LBB0_7:
	mov	x0, x20
	bl	_ReleaseSession
	mov	x20, #0
Lloh18:
	adrp	x8, _ERR_DISCONNECTED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ERR_DISCONNECTED@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_8:
	ldur	x8, [x29, #-88]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.9:
	mov	x0, x20
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_10:
	cbz	x21, LBB0_12
; %bb.11:
Lloh24:
	adrp	x1, l_.str.5@PAGE
Lloh25:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	bl	_PackGetBool
	str	w0, [x21]
LBB0_12:
	mov	x0, x22
	bl	_FreePack
	b	LBB0_8
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_SHA1_SIZE,4,2                  ; @SHA1_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"method"

l_.str.1:                               ; @.str.1
	.asciz	"admin"

l_.str.2:                               ; @.str.2
	.asciz	"accept_empty_password"

l_.str.3:                               ; @.str.3
	.asciz	"secure_password"

l_.str.4:                               ; @.str.4
	.asciz	"hubname"

	.comm	_ERR_DISCONNECTED,8,3           ; @ERR_DISCONNECTED
l_.str.5:                               ; @.str.5
	.asciz	"empty_password"

.subsections_via_symbols
