	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm54xx_setup_forced
_bcm54xx_setup_forced:                  ## @bcm54xx_setup_forced
	.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
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %r13
	movl	%esi, (%rdi)
	movl	%edx, 4(%rdi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rdi)
	movq	_MII_BMCR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_sungem_phy_read
	movq	_BMCR_FULLDPLX@GOTPCREL(%rip), %rcx
	movq	_BMCR_SPEED100@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx), %ebx
	movq	_BMCR_SPD2@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movq	_BMCR_ANENABLE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	(%r12), %esi
	movq	_BMCR_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	%ebx, %edx
	movq	%r13, %rdi
	callq	_sungem_phy_write
	cmpl	$128, %r15d
	je	LBB0_3
## %bb.1:
	cmpl	$129, %r15d
	jne	LBB0_5
## %bb.2:
	movq	_BMCR_SPEED100@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_BMCR_SPD2@GOTPCREL(%rip), %rax
LBB0_4:
	orl	(%rax), %ebx
LBB0_5:
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rax
	movl	$0, %edx
	cmpl	%r14d, (%rax)
	jne	LBB0_7
## %bb.6:
	movq	_BMCR_FULLDPLX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_7:
	orl	%ebx, %edx
	movq	_MII_BMCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_sungem_phy_write
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MII_BMCR,4,2                   ## @MII_BMCR
	.comm	_BMCR_FULLDPLX,4,2              ## @BMCR_FULLDPLX
	.comm	_BMCR_SPEED100,4,2              ## @BMCR_SPEED100
	.comm	_BMCR_SPD2,4,2                  ## @BMCR_SPD2
	.comm	_BMCR_ANENABLE,4,2              ## @BMCR_ANENABLE
	.comm	_BMCR_RESET,4,2                 ## @BMCR_RESET
	.comm	_DUPLEX_FULL,4,2                ## @DUPLEX_FULL
	.no_dead_strip	_bcm54xx_setup_forced
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm54xx_setup_forced
_bcm54xx_setup_forced:                  ; @bcm54xx_setup_forced
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	stp	w1, w2, [x0]
	stp	xzr, xzr, [x0, #8]
Lloh0:
	adrp	x22, _MII_BMCR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MII_BMCR@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_sungem_phy_read
Lloh2:
	adrp	x23, _BMCR_FULLDPLX@GOTPAGE
Lloh3:
	ldr	x23, [x23, _BMCR_FULLDPLX@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh4:
	adrp	x25, _BMCR_SPEED100@GOTPAGE
Lloh5:
	ldr	x25, [x25, _BMCR_SPEED100@GOTPAGEOFF]
	ldr	w9, [x25]
	orr	w8, w9, w8
Lloh6:
	adrp	x26, _BMCR_SPD2@GOTPAGE
Lloh7:
	ldr	x26, [x26, _BMCR_SPD2@GOTPAGEOFF]
	ldr	w9, [x26]
	orr	w8, w8, w9
Lloh8:
	adrp	x9, _BMCR_ANENABLE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BMCR_ANENABLE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w24, w0, w8
	ldr	w1, [x22]
Lloh11:
	adrp	x8, _BMCR_RESET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BMCR_RESET@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	orr	w2, w24, w8
	mov	x0, x19
	bl	_sungem_phy_write
	cmp	w21, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w21, #129
	b.ne	LBB0_5
; %bb.2:
	ldr	w8, [x25]
	b	LBB0_4
LBB0_3:
	ldr	w8, [x26]
LBB0_4:
	orr	w24, w8, w24
LBB0_5:
Lloh14:
	adrp	x8, _DUPLEX_FULL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DUPLEX_FULL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [x23]
	cmp	w8, w20
	csel	w8, w9, wzr, eq
	orr	w2, w8, w24
	ldr	w1, [x22]
	mov	x0, x19
	bl	_sungem_phy_write
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MII_BMCR,4,2                   ; @MII_BMCR
	.comm	_BMCR_FULLDPLX,4,2              ; @BMCR_FULLDPLX
	.comm	_BMCR_SPEED100,4,2              ; @BMCR_SPEED100
	.comm	_BMCR_SPD2,4,2                  ; @BMCR_SPD2
	.comm	_BMCR_ANENABLE,4,2              ; @BMCR_ANENABLE
	.comm	_BMCR_RESET,4,2                 ; @BMCR_RESET
	.comm	_DUPLEX_FULL,4,2                ; @DUPLEX_FULL
	.no_dead_strip	_bcm54xx_setup_forced
.subsections_via_symbols
