	.file	"extr_gve_tx.c_gve_tx_fifo_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed to vmap fifo, qpl_id = %d\n"
	.text
	.p2align 4
	.type	gve_tx_fifo_init, @function
gve_tx_fifo_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR 24[rsi]
	mov	ecx, DWORD PTR PAGE_KERNEL[rip]
	mov	edx, DWORD PTR VM_MAP[rip]
	mov	edi, DWORD PTR 8[rax]
	mov	esi, DWORD PTR [rax]
	call	vmap@PLT
	xor	edi, edi
	mov	DWORD PTR 32[rbx], eax
	test	eax, eax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	mov	rax, QWORD PTR 24[rbx]
	jne	.L6
	mov	esi, DWORD PTR [rax]
	imul	esi, DWORD PTR PAGE_SIZE[rip]
	lea	rdi, 16[rbx]
	mov	DWORD PTR [rbx], esi
	call	atomic_set@PLT
	mov	QWORD PTR 8[rbx], 0
	xor	eax, eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edx, DWORD PTR 0[rbp]
	mov	r8d, DWORD PTR 4[rax]
	mov	rdi, rbp
	lea	rcx, .LC0[rip]
	mov	esi, DWORD PTR drv[rip]
	call	netif_err@PLT
	mov	eax, DWORD PTR ENOMEM[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	gve_tx_fifo_init, .-gve_tx_fifo_init
	.comm	drv,4,4
	.comm	VM_MAP,4,4
	.comm	PAGE_SIZE,4,4
	.comm	PAGE_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_gve_tx.c_gve_tx_fifo_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to vmap fifo, qpl_id = %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gve_tx_fifo_init, %function
gve_tx_fifo_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, [r1, #12]
	ldr	lr, .L7
	ldr	r2, .L7+4
	mov	r4, r1
	ldr	r2, [r2]
	ldr	r1, [r3]
	sub	sp, sp, #8
	mov	r6, r0
	ldr	r0, [r3, #8]
	ldr	r3, [lr]
	bl	vmap
	mov	r3, r0
	clz	r0, r0
	str	r3, [r4, #16]
	lsr	r0, r0, #5
	bl	unlikely
	subs	r5, r0, #0
	bne	.L6
	mov	r0, r4
	ldr	r2, [r4, #12]
	ldr	r3, .L7+8
	ldr	r1, [r2]
	ldr	r3, [r3]
	mul	r1, r3, r1
	str	r1, [r0], #8
	bl	atomic_set
	mov	r0, r5
	str	r5, [r4, #4]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L6:
	ldr	r3, [r4, #12]
	ldr	r2, .L7+12
	ldr	r3, [r3, #4]
	ldr	r1, [r2]
	str	r3, [sp]
	mov	r0, r6
	ldr	r3, .L7+16
	ldr	r2, [r6]
	bl	netif_err
	ldr	r3, .L7+20
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	PAGE_KERNEL
	.word	VM_MAP
	.word	PAGE_SIZE
	.word	drv
	.word	.LC0
	.word	ENOMEM
	.size	gve_tx_fifo_init, .-gve_tx_fifo_init
	.comm	drv,4,4
	.comm	VM_MAP,4,4
	.comm	PAGE_SIZE,4,4
	.comm	PAGE_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
