	.file	"extr_mac.c_ath10k_mac_bitrate_mask_has_single_rate.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ath10k_mac_bitrate_mask_has_single_rate, @function
ath10k_mac_bitrate_mask_has_single_rate:
.LFB0:
	.cfi_startproc
	endbr64
	mov	esi, esi
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	rax, QWORD PTR [rdx]
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	lea	rbx, [rsi+rsi*2]
	sal	rbx, 3
	mov	edi, DWORD PTR 16[rax+rbx]
	call	hweight32@PLT
	mov	ebp, eax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR [r14]
	mov	rax, QWORD PTR 8[rax+rbx]
	mov	edi, DWORD PTR [rax+r12*4]
	add	r12, 1
	call	hweight8@PLT
	add	ebp, eax
.L2:
	mov	rax, QWORD PTR [r14]
	mov	rdi, QWORD PTR 8[rax+rbx]
	call	ARRAY_SIZE@PLT
	cmp	eax, r12d
	jg	.L3
	mov	DWORD PTR 0[r13], 0
	xor	r12d, r12d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR [r14]
	mov	rax, QWORD PTR [rax+rbx]
	mov	edi, DWORD PTR [rax+r12*4]
	add	r12, 1
	call	hweight16@PLT
	add	DWORD PTR 0[r13], eax
	add	ebp, eax
.L4:
	mov	rax, QWORD PTR [r14]
	mov	rdi, QWORD PTR [rax+rbx]
	call	ARRAY_SIZE@PLT
	cmp	eax, r12d
	jg	.L5
	xor	eax, eax
	cmp	ebp, 1
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	sete	al
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ath10k_mac_bitrate_mask_has_single_rate, .-ath10k_mac_bitrate_mask_has_single_rate
	.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_mac.c_ath10k_mac_bitrate_mask_has_single_rate.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ath10k_mac_bitrate_mask_has_single_rate, %function
ath10k_mac_bitrate_mask_has_single_rate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r2
	ldr	r2, [r2]
	add	r4, r1, r1, lsl #1
	add	r2, r2, r4, lsl #2
	ldr	r0, [r2, #8]
	mov	r8, r3
	bl	hweight32
	mov	r6, #0
	mov	r7, r0
	lsl	r4, r4, #2
	b	.L2
.L3:
	ldr	r3, [r5]
	add	r3, r3, r4
	ldr	r3, [r3, #4]
	ldr	r0, [r3, r6, lsl #2]
	bl	hweight8
	add	r6, r6, #1
	add	r7, r7, r0
.L2:
	ldr	r2, [r5]
	add	r2, r2, r4
	ldr	r0, [r2, #4]
	bl	ARRAY_SIZE
	cmp	r0, r6
	bgt	.L3
	mov	r6, #0
	str	r6, [r8]
	b	.L4
.L5:
	ldr	r3, [r5]
	ldr	r3, [r3, r4]
	ldr	r0, [r3, r6, lsl #2]
	bl	hweight16
	ldr	r3, [r8]
	add	r7, r7, r0
	add	r0, r3, r0
	add	r6, r6, #1
	str	r0, [r8]
.L4:
	ldr	r3, [r5]
	ldr	r0, [r3, r4]
	bl	ARRAY_SIZE
	cmp	r0, r6
	bgt	.L5
	sub	r0, r7, #1
	clz	r0, r0
	lsr	r0, r0, #5
	pop	{r4, r5, r6, r7, r8, pc}
	.size	ath10k_mac_bitrate_mask_has_single_rate, .-ath10k_mac_bitrate_mask_has_single_rate
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
