	.file	"366204.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"/-\\"
.LC1:
	.string	"|/-\\"
.LC2:
	.string	"/\\"
.LC3:
	.string	"|"
.LC4:
	.string	"/"
.LC5:
	.string	"-"
.LC6:
	.string	"\\"
.LC7:
	.string	"\\-/"
.LC8:
	.string	"|\\-/"
.LC9:
	.string	"\\/"
	.text
	.globl	cornice
	.type	cornice, @function
cornice:
.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	edx, edi
	mov	eax, esi
	mov	BYTE PTR -20[rbp], dl
	mov	BYTE PTR -24[rbp], al
	cmp	BYTE PTR -24[rbp], 0
	je	.L2
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	BYTE PTR -2[rbp], 1
	jmp	.L3
.L4:
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR -2[rbp]
	add	eax, 1
	mov	BYTE PTR -2[rbp], al
.L3:
	movzx	eax, BYTE PTR -2[rbp]
	cmp	al, BYTE PTR -24[rbp]
	jb	.L4
	mov	edi, 10
	call	putchar@PLT
	jmp	.L5
.L2:
	cmp	BYTE PTR -24[rbp], 0
	jne	.L5
	cmp	BYTE PTR -20[rbp], 0
	je	.L5
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L5:
	cmp	BYTE PTR -20[rbp], 1
	jbe	.L6
	mov	edi, 124
	call	putchar@PLT
	mov	BYTE PTR -1[rbp], 0
	jmp	.L7
.L8:
	mov	edi, 32
	call	putchar@PLT
	movzx	eax, BYTE PTR -1[rbp]
	add	eax, 1
	mov	BYTE PTR -1[rbp], al
.L7:
	movzx	ecx, BYTE PTR -1[rbp]
	movzx	edx, BYTE PTR -24[rbp]
	mov	eax, edx
	add	eax, eax
	add	edx, eax
	movzx	eax, BYTE PTR -24[rbp]
	sub	eax, 1
	add	eax, edx
	sub	eax, 2
	cmp	ecx, eax
	jl	.L8
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 92
	call	putchar@PLT
	mov	BYTE PTR -1[rbp], 0
	jmp	.L9
.L10:
	mov	edi, 32
	call	putchar@PLT
	movzx	eax, BYTE PTR -1[rbp]
	add	eax, 1
	mov	BYTE PTR -1[rbp], al
.L9:
	movzx	ecx, BYTE PTR -1[rbp]
	movzx	edx, BYTE PTR -24[rbp]
	mov	eax, edx
	add	eax, eax
	add	edx, eax
	movzx	eax, BYTE PTR -24[rbp]
	sub	eax, 1
	add	eax, edx
	sub	eax, 2
	cmp	ecx, eax
	jl	.L10
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	BYTE PTR -2[rbp], 1
	jmp	.L11
.L20:
	mov	edi, 45
	call	putchar@PLT
	mov	BYTE PTR -1[rbp], 0
	jmp	.L12
.L13:
	mov	edi, 32
	call	putchar@PLT
	movzx	eax, BYTE PTR -1[rbp]
	add	eax, 1
	mov	BYTE PTR -1[rbp], al
.L12:
	movzx	ecx, BYTE PTR -1[rbp]
	movzx	edx, BYTE PTR -24[rbp]
	mov	eax, edx
	add	eax, eax
	add	edx, eax
	movzx	eax, BYTE PTR -24[rbp]
	sub	eax, 1
	add	eax, edx
	sub	eax, 2
	cmp	ecx, eax
	jl	.L13
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	edi, 47
	call	putchar@PLT
	mov	BYTE PTR -1[rbp], 0
	jmp	.L14
.L15:
	mov	edi, 32
	call	putchar@PLT
	movzx	eax, BYTE PTR -1[rbp]
	add	eax, 1
	mov	BYTE PTR -1[rbp], al
.L14:
	movzx	ecx, BYTE PTR -1[rbp]
	movzx	edx, BYTE PTR -24[rbp]
	mov	eax, edx
	add	eax, eax
	add	edx, eax
	movzx	eax, BYTE PTR -24[rbp]
	sub	eax, 1
	add	eax, edx
	sub	eax, 2
	cmp	ecx, eax
	jl	.L15
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	edi, 124
	call	putchar@PLT
	mov	BYTE PTR -1[rbp], 0
	jmp	.L16
.L17:
	mov	edi, 32
	call	putchar@PLT
	movzx	eax, BYTE PTR -1[rbp]
	add	eax, 1
	mov	BYTE PTR -1[rbp], al
.L16:
	movzx	ecx, BYTE PTR -1[rbp]
	movzx	edx, BYTE PTR -24[rbp]
	mov	eax, edx
	add	eax, eax
	add	edx, eax
	movzx	eax, BYTE PTR -24[rbp]
	sub	eax, 1
	add	eax, edx
	sub	eax, 2
	cmp	ecx, eax
	jl	.L17
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 92
	call	putchar@PLT
	mov	BYTE PTR -1[rbp], 0
	jmp	.L18
.L19:
	mov	edi, 32
	call	putchar@PLT
	movzx	eax, BYTE PTR -1[rbp]
	add	eax, 1
	mov	BYTE PTR -1[rbp], al
.L18:
	movzx	ecx, BYTE PTR -1[rbp]
	movzx	edx, BYTE PTR -24[rbp]
	mov	eax, edx
	add	eax, eax
	add	edx, eax
	movzx	eax, BYTE PTR -24[rbp]
	sub	eax, 1
	add	eax, edx
	sub	eax, 2
	cmp	ecx, eax
	jl	.L19
	lea	rdi, .LC4[rip]
	call	puts@PLT
	movzx	eax, BYTE PTR -2[rbp]
	add	eax, 1
	mov	BYTE PTR -2[rbp], al
.L11:
	movzx	eax, BYTE PTR -2[rbp]
	movzx	edx, BYTE PTR -20[rbp]
	sub	edx, 1
	cmp	eax, edx
	jl	.L20
	mov	edi, 45
	call	putchar@PLT
	mov	BYTE PTR -1[rbp], 0
	jmp	.L21
.L22:
	mov	edi, 32
	call	putchar@PLT
	movzx	eax, BYTE PTR -1[rbp]
	add	eax, 1
	mov	BYTE PTR -1[rbp], al
.L21:
	movzx	ecx, BYTE PTR -1[rbp]
	movzx	edx, BYTE PTR -24[rbp]
	mov	eax, edx
	add	eax, eax
	add	edx, eax
	movzx	eax, BYTE PTR -24[rbp]
	sub	eax, 1
	add	eax, edx
	sub	eax, 2
	cmp	ecx, eax
	jl	.L22
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	edi, 47
	call	putchar@PLT
	mov	BYTE PTR -1[rbp], 0
	jmp	.L23
.L24:
	mov	edi, 32
	call	putchar@PLT
	movzx	eax, BYTE PTR -1[rbp]
	add	eax, 1
	mov	BYTE PTR -1[rbp], al
.L23:
	movzx	ecx, BYTE PTR -1[rbp]
	movzx	edx, BYTE PTR -24[rbp]
	mov	eax, edx
	add	eax, eax
	add	edx, eax
	movzx	eax, BYTE PTR -24[rbp]
	sub	eax, 1
	add	eax, edx
	sub	eax, 2
	cmp	ecx, eax
	jl	.L24
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	edi, 124
	call	putchar@PLT
	mov	BYTE PTR -1[rbp], 0
	jmp	.L25
.L26:
	mov	edi, 32
	call	putchar@PLT
	movzx	eax, BYTE PTR -1[rbp]
	add	eax, 1
	mov	BYTE PTR -1[rbp], al
.L25:
	movzx	ecx, BYTE PTR -1[rbp]
	movzx	edx, BYTE PTR -24[rbp]
	mov	eax, edx
	add	eax, eax
	add	edx, eax
	movzx	eax, BYTE PTR -24[rbp]
	sub	eax, 1
	add	eax, edx
	sub	eax, 2
	cmp	ecx, eax
	jl	.L26
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L27
.L6:
	mov	BYTE PTR -20[rbp], 1
	mov	edi, 124
	call	putchar@PLT
	mov	BYTE PTR -1[rbp], 0
	jmp	.L28
.L29:
	mov	edi, 32
	call	putchar@PLT
	movzx	eax, BYTE PTR -1[rbp]
	add	eax, 1
	mov	BYTE PTR -1[rbp], al
.L28:
	movzx	ecx, BYTE PTR -1[rbp]
	movzx	edx, BYTE PTR -24[rbp]
	mov	eax, edx
	add	eax, eax
	add	edx, eax
	movzx	eax, BYTE PTR -24[rbp]
	sub	eax, 1
	add	eax, edx
	sub	eax, 2
	cmp	ecx, eax
	jl	.L29
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L27:
	cmp	BYTE PTR -24[rbp], 0
	je	.L30
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	BYTE PTR -2[rbp], 1
	jmp	.L31
.L32:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR -2[rbp]
	add	eax, 1
	mov	BYTE PTR -2[rbp], al
.L31:
	movzx	eax, BYTE PTR -2[rbp]
	cmp	al, BYTE PTR -24[rbp]
	jb	.L32
	jmp	.L34
.L30:
	cmp	BYTE PTR -24[rbp], 0
	jne	.L34
	cmp	BYTE PTR -20[rbp], 0
	je	.L34
	lea	rdi, .LC9[rip]
	call	puts@PLT
.L34:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	cornice, .-cornice
	.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	"366204.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/-\\\000"
	.align	2
.LC1:
	.ascii	"|/-\\\000"
	.align	2
.LC2:
	.ascii	"/\\\000"
	.align	2
.LC3:
	.ascii	"|\000"
	.align	2
.LC4:
	.ascii	"/\000"
	.align	2
.LC5:
	.ascii	"-\000"
	.align	2
.LC6:
	.ascii	"\\\000"
	.align	2
.LC7:
	.ascii	"\\-/\000"
	.align	2
.LC8:
	.ascii	"|\\-/\000"
	.align	2
.LC9:
	.ascii	"\\/\000"
	.text
	.align	2
	.global	cornice
	.syntax unified
	.arm
	.fpu softvfp
	.type	cornice, %function
cornice:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, r0
	mov	r2, r1
	strb	r3, [fp, #-13]
	mov	r3, r2
	strb	r3, [fp, #-14]
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L2
	ldr	r0, .L35
	bl	printf
	mov	r3, #1
	strb	r3, [fp, #-6]
	b	.L3
.L4:
	ldr	r0, .L35+4
	bl	printf
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-6]
.L3:
	ldrb	r2, [fp, #-6]	@ zero_extendqisi2
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	cmp	r2, r3
	bcc	.L4
	mov	r0, #10
	bl	putchar
	b	.L5
.L2:
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L5
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L5
	ldr	r0, .L35+8
	bl	puts
.L5:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #1
	bls	.L6
	mov	r0, #124
	bl	putchar
	mov	r3, #0
	strb	r3, [fp, #-5]
	b	.L7
.L8:
	mov	r0, #32
	bl	putchar
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-5]
.L7:
	ldrb	r1, [fp, #-5]	@ zero_extendqisi2
	ldrb	r2, [fp, #-14]	@ zero_extendqisi2
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	sub	r3, r3, #1
	add	r3, r2, r3
	sub	r3, r3, #2
	cmp	r1, r3
	blt	.L8
	ldr	r0, .L35+12
	bl	puts
	mov	r0, #92
	bl	putchar
	mov	r3, #0
	strb	r3, [fp, #-5]
	b	.L9
.L10:
	mov	r0, #32
	bl	putchar
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-5]
.L9:
	ldrb	r1, [fp, #-5]	@ zero_extendqisi2
	ldrb	r2, [fp, #-14]	@ zero_extendqisi2
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	sub	r3, r3, #1
	add	r3, r2, r3
	sub	r3, r3, #2
	cmp	r1, r3
	blt	.L10
	ldr	r0, .L35+16
	bl	puts
	mov	r3, #1
	strb	r3, [fp, #-6]
	b	.L11
.L20:
	mov	r0, #45
	bl	putchar
	mov	r3, #0
	strb	r3, [fp, #-5]
	b	.L12
.L13:
	mov	r0, #32
	bl	putchar
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-5]
.L12:
	ldrb	r1, [fp, #-5]	@ zero_extendqisi2
	ldrb	r2, [fp, #-14]	@ zero_extendqisi2
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	sub	r3, r3, #1
	add	r3, r2, r3
	sub	r3, r3, #2
	cmp	r1, r3
	blt	.L13
	ldr	r0, .L35+20
	bl	puts
	mov	r0, #47
	bl	putchar
	mov	r3, #0
	strb	r3, [fp, #-5]
	b	.L14
.L15:
	mov	r0, #32
	bl	putchar
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-5]
.L14:
	ldrb	r1, [fp, #-5]	@ zero_extendqisi2
	ldrb	r2, [fp, #-14]	@ zero_extendqisi2
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	sub	r3, r3, #1
	add	r3, r2, r3
	sub	r3, r3, #2
	cmp	r1, r3
	blt	.L15
	ldr	r0, .L35+24
	bl	puts
	mov	r0, #124
	bl	putchar
	mov	r3, #0
	strb	r3, [fp, #-5]
	b	.L16
.L17:
	mov	r0, #32
	bl	putchar
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-5]
.L16:
	ldrb	r1, [fp, #-5]	@ zero_extendqisi2
	ldrb	r2, [fp, #-14]	@ zero_extendqisi2
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	sub	r3, r3, #1
	add	r3, r2, r3
	sub	r3, r3, #2
	cmp	r1, r3
	blt	.L17
	ldr	r0, .L35+12
	bl	puts
	mov	r0, #92
	bl	putchar
	mov	r3, #0
	strb	r3, [fp, #-5]
	b	.L18
.L19:
	mov	r0, #32
	bl	putchar
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-5]
.L18:
	ldrb	r1, [fp, #-5]	@ zero_extendqisi2
	ldrb	r2, [fp, #-14]	@ zero_extendqisi2
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	sub	r3, r3, #1
	add	r3, r2, r3
	sub	r3, r3, #2
	cmp	r1, r3
	blt	.L19
	ldr	r0, .L35+16
	bl	puts
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-6]
.L11:
	ldrb	r2, [fp, #-6]	@ zero_extendqisi2
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	sub	r3, r3, #1
	cmp	r2, r3
	blt	.L20
	mov	r0, #45
	bl	putchar
	mov	r3, #0
	strb	r3, [fp, #-5]
	b	.L21
.L22:
	mov	r0, #32
	bl	putchar
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-5]
.L21:
	ldrb	r1, [fp, #-5]	@ zero_extendqisi2
	ldrb	r2, [fp, #-14]	@ zero_extendqisi2
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	sub	r3, r3, #1
	add	r3, r2, r3
	sub	r3, r3, #2
	cmp	r1, r3
	blt	.L22
	ldr	r0, .L35+20
	bl	puts
	mov	r0, #47
	bl	putchar
	mov	r3, #0
	strb	r3, [fp, #-5]
	b	.L23
.L24:
	mov	r0, #32
	bl	putchar
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-5]
.L23:
	ldrb	r1, [fp, #-5]	@ zero_extendqisi2
	ldrb	r2, [fp, #-14]	@ zero_extendqisi2
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	sub	r3, r3, #1
	add	r3, r2, r3
	sub	r3, r3, #2
	cmp	r1, r3
	blt	.L24
	ldr	r0, .L35+24
	bl	puts
	mov	r0, #124
	bl	putchar
	mov	r3, #0
	strb	r3, [fp, #-5]
	b	.L25
.L26:
	mov	r0, #32
	bl	putchar
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-5]
.L25:
	ldrb	r1, [fp, #-5]	@ zero_extendqisi2
	ldrb	r2, [fp, #-14]	@ zero_extendqisi2
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	sub	r3, r3, #1
	add	r3, r2, r3
	sub	r3, r3, #2
	cmp	r1, r3
	blt	.L26
	ldr	r0, .L35+12
	bl	puts
	b	.L27
.L6:
	mov	r3, #1
	strb	r3, [fp, #-13]
	mov	r0, #124
	bl	putchar
	mov	r3, #0
	strb	r3, [fp, #-5]
	b	.L28
.L29:
	mov	r0, #32
	bl	putchar
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-5]
.L28:
	ldrb	r1, [fp, #-5]	@ zero_extendqisi2
	ldrb	r2, [fp, #-14]	@ zero_extendqisi2
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	sub	r3, r3, #1
	add	r3, r2, r3
	sub	r3, r3, #2
	cmp	r1, r3
	blt	.L29
	ldr	r0, .L35+12
	bl	puts
.L27:
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L30
	ldr	r0, .L35+28
	bl	printf
	mov	r3, #1
	strb	r3, [fp, #-6]
	b	.L31
.L32:
	ldr	r0, .L35+32
	bl	printf
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-6]
.L31:
	ldrb	r2, [fp, #-6]	@ zero_extendqisi2
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	cmp	r2, r3
	bcc	.L32
	b	.L34
.L30:
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L34
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L34
	ldr	r0, .L35+36
	bl	puts
.L34:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	cornice, .-cornice
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
