	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AdminWebProcGet                ## -- Begin function AdminWebProcGet
	.p2align	4, 0x90
_AdminWebProcGet:                       ## @AdminWebProcGet
	.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	%rcx, %r12
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -88(%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	%rbx, %rbx
	je	LBB0_10
## %bb.1:
	testq	%r15, %r15
	je	LBB0_10
## %bb.2:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_10
## %bb.3:
	testq	%r12, %r12
	je	LBB0_10
## %bb.4:
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	8(%rbx), %edi
	movq	%r15, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_JsonRpcAuthLogin
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$1, (%rbx)
	movl	4(%rbx), %edi
	movq	%r15, %rsi
	callq	_RemoveDosEntry
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movq	%r12, %rdx
	movq	%rdi, %r12
	callq	_StrCpy
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_Zero
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_SearchStr
	movq	_INFINITE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_9
## %bb.8:
	cltq
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	(%r12,%rax), %rdx
	incq	%rdx
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_StrCpy
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movb	$0, (%r12,%rax)
LBB0_9:
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %r10
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, %r8
	movq	%r14, %r9
	pushq	%rax
	pushq	%r10
	callq	_AdminWebHandleFileRequest
	addq	$16, %rsp
	movq	%r13, %rdi
	callq	_Free
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.6:
	movq	%r15, %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_12:
	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,4,2                   ## @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	_AdminWebProcGet                ; -- Begin function AdminWebProcGet
	.p2align	2
_AdminWebProcGet:                       ; @AdminWebProcGet
	.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	x25, x3
	mov	x19, x2
	mov	x20, 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_8
; %bb.1:
	cbz	x20, LBB0_8
; %bb.2:
	cbz	x19, LBB0_8
; %bb.3:
	cbz	x25, LBB0_8
; %bb.4:
	ldr	w0, [x21, #8]
	mov	x1, x20
	mov	x2, x19
	bl	_JsonRpcAuthLogin
	cbz	x0, LBB0_10
; %bb.5:
	mov	x26, x0
	mov	w8, #1
	str	w8, [x21]
	ldr	w0, [x21, #4]
	mov	x1, x20
	bl	_RemoveDosEntry
	mov	x0, x22
	mov	x1, x27
	mov	x2, x25
	bl	_StrCpy
	mov	x0, x23
	mov	x1, x24
	bl	_Zero
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	w2, #0
	bl	_SearchStr
Lloh15:
	adrp	x8, _INFINITE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _INFINITE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_7
; %bb.6:
	add	x25, x22, w0, sxtw
	add	x2, x25, #1
	mov	x0, x23
	mov	x1, x24
	bl	_StrCpy
	strb	wzr, [x25]
LBB0_7:
Lloh18:
	adrp	x6, l_.str.1@PAGE
Lloh19:
	add	x6, x6, l_.str.1@PAGEOFF
Lloh20:
	adrp	x7, l_.str.2@PAGE
Lloh21:
	add	x7, x7, l_.str.2@PAGEOFF
	mov	x0, x26
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	mov	x4, x22
	mov	x5, x23
	bl	_AdminWebHandleFileRequest
	mov	x0, x26
	bl	_Free
LBB0_8:
	ldur	x8, [x29, #-88]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.9:
	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:
	ldur	x8, [x29, #-88]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x20
	mov	x1, 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	_AdminWebSendUnauthorized
LBB0_12:
	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	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.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,4,2                   ; @INFINITE
l_.str.1:                               ; @.str.1
	.asciz	"/admin"

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

.subsections_via_symbols
