	.file	"267273.c"
	.intel_syntax noprefix
	.text
	.globl	ran1
	.type	ran1, @function
ran1:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	drand48@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	ran1, .-ran1
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"seedms"
.LC2:
	.string	" %hd"
.LC3:
	.string	"\n%d %d %d\n"
.LC4:
	.string	"w"
.LC5:
	.string	"%d %d %d\n"
	.text
	.globl	seedit
	.type	seedit, @function
seedit:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 115
	jne	.L4
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L5
	mov	WORD PTR -20[rbp], 3579
	mov	WORD PTR -18[rbp], 27011
	mov	WORD PTR -16[rbp], -6293
	jmp	.L6
.L5:
	mov	WORD PTR -14[rbp], 3579
	mov	WORD PTR -12[rbp], 27011
	mov	WORD PTR -10[rbp], -6293
	mov	DWORD PTR -44[rbp], 0
	jmp	.L7
.L9:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, -20[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	test	eax, eax
	jg	.L8
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	movzx	edx, WORD PTR -14[rbp+rax*2]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	mov	WORD PTR -20[rbp+rax*2], dx
.L8:
	add	DWORD PTR -44[rbp], 1
.L7:
	cmp	DWORD PTR -44[rbp], 2
	jle	.L9
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L6:
	lea	rax, -20[rbp]
	mov	rdi, rax
	call	seed48@PLT
	movzx	eax, WORD PTR -16[rbp]
	movzx	ecx, ax
	movzx	eax, WORD PTR -18[rbp]
	movzx	edx, ax
	movzx	eax, WORD PTR -20[rbp]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L12
.L4:
	lea	rsi, .LC4[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -40[rbp], rax
	lea	rax, -20[rbp]
	mov	rdi, rax
	call	seed48@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 4
	movzx	eax, WORD PTR [rax]
	movzx	esi, ax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 2
	movzx	eax, WORD PTR [rax]
	movzx	ecx, ax
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	edx, ax
	mov	rax, QWORD PTR -40[rbp]
	mov	r8d, esi
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L12:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	seedit, .-seedit
	.globl	commandlineseed
	.type	commandlineseed, @function
commandlineseed:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	WORD PTR -14[rbp], ax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	WORD PTR -12[rbp], ax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	WORD PTR -10[rbp], ax
	movzx	eax, WORD PTR -10[rbp]
	movzx	ecx, ax
	movzx	eax, WORD PTR -12[rbp]
	movzx	edx, ax
	movzx	eax, WORD PTR -14[rbp]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -14[rbp]
	mov	rdi, rax
	call	seed48@PLT
	mov	eax, 3
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	commandlineseed, .-commandlineseed
	.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	"267273.c"
	.text
	.align	2
	.global	ran1
	.syntax unified
	.arm
	.fpu softvfp
	.type	ran1, %function
ran1:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	drand48
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	pop	{fp, pc}
	.size	ran1, .-ran1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"seedms\000"
	.align	2
.LC2:
	.ascii	" %hd\000"
	.align	2
.LC3:
	.ascii	"\012%d %d %d\012\000"
	.align	2
.LC4:
	.ascii	"w\000"
	.align	2
.LC5:
	.ascii	"%d %d %d\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	seedit
	.syntax unified
	.arm
	.fpu softvfp
	.type	seedit, %function
seedit:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #115
	bne	.L4
	ldr	r1, .L13+4
	ldr	r0, .L13+8
	bl	fopen
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L13+12
	strh	r3, [fp, #-24]	@ movhi
	ldr	r3, .L13+16
	strh	r3, [fp, #-22]	@ movhi
	ldr	r3, .L13+20
	strh	r3, [fp, #-20]	@ movhi
	b	.L6
.L5:
	ldr	r3, .L13+12
	strh	r3, [fp, #-16]	@ movhi
	ldr	r3, .L13+16
	strh	r3, [fp, #-14]	@ movhi
	ldr	r3, .L13+20
	strh	r3, [fp, #-12]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L7
.L9:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #1
	sub	r2, fp, #24
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L13+24
	ldr	r0, [fp, #-32]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #0
	bgt	.L8
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #12
	ldrh	r2, [r3]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #1
	sub	r1, fp, #4
	add	r3, r1, r3
	sub	r3, r3, #20
	strh	r2, [r3]	@ movhi
.L8:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L7:
	ldr	r3, [fp, #-36]
	cmp	r3, #2
	ble	.L9
	ldr	r0, [fp, #-32]
	bl	fclose
.L6:
	sub	r3, fp, #24
	mov	r0, r3
	bl	seed48
	ldrh	r3, [fp, #-24]
	mov	r1, r3
	ldrh	r3, [fp, #-22]
	mov	r2, r3
	ldrh	r3, [fp, #-20]
	ldr	r0, .L13+28
	bl	printf
	b	.L12
.L4:
	ldr	r1, .L13+32
	ldr	r0, .L13+8
	bl	fopen
	str	r0, [fp, #-32]
	sub	r3, fp, #24
	mov	r0, r3
	bl	seed48
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldrh	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, #2
	ldrh	r3, [r3]
	mov	r1, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldrh	r3, [r3]
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L13+36
	ldr	r0, [fp, #-32]
	bl	fprintf
.L12:
	nop
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	3579
	.word	27011
	.word	-6293
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	seedit, .-seedit
	.section	.rodata
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	commandlineseed
	.syntax unified
	.arm
	.fpu softvfp
	.type	commandlineseed, %function
commandlineseed:
	@ 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, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-16]	@ movhi
	ldr	r3, [fp, #-24]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-14]	@ movhi
	ldr	r3, [fp, #-24]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-12]	@ movhi
	ldrh	r3, [fp, #-16]
	mov	r1, r3
	ldrh	r3, [fp, #-14]
	mov	r2, r3
	ldrh	r3, [fp, #-12]
	ldr	r0, .L18+4
	bl	printf
	sub	r3, fp, #16
	mov	r0, r3
	bl	seed48
	mov	r3, #3
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC7
	.word	.LC3
	.size	commandlineseed, .-commandlineseed
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
