	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_has_link                   ## -- Begin function igb_has_link
	.p2align	4, 0x90
_igb_has_link:                          ## @igb_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
	movl	16(%rdi), %eax
	cmpl	$129, %eax
	je	LBB0_4
## %bb.1:
	xorl	%r14d, %r14d
	cmpl	$130, %eax
	jne	LBB0_5
## %bb.2:
	cmpl	$0, 40(%rbx)
	je	LBB0_3
LBB0_4:
	leaq	16(%rbx), %rdi
	callq	*48(%rbx)
	xorl	%r14d, %r14d
	cmpl	$0, 40(%rbx)
	sete	%r14b
LBB0_5:
	movq	32(%rbx), %rax
	movq	_e1000_i210@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.6:
	movq	_e1000_i211@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
LBB0_7:
	movq	24(%rbx), %rax
	movq	_I210_I_PHY_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.8:
	movl	8(%rbx), %edi
	callq	_netif_carrier_ok
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movl	(%rbx), %eax
	movq	_IGB_FLAG_NEED_LINK_UPDATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	jne	LBB0_12
## %bb.11:
	orl	%eax, %ecx
	movl	%ecx, (%rbx)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	jmp	LBB0_12
LBB0_3:
	movl	$1, %r14d
	jmp	LBB0_12
LBB0_9:
	movq	_IGB_FLAG_NEED_LINK_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rbx)
LBB0_12:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_i210,8,3                 ## @e1000_i210
	.comm	_e1000_i211,8,3                 ## @e1000_i211
	.comm	_I210_I_PHY_ID,8,3              ## @I210_I_PHY_ID
	.comm	_IGB_FLAG_NEED_LINK_UPDATE,4,2  ## @IGB_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	_igb_has_link                   ; -- Begin function igb_has_link
	.p2align	2
_igb_has_link:                          ; @igb_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.eq	LBB0_3
; %bb.1:
	cmp	w8, #130
	b.ne	LBB0_4
; %bb.2:
	ldr	w8, [x19, #40]
	cbz	w8, LBB0_10
LBB0_3:
	ldr	x8, [x19, #48]
	blr	x8
	ldr	w8, [x19, #40]
	cmp	w8, #0
	cset	w20, eq
	b	LBB0_5
LBB0_4:
	mov	w20, #0
LBB0_5:
	ldr	x8, [x19, #32]
Lloh0:
	adrp	x9, _e1000_i210@GOTPAGE
Lloh1:
	ldr	x9, [x9, _e1000_i210@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _e1000_i211@GOTPAGE
Lloh4:
	ldr	x10, [x10, _e1000_i211@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_12
; %bb.6:
	ldr	x8, [x19, #24]
Lloh6:
	adrp	x9, _I210_I_PHY_ID@GOTPAGE
Lloh7:
	ldr	x9, [x9, _I210_I_PHY_ID@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.7:
	ldr	w0, [x19, #8]
	bl	_netif_carrier_ok
	cbz	w0, LBB0_11
; %bb.8:
	ldr	w8, [x19]
Lloh9:
	adrp	x9, _IGB_FLAG_NEED_LINK_UPDATE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IGB_FLAG_NEED_LINK_UPDATE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_12
; %bb.9:
	orr	w8, w9, w8
	str	w8, [x19]
Lloh12:
	adrp	x8, _jiffies@GOTPAGE
Lloh13:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	b	LBB0_12
LBB0_10:
	mov	w20, #1
	b	LBB0_12
LBB0_11:
Lloh15:
	adrp	x8, _IGB_FLAG_NEED_LINK_UPDATE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IGB_FLAG_NEED_LINK_UPDATE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_i210,8,3                 ; @e1000_i210
	.comm	_e1000_i211,8,3                 ; @e1000_i211
	.comm	_I210_I_PHY_ID,8,3              ; @I210_I_PHY_ID
	.comm	_IGB_FLAG_NEED_LINK_UPDATE,4,2  ; @IGB_FLAG_NEED_LINK_UPDATE
	.comm	_jiffies,4,2                    ; @jiffies
.subsections_via_symbols
