	.file	"741902.c"
	.intel_syntax noprefix
	.text
	.globl	a
	.data
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.long	1
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.long	2
	.section	.rodata
.LC0:
	.string	"the square of %d is %d\n"
	.text
	.globl	square
	.type	square, @function
square:
.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, DWORD PTR -4[rbp]
	imul	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	square, .-square
	.section	.rodata
.LC1:
	.string	"extern variables %d && %d\n"
	.align 8
.LC2:
	.string	"modified extern variables %d && %d\n"
.LC3:
	.string	"The value of g is %d\n"
.LC4:
	.string	"The value of h is %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.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	DWORD PTR -16[rbp], 0
	mov	BYTE PTR -21[rbp], 69
	mov	QWORD PTR -8[rbp], 100000
	mov	edx, DWORD PTR b[rip]
	mov	eax, DWORD PTR a[rip]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR a[rip], 10
	mov	DWORD PTR b[rip], 11
	mov	edx, DWORD PTR b[rip]
	mov	eax, DWORD PTR a[rip]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -20[rbp], 3
	jmp	.L3
.L4:
	mov	eax, DWORD PTR g.0[rip]
	add	eax, 1
	mov	DWORD PTR g.0[rip], eax
	mov	eax, DWORD PTR g.0[rip]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	sub	DWORD PTR -20[rbp], 1
.L3:
	cmp	DWORD PTR -20[rbp], 0
	jg	.L4
	jmp	.L5
.L6:
	mov	DWORD PTR -12[rbp], 10
	add	DWORD PTR -12[rbp], 1
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	sub	DWORD PTR -20[rbp], 1
.L5:
	cmp	DWORD PTR -20[rbp], -2
	jge	.L6
	mov	edi, 10
	call	square
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.data
	.align 4
	.type	g.0, @object
	.size	g.0, 4
g.0:
	.long	10
	.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	"741902.c"
	.text
	.global	a
	.data
	.align	2
	.type	a, %object
	.size	a, 4
a:
	.word	1
	.global	b
	.align	2
	.type	b, %object
	.size	b, 4
b:
	.word	2
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the square of %d is %d\012\000"
	.text
	.align	2
	.global	square
	.syntax unified
	.arm
	.fpu softvfp
	.type	square, %function
square:
	@ 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]
	ldr	r3, [fp, #-8]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L2
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.size	square, .-square
	.section	.rodata
	.align	2
.LC1:
	.ascii	"extern variables %d && %d\012\000"
	.align	2
.LC2:
	.ascii	"modified extern variables %d && %d\012\000"
	.align	2
.LC3:
	.ascii	"The value of g is %d\012\000"
	.align	2
.LC4:
	.ascii	"The value of h is %d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #69
	strb	r3, [fp, #-25]
	ldr	r2, .L10
	mov	r3, #0
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, .L10+4
	ldr	r3, [r3]
	ldr	r2, .L10+8
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L10+12
	bl	printf
	ldr	r3, .L10+4
	mov	r2, #10
	str	r2, [r3]
	ldr	r3, .L10+8
	mov	r2, #11
	str	r2, [r3]
	ldr	r3, .L10+4
	ldr	r3, [r3]
	ldr	r2, .L10+8
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L10+16
	bl	printf
	mov	r3, #3
	str	r3, [fp, #-24]
	b	.L5
.L6:
	ldr	r3, .L10+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L10+20
	str	r3, [r2]
	ldr	r3, .L10+20
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L10+24
	bl	printf
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
.L5:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bgt	.L6
	b	.L7
.L8:
	mov	r3, #10
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r1, [fp, #-16]
	ldr	r0, .L10+28
	bl	printf
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
.L7:
	ldr	r3, [fp, #-24]
	cmn	r3, #2
	bge	.L8
	mov	r0, #10
	bl	square
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	100000
	.word	a
	.word	b
	.word	.LC1
	.word	.LC2
	.word	g.4612
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.data
	.align	2
	.type	g.4612, %object
	.size	g.4612, 4
g.4612:
	.word	10
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
