	.file	"extr_sfp.c_sfp_sm_fault.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"module persistently indicates fault, disabling\n"
	.align 8
.LC1:
	.string	"module transmit fault indicated\n"
	.text
	.p2align 4
	.type	sfp_sm_fault, @function
sfp_sm_fault:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rax, QWORD PTR 8[rdi]
	mov	rbp, rdi
	test	rax, rax
	je	.L2
	sub	rax, 1
	mov	QWORD PTR 8[rdi], rax
	je	.L12
.L2:
	test	esi, esi
	jne	.L13
.L3:
	mov	edx, DWORD PTR T_FAULT_RECOVER[rip]
	mov	esi, DWORD PTR SFP_S_TX_FAULT[rip]
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	sfp_sm_next@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[rbp]
	lea	rsi, .LC1[rip]
	call	dev_err@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edi, DWORD PTR [rdi]
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	esi, DWORD PTR SFP_S_TX_DISABLE[rip]
	mov	rdi, rbp
	xor	edx, edx
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	sfp_sm_next@PLT
	.cfi_endproc
.LFE0:
	.size	sfp_sm_fault, .-sfp_sm_fault
	.comm	T_FAULT_RECOVER,4,4
	.comm	SFP_S_TX_FAULT,4,4
	.comm	SFP_S_TX_DISABLE,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_sfp.c_sfp_sm_fault.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"module persistently indicates fault, disabling\012\000"
	.align	2
.LC1:
	.ascii	"module transmit fault indicated\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sfp_sm_fault, %function
sfp_sm_fault:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r0, #4]
	push	{r4, r5, r6, lr}
	cmp	r2, #0
	mov	r4, r0
	beq	.L2
	sub	r5, r2, #1
	cmp	r5, #0
	str	r5, [r0, #4]
	beq	.L12
.L2:
	cmp	r1, #0
	bne	.L13
.L3:
	ldr	r2, .L14
	ldr	r3, .L14+4
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r2, [r2]
	ldr	r1, [r3]
	b	sfp_sm_next
.L13:
	ldr	r1, .L14+8
	ldr	r0, [r4]
	bl	dev_err
	b	.L3
.L12:
	ldr	r1, .L14+12
	ldr	r0, [r0]
	bl	dev_err
	ldr	r3, .L14+16
	mov	r2, r5
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	b	sfp_sm_next
.L15:
	.align	2
.L14:
	.word	T_FAULT_RECOVER
	.word	SFP_S_TX_FAULT
	.word	.LC1
	.word	.LC0
	.word	SFP_S_TX_DISABLE
	.size	sfp_sm_fault, .-sfp_sm_fault
	.comm	T_FAULT_RECOVER,4,4
	.comm	SFP_S_TX_FAULT,4,4
	.comm	SFP_S_TX_DISABLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
