	.file	"964142.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\n%d-bit input bytes\n%d-bit byte machine\n"
.LC1:
	.string	"=========================="
.LC2:
	.string	"next"
.LC3:
	.string	"this"
.LC4:
	.string	"off"
.LC5:
	.string	"byte"
.LC6:
	.string	"n"
.LC7:
	.string	"%3s: %4s %4s %4s %4s\n"
.LC8:
	.string	"%3d: %4d %4d %4d %4d %4d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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	edx, 11
	mov	esi, 8
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	r9, .LC2[rip]
	lea	r8, .LC3[rip]
	lea	rcx, .LC4[rip]
	lea	rdx, .LC5[rip]
	lea	rsi, .LC6[rip]
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 0[0+rax*8]
	movsx	rax, edx
	imul	rax, rax, 780903145
	shr	rax, 32
	sar	eax
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	mov	ecx, eax
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	add	eax, ecx
	mov	ecx, edx
	sub	ecx, eax
	mov	eax, 11
	sub	eax, ecx
	mov	edx, 8
	cmp	eax, 8
	cmovle	edx, eax
	mov	eax, 18
	sub	eax, edx
	movsx	rdx, eax
	imul	rdx, rdx, 780903145
	shr	rdx, 32
	sar	edx
	sar	eax, 31
	mov	edi, edx
	sub	edi, eax
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 0[0+rax*8]
	movsx	rax, edx
	imul	rax, rax, 780903145
	shr	rax, 32
	sar	eax
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	mov	ecx, eax
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	add	eax, ecx
	mov	ecx, edx
	sub	ecx, eax
	mov	eax, 11
	sub	eax, ecx
	mov	edx, 8
	cmp	eax, 8
	cmovg	eax, edx
	mov	edx, 8
	sub	edx, eax
	mov	r9d, edx
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 0[0+rax*8]
	movsx	rax, edx
	imul	rax, rax, 780903145
	shr	rax, 32
	sar	eax
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	mov	ecx, eax
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	add	eax, ecx
	mov	ecx, edx
	sub	ecx, eax
	mov	eax, 11
	sub	eax, ecx
	mov	edx, 8
	cmp	eax, 8
	cmovle	edx, eax
	mov	r8d, edx
	mov	eax, DWORD PTR -4[rbp]
	lea	ecx, 0[0+rax*8]
	movsx	rax, ecx
	imul	rax, rax, 780903145
	shr	rax, 32
	sar	eax
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	add	eax, edx
	sub	ecx, eax
	mov	edx, ecx
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 3
	movsx	rcx, eax
	imul	rcx, rcx, 780903145
	shr	rcx, 32
	sar	ecx
	sar	eax, 31
	mov	esi, ecx
	sub	esi, eax
	mov	eax, DWORD PTR -4[rbp]
	sub	rsp, 8
	push	rdi
	mov	ecx, edx
	mov	edx, esi
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	add	DWORD PTR -4[rbp], 1
.L2:
	cmp	DWORD PTR -4[rbp], 11
	jle	.L3
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"964142.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012%d-bit input bytes\012%d-bit byte machine\012\000"
	.align	2
.LC1:
	.ascii	"==========================\000"
	.align	2
.LC2:
	.ascii	"off\000"
	.align	2
.LC3:
	.ascii	"byte\000"
	.align	2
.LC4:
	.ascii	"n\000"
	.align	2
.LC5:
	.ascii	"%3s: %4s %4s %4s %4s\012\000"
	.align	2
.LC6:
	.ascii	"next\000"
	.align	2
.LC7:
	.ascii	"this\000"
	.align	2
.LC8:
	.ascii	"%3d: %4d %4d %4d %4d %4d\012\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	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r2, #11
	mov	r1, #8
	ldr	r0, .L5
	bl	printf
	ldr	r0, .L5+4
	bl	puts
	ldr	r3, .L5+8
	str	r3, [sp, #4]
	ldr	r3, .L5+12
	str	r3, [sp]
	ldr	r3, .L5+16
	ldr	r2, .L5+20
	ldr	r1, .L5+24
	ldr	r0, .L5+28
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L2
.L3:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	ldr	r2, .L5+32
	smull	r1, r2, r3, r2
	asr	r2, r2, #1
	asr	r3, r3, #31
	sub	r4, r2, r3
	ldr	r3, [fp, #-16]
	lsl	r2, r3, #3
	ldr	r3, .L5+32
	smull	r1, r3, r2, r3
	asr	r1, r3, #1
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	sub	r1, r2, r3
	ldr	r3, [fp, #-16]
	lsl	r0, r3, #3
	ldr	r3, .L5+32
	smull	r2, r3, r0, r3
	asr	r2, r3, #1
	asr	r3, r0, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, r0, r3
	rsb	r3, r2, #11
	cmp	r3, #8
	movlt	ip, r3
	movge	ip, #8
	ldr	r3, [fp, #-16]
	lsl	r0, r3, #3
	ldr	r3, .L5+32
	smull	r2, r3, r0, r3
	asr	r2, r3, #1
	asr	r3, r0, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, r0, r3
	rsb	r3, r2, #11
	cmp	r3, #8
	movlt	r3, r3
	movge	r3, #8
	rsb	lr, r3, #8
	ldr	r3, [fp, #-16]
	lsl	r0, r3, #3
	ldr	r3, .L5+32
	smull	r2, r3, r0, r3
	asr	r2, r3, #1
	asr	r3, r0, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, r0, r3
	rsb	r3, r2, #11
	cmp	r3, #8
	movlt	r3, r3
	movge	r3, #8
	rsb	r3, r3, #18
	ldr	r2, .L5+32
	smull	r0, r2, r3, r2
	asr	r2, r2, #1
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [sp, #8]
	str	lr, [sp, #4]
	str	ip, [sp]
	mov	r3, r1
	mov	r2, r4
	ldr	r1, [fp, #-16]
	ldr	r0, .L5+36
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r3, [fp, #-16]
	cmp	r3, #11
	ble	.L3
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.word	.LC1
	.word	.LC6
	.word	.LC7
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	780903145
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
