	.file	"183721.c"
	.intel_syntax noprefix
	.text
	.globl	a
	.bss
	.align 8
	.type	a, @object
	.size	a, 8
a:
	.zero	8
	.globl	b
	.align 8
	.type	b, @object
	.size	b, 8
b:
	.zero	8
	.globl	e
	.align 8
	.type	e, @object
	.size	e, 8
e:
	.zero	8
	.globl	c
	.align 8
	.type	c, @object
	.size	c, 8
c:
	.zero	8
	.globl	d
	.align 8
	.type	d, @object
	.size	d, 8
d:
	.zero	8
	.text
	.globl	fn1
	.type	fn1, @function
fn1:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	jmp	.L2
.L7:
	mov	DWORD PTR -4[rbp], 2
	jmp	.L3
.L4:
	mov	rax, QWORD PTR d[rip]
	lea	rdx, 4[rax]
	mov	QWORD PTR d[rip], rdx
	mov	eax, DWORD PTR [rax]
	lea	edx, 511[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 9
	cdqe
	mov	QWORD PTR b[rip], rax
	mov	rax, QWORD PTR b[rip]
	mov	QWORD PTR a[rip], rax
	sub	DWORD PTR -4[rbp], 1
.L3:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L4
	mov	rax, QWORD PTR b[rip]
	test	rax, rax
	jne	.L5
	mov	rax, QWORD PTR a[rip]
	jmp	.L6
.L5:
	mov	eax, 8
.L6:
	mov	QWORD PTR b[rip], rax
	mov	rcx, QWORD PTR b[rip]
	mov	rax, QWORD PTR c[rip]
	lea	rdx, 2[rax]
	mov	QWORD PTR c[rip], rdx
	mov	edx, ecx
	mov	WORD PTR [rax], dx
	mov	rdx, QWORD PTR c[rip]
	lea	rcx, 2[rdx]
	mov	QWORD PTR c[rip], rcx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR [rdx], ax
	mov	rax, QWORD PTR e[rip]
	sub	rax, 1
	mov	QWORD PTR e[rip], rax
.L2:
	mov	rax, QWORD PTR e[rip]
	test	rax, rax
	jne	.L7
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	fn1, .-fn1
	.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	"183721.c"
	.text
	.comm	a,4,4
	.comm	b,4,4
	.comm	e,4,4
	.comm	c,4,4
	.comm	d,4,4
	.align	2
	.global	fn1
	.syntax unified
	.arm
	.fpu softvfp
	.type	fn1, %function
fn1:
	@ 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
	b	.L2
.L7:
	mov	r3, #2
	str	r3, [fp, #-8]
	b	.L3
.L4:
	ldr	r3, .L8
	ldr	r3, [r3]
	add	r2, r3, #4
	ldr	r1, .L8
	str	r2, [r1]
	ldr	r3, [r3]
	add	r2, r3, #508
	add	r2, r2, #3
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #9
	mov	r2, r3
	ldr	r3, .L8+4
	str	r2, [r3]
	ldr	r3, .L8+4
	ldr	r3, [r3]
	ldr	r2, .L8+8
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L3:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L8+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L8+8
	ldr	r3, [r3]
	b	.L6
.L5:
	mov	r3, #8
.L6:
	ldr	r2, .L8+4
	str	r3, [r2]
	ldr	r3, .L8+4
	ldr	r2, [r3]
	ldr	r3, .L8+12
	ldr	r3, [r3]
	add	r1, r3, #2
	ldr	r0, .L8+12
	str	r1, [r0]
	lsl	r2, r2, #16
	asr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r2, .L8+12
	ldr	r2, [r2]
	add	r1, r2, #2
	ldr	r0, .L8+12
	str	r1, [r0]
	ldrsh	r3, [r3]
	strh	r3, [r2]	@ movhi
	ldr	r3, .L8+16
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L8+16
	str	r3, [r2]
.L2:
	ldr	r3, .L8+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L7
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L9:
	.align	2
.L8:
	.word	d
	.word	b
	.word	a
	.word	c
	.word	e
	.size	fn1, .-fn1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
