	.file	"674386.c"
	.intel_syntax noprefix
	.text
	.type	__bswap_16, @function
__bswap_16:
.LFB0:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	WORD PTR -4[rbp], ax
	movzx	eax, WORD PTR -4[rbp]
	rol	ax, 8
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	__bswap_16, .-__bswap_16
	.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
	.type	__uint16_identity, @function
__uint16_identity:
.LFB3:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	WORD PTR -4[rbp], ax
	movzx	eax, WORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	__uint16_identity, .-__uint16_identity
	.type	__uint32_identity, @function
__uint32_identity:
.LFB4:
	.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]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	__uint32_identity, .-__uint32_identity
	.type	__uint64_identity, @function
__uint64_identity:
.LFB5:
	.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]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	__uint64_identity, .-__uint64_identity
	.local	progname
	.comm	progname,8,8
	.local	x16
	.comm	x16,2,2
	.local	x32
	.comm	x32,4,4
	.local	x64
	.comm	x64,8,8
	.local	x
	.comm	x,8,8
	.section	.rodata
	.align 8
.LC0:
	.string	"usage: execve(endconv, \"<endian.h> xxxtoxxx()\", \"[INPUT]\", \"[OUTPUT]\")"
	.align 8
.LC1:
	.string	"install this program like that: ln endconv htobe16"
	.text
	.type	usage, @function
usage:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	usage, .-usage
	.section	.rodata
.LC2:
	.string	"rb"
.LC3:
	.string	"wb"
.LC4:
	.string	"htobe16"
.LC5:
	.string	"htole16"
.LC6:
	.string	"htobe32"
.LC7:
	.string	"htole32"
.LC8:
	.string	"htobe64"
.LC9:
	.string	"htole64"
.LC10:
	.string	"be16toh"
.LC11:
	.string	"le16toh"
.LC12:
	.string	"be32toh"
.LC13:
	.string	"le32toh"
.LC14:
	.string	"be64toh"
.LC15:
	.string	"le64toh"
	.text
	.globl	main
	.type	main, @function
main:
.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR stdout[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	__xpg_basename@PLT
	mov	QWORD PTR progname[rip], rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L15
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L15
	mov	eax, 1
	jmp	.L16
.L15:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L17
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L17
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L17
	mov	eax, 2
	jmp	.L16
.L17:
	mov	rax, QWORD PTR progname[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L18
.L20:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, x16[rip]
	call	fread@PLT
	mov	QWORD PTR x[rip], rax
	movzx	eax, WORD PTR x16[rip]
	movzx	eax, ax
	mov	edi, eax
	call	__bswap_16
	mov	WORD PTR x16[rip], ax
	mov	rax, QWORD PTR x[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, x16[rip]
	call	fwrite@PLT
	jmp	.L20
.L18:
	mov	rax, QWORD PTR progname[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L21
.L22:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, x16[rip]
	call	fread@PLT
	mov	QWORD PTR x[rip], rax
	movzx	eax, WORD PTR x16[rip]
	movzx	eax, ax
	mov	edi, eax
	call	__uint16_identity
	mov	WORD PTR x16[rip], ax
	mov	rax, QWORD PTR x[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, x16[rip]
	call	fwrite@PLT
	jmp	.L22
.L21:
	mov	rax, QWORD PTR progname[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L23
.L24:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, x32[rip]
	call	fread@PLT
	mov	QWORD PTR x[rip], rax
	mov	eax, DWORD PTR x32[rip]
	mov	edi, eax
	call	__bswap_32
	mov	DWORD PTR x32[rip], eax
	mov	rax, QWORD PTR x[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, x32[rip]
	call	fwrite@PLT
	jmp	.L24
.L23:
	mov	rax, QWORD PTR progname[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L25
.L26:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, x32[rip]
	call	fread@PLT
	mov	QWORD PTR x[rip], rax
	mov	eax, DWORD PTR x32[rip]
	mov	edi, eax
	call	__uint32_identity
	mov	DWORD PTR x32[rip], eax
	mov	rax, QWORD PTR x[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, x32[rip]
	call	fwrite@PLT
	jmp	.L26
.L25:
	mov	rax, QWORD PTR progname[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L27
.L28:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 8
	mov	esi, 1
	lea	rdi, x64[rip]
	call	fread@PLT
	mov	QWORD PTR x[rip], rax
	mov	rax, QWORD PTR x64[rip]
	mov	rdi, rax
	call	__bswap_64
	mov	QWORD PTR x64[rip], rax
	mov	rax, QWORD PTR x[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, x64[rip]
	call	fwrite@PLT
	jmp	.L28
.L27:
	mov	rax, QWORD PTR progname[rip]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L29
.L30:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 8
	mov	esi, 1
	lea	rdi, x64[rip]
	call	fread@PLT
	mov	QWORD PTR x[rip], rax
	mov	rax, QWORD PTR x64[rip]
	mov	rdi, rax
	call	__uint64_identity
	mov	QWORD PTR x64[rip], rax
	mov	rax, QWORD PTR x[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, x64[rip]
	call	fwrite@PLT
	jmp	.L30
.L29:
	mov	rax, QWORD PTR progname[rip]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L31
.L32:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, x16[rip]
	call	fread@PLT
	mov	QWORD PTR x[rip], rax
	movzx	eax, WORD PTR x16[rip]
	movzx	eax, ax
	mov	edi, eax
	call	__bswap_16
	mov	WORD PTR x16[rip], ax
	mov	rax, QWORD PTR x[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, x16[rip]
	call	fwrite@PLT
	jmp	.L32
.L31:
	mov	rax, QWORD PTR progname[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L33
.L34:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, x16[rip]
	call	fread@PLT
	mov	QWORD PTR x[rip], rax
	movzx	eax, WORD PTR x16[rip]
	movzx	eax, ax
	mov	edi, eax
	call	__uint16_identity
	mov	WORD PTR x16[rip], ax
	mov	rax, QWORD PTR x[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, x16[rip]
	call	fwrite@PLT
	jmp	.L34
.L33:
	mov	rax, QWORD PTR progname[rip]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L35
.L36:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, x32[rip]
	call	fread@PLT
	mov	QWORD PTR x[rip], rax
	mov	eax, DWORD PTR x32[rip]
	mov	edi, eax
	call	__bswap_32
	mov	DWORD PTR x32[rip], eax
	mov	rax, QWORD PTR x[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, x32[rip]
	call	fwrite@PLT
	jmp	.L36
.L35:
	mov	rax, QWORD PTR progname[rip]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L37
.L38:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, x32[rip]
	call	fread@PLT
	mov	QWORD PTR x[rip], rax
	mov	eax, DWORD PTR x32[rip]
	mov	edi, eax
	call	__uint32_identity
	mov	DWORD PTR x32[rip], eax
	mov	rax, QWORD PTR x[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, x32[rip]
	call	fwrite@PLT
	jmp	.L38
.L37:
	mov	rax, QWORD PTR progname[rip]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L39
.L40:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 8
	mov	esi, 1
	lea	rdi, x64[rip]
	call	fread@PLT
	mov	QWORD PTR x[rip], rax
	mov	rax, QWORD PTR x64[rip]
	mov	rdi, rax
	call	__bswap_64
	mov	QWORD PTR x64[rip], rax
	mov	rax, QWORD PTR x[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, x64[rip]
	call	fwrite@PLT
	jmp	.L40
.L39:
	mov	rax, QWORD PTR progname[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L41
.L42:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 8
	mov	esi, 1
	lea	rdi, x64[rip]
	call	fread@PLT
	mov	QWORD PTR x[rip], rax
	mov	rax, QWORD PTR x64[rip]
	mov	rdi, rax
	call	__uint64_identity
	mov	QWORD PTR x64[rip], rax
	mov	rax, QWORD PTR x[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, x64[rip]
	call	fwrite@PLT
	jmp	.L42
.L41:
	call	usage
.L19:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"674386.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__bswap_16, %function
__bswap_16:
	@ 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
	mov	r3, r0
	strh	r3, [fp, #-6]	@ movhi
	ldrh	r3, [fp, #-6]	@ movhi
	lsl	r2, r3, #8
	ldrh	r3, [fp, #-6]
	lsr	r3, r3, #8
	orr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	__bswap_16, .-__bswap_16
	.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
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__uint16_identity, %function
__uint16_identity:
	@ 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
	mov	r3, r0
	strh	r3, [fp, #-6]	@ movhi
	ldrh	r3, [fp, #-6]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	__uint16_identity, .-__uint16_identity
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__uint32_identity, %function
__uint32_identity:
	@ 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	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	__uint32_identity, .-__uint32_identity
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__uint64_identity, %function
__uint64_identity:
	@ 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, r2
	mov	r1, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	__uint64_identity, .-__uint64_identity
	.local	progname
	.comm	progname,4,4
	.local	x16
	.comm	x16,2,2
	.local	x32
	.comm	x32,4,4
	.local	x64
	.comm	x64,8,8
	.local	x
	.comm	x,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage: execve(endconv, \"<endian.h> xxxtoxxx()\", \""
	.ascii	"[INPUT]\", \"[OUTPUT]\")\000"
	.align	2
.LC1:
	.ascii	"install this program like that: ln endconv htobe16\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L14
	bl	puts
	ldr	r0, .L14+4
	bl	puts
	mov	r0, #1
	bl	exit
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	.LC1
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC2:
	.ascii	"rb\000"
	.align	2
.LC3:
	.ascii	"wb\000"
	.align	2
.LC4:
	.ascii	"htobe16\000"
	.align	2
.LC5:
	.ascii	"htole16\000"
	.align	2
.LC6:
	.ascii	"htobe32\000"
	.align	2
.LC7:
	.ascii	"htole32\000"
	.align	2
.LC8:
	.ascii	"htobe64\000"
	.align	2
.LC9:
	.ascii	"htole64\000"
	.align	2
.LC10:
	.ascii	"be16toh\000"
	.align	2
.LC11:
	.ascii	"le16toh\000"
	.align	2
.LC12:
	.ascii	"be32toh\000"
	.align	2
.LC13:
	.ascii	"le32toh\000"
	.align	2
.LC14:
	.ascii	"be64toh\000"
	.align	2
.LC15:
	.ascii	"le64toh\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	ldr	r3, .L45
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, .L45+4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r0, r3
	bl	__xpg_basename
	mov	r3, r0
	ldr	r2, .L45+8
	str	r3, [r2]
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L45+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L17
	mov	r3, #1
	b	.L18
.L17:
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L19
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L19
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L45+16
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L19
	mov	r3, #2
	b	.L18
.L19:
	ldr	r3, .L45+8
	ldr	r3, [r3]
	ldr	r1, .L45+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
.L22:
	ldr	r0, [fp, #-12]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r0, [fp, #-12]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-12]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L45+24
	bl	fread
	mov	r3, r0
	ldr	r2, .L45+28
	str	r3, [r2]
	ldr	r3, .L45+24
	ldrh	r3, [r3]
	mov	r0, r3
	bl	__bswap_16
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L45+24
	strh	r2, [r3]	@ movhi
	ldr	r3, .L45+28
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #1
	ldr	r0, .L45+24
	bl	fwrite
	b	.L22
.L20:
	ldr	r3, .L45+8
	ldr	r3, [r3]
	ldr	r1, .L45+32
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L23
.L24:
	ldr	r0, [fp, #-12]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r0, [fp, #-12]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-12]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L45+24
	bl	fread
	mov	r3, r0
	ldr	r2, .L45+28
	str	r3, [r2]
	ldr	r3, .L45+24
	ldrh	r3, [r3]
	mov	r0, r3
	bl	__uint16_identity
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L45+24
	strh	r2, [r3]	@ movhi
	ldr	r3, .L45+28
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #1
	ldr	r0, .L45+24
	bl	fwrite
	b	.L24
.L23:
	ldr	r3, .L45+8
	ldr	r3, [r3]
	ldr	r1, .L45+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
.L26:
	ldr	r0, [fp, #-12]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r0, [fp, #-12]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-12]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L45+40
	bl	fread
	mov	r3, r0
	ldr	r2, .L45+28
	str	r3, [r2]
	ldr	r3, .L45+40
	ldr	r3, [r3]
	mov	r0, r3
	bl	__bswap_32
	mov	r3, r0
	ldr	r2, .L45+40
	str	r3, [r2]
	ldr	r3, .L45+28
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #1
	ldr	r0, .L45+40
	bl	fwrite
	b	.L26
.L25:
	ldr	r3, .L45+8
	ldr	r3, [r3]
	ldr	r1, .L45+44
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L27
.L28:
	ldr	r0, [fp, #-12]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r0, [fp, #-12]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-12]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L45+40
	bl	fread
	mov	r3, r0
	ldr	r2, .L45+28
	str	r3, [r2]
	ldr	r3, .L45+40
	ldr	r3, [r3]
	mov	r0, r3
	bl	__uint32_identity
	mov	r3, r0
	ldr	r2, .L45+40
	str	r3, [r2]
	ldr	r3, .L45+28
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #1
	ldr	r0, .L45+40
	bl	fwrite
	b	.L28
.L27:
	ldr	r3, .L45+8
	ldr	r3, [r3]
	ldr	r1, .L45+48
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L29
.L30:
	ldr	r0, [fp, #-12]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r0, [fp, #-12]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-12]
	mov	r2, #8
	mov	r1, #1
	ldr	r0, .L45+52
	bl	fread
	mov	r3, r0
	ldr	r2, .L45+28
	str	r3, [r2]
	ldr	r3, .L45+52
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__bswap_64
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L45+52
	stm	r1, {r2-r3}
	ldr	r3, .L45+28
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #1
	ldr	r0, .L45+52
	bl	fwrite
	b	.L30
.L29:
	ldr	r3, .L45+8
	ldr	r3, [r3]
	ldr	r1, .L45+56
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L31
.L32:
	ldr	r0, [fp, #-12]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r0, [fp, #-12]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-12]
	mov	r2, #8
	mov	r1, #1
	ldr	r0, .L45+52
	bl	fread
	mov	r3, r0
	ldr	r2, .L45+28
	str	r3, [r2]
	ldr	r3, .L45+52
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__uint64_identity
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L45+52
	stm	r1, {r2-r3}
	ldr	r3, .L45+28
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #1
	ldr	r0, .L45+52
	bl	fwrite
	b	.L32
.L31:
	ldr	r3, .L45+8
	ldr	r3, [r3]
	ldr	r1, .L45+60
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L33
.L34:
	ldr	r0, [fp, #-12]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r0, [fp, #-12]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-12]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L45+24
	bl	fread
	mov	r3, r0
	ldr	r2, .L45+28
	str	r3, [r2]
	ldr	r3, .L45+24
	ldrh	r3, [r3]
	mov	r0, r3
	bl	__bswap_16
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L45+24
	strh	r2, [r3]	@ movhi
	ldr	r3, .L45+28
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #1
	ldr	r0, .L45+24
	bl	fwrite
	b	.L34
.L33:
	ldr	r3, .L45+8
	ldr	r3, [r3]
	ldr	r1, .L45+64
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L35
.L36:
	ldr	r0, [fp, #-12]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r0, [fp, #-12]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-12]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L45+24
	bl	fread
	mov	r3, r0
	ldr	r2, .L45+28
	str	r3, [r2]
	ldr	r3, .L45+24
	ldrh	r3, [r3]
	mov	r0, r3
	bl	__uint16_identity
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L45+24
	strh	r2, [r3]	@ movhi
	ldr	r3, .L45+28
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #1
	ldr	r0, .L45+24
	bl	fwrite
	b	.L36
.L35:
	ldr	r3, .L45+8
	ldr	r3, [r3]
	ldr	r1, .L45+68
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L37
.L38:
	ldr	r0, [fp, #-12]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r0, [fp, #-12]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-12]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L45+40
	bl	fread
	mov	r3, r0
	ldr	r2, .L45+28
	str	r3, [r2]
	ldr	r3, .L45+40
	ldr	r3, [r3]
	mov	r0, r3
	bl	__bswap_32
	mov	r3, r0
	ldr	r2, .L45+40
	str	r3, [r2]
	ldr	r3, .L45+28
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #1
	ldr	r0, .L45+40
	bl	fwrite
	b	.L38
.L37:
	ldr	r3, .L45+8
	ldr	r3, [r3]
	ldr	r1, .L45+72
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
.L40:
	ldr	r0, [fp, #-12]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r0, [fp, #-12]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-12]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L45+40
	bl	fread
	mov	r3, r0
	ldr	r2, .L45+28
	str	r3, [r2]
	ldr	r3, .L45+40
	ldr	r3, [r3]
	mov	r0, r3
	bl	__uint32_identity
	mov	r3, r0
	ldr	r2, .L45+40
	str	r3, [r2]
	ldr	r3, .L45+28
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #1
	ldr	r0, .L45+40
	bl	fwrite
	b	.L40
.L39:
	ldr	r3, .L45+8
	ldr	r3, [r3]
	ldr	r1, .L45+76
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L41
.L42:
	ldr	r0, [fp, #-12]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r0, [fp, #-12]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-12]
	mov	r2, #8
	mov	r1, #1
	ldr	r0, .L45+52
	bl	fread
	mov	r3, r0
	ldr	r2, .L45+28
	str	r3, [r2]
	ldr	r3, .L45+52
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__bswap_64
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L45+52
	stm	r1, {r2-r3}
	ldr	r3, .L45+28
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #1
	ldr	r0, .L45+52
	bl	fwrite
	b	.L42
.L41:
	ldr	r3, .L45+8
	ldr	r3, [r3]
	ldr	r1, .L45+80
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L43
.L44:
	ldr	r0, [fp, #-12]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r0, [fp, #-12]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-12]
	mov	r2, #8
	mov	r1, #1
	ldr	r0, .L45+52
	bl	fread
	mov	r3, r0
	ldr	r2, .L45+28
	str	r3, [r2]
	ldr	r3, .L45+52
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__uint64_identity
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L45+52
	stm	r1, {r2-r3}
	ldr	r3, .L45+28
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #1
	ldr	r0, .L45+52
	bl	fwrite
	b	.L44
.L43:
	bl	usage
.L21:
	ldr	r0, [fp, #-12]
	bl	fclose
	ldr	r0, [fp, #-8]
	bl	fclose
	mov	r3, #0
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L46:
	.align	2
.L45:
	.word	stdin
	.word	stdout
	.word	progname
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	x16
	.word	x
	.word	.LC5
	.word	.LC6
	.word	x32
	.word	.LC7
	.word	.LC8
	.word	x64
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
