	.file	"89580.c"
	.intel_syntax noprefix
	.text
	.globl	num1
	.bss
	.align 4
	.type	num1, @object
	.size	num1, 4
num1:
	.zero	4
	.globl	num2
	.align 4
	.type	num2, @object
	.size	num2, 4
num2:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter two number you want to swap : \nnumber 1 :"
.LC1:
	.string	"%d"
.LC2:
	.string	"number 2 : "
	.align 8
.LC3:
	.string	"\nthe origin numbers are %d %d\n"
.LC4:
	.string	"the swaped numbers are %d %d"
	.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
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, num1[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, num2[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR num2[rip]
	mov	eax, DWORD PTR num1[rip]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	call	swap
	mov	edx, DWORD PTR num2[rip]
	mov	eax, DWORD PTR num1[rip]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	swap
	.type	swap, @function
swap:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR num2[rip]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR num1[rip]
	mov	DWORD PTR num2[rip], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR num1[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	swap, .-swap
	.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	"89580.c"
	.text
	.comm	num1,4,4
	.comm	num2,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter two number you want to swap : \012number 1 :\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"number 2 : \000"
	.align	2
.LC3:
	.ascii	"\012the origin numbers are %d %d\012\000"
	.align	2
.LC4:
	.ascii	"the swaped numbers are %d %d\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
	ldr	r0, .L2
	bl	printf
	ldr	r1, .L2+4
	ldr	r0, .L2+8
	bl	__isoc99_scanf
	ldr	r0, .L2+12
	bl	printf
	ldr	r1, .L2+16
	ldr	r0, .L2+8
	bl	__isoc99_scanf
	ldr	r3, .L2+4
	ldr	r3, [r3]
	ldr	r2, .L2+16
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L2+20
	bl	printf
	bl	swap
	ldr	r3, .L2+4
	ldr	r3, [r3]
	ldr	r2, .L2+16
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L2+24
	bl	printf
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	num1
	.word	.LC1
	.word	.LC2
	.word	num2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.align	2
	.global	swap
	.syntax unified
	.arm
	.fpu softvfp
	.type	swap, %function
swap:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L5+4
	ldr	r3, [r3]
	ldr	r2, .L5
	str	r3, [r2]
	ldr	r2, .L5+4
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L6:
	.align	2
.L5:
	.word	num2
	.word	num1
	.size	swap, .-swap
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
