	.file	"extr_rt2x00config.c_rt2x00ht_center_channel.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rt2x00ht_center_channel, @function
rt2x00ht_center_channel:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rsi]
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rdi]
	mov	rdi, rsi
	mov	ebx, DWORD PTR [rax+rdx*4]
	call	conf_is_ht40_plus@PLT
	test	rax, rax
	je	.L2
	add	ebx, 2
.L3:
	mov	rdx, QWORD PTR 0[rbp]
	test	rdx, rdx
	je	.L5
	mov	rcx, QWORD PTR 8[rbp]
	xor	eax, eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L18:
	add	rax, 1
	cmp	rax, rdx
	je	.L5
.L7:
	cmp	DWORD PTR [rcx+rax*4], ebx
	jne	.L18
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edi, 1
	call	WARN_ON@PLT
	mov	rax, QWORD PTR [r12]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	mov	rax, QWORD PTR [rax]
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, r12
	call	conf_is_ht40_minus@PLT
	test	rax, rax
	je	.L3
	xor	eax, eax
	cmp	ebx, 14
	setne	al
	add	eax, 1
	sub	ebx, eax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	rt2x00ht_center_channel, .-rt2x00ht_center_channel
	.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_rt2x00config.c_rt2x00ht_center_channel.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rt2x00ht_center_channel, %function
rt2x00ht_center_channel:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r1]
	ldr	r3, [r0, #4]
	ldr	r2, [r2]
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r0, r1
	ldr	r4, [r3, r2, lsl #2]
	mov	r6, r1
	bl	conf_is_ht40_plus
	cmp	r0, #0
	addne	r4, r4, #2
	beq	.L18
.L3:
	ldr	ip, [r5]
	cmp	ip, #0
	beq	.L5
	mov	r0, #0
	ldr	r3, [r5, #4]
	sub	r3, r3, #4
.L7:
	ldr	r2, [r3, #4]!
	cmp	r2, r4
	popeq	{r4, r5, r6, pc}
	add	r0, r0, #1
	cmp	r0, ip
	bne	.L7
.L5:
	mov	r0, #1
	bl	WARN_ON
	ldr	r3, [r6]
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L18:
	mov	r0, r6
	bl	conf_is_ht40_minus
	cmp	r0, #0
	beq	.L3
	cmp	r4, #14
	moveq	r3, #1
	movne	r3, #2
	sub	r4, r4, r3
	b	.L3
	.size	rt2x00ht_center_channel, .-rt2x00ht_center_channel
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
