	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iavf_validate_num_queues
_iavf_validate_num_queues:              ## @iavf_validate_num_queues
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rax
	movq	(%rax), %rdx
	movq	_IAVF_MAX_REQ_QUEUES@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	cmpq	%rcx, %rdx
	jle	LBB0_17
## %bb.1:
	movq	%rdi, %r14
	movq	8(%rdi), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	8(%r14), %rdi
	movq	(%rbx), %rdx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	(%rbx), %rax
	movq	(%r14), %rcx
	movq	%rax, (%rcx)
	movl	8(%rcx), %eax
	testl	%eax, %eax
	jle	LBB0_17
## %bb.2:
	movq	16(%rcx), %rcx
	cmpl	$4, %eax
	jb	LBB0_3
## %bb.4:
	leaq	8(%rbx), %rdx
	cmpq	%rdx, %rcx
	jae	LBB0_7
## %bb.5:
	leaq	(%rcx,%rax,8), %rdx
	cmpq	_IAVF_MAX_REQ_QUEUES@GOTPCREL(%rip), %rdx
	jbe	LBB0_7
LBB0_3:
	xorl	%edx, %edx
LBB0_13:
	movq	%rdx, %r8
	notq	%r8
	addq	%rax, %r8
	movq	%rax, %rdi
	andq	$3, %rdi
	je	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rsi
	movq	%rsi, (%rcx,%rdx,8)
	incq	%rdx
	decq	%rdi
	jne	LBB0_14
LBB0_15:
	cmpq	$3, %r8
	jb	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rsi
	movq	%rsi, (%rcx,%rdx,8)
	movq	(%rbx), %rsi
	movq	%rsi, 8(%rcx,%rdx,8)
	movq	(%rbx), %rsi
	movq	%rsi, 16(%rcx,%rdx,8)
	movq	(%rbx), %rsi
	movq	%rsi, 24(%rcx,%rdx,8)
	addq	$4, %rdx
	cmpq	%rdx, %rax
	jne	LBB0_16
	jmp	LBB0_17
LBB0_7:
	movl	%eax, %edx
	andl	$-4, %edx
	leaq	-4(%rdx), %rsi
	movq	%rsi, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.8:
	movq	%r8, %rsi
	andq	$-2, %rsi
	movq	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, (%rcx,%rdi,8)
	movdqu	%xmm0, 16(%rcx,%rdi,8)
	movdqu	%xmm0, 32(%rcx,%rdi,8)
	movdqu	%xmm0, 48(%rcx,%rdi,8)
	addq	$8, %rdi
	addq	$-2, %rsi
	jne	LBB0_9
## %bb.10:
	testb	$1, %r8b
	je	LBB0_12
LBB0_11:
	movq	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	movdqu	%xmm0, (%rcx,%rdi,8)
	movdqu	%xmm0, 16(%rcx,%rdi,8)
LBB0_12:
	cmpq	%rax, %rdx
	jne	LBB0_13
LBB0_17:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_18:
	xorl	%edi, %edi
	testb	$1, %r8b
	jne	LBB0_11
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_IAVF_MAX_REQ_QUEUES,8,3        ## @IAVF_MAX_REQ_QUEUES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Received %d queues, but can only have a max of %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Fixing by reducing queues to %d\n"

	.no_dead_strip	_iavf_validate_num_queues
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iavf_validate_num_queues
_iavf_validate_num_queues:              ; @iavf_validate_num_queues
	.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
	ldr	x8, [x0]
	ldr	x2, [x8]
Lloh0:
	adrp	x20, _IAVF_MAX_REQ_QUEUES@GOTPAGE
Lloh1:
	ldr	x20, [x20, _IAVF_MAX_REQ_QUEUES@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x2, x8
	b.le	LBB0_10
; %bb.1:
	mov	x19, x0
	ldr	x0, [x0, #8]
	str	x8, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	ldr	x0, [x19, #8]
	ldr	x2, [x20]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_info
	ldr	x8, [x20]
	ldr	x9, [x19]
	str	x8, [x9]
	ldr	w8, [x9, #8]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.2:
	ldr	x9, [x9, #16]
	cmp	w8, #8
	b.lo	LBB0_7
; %bb.3:
	add	x10, x9, x8, lsl #3
	add	x11, x20, #8
	cmp	x9, x11
	ccmp	x10, x20, #0, lo
	b.hi	LBB0_7
; %bb.4:
	and	x10, x8, #0xfffffff8
	ld1r.2d	{ v0 }, [x20]
	add	x11, x9, #32
	mov	x12, x10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d1, [x20]
	dup.2d	v1, v1[0]
	stp	q0, q0, [x11, #-32]
	stp	q0, q1, [x11], #64
	subs	x12, x12, #8
	b.ne	LBB0_5
; %bb.6:
	cmp	x10, x8
	b.ne	LBB0_8
	b	LBB0_10
LBB0_7:
	mov	x10, #0
LBB0_8:
	add	x9, x9, x10, lsl #3
	sub	x8, x8, x10
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x20]
	str	x10, [x9], #8
	subs	x8, x8, #1
	b.ne	LBB0_9
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_IAVF_MAX_REQ_QUEUES,8,3        ; @IAVF_MAX_REQ_QUEUES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Received %d queues, but can only have a max of %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Fixing by reducing queues to %d\n"

	.no_dead_strip	_iavf_validate_num_queues
.subsections_via_symbols
