	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm7xxx_28nm_ephy_01_afe_config_init
_bcm7xxx_28nm_ephy_01_afe_config_init:  ## @bcm7xxx_28nm_ephy_01_afe_config_init
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_MII_BCM7XXX_TEST@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_MII_BCM7XXX_SHD_MODE_2@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	xorl	%ecx, %ecx
	callq	_phy_set_clr_bits
	testl	%eax, %eax
	js	LBB0_7
## %bb.1:
	movq	_MII_BCM7XXX_SHD_2_BIAS_TRIM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$15328, %edx                    ## imm = 0x3BE0
	callq	_phy_write
	testl	%eax, %eax
	js	LBB0_6
## %bb.2:
	movq	_MII_BCM7XXX_SHD_2_ADDR_CTRL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_MII_BCM7XXX_SHD_3_TL4@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%rbx, %rdi
	callq	_phy_write
	testl	%eax, %eax
	js	LBB0_6
## %bb.3:
	movq	_MII_BCM7XXX_SHD_2_CTRL_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MII_BCM7XXX_TL4_RST_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_phy_set_clr_bits
	testl	%eax, %eax
	js	LBB0_6
## %bb.4:
	movl	(%r12), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	callq	_phy_write
	testl	%eax, %eax
	js	LBB0_6
## %bb.5:
	movq	_MII_BCM7XXX_SHD_2_CTRL_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MII_BCM7XXX_TL4_RST_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_phy_set_clr_bits
LBB0_6:
	movl	(%r14), %esi
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_phy_set_clr_bits
	movl	%eax, %ecx
	sarl	$31, %ecx
	andl	%ecx, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MII_BCM7XXX_TEST,4,2           ## @MII_BCM7XXX_TEST
	.comm	_MII_BCM7XXX_SHD_MODE_2,4,2     ## @MII_BCM7XXX_SHD_MODE_2
	.comm	_MII_BCM7XXX_SHD_2_BIAS_TRIM,4,2 ## @MII_BCM7XXX_SHD_2_BIAS_TRIM
	.comm	_MII_BCM7XXX_SHD_2_ADDR_CTRL,4,2 ## @MII_BCM7XXX_SHD_2_ADDR_CTRL
	.comm	_MII_BCM7XXX_SHD_3_TL4,4,2      ## @MII_BCM7XXX_SHD_3_TL4
	.comm	_MII_BCM7XXX_SHD_2_CTRL_STAT,4,2 ## @MII_BCM7XXX_SHD_2_CTRL_STAT
	.comm	_MII_BCM7XXX_TL4_RST_MSK,4,2    ## @MII_BCM7XXX_TL4_RST_MSK
	.no_dead_strip	_bcm7xxx_28nm_ephy_01_afe_config_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm7xxx_28nm_ephy_01_afe_config_init
_bcm7xxx_28nm_ephy_01_afe_config_init:  ; @bcm7xxx_28nm_ephy_01_afe_config_init
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x20, _MII_BCM7XXX_TEST@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MII_BCM7XXX_TEST@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x21, _MII_BCM7XXX_SHD_MODE_2@GOTPAGE
Lloh3:
	ldr	x21, [x21, _MII_BCM7XXX_SHD_MODE_2@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	w3, #0
	bl	_phy_set_clr_bits
	tbnz	w0, #31, LBB0_7
; %bb.1:
Lloh4:
	adrp	x8, _MII_BCM7XXX_SHD_2_BIAS_TRIM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MII_BCM7XXX_SHD_2_BIAS_TRIM@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #15328
	bl	_phy_write
	tbnz	w0, #31, LBB0_6
; %bb.2:
Lloh7:
	adrp	x22, _MII_BCM7XXX_SHD_2_ADDR_CTRL@GOTPAGE
Lloh8:
	ldr	x22, [x22, _MII_BCM7XXX_SHD_2_ADDR_CTRL@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh9:
	adrp	x23, _MII_BCM7XXX_SHD_3_TL4@GOTPAGE
Lloh10:
	ldr	x23, [x23, _MII_BCM7XXX_SHD_3_TL4@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_phy_write
	tbnz	w0, #31, LBB0_6
; %bb.3:
Lloh11:
	adrp	x24, _MII_BCM7XXX_SHD_2_CTRL_STAT@GOTPAGE
Lloh12:
	ldr	x24, [x24, _MII_BCM7XXX_SHD_2_CTRL_STAT@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh13:
	adrp	x25, _MII_BCM7XXX_TL4_RST_MSK@GOTPAGE
Lloh14:
	ldr	x25, [x25, _MII_BCM7XXX_TL4_RST_MSK@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x0, x19
	mov	w3, #0
	bl	_phy_set_clr_bits
	tbnz	w0, #31, LBB0_6
; %bb.4:
	ldr	w1, [x22]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_phy_write
	tbnz	w0, #31, LBB0_6
; %bb.5:
	ldr	w1, [x24]
	ldr	w3, [x25]
	mov	x0, x19
	mov	w2, #0
	bl	_phy_set_clr_bits
LBB0_6:
	ldr	w1, [x20]
	ldr	w3, [x21]
	mov	x0, x19
	mov	w2, #0
	bl	_phy_set_clr_bits
	cmp	w0, #0
	csel	w0, w0, wzr, lt
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MII_BCM7XXX_TEST,4,2           ; @MII_BCM7XXX_TEST
	.comm	_MII_BCM7XXX_SHD_MODE_2,4,2     ; @MII_BCM7XXX_SHD_MODE_2
	.comm	_MII_BCM7XXX_SHD_2_BIAS_TRIM,4,2 ; @MII_BCM7XXX_SHD_2_BIAS_TRIM
	.comm	_MII_BCM7XXX_SHD_2_ADDR_CTRL,4,2 ; @MII_BCM7XXX_SHD_2_ADDR_CTRL
	.comm	_MII_BCM7XXX_SHD_3_TL4,4,2      ; @MII_BCM7XXX_SHD_3_TL4
	.comm	_MII_BCM7XXX_SHD_2_CTRL_STAT,4,2 ; @MII_BCM7XXX_SHD_2_CTRL_STAT
	.comm	_MII_BCM7XXX_TL4_RST_MSK,4,2    ; @MII_BCM7XXX_TL4_RST_MSK
	.no_dead_strip	_bcm7xxx_28nm_ephy_01_afe_config_init
.subsections_via_symbols
