	.file	"161079416.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d "
	.text
	.globl	pyramid
	.type	pyramid, @function
pyramid:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	ecx, esi
	mov	eax, edx
	mov	edx, ecx
	mov	BYTE PTR -24[rbp], dl
	mov	BYTE PTR -28[rbp], al
	cmp	DWORD PTR -20[rbp], 0
	jle	.L15
	cmp	BYTE PTR -24[rbp], 105
	jne	.L4
	cmp	BYTE PTR -28[rbp], 100
	jne	.L4
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	sub	DWORD PTR -4[rbp], 1
.L5:
	cmp	DWORD PTR -4[rbp], 0
	jg	.L6
	mov	edi, 10
	call	putchar@PLT
	movsx	edx, BYTE PTR -28[rbp]
	movsx	eax, BYTE PTR -24[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	sub	ecx, 1
	mov	esi, eax
	mov	edi, ecx
	call	pyramid
	jmp	.L1
.L4:
	cmp	BYTE PTR -24[rbp], 105
	jne	.L7
	cmp	BYTE PTR -28[rbp], 97
	jne	.L7
	mov	DWORD PTR -4[rbp], 1
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L8:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L9
	mov	edi, 10
	call	putchar@PLT
	movsx	edx, BYTE PTR -28[rbp]
	movsx	eax, BYTE PTR -24[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	sub	ecx, 1
	mov	esi, eax
	mov	edi, ecx
	call	pyramid
	jmp	.L1
.L7:
	cmp	BYTE PTR -24[rbp], 110
	jne	.L10
	cmp	BYTE PTR -28[rbp], 100
	jne	.L10
	movsx	edx, BYTE PTR -28[rbp]
	movsx	eax, BYTE PTR -24[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	sub	ecx, 1
	mov	esi, eax
	mov	edi, ecx
	call	pyramid
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	sub	DWORD PTR -4[rbp], 1
.L11:
	cmp	DWORD PTR -4[rbp], 0
	jg	.L12
	mov	edi, 10
	call	putchar@PLT
	jmp	.L1
.L10:
	movsx	edx, BYTE PTR -28[rbp]
	movsx	eax, BYTE PTR -24[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	sub	ecx, 1
	mov	esi, eax
	mov	edi, ecx
	call	pyramid
	mov	DWORD PTR -4[rbp], 1
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L13:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L14
	mov	edi, 10
	call	putchar@PLT
	jmp	.L1
.L15:
	nop
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	pyramid, .-pyramid
	.section	.rodata
.LC1:
	.string	"\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edx, 97
	mov	esi, 110
	mov	edi, 4
	call	pyramid
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edx, 100
	mov	esi, 110
	mov	edi, 4
	call	pyramid
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edx, 97
	mov	esi, 105
	mov	edi, 4
	call	pyramid
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edx, 100
	mov	esi, 105
	mov	edi, 4
	call	pyramid
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"161079416.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d \000"
	.text
	.align	2
	.global	pyramid
	.syntax unified
	.arm
	.fpu softvfp
	.type	pyramid, %function
pyramid:
	@ 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]
	mov	r3, r1
	strb	r3, [fp, #-17]
	mov	r3, r2
	strb	r3, [fp, #-18]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L15
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #105
	bne	.L4
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	cmp	r3, #100
	bne	.L4
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	b	.L5
.L6:
	ldr	r1, [fp, #-8]
	ldr	r0, .L16
	bl	printf
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L5:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L6
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldrb	r2, [fp, #-18]	@ zero_extendqisi2
	ldrb	r1, [fp, #-17]	@ zero_extendqisi2
	mov	r0, r3
	bl	pyramid
	b	.L1
.L4:
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #105
	bne	.L7
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	cmp	r3, #97
	bne	.L7
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L8
.L9:
	ldr	r1, [fp, #-8]
	ldr	r0, .L16
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L8:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	ble	.L9
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldrb	r2, [fp, #-18]	@ zero_extendqisi2
	ldrb	r1, [fp, #-17]	@ zero_extendqisi2
	mov	r0, r3
	bl	pyramid
	b	.L1
.L7:
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #110
	bne	.L10
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	cmp	r3, #100
	bne	.L10
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldrb	r2, [fp, #-18]	@ zero_extendqisi2
	ldrb	r1, [fp, #-17]	@ zero_extendqisi2
	mov	r0, r3
	bl	pyramid
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	b	.L11
.L12:
	ldr	r1, [fp, #-8]
	ldr	r0, .L16
	bl	printf
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L11:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L12
	mov	r0, #10
	bl	putchar
	b	.L1
.L10:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldrb	r2, [fp, #-18]	@ zero_extendqisi2
	ldrb	r1, [fp, #-17]	@ zero_extendqisi2
	mov	r0, r3
	bl	pyramid
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L13
.L14:
	ldr	r1, [fp, #-8]
	ldr	r0, .L16
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L13:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	ble	.L14
	mov	r0, #10
	bl	putchar
	b	.L1
.L15:
	nop
.L1:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC0
	.size	pyramid, .-pyramid
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\012\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
	mov	r2, #97
	mov	r1, #110
	mov	r0, #4
	bl	pyramid
	ldr	r0, .L20
	bl	puts
	mov	r2, #100
	mov	r1, #110
	mov	r0, #4
	bl	pyramid
	ldr	r0, .L20
	bl	puts
	mov	r2, #97
	mov	r1, #105
	mov	r0, #4
	bl	pyramid
	ldr	r0, .L20
	bl	puts
	mov	r2, #100
	mov	r1, #105
	mov	r0, #4
	bl	pyramid
	ldr	r0, .L20
	bl	puts
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
