	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sfp_sm_fault
_sfp_sm_fault:                          ## @sfp_sm_fault
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	decq	%rax
	movq	%rax, 8(%rbx)
	je	LBB0_2
LBB0_3:
	testl	%esi, %esi
	je	LBB0_5
## %bb.4:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
LBB0_5:
	movq	_T_FAULT_RECOVER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SFP_S_TX_FAULT@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_SFP_S_TX_DISABLE@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
LBB0_6:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_sfp_sm_next                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"module persistently indicates fault, disabling\n"

	.comm	_SFP_S_TX_DISABLE,4,2           ## @SFP_S_TX_DISABLE
L_.str.1:                               ## @.str.1
	.asciz	"module transmit fault indicated\n"

	.comm	_SFP_S_TX_FAULT,4,2             ## @SFP_S_TX_FAULT
	.comm	_T_FAULT_RECOVER,4,2            ## @T_FAULT_RECOVER
	.no_dead_strip	_sfp_sm_fault
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sfp_sm_fault
_sfp_sm_fault:                          ; @sfp_sm_fault
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	subs	x8, x8, #1
	str	x8, [x19, #8]
	b.eq	LBB0_5
LBB0_2:
	cbz	w1, LBB0_4
; %bb.3:
	ldr	w0, [x19]
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
LBB0_4:
Lloh2:
	adrp	x8, _T_FAULT_RECOVER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _T_FAULT_RECOVER@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x8, _SFP_S_TX_FAULT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SFP_S_TX_FAULT@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	ldr	w0, [x19]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	mov	w2, #0
Lloh9:
	adrp	x8, _SFP_S_TX_DISABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SFP_S_TX_DISABLE@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sfp_sm_next
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"module persistently indicates fault, disabling\n"

	.comm	_SFP_S_TX_DISABLE,4,2           ; @SFP_S_TX_DISABLE
l_.str.1:                               ; @.str.1
	.asciz	"module transmit fault indicated\n"

	.comm	_SFP_S_TX_FAULT,4,2             ; @SFP_S_TX_FAULT
	.comm	_T_FAULT_RECOVER,4,2            ; @T_FAULT_RECOVER
	.no_dead_strip	_sfp_sm_fault
.subsections_via_symbols
