	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iavf_init_version_check
_iavf_init_version_check:               ## @iavf_init_version_check
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	24(%rdi), %r15
	leaq	16(%rdi), %r12
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movq	___IAVF_INIT_VERSION_CHECK@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_WARN_ON
	movq	%r12, %rdi
	callq	_iavf_asq_done
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_iavf_verify_api_ver
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movl	%eax, %r14d
	movq	_IAVF_ERR_ADMIN_QUEUE_NO_WORK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_4
## %bb.9:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iavf_send_api_ver              ## TAILCALL
LBB0_1:
	negl	%r14d
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	%r12, %rdi
	callq	_iavf_shutdown_adminq
	movq	___IAVF_STARTUP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_8
LBB0_5:
	movq	%rbx, %rdi
	callq	_iavf_send_vf_config_msg
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %r14d
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_8
LBB0_4:
	movl	8(%rbx), %ecx
	movl	12(%rbx), %edx
	movq	_VIRTCHNL_VERSION_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_VIRTCHNL_VERSION_MINOR@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_8
LBB0_7:
	movq	___IAVF_INIT_GET_RESOURCES@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	xorl	%r14d, %r14d
LBB0_8:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	___IAVF_INIT_VERSION_CHECK,8,3  ## @__IAVF_INIT_VERSION_CHECK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Admin queue command never completed\n"

	.comm	___IAVF_STARTUP,8,3             ## @__IAVF_STARTUP
	.comm	_IAVF_ERR_ADMIN_QUEUE_NO_WORK,4,2 ## @IAVF_ERR_ADMIN_QUEUE_NO_WORK
L_.str.1:                               ## @.str.1
	.asciz	"Unsupported PF API version %d.%d, expected %d.%d\n"

	.comm	_VIRTCHNL_VERSION_MAJOR,4,2     ## @VIRTCHNL_VERSION_MAJOR
	.comm	_VIRTCHNL_VERSION_MINOR,4,2     ## @VIRTCHNL_VERSION_MINOR
L_.str.2:                               ## @.str.2
	.asciz	"Unable to send config request (%d)\n"

	.comm	___IAVF_INIT_GET_RESOURCES,8,3  ## @__IAVF_INIT_GET_RESOURCES
	.no_dead_strip	_iavf_init_version_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iavf_init_version_check
_iavf_init_version_check:               ; @iavf_init_version_check
	.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	x21, x0
	ldr	x19, [x0, #24]
	add	x22, x0, #16
Lloh0:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	x8, [x0]
Lloh3:
	adrp	x9, ___IAVF_INIT_VERSION_CHECK@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___IAVF_INIT_VERSION_CHECK@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_WARN_ON
	mov	x0, x22
	bl	_iavf_asq_done
	cbz	w0, LBB0_4
; %bb.1:
	mov	x0, x21
	bl	_iavf_verify_api_ver
	cbz	w0, LBB0_5
; %bb.2:
	mov	x20, x0
Lloh6:
	adrp	x8, _IAVF_ERR_ADMIN_QUEUE_NO_WORK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IAVF_ERR_ADMIN_QUEUE_NO_WORK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.3:
	mov	x0, x21
	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
	b	_iavf_send_api_ver
LBB0_4:
	neg	w20, w20
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x22
	bl	_iavf_shutdown_adminq
Lloh11:
	adrp	x8, ___IAVF_STARTUP@GOTPAGE
Lloh12:
	ldr	x8, [x8, ___IAVF_STARTUP@GOTPAGEOFF]
	b	LBB0_10
LBB0_5:
	mov	x0, x21
	bl	_iavf_send_vf_config_msg
	mov	x20, x0
	cbz	w0, LBB0_9
; %bb.6:
	str	x20, [sp]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh15:
	adrp	x8, _VIRTCHNL_VERSION_MAJOR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VIRTCHNL_VERSION_MAJOR@GOTPAGEOFF]
Lloh17:
	adrp	x9, _VIRTCHNL_VERSION_MINOR@GOTPAGE
Lloh18:
	ldr	x9, [x9, _VIRTCHNL_VERSION_MINOR@GOTPAGEOFF]
	ldp	w11, w10, [x21, #8]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	ldr	w9, [x9]
	stp	x8, x9, [sp, #16]
	stp	x10, x11, [sp]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_8:
	mov	x0, x19
	bl	_dev_err
	b	LBB0_11
LBB0_9:
Lloh23:
	adrp	x8, ___IAVF_INIT_GET_RESOURCES@GOTPAGE
Lloh24:
	ldr	x8, [x8, ___IAVF_INIT_GET_RESOURCES@GOTPAGEOFF]
LBB0_10:
	ldr	x8, [x8]
	str	x8, [x21]
LBB0_11:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	___IAVF_INIT_VERSION_CHECK,8,3  ; @__IAVF_INIT_VERSION_CHECK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Admin queue command never completed\n"

	.comm	___IAVF_STARTUP,8,3             ; @__IAVF_STARTUP
	.comm	_IAVF_ERR_ADMIN_QUEUE_NO_WORK,4,2 ; @IAVF_ERR_ADMIN_QUEUE_NO_WORK
l_.str.1:                               ; @.str.1
	.asciz	"Unsupported PF API version %d.%d, expected %d.%d\n"

	.comm	_VIRTCHNL_VERSION_MAJOR,4,2     ; @VIRTCHNL_VERSION_MAJOR
	.comm	_VIRTCHNL_VERSION_MINOR,4,2     ; @VIRTCHNL_VERSION_MINOR
l_.str.2:                               ; @.str.2
	.asciz	"Unable to send config request (%d)\n"

	.comm	___IAVF_INIT_GET_RESOURCES,8,3  ; @__IAVF_INIT_GET_RESOURCES
	.no_dead_strip	_iavf_init_version_check
.subsections_via_symbols
