	.file	"extr_sched-messaging.c_group.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"malloc()"
	.text
	.p2align 4
	.type	group, @function
group:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, ecx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR 8[rsp], rdi
	lea	edi, 40[0+rsi*4]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	malloc@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L23
.L2:
	test	r12d, r12d
	je	.L3
	lea	eax, -1[r12]
	xor	ebp, ebp
	lea	rax, 4[0+rax*4]
	mov	QWORD PTR 24[rsp], rax
	lea	rax, 32[rsp]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	add	rbp, 4
	cmp	QWORD PTR 24[rsp], rbp
	je	.L24
.L6:
	mov	edi, 40
	call	malloc@PLT
	mov	r13, rax
	test	rax, rax
	je	.L25
.L4:
	mov	rdi, QWORD PTR 16[rsp]
	call	fdpair@PLT
	mov	eax, DWORD PTR nr_loops[rip]
	mov	edx, DWORD PTR 32[rsp]
	mov	rdi, r13
	mov	rsi, QWORD PTR receiver[rip]
	imul	eax, r12d
	mov	DWORD PTR 0[r13], eax
	mov	rax, QWORD PTR 8[r13]
	mov	DWORD PTR [rax], edx
	mov	edx, DWORD PTR 36[rsp]
	mov	DWORD PTR 4[rax], edx
	mov	DWORD PTR 16[r13], r14d
	mov	DWORD PTR 20[r13], r15d
	call	create_worker@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	edx, DWORD PTR 36[rsp]
	mov	DWORD PTR [rsi+rbp], eax
	mov	rax, QWORD PTR 24[rbx]
	mov	DWORD PTR [rax+rbp], edx
	mov	edx, DWORD PTR thread_mode[rip]
	test	edx, edx
	jne	.L5
	mov	edi, DWORD PTR 32[rsp]
	add	rbp, 4
	call	close@PLT
	cmp	QWORD PTR 24[rsp], rbp
	jne	.L6
.L24:
	lea	r13d, [r12+r12]
	mov	ebp, r12d
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rcx, QWORD PTR 8[rsp]
	mov	DWORD PTR 16[rbx], r14d
	mov	eax, ebp
	mov	rdi, rbx
	mov	DWORD PTR 20[rbx], r15d
	mov	rsi, QWORD PTR sender[rip]
	add	ebp, 1
	mov	DWORD PTR 32[rbx], r12d
	lea	rcx, [rcx+rax*4]
	mov	QWORD PTR 16[rsp], rcx
	call	create_worker@PLT
	mov	rcx, QWORD PTR 16[rsp]
	mov	DWORD PTR [rcx], eax
	cmp	r13d, ebp
	jne	.L7
	mov	eax, DWORD PTR thread_mode[rip]
	xor	ebp, ebp
	test	eax, eax
	jne	.L3
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rax, QWORD PTR 24[rbx]
	mov	edi, DWORD PTR [rax+rbp]
	add	rbp, 4
	call	close@PLT
	cmp	QWORD PTR 24[rsp], rbp
	jne	.L9
.L3:
	mov	rsi, QWORD PTR 40[rsp]
	xor	rsi, QWORD PTR fs:40
	lea	eax, [r12+r12]
	jne	.L26
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L25:
	.cfi_restore_state
	mov	edi, DWORD PTR EXIT_FAILURE[rip]
	lea	rsi, .LC0[rip]
	call	err@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L23:
	mov	edi, DWORD PTR EXIT_FAILURE[rip]
	lea	rsi, .LC0[rip]
	call	err@PLT
	jmp	.L2
.L26:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	group, .-group
	.comm	thread_mode,4,4
	.comm	sender,8,8
	.comm	receiver,8,8
	.comm	nr_loops,4,4
	.comm	EXIT_FAILURE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_sched-messaging.c_group.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"malloc()\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	group, %function
group:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r1
	mov	r1, r0
	add	r0, r5, #6
	sub	sp, sp, #44
	lsl	r0, r0, #2
	mov	r7, r3
	ldr	r3, .L26
	str	r0, [sp, #12]
	str	r1, [sp, #16]
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	bl	malloc
	subs	r9, r0, #0
	beq	.L22
.L2:
	cmp	r5, #0
	beq	.L3
	ldr	r3, [sp, #16]
	mov	r4, #0
	sub	r3, r3, #4
	mov	r8, r3
	str	r3, [sp, #20]
	ldr	r3, [sp, #12]
	ldr	fp, .L26+4
	sub	r3, r3, #24
	ldr	r10, .L26+8
	str	r3, [sp, #8]
	str	r5, [sp, #4]
	b	.L6
.L5:
	ldr	r3, [sp, #8]
	add	r4, r4, #4
	cmp	r4, r3
	beq	.L23
.L6:
	mov	r0, #24
	bl	malloc
	subs	r5, r0, #0
	beq	.L24
.L4:
	add	r0, sp, #28
	bl	fdpair
	ldr	r2, [fp]
	ldr	r3, [sp, #4]
	ldr	r1, [r5, #4]
	mul	r3, r2, r3
	ldr	r0, [sp, #28]
	str	r3, [r5]
	str	r0, [r1]
	ldr	r2, [sp, #32]
	ldr	r3, .L26+12
	str	r2, [r1, #4]
	mov	r0, r5
	ldr	r1, [r3]
	str	r6, [r5, #8]
	str	r7, [r5, #12]
	bl	create_worker
	ldr	r3, [r9, #16]
	ldr	r2, [sp, #32]
	str	r0, [r8, #4]!
	str	r2, [r3, r4]
	ldr	r3, [r10]
	cmp	r3, #0
	bne	.L5
	ldr	r0, [sp, #28]
	bl	close
	ldr	r3, [sp, #8]
	add	r4, r4, #4
	cmp	r4, r3
	bne	.L6
.L23:
	ldr	r3, [sp, #12]
	ldr	r5, [sp, #4]
	sub	fp, r3, #28
	ldr	r3, [sp, #16]
	ldr	r4, .L26+16
	add	fp, r3, fp
	ldr	r3, [sp, #20]
	add	r8, r3, r5, lsl #3
.L7:
	mov	r0, r9
	ldr	r1, [r4]
	str	r6, [r9, #8]
	str	r7, [r9, #12]
	str	r5, [r9, #20]
	bl	create_worker
	str	r0, [fp, #4]!
	cmp	fp, r8
	bne	.L7
	ldr	r4, [r10]
	cmp	r4, #0
	bne	.L3
	ldr	r6, [sp, #8]
.L9:
	ldr	r3, [r9, #16]
	ldr	r0, [r3, r4]
	add	r4, r4, #4
	bl	close
	cmp	r6, r4
	bne	.L9
.L3:
	ldr	r3, .L26
	lsl	r0, r5, #1
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L25
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L24:
	ldr	r3, .L26+20
	ldr	r1, .L26+24
	ldr	r0, [r3]
	bl	err
	b	.L4
.L25:
	bl	__stack_chk_fail
.L22:
	ldr	r3, .L26+20
	ldr	r1, .L26+24
	ldr	r0, [r3]
	bl	err
	b	.L2
.L27:
	.align	2
.L26:
	.word	.LC1
	.word	nr_loops
	.word	thread_mode
	.word	receiver
	.word	sender
	.word	EXIT_FAILURE
	.word	.LC0
	.size	group, .-group
	.comm	thread_mode,4,4
	.comm	sender,4,4
	.comm	receiver,4,4
	.comm	nr_loops,4,4
	.comm	EXIT_FAILURE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
