	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_init_mac_params_80003es2lan
_e1000_init_mac_params_80003es2lan:     ## @e1000_init_mac_params_80003es2lan
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	48(%rdi), %rax
	movq	(%rax), %rax
	cmpl	$128, (%rax)
	movq	_e1000_setup_copper_link_80003es2lan@GOTPCREL(%rip), %rax
	cmoveq	_e1000e_setup_fiber_serdes_link@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_e1000e_check_for_copper_link@GOTPCREL(%rip), %rcx
	cmoveq	_e1000e_check_for_serdes_link@GOTPCREL(%rip), %rcx
	movq	_e1000_media_type_copper@GOTPCREL(%rip), %rdx
	cmoveq	_e1000_media_type_internal_serdes@GOTPCREL(%rip), %rdx
	movl	(%rcx), %ecx
	movl	(%rdx), %edx
	movl	%edx, 40(%rdi)
	movl	%ecx, 28(%rdi)
	movl	%eax, 24(%rdi)
	movl	$128, (%rdi)
	movq	_E1000_RAR_ENTRIES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rdi)
	movl	$1, 4(%rdi)
	movq	_FWSM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_er32
	movq	_E1000_FWSM_MODE_MASK@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	andl	(%rcx), %eax
	setne	%dl
	movl	%edx, 8(%rbx)
	movl	$0, 12(%rbx)
	movq	%rbx, %rdi
	callq	*16(%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_media_type_internal_serdes,4,2 ## @e1000_media_type_internal_serdes
	.comm	_e1000e_check_for_serdes_link,4,2 ## @e1000e_check_for_serdes_link
	.comm	_e1000e_setup_fiber_serdes_link,4,2 ## @e1000e_setup_fiber_serdes_link
	.comm	_e1000_media_type_copper,4,2    ## @e1000_media_type_copper
	.comm	_e1000e_check_for_copper_link,4,2 ## @e1000e_check_for_copper_link
	.comm	_e1000_setup_copper_link_80003es2lan,4,2 ## @e1000_setup_copper_link_80003es2lan
	.comm	_E1000_RAR_ENTRIES,4,2          ## @E1000_RAR_ENTRIES
	.comm	_FWSM,4,2                       ## @FWSM
	.comm	_E1000_FWSM_MODE_MASK,4,2       ## @E1000_FWSM_MODE_MASK
	.no_dead_strip	_e1000_init_mac_params_80003es2lan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function e1000_init_mac_params_80003es2lan
lCPI0_0:
	.long	128                             ; 0x80
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_e1000_init_mac_params_80003es2lan:     ; @e1000_init_mac_params_80003es2lan
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #48]
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _e1000e_setup_fiber_serdes_link@GOTPAGE
Lloh1:
	ldr	x9, [x9, _e1000e_setup_fiber_serdes_link@GOTPAGEOFF]
Lloh2:
	adrp	x10, _e1000_setup_copper_link_80003es2lan@GOTPAGE
Lloh3:
	ldr	x10, [x10, _e1000_setup_copper_link_80003es2lan@GOTPAGEOFF]
	cmp	w8, #128
	csel	x8, x9, x10, eq
Lloh4:
	adrp	x9, _e1000e_check_for_serdes_link@GOTPAGE
Lloh5:
	ldr	x9, [x9, _e1000e_check_for_serdes_link@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh6:
	adrp	x10, _e1000e_check_for_copper_link@GOTPAGE
Lloh7:
	ldr	x10, [x10, _e1000e_check_for_copper_link@GOTPAGEOFF]
	csel	x9, x9, x10, eq
Lloh8:
	adrp	x10, _e1000_media_type_internal_serdes@GOTPAGE
Lloh9:
	ldr	x10, [x10, _e1000_media_type_internal_serdes@GOTPAGEOFF]
	ldr	w9, [x9]
Lloh10:
	adrp	x11, _e1000_media_type_copper@GOTPAGE
Lloh11:
	ldr	x11, [x11, _e1000_media_type_copper@GOTPAGEOFF]
	csel	x10, x10, x11, eq
	ldr	w10, [x10]
	str	w10, [x0, #40]
	stp	w8, w9, [x0, #24]
Lloh12:
	adrp	x8, lCPI0_0@PAGE
Lloh13:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
Lloh14:
	adrp	x8, _E1000_RAR_ENTRIES@GOTPAGE
Lloh15:
	ldr	x8, [x8, _E1000_RAR_ENTRIES@GOTPAGEOFF]
	str	d0, [x0]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x0, #32]
Lloh17:
	adrp	x8, _FWSM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FWSM@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_er32
Lloh20:
	adrp	x8, _E1000_FWSM_MODE_MASK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _E1000_FWSM_MODE_MASK@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w8, ne
	stp	w8, wzr, [x19, #8]
	ldr	x8, [x19, #16]
	mov	x0, x19
	blr	x8
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdrp	Lloh12, Lloh14
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_media_type_internal_serdes,4,2 ; @e1000_media_type_internal_serdes
	.comm	_e1000e_check_for_serdes_link,4,2 ; @e1000e_check_for_serdes_link
	.comm	_e1000e_setup_fiber_serdes_link,4,2 ; @e1000e_setup_fiber_serdes_link
	.comm	_e1000_media_type_copper,4,2    ; @e1000_media_type_copper
	.comm	_e1000e_check_for_copper_link,4,2 ; @e1000e_check_for_copper_link
	.comm	_e1000_setup_copper_link_80003es2lan,4,2 ; @e1000_setup_copper_link_80003es2lan
	.comm	_E1000_RAR_ENTRIES,4,2          ; @E1000_RAR_ENTRIES
	.comm	_FWSM,4,2                       ; @FWSM
	.comm	_E1000_FWSM_MODE_MASK,4,2       ; @E1000_FWSM_MODE_MASK
	.no_dead_strip	_e1000_init_mac_params_80003es2lan
.subsections_via_symbols
