	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbevf_negotiate_api_version_vf
_ixgbevf_negotiate_api_version_vf:      ## @ixgbevf_negotiate_api_version_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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_IXGBE_VF_API_NEGOTIATE@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movl	%eax, -52(%rbp)
	movl	%esi, -48(%rbp)
	movl	$0, -44(%rbp)
	leaq	-52(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_ixgbevf_write_msg_read_ack
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	_IXGBE_VT_MSGTYPE_CTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	-52(%rbp), %eax
	movq	_IXGBE_VT_MSGTYPE_ACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%r12), %ecx
	cmpl	%ecx, %eax
	jne	LBB0_3
## %bb.2:
	movl	%r14d, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_3:
	movq	_IXGBE_ERR_INVALID_ARGUMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_6
## %bb.5:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_VF_API_NEGOTIATE,4,2     ## @IXGBE_VF_API_NEGOTIATE
	.comm	_IXGBE_VT_MSGTYPE_CTS,4,2       ## @IXGBE_VT_MSGTYPE_CTS
	.comm	_IXGBE_VT_MSGTYPE_ACK,4,2       ## @IXGBE_VT_MSGTYPE_ACK
	.comm	_IXGBE_ERR_INVALID_ARGUMENT,4,2 ## @IXGBE_ERR_INVALID_ARGUMENT
	.no_dead_strip	_ixgbevf_negotiate_api_version_vf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbevf_negotiate_api_version_vf
_ixgbevf_negotiate_api_version_vf:      ; @ixgbevf_negotiate_api_version_vf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x21, _IXGBE_VF_API_NEGOTIATE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _IXGBE_VF_API_NEGOTIATE@GOTPAGEOFF]
	ldr	w8, [x21]
	stp	w8, w1, [sp, #12]
	str	wzr, [sp, #20]
	add	x0, sp, #12
	bl	_ARRAY_SIZE
	mov	x3, x0
	add	x1, sp, #12
	add	x2, sp, #12
	mov	x0, x20
	bl	_ixgbevf_write_msg_read_ack
	cbnz	w0, LBB0_4
; %bb.1:
Lloh5:
	adrp	x8, _IXGBE_VT_MSGTYPE_CTS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IXGBE_VT_MSGTYPE_CTS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w8, w9, w8
	ldr	w9, [x21]
Lloh8:
	adrp	x10, _IXGBE_VT_MSGTYPE_ACK@GOTPAGE
Lloh9:
	ldr	x10, [x10, _IXGBE_VT_MSGTYPE_ACK@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	orr	w9, w10, w9
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	str	w19, [x20]
	b	LBB0_4
LBB0_3:
Lloh11:
	adrp	x8, _IXGBE_ERR_INVALID_ARGUMENT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IXGBE_ERR_INVALID_ARGUMENT@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
LBB0_4:
	ldr	x8, [sp, #24]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	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
	add	sp, sp, #80
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_VF_API_NEGOTIATE,4,2     ; @IXGBE_VF_API_NEGOTIATE
	.comm	_IXGBE_VT_MSGTYPE_CTS,4,2       ; @IXGBE_VT_MSGTYPE_CTS
	.comm	_IXGBE_VT_MSGTYPE_ACK,4,2       ; @IXGBE_VT_MSGTYPE_ACK
	.comm	_IXGBE_ERR_INVALID_ARGUMENT,4,2 ; @IXGBE_ERR_INVALID_ARGUMENT
	.no_dead_strip	_ixgbevf_negotiate_api_version_vf
.subsections_via_symbols
