	.file	"extr_sym_hipd.c____cre_dma_pool.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"MPOOL"
	.text
	.p2align 4
	.type	___cre_dma_pool, @function
___cre_dma_pool:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	rdx, .LC0[rip]
	mov	esi, 24
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edi
	lea	rdi, mp0[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	__sym_calloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	edx, DWORD PTR MEMO_CLUSTER_SIZE[rip]
	mov	DWORD PTR 20[rax], ebp
	lea	rax, 16[rax]
	xor	r9d, r9d
	push	rax
	.cfi_def_cfa_offset 40
	mov	r8d, DWORD PTR BUS_SPACE_MAXADDR[rip]
	mov	esi, 1
	mov	edi, ebp
	push	0
	.cfi_def_cfa_offset 48
	mov	ecx, DWORD PTR BUS_SPACE_MAXADDR_32BIT[rip]
	push	0
	.cfi_def_cfa_offset 56
	push	0
	.cfi_def_cfa_offset 64
	push	rdx
	.cfi_def_cfa_offset 72
	push	1
	.cfi_def_cfa_offset 80
	push	rdx
	.cfi_def_cfa_offset 88
	push	0
	.cfi_def_cfa_offset 96
	call	bus_dma_tag_create@PLT
	add	rsp, 64
	.cfi_def_cfa_offset 32
	test	eax, eax
	je	.L9
	mov	rsi, r12
	mov	edx, 24
	xor	r12d, r12d
	lea	rcx, .LC0[rip]
	lea	rdi, mp0[rip]
	call	__sym_mfree@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	eax, DWORD PTR ___dma_getp[rip]
	mov	DWORD PTR 12[r12], eax
	mov	rax, QWORD PTR mp0[rip]
	mov	QWORD PTR [r12], rax
	mov	rax, r12
	mov	QWORD PTR mp0[rip], r12
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	___cre_dma_pool, .-___cre_dma_pool
	.comm	mp0,8,8
	.comm	___dma_getp,4,4
	.comm	___dma_freep,4,4
	.comm	MEMO_CLUSTER_SIZE,4,4
	.comm	BUS_SPACE_MAXADDR_32BIT,4,4
	.comm	BUS_SPACE_MAXADDR,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_sym_hipd.c____cre_dma_pool.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"MPOOL\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	___cre_dma_pool, %function
___cre_dma_pool:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r6, .L10
	mov	r5, r0
	mov	r1, #20
	mov	r0, r6
	ldr	r2, .L10+4
	sub	sp, sp, #44
	bl	__sym_calloc
	subs	r4, r0, #0
	beq	.L1
	mov	r7, #0
	mov	r1, #1
	ldr	r3, .L10+8
	ldr	r2, .L10+12
	ldr	lr, [r3]
	ldr	r2, [r2]
	ldr	r3, .L10+16
	str	r5, [r4, #16]
	add	ip, r4, #12
	str	r2, [sp, #20]
	str	r2, [sp, #12]
	str	lr, [sp]
	str	r7, [sp, #32]
	str	r7, [sp, #28]
	str	r7, [sp, #24]
	str	r7, [sp, #8]
	str	r7, [sp, #4]
	str	r1, [sp, #16]
	ldr	r3, [r3]
	mov	r0, r5
	str	ip, [sp, #36]
	bl	bus_dma_tag_create
	cmp	r0, r7
	beq	.L9
	mov	r1, r4
	mov	r0, r6
	mov	r2, #20
	ldr	r3, .L10+4
	mov	r4, r7
	bl	__sym_mfree
.L1:
	mov	r0, r4
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L9:
	mov	r0, r4
	ldr	r3, .L10+20
	ldr	r2, [r6]
	ldr	r3, [r3]
	str	r2, [r4]
	str	r3, [r4, #8]
	str	r4, [r6]
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	.align	2
.L10:
	.word	mp0
	.word	.LC0
	.word	BUS_SPACE_MAXADDR
	.word	MEMO_CLUSTER_SIZE
	.word	BUS_SPACE_MAXADDR_32BIT
	.word	___dma_getp
	.size	___cre_dma_pool, .-___cre_dma_pool
	.comm	mp0,4,4
	.comm	___dma_getp,4,4
	.comm	___dma_freep,4,4
	.comm	MEMO_CLUSTER_SIZE,4,4
	.comm	BUS_SPACE_MAXADDR_32BIT,4,4
	.comm	BUS_SPACE_MAXADDR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
