	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000_has_link                 ## -- Begin function e1000_has_link
	.p2align	4, 0x90
_e1000_has_link:                        ## @e1000_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %ecx
	cmpl	$128, %ecx
	je	LBB0_9
## %bb.1:
	cmpl	$129, %ecx
	je	LBB0_8
## %bb.2:
	xorl	%eax, %eax
	cmpl	$130, %ecx
	jne	LBB0_10
## %bb.3:
	movl	12(%rbx), %eax
	movq	_e1000_ce4100@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
## %bb.4:
	movl	$1, 4(%rbx)
	jmp	LBB0_5
LBB0_9:
	movq	%rbx, %rdi
	callq	_e1000_check_for_link
	movl	8(%rbx), %eax
	jmp	LBB0_10
LBB0_8:
	movq	%rbx, %rdi
	callq	_e1000_check_for_link
	movq	_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_er32
	movl	%eax, %ecx
	movq	_E1000_STATUS_LU@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	testl	%ecx, (%rdx)
	setne	%al
	jmp	LBB0_10
LBB0_6:
	cmpl	$0, 4(%rbx)
	je	LBB0_7
LBB0_5:
	movq	%rbx, %rdi
	callq	_e1000_check_for_link
	xorl	%eax, %eax
	cmpl	$0, 4(%rbx)
	sete	%al
	jmp	LBB0_10
LBB0_7:
	movl	$1, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_ce4100,4,2               ## @e1000_ce4100
	.comm	_STATUS,4,2                     ## @STATUS
	.comm	_E1000_STATUS_LU,4,2            ## @E1000_STATUS_LU
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000_has_link                 ; -- Begin function e1000_has_link
	.p2align	2
_e1000_has_link:                        ; @e1000_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]
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w8, #130
	b.ne	LBB0_7
; %bb.3:
	ldr	w8, [x19, #12]
Lloh0:
	adrp	x9, _e1000_ce4100@GOTPAGE
Lloh1:
	ldr	x9, [x9, _e1000_ce4100@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.4:
	mov	w8, #1
	str	w8, [x19, #4]
	b	LBB0_9
LBB0_5:
	mov	x0, x19
	bl	_e1000_check_for_link
	ldr	w0, [x19, #8]
	b	LBB0_11
LBB0_6:
	mov	x0, x19
	bl	_e1000_check_for_link
Lloh3:
	adrp	x8, _STATUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STATUS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_er32
Lloh6:
	adrp	x8, _E1000_STATUS_LU@GOTPAGE
Lloh7:
	ldr	x8, [x8, _E1000_STATUS_LU@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w0, ne
	b	LBB0_11
LBB0_7:
	mov	w0, #0
	b	LBB0_11
LBB0_8:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_10
LBB0_9:
	mov	x0, x19
	bl	_e1000_check_for_link
	ldr	w8, [x19, #4]
	cmp	w8, #0
	cset	w0, eq
	b	LBB0_11
LBB0_10:
	mov	w0, #1
LBB0_11:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_ce4100,4,2               ; @e1000_ce4100
	.comm	_STATUS,4,2                     ; @STATUS
	.comm	_E1000_STATUS_LU,4,2            ; @E1000_STATUS_LU
.subsections_via_symbols
