	.file	"1218558.c"
	.intel_syntax noprefix
	.text
	.globl	a
	.bss
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	b
	.data
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.long	10
	.globl	c
	.bss
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.zero	4
	.globl	d
	.align 4
	.type	d, @object
	.size	d, 4
d:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d %d %d\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, 16
	mov	eax, DWORD PTR b[rip]
	sub	eax, 5
	mov	DWORD PTR c[rip], eax
	lea	rsi, d[rip]
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR b[rip]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	mov	DWORD PTR b[rip], eax
	mov	eax, DWORD PTR d[rip]
	sub	eax, 20
	mov	DWORD PTR -8[rbp], eax
	mov	edi, DWORD PTR c[rip]
	mov	eax, DWORD PTR -8[rbp]
	cdq
	idiv	edi
	mov	DWORD PTR a[rip], eax
	mov	eax, DWORD PTR a[rip]
	sub	eax, 2
	mov	DWORD PTR a[rip], eax
	mov	eax, DWORD PTR b[rip]
	sub	eax, 13
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR d[rip]
	cdq
	shr	edx, 30
	add	eax, edx
	and	eax, 3
	sub	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR c[rip], eax
	mov	esi, DWORD PTR d[rip]
	mov	ecx, DWORD PTR c[rip]
	mov	edx, DWORD PTR b[rip]
	mov	eax, DWORD PTR a[rip]
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	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	"1218558.c"
	.text
	.comm	a,4,4
	.global	b
	.data
	.align	2
	.type	b, %object
	.size	b, 4
b:
	.word	10
	.comm	c,4,4
	.comm	d,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.global	__aeabi_idiv
	.align	2
.LC1:
	.ascii	"%d %d %d %d\012\000"
	.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	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L3
	ldr	r3, [r3]
	sub	r3, r3, #5
	ldr	r2, .L3+4
	str	r3, [r2]
	ldr	r1, .L3+8
	ldr	r0, .L3+12
	bl	__isoc99_scanf
	ldr	r3, .L3
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, .L3
	str	r3, [r2]
	ldr	r3, .L3+8
	ldr	r3, [r3]
	sub	r3, r3, #20
	str	r3, [fp, #-12]
	ldr	r3, .L3+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L3+16
	str	r2, [r3]
	ldr	r3, .L3+16
	ldr	r3, [r3]
	sub	r3, r3, #2
	ldr	r2, .L3+16
	str	r3, [r2]
	ldr	r3, .L3
	ldr	r3, [r3]
	sub	r3, r3, #13
	str	r3, [fp, #-12]
	ldr	r3, .L3+8
	ldr	r3, [r3]
	rsbs	r2, r3, #0
	and	r3, r3, #3
	and	r2, r2, #3
	rsbpl	r3, r2, #0
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	ldr	r2, .L3+4
	str	r3, [r2]
	ldr	r3, .L3+16
	ldr	r1, [r3]
	ldr	r3, .L3
	ldr	r2, [r3]
	ldr	r3, .L3+4
	ldr	r0, [r3]
	ldr	r3, .L3+8
	ldr	r3, [r3]
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L3+20
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	b
	.word	c
	.word	d
	.word	.LC0
	.word	a
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
