	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bfa_iocpf_sm_fail_sync
_bfa_iocpf_sm_fail_sync:                ## @bfa_iocpf_sm_fail_sync
	.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_10
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
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_10:
	movl	%esi, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bfa_sm_fault                   ## TAILCALL
LBB0_2:
	movq	%r14, %rdi
	callq	_bfa_ioc_sync_ack
	movq	%r14, %rdi
	callq	_bfa_ioc_notify_fail
	cmpl	$0, (%rbx)
	je	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	callq	_bfa_ioc_sync_complete
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movq	_bfa_iocpf_sm_hwinit@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	movq	%r14, %rdi
	callq	_bfa_ioc_hw_sem_get_cancel
	movq	_bfa_iocpf_sm_disabling_sync@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_3:
	movq	%r14, %rdi
	callq	_bfa_ioc_sync_leave
	movq	_BFI_IOC_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_bfa_ioc_set_cur_ioc_fwstate
	movq	%r14, %rdi
	callq	_bfa_nw_ioc_hw_sem_release
	movq	_bfa_iocpf_sm_fail@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_7:
	movq	%r14, %rdi
	callq	_bfa_nw_ioc_hw_sem_release
	movq	_bfa_iocpf_sm_semwait@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bfa_fsm_set_state              ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_2
	.long	L0_0_set_11
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_BFI_IOC_FAIL,4,2               ## @BFI_IOC_FAIL
	.comm	_bfa_iocpf_sm_fail,4,2          ## @bfa_iocpf_sm_fail
	.comm	_bfa_iocpf_sm_hwinit,4,2        ## @bfa_iocpf_sm_hwinit
	.comm	_bfa_iocpf_sm_semwait,4,2       ## @bfa_iocpf_sm_semwait
	.comm	_bfa_iocpf_sm_disabling_sync,4,2 ## @bfa_iocpf_sm_disabling_sync
	.no_dead_strip	_bfa_iocpf_sm_fail_sync
.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_fail_sync
_bfa_iocpf_sm_fail_sync:                ; @bfa_iocpf_sm_fail_sync
	.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	x19, x0
	ldr	x20, [x0, #8]
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:
Lloh2:
	adrp	x8, _bfa_iocpf_sm_fail@GOTPAGE
Lloh3:
	ldr	x8, [x8, _bfa_iocpf_sm_fail@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_bfa_fsm_set_state
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bfa_ioc_pf_hwfailed
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:
	mov	x0, x20
	bl	_bfa_ioc_sync_ack
	mov	x0, x20
	bl	_bfa_ioc_notify_fail
	ldr	w8, [x19]
	cbz	w8, LBB0_9
; %bb.5:
	mov	x0, x20
	bl	_bfa_ioc_sync_complete
	cbz	w0, LBB0_10
; %bb.6:
Lloh5:
	adrp	x8, _bfa_iocpf_sm_hwinit@GOTPAGE
Lloh6:
	ldr	x8, [x8, _bfa_iocpf_sm_hwinit@GOTPAGEOFF]
	b	LBB0_11
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	x0, x20
	bl	_bfa_ioc_hw_sem_get_cancel
Lloh7:
	adrp	x8, _bfa_iocpf_sm_disabling_sync@GOTPAGE
Lloh8:
	ldr	x8, [x8, _bfa_iocpf_sm_disabling_sync@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
	mov	x0, x20
	bl	_bfa_ioc_sync_leave
Lloh9:
	adrp	x8, _BFI_IOC_FAIL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BFI_IOC_FAIL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_bfa_ioc_set_cur_ioc_fwstate
	mov	x0, x20
	bl	_bfa_nw_ioc_hw_sem_release
Lloh12:
	adrp	x8, _bfa_iocpf_sm_fail@GOTPAGE
Lloh13:
	ldr	x8, [x8, _bfa_iocpf_sm_fail@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
	mov	x0, x20
	bl	_bfa_nw_ioc_hw_sem_release
Lloh14:
	adrp	x8, _bfa_iocpf_sm_semwait@GOTPAGE
Lloh15:
	ldr	x8, [x8, _bfa_iocpf_sm_semwait@GOTPAGEOFF]
LBB0_11:
	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	_bfa_fsm_set_state
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_BFI_IOC_FAIL,4,2               ; @BFI_IOC_FAIL
	.comm	_bfa_iocpf_sm_fail,4,2          ; @bfa_iocpf_sm_fail
	.comm	_bfa_iocpf_sm_hwinit,4,2        ; @bfa_iocpf_sm_hwinit
	.comm	_bfa_iocpf_sm_semwait,4,2       ; @bfa_iocpf_sm_semwait
	.comm	_bfa_iocpf_sm_disabling_sync,4,2 ; @bfa_iocpf_sm_disabling_sync
	.no_dead_strip	_bfa_iocpf_sm_fail_sync
.subsections_via_symbols
