	.file	"extr_ixgbe_main.c_ixgbe_setup_tx_resources.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Unable to allocate memory for the Tx descriptor ring\n"
	.text
	.p2align 4
	.globl	ixgbe_setup_tx_resources
	.type	ixgbe_setup_tx_resources, @function
ixgbe_setup_tx_resources:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, -1
	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	rbp, QWORD PTR 56[rdi]
	mov	rbx, rdi
	mov	rdi, rbp
	call	dev_to_node@PLT
	mov	r13d, eax
	mov	eax, DWORD PTR [rbx]
	lea	r12d, 0[0+rax*4]
	mov	rax, QWORD PTR 48[rbx]
	test	rax, rax
	je	.L2
	mov	r14d, DWORD PTR [rax]
.L2:
	mov	esi, r14d
	mov	edi, r12d
	call	vzalloc_node@PLT
	mov	QWORD PTR 8[rbx], rax
	test	rax, rax
	je	.L3
.L7:
	mov	eax, DWORD PTR [rbx]
	mov	esi, 4096
	lea	r12, 40[rbx]
	lea	edi, 0[0+rax*4]
	mov	DWORD PTR 4[rbx], edi
	call	ALIGN@PLT
	mov	esi, r14d
	mov	rdi, rbp
	mov	DWORD PTR 4[rbx], eax
	call	set_dev_node@PLT
	mov	esi, DWORD PTR 4[rbx]
	mov	rdx, r12
	mov	rdi, rbp
	mov	ecx, DWORD PTR GFP_KERNEL[rip]
	call	dma_alloc_coherent@PLT
	mov	esi, r13d
	mov	rdi, rbp
	mov	QWORD PTR 32[rbx], rax
	call	set_dev_node@PLT
	cmp	QWORD PTR 32[rbx], 0
	je	.L17
.L5:
	mov	QWORD PTR 24[rbx], 0
	xor	eax, eax
	mov	QWORD PTR 16[rbx], 0
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	edi, r12d
	call	vzalloc@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	rdi, rax
	test	rax, rax
	jne	.L7
.L6:
	call	vfree@PLT
	mov	QWORD PTR 8[rbx], 0
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	eax, DWORD PTR ENOMEM[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	esi, DWORD PTR 4[rbx]
	mov	ecx, DWORD PTR GFP_KERNEL[rip]
	mov	rdx, r12
	mov	rdi, rbp
	call	dma_alloc_coherent@PLT
	mov	QWORD PTR 32[rbx], rax
	test	rax, rax
	jne	.L5
	mov	rdi, QWORD PTR 8[rbx]
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	ixgbe_setup_tx_resources, .-ixgbe_setup_tx_resources
	.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_ixgbe_main.c_ixgbe_setup_tx_resources.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unable to allocate memory for the Tx descriptor rin"
	.ascii	"g\012\000"
	.text
	.align	2
	.global	ixgbe_setup_tx_resources
	.syntax unified
	.arm
	.fpu softvfp
	.type	ixgbe_setup_tx_resources, %function
ixgbe_setup_tx_resources:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	ldr	r5, [r0, #32]
	mov	r0, r5
	bl	dev_to_node
	ldr	r3, [r4, #28]
	ldr	r6, [r4]
	cmp	r3, #0
	mvneq	r8, #0
	ldrne	r8, [r3]
	lsl	r6, r6, #2
	mov	r7, r0
	mov	r1, r8
	mov	r0, r6
	bl	vzalloc_node
	cmp	r0, #0
	str	r0, [r4, #8]
	beq	.L3
.L7:
	ldr	r0, [r4]
	mov	r1, #4096
	lsl	r0, r0, #2
	str	r0, [r4, #4]
	bl	ALIGN
	ldr	r9, .L16
	mov	r1, r8
	str	r0, [r4, #4]
	add	r6, r4, #24
	mov	r0, r5
	bl	set_dev_node
	ldr	r3, [r9]
	mov	r2, r6
	ldr	r1, [r4, #4]
	mov	r0, r5
	bl	dma_alloc_coherent
	mov	r1, r7
	str	r0, [r4, #20]
	mov	r0, r5
	bl	set_dev_node
	ldr	r3, [r4, #20]
	cmp	r3, #0
	beq	.L15
.L5:
	mov	r0, #0
	str	r0, [r4, #16]
	str	r0, [r4, #12]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L3:
	mov	r0, r6
	bl	vzalloc
	cmp	r0, #0
	str	r0, [r4, #8]
	bne	.L7
.L6:
	bl	vfree
	mov	r3, #0
	mov	r0, r5
	str	r3, [r4, #8]
	ldr	r1, .L16+4
	bl	dev_err
	ldr	r3, .L16+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L15:
	mov	r2, r6
	mov	r0, r5
	ldr	r3, [r9]
	ldr	r1, [r4, #4]
	bl	dma_alloc_coherent
	cmp	r0, #0
	str	r0, [r4, #20]
	bne	.L5
	ldr	r0, [r4, #8]
	b	.L6
.L17:
	.align	2
.L16:
	.word	GFP_KERNEL
	.word	.LC0
	.word	ENOMEM
	.size	ixgbe_setup_tx_resources, .-ixgbe_setup_tx_resources
	.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
