	.file	"extr_coalition.c_task_release_coalitions.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"deallocating task %p was not a member of a resource coalition"
	.text
	.p2align 4
	.globl	task_release_coalitions
	.type	task_release_coalitions, @function
task_release_coalitions:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR COALITION_NUM_TYPES[rip]
	test	eax, eax
	jle	.L8
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	r12, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	xor	ebx, ebx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	cmp	DWORD PTR COALITION_TYPE_RESOURCE[rip], ebx
	je	.L12
.L4:
	add	rbx, 1
	cmp	DWORD PTR COALITION_NUM_TYPES[rip], ebx
	jle	.L13
.L5:
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, QWORD PTR [rax+rbx*8]
	test	rdi, rdi
	je	.L3
	call	coalition_release@PLT
	add	rbx, 1
	cmp	DWORD PTR COALITION_NUM_TYPES[rip], ebx
	jg	.L5
.L13:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rsi, rbp
	mov	rdi, r12
	call	panic@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	ret
	.cfi_endproc
.LFE0:
	.size	task_release_coalitions, .-task_release_coalitions
	.comm	COALITION_TYPE_RESOURCE,4,4
	.comm	COALITION_NUM_TYPES,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_coalition.c_task_release_coalitions.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"deallocating task %p was not a member of a resource"
	.ascii	" coalition\000"
	.text
	.align	2
	.global	task_release_coalitions
	.syntax unified
	.arm
	.fpu softvfp
	.type	task_release_coalitions, %function
task_release_coalitions:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, .L10
	ldr	r3, [r6]
	cmp	r3, #0
	pople	{r4, r5, r6, r7, r8, pc}
	mov	r5, r0
	mov	r4, #0
	ldr	r8, .L10+4
	ldr	r7, .L10+8
	b	.L5
.L3:
	ldr	r3, [r8]
	cmp	r3, r4
	beq	.L9
.L4:
	ldr	r3, [r6]
	add	r4, r4, #1
	cmp	r3, r4
	pople	{r4, r5, r6, r7, r8, pc}
.L5:
	ldr	r3, [r5]
	ldr	r0, [r3, r4, lsl #2]
	cmp	r0, #0
	beq	.L3
	bl	coalition_release
	b	.L4
.L9:
	mov	r1, r5
	mov	r0, r7
	bl	panic
	b	.L4
.L11:
	.align	2
.L10:
	.word	COALITION_NUM_TYPES
	.word	COALITION_TYPE_RESOURCE
	.word	.LC0
	.size	task_release_coalitions, .-task_release_coalitions
	.comm	COALITION_TYPE_RESOURCE,4,4
	.comm	COALITION_NUM_TYPES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
