	.file	"extr_ixl_pf_main.c_ixl_msix_adminq.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"begin"
.LC1:
	.string	"Reset Requested!\n"
.LC2:
	.string	"Reset type: "
.LC3:
	.string	"CORER\n"
.LC4:
	.string	"GLOBR\n"
.LC5:
	.string	"EMPR\n"
.LC6:
	.string	"POR\n"
.LC7:
	.string	"ECC Error detected!\n"
.LC8:
	.string	"PCI Exception detected!\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC9:
	.string	"Critical Protocol Engine Error detected!\n"
	.section	.rodata.str1.1
.LC10:
	.string	"HMC Error detected!\n"
.LC11:
	.string	"INFO 0x%08x\n"
.LC12:
	.string	"DATA 0x%08x\n"
	.text
	.p2align 4
	.globl	ixl_msix_adminq
	.type	ixl_msix_adminq, @function
ixl_msix_adminq:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	rsi, .LC0[rip]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	lea	r13, 16[rdi]
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r14d, DWORD PTR 12[rdi]
	mov	r15d, DWORD PTR FALSE[rip]
	mov	edi, r14d
	call	DDPRINTF@PLT
	add	DWORD PTR 8[rbp], 1
	mov	esi, DWORD PTR I40E_PFINT_ICR0[rip]
	mov	rdi, r13
	call	rd32@PLT
	mov	esi, DWORD PTR I40E_PFINT_ICR0_ENA[rip]
	mov	rdi, r13
	mov	ebx, eax
	call	rd32@PLT
	mov	r12d, eax
	test	DWORD PTR I40E_PFINT_ICR0_ADMINQ_MASK[rip], ebx
	je	.L2
	mov	eax, DWORD PTR I40E_PFINT_ICR0_ENA_ADMINQ_MASK[rip]
	mov	r15d, DWORD PTR TRUE[rip]
	not	eax
	and	r12d, eax
.L2:
	test	DWORD PTR I40E_PFINT_ICR0_MAL_DETECT_MASK[rip], ebx
	jne	.L46
	test	DWORD PTR I40E_PFINT_ICR0_GRST_MASK[rip], ebx
	jne	.L47
.L4:
	test	DWORD PTR I40E_PFINT_ICR0_ECC_ERR_MASK[rip], ebx
	jne	.L48
.L10:
	test	DWORD PTR I40E_PFINT_ICR0_PCI_EXCEPTION_MASK[rip], ebx
	jne	.L49
.L11:
	test	DWORD PTR I40E_PFINT_ICR0_PE_CRITERR_MASK[rip], ebx
	jne	.L50
.L12:
	mov	eax, DWORD PTR IXL_ICR0_CRIT_ERR_MASK[rip]
	test	eax, ebx
	jne	.L51
.L13:
	test	DWORD PTR I40E_PFINT_ICR0_HMC_ERR_MASK[rip], ebx
	jne	.L52
.L15:
	mov	esi, DWORD PTR I40E_PFINT_ICR0_ENA[rip]
	mov	edx, r12d
	mov	rdi, r13
	call	wr32@PLT
	mov	rdi, r13
	call	ixl_enable_intr0@PLT
	test	r15d, r15d
	mov	eax, DWORD PTR FILTER_SCHEDULE_THREAD[rip]
	cmove	eax, DWORD PTR FILTER_HANDLED[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L46:
	.cfi_restore_state
	mov	eax, DWORD PTR I40E_PFINT_ICR0_ENA_MAL_DETECT_MASK[rip]
	mov	esi, DWORD PTR IXL_PF_STATE_MDD_PENDING[rip]
	lea	rdi, 4[rbp]
	not	eax
	and	r12d, eax
	call	atomic_set_32@PLT
	mov	r15d, DWORD PTR TRUE[rip]
	test	DWORD PTR I40E_PFINT_ICR0_GRST_MASK[rip], ebx
	je	.L4
.L47:
	mov	eax, DWORD PTR I40E_PFINT_ICR0_ENA_GRST_MASK[rip]
	lea	rsi, .LC1[rip]
	mov	edi, r14d
	not	eax
	and	r12d, eax
	xor	eax, eax
	call	device_printf@PLT
	mov	esi, DWORD PTR I40E_GLGEN_RSTAT[rip]
	mov	rdi, r13
	call	rd32@PLT
	mov	ecx, DWORD PTR I40E_GLGEN_RSTAT_RESET_TYPE_SHIFT[rip]
	and	eax, DWORD PTR I40E_GLGEN_RSTAT_RESET_TYPE_MASK[rip]
	mov	edi, r14d
	mov	r15d, eax
	lea	rsi, .LC2[rip]
	xor	eax, eax
	sar	r15d, cl
	call	device_printf@PLT
	cmp	r15d, 129
	je	.L5
	cmp	r15d, 130
	je	.L6
	cmp	r15d, 128
	je	.L53
	lea	rdi, .LC6[rip]
	call	printf@PLT
.L9:
	mov	esi, DWORD PTR IXL_PF_STATE_ADAPTER_RESETTING[rip]
	lea	rdi, 4[rbp]
	call	atomic_set_int@PLT
	mov	r15d, DWORD PTR TRUE[rip]
	test	DWORD PTR I40E_PFINT_ICR0_ECC_ERR_MASK[rip], ebx
	je	.L10
.L48:
	xor	eax, eax
	lea	rsi, .LC7[rip]
	mov	edi, r14d
	call	device_printf@PLT
	test	DWORD PTR I40E_PFINT_ICR0_PCI_EXCEPTION_MASK[rip], ebx
	je	.L11
.L49:
	xor	eax, eax
	lea	rsi, .LC8[rip]
	mov	edi, r14d
	call	device_printf@PLT
	test	DWORD PTR I40E_PFINT_ICR0_PE_CRITERR_MASK[rip], ebx
	je	.L12
.L50:
	lea	rsi, .LC9[rip]
	mov	edi, r14d
	xor	eax, eax
	call	device_printf@PLT
	mov	eax, DWORD PTR IXL_ICR0_CRIT_ERR_MASK[rip]
	test	eax, ebx
	je	.L13
.L51:
	mov	esi, DWORD PTR IXL_PF_STATE_PF_RESET_REQ[rip]
	not	eax
	lea	rdi, 4[rbp]
	or	esi, DWORD PTR IXL_PF_STATE_PF_CRIT_ERR[rip]
	and	r12d, eax
	call	atomic_set_32@PLT
	mov	r15d, DWORD PTR TRUE[rip]
	test	DWORD PTR I40E_PFINT_ICR0_HMC_ERR_MASK[rip], ebx
	je	.L15
.L52:
	mov	esi, DWORD PTR I40E_PFHMC_ERRORINFO[rip]
	mov	rdi, r13
	call	rd32@PLT
	mov	ebx, eax
	test	DWORD PTR I40E_PFHMC_ERRORINFO_ERROR_DETECTED_MASK[rip], eax
	je	.L15
	mov	edi, r14d
	lea	rsi, .LC10[rip]
	xor	eax, eax
	call	device_printf@PLT
	mov	edx, ebx
	mov	edi, r14d
	xor	eax, eax
	lea	rsi, .LC11[rip]
	call	device_printf@PLT
	mov	esi, DWORD PTR I40E_PFHMC_ERRORDATA[rip]
	mov	rdi, r13
	call	rd32@PLT
	mov	edi, r14d
	lea	rsi, .LC12[rip]
	mov	edx, eax
	xor	eax, eax
	call	device_printf@PLT
	mov	esi, DWORD PTR I40E_PFHMC_ERRORINFO[rip]
	xor	edx, edx
	mov	rdi, r13
	call	wr32@PLT
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L53:
	lea	rdi, .LC4[rip]
	call	printf@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	lea	rdi, .LC3[rip]
	call	printf@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L5:
	lea	rdi, .LC5[rip]
	call	printf@PLT
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	ixl_msix_adminq, .-ixl_msix_adminq
	.comm	TRUE,4,4
	.comm	IXL_PF_STATE_PF_RESET_REQ,4,4
	.comm	IXL_PF_STATE_PF_CRIT_ERR,4,4
	.comm	IXL_PF_STATE_MDD_PENDING,4,4
	.comm	IXL_PF_STATE_ADAPTER_RESETTING,4,4
	.comm	IXL_ICR0_CRIT_ERR_MASK,4,4
	.comm	I40E_PFINT_ICR0_VFLR_MASK,4,4
	.comm	I40E_PFINT_ICR0_PE_CRITERR_MASK,4,4
	.comm	I40E_PFINT_ICR0_PCI_EXCEPTION_MASK,4,4
	.comm	I40E_PFINT_ICR0_MAL_DETECT_MASK,4,4
	.comm	I40E_PFINT_ICR0_HMC_ERR_MASK,4,4
	.comm	I40E_PFINT_ICR0_GRST_MASK,4,4
	.comm	I40E_PFINT_ICR0_ENA_VFLR_MASK,4,4
	.comm	I40E_PFINT_ICR0_ENA_MAL_DETECT_MASK,4,4
	.comm	I40E_PFINT_ICR0_ENA_GRST_MASK,4,4
	.comm	I40E_PFINT_ICR0_ENA_ADMINQ_MASK,4,4
	.comm	I40E_PFINT_ICR0_ENA,4,4
	.comm	I40E_PFINT_ICR0_ECC_ERR_MASK,4,4
	.comm	I40E_PFINT_ICR0_ADMINQ_MASK,4,4
	.comm	I40E_PFINT_ICR0,4,4
	.comm	I40E_PFHMC_ERRORINFO_ERROR_DETECTED_MASK,4,4
	.comm	I40E_PFHMC_ERRORINFO,4,4
	.comm	I40E_PFHMC_ERRORDATA,4,4
	.comm	I40E_GLGEN_RSTAT_RESET_TYPE_SHIFT,4,4
	.comm	I40E_GLGEN_RSTAT_RESET_TYPE_MASK,4,4
	.comm	I40E_GLGEN_RSTAT,4,4
	.comm	FILTER_SCHEDULE_THREAD,4,4
	.comm	FILTER_HANDLED,4,4
	.comm	FALSE,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_ixl_pf_main.c_ixl_msix_adminq.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"begin\000"
	.align	2
.LC1:
	.ascii	"Reset Requested!\012\000"
	.align	2
.LC2:
	.ascii	"Reset type: \000"
	.align	2
.LC3:
	.ascii	"CORER\012\000"
	.align	2
.LC4:
	.ascii	"GLOBR\012\000"
	.align	2
.LC5:
	.ascii	"EMPR\012\000"
	.align	2
.LC6:
	.ascii	"POR\012\000"
	.align	2
.LC7:
	.ascii	"ECC Error detected!\012\000"
	.align	2
.LC8:
	.ascii	"PCI Exception detected!\012\000"
	.align	2
.LC9:
	.ascii	"Critical Protocol Engine Error detected!\012\000"
	.align	2
.LC10:
	.ascii	"HMC Error detected!\012\000"
	.align	2
.LC11:
	.ascii	"INFO 0x%08x\012\000"
	.align	2
.LC12:
	.ascii	"DATA 0x%08x\012\000"
	.text
	.align	2
	.global	ixl_msix_adminq
	.syntax unified
	.arm
	.fpu softvfp
	.type	ixl_msix_adminq, %function
ixl_msix_adminq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	ldr	r8, [r0, #12]
	ldr	r3, .L54
	ldr	r1, .L54+4
	mov	r0, r8
	ldr	r9, [r3]
	bl	DDPRINTF
	ldr	r3, [r5, #8]
	ldr	r2, .L54+8
	add	r3, r3, #1
	add	r7, r5, #16
	ldr	r1, [r2]
	str	r3, [r5, #8]
	mov	r0, r7
	bl	rd32
	mov	r4, r0
	ldr	r10, .L54+12
	mov	r0, r7
	ldr	r1, [r10]
	bl	rd32
	ldr	r3, .L54+16
	mov	r6, r0
	ldr	r3, [r3]
	tst	r4, r3
	ldrne	r3, .L54+20
	ldrne	r2, .L54+24
	ldrne	r3, [r3]
	ldrne	r9, [r2]
	bicne	r6, r0, r3
	ldr	r3, .L54+28
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L46
	ldr	r3, .L54+32
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L47
.L4:
	ldr	r3, .L54+36
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L48
.L10:
	ldr	r3, .L54+40
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L49
.L11:
	ldr	r3, .L54+44
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L50
.L12:
	ldr	r3, .L54+48
	ldr	r3, [r3]
	tst	r3, r4
	bne	.L51
.L13:
	ldr	r3, .L54+52
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L52
.L15:
	mov	r2, r6
	ldr	r1, [r10]
	mov	r0, r7
	bl	wr32
	mov	r0, r7
	bl	ixl_enable_intr0
	cmp	r9, #0
	ldrne	r3, .L54+56
	ldreq	r3, .L54+60
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L46:
	ldr	r3, .L54+64
	ldr	r2, .L54+68
	ldr	r3, [r3]
	ldr	r1, [r2]
	add	r0, r5, #4
	bic	r6, r6, r3
	bl	atomic_set_32
	ldr	r3, .L54+24
	ldr	r9, [r3]
	ldr	r3, .L54+32
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L4
.L47:
	ldr	r3, .L54+72
	ldr	r1, .L54+76
	ldr	r3, [r3]
	mov	r0, r8
	bic	r6, r6, r3
	bl	device_printf
	ldr	r3, .L54+80
	mov	r0, r7
	ldr	r1, [r3]
	bl	rd32
	ldr	r2, .L54+84
	ldr	r3, .L54+88
	ldr	r9, [r2]
	ldr	r3, [r3]
	and	r9, r9, r0
	asr	r9, r9, r3
	mov	r0, r8
	ldr	r1, .L54+92
	bl	device_printf
	cmp	r9, #129
	beq	.L5
	cmp	r9, #130
	beq	.L6
	cmp	r9, #128
	beq	.L53
	ldr	r0, .L54+96
	bl	printf
.L9:
	ldr	r3, .L54+100
	add	r0, r5, #4
	ldr	r1, [r3]
	bl	atomic_set_int
	ldr	r3, .L54+24
	ldr	r9, [r3]
	ldr	r3, .L54+36
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L10
.L48:
	mov	r0, r8
	ldr	r1, .L54+104
	bl	device_printf
	ldr	r3, .L54+40
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L11
.L49:
	mov	r0, r8
	ldr	r1, .L54+108
	bl	device_printf
	ldr	r3, .L54+44
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L12
.L50:
	mov	r0, r8
	ldr	r1, .L54+112
	bl	device_printf
	ldr	r3, .L54+48
	ldr	r3, [r3]
	tst	r3, r4
	beq	.L13
.L51:
	ldr	r1, .L54+116
	ldr	r2, .L54+120
	ldr	r1, [r1]
	ldr	r2, [r2]
	add	r0, r5, #4
	orr	r1, r1, r2
	bic	r6, r6, r3
	bl	atomic_set_32
	ldr	r3, .L54+24
	ldr	r9, [r3]
	ldr	r3, .L54+52
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L15
.L52:
	ldr	r5, .L54+124
	mov	r0, r7
	ldr	r1, [r5]
	bl	rd32
	ldr	r3, .L54+128
	mov	r4, r0
	ldr	r3, [r3]
	tst	r0, r3
	beq	.L15
	mov	r0, r8
	ldr	r1, .L54+132
	bl	device_printf
	mov	r2, r4
	mov	r0, r8
	ldr	r1, .L54+136
	bl	device_printf
	ldr	r3, .L54+140
	mov	r0, r7
	ldr	r1, [r3]
	bl	rd32
	ldr	r1, .L54+144
	mov	r2, r0
	mov	r0, r8
	bl	device_printf
	mov	r2, #0
	mov	r0, r7
	ldr	r1, [r5]
	bl	wr32
	b	.L15
.L53:
	ldr	r0, .L54+148
	bl	printf
	b	.L9
.L6:
	ldr	r0, .L54+152
	bl	printf
	b	.L9
.L5:
	ldr	r0, .L54+156
	bl	printf
	b	.L9
.L55:
	.align	2
.L54:
	.word	FALSE
	.word	.LC0
	.word	I40E_PFINT_ICR0
	.word	I40E_PFINT_ICR0_ENA
	.word	I40E_PFINT_ICR0_ADMINQ_MASK
	.word	I40E_PFINT_ICR0_ENA_ADMINQ_MASK
	.word	TRUE
	.word	I40E_PFINT_ICR0_MAL_DETECT_MASK
	.word	I40E_PFINT_ICR0_GRST_MASK
	.word	I40E_PFINT_ICR0_ECC_ERR_MASK
	.word	I40E_PFINT_ICR0_PCI_EXCEPTION_MASK
	.word	I40E_PFINT_ICR0_PE_CRITERR_MASK
	.word	IXL_ICR0_CRIT_ERR_MASK
	.word	I40E_PFINT_ICR0_HMC_ERR_MASK
	.word	FILTER_SCHEDULE_THREAD
	.word	FILTER_HANDLED
	.word	I40E_PFINT_ICR0_ENA_MAL_DETECT_MASK
	.word	IXL_PF_STATE_MDD_PENDING
	.word	I40E_PFINT_ICR0_ENA_GRST_MASK
	.word	.LC1
	.word	I40E_GLGEN_RSTAT
	.word	I40E_GLGEN_RSTAT_RESET_TYPE_MASK
	.word	I40E_GLGEN_RSTAT_RESET_TYPE_SHIFT
	.word	.LC2
	.word	.LC6
	.word	IXL_PF_STATE_ADAPTER_RESETTING
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	IXL_PF_STATE_PF_RESET_REQ
	.word	IXL_PF_STATE_PF_CRIT_ERR
	.word	I40E_PFHMC_ERRORINFO
	.word	I40E_PFHMC_ERRORINFO_ERROR_DETECTED_MASK
	.word	.LC10
	.word	.LC11
	.word	I40E_PFHMC_ERRORDATA
	.word	.LC12
	.word	.LC4
	.word	.LC3
	.word	.LC5
	.size	ixl_msix_adminq, .-ixl_msix_adminq
	.comm	TRUE,4,4
	.comm	IXL_PF_STATE_PF_RESET_REQ,4,4
	.comm	IXL_PF_STATE_PF_CRIT_ERR,4,4
	.comm	IXL_PF_STATE_MDD_PENDING,4,4
	.comm	IXL_PF_STATE_ADAPTER_RESETTING,4,4
	.comm	IXL_ICR0_CRIT_ERR_MASK,4,4
	.comm	I40E_PFINT_ICR0_VFLR_MASK,4,4
	.comm	I40E_PFINT_ICR0_PE_CRITERR_MASK,4,4
	.comm	I40E_PFINT_ICR0_PCI_EXCEPTION_MASK,4,4
	.comm	I40E_PFINT_ICR0_MAL_DETECT_MASK,4,4
	.comm	I40E_PFINT_ICR0_HMC_ERR_MASK,4,4
	.comm	I40E_PFINT_ICR0_GRST_MASK,4,4
	.comm	I40E_PFINT_ICR0_ENA_VFLR_MASK,4,4
	.comm	I40E_PFINT_ICR0_ENA_MAL_DETECT_MASK,4,4
	.comm	I40E_PFINT_ICR0_ENA_GRST_MASK,4,4
	.comm	I40E_PFINT_ICR0_ENA_ADMINQ_MASK,4,4
	.comm	I40E_PFINT_ICR0_ENA,4,4
	.comm	I40E_PFINT_ICR0_ECC_ERR_MASK,4,4
	.comm	I40E_PFINT_ICR0_ADMINQ_MASK,4,4
	.comm	I40E_PFINT_ICR0,4,4
	.comm	I40E_PFHMC_ERRORINFO_ERROR_DETECTED_MASK,4,4
	.comm	I40E_PFHMC_ERRORINFO,4,4
	.comm	I40E_PFHMC_ERRORDATA,4,4
	.comm	I40E_GLGEN_RSTAT_RESET_TYPE_SHIFT,4,4
	.comm	I40E_GLGEN_RSTAT_RESET_TYPE_MASK,4,4
	.comm	I40E_GLGEN_RSTAT,4,4
	.comm	FILTER_SCHEDULE_THREAD,4,4
	.comm	FILTER_HANDLED,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
