	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AdminWebProcPost               ## -- Begin function AdminWebProcPost
	.p2align	4, 0x90
_AdminWebProcPost:                      ## @AdminWebProcPost
	.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	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r14
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rax
	testq	%r15, %r15
	je	LBB0_15
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.2:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_15
## %bb.3:
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_15
## %bb.4:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	8(%r15), %edi
	movq	%rbx, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_JsonRpcAuthLogin
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	cmpq	%r14, (%rax)
	jge	LBB0_10
## %bb.8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.9:
	movq	%rbx, %rdi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Disconnect                     ## TAILCALL
LBB0_5:
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_RecvAllWithDiscard
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.6:
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AdminWebSendUnauthorized       ## TAILCALL
LBB0_10:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	1(%r14), %rdi
	callq	_ZeroMalloc
	movl	(%rbx), %ecx
	movq	%rbx, %rdi
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_RecvAll
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:
	movl	$1, (%r15)
	movl	4(%r15), %edi
	movq	%rbx, %rsi
	callq	_RemoveDosEntry
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	movq	%rdi, %r12
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	callq	_StrCpy
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	callq	_Zero
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_SearchStr
	movq	%rax, %r14
	movq	_INFINITE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	je	LBB0_13
## %bb.12:
	leaq	(%r12,%r14), %rdx
	incq	%rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	callq	_StrCpy
	movb	$0, (%r12,%r14)
LBB0_13:
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %r10
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, %r8
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	pushq	%rax
	pushq	%r10
	callq	_AdminWebHandleFileRequest
	addq	$16, %rsp
LBB0_14:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_Free
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_Free
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.comm	_MAX_SIZE,4,2                   ## @MAX_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"?"

	.comm	_INFINITE,8,3                   ## @INFINITE
L_.str.1:                               ## @.str.1
	.asciz	"/admin"

L_.str.2:                               ## @.str.2
	.asciz	"|wwwroot/admin"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AdminWebProcPost               ; -- Begin function AdminWebProcPost
	.p2align	2
_AdminWebProcPost:                      ; @AdminWebProcPost
	.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	x26, x4
	mov	x28, x3
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
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, _MAX_PATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_PATH@GOTPAGEOFF]
Lloh5:
	ldr	w27, [x8]
	mov	x9, x27
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x27, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
Lloh8:
	adrp	x8, _MAX_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAX_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w24, [x8]
	mov	x9, x24
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x9, x9, #0x1fffffff0
	sub	x23, x8, x9
	mov	sp, x23
	cbz	x0, LBB0_15
; %bb.1:
	cbz	x19, LBB0_15
; %bb.2:
	cbz	x20, LBB0_15
; %bb.3:
	cbz	x26, LBB0_15
; %bb.4:
	ldr	w0, [x21, #8]
	mov	x1, x19
	mov	x2, x20
	bl	_JsonRpcAuthLogin
	cbz	x0, LBB0_8
; %bb.5:
	mov	x25, x0
	ldr	x8, [x0]
	cmp	x8, x28
	b.ge	LBB0_10
; %bb.6:
	ldur	x8, [x29, #-88]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.7:
	mov	x0, x19
	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
	b	_Disconnect
LBB0_8:
	ldr	w2, [x19]
	mov	x0, x19
	mov	x1, x28
	bl	_RecvAllWithDiscard
	ldur	x8, [x29, #-88]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.9:
	mov	x0, x19
	mov	x1, 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
	b	_AdminWebSendUnauthorized
LBB0_10:
	add	x0, x28, #1
	bl	_ZeroMalloc
	mov	x1, x0
	ldr	w3, [x19]
	mov	x0, x19
	stur	x1, [x29, #-96]                 ; 8-byte Folded Spill
	mov	x2, x28
	bl	_RecvAll
	cbz	x0, LBB0_14
; %bb.11:
	mov	w8, #1
	str	w8, [x21]
	ldr	w0, [x21, #4]
	mov	x1, x19
	bl	_RemoveDosEntry
	mov	x0, x22
	mov	x1, x27
	mov	x2, x26
	bl	_StrCpy
	mov	x0, x23
	mov	x1, x24
	bl	_Zero
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	w2, #0
	bl	_SearchStr
Lloh21:
	adrp	x8, _INFINITE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _INFINITE@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_13
; %bb.12:
	add	x26, x22, x0
	add	x2, x26, #1
	mov	x0, x23
	mov	x1, x24
	bl	_StrCpy
	strb	wzr, [x26]
LBB0_13:
Lloh24:
	adrp	x6, l_.str.1@PAGE
Lloh25:
	add	x6, x6, l_.str.1@PAGEOFF
Lloh26:
	adrp	x7, l_.str.2@PAGE
Lloh27:
	add	x7, x7, l_.str.2@PAGEOFF
	mov	x0, x25
	mov	x1, x21
	mov	x2, x19
	mov	x3, x20
	mov	x4, x22
	mov	x5, x23
	bl	_AdminWebHandleFileRequest
LBB0_14:
	ldur	x0, [x29, #-96]                 ; 8-byte Folded Reload
	bl	_Free
	mov	x0, x25
	bl	_Free
LBB0_15:
	ldur	x8, [x29, #-88]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	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_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.comm	_MAX_SIZE,4,2                   ; @MAX_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"?"

	.comm	_INFINITE,8,3                   ; @INFINITE
l_.str.1:                               ; @.str.1
	.asciz	"/admin"

l_.str.2:                               ; @.str.2
	.asciz	"|wwwroot/admin"

.subsections_via_symbols
