	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_check_for_link_vf
_e1000_check_for_link_vf:               ## @e1000_check_for_link_vf
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_E1000_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	$0, -20(%rbp)
	callq	*24(%rdi)
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	cmpl	$0, 8(%rbx)
	je	LBB0_2
## %bb.3:
	cmpl	$0, (%rbx)
	jne	LBB0_4
	jmp	LBB0_11
LBB0_2:
	movl	$1, (%rbx)
LBB0_4:
	movq	_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_er32
	movq	_E1000_STATUS_LU@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.5:
	leaq	-20(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	*16(%rbx)
	testq	%rax, %rax
	jne	LBB0_11
## %bb.6:
	movl	-20(%rbp), %eax
	movq	_E1000_VT_MSGTYPE_CTS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.9:
	cmpl	$0, 8(%rbx)
	je	LBB0_8
## %bb.10:
	movl	$0, (%rbx)
	jmp	LBB0_11
LBB0_7:
	movq	_E1000_VT_MSGTYPE_NACK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
LBB0_8:
	movq	_E1000_ERR_MAC_INIT@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_11:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_SUCCESS,4,2              ## @E1000_SUCCESS
	.comm	_STATUS,4,2                     ## @STATUS
	.comm	_E1000_STATUS_LU,4,2            ## @E1000_STATUS_LU
	.comm	_E1000_VT_MSGTYPE_CTS,4,2       ## @E1000_VT_MSGTYPE_CTS
	.comm	_E1000_VT_MSGTYPE_NACK,4,2      ## @E1000_VT_MSGTYPE_NACK
	.comm	_E1000_ERR_MAC_INIT,4,2         ## @E1000_ERR_MAC_INIT
	.no_dead_strip	_e1000_check_for_link_vf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_check_for_link_vf
_e1000_check_for_link_vf:               ; @e1000_check_for_link_vf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
Lloh0:
	adrp	x8, _E1000_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E1000_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	str	wzr, [sp, #12]
	ldr	x8, [x0, #24]
	blr	x8
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_3
; %bb.2:
	ldr	w8, [x20]
	cbnz	w8, LBB0_4
	b	LBB0_11
LBB0_3:
	mov	w8, #1
	str	w8, [x20]
LBB0_4:
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
	b.eq	LBB0_11
; %bb.5:
	ldr	x8, [x20, #16]
	add	x1, sp, #12
	mov	x0, x20
	mov	w2, #1
	blr	x8
	cbnz	x0, LBB0_11
; %bb.6:
	ldr	w8, [sp, #12]
Lloh9:
	adrp	x9, _E1000_VT_MSGTYPE_CTS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _E1000_VT_MSGTYPE_CTS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.7:
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_10
; %bb.8:
	str	wzr, [x20]
	b	LBB0_11
LBB0_9:
Lloh12:
	adrp	x9, _E1000_VT_MSGTYPE_NACK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _E1000_VT_MSGTYPE_NACK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
LBB0_10:
Lloh15:
	adrp	x8, _E1000_ERR_MAC_INIT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _E1000_ERR_MAC_INIT@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_SUCCESS,4,2              ; @E1000_SUCCESS
	.comm	_STATUS,4,2                     ; @STATUS
	.comm	_E1000_STATUS_LU,4,2            ; @E1000_STATUS_LU
	.comm	_E1000_VT_MSGTYPE_CTS,4,2       ; @E1000_VT_MSGTYPE_CTS
	.comm	_E1000_VT_MSGTYPE_NACK,4,2      ; @E1000_VT_MSGTYPE_NACK
	.comm	_E1000_ERR_MAC_INIT,4,2         ; @E1000_ERR_MAC_INIT
	.no_dead_strip	_e1000_check_for_link_vf
.subsections_via_symbols
