	.file	"43886592.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
	sub	rsp, 16
	mov	BYTE PTR -4[rbp], 65
	mov	BYTE PTR -3[rbp], 66
	mov	BYTE PTR -2[rbp], 67
	mov	BYTE PTR -1[rbp], 3
	movsx	ecx, BYTE PTR -1[rbp]
	movsx	edx, BYTE PTR -3[rbp]
	movsx	esi, BYTE PTR -2[rbp]
	movsx	eax, BYTE PTR -4[rbp]
	mov	edi, eax
	call	tower
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.string	"Move disk 1 from peg %c to peg %c\n"
	.align 8
.LC1:
	.string	"Move disk %d from peg %c to peg %c\n"
	.text
	.globl	tower
	.type	tower, @function
tower:
.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	eax, edx
	mov	DWORD PTR -16[rbp], ecx
	mov	edx, edi
	mov	BYTE PTR -4[rbp], dl
	mov	edx, esi
	mov	BYTE PTR -8[rbp], dl
	mov	BYTE PTR -12[rbp], al
	cmp	DWORD PTR -16[rbp], 1
	jne	.L3
	movsx	edx, BYTE PTR -8[rbp]
	movsx	eax, BYTE PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L3:
	mov	eax, DWORD PTR -16[rbp]
	lea	ecx, -1[rax]
	movsx	edx, BYTE PTR -8[rbp]
	movsx	esi, BYTE PTR -12[rbp]
	movsx	eax, BYTE PTR -4[rbp]
	mov	edi, eax
	call	tower
	movsx	ecx, BYTE PTR -8[rbp]
	movsx	edx, BYTE PTR -4[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -16[rbp]
	lea	ecx, -1[rax]
	movsx	edx, BYTE PTR -4[rbp]
	movsx	esi, BYTE PTR -8[rbp]
	movsx	eax, BYTE PTR -12[rbp]
	mov	edi, eax
	call	tower
.L5:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	tower, .-tower
	.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	"43886592.c"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #65
	strb	r3, [fp, #-8]
	mov	r3, #66
	strb	r3, [fp, #-7]
	mov	r3, #67
	strb	r3, [fp, #-6]
	mov	r3, #3
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldrb	r2, [fp, #-7]	@ zero_extendqisi2
	ldrb	r1, [fp, #-6]	@ zero_extendqisi2
	ldrb	r0, [fp, #-8]	@ zero_extendqisi2
	bl	tower
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	main, .-main
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Move disk 1 from peg %c to peg %c\012\000"
	.align	2
.LC1:
	.ascii	"Move disk %d from peg %c to peg %c\012\000"
	.text
	.align	2
	.global	tower
	.syntax unified
	.arm
	.fpu softvfp
	.type	tower, %function
tower:
	@ 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	r3, [fp, #-12]
	mov	r3, r0
	strb	r3, [fp, #-5]
	mov	r3, r1
	strb	r3, [fp, #-6]
	mov	r3, r2
	strb	r3, [fp, #-7]
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L3
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldrb	r2, [fp, #-6]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L6
	bl	printf
	b	.L5
.L3:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	ldrb	r2, [fp, #-6]	@ zero_extendqisi2
	ldrb	r1, [fp, #-7]	@ zero_extendqisi2
	ldrb	r0, [fp, #-5]	@ zero_extendqisi2
	bl	tower
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	ldr	r1, [fp, #-12]
	ldr	r0, .L6+4
	bl	printf
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	ldrb	r1, [fp, #-6]	@ zero_extendqisi2
	ldrb	r0, [fp, #-7]	@ zero_extendqisi2
	bl	tower
.L5:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	.LC1
	.size	tower, .-tower
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
