	.file	"extr_io_manager.c_io_channel_alloc_buf.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	io_channel_alloc_buf
	.type	io_channel_alloc_buf, @function
io_channel_alloc_buf:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, rdi
	test	esi, esi
	jne	.L2
	mov	rdi, QWORD PTR [rdi]
.L3:
	mov	esi, DWORD PTR 8[rax]
	test	esi, esi
	je	.L5
.L7:
	jmp	ext2fs_get_memalign@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	jle	.L4
	movsx	rdi, esi
	mov	esi, DWORD PTR 8[rax]
	imul	rdi, QWORD PTR [rax]
	test	esi, esi
	jne	.L7
.L5:
	mov	rsi, rdx
	jmp	ext2fs_get_mem@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	neg	esi
	movsx	rdi, esi
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	io_channel_alloc_buf, .-io_channel_alloc_buf
	.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_io_manager.c_io_channel_alloc_buf.c"
	.text
	.align	2
	.global	io_channel_alloc_buf
	.syntax unified
	.arm
	.fpu softvfp
	.type	io_channel_alloc_buf, %function
io_channel_alloc_buf:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	subs	r3, r1, #0
	mov	ip, r0
	bne	.L2
	ldr	r1, [ip, #4]
	ldr	r0, [r0]
	cmp	r1, #0
	beq	.L5
.L7:
	b	ext2fs_get_memalign
.L2:
	ldrgt	r0, [r0]
	ldr	r1, [ip, #4]
	mulgt	r0, r3, r0
	rsble	r0, r3, #0
	cmp	r1, #0
	bne	.L7
.L5:
	mov	r1, r2
	b	ext2fs_get_mem
	.size	io_channel_alloc_buf, .-io_channel_alloc_buf
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
