	.file	"extr_card.c_CARDbSetPhyParameter.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	CARDbSetPhyParameter
	.type	CARDbSetPhyParameter, @function
CARDbSetPhyParameter:
.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
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r8
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, esi
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	DWORD PTR 12[rsp], edx
	mov	DWORD PTR 20[rsp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	cmp	DWORD PTR PHY_TYPE_11A[rip], esi
	mov	QWORD PTR [rsp], r9
	je	.L45
	cmp	DWORD PTR PHY_TYPE_11B[rip], esi
	je	.L46
	test	r8, r8
	jne	.L16
	mov	rax, QWORD PTR abyDefaultExtSuppRatesG[rip]
	mov	r12, QWORD PTR abyDefaultSuppRatesG[rip]
	mov	QWORD PTR [rsp], rax
.L16:
	mov	rdi, QWORD PTR 80[r13]
	mov	esi, DWORD PTR BB_TYPE_11G[rip]
	call	MACvSetBBType@PLT
	mov	rax, QWORD PTR 0[r13]
	cmp	rax, QWORD PTR RF_AIROHA7230[rip]
	je	.L47
	cmp	rax, QWORD PTR RF_UW2452[rip]
	mov	rdi, QWORD PTR 80[r13]
	je	.L48
.L19:
	mov	edx, 8
	mov	esi, 136
	call	BBbWriteEmbeded@PLT
	mov	edi, DWORD PTR 12[rsp]
	mov	r15d, DWORD PTR C_SIFS_BG[rip]
	call	VNTWIFIbIsShortSlotTime@PLT
	test	rax, rax
	je	.L21
	mov	ebp, DWORD PTR C_SLOT_SHORT[rip]
	mov	eax, DWORD PTR C_SIFS_BG[rip]
	lea	eax, [rax+rbp*2]
	mov	DWORD PTR 16[rsp], eax
.L22:
	mov	rsi, QWORD PTR [rsp]
	mov	rdi, r12
	xor	r14d, r14d
	call	VNTWIFIbyGetMaxSupportRate@PLT
	mov	edi, DWORD PTR 20[rsp]
	cmp	rax, QWORD PTR RATE_11M[rip]
	mov	rax, QWORD PTR 16[r13]
	setle	r14b
	add	r14d, 164
	mov	QWORD PTR 24[rsp], rax
	call	VNTWIFIbIsProtectMode@PLT
	cmp	QWORD PTR 24[rsp], rax
	je	.L24
	mov	edi, DWORD PTR 20[rsp]
	call	VNTWIFIbIsProtectMode@PLT
	mov	rdi, QWORD PTR 80[r13]
	mov	QWORD PTR 16[r13], rax
	test	rax, rax
	je	.L25
	call	MACvEnableProtectMD@PLT
.L24:
	mov	rax, QWORD PTR 24[r13]
	mov	edi, DWORD PTR 20[rsp]
	mov	QWORD PTR 24[rsp], rax
	call	VNTWIFIbIsBarkerMode@PLT
	cmp	QWORD PTR 24[rsp], rax
	je	.L9
	mov	edi, DWORD PTR 20[rsp]
	call	VNTWIFIbIsBarkerMode@PLT
	mov	rdi, QWORD PTR 80[r13]
	mov	QWORD PTR 24[r13], rax
	test	rax, rax
	je	.L26
	call	MACvEnableBarkerPreambleMd@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rax, QWORD PTR RF_RFMD2959[rip]
	cmp	QWORD PTR 0[r13], rax
	jne	.L27
	sub	DWORD PTR 16[rsp], 3
	sub	r15d, 3
.L27:
	cmp	DWORD PTR 32[r13], r15d
	je	.L28
	mov	DWORD PTR 32[r13], r15d
	mov	rdi, QWORD PTR MAC_REG_SIFS[rip]
	mov	esi, r15d
	add	rdi, QWORD PTR 80[r13]
	call	VNSvOutPortB@PLT
.L28:
	mov	esi, DWORD PTR 16[rsp]
	cmp	DWORD PTR 36[r13], esi
	je	.L29
	mov	DWORD PTR 36[r13], esi
	mov	rdi, QWORD PTR MAC_REG_DIFS[rip]
	add	rdi, QWORD PTR 80[r13]
	call	VNSvOutPortB@PLT
.L29:
	mov	rsi, QWORD PTR C_EIFS[rip]
	cmp	QWORD PTR 40[r13], rsi
	je	.L30
	mov	QWORD PTR 40[r13], rsi
	mov	rdi, QWORD PTR MAC_REG_EIFS[rip]
	add	rdi, QWORD PTR 80[r13]
	call	VNSvOutPortB@PLT
.L30:
	cmp	DWORD PTR 48[r13], ebp
	je	.L31
	mov	DWORD PTR 48[r13], ebp
	mov	rdi, QWORD PTR MAC_REG_SLOT[rip]
	mov	esi, ebp
	add	rdi, QWORD PTR 80[r13]
	call	VNSvOutPortB@PLT
	mov	eax, DWORD PTR FALSE[rip]
	mov	ecx, DWORD PTR C_SLOT_SHORT[rip]
	cmp	DWORD PTR 48[r13], ecx
	jne	.L33
	mov	eax, DWORD PTR TRUE[rip]
.L33:
	mov	DWORD PTR 88[r13], eax
	mov	rdi, r13
	call	BBvSetShortSlotTime@PLT
.L31:
	cmp	DWORD PTR 52[r13], r14d
	je	.L34
	mov	DWORD PTR 52[r13], r14d
	mov	rdi, QWORD PTR MAC_REG_CWMAXMIN0[rip]
	mov	esi, r14d
	add	rdi, QWORD PTR 80[r13]
	call	VNSvOutPortB@PLT
.L34:
	mov	edi, DWORD PTR 12[rsp]
	call	VNTWIFIbIsShortPreamble@PLT
	test	rax, rax
	je	.L35
	mov	rax, QWORD PTR 72[r13]
.L35:
	mov	QWORD PTR 64[r13], rax
	mov	rcx, QWORD PTR [rsp]
	mov	rdx, r12
	mov	esi, ebx
	mov	rdi, r13
	call	s_vSetRSPINF@PLT
	mov	DWORD PTR 56[r13], ebx
	mov	eax, DWORD PTR TRUE[rip]
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L49
	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
.L46:
	.cfi_restore_state
	mov	rdi, QWORD PTR 80[rdi]
	mov	esi, DWORD PTR BB_TYPE_11B[rip]
	test	r8, r8
	cmove	r12, QWORD PTR abyDefaultSuppRatesB[rip]
	call	MACvSetBBType@PLT
	mov	rax, QWORD PTR 0[r13]
	cmp	rax, QWORD PTR RF_AIROHA7230[rip]
	je	.L50
	cmp	rax, QWORD PTR RF_UW2452[rip]
	mov	rdi, QWORD PTR 80[r13]
	je	.L51
.L14:
	mov	edx, 2
	mov	esi, 136
	mov	r14d, 165
	call	BBbWriteEmbeded@PLT
	mov	ebp, DWORD PTR C_SLOT_LONG[rip]
	mov	r15d, DWORD PTR C_SIFS_BG[rip]
	lea	eax, [r15+rbp*2]
	mov	DWORD PTR 16[rsp], eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L45:
	mov	rax, QWORD PTR [rdi]
	test	r8, r8
	cmove	r12, QWORD PTR abyDefaultSuppRatesA[rip]
	cmp	rax, QWORD PTR RF_AIROHA7230[rip]
	mov	rdi, QWORD PTR 80[rdi]
	je	.L52
	cmp	rax, QWORD PTR RF_UW2452[rip]
	mov	esi, DWORD PTR BB_TYPE_11A[rip]
	je	.L53
	call	MACvSetBBType@PLT
.L6:
	mov	rdi, QWORD PTR 80[r13]
	mov	edx, 3
	mov	esi, 136
	mov	r14d, 164
	call	BBbWriteEmbeded@PLT
	mov	ebp, DWORD PTR C_SLOT_SHORT[rip]
	mov	r15d, DWORD PTR C_SIFS_A[rip]
	lea	eax, [r15+rbp*2]
	mov	DWORD PTR 16[rsp], eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L21:
	mov	ebp, DWORD PTR C_SLOT_LONG[rip]
	mov	eax, DWORD PTR C_SIFS_BG[rip]
	lea	eax, [rax+rbp*2]
	mov	DWORD PTR 16[rsp], eax
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L26:
	call	MACvDisableBarkerPreambleMd@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L25:
	call	MACvDisableProtectMD@PLT
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L53:
	call	MACvSetBBType@PLT
	mov	rax, QWORD PTR 8[r13]
	mov	rdi, QWORD PTR 80[r13]
	lea	rdx, 36[rsp]
	mov	esi, 231
	mov	DWORD PTR [rax], 24
	call	BBbReadEmbeded@PLT
	cmp	DWORD PTR 36[rsp], 20
	jne	.L6
	mov	rax, QWORD PTR 8[r13]
	mov	rdi, QWORD PTR 80[r13]
	mov	esi, 231
	mov	edx, DWORD PTR [rax]
	call	BBbWriteEmbeded@PLT
	mov	rdi, QWORD PTR 80[r13]
	mov	edx, 87
	mov	esi, 225
	call	BBbWriteEmbeded@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L47:
	mov	rax, QWORD PTR 8[r13]
	mov	rdi, QWORD PTR 80[r13]
	lea	rdx, 36[rsp]
	mov	esi, 231
	mov	DWORD PTR [rax], 28
	mov	QWORD PTR 8[rax], 0
	call	BBbReadEmbeded@PLT
	cmp	DWORD PTR 36[rsp], 32
	je	.L18
.L43:
	mov	rdi, QWORD PTR 80[r13]
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L48:
	mov	rax, QWORD PTR 8[r13]
	lea	rdx, 36[rsp]
	mov	esi, 231
	mov	DWORD PTR [rax], 20
	call	BBbReadEmbeded@PLT
	cmp	DWORD PTR 36[rsp], 24
	jne	.L43
	mov	rax, QWORD PTR 8[r13]
	mov	rdi, QWORD PTR 80[r13]
	mov	esi, 231
	mov	edx, DWORD PTR [rax]
	call	BBbWriteEmbeded@PLT
	mov	rdi, QWORD PTR 80[r13]
	mov	edx, 211
	mov	esi, 225
	call	BBbWriteEmbeded@PLT
	jmp	.L43
	.p2align 4,,10
	.p2align 3
.L52:
	mov	esi, DWORD PTR BB_TYPE_11G[rip]
	call	MACvSetBBType@PLT
	mov	rax, QWORD PTR 8[r13]
	mov	rdi, QWORD PTR 80[r13]
	movabs	rcx, 68719476752
	lea	rdx, 36[rsp]
	mov	esi, 231
	mov	DWORD PTR [rax], 32
	mov	QWORD PTR 8[rax], rcx
	call	BBbReadEmbeded@PLT
	cmp	DWORD PTR 36[rsp], 28
	jne	.L6
	mov	rax, QWORD PTR 8[r13]
	mov	rdi, QWORD PTR 80[r13]
	mov	esi, 231
	mov	edx, DWORD PTR [rax]
	call	BBbWriteEmbeded@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L50:
	mov	rax, QWORD PTR 8[r13]
	mov	rdi, QWORD PTR 80[r13]
	lea	rdx, 36[rsp]
	mov	esi, 231
	mov	DWORD PTR [rax], 28
	mov	QWORD PTR 8[rax], 0
	call	BBbReadEmbeded@PLT
	cmp	DWORD PTR 36[rsp], 32
	je	.L13
.L42:
	mov	rdi, QWORD PTR 80[r13]
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L51:
	mov	rax, QWORD PTR 8[r13]
	lea	rdx, 36[rsp]
	mov	esi, 231
	mov	DWORD PTR [rax], 20
	call	BBbReadEmbeded@PLT
	cmp	DWORD PTR 36[rsp], 24
	jne	.L42
	mov	rax, QWORD PTR 8[r13]
	mov	rdi, QWORD PTR 80[r13]
	mov	esi, 231
	mov	edx, DWORD PTR [rax]
	call	BBbWriteEmbeded@PLT
	mov	rdi, QWORD PTR 80[r13]
	mov	edx, 211
	mov	esi, 225
	call	BBbWriteEmbeded@PLT
	jmp	.L42
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rax, QWORD PTR 8[r13]
	mov	rdi, QWORD PTR 80[r13]
	mov	esi, 231
	mov	edx, DWORD PTR [rax]
	call	BBbWriteEmbeded@PLT
	mov	rdi, QWORD PTR 80[r13]
	jmp	.L19
.L13:
	mov	rax, QWORD PTR 8[r13]
	mov	rdi, QWORD PTR 80[r13]
	mov	esi, 231
	mov	edx, DWORD PTR [rax]
	call	BBbWriteEmbeded@PLT
	mov	rdi, QWORD PTR 80[r13]
	jmp	.L14
.L49:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	CARDbSetPhyParameter, .-CARDbSetPhyParameter
	.comm	abyDefaultSuppRatesG,8,8
	.comm	abyDefaultSuppRatesB,8,8
	.comm	abyDefaultSuppRatesA,8,8
	.comm	abyDefaultExtSuppRatesG,8,8
	.comm	TRUE,4,4
	.comm	RF_UW2452,8,8
	.comm	RF_RFMD2959,8,8
	.comm	RF_AIROHA7230,8,8
	.comm	RATE_11M,8,8
	.comm	PHY_TYPE_11B,4,4
	.comm	PHY_TYPE_11A,4,4
	.comm	MAC_REG_SLOT,8,8
	.comm	MAC_REG_SIFS,8,8
	.comm	MAC_REG_EIFS,8,8
	.comm	MAC_REG_DIFS,8,8
	.comm	MAC_REG_CWMAXMIN0,8,8
	.comm	FALSE,4,4
	.comm	C_SLOT_SHORT,4,4
	.comm	C_SLOT_LONG,4,4
	.comm	C_SIFS_BG,4,4
	.comm	C_SIFS_A,4,4
	.comm	C_EIFS,8,8
	.comm	BB_TYPE_11G,4,4
	.comm	BB_TYPE_11B,4,4
	.comm	BB_TYPE_11A,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_card.c_CARDbSetPhyParameter.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	CARDbSetPhyParameter
	.syntax unified
	.arm
	.fpu softvfp
	.type	CARDbSetPhyParameter, %function
CARDbSetPhyParameter:
	@ args = 8, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r1
	ldr	r1, .L56
	sub	sp, sp, #28
	ldr	r1, [r1]
	str	r3, [sp, #4]
	ldr	r3, .L56+4
	cmp	r1, r5
	mov	r4, r0
	mov	r7, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r10, [sp, #64]
	ldr	fp, [sp, #68]
	beq	.L47
	ldr	r3, .L56+8
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L48
	cmp	r10, #0
	ldreq	r3, .L56+12
	ldreq	r2, .L56+16
	ldreq	fp, [r3]
	ldr	r3, .L56+20
	ldr	r0, [r0, #48]
	ldr	r1, [r3]
	ldreq	r10, [r2]
	bl	MACvSetBBType
	ldr	r2, .L56+24
	ldr	r3, [r4]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L49
	ldr	r2, .L56+28
	ldr	r0, [r4, #48]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L50
.L19:
	mov	r2, #8
	mov	r1, #136
	ldr	r6, .L56+32
	bl	BBbWriteEmbeded
	mov	r0, r7
	ldr	r8, [r6]
	bl	VNTWIFIbIsShortSlotTime
	cmp	r0, #0
	ldrne	r2, .L56+36
	ldreq	r2, .L56+40
	mov	r1, fp
	mov	r0, r10
	ldr	r9, [r2]
	ldr	r6, [r6]
	bl	VNTWIFIbyGetMaxSupportRate
	mov	ip, r0
	ldr	r2, .L56+44
	ldr	r0, [sp, #4]
	ldr	r1, [r2]
	ldr	r2, [r4, #8]
	cmp	ip, r1
	movgt	r3, #164
	movle	r3, #165
	str	r2, [sp, #12]
	str	r3, [sp, #8]
	bl	VNTWIFIbIsProtectMode
	ldr	r2, [sp, #12]
	add	r6, r6, r9, lsl #1
	cmp	r2, r0
	beq	.L24
	ldr	r0, [sp, #4]
	bl	VNTWIFIbIsProtectMode
	cmp	r0, #0
	str	r0, [r4, #8]
	ldr	r0, [r4, #48]
	beq	.L25
	bl	MACvEnableProtectMD
.L24:
	ldr	r2, [r4, #12]
	ldr	r0, [sp, #4]
	str	r2, [sp, #12]
	bl	VNTWIFIbIsBarkerMode
	ldr	r2, [sp, #12]
	cmp	r2, r0
	beq	.L9
	ldr	r0, [sp, #4]
	bl	VNTWIFIbIsBarkerMode
	cmp	r0, #0
	str	r0, [r4, #12]
	ldr	r0, [r4, #48]
	beq	.L26
	bl	MACvEnableBarkerPreambleMd
.L9:
	ldr	r2, .L56+48
	ldr	r1, [r4]
	ldr	r2, [r2]
	cmp	r1, r2
	ldr	r2, [r4, #16]
	subeq	r8, r8, #3
	subeq	r6, r6, #3
	cmp	r2, r8
	beq	.L28
	ldr	r2, .L56+52
	ldr	r0, [r4, #48]
	ldr	r2, [r2]
	mov	r1, r8
	str	r8, [r4, #16]
	add	r0, r0, r2
	bl	VNSvOutPortB
.L28:
	ldr	r3, [r4, #20]
	cmp	r3, r6
	beq	.L29
	ldr	r3, .L56+56
	ldr	r0, [r4, #48]
	ldr	r3, [r3]
	mov	r1, r6
	str	r6, [r4, #20]
	add	r0, r0, r3
	bl	VNSvOutPortB
.L29:
	ldr	r2, .L56+60
	ldr	r3, [r4, #24]
	ldr	r1, [r2]
	cmp	r3, r1
	beq	.L30
	ldr	r3, .L56+64
	ldr	r0, [r4, #48]
	ldr	r3, [r3]
	str	r1, [r4, #24]
	add	r0, r0, r3
	bl	VNSvOutPortB
.L30:
	ldr	r3, [r4, #28]
	cmp	r3, r9
	bne	.L42
	ldr	r6, .L56+68
.L31:
	ldr	r3, [r4, #32]
	ldr	r2, [sp, #8]
	cmp	r3, r2
	beq	.L34
	ldr	r3, .L56+72
	ldr	r0, [r4, #48]
	ldr	r3, [r3]
	mov	r1, r2
	str	r2, [r4, #32]
	add	r0, r0, r3
	bl	VNSvOutPortB
.L34:
	mov	r0, r7
	bl	VNTWIFIbIsShortPreamble
	cmp	r0, #0
	ldrne	r0, [r4, #44]
	mov	r3, fp
	mov	r2, r10
	str	r0, [r4, #40]
	mov	r1, r5
	mov	r0, r4
	bl	s_vSetRSPINF
	ldr	r3, .L56+4
	str	r5, [r4, #36]
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	ldr	r0, [r6]
	bne	.L51
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L48:
	cmp	r10, #0
	ldreq	r3, .L56+76
	ldr	r0, [r0, #48]
	ldreq	r10, [r3]
	ldr	r3, .L56+80
	ldr	r1, [r3]
	bl	MACvSetBBType
	ldr	r2, .L56+24
	ldr	r3, [r4]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L52
	ldr	r2, .L56+28
	ldr	r0, [r4, #48]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L53
.L14:
	mov	r2, #2
	mov	r1, #136
	bl	BBbWriteEmbeded
	ldr	r3, .L56+32
	ldr	r2, .L56+40
	ldr	r8, [r3]
	mov	r3, #165
	ldr	r9, [r2]
	str	r3, [sp, #8]
	add	r6, r8, r9, lsl #1
	b	.L9
.L42:
	ldr	r3, .L56+84
	ldr	r0, [r4, #48]
	ldr	r3, [r3]
	mov	r1, r9
	str	r9, [r4, #28]
	add	r0, r0, r3
	bl	VNSvOutPortB
	ldr	r3, .L56+36
	ldr	r2, [r4, #28]
	ldr	r3, [r3]
	mov	r0, r4
	cmp	r2, r3
	ldrne	r3, .L56+88
	ldreq	r6, .L56+68
	ldrne	r3, [r3]
	ldreq	r3, [r6]
	ldrne	r6, .L56+68
	str	r3, [r4, #52]
	bl	BBvSetShortSlotTime
	b	.L31
.L47:
	cmp	r10, #0
	ldreq	r3, .L56+92
	ldr	r2, .L56+24
	ldreq	r10, [r3]
	ldr	r2, [r2]
	ldr	r3, [r0]
	ldr	r0, [r0, #48]
	cmp	r3, r2
	beq	.L54
	ldr	r2, .L56+28
	ldr	r1, .L56+96
	ldr	r2, [r2]
	ldr	r1, [r1]
	cmp	r3, r2
	beq	.L55
	bl	MACvSetBBType
.L6:
	mov	r2, #3
	mov	r1, #136
	ldr	r0, [r4, #48]
	bl	BBbWriteEmbeded
	ldr	r3, .L56+100
	ldr	r2, .L56+36
	ldr	r8, [r3]
	mov	r3, #164
	ldr	r9, [r2]
	str	r3, [sp, #8]
	add	r6, r8, r9, lsl #1
	b	.L9
.L26:
	bl	MACvDisableBarkerPreambleMd
	b	.L9
.L25:
	bl	MACvDisableProtectMD
	b	.L24
.L55:
	bl	MACvSetBBType
	mov	r1, #24
	ldr	r3, [r4, #4]
	ldr	r0, [r4, #48]
	str	r1, [r3]
	add	r2, sp, #16
	mov	r1, #231
	bl	BBbReadEmbeded
	ldr	r3, [sp, #16]
	cmp	r3, #20
	bne	.L6
	ldr	r3, [r4, #4]
	mov	r1, #231
	ldr	r2, [r3]
	ldr	r0, [r4, #48]
	bl	BBbWriteEmbeded
	mov	r2, #87
	mov	r1, #225
	ldr	r0, [r4, #48]
	bl	BBbWriteEmbeded
	b	.L6
.L49:
	mov	r1, #0
	mov	r0, #28
	ldr	r3, [r4, #4]
	add	r2, sp, #16
	str	r0, [r3]
	str	r1, [r3, #8]
	str	r1, [r3, #12]
	ldr	r0, [r4, #48]
	mov	r1, #231
	bl	BBbReadEmbeded
	ldr	r3, [sp, #16]
	cmp	r3, #32
	beq	.L18
.L45:
	ldr	r0, [r4, #48]
	b	.L19
.L50:
	mov	r2, #20
	ldr	r3, [r4, #4]
	mov	r1, #231
	str	r2, [r3]
	add	r2, sp, #16
	bl	BBbReadEmbeded
	ldr	r3, [sp, #16]
	cmp	r3, #24
	bne	.L45
	ldr	r3, [r4, #4]
	mov	r1, #231
	ldr	r2, [r3]
	ldr	r0, [r4, #48]
	bl	BBbWriteEmbeded
	mov	r2, #211
	mov	r1, #225
	ldr	r0, [r4, #48]
	bl	BBbWriteEmbeded
	b	.L45
.L54:
	ldr	r3, .L56+20
	ldr	r1, [r3]
	bl	MACvSetBBType
	mov	r1, #16
	mov	r0, #32
	ldr	r3, [r4, #4]
	add	r2, sp, r1
	str	r0, [r3]
	str	r1, [r3, #8]
	str	r1, [r3, #12]
	ldr	r0, [r4, #48]
	mov	r1, #231
	bl	BBbReadEmbeded
	ldr	r3, [sp, #16]
	cmp	r3, #28
	bne	.L6
	ldr	r3, [r4, #4]
	mov	r1, #231
	ldr	r2, [r3]
	ldr	r0, [r4, #48]
	bl	BBbWriteEmbeded
	b	.L6
.L52:
	mov	r1, #0
	mov	r0, #28
	ldr	r3, [r4, #4]
	add	r2, sp, #16
	str	r0, [r3]
	str	r1, [r3, #8]
	str	r1, [r3, #12]
	ldr	r0, [r4, #48]
	mov	r1, #231
	bl	BBbReadEmbeded
	ldr	r3, [sp, #16]
	cmp	r3, #32
	beq	.L13
.L44:
	ldr	r0, [r4, #48]
	b	.L14
.L53:
	mov	r2, #20
	ldr	r3, [r4, #4]
	mov	r1, #231
	str	r2, [r3]
	add	r2, sp, #16
	bl	BBbReadEmbeded
	ldr	r3, [sp, #16]
	cmp	r3, #24
	bne	.L44
	ldr	r3, [r4, #4]
	mov	r1, #231
	ldr	r2, [r3]
	ldr	r0, [r4, #48]
	bl	BBbWriteEmbeded
	mov	r2, #211
	mov	r1, #225
	ldr	r0, [r4, #48]
	bl	BBbWriteEmbeded
	b	.L44
.L18:
	ldr	r3, [r4, #4]
	mov	r1, #231
	ldr	r2, [r3]
	ldr	r0, [r4, #48]
	bl	BBbWriteEmbeded
	ldr	r0, [r4, #48]
	b	.L19
.L13:
	ldr	r3, [r4, #4]
	mov	r1, #231
	ldr	r2, [r3]
	ldr	r0, [r4, #48]
	bl	BBbWriteEmbeded
	ldr	r0, [r4, #48]
	b	.L14
.L51:
	bl	__stack_chk_fail
.L57:
	.align	2
.L56:
	.word	PHY_TYPE_11A
	.word	.LC0
	.word	PHY_TYPE_11B
	.word	abyDefaultExtSuppRatesG
	.word	abyDefaultSuppRatesG
	.word	BB_TYPE_11G
	.word	RF_AIROHA7230
	.word	RF_UW2452
	.word	C_SIFS_BG
	.word	C_SLOT_SHORT
	.word	C_SLOT_LONG
	.word	RATE_11M
	.word	RF_RFMD2959
	.word	MAC_REG_SIFS
	.word	MAC_REG_DIFS
	.word	C_EIFS
	.word	MAC_REG_EIFS
	.word	TRUE
	.word	MAC_REG_CWMAXMIN0
	.word	abyDefaultSuppRatesB
	.word	BB_TYPE_11B
	.word	MAC_REG_SLOT
	.word	FALSE
	.word	abyDefaultSuppRatesA
	.word	BB_TYPE_11A
	.word	C_SIFS_A
	.size	CARDbSetPhyParameter, .-CARDbSetPhyParameter
	.comm	abyDefaultSuppRatesG,4,4
	.comm	abyDefaultSuppRatesB,4,4
	.comm	abyDefaultSuppRatesA,4,4
	.comm	abyDefaultExtSuppRatesG,4,4
	.comm	TRUE,4,4
	.comm	RF_UW2452,4,4
	.comm	RF_RFMD2959,4,4
	.comm	RF_AIROHA7230,4,4
	.comm	RATE_11M,4,4
	.comm	PHY_TYPE_11B,4,4
	.comm	PHY_TYPE_11A,4,4
	.comm	MAC_REG_SLOT,4,4
	.comm	MAC_REG_SIFS,4,4
	.comm	MAC_REG_EIFS,4,4
	.comm	MAC_REG_DIFS,4,4
	.comm	MAC_REG_CWMAXMIN0,4,4
	.comm	FALSE,4,4
	.comm	C_SLOT_SHORT,4,4
	.comm	C_SLOT_LONG,4,4
	.comm	C_SIFS_BG,4,4
	.comm	C_SIFS_A,4,4
	.comm	C_EIFS,4,4
	.comm	BB_TYPE_11G,4,4
	.comm	BB_TYPE_11B,4,4
	.comm	BB_TYPE_11A,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
