	.file	"extr_pci-epc-mem.c___pci_epc_mem_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	__pci_epc_mem_init
	.type	__pci_epc_mem_init, @function
__pci_epc_mem_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, esi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	r15, r12
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	cmp	QWORD PTR PAGE_SIZE[rip], rcx
	cmovnb	rbx, QWORD PTR PAGE_SIZE[rip]
	mov	rdi, rbx
	call	ilog2@PLT
	mov	ecx, eax
	shr	r15, cl
	mov	edi, r15d
	call	BITS_TO_LONGS@PLT
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 40
	mov	ebp, eax
	call	kzalloc@PLT
	test	rax, rax
	je	.L7
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	lea	edi, 0[0+rbp*8]
	mov	QWORD PTR 8[rsp], rax
	call	kzalloc@PLT
	mov	r8, QWORD PTR 8[rsp]
	test	rax, rax
	je	.L8
	mov	QWORD PTR 24[r8], r12
	xor	r12d, r12d
	mov	QWORD PTR [r8], rax
	mov	DWORD PTR 32[r8], r14d
	mov	QWORD PTR 8[r8], rbx
	mov	DWORD PTR 16[r8], r15d
	mov	QWORD PTR 0[r13], r8
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L7:
	.cfi_restore_state
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	r12d, DWORD PTR ENOMEM[rip]
	mov	rdi, r8
	neg	r12d
	call	kfree@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	__pci_epc_mem_init, .-__pci_epc_mem_init
	.comm	PAGE_SIZE,8,8
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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_pci-epc-mem.c___pci_epc_mem_init.c"
	.text
	.align	2
	.global	__pci_epc_mem_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	__pci_epc_mem_init, %function
__pci_epc_mem_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, .L9
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, r0
	ldr	r0, [ip]
	mov	r6, r2
	cmp	r3, r0
	movcs	r5, r3
	movcc	r5, r0
	mov	r0, r5
	mov	r8, r1
	bl	ilog2
	lsr	r9, r6, r0
	mov	r0, r9
	bl	BITS_TO_LONGS
	ldr	fp, .L9+4
	mov	r10, r0
	ldr	r1, [fp]
	mov	r0, #20
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L7
	ldr	r1, [fp]
	lsl	r0, r10, #2
	bl	kzalloc
	subs	ip, r0, #0
	beq	.L8
	mov	r10, #0
	stmib	r4, {r5, r9}
	str	ip, [r4]
	str	r8, [r4, #16]
	str	r6, [r4, #12]
	str	r4, [r7]
.L1:
	mov	r0, r10
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	ldr	r3, .L9+8
	ldr	r10, [r3]
	rsb	r10, r10, #0
	mov	r0, r10
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	ldr	r3, .L9+8
	mov	r0, r4
	ldr	r10, [r3]
	rsb	r10, r10, #0
	bl	kfree
	b	.L1
.L10:
	.align	2
.L9:
	.word	PAGE_SIZE
	.word	GFP_KERNEL
	.word	ENOMEM
	.size	__pci_epc_mem_init, .-__pci_epc_mem_init
	.comm	PAGE_SIZE,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
