	.file	"extr_osm_mesh.c_m_alloc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed allocating matrix - out of memory\n"
	.text
	.p2align 4
	.type	m_alloc, @function
m_alloc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, esi
	mov	esi, 8
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	r13, QWORD PTR [rdi]
	mov	edi, r14d
	call	calloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L5
	test	r14d, r14d
	jle	.L7
	lea	ebp, -1[r14]
	mov	ebx, 1
	add	rbp, 2
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L14:
	mov	eax, ebx
	add	rbx, 1
	cmp	rbx, rbp
	je	.L4
.L6:
	mov	esi, 4
	mov	edi, r14d
	call	calloc@PLT
	mov	QWORD PTR -8[r12+rbx*8], rax
	test	rax, rax
	jne	.L14
.L5:
	mov	esi, DWORD PTR OSM_LOG_ERROR[rip]
	mov	rdi, r13
	lea	rdx, .LC0[rip]
	call	OSM_LOG@PLT
	mov	esi, r14d
	mov	rdi, r12
	xor	r12d, r12d
	call	m_free@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L4:
	cmp	r14d, eax
	jne	.L5
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	m_alloc, .-m_alloc
	.comm	OSM_LOG_ERROR,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_osm_mesh.c_m_alloc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed allocating matrix - out of memory\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	m_alloc, %function
m_alloc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r3, r0
	mov	r1, #4
	mov	r0, r5
	ldr	r8, [r3]
	bl	calloc
	subs	r7, r0, #0
	beq	.L5
	cmp	r5, #0
	ble	.L4
	mov	r4, #0
	sub	r6, r7, #4
.L6:
	mov	r1, #4
	mov	r0, r5
	bl	calloc
	cmp	r0, #0
	add	r4, r4, #1
	str	r0, [r6, #4]!
	beq	.L5
	cmp	r5, r4
	bne	.L6
.L1:
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	beq	.L1
.L5:
	ldr	r3, .L13
	ldr	r2, .L13+4
	ldr	r1, [r3]
	mov	r0, r8
	bl	OSM_LOG
	mov	r0, r7
	mov	r7, #0
	mov	r1, r5
	bl	m_free
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	.align	2
.L13:
	.word	OSM_LOG_ERROR
	.word	.LC0
	.size	m_alloc, .-m_alloc
	.comm	OSM_LOG_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
