	.file	"extr_fnic_main.c_fnic_notify_set.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Interrupt mode should be set up before devcmd notify set %d\n"
	.text
	.p2align 4
	.type	fnic_notify_set, @function
fnic_notify_set:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	mov	edi, DWORD PTR [rdi]
	call	vnic_dev_get_intr_mode@PLT
	cmp	eax, 129
	je	.L2
	cmp	eax, 130
	je	.L3
	cmp	eax, 128
	je	.L9
	mov	edi, DWORD PTR [rbx]
	call	vnic_dev_get_intr_mode@PLT
	mov	edi, DWORD PTR KERN_ERR[rip]
	lea	rdx, .LC0[rip]
	mov	ecx, eax
	mov	rax, QWORD PTR 8[rbx]
	mov	esi, DWORD PTR [rax]
	call	shost_printk@PLT
	mov	eax, -1
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	mov	esi, -1
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	vnic_dev_notify_set@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	mov	esi, DWORD PTR FNIC_MSIX_ERR_NOTIFY[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	vnic_dev_notify_set@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	mov	esi, DWORD PTR FNIC_INTX_NOTIFY[rip]
	pop	rbx
	.cfi_def_cfa_offset 8
	jmp	vnic_dev_notify_set@PLT
	.cfi_endproc
.LFE0:
	.size	fnic_notify_set, .-fnic_notify_set
	.comm	KERN_ERR,4,4
	.comm	FNIC_MSIX_ERR_NOTIFY,4,4
	.comm	FNIC_INTX_NOTIFY,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_fnic_main.c_fnic_notify_set.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Interrupt mode should be set up before devcmd notif"
	.ascii	"y set %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fnic_notify_set, %function
fnic_notify_set:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, [r0]
	bl	vnic_dev_get_intr_mode
	cmp	r0, #129
	beq	.L2
	cmp	r0, #130
	beq	.L3
	cmp	r0, #128
	beq	.L9
	ldr	r3, [r4, #4]
	ldr	r2, .L10
	ldr	r0, [r4]
	ldr	r5, [r2]
	ldr	r6, [r3]
	bl	vnic_dev_get_intr_mode
	mov	r1, r6
	mov	r3, r0
	ldr	r2, .L10+4
	mov	r0, r5
	bl	shost_printk
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r0, [r4]
	mvn	r1, #0
	pop	{r4, r5, r6, lr}
	b	vnic_dev_notify_set
.L9:
	ldr	r3, .L10+8
	ldr	r0, [r4]
	ldr	r1, [r3]
	pop	{r4, r5, r6, lr}
	b	vnic_dev_notify_set
.L3:
	ldr	r3, .L10+12
	ldr	r0, [r4]
	ldr	r1, [r3]
	pop	{r4, r5, r6, lr}
	b	vnic_dev_notify_set
.L11:
	.align	2
.L10:
	.word	KERN_ERR
	.word	.LC0
	.word	FNIC_MSIX_ERR_NOTIFY
	.word	FNIC_INTX_NOTIFY
	.size	fnic_notify_set, .-fnic_notify_set
	.comm	KERN_ERR,4,4
	.comm	FNIC_MSIX_ERR_NOTIFY,4,4
	.comm	FNIC_INTX_NOTIFY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
