	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_mandatory_rates      ## -- Begin function ieee80211_mandatory_rates
	.p2align	4, 0x90
_ieee80211_mandatory_rates:             ## @ieee80211_mandatory_rates
	.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
	movl	%esi, %ebx
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movl	%esi, %ecx
	movq	(%rax,%rcx,8), %r15
	xorl	%edi, %edi
	testq	%r15, %r15
	sete	%dil
	callq	_WARN_ON
	movl	$1, %r14d
	testq	%rax, %rax
	je	LBB0_1
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_IEEE80211_BAND_2GHZ@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_2
## %bb.3:
	movq	_IEEE80211_RATE_MANDATORY_B@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_2:
	movq	_IEEE80211_RATE_MANDATORY_A@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.6:
	movl	(%rcx), %r12d
	movq	8(%r15), %r13
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r12d, (%r13,%rbx,4)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	%ebx, %edi
	callq	_BIT
	orl	%eax, %r14d
	movl	(%r15), %eax
	jmp	LBB0_9
LBB0_5:
	xorl	%r14d, %r14d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_BAND_2GHZ,4,2        ## @IEEE80211_BAND_2GHZ
	.comm	_IEEE80211_RATE_MANDATORY_B,4,2 ## @IEEE80211_RATE_MANDATORY_B
	.comm	_IEEE80211_RATE_MANDATORY_A,4,2 ## @IEEE80211_RATE_MANDATORY_A
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_mandatory_rates      ; -- Begin function ieee80211_mandatory_rates
	.p2align	2
_ieee80211_mandatory_rates:             ; @ieee80211_mandatory_rates
	.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, x1
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x21, [x8, w1, uxtw #3]
	cmp	x21, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_3
; %bb.1:
	mov	w19, #1
LBB0_2:
	mov	x0, x19
	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:
Lloh0:
	adrp	x8, _IEEE80211_BAND_2GHZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_BAND_2GHZ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IEEE80211_RATE_MANDATORY_B@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_RATE_MANDATORY_B@GOTPAGEOFF]
Lloh5:
	adrp	x10, _IEEE80211_RATE_MANDATORY_A@GOTPAGE
Lloh6:
	ldr	x10, [x10, _IEEE80211_RATE_MANDATORY_A@GOTPAGEOFF]
	cmp	w8, w19
	csel	x9, x9, x10, eq
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.4:
	mov	x20, #0
	mov	w19, #0
	ldr	w22, [x9]
	ldr	x23, [x21, #8]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x20, x20, #1
	cmp	x20, w8, sxtw
	b.ge	LBB0_2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x23, x20, lsl #2]
	tst	w9, w22
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_BIT
	orr	w19, w0, w19
	ldr	w8, [x21]
	b	LBB0_5
LBB0_8:
	mov	w19, #0
	b	LBB0_2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_BAND_2GHZ,4,2        ; @IEEE80211_BAND_2GHZ
	.comm	_IEEE80211_RATE_MANDATORY_B,4,2 ; @IEEE80211_RATE_MANDATORY_B
	.comm	_IEEE80211_RATE_MANDATORY_A,4,2 ; @IEEE80211_RATE_MANDATORY_A
.subsections_via_symbols
