	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbevf_check_mac_link_vf
_ixgbevf_check_mac_link_vf:             ## @ixgbevf_check_mac_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	$0, -44(%rbp)
	callq	*32(%rdi)
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	cmpl	$0, 16(%r14)
	je	LBB0_2
## %bb.15:
	cmpl	$0, (%r14)
	jne	LBB0_3
## %bb.16:
	xorl	%r15d, %r15d
	jmp	LBB0_20
LBB0_2:
	movl	$1, (%r14)
LBB0_3:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	_IXGBE_VFLINKS@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_LINKS_UP@GOTPCREL(%rip), %rbx
	xorl	%r15d, %r15d
	testl	%eax, (%rbx)
	je	LBB0_20
## %bb.4:
	movq	8(%r14), %rcx
	movq	_ixgbe_mac_82599_vf@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_10
## %bb.5:
	movl	$100, %edi
	callq	_udelay
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_IXGBE_READ_REG
	testl	%eax, (%rbx)
	je	LBB0_20
## %bb.6:
	movl	$100, %edi
	callq	_udelay
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_IXGBE_READ_REG
	testl	%eax, (%rbx)
	je	LBB0_20
## %bb.7:
	movl	$100, %edi
	callq	_udelay
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_IXGBE_READ_REG
	testl	%eax, (%rbx)
	je	LBB0_20
## %bb.8:
	movl	$100, %edi
	callq	_udelay
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_IXGBE_READ_REG
	testl	%eax, (%rbx)
	je	LBB0_20
## %bb.9:
	movl	$100, %edi
	callq	_udelay
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_IXGBE_READ_REG
	testl	%eax, (%rbx)
	je	LBB0_20
LBB0_10:
	movq	_IXGBE_LINKS_SPEED_82599@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_12
## %bb.11:
	cltq
	leaq	l_switch.table.ixgbevf_check_mac_link_vf(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
LBB0_12:
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	*24(%r14)
	testq	%rax, %rax
	je	LBB0_13
LBB0_20:
	xorl	%eax, %eax
	cmpl	$0, (%r14)
	sete	%al
	movl	%eax, (%r12)
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movl	-44(%rbp), %eax
	movq	_IXGBE_VT_MSGTYPE_CTS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.17:
	cmpl	$0, 16(%r14)
	je	LBB0_18
## %bb.19:
	movl	$0, (%r14)
	jmp	LBB0_20
LBB0_14:
	movq	_IXGBE_VT_MSGTYPE_NACK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	xorl	%r15d, %r15d
	negl	%eax
	sbbl	%r15d, %r15d
	jmp	LBB0_20
LBB0_18:
	movl	$-1, %r15d
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_VFLINKS,4,2              ## @IXGBE_VFLINKS
	.comm	_IXGBE_LINKS_UP,4,2             ## @IXGBE_LINKS_UP
	.comm	_ixgbe_mac_82599_vf,8,3         ## @ixgbe_mac_82599_vf
	.comm	_IXGBE_LINKS_SPEED_82599,4,2    ## @IXGBE_LINKS_SPEED_82599
	.comm	_IXGBE_LINK_SPEED_10GB_FULL,4,2 ## @IXGBE_LINK_SPEED_10GB_FULL
	.comm	_IXGBE_LINK_SPEED_1GB_FULL,4,2  ## @IXGBE_LINK_SPEED_1GB_FULL
	.comm	_IXGBE_LINK_SPEED_100_FULL,4,2  ## @IXGBE_LINK_SPEED_100_FULL
	.comm	_IXGBE_VT_MSGTYPE_CTS,4,2       ## @IXGBE_VT_MSGTYPE_CTS
	.comm	_IXGBE_VT_MSGTYPE_NACK,4,2      ## @IXGBE_VT_MSGTYPE_NACK
	.no_dead_strip	_ixgbevf_check_mac_link_vf
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.ixgbevf_check_mac_link_vf
l_switch.table.ixgbevf_check_mac_link_vf:
	.quad	_IXGBE_LINK_SPEED_1GB_FULL
	.quad	_IXGBE_LINK_SPEED_10GB_FULL
	.quad	_IXGBE_LINK_SPEED_100_FULL

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbevf_check_mac_link_vf
_ixgbevf_check_mac_link_vf:             ; @ixgbevf_check_mac_link_vf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	str	wzr, [sp, #12]
	ldr	x8, [x0, #32]
	blr	x8
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w8, [x20, #16]
	cbz	w8, LBB0_3
; %bb.2:
	ldr	w8, [x20]
	cbnz	w8, LBB0_4
	b	LBB0_14
LBB0_3:
	mov	w8, #1
	str	w8, [x20]
LBB0_4:
Lloh0:
	adrp	x22, _IXGBE_VFLINKS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _IXGBE_VFLINKS@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_IXGBE_READ_REG
Lloh2:
	adrp	x23, _IXGBE_LINKS_UP@GOTPAGE
Lloh3:
	ldr	x23, [x23, _IXGBE_LINKS_UP@GOTPAGEOFF]
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_14
; %bb.5:
	ldr	x8, [x20, #8]
Lloh4:
	adrp	x9, _ixgbe_mac_82599_vf@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ixgbe_mac_82599_vf@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.6:
	mov	w0, #100
	bl	_udelay
	ldr	w1, [x22]
	mov	x0, x20
	bl	_IXGBE_READ_REG
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_14
; %bb.7:
	mov	w0, #100
	bl	_udelay
	ldr	w1, [x22]
	mov	x0, x20
	bl	_IXGBE_READ_REG
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_14
; %bb.8:
	mov	w0, #100
	bl	_udelay
	ldr	w1, [x22]
	mov	x0, x20
	bl	_IXGBE_READ_REG
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_14
; %bb.9:
	mov	w0, #100
	bl	_udelay
	ldr	w1, [x22]
	mov	x0, x20
	bl	_IXGBE_READ_REG
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_14
; %bb.10:
	mov	w0, #100
	bl	_udelay
	ldr	w1, [x22]
	mov	x0, x20
	bl	_IXGBE_READ_REG
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_14
LBB0_11:
Lloh7:
	adrp	x8, _IXGBE_LINKS_SPEED_82599@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IXGBE_LINKS_SPEED_82599@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	and	w8, w8, w0
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_13
; %bb.12:
Lloh10:
	adrp	x9, l_switch.table.ixgbevf_check_mac_link_vf@PAGE
Lloh11:
	add	x9, x9, l_switch.table.ixgbevf_check_mac_link_vf@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w8, [x8]
	str	w8, [x21]
LBB0_13:
	ldr	x8, [x20, #24]
	add	x1, sp, #12
	mov	x0, x20
	mov	w2, #1
	blr	x8
	cbz	x0, LBB0_16
LBB0_14:
	mov	w0, #0
LBB0_15:
	ldr	w8, [x20]
	cmp	w8, #0
	cset	w8, eq
	str	w8, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_16:
	ldr	w8, [sp, #12]
Lloh12:
	adrp	x9, _IXGBE_VT_MSGTYPE_CTS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IXGBE_VT_MSGTYPE_CTS@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.17:
	ldr	w8, [x20, #16]
	cbz	w8, LBB0_20
; %bb.18:
	mov	w0, #0
	str	wzr, [x20]
	b	LBB0_15
LBB0_19:
Lloh15:
	adrp	x9, _IXGBE_VT_MSGTYPE_NACK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IXGBE_VT_MSGTYPE_NACK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	csetm	w0, ne
	b	LBB0_15
LBB0_20:
	mov	w0, #-1
	b	LBB0_15
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_VFLINKS,4,2              ; @IXGBE_VFLINKS
	.comm	_IXGBE_LINKS_UP,4,2             ; @IXGBE_LINKS_UP
	.comm	_ixgbe_mac_82599_vf,8,3         ; @ixgbe_mac_82599_vf
	.comm	_IXGBE_LINKS_SPEED_82599,4,2    ; @IXGBE_LINKS_SPEED_82599
	.comm	_IXGBE_LINK_SPEED_10GB_FULL,4,2 ; @IXGBE_LINK_SPEED_10GB_FULL
	.comm	_IXGBE_LINK_SPEED_1GB_FULL,4,2  ; @IXGBE_LINK_SPEED_1GB_FULL
	.comm	_IXGBE_LINK_SPEED_100_FULL,4,2  ; @IXGBE_LINK_SPEED_100_FULL
	.comm	_IXGBE_VT_MSGTYPE_CTS,4,2       ; @IXGBE_VT_MSGTYPE_CTS
	.comm	_IXGBE_VT_MSGTYPE_NACK,4,2      ; @IXGBE_VT_MSGTYPE_NACK
	.no_dead_strip	_ixgbevf_check_mac_link_vf
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.ixgbevf_check_mac_link_vf
l_switch.table.ixgbevf_check_mac_link_vf:
	.quad	_IXGBE_LINK_SPEED_1GB_FULL
	.quad	_IXGBE_LINK_SPEED_10GB_FULL
	.quad	_IXGBE_LINK_SPEED_100_FULL

.subsections_via_symbols
