	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_get_eee
_igb_get_eee:                           ## @igb_get_eee
	.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	%rsi, %r14
	callq	_netdev_priv
	cmpl	$128, 12(%rax)
	jl	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movq	16(%rbx), %rax
	movq	_e1000_media_type_copper@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.4:
	movq	%rbx, %r13
	movq	_SUPPORTED_1000baseT_Full@GOTPCREL(%rip), %rax
	movq	_SUPPORTED_100baseT_Full@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%r14)
	movq	_E1000_IPCNFG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd32
	movl	%eax, %r12d
	movq	_E1000_EEER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd32
	movl	%eax, %r15d
	movq	_E1000_IPCNFG_EEE_1G_AN@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_ADVERTISED_1000baseT_Full@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
LBB0_6:
	movq	_E1000_IPCNFG_EEE_100M_AN@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_ADVERTISED_100baseT_Full@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r14)
LBB0_8:
	addq	$8, %rbx
	movl	12(%r13), %eax
	leal	-129(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_9
## %bb.13:
	movq	_E1000_EEE_LP_ADV_ADDR_I210@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_E1000_EEE_LP_ADV_DEV_I210@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_igb_read_xmdio_reg
	testl	%eax, %eax
	je	LBB0_14
LBB0_12:
	movq	_ENODATA@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	cmpl	$128, %eax
	jne	LBB0_15
## %bb.10:
	movq	_E1000_EEE_LP_ADV_ADDR_I350@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_igb_read_emi_reg
	testl	%eax, %eax
	jne	LBB0_12
LBB0_14:
	movl	-44(%rbp), %edi
	callq	_mmd_eee_adv_to_ethtool_adv_t
	movq	%rax, 24(%r14)
LBB0_15:
	movq	_E1000_EEER_EEE_NEG@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_17
## %bb.16:
	movl	$1, 4(%r14)
LBB0_17:
	xorl	%eax, %eax
	cmpl	$0, (%rbx)
	sete	%al
	movl	%eax, 8(%r14)
	movq	_E1000_EEER_TX_LPI_EN@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_19
## %bb.18:
	movl	$1, 12(%r14)
LBB0_19:
	movq	(%r13), %rcx
	movq	_HALF_DUPLEX@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_21
## %bb.20:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 4(%r14)
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_media_type_copper,8,3    ## @e1000_media_type_copper
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_SUPPORTED_1000baseT_Full,4,2   ## @SUPPORTED_1000baseT_Full
	.comm	_SUPPORTED_100baseT_Full,4,2    ## @SUPPORTED_100baseT_Full
	.comm	_E1000_IPCNFG,4,2               ## @E1000_IPCNFG
	.comm	_E1000_EEER,4,2                 ## @E1000_EEER
	.comm	_E1000_IPCNFG_EEE_1G_AN,4,2     ## @E1000_IPCNFG_EEE_1G_AN
	.comm	_ADVERTISED_1000baseT_Full,4,2  ## @ADVERTISED_1000baseT_Full
	.comm	_E1000_IPCNFG_EEE_100M_AN,4,2   ## @E1000_IPCNFG_EEE_100M_AN
	.comm	_ADVERTISED_100baseT_Full,4,2   ## @ADVERTISED_100baseT_Full
	.comm	_E1000_EEE_LP_ADV_ADDR_I350,4,2 ## @E1000_EEE_LP_ADV_ADDR_I350
	.comm	_ENODATA,4,2                    ## @ENODATA
	.comm	_E1000_EEE_LP_ADV_ADDR_I210,4,2 ## @E1000_EEE_LP_ADV_ADDR_I210
	.comm	_E1000_EEE_LP_ADV_DEV_I210,4,2  ## @E1000_EEE_LP_ADV_DEV_I210
	.comm	_E1000_EEER_EEE_NEG,4,2         ## @E1000_EEER_EEE_NEG
	.comm	_E1000_EEER_TX_LPI_EN,4,2       ## @E1000_EEER_TX_LPI_EN
	.comm	_HALF_DUPLEX,8,3                ## @HALF_DUPLEX
	.no_dead_strip	_igb_get_eee
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_get_eee
_igb_get_eee:                           ; @igb_get_eee
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	bl	_netdev_priv
	ldr	w8, [x0, #12]
	cmp	w8, #128
	b.lt	LBB0_9
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0, #16]
Lloh0:
	adrp	x9, _e1000_media_type_copper@GOTPAGE
Lloh1:
	ldr	x9, [x9, _e1000_media_type_copper@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.2:
Lloh3:
	adrp	x8, _SUPPORTED_1000baseT_Full@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SUPPORTED_1000baseT_Full@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _SUPPORTED_100baseT_Full@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SUPPORTED_100baseT_Full@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh9:
	adrp	x8, _E1000_IPCNFG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _E1000_IPCNFG@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_rd32
	mov	x22, x0
Lloh12:
	adrp	x8, _E1000_EEER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _E1000_EEER@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_rd32
	mov	x21, x0
Lloh15:
	adrp	x8, _E1000_IPCNFG_EEE_1G_AN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _E1000_IPCNFG_EEE_1G_AN@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_4
; %bb.3:
Lloh18:
	adrp	x8, _ADVERTISED_1000baseT_Full@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ADVERTISED_1000baseT_Full@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x19, #16]
LBB0_4:
Lloh21:
	adrp	x8, _E1000_IPCNFG_EEE_100M_AN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _E1000_IPCNFG_EEE_100M_AN@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_6
; %bb.5:
Lloh24:
	adrp	x8, _ADVERTISED_100baseT_Full@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ADVERTISED_100baseT_Full@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
LBB0_6:
	add	x22, x20, #8
	ldr	w8, [x20, #12]
	sub	w9, w8, #129
	cmp	w9, #2
	b.hs	LBB0_12
; %bb.7:
Lloh27:
	adrp	x8, _E1000_EEE_LP_ADV_ADDR_I210@GOTPAGE
Lloh28:
	ldr	x8, [x8, _E1000_EEE_LP_ADV_ADDR_I210@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x8, _E1000_EEE_LP_ADV_DEV_I210@GOTPAGE
Lloh31:
	ldr	x8, [x8, _E1000_EEE_LP_ADV_DEV_I210@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x0, x22
	bl	_igb_read_xmdio_reg
	cbz	w0, LBB0_14
LBB0_8:
Lloh33:
	adrp	x8, _ENODATA@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ENODATA@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh35:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh36:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_12:
	cmp	w8, #128
	b.ne	LBB0_15
; %bb.13:
Lloh37:
	adrp	x8, _E1000_EEE_LP_ADV_ADDR_I350@GOTPAGE
Lloh38:
	ldr	x8, [x8, _E1000_EEE_LP_ADV_ADDR_I350@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x22
	bl	_igb_read_emi_reg
	cbnz	w0, LBB0_8
LBB0_14:
	ldr	w0, [sp, #12]
	bl	_mmd_eee_adv_to_ethtool_adv_t
	str	x0, [x19, #24]
LBB0_15:
Lloh40:
	adrp	x8, _E1000_EEER_EEE_NEG@GOTPAGE
Lloh41:
	ldr	x8, [x8, _E1000_EEER_EEE_NEG@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_17
; %bb.16:
	mov	w8, #1
	str	w8, [x19, #4]
LBB0_17:
	ldr	w8, [x22]
	cmp	w8, #0
	cset	w8, eq
	str	w8, [x19, #8]
Lloh43:
	adrp	x8, _E1000_EEER_TX_LPI_EN@GOTPAGE
Lloh44:
	ldr	x8, [x8, _E1000_EEER_TX_LPI_EN@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_19
; %bb.18:
	mov	w8, #1
	str	w8, [x19, #12]
LBB0_19:
	ldr	x8, [x20]
Lloh46:
	adrp	x9, _HALF_DUPLEX@GOTPAGE
Lloh47:
	ldr	x9, [x9, _HALF_DUPLEX@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.20:
	mov	w0, #0
	stur	xzr, [x19, #12]
	stur	xzr, [x19, #4]
	b	LBB0_11
LBB0_21:
	mov	w0, #0
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_media_type_copper,8,3    ; @e1000_media_type_copper
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_SUPPORTED_1000baseT_Full,4,2   ; @SUPPORTED_1000baseT_Full
	.comm	_SUPPORTED_100baseT_Full,4,2    ; @SUPPORTED_100baseT_Full
	.comm	_E1000_IPCNFG,4,2               ; @E1000_IPCNFG
	.comm	_E1000_EEER,4,2                 ; @E1000_EEER
	.comm	_E1000_IPCNFG_EEE_1G_AN,4,2     ; @E1000_IPCNFG_EEE_1G_AN
	.comm	_ADVERTISED_1000baseT_Full,4,2  ; @ADVERTISED_1000baseT_Full
	.comm	_E1000_IPCNFG_EEE_100M_AN,4,2   ; @E1000_IPCNFG_EEE_100M_AN
	.comm	_ADVERTISED_100baseT_Full,4,2   ; @ADVERTISED_100baseT_Full
	.comm	_E1000_EEE_LP_ADV_ADDR_I350,4,2 ; @E1000_EEE_LP_ADV_ADDR_I350
	.comm	_ENODATA,4,2                    ; @ENODATA
	.comm	_E1000_EEE_LP_ADV_ADDR_I210,4,2 ; @E1000_EEE_LP_ADV_ADDR_I210
	.comm	_E1000_EEE_LP_ADV_DEV_I210,4,2  ; @E1000_EEE_LP_ADV_DEV_I210
	.comm	_E1000_EEER_EEE_NEG,4,2         ; @E1000_EEER_EEE_NEG
	.comm	_E1000_EEER_TX_LPI_EN,4,2       ; @E1000_EEER_TX_LPI_EN
	.comm	_HALF_DUPLEX,8,3                ; @HALF_DUPLEX
	.no_dead_strip	_igb_get_eee
.subsections_via_symbols
