	.file	"747547.c"
	.intel_syntax noprefix
	.text
	.globl	w
	.bss
	.align 4
	.type	w, @object
	.size	w, 4
w:
	.zero	4
	.globl	k
	.align 16
	.type	k, @object
	.size	k, 24
k:
	.zero	24
	.section	.rodata
.LC0:
	.string	"x = %d"
.LC1:
	.string	""
.LC2:
	.string	"y = %d"
.LC3:
	.string	"z = %d"
.LC4:
	.string	"w = %d"
.LC6:
	.string	"k[i] = %lf"
.LC7:
	.string	"kk[i] = %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
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -20[rbp], 2
	mov	DWORD PTR -16[rbp], 3
	mov	DWORD PTR -12[rbp], 4
	mov	DWORD PTR -32[rbp], 12
	mov	eax, 22
	sub	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	neg	eax
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 33
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 44
	mov	DWORD PTR w[rip], eax
	lea	rax, .LC0[rip]
	movsx	eax, al
	mov	edx, DWORD PTR -32[rbp]
	mov	esi, edx
	mov	edi, eax
	call	printf@PLT
	lea	rax, .LC1[rip]
	movsx	eax, al
	mov	edi, eax
	call	puts@PLT
	lea	rax, .LC2[rip]
	movsx	eax, al
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	printf@PLT
	lea	rax, .LC1[rip]
	movsx	eax, al
	mov	edi, eax
	call	puts@PLT
	lea	rax, .LC3[rip]
	movsx	eax, al
	mov	edx, DWORD PTR -24[rbp]
	mov	esi, edx
	mov	edi, eax
	call	printf@PLT
	lea	rax, .LC1[rip]
	movsx	eax, al
	mov	edi, eax
	call	puts@PLT
	mov	edx, DWORD PTR w[rip]
	lea	rax, .LC4[rip]
	movsx	eax, al
	mov	esi, edx
	mov	edi, eax
	call	printf@PLT
	lea	rax, .LC1[rip]
	movsx	eax, al
	mov	edi, eax
	call	puts@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L2
.L3:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -36[rbp]
	movsd	xmm1, QWORD PTR .LC5[rip]
	divsd	xmm0, xmm1
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, k[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, k[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	cvttsd2si	edx, xmm0
	lea	rax, .LC6[rip]
	movsx	eax, al
	mov	esi, edx
	mov	edi, eax
	call	printf@PLT
	lea	rax, .LC1[rip]
	movsx	eax, al
	mov	edi, eax
	call	puts@PLT
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	mov	edx, DWORD PTR -20[rbp+rax*4]
	lea	rax, .LC7[rip]
	movsx	eax, al
	mov	esi, edx
	mov	edi, eax
	call	printf@PLT
	lea	rax, .LC1[rip]
	movsx	eax, al
	mov	edi, eax
	call	puts@PLT
	add	DWORD PTR -36[rbp], 1
.L2:
	cmp	DWORD PTR -36[rbp], 0
	js	.L3
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC5:
	.long	0
	.long	1074266112
	.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	"747547.c"
	.text
	.comm	w,4,4
	.comm	k,24,8
	.section	.rodata
	.align	2
.LC1:
	.ascii	"x = %d\000"
	.align	2
.LC2:
	.ascii	"\000"
	.align	2
.LC3:
	.ascii	"y = %d\000"
	.align	2
.LC4:
	.ascii	"z = %d\000"
	.align	2
.LC5:
	.ascii	"w = %d\000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.align	2
.LC6:
	.ascii	"k[i] = %lf\000"
	.global	__aeabi_d2iz
	.align	2
.LC7:
	.ascii	"kk[i] = %d\000"
	.align	2
.LC0:
	.word	2
	.word	3
	.word	4
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r2, .L6+4
	sub	r3, fp, #28
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	mov	r3, #12
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	rsb	r3, r3, #22
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	rsb	r3, r3, #0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	add	r3, r3, #33
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	add	r3, r3, #44
	ldr	r2, .L6+8
	str	r3, [r2]
	ldr	r3, .L6+12
	and	r3, r3, #255
	ldr	r1, [fp, #-40]
	mov	r0, r3
	bl	printf
	ldr	r3, .L6+16
	and	r3, r3, #255
	mov	r0, r3
	bl	puts
	ldr	r3, .L6+20
	and	r3, r3, #255
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	printf
	ldr	r3, .L6+16
	and	r3, r3, #255
	mov	r0, r3
	bl	puts
	ldr	r3, .L6+24
	and	r3, r3, #255
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	printf
	ldr	r3, .L6+16
	and	r3, r3, #255
	mov	r0, r3
	bl	puts
	ldr	r3, .L6+28
	and	r3, r3, #255
	ldr	r2, .L6+8
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	printf
	ldr	r3, .L6+16
	and	r3, r3, #255
	mov	r0, r3
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L2
.L3:
	ldr	r0, [fp, #-44]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L6+32
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L6+36
	ldr	r1, [fp, #-44]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, .L6+40
	and	r4, r3, #255
	ldr	r2, .L6+36
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	printf
	ldr	r3, .L6+16
	and	r3, r3, #255
	mov	r0, r3
	bl	puts
	ldr	r3, .L6+44
	and	r2, r3, #255
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	ldr	r3, [r3, #-16]
	mov	r1, r3
	mov	r0, r2
	bl	printf
	ldr	r3, .L6+16
	and	r3, r3, #255
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L2:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	blt	.L3
	mov	r3, #0
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC8
	.word	.LC0
	.word	w
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	1074266112
	.word	k
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
