	.file	"511286.c"
	.intel_syntax noprefix
	.text
	.globl	g_seed
	.bss
	.align 8
	.type	g_seed, @object
	.size	g_seed, 8
g_seed:
	.zero	8
	.globl	g_nchains
	.align 8
	.type	g_nchains, @object
	.size	g_nchains, 8
g_nchains:
	.zero	8
	.globl	g_nelems
	.align 8
	.type	g_nelems, @object
	.size	g_nelems, 8
g_nelems:
	.zero	8
	.globl	g_from_node_id
	.align 8
	.type	g_from_node_id, @object
	.size	g_from_node_id, 8
g_from_node_id:
	.zero	8
	.globl	g_to_node_id
	.align 8
	.type	g_to_node_id, @object
	.size	g_to_node_id, 8
g_to_node_id:
	.zero	8
	.globl	g_element_size
	.align 8
	.type	g_element_size, @object
	.size	g_element_size, 8
g_element_size:
	.zero	8
	.globl	g_access_size
	.align 8
	.type	g_access_size, @object
	.size	g_access_size, 8
g_access_size:
	.zero	8
	.section	.rodata
.LC0:
	.string	"the_stack_data/511286.c"
.LC1:
	.string	"NULL != s && '\\0' != *s"
.LC2:
	.string	"'\\0' == *ep"
	.text
	.type	safe_strtoull, @function
safe_strtoull:
.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	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -40[rbp], 0
	je	.L2
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L7
.L2:
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 29
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L7:
	lea	rcx, -24[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	strtoull@PLT
	cdqe
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L4
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 31
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L4:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	safe_strtoull, .-safe_strtoull
	.section	.rodata
.LC3:
	.string	"latency_ns: %d\n"
	.text
	.globl	worker
	.type	worker, @function
worker:
.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	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR g_to_node_id[rip]
	mov	edi, eax
	mov	rax, QWORD PTR g_from_node_id[rip]
	mov	r9d, eax
	mov	rax, QWORD PTR g_access_size[rip]
	mov	r8d, eax
	mov	rax, QWORD PTR g_element_size[rip]
	mov	ecx, eax
	mov	rdx, QWORD PTR g_nelems[rip]
	mov	rax, QWORD PTR g_nchains[rip]
	mov	esi, eax
	mov	rax, QWORD PTR g_seed[rip]
	sub	rsp, 8
	push	rdi
	mov	rdi, rax
	call	measure_latency2@PLT
	add	rsp, 16
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	worker, .-worker
	.section	.rodata
	.align 8
.LC4:
	.string	"usage: %s PRNGseed Nthreads Nchains Nelems SZelem SZaccess from_node to_node\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 48
	mov	DWORD PTR -4132[rbp], edi
	mov	QWORD PTR -4144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -4132[rbp], 9
	je	.L11
	mov	rax, QWORD PTR -4144[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L17
.L11:
	mov	rax, QWORD PTR -4144[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	safe_strtoull
	mov	QWORD PTR g_seed[rip], rax
	mov	rax, QWORD PTR -4144[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	safe_strtoull
	mov	QWORD PTR -4120[rbp], rax
	mov	rax, QWORD PTR -4144[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	safe_strtoull
	mov	QWORD PTR g_nchains[rip], rax
	mov	rax, QWORD PTR -4144[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	safe_strtoull
	mov	QWORD PTR g_nelems[rip], rax
	mov	rax, QWORD PTR -4144[rbp]
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	safe_strtoull
	mov	QWORD PTR g_element_size[rip], rax
	mov	rax, QWORD PTR -4144[rbp]
	add	rax, 48
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	safe_strtoull
	mov	QWORD PTR g_access_size[rip], rax
	mov	rax, QWORD PTR -4144[rbp]
	add	rax, 56
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	safe_strtoull
	mov	QWORD PTR g_from_node_id[rip], rax
	mov	rax, QWORD PTR -4144[rbp]
	add	rax, 64
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	safe_strtoull
	mov	QWORD PTR g_to_node_id[rip], rax
	mov	DWORD PTR -4124[rbp], 0
	jmp	.L13
.L14:
	lea	rdx, -4112[rbp]
	mov	eax, DWORD PTR -4124[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	ecx, 0
	lea	rdx, worker[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	add	DWORD PTR -4124[rbp], 1
.L13:
	mov	eax, DWORD PTR -4124[rbp]
	cdqe
	cmp	QWORD PTR -4120[rbp], rax
	ja	.L14
	mov	DWORD PTR -4124[rbp], 0
	jmp	.L15
.L16:
	mov	eax, DWORD PTR -4124[rbp]
	cdqe
	mov	rax, QWORD PTR -4112[rbp+rax*8]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	add	DWORD PTR -4124[rbp], 1
.L15:
	mov	eax, DWORD PTR -4124[rbp]
	cdqe
	cmp	QWORD PTR -4120[rbp], rax
	ja	.L16
	mov	eax, 0
.L17:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	main, .-main
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 14
__PRETTY_FUNCTION__.0:
	.string	"safe_strtoull"
	.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	"511286.c"
	.text
	.comm	g_seed,8,8
	.comm	g_nchains,8,8
	.comm	g_nelems,8,8
	.comm	g_from_node_id,8,8
	.comm	g_to_node_id,8,8
	.comm	g_element_size,8,8
	.comm	g_access_size,8,8
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/511286.c\000"
	.align	2
.LC1:
	.ascii	"NULL != s && '\\0' != *s\000"
	.align	2
.LC2:
	.ascii	"'\\0' == *ep\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	safe_strtoull, %function
safe_strtoull:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L7
.L2:
	ldr	r3, .L8+4
	mov	r2, #29
	ldr	r1, .L8+8
	ldr	r0, .L8+12
	bl	__assert_fail
.L7:
	sub	r3, fp, #24
	mov	r2, #10
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	strtoull
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L8+4
	mov	r2, #31
	ldr	r1, .L8+8
	ldr	r0, .L8+16
	bl	__assert_fail
.L4:
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r1, .L8
	ldr	r0, [r1]
	ldr	r1, [fp, #-8]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC3
	.word	__PRETTY_FUNCTION__.5268
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	safe_strtoull, .-safe_strtoull
	.section	.rodata
	.align	2
.LC4:
	.ascii	"latency_ns: %d\012\000"
	.text
	.align	2
	.global	worker
	.syntax unified
	.arm
	.fpu softvfp
	.type	worker, %function
worker:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	ldr	r3, .L12
	ldmia	r3, {r0-r1}
	ldr	r3, .L12+4
	ldmia	r3, {r2-r3}
	mov	r5, r2
	ldr	r3, .L12+8
	ldmia	r3, {r2-r3}
	mov	r6, r2
	ldr	r3, .L12+12
	ldmia	r3, {r2-r3}
	mov	ip, r2
	ldr	r3, .L12+16
	ldmia	r3, {r2-r3}
	mov	lr, r2
	ldr	r3, .L12+20
	ldmia	r3, {r2-r3}
	mov	r4, r2
	ldr	r3, .L12+24
	ldmia	r3, {r2-r3}
	mov	r3, r2
	str	r3, [sp, #12]
	str	r4, [sp, #8]
	str	lr, [sp, #4]
	str	ip, [sp]
	mov	r3, r6
	mov	r2, r5
	bl	measure_latency2
	str	r0, [fp, #-24]
	ldr	r1, [fp, #-24]
	ldr	r0, .L12+28
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L13:
	.align	2
.L12:
	.word	g_seed
	.word	g_nchains
	.word	g_nelems
	.word	g_element_size
	.word	g_access_size
	.word	g_from_node_id
	.word	g_to_node_id
	.word	.LC4
	.size	worker, .-worker
	.section	.rodata
	.align	2
.LC5:
	.ascii	"usage: %s PRNGseed Nthreads Nchains Nelems SZelem S"
	.ascii	"Zaccess from_node to_node\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 2080
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2080
	str	r0, [fp, #-2080]
	str	r1, [fp, #-2084]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-2080]
	cmp	r3, #9
	beq	.L15
	ldr	r3, .L23+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-2084]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L23+8
	bl	fprintf
	mov	r3, #1
	b	.L21
.L15:
	ldr	r3, [fp, #-2084]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	safe_strtoull
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L23+12
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-2084]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	safe_strtoull
	str	r0, [fp, #-2068]
	str	r1, [fp, #-2064]
	ldr	r3, [fp, #-2084]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r0, r3
	bl	safe_strtoull
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L23+16
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-2084]
	add	r3, r3, #16
	ldr	r3, [r3]
	mov	r0, r3
	bl	safe_strtoull
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L23+20
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-2084]
	add	r3, r3, #20
	ldr	r3, [r3]
	mov	r0, r3
	bl	safe_strtoull
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L23+24
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-2084]
	add	r3, r3, #24
	ldr	r3, [r3]
	mov	r0, r3
	bl	safe_strtoull
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L23+28
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-2084]
	add	r3, r3, #28
	ldr	r3, [r3]
	mov	r0, r3
	bl	safe_strtoull
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L23+32
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-2084]
	add	r3, r3, #32
	ldr	r3, [r3]
	mov	r0, r3
	bl	safe_strtoull
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L23+36
	stm	r1, {r2-r3}
	mov	r3, #0
	str	r3, [fp, #-2072]
	b	.L17
.L18:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-2072]
	lsl	r2, r2, #2
	add	r0, r3, r2
	mov	r3, #0
	ldr	r2, .L23+40
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-2072]
	add	r3, r3, #1
	str	r3, [fp, #-2072]
.L17:
	ldr	r3, [fp, #-2072]
	mov	r2, r3
	asr	r3, r2, #31
	ldr	r0, [fp, #-2068]
	ldr	r1, [fp, #-2064]
	cmp	r1, r3
	cmpeq	r0, r2
	bhi	.L18
	mov	r3, #0
	str	r3, [fp, #-2072]
	b	.L19
.L20:
	ldr	r3, [fp, #-2072]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-2052]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-2072]
	add	r3, r3, #1
	str	r3, [fp, #-2072]
.L19:
	ldr	r3, [fp, #-2072]
	mov	r2, r3
	asr	r3, r2, #31
	ldr	r0, [fp, #-2068]
	ldr	r1, [fp, #-2064]
	cmp	r1, r3
	cmpeq	r0, r2
	bhi	.L20
	mov	r3, #0
.L21:
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC6
	.word	stderr
	.word	.LC5
	.word	g_seed
	.word	g_nchains
	.word	g_nelems
	.word	g_element_size
	.word	g_access_size
	.word	g_from_node_id
	.word	g_to_node_id
	.word	worker
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5268, %object
	.size	__PRETTY_FUNCTION__.5268, 14
__PRETTY_FUNCTION__.5268:
	.ascii	"safe_strtoull\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
