	.file	"extr_cxgb3i.c_cxgb3i_dev_event_handler.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"0x%p, cdev 0x%p, event 0x%x, port 0x%x.\n"
	.text
	.p2align 4
	.type	cxgb3i_dev_event_handler, @function
cxgb3i_dev_event_handler:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	cxgbi_device_find_by_lldev@PLT
	mov	edi, 1
	mov	r9d, r13d
	mov	r8d, ebp
	mov	ecx, DWORD PTR CXGBI_DBG_TOE[rip]
	mov	rbx, rax
	mov	rdx, r12
	lea	rsi, .LC0[rip]
	sal	edi, cl
	mov	rcx, rax
	call	log_debug@PLT
	test	rbx, rbx
	je	.L1
	cmp	ebp, 128
	je	.L3
	cmp	ebp, 129
	je	.L9
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	eax, DWORD PTR CXGBI_FLAG_ADAPTER_RESET[rip]
	or	DWORD PTR [rbx], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	eax, DWORD PTR CXGBI_FLAG_ADAPTER_RESET[rip]
	not	eax
	and	DWORD PTR [rbx], eax
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	cxgb3i_dev_event_handler, .-cxgb3i_dev_event_handler
	.comm	CXGBI_FLAG_ADAPTER_RESET,4,4
	.comm	CXGBI_DBG_TOE,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_cxgb3i.c_cxgb3i_dev_event_handler.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"0x%p, cdev 0x%p, event 0x%x, port 0x%x.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cxgb3i_dev_event_handler, %function
cxgb3i_dev_event_handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	sub	sp, sp, #12
	mov	r5, r1
	mov	r7, r2
	mov	r6, r0
	bl	cxgbi_device_find_by_lldev
	mov	ip, #1
	mov	r4, r0
	ldr	r3, .L10
	str	r7, [sp, #4]
	ldr	r0, [r3]
	mov	r2, r6
	mov	r3, r4
	ldr	r1, .L10+4
	str	r5, [sp]
	lsl	r0, ip, r0
	bl	log_debug
	cmp	r4, #0
	beq	.L1
	cmp	r5, #128
	beq	.L3
	cmp	r5, #129
	beq	.L9
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L9:
	ldr	r2, .L10+8
	ldr	r3, [r4]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [r4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L3:
	ldr	r2, .L10+8
	ldr	r3, [r4]
	ldr	r2, [r2]
	bic	r3, r3, r2
	str	r3, [r4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	.align	2
.L10:
	.word	CXGBI_DBG_TOE
	.word	.LC0
	.word	CXGBI_FLAG_ADAPTER_RESET
	.size	cxgb3i_dev_event_handler, .-cxgb3i_dev_event_handler
	.comm	CXGBI_FLAG_ADAPTER_RESET,4,4
	.comm	CXGBI_DBG_TOE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
