	.file	"621521.c"
	.intel_syntax noprefix
	.text
	.type	__bswap_32, @function
__bswap_32:
.LFB1:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	bswap	eax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	__bswap_32, .-__bswap_32
	.type	__bswap_64, @function
__bswap_64:
.LFB2:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	bswap	rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	__bswap_64, .-__bswap_64
	.globl	init_magic
	.data
	.align 8
	.type	init_magic, @object
	.size	init_magic, 8
init_magic:
	.quad	72578530415187
	.globl	request_magic
	.align 4
	.type	request_magic, @object
	.size	request_magic, 4
request_magic:
	.long	627086611
	.globl	reply_magic
	.align 4
	.type	reply_magic, @object
	.size	reply_magic, 4
reply_magic:
	.long	1732535960
	.globl	fd
	.align 4
	.type	fd, @object
	.size	fd, 4
fd:
	.long	-1
	.globl	rbuf
	.bss
	.align 32
	.type	rbuf, @object
	.size	rbuf, 1048576
rbuf:
	.zero	1048576
	.text
	.globl	err
	.type	err, @function
err:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR fd[rip]
	cmp	eax, -1
	je	.L6
	mov	eax, DWORD PTR fd[rip]
	mov	edi, eax
	call	close@PLT
.L6:
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	err, .-err
	.globl	w
	.type	w, @function
w:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, rcx
	mov	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR fd[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
.L8:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	cmp	QWORD PTR -32[rbp], rax
	ja	.L9
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	w, .-w
	.globl	r
	.type	r, @function
r:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, rcx
	mov	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR fd[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
.L11:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	cmp	QWORD PTR -32[rbp], rax
	ja	.L12
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	r, .-r
	.globl	W
	.type	W, @function
W:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, rcx
	mov	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
.L14:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	cmp	QWORD PTR -32[rbp], rax
	ja	.L15
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	W, .-W
	.globl	R
	.type	R, @function
R:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -8[rbp], 0
	jmp	.L17
.L19:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, rcx
	mov	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	rsi, rax
	mov	edi, 0
	call	read@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L18
	mov	edi, 0
	call	exit@PLT
.L18:
	mov	eax, DWORD PTR -4[rbp]
	add	DWORD PTR -8[rbp], eax
.L17:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	cmp	QWORD PTR -32[rbp], rax
	ja	.L19
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	R, .-R
	.globl	s
	.type	s, @function
s:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	QWORD PTR -32[rbp], rdx
	mov	QWORD PTR -40[rbp], rcx
	mov	rcx, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	esi, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	sendfile64@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], -1
	jne	.L21
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdi, rax
	call	err
.L21:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	s, .-s
	.globl	WS
	.type	WS, @function
WS:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -8[rbp], 0
	jmp	.L24
.L25:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, rdx
	mov	rcx, rax
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR fd[rip]
	mov	esi, eax
	mov	edi, 1
	call	s
	add	QWORD PTR -8[rbp], rax
.L24:
	mov	rax, QWORD PTR -8[rbp]
	cmp	QWORD PTR -32[rbp], rax
	ja	.L25
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	WS, .-WS
	.globl	in4
	.type	in4, @function
in4:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 8
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	__bswap_32
	mov	rdx, QWORD PTR -8[rbp]
	mov	DWORD PTR [rdx], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	in4, .-in4
	.globl	in8
	.type	in8, @function
in8:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 8
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	__bswap_64
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rdx], rax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	in8, .-in8
	.globl	clip
	.type	clip, @function
clip:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	eax, 1048576
	cmp	QWORD PTR -8[rbp], 1048576
	cmovle	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	clip, .-clip
	.section	.rodata
.LC0:
	.string	"Need a file to serve\n"
.LC1:
	.string	"Couldn't open file\n"
.LC2:
	.string	"NBDMAGIC"
.LC3:
	.string	""
	.string	""
.LC4:
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
.LC5:
	.string	"Error\n"
.LC6:
	.string	"\001"
	.string	""
	.string	""
	.string	""
	.text
	.globl	main
	.type	main, @function
main:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	DWORD PTR -100[rbp], edi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -100[rbp], 1
	jg	.L31
	lea	rdi, .LC0[rip]
	call	err
.L31:
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	esi, 1052674
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR fd[rip], eax
	mov	eax, DWORD PTR fd[rip]
	cmp	eax, -1
	jne	.L32
	lea	rdi, .LC1[rip]
	call	err
.L32:
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 2
	mov	esi, 0
	mov	edi, eax
	call	lseek64@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	__bswap_64
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR init_magic[rip]
	mov	rdi, rax
	call	__bswap_64
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR reply_magic[rip]
	mov	edi, eax
	call	__bswap_32
	mov	DWORD PTR -84[rbp], eax
	mov	esi, 8
	lea	rdi, .LC2[rip]
	call	W
	lea	rax, -56[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	W
	lea	rax, -64[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	W
	mov	DWORD PTR -68[rbp], 0
	jmp	.L33
.L34:
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	W
	add	DWORD PTR -68[rbp], 1
.L33:
	cmp	DWORD PTR -68[rbp], 127
	jle	.L34
.L41:
	lea	rax, -80[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	R
	lea	rax, -76[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	R
	lea	rax, -16[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	R
	lea	rax, -48[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	R
	lea	rax, -72[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	R
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	in4
	lea	rax, -76[rbp]
	mov	rdi, rax
	call	in4
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	in8
	lea	rax, -72[rbp]
	mov	rdi, rax
	call	in4
	mov	edx, DWORD PTR -80[rbp]
	mov	eax, DWORD PTR request_magic[rip]
	cmp	edx, eax
	jne	.L35
	mov	rax, QWORD PTR -48[rbp]
	test	rax, rax
	js	.L35
	mov	eax, DWORD PTR -72[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	cmp	rdx, rax
	ja	.L35
	mov	eax, DWORD PTR -72[rbp]
	mov	eax, eax
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	eax, DWORD PTR -76[rbp]
	test	eax, eax
	jne	.L36
	lea	rax, -84[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	W
	mov	esi, 4
	lea	rdi, .LC4[rip]
	call	W
	lea	rax, -16[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	W
	mov	rdx, QWORD PTR -32[rbp]
	lea	rax, -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	WS
	jmp	.L43
.L36:
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, 1
	jne	.L43
	jmp	.L38
.L39:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	clip
	mov	rsi, rax
	lea	rdi, rbuf[rip]
	call	R
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	clip
	mov	rsi, rax
	lea	rdi, rbuf[rip]
	call	w
	sub	QWORD PTR -32[rbp], 1048576
.L38:
	cmp	QWORD PTR -32[rbp], 0
	jg	.L39
	lea	rax, -84[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	W
	mov	esi, 4
	lea	rdi, .LC4[rip]
	call	W
	lea	rax, -16[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	W
	jmp	.L43
.L35:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 6
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	lea	rax, -84[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	W
	mov	esi, 4
	lea	rdi, .LC6[rip]
	call	W
	lea	rax, -16[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	W
	jmp	.L41
.L43:
	nop
	jmp	.L41
	.cfi_endproc
.LFE16:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"621521.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__bswap_32, %function
__bswap_32:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-8]
	eor	r3, r2, r2, ror #16
	lsr	r3, r3, #8
	ror	r2, r2, #8
	bic	r3, r3, #65280
	eor	r3, r3, r2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	__bswap_32, .-__bswap_32
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__bswap_64, %function
__bswap_64:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, r5, fp}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	ldr	r2, [fp, #-20]
	eor	r3, r2, r2, ror #16
	lsr	r3, r3, #8
	ror	r2, r2, #8
	bic	r3, r3, #65280
	eor	r1, r2, r3
	ldr	r2, [fp, #-16]
	eor	r3, r2, r2, ror #16
	lsr	r3, r3, #8
	ror	r2, r2, #8
	bic	r3, r3, #65280
	eor	r3, r3, r2
	mov	r4, r3
	mov	r5, r1
	mov	r2, r4
	mov	r3, r5
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, r5, fp}
	bx	lr
	.size	__bswap_64, .-__bswap_64
	.global	init_magic
	.data
	.align	3
	.type	init_magic, %object
	.size	init_magic, 8
init_magic:
	.word	-2121919917
	.word	16898
	.global	request_magic
	.align	2
	.type	request_magic, %object
	.size	request_magic, 4
request_magic:
	.word	627086611
	.global	reply_magic
	.align	2
	.type	reply_magic, %object
	.size	reply_magic, 4
reply_magic:
	.word	1732535960
	.global	fd
	.align	2
	.type	fd, %object
	.size	fd, 4
fd:
	.word	-1
	.global	rbuf
	.bss
	.align	2
	.type	rbuf, %object
	.size	rbuf, 1048576
rbuf:
	.space	1048576
	.text
	.align	2
	.global	err
	.syntax unified
	.arm
	.fpu softvfp
	.type	err, %function
err:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L7
	ldr	r3, [r3]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L7+4
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L6
	ldr	r3, .L7+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
.L6:
	mov	r0, #1
	bl	exit
.L8:
	.align	2
.L7:
	.word	stderr
	.word	fd
	.size	err, .-err
	.align	2
	.global	w
	.syntax unified
	.arm
	.fpu softvfp
	.type	w, %function
w:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L10
.L11:
	ldr	r3, .L12
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r1, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	sub	r3, r2, r3
	mov	r2, r3
	bl	write
	mov	r2, r0
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
.L10:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bhi	.L11
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	fd
	.size	w, .-w
	.align	2
	.global	r
	.syntax unified
	.arm
	.fpu softvfp
	.type	r, %function
r:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L15
.L16:
	ldr	r3, .L17
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r1, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	sub	r3, r2, r3
	mov	r2, r3
	bl	read
	mov	r2, r0
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
.L15:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bhi	.L16
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	fd
	.size	r, .-r
	.align	2
	.global	W
	.syntax unified
	.arm
	.fpu softvfp
	.type	W, %function
W:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L20
.L21:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r1, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	sub	r3, r2, r3
	mov	r2, r3
	mov	r0, #1
	bl	write
	mov	r2, r0
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
.L20:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bhi	.L21
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	W, .-W
	.align	2
	.global	R
	.syntax unified
	.arm
	.fpu softvfp
	.type	R, %function
R:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L23
.L25:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r1, r2, r3
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	sub	r3, r2, r3
	mov	r2, r3
	mov	r0, #0
	bl	read
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L24
	mov	r0, #0
	bl	exit
.L24:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-12]
.L23:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bhi	.L25
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	R, .-R
	.align	2
	.global	s
	.syntax unified
	.arm
	.fpu softvfp
	.type	s, %function
s:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	sendfile64
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L27
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r0, r3
	bl	err
.L27:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	s, .-s
	.align	2
	.global	WS
	.syntax unified
	.arm
	.fpu softvfp
	.type	WS, %function
WS:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L30
.L31:
	ldr	r3, .L32
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-16]
	add	r0, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	sub	r3, r2, r3
	mov	r2, r0
	mov	r0, #1
	bl	s
	mov	r2, r0
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
.L30:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bhi	.L31
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	fd
	.size	WS, .-WS
	.align	2
	.global	in4
	.syntax unified
	.arm
	.fpu softvfp
	.type	in4, %function
in4:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	__bswap_32
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	in4, .-in4
	.align	2
	.global	in8
	.syntax unified
	.arm
	.fpu softvfp
	.type	in8, %function
in8:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__bswap_64
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-8]
	stm	r1, {r2-r3}
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	in8, .-in8
	.align	2
	.global	clip
	.syntax unified
	.arm
	.fpu softvfp
	.type	clip, %function
clip:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	mov	r0, #1048576
	mov	r1, #0
	cmp	r0, r2
	sbcs	r1, r1, r3
	bge	.L38
	mov	r2, #1048576
	mov	r3, #0
.L38:
	mov	r0, r2
	mov	r1, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	clip, .-clip
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Need a file to serve\012\000"
	.align	2
.LC1:
	.ascii	"Couldn't open file\012\000"
	.align	2
.LC2:
	.ascii	"NBDMAGIC\000"
	.align	2
.LC3:
	.ascii	"\000\000"
	.align	2
.LC4:
	.ascii	"\000\000\000\000\000"
	.align	2
.LC5:
	.ascii	"Error\012\000"
	.align	2
.LC6:
	.ascii	"\001\000\000\000\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #104
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	ldr	r3, .L53
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r3, [fp, #-112]
	cmp	r3, #1
	bgt	.L40
	ldr	r0, .L53+4
	bl	err
.L40:
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L53+8
	mov	r0, r3
	bl	open
	mov	r3, r0
	ldr	r2, .L53+12
	str	r3, [r2]
	ldr	r3, .L53+12
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L41
	ldr	r0, .L53+16
	bl	err
.L41:
	ldr	r3, .L53+12
	ldr	r1, [r3]
	mov	r3, #2
	str	r3, [sp]
	mov	r2, #0
	mov	r3, #0
	mov	r0, r1
	bl	lseek64
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__bswap_64
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, .L53+20
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__bswap_64
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r3, .L53+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	__bswap_32
	mov	r3, r0
	str	r3, [fp, #-104]
	mov	r1, #8
	ldr	r0, .L53+28
	bl	W
	sub	r3, fp, #76
	mov	r1, #8
	mov	r0, r3
	bl	W
	sub	r3, fp, #84
	mov	r1, #8
	mov	r0, r3
	bl	W
	mov	r3, #0
	str	r3, [fp, #-88]
	b	.L42
.L43:
	mov	r1, #1
	ldr	r0, .L53+32
	bl	W
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L42:
	ldr	r3, [fp, #-88]
	cmp	r3, #127
	ble	.L43
.L50:
	sub	r3, fp, #100
	mov	r1, #4
	mov	r0, r3
	bl	R
	sub	r3, fp, #96
	mov	r1, #4
	mov	r0, r3
	bl	R
	sub	r3, fp, #32
	mov	r1, #8
	mov	r0, r3
	bl	R
	sub	r3, fp, #68
	mov	r1, #8
	mov	r0, r3
	bl	R
	sub	r3, fp, #92
	mov	r1, #4
	mov	r0, r3
	bl	R
	sub	r3, fp, #100
	mov	r0, r3
	bl	in4
	sub	r3, fp, #96
	mov	r0, r3
	bl	in4
	sub	r3, fp, #68
	mov	r0, r3
	bl	in8
	sub	r3, fp, #92
	mov	r0, r3
	bl	in4
	ldr	r2, [fp, #-100]
	ldr	r3, .L53+36
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L44
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	cmp	r2, #0
	sbcs	r3, r3, #0
	blt	.L44
	ldr	r3, [fp, #-92]
	mov	r0, r3
	mov	r1, #0
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	adds	r4, r0, r2
	adc	r5, r1, r3
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	cmp	r5, r3
	cmpeq	r4, r2
	bhi	.L44
	ldr	r3, [fp, #-92]
	mov	r2, r3
	mov	r3, #0
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bne	.L45
	sub	r3, fp, #104
	mov	r1, #4
	mov	r0, r3
	bl	W
	mov	r1, #4
	ldr	r0, .L53+40
	bl	W
	sub	r3, fp, #32
	mov	r1, #8
	mov	r0, r3
	bl	W
	ldr	r2, [fp, #-52]
	sub	r3, fp, #60
	mov	r1, r2
	mov	r0, r3
	bl	WS
	b	.L52
.L45:
	ldr	r3, [fp, #-96]
	cmp	r3, #1
	bne	.L52
	b	.L47
.L48:
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	clip
	mov	r2, r0
	mov	r3, r1
	mov	r3, r2
	mov	r1, r3
	ldr	r0, .L53+44
	bl	R
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	clip
	mov	r2, r0
	mov	r3, r1
	mov	r3, r2
	mov	r1, r3
	ldr	r0, .L53+44
	bl	w
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	subs	r6, r2, #1048576
	sbc	r7, r3, #0
	str	r6, [fp, #-52]
	str	r7, [fp, #-48]
.L47:
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	cmp	r2, #1
	sbcs	r3, r3, #0
	bge	.L48
	sub	r3, fp, #104
	mov	r1, #4
	mov	r0, r3
	bl	W
	mov	r1, #4
	ldr	r0, .L53+40
	bl	W
	sub	r3, fp, #32
	mov	r1, #8
	mov	r0, r3
	bl	W
	b	.L52
.L44:
	ldr	r3, .L53+48
	ldr	r3, [r3]
	mov	r2, #6
	mov	r1, #1
	ldr	r0, .L53+52
	bl	fwrite
	sub	r3, fp, #104
	mov	r1, #4
	mov	r0, r3
	bl	W
	mov	r1, #4
	ldr	r0, .L53+56
	bl	W
	sub	r3, fp, #32
	mov	r1, #8
	mov	r0, r3
	bl	W
	b	.L50
.L52:
	nop
	b	.L50
.L54:
	.align	2
.L53:
	.word	.LC7
	.word	.LC0
	.word	1052674
	.word	fd
	.word	.LC1
	.word	init_magic
	.word	reply_magic
	.word	.LC2
	.word	.LC3
	.word	request_magic
	.word	.LC4
	.word	rbuf
	.word	stderr
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
