	.file	"extr_i40e_txrx.c_i40e_enable_wb_on_itr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	i40e_enable_wb_on_itr, @function
i40e_enable_wb_on_itr:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR 8[rsi]
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR I40E_TXR_FLAGS_WB_ON_ITR[rip], eax
	je	.L9
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	eax, DWORD PTR [rsi]
	mov	rbx, rsi
	test	eax, eax
	jne	.L1
	mov	rbp, rdi
	mov	rdi, QWORD PTR [rdi]
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR I40E_FLAG_MSIX_ENABLED[rip], eax
	je	.L3
	mov	edi, DWORD PTR 4[rsi]
	mov	r12d, DWORD PTR I40E_PFINT_DYN_CTLN_WB_ON_ITR_MASK[rip]
	or	r12d, DWORD PTR I40E_PFINT_DYN_CTLN_ITR_INDX_MASK[rip]
	call	I40E_PFINT_DYN_CTLN@PLT
	mov	rdi, QWORD PTR 0[rbp]
	mov	edx, r12d
	mov	esi, eax
	add	rdi, 4
	call	wr32@PLT
.L4:
	mov	DWORD PTR [rbx], 1
.L1:
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	.cfi_offset 6, -24
	.cfi_offset 12, -16
	mov	esi, DWORD PTR I40E_PFINT_DYN_CTL0[rip]
	mov	edx, DWORD PTR I40E_PFINT_DYN_CTL0_WB_ON_ITR_MASK[rip]
	add	rdi, 4
	or	edx, DWORD PTR I40E_PFINT_DYN_CTL0_ITR_INDX_MASK[rip]
	call	wr32@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	i40e_enable_wb_on_itr, .-i40e_enable_wb_on_itr
	.comm	I40E_TXR_FLAGS_WB_ON_ITR,4,4
	.comm	I40E_PFINT_DYN_CTLN_WB_ON_ITR_MASK,4,4
	.comm	I40E_PFINT_DYN_CTLN_ITR_INDX_MASK,4,4
	.comm	I40E_PFINT_DYN_CTL0_WB_ON_ITR_MASK,4,4
	.comm	I40E_PFINT_DYN_CTL0_ITR_INDX_MASK,4,4
	.comm	I40E_PFINT_DYN_CTL0,4,4
	.comm	I40E_FLAG_MSIX_ENABLED,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_i40e_txrx.c_i40e_enable_wb_on_itr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	i40e_enable_wb_on_itr, %function
i40e_enable_wb_on_itr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r1, #8]
	ldr	r3, .L13
	ldr	r2, [r2]
	ldr	r3, [r3]
	tst	r2, r3
	bxeq	lr
	ldr	r3, [r1]
	push	{r4, r5, r6, lr}
	cmp	r3, #0
	mov	r4, r1
	popne	{r4, r5, r6, pc}
	ldr	r5, [r0]
	ldr	r3, .L13+4
	ldr	r2, [r5], #4
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L3
	ldr	r2, .L13+8
	ldr	r3, .L13+12
	ldr	r6, [r2]
	ldr	r2, [r3]
	ldr	r0, [r1, #4]
	orr	r6, r6, r2
	bl	I40E_PFINT_DYN_CTLN
	mov	r2, r6
	mov	r1, r0
	mov	r0, r5
	bl	wr32
.L4:
	mov	r3, #1
	str	r3, [r4]
	pop	{r4, r5, r6, pc}
.L3:
	ldr	r2, .L13+16
	ldr	r3, .L13+20
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L13+24
	orr	r2, r1, r2
	mov	r0, r5
	ldr	r1, [r3]
	bl	wr32
	b	.L4
.L14:
	.align	2
.L13:
	.word	I40E_TXR_FLAGS_WB_ON_ITR
	.word	I40E_FLAG_MSIX_ENABLED
	.word	I40E_PFINT_DYN_CTLN_WB_ON_ITR_MASK
	.word	I40E_PFINT_DYN_CTLN_ITR_INDX_MASK
	.word	I40E_PFINT_DYN_CTL0_WB_ON_ITR_MASK
	.word	I40E_PFINT_DYN_CTL0_ITR_INDX_MASK
	.word	I40E_PFINT_DYN_CTL0
	.size	i40e_enable_wb_on_itr, .-i40e_enable_wb_on_itr
	.comm	I40E_TXR_FLAGS_WB_ON_ITR,4,4
	.comm	I40E_PFINT_DYN_CTLN_WB_ON_ITR_MASK,4,4
	.comm	I40E_PFINT_DYN_CTLN_ITR_INDX_MASK,4,4
	.comm	I40E_PFINT_DYN_CTL0_WB_ON_ITR_MASK,4,4
	.comm	I40E_PFINT_DYN_CTL0_ITR_INDX_MASK,4,4
	.comm	I40E_PFINT_DYN_CTL0,4,4
	.comm	I40E_FLAG_MSIX_ENABLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
