	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_iserp_rateset        ## -- Begin function ieee80211_iserp_rateset
	.p2align	4, 0x90
_ieee80211_iserp_rateset:               ## @ieee80211_iserp_rateset
	.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	%rdi, %r15
	movl	(%rdi), %ebx
	leaq	_ieee80211_iserp_rateset.rates(%rip), %rdi
	callq	_nitems
	xorl	%r14d, %r14d
	cmpl	%eax, %ebx
	jl	LBB0_11
## %bb.1:
	leaq	_ieee80211_iserp_rateset.rates(%rip), %rbx
	movq	%rbx, %rdi
	callq	_nitems
	movl	$1, %r14d
	testl	%eax, %eax
	jle	LBB0_11
## %bb.2:
	xorl	%r12d, %r12d
	movq	_IEEE80211_RATE_VAL@GOTPCREL(%rip), %rcx
	movl	$8, %r13d
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r15), %r8
	movl	(%rcx), %edx
	movq	%rbx, %r9
	movl	(%rbx,%r12,4), %esi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r8,%rdi,4), %ecx
	andl	%edx, %ecx
	xorl	%ebx, %ebx
	cmpl	%esi, %ecx
	setg	%bl
	cmovel	%r13d, %ebx
	testl	%ebx, %ebx
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	incq	%rdi
	cmpq	%rdi, %rax
	jne	LBB0_5
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$8, %ebx
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movq	%r9, %rbx
	movq	%r9, %rdi
	callq	_nitems
	movq	_IEEE80211_RATE_VAL@GOTPCREL(%rip), %rcx
	cltq
	cmpq	%rax, %r12
	jl	LBB0_3
	jmp	LBB0_11
LBB0_10:
	xorl	%r14d, %r14d
LBB0_11:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @ieee80211_iserp_rateset.rates
_ieee80211_iserp_rateset.rates:
	.long	2                               ## 0x2
	.long	4                               ## 0x4
	.long	11                              ## 0xb
	.long	22                              ## 0x16
	.long	12                              ## 0xc
	.long	24                              ## 0x18
	.long	48                              ## 0x30

	.comm	_IEEE80211_RATE_VAL,4,2         ## @IEEE80211_RATE_VAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_iserp_rateset        ; -- Begin function ieee80211_iserp_rateset
	.p2align	2
_ieee80211_iserp_rateset:               ; @ieee80211_iserp_rateset
	.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, x0
	ldr	w20, [x0]
Lloh0:
	adrp	x0, _ieee80211_iserp_rateset.rates@PAGE
Lloh1:
	add	x0, x0, _ieee80211_iserp_rateset.rates@PAGEOFF
	bl	_nitems
	cmp	w20, w0
	b.ge	LBB0_3
LBB0_1:
	mov	w0, #0
LBB0_2:
	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
LBB0_3:
Lloh2:
	adrp	x20, _ieee80211_iserp_rateset.rates@PAGE
Lloh3:
	add	x20, x20, _ieee80211_iserp_rateset.rates@PAGEOFF
	mov	x0, x20
	bl	_nitems
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.4:
	mov	x21, #0
Lloh4:
	adrp	x22, _IEEE80211_RATE_VAL@GOTPAGE
Lloh5:
	ldr	x22, [x22, _IEEE80211_RATE_VAL@GOTPAGEOFF]
	mov	w23, #8
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x19, #8]
	ldr	w10, [x22]
	ldr	w11, [x20, x21, lsl #2]
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w12, [x9]
	and	w12, w10, w12
	cmp	w12, w11
	cset	w13, gt
	cmp	w11, w12
	csel	w12, w23, w13, eq
	cbnz	w12, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x9, x9, #4
	subs	x8, x8, #1
	b.ne	LBB0_7
	b	LBB0_1
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w12, #8
	b.ne	LBB0_1
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	mov	x0, x20
	bl	_nitems
	mov	x8, x0
	mov	w0, #1
	cmp	x21, w8, sxtw
	b.lt	LBB0_5
	b	LBB0_2
LBB0_11:
	mov	w0, #1
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @ieee80211_iserp_rateset.rates
_ieee80211_iserp_rateset.rates:
	.long	2                               ; 0x2
	.long	4                               ; 0x4
	.long	11                              ; 0xb
	.long	22                              ; 0x16
	.long	12                              ; 0xc
	.long	24                              ; 0x18
	.long	48                              ; 0x30

	.comm	_IEEE80211_RATE_VAL,4,2         ; @IEEE80211_RATE_VAL
.subsections_via_symbols
