	.file	"103264805.c"
	.intel_syntax noprefix
	.text
	.globl	sequence
	.bss
	.align 32
	.type	sequence, @object
	.size	sequence, 400
sequence:
	.zero	400
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.section	.rodata
.LC0:
	.string	"n: "
.LC1:
	.string	"%d"
.LC2:
	.string	"n must be between 1 and %d"
	.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
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, n[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR n[rip]
	test	eax, eax
	jle	.L2
	mov	eax, DWORD PTR n[rip]
	cmp	eax, 100
	jle	.L3
.L2:
	mov	esi, 100
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L4
.L3:
	mov	eax, DWORD PTR n[rip]
	mov	edi, eax
	call	papierschnitt
	mov	eax, 0
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	papierschnitt
	.type	papierschnitt, @function
papierschnitt:
.LFB1:
	.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	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, 0
	mov	edi, eax
	call	papierschnitt_rec
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	papierschnitt, .-papierschnitt
	.section	.rodata
.LC3:
	.string	"%d = %d"
.LC4:
	.string	" + %d"
	.text
	.globl	papierschnitt_rec
	.type	papierschnitt_rec, @function
papierschnitt_rec:
.LFB2:
	.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	DWORD PTR -24[rbp], esi
	cmp	DWORD PTR -20[rbp], 0
	jne	.L7
	mov	edx, DWORD PTR sequence[rip]
	mov	eax, DWORD PTR n[rip]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 1
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sequence[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L8:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jl	.L9
	mov	edi, 10
	call	putchar@PLT
	jmp	.L6
.L7:
	cmp	DWORD PTR -20[rbp], 1
	jle	.L11
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sequence[rip]
	mov	DWORD PTR [rdx+rax], 2
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 2
	mov	esi, edx
	mov	edi, eax
	call	papierschnitt_rec
.L11:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sequence[rip]
	mov	DWORD PTR [rdx+rax], 1
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	esi, edx
	mov	edi, eax
	call	papierschnitt_rec
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	papierschnitt_rec, .-papierschnitt_rec
	.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	"103264805.c"
	.text
	.comm	sequence,400,4
	.comm	n,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"n: \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"n must be between 1 and %d\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	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L5
	bl	printf
	ldr	r1, .L5+4
	ldr	r0, .L5+8
	bl	__isoc99_scanf
	ldr	r3, .L5+4
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L2
	ldr	r3, .L5+4
	ldr	r3, [r3]
	cmp	r3, #100
	ble	.L3
.L2:
	mov	r1, #100
	ldr	r0, .L5+12
	bl	printf
	mov	r3, #0
	b	.L4
.L3:
	ldr	r3, .L5+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	papierschnitt
	mov	r3, #0
.L4:
	mov	r0, r3
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.word	n
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.align	2
	.global	papierschnitt
	.syntax unified
	.arm
	.fpu softvfp
	.type	papierschnitt, %function
papierschnitt:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	papierschnitt_rec
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	papierschnitt, .-papierschnitt
	.section	.rodata
	.align	2
.LC3:
	.ascii	"%d = %d\000"
	.align	2
.LC4:
	.ascii	" + %d\000"
	.text
	.align	2
	.global	papierschnitt_rec
	.syntax unified
	.arm
	.fpu softvfp
	.type	papierschnitt_rec, %function
papierschnitt_rec:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L9
	ldr	r3, .L14
	ldr	r3, [r3]
	ldr	r2, .L14+4
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L14+8
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L10
.L11:
	ldr	r2, .L14+4
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L14+12
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L10:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L11
	mov	r0, #10
	bl	putchar
	b	.L8
.L9:
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	ble	.L13
	ldr	r2, .L14+4
	ldr	r3, [fp, #-20]
	mov	r1, #2
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-16]
	sub	r2, r3, #2
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	papierschnitt_rec
.L13:
	ldr	r2, .L14+4
	ldr	r3, [fp, #-20]
	mov	r1, #1
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-16]
	sub	r2, r3, #1
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	papierschnitt_rec
.L8:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	n
	.word	sequence
	.word	.LC3
	.word	.LC4
	.size	papierschnitt_rec, .-papierschnitt_rec
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
