	.file	"extr_rxtx.c_s_vGenerateTxParameter.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	s_vGenerateTxParameter, @function
s_vGenerateTxParameter:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, esi
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	edi, DWORD PTR 4[rdx]
	mov	eax, DWORD PTR 128[rsp]
	mov	r13d, DWORD PTR 144[rsp]
	mov	QWORD PTR 32[rsp], r9
	mov	r14d, DWORD PTR 112[rsp]
	mov	r15d, DWORD PTR 120[rsp]
	mov	QWORD PTR 16[rsp], rdx
	mov	DWORD PTR 44[rsp], eax
	mov	rax, QWORD PTR 136[rsp]
	movzx	r13d, r13w
	mov	QWORD PTR [rsp], r8
	mov	QWORD PTR 24[rsp], rax
	call	le16_to_cpu@PLT
	movzx	r11d, BYTE PTR AUTO_FB_NONE[rip]
	mov	edi, r13d
	mov	DWORD PTR 40[rsp], eax
	mov	BYTE PTR 12[rsp], r11b
	call	cpu_to_le16@PLT
	mov	ecx, DWORD PTR 40[rsp]
	xor	r9d, r9d
	mov	rdx, QWORD PTR 16[rsp]
	test	DWORD PTR FIFOCTL_CRCDIS[rip], ecx
	movzx	r11d, BYTE PTR 12[rsp]
	setne	r9b
	test	DWORD PTR FIFOCTL_AUTO_FB_0[rip], ecx
	mov	DWORD PTR [rdx], eax
	je	.L2
	movzx	r11d, BYTE PTR AUTO_FB_0[rip]
.L3:
	test	r12, r12
	je	.L1
	cmp	BYTE PTR PK_TYPE_11GB[rip], bl
	je	.L5
	cmp	BYTE PTR PK_TYPE_11GA[rip], bl
	je	.L5
	cmp	BYTE PTR PK_TYPE_11A[rip], bl
	je	.L20
	cmp	BYTE PTR PK_TYPE_11B[rip], bl
	je	.L21
.L1:
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L2:
	.cfi_restore_state
	movzx	eax, BYTE PTR AUTO_FB_1[rip]
	test	DWORD PTR FIFOCTL_AUTO_FB_1[rip], ecx
	cmovne	r11d, eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	cmp	QWORD PTR [rsp], 0
	movzx	ebx, bl
	je	.L7
	mov	r8d, r13d
	mov	ecx, r14d
	mov	edx, ebx
	mov	esi, 2
	mov	rdi, rbp
	mov	DWORD PTR 12[rsp], r11d
	mov	DWORD PTR 40[rsp], r9d
	call	s_uGetRTSCTSRsvTime@PLT
	mov	r8d, r13d
	mov	ecx, r14d
	mov	edx, ebx
	mov	QWORD PTR 32[r12], rax
	mov	esi, 1
	mov	rdi, rbp
	call	s_uGetRTSCTSRsvTime@PLT
	mov	r8d, r13d
	mov	ecx, r14d
	mov	edx, ebx
	mov	QWORD PTR 24[r12], rax
	xor	esi, esi
	mov	rdi, rbp
	call	s_uGetRTSCTSRsvTime@PLT
	mov	r8d, r15d
	mov	ecx, r13d
	mov	edx, r14d
	mov	QWORD PTR 16[r12], rax
	mov	esi, ebx
	mov	rdi, rbp
	call	vnt_rxtx_rsvtime_le16@PLT
	movzx	ecx, WORD PTR 0[rbp]
	mov	r8d, r15d
	mov	edx, r14d
	mov	QWORD PTR 8[r12], rax
	movzx	esi, BYTE PTR PK_TYPE_11B[rip]
	mov	rdi, rbp
	call	vnt_rxtx_rsvtime_le16@PLT
	mov	r11d, DWORD PTR 12[rsp]
	mov	QWORD PTR [r12], rax
.L17:
	mov	rsi, QWORD PTR 24[rsp]
	mov	DWORD PTR 120[rsp], r13d
	mov	r8d, r15d
	mov	ecx, r14d
	mov	DWORD PTR 128[rsp], r11d
	mov	r9d, DWORD PTR 40[rsp]
	mov	rdi, rbp
	mov	QWORD PTR 112[rsp], rsi
	mov	rdx, QWORD PTR [rsp]
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	esi, ebx
	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
	jmp	s_vFillRTSHead@PLT
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	cmp	QWORD PTR [rsp], 0
	mov	DWORD PTR 40[rsp], r9d
	movzx	ebx, bl
	mov	BYTE PTR 12[rsp], r11b
	je	.L10
	mov	r8d, r13d
	mov	ecx, r14d
	mov	edx, ebx
	xor	esi, esi
	mov	rdi, rbp
	call	s_uGetRTSCTSRsvTime@PLT
	mov	r8d, r15d
	mov	ecx, r13d
	mov	edx, r14d
	mov	QWORD PTR 8[r12], rax
	movzx	esi, BYTE PTR PK_TYPE_11B[rip]
.L18:
	mov	rdi, rbp
	call	vnt_rxtx_rsvtime_le16@PLT
	movzx	r11d, BYTE PTR 12[rsp]
	mov	QWORD PTR [r12], rax
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L7:
	mov	r8d, r15d
	mov	ecx, r13d
	mov	edx, r14d
	mov	esi, ebx
	mov	rdi, rbp
	mov	DWORD PTR 12[rsp], r9d
	mov	DWORD PTR [rsp], r11d
	call	vnt_rxtx_rsvtime_le16@PLT
	movzx	ecx, WORD PTR 0[rbp]
	mov	r8d, r15d
	mov	edx, r14d
	mov	QWORD PTR 16[r12], rax
	movzx	esi, BYTE PTR PK_TYPE_11B[rip]
	mov	rdi, rbp
	call	vnt_rxtx_rsvtime_le16@PLT
	mov	r8d, r13d
	mov	ecx, r14d
	mov	edx, ebx
	mov	QWORD PTR 8[r12], rax
	mov	rdi, rbp
	mov	esi, 3
	call	s_uGetRTSCTSRsvTime@PLT
	mov	r9d, DWORD PTR 12[rsp]
	mov	r11d, DWORD PTR [rsp]
	mov	edx, ebx
	mov	QWORD PTR [r12], rax
	mov	rcx, QWORD PTR 32[rsp]
	mov	r8d, r14d
	mov	rdi, rbp
	mov	DWORD PTR 120[rsp], r13d
	mov	esi, DWORD PTR 44[rsp]
	mov	DWORD PTR 112[rsp], r9d
	mov	r9d, r15d
	mov	DWORD PTR 128[rsp], r11d
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	jmp	s_vFillCTSHead@PLT
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	cmp	QWORD PTR [rsp], 0
	mov	DWORD PTR 40[rsp], r9d
	movzx	ebx, bl
	mov	BYTE PTR 12[rsp], r11b
	je	.L10
	mov	r8d, r13d
	mov	ecx, r14d
	mov	edx, ebx
	mov	esi, 2
	mov	rdi, rbp
	call	s_uGetRTSCTSRsvTime@PLT
	mov	r8d, r15d
	mov	ecx, r13d
	mov	edx, r14d
	mov	QWORD PTR 8[r12], rax
	mov	esi, ebx
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L10:
	mov	r8d, r15d
	mov	ecx, r13d
	mov	edx, r14d
	mov	esi, ebx
	mov	rdi, rbp
	call	vnt_rxtx_rsvtime_le16@PLT
	mov	QWORD PTR [r12], rax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	s_vGenerateTxParameter, .-s_vGenerateTxParameter
	.comm	PK_TYPE_11GB,1,1
	.comm	PK_TYPE_11GA,1,1
	.comm	PK_TYPE_11B,1,1
	.comm	PK_TYPE_11A,1,1
	.comm	FIFOCTL_CRCDIS,4,4
	.comm	FIFOCTL_AUTO_FB_1,4,4
	.comm	FIFOCTL_AUTO_FB_0,4,4
	.comm	AUTO_FB_NONE,1,1
	.comm	AUTO_FB_1,1,1
	.comm	AUTO_FB_0,1,1
	.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_rxtx.c_s_vGenerateTxParameter.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	s_vGenerateTxParameter, %function
s_vGenerateTxParameter:
	@ args = 28, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #36
	mov	r6, r3
	ldr	r3, [sp, #76]
	mov	r5, r0
	str	r3, [sp, #24]
	ldr	r3, [sp, #88]
	ldr	r0, [r2, #4]
	str	r3, [sp, #28]
	ldr	r3, [sp, #92]
	mov	r10, r2
	mov	r4, r1
	ldrh	r7, [sp, #96]
	str	r3, [sp, #20]
	ldr	r9, [sp, #72]
	ldr	r8, [sp, #80]
	ldr	fp, [sp, #84]
	bl	le16_to_cpu
	ldr	r2, .L28
	str	r0, [sp, #16]
	ldrb	r3, [r2]	@ zero_extendqisi2
	mov	r0, r7
	str	r3, [sp, #12]
	bl	cpu_to_le16
	ldr	r1, .L28+4
	ldr	r2, .L28+8
	ldr	r1, [r1]
	ldr	r3, [sp, #16]
	ldr	r2, [r2]
	tst	r3, r1
	str	r0, [r10]
	movne	r10, #1
	moveq	r10, #0
	tst	r3, r2
	beq	.L2
	ldr	r3, .L28+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [sp, #12]
.L3:
	cmp	r6, #0
	beq	.L1
	ldr	r3, .L28+16
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, r4
	beq	.L5
	ldr	r3, .L28+20
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, r4
	beq	.L5
	ldr	r3, .L28+24
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, r4
	beq	.L26
	ldr	r3, .L28+28
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, r4
	beq	.L27
.L1:
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r2, .L28+32
	ldr	r2, [r2]
	tst	r3, r2
	ldrne	r3, .L28+36
	ldrbne	r3, [r3]	@ zero_extendqisi2
	strne	r3, [sp, #12]
	b	.L3
.L5:
	cmp	r9, #0
	beq	.L7
	mov	r3, r8
	mov	r2, r4
	mov	r1, #2
	mov	r0, r5
	str	r7, [sp]
	bl	s_uGetRTSCTSRsvTime
	mov	r3, r8
	mov	r2, r4
	mov	r1, #1
	str	r7, [sp]
	str	r0, [r6, #16]
	mov	r0, r5
	bl	s_uGetRTSCTSRsvTime
	mov	r3, r8
	mov	r2, r4
	mov	r1, #0
	str	r7, [sp]
	str	r0, [r6, #12]
	mov	r0, r5
	bl	s_uGetRTSCTSRsvTime
	mov	r3, r7
	mov	r1, r4
	str	fp, [sp]
	mov	r2, r8
	str	r0, [r6, #8]
	mov	r0, r5
	bl	vnt_rxtx_rsvtime_le16
	ldr	r3, .L28+28
	str	r0, [r6, #4]
	str	fp, [sp]
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldrh	r3, [r5]
.L23:
	mov	r2, r8
.L24:
	mov	r0, r5
	bl	vnt_rxtx_rsvtime_le16
	ldr	r3, [sp, #12]
	mov	r2, r9
	str	r3, [sp, #88]
	ldr	r3, [sp, #20]
	str	r0, [r6]
	mov	r1, r4
	str	r3, [sp, #80]
	mov	r0, r5
	mov	r3, r8
	str	r7, [sp, #84]
	str	r10, [sp, #76]
	str	fp, [sp, #72]
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	s_vFillRTSHead
.L27:
	cmp	r9, #0
	beq	.L9
	mov	r3, r8
	mov	r1, #0
	mov	r2, r4
	mov	r0, r5
	str	r7, [sp]
	bl	s_uGetRTSCTSRsvTime
	ldr	r3, .L28+28
	str	fp, [sp]
	ldrb	r1, [r3]	@ zero_extendqisi2
	str	r0, [r6, #4]
	mov	r3, r7
	b	.L23
.L7:
	mov	r3, r7
	mov	r2, r8
	mov	r1, r4
	mov	r0, r5
	str	fp, [sp]
	bl	vnt_rxtx_rsvtime_le16
	ldr	r3, .L28+28
	str	r0, [r6, #8]
	str	fp, [sp]
	mov	r2, r8
	ldrb	r1, [r3]	@ zero_extendqisi2
	mov	r0, r5
	ldrh	r3, [r5]
	bl	vnt_rxtx_rsvtime_le16
	mov	r3, r8
	mov	r2, r4
	str	r7, [sp]
	mov	r1, #3
	str	r0, [r6, #4]
	mov	r0, r5
	bl	s_uGetRTSCTSRsvTime
	ldr	r3, [sp, #12]
	mov	r2, r4
	str	r3, [sp, #88]
	str	r0, [r6]
	mov	r0, r5
	ldr	r3, [sp, #24]
	ldr	r1, [sp, #28]
	str	r7, [sp, #84]
	str	r10, [sp, #80]
	str	fp, [sp, #76]
	str	r8, [sp, #72]
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	s_vFillCTSHead
.L26:
	cmp	r9, #0
	beq	.L9
	mov	r3, r8
	mov	r2, r4
	mov	r1, #2
	mov	r0, r5
	str	r7, [sp]
	bl	s_uGetRTSCTSRsvTime
	str	fp, [sp]
	mov	r3, r7
	mov	r2, r8
	mov	r1, r4
	str	r0, [r6, #4]
	b	.L24
.L9:
	mov	r3, r7
	mov	r2, r8
	mov	r1, r4
	mov	r0, r5
	str	fp, [sp]
	bl	vnt_rxtx_rsvtime_le16
	str	r0, [r6]
	b	.L1
.L29:
	.align	2
.L28:
	.word	AUTO_FB_NONE
	.word	FIFOCTL_CRCDIS
	.word	FIFOCTL_AUTO_FB_0
	.word	AUTO_FB_0
	.word	PK_TYPE_11GB
	.word	PK_TYPE_11GA
	.word	PK_TYPE_11A
	.word	PK_TYPE_11B
	.word	FIFOCTL_AUTO_FB_1
	.word	AUTO_FB_1
	.size	s_vGenerateTxParameter, .-s_vGenerateTxParameter
	.comm	PK_TYPE_11GB,1,1
	.comm	PK_TYPE_11GA,1,1
	.comm	PK_TYPE_11B,1,1
	.comm	PK_TYPE_11A,1,1
	.comm	FIFOCTL_CRCDIS,4,4
	.comm	FIFOCTL_AUTO_FB_1,4,4
	.comm	FIFOCTL_AUTO_FB_0,4,4
	.comm	AUTO_FB_NONE,1,1
	.comm	AUTO_FB_1,1,1
	.comm	AUTO_FB_0,1,1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
