	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcms_b_rate_shm_offset        ## -- Begin function brcms_b_rate_shm_offset
	.p2align	4, 0x90
_brcms_b_rate_shm_offset:               ## @brcms_b_rate_shm_offset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_is_ofdm_rate
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_M_RT_DIRMAP_B@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_M_RT_DIRMAP_A@GOTPCREL(%rip), %rax
LBB0_3:
	movq	_rate_info@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_BRCMS_RATE_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	andl	(%rcx,%rbx,8), %esi
	addl	%esi, %esi
	andl	$30, %esi
	addl	(%rax), %esi
	movq	%r14, %rdi
	callq	_brcms_b_read_shm
	addl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_RT_DIRMAP_A,4,2              ## @M_RT_DIRMAP_A
	.comm	_M_RT_DIRMAP_B,4,2              ## @M_RT_DIRMAP_B
	.comm	_rate_info,8,3                  ## @rate_info
	.comm	_BRCMS_RATE_MASK,8,3            ## @BRCMS_RATE_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcms_b_rate_shm_offset        ; -- Begin function brcms_b_rate_shm_offset
	.p2align	2
_brcms_b_rate_shm_offset:               ; @brcms_b_rate_shm_offset
	.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, x1
	mov	x20, x0
	mov	x0, x1
	bl	_is_ofdm_rate
Lloh0:
	adrp	x8, _M_RT_DIRMAP_B@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_RT_DIRMAP_B@GOTPAGEOFF]
Lloh2:
	adrp	x9, _M_RT_DIRMAP_A@GOTPAGE
Lloh3:
	ldr	x9, [x9, _M_RT_DIRMAP_A@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
Lloh4:
	adrp	x9, _rate_info@GOTPAGE
Lloh5:
	ldr	x9, [x9, _rate_info@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	ldr	x9, [x9, x19, lsl #3]
Lloh7:
	adrp	x10, _BRCMS_RATE_MASK@GOTPAGE
Lloh8:
	ldr	x10, [x10, _BRCMS_RATE_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
	and	w9, w10, w9
	ubfiz	w9, w9, #1, #4
	add	w1, w9, w8
	mov	x0, x20
	bl	_brcms_b_read_shm
	lsl	w0, w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_M_RT_DIRMAP_A,4,2              ; @M_RT_DIRMAP_A
	.comm	_M_RT_DIRMAP_B,4,2              ; @M_RT_DIRMAP_B
	.comm	_rate_info,8,3                  ; @rate_info
	.comm	_BRCMS_RATE_MASK,8,3            ; @BRCMS_RATE_MASK
.subsections_via_symbols
