	.file	"extr_phy_n.c_wlc_phy_chan2freq_nphy.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wlc_phy_chan2freq_nphy, @function
wlc_phy_chan2freq_nphy:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, r8
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r9
	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, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	mov	esi, 7
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR 8[rdi]
	call	NREV_GE@PLT
	mov	edi, DWORD PTR 8[r15]
	test	rax, rax
	je	.L2
	mov	esi, 7
	call	NREV_IS@PLT
	test	rax, rax
	je	.L3
	mov	r14, QWORD PTR chan_info_nphyrev7_2057_rev4[rip]
	mov	rdi, r14
	call	ARRAY_SIZE@PLT
	xor	r8d, r8d
.L4:
	test	rax, rax
	je	.L14
	mov	esi, DWORD PTR [r15]
	mov	rcx, r14
	xor	edx, edx
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L16:
	cmp	QWORD PTR [rcx], rbx
	je	.L19
.L18:
	add	rdx, 1
	add	rcx, 16
	cmp	rax, rdx
	je	.L14
.L20:
	cmp	esi, 5
	jne	.L16
	mov	rdi, rdx
	sal	rdi, 4
	lea	r9, [r8+rdi]
	cmp	QWORD PTR [r8+rdi], rbx
	jne	.L18
	mov	QWORD PTR 0[r13], r9
	mov	eax, DWORD PTR 8[r9]
	jmp	.L39
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, DWORD PTR 8[r15]
	mov	esi, 8
	call	NREV_IS@PLT
	test	rax, rax
	je	.L5
.L10:
	mov	eax, DWORD PTR [r15]
	cmp	eax, 7
	je	.L6
	cmp	eax, 8
	je	.L54
	cmp	eax, 5
	je	.L56
.L14:
	mov	eax, DWORD PTR WL_CHAN_FREQ_RANGE_2G[rip]
	mov	DWORD PTR 0[rbp], eax
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
	mov	esi, 3
	call	NREV_GE@PLT
	test	rax, rax
	jne	.L21
	mov	rdi, QWORD PTR chan_info_nphy_2055[rip]
	xor	r12d, r12d
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L37:
	mov	rax, r12
	sal	rax, 4
	cmp	QWORD PTR [rdi+rax], rbx
	je	.L36
	add	r12, 1
.L22:
	call	ARRAY_SIZE@PLT
	mov	rdi, QWORD PTR chan_info_nphy_2055[rip]
	cmp	rax, r12
	ja	.L37
.L36:
	call	ARRAY_SIZE@PLT
	cmp	rax, r12
	jbe	.L14
	mov	rax, QWORD PTR 80[rsp]
	sal	r12, 4
	add	r12, QWORD PTR chan_info_nphy_2055[rip]
	mov	QWORD PTR [rax], r12
	mov	eax, DWORD PTR 8[r12]
.L39:
	mov	DWORD PTR 0[rbp], eax
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, 1
	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
.L19:
	.cfi_restore_state
	mov	QWORD PTR [r12], rcx
	mov	eax, DWORD PTR 8[rcx]
	jmp	.L39
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edi, DWORD PTR 8[r15]
	mov	esi, 9
	call	NREV_IS@PLT
	test	rax, rax
	jne	.L10
	mov	edi, DWORD PTR 8[r15]
	mov	esi, 16
	call	NREV_IS@PLT
	test	rax, rax
	je	.L14
	.p2align 4,,10
	.p2align 3
.L54:
	mov	r14, QWORD PTR chan_info_nphyrev8_2057_rev8[rip]
	mov	rdi, r14
	call	ARRAY_SIZE@PLT
	xor	r8d, r8d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L56:
	mov	eax, DWORD PTR 4[r15]
	mov	r8, QWORD PTR chan_info_nphyrev8_2057_rev5[rip]
	test	eax, eax
	je	.L53
	cmp	eax, 1
	jne	.L14
	mov	r8, QWORD PTR chan_info_nphyrev9_2057_rev5v1[rip]
.L53:
	mov	rdi, r8
	mov	QWORD PTR 8[rsp], r8
	xor	r14d, r14d
	call	ARRAY_SIZE@PLT
	mov	r8, QWORD PTR 8[rsp]
	jmp	.L4
.L6:
	mov	r14, QWORD PTR chan_info_nphyrev8_2057_rev7[rip]
	mov	rdi, r14
	call	ARRAY_SIZE@PLT
	xor	r8d, r8d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L21:
	mov	edi, DWORD PTR 8[r15]
	mov	esi, 3
	call	NREV_IS@PLT
	test	rax, rax
	je	.L23
	mov	r12, QWORD PTR chan_info_nphyrev3_2056[rip]
	mov	rdi, r12
	call	ARRAY_SIZE@PLT
.L24:
	test	rax, rax
	je	.L14
	mov	rdx, r12
	xor	ecx, ecx
	jmp	.L35
	.p2align 4,,10
	.p2align 3
.L57:
	add	rcx, 1
	add	rdx, 16
	cmp	rax, rcx
	je	.L14
.L35:
	cmp	QWORD PTR [rdx], rbx
	jne	.L57
	mov	QWORD PTR [r14], rdx
	mov	eax, DWORD PTR 8[rdx]
	jmp	.L39
	.p2align 4,,10
	.p2align 3
.L23:
	mov	edi, DWORD PTR 8[r15]
	mov	esi, 4
	call	NREV_IS@PLT
	test	rax, rax
	jne	.L58
	mov	edi, DWORD PTR 8[r15]
	mov	esi, 5
	call	NREV_IS@PLT
	test	rax, rax
	je	.L26
.L33:
	mov	eax, DWORD PTR [r15]
	sub	eax, 5
	cmp	eax, 6
	ja	.L14
	lea	rdx, .L28[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L28:
	.long	.L32-.L28
	.long	.L31-.L28
	.long	.L29-.L28
	.long	.L30-.L28
	.long	.L29-.L28
	.long	.L14-.L28
	.long	.L27-.L28
	.text
.L58:
	mov	r12, QWORD PTR chan_info_nphyrev4_2056_A1[rip]
	mov	rdi, r12
	call	ARRAY_SIZE@PLT
	jmp	.L24
.L29:
	mov	r12, QWORD PTR chan_info_nphyrev5n6_2056v7[rip]
	mov	rdi, r12
	call	ARRAY_SIZE@PLT
	jmp	.L24
.L31:
	mov	r12, QWORD PTR chan_info_nphyrev6_2056v6[rip]
	mov	rdi, r12
	call	ARRAY_SIZE@PLT
	jmp	.L24
.L27:
	mov	r12, QWORD PTR chan_info_nphyrev6_2056v11[rip]
	mov	rdi, r12
	call	ARRAY_SIZE@PLT
	jmp	.L24
.L30:
	mov	r12, QWORD PTR chan_info_nphyrev6_2056v8[rip]
	mov	rdi, r12
	call	ARRAY_SIZE@PLT
	jmp	.L24
.L32:
	mov	r12, QWORD PTR chan_info_nphyrev5_2056v5[rip]
	mov	rdi, r12
	call	ARRAY_SIZE@PLT
	jmp	.L24
.L26:
	mov	edi, DWORD PTR 8[r15]
	mov	esi, 6
	call	NREV_IS@PLT
	test	rax, rax
	jne	.L33
	jmp	.L14
	.cfi_endproc
.LFE0:
	.size	wlc_phy_chan2freq_nphy, .-wlc_phy_chan2freq_nphy
	.comm	chan_info_nphyrev9_2057_rev5v1,8,8
	.comm	chan_info_nphyrev8_2057_rev8,8,8
	.comm	chan_info_nphyrev8_2057_rev7,8,8
	.comm	chan_info_nphyrev8_2057_rev5,8,8
	.comm	chan_info_nphyrev7_2057_rev4,8,8
	.comm	chan_info_nphyrev6_2056v8,8,8
	.comm	chan_info_nphyrev6_2056v6,8,8
	.comm	chan_info_nphyrev6_2056v11,8,8
	.comm	chan_info_nphyrev5n6_2056v7,8,8
	.comm	chan_info_nphyrev5_2056v5,8,8
	.comm	chan_info_nphyrev4_2056_A1,8,8
	.comm	chan_info_nphyrev3_2056,8,8
	.comm	chan_info_nphy_2055,8,8
	.comm	WL_CHAN_FREQ_RANGE_2G,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_phy_n.c_wlc_phy_chan2freq_nphy.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wlc_phy_chan2freq_nphy, %function
wlc_phy_chan2freq_nphy:
	@ args = 12, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r7, r0
	mov	r5, r1
	ldr	r0, [r0, #8]
	mov	r1, #7
	mov	r6, r2
	mov	r8, r3
	bl	NREV_GE
	cmp	r0, #0
	beq	.L2
	mov	r1, #7
	ldr	r0, [r7, #8]
	bl	NREV_IS
	cmp	r0, #0
	beq	.L3
	ldr	r3, .L59
.L53:
	ldr	r4, [r3]
	mov	r9, #0
	mov	r0, r4
	bl	ARRAY_SIZE
	mov	r1, r0
.L4:
	cmp	r1, #0
	beq	.L14
	mov	ip, #0
	ldr	r3, [r7]
	b	.L20
.L16:
	ldr	r2, [r4, ip, lsl #3]
	add	r0, r4, ip, lsl #3
	cmp	r2, r5
	beq	.L19
.L18:
	add	ip, ip, #1
	cmp	r1, ip
	beq	.L14
.L20:
	cmp	r3, #5
	bne	.L16
	ldr	r2, [r9, ip, lsl #3]
	add	r0, r9, ip, lsl #3
	cmp	r2, r5
	bne	.L18
	ldr	r3, [sp, #36]
	str	r0, [r3]
	ldr	r3, [r0, #4]
	b	.L39
.L3:
	mov	r1, #8
	ldr	r0, [r7, #8]
	bl	NREV_IS
	cmp	r0, #0
	beq	.L5
.L10:
	ldr	r3, [r7]
	cmp	r3, #7
	beq	.L6
	cmp	r3, #8
	beq	.L7
	cmp	r3, #5
	beq	.L55
.L14:
	ldr	r3, .L59+4
	mov	r0, #0
	ldr	r3, [r3]
	str	r3, [r6]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	mov	r1, #3
	ldr	r0, [r7, #8]
	bl	NREV_GE
	subs	r4, r0, #0
	bne	.L21
	ldr	r7, .L59+8
	ldr	r0, [r7]
	b	.L22
.L37:
	ldr	r3, [r0, r4, lsl #3]
	cmp	r3, r5
	beq	.L36
	add	r4, r4, #1
.L22:
	bl	ARRAY_SIZE
	cmp	r0, r4
	ldr	r0, [r7]
	bhi	.L37
.L36:
	bl	ARRAY_SIZE
	cmp	r0, r4
	bls	.L14
	ldr	r3, [r7]
	ldr	r2, [sp, #40]
	add	r4, r3, r4, lsl #3
	ldr	r3, [r4, #4]
	str	r4, [r2]
.L39:
	mov	r0, #1
	str	r3, [r6]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L19:
	ldr	r3, [r0, #4]
	str	r0, [r8]
	b	.L39
.L5:
	mov	r1, #9
	ldr	r0, [r7, #8]
	bl	NREV_IS
	subs	r9, r0, #0
	bne	.L10
	mov	r1, #16
	ldr	r0, [r7, #8]
	bl	NREV_IS
	cmp	r0, #0
	beq	.L14
	ldr	r3, .L59+12
	ldr	r4, [r3]
	mov	r0, r4
	bl	ARRAY_SIZE
	mov	r1, r0
	b	.L4
.L55:
	ldr	r4, [r7, #4]
	cmp	r4, #0
	beq	.L56
	cmp	r4, #1
	bne	.L14
	ldr	r3, .L59+16
	mov	r4, #0
	ldr	r9, [r3]
	mov	r0, r9
	bl	ARRAY_SIZE
	mov	r1, r0
	b	.L4
.L7:
	ldr	r3, .L59+12
	b	.L53
.L6:
	ldr	r3, .L59+20
	b	.L53
.L21:
	mov	r1, #3
	ldr	r0, [r7, #8]
	bl	NREV_IS
	cmp	r0, #0
	beq	.L23
	ldr	r3, .L59+24
	ldr	r4, [r3]
	mov	r0, r4
	bl	ARRAY_SIZE
.L24:
	cmp	r0, #0
	beq	.L14
	mov	r2, r4
	mov	r3, #0
	b	.L35
.L57:
	cmp	r0, r3
	add	r2, r2, #8
	beq	.L14
.L35:
	ldr	r1, [r4, r3, lsl #3]
	add	r3, r3, #1
	cmp	r1, r5
	bne	.L57
	ldr	r3, [sp, #32]
	str	r2, [r3]
	ldr	r3, [r2, #4]
	b	.L39
.L23:
	mov	r1, #4
	ldr	r0, [r7, #8]
	bl	NREV_IS
	cmp	r0, #0
	bne	.L58
	mov	r1, #5
	ldr	r0, [r7, #8]
	bl	NREV_IS
	cmp	r0, #0
	beq	.L26
.L33:
	ldr	r3, [r7]
	sub	r3, r3, #5
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L14
.L28:
	.word	.L32
	.word	.L31
	.word	.L29
	.word	.L30
	.word	.L29
	.word	.L14
	.word	.L27
.L58:
	ldr	r3, .L59+28
	ldr	r4, [r3]
	mov	r0, r4
	bl	ARRAY_SIZE
	b	.L24
.L56:
	ldr	r3, .L59+32
	ldr	r9, [r3]
	mov	r0, r9
	bl	ARRAY_SIZE
	mov	r1, r0
	b	.L4
.L29:
	ldr	r3, .L59+36
	ldr	r4, [r3]
	mov	r0, r4
	bl	ARRAY_SIZE
	b	.L24
.L31:
	ldr	r3, .L59+40
	ldr	r4, [r3]
	mov	r0, r4
	bl	ARRAY_SIZE
	b	.L24
.L27:
	ldr	r3, .L59+44
	ldr	r4, [r3]
	mov	r0, r4
	bl	ARRAY_SIZE
	b	.L24
.L30:
	ldr	r3, .L59+48
	ldr	r4, [r3]
	mov	r0, r4
	bl	ARRAY_SIZE
	b	.L24
.L32:
	ldr	r3, .L59+52
	ldr	r4, [r3]
	mov	r0, r4
	bl	ARRAY_SIZE
	b	.L24
.L26:
	mov	r1, #6
	ldr	r0, [r7, #8]
	bl	NREV_IS
	cmp	r0, #0
	bne	.L33
	b	.L14
.L60:
	.align	2
.L59:
	.word	chan_info_nphyrev7_2057_rev4
	.word	WL_CHAN_FREQ_RANGE_2G
	.word	chan_info_nphy_2055
	.word	chan_info_nphyrev8_2057_rev8
	.word	chan_info_nphyrev9_2057_rev5v1
	.word	chan_info_nphyrev8_2057_rev7
	.word	chan_info_nphyrev3_2056
	.word	chan_info_nphyrev4_2056_A1
	.word	chan_info_nphyrev8_2057_rev5
	.word	chan_info_nphyrev5n6_2056v7
	.word	chan_info_nphyrev6_2056v6
	.word	chan_info_nphyrev6_2056v11
	.word	chan_info_nphyrev6_2056v8
	.word	chan_info_nphyrev5_2056v5
	.size	wlc_phy_chan2freq_nphy, .-wlc_phy_chan2freq_nphy
	.comm	chan_info_nphyrev9_2057_rev5v1,4,4
	.comm	chan_info_nphyrev8_2057_rev8,4,4
	.comm	chan_info_nphyrev8_2057_rev7,4,4
	.comm	chan_info_nphyrev8_2057_rev5,4,4
	.comm	chan_info_nphyrev7_2057_rev4,4,4
	.comm	chan_info_nphyrev6_2056v8,4,4
	.comm	chan_info_nphyrev6_2056v6,4,4
	.comm	chan_info_nphyrev6_2056v11,4,4
	.comm	chan_info_nphyrev5n6_2056v7,4,4
	.comm	chan_info_nphyrev5_2056v5,4,4
	.comm	chan_info_nphyrev4_2056_A1,4,4
	.comm	chan_info_nphyrev3_2056,4,4
	.comm	chan_info_nphy_2055,4,4
	.comm	WL_CHAN_FREQ_RANGE_2G,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
