	.file	"110987.c"
	.intel_syntax noprefix
	.text
	.globl	a
	.bss
	.align 32
	.type	a, @object
	.size	a, 210056
a:
	.zero	210056
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	c
	.data
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.long	52514
	.globl	d
	.bss
	.align 4
	.type	d, @object
	.size	d, 4
d:
	.zero	4
	.globl	e
	.align 4
	.type	e, @object
	.size	e, 4
e:
	.zero	4
	.globl	f
	.data
	.align 4
	.type	f, @object
	.size	f, 4
f:
	.long	10000
	.globl	g
	.bss
	.align 4
	.type	g, @object
	.size	g, 4
g:
	.zero	4
	.globl	h
	.align 4
	.type	h, @object
	.size	h, 4
h:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%04d"
	.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
	jmp	.L2
.L7:
	mov	eax, DWORD PTR d[rip]
	mov	ecx, DWORD PTR f[rip]
	cdq
	idiv	ecx
	mov	eax, edx
	mov	DWORD PTR d[rip], eax
	mov	eax, DWORD PTR d[rip]
	mov	DWORD PTR e[rip], eax
	jmp	.L3
.L6:
	mov	edx, DWORD PTR d[rip]
	mov	eax, DWORD PTR b[rip]
	mov	ecx, edx
	imul	ecx, eax
	mov	eax, DWORD PTR h[rip]
	test	eax, eax
	je	.L4
	mov	eax, DWORD PTR b[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	eax, DWORD PTR [rdx+rax]
	jmp	.L5
.L4:
	mov	eax, DWORD PTR f[rip]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx
	sar	eax, 31
	mov	esi, eax
	mov	eax, edx
	sub	eax, esi
.L5:
	mov	edx, DWORD PTR f[rip]
	imul	eax, edx
	add	eax, ecx
	mov	DWORD PTR d[rip], eax
	mov	eax, DWORD PTR d[rip]
	mov	edx, DWORD PTR g[rip]
	sub	edx, 1
	mov	DWORD PTR g[rip], edx
	mov	esi, DWORD PTR g[rip]
	mov	ecx, DWORD PTR b[rip]
	cdq
	idiv	esi
	mov	esi, edx
	movsx	rax, ecx
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	DWORD PTR [rdx+rax], esi
	mov	eax, DWORD PTR d[rip]
	mov	edi, DWORD PTR g[rip]
	cdq
	idiv	edi
	mov	DWORD PTR d[rip], eax
.L3:
	mov	eax, DWORD PTR b[rip]
	sub	eax, 1
	mov	DWORD PTR b[rip], eax
	mov	eax, DWORD PTR b[rip]
	add	eax, eax
	mov	DWORD PTR g[rip], eax
	mov	eax, DWORD PTR g[rip]
	test	eax, eax
	jne	.L6
	mov	eax, DWORD PTR d[rip]
	mov	edi, DWORD PTR f[rip]
	cdq
	idiv	edi
	mov	edx, eax
	mov	eax, DWORD PTR e[rip]
	add	eax, edx
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR h[rip], eax
.L2:
	mov	eax, DWORD PTR c[rip]
	sub	eax, 14
	mov	DWORD PTR c[rip], eax
	mov	eax, DWORD PTR c[rip]
	mov	DWORD PTR b[rip], eax
	mov	eax, DWORD PTR b[rip]
	test	eax, eax
	jne	.L7
	mov	eax, 0
	pop	rbp
	.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	"110987.c"
	.text
	.comm	a,210056,4
	.comm	b,4,4
	.global	c
	.data
	.align	2
	.type	c, %object
	.size	c, 4
c:
	.word	52514
	.comm	d,4,4
	.comm	e,4,4
	.global	f
	.align	2
	.type	f, %object
	.size	f, 4
f:
	.word	10000
	.comm	g,4,4
	.comm	h,4,4
	.global	__aeabi_idivmod
	.global	__aeabi_idiv
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%04d\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	b	.L2
.L7:
	ldr	r3, .L9
	ldr	r3, [r3]
	ldr	r2, .L9+4
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, .L9
	str	r2, [r3]
	ldr	r3, .L9
	ldr	r3, [r3]
	ldr	r2, .L9+8
	str	r3, [r2]
	b	.L3
.L6:
	ldr	r3, .L9
	ldr	r3, [r3]
	ldr	r2, .L9+12
	ldr	r2, [r2]
	mul	r2, r3, r2
	ldr	r3, .L9+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L9+12
	ldr	r3, [r3]
	ldr	r1, .L9+20
	ldr	r3, [r1, r3, lsl #2]
	b	.L5
.L4:
	ldr	r3, .L9+4
	ldr	r3, [r3]
	ldr	r1, .L9+24
	smull	r0, r1, r3, r1
	asr	r1, r1, #1
	asr	r3, r3, #31
	sub	r3, r1, r3
.L5:
	ldr	r1, .L9+4
	ldr	r1, [r1]
	mul	r3, r1, r3
	add	r3, r2, r3
	ldr	r2, .L9
	str	r3, [r2]
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, .L9+28
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r1, .L9+28
	str	r3, [r1]
	ldr	r3, .L9+28
	ldr	r3, [r3]
	ldr	r1, .L9+12
	ldr	r4, [r1]
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, .L9+20
	str	r2, [r3, r4, lsl #2]
	ldr	r3, .L9
	ldr	r3, [r3]
	ldr	r2, .L9+28
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L9
	str	r2, [r3]
.L3:
	ldr	r3, .L9+12
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L9+12
	str	r3, [r2]
	ldr	r3, .L9+12
	ldr	r3, [r3]
	lsl	r3, r3, #1
	ldr	r2, .L9+28
	str	r3, [r2]
	ldr	r3, .L9+28
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L6
	ldr	r3, .L9
	ldr	r3, [r3]
	ldr	r2, .L9+4
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L9+8
	ldr	r3, [r3]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L9+32
	bl	printf
	mov	r3, r0
	ldr	r2, .L9+16
	str	r3, [r2]
.L2:
	ldr	r3, .L9+36
	ldr	r3, [r3]
	sub	r3, r3, #14
	ldr	r2, .L9+36
	str	r3, [r2]
	ldr	r3, .L9+36
	ldr	r3, [r3]
	ldr	r2, .L9+12
	str	r3, [r2]
	ldr	r3, .L9+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L7
	mov	r3, #0
	mov	r0, r3
	pop	{r4, r5, fp, pc}
.L10:
	.align	2
.L9:
	.word	d
	.word	f
	.word	e
	.word	b
	.word	h
	.word	a
	.word	1717986919
	.word	g
	.word	.LC0
	.word	c
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
