	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_mac_bitrate_mask_has_single_rate
_ath10k_mac_bitrate_mask_has_single_rate: ## @ath10k_mac_bitrate_mask_has_single_rate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	(%rdx), %rax
	movl	%esi, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	leaq	(,%rcx,8), %rcx
	leaq	(%rcx,%rcx,2), %r12
	movl	16(%rax,%r12), %edi
	callq	_hweight32
	movq	%rax, %rbx
	movq	(%r15), %rax
	movq	8(%rax,%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	8(%rax,%r12), %rax
	movl	(%rax,%r13,4), %edi
	callq	_hweight8
	movslq	%ebx, %rbx
	addq	%rax, %rbx
	incq	%r13
	movq	(%r15), %rax
	movq	8(%rax,%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %r13
	jl	LBB0_2
LBB0_3:
	movl	$0, (%r14)
	movq	(%r15), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rcx,2), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_6
## %bb.4:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax,%r12), %rax
	movl	(%rax,%r13,4), %edi
	callq	_hweight16
	addl	%eax, (%r14)
	addl	%eax, %ebx
	incq	%r13
	movq	(%r15), %rax
	movq	(%rax,%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %r13
	jl	LBB0_5
LBB0_6:
	xorl	%eax, %eax
	cmpl	$1, %ebx
	sete	%al
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ath10k_mac_bitrate_mask_has_single_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_mac_bitrate_mask_has_single_rate
_ath10k_mac_bitrate_mask_has_single_rate: ; @ath10k_mac_bitrate_mask_has_single_rate
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	ldr	x8, [x2]
	mov	w22, w1
	add	x9, x22, w1, uxtw #1
	lsl	x23, x9, #3
	add	x8, x8, x23
	ldr	w0, [x8, #16]
	bl	_hweight32
	mov	x21, x0
	ldr	x8, [x20]
	add	x8, x8, x23
	ldr	x0, [x8, #8]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x9, x22, x22, lsl #1
	lsl	x24, x9, #3
	add	x8, x8, x24
	ldr	x8, [x8, #8]
	ldr	w0, [x8, x23, lsl #2]
	bl	_hweight8
	add	x21, x0, w21, sxtw
	add	x23, x23, #1
	ldr	x8, [x20]
	add	x8, x8, x24
	ldr	x0, [x8, #8]
	bl	_ARRAY_SIZE
	cmp	x23, w0, sxtw
	b.lt	LBB0_2
LBB0_3:
	str	wzr, [x19]
	ldr	x8, [x20]
	mov	w9, #24
	mul	x9, x22, x9
	ldr	x0, [x8, x9]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x23, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x9, x22, x22, lsl #1
	lsl	x24, x9, #3
	ldr	x8, [x8, x24]
	ldr	w0, [x8, x23, lsl #2]
	bl	_hweight16
	add	w21, w0, w21
	ldr	w8, [x19]
	add	w8, w8, w0
	str	w8, [x19]
	add	x23, x23, #1
	ldr	x8, [x20]
	ldr	x0, [x8, x24]
	bl	_ARRAY_SIZE
	cmp	x23, w0, sxtw
	b.lt	LBB0_5
LBB0_6:
	cmp	w21, #1
	cset	w0, eq
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ath10k_mac_bitrate_mask_has_single_rate
.subsections_via_symbols
