	.file	"831775.c"
	.intel_syntax noprefix
	.text
	.globl	current_proc
	.bss
	.align 8
	.type	current_proc, @object
	.size	current_proc, 8
current_proc:
	.zero	8
	.text
	.globl	symbolize_cb
	.type	symbolize_cb, @function
symbolize_cb:
.LFB6:
	.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	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	cmp	QWORD PTR -8[rbp], 0
	jne	.L4
	mov	rax, QWORD PTR current_proc[rip]
	test	rax, rax
	jne	.L3
	call	abort@PLT
.L3:
	mov	rdx, QWORD PTR current_proc[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
.L4:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	symbolize_cb, .-symbolize_cb
	.globl	go_heap
	.data
	.align 8
	.type	go_heap, @object
	.size	go_heap, 8
go_heap:
	.quad	824920047616
	.globl	buf0
	.bss
	.align 8
	.type	buf0, @object
	.size	buf0, 8
buf0:
	.zero	8
	.text
	.globl	foobar
	.type	foobar, @function
foobar:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	foobar, .-foobar
	.globl	barfoo
	.type	barfoo, @function
barfoo:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	barfoo, .-barfoo
	.section	.rodata
	.align 8
.LC0:
	.string	"failed to allocate Go-like heap at %p; errno %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.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
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	lea	rcx, -48[rbp]
	lea	rax, -56[rbp]
	lea	rdx, symbolize_cb[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	__tsan_init@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR current_proc[rip], rax
	mov	rax, QWORD PTR go_heap[rip]
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, 50
	mov	edx, 3
	mov	esi, 16384
	mov	rdi, rax
	call	mmap@PLT
	mov	QWORD PTR buf0[rip], rax
	mov	rax, QWORD PTR buf0[rip]
	cmp	rax, -1
	jne	.L8
	call	__errno_location@PLT
	mov	ecx, DWORD PTR [rax]
	mov	rdx, QWORD PTR go_heap[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L10
.L8:
	mov	rax, QWORD PTR buf0[rip]
	add	rax, 65535
	mov	ax, 0
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 4096
	mov	rdi, rax
	call	__tsan_map_shadow@PLT
	lea	rsi, barfoo[rip+1]
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	ecx, 10
	mov	rdi, rax
	call	__tsan_malloc@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	__tsan_free@PLT
	lea	rdx, main[rip+1]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	__tsan_func_enter@PLT
	lea	rsi, barfoo[rip+1]
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	ecx, 10
	mov	rdi, rax
	call	__tsan_malloc@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	__tsan_release@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	__tsan_release_merge@PLT
	mov	QWORD PTR -40[rbp], 0
	lea	rdx, barfoo[rip+1]
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	__tsan_go_start@PLT
	mov	QWORD PTR -32[rbp], 0
	lea	rdx, barfoo[rip+1]
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	__tsan_go_start@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	__tsan_func_exit@PLT
	lea	rdx, foobar[rip+1]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	__tsan_func_enter@PLT
	lea	rdx, foobar[rip+1]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	__tsan_func_enter@PLT
	lea	rdx, barfoo[rip+1]
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	__tsan_write@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	__tsan_acquire@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	__tsan_func_exit@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	__tsan_func_exit@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	__tsan_go_end@PLT
	mov	QWORD PTR -24[rbp], 0
	lea	rax, -24[rbp]
	mov	rdi, rax
	call	__tsan_proc_create@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR current_proc[rip], rax
	lea	rdx, foobar[rip+1]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	__tsan_func_enter@PLT
	lea	rdx, barfoo[rip+1]
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	__tsan_read@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	__tsan_free@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	__tsan_func_exit@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	__tsan_go_end@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	__tsan_proc_destroy@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR current_proc[rip], rax
	mov	eax, 0
	call	__tsan_fini@PLT
	mov	eax, 0
.L10:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"831775.c"
	.text
	.comm	current_proc,4,4
	.align	2
	.global	symbolize_cb
	.syntax unified
	.arm
	.fpu softvfp
	.type	symbolize_cb, %function
symbolize_cb:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L5
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L3
	bl	abort
.L3:
	ldr	r3, .L5
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	str	r2, [r3]
.L4:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	current_proc
	.size	symbolize_cb, .-symbolize_cb
	.global	go_heap
	.data
	.align	2
	.type	go_heap, %object
	.size	go_heap, 4
go_heap:
	.word	286326784
	.comm	buf0,4,4
	.text
	.align	2
	.global	foobar
	.syntax unified
	.arm
	.fpu softvfp
	.type	foobar, %function
foobar:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	foobar, .-foobar
	.align	2
	.global	barfoo
	.syntax unified
	.arm
	.fpu softvfp
	.type	barfoo, %function
barfoo:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	barfoo, .-barfoo
	.section	.rodata
	.align	2
.LC0:
	.ascii	"failed to allocate Go-like heap at %p; errno %d\012"
	.ascii	"\000"
	.align	2
.LC1:
	.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, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #40
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	sub	r1, fp, #36
	sub	r3, fp, #40
	ldr	r2, .L14+4
	mov	r0, r3
	bl	__tsan_init
	ldr	r3, [fp, #-36]
	ldr	r2, .L14+8
	str	r3, [r2]
	ldr	r3, .L14+12
	ldr	r0, [r3]
	mov	r3, #0
	str	r3, [sp, #4]
	mvn	r3, #0
	str	r3, [sp]
	mov	r3, #50
	mov	r2, #3
	mov	r1, #16384
	bl	mmap
	mov	r3, r0
	ldr	r2, .L14+16
	str	r3, [r2]
	ldr	r3, .L14+16
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L10
	ldr	r3, .L14+20
	ldr	r4, [r3]
	ldr	r3, .L14+12
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, r5
	ldr	r1, .L14+24
	mov	r0, r4
	bl	fprintf
	mov	r3, #1
	b	.L12
.L10:
	ldr	r3, .L14+16
	ldr	r3, [r3]
	add	r3, r3, #65280
	add	r3, r3, #255
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	str	r3, [fp, #-20]
	mov	r1, #4096
	ldr	r0, [fp, #-20]
	bl	__tsan_map_shadow
	ldr	r0, [fp, #-40]
	ldr	r3, .L14+28
	add	r1, r3, #1
	mov	r3, #10
	ldr	r2, [fp, #-20]
	bl	__tsan_malloc
	mov	r1, #10
	ldr	r0, [fp, #-20]
	bl	__tsan_free
	ldr	r3, [fp, #-40]
	ldr	r2, .L14+32
	add	r2, r2, #1
	mov	r1, r2
	mov	r0, r3
	bl	__tsan_func_enter
	ldr	r0, [fp, #-40]
	ldr	r3, .L14+28
	add	r1, r3, #1
	mov	r3, #10
	ldr	r2, [fp, #-20]
	bl	__tsan_malloc
	ldr	r3, [fp, #-40]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	__tsan_release
	ldr	r3, [fp, #-40]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	__tsan_release_merge
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	ldr	r2, .L14+28
	add	r2, r2, #1
	sub	r1, fp, #32
	mov	r0, r3
	bl	__tsan_go_start
	mov	r3, #0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-40]
	ldr	r2, .L14+28
	add	r2, r2, #1
	sub	r1, fp, #28
	mov	r0, r3
	bl	__tsan_go_start
	ldr	r3, [fp, #-40]
	mov	r0, r3
	bl	__tsan_func_exit
	ldr	r3, [fp, #-32]
	ldr	r2, .L14+36
	add	r2, r2, #1
	mov	r1, r2
	mov	r0, r3
	bl	__tsan_func_enter
	ldr	r3, [fp, #-32]
	ldr	r2, .L14+36
	add	r2, r2, #1
	mov	r1, r2
	mov	r0, r3
	bl	__tsan_func_enter
	ldr	r3, [fp, #-32]
	ldr	r2, .L14+28
	add	r2, r2, #1
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	__tsan_write
	ldr	r3, [fp, #-32]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	__tsan_acquire
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	__tsan_func_exit
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	__tsan_func_exit
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	__tsan_go_end
	mov	r3, #0
	str	r3, [fp, #-24]
	sub	r3, fp, #24
	mov	r0, r3
	bl	__tsan_proc_create
	ldr	r3, [fp, #-24]
	ldr	r2, .L14+8
	str	r3, [r2]
	ldr	r3, [fp, #-28]
	ldr	r2, .L14+36
	add	r2, r2, #1
	mov	r1, r2
	mov	r0, r3
	bl	__tsan_func_enter
	ldr	r3, [fp, #-28]
	ldr	r2, .L14+28
	add	r2, r2, #1
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	__tsan_read
	mov	r1, #10
	ldr	r0, [fp, #-20]
	bl	__tsan_free
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	__tsan_func_exit
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	__tsan_go_end
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	__tsan_proc_destroy
	ldr	r3, [fp, #-36]
	ldr	r2, .L14+8
	str	r3, [r2]
	bl	__tsan_fini
	mov	r3, #0
.L12:
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC1
	.word	symbolize_cb
	.word	current_proc
	.word	go_heap
	.word	buf0
	.word	stderr
	.word	.LC0
	.word	barfoo
	.word	main
	.word	foobar
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
