	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bfa_iocpf_sm_fwcheck
_bfa_iocpf_sm_fwcheck:                  ## @bfa_iocpf_sm_fwcheck
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
                                        ## kill: def $esi killed $esi def $rsi
	leal	-128(%rsi), %eax
	cmpl	$3, %eax
	ja	LBB0_11
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	movq	%r14, %rdi
	callq	_bfa_ioc_hw_sem_get_cancel
	movq	_bfa_iocpf_sm_reset@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_11:
	movl	%esi, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bfa_sm_fault                   ## TAILCALL
LBB0_8:
	movq	_bfa_iocpf_sm_fail@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bfa_fsm_set_state
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bfa_ioc_pf_hwfailed            ## TAILCALL
LBB0_2:
	movq	%r14, %rdi
	callq	_bfa_ioc_firmware_lock
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:
	movq	%r14, %rdi
	callq	_bfa_ioc_sync_start
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	callq	_bfa_ioc_sync_join
	movq	_bfa_iocpf_sm_hwinit@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_9:
	movq	%r14, %rdi
	callq	_bfa_ioc_hw_sem_get_cancel
	movq	_bfa_iocpf_sm_reset@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bfa_fsm_set_state
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bfa_ioc_pf_disabled            ## TAILCALL
LBB0_7:
	movq	%r14, %rdi
	callq	_bfa_nw_ioc_hw_sem_release
	movq	_bfa_iocpf_sm_mismatch@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bfa_fsm_set_state              ## TAILCALL
LBB0_6:
	movq	%r14, %rdi
	callq	_bfa_ioc_firmware_unlock
	movq	%r14, %rdi
	callq	_bfa_nw_ioc_hw_sem_release
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_BFA_IOC_HWSEM_TOV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	addq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_2
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_bfa_iocpf_sm_hwinit,4,2        ## @bfa_iocpf_sm_hwinit
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_BFA_IOC_HWSEM_TOV,4,2          ## @BFA_IOC_HWSEM_TOV
	.comm	_bfa_iocpf_sm_mismatch,4,2      ## @bfa_iocpf_sm_mismatch
	.comm	_bfa_iocpf_sm_fail,4,2          ## @bfa_iocpf_sm_fail
	.comm	_bfa_iocpf_sm_reset,4,2         ## @bfa_iocpf_sm_reset
	.no_dead_strip	_bfa_iocpf_sm_fwcheck
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bfa_iocpf_sm_fwcheck
_bfa_iocpf_sm_fwcheck:                  ; @bfa_iocpf_sm_fwcheck
	.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
	sub	w8, w1, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	x19, [x0]
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x19
	bl	_bfa_ioc_hw_sem_get_cancel
Lloh2:
	adrp	x8, _bfa_iocpf_sm_reset@GOTPAGE
Lloh3:
	ldr	x8, [x8, _bfa_iocpf_sm_reset@GOTPAGEOFF]
	b	LBB0_10
LBB0_3:
	mov	x0, x1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bfa_sm_fault
LBB0_4:
Lloh4:
	adrp	x8, _bfa_iocpf_sm_fail@GOTPAGE
Lloh5:
	ldr	x8, [x8, _bfa_iocpf_sm_fail@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_bfa_fsm_set_state
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bfa_ioc_pf_hwfailed
LBB0_5:
	mov	x0, x19
	bl	_bfa_ioc_firmware_lock
	cbz	w0, LBB0_9
; %bb.6:
	mov	x0, x19
	bl	_bfa_ioc_sync_start
	cbz	w0, LBB0_11
; %bb.7:
	mov	x0, x19
	bl	_bfa_ioc_sync_join
Lloh7:
	adrp	x8, _bfa_iocpf_sm_hwinit@GOTPAGE
Lloh8:
	ldr	x8, [x8, _bfa_iocpf_sm_hwinit@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
	mov	x0, x19
	bl	_bfa_ioc_hw_sem_get_cancel
Lloh9:
	adrp	x8, _bfa_iocpf_sm_reset@GOTPAGE
Lloh10:
	ldr	x8, [x8, _bfa_iocpf_sm_reset@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_bfa_fsm_set_state
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bfa_ioc_pf_disabled
LBB0_9:
	mov	x0, x19
	bl	_bfa_nw_ioc_hw_sem_release
Lloh12:
	adrp	x8, _bfa_iocpf_sm_mismatch@GOTPAGE
Lloh13:
	ldr	x8, [x8, _bfa_iocpf_sm_mismatch@GOTPAGEOFF]
LBB0_10:
	ldr	w1, [x8]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bfa_fsm_set_state
LBB0_11:
	mov	x0, x19
	bl	_bfa_ioc_firmware_unlock
	mov	x0, x19
	bl	_bfa_nw_ioc_hw_sem_release
Lloh14:
	adrp	x8, _jiffies@GOTPAGE
Lloh15:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh16:
	ldr	x20, [x8]
Lloh17:
	adrp	x8, _BFA_IOC_HWSEM_TOV@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BFA_IOC_HWSEM_TOV@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	add	x1, x0, x20
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mod_timer
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_bfa_iocpf_sm_hwinit,4,2        ; @bfa_iocpf_sm_hwinit
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_BFA_IOC_HWSEM_TOV,4,2          ; @BFA_IOC_HWSEM_TOV
	.comm	_bfa_iocpf_sm_mismatch,4,2      ; @bfa_iocpf_sm_mismatch
	.comm	_bfa_iocpf_sm_fail,4,2          ; @bfa_iocpf_sm_fail
	.comm	_bfa_iocpf_sm_reset,4,2         ; @bfa_iocpf_sm_reset
	.no_dead_strip	_bfa_iocpf_sm_fwcheck
.subsections_via_symbols
