	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcms_b_ofdm_ratetable_offset
_brcms_b_ofdm_ratetable_offset:         ## @brcms_b_ofdm_ratetable_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BRCM_RATE_6M@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -176(%rbp)
	movq	$11, -168(%rbp)
	movq	_BRCM_RATE_9M@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -160(%rbp)
	movq	$15, -152(%rbp)
	movq	_BRCM_RATE_12M@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -144(%rbp)
	movq	$10, -136(%rbp)
	movq	_BRCM_RATE_18M@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -128(%rbp)
	movq	$14, -120(%rbp)
	movq	_BRCM_RATE_24M@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -112(%rbp)
	movq	$9, -104(%rbp)
	movq	_BRCM_RATE_36M@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -96(%rbp)
	movq	$13, -88(%rbp)
	movq	_BRCM_RATE_48M@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -80(%rbp)
	movq	$8, -72(%rbp)
	movq	_BRCM_RATE_54M@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movq	$12, -56(%rbp)
	leaq	-176(%rbp), %rdi
	callq	_ARRAY_SIZE
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, -184(%rbp)                ## 8-byte Spill
	leaq	-168(%rbp), %rbx
	xorl	%r15d, %r15d
	leaq	-176(%rbp), %r12
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r13, -8(%rbx)
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	addq	$16, %rbx
	cmpq	%rax, %r14
	jb	LBB0_3
	jmp	LBB0_6
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_7
LBB0_4:
	movq	(%rbx), %r15
	addq	%r15, %r15
LBB0_6:
	movq	-184(%rbp), %rbx                ## 8-byte Reload
LBB0_7:
	movq	_M_RT_DIRMAP_A@GOTPCREL(%rip), %rax
	addq	(%rax), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_brcms_b_read_shm
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	addl	%eax, %eax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BRCM_RATE_6M,4,2               ## @BRCM_RATE_6M
	.comm	_BRCM_RATE_9M,4,2               ## @BRCM_RATE_9M
	.comm	_BRCM_RATE_12M,4,2              ## @BRCM_RATE_12M
	.comm	_BRCM_RATE_18M,4,2              ## @BRCM_RATE_18M
	.comm	_BRCM_RATE_24M,4,2              ## @BRCM_RATE_24M
	.comm	_BRCM_RATE_36M,4,2              ## @BRCM_RATE_36M
	.comm	_BRCM_RATE_48M,4,2              ## @BRCM_RATE_48M
	.comm	_BRCM_RATE_54M,4,2              ## @BRCM_RATE_54M
	.comm	_M_RT_DIRMAP_A,8,3              ## @M_RT_DIRMAP_A
	.no_dead_strip	_brcms_b_ofdm_ratetable_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcms_b_ofdm_ratetable_offset
_brcms_b_ofdm_ratetable_offset:         ; @brcms_b_ofdm_ratetable_offset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _BRCM_RATE_6M@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BRCM_RATE_6M@GOTPAGEOFF]
Lloh5:
	ldrsw	x8, [x8]
	mov	w9, #11
	stp	x8, x9, [sp, #8]
Lloh6:
	adrp	x8, _BRCM_RATE_9M@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BRCM_RATE_9M@GOTPAGEOFF]
Lloh8:
	ldrsw	x8, [x8]
	mov	w9, #15
	stp	x8, x9, [sp, #24]
Lloh9:
	adrp	x8, _BRCM_RATE_12M@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BRCM_RATE_12M@GOTPAGEOFF]
Lloh11:
	ldrsw	x8, [x8]
	mov	w9, #10
	stp	x8, x9, [sp, #40]
Lloh12:
	adrp	x8, _BRCM_RATE_18M@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BRCM_RATE_18M@GOTPAGEOFF]
Lloh14:
	ldrsw	x8, [x8]
	mov	w9, #14
	stp	x8, x9, [sp, #56]
Lloh15:
	adrp	x8, _BRCM_RATE_24M@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BRCM_RATE_24M@GOTPAGEOFF]
Lloh17:
	ldrsw	x8, [x8]
	mov	w9, #9
	stp	x8, x9, [sp, #72]
Lloh18:
	adrp	x8, _BRCM_RATE_36M@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BRCM_RATE_36M@GOTPAGEOFF]
Lloh20:
	ldrsw	x8, [x8]
	mov	w9, #13
	stp	x8, x9, [sp, #88]
Lloh21:
	adrp	x8, _BRCM_RATE_48M@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BRCM_RATE_48M@GOTPAGEOFF]
Lloh23:
	ldrsw	x8, [x8]
	mov	w9, #8
	stp	x8, x9, [sp, #104]
Lloh24:
	adrp	x8, _BRCM_RATE_54M@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BRCM_RATE_54M@GOTPAGEOFF]
Lloh26:
	ldrsw	x8, [x8]
	mov	w9, #12
	stp	x8, x9, [sp, #120]
	add	x21, sp, #8
	add	x0, sp, #8
	bl	_ARRAY_SIZE
	cbz	x0, LBB0_4
; %bb.1:
	mov	x22, #0
	add	x21, x21, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x8, [x21, #-8]
	cmp	x8, x20
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	add	x0, sp, #8
	bl	_ARRAY_SIZE
	add	x21, x21, #16
	cmp	x22, x0
	b.lo	LBB0_2
LBB0_4:
	mov	x8, #0
	b	LBB0_6
LBB0_5:
	ldr	x8, [x21]
	lsl	x8, x8, #1
LBB0_6:
Lloh27:
	adrp	x9, _M_RT_DIRMAP_A@GOTPAGE
Lloh28:
	ldr	x9, [x9, _M_RT_DIRMAP_A@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	bl	_brcms_b_read_shm
	ldur	x8, [x29, #-40]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	lsl	w0, w0, #1
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_BRCM_RATE_6M,4,2               ; @BRCM_RATE_6M
	.comm	_BRCM_RATE_9M,4,2               ; @BRCM_RATE_9M
	.comm	_BRCM_RATE_12M,4,2              ; @BRCM_RATE_12M
	.comm	_BRCM_RATE_18M,4,2              ; @BRCM_RATE_18M
	.comm	_BRCM_RATE_24M,4,2              ; @BRCM_RATE_24M
	.comm	_BRCM_RATE_36M,4,2              ; @BRCM_RATE_36M
	.comm	_BRCM_RATE_48M,4,2              ; @BRCM_RATE_48M
	.comm	_BRCM_RATE_54M,4,2              ; @BRCM_RATE_54M
	.comm	_M_RT_DIRMAP_A,8,3              ; @M_RT_DIRMAP_A
	.no_dead_strip	_brcms_b_ofdm_ratetable_offset
.subsections_via_symbols
