	.file	"745472.c"
	.intel_syntax noprefix
	.text
	.globl	out2
	.bss
	.align 32
	.type	out2, @object
	.size	out2, 2048
out2:
	.zero	2048
	.globl	b0
	.align 2
	.type	b0, @object
	.size	b0, 2
b0:
	.zero	2
	.globl	b1
	.align 2
	.type	b1, @object
	.size	b1, 2
b1:
	.zero	2
	.globl	b2
	.align 2
	.type	b2, @object
	.size	b2, 2
b2:
	.zero	2
	.globl	b3
	.align 2
	.type	b3, @object
	.size	b3, 2
b3:
	.zero	2
	.globl	b4
	.align 2
	.type	b4, @object
	.size	b4, 2
b4:
	.zero	2
	.globl	b5
	.align 2
	.type	b5, @object
	.size	b5, 2
b5:
	.zero	2
	.globl	b6
	.align 2
	.type	b6, @object
	.size	b6, 2
b6:
	.zero	2
	.globl	b7
	.align 2
	.type	b7, @object
	.size	b7, 2
b7:
	.zero	2
	.globl	b8
	.align 2
	.type	b8, @object
	.size	b8, 2
b8:
	.zero	2
	.text
	.globl	foo
	.type	foo, @function
foo:
.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, ecx
	mov	r11d, r8d
	mov	r10d, r9d
	mov	r9d, DWORD PTR 16[rbp]
	mov	r8d, DWORD PTR 24[rbp]
	mov	ecx, DWORD PTR 32[rbp]
	mov	WORD PTR -20[rbp], di
	mov	WORD PTR -24[rbp], si
	mov	WORD PTR -28[rbp], dx
	mov	WORD PTR -32[rbp], ax
	mov	eax, r11d
	mov	WORD PTR -36[rbp], ax
	mov	eax, r10d
	mov	WORD PTR -40[rbp], ax
	mov	eax, r9d
	mov	WORD PTR -44[rbp], ax
	mov	eax, r8d
	mov	WORD PTR -48[rbp], ax
	mov	eax, ecx
	mov	WORD PTR -52[rbp], ax
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 0[0+rax*4]
	movzx	eax, WORD PTR -20[rbp]
	lea	ecx, 8[rax]
	movsx	rax, edx
	lea	rdx, [rax+rax]
	lea	rax, out2[rip]
	mov	WORD PTR [rdx+rax], cx
	add	DWORD PTR -4[rbp], 1
.L2:
	cmp	DWORD PTR -4[rbp], 127
	jle	.L3
	mov	DWORD PTR -4[rbp], 0
	jmp	.L4
.L5:
	movzx	eax, WORD PTR -20[rbp]
	add	eax, 8
	mov	WORD PTR b0[rip], ax
	movzx	eax, WORD PTR -24[rbp]
	add	eax, 7
	mov	WORD PTR b1[rip], ax
	movzx	eax, WORD PTR -28[rbp]
	add	eax, 6
	mov	WORD PTR b2[rip], ax
	movzx	eax, WORD PTR -32[rbp]
	add	eax, 5
	mov	WORD PTR b3[rip], ax
	movzx	eax, WORD PTR -36[rbp]
	add	eax, 4
	mov	WORD PTR b4[rip], ax
	movzx	eax, WORD PTR -40[rbp]
	add	eax, 3
	mov	WORD PTR b5[rip], ax
	movzx	eax, WORD PTR -44[rbp]
	add	eax, 2
	mov	WORD PTR b6[rip], ax
	movzx	eax, WORD PTR -48[rbp]
	add	eax, 1
	mov	WORD PTR b7[rip], ax
	movzx	eax, WORD PTR -52[rbp]
	add	eax, 9
	mov	WORD PTR b8[rip], ax
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 0[0+rax*8]
	movzx	eax, WORD PTR b0[rip]
	movsx	rdx, edx
	lea	rcx, [rdx+rdx]
	lea	rdx, out2[rip]
	mov	WORD PTR [rcx+rdx], ax
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 3
	lea	edx, 1[rax]
	movzx	eax, WORD PTR b1[rip]
	movsx	rdx, edx
	lea	rcx, [rdx+rdx]
	lea	rdx, out2[rip]
	mov	WORD PTR [rcx+rdx], ax
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 3
	lea	edx, 2[rax]
	movzx	eax, WORD PTR b4[rip]
	movsx	rdx, edx
	lea	rcx, [rdx+rdx]
	lea	rdx, out2[rip]
	mov	WORD PTR [rcx+rdx], ax
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 3
	lea	edx, 3[rax]
	movzx	eax, WORD PTR b5[rip]
	movsx	rdx, edx
	lea	rcx, [rdx+rdx]
	lea	rdx, out2[rip]
	mov	WORD PTR [rcx+rdx], ax
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 3
	lea	edx, 4[rax]
	movzx	eax, WORD PTR b6[rip]
	movsx	rdx, edx
	lea	rcx, [rdx+rdx]
	lea	rdx, out2[rip]
	mov	WORD PTR [rcx+rdx], ax
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 3
	lea	edx, 5[rax]
	movzx	eax, WORD PTR b2[rip]
	movsx	rdx, edx
	lea	rcx, [rdx+rdx]
	lea	rdx, out2[rip]
	mov	WORD PTR [rcx+rdx], ax
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 3
	lea	edx, 6[rax]
	movzx	eax, WORD PTR b7[rip]
	movsx	rdx, edx
	lea	rcx, [rdx+rdx]
	lea	rdx, out2[rip]
	mov	WORD PTR [rcx+rdx], ax
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 3
	lea	edx, 7[rax]
	movzx	eax, WORD PTR b8[rip]
	movsx	rdx, edx
	lea	rcx, [rdx+rdx]
	lea	rdx, out2[rip]
	mov	WORD PTR [rcx+rdx], ax
	add	DWORD PTR -4[rbp], 1
.L4:
	cmp	DWORD PTR -4[rbp], 127
	jle	.L5
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	foo, .-foo
	.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	"745472.c"
	.text
	.comm	out2,2048,4
	.comm	b0,2,2
	.comm	b1,2,2
	.comm	b2,2,2
	.comm	b3,2,2
	.comm	b4,2,2
	.comm	b5,2,2
	.comm	b6,2,2
	.comm	b7,2,2
	.comm	b8,2,2
	.align	2
	.global	foo
	.syntax unified
	.arm
	.fpu softvfp
	.type	foo, %function
foo:
	@ args = 20, 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	ip, r0
	mov	r0, r1
	mov	r1, r2
	mov	r2, r3
	mov	r3, ip	@ movhi
	strh	r3, [fp, #-14]	@ movhi
	mov	r3, r0	@ movhi
	strh	r3, [fp, #-16]	@ movhi
	mov	r3, r1	@ movhi
	strh	r3, [fp, #-18]	@ movhi
	mov	r3, r2	@ movhi
	strh	r3, [fp, #-20]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldrh	r2, [fp, #-14]	@ movhi
	add	r2, r2, #8
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	ldr	r1, .L6
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #127
	ble	.L3
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L4
.L5:
	ldrh	r3, [fp, #-14]	@ movhi
	add	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L6+4
	strh	r3, [r2]	@ movhi
	ldrh	r3, [fp, #-16]	@ movhi
	add	r3, r3, #7
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L6+8
	strh	r3, [r2]	@ movhi
	ldrh	r3, [fp, #-18]	@ movhi
	add	r3, r3, #6
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L6+12
	strh	r3, [r2]	@ movhi
	ldrh	r3, [fp, #-20]	@ movhi
	add	r3, r3, #5
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L6+16
	strh	r3, [r2]	@ movhi
	ldrh	r3, [fp, #4]	@ movhi
	add	r3, r3, #4
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L6+20
	strh	r3, [r2]	@ movhi
	ldrh	r3, [fp, #8]	@ movhi
	add	r3, r3, #3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L6+24
	strh	r3, [r2]	@ movhi
	ldrh	r3, [fp, #12]	@ movhi
	add	r3, r3, #2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L6+28
	strh	r3, [r2]	@ movhi
	ldrh	r3, [fp, #16]	@ movhi
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L6+32
	strh	r3, [r2]	@ movhi
	ldrh	r3, [fp, #20]	@ movhi
	add	r3, r3, #9
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L6+36
	strh	r3, [r2]	@ movhi
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	ldr	r2, .L6+4
	ldrh	r2, [r2]
	ldr	r1, .L6
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r3, #1
	ldr	r2, .L6+8
	ldrh	r2, [r2]
	ldr	r1, .L6
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r3, #2
	ldr	r2, .L6+20
	ldrh	r2, [r2]
	ldr	r1, .L6
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r3, #3
	ldr	r2, .L6+24
	ldrh	r2, [r2]
	ldr	r1, .L6
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r3, #4
	ldr	r2, .L6+28
	ldrh	r2, [r2]
	ldr	r1, .L6
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r3, #5
	ldr	r2, .L6+12
	ldrh	r2, [r2]
	ldr	r1, .L6
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r3, #6
	ldr	r2, .L6+32
	ldrh	r2, [r2]
	ldr	r1, .L6
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r3, #7
	ldr	r2, .L6+36
	ldrh	r2, [r2]
	ldr	r1, .L6
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L4:
	ldr	r3, [fp, #-8]
	cmp	r3, #127
	ble	.L5
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L7:
	.align	2
.L6:
	.word	out2
	.word	b0
	.word	b1
	.word	b2
	.word	b3
	.word	b4
	.word	b5
	.word	b6
	.word	b7
	.word	b8
	.size	foo, .-foo
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
