	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iavf_verify_api_ver            ## -- Begin function iavf_verify_api_ver
	.p2align	4, 0x90
_iavf_verify_api_ver:                   ## @iavf_verify_api_ver
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_IAVF_MAX_AQ_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, -56(%rbp)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, -72(%rbp)
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	leaq	24(%rbx), %r12
	leaq	-72(%rbp), %r13
	movq	_VIRTCHNL_OP_VERSION@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_iavf_clean_arq_element
	testl	%eax, %eax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-60(%rbp), %edi
	callq	_le32_to_cpu
	movq	%rax, %rbx
	cmpl	%ebx, (%r14)
	jne	LBB0_2
## %bb.5:
	movl	-64(%rbp), %edi
	callq	_le32_to_cpu
	movq	%rax, %r15
	testl	%r15d, %r15d
	jne	LBB0_12
## %bb.6:
	cmpl	%ebx, (%r14)
	jne	LBB0_7
## %bb.8:
	movq	-72(%rbp), %rax
	movups	(%rax), %xmm0
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movups	%xmm0, (%rcx)
	movq	(%rax), %rcx
	movq	_VIRTCHNL_VERSION_MAJOR@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rdx, %rcx
	jg	LBB0_11
## %bb.9:
	xorl	%r15d, %r15d
	cmpq	%rdx, %rcx
	jne	LBB0_12
## %bb.10:
	movq	8(%rax), %rax
	movq	_VIRTCHNL_VERSION_MINOR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_11
	jmp	LBB0_12
LBB0_14:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_13
LBB0_3:
	movl	%eax, %r15d
	jmp	LBB0_12
LBB0_7:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_dev_info
LBB0_11:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_12:
	movq	-72(%rbp), %rdi
	callq	_kfree
LBB0_13:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IAVF_MAX_AQ_BUF_SIZE,4,2       ## @IAVF_MAX_AQ_BUF_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_VIRTCHNL_OP_VERSION,4,2        ## @VIRTCHNL_OP_VERSION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid reply type %d from PF\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_VIRTCHNL_VERSION_MAJOR,8,3     ## @VIRTCHNL_VERSION_MAJOR
	.comm	_VIRTCHNL_VERSION_MINOR,8,3     ## @VIRTCHNL_VERSION_MINOR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iavf_verify_api_ver            ; -- Begin function iavf_verify_api_ver
	.p2align	2
_iavf_verify_api_ver:                   ; @iavf_verify_api_ver
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x0
Lloh0:
	adrp	x8, _IAVF_MAX_AQ_BUF_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IAVF_MAX_AQ_BUF_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	str	w0, [sp, #24]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_kzalloc
	str	x0, [sp, #8]
	cbz	x0, LBB0_10
; %bb.1:
	add	x22, x19, #24
Lloh6:
	adrp	x23, _VIRTCHNL_OP_VERSION@GOTPAGE
Lloh7:
	ldr	x23, [x23, _VIRTCHNL_OP_VERSION@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #8
	mov	x0, x22
	mov	x2, #0
	bl	_iavf_clean_arq_element
	cbnz	w0, LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [sp, #20]
	bl	_le32_to_cpu
	mov	x21, x0
	ldr	w8, [x23]
	cmp	w8, w21
	b.ne	LBB0_2
; %bb.4:
	ldr	w0, [sp, #16]
	bl	_le32_to_cpu
	mov	x20, x0
	cbnz	w20, LBB0_14
; %bb.5:
	ldr	w8, [x23]
	cmp	w8, w21
	b.ne	LBB0_12
; %bb.6:
	ldr	x8, [sp, #8]
	ldr	q0, [x8]
	str	q0, [x19]
	ldr	x9, [x8]
Lloh8:
	adrp	x10, _VIRTCHNL_VERSION_MAJOR@GOTPAGE
Lloh9:
	ldr	x10, [x10, _VIRTCHNL_VERSION_MAJOR@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x9, x10
	b.gt	LBB0_13
; %bb.7:
	b.ne	LBB0_9
; %bb.8:
	ldr	x8, [x8, #8]
Lloh11:
	adrp	x9, _VIRTCHNL_VERSION_MINOR@GOTPAGE
Lloh12:
	ldr	x9, [x9, _VIRTCHNL_VERSION_MINOR@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_13
LBB0_9:
	mov	w20, #0
	b	LBB0_14
LBB0_10:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_15
LBB0_11:
	mov	x20, x0
	b	LBB0_14
LBB0_12:
	ldr	x0, [x19, #16]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_dev_info
LBB0_13:
Lloh19:
	adrp	x8, _EIO@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_14:
	ldr	x0, [sp, #8]
	bl	_kfree
LBB0_15:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_IAVF_MAX_AQ_BUF_SIZE,4,2       ; @IAVF_MAX_AQ_BUF_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_VIRTCHNL_OP_VERSION,4,2        ; @VIRTCHNL_OP_VERSION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid reply type %d from PF\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_VIRTCHNL_VERSION_MAJOR,8,3     ; @VIRTCHNL_VERSION_MAJOR
	.comm	_VIRTCHNL_VERSION_MINOR,8,3     ; @VIRTCHNL_VERSION_MINOR
.subsections_via_symbols
