	.file	"185275.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"move from %c to %c\n"
	.text
	.globl	hanoi
	.type	hanoi, @function
hanoi:
.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	DWORD PTR -4[rbp], edi
	mov	eax, ecx
	mov	ecx, esi
	mov	BYTE PTR -8[rbp], cl
	mov	BYTE PTR -12[rbp], dl
	mov	BYTE PTR -16[rbp], al
	cmp	DWORD PTR -4[rbp], 0
	je	.L3
	movsx	ecx, BYTE PTR -12[rbp]
	movsx	edx, BYTE PTR -16[rbp]
	movsx	eax, BYTE PTR -8[rbp]
	mov	esi, DWORD PTR -4[rbp]
	lea	edi, -1[rsi]
	mov	esi, eax
	call	hanoi
	movsx	edx, BYTE PTR -12[rbp]
	movsx	eax, BYTE PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	movsx	ecx, BYTE PTR -8[rbp]
	movsx	edx, BYTE PTR -12[rbp]
	movsx	eax, BYTE PTR -16[rbp]
	mov	esi, DWORD PTR -4[rbp]
	lea	edi, -1[rsi]
	mov	esi, eax
	call	hanoi
.L3:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	hanoi, .-hanoi
	.section	.rodata
.LC1:
	.string	"---------------------"
	.text
	.globl	test
	.type	test, @function
test:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	ecx, 67
	mov	edx, 66
	mov	esi, 65
	mov	edi, 1
	call	hanoi
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	ecx, 67
	mov	edx, 66
	mov	esi, 65
	mov	edi, 2
	call	hanoi
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	ecx, 67
	mov	edx, 66
	mov	esi, 65
	mov	edi, 3
	call	hanoi
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	test, .-test
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	test
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	"185275.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"move from %c to %c\012\000"
	.text
	.align	2
	.global	hanoi
	.syntax unified
	.arm
	.fpu softvfp
	.type	hanoi, %function
hanoi:
	@ 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	r0, r1
	mov	r1, r2
	mov	r2, r3
	mov	r3, r0
	strb	r3, [fp, #-9]
	mov	r3, r1
	strb	r3, [fp, #-10]
	mov	r3, r2
	strb	r3, [fp, #-11]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-8]
	sub	r0, r3, #1
	ldrb	r3, [fp, #-10]	@ zero_extendqisi2
	ldrb	r2, [fp, #-11]	@ zero_extendqisi2
	ldrb	r1, [fp, #-9]	@ zero_extendqisi2
	bl	hanoi
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	ldrb	r2, [fp, #-10]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L4
	bl	printf
	ldr	r3, [fp, #-8]
	sub	r0, r3, #1
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	ldrb	r2, [fp, #-10]	@ zero_extendqisi2
	ldrb	r1, [fp, #-11]	@ zero_extendqisi2
	bl	hanoi
.L3:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.size	hanoi, .-hanoi
	.section	.rodata
	.align	2
.LC1:
	.ascii	"---------------------\000"
	.text
	.align	2
	.global	test
	.syntax unified
	.arm
	.fpu softvfp
	.type	test, %function
test:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r3, #67
	mov	r2, #66
	mov	r1, #65
	mov	r0, #1
	bl	hanoi
	ldr	r0, .L7
	bl	puts
	mov	r3, #67
	mov	r2, #66
	mov	r1, #65
	mov	r0, #2
	bl	hanoi
	ldr	r0, .L7
	bl	puts
	mov	r3, #67
	mov	r2, #66
	mov	r1, #65
	mov	r0, #3
	bl	hanoi
	nop
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC1
	.size	test, .-test
	.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
	bl	test
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
