	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igc_has_link                   ## -- Begin function igc_has_link
	.p2align	4, 0x90
_igc_has_link:                          ## @igc_has_link
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorl	%r14d, %r14d
	cmpl	$129, 16(%rdi)
	jne	LBB0_4
## %bb.1:
	cmpl	$0, 40(%rbx)
	je	LBB0_2
## %bb.3:
	leaq	16(%rbx), %rdi
	callq	*48(%rbx)
	xorl	%r14d, %r14d
	cmpl	$0, 40(%rbx)
	sete	%r14b
LBB0_4:
	movq	32(%rbx), %rax
	movq	_igc_i225@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.5:
	movq	24(%rbx), %rax
	movq	_I225_I_PHY_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.6:
	movl	8(%rbx), %edi
	callq	_netif_carrier_ok
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movl	(%rbx), %eax
	movq	_IGC_FLAG_NEED_LINK_UPDATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	jne	LBB0_10
## %bb.9:
	orl	%eax, %ecx
	movl	%ecx, (%rbx)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	jmp	LBB0_10
LBB0_2:
	movl	$1, %r14d
	jmp	LBB0_10
LBB0_7:
	movq	_IGC_FLAG_NEED_LINK_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rbx)
LBB0_10:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_igc_i225,8,3                   ## @igc_i225
	.comm	_I225_I_PHY_ID,8,3              ## @I225_I_PHY_ID
	.comm	_IGC_FLAG_NEED_LINK_UPDATE,4,2  ## @IGC_FLAG_NEED_LINK_UPDATE
	.comm	_jiffies,4,2                    ## @jiffies
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igc_has_link                   ; -- Begin function igc_has_link
	.p2align	2
_igc_has_link:                          ; @igc_has_link
	.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	w8, [x0, #16]!
	cmp	w8, #129
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x19, #40]
	cbz	w8, LBB0_9
; %bb.2:
	ldr	x8, [x19, #48]
	blr	x8
	ldr	w8, [x19, #40]
	cmp	w8, #0
	cset	w20, eq
	b	LBB0_4
LBB0_3:
	mov	w20, #0
LBB0_4:
	ldr	x8, [x19, #32]
Lloh0:
	adrp	x9, _igc_i225@GOTPAGE
Lloh1:
	ldr	x9, [x9, _igc_i225@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.5:
	ldr	x8, [x19, #24]
Lloh3:
	adrp	x9, _I225_I_PHY_ID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I225_I_PHY_ID@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.6:
	ldr	w0, [x19, #8]
	bl	_netif_carrier_ok
	cbz	w0, LBB0_10
; %bb.7:
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _IGC_FLAG_NEED_LINK_UPDATE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IGC_FLAG_NEED_LINK_UPDATE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_11
; %bb.8:
	orr	w8, w9, w8
	str	w8, [x19]
Lloh9:
	adrp	x8, _jiffies@GOTPAGE
Lloh10:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	b	LBB0_11
LBB0_9:
	mov	w20, #1
	b	LBB0_11
LBB0_10:
Lloh12:
	adrp	x8, _IGC_FLAG_NEED_LINK_UPDATE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IGC_FLAG_NEED_LINK_UPDATE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_igc_i225,8,3                   ; @igc_i225
	.comm	_I225_I_PHY_ID,8,3              ; @I225_I_PHY_ID
	.comm	_IGC_FLAG_NEED_LINK_UPDATE,4,2  ; @IGC_FLAG_NEED_LINK_UPDATE
	.comm	_jiffies,4,2                    ; @jiffies
.subsections_via_symbols
