	.file	"extr_qlge_main.c_ql_alloc_shadow_space.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Allocation of RX shadow space failed.\n"
	.align 8
.LC1:
	.string	"Allocation of TX shadow space failed.\n"
	.text
	.p2align 4
	.type	ql_alloc_shadow_space, @function
ql_alloc_shadow_space:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	esi, DWORD PTR PAGE_SIZE[rip]
	mov	rbp, rdi
	mov	edi, DWORD PTR 16[rdi]
	mov	rdx, rbp
	call	pci_zalloc_consistent@PLT
	mov	QWORD PTR 8[rbp], rax
	test	rax, rax
	je	.L7
	mov	edi, DWORD PTR 16[rbp]
	mov	esi, DWORD PTR PAGE_SIZE[rip]
	lea	rdx, 32[rbp]
	call	pci_zalloc_consistent@PLT
	xor	r8d, r8d
	mov	QWORD PTR 24[rbp], rax
	test	rax, rax
	je	.L8
.L1:
	mov	eax, r8d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edx, DWORD PTR 20[rbp]
	mov	esi, DWORD PTR ifup[rip]
	mov	rdi, rbp
	lea	rcx, .LC0[rip]
	call	netif_err@PLT
	mov	r8d, DWORD PTR ENOMEM[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	neg	r8d
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edx, DWORD PTR 20[rbp]
	mov	esi, DWORD PTR ifup[rip]
	lea	rcx, .LC1[rip]
	mov	rdi, rbp
	call	netif_err@PLT
	mov	rdx, QWORD PTR 8[rbp]
	mov	edi, DWORD PTR 16[rbp]
	mov	ecx, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR PAGE_SIZE[rip]
	call	pci_free_consistent@PLT
	mov	r8d, DWORD PTR ENOMEM[rip]
	neg	r8d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ql_alloc_shadow_space, .-ql_alloc_shadow_space
	.comm	ifup,4,4
	.comm	PAGE_SIZE,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_qlge_main.c_ql_alloc_shadow_space.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Allocation of RX shadow space failed.\012\000"
	.align	2
.LC1:
	.ascii	"Allocation of TX shadow space failed.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ql_alloc_shadow_space, %function
ql_alloc_shadow_space:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L9
	mov	r4, r0
	mov	r2, r0
	ldr	r1, [r5]
	ldr	r0, [r0, #8]
	bl	pci_zalloc_consistent
	cmp	r0, #0
	str	r0, [r4, #4]
	beq	.L7
	ldr	r1, [r5]
	ldr	r0, [r4, #8]
	add	r2, r4, #20
	bl	pci_zalloc_consistent
	cmp	r0, #0
	str	r0, [r4, #16]
	beq	.L8
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r2, .L9+4
	mov	r0, r4
	ldr	r1, [r2]
	ldr	r3, .L9+8
	ldr	r2, [r4, #12]
	bl	netif_err
	ldr	r3, .L9+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r2, .L9+4
	mov	r0, r4
	ldr	r1, [r2]
	ldr	r3, .L9+16
	ldr	r2, [r4, #12]
	bl	netif_err
	ldr	r3, [r4]
	ldr	r1, [r5]
	ldr	r2, [r4, #4]
	ldr	r0, [r4, #8]
	bl	pci_free_consistent
	ldr	r3, .L9+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	PAGE_SIZE
	.word	ifup
	.word	.LC0
	.word	ENOMEM
	.word	.LC1
	.size	ql_alloc_shadow_space, .-ql_alloc_shadow_space
	.comm	ifup,4,4
	.comm	PAGE_SIZE,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
