	.file	"extr_fm_port_im.c_TxConf.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	TxConf, @function
TxConf:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r12, QWORD PTR E_BUSY[rip]
	call	ASSERT_COND@PLT
	mov	r15, QWORD PTR [r14]
	mov	rdi, r15
	mov	rbp, r15
	call	BD_GET@PLT
	mov	edi, eax
	call	BD_STATUS_AND_LENGTH@PLT
	mov	ebx, eax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rsi, rbp
	mov	rdi, r14
	call	GetNextBdId@PLT
	mov	rdi, rax
	cmp	r15, rax
	mov	rbp, rax
	cmove	r12, QWORD PTR E_OK[rip]
	call	BD_GET@PLT
	mov	edi, eax
	call	BD_STATUS_AND_LENGTH@PLT
	mov	ebx, eax
.L2:
	test	DWORD PTR BD_R_E[rip], ebx
	je	.L8
	cmp	DWORD PTR e_TX_CONF_TYPE_FLUSH[rip], r13d
	jne	.L1
.L8:
	cmp	QWORD PTR E_OK[rip], r12
	je	.L1
	test	DWORD PTR e_TX_CONF_TYPE_CALLBACK[rip], r13d
	je	.L4
	mov	rdi, rbp
	call	BD_GET@PLT
	xor	esi, esi
	mov	edi, eax
	call	BD_STATUS_AND_LENGTH_SET@PLT
	test	DWORD PTR e_TX_CONF_TYPE_CALLBACK[rip], r13d
	je	.L4
	test	DWORD PTR BD_LENGTH_MASK[rip], ebx
	je	.L4
	mov	r8, QWORD PTR 16[r14]
	test	r8, r8
	je	.L4
	mov	rax, QWORD PTR 8[r14]
	cmp	DWORD PTR e_TX_CONF_TYPE_FLUSH[rip], r13d
	mov	ecx, DWORD PTR [rax+rbp*4]
	jne	.L6
	test	DWORD PTR BD_R_E[rip], ebx
	jne	.L28
.L6:
	mov	rdi, rbp
	mov	DWORD PTR 12[rsp], ecx
	mov	QWORD PTR [rsp], r8
	call	BD_GET@PLT
	mov	edi, DWORD PTR XX_PhysToVirt[rip]
	mov	esi, eax
	call	BdBufferGet@PLT
	mov	edi, DWORD PTR 24[r14]
	mov	ecx, DWORD PTR 12[rsp]
	xor	edx, edx
	mov	r8, QWORD PTR [rsp]
	mov	esi, eax
	call	r8
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L28:
	.cfi_restore_state
	mov	rdi, rbp
	mov	DWORD PTR 12[rsp], ecx
	mov	ebx, DWORD PTR TX_CONF_STATUS_UNSENT[rip]
	mov	QWORD PTR [rsp], r8
	call	BD_GET@PLT
	mov	edi, DWORD PTR XX_PhysToVirt[rip]
	mov	esi, eax
	call	BdBufferGet@PLT
	mov	edi, DWORD PTR 24[r14]
	mov	ecx, DWORD PTR 12[rsp]
	mov	edx, ebx
	mov	r8, QWORD PTR [rsp]
	mov	esi, eax
	call	r8
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	TxConf, .-TxConf
	.comm	e_TX_CONF_TYPE_FLUSH,4,4
	.comm	e_TX_CONF_TYPE_CALLBACK,4,4
	.comm	XX_PhysToVirt,4,4
	.comm	TX_CONF_STATUS_UNSENT,4,4
	.comm	E_OK,8,8
	.comm	E_BUSY,8,8
	.comm	BD_R_E,4,4
	.comm	BD_LENGTH_MASK,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_fm_port_im.c_TxConf.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	TxConf, %function
TxConf:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r0
	ldr	r3, .L29
	sub	sp, sp, #20
	mov	r10, r1
	ldr	fp, [r3]
	bl	ASSERT_COND
	ldr	r3, [r6]
	ldr	r9, .L29+4
	mov	r0, r3
	mov	r4, r3
	str	r3, [sp]
	bl	BD_GET
	bl	BD_STATUS_AND_LENGTH
	ldr	r8, .L29+8
	mov	r5, r0
	ldr	r7, .L29+12
	b	.L2
.L4:
	mov	r1, r4
	mov	r0, r6
	bl	GetNextBdId
	ldr	r3, [sp]
	mov	r4, r0
	cmp	r3, r0
	ldreq	fp, [r8]
	bl	BD_GET
	bl	BD_STATUS_AND_LENGTH
	mov	r5, r0
.L2:
	ldr	r2, [r9]
	tst	r5, r2
	beq	.L8
	ldr	r3, .L29+16
	ldr	r2, [r3]
	cmp	r2, r10
	bne	.L1
.L8:
	ldr	r2, [r8]
	cmp	r2, fp
	beq	.L1
	ldr	r2, [r7]
	tst	r10, r2
	beq	.L4
	mov	r0, r4
	bl	BD_GET
	mov	r1, #0
	bl	BD_STATUS_AND_LENGTH_SET
	ldr	r2, [r7]
	tst	r10, r2
	beq	.L4
	ldr	r3, .L29+20
	ldr	r2, [r3]
	tst	r5, r2
	beq	.L4
	ldr	r3, [r6, #8]
	cmp	r3, #0
	str	r3, [sp, #4]
	beq	.L4
	ldr	r3, .L29+16
	lsl	r1, r4, #2
	ldr	r2, [r3]
	str	r1, [sp, #8]
	cmp	r2, r10
	ldr	r2, .L29+24
	ldr	r3, [r6, #12]
	ldr	r2, [r2]
	bne	.L6
	ldr	r1, [r9]
	tst	r5, r1
	bne	.L28
.L6:
	mov	r0, r4
	str	r3, [sp, #8]
	str	r2, [sp, #12]
	bl	BD_GET
	ldr	r2, [sp, #12]
	mov	r1, r0
	mov	r0, r2
	bl	BdBufferGet
	ldr	r3, [sp, #8]
	ldr	r2, [r6, #4]
	mov	r1, r0
	mov	r0, r3
	lsl	r3, r4, #2
	ldr	r3, [r2, r3]
	ldr	ip, [sp, #4]
	mov	r2, #0
	blx	ip
	b	.L4
.L1:
	mov	r0, fp
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L28:
	mov	r0, r4
	str	r3, [sp, #8]
	str	r2, [sp, #12]
	bl	BD_GET
	ldr	r2, [sp, #12]
	mov	r1, r0
	mov	r0, r2
	bl	BdBufferGet
	ldr	r3, [sp, #8]
	ldr	r2, [r6, #4]
	mov	r1, r0
	mov	r0, r3
	lsl	r3, r4, #2
	ldr	r3, [r2, r3]
	ldr	r2, .L29+28
	ldr	ip, [sp, #4]
	ldr	r2, [r2]
	blx	ip
	b	.L4
.L30:
	.align	2
.L29:
	.word	E_BUSY
	.word	BD_R_E
	.word	E_OK
	.word	e_TX_CONF_TYPE_CALLBACK
	.word	e_TX_CONF_TYPE_FLUSH
	.word	BD_LENGTH_MASK
	.word	XX_PhysToVirt
	.word	TX_CONF_STATUS_UNSENT
	.size	TxConf, .-TxConf
	.comm	e_TX_CONF_TYPE_FLUSH,4,4
	.comm	e_TX_CONF_TYPE_CALLBACK,4,4
	.comm	XX_PhysToVirt,4,4
	.comm	TX_CONF_STATUS_UNSENT,4,4
	.comm	E_OK,4,4
	.comm	E_BUSY,4,4
	.comm	BD_R_E,4,4
	.comm	BD_LENGTH_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
