	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcms_c_rateset_get_hwrs
_brcms_c_rateset_get_hwrs:              ## @brcms_c_rateset_get_hwrs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_BRCMS_PHY_11N_CAP
	movq	(%rbx), %rcx
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rcx), %rax
	movq	_BRCM_BAND_5G@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movq	_ofdm_mimo_rates@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	cmpq	$0, 8(%rcx)
	jne	LBB0_5
## %bb.6:
	movq	_cck_rates@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	movq	_cck_ofdm_mimo_rates@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_cck_ofdm_rates@GOTPCREL(%rip), %rax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BRCM_BAND_5G,8,3               ## @BRCM_BAND_5G
	.comm	_ofdm_mimo_rates,4,2            ## @ofdm_mimo_rates
	.comm	_cck_ofdm_mimo_rates,4,2        ## @cck_ofdm_mimo_rates
	.comm	_cck_ofdm_rates,4,2             ## @cck_ofdm_rates
	.comm	_cck_rates,4,2                  ## @cck_rates
	.no_dead_strip	_brcms_c_rateset_get_hwrs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcms_c_rateset_get_hwrs
_brcms_c_rateset_get_hwrs:              ; @brcms_c_rateset_get_hwrs
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0]
	bl	_BRCMS_PHY_11N_CAP
	ldr	x8, [x19]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _BRCM_BAND_5G@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BRCM_BAND_5G@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _cck_ofdm_mimo_rates@GOTPAGE
Lloh4:
	ldr	x10, [x10, _cck_ofdm_mimo_rates@GOTPAGEOFF]
Lloh5:
	adrp	x11, _ofdm_mimo_rates@GOTPAGE
Lloh6:
	ldr	x11, [x11, _ofdm_mimo_rates@GOTPAGEOFF]
	cmp	x8, x9
	csel	x0, x11, x10, eq
	b	LBB0_3
LBB0_2:
	ldr	x8, [x8, #8]
Lloh7:
	adrp	x9, _cck_ofdm_rates@GOTPAGE
Lloh8:
	ldr	x9, [x9, _cck_ofdm_rates@GOTPAGEOFF]
Lloh9:
	adrp	x10, _cck_rates@GOTPAGE
Lloh10:
	ldr	x10, [x10, _cck_rates@GOTPAGEOFF]
	cmp	x8, #0
	csel	x0, x10, x9, eq
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BRCM_BAND_5G,8,3               ; @BRCM_BAND_5G
	.comm	_ofdm_mimo_rates,4,2            ; @ofdm_mimo_rates
	.comm	_cck_ofdm_mimo_rates,4,2        ; @cck_ofdm_mimo_rates
	.comm	_cck_ofdm_rates,4,2             ; @cck_ofdm_rates
	.comm	_cck_rates,4,2                  ; @cck_rates
	.no_dead_strip	_brcms_c_rateset_get_hwrs
.subsections_via_symbols
