	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm5241_init
_bcm5241_init:                          ## @bcm5241_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_MII_BCM5221_TEST@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_sungem_phy_read
	movl	(%r14), %esi
	movq	_MII_BCM5221_TEST_ENABLE_SHADOWS@GOTPCREL(%rip), %r15
	orl	(%r15), %eax
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_sungem_phy_write
	movq	_MII_BCM5221_SHDOW_AUX_STAT2@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_sungem_phy_read
	movl	(%r12), %esi
	movq	_MII_BCM5221_SHDOW_AUX_STAT2_APD@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_sungem_phy_write
	movq	_MII_BCM5221_SHDOW_AUX_MODE4@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_sungem_phy_read
	movl	(%r12), %esi
	movq	_MII_BCM5241_SHDOW_AUX_MODE4_STANDBYPWR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	%rbx, %rdi
	callq	_sungem_phy_write
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_sungem_phy_read
	movl	(%r14), %esi
	movl	(%r15), %edx
	notl	%edx
	andl	%eax, %edx
	movq	%rbx, %rdi
	callq	_sungem_phy_write
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MII_BCM5221_TEST,4,2           ## @MII_BCM5221_TEST
	.comm	_MII_BCM5221_TEST_ENABLE_SHADOWS,4,2 ## @MII_BCM5221_TEST_ENABLE_SHADOWS
	.comm	_MII_BCM5221_SHDOW_AUX_STAT2,4,2 ## @MII_BCM5221_SHDOW_AUX_STAT2
	.comm	_MII_BCM5221_SHDOW_AUX_STAT2_APD,4,2 ## @MII_BCM5221_SHDOW_AUX_STAT2_APD
	.comm	_MII_BCM5221_SHDOW_AUX_MODE4,4,2 ## @MII_BCM5221_SHDOW_AUX_MODE4
	.comm	_MII_BCM5241_SHDOW_AUX_MODE4_STANDBYPWR,4,2 ## @MII_BCM5241_SHDOW_AUX_MODE4_STANDBYPWR
	.no_dead_strip	_bcm5241_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm5241_init
_bcm5241_init:                          ; @bcm5241_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
Lloh0:
	adrp	x20, _MII_BCM5221_TEST@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MII_BCM5221_TEST@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_sungem_phy_read
	ldr	w1, [x20]
Lloh2:
	adrp	x21, _MII_BCM5221_TEST_ENABLE_SHADOWS@GOTPAGE
Lloh3:
	ldr	x21, [x21, _MII_BCM5221_TEST_ENABLE_SHADOWS@GOTPAGEOFF]
	ldr	w8, [x21]
	orr	w2, w8, w0
	mov	x0, x19
	bl	_sungem_phy_write
Lloh4:
	adrp	x22, _MII_BCM5221_SHDOW_AUX_STAT2@GOTPAGE
Lloh5:
	ldr	x22, [x22, _MII_BCM5221_SHDOW_AUX_STAT2@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_sungem_phy_read
	ldr	w1, [x22]
Lloh6:
	adrp	x8, _MII_BCM5221_SHDOW_AUX_STAT2_APD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MII_BCM5221_SHDOW_AUX_STAT2_APD@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w2, w8, w0
	mov	x0, x19
	bl	_sungem_phy_write
Lloh9:
	adrp	x22, _MII_BCM5221_SHDOW_AUX_MODE4@GOTPAGE
Lloh10:
	ldr	x22, [x22, _MII_BCM5221_SHDOW_AUX_MODE4@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_sungem_phy_read
	ldr	w1, [x22]
Lloh11:
	adrp	x8, _MII_BCM5241_SHDOW_AUX_MODE4_STANDBYPWR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MII_BCM5241_SHDOW_AUX_MODE4_STANDBYPWR@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	bic	w2, w0, w8
	mov	x0, x19
	bl	_sungem_phy_write
	ldr	w1, [x20]
	mov	x0, x19
	bl	_sungem_phy_read
	ldr	w1, [x20]
	ldr	w8, [x21]
	bic	w2, w0, w8
	mov	x0, x19
	bl	_sungem_phy_write
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MII_BCM5221_TEST,4,2           ; @MII_BCM5221_TEST
	.comm	_MII_BCM5221_TEST_ENABLE_SHADOWS,4,2 ; @MII_BCM5221_TEST_ENABLE_SHADOWS
	.comm	_MII_BCM5221_SHDOW_AUX_STAT2,4,2 ; @MII_BCM5221_SHDOW_AUX_STAT2
	.comm	_MII_BCM5221_SHDOW_AUX_STAT2_APD,4,2 ; @MII_BCM5221_SHDOW_AUX_STAT2_APD
	.comm	_MII_BCM5221_SHDOW_AUX_MODE4,4,2 ; @MII_BCM5221_SHDOW_AUX_MODE4
	.comm	_MII_BCM5241_SHDOW_AUX_MODE4_STANDBYPWR,4,2 ; @MII_BCM5241_SHDOW_AUX_MODE4_STANDBYPWR
	.no_dead_strip	_bcm5241_init
.subsections_via_symbols
