	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbevf_alloc_queues
_ixgbevf_alloc_queues:                  ## @ixgbevf_alloc_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, %r14
	movl	(%rdi), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	$4, %esi
	callq	_kcalloc
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movl	4(%r14), %edi
	movl	(%rbx), %edx
	movl	$4, %esi
	callq	_kcalloc
	movq	%rax, 24(%r14)
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movl	(%r14), %r8d
	testl	%r8d, %r8d
	jle	LBB0_5
## %bb.3:
	movl	44(%r14), %edx
	movq	8(%r14), %rsi
	movq	32(%r14), %rdi
	movl	16(%r14), %ebx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edx, 24(%rsi)
	movl	%ecx, (%rsi)
	movl	%ecx, 4(%rsi)
	movq	%rdi, 16(%rsi)
	movl	%ebx, 8(%rsi)
	incq	%rcx
	addq	$32, %rsi
	cmpq	%rcx, %r8
	jne	LBB0_4
LBB0_5:
	movl	4(%r14), %edx
	testl	%edx, %edx
	jle	LBB0_6
## %bb.7:
	movl	40(%r14), %esi
	movq	32(%r14), %rdi
	movl	16(%r14), %ebx
	xorl	%r8d, %r8d
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%esi, 24(%rax)
	movl	%ecx, (%rax)
	movl	%ecx, 4(%rax)
	movq	%rdi, 16(%rax)
	movl	%ebx, 8(%rax)
	incq	%rcx
	addq	$32, %rax
	cmpq	%rcx, %rdx
	jne	LBB0_8
	jmp	LBB0_11
LBB0_9:
	movq	8(%r14), %rdi
	callq	_kfree
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r8d, %r8d
	subl	(%rax), %r8d
	jmp	LBB0_11
LBB0_6:
	xorl	%r8d, %r8d
LBB0_11:
	movl	%r8d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_ixgbevf_alloc_queues
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbevf_alloc_queues
_ixgbevf_alloc_queues:                  ; @ixgbevf_alloc_queues
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x20, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	w1, #4
	bl	_kcalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_6
; %bb.1:
	ldr	w0, [x19, #4]
	ldr	w2, [x20]
	mov	w1, #4
	bl	_kcalloc
	str	x0, [x19, #24]
	cbz	x0, LBB0_5
; %bb.2:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.3:
	ldr	w9, [x19, #44]
	ldr	x13, [x19, #8]
	ldr	x10, [x19, #32]
	ldr	w11, [x19, #16]
	cmp	w8, #4
	b.hs	LBB0_7
; %bb.4:
	mov	x12, #0
	b	LBB0_10
LBB0_5:
	ldr	x0, [x19, #8]
	bl	_kfree
LBB0_6:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_21
LBB0_7:
	mov	x14, #0
	mov	w15, #0
	and	x12, x8, #0xfffffffc
	lsl	x16, x8, #5
	and	x16, x16, #0x1fffffff80
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x17, x13, x14
	str	w9, [x17, #24]
	add	w1, w15, #1
	add	w2, w15, #2
	str	w9, [x17, #56]
	add	w3, w15, #3
	str	w9, [x17, #88]
	str	w9, [x17, #120]
	stp	w15, w15, [x17]
	stp	w1, w1, [x17, #32]
	stp	w2, w2, [x17, #64]
	stp	w3, w3, [x17, #96]
	str	x10, [x17, #16]
	str	x10, [x17, #48]
	str	x10, [x17, #80]
	str	x10, [x17, #112]
	str	w11, [x17, #8]
	str	w11, [x17, #40]
	str	w11, [x17, #72]
	add	w15, w15, #4
	add	x14, x14, #128
	str	w11, [x17, #104]
	cmp	x16, x14
	b.ne	LBB0_8
; %bb.9:
	cmp	x12, x8
	b.eq	LBB0_12
LBB0_10:
	add	x13, x13, x12, lsl #5
	add	x13, x13, #16
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	str	w9, [x13, #8]
	stp	w12, w12, [x13, #-16]
	str	x10, [x13]
	add	x12, x12, #1
	stur	w11, [x13, #-8]
	add	x13, x13, #32
	cmp	x8, x12
	b.ne	LBB0_11
LBB0_12:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.13:
	ldr	w9, [x19, #40]
	ldr	x10, [x19, #32]
	ldr	w11, [x19, #16]
	cmp	w8, #4
	b.hs	LBB0_15
; %bb.14:
	mov	x12, #0
	b	LBB0_18
LBB0_15:
	mov	x13, #0
	mov	w14, #0
	and	x12, x8, #0xfffffffc
	lsl	x15, x8, #5
	and	x15, x15, #0x1fffffff80
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	add	x16, x0, x13
	str	w9, [x16, #24]
	add	w17, w14, #1
	add	w1, w14, #2
	str	w9, [x16, #56]
	add	w2, w14, #3
	str	w9, [x16, #88]
	str	w9, [x16, #120]
	stp	w14, w14, [x16]
	stp	w17, w17, [x16, #32]
	stp	w1, w1, [x16, #64]
	stp	w2, w2, [x16, #96]
	str	x10, [x16, #16]
	str	x10, [x16, #48]
	str	x10, [x16, #80]
	str	x10, [x16, #112]
	str	w11, [x16, #8]
	str	w11, [x16, #40]
	str	w11, [x16, #72]
	add	w14, w14, #4
	add	x13, x13, #128
	str	w11, [x16, #104]
	cmp	x15, x13
	b.ne	LBB0_16
; %bb.17:
	cmp	x12, x8
	b.eq	LBB0_20
LBB0_18:
	add	x13, x0, x12, lsl #5
	add	x13, x13, #16
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	str	w9, [x13, #8]
	stp	w12, w12, [x13, #-16]
	str	x10, [x13]
	add	x12, x12, #1
	stur	w11, [x13, #-8]
	add	x13, x13, #32
	cmp	x8, x12
	b.ne	LBB0_19
LBB0_20:
	mov	w0, #0
LBB0_21:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_ixgbevf_alloc_queues
.subsections_via_symbols
