	.file	"434867.c"
	.intel_syntax noprefix
	.text
	.globl	idum
	.bss
	.align 8
	.type	idum, @object
	.size	idum, 8
idum:
	.zero	8
	.globl	spin
	.align 32
	.type	spin, @object
	.size	spin, 4008004
spin:
	.zero	4008004
	.globl	N_side
	.align 4
	.type	N_side, @object
	.size	N_side, 4
N_side:
	.zero	4
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.globl	T
	.align 4
	.type	T, @object
	.size	T, 4
T:
	.zero	4
	.globl	field
	.align 4
	.type	field, @object
	.size	field, 4
field:
	.zero	4
	.globl	n_steps
	.align 4
	.type	n_steps, @object
	.size	n_steps, 4
n_steps:
	.zero	4
	.globl	start_flag
	.align 4
	.type	start_flag, @object
	.size	start_flag, 4
start_flag:
	.zero	4
	.globl	config_file
	.align 32
	.type	config_file, @object
	.size	config_file, 80
config_file:
	.zero	80
	.globl	netmag
	.align 4
	.type	netmag, @object
	.size	netmag, 4
netmag:
	.zero	4
	.globl	energy
	.align 4
	.type	energy, @object
	.size	energy, 4
energy:
	.zero	4
	.section	.rodata
.LC0:
	.string	"config"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	read_input
	mov	eax, 0
	call	initialize
	mov	eax, DWORD PTR n_steps[rip]
	mov	edi, eax
	call	monte_carlo
	lea	rdi, .LC0[rip]
	call	write_config
	mov	eax, 0
	call	write_picture
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC1:
	.string	"Generating magnetized configuration..."
	.align 8
.LC3:
	.string	"Reading configuration from file %s...\n"
	.align 8
.LC4:
	.string	"Initial magnetization per spin = %f\n"
	.align 8
.LC5:
	.string	"Initial energy per spin = %f\n\n"
	.text
	.globl	initialize
	.type	initialize, @function
initialize:
.LFB7:
	.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	edi, 0
	call	time@PLT
	neg	rax
	mov	QWORD PTR idum[rip], rax
	mov	eax, DWORD PTR start_flag[rip]
	test	eax, eax
	jne	.L4
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	DWORD PTR -16[rbp], 1
	jmp	.L5
.L8:
	mov	DWORD PTR -12[rbp], 1
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	imul	rax, rax, 1001
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, spin[rip]
	mov	DWORD PTR [rdx+rax], 1
	mov	eax, DWORD PTR netmag[rip]
	add	eax, 1
	mov	DWORD PTR netmag[rip], eax
	add	DWORD PTR -12[rbp], 1
.L6:
	mov	eax, DWORD PTR N_side[rip]
	cmp	DWORD PTR -12[rbp], eax
	jle	.L7
	add	DWORD PTR -16[rbp], 1
.L5:
	mov	eax, DWORD PTR N_side[rip]
	cmp	DWORD PTR -16[rbp], eax
	jle	.L8
	mov	eax, DWORD PTR N[rip]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC2[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR energy[rip], xmm0
	jmp	.L9
.L4:
	lea	rsi, config_file[rip]
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, config_file[rip]
	call	read_config
	mov	DWORD PTR -16[rbp], 1
	jmp	.L10
.L17:
	mov	DWORD PTR -12[rbp], 1
	jmp	.L11
.L16:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	imul	rax, rax, 1001
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, spin[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR netmag[rip]
	add	eax, edx
	mov	DWORD PTR netmag[rip], eax
	mov	eax, DWORD PTR N_side[rip]
	cmp	DWORD PTR -16[rbp], eax
	jne	.L12
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	add	rax, 1001
	lea	rdx, 0[0+rax*4]
	lea	rax, spin[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L13
.L12:
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	movsx	rax, edx
	imul	rax, rax, 1001
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, spin[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -4[rbp], eax
.L13:
	mov	eax, DWORD PTR N_side[rip]
	cmp	DWORD PTR -12[rbp], eax
	jne	.L14
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	imul	rax, rax, 4004
	lea	rdx, spin[rip+4]
	mov	eax, DWORD PTR [rax+rdx]
	mov	DWORD PTR -8[rbp], eax
	jmp	.L15
.L14:
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	imul	rax, rax, 1001
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, spin[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -8[rbp], eax
.L15:
	movss	xmm0, DWORD PTR energy[rip]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	imul	rax, rax, 1001
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, spin[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	ecx, DWORD PTR -8[rbp]
	mov	edx, DWORD PTR -4[rbp]
	add	edx, ecx
	imul	eax, edx
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	subss	xmm0, xmm1
	movss	DWORD PTR energy[rip], xmm0
	add	DWORD PTR -12[rbp], 1
.L11:
	mov	eax, DWORD PTR N_side[rip]
	cmp	DWORD PTR -12[rbp], eax
	jle	.L16
	add	DWORD PTR -16[rbp], 1
.L10:
	mov	eax, DWORD PTR N_side[rip]
	cmp	DWORD PTR -16[rbp], eax
	jle	.L17
.L9:
	movss	xmm0, DWORD PTR energy[rip]
	mov	eax, DWORD PTR netmag[rip]
	pxor	xmm2, xmm2
	cvtsi2ss	xmm2, eax
	movss	xmm1, DWORD PTR field[rip]
	mulss	xmm1, xmm2
	subss	xmm0, xmm1
	movss	DWORD PTR energy[rip], xmm0
	mov	eax, DWORD PTR netmag[rip]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	mov	eax, DWORD PTR N[rip]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	divss	xmm0, xmm1
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm0, DWORD PTR energy[rip]
	mov	eax, DWORD PTR N[rip]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	divss	xmm0, xmm1
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rax, xmm4
	movq	xmm0, rax
	lea	rdi, .LC5[rip]
	mov	eax, 1
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	initialize, .-initialize
	.section	.rodata
.LC7:
	.string	"w"
.LC8:
	.string	"trajectory"
.LC9:
	.string	"Generating trajectory..."
.LC11:
	.string	"%d %f %f\n"
	.align 8
.LC12:
	.string	"Average magnetization per spin = %f\n"
.LC13:
	.string	"Average energy per spin = %f\n"
	.text
	.globl	monte_carlo
	.type	monte_carlo, @function
monte_carlo:
.LFB8:
	.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	DWORD PTR -36[rbp], edi
	pxor	xmm0, xmm0
	movss	DWORD PTR -24[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -20[rbp], xmm0
	lea	rsi, .LC7[rip]
	lea	rdi, .LC8[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	DWORD PTR -28[rbp], 1
	jmp	.L19
.L23:
	mov	DWORD PTR -32[rbp], 1
	jmp	.L20
.L21:
	mov	eax, DWORD PTR N_side[rip]
	pxor	xmm3, xmm3
	cvtsi2ss	xmm3, eax
	movss	DWORD PTR -40[rbp], xmm3
	lea	rdi, idum[rip]
	call	ran2
	movss	xmm1, DWORD PTR -40[rbp]
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC10[rip]
	addss	xmm0, xmm1
	cvttss2si	eax, xmm0
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR N_side[rip]
	pxor	xmm4, xmm4
	cvtsi2ss	xmm4, eax
	movss	DWORD PTR -40[rbp], xmm4
	lea	rdi, idum[rip]
	call	ran2
	movss	xmm1, DWORD PTR -40[rbp]
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC10[rip]
	addss	xmm0, xmm1
	cvttss2si	eax, xmm0
	mov	DWORD PTR -12[rbp], eax
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	trial_move
	add	DWORD PTR -32[rbp], 1
.L20:
	mov	eax, DWORD PTR N[rip]
	cmp	DWORD PTR -32[rbp], eax
	jle	.L21
	mov	ecx, DWORD PTR -28[rbp]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	sub	ecx, eax
	mov	edx, ecx
	test	edx, edx
	jne	.L22
	movss	xmm0, DWORD PTR energy[rip]
	mov	eax, DWORD PTR N[rip]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	divss	xmm0, xmm1
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	mov	eax, DWORD PTR netmag[rip]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	mov	eax, DWORD PTR N[rip]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	divss	xmm0, xmm1
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm0
	movq	rcx, xmm5
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -8[rbp]
	movapd	xmm1, xmm2
	movq	xmm0, rcx
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
.L22:
	add	DWORD PTR -28[rbp], 1
.L19:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jle	.L23
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, DWORD PTR -24[rbp]
	movq	rax, xmm6
	movq	xmm0, rax
	lea	rdi, .LC12[rip]
	mov	eax, 1
	call	printf@PLT
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, DWORD PTR -20[rbp]
	movq	rax, xmm7
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	monte_carlo, .-monte_carlo
	.globl	trial_move
	.type	trial_move, @function
trial_move:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	DWORD PTR -24[rbp], 0
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rax, rax, 1001
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, spin[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -36[rbp], 1
	jne	.L25
	mov	eax, DWORD PTR N_side[rip]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	cdqe
	imul	rax, rax, 1001
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, spin[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -16[rbp], eax
	jmp	.L26
.L25:
	mov	eax, DWORD PTR -36[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -40[rbp]
	movsx	rcx, eax
	movsx	rax, edx
	imul	rax, rax, 1001
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, spin[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -16[rbp], eax
.L26:
	mov	eax, DWORD PTR N_side[rip]
	cmp	DWORD PTR -36[rbp], eax
	jne	.L27
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 1001
	lea	rdx, 0[0+rax*4]
	lea	rax, spin[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -12[rbp], eax
	jmp	.L28
.L27:
	mov	eax, DWORD PTR -36[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -40[rbp]
	movsx	rcx, eax
	movsx	rax, edx
	imul	rax, rax, 1001
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, spin[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -12[rbp], eax
.L28:
	mov	eax, DWORD PTR N_side[rip]
	cmp	DWORD PTR -40[rbp], eax
	jne	.L29
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rax, rax, 4004
	lea	rdx, spin[rip+4]
	mov	eax, DWORD PTR [rax+rdx]
	mov	DWORD PTR -8[rbp], eax
	jmp	.L30
.L29:
	mov	eax, DWORD PTR -40[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rax, rax, 1001
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, spin[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -8[rbp], eax
.L30:
	cmp	DWORD PTR -40[rbp], 1
	jne	.L31
	mov	eax, DWORD PTR N_side[rip]
	movsx	rdx, eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rax, rax, 1001
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, spin[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L33
.L31:
	mov	eax, DWORD PTR -40[rbp]
	sub	eax, 1
	movsx	rdx, eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rax, rax, 1001
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, spin[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -4[rbp], eax
.L33:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	trial_move, .-trial_move
	.section	.rodata
.LC14:
	.string	"%d "
	.text
	.globl	write_config
	.type	write_config, @function
write_config:
.LFB10:
	.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	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -16[rbp], 1
	jmp	.L35
.L38:
	mov	DWORD PTR -12[rbp], 1
	jmp	.L36
.L37:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	imul	rax, rax, 1001
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, spin[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -12[rbp], 1
.L36:
	mov	eax, DWORD PTR N_side[rip]
	cmp	DWORD PTR -12[rbp], eax
	jle	.L37
	add	DWORD PTR -16[rbp], 1
.L35:
	mov	eax, DWORD PTR N_side[rip]
	cmp	DWORD PTR -16[rbp], eax
	jle	.L38
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	write_config, .-write_config
	.section	.rodata
.LC15:
	.string	"r"
.LC16:
	.string	"%d"
	.text
	.globl	read_config
	.type	read_config, @function
read_config:
.LFB11:
	.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	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -16[rbp], 1
	jmp	.L40
.L43:
	mov	DWORD PTR -12[rbp], 1
	jmp	.L41
.L42:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	imul	rax, rax, 1001
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, spin[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	DWORD PTR -12[rbp], 1
.L41:
	mov	eax, DWORD PTR N_side[rip]
	cmp	DWORD PTR -12[rbp], eax
	jle	.L42
	add	DWORD PTR -16[rbp], 1
.L40:
	mov	eax, DWORD PTR N_side[rip]
	cmp	DWORD PTR -16[rbp], eax
	jle	.L43
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	read_config, .-read_config
	.section	.rodata
.LC21:
	.string	"config.eps"
.LC22:
	.string	"%%!PS-Adobe-3.0 EPSF-3.0\n"
.LC23:
	.string	"%%%%BoundingBox: 0 0 %d %d\n"
.LC24:
	.string	"%f %f scale\n"
.LC25:
	.string	"%4.3f setgray\n"
.LC26:
	.string	"newpath\n"
.LC27:
	.string	"%3.0f %3.0f moveto\n"
.LC28:
	.string	"%3.0f %3.0f lineto\n"
.LC29:
	.string	"closepath\nfill\n"
.LC30:
	.string	"%%EOF\n"
	.text
	.globl	write_picture
	.type	write_picture, @function
write_picture:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	pxor	xmm0, xmm0
	movss	DWORD PTR -32[rbp], xmm0
	movss	xmm0, DWORD PTR .LC17[rip]
	movss	DWORD PTR -28[rbp], xmm0
	movss	xmm0, DWORD PTR .LC17[rip]
	movss	DWORD PTR -24[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -20[rbp], xmm0
	movss	xmm0, DWORD PTR .LC18[rip]
	movss	DWORD PTR -16[rbp], xmm0
	movss	xmm0, DWORD PTR .LC19[rip]
	movss	DWORD PTR -12[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -48[rbp], xmm0
	mov	eax, DWORD PTR N_side[rip]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC20[rip]
	divsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -44[rbp], xmm0
	lea	rsi, .LC7[rip]
	lea	rdi, .LC21[rip]
	call	fopen@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	ecx, 600
	mov	edx, 700
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	movss	xmm0, DWORD PTR -24[rbp]
	cvtss2sd	xmm0, xmm0
	movss	xmm1, DWORD PTR -28[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm1
	movq	rdx, xmm3
	mov	rax, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
	mov	DWORD PTR -56[rbp], 1
	jmp	.L45
.L49:
	mov	DWORD PTR -52[rbp], 1
	jmp	.L46
.L48:
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	imul	rax, rax, 1001
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, spin[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jle	.L47
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, DWORD PTR -48[rbp]
	movq	rdx, xmm4
	mov	rax, QWORD PTR -40[rbp]
	movq	xmm0, rdx
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 8
	mov	esi, 1
	lea	rdi, .LC26[rip]
	call	fwrite@PLT
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -52[rbp]
	movaps	xmm1, xmm0
	mulss	xmm1, DWORD PTR -44[rbp]
	movss	xmm0, DWORD PTR -12[rbp]
	addss	xmm0, xmm1
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -56[rbp]
	movaps	xmm1, xmm0
	mulss	xmm1, DWORD PTR -44[rbp]
	movss	xmm0, DWORD PTR -16[rbp]
	addss	xmm0, xmm1
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm0
	movq	rdx, xmm5
	mov	rax, QWORD PTR -40[rbp]
	movapd	xmm1, xmm2
	movq	xmm0, rdx
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -52[rbp]
	movaps	xmm1, xmm0
	mulss	xmm1, DWORD PTR -44[rbp]
	movss	xmm0, DWORD PTR -12[rbp]
	addss	xmm0, xmm1
	addss	xmm0, DWORD PTR -44[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -56[rbp]
	movaps	xmm1, xmm0
	mulss	xmm1, DWORD PTR -44[rbp]
	movss	xmm0, DWORD PTR -16[rbp]
	addss	xmm0, xmm1
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, xmm0
	movq	rdx, xmm6
	mov	rax, QWORD PTR -40[rbp]
	movapd	xmm1, xmm2
	movq	xmm0, rdx
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -52[rbp]
	movaps	xmm1, xmm0
	mulss	xmm1, DWORD PTR -44[rbp]
	movss	xmm0, DWORD PTR -12[rbp]
	addss	xmm0, xmm1
	addss	xmm0, DWORD PTR -44[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -56[rbp]
	movaps	xmm1, xmm0
	mulss	xmm1, DWORD PTR -44[rbp]
	movss	xmm0, DWORD PTR -16[rbp]
	addss	xmm0, xmm1
	addss	xmm0, DWORD PTR -44[rbp]
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, xmm0
	movq	rdx, xmm7
	mov	rax, QWORD PTR -40[rbp]
	movapd	xmm1, xmm2
	movq	xmm0, rdx
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -52[rbp]
	movaps	xmm1, xmm0
	mulss	xmm1, DWORD PTR -44[rbp]
	movss	xmm0, DWORD PTR -12[rbp]
	addss	xmm0, xmm1
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -56[rbp]
	movaps	xmm1, xmm0
	mulss	xmm1, DWORD PTR -44[rbp]
	movss	xmm0, DWORD PTR -16[rbp]
	addss	xmm0, xmm1
	addss	xmm0, DWORD PTR -44[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rdx, xmm3
	mov	rax, QWORD PTR -40[rbp]
	movapd	xmm1, xmm2
	movq	xmm0, rdx
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC29[rip]
	call	fwrite@PLT
.L47:
	add	DWORD PTR -52[rbp], 1
.L46:
	mov	eax, DWORD PTR N_side[rip]
	cmp	DWORD PTR -52[rbp], eax
	jle	.L48
	add	DWORD PTR -56[rbp], 1
.L45:
	mov	eax, DWORD PTR N_side[rip]
	cmp	DWORD PTR -56[rbp], eax
	jle	.L49
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L50
	call	__stack_chk_fail@PLT
.L50:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	write_picture, .-write_picture
	.section	.rodata
.LC31:
	.string	"input.txt"
.LC32:
	.string	"%f"
.LC33:
	.string	"%s"
.LC34:
	.string	"N=%d\t\t T=%3.2f\t\t field=%3.2f\n"
.LC35:
	.string	"n_steps=%d\t\n"
	.text
	.globl	read_input
	.type	read_input, @function
read_input:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -124[rbp], 100
	lea	rsi, .LC15[rip]
	lea	rdi, .LC31[rip]
	call	fopen@PLT
	mov	QWORD PTR -120[rbp], rax
	mov	rdx, QWORD PTR -120[rbp]
	mov	ecx, DWORD PTR -124[rbp]
	lea	rax, -112[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -112[rbp]
	lea	rdx, N_side[rip]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	edx, DWORD PTR N_side[rip]
	mov	eax, DWORD PTR N_side[rip]
	imul	eax, edx
	mov	DWORD PTR N[rip], eax
	mov	rdx, QWORD PTR -120[rbp]
	mov	ecx, DWORD PTR -124[rbp]
	lea	rax, -112[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -112[rbp]
	lea	rdx, T[rip]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	rdx, QWORD PTR -120[rbp]
	mov	ecx, DWORD PTR -124[rbp]
	lea	rax, -112[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -112[rbp]
	lea	rdx, field[rip]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	rdx, QWORD PTR -120[rbp]
	mov	ecx, DWORD PTR -124[rbp]
	lea	rax, -112[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -112[rbp]
	lea	rdx, n_steps[rip]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	rdx, QWORD PTR -120[rbp]
	mov	ecx, DWORD PTR -124[rbp]
	lea	rax, -112[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -112[rbp]
	lea	rdx, start_flag[rip]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	rdx, QWORD PTR -120[rbp]
	mov	ecx, DWORD PTR -124[rbp]
	lea	rax, -112[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -112[rbp]
	lea	rdx, config_file[rip]
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	movss	xmm0, DWORD PTR field[rip]
	cvtss2sd	xmm0, xmm0
	movss	xmm1, DWORD PTR T[rip]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm1
	movq	rdx, xmm2
	mov	eax, DWORD PTR N[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC34[rip]
	mov	eax, 2
	call	printf@PLT
	mov	eax, DWORD PTR n_steps[rip]
	mov	esi, eax
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L52
	call	__stack_chk_fail@PLT
.L52:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	read_input, .-read_input
	.globl	ran2
	.type	ran2, @function
ran2:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jg	.L54
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	js	.L55
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], 1
	jmp	.L56
.L55:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
.L56:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR idum2.2[rip], rax
	mov	DWORD PTR -16[rbp], 39
	jmp	.L57
.L60:
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR [rax]
	movabs	rdx, -7183739866224372601
	mov	rax, rcx
	imul	rdx
	lea	rax, [rdx+rcx]
	sar	rax, 15
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	imul	rax, rax, -53668
	add	rax, rdx
	imul	rdx, rax, 40014
	mov	rax, QWORD PTR -8[rbp]
	imul	rax, rax, -12211
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jns	.L58
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 2147483563[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
.L58:
	cmp	DWORD PTR -16[rbp], 31
	jg	.L59
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, iv.1[rip]
	mov	QWORD PTR [rcx+rdx], rax
.L59:
	sub	DWORD PTR -16[rbp], 1
.L57:
	cmp	DWORD PTR -16[rbp], 0
	jns	.L60
	mov	rax, QWORD PTR iv.1[rip]
	mov	QWORD PTR iy.0[rip], rax
.L54:
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR [rax]
	movabs	rdx, -7183739866224372601
	mov	rax, rcx
	imul	rdx
	lea	rax, [rdx+rcx]
	sar	rax, 15
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	imul	rax, rax, -53668
	add	rax, rdx
	imul	rdx, rax, 40014
	mov	rax, QWORD PTR -8[rbp]
	imul	rax, rax, -12211
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jns	.L61
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 2147483563[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
.L61:
	mov	rcx, QWORD PTR idum2.2[rip]
	movabs	rdx, 5726900650010560005
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 14
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	imul	rdx, rax, -52774
	mov	rax, QWORD PTR idum2.2[rip]
	add	rax, rdx
	imul	rdx, rax, 40692
	mov	rax, QWORD PTR -8[rbp]
	imul	rax, rax, -3791
	add	rax, rdx
	mov	QWORD PTR idum2.2[rip], rax
	mov	rax, QWORD PTR idum2.2[rip]
	test	rax, rax
	jns	.L62
	mov	rax, QWORD PTR idum2.2[rip]
	add	rax, 2147483399
	mov	QWORD PTR idum2.2[rip], rax
.L62:
	mov	rcx, QWORD PTR iy.0[rip]
	movabs	rdx, -9223371761976860671
	mov	rax, rcx
	imul	rdx
	lea	rax, [rdx+rcx]
	sar	rax, 25
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, iv.1[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR idum2.2[rip]
	sub	rax, rdx
	mov	QWORD PTR iy.0[rip], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, iv.1[rip]
	mov	QWORD PTR [rcx+rdx], rax
	mov	rax, QWORD PTR iy.0[rip]
	test	rax, rax
	jg	.L63
	mov	rax, QWORD PTR iy.0[rip]
	add	rax, 2147483562
	mov	QWORD PTR iy.0[rip], rax
.L63:
	mov	rax, QWORD PTR iy.0[rip]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC36[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -12[rbp]
	comisd	xmm0, QWORD PTR .LC37[rip]
	jbe	.L68
	movss	xmm0, DWORD PTR .LC38[rip]
	jmp	.L66
.L68:
	movss	xmm0, DWORD PTR -12[rbp]
.L66:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	ran2, .-ran2
	.data
	.align 8
	.type	idum2.2, @object
	.size	idum2.2, 8
idum2.2:
	.quad	123456789
	.local	iv.1
	.comm	iv.1,256,32
	.local	iy.0
	.comm	iy.0,8,8
	.section	.rodata
	.align 8
.LC2:
	.long	0
	.long	-1073741824
	.align 4
.LC10:
	.long	1065353216
	.align 4
.LC17:
	.long	1056964608
	.align 4
.LC18:
	.long	1132068864
	.align 4
.LC19:
	.long	1120403456
	.align 8
.LC20:
	.long	0
	.long	1083129856
	.align 8
.LC36:
	.long	178257927
	.long	1040187392
	.align 8
.LC37:
	.long	-1080863911
	.long	1072693247
	.align 4
.LC38:
	.long	1065353214
	.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	"434867.c"
	.text
	.comm	idum,4,4
	.comm	spin,4008004,4
	.comm	N_side,4,4
	.comm	N,4,4
	.comm	T,4,4
	.comm	field,4,4
	.comm	n_steps,4,4
	.comm	start_flag,4,4
	.comm	config_file,80,4
	.global	netmag
	.bss
	.align	2
	.type	netmag, %object
	.size	netmag, 4
netmag:
	.space	4
	.global	energy
	.align	2
	.type	energy, %object
	.size	energy, 4
energy:
	.space	4
	.section	.rodata
	.align	2
.LC2:
	.ascii	"config\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
	bl	read_input
	bl	initialize
	ldr	r3, .L3
	ldr	r3, [r3]
	mov	r0, r3
	bl	monte_carlo
	ldr	r0, .L3+4
	bl	write_config
	bl	write_picture
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	n_steps
	.word	.LC2
	.size	main, .-main
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Generating magnetized configuration...\000"
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_d2f
	.align	2
.LC4:
	.ascii	"Reading configuration from file %s...\012\000"
	.global	__aeabi_i2f
	.global	__aeabi_fsub
	.global	__aeabi_fmul
	.global	__aeabi_fdiv
	.global	__aeabi_f2d
	.align	2
.LC5:
	.ascii	"Initial magnetization per spin = %f\012\000"
	.align	2
.LC6:
	.ascii	"Initial energy per spin = %f\012\012\000"
	.text
	.align	2
	.global	initialize
	.syntax unified
	.arm
	.fpu softvfp
	.type	initialize, %function
initialize:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	mov	r0, #0
	bl	time
	mov	r3, r0
	rsb	r3, r3, #0
	ldr	r2, .L20
	str	r3, [r2]
	ldr	r3, .L20+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L6
	ldr	r0, .L20+8
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-28]
	b	.L7
.L10:
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L8
.L9:
	ldr	r1, .L20+12
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L20+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L20+16
	str	r3, [r2]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L8:
	ldr	r3, .L20+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	ble	.L9
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L7:
	ldr	r3, .L20+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	ble	.L10
	ldr	r3, .L20+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	mov	r3, #-1073741824
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	ldr	r2, .L20+28
	str	r3, [r2]	@ float
	b	.L11
.L6:
	ldr	r1, .L20+32
	ldr	r0, .L20+36
	bl	printf
	ldr	r0, .L20+32
	bl	read_config
	mov	r3, #1
	str	r3, [fp, #-28]
	b	.L12
.L19:
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L13
.L18:
	ldr	r1, .L20+12
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [r1, r3, lsl #2]
	ldr	r3, .L20+16
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L20+16
	str	r3, [r2]
	ldr	r3, .L20+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bne	.L14
	ldr	r2, .L20+12
	ldr	r3, [fp, #-24]
	add	r3, r3, #1000
	add	r3, r3, #1
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-16]
	b	.L15
.L14:
	ldr	r3, [fp, #-28]
	add	r2, r3, #1
	ldr	r1, .L20+12
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	str	r3, [fp, #-16]
.L15:
	ldr	r3, .L20+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L16
	ldr	r1, .L20+12
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r1, r2
	add	r3, r3, #4
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	b	.L17
.L16:
	ldr	r3, [fp, #-24]
	add	r1, r3, #1
	ldr	r0, .L20+12
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r3, r2, r1
	ldr	r3, [r0, r3, lsl #2]
	str	r3, [fp, #-20]
.L17:
	ldr	r3, .L20+28
	ldr	r4, [r3]	@ float
	ldr	r1, .L20+12
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-16]
	add	r2, r1, r2
	mul	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L20+28
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L13:
	ldr	r3, .L20+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	ble	.L18
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L12:
	ldr	r3, .L20+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	ble	.L19
.L11:
	ldr	r3, .L20+28
	ldr	r4, [r3]	@ float
	ldr	r3, .L20+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r2, r0
	ldr	r3, .L20+40
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L20+28
	str	r2, [r3]	@ float
	ldr	r3, .L20+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, .L20+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L20+44
	bl	printf
	ldr	r3, .L20+28
	ldr	r4, [r3]	@ float
	ldr	r3, .L20+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L20+48
	bl	printf
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L21:
	.align	2
.L20:
	.word	idum
	.word	start_flag
	.word	.LC3
	.word	spin
	.word	netmag
	.word	N_side
	.word	N
	.word	energy
	.word	config_file
	.word	.LC4
	.word	field
	.word	.LC5
	.word	.LC6
	.size	initialize, .-initialize
	.section	.rodata
	.align	2
.LC7:
	.ascii	"w\000"
	.align	2
.LC8:
	.ascii	"trajectory\000"
	.align	2
.LC9:
	.ascii	"Generating trajectory...\000"
	.global	__aeabi_fadd
	.global	__aeabi_f2iz
	.align	2
.LC10:
	.ascii	"%d %f %f\012\000"
	.align	2
.LC11:
	.ascii	"Average magnetization per spin = %f\012\000"
	.align	2
.LC12:
	.ascii	"Average energy per spin = %f\012\000"
	.text
	.align	2
	.global	monte_carlo
	.syntax unified
	.arm
	.fpu softvfp
	.type	monte_carlo, %function
monte_carlo:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #60
	str	r0, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-40]	@ float
	mov	r3, #0
	str	r3, [fp, #-36]	@ float
	ldr	r1, .L28
	ldr	r0, .L28+4
	bl	fopen
	str	r0, [fp, #-32]
	ldr	r0, .L28+8
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-44]
	b	.L23
.L27:
	mov	r3, #1
	str	r3, [fp, #-48]
	b	.L24
.L25:
	ldr	r3, .L28+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r0, .L28+16
	bl	ran2
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, #1065353216
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, .L28+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r0, .L28+16
	bl	ran2
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, #1065353216
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-28]
	bl	trial_move
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L24:
	ldr	r3, .L28+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	ble	.L25
	ldr	r1, [fp, #-44]
	ldr	r3, .L28+24
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L26
	ldr	r3, .L28+28
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, .L28+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, .L28+32
	ldr	r6, [r3]	@ float
	ldr	r3, .L28+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r6
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r4-r5}
	ldr	r2, [fp, #-44]
	ldr	r1, .L28+36
	ldr	r0, [fp, #-32]
	bl	fprintf
.L26:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L23:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	ble	.L27
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L28+40
	bl	printf
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L28+44
	bl	printf
	nop
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	N_side
	.word	idum
	.word	N
	.word	1717986919
	.word	netmag
	.word	energy
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	monte_carlo, .-monte_carlo
	.align	2
	.global	trial_move
	.syntax unified
	.arm
	.fpu softvfp
	.type	trial_move, %function
trial_move:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-28]
	ldr	r1, .L40
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bne	.L31
	ldr	r3, .L40+4
	ldr	r2, [r3]
	ldr	r1, .L40
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	str	r3, [fp, #-20]
	b	.L32
.L31:
	ldr	r3, [fp, #-32]
	sub	r2, r3, #1
	ldr	r1, .L40
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	str	r3, [fp, #-20]
.L32:
	ldr	r3, .L40+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bne	.L33
	ldr	r2, .L40
	ldr	r3, [fp, #-36]
	add	r3, r3, #1000
	add	r3, r3, #1
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-16]
	b	.L34
.L33:
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	ldr	r1, .L40
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	str	r3, [fp, #-16]
.L34:
	ldr	r3, .L40+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	bne	.L35
	ldr	r1, .L40
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r1, r2
	add	r3, r3, #4
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L36
.L35:
	ldr	r3, [fp, #-36]
	add	r1, r3, #1
	ldr	r0, .L40
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r3, r2, r1
	ldr	r3, [r0, r3, lsl #2]
	str	r3, [fp, #-12]
.L36:
	ldr	r3, [fp, #-36]
	cmp	r3, #1
	bne	.L37
	ldr	r3, .L40+4
	ldr	r1, [r3]
	ldr	r0, .L40
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r3, r2, r1
	ldr	r3, [r0, r3, lsl #2]
	str	r3, [fp, #-8]
	b	.L39
.L37:
	ldr	r3, [fp, #-36]
	sub	r1, r3, #1
	ldr	r0, .L40
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r3, r2, r1
	ldr	r3, [r0, r3, lsl #2]
	str	r3, [fp, #-8]
.L39:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L41:
	.align	2
.L40:
	.word	spin
	.word	N_side
	.size	trial_move, .-trial_move
	.section	.rodata
	.align	2
.LC13:
	.ascii	"%d \000"
	.text
	.align	2
	.global	write_config
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_config, %function
write_config:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r1, .L47
	ldr	r0, [fp, #-24]
	bl	fopen
	str	r0, [fp, #-8]
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L43
.L46:
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L44
.L45:
	ldr	r1, .L47+4
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	mov	r2, r3
	ldr	r1, .L47+8
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L44:
	ldr	r3, .L47+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L45
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L43:
	ldr	r3, .L47+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	ble	.L46
	ldr	r0, [fp, #-8]
	bl	fclose
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	.LC7
	.word	spin
	.word	.LC13
	.word	N_side
	.size	write_config, .-write_config
	.section	.rodata
	.align	2
.LC14:
	.ascii	"r\000"
	.align	2
.LC15:
	.ascii	"%d\000"
	.text
	.align	2
	.global	read_config
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_config, %function
read_config:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r1, .L54
	ldr	r0, [fp, #-24]
	bl	fopen
	str	r0, [fp, #-8]
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L50
.L53:
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L51
.L52:
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, .L54+4
	add	r3, r3, r2
	mov	r2, r3
	ldr	r1, .L54+8
	ldr	r0, [fp, #-8]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L51:
	ldr	r3, .L54+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L52
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L50:
	ldr	r3, .L54+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	ble	.L53
	ldr	r0, [fp, #-8]
	bl	fclose
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L55:
	.align	2
.L54:
	.word	.LC14
	.word	spin
	.word	.LC15
	.word	N_side
	.size	read_config, .-read_config
	.global	__aeabi_ddiv
	.section	.rodata
	.align	2
.LC16:
	.ascii	"config.eps\000"
	.align	2
.LC17:
	.ascii	"%%!PS-Adobe-3.0 EPSF-3.0\012\000"
	.align	2
.LC18:
	.ascii	"%%%%BoundingBox: 0 0 %d %d\012\000"
	.align	2
.LC19:
	.ascii	"%f %f scale\012\000"
	.align	2
.LC20:
	.ascii	"%4.3f setgray\012\000"
	.align	2
.LC21:
	.ascii	"newpath\012\000"
	.align	2
.LC22:
	.ascii	"%3.0f %3.0f moveto\012\000"
	.align	2
.LC23:
	.ascii	"%3.0f %3.0f lineto\012\000"
	.align	2
.LC24:
	.ascii	"closepath\012fill\012\000"
	.align	2
.LC25:
	.ascii	"%%EOF\012\000"
	.align	2
.LC0:
	.word	0
	.word	1056964608
	.word	1056964608
	.align	2
.LC1:
	.word	0
	.word	1132068864
	.word	1120403456
	.align	2
.LC26:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	write_picture
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_picture, %function
write_picture:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #56
	ldr	r3, .L63
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r2, .L63+4
	sub	r3, fp, #40
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	ldr	r2, .L63+8
	sub	r3, fp, #28
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	mov	r3, #0
	str	r3, [fp, #-52]	@ float
	ldr	r3, .L63+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L63+16
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-48]	@ float
	ldr	r1, .L63+20
	ldr	r0, .L63+24
	bl	fopen
	str	r0, [fp, #-44]
	ldr	r1, .L63+28
	ldr	r0, [fp, #-44]
	bl	fprintf
	mov	r3, #600
	mov	r2, #700
	ldr	r1, .L63+32
	ldr	r0, [fp, #-44]
	bl	fprintf
	ldr	r3, [fp, #-36]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-32]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r1, .L63+36
	ldr	r0, [fp, #-44]
	bl	fprintf
	mov	r3, #1
	str	r3, [fp, #-60]
	b	.L57
.L61:
	mov	r3, #1
	str	r3, [fp, #-56]
	b	.L58
.L60:
	ldr	r1, .L63+40
	ldr	r2, [fp, #-60]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #0
	ble	.L59
	ldr	r0, [fp, #-52]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L63+44
	ldr	r0, [fp, #-44]
	bl	fprintf
	ldr	r3, [fp, #-44]
	mov	r2, #8
	mov	r1, #1
	ldr	r0, .L63+48
	bl	fwrite
	ldr	r0, [fp, #-60]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-48]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-56]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-48]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-20]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r1, .L63+52
	ldr	r0, [fp, #-44]
	bl	fprintf
	ldr	r0, [fp, #-60]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-48]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-56]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-48]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-20]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, [fp, #-48]	@ float
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r1, .L63+56
	ldr	r0, [fp, #-44]
	bl	fprintf
	ldr	r0, [fp, #-60]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-48]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, [fp, #-48]	@ float
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-56]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-48]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-20]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, [fp, #-48]	@ float
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r1, .L63+56
	ldr	r0, [fp, #-44]
	bl	fprintf
	ldr	r0, [fp, #-60]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-48]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, [fp, #-48]	@ float
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-56]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-48]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-20]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r1, .L63+56
	ldr	r0, [fp, #-44]
	bl	fprintf
	ldr	r3, [fp, #-44]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L63+60
	bl	fwrite
.L59:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L58:
	ldr	r3, .L63+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	ble	.L60
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L57:
	ldr	r3, .L63+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	ble	.L61
	ldr	r1, .L63+64
	ldr	r0, [fp, #-44]
	bl	fprintf
	ldr	r0, [fp, #-44]
	bl	fclose
	nop
	ldr	r3, .L63
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L62
	bl	__stack_chk_fail
.L62:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L64:
	.align	2
.L63:
	.word	.LC26
	.word	.LC0
	.word	.LC1
	.word	N_side
	.word	1083129856
	.word	.LC7
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	spin
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.size	write_picture, .-write_picture
	.section	.rodata
	.align	2
.LC27:
	.ascii	"input.txt\000"
	.align	2
.LC28:
	.ascii	"%f\000"
	.align	2
.LC29:
	.ascii	"%s\000"
	.align	2
.LC30:
	.ascii	"N=%d\011\011 T=%3.2f\011\011 field=%3.2f\012\000"
	.align	2
.LC31:
	.ascii	"n_steps=%d\011\012\000"
	.align	2
.LC32:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_input
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_input, %function
read_input:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #132
	ldr	r3, .L67
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, #100
	str	r3, [fp, #-136]
	ldr	r1, .L67+4
	ldr	r0, .L67+8
	bl	fopen
	str	r0, [fp, #-132]
	sub	r3, fp, #128
	ldr	r2, [fp, #-132]
	ldr	r1, [fp, #-136]
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #128
	ldr	r2, .L67+12
	ldr	r1, .L67+16
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, .L67+12
	ldr	r3, [r3]
	ldr	r2, .L67+12
	ldr	r2, [r2]
	mul	r3, r2, r3
	ldr	r2, .L67+20
	str	r3, [r2]
	sub	r3, fp, #128
	ldr	r2, [fp, #-132]
	ldr	r1, [fp, #-136]
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #128
	ldr	r2, .L67+24
	ldr	r1, .L67+28
	mov	r0, r3
	bl	__isoc99_sscanf
	sub	r3, fp, #128
	ldr	r2, [fp, #-132]
	ldr	r1, [fp, #-136]
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #128
	ldr	r2, .L67+32
	ldr	r1, .L67+28
	mov	r0, r3
	bl	__isoc99_sscanf
	sub	r3, fp, #128
	ldr	r2, [fp, #-132]
	ldr	r1, [fp, #-136]
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #128
	ldr	r2, .L67+36
	ldr	r1, .L67+16
	mov	r0, r3
	bl	__isoc99_sscanf
	sub	r3, fp, #128
	ldr	r2, [fp, #-132]
	ldr	r1, [fp, #-136]
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #128
	ldr	r2, .L67+40
	ldr	r1, .L67+16
	mov	r0, r3
	bl	__isoc99_sscanf
	sub	r3, fp, #128
	ldr	r2, [fp, #-132]
	ldr	r1, [fp, #-136]
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #128
	ldr	r2, .L67+44
	ldr	r1, .L67+48
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, .L67+20
	ldr	r6, [r3]
	ldr	r3, .L67+24
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, .L67+32
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	mov	r1, r6
	ldr	r0, .L67+52
	bl	printf
	ldr	r3, .L67+36
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L67+56
	bl	printf
	nop
	ldr	r3, .L67
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L66
	bl	__stack_chk_fail
.L66:
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L68:
	.align	2
.L67:
	.word	.LC32
	.word	.LC14
	.word	.LC27
	.word	N_side
	.word	.LC15
	.word	N
	.word	T
	.word	.LC28
	.word	field
	.word	n_steps
	.word	start_flag
	.word	config_file
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.size	read_input, .-read_input
	.global	__aeabi_dcmpgt
	.align	2
	.global	ran2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ran2, %function
ran2:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L70
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	cmp	r3, #0
	blt	.L71
	ldr	r3, [fp, #-24]
	mov	r2, #1
	str	r2, [r3]
	b	.L72
.L71:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	rsb	r2, r3, #0
	ldr	r3, [fp, #-24]
	str	r2, [r3]
.L72:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r2, .L85
	str	r3, [r2]
	mov	r3, #39
	str	r3, [fp, #-16]
	b	.L73
.L76:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r2, .L85+4
	smull	r1, r2, r3, r2
	asr	r2, r2, #12
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r1, .L85+8
	mul	r3, r1, r3
	add	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #9
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-12]
	ldr	r2, .L85+12
	mul	r3, r2, r3
	add	r2, r1, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L74
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	add	r3, r3, #-2147483648
	sub	r3, r3, #85
	ldr	r2, [fp, #-24]
	str	r3, [r2]
.L74:
	ldr	r3, [fp, #-16]
	cmp	r3, #31
	bgt	.L75
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r1, .L85+16
	ldr	r3, [fp, #-16]
	str	r2, [r1, r3, lsl #2]
.L75:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
.L73:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L76
	ldr	r3, .L85+16
	ldr	r3, [r3]
	ldr	r2, .L85+20
	str	r3, [r2]
.L70:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r2, .L85+4
	smull	r1, r2, r3, r2
	asr	r2, r2, #12
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r1, .L85+8
	mul	r3, r1, r3
	add	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r2, r3, #9
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-12]
	ldr	r2, .L85+12
	mul	r3, r2, r3
	add	r2, r1, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L77
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	add	r3, r3, #-2147483648
	sub	r3, r3, #85
	ldr	r2, [fp, #-24]
	str	r3, [r2]
.L77:
	ldr	r3, .L85
	ldr	r3, [r3]
	ldr	r2, .L85+24
	smull	r1, r2, r3, r2
	asr	r2, r2, #14
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, .L85+28
	mul	r2, r3, r2
	ldr	r3, .L85
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L85+32
	mul	r1, r2, r3
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	rsb	r3, r3, #0
	add	r3, r1, r3
	ldr	r2, .L85
	str	r3, [r2]
	ldr	r3, .L85
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L78
	ldr	r3, .L85
	ldr	r3, [r3]
	add	r3, r3, #-2147483648
	sub	r3, r3, #249
	ldr	r2, .L85
	str	r3, [r2]
.L78:
	ldr	r3, .L85+20
	ldr	r3, [r3]
	ldr	r2, .L85+36
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #25
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r2, .L85+16
	ldr	r3, [fp, #-16]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L85
	ldr	r3, [r3]
	sub	r3, r2, r3
	ldr	r2, .L85+20
	str	r3, [r2]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r1, .L85+16
	ldr	r3, [fp, #-16]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L85+20
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L79
	ldr	r3, .L85+20
	ldr	r3, [r3]
	add	r3, r3, #-2147483648
	sub	r3, r3, #86
	ldr	r2, .L85+20
	str	r3, [r2]
.L79:
	ldr	r3, .L85+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L85+40
	mov	r3, #1040187392
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L85+44
	ldr	r3, .L85+48
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L84
	ldr	r3, .L85+52
	b	.L82
.L84:
	ldr	r3, [fp, #-8]	@ float
.L82:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L86:
	.align	2
.L85:
	.word	idum2.6397
	.word	327796565
	.word	-53668
	.word	-12211
	.word	iv.6399
	.word	iy.6398
	.word	1333397965
	.word	-52774
	.word	40692
	.word	-2147483583
	.word	178257927
	.word	-1080863911
	.word	1072693247
	.word	1065353214
	.size	ran2, .-ran2
	.data
	.align	2
	.type	idum2.6397, %object
	.size	idum2.6397, 4
idum2.6397:
	.word	123456789
	.local	iv.6399
	.comm	iv.6399,128,4
	.local	iy.6398
	.comm	iy.6398,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
