	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_genphy_c45_pma_setup_forced    ## -- Begin function genphy_c45_pma_setup_forced
	.p2align	4, 0x90
_genphy_c45_pma_setup_forced:           ## @genphy_c45_pma_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
	movq	(%rdi), %rax
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	movq	_MDIO_MMD_PMAPMD@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_MDIO_CTRL1@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	callq	_phy_read_mmd
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_15
## %bb.3:
	movl	(%r12), %esi
	movq	_MDIO_CTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_phy_read_mmd
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movl	8(%r14), %edx
	addl	$-128, %edx
	cmpl	$5, %edx
	ja	LBB0_1
## %bb.6:
	movq	%r13, %r8
	movq	%r12, %rdi
	movq	_MDIO_CTRL1_SPEEDSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ebx
	movq	_MDIO_PMA_CTRL2_TYPE@GOTPCREL(%rip), %rax
	movq	_MDIO_PMA_CTRL2_10BT@GOTPCREL(%rip), %rcx
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_9:
	movq	_MDIO_CTRL1_SPEED5G@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movq	_MDIO_PMA_CTRL2_5GBT@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%r15d, %ebx
	jmp	LBB0_15
LBB0_8:
	movq	_MDIO_CTRL1_SPEED2_5G@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movq	_MDIO_PMA_CTRL2_2_5GBT@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_10:
	movq	_MDIO_CTRL1_SPEED10G@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movq	_MDIO_PMA_CTRL2_10GBT@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_7:
	movq	_MDIO_PMA_CTRL1_SPEED1000@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movq	_MDIO_PMA_CTRL2_1000BT@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_11:
	movq	_MDIO_PMA_CTRL1_SPEED100@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movq	_MDIO_PMA_CTRL2_100BTX@GOTPCREL(%rip), %rcx
LBB0_12:
	movl	(%rax), %r13d
	movl	(%rcx), %r12d
	movl	(%rdi), %esi
	movl	(%r8), %edx
	movq	%r14, %rdi
	movl	%ebx, %ecx
	callq	_phy_write_mmd
	testl	%eax, %eax
	js	LBB0_14
## %bb.13:
	notl	%r13d
	andl	%r15d, %r13d
	andl	$-49, %r13d
	orl	%r13d, %r12d
	movq	_MDIO_MMD_PMAPMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MDIO_CTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%r12d, %ecx
	callq	_phy_write_mmd
	testl	%eax, %eax
	js	LBB0_14
## %bb.16:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_genphy_c45_an_disable_aneg     ## TAILCALL
LBB0_14:
	movl	%eax, %ebx
	jmp	LBB0_15
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_10
	.long	L0_0_set_7
	.long	L0_0_set_11
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_DUPLEX_FULL,8,3                ## @DUPLEX_FULL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MDIO_MMD_PMAPMD,4,2            ## @MDIO_MMD_PMAPMD
	.comm	_MDIO_CTRL1,4,2                 ## @MDIO_CTRL1
	.comm	_MDIO_CTRL2,4,2                 ## @MDIO_CTRL2
	.comm	_MDIO_CTRL1_SPEEDSEL,4,2        ## @MDIO_CTRL1_SPEEDSEL
	.comm	_MDIO_PMA_CTRL2_TYPE,4,2        ## @MDIO_PMA_CTRL2_TYPE
	.comm	_MDIO_PMA_CTRL2_10BT,4,2        ## @MDIO_PMA_CTRL2_10BT
	.comm	_MDIO_PMA_CTRL1_SPEED100,4,2    ## @MDIO_PMA_CTRL1_SPEED100
	.comm	_MDIO_PMA_CTRL2_100BTX,4,2      ## @MDIO_PMA_CTRL2_100BTX
	.comm	_MDIO_PMA_CTRL1_SPEED1000,4,2   ## @MDIO_PMA_CTRL1_SPEED1000
	.comm	_MDIO_PMA_CTRL2_1000BT,4,2      ## @MDIO_PMA_CTRL2_1000BT
	.comm	_MDIO_CTRL1_SPEED2_5G,4,2       ## @MDIO_CTRL1_SPEED2_5G
	.comm	_MDIO_PMA_CTRL2_2_5GBT,4,2      ## @MDIO_PMA_CTRL2_2_5GBT
	.comm	_MDIO_CTRL1_SPEED5G,4,2         ## @MDIO_CTRL1_SPEED5G
	.comm	_MDIO_PMA_CTRL2_5GBT,4,2        ## @MDIO_PMA_CTRL2_5GBT
	.comm	_MDIO_CTRL1_SPEED10G,4,2        ## @MDIO_CTRL1_SPEED10G
	.comm	_MDIO_PMA_CTRL2_10GBT,4,2       ## @MDIO_PMA_CTRL2_10GBT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_genphy_c45_pma_setup_forced    ; -- Begin function genphy_c45_pma_setup_forced
	.p2align	2
_genphy_c45_pma_setup_forced:           ; @genphy_c45_pma_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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _DUPLEX_FULL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x22, _MDIO_MMD_PMAPMD@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MDIO_MMD_PMAPMD@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh5:
	adrp	x24, _MDIO_CTRL1@GOTPAGE
Lloh6:
	ldr	x24, [x24, _MDIO_CTRL1@GOTPAGEOFF]
	ldr	w2, [x24]
	bl	_phy_read_mmd
	mov	x21, x0
	tbnz	w0, #31, LBB0_7
; %bb.2:
	ldr	w1, [x22]
Lloh7:
	adrp	x23, _MDIO_CTRL2@GOTPAGE
Lloh8:
	ldr	x23, [x23, _MDIO_CTRL2@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_phy_read_mmd
	mov	x20, x0
	tbnz	w0, #31, LBB0_8
; %bb.3:
	ldr	w8, [x19, #8]
	sub	w10, w8, #128
	cmp	w10, #5
	b.hi	LBB0_6
; %bb.4:
Lloh9:
	adrp	x8, _MDIO_CTRL1_SPEEDSEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MDIO_CTRL1_SPEEDSEL@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x8]
Lloh12:
	adrp	x8, _MDIO_PMA_CTRL2_TYPE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MDIO_PMA_CTRL2_TYPE@GOTPAGEOFF]
	bic	w3, w21, w9
Lloh14:
	adrp	x9, _MDIO_PMA_CTRL2_10BT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MDIO_PMA_CTRL2_10BT@GOTPAGEOFF]
Lloh16:
	adrp	x11, lJTI0_0@PAGE
Lloh17:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_5
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_5:
Lloh18:
	adrp	x9, _MDIO_CTRL1_SPEED5G@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MDIO_CTRL1_SPEED5G@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w3, w9, w3
Lloh21:
	adrp	x9, _MDIO_PMA_CTRL2_5GBT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _MDIO_PMA_CTRL2_5GBT@GOTPAGEOFF]
	b	LBB0_13
LBB0_6:
Lloh23:
	adrp	x8, _EINVAL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_7:
	mov	x0, x21
	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
LBB0_8:
	mov	x21, x20
	b	LBB0_7
LBB0_9:
Lloh26:
	adrp	x9, _MDIO_CTRL1_SPEED2_5G@GOTPAGE
Lloh27:
	ldr	x9, [x9, _MDIO_CTRL1_SPEED2_5G@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w3, w9, w3
Lloh29:
	adrp	x9, _MDIO_PMA_CTRL2_2_5GBT@GOTPAGE
Lloh30:
	ldr	x9, [x9, _MDIO_PMA_CTRL2_2_5GBT@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
Lloh31:
	adrp	x9, _MDIO_CTRL1_SPEED10G@GOTPAGE
Lloh32:
	ldr	x9, [x9, _MDIO_CTRL1_SPEED10G@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	orr	w3, w9, w3
Lloh34:
	adrp	x9, _MDIO_PMA_CTRL2_10GBT@GOTPAGE
Lloh35:
	ldr	x9, [x9, _MDIO_PMA_CTRL2_10GBT@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
Lloh36:
	adrp	x9, _MDIO_PMA_CTRL1_SPEED1000@GOTPAGE
Lloh37:
	ldr	x9, [x9, _MDIO_PMA_CTRL1_SPEED1000@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	orr	w3, w9, w3
Lloh39:
	adrp	x9, _MDIO_PMA_CTRL2_1000BT@GOTPAGE
Lloh40:
	ldr	x9, [x9, _MDIO_PMA_CTRL2_1000BT@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh41:
	adrp	x9, _MDIO_PMA_CTRL1_SPEED100@GOTPAGE
Lloh42:
	ldr	x9, [x9, _MDIO_PMA_CTRL1_SPEED100@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	orr	w3, w9, w3
Lloh44:
	adrp	x9, _MDIO_PMA_CTRL2_100BTX@GOTPAGE
Lloh45:
	ldr	x9, [x9, _MDIO_PMA_CTRL2_100BTX@GOTPAGEOFF]
LBB0_13:
	ldr	w26, [x8]
	ldr	w25, [x9]
	ldr	w1, [x22]
	ldr	w2, [x24]
	mov	x0, x19
	bl	_phy_write_mmd
	tbnz	w0, #31, LBB0_16
; %bb.14:
	bic	w8, w20, w26
	and	w8, w8, #0xffffffcf
	orr	w3, w25, w8
	ldr	w1, [x22]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_phy_write_mmd
	tbnz	w0, #31, LBB0_16
; %bb.15:
	mov	x0, x19
	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
	b	_genphy_c45_an_disable_aneg
LBB0_16:
	mov	x21, x0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
                                        ; -- End function
	.comm	_DUPLEX_FULL,8,3                ; @DUPLEX_FULL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MDIO_MMD_PMAPMD,4,2            ; @MDIO_MMD_PMAPMD
	.comm	_MDIO_CTRL1,4,2                 ; @MDIO_CTRL1
	.comm	_MDIO_CTRL2,4,2                 ; @MDIO_CTRL2
	.comm	_MDIO_CTRL1_SPEEDSEL,4,2        ; @MDIO_CTRL1_SPEEDSEL
	.comm	_MDIO_PMA_CTRL2_TYPE,4,2        ; @MDIO_PMA_CTRL2_TYPE
	.comm	_MDIO_PMA_CTRL2_10BT,4,2        ; @MDIO_PMA_CTRL2_10BT
	.comm	_MDIO_PMA_CTRL1_SPEED100,4,2    ; @MDIO_PMA_CTRL1_SPEED100
	.comm	_MDIO_PMA_CTRL2_100BTX,4,2      ; @MDIO_PMA_CTRL2_100BTX
	.comm	_MDIO_PMA_CTRL1_SPEED1000,4,2   ; @MDIO_PMA_CTRL1_SPEED1000
	.comm	_MDIO_PMA_CTRL2_1000BT,4,2      ; @MDIO_PMA_CTRL2_1000BT
	.comm	_MDIO_CTRL1_SPEED2_5G,4,2       ; @MDIO_CTRL1_SPEED2_5G
	.comm	_MDIO_PMA_CTRL2_2_5GBT,4,2      ; @MDIO_PMA_CTRL2_2_5GBT
	.comm	_MDIO_CTRL1_SPEED5G,4,2         ; @MDIO_CTRL1_SPEED5G
	.comm	_MDIO_PMA_CTRL2_5GBT,4,2        ; @MDIO_PMA_CTRL2_5GBT
	.comm	_MDIO_CTRL1_SPEED10G,4,2        ; @MDIO_CTRL1_SPEED10G
	.comm	_MDIO_PMA_CTRL2_10GBT,4,2       ; @MDIO_PMA_CTRL2_10GBT
.subsections_via_symbols
