	.file	"extr_driver_nl80211_event.c_calculate_chan_offset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	calculate_chan_offset, @function
calculate_chan_offset:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	convert2width@PLT
	add	eax, -128
	cmp	eax, 6
	ja	.L2
	lea	rdx, .L4[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L8-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L8-.L4
	.long	.L8-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L8:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	sub	ebp, 70
	sub	ebx, ebp
.L2:
	mov	eax, ebx
	mov	esi, 3435973837
	sar	eax, 31
	xor	ebx, eax
	sub	ebx, eax
	imul	rbx, rsi
	shr	rbx, 36
	and	ebx, 1
	cmp	ebx, 1
	sbb	eax, eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	and	eax, 2
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	sub	eax, 1
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	sub	ebp, 10
	sub	ebx, ebp
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L7:
	sub	ebp, 30
	sub	ebx, ebp
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	calculate_chan_offset, .-calculate_chan_offset
	.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_driver_nl80211_event.c_calculate_chan_offset.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	calculate_chan_offset, %function
calculate_chan_offset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, r2
	bl	convert2width
	sub	r0, r0, #128
	cmp	r0, #6
	ldrls	pc, [pc, r0, asl #2]
	b	.L2
.L4:
	.word	.L8
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L8
	.word	.L8
	.word	.L3
.L8:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L3:
	sub	r2, r5, #70
	sub	r4, r4, r2
.L2:
	cmp	r4, #0
	ldr	r1, .L12
	rsblt	r4, r4, #0
	umull	r3, r4, r1, r4
	tst	r4, #16
	moveq	r0, #1
	mvnne	r0, #0
	pop	{r4, r5, r6, pc}
.L7:
	sub	r2, r5, #30
	sub	r4, r4, r2
	b	.L2
.L6:
	sub	r2, r5, #10
	sub	r4, r4, r2
	b	.L2
.L13:
	.align	2
.L12:
	.word	-858993459
	.size	calculate_chan_offset, .-calculate_chan_offset
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
