	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bfa_ioc_get_state
_bfa_ioc_get_state:                     ## @bfa_ioc_get_state
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_ioc_sm_table@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%r14), %esi
	callq	_bfa_sm_to_state
	movl	%eax, %ebx
	movq	_BFA_IOC_ENABLING@GOTPCREL(%rip), %rax
	movq	_BFA_IOC_FAIL@GOTPCREL(%rip), %r15
	movq	_BFA_IOC_INITFAIL@GOTPCREL(%rip), %r12
	cmpl	(%rax), %ebx
	je	LBB0_3
## %bb.1:
	cmpl	(%r15), %ebx
	je	LBB0_3
## %bb.2:
	cmpl	(%r12), %ebx
	je	LBB0_3
LBB0_10:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_iocpf_sm_table@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_bfa_sm_to_state
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_10
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	movq	_BFA_IOC_SEMWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_10
LBB0_9:
	movl	(%r12), %ebx
	jmp	LBB0_10
LBB0_6:
	movq	_BFA_IOC_HWINIT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_10
LBB0_7:
	movq	_BFA_IOC_FWMISMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_10
LBB0_8:
	movl	(%r15), %ebx
	jmp	LBB0_10
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_9
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_ioc_sm_table,4,2               ## @ioc_sm_table
	.comm	_BFA_IOC_ENABLING,4,2           ## @BFA_IOC_ENABLING
	.comm	_BFA_IOC_FAIL,4,2               ## @BFA_IOC_FAIL
	.comm	_BFA_IOC_INITFAIL,4,2           ## @BFA_IOC_INITFAIL
	.comm	_iocpf_sm_table,4,2             ## @iocpf_sm_table
	.comm	_BFA_IOC_SEMWAIT,4,2            ## @BFA_IOC_SEMWAIT
	.comm	_BFA_IOC_HWINIT,4,2             ## @BFA_IOC_HWINIT
	.comm	_BFA_IOC_FWMISMATCH,4,2         ## @BFA_IOC_FWMISMATCH
	.no_dead_strip	_bfa_ioc_get_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bfa_ioc_get_state
_bfa_ioc_get_state:                     ; @bfa_ioc_get_state
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _ioc_sm_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ioc_sm_table@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x20, #4]
	bl	_bfa_sm_to_state
	mov	x19, x0
Lloh3:
	adrp	x8, _BFA_IOC_ENABLING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BFA_IOC_ENABLING@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x21, _BFA_IOC_FAIL@GOTPAGE
Lloh7:
	ldr	x21, [x21, _BFA_IOC_FAIL@GOTPAGEOFF]
	ldr	w9, [x21]
Lloh8:
	adrp	x22, _BFA_IOC_INITFAIL@GOTPAGE
Lloh9:
	ldr	x22, [x22, _BFA_IOC_INITFAIL@GOTPAGEOFF]
	ldr	w10, [x22]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	ccmp	w0, w10, #4, ne
	b.ne	LBB0_8
; %bb.1:
Lloh10:
	adrp	x8, _iocpf_sm_table@GOTPAGE
Lloh11:
	ldr	x8, [x8, _iocpf_sm_table@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_bfa_sm_to_state
	sub	w8, w0, #128
	cmp	w8, #4
	b.hi	LBB0_8
; %bb.2:
Lloh13:
	adrp	x9, lJTI0_0@PAGE
Lloh14:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
Lloh15:
	adrp	x8, _BFA_IOC_SEMWAIT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BFA_IOC_SEMWAIT@GOTPAGEOFF]
Lloh17:
	ldr	w19, [x8]
	b	LBB0_8
LBB0_4:
	ldr	w19, [x22]
	b	LBB0_8
LBB0_5:
Lloh18:
	adrp	x8, _BFA_IOC_HWINIT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BFA_IOC_HWINIT@GOTPAGEOFF]
Lloh20:
	ldr	w19, [x8]
	b	LBB0_8
LBB0_6:
Lloh21:
	adrp	x8, _BFA_IOC_FWMISMATCH@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BFA_IOC_FWMISMATCH@GOTPAGEOFF]
Lloh23:
	ldr	w19, [x8]
	b	LBB0_8
LBB0_7:
	ldr	w19, [x21]
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
                                        ; -- End function
	.comm	_ioc_sm_table,4,2               ; @ioc_sm_table
	.comm	_BFA_IOC_ENABLING,4,2           ; @BFA_IOC_ENABLING
	.comm	_BFA_IOC_FAIL,4,2               ; @BFA_IOC_FAIL
	.comm	_BFA_IOC_INITFAIL,4,2           ; @BFA_IOC_INITFAIL
	.comm	_iocpf_sm_table,4,2             ; @iocpf_sm_table
	.comm	_BFA_IOC_SEMWAIT,4,2            ; @BFA_IOC_SEMWAIT
	.comm	_BFA_IOC_HWINIT,4,2             ; @BFA_IOC_HWINIT
	.comm	_BFA_IOC_FWMISMATCH,4,2         ; @BFA_IOC_FWMISMATCH
	.no_dead_strip	_bfa_ioc_get_state
.subsections_via_symbols
