	.file	"extr_bfa_ioc.c_bfa_ioc_get_state.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bfa_ioc_get_state, @function
bfa_ioc_get_state:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR 4[rdi]
	mov	edi, DWORD PTR ioc_sm_table[rip]
	call	bfa_sm_to_state@PLT
	cmp	eax, DWORD PTR BFA_IOC_ENABLING[rip]
	mov	r12d, eax
	je	.L2
	cmp	eax, DWORD PTR BFA_IOC_FAIL[rip]
	je	.L2
	cmp	eax, DWORD PTR BFA_IOC_INITFAIL[rip]
	je	.L2
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR [rbx]
	mov	edi, DWORD PTR iocpf_sm_table[rip]
	call	bfa_sm_to_state@PLT
	add	eax, -128
	cmp	eax, 4
	ja	.L1
	lea	rdx, .L5[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L5:
	.long	.L9-.L5
	.long	.L8-.L5
	.long	.L7-.L5
	.long	.L6-.L5
	.long	.L4-.L5
	.text
	.p2align 4,,10
	.p2align 3
.L6:
	mov	r12d, DWORD PTR BFA_IOC_FWMISMATCH[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	r12d, DWORD PTR BFA_IOC_FAIL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	r12d, DWORD PTR BFA_IOC_SEMWAIT[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	r12d, DWORD PTR BFA_IOC_INITFAIL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	r12d, DWORD PTR BFA_IOC_HWINIT[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	bfa_ioc_get_state, .-bfa_ioc_get_state
	.comm	iocpf_sm_table,4,4
	.comm	ioc_sm_table,4,4
	.comm	BFA_IOC_SEMWAIT,4,4
	.comm	BFA_IOC_INITFAIL,4,4
	.comm	BFA_IOC_HWINIT,4,4
	.comm	BFA_IOC_FWMISMATCH,4,4
	.comm	BFA_IOC_FAIL,4,4
	.comm	BFA_IOC_ENABLING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_bfa_ioc.c_bfa_ioc_get_state.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bfa_ioc_get_state, %function
bfa_ioc_get_state:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L12
	push	{r4, r5, r6, lr}
	ldr	r1, [r0, #4]
	mov	r5, r0
	ldr	r0, [r3]
	bl	bfa_sm_to_state
	ldr	r3, .L12+4
	mov	r4, r0
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L2
	ldr	r3, .L12+8
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L2
	ldr	r3, .L12+12
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L2
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L12+16
	ldr	r1, [r5]
	ldr	r0, [r3]
	bl	bfa_sm_to_state
	sub	r0, r0, #128
	cmp	r0, #4
	ldrls	pc, [pc, r0, asl #2]
	b	.L1
.L5:
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L4
.L4:
	ldr	r3, .L12+8
	ldr	r4, [r3]
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r3, .L12+20
	ldr	r4, [r3]
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r3, .L12+12
	ldr	r4, [r3]
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r3, .L12+24
	ldr	r4, [r3]
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L6:
	ldr	r3, .L12+28
	ldr	r4, [r3]
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L13:
	.align	2
.L12:
	.word	ioc_sm_table
	.word	BFA_IOC_ENABLING
	.word	BFA_IOC_FAIL
	.word	BFA_IOC_INITFAIL
	.word	iocpf_sm_table
	.word	BFA_IOC_SEMWAIT
	.word	BFA_IOC_HWINIT
	.word	BFA_IOC_FWMISMATCH
	.size	bfa_ioc_get_state, .-bfa_ioc_get_state
	.comm	iocpf_sm_table,4,4
	.comm	ioc_sm_table,4,4
	.comm	BFA_IOC_SEMWAIT,4,4
	.comm	BFA_IOC_INITFAIL,4,4
	.comm	BFA_IOC_HWINIT,4,4
	.comm	BFA_IOC_FWMISMATCH,4,4
	.comm	BFA_IOC_FAIL,4,4
	.comm	BFA_IOC_ENABLING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
