	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bucket
_bucket:                                ## @bucket
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_IEEE80211_RSSADAPT_BKTS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_1
## %bb.2:
	movq	_IEEE80211_RSSADAPT_BKT0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IEEE80211_RSSADAPT_BKTPOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leal	-1(%rdx), %r8d
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%edi, %esi
	jge	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	%eax
	shll	%cl, %esi
	cmpl	%eax, %edx
	jne	LBB0_3
## %bb.5:
	movl	%r8d, %eax
LBB0_6:
	popq	%rbp
	retq
LBB0_1:
                                        ## implicit-def: $eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_RSSADAPT_BKT0,4,2    ## @IEEE80211_RSSADAPT_BKT0
	.comm	_IEEE80211_RSSADAPT_BKTS,4,2    ## @IEEE80211_RSSADAPT_BKTS
	.comm	_IEEE80211_RSSADAPT_BKTPOWER,4,2 ## @IEEE80211_RSSADAPT_BKTPOWER
	.no_dead_strip	_bucket
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bucket
_bucket:                                ; @bucket
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _IEEE80211_RSSADAPT_BKTS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_RSSADAPT_BKTS@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x9]
	subs	w9, w10, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x8, x0
	mov	w0, #0
Lloh3:
	adrp	x11, _IEEE80211_RSSADAPT_BKT0@GOTPAGE
Lloh4:
	ldr	x11, [x11, _IEEE80211_RSSADAPT_BKT0@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
Lloh6:
	adrp	x12, _IEEE80211_RSSADAPT_BKTPOWER@GOTPAGE
Lloh7:
	ldr	x12, [x12, _IEEE80211_RSSADAPT_BKTPOWER@GOTPAGEOFF]
Lloh8:
	ldr	w12, [x12]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w11, w8
	b.ge	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w0, w0, #1
	lsl	w11, w11, w12
	cmp	w10, w0
	b.ne	LBB0_2
; %bb.4:
	mov	x0, x9
LBB0_5:
	ret
LBB0_6:
                                        ; implicit-def: $w0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_RSSADAPT_BKT0,4,2    ; @IEEE80211_RSSADAPT_BKT0
	.comm	_IEEE80211_RSSADAPT_BKTS,4,2    ; @IEEE80211_RSSADAPT_BKTS
	.comm	_IEEE80211_RSSADAPT_BKTPOWER,4,2 ; @IEEE80211_RSSADAPT_BKTPOWER
	.no_dead_strip	_bucket
.subsections_via_symbols
