	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	cmpl	$0, (%rdi)
	jle	LBB0_4
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%r13), %rax
	leaq	(%rax,%r15), %rdi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 40(%rax,%r15)
	movq	%rcx, 32(%rax,%r15)
	movq	%rcx, 24(%rax,%r15)
	movq	32(%r13), %rcx
	addq	%rbx, %rcx
	movq	%rcx, 16(%rax,%r15)
	movl	$1, (%rax,%r15)
	movq	%r13, 8(%rax,%r15)
	movl	%r12d, 4(%rax,%r15)
	movq	%r13, %rsi
	callq	_vmxnet3_tq_create
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movslq	(%r13), %rax
	addq	$48, %r15
	addq	$4, %rbx
	cmpq	%rax, %r12
	jl	LBB0_2
LBB0_4:
	movq	24(%r13), %rax
	movq	16(%rax), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 8(%rax)
	movq	%r13, %rdi
	callq	_vmxnet3_adjust_rx_ring_size
	cmpl	$0, 4(%r13)
	jle	LBB0_10
## %bb.5:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r13), %rax
	leaq	(%rax,%rbx), %rdi
	movq	16(%r13), %rcx
	addq	%r12, %rcx
	movq	%rcx, 8(%rax,%rbx)
	movq	%r13, (%rax,%rbx)
	movq	%r13, %rsi
	callq	_vmxnet3_rq_create
	testl	%eax, %eax
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%r15
	movslq	4(%r13), %rax
	addq	$24, %rbx
	addq	$4, %r12
	cmpq	%rax, %r15
	jl	LBB0_6
LBB0_10:
	xorl	%r14d, %r14d
	jmp	LBB0_15
LBB0_9:
	movl	%eax, %r14d
	jmp	LBB0_14
LBB0_11:
	movl	8(%r13), %edi
	testl	%r15d, %r15d
	je	LBB0_13
## %bb.12:
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edx
	callq	_netdev_info
	movl	%r15d, 4(%r13)
	xorl	%r14d, %r14d
	jmp	LBB0_15
LBB0_13:
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rsi
	callq	_netdev_err
LBB0_14:
	movq	%r13, %rdi
	callq	_vmxnet3_tq_destroy_all
LBB0_15:
	movl	%r14d, %eax
	addq	$24, %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:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x21, x2
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x22, x1
	mov	x24, #0
	mov	x25, #0
	mov	x26, #0
	mov	w27, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x19, #32]
	add	x0, x8, x25
	stp	x22, x22, [x0, #32]
	add	x8, x9, x24
	stp	x8, x22, [x0, #16]
	str	x19, [x0, #8]
	stp	w27, w26, [x0]
	mov	x1, x19
	bl	_vmxnet3_tq_create
	cbnz	w0, LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x26, x26, #1
	ldrsw	x8, [x19]
	add	x25, x25, #48
	add	x24, x24, #4
	cmp	x26, x8
	b.lt	LBB0_2
LBB0_4:
	ldr	x8, [x19, #24]
	ldr	x8, [x8, #16]
	stp	x21, x20, [x8]
	mov	x0, x19
	bl	_vmxnet3_adjust_rx_ring_size
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.5:
	mov	x21, #0
	mov	x22, #0
	mov	x20, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x19, #16]
	add	x0, x8, x22
	add	x8, x9, x21
	stp	x19, x8, [x0]
	mov	x1, x19
	bl	_vmxnet3_rq_create
	cbnz	w0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19, #4]
	add	x22, x22, #24
	add	x21, x21, #4
	cmp	x20, x8
	b.lt	LBB0_6
LBB0_8:
	mov	w23, #0
	b	LBB0_14
LBB0_9:
	mov	x23, x0
	b	LBB0_13
LBB0_10:
	mov	x23, x0
	ldr	w0, [x19, #8]
	cbz	w20, LBB0_12
; %bb.11:
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	_netdev_info
	mov	w23, #0
	str	w20, [x19, #4]
	b	LBB0_14
LBB0_12:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_err
LBB0_13:
	mov	x0, x19
	bl	_vmxnet3_tq_destroy_all
LBB0_14:
	mov	x0, x23
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	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
