	.file	"extr_aio_multibuff.c_init_bufs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	init_bufs
	.type	init_bufs, @function
init_bufs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, esi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	lea	r12d, 0[0+rsi*8]
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	edi, r12d
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	malloc@PLT
	mov	edi, r12d
	mov	QWORD PTR 16[rbp], rax
	call	malloc@PLT
	mov	DWORD PTR 0[rbp], r15d
	mov	QWORD PTR 8[rbp], rax
	mov	DWORD PTR 4[rbp], r13d
	mov	QWORD PTR 24[rbp], 0
	test	r15d, r15d
	je	.L4
	lea	eax, -1[r15]
	xor	ebx, ebx
	lea	r14, 8[0+rax*8]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	r12, QWORD PTR 16[rbp]
	mov	edi, r13d
	call	malloc@PLT
	mov	edi, 1
	add	r12, rbx
	mov	QWORD PTR [r12], rax
	mov	r12, QWORD PTR 8[rbp]
	add	r12, rbx
	add	rbx, 8
	call	malloc@PLT
	mov	QWORD PTR [r12], rax
	cmp	rbx, r14
	jne	.L3
.L4:
	mov	DWORD PTR 0[rbp], r15d
	add	rsp, 8
	.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
	.cfi_endproc
.LFE0:
	.size	init_bufs, .-init_bufs
	.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_aio_multibuff.c_init_bufs.c"
	.text
	.align	2
	.global	init_bufs
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_bufs, %function
init_bufs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	lsl	r4, r1, #2
	mov	r5, r0
	mov	r0, r4
	mov	r7, r1
	mov	r8, r2
	bl	malloc
	mov	r6, r0
	mov	r0, r4
	str	r6, [r5, #12]
	mov	r4, #0
	bl	malloc
	cmp	r7, r4
	str	r0, [r5, #8]
	str	r8, [r5, #4]
	str	r4, [r5, #16]
	bne	.L3
	b	.L2
.L9:
	ldr	r6, [r5, #12]
.L3:
	mov	r0, r8
	bl	malloc
	mov	r3, r0
	mov	r0, #1
	str	r3, [r6, r4, lsl #2]
	ldr	r6, [r5, #8]
	bl	malloc
	str	r0, [r6, r4, lsl #2]
	add	r4, r4, #1
	cmp	r7, r4
	bne	.L9
.L2:
	str	r7, [r5]
	pop	{r4, r5, r6, r7, r8, pc}
	.size	init_bufs, .-init_bufs
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
