	.file	"extr_mongoose.c_mg_send_directory_listing.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"text/html; charset=utf-8"
.LC1:
	.string	"Content-Type"
.LC2:
	.string	"chunked"
.LC3:
	.string	"Transfer-Encoding"
.LC4:
	.string	"%s: %s\r\n%s: %s\r\n\r\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC5:
	.ascii	"for (var i = 0; i < tr.length; i++) tb.appendChild(tr[i]); i"
	.ascii	"f (!d) window.location.hash = ('sc=' + sc + '&so=' + so); };"
	.ascii	"window.onload = function() {var tb = document.getElementById"
	.ascii	"('tb');var m = "
	.string	"/sc=([012]).so=(1|-1)/.exec(window.location.hash) || [0, 2, 1];var sc = m[1], so = m[2]; document.onclick = function(ev) { var c = ev.target.rel; if (c) {if (c == sc) so *= -1; srt(tb, c, so); sc = c; ev.preventDefault();}};srt(tb, sc, so, true);}</script>"
	.align 8
.LC6:
	.ascii	"<script>function srt(tb, sc, so, d) {var tr = Array.prototyp"
	.ascii	"e.slice.call(tb.rows, 0),tr = tr.sort(function (a, b) { var "
	.ascii	"c1 = a.cells[sc], c2 = b.cells[sc],n1 = c1.getAttribute('nam"
	.ascii	"e'), n2 = c2.get"
	.string	"Attribute('name'), t1 = a.cells[2].getAttribute('name'), t2 = b.cells[2].getAttribute('name'); return so * (t1 < 0 && t2 >= 0 ? -1 : t2 < 0 && t1 >= 0 ? 1 : n1 ? parseInt(n2) - parseInt(n1) : c1.textContent.trim().localeCompare(c2.textContent.trim())); });"
	.align 8
.LC7:
	.ascii	"<html><head><title>Index of %.*s</title>%s%s<style>th,td {te"
	.ascii	"xt-align: left; padding-right: 1em; font-fam"
	.string	"ily: monospace; }</style></head>\n<body><h1>Index of %.*s</h1>\n<table cellpadding=0><thead><tr><th><a href=# rel=0>Name</a></th><th><a href=# rel=1>Modified</a</th><th><a href=# rel=2>Size</a></th></tr><tr><td colspan=3><hr></td></tr>\n</thead>\n<tbody id=tb>"
	.align 8
.LC8:
	.string	"</tbody><tr><td colspan=3><hr></td></tr>\n</table>\n<address>%s</address>\n</body></html>"
	.section	.rodata.str1.1
.LC9:
	.string	""
	.text
	.p2align 4
	.type	mg_send_directory_listing, @function
mg_send_directory_listing:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	mov	esi, 200
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR [rcx]
	call	mg_send_response_line@PLT
	mov	rdi, rbx
	lea	r9, .LC0[rip]
	lea	r8, .LC1[rip]
	lea	rcx, .LC2[rip]
	lea	rdx, .LC3[rip]
	lea	rsi, .LC4[rip]
	call	mg_printf@PLT
	mov	ecx, DWORD PTR 0[rbp]
	mov	rdx, QWORD PTR 8[rbp]
	mov	rdi, rbx
	lea	r9, .LC5[rip]
	lea	r8, .LC6[rip]
	xor	eax, eax
	push	rcx
	.cfi_def_cfa_offset 56
	lea	rsi, .LC7[rip]
	push	rdx
	.cfi_def_cfa_offset 64
	call	mg_printf_http_chunk@PLT
	mov	rdx, r12
	mov	rsi, r13
	mov	rdi, rbx
	mov	ecx, DWORD PTR mg_print_dir_entry[rip]
	call	mg_scan_directory@PLT
	mov	edx, DWORD PTR mg_version_header[rip]
	mov	rdi, rbx
	xor	eax, eax
	lea	rsi, .LC8[rip]
	call	mg_printf_http_chunk@PLT
	mov	rdi, rbx
	xor	edx, edx
	lea	rsi, .LC9[rip]
	call	mg_send_http_chunk@PLT
	mov	eax, DWORD PTR MG_F_SEND_AND_CLOSE[rip]
	or	DWORD PTR [rbx], eax
	add	rsp, 24
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mg_send_directory_listing, .-mg_send_directory_listing
	.comm	mg_version_header,4,4
	.comm	mg_print_dir_entry,4,4
	.comm	MG_F_SEND_AND_CLOSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_mongoose.c_mg_send_directory_listing.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"chunked\000"
	.align	2
.LC1:
	.ascii	"Transfer-Encoding\000"
	.align	2
.LC2:
	.ascii	"%s: %s\015\012%s: %s\015\012\015\012\000"
	.align	2
.LC3:
	.ascii	"text/html; charset=utf-8\000"
	.align	2
.LC4:
	.ascii	"Content-Type\000"
	.align	2
.LC5:
	.ascii	"<html><head><title>Index of %.*s</title>%s%s<style>"
	.ascii	"th,td {text-align: left; padding-right: 1em; font-f"
	.ascii	"amily: monospace; }</style></head>\012<body><h1>Ind"
	.ascii	"ex of %.*s</h1>\012<table cellpadding=0><thead><tr>"
	.ascii	"<th><a href=# rel=0>Name</a></th><th><a href=# rel="
	.ascii	"1>Modified</a</th><th><a href=# rel=2>Size</a></th>"
	.ascii	"</tr><tr><td colspan=3><hr></td></tr>\012</thead>\012"
	.ascii	"<tbody id=tb>\000"
	.align	2
.LC6:
	.ascii	"for (var i = 0; i < tr.length; i++) tb.appendChild("
	.ascii	"tr[i]); if (!d) window.location.hash = ('sc=' + sc "
	.ascii	"+ '&so=' + so); };window.onload = function() {var t"
	.ascii	"b = document.getElementById('tb');var m = /sc=([012"
	.ascii	"]).so=(1|-1)/.exec(window.location.hash) || [0, 2, "
	.ascii	"1];var sc = m[1], so = m[2]; document.onclick = fun"
	.ascii	"ction(ev) { var c = ev.target.rel; if (c) {if (c =="
	.ascii	" sc) so *= -1; srt(tb, c, so); sc = c; ev.preventDe"
	.ascii	"fault();}};srt(tb, sc, so, true);}</script>\000"
	.align	2
.LC7:
	.ascii	"<script>function srt(tb, sc, so, d) {var tr = Array"
	.ascii	".prototype.slice.call(tb.rows, 0),tr = tr.sort(func"
	.ascii	"tion (a, b) { var c1 = a.cells[sc], c2 = b.cells[sc"
	.ascii	"],n1 = c1.getAttribute('name'), n2 = c2.getAttribut"
	.ascii	"e('name'), t1 = a.cells[2].getAttribute('name'), t2"
	.ascii	" = b.cells[2].getAttribute('name'); return so * (t1"
	.ascii	" < 0 && t2 >= 0 ? -1 : t2 < 0 && t1 >= 0 ? 1 : n1 ?"
	.ascii	" parseInt(n2) - parseInt(n1) : c1.textContent.trim("
	.ascii	").localeCompare(c2.textContent.trim())); });\000"
	.align	2
.LC8:
	.ascii	"</tbody><tr><td colspan=3><hr></td></tr>\012</table"
	.ascii	">\012<address>%s</address>\012</body></html>\000"
	.align	2
.LC9:
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mg_send_directory_listing, %function
mg_send_directory_listing:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	mov	r6, r2
	mov	r5, r3
	mov	r7, r1
	sub	sp, sp, #20
	ldr	r2, [r3]
	mov	r1, #200
	bl	mg_send_response_line
	ldr	r2, .L4
	ldr	r3, .L4+4
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r0, r4
	ldr	r3, .L4+8
	ldr	r2, .L4+12
	ldr	r1, .L4+16
	bl	mg_printf
	ldr	r2, [r6, #4]
	ldr	r3, [r6]
	ldr	ip, .L4+20
	ldr	r1, .L4+24
	str	r2, [sp, #8]
	stm	sp, {r1, ip}
	str	r3, [sp, #12]
	mov	r0, r4
	ldr	r1, .L4+28
	bl	mg_printf_http_chunk
	ldr	r3, .L4+32
	mov	r2, r5
	mov	r1, r7
	mov	r0, r4
	ldr	r3, [r3]
	bl	mg_scan_directory
	ldr	r3, .L4+36
	mov	r0, r4
	ldr	r2, [r3]
	ldr	r1, .L4+40
	bl	mg_printf_http_chunk
	mov	r0, r4
	mov	r2, #0
	ldr	r1, .L4+44
	bl	mg_send_http_chunk
	ldr	r2, .L4+48
	ldr	r3, [r4]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [r4]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L5:
	.align	2
.L4:
	.word	.LC3
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC6
	.word	.LC7
	.word	.LC5
	.word	mg_print_dir_entry
	.word	mg_version_header
	.word	.LC8
	.word	.LC9
	.word	MG_F_SEND_AND_CLOSE
	.size	mg_send_directory_listing, .-mg_send_directory_listing
	.comm	mg_version_header,4,4
	.comm	mg_print_dir_entry,4,4
	.comm	MG_F_SEND_AND_CLOSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
