	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AdminWebTryFindAndReadFile     ## -- Begin function AdminWebTryFindAndReadFile
	.p2align	4, 0x90
_AdminWebTryFindAndReadFile:            ## @AdminWebTryFindAndReadFile
	.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, -64(%rbp)                  ## 8-byte Spill
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	xorl	%eax, %eax
	testq	%r12, %r12
	je	LBB0_12
## %bb.1:
	testq	%r13, %r13
	je	LBB0_12
## %bb.2:
	testq	%r15, %r15
	je	LBB0_12
## %bb.3:
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_12
## %bb.4:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.5:
	movl	$0, (%rcx)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_StartWith
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	%r12, %rdi
	callq	_StrLen
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_StrLen
	movslq	%r12d, %rdx
	addq	%r15, %rdx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_StrCpy
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_StartWith
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r14, %rdx
	incq	%rdx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_StrCpy
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	callq	_StrCpy
	movq	-80(%rbp), %rsp                 ## 8-byte Reload
LBB0_9:
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r13, %rdx
	movq	%r14, %rcx
	callq	_CombinePath
	leaq	L_.str.1(%rip), %rcx
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	callq	_CombinePath
	movq	%r13, %rdi
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edx
	callq	_AdminWebTryOneFile
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	$1, (%rcx)
	jmp	LBB0_12
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_11:
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	callq	_StrCpy
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_AdminWebTryOneFile
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_14
## %bb.13:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/"

L_.str.1:                               ## @.str.1
	.asciz	"index.html"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AdminWebTryFindAndReadFile     ; -- Begin function AdminWebTryFindAndReadFile
	.p2align	2
_AdminWebTryFindAndReadFile:            ; @AdminWebTryFindAndReadFile
	.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, x5
	mov	x20, x3
	mov	x27, x2
	mov	x25, x1
	mov	x28, 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	x19, _MAX_PATH@GOTPAGE
Lloh4:
	ldr	x19, [x19, _MAX_PATH@GOTPAGEOFF]
	ldr	w22, [x19]
	mov	x9, x22
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x12, x9, #0x1fffffff0
	sub	x23, x8, x12
	mov	sp, x23
	mov	x9, x22
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x24, x8, x12
	mov	sp, x24
	mov	x9, x22
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x26, x8, x12
	mov	sp, x26
	mov	x0, #0
	cbz	x28, LBB0_12
; %bb.1:
	cbz	x25, LBB0_12
; %bb.2:
	cbz	x27, LBB0_12
; %bb.3:
	cbz	x20, LBB0_12
; %bb.4:
	cbz	x21, LBB0_12
; %bb.5:
	stur	w4, [x29, #-92]                 ; 4-byte Folded Spill
	str	wzr, [x21]
	mov	x0, x27
	mov	x1, x28
	bl	_StartWith
	cbz	w0, LBB0_10
; %bb.6:
	mov	x0, x28
	bl	_StrLen
	mov	x28, x0
	mov	x0, x27
	bl	_StrLen
	add	x2, x27, w28, sxtw
	mov	x0, x26
	mov	x1, x22
	bl	_StrCpy
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x26
	bl	_StartWith
	cbz	w0, LBB0_8
; %bb.7:
	mov	x28, sp
	ldr	w1, [x19]
	mov	x9, x1
Lloh13:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh14:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x1, #15
	and	x9, x9, #0x1fffffff0
	sub	x27, x8, x9
	mov	sp, x27
	add	x2, x26, #1
	mov	x0, x27
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_StrCpy
	mov	x0, x26
	mov	x1, x22
	mov	x2, x27
	bl	_StrCpy
	mov	sp, x28
LBB0_8:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x25
	mov	x3, x26
	bl	_CombinePath
Lloh15:
	adrp	x3, l_.str.1@PAGE
Lloh16:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x24
	mov	x1, x22
	mov	x2, x23
	bl	_CombinePath
	mov	x0, x24
	mov	x1, x20
	ldur	w19, [x29, #-92]                ; 4-byte Folded Reload
	mov	x2, x19
	bl	_AdminWebTryOneFile
	cbz	x0, LBB0_11
; %bb.9:
	mov	w8, #1
	str	w8, [x21]
	b	LBB0_12
LBB0_10:
	mov	x0, #0
	b	LBB0_12
LBB0_11:
	mov	x0, x24
	mov	x1, x22
	mov	x2, x23
	bl	_StrCpy
	mov	x0, x24
	mov	x1, x20
	mov	x2, x19
	bl	_AdminWebTryOneFile
LBB0_12:
	ldur	x8, [x29, #-88]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	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_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/"

l_.str.1:                               ; @.str.1
	.asciz	"index.html"

.subsections_via_symbols
