	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbevf_setup_queues
_ixgbevf_setup_queues:                  ## @ixgbevf_setup_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	52(%rdi), %r15
	movl	$0, -48(%rbp)
	movl	$0, -44(%rbp)
	leaq	48(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_bh
	leaq	-44(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	callq	_ixgbevf_get_queues
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
	testl	%r13d, %r13d
	jne	LBB0_9
## %bb.1:
	movl	$1, %r15d
	cmpl	$2, -44(%rbp)
	jb	LBB0_3
## %bb.2:
	movl	-48(%rbp), %eax
	movq	40(%r14), %rcx
	movl	%eax, (%rcx)
	movl	-44(%rbp), %r15d
LBB0_3:
	xorl	%r13d, %r13d
	cmpl	%r15d, (%r14)
	je	LBB0_9
## %bb.4:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	movl	$32, %esi
	callq	_kcalloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	movq	%rax, %r12
	testl	%r15d, %r15d
	je	LBB0_8
## %bb.6:
	movl	32(%r14), %eax
	movq	24(%r14), %rcx
	movl	16(%r14), %edx
	movl	%r15d, %esi
	xorl	%edi, %edi
	movq	%r12, %rbx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, 24(%rbx)
	movl	%edi, (%rbx)
	movl	%edi, 4(%rbx)
	movq	%rcx, 16(%rbx)
	movl	%edx, 8(%rbx)
	incq	%rdi
	addq	$32, %rbx
	cmpq	%rdi, %rsi
	jne	LBB0_7
LBB0_8:
	movl	$0, (%r14)
	movq	8(%r14), %rdi
	callq	_kfree
	movq	%r12, 8(%r14)
	movl	%r15d, (%r14)
	jmp	LBB0_9
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_9:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_ixgbevf_setup_queues
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbevf_setup_queues
_ixgbevf_setup_queues:                  ; @ixgbevf_setup_queues
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
	add	x20, x0, #52
	str	xzr, [sp, #8]
	add	x21, x0, #48
	mov	x0, x21
	bl	_spin_lock_bh
	add	x1, sp, #8
	add	x2, sp, #12
	mov	x0, x20
	bl	_ixgbevf_get_queues
	mov	x22, x0
	mov	x0, x21
	bl	_spin_unlock_bh
	cbnz	w22, LBB0_17
; %bb.1:
	ldr	w8, [sp, #8]
	cmp	w8, #2
	b.lo	LBB0_3
; %bb.2:
	ldr	w8, [sp, #12]
	ldr	x9, [x19, #40]
	str	w8, [x9]
	ldr	w20, [sp, #8]
	b	LBB0_4
LBB0_3:
	mov	w20, #1
LBB0_4:
	ldr	w8, [x19]
	cmp	w8, w20
	b.ne	LBB0_6
; %bb.5:
	mov	w22, #0
	b	LBB0_17
LBB0_6:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #32
	bl	_kcalloc
	cbz	x0, LBB0_10
; %bb.7:
	mov	x21, x0
	cbz	w20, LBB0_16
; %bb.8:
	ldr	w8, [x19, #32]
	ldr	x9, [x19, #24]
	mov	w10, w20
	ldr	w11, [x19, #16]
	cmp	w20, #4
	b.hs	LBB0_11
; %bb.9:
	mov	x12, #0
	b	LBB0_14
LBB0_10:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_17
LBB0_11:
	mov	x13, #0
	mov	w14, #0
	and	x12, x10, #0xfffffffc
	lsl	x15, x10, #5
	and	x15, x15, #0x1fffffff80
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	add	x16, x21, x13
	str	w8, [x16, #24]
	add	w17, w14, #1
	add	w0, w14, #2
	str	w8, [x16, #56]
	add	w1, w14, #3
	str	w8, [x16, #88]
	str	w8, [x16, #120]
	stp	w14, w14, [x16]
	stp	w17, w17, [x16, #32]
	stp	w0, w0, [x16, #64]
	stp	w1, w1, [x16, #96]
	str	x9, [x16, #16]
	str	x9, [x16, #48]
	str	x9, [x16, #80]
	str	x9, [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_12
; %bb.13:
	cmp	x12, x10
	b.eq	LBB0_16
LBB0_14:
	add	x13, x21, x12, lsl #5
	add	x13, x13, #16
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	str	w8, [x13, #8]
	stp	w12, w12, [x13, #-16]
	str	x9, [x13]
	add	x12, x12, #1
	stur	w11, [x13, #-8]
	add	x13, x13, #32
	cmp	x10, x12
	b.ne	LBB0_15
LBB0_16:
	str	wzr, [x19]
	ldr	x0, [x19, #8]
	bl	_kfree
	mov	w22, #0
	str	x21, [x19, #8]
	str	w20, [x19]
LBB0_17:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_ixgbevf_setup_queues
.subsections_via_symbols
