	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sfp_sm_event
_sfp_sm_event:                          ## @sfp_sm_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	movq	%rdi, %r12
	addq	$16, %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_mutex_lock
	movl	(%r12), %edi
	movl	20(%r12), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	callq	_mod_state_to_str
	movl	%eax, %ebx
	movl	4(%r12), %edi
	callq	_dev_state_to_str
	movl	%eax, %r14d
	movl	8(%r12), %edi
	callq	_sm_state_to_str
	movl	%eax, %r15d
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movl	%r13d, %edi
	callq	_event_to_str
	leaq	L_.str(%rip), %rsi
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	$-135, %eax
	addl	(%r12), %eax
	cmpl	$3, %eax
	ja	LBB0_2
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	jmpq	*%rax
LBB0_18:
	movq	_SFP_E_REMOVE@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_22
## %bb.19:
	movq	%r12, %rdi
	callq	_sfp_sm_mod_remove
	movq	_SFP_MOD_EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
LBB0_20:
	xorl	%edx, %edx
LBB0_21:
	callq	_sfp_sm_ins_next
	jmp	LBB0_22
LBB0_2:
	movq	_SFP_E_INSERT@GOTPCREL(%rip), %rax
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	cmpl	%ebx, (%rax)
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_22
## %bb.3:
	cmpl	$0, 32(%r12)
	je	LBB0_22
## %bb.4:
	movq	%r12, %rdi
	callq	_sfp_module_tx_disable
	movq	_T_PROBE_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$135, %esi
	jmp	LBB0_21
LBB0_5:
	movq	_SFP_E_REMOVE@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_7
## %bb.6:
	movq	_SFP_MOD_EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	jmp	LBB0_17
LBB0_15:
	movq	_SFP_E_TIMEOUT@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_18
## %bb.16:
	movq	%r12, %rdi
	movl	$136, %esi
LBB0_17:
	xorl	%edx, %edx
	callq	_sfp_sm_ins_next
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_22
LBB0_7:
	movq	_SFP_E_TIMEOUT@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_22
## %bb.8:
	movq	%r12, %rdi
	callq	_sfp_sm_mod_probe
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	jle	LBB0_12
## %bb.11:
	movq	%r12, %rdi
	movl	$137, %esi
	movl	%eax, %edx
	jmp	LBB0_21
LBB0_9:
	movq	%r12, %rdi
	movl	$136, %esi
	jmp	LBB0_20
LBB0_12:
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_13
## %bb.14:
	movq	_T_PROBE_RETRY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_sfp_sm_set_timer
LBB0_22:
	movl	4(%r12), %eax
	cmpl	$139, %eax
	jne	LBB0_23
## %bb.24:
	movq	_SFP_E_DEV_DOWN@GOTPCREL(%rip), %rcx
	movl	$139, %eax
	cmpl	%ebx, (%rcx)
	jne	LBB0_29
## %bb.25:
	cmpq	$0, 24(%r12)
	jne	LBB0_27
## %bb.26:
	movq	%r12, %rdi
	callq	_sfp_module_tx_disable
LBB0_27:
	movq	_SFP_DEV_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_28
LBB0_23:
	movq	_SFP_E_DEV_UP@GOTPCREL(%rip), %rdx
	movl	$139, %ecx
	cmpl	%ebx, (%rdx)
	jne	LBB0_29
LBB0_28:
	movl	%ecx, 4(%r12)
	movl	%ecx, %eax
LBB0_29:
	movl	8(%r12), %ecx
	movl	$136, %edx
	xorl	(%r12), %edx
	movl	%eax, %esi
	xorl	$139, %esi
	orl	%edx, %esi
	sete	%dl
	cmpl	$134, %ecx
	jne	LBB0_30
## %bb.39:
	testb	%dl, %dl
	je	LBB0_60
## %bb.40:
	movq	%r12, %rdi
	callq	_sfp_sm_mod_init
LBB0_60:
	movl	(%r12), %edi
	movl	20(%r12), %r14d
	callq	_mod_state_to_str
	movl	%eax, %r15d
	movl	4(%r12), %edi
	callq	_dev_state_to_str
	movl	%eax, %ebx
	movl	8(%r12), %edi
	callq	_sm_state_to_str
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_61
LBB0_30:
	testb	%dl, %dl
	je	LBB0_31
## %bb.37:
	addl	$-128, %ecx
	cmpl	$5, %ecx
	ja	LBB0_60
## %bb.38:
	leaq	LJTI0_1(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_45:
	movq	_SFP_E_TX_FAULT@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_43
## %bb.46:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_sfp_los_event_inactive
	testl	%eax, %eax
	je	LBB0_60
## %bb.47:
	movq	%r12, %rdi
	callq	_sfp_sm_link_up
	jmp	LBB0_60
LBB0_31:
	cmpl	$132, %ecx
	jne	LBB0_34
## %bb.32:
	cmpl	$139, %eax
	jne	LBB0_34
## %bb.33:
	movq	%r12, %rdi
	callq	_sfp_sm_link_down
LBB0_34:
	cmpq	$0, 24(%r12)
	je	LBB0_36
## %bb.35:
	movq	%r12, %rdi
	callq	_sfp_sm_phy_detach
LBB0_36:
	movq	%r12, %rdi
	movl	$134, %esi
	xorl	%edx, %edx
	callq	_sfp_sm_next
LBB0_61:
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
LBB0_52:
	movq	_SFP_E_TIMEOUT@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_60
## %bb.53:
	movq	%r12, %rdi
	callq	_sfp_module_tx_fault_reset
	movq	_T_INIT_JIFFIES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$131, %esi
	callq	_sfp_sm_next
	jmp	LBB0_60
LBB0_54:
	movq	_SFP_E_TIMEOUT@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_57
## %bb.55:
	movq	_SFP_F_TX_FAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 12(%r12)
	je	LBB0_58
## %bb.56:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_sfp_sm_fault
	jmp	LBB0_60
LBB0_48:
	movq	_SFP_E_TX_FAULT@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_50
## %bb.49:
	movq	%r12, %rdi
	callq	_sfp_sm_link_down
	jmp	LBB0_43
LBB0_41:
	movq	_SFP_E_TIMEOUT@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_44
## %bb.42:
	movq	_SFP_F_TX_FAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 12(%r12)
	je	LBB0_59
LBB0_43:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_sfp_sm_fault
	jmp	LBB0_60
LBB0_57:
	movq	_SFP_E_TX_CLEAR@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_60
LBB0_58:
	movl	20(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_info
	jmp	LBB0_59
LBB0_50:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_sfp_los_event_active
	testl	%eax, %eax
	je	LBB0_60
## %bb.51:
	movq	%r12, %rdi
	callq	_sfp_sm_link_down
	movq	%r12, %rdi
	movl	$128, %esi
	xorl	%edx, %edx
	callq	_sfp_sm_next
	jmp	LBB0_60
LBB0_44:
	movq	_SFP_E_TX_CLEAR@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_60
LBB0_59:
	movq	%r12, %rdi
	callq	_sfp_sm_link_check_los
	jmp	LBB0_60
LBB0_13:
	movq	%r12, %rdi
	movl	$138, %esi
	jmp	LBB0_20
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_18
	.long	L0_0_set_15
	.long	L0_0_set_18
.set L0_1_set_45, LBB0_45-LJTI0_1
.set L0_1_set_52, LBB0_52-LJTI0_1
.set L0_1_set_60, LBB0_60-LJTI0_1
.set L0_1_set_54, LBB0_54-LJTI0_1
.set L0_1_set_48, LBB0_48-LJTI0_1
.set L0_1_set_41, LBB0_41-LJTI0_1
LJTI0_1:
	.long	L0_1_set_45
	.long	L0_1_set_52
	.long	L0_1_set_60
	.long	L0_1_set_54
	.long	L0_1_set_48
	.long	L0_1_set_41
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SM: enter %s:%s:%s event %s\n"

	.comm	_SFP_E_INSERT,4,2               ## @SFP_E_INSERT
	.comm	_T_PROBE_INIT,4,2               ## @T_PROBE_INIT
	.comm	_SFP_E_REMOVE,4,2               ## @SFP_E_REMOVE
	.comm	_SFP_MOD_EMPTY,4,2              ## @SFP_MOD_EMPTY
	.comm	_SFP_E_TIMEOUT,4,2              ## @SFP_E_TIMEOUT
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_T_PROBE_RETRY,4,2              ## @T_PROBE_RETRY
	.comm	_SFP_E_DEV_UP,4,2               ## @SFP_E_DEV_UP
	.comm	_SFP_E_DEV_DOWN,4,2             ## @SFP_E_DEV_DOWN
	.comm	_SFP_DEV_DOWN,4,2               ## @SFP_DEV_DOWN
	.comm	_SFP_F_TX_FAULT,4,2             ## @SFP_F_TX_FAULT
	.comm	_SFP_E_TX_CLEAR,4,2             ## @SFP_E_TX_CLEAR
	.comm	_SFP_E_TX_FAULT,4,2             ## @SFP_E_TX_FAULT
	.comm	_T_INIT_JIFFIES,4,2             ## @T_INIT_JIFFIES
L_.str.1:                               ## @.str.1
	.asciz	"module transmit fault recovered\n"

L_.str.2:                               ## @.str.2
	.asciz	"SM: exit %s:%s:%s\n"

	.no_dead_strip	_sfp_sm_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sfp_sm_event
_sfp_sm_event:                          ; @sfp_sm_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x1
	mov	x20, x0
	add	x19, x0, #16
	mov	x0, x19
	bl	_mutex_lock
	ldr	w22, [x20, #20]
	ldr	w0, [x20]
	bl	_mod_state_to_str
	mov	x23, x0
	ldr	w0, [x20, #4]
	bl	_dev_state_to_str
	mov	x24, x0
	ldr	w0, [x20, #8]
	bl	_sm_state_to_str
	mov	x25, x0
	mov	x0, x21
	bl	_event_to_str
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	str	x0, [sp]
	mov	x0, x22
	mov	x2, x23
	mov	x3, x24
	mov	x4, x25
	bl	_dev_dbg
	ldr	w8, [x20]
	sub	w8, w8, #135
	cmp	w8, #3
	b.hi	LBB0_4
; %bb.1:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh4:
	adrp	x8, _SFP_E_REMOVE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SFP_E_REMOVE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_13
; %bb.3:
	mov	x0, x20
	bl	_sfp_sm_mod_remove
	b	LBB0_8
LBB0_4:
Lloh7:
	adrp	x8, _SFP_E_INSERT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SFP_E_INSERT@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_13
; %bb.5:
	ldr	w8, [x20, #32]
	cbz	w8, LBB0_13
; %bb.6:
	mov	x0, x20
	bl	_sfp_module_tx_disable
Lloh10:
	adrp	x8, _T_PROBE_INIT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _T_PROBE_INIT@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #135
	b	LBB0_12
LBB0_7:
Lloh13:
	adrp	x8, _SFP_E_REMOVE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SFP_E_REMOVE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_39
LBB0_8:
Lloh16:
	adrp	x8, _SFP_MOD_EMPTY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SFP_MOD_EMPTY@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x20
	b	LBB0_11
LBB0_9:
Lloh19:
	adrp	x8, _SFP_E_TIMEOUT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SFP_E_TIMEOUT@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_2
; %bb.10:
	mov	x0, x20
	mov	w1, #136
LBB0_11:
	mov	w2, #0
LBB0_12:
	bl	_sfp_sm_ins_next
LBB0_13:
	ldr	w8, [x20, #4]
	cmp	w8, #139
	b.ne	LBB0_18
; %bb.14:
Lloh22:
	adrp	x8, _SFP_E_DEV_DOWN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SFP_E_DEV_DOWN@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_21
; %bb.15:
	ldr	x8, [x20, #24]
	cbnz	x8, LBB0_17
; %bb.16:
	mov	x0, x20
	bl	_sfp_module_tx_disable
LBB0_17:
Lloh25:
	adrp	x8, _SFP_DEV_DOWN@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SFP_DEV_DOWN@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	b	LBB0_20
LBB0_18:
Lloh28:
	adrp	x9, _SFP_E_DEV_UP@GOTPAGE
Lloh29:
	ldr	x9, [x9, _SFP_E_DEV_UP@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	cmp	w9, w21
	b.ne	LBB0_22
; %bb.19:
	mov	w8, #139
LBB0_20:
	str	w8, [x20, #4]
	b	LBB0_22
LBB0_21:
	mov	w8, #139
LBB0_22:
	ldr	w9, [x20, #8]
	ldr	w10, [x20]
	cmp	w10, #136
	mov	w10, #139
	ccmp	w8, w10, #0, eq
	cset	w10, eq
	cmp	w9, #134
	b.ne	LBB0_26
; %bb.23:
	cbz	w10, LBB0_25
; %bb.24:
	mov	x0, x20
	bl	_sfp_sm_mod_init
LBB0_25:
	ldr	w21, [x20, #20]
	ldr	w0, [x20]
	bl	_mod_state_to_str
	mov	x22, x0
	ldr	w0, [x20, #4]
	bl	_dev_state_to_str
	mov	x23, x0
	ldr	w0, [x20, #8]
	bl	_sm_state_to_str
	mov	x4, x0
Lloh31:
	adrp	x1, l_.str.2@PAGE
Lloh32:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	mov	x3, x23
	bl	_dev_dbg
	b	LBB0_38
LBB0_26:
	tbz	w10, #0, LBB0_32
; %bb.27:
	sub	w8, w9, #128
	cmp	w8, #5
	b.hi	LBB0_25
; %bb.28:
Lloh33:
	adrp	x9, lJTI0_1@PAGE
Lloh34:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_25
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_29:
Lloh35:
	adrp	x8, _SFP_E_TX_FAULT@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SFP_E_TX_FAULT@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	cmp	w8, w21
	b.eq	LBB0_52
; %bb.30:
	mov	x0, x20
	mov	x1, x21
	bl	_sfp_los_event_inactive
	cbz	w0, LBB0_25
; %bb.31:
	mov	x0, x20
	bl	_sfp_sm_link_up
	b	LBB0_25
LBB0_32:
	cmp	w9, #132
	b.ne	LBB0_35
; %bb.33:
	cmp	w8, #139
	b.ne	LBB0_35
; %bb.34:
	mov	x0, x20
	bl	_sfp_sm_link_down
LBB0_35:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_37
; %bb.36:
	mov	x0, x20
	bl	_sfp_sm_phy_detach
LBB0_37:
	mov	x0, x20
	mov	w1, #134
	mov	w2, #0
	bl	_sfp_sm_next
LBB0_38:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_mutex_unlock
LBB0_39:
Lloh38:
	adrp	x8, _SFP_E_TIMEOUT@GOTPAGE
Lloh39:
	ldr	x8, [x8, _SFP_E_TIMEOUT@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_13
; %bb.40:
	mov	x0, x20
	bl	_sfp_sm_mod_probe
	mov	x2, x0
	cbz	w0, LBB0_59
; %bb.41:
	cmp	w2, #1
	b.lt	LBB0_60
; %bb.42:
	mov	x0, x20
	mov	w1, #137
	b	LBB0_12
LBB0_43:
Lloh41:
	adrp	x8, _SFP_E_TIMEOUT@GOTPAGE
Lloh42:
	ldr	x8, [x8, _SFP_E_TIMEOUT@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_25
; %bb.44:
	mov	x0, x20
	bl	_sfp_module_tx_fault_reset
Lloh44:
	adrp	x8, _T_INIT_JIFFIES@GOTPAGE
Lloh45:
	ldr	x8, [x8, _T_INIT_JIFFIES@GOTPAGEOFF]
Lloh46:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #131
	bl	_sfp_sm_next
	b	LBB0_25
LBB0_45:
Lloh47:
	adrp	x8, _SFP_E_TIMEOUT@GOTPAGE
Lloh48:
	ldr	x8, [x8, _SFP_E_TIMEOUT@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_53
; %bb.46:
	ldr	w8, [x20, #12]
Lloh50:
	adrp	x9, _SFP_F_TX_FAULT@GOTPAGE
Lloh51:
	ldr	x9, [x9, _SFP_F_TX_FAULT@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_54
; %bb.47:
	mov	x0, x20
	mov	w1, #0
	bl	_sfp_sm_fault
	b	LBB0_25
LBB0_48:
Lloh53:
	adrp	x8, _SFP_E_TX_FAULT@GOTPAGE
Lloh54:
	ldr	x8, [x8, _SFP_E_TX_FAULT@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	mov	x0, x20
	cmp	w8, w21
	b.ne	LBB0_55
; %bb.49:
	bl	_sfp_sm_link_down
	b	LBB0_52
LBB0_50:
Lloh56:
	adrp	x8, _SFP_E_TIMEOUT@GOTPAGE
Lloh57:
	ldr	x8, [x8, _SFP_E_TIMEOUT@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_57
; %bb.51:
	ldr	w8, [x20, #12]
Lloh59:
	adrp	x9, _SFP_F_TX_FAULT@GOTPAGE
Lloh60:
	ldr	x9, [x9, _SFP_F_TX_FAULT@GOTPAGEOFF]
Lloh61:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_58
LBB0_52:
	mov	x0, x20
	mov	w1, #1
	bl	_sfp_sm_fault
	b	LBB0_25
LBB0_53:
Lloh62:
	adrp	x8, _SFP_E_TX_CLEAR@GOTPAGE
Lloh63:
	ldr	x8, [x8, _SFP_E_TX_CLEAR@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_25
LBB0_54:
	ldr	w0, [x20, #20]
Lloh65:
	adrp	x1, l_.str.1@PAGE
Lloh66:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_info
	b	LBB0_58
LBB0_55:
	mov	x1, x21
	bl	_sfp_los_event_active
	cbz	w0, LBB0_25
; %bb.56:
	mov	x0, x20
	bl	_sfp_sm_link_down
	mov	x0, x20
	mov	w1, #128
	mov	w2, #0
	bl	_sfp_sm_next
	b	LBB0_25
LBB0_57:
Lloh67:
	adrp	x8, _SFP_E_TX_CLEAR@GOTPAGE
Lloh68:
	ldr	x8, [x8, _SFP_E_TX_CLEAR@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_25
LBB0_58:
	mov	x0, x20
	bl	_sfp_sm_link_check_los
	b	LBB0_25
LBB0_59:
	mov	x0, x20
	mov	w1, #136
	b	LBB0_12
LBB0_60:
Lloh70:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh71:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh72:
	ldr	w8, [x8]
	cmn	w2, w8
	b.ne	LBB0_62
; %bb.61:
Lloh73:
	adrp	x8, _T_PROBE_RETRY@GOTPAGE
Lloh74:
	ldr	x8, [x8, _T_PROBE_RETRY@GOTPAGEOFF]
Lloh75:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_sfp_sm_set_timer
	b	LBB0_13
LBB0_62:
	mov	x0, x20
	mov	w1, #138
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
lJTI0_1:
	.byte	(LBB0_29-LBB0_25)>>2
	.byte	(LBB0_43-LBB0_25)>>2
	.byte	(LBB0_25-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_48-LBB0_25)>>2
	.byte	(LBB0_50-LBB0_25)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SM: enter %s:%s:%s event %s\n"

	.comm	_SFP_E_INSERT,4,2               ; @SFP_E_INSERT
	.comm	_T_PROBE_INIT,4,2               ; @T_PROBE_INIT
	.comm	_SFP_E_REMOVE,4,2               ; @SFP_E_REMOVE
	.comm	_SFP_MOD_EMPTY,4,2              ; @SFP_MOD_EMPTY
	.comm	_SFP_E_TIMEOUT,4,2              ; @SFP_E_TIMEOUT
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_T_PROBE_RETRY,4,2              ; @T_PROBE_RETRY
	.comm	_SFP_E_DEV_UP,4,2               ; @SFP_E_DEV_UP
	.comm	_SFP_E_DEV_DOWN,4,2             ; @SFP_E_DEV_DOWN
	.comm	_SFP_DEV_DOWN,4,2               ; @SFP_DEV_DOWN
	.comm	_SFP_F_TX_FAULT,4,2             ; @SFP_F_TX_FAULT
	.comm	_SFP_E_TX_CLEAR,4,2             ; @SFP_E_TX_CLEAR
	.comm	_SFP_E_TX_FAULT,4,2             ; @SFP_E_TX_FAULT
	.comm	_T_INIT_JIFFIES,4,2             ; @T_INIT_JIFFIES
l_.str.1:                               ; @.str.1
	.asciz	"module transmit fault recovered\n"

l_.str.2:                               ; @.str.2
	.asciz	"SM: exit %s:%s:%s\n"

	.no_dead_strip	_sfp_sm_event
.subsections_via_symbols
