	.file	"extr_base.c_rtl_wait_tx_report_acked.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Wait 1ms (%d/%d) to disable key.\n"
	.text
	.p2align 4
	.globl	rtl_wait_tx_report_acked
	.type	rtl_wait_tx_report_acked, @function
rtl_wait_tx_report_acked:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	rtl_priv@PLT
	test	ebp, ebp
	jle	.L1
	mov	r13, rax
	xor	ebx, ebx
	lea	r14, .LC0[rip]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L7:
	mov	esi, 2000
	mov	edi, 1000
	call	usleep_range@PLT
	mov	r8d, ebx
	mov	r9d, ebp
	mov	rcx, r14
	mov	edx, DWORD PTR DBG_DMESG[rip]
	mov	esi, DWORD PTR COMP_SEC[rip]
	mov	rdi, r13
	add	ebx, 1
	call	RT_TRACE@PLT
	cmp	ebp, ebx
	je	.L1
.L3:
	mov	rdi, r12
	call	rtl_check_tx_report_acked@PLT
	test	rax, rax
	je	.L7
.L1:
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	rtl_wait_tx_report_acked, .-rtl_wait_tx_report_acked
	.comm	DBG_DMESG,4,4
	.comm	COMP_SEC,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_base.c_rtl_wait_tx_report_acked.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Wait 1ms (%d/%d) to disable key.\012\000"
	.text
	.align	2
	.global	rtl_wait_tx_report_acked
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtl_wait_tx_report_acked, %function
rtl_wait_tx_report_acked:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r1
	sub	sp, sp, #8
	mov	r6, r0
	bl	rtl_priv
	cmp	r5, #0
	ble	.L1
	mov	r7, r0
	mov	r4, #0
	ldr	r10, .L8
	ldr	r9, .L8+4
	ldr	r8, .L8+8
	b	.L3
.L7:
	mov	r1, #2000
	mov	r0, #1000
	bl	usleep_range
	stm	sp, {r4, r5}
	mov	r3, r8
	mov	r0, r7
	ldr	r2, [r10]
	ldr	r1, [r9]
	add	r4, r4, #1
	bl	RT_TRACE
	cmp	r5, r4
	beq	.L1
.L3:
	mov	r0, r6
	bl	rtl_check_tx_report_acked
	cmp	r0, #0
	beq	.L7
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	.align	2
.L8:
	.word	DBG_DMESG
	.word	COMP_SEC
	.word	.LC0
	.size	rtl_wait_tx_report_acked, .-rtl_wait_tx_report_acked
	.comm	DBG_DMESG,4,4
	.comm	COMP_SEC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
