	.file	"extr_horizon.c_rx_bus_master_complete_handler.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"unexpected RX bus master completion"
	.text
	.p2align 4
	.type	rx_bus_master_complete_handler, @function
rx_bus_master_complete_handler:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rsi, rdi
	mov	rbp, rdi
	mov	edi, DWORD PTR rx_busy[rip]
	call	test_bit@PLT
	test	rax, rax
	je	.L2
	mov	rdi, rbp
	mov	esi, 1
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	rx_schedule@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR DBG_RX[rip]
	lea	rsi, .LC0[rip]
	or	edi, DWORD PTR DBG_ERR[rip]
	call	PRINTD@PLT
	mov	esi, DWORD PTR MASTER_RX_COUNT_REG_OFF[rip]
	mov	rdi, rbp
	xor	edx, edx
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	wr_regl@PLT
	.cfi_endproc
.LFE0:
	.size	rx_bus_master_complete_handler, .-rx_bus_master_complete_handler
	.comm	rx_busy,4,4
	.comm	MASTER_RX_COUNT_REG_OFF,4,4
	.comm	DBG_RX,4,4
	.comm	DBG_ERR,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_horizon.c_rx_bus_master_complete_handler.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unexpected RX bus master completion\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rx_bus_master_complete_handler, %function
rx_bus_master_complete_handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L5
	push	{r4, r5, r6, lr}
	mov	r1, r0
	mov	r4, r0
	ldr	r0, [r3]
	bl	test_bit
	subs	r5, r0, #0
	beq	.L2
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	mov	r1, #1
	b	rx_schedule
.L2:
	ldr	r2, .L5+4
	ldr	r3, .L5+8
	ldr	r0, [r2]
	ldr	r3, [r3]
	ldr	r1, .L5+12
	orr	r0, r0, r3
	bl	PRINTD
	ldr	r3, .L5+16
	mov	r2, r5
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	b	wr_regl
.L6:
	.align	2
.L5:
	.word	rx_busy
	.word	DBG_RX
	.word	DBG_ERR
	.word	.LC0
	.word	MASTER_RX_COUNT_REG_OFF
	.size	rx_bus_master_complete_handler, .-rx_bus_master_complete_handler
	.comm	rx_busy,4,4
	.comm	MASTER_RX_COUNT_REG_OFF,4,4
	.comm	DBG_RX,4,4
	.comm	DBG_ERR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
