	.file	"extr_dmapool.c_dmam_pool_create.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	dmam_pool_create
	.type	dmam_pool_create, @function
dmam_pool_create:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	mov	esi, 8
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r8
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	edi, DWORD PTR dmam_pool_release[rip]
	call	devres_alloc@PLT
	test	rax, rax
	je	.L4
	mov	rdi, r12
	mov	r8, rbx
	mov	rcx, r15
	mov	rdx, r14
	mov	rsi, r13
	mov	rbp, rax
	call	dma_pool_create@PLT
	mov	QWORD PTR 0[rbp], rax
	mov	r12, rax
	test	rax, rax
	je	.L3
	mov	rsi, rbp
	mov	rdi, r13
	call	devres_add@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	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
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdi, rbp
	call	devres_free@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	xor	r12d, r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	dmam_pool_create, .-dmam_pool_create
	.comm	dmam_pool_release,4,4
	.comm	GFP_KERNEL,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_dmapool.c_dmam_pool_create.c"
	.text
	.align	2
	.global	dmam_pool_create
	.syntax unified
	.arm
	.fpu softvfp
	.type	dmam_pool_create, %function
dmam_pool_create:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	mov	r7, r2
	ldr	r1, .L7
	ldr	r2, .L7+4
	mov	r5, r0
	ldr	r2, [r2]
	ldr	r0, [r1]
	sub	sp, sp, #8
	mov	r1, #4
	mov	r8, r3
	bl	devres_alloc
	subs	r4, r0, #0
	moveq	r5, r4
	beq	.L1
	ldr	r3, [sp, #32]
	mov	r0, r5
	str	r3, [sp]
	mov	r2, r7
	mov	r3, r8
	mov	r1, r6
	bl	dma_pool_create
	cmp	r0, #0
	mov	r5, r0
	str	r0, [r4]
	beq	.L3
	mov	r1, r4
	mov	r0, r6
	bl	devres_add
.L1:
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	mov	r0, r4
	bl	devres_free
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	.align	2
.L7:
	.word	dmam_pool_release
	.word	GFP_KERNEL
	.size	dmam_pool_create, .-dmam_pool_create
	.comm	dmam_pool_release,4,4
	.comm	GFP_KERNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
