	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcms_c_rate_legacy_phyctl     ## -- Begin function brcms_c_rate_legacy_phyctl
	.p2align	4, 0x90
_brcms_c_rate_legacy_phyctl:            ## @brcms_c_rate_legacy_phyctl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_LEGACY_PHYCFG_TABLE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.1:
	movq	_legacy_phycfg_table@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	addq	$8, %rdx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, -8(%rdx)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %rdx
	decq	%rcx
	jne	LBB0_2
LBB0_5:
	popq	%rbp
	retq
LBB0_3:
	movl	(%rdx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LEGACY_PHYCFG_TABLE_SIZE,8,3   ## @LEGACY_PHYCFG_TABLE_SIZE
	.comm	_legacy_phycfg_table,8,3        ## @legacy_phycfg_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcms_c_rate_legacy_phyctl     ; -- Begin function brcms_c_rate_legacy_phyctl
	.p2align	2
_brcms_c_rate_legacy_phyctl:            ; @brcms_c_rate_legacy_phyctl
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _LEGACY_PHYCFG_TABLE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LEGACY_PHYCFG_TABLE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
Lloh3:
	adrp	x9, _legacy_phycfg_table@GOTPAGE
Lloh4:
	ldr	x9, [x9, _legacy_phycfg_table@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x9, x9, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x10, [x9, #-8]
	cmp	x10, x0
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #16
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_4:
	mov	w0, #-1
	ret
LBB0_5:
	ldr	w0, [x9]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LEGACY_PHYCFG_TABLE_SIZE,8,3   ; @LEGACY_PHYCFG_TABLE_SIZE
	.comm	_legacy_phycfg_table,8,3        ; @legacy_phycfg_table
.subsections_via_symbols
