	.file	"90688.c"
	.intel_syntax noprefix
	.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
	push	rbx
	sub	rsp, 104
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -80[rbp]
	mov	esi, 50
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 2
	movzx	eax, BYTE PTR -80[rbp+rax]
	movsx	eax, al
	sub	eax, 48
	mov	DWORD PTR -104[rbp], eax
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 3
	movzx	eax, BYTE PTR -80[rbp+rax]
	cmp	al, 45
	jne	.L2
	neg	DWORD PTR -104[rbp]
.L2:
	mov	DWORD PTR -100[rbp], 0
	jmp	.L3
.L6:
	mov	WORD PTR -82[rbp], 0
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	movzx	eax, BYTE PTR -80[rbp+rax]
	cmp	al, 71
	jg	.L4
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	movzx	eax, BYTE PTR -80[rbp+rax]
	cmp	al, 64
	jle	.L4
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	movzx	eax, BYTE PTR -80[rbp+rax]
	cmp	al, 109
	je	.L4
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	movzx	eax, BYTE PTR -80[rbp+rax]
	mov	BYTE PTR -82[rbp], al
	mov	eax, DWORD PTR -100[rbp]
	add	eax, 1
	cdqe
	movzx	eax, BYTE PTR -80[rbp+rax]
	cmp	al, 109
	jne	.L5
	mov	BYTE PTR -81[rbp], 109
.L5:
	lea	rax, -82[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	edx, DWORD PTR -104[rbp]
	mov	rax, QWORD PTR -96[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	transpone
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	puts@PLT
.L4:
	lea	rax, -82[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	add	DWORD PTR -100[rbp], 1
.L3:
	mov	eax, DWORD PTR -100[rbp]
	movsx	rbx, eax
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L6
	mov	eax, 0
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
.LC0:
	.string	"C"
.LC1:
	.string	"Cm"
.LC2:
	.string	"D"
.LC3:
	.string	"Dm"
.LC4:
	.string	"E"
.LC5:
	.string	"F"
.LC6:
	.string	"Fm"
.LC7:
	.string	"G"
.LC8:
	.string	"Gm"
.LC9:
	.string	"A"
.LC10:
	.string	"Am"
.LC11:
	.string	"B"
	.text
	.globl	transpone
	.type	transpone, @function
transpone:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 2
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L10
	mov	DWORD PTR -4[rbp], 0
.L10:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L11
	mov	DWORD PTR -4[rbp], 1
.L11:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L12
	mov	DWORD PTR -4[rbp], 2
.L12:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L13
	mov	DWORD PTR -4[rbp], 3
.L13:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L14
	mov	DWORD PTR -4[rbp], 4
.L14:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L15
	mov	DWORD PTR -4[rbp], 5
.L15:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L16
	mov	DWORD PTR -4[rbp], 6
.L16:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L17
	mov	DWORD PTR -4[rbp], 7
.L17:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L18
	mov	DWORD PTR -4[rbp], 8
.L18:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L19
	mov	DWORD PTR -4[rbp], 9
.L19:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L20
	mov	DWORD PTR -4[rbp], 10
.L20:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L21
	mov	DWORD PTR -4[rbp], 11
.L21:
	mov	eax, DWORD PTR -28[rbp]
	add	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 11
	jle	.L22
	sub	DWORD PTR -4[rbp], 12
	jmp	.L23
.L22:
	cmp	DWORD PTR -4[rbp], 0
	jns	.L23
	add	DWORD PTR -4[rbp], 12
.L23:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L24
	mov	rax, QWORD PTR -24[rbp]
	mov	WORD PTR [rax], 67
.L24:
	cmp	DWORD PTR -4[rbp], 1
	jne	.L25
	mov	rax, QWORD PTR -24[rbp]
	mov	WORD PTR [rax], 27971
	mov	BYTE PTR 2[rax], 0
.L25:
	cmp	DWORD PTR -4[rbp], 2
	jne	.L26
	mov	rax, QWORD PTR -24[rbp]
	mov	WORD PTR [rax], 68
.L26:
	cmp	DWORD PTR -4[rbp], 3
	jne	.L27
	mov	rax, QWORD PTR -24[rbp]
	mov	WORD PTR [rax], 27972
	mov	BYTE PTR 2[rax], 0
.L27:
	cmp	DWORD PTR -4[rbp], 4
	jne	.L28
	mov	rax, QWORD PTR -24[rbp]
	mov	WORD PTR [rax], 69
.L28:
	cmp	DWORD PTR -4[rbp], 5
	jne	.L29
	mov	rax, QWORD PTR -24[rbp]
	mov	WORD PTR [rax], 70
.L29:
	cmp	DWORD PTR -4[rbp], 6
	jne	.L30
	mov	rax, QWORD PTR -24[rbp]
	mov	WORD PTR [rax], 27974
	mov	BYTE PTR 2[rax], 0
.L30:
	cmp	DWORD PTR -4[rbp], 7
	jne	.L31
	mov	rax, QWORD PTR -24[rbp]
	mov	WORD PTR [rax], 71
.L31:
	cmp	DWORD PTR -4[rbp], 8
	jne	.L32
	mov	rax, QWORD PTR -24[rbp]
	mov	WORD PTR [rax], 27975
	mov	BYTE PTR 2[rax], 0
.L32:
	cmp	DWORD PTR -4[rbp], 9
	jne	.L33
	mov	rax, QWORD PTR -24[rbp]
	mov	WORD PTR [rax], 65
.L33:
	cmp	DWORD PTR -4[rbp], 10
	jne	.L34
	mov	rax, QWORD PTR -24[rbp]
	mov	WORD PTR [rax], 27969
	mov	BYTE PTR 2[rax], 0
.L34:
	cmp	DWORD PTR -4[rbp], 11
	jne	.L36
	mov	rax, QWORD PTR -24[rbp]
	mov	WORD PTR [rax], 66
.L36:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	transpone, .-transpone
	.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	"90688.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L9+4
	ldr	r2, [r3]
	sub	r3, fp, #60
	mov	r1, #50
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #60
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-56]	@ zero_extendqisi2
	sub	r3, r3, #48
	str	r3, [fp, #-76]
	sub	r3, fp, #60
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-56]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L2
	ldr	r3, [fp, #-76]
	rsb	r3, r3, #0
	str	r3, [fp, #-76]
.L2:
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L3
.L6:
	mov	r3, #0
	strh	r3, [fp, #-64]	@ movhi
	sub	r2, fp, #60
	ldr	r3, [fp, #-72]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #71
	bhi	.L4
	sub	r2, fp, #60
	ldr	r3, [fp, #-72]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L4
	sub	r2, fp, #60
	ldr	r3, [fp, #-72]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #109
	beq	.L4
	sub	r2, fp, #60
	ldr	r3, [fp, #-72]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [fp, #-64]
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-56]	@ zero_extendqisi2
	cmp	r3, #109
	bne	.L5
	mov	r3, #109
	strb	r3, [fp, #-63]
.L5:
	sub	r3, fp, #64
	str	r3, [fp, #-68]
	ldr	r1, [fp, #-76]
	ldr	r0, [fp, #-68]
	bl	transpone
	ldr	r0, [fp, #-68]
	bl	puts
.L4:
	sub	r3, fp, #64
	mov	r2, #2
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L3:
	sub	r3, fp, #60
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	bhi	.L6
	mov	r3, #0
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	stdin
	.size	main, .-main
	.section	.rodata
	.align	2
.LC1:
	.ascii	"C\000"
	.align	2
.LC2:
	.ascii	"Cm\000"
	.align	2
.LC3:
	.ascii	"D\000"
	.align	2
.LC4:
	.ascii	"Dm\000"
	.align	2
.LC5:
	.ascii	"E\000"
	.align	2
.LC6:
	.ascii	"F\000"
	.align	2
.LC7:
	.ascii	"Fm\000"
	.align	2
.LC8:
	.ascii	"G\000"
	.align	2
.LC9:
	.ascii	"Gm\000"
	.align	2
.LC10:
	.ascii	"A\000"
	.align	2
.LC11:
	.ascii	"Am\000"
	.align	2
.LC12:
	.ascii	"B\000"
	.text
	.align	2
	.global	transpone
	.syntax unified
	.arm
	.fpu softvfp
	.type	transpone, %function
transpone:
	@ 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]
	add	r3, r3, #2
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, .L39
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	mov	r3, #0
	str	r3, [fp, #-8]
.L12:
	ldr	r1, .L39+4
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	mov	r3, #1
	str	r3, [fp, #-8]
.L13:
	ldr	r1, .L39+8
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L14
	mov	r3, #2
	str	r3, [fp, #-8]
.L14:
	ldr	r1, .L39+12
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	mov	r3, #3
	str	r3, [fp, #-8]
.L15:
	ldr	r1, .L39+16
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	mov	r3, #4
	str	r3, [fp, #-8]
.L16:
	ldr	r1, .L39+20
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	mov	r3, #5
	str	r3, [fp, #-8]
.L17:
	ldr	r1, .L39+24
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L18
	mov	r3, #6
	str	r3, [fp, #-8]
.L18:
	ldr	r1, .L39+28
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L19
	mov	r3, #7
	str	r3, [fp, #-8]
.L19:
	ldr	r1, .L39+32
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
	mov	r3, #8
	str	r3, [fp, #-8]
.L20:
	ldr	r1, .L39+36
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	mov	r3, #9
	str	r3, [fp, #-8]
.L21:
	ldr	r1, .L39+40
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L22
	mov	r3, #10
	str	r3, [fp, #-8]
.L22:
	ldr	r1, .L39+44
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L23
	mov	r3, #11
	str	r3, [fp, #-8]
.L23:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #11
	ble	.L24
	ldr	r3, [fp, #-8]
	sub	r3, r3, #12
	str	r3, [fp, #-8]
	b	.L25
.L24:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L25
	ldr	r3, [fp, #-8]
	add	r3, r3, #12
	str	r3, [fp, #-8]
.L25:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L26
	ldr	r3, [fp, #-16]
	ldr	r2, .L39
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
.L26:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L27
	ldr	r3, [fp, #-16]
	ldr	r2, .L39+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #3
	mov	r2, r3
	bl	memcpy
.L27:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	bne	.L28
	ldr	r3, [fp, #-16]
	ldr	r2, .L39+8
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
.L28:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	bne	.L29
	ldr	r3, [fp, #-16]
	ldr	r2, .L39+12
	mov	r0, r3
	mov	r1, r2
	mov	r3, #3
	mov	r2, r3
	bl	memcpy
.L29:
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	bne	.L30
	ldr	r3, [fp, #-16]
	ldr	r2, .L39+16
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
.L30:
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	bne	.L31
	ldr	r3, [fp, #-16]
	ldr	r2, .L39+20
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
.L31:
	ldr	r3, [fp, #-8]
	cmp	r3, #6
	bne	.L32
	ldr	r3, [fp, #-16]
	ldr	r2, .L39+24
	mov	r0, r3
	mov	r1, r2
	mov	r3, #3
	mov	r2, r3
	bl	memcpy
.L32:
	ldr	r3, [fp, #-8]
	cmp	r3, #7
	bne	.L33
	ldr	r3, [fp, #-16]
	ldr	r2, .L39+28
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
.L33:
	ldr	r3, [fp, #-8]
	cmp	r3, #8
	bne	.L34
	ldr	r3, [fp, #-16]
	ldr	r2, .L39+32
	mov	r0, r3
	mov	r1, r2
	mov	r3, #3
	mov	r2, r3
	bl	memcpy
.L34:
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	bne	.L35
	ldr	r3, [fp, #-16]
	ldr	r2, .L39+36
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
.L35:
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bne	.L36
	ldr	r3, [fp, #-16]
	ldr	r2, .L39+40
	mov	r0, r3
	mov	r1, r2
	mov	r3, #3
	mov	r2, r3
	bl	memcpy
.L36:
	ldr	r3, [fp, #-8]
	cmp	r3, #11
	bne	.L38
	ldr	r3, [fp, #-16]
	ldr	r2, .L39+44
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
.L38:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	transpone, .-transpone
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
