	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_cygnus_afe_config
_bcm_cygnus_afe_config:                 ## @bcm_cygnus_afe_config
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_MII_BCM54XX_AUX_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$3120, %edx                     ## imm = 0xC30
	callq	_phy_write
	testl	%eax, %eax
	js	LBB0_18
## %bb.1:
	movq	%r14, %rdi
	movl	$57, %esi
	movl	$1, %edx
	movl	$42952, %ecx                    ## imm = 0xA7C8
	callq	_bcm_phy_write_misc
	testl	%eax, %eax
	js	LBB0_18
## %bb.2:
	movq	%r14, %rdi
	movl	$58, %esi
	xorl	%edx, %edx
	movl	$2051, %ecx                     ## imm = 0x803
	callq	_bcm_phy_write_misc
	testl	%eax, %eax
	js	LBB0_18
## %bb.3:
	movq	%r14, %rdi
	movl	$58, %esi
	movl	$1, %edx
	movl	$42816, %ecx                    ## imm = 0xA740
	callq	_bcm_phy_write_misc
	testl	%eax, %eax
	js	LBB0_18
## %bb.4:
	movq	%r14, %rdi
	movl	$58, %esi
	movl	$3, %edx
	movl	$33792, %ecx                    ## imm = 0x8400
	callq	_bcm_phy_write_misc
	testl	%eax, %eax
	js	LBB0_18
## %bb.5:
	movq	%r14, %rdi
	movl	$59, %esi
	xorl	%edx, %edx
	movl	$4, %ecx
	callq	_bcm_phy_write_misc
	testl	%eax, %eax
	js	LBB0_18
## %bb.6:
	movq	_MII_BRCM_CORE_BASE1E@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$2, %edx
	callq	_phy_write
	testl	%eax, %eax
	js	LBB0_18
## %bb.7:
	movq	_MII_BRCM_CORE_EXPB1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$16, %edx
	callq	_bcm_phy_write_exp_sel
	testl	%eax, %eax
	js	LBB0_18
## %bb.8:
	movq	_MII_BRCM_CORE_EXPB0@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	$16, %edx
	callq	_bcm_phy_write_exp_sel
	testl	%eax, %eax
	js	LBB0_18
## %bb.9:
	movl	(%r15), %esi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_bcm_phy_write_exp_sel
	jmp	LBB0_19
LBB0_18:
	movl	%eax, %ebx
LBB0_19:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MII_BCM54XX_AUX_CTL,4,2        ## @MII_BCM54XX_AUX_CTL
	.comm	_MII_BRCM_CORE_BASE1E,4,2       ## @MII_BRCM_CORE_BASE1E
	.comm	_MII_BRCM_CORE_EXPB1,4,2        ## @MII_BRCM_CORE_EXPB1
	.comm	_MII_BRCM_CORE_EXPB0,4,2        ## @MII_BRCM_CORE_EXPB0
	.no_dead_strip	_bcm_cygnus_afe_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_cygnus_afe_config
_bcm_cygnus_afe_config:                 ; @bcm_cygnus_afe_config
	.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
Lloh0:
	adrp	x8, _MII_BCM54XX_AUX_CTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MII_BCM54XX_AUX_CTL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #3120
	bl	_phy_write
	tbnz	w0, #31, LBB0_10
; %bb.1:
	mov	x0, x19
	mov	w1, #57
	mov	w2, #1
	mov	w3, #42952
	bl	_bcm_phy_write_misc
	tbnz	w0, #31, LBB0_10
; %bb.2:
	mov	x0, x19
	mov	w1, #58
	mov	w2, #0
	mov	w3, #2051
	bl	_bcm_phy_write_misc
	tbnz	w0, #31, LBB0_10
; %bb.3:
	mov	x0, x19
	mov	w1, #58
	mov	w2, #1
	mov	w3, #42816
	bl	_bcm_phy_write_misc
	tbnz	w0, #31, LBB0_10
; %bb.4:
	mov	x0, x19
	mov	w1, #58
	mov	w2, #3
	mov	w3, #33792
	bl	_bcm_phy_write_misc
	tbnz	w0, #31, LBB0_10
; %bb.5:
	mov	x0, x19
	mov	w1, #59
	mov	w2, #0
	mov	w3, #4
	bl	_bcm_phy_write_misc
	tbnz	w0, #31, LBB0_10
; %bb.6:
Lloh3:
	adrp	x8, _MII_BRCM_CORE_BASE1E@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MII_BRCM_CORE_BASE1E@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2
	bl	_phy_write
	tbnz	w0, #31, LBB0_10
; %bb.7:
Lloh6:
	adrp	x8, _MII_BRCM_CORE_EXPB1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MII_BRCM_CORE_EXPB1@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #16
	bl	_bcm_phy_write_exp_sel
	tbnz	w0, #31, LBB0_10
; %bb.8:
Lloh9:
	adrp	x20, _MII_BRCM_CORE_EXPB0@GOTPAGE
Lloh10:
	ldr	x20, [x20, _MII_BRCM_CORE_EXPB0@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #16
	bl	_bcm_phy_write_exp_sel
	tbnz	w0, #31, LBB0_10
; %bb.9:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	bl	_bcm_phy_write_exp_sel
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MII_BCM54XX_AUX_CTL,4,2        ; @MII_BCM54XX_AUX_CTL
	.comm	_MII_BRCM_CORE_BASE1E,4,2       ; @MII_BRCM_CORE_BASE1E
	.comm	_MII_BRCM_CORE_EXPB1,4,2        ; @MII_BRCM_CORE_EXPB1
	.comm	_MII_BRCM_CORE_EXPB0,4,2        ; @MII_BRCM_CORE_EXPB0
	.no_dead_strip	_bcm_cygnus_afe_config
.subsections_via_symbols
