	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmxnet3_create_queues          ## -- Begin function vmxnet3_create_queues
	.p2align	4, 0x90
_vmxnet3_create_queues:                 ## @vmxnet3_create_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	cmpl	$0, (%rdi)
	jle	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%r12), %rax
	leaq	(%rax,%r13), %rdi
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 48(%rax,%r13)
	movq	%rcx, 40(%rax,%r13)
	movq	%rcx, 32(%rax,%r13)
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 24(%rax,%r13)
	movq	32(%r12), %rcx
	addq	%rbx, %rcx
	movq	%rcx, 16(%rax,%r13)
	movl	$1, (%rax,%r13)
	movq	%r12, 8(%rax,%r13)
	movl	%r15d, 4(%rax,%r13)
	movq	%r12, %rsi
	callq	_vmxnet3_tq_create
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	movslq	(%r12), %rax
	addq	$56, %r13
	addq	$4, %rbx
	cmpq	%rax, %r15
	jl	LBB0_3
LBB0_5:
	movq	24(%r12), %rax
	movq	24(%rax), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 8(%rax)
	movq	%r12, %rdi
	callq	_vmxnet3_adjust_rx_ring_size
	movq	%r12, %rdi
	callq	_VMXNET3_VERSION_GE_3
	movl	%eax, 8(%r12)
	cmpl	$0, 4(%r12)
	jle	LBB0_12
## %bb.6:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rax
	leaq	(%rax,%rbx), %rdi
	movq	16(%r12), %rcx
	addq	%r13, %rcx
	movq	%rcx, 16(%rax,%rbx)
	movq	%r12, 8(%rax,%rbx)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax,%rbx)
	movq	%r12, %rsi
	callq	_vmxnet3_rq_create
	testl	%eax, %eax
	jne	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	incq	%r15
	movslq	4(%r12), %rax
	addq	$32, %rbx
	addq	$4, %r13
	cmpq	%rax, %r15
	jl	LBB0_7
	jmp	LBB0_11
LBB0_4:
	movl	%eax, %r14d
	jmp	LBB0_15
LBB0_8:
	movl	12(%r12), %edi
	testl	%r15d, %r15d
	je	LBB0_14
## %bb.9:
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edx
	callq	_netdev_info
	movl	%r15d, 4(%r12)
LBB0_11:
	movl	8(%r12), %eax
LBB0_12:
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.13:
	movq	%r12, %rdi
	callq	_vmxnet3_rq_destroy_all_rxdataring
	jmp	LBB0_16
LBB0_14:
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rsi
	callq	_netdev_err
LBB0_15:
	movq	%r12, %rdi
	callq	_vmxnet3_tq_destroy_all
LBB0_16:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not allocate any rx queues. Aborting.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Number of rx queues changed to : %d.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmxnet3_create_queues          ; -- Begin function vmxnet3_create_queues
	.p2align	2
_vmxnet3_create_queues:                 ; @vmxnet3_create_queues
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x5
	str	x3, [sp, #8]                    ; 8-byte Folded Spill
	mov	x22, x2
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x23, x4
	mov	x24, x1
	mov	x26, #0
	mov	x27, #0
	mov	x28, #0
	mov	w21, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x19, #32]
	add	x0, x8, x27
	stp	x24, x24, [x0, #40]
	stp	x23, x24, [x0, #24]
	add	x8, x9, x26
	stp	x19, x8, [x0, #8]
	stp	w21, w28, [x0]
	mov	x1, x19
	bl	_vmxnet3_tq_create
	cbnz	w0, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x28, x28, #1
	ldrsw	x8, [x19]
	add	x27, x27, #56
	add	x26, x26, #4
	cmp	x28, x8
	b.lt	LBB0_2
LBB0_4:
	ldr	x8, [x19, #24]
	ldr	x8, [x8, #24]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	stp	x22, x9, [x8]
	mov	x0, x19
	bl	_vmxnet3_adjust_rx_ring_size
	mov	x0, x19
	bl	_VMXNET3_VERSION_GE_3
	str	w0, [x19, #8]
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.5:
	mov	x22, #0
	mov	x23, #0
	mov	x21, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x19, #16]
	add	x0, x8, x23
	add	x8, x9, x22
	stp	x19, x8, [x0, #8]
	str	x20, [x0]
	mov	x1, x19
	bl	_vmxnet3_rq_create
	cbnz	w0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x19, #4]
	add	x23, x23, #32
	add	x22, x22, #4
	cmp	x21, x8
	b.lt	LBB0_6
	b	LBB0_11
LBB0_8:
	mov	x25, x0
	b	LBB0_16
LBB0_9:
	mov	x25, x0
	ldr	w0, [x19, #12]
	cbz	w21, LBB0_15
; %bb.10:
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_netdev_info
	str	w21, [x19, #4]
LBB0_11:
	ldr	w0, [x19, #8]
LBB0_12:
	cbz	w0, LBB0_14
; %bb.13:
	mov	w25, #0
	b	LBB0_17
LBB0_14:
	mov	x0, x19
	bl	_vmxnet3_rq_destroy_all_rxdataring
	mov	w25, #0
	b	LBB0_17
LBB0_15:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_err
LBB0_16:
	mov	x0, x19
	bl	_vmxnet3_tq_destroy_all
LBB0_17:
	mov	x0, x25
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not allocate any rx queues. Aborting.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Number of rx queues changed to : %d.\n"

.subsections_via_symbols
