	.file	"9512875.c"
	.intel_syntax noprefix
	.text
	.local	image
	.comm	image,8,8
	.local	main_thread
	.comm	main_thread,8,8
	.local	barrier
	.comm	barrier,32,32
	.section	.rodata
.LC0:
	.string	"go away"
	.section	.data.rel.local,"aw"
	.align 8
	.type	argv1, @object
	.size	argv1, 8
argv1:
	.quad	.LC0
	.section	.rodata
.LC1:
	.string	"the_stack_data/9512875.c"
.LC2:
	.string	"i == 0"
.LC3:
	.string	"execl"
	.text
	.type	thread_execler, @function
thread_execler:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	lea	rdi, barrier[rip]
	call	pthread_barrier_wait@PLT
	mov	rax, QWORD PTR main_thread[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L2
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 36
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L2:
	mov	rdx, QWORD PTR argv1[rip]
	mov	rsi, QWORD PTR image[rip]
	mov	rax, QWORD PTR image[rip]
	mov	ecx, 0
	mov	rdi, rax
	mov	eax, 0
	call	execl@PLT
	cmp	eax, -1
	jne	.L3
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	perror@PLT
	call	abort@PLT
.L3:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	thread_execler, .-thread_execler
	.type	just_loop, @function
just_loop:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	lea	rdi, barrier[rip]
	call	pthread_barrier_wait@PLT
	mov	DWORD PTR -4[rbp], 1
	jmp	.L6
.L7:
	mov	edi, 1
	call	usleep@PLT
	add	DWORD PTR -4[rbp], 1
.L6:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L7
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	just_loop, .-just_loop
	.globl	loop_thread
	.bss
	.align 32
	.type	loop_thread, @object
	.size	loop_thread, 40
loop_thread:
	.zero	40
	.section	.rodata
.LC4:
	.string	"inf"
	.text
	.globl	main
	.type	main, @function
main:
.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
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR image[rip], rax
	cmp	DWORD PTR -36[rbp], 2
	jne	.L10
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L10
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR argv1[rip], rax
	jmp	.L11
.L10:
	cmp	DWORD PTR -36[rbp], 1
	jle	.L11
	mov	edi, 0
	call	exit@PLT
.L11:
	call	pthread_self@PLT
	mov	QWORD PTR main_thread[rip], rax
	mov	edx, 7
	mov	esi, 0
	lea	rdi, barrier[rip]
	call	pthread_barrier_init@PLT
	lea	rax, -16[rbp]
	mov	ecx, 0
	lea	rdx, thread_execler[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	je	.L12
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 87
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L12:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L13
.L15:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, loop_thread[rip]
	add	rax, rdx
	mov	ecx, 0
	lea	rdx, just_loop[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	je	.L14
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 92
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L14:
	add	DWORD PTR -24[rbp], 1
.L13:
	cmp	DWORD PTR -24[rbp], 4
	jle	.L15
	lea	rdi, barrier[rip]
	call	pthread_barrier_wait@PLT
	mov	edi, 0
	call	pthread_exit@PLT
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 15
__PRETTY_FUNCTION__.1:
	.string	"thread_execler"
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"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	"9512875.c"
	.text
	.local	image
	.comm	image,4,4
	.local	main_thread
	.comm	main_thread,4,4
	.local	barrier
	.comm	barrier,20,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"go away\000"
	.data
	.align	2
	.type	argv1, %object
	.size	argv1, 4
argv1:
	.word	.LC0
	.section	.rodata
	.align	2
.LC1:
	.ascii	"the_stack_data/9512875.c\000"
	.align	2
.LC2:
	.ascii	"i == 0\000"
	.align	2
.LC3:
	.ascii	"execl\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	thread_execler, %function
thread_execler:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r0, .L5
	bl	pthread_barrier_wait
	ldr	r3, .L5+4
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L5+8
	mov	r2, #36
	ldr	r1, .L5+12
	ldr	r0, .L5+16
	bl	__assert_fail
.L2:
	ldr	r3, .L5+20
	ldr	r0, [r3]
	ldr	r3, .L5+20
	ldr	r1, [r3]
	ldr	r3, .L5+24
	ldr	r2, [r3]
	mov	r3, #0
	bl	execl
	mov	r3, r0
	cmn	r3, #1
	bne	.L3
	ldr	r0, .L5+28
	bl	perror
	bl	abort
.L3:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	barrier
	.word	main_thread
	.word	__PRETTY_FUNCTION__.5909
	.word	.LC1
	.word	.LC2
	.word	image
	.word	argv1
	.word	.LC3
	.size	thread_execler, .-thread_execler
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	just_loop, %function
just_loop:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r0, .L11
	bl	pthread_barrier_wait
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L8
.L9:
	mov	r0, #1
	bl	usleep
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L8:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L9
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	barrier
	.size	just_loop, .-just_loop
	.comm	loop_thread,20,4
	.section	.rodata
	.align	2
.LC4:
	.ascii	"inf\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	str	r1, [fp, #-28]
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldr	r2, .L21+4
	str	r3, [r2]
	ldr	r3, [fp, #-24]
	cmp	r3, #2
	bne	.L14
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L21+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L14
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	ldr	r2, .L21+12
	str	r3, [r2]
	b	.L15
.L14:
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	ble	.L15
	mov	r0, #0
	bl	exit
.L15:
	bl	pthread_self
	mov	r3, r0
	ldr	r2, .L21+16
	str	r3, [r2]
	mov	r2, #7
	mov	r1, #0
	ldr	r0, .L21+20
	bl	pthread_barrier_init
	sub	r0, fp, #20
	mov	r3, #0
	ldr	r2, .L21+24
	mov	r1, #0
	bl	pthread_create
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L16
	ldr	r3, .L21+28
	mov	r2, #87
	ldr	r1, .L21+32
	ldr	r0, .L21+36
	bl	__assert_fail
.L16:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L17
.L19:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, .L21+40
	add	r0, r3, r2
	mov	r3, #0
	ldr	r2, .L21+44
	mov	r1, #0
	bl	pthread_create
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L18
	ldr	r3, .L21+28
	mov	r2, #92
	ldr	r1, .L21+32
	ldr	r0, .L21+36
	bl	__assert_fail
.L18:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L17:
	ldr	r3, [fp, #-16]
	cmp	r3, #4
	ble	.L19
	ldr	r0, .L21+20
	bl	pthread_barrier_wait
	mov	r0, #0
	bl	pthread_exit
.L22:
	.align	2
.L21:
	.word	.LC5
	.word	image
	.word	.LC4
	.word	argv1
	.word	main_thread
	.word	barrier
	.word	thread_execler
	.word	__PRETTY_FUNCTION__.5928
	.word	.LC1
	.word	.LC2
	.word	loop_thread
	.word	just_loop
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5909, %object
	.size	__PRETTY_FUNCTION__.5909, 15
__PRETTY_FUNCTION__.5909:
	.ascii	"thread_execler\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5928, %object
	.size	__PRETTY_FUNCTION__.5928, 5
__PRETTY_FUNCTION__.5928:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
