	.file	"118889223.c"
	.intel_syntax noprefix
	.text
	.globl	j
	.bss
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	k
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	a
	.data
	.align 16
	.type	a, @object
	.size	a, 24
a:
	.long	1
	.long	23
	.long	17
	.long	4
	.long	-5
	.long	100
	.globl	ptr
	.bss
	.align 8
	.type	ptr, @object
	.size	ptr, 8
ptr:
	.zero	8
	.section	.rodata
	.align 8
.LC0:
	.string	"j has the value %d and is stored at %p\n"
	.align 8
.LC1:
	.string	"k has the value %d and is stored at %p\n"
	.align 8
.LC2:
	.string	"ptr has the value %p and is stored at %p\n"
	.align 8
.LC3:
	.string	"The value of the integer pointed to by ptr is %d\n"
.LC4:
	.string	"a[%d] = %d   "
.LC5:
	.string	"ptr + %d = %d\n"
	.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, 208
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR j[rip], 1
	mov	DWORD PTR k[rip], 2
	lea	rax, k[rip]
	mov	QWORD PTR ptr[rip], rax
	movabs	rax, 7453010373645639745
	movabs	rdx, 8439857173817685024
	mov	QWORD PTR -176[rbp], rax
	mov	QWORD PTR -168[rbp], rdx
	movabs	rax, 2338053640979506547
	movabs	rdx, 8247343735775257956
	mov	QWORD PTR -160[rbp], rax
	mov	QWORD PTR -152[rbp], rdx
	movabs	rax, 8246126576403051617
	movabs	rdx, 126879565574261
	mov	QWORD PTR -144[rbp], rax
	mov	QWORD PTR -136[rbp], rdx
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR j[rip]
	lea	rdx, j[rip]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR k[rip]
	lea	rdx, k[rip]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR ptr[rip]
	lea	rdx, ptr[rip]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR ptr[rip]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, a[rip]
	mov	QWORD PTR ptr[rip], rax
	mov	DWORD PTR -196[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -196[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -196[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR ptr[rip]
	lea	rdx, 4[rax]
	mov	QWORD PTR ptr[rip], rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -196[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -196[rbp], 1
.L2:
	cmp	DWORD PTR -196[rbp], 5
	jle	.L3
	lea	rax, -176[rbp]
	mov	rdi, rax
	call	puts@PLT
	lea	rax, -176[rbp]
	mov	QWORD PTR -192[rbp], rax
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	puts@PLT
	lea	rax, -96[rbp]
	mov	QWORD PTR -184[rbp], rax
	mov	edi, 10
	call	putchar@PLT
	jmp	.L4
.L5:
	mov	rdx, QWORD PTR -192[rbp]
	lea	rax, 1[rdx]
	mov	QWORD PTR -192[rbp], rax
	mov	rax, QWORD PTR -184[rbp]
	lea	rcx, 1[rax]
	mov	QWORD PTR -184[rbp], rcx
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
.L4:
	mov	rax, QWORD PTR -192[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L5
	mov	rax, QWORD PTR -184[rbp]
	mov	BYTE PTR [rax], 0
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"118889223.c"
	.text
	.comm	j,4,4
	.comm	k,4,4
	.global	a
	.data
	.align	2
	.type	a, %object
	.size	a, 24
a:
	.word	1
	.word	23
	.word	17
	.word	4
	.word	-5
	.word	100
	.comm	ptr,4,4
	.section	.rodata
	.align	2
.LC1:
	.ascii	"j has the value %d and is stored at %p\012\000"
	.align	2
.LC2:
	.ascii	"k has the value %d and is stored at %p\012\000"
	.align	2
.LC3:
	.ascii	"ptr has the value %p and is stored at %p\012\000"
	.align	2
.LC4:
	.ascii	"The value of the integer pointed to by ptr is %d\012"
	.ascii	"\000"
	.align	2
.LC5:
	.ascii	"a[%d] = %d   \000"
	.align	2
.LC6:
	.ascii	"ptr + %d = %d\012\000"
	.align	2
.LC0:
	.ascii	"A string to be used for demonstration pruposes\000"
	.space	33
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #176
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L8+4
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L8+8
	mov	r2, #2
	str	r2, [r3]
	ldr	r3, .L8+12
	ldr	r2, .L8+8
	str	r2, [r3]
	ldr	r3, .L8+16
	sub	ip, fp, #168
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2}
	strh	r3, [ip]	@ movhi
	add	ip, ip, #2
	lsr	r3, r3, #16
	strb	r3, [ip]
	sub	r3, fp, #121
	mov	r2, #33
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r0, #10
	bl	putchar
	ldr	r3, .L8+4
	ldr	r3, [r3]
	ldr	r2, .L8+4
	mov	r1, r3
	ldr	r0, .L8+20
	bl	printf
	ldr	r3, .L8+8
	ldr	r3, [r3]
	ldr	r2, .L8+8
	mov	r1, r3
	ldr	r0, .L8+24
	bl	printf
	ldr	r3, .L8+12
	ldr	r3, [r3]
	ldr	r2, .L8+12
	mov	r1, r3
	ldr	r0, .L8+28
	bl	printf
	ldr	r3, .L8+12
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L8+32
	bl	printf
	ldr	r3, .L8+12
	ldr	r2, .L8+36
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-172]
	b	.L2
.L3:
	ldr	r2, .L8+36
	ldr	r3, [fp, #-172]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	ldr	r1, [fp, #-172]
	ldr	r0, .L8+40
	bl	printf
	ldr	r3, .L8+12
	ldr	r3, [r3]
	add	r2, r3, #4
	ldr	r1, .L8+12
	str	r2, [r1]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-172]
	ldr	r0, .L8+44
	bl	printf
	ldr	r3, [fp, #-172]
	add	r3, r3, #1
	str	r3, [fp, #-172]
.L2:
	ldr	r3, [fp, #-172]
	cmp	r3, #5
	ble	.L3
	sub	r3, fp, #168
	mov	r0, r3
	bl	puts
	sub	r3, fp, #168
	str	r3, [fp, #-180]
	ldr	r0, [fp, #-180]
	bl	puts
	sub	r3, fp, #88
	str	r3, [fp, #-176]
	mov	r0, #10
	bl	putchar
	b	.L4
.L5:
	ldr	r2, [fp, #-180]
	add	r3, r2, #1
	str	r3, [fp, #-180]
	ldr	r3, [fp, #-176]
	add	r1, r3, #1
	str	r1, [fp, #-176]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L4:
	ldr	r3, [fp, #-180]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-176]
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #88
	mov	r0, r3
	bl	puts
	mov	r3, #0
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC7
	.word	j
	.word	k
	.word	ptr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	a
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
