	.file	"358864.c"
	.intel_syntax noprefix
	.text
	.globl	my_bswap16
	.type	my_bswap16, @function
my_bswap16:
.LFB0:
	.cfi_startproc
	endbr64
	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 -20[rbp], ax
	mov	WORD PTR -6[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	sal	WORD PTR -6[rbp], 8
	movzx	edx, WORD PTR -20[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	movzx	edx, al
	movzx	eax, WORD PTR -6[rbp]
	or	eax, edx
	mov	WORD PTR -6[rbp], ax
	add	DWORD PTR -4[rbp], 8
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, 15
	jbe	.L3
	movzx	eax, WORD PTR -6[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	my_bswap16, .-my_bswap16
	.globl	my_bswap32
	.type	my_bswap32, @function
my_bswap32:
.LFB1:
	.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	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L6
.L7:
	sal	DWORD PTR -8[rbp], 8
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	ecx, eax
	shr	edx, cl
	mov	eax, edx
	movzx	eax, al
	or	DWORD PTR -8[rbp], eax
	add	DWORD PTR -4[rbp], 8
.L6:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, 31
	jbe	.L7
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	my_bswap32, .-my_bswap32
	.globl	my_bswap64
	.type	my_bswap64, @function
my_bswap64:
.LFB2:
	.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 -24[rbp], rdi
	mov	QWORD PTR -8[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L10
.L11:
	sal	QWORD PTR -8[rbp], 8
	mov	eax, DWORD PTR -12[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	ecx, eax
	shr	rdx, cl
	mov	rax, rdx
	movzx	eax, al
	or	QWORD PTR -8[rbp], rax
	add	DWORD PTR -12[rbp], 8
.L10:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 63
	jbe	.L11
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	my_bswap64, .-my_bswap64
	.globl	uint16_ts
	.data
	.align 2
	.type	uint16_ts, @object
	.size	uint16_ts, 6
uint16_ts:
	.value	0
	.value	4386
	.value	-1
	.globl	uint32_ts
	.align 8
	.type	uint32_ts, @object
	.size	uint32_ts, 12
uint32_ts:
	.long	0
	.long	287454020
	.long	-1
	.globl	uint64_ts
	.align 16
	.type	uint64_ts, @object
	.size	uint64_ts, 24
uint64_ts:
	.quad	0
	.quad	1234605616436508552
	.quad	-1
	.text
	.globl	main
	.type	main, @function
main:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	DWORD PTR -20[rbp], 0
	jmp	.L14
.L16:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, uint16_ts[rip]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	mov	ebx, eax
	rol	bx, 8
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, uint16_ts[rip]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	mov	edi, eax
	call	my_bswap16
	cmp	bx, ax
	je	.L15
	call	abort@PLT
.L15:
	add	DWORD PTR -20[rbp], 1
.L14:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 2
	jbe	.L16
	mov	DWORD PTR -20[rbp], 0
	jmp	.L17
.L19:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, uint32_ts[rip]
	mov	eax, DWORD PTR [rdx+rax]
	bswap	eax
	mov	ebx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, uint32_ts[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edi, eax
	call	my_bswap32
	cmp	ebx, eax
	je	.L18
	call	abort@PLT
.L18:
	add	DWORD PTR -20[rbp], 1
.L17:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 2
	jbe	.L19
	mov	DWORD PTR -20[rbp], 0
	jmp	.L20
.L22:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, uint64_ts[rip]
	mov	rax, QWORD PTR [rdx+rax]
	bswap	rax
	mov	rbx, rax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, uint64_ts[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdi, rax
	call	my_bswap64
	cmp	rbx, rax
	je	.L21
	call	abort@PLT
.L21:
	add	DWORD PTR -20[rbp], 1
.L20:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 2
	jbe	.L22
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.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	"358864.c"
	.text
	.align	2
	.global	my_bswap16
	.syntax unified
	.arm
	.fpu softvfp
	.type	my_bswap16, %function
my_bswap16:
	@ 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
	mov	r3, r0
	strh	r3, [fp, #-14]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-10]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldrh	r3, [fp, #-10]	@ movhi
	lsl	r3, r3, #8
	strh	r3, [fp, #-10]	@ movhi
	ldrh	r2, [fp, #-14]
	ldr	r3, [fp, #-8]
	asr	r3, r2, r3
	lsl	r3, r3, #16
	asr	r3, r3, #16
	and	r3, r3, #255
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldrsh	r3, [fp, #-10]
	orr	r3, r2, r3
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-10]	@ movhi
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #15
	bls	.L3
	ldrh	r3, [fp, #-10]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	my_bswap16, .-my_bswap16
	.align	2
	.global	my_bswap32
	.syntax unified
	.arm
	.fpu softvfp
	.type	my_bswap32, %function
my_bswap32:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L6
.L7:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #8
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	lsr	r3, r2, r3
	and	r3, r3, #255
	ldr	r2, [fp, #-12]
	orr	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	str	r3, [fp, #-8]
.L6:
	ldr	r3, [fp, #-8]
	cmp	r3, #31
	bls	.L7
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	my_bswap32, .-my_bswap32
	.align	2
	.global	my_bswap64
	.syntax unified
	.arm
	.fpu softvfp
	.type	my_bswap64, %function
my_bswap64:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #24
	str	r0, [fp, #-52]
	str	r1, [fp, #-48]
	mov	r0, #0
	mov	r1, #0
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	mov	r1, #0
	str	r1, [fp, #-40]
	b	.L10
.L11:
	sub	r7, fp, #36
	ldmia	r7, {r6-r7}
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r7, #8
	orr	r1, r1, r6, lsr #24
	lsl	r0, r6, #8
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	ip, [fp, #-40]
	rsb	r6, ip, #32
	sub	lr, ip, #32
	lsr	r2, r0, ip
	orr	r2, r2, r1, lsl r6
	orr	r2, r2, r1, lsr lr
	lsr	r3, r1, ip
	mov	r0, #255
	mov	r1, #0
	and	r4, r2, r0
	and	r5, r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	orr	r8, r0, r4
	orr	r9, r1, r5
	str	r8, [fp, #-36]
	str	r9, [fp, #-32]
	ldr	r1, [fp, #-40]
	add	r1, r1, #8
	str	r1, [fp, #-40]
.L10:
	ldr	r1, [fp, #-40]
	cmp	r1, #63
	bls	.L11
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
	.size	my_bswap64, .-my_bswap64
	.global	uint16_ts
	.data
	.align	2
	.type	uint16_ts, %object
	.size	uint16_ts, 6
uint16_ts:
	.short	0
	.short	4386
	.short	-1
	.global	uint32_ts
	.align	2
	.type	uint32_ts, %object
	.size	uint32_ts, 12
uint32_ts:
	.word	0
	.word	287454020
	.word	-1
	.global	uint64_ts
	.align	3
	.type	uint64_ts, %object
	.size	uint64_ts, 24
uint64_ts:
	.word	0
	.word	0
	.word	1432778632
	.word	287454020
	.word	-1
	.word	-1
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L14
.L16:
	ldr	r2, .L24
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	lsl	r2, r3, #8
	lsr	r3, r3, #8
	orr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r4, r3, #16
	ldr	r2, .L24
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	mov	r0, r3
	bl	my_bswap16
	mov	r3, r0
	cmp	r4, r3
	beq	.L15
	bl	abort
.L15:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L14:
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	bls	.L16
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L17
.L19:
	ldr	r2, .L24+4
	ldr	r3, [fp, #-16]
	ldr	r2, [r2, r3, lsl #2]
	eor	r3, r2, r2, ror #16
	lsr	r3, r3, #8
	ror	r2, r2, #8
	bic	r3, r3, #65280
	eor	r4, r2, r3
	ldr	r2, .L24+4
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	my_bswap32
	mov	r3, r0
	cmp	r4, r3
	beq	.L18
	bl	abort
.L18:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L17:
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	bls	.L19
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L20
.L22:
	ldr	r2, .L24+8
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	eor	r1, r2, r2, ror #16
	lsr	r1, r1, #8
	ror	r0, r2, #8
	bic	r1, r1, #65280
	eor	r0, r0, r1
	eor	r1, r3, r3, ror #16
	lsr	r1, r1, #8
	ror	r3, r3, #8
	bic	r1, r1, #65280
	eor	r3, r3, r1
	mov	r4, r3
	mov	r5, r0
	ldr	r2, .L24+8
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	my_bswap64
	mov	r2, r0
	mov	r3, r1
	cmp	r5, r3
	cmpeq	r4, r2
	beq	.L21
	bl	abort
.L21:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L20:
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	bls	.L22
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L25:
	.align	2
.L24:
	.word	uint16_ts
	.word	uint32_ts
	.word	uint64_ts
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
