	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function checkrate
_checkrate:                             ## @checkrate
	.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_FIXED_RATE_NONE@GOTPCREL(%rip), %rcx
	movl	$1, %eax
	cmpl	%esi, (%rcx)
	je	LBB0_6
## %bb.1:
	movl	(%rdi), %r8d
	testl	%r8d, %r8d
	jle	LBB0_5
## %bb.2:
	movq	8(%rdi), %r9
	movq	_IEEE80211_RATE_VAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r9,%rcx,4), %edx
	andl	%edi, %edx
	cmpl	%esi, %edx
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rcx
	cmpq	%rcx, %r8
	jne	LBB0_3
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_FIXED_RATE_NONE,4,2  ## @IEEE80211_FIXED_RATE_NONE
	.comm	_IEEE80211_RATE_VAL,4,2         ## @IEEE80211_RATE_VAL
	.no_dead_strip	_checkrate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function checkrate
_checkrate:                             ; @checkrate
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _IEEE80211_FIXED_RATE_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_FIXED_RATE_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
LBB0_1:
	mov	w0, #1
	ret
LBB0_2:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.3:
	ldr	x9, [x0, #8]
Lloh3:
	adrp	x10, _IEEE80211_RATE_VAL@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IEEE80211_RATE_VAL@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9]
	and	w11, w10, w11
	cmp	w11, w1
	b.eq	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #4
	subs	x8, x8, #1
	b.ne	LBB0_4
LBB0_6:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_FIXED_RATE_NONE,4,2  ; @IEEE80211_FIXED_RATE_NONE
	.comm	_IEEE80211_RATE_VAL,4,2         ; @IEEE80211_RATE_VAL
	.no_dead_strip	_checkrate
.subsections_via_symbols
