	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_phy_force_speed_duplex_setup
_igb_phy_force_speed_duplex_setup:      ## @igb_phy_force_speed_duplex_setup
	.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	%rsi, %r15
	movq	%rdi, %r14
	movq	_e1000_fc_none@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	movq	_E1000_CTRL@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_rd32
	movq	_E1000_CTRL_FRCSPD@GOTPCREL(%rip), %rcx
	movq	_E1000_CTRL_FRCDPX@GOTPCREL(%rip), %rdx
	orl	(%rcx), %eax
	orl	(%rdx), %eax
	movq	_E1000_CTRL_SPD_SEL@GOTPCREL(%rip), %rcx
	movq	_E1000_CTRL_ASDE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx), %ebx
	notl	%ebx
	movq	_MII_CR_AUTO_NEG_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	(%r15), %ecx
	andl	%eax, %ebx
	movl	%ecx, (%r15)
	movq	_E1000_ALL_HALF_DUPLEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_E1000_CTRL_FD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%edx, 4(%r14)
	je	LBB0_2
## %bb.1:
	notl	%eax
	andl	%eax, %ebx
	movq	_MII_CR_FULL_DUPLEX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ecx
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_3
LBB0_2:
	orl	%eax, %ebx
	movq	_MII_CR_FULL_DUPLEX@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rdi
LBB0_3:
	movl	%ecx, (%r15)
	callq	_hw_dbg
	movq	_E1000_ALL_100_SPEED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r14)
	je	LBB0_5
## %bb.4:
	movq	_E1000_CTRL_SPD_100@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	leaq	L_.str.2(%rip), %rdi
	movq	_MII_CR_SPEED_10@GOTPCREL(%rip), %rax
	movq	_MII_CR_SPEED_100@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_5:
	movq	_E1000_CTRL_SPD_1000@GOTPCREL(%rip), %rax
	movq	_E1000_CTRL_SPD_100@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %ebx
	leaq	L_.str.3(%rip), %rdi
	movq	_MII_CR_SPEED_100@GOTPCREL(%rip), %rax
	movq	_MII_CR_SPEED_10@GOTPCREL(%rip), %rcx
LBB0_6:
	movl	(%r15), %edx
	orl	(%rcx), %edx
	movl	%edx, (%r15)
	movq	_MII_CR_SPEED_1000@GOTPCREL(%rip), %rcx
	movl	(%rax), %eax
	orl	(%rcx), %eax
	notl	%eax
	andl	%edx, %eax
	movl	%eax, (%r15)
	callq	_hw_dbg
	movq	%r14, %rdi
	callq	_igb_config_collision_dist
	movl	(%r12), %edi
	movl	%ebx, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wr32                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_fc_none,4,2              ## @e1000_fc_none
	.comm	_E1000_CTRL,4,2                 ## @E1000_CTRL
	.comm	_E1000_CTRL_FRCSPD,4,2          ## @E1000_CTRL_FRCSPD
	.comm	_E1000_CTRL_FRCDPX,4,2          ## @E1000_CTRL_FRCDPX
	.comm	_E1000_CTRL_SPD_SEL,4,2         ## @E1000_CTRL_SPD_SEL
	.comm	_E1000_CTRL_ASDE,4,2            ## @E1000_CTRL_ASDE
	.comm	_MII_CR_AUTO_NEG_EN,4,2         ## @MII_CR_AUTO_NEG_EN
	.comm	_E1000_ALL_HALF_DUPLEX,4,2      ## @E1000_ALL_HALF_DUPLEX
	.comm	_E1000_CTRL_FD,4,2              ## @E1000_CTRL_FD
	.comm	_MII_CR_FULL_DUPLEX,4,2         ## @MII_CR_FULL_DUPLEX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Half Duplex\n"

L_.str.1:                               ## @.str.1
	.asciz	"Full Duplex\n"

	.comm	_E1000_ALL_100_SPEED,4,2        ## @E1000_ALL_100_SPEED
	.comm	_E1000_CTRL_SPD_100,4,2         ## @E1000_CTRL_SPD_100
	.comm	_MII_CR_SPEED_100,4,2           ## @MII_CR_SPEED_100
	.comm	_MII_CR_SPEED_1000,4,2          ## @MII_CR_SPEED_1000
	.comm	_MII_CR_SPEED_10,4,2            ## @MII_CR_SPEED_10
L_.str.2:                               ## @.str.2
	.asciz	"Forcing 100mb\n"

	.comm	_E1000_CTRL_SPD_1000,4,2        ## @E1000_CTRL_SPD_1000
L_.str.3:                               ## @.str.3
	.asciz	"Forcing 10mb\n"

	.no_dead_strip	_igb_phy_force_speed_duplex_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_phy_force_speed_duplex_setup
_igb_phy_force_speed_duplex_setup:      ; @igb_phy_force_speed_duplex_setup
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _e1000_fc_none@GOTPAGE
Lloh1:
	ldr	x8, [x8, _e1000_fc_none@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0]
Lloh3:
	adrp	x22, _E1000_CTRL@GOTPAGE
Lloh4:
	ldr	x22, [x22, _E1000_CTRL@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_rd32
Lloh5:
	adrp	x8, _E1000_CTRL_FRCSPD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _E1000_CTRL_FRCSPD@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _E1000_CTRL_FRCDPX@GOTPAGE
Lloh9:
	ldr	x9, [x9, _E1000_CTRL_FRCDPX@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w8, w0
	orr	w8, w8, w9
Lloh11:
	adrp	x9, _E1000_CTRL_SPD_SEL@GOTPAGE
Lloh12:
	ldr	x9, [x9, _E1000_CTRL_SPD_SEL@GOTPAGEOFF]
Lloh13:
	adrp	x10, _E1000_CTRL_ASDE@GOTPAGE
Lloh14:
	ldr	x10, [x10, _E1000_CTRL_ASDE@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
Lloh16:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bic	w9, w8, w9
Lloh17:
	adrp	x8, _MII_CR_AUTO_NEG_EN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MII_CR_AUTO_NEG_EN@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	w10, [x20]
	bic	w8, w10, w8
	str	w8, [x20]
Lloh20:
	adrp	x10, _E1000_ALL_HALF_DUPLEX@GOTPAGE
Lloh21:
	ldr	x10, [x10, _E1000_ALL_HALF_DUPLEX@GOTPAGEOFF]
	ldr	w11, [x19, #4]
Lloh22:
	ldr	w12, [x10]
Lloh23:
	adrp	x10, _E1000_CTRL_FD@GOTPAGE
Lloh24:
	ldr	x10, [x10, _E1000_CTRL_FD@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	tst	w12, w11
	b.eq	LBB0_2
; %bb.1:
	bic	w21, w9, w10
Lloh26:
	adrp	x9, _MII_CR_FULL_DUPLEX@GOTPAGE
Lloh27:
	ldr	x9, [x9, _MII_CR_FULL_DUPLEX@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	bic	w8, w8, w9
Lloh29:
	adrp	x0, l_.str@PAGE
Lloh30:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:
	orr	w21, w10, w9
Lloh31:
	adrp	x9, _MII_CR_FULL_DUPLEX@GOTPAGE
Lloh32:
	ldr	x9, [x9, _MII_CR_FULL_DUPLEX@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh34:
	adrp	x0, l_.str.1@PAGE
Lloh35:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_3:
	str	w8, [x20]
	bl	_hw_dbg
	ldr	w8, [x19, #4]
Lloh36:
	adrp	x9, _E1000_ALL_100_SPEED@GOTPAGE
Lloh37:
	ldr	x9, [x9, _E1000_ALL_100_SPEED@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
Lloh39:
	adrp	x8, _E1000_CTRL_SPD_100@GOTPAGE
Lloh40:
	ldr	x8, [x8, _E1000_CTRL_SPD_100@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	orr	w21, w8, w21
Lloh42:
	adrp	x0, l_.str.2@PAGE
Lloh43:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh44:
	adrp	x8, _MII_CR_SPEED_10@GOTPAGE
Lloh45:
	ldr	x8, [x8, _MII_CR_SPEED_10@GOTPAGEOFF]
Lloh46:
	adrp	x9, _MII_CR_SPEED_100@GOTPAGE
Lloh47:
	ldr	x9, [x9, _MII_CR_SPEED_100@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh48:
	adrp	x8, _E1000_CTRL_SPD_1000@GOTPAGE
Lloh49:
	ldr	x8, [x8, _E1000_CTRL_SPD_1000@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
Lloh51:
	adrp	x9, _E1000_CTRL_SPD_100@GOTPAGE
Lloh52:
	ldr	x9, [x9, _E1000_CTRL_SPD_100@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w21, w21, w8
Lloh54:
	adrp	x0, l_.str.3@PAGE
Lloh55:
	add	x0, x0, l_.str.3@PAGEOFF
Lloh56:
	adrp	x8, _MII_CR_SPEED_100@GOTPAGE
Lloh57:
	ldr	x8, [x8, _MII_CR_SPEED_100@GOTPAGEOFF]
Lloh58:
	adrp	x9, _MII_CR_SPEED_10@GOTPAGE
Lloh59:
	ldr	x9, [x9, _MII_CR_SPEED_10@GOTPAGEOFF]
LBB0_6:
	ldr	w9, [x9]
	ldr	w10, [x20]
	orr	w9, w10, w9
Lloh60:
	adrp	x10, _MII_CR_SPEED_1000@GOTPAGE
Lloh61:
	ldr	x10, [x10, _MII_CR_SPEED_1000@GOTPAGEOFF]
	str	w9, [x20]
Lloh62:
	ldr	w10, [x10]
	ldr	w8, [x8]
	orr	w8, w8, w10
	bic	w8, w9, w8
	str	w8, [x20]
	bl	_hw_dbg
	mov	x0, x19
	bl	_igb_config_collision_dist
	ldr	w0, [x22]
	mov	x1, x21
	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
	b	_wr32
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_fc_none,4,2              ; @e1000_fc_none
	.comm	_E1000_CTRL,4,2                 ; @E1000_CTRL
	.comm	_E1000_CTRL_FRCSPD,4,2          ; @E1000_CTRL_FRCSPD
	.comm	_E1000_CTRL_FRCDPX,4,2          ; @E1000_CTRL_FRCDPX
	.comm	_E1000_CTRL_SPD_SEL,4,2         ; @E1000_CTRL_SPD_SEL
	.comm	_E1000_CTRL_ASDE,4,2            ; @E1000_CTRL_ASDE
	.comm	_MII_CR_AUTO_NEG_EN,4,2         ; @MII_CR_AUTO_NEG_EN
	.comm	_E1000_ALL_HALF_DUPLEX,4,2      ; @E1000_ALL_HALF_DUPLEX
	.comm	_E1000_CTRL_FD,4,2              ; @E1000_CTRL_FD
	.comm	_MII_CR_FULL_DUPLEX,4,2         ; @MII_CR_FULL_DUPLEX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Half Duplex\n"

l_.str.1:                               ; @.str.1
	.asciz	"Full Duplex\n"

	.comm	_E1000_ALL_100_SPEED,4,2        ; @E1000_ALL_100_SPEED
	.comm	_E1000_CTRL_SPD_100,4,2         ; @E1000_CTRL_SPD_100
	.comm	_MII_CR_SPEED_100,4,2           ; @MII_CR_SPEED_100
	.comm	_MII_CR_SPEED_1000,4,2          ; @MII_CR_SPEED_1000
	.comm	_MII_CR_SPEED_10,4,2            ; @MII_CR_SPEED_10
l_.str.2:                               ; @.str.2
	.asciz	"Forcing 100mb\n"

	.comm	_E1000_CTRL_SPD_1000,4,2        ; @E1000_CTRL_SPD_1000
l_.str.3:                               ; @.str.3
	.asciz	"Forcing 10mb\n"

	.no_dead_strip	_igb_phy_force_speed_duplex_setup
.subsections_via_symbols
