	.file	"140225.c"
	.intel_syntax noprefix
	.text
	.globl	bits_in_byte
	.section	.rodata
	.type	bits_in_byte, @object
	.size	bits_in_byte, 1
bits_in_byte:
	.byte	8
	.globl	uint16_bytes
	.type	uint16_bytes, @object
	.size	uint16_bytes, 1
uint16_bytes:
	.byte	2
	.globl	uint32_bytes
	.type	uint32_bytes, @object
	.size	uint32_bytes, 1
uint32_bytes:
	.byte	4
	.globl	uint64_bytes
	.type	uint64_bytes, @object
	.size	uint64_bytes, 1
uint64_bytes:
	.byte	8
	.globl	uint16_one
	.align 2
	.type	uint16_one, @object
	.size	uint16_one, 2
uint16_one:
	.value	1
	.globl	uint32_one
	.align 4
	.type	uint32_one, @object
	.size	uint32_one, 4
uint32_one:
	.long	1
	.globl	uint64_one
	.align 8
	.type	uint64_one, @object
	.size	uint64_one, 8
uint64_one:
	.quad	1
	.globl	uint16_byte_mask
	.align 2
	.type	uint16_byte_mask, @object
	.size	uint16_byte_mask, 2
uint16_byte_mask:
	.value	255
	.globl	uint32_byte_mask
	.align 4
	.type	uint32_byte_mask, @object
	.size	uint32_byte_mask, 4
uint32_byte_mask:
	.long	255
	.globl	uint64_byte_mask
	.align 8
	.type	uint64_byte_mask, @object
	.size	uint64_byte_mask, 8
uint64_byte_mask:
	.quad	255
	.text
	.globl	count_bytes
	.type	count_bytes, @function
count_bytes:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
.L4:
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	je	.L6
	add	DWORD PTR -12[rbp], 1
	add	QWORD PTR -8[rbp], 1
	jmp	.L4
.L6:
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	count_bytes, .-count_bytes
	.globl	uint16_byte_order
	.type	uint16_byte_order, @function
uint16_byte_order:
.LFB1:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -10[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	count_bytes
	lea	rax, -10[rbp]
	movzx	eax, WORD PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	uint16_byte_order, .-uint16_byte_order
	.globl	uint32_byte_order
	.type	uint32_byte_order, @function
uint32_byte_order:
.LFB2:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -12[rbp]
	mov	rsi, rax
	mov	edi, 3
	call	count_bytes
	lea	rax, -12[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	uint32_byte_order, .-uint32_byte_order
	.globl	uint64_byte_order
	.type	uint64_byte_order, @function
uint64_byte_order:
.LFB3:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -16[rbp]
	mov	rsi, rax
	mov	edi, 7
	call	count_bytes
	lea	rax, -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	uint64_byte_order, .-uint64_byte_order
	.globl	uint16_from_little_endian
	.type	uint16_from_little_endian, @function
uint16_from_little_endian:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 56
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -88[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	eax, 0
	call	uint16_byte_order
	mov	WORD PTR -74[rbp], ax
	cmp	WORD PTR -74[rbp], 256
	jne	.L17
	mov	rax, QWORD PTR -88[rbp]
	movzx	eax, WORD PTR [rax]
	jmp	.L18
.L17:
	mov	eax, 2
	movzx	eax, al
	sub	rax, 1
	mov	QWORD PTR -72[rbp], rax
	mov	eax, 2
	movzx	eax, al
	mov	r14, rax
	mov	r15d, 0
	mov	eax, 2
	movzx	eax, al
	mov	r12, rax
	mov	r13d, 0
	mov	eax, 2
	movzx	eax, al
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L19:
	cmp	rsp, rdx
	je	.L20
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L19
.L20:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L21
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L21:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -64[rbp], rax
	mov	BYTE PTR -76[rbp], 0
.L24:
	movzx	eax, WORD PTR -74[rbp]
	mov	edx, eax
	mov	eax, 255
	and	eax, edx
	mov	BYTE PTR -75[rbp], al
	movzx	edx, BYTE PTR -76[rbp]
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -75[rbp]
	movzx	ecx, BYTE PTR [rdx]
	mov	rdx, QWORD PTR -64[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], cl
	movzx	eax, BYTE PTR -76[rbp]
	mov	edx, 2
	movzx	edx, dl
	sub	edx, 1
	cmp	eax, edx
	je	.L28
	movzx	edx, WORD PTR -74[rbp]
	mov	eax, 8
	movzx	eax, al
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	mov	WORD PTR -74[rbp], ax
	movzx	eax, BYTE PTR -76[rbp]
	add	eax, 1
	mov	BYTE PTR -76[rbp], al
	jmp	.L24
.L28:
	nop
	mov	rax, QWORD PTR -64[rbp]
	movzx	eax, WORD PTR [rax]
.L18:
	mov	rsp, rbx
	mov	rsi, QWORD PTR -56[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	uint16_from_little_endian, .-uint16_from_little_endian
	.globl	uint32_from_little_endian
	.type	uint32_from_little_endian, @function
uint32_from_little_endian:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 56
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -88[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	eax, 0
	call	uint32_byte_order
	mov	DWORD PTR -76[rbp], eax
	cmp	DWORD PTR -76[rbp], 50462976
	jne	.L30
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	jmp	.L31
.L30:
	mov	eax, 4
	movzx	eax, al
	sub	rax, 1
	mov	QWORD PTR -72[rbp], rax
	mov	eax, 4
	movzx	eax, al
	mov	r14, rax
	mov	r15d, 0
	mov	eax, 4
	movzx	eax, al
	mov	r12, rax
	mov	r13d, 0
	mov	eax, 4
	movzx	eax, al
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L32:
	cmp	rsp, rdx
	je	.L33
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L32
.L33:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L34
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L34:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -64[rbp], rax
	mov	BYTE PTR -78[rbp], 0
.L37:
	mov	eax, DWORD PTR -76[rbp]
	mov	edx, eax
	mov	eax, 255
	and	eax, edx
	mov	BYTE PTR -77[rbp], al
	movzx	edx, BYTE PTR -78[rbp]
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -77[rbp]
	movzx	ecx, BYTE PTR [rdx]
	mov	rdx, QWORD PTR -64[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], cl
	movzx	eax, BYTE PTR -78[rbp]
	mov	edx, 4
	movzx	edx, dl
	sub	edx, 1
	cmp	eax, edx
	je	.L41
	mov	eax, 8
	movzx	eax, al
	mov	ecx, eax
	shr	DWORD PTR -76[rbp], cl
	movzx	eax, BYTE PTR -78[rbp]
	add	eax, 1
	mov	BYTE PTR -78[rbp], al
	jmp	.L37
.L41:
	nop
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR [rax]
.L31:
	mov	rsp, rbx
	mov	rsi, QWORD PTR -56[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	uint32_from_little_endian, .-uint32_from_little_endian
	.globl	uint64_from_little_endian
	.type	uint64_from_little_endian, @function
uint64_from_little_endian:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 72
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -104[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	eax, 0
	call	uint64_byte_order
	mov	QWORD PTR -80[rbp], rax
	movabs	rax, 506097522914230528
	cmp	QWORD PTR -80[rbp], rax
	jne	.L43
	mov	rax, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR [rax]
	jmp	.L44
.L43:
	mov	eax, 8
	movzx	eax, al
	sub	rax, 1
	mov	QWORD PTR -72[rbp], rax
	mov	eax, 8
	movzx	eax, al
	mov	r14, rax
	mov	r15d, 0
	mov	eax, 8
	movzx	eax, al
	mov	r12, rax
	mov	r13d, 0
	mov	eax, 8
	movzx	eax, al
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L45:
	cmp	rsp, rdx
	je	.L46
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L45
.L46:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L47
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L47:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -64[rbp], rax
	mov	BYTE PTR -82[rbp], 0
.L50:
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, eax
	mov	eax, 255
	and	eax, edx
	mov	BYTE PTR -81[rbp], al
	movzx	edx, BYTE PTR -82[rbp]
	mov	rax, QWORD PTR -104[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -81[rbp]
	movzx	ecx, BYTE PTR [rdx]
	mov	rdx, QWORD PTR -64[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], cl
	movzx	eax, BYTE PTR -82[rbp]
	mov	edx, 8
	movzx	edx, dl
	sub	edx, 1
	cmp	eax, edx
	je	.L54
	mov	eax, 8
	movzx	eax, al
	mov	ecx, eax
	shr	QWORD PTR -80[rbp], cl
	movzx	eax, BYTE PTR -82[rbp]
	add	eax, 1
	mov	BYTE PTR -82[rbp], al
	jmp	.L50
.L54:
	nop
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
.L44:
	mov	rsp, rbx
	mov	rsi, QWORD PTR -56[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L52
	call	__stack_chk_fail@PLT
.L52:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	uint64_from_little_endian, .-uint64_from_little_endian
	.globl	uint16_from_big_endian
	.type	uint16_from_big_endian, @function
uint16_from_big_endian:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 56
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -88[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	eax, 0
	call	uint16_byte_order
	mov	WORD PTR -74[rbp], ax
	mov	eax, 2
	movzx	eax, al
	sub	rax, 1
	mov	QWORD PTR -72[rbp], rax
	mov	eax, 2
	movzx	eax, al
	mov	r14, rax
	mov	r15d, 0
	mov	eax, 2
	movzx	eax, al
	mov	r12, rax
	mov	r13d, 0
	mov	eax, 2
	movzx	eax, al
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L56:
	cmp	rsp, rdx
	je	.L57
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L56
.L57:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L58
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L58:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -64[rbp], rax
	mov	eax, 2
	sub	eax, 1
	mov	BYTE PTR -76[rbp], al
.L61:
	movzx	eax, WORD PTR -74[rbp]
	mov	edx, eax
	mov	eax, 255
	and	eax, edx
	mov	BYTE PTR -75[rbp], al
	movzx	edx, BYTE PTR -76[rbp]
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -75[rbp]
	movzx	ecx, BYTE PTR [rdx]
	mov	rdx, QWORD PTR -64[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], cl
	cmp	BYTE PTR -76[rbp], 0
	je	.L65
	movzx	edx, WORD PTR -74[rbp]
	mov	eax, 8
	movzx	eax, al
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	mov	WORD PTR -74[rbp], ax
	movzx	eax, BYTE PTR -76[rbp]
	sub	eax, 1
	mov	BYTE PTR -76[rbp], al
	jmp	.L61
.L65:
	nop
	mov	rax, QWORD PTR -64[rbp]
	movzx	eax, WORD PTR [rax]
	mov	rsp, rbx
	mov	rsi, QWORD PTR -56[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L63
	call	__stack_chk_fail@PLT
.L63:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	uint16_from_big_endian, .-uint16_from_big_endian
	.globl	uint32_from_big_endian
	.type	uint32_from_big_endian, @function
uint32_from_big_endian:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 56
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -88[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	eax, 0
	call	uint32_byte_order
	mov	DWORD PTR -76[rbp], eax
	cmp	DWORD PTR -76[rbp], 66051
	jne	.L67
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	jmp	.L68
.L67:
	mov	eax, 4
	movzx	eax, al
	sub	rax, 1
	mov	QWORD PTR -72[rbp], rax
	mov	eax, 4
	movzx	eax, al
	mov	r14, rax
	mov	r15d, 0
	mov	eax, 4
	movzx	eax, al
	mov	r12, rax
	mov	r13d, 0
	mov	eax, 4
	movzx	eax, al
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L69:
	cmp	rsp, rdx
	je	.L70
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L69
.L70:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L71
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L71:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -64[rbp], rax
	mov	eax, 4
	sub	eax, 1
	mov	BYTE PTR -78[rbp], al
.L74:
	mov	eax, DWORD PTR -76[rbp]
	mov	edx, eax
	mov	eax, 255
	and	eax, edx
	mov	BYTE PTR -77[rbp], al
	movzx	edx, BYTE PTR -78[rbp]
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -77[rbp]
	movzx	ecx, BYTE PTR [rdx]
	mov	rdx, QWORD PTR -64[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], cl
	cmp	BYTE PTR -78[rbp], 0
	je	.L78
	mov	eax, 8
	movzx	eax, al
	mov	ecx, eax
	shr	DWORD PTR -76[rbp], cl
	movzx	eax, BYTE PTR -78[rbp]
	sub	eax, 1
	mov	BYTE PTR -78[rbp], al
	jmp	.L74
.L78:
	nop
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR [rax]
.L68:
	mov	rsp, rbx
	mov	rsi, QWORD PTR -56[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L76
	call	__stack_chk_fail@PLT
.L76:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	uint32_from_big_endian, .-uint32_from_big_endian
	.globl	uint64_from_big_endian
	.type	uint64_from_big_endian, @function
uint64_from_big_endian:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 72
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -104[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	eax, 0
	call	uint64_byte_order
	mov	QWORD PTR -80[rbp], rax
	cmp	QWORD PTR -80[rbp], 1
	jne	.L80
	mov	rax, QWORD PTR -104[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	jmp	.L81
.L80:
	mov	eax, 8
	movzx	eax, al
	sub	rax, 1
	mov	QWORD PTR -72[rbp], rax
	mov	eax, 8
	movzx	eax, al
	mov	r14, rax
	mov	r15d, 0
	mov	eax, 8
	movzx	eax, al
	mov	r12, rax
	mov	r13d, 0
	mov	eax, 8
	movzx	eax, al
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L82:
	cmp	rsp, rdx
	je	.L83
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L82
.L83:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L84
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L84:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -64[rbp], rax
	mov	eax, 8
	sub	eax, 1
	mov	BYTE PTR -82[rbp], al
.L87:
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, eax
	mov	eax, 255
	and	eax, edx
	mov	BYTE PTR -81[rbp], al
	movzx	edx, BYTE PTR -82[rbp]
	mov	rax, QWORD PTR -104[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -81[rbp]
	movzx	ecx, BYTE PTR [rdx]
	mov	rdx, QWORD PTR -64[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], cl
	cmp	BYTE PTR -82[rbp], 0
	je	.L91
	mov	eax, 8
	movzx	eax, al
	mov	ecx, eax
	shr	QWORD PTR -80[rbp], cl
	movzx	eax, BYTE PTR -82[rbp]
	sub	eax, 1
	mov	BYTE PTR -82[rbp], al
	jmp	.L87
.L91:
	nop
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
.L81:
	mov	rsp, rbx
	mov	rsi, QWORD PTR -56[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L89
	call	__stack_chk_fail@PLT
.L89:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	uint64_from_big_endian, .-uint64_from_big_endian
	.globl	Endian
	.section	.data.rel.ro.local,"aw"
	.align 32
	.type	Endian, @object
	.size	Endian, 96
Endian:
	.byte	8
	.byte	2
	.byte	4
	.byte	8
	.value	255
	.zero	2
	.long	255
	.zero	4
	.quad	255
	.quad	uint16_byte_order
	.quad	uint32_byte_order
	.quad	uint64_byte_order
	.quad	uint16_from_little_endian
	.quad	uint32_from_little_endian
	.quad	uint64_from_little_endian
	.quad	uint16_from_big_endian
	.quad	uint32_from_big_endian
	.quad	uint64_from_big_endian
	.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	"140225.c"
	.text
	.global	bits_in_byte
	.section	.rodata
	.type	bits_in_byte, %object
	.size	bits_in_byte, 1
bits_in_byte:
	.byte	8
	.global	uint16_bytes
	.type	uint16_bytes, %object
	.size	uint16_bytes, 1
uint16_bytes:
	.byte	2
	.global	uint32_bytes
	.type	uint32_bytes, %object
	.size	uint32_bytes, 1
uint32_bytes:
	.byte	4
	.global	uint64_bytes
	.type	uint64_bytes, %object
	.size	uint64_bytes, 1
uint64_bytes:
	.byte	8
	.global	uint16_one
	.align	1
	.type	uint16_one, %object
	.size	uint16_one, 2
uint16_one:
	.short	1
	.global	uint32_one
	.align	2
	.type	uint32_one, %object
	.size	uint32_one, 4
uint32_one:
	.word	1
	.global	uint64_one
	.align	3
	.type	uint64_one, %object
	.size	uint64_one, 8
uint64_one:
	.word	1
	.word	0
	.global	uint16_byte_mask
	.align	1
	.type	uint16_byte_mask, %object
	.size	uint16_byte_mask, 2
uint16_byte_mask:
	.short	255
	.global	uint32_byte_mask
	.align	2
	.type	uint32_byte_mask, %object
	.size	uint32_byte_mask, 4
uint32_byte_mask:
	.word	255
	.global	uint64_byte_mask
	.align	3
	.type	uint64_byte_mask, %object
	.size	uint64_byte_mask, 8
uint64_byte_mask:
	.word	255
	.word	0
	.text
	.align	2
	.global	count_bytes
	.syntax unified
	.arm
	.fpu softvfp
	.type	count_bytes, %function
count_bytes:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
.L4:
	ldr	r3, [fp, #-8]
	and	r2, r3, #255
	ldr	r3, [fp, #-12]
	strb	r2, [r3]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	beq	.L6
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L4
.L6:
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	count_bytes, .-count_bytes
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	uint16_byte_order
	.syntax unified
	.arm
	.fpu softvfp
	.type	uint16_byte_order, %function
uint16_byte_order:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #12
	mov	r1, r3
	mov	r0, #1
	bl	count_bytes
	sub	r3, fp, #12
	ldrh	r3, [r3]
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC0
	.size	uint16_byte_order, .-uint16_byte_order
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	uint32_byte_order
	.syntax unified
	.arm
	.fpu softvfp
	.type	uint32_byte_order, %function
uint32_byte_order:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #12
	mov	r1, r3
	mov	r0, #3
	bl	count_bytes
	sub	r3, fp, #12
	ldr	r3, [r3]
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC1
	.size	uint32_byte_order, .-uint32_byte_order
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	uint64_byte_order
	.syntax unified
	.arm
	.fpu softvfp
	.type	uint64_byte_order, %function
uint64_byte_order:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	mov	r1, r3
	mov	r0, #7
	bl	count_bytes
	sub	r3, fp, #16
	ldmia	r3, {r2-r3}
	ldr	r1, .L20
	ldr	r0, [r1]
	ldr	r1, [fp, #-8]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC2
	.size	uint64_byte_order, .-uint64_byte_order
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	uint16_from_little_endian
	.syntax unified
	.arm
	.fpu softvfp
	.type	uint16_from_little_endian, %function
uint16_from_little_endian:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	bl	uint16_byte_order
	mov	r3, r0
	strh	r3, [fp, #-26]	@ movhi
	ldrh	r3, [fp, #-26]
	cmp	r3, #256
	bne	.L23
	ldr	r3, [fp, #-32]
	ldrh	r3, [r3]
	b	.L24
.L23:
	mov	r3, #2
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	mov	r3, #2
	and	r0, r3, #255
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, #2
	and	r0, r3, #255
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	strb	r3, [fp, #-28]
.L27:
	ldrh	r3, [fp, #-26]	@ movhi
	and	r2, r3, #255
	mov	r3, #255
	and	r3, r3, #255
	and	r3, r3, r2
	strb	r3, [fp, #-27]
	ldrb	r3, [fp, #-28]	@ zero_extendqisi2
	ldr	r2, [fp, #-32]
	add	r2, r2, r3
	ldrb	r3, [fp, #-27]	@ zero_extendqisi2
	ldrb	r1, [r2]	@ zero_extendqisi2
	ldr	r2, [fp, #-20]
	strb	r1, [r2, r3]
	ldrb	r2, [fp, #-28]	@ zero_extendqisi2
	mov	r3, #2
	sub	r3, r3, #1
	cmp	r2, r3
	beq	.L31
	ldrh	r3, [fp, #-26]
	mov	r2, #8
	asr	r3, r3, r2
	strh	r3, [fp, #-26]	@ movhi
	ldrb	r3, [fp, #-28]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-28]
	b	.L27
.L31:
	nop
	ldr	r3, [fp, #-20]
	ldrh	r3, [r3]
.L24:
	mov	sp, r4
	ldr	r2, .L32
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC3
	.size	uint16_from_little_endian, .-uint16_from_little_endian
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	uint32_from_little_endian
	.syntax unified
	.arm
	.fpu softvfp
	.type	uint32_from_little_endian, %function
uint32_from_little_endian:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-40]
	ldr	r3, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	bl	uint32_byte_order
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r2, .L44+4
	cmp	r3, r2
	bne	.L35
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	b	.L36
.L35:
	mov	r3, #4
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	mov	r3, #4
	and	r0, r3, #255
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, #4
	and	r0, r3, #255
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, #4
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	strb	r3, [fp, #-30]
.L39:
	ldr	r3, [fp, #-28]
	and	r2, r3, #255
	mov	r3, #255
	and	r3, r3, #255
	and	r3, r3, r2
	strb	r3, [fp, #-29]
	ldrb	r3, [fp, #-30]	@ zero_extendqisi2
	ldr	r2, [fp, #-40]
	add	r2, r2, r3
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	ldrb	r1, [r2]	@ zero_extendqisi2
	ldr	r2, [fp, #-20]
	strb	r1, [r2, r3]
	ldrb	r2, [fp, #-30]	@ zero_extendqisi2
	mov	r3, #4
	sub	r3, r3, #1
	cmp	r2, r3
	beq	.L43
	mov	r3, #8
	mov	r2, r3
	ldr	r3, [fp, #-28]
	lsr	r3, r3, r2
	str	r3, [fp, #-28]
	ldrb	r3, [fp, #-30]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-30]
	b	.L39
.L43:
	nop
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
.L36:
	mov	sp, r4
	ldr	r2, .L44
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L41
	bl	__stack_chk_fail
.L41:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC4
	.word	50462976
	.size	uint32_from_little_endian, .-uint32_from_little_endian
	.section	.rodata
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	uint64_from_little_endian
	.syntax unified
	.arm
	.fpu softvfp
	.type	uint64_from_little_endian, %function
uint64_from_little_endian:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #44
	str	r0, [fp, #-56]
	ldr	r3, .L56+8
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, sp
	mov	r6, r3
	bl	uint64_byte_order
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	adr	r1, .L56
	ldmia	r1, {r0-r1}
	cmp	r3, r1
	cmpeq	r2, r0
	bne	.L47
	ldr	r3, [fp, #-56]
	ldmia	r3, {r2-r3}
	b	.L48
.L47:
	mov	r3, #8
	sub	r3, r3, #1
	str	r3, [fp, #-44]
	mov	r3, #8
	and	r0, r3, #255
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, #8
	and	r0, r3, #255
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, #8
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	strb	r3, [fp, #-46]
.L51:
	ldrb	r1, [fp, #-36]	@ zero_extendqisi2
	mov	r2, #255
	mov	r3, #0
	and	r3, r2, #255
	and	r3, r3, r1
	strb	r3, [fp, #-45]
	ldrb	r3, [fp, #-46]	@ zero_extendqisi2
	ldr	r2, [fp, #-56]
	add	r2, r2, r3
	ldrb	r3, [fp, #-45]	@ zero_extendqisi2
	ldrb	r1, [r2]	@ zero_extendqisi2
	ldr	r2, [fp, #-40]
	strb	r1, [r2, r3]
	ldrb	r2, [fp, #-46]	@ zero_extendqisi2
	mov	r3, #8
	sub	r3, r3, #1
	cmp	r2, r3
	beq	.L55
	mov	r3, #8
	mov	r1, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	rsb	ip, r1, #32
	sub	r0, r1, #32
	lsr	r4, r2, r1
	orr	r4, r4, r3, lsl ip
	orr	r4, r4, r3, lsr r0
	lsr	r5, r3, r1
	str	r4, [fp, #-36]
	str	r5, [fp, #-32]
	ldrb	r3, [fp, #-46]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-46]
	b	.L51
.L55:
	nop
	ldr	r3, [fp, #-40]
	ldmia	r3, {r2-r3}
.L48:
	mov	sp, r6
	ldr	r1, .L56+8
	ldr	r0, [r1]
	ldr	r1, [fp, #-24]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L53
	bl	__stack_chk_fail
.L53:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L57:
	.align	3
.L56:
	.word	50462976
	.word	117835012
	.word	.LC5
	.size	uint64_from_little_endian, .-uint64_from_little_endian
	.section	.rodata
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	uint16_from_big_endian
	.syntax unified
	.arm
	.fpu softvfp
	.type	uint16_from_big_endian, %function
uint16_from_big_endian:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	ldr	r3, .L66
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	bl	uint16_byte_order
	mov	r3, r0
	strh	r3, [fp, #-26]	@ movhi
	mov	r3, #2
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	mov	r3, #2
	and	r0, r3, #255
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, #2
	and	r0, r3, #255
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-20]
	mov	r3, #2
	sub	r3, r3, #1
	strb	r3, [fp, #-28]
.L61:
	ldrh	r3, [fp, #-26]	@ movhi
	and	r2, r3, #255
	mov	r3, #255
	and	r3, r3, #255
	and	r3, r3, r2
	strb	r3, [fp, #-27]
	ldrb	r3, [fp, #-28]	@ zero_extendqisi2
	ldr	r2, [fp, #-32]
	add	r2, r2, r3
	ldrb	r3, [fp, #-27]	@ zero_extendqisi2
	ldrb	r1, [r2]	@ zero_extendqisi2
	ldr	r2, [fp, #-20]
	strb	r1, [r2, r3]
	ldrb	r3, [fp, #-28]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L65
	ldrh	r3, [fp, #-26]
	mov	r2, #8
	asr	r3, r3, r2
	strh	r3, [fp, #-26]	@ movhi
	ldrb	r3, [fp, #-28]	@ zero_extendqisi2
	sub	r3, r3, #1
	strb	r3, [fp, #-28]
	b	.L61
.L65:
	nop
	ldr	r3, [fp, #-20]
	ldrh	r3, [r3]
	mov	sp, r4
	ldr	r2, .L66
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L63
	bl	__stack_chk_fail
.L63:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L67:
	.align	2
.L66:
	.word	.LC6
	.size	uint16_from_big_endian, .-uint16_from_big_endian
	.section	.rodata
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	uint32_from_big_endian
	.syntax unified
	.arm
	.fpu softvfp
	.type	uint32_from_big_endian, %function
uint32_from_big_endian:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-40]
	ldr	r3, .L78
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	bl	uint32_byte_order
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r2, .L78+4
	cmp	r3, r2
	bne	.L69
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	b	.L70
.L69:
	mov	r3, #4
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	mov	r3, #4
	and	r0, r3, #255
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, #4
	and	r0, r3, #255
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, #4
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-20]
	mov	r3, #4
	sub	r3, r3, #1
	strb	r3, [fp, #-30]
.L73:
	ldr	r3, [fp, #-28]
	and	r2, r3, #255
	mov	r3, #255
	and	r3, r3, #255
	and	r3, r3, r2
	strb	r3, [fp, #-29]
	ldrb	r3, [fp, #-30]	@ zero_extendqisi2
	ldr	r2, [fp, #-40]
	add	r2, r2, r3
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	ldrb	r1, [r2]	@ zero_extendqisi2
	ldr	r2, [fp, #-20]
	strb	r1, [r2, r3]
	ldrb	r3, [fp, #-30]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L77
	mov	r3, #8
	mov	r2, r3
	ldr	r3, [fp, #-28]
	lsr	r3, r3, r2
	str	r3, [fp, #-28]
	ldrb	r3, [fp, #-30]	@ zero_extendqisi2
	sub	r3, r3, #1
	strb	r3, [fp, #-30]
	b	.L73
.L77:
	nop
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
.L70:
	mov	sp, r4
	ldr	r2, .L78
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L75
	bl	__stack_chk_fail
.L75:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L79:
	.align	2
.L78:
	.word	.LC7
	.word	66051
	.size	uint32_from_big_endian, .-uint32_from_big_endian
	.section	.rodata
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	uint64_from_big_endian
	.syntax unified
	.arm
	.fpu softvfp
	.type	uint64_from_big_endian, %function
uint64_from_big_endian:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #44
	str	r0, [fp, #-56]
	ldr	r3, .L90
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, sp
	mov	r6, r3
	bl	uint64_byte_order
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	cmp	r3, #0
	cmpeq	r2, #1
	bne	.L81
	ldr	r3, [fp, #-56]
	ldrh	r1, [r3]
	mov	r3, r1
	mov	r2, r3
	mov	r3, #0
	b	.L82
.L81:
	mov	r3, #8
	sub	r3, r3, #1
	str	r3, [fp, #-44]
	mov	r3, #8
	and	r0, r3, #255
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, #8
	and	r0, r3, #255
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, #8
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-40]
	mov	r3, #8
	sub	r3, r3, #1
	strb	r3, [fp, #-46]
.L85:
	ldrb	r1, [fp, #-36]	@ zero_extendqisi2
	mov	r2, #255
	mov	r3, #0
	and	r3, r2, #255
	and	r3, r3, r1
	strb	r3, [fp, #-45]
	ldrb	r3, [fp, #-46]	@ zero_extendqisi2
	ldr	r2, [fp, #-56]
	add	r2, r2, r3
	ldrb	r3, [fp, #-45]	@ zero_extendqisi2
	ldrb	r1, [r2]	@ zero_extendqisi2
	ldr	r2, [fp, #-40]
	strb	r1, [r2, r3]
	ldrb	r3, [fp, #-46]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L89
	mov	r3, #8
	mov	r1, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	rsb	ip, r1, #32
	sub	r0, r1, #32
	lsr	r4, r2, r1
	orr	r4, r4, r3, lsl ip
	orr	r4, r4, r3, lsr r0
	lsr	r5, r3, r1
	str	r4, [fp, #-36]
	str	r5, [fp, #-32]
	ldrb	r3, [fp, #-46]	@ zero_extendqisi2
	sub	r3, r3, #1
	strb	r3, [fp, #-46]
	b	.L85
.L89:
	nop
	ldr	r3, [fp, #-40]
	ldmia	r3, {r2-r3}
.L82:
	mov	sp, r6
	ldr	r1, .L90
	ldr	r0, [r1]
	ldr	r1, [fp, #-24]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L87
	bl	__stack_chk_fail
.L87:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L91:
	.align	2
.L90:
	.word	.LC8
	.size	uint64_from_big_endian, .-uint64_from_big_endian
	.global	Endian
	.section	.rodata
	.align	3
	.type	Endian, %object
	.size	Endian, 64
Endian:
	.byte	8
	.byte	2
	.byte	4
	.byte	8
	.short	255
	.space	2
	.word	255
	.space	4
	.word	255
	.word	0
	.word	uint16_byte_order
	.word	uint32_byte_order
	.word	uint64_byte_order
	.word	uint16_from_little_endian
	.word	uint32_from_little_endian
	.word	uint64_from_little_endian
	.word	uint16_from_big_endian
	.word	uint32_from_big_endian
	.word	uint64_from_big_endian
	.space	4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
