	.file	"extr_bfad.c_bfa_cb_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	bfa_cb_init
	.type	bfa_cb_init, @function
bfa_cb_init:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR BFA_STATUS_OK[rip], rsi
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	je	.L10
.L3:
	lea	rdi, 4[rbx]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	complete@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edx, DWORD PTR BFAD_HAL_INIT_FAIL[rip]
	mov	eax, DWORD PTR [rdi]
	or	eax, DWORD PTR BFAD_HAL_INIT_DONE[rip]
	mov	DWORD PTR [rdi], eax
	test	eax, edx
	je	.L3
	not	edx
	and	eax, edx
	mov	DWORD PTR [rdi], eax
	mov	edi, DWORD PTR 8[rdi]
	call	wake_up_process@PLT
	lea	rdi, 4[rbx]
	pop	rbx
	.cfi_def_cfa_offset 8
	jmp	complete@PLT
	.cfi_endproc
.LFE0:
	.size	bfa_cb_init, .-bfa_cb_init
	.comm	BFA_STATUS_OK,8,8
	.comm	BFAD_HAL_INIT_FAIL,4,4
	.comm	BFAD_HAL_INIT_DONE,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_bfad.c_bfa_cb_init.c"
	.text
	.align	2
	.global	bfa_cb_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	bfa_cb_init, %function
bfa_cb_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L11
	push	{r4, lr}
	ldr	r3, [r3]
	mov	r4, r0
	cmp	r3, r1
	beq	.L10
.L3:
	add	r0, r4, #4
	pop	{r4, lr}
	b	complete
.L10:
	ldr	r3, .L11+4
	ldr	r2, .L11+8
	ldr	r1, [r3]
	ldr	r3, [r0]
	ldr	r2, [r2]
	orr	r3, r3, r1
	tst	r3, r2
	str	r3, [r0]
	beq	.L3
	bic	r3, r3, r2
	str	r3, [r0]
	ldr	r0, [r0, #8]
	bl	wake_up_process
	add	r0, r4, #4
	pop	{r4, lr}
	b	complete
.L12:
	.align	2
.L11:
	.word	BFA_STATUS_OK
	.word	BFAD_HAL_INIT_DONE
	.word	BFAD_HAL_INIT_FAIL
	.size	bfa_cb_init, .-bfa_cb_init
	.comm	BFA_STATUS_OK,4,4
	.comm	BFAD_HAL_INIT_FAIL,4,4
	.comm	BFAD_HAL_INIT_DONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
