	.file	"48602.c"
	.intel_syntax noprefix
	.text
	.globl	threads
	.bss
	.align 32
	.type	threads, @object
	.size	threads, 80
threads:
	.zero	80
	.globl	barrier
	.align 32
	.type	barrier, @object
	.size	barrier, 32
barrier:
	.zero	32
	.globl	zero
	.align 4
	.type	zero, @object
	.size	zero, 4
zero:
	.zero	4
	.text
	.type	thread_func, @function
thread_func:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	lea	rdi, barrier[rip]
	call	pthread_barrier_wait@PLT
.L2:
	mov	edi, 1
	call	usleep@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	thread_func, .-thread_func
	.section	.rodata
.LC0:
	.string	"the_stack_data/48602.c"
.LC1:
	.string	"ret == 0"
	.text
	.globl	main
	.type	main, @function
main:
.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, 16
	mov	edi, 180
	call	alarm@PLT
	mov	edx, 11
	mov	esi, 0
	lea	rdi, barrier[rip]
	call	pthread_barrier_init@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L4
.L6:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, threads[rip]
	add	rax, rdx
	mov	ecx, 0
	lea	rdx, thread_func[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L5
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 62
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L5:
	add	DWORD PTR -8[rbp], 1
.L4:
	cmp	DWORD PTR -8[rbp], 9
	jle	.L6
	lea	rdi, barrier[rip]
	call	pthread_barrier_wait@PLT
	mov	edi, 100
	call	usleep@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.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	"48602.c"
	.text
	.comm	threads,40,4
	.comm	barrier,20,4
	.comm	zero,4,4
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	thread_func, %function
thread_func:
	@ 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]
	ldr	r0, .L3
	bl	pthread_barrier_wait
.L2:
	mov	r0, #1
	bl	usleep
	b	.L2
.L4:
	.align	2
.L3:
	.word	barrier
	.size	thread_func, .-thread_func
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/48602.c\000"
	.align	2
.LC1:
	.ascii	"ret == 0\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r0, #180
	bl	alarm
	mov	r2, #11
	mov	r1, #0
	ldr	r0, .L10
	bl	pthread_barrier_init
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L6
.L8:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, .L10+4
	add	r0, r3, r2
	mov	r3, #0
	ldr	r2, .L10+8
	mov	r1, #0
	bl	pthread_create
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L7
	ldr	r3, .L10+12
	mov	r2, #62
	ldr	r1, .L10+16
	ldr	r0, .L10+20
	bl	__assert_fail
.L7:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L6:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ble	.L8
	ldr	r0, .L10
	bl	pthread_barrier_wait
	mov	r0, #100
	bl	usleep
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	barrier
	.word	threads
	.word	thread_func
	.word	__PRETTY_FUNCTION__.5498
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5498, %object
	.size	__PRETTY_FUNCTION__.5498, 5
__PRETTY_FUNCTION__.5498:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
