	.file	"extr_at86rf230.c_at86rf230_async_state_change_start.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	at86rf230_async_state_change_start, @function
at86rf230_async_state_change_start:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR 24[rdi]
	mov	rbp, QWORD PTR 32[rdi]
	mov	rax, QWORD PTR 8[rax]
	and	rax, QWORD PTR TRX_STATE_MASK[rip]
	cmp	QWORD PTR STATE_TRANSITION_IN_PROGRESS[rip], rax
	je	.L7
	mov	rdx, QWORD PTR [rdi]
	cmp	rdx, rax
	je	.L8
	mov	QWORD PTR 8[rdi], rax
	mov	r8d, DWORD PTR at86rf230_async_state_delay[rip]
	mov	rcx, rdi
	mov	rdi, rbp
	mov	esi, DWORD PTR RG_TRX_STATE[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	at86rf230_async_write_reg@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rax, QWORD PTR 16[rdi]
	test	rax, rax
	je	.L1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	rax
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edi, 1
	call	udelay@PLT
	mov	esi, DWORD PTR RG_TRX_STATUS[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdx, r12
	mov	rdi, rbp
	lea	rcx, at86rf230_async_state_change_start[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	at86rf230_async_read_reg@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	at86rf230_async_state_change_start, .-at86rf230_async_state_change_start
	.comm	at86rf230_async_state_delay,4,4
	.comm	TRX_STATE_MASK,8,8
	.comm	STATE_TRANSITION_IN_PROGRESS,8,8
	.comm	RG_TRX_STATUS,4,4
	.comm	RG_TRX_STATE,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_at86rf230.c_at86rf230_async_state_change_start.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	at86rf230_async_state_change_start, %function
at86rf230_async_state_change_start:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, .L12
	ldr	r1, [r0, #12]
	push	{r4, lr}
	ldr	r2, .L12+4
	ldr	r1, [r1, #4]
	ldr	ip, [ip]
	ldr	r2, [r2]
	and	r1, r1, ip
	cmp	r2, r1
	mov	r3, r0
	ldr	r4, [r0, #16]
	sub	sp, sp, #16
	beq	.L10
	ldr	r2, [r0]
	cmp	r2, r1
	beq	.L11
	ldr	r0, .L12+8
	ldr	ip, .L12+12
	ldr	lr, [r0]
	str	r1, [r3, #4]
	str	lr, [sp]
	mov	r0, r4
	ldr	r1, [ip]
	bl	at86rf230_async_write_reg
.L1:
	add	sp, sp, #16
	@ sp needed
	pop	{r4, pc}
.L11:
	ldr	r3, [r0, #8]
	cmp	r3, #0
	beq	.L1
	add	sp, sp, #16
	@ sp needed
	pop	{r4, lr}
	bx	r3
.L10:
	str	r0, [sp, #12]
	mov	r0, #1
	bl	udelay
	ldr	r3, [sp, #12]
	mov	r0, r4
	mov	r2, r3
	ldr	r1, .L12+16
	ldr	r3, .L12+20
	ldr	r1, [r1]
	add	sp, sp, #16
	@ sp needed
	pop	{r4, lr}
	b	at86rf230_async_read_reg
.L13:
	.align	2
.L12:
	.word	TRX_STATE_MASK
	.word	STATE_TRANSITION_IN_PROGRESS
	.word	at86rf230_async_state_delay
	.word	RG_TRX_STATE
	.word	RG_TRX_STATUS
	.word	at86rf230_async_state_change_start
	.size	at86rf230_async_state_change_start, .-at86rf230_async_state_change_start
	.comm	at86rf230_async_state_delay,4,4
	.comm	TRX_STATE_MASK,4,4
	.comm	STATE_TRANSITION_IN_PROGRESS,4,4
	.comm	RG_TRX_STATUS,4,4
	.comm	RG_TRX_STATE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
